- Remove check for .add as for ArrayList it is always true and so it is dead condition - Add check for removeIf, so the overlay layers will be rebuilt only when something is removed Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Remove check for .add as for ArrayList it is always true and so it is dead condition - Add check for removeIf, so the overlay layers will be rebuilt only when something is removed Signed-off-by: Tomas Slusny <slusnucky@gmail.com>