felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r654904 - /felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/RepositoryAdminImpl.java
Date Fri, 09 May 2008 18:14:10 GMT
Author: rickhall
Date: Fri May  9 11:14:09 2008
New Revision: 654904

URL: http://svn.apache.org/viewvc?rev=654904&view=rev
Log:
Applied patch (FELIX-480) to return an empty resource array when querying
with a filter with invalid syntax.

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

Modified: felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/RepositoryAdminImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/RepositoryAdminImpl.java?rev=654904&r1=654903&r2=654904&view=diff
==============================================================================
--- felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/RepositoryAdminImpl.java
(original)
+++ felix/trunk/bundlerepository/src/main/java/org/apache/felix/bundlerepository/RepositoryAdminImpl.java
Fri May  9 11:14:09 2008
@@ -87,6 +87,7 @@
         {
             initialize();
         }
+
         return new ResolverImpl(m_context, this);
     }
 
@@ -105,6 +106,7 @@
         catch (InvalidSyntaxException ex)
         {
             System.err.println(ex);
+            return new Resource[0];
         }
 
         Resource[] resources = null;



Mime
View raw message