You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2017/03/26 05:45:40 UTC

karaf-cellar git commit: [KARAF-5003] Fix repoRemoveCommand test condition

Repository: karaf-cellar
Updated Branches:
  refs/heads/master d3c028808 -> f7de18f69


[KARAF-5003] Fix repoRemoveCommand test condition


Project: http://git-wip-us.apache.org/repos/asf/karaf-cellar/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf-cellar/commit/f7de18f6
Tree: http://git-wip-us.apache.org/repos/asf/karaf-cellar/tree/f7de18f6
Diff: http://git-wip-us.apache.org/repos/asf/karaf-cellar/diff/f7de18f6

Branch: refs/heads/master
Commit: f7de18f698aff70103ea145bcb7d9b47ed697fe5
Parents: d3c0288
Author: Jean-Baptiste Onofr� <jb...@apache.org>
Authored: Sun Mar 26 07:44:30 2017 +0200
Committer: Jean-Baptiste Onofr� <jb...@apache.org>
Committed: Sun Mar 26 07:44:30 2017 +0200

----------------------------------------------------------------------
 .../org/apache/karaf/cellar/features/shell/RepoRemoveCommand.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf-cellar/blob/f7de18f6/features/src/main/java/org/apache/karaf/cellar/features/shell/RepoRemoveCommand.java
----------------------------------------------------------------------
diff --git a/features/src/main/java/org/apache/karaf/cellar/features/shell/RepoRemoveCommand.java b/features/src/main/java/org/apache/karaf/cellar/features/shell/RepoRemoveCommand.java
index 5ef2322..b671e1e 100644
--- a/features/src/main/java/org/apache/karaf/cellar/features/shell/RepoRemoveCommand.java
+++ b/features/src/main/java/org/apache/karaf/cellar/features/shell/RepoRemoveCommand.java
@@ -117,7 +117,7 @@ public class RepoRemoveCommand extends CellarCommandSupport {
                 // looking for the URL in the list
                 boolean found = false;
                 for (String repository : clusterRepositories.keySet()) {
-                    if (repository.equals(repository)) {
+                    if (this.repository.equals(repository)) {
                         found = true;
                         break;
                     }