Prevent ConcurrentModificationException in StyledRouteGraphRenderer 38/2238/2
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 25 Sep 2018 21:03:39 +0000 (00:03 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 25 Sep 2018 21:04:06 +0000 (21:04 +0000)
commit32f61540d7bf4d15f1ae5fa1b8cf56789f4ee207
treee689ca9730c3c7cb76173557efd2f4610eb7f1aa
parente80d7307e1ca990f3f5f8e0132d4b2162fb9d25e
Prevent ConcurrentModificationException in StyledRouteGraphRenderer

Fixed via ThreadLocal-based caching of reused data structures.

gitlab #132

Change-Id: I42a3d3a160f1f7a9ed30d10cca84e1dc5b6488fa
bundles/org.simantics.diagram.connection/src/org/simantics/diagram/connection/rendering/StyledRouteGraphRenderer.java