servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r949915 - /servicemix/smx4/nmr/trunk/jbi/cluster/engine/src/main/java/org/apache/servicemix/jbi/cluster/engine/SimpleClusterRegistration.java
Date Tue, 01 Jun 2010 02:26:24 GMT
Author: ffang
Date: Tue Jun  1 02:26:23 2010
New Revision: 949915

URL: http://svn.apache.org/viewvc?rev=949915&view=rev
Log:
[SMX4NMR-192]missing "()" when there's only one element in the filter

Modified:
    servicemix/smx4/nmr/trunk/jbi/cluster/engine/src/main/java/org/apache/servicemix/jbi/cluster/engine/SimpleClusterRegistration.java

Modified: servicemix/smx4/nmr/trunk/jbi/cluster/engine/src/main/java/org/apache/servicemix/jbi/cluster/engine/SimpleClusterRegistration.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/jbi/cluster/engine/src/main/java/org/apache/servicemix/jbi/cluster/engine/SimpleClusterRegistration.java?rev=949915&r1=949914&r2=949915&view=diff
==============================================================================
--- servicemix/smx4/nmr/trunk/jbi/cluster/engine/src/main/java/org/apache/servicemix/jbi/cluster/engine/SimpleClusterRegistration.java
(original)
+++ servicemix/smx4/nmr/trunk/jbi/cluster/engine/src/main/java/org/apache/servicemix/jbi/cluster/engine/SimpleClusterRegistration.java
Tue Jun  1 02:26:23 2010
@@ -121,7 +121,7 @@ public class SimpleClusterRegistration i
             }
             String f;
             if (filters.size() == 1) {
-                f = filters.get(0);
+                f = "(" + filters.get(0) + ")";
             } else {
                 StringBuilder sb = new StringBuilder();
                 sb.append("(&");



Mime
View raw message