Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormgolubev2012-05-23 04:11:29 -0400
committermgolubev2012-05-23 04:11:29 -0400
commited781373cb0cbb27a1b56e65922004da0a5569f0 (patch)
tree63aacdd3928fec5e0e8a6c219d10ba1ec38e8a75
parente5ada0ef9a604ab0e63a4d7638da7f6065d89665 (diff)
downloadorg.eclipse.gmf-tooling-ed781373cb0cbb27a1b56e65922004da0a5569f0.tar.gz
org.eclipse.gmf-tooling-ed781373cb0cbb27a1b56e65922004da0a5569f0.tar.xz
org.eclipse.gmf-tooling-ed781373cb0cbb27a1b56e65922004da0a5569f0.zip
[380069] - NPE on removing previously ignored model file fixed
-rw-r--r--plugins/org.eclipse.gmf.xpand/src/org/eclipse/gmf/internal/xpand/build/WorkspaceModelRegistry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.xpand/src/org/eclipse/gmf/internal/xpand/build/WorkspaceModelRegistry.java b/plugins/org.eclipse.gmf.xpand/src/org/eclipse/gmf/internal/xpand/build/WorkspaceModelRegistry.java
index 3c5a95e70..df32f7c3c 100644
--- a/plugins/org.eclipse.gmf.xpand/src/org/eclipse/gmf/internal/xpand/build/WorkspaceModelRegistry.java
+++ b/plugins/org.eclipse.gmf.xpand/src/org/eclipse/gmf/internal/xpand/build/WorkspaceModelRegistry.java
@@ -158,8 +158,8 @@ class WorkspaceModelRegistry implements MetaModelSource {
if (d != null) {
Descriptor d2 = uriToDescriptor.remove(d.nsURI);
assert d2 == d;
+ delist(d);
}
- delist(d);
}
Set<IFile> filesToAdd = new HashSet<IFile>(visitor.getNewModelFiles());
for (IFile f : visitor.getChangedModelFiles()) {

Back to the top