Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStéphane Bégaudeau2016-11-28 16:46:10 +0000
committerStéphane Bégaudeau2016-11-28 16:46:10 +0000
commit65534ebfb96b493fd4ed54bb2e618e6d7afea2a5 (patch)
tree9a23e0aedf526e3abfc19b4d54ed20adab3da480 /tests
parent232b0d66f3a31db5b3ad428aab047accbfc5100c (diff)
downloadorg.eclipse.eef-65534ebfb96b493fd4ed54bb2e618e6d7afea2a5.tar.gz
org.eclipse.eef-65534ebfb96b493fd4ed54bb2e618e6d7afea2a5.tar.xz
org.eclipse.eef-65534ebfb96b493fd4ed54bb2e618e6d7afea2a5.zip
[498748] Fix potential NPE when switching back to an existing tab
Tabs are cached according to their descriptors' getId(), which itself relies (among other things) on the URI of the semantic EObject. That URI can change when the object is edited (for example: renaming an EClass in a .ecore). When switching back to a tab previously created (and cached) with the now-obsolete URI, descriptorToTab.get(descriptor) will return null, but the code was not ready to handle that case. Change-Id: I819a0eef62ae6d8e17dbd262c7bccf37a3080c3b Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr> Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions

Back to the top