2024-June-15 - 2.6.14761
Pre-release
Pre-release
Make UnitImageFactory synchronized. (#12649) It's already used from multiple threads, per https://github.com/triplea-game/triplea/issues/12623, so making the methods that access internal collections synchronized to fix ConcurrentModificationException. This is using the lombok synchronized annotation which is better than the Java keyword since it keeps an internal lock object.