activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1132756 - /activemq/activemq-apollo/trunk/apollo-util/src/main/scala/org/apache/activemq/apollo/util/IntrospectionSupport.java
Date Mon, 06 Jun 2011 20:38:32 GMT
Author: tabish
Date: Mon Jun  6 20:38:32 2011
New Revision: 1132756

URL: http://svn.apache.org/viewvc?rev=1132756&view=rev
Log:
https://issues.apache.org/jira/browse/APLO-30

Don't apply an empty filter to the override fields, otherwise all calls result in no output.

Modified:
    activemq/activemq-apollo/trunk/apollo-util/src/main/scala/org/apache/activemq/apollo/util/IntrospectionSupport.java

Modified: activemq/activemq-apollo/trunk/apollo-util/src/main/scala/org/apache/activemq/apollo/util/IntrospectionSupport.java
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-util/src/main/scala/org/apache/activemq/apollo/util/IntrospectionSupport.java?rev=1132756&r1=1132755&r2=1132756&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-util/src/main/scala/org/apache/activemq/apollo/util/IntrospectionSupport.java
(original)
+++ activemq/activemq-apollo/trunk/apollo-util/src/main/scala/org/apache/activemq/apollo/util/IntrospectionSupport.java
Mon Jun  6 20:38:32 2011
@@ -280,7 +280,7 @@ public final class IntrospectionSupport 
             	}
             }
             
-            if( fields!=null ) {
+            if (fields!=null && fields.length > 0) {
                 map.keySet().retainAll(Arrays.asList(fields));
             }
            



Mime
View raw message