mirror of
https://github.com/sojamo/controlp5
synced 2024-11-13 01:47:57 +01:00
Refactor for ControllerGroup + synchronized
* I wasn't expecting almost 1000 lines of code, but I've taken the challenge anyways. * Placed localized `synchronized ()` not only for those 2 _**Vector**_ containers from _controllers_ field, but also for the 2 __*ArrayList*__ in __*ControllerGroup*__ class. * Mostly for all sections doing iteration on them, but also when their **size()** changes. * Prepended `@Override` for all inherited methods in __*ControllerGroup*__ class. * Prepended `final` for all fields which didn't seem they would be re-assigned. * Lotsa further cleanups I can't remember I did. :P
This commit is contained in:
parent
1f7cb64986
commit
d30c234759