Author: pferraro
Date: 2009-01-13 16:24:04 -0500 (Tue, 13 Jan 2009)
New Revision: 2165
Modified:
trunk/mod_cluster/src/main/java/org/jboss/modcluster/mcmp/MCMPUtils.java
Log:
[MODCLUSTER-38] empty proxyList should be handled same as null
Modified: trunk/mod_cluster/src/main/java/org/jboss/modcluster/mcmp/MCMPUtils.java
===================================================================
--- trunk/mod_cluster/src/main/java/org/jboss/modcluster/mcmp/MCMPUtils.java 2009-01-13
15:56:52 UTC (rev 2164)
+++ trunk/mod_cluster/src/main/java/org/jboss/modcluster/mcmp/MCMPUtils.java 2009-01-13
21:24:04 UTC (rev 2165)
@@ -386,7 +386,7 @@
public static List<AddressPort> parseProxies(String proxyList)
{
- if (proxyList == null) return Collections.emptyList();
+ if ((proxyList == null) || (proxyList.length() == 0)) return
Collections.emptyList();
String[] tokens = proxyList.split(",");
Show replies by date