Prevents exceptions from being thrown from the viewer refresh11/147111/1
commit83fced21051cef3680b13e53d1a81701ed68a672
authorlgoubet <laurent.goubet@obeo.fr>
Mon, 5 Aug 2019 15:07:17 +0000 (5 17:07 +0200)
committerlgoubet <laurent.goubet@obeo.fr>
Tue, 6 Aug 2019 07:55:50 +0000 (6 09:55 +0200)
tree94b686ae9e03742db656af113dfda0afe5b8aa56
parenta2a9e4900fec12b998ef71d5ede877398cf77e7c
Prevents exceptions from being thrown from the viewer refresh

AdapterFactoryEditingDomain#isStale(Object) throws one exception per
item expanded in the EMF Compare structure merge viewers. For large
models, this can go up to tens of thousands of exception for each
refresh, significantly slowing down the merge operations.

These exceptions are thrown but directly caught and swallowed, so we
can circumvent them altogether.

Change-Id: I924364cbd8b9a8727ba8a80e7a40218c4edc2923
plugins/org.eclipse.emf.compare.ide.ui/src/org/eclipse/emf/compare/ide/ui/internal/structuremergeviewer/EMFCompareStructureMergeViewerContentProvider.java