felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r925366 - in /felix/trunk/karaf/shell/obr/src/main/java/org/apache/felix/karaf/shell/obr: InfoCommand.java ObrCommandSupport.java
Date Fri, 19 Mar 2010 18:23:21 GMT
Author: gnodet
Date: Fri Mar 19 18:23:21 2010
New Revision: 925366

URL: http://svn.apache.org/viewvc?rev=925366&view=rev
Log:
[karaf] update wrt latest bundlerepository changes

Modified:
    felix/trunk/karaf/shell/obr/src/main/java/org/apache/felix/karaf/shell/obr/InfoCommand.java
    felix/trunk/karaf/shell/obr/src/main/java/org/apache/felix/karaf/shell/obr/ObrCommandSupport.java

Modified: felix/trunk/karaf/shell/obr/src/main/java/org/apache/felix/karaf/shell/obr/InfoCommand.java
URL: http://svn.apache.org/viewvc/felix/trunk/karaf/shell/obr/src/main/java/org/apache/felix/karaf/shell/obr/InfoCommand.java?rev=925366&r1=925365&r2=925366&view=diff
==============================================================================
--- felix/trunk/karaf/shell/obr/src/main/java/org/apache/felix/karaf/shell/obr/InfoCommand.java
(original)
+++ felix/trunk/karaf/shell/obr/src/main/java/org/apache/felix/karaf/shell/obr/InfoCommand.java
Fri Mar 19 18:23:21 2010
@@ -98,7 +98,7 @@ public class InfoCommand extends ObrComm
             out.println("Capabilities:");
             for (int i = 0; i < caps.length; i++)
             {
-                out.println("   " + caps[i].getName() + ":" + caps[i].getProperties());
+                out.println("   " + caps[i].getName() + ":" + caps[i].getPropertiesAsMap());
             }
         }
     }

Modified: felix/trunk/karaf/shell/obr/src/main/java/org/apache/felix/karaf/shell/obr/ObrCommandSupport.java
URL: http://svn.apache.org/viewvc/felix/trunk/karaf/shell/obr/src/main/java/org/apache/felix/karaf/shell/obr/ObrCommandSupport.java?rev=925366&r1=925365&r2=925366&view=diff
==============================================================================
--- felix/trunk/karaf/shell/obr/src/main/java/org/apache/felix/karaf/shell/obr/ObrCommandSupport.java
(original)
+++ felix/trunk/karaf/shell/obr/src/main/java/org/apache/felix/karaf/shell/obr/ObrCommandSupport.java
Fri Mar 19 18:23:21 2010
@@ -238,7 +238,7 @@ public abstract class ObrCommandSupport 
         if (!filter.startsWith("(")) {
             filter = "(" + filter + ")";
         }
-        return admin.requirement(name, filter);
+        return admin.getHelper().requirement(name, filter);
     }
 
     protected Requirement[] parseRequirements(RepositoryAdmin admin, List<String> requirements)
throws InvalidSyntaxException {



Mime
View raw message