duplication of facets definitions in iml fixed
authornik <Nikolay.Chashnikov@jetbrains.com>
Mon, 15 Feb 2010 10:53:34 +0000 (15 13:53 +0300)
committernik <Nikolay.Chashnikov@jetbrains.com>
Mon, 15 Feb 2010 10:53:34 +0000 (15 13:53 +0300)
platform/lang-impl/src/com/intellij/facet/FacetManagerImpl.java

index 76d88df..3d83866 100644 (file)
@@ -242,6 +242,7 @@ public class FacetManagerImpl extends FacetManager implements ModuleComponent, P
   public void loadState(final FacetManagerState state) {
     ModifiableFacetModel model = new FacetModelImpl(this);
 
+    myInvalidFacets.clear();
     addFacets(state.getFacets(), null, model);
 
     commit(model, false);