servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r726138 - /servicemix/smx4/kernel/trunk/gshell/gshell-features/src/main/java/org/apache/servicemix/kernel/gshell/features/internal/FeaturesServiceImpl.java
Date Fri, 12 Dec 2008 22:22:26 GMT
Author: gnodet
Date: Fri Dec 12 14:22:25 2008
New Revision: 726138

URL: http://svn.apache.org/viewvc?rev=726138&view=rev
Log:
SMX4KNL-164: features/removeUrl does not remove the repository

Modified:
    servicemix/smx4/kernel/trunk/gshell/gshell-features/src/main/java/org/apache/servicemix/kernel/gshell/features/internal/FeaturesServiceImpl.java

Modified: servicemix/smx4/kernel/trunk/gshell/gshell-features/src/main/java/org/apache/servicemix/kernel/gshell/features/internal/FeaturesServiceImpl.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/kernel/trunk/gshell/gshell-features/src/main/java/org/apache/servicemix/kernel/gshell/features/internal/FeaturesServiceImpl.java?rev=726138&r1=726137&r2=726138&view=diff
==============================================================================
--- servicemix/smx4/kernel/trunk/gshell/gshell-features/src/main/java/org/apache/servicemix/kernel/gshell/features/internal/FeaturesServiceImpl.java
(original)
+++ servicemix/smx4/kernel/trunk/gshell/gshell-features/src/main/java/org/apache/servicemix/kernel/gshell/features/internal/FeaturesServiceImpl.java
Fri Dec 12 14:22:25 2008
@@ -125,7 +125,7 @@
     }
 
     public void removeRepository(URI uri) {
-        if (repositories.values().contains(uri)) {
+        if (repositories.containsKey(uri)) {
             internalRemoveRepository(uri);
             saveState();
         }



Mime
View raw message