IDEA-27103: ExternalResourceManagerImpl#removeResource() only updates mapping, but...
authorDmitry Avdeev <Dmitry.Avdeev@jetbrains.com>
Wed, 21 Apr 2010 07:52:20 +0000 (11:52 +0400)
committerDmitry Avdeev <Dmitry.Avdeev@jetbrains.com>
Wed, 21 Apr 2010 07:52:20 +0000 (11:52 +0400)
xml/impl/src/com/intellij/javaee/ExternalResourceManagerImpl.java

index e0a3757eb49846e266c6071408d7b899920a2cb2..8260ed71d0bbbc098c8f9aab48cf343fe47f8907 100644 (file)
@@ -247,7 +247,7 @@ public class ExternalResourceManagerImpl extends ExternalResourceManagerEx imple
     if (map != null) {
       String location = map.remove(url);
       if (location != null) {
-        myResourceLocations.remove(url);
+        myResourceLocations.remove(location);
       }
       myModificationCount++;
       fireExternalResourceChanged();