felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r707734 - /felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/ObrCommandImpl.java
Date Fri, 24 Oct 2008 20:31:26 GMT
Author: rickhall
Date: Fri Oct 24 13:31:25 2008
New Revision: 707734

URL: http://svn.apache.org/viewvc?rev=707734&view=rev
Log:
Print message if there are no matching bundles. (FELIX-785)

Modified:
    felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/ObrCommandImpl.java

Modified: felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/ObrCommandImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/ObrCommandImpl.java?rev=707734&r1=707733&r2=707734&view=diff
==============================================================================
--- felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/ObrCommandImpl.java
(original)
+++ felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/ObrCommandImpl.java
Fri Oct 24 13:31:25 2008
@@ -266,7 +266,7 @@
             out.println(")");
         }
     
-        if (resources == null)
+        if ((resources == null) || (resources.length == 0))
         {
             out.println("No matching bundles.");
         }



Mime
View raw message