You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2011/06/06 22:38:32 UTC

svn commit: r1132756 - /activemq/activemq-apollo/trunk/apollo-util/src/main/scala/org/apache/activemq/apollo/util/IntrospectionSupport.java

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));
             }