commit | b3d06f130f092744cbb763ee3d7120308f1eea97 | [log] [tgz] |
---|---|---|
author | jlanuti <jlanuti> | Fri Feb 24 15:42:32 2006 +0000 |
committer | jlanuti <jlanuti> | Fri Feb 24 15:42:32 2006 +0000 |
tree | 6d20aabcfa4f9f9b48a1be18ddf1331f83af306f | |
parent | a225f6eefbea7c5fb2f254141aed3767486155c7 [diff] |
[127878] deadlock in structure edit
diff --git a/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/StructureEdit.java b/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/StructureEdit.java index 491351c..ebdf8fd 100644 --- a/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/StructureEdit.java +++ b/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/StructureEdit.java
@@ -433,10 +433,8 @@ */ public ProjectComponents getComponentModelRoot() { ProjectComponents comps = null; - synchronized (structuralModel) { - if (!structuralModel.isDisposed()) - comps = (ProjectComponents) structuralModel.getPrimaryRootObject(); - } + if (!structuralModel.isDisposed()) + comps = (ProjectComponents) structuralModel.getPrimaryRootObject(); return comps; }