[jboss-remoting-commits] JBoss Remoting SVN: r5691 - remoting2/branches/2.2/src/main/org/jboss/remoting/security.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Mon Feb 15 20:23:14 EST 2010


Author: ron.sigal at jboss.com
Date: 2010-02-15 20:23:14 -0500 (Mon, 15 Feb 2010)
New Revision: 5691

Modified:
   remoting2/branches/2.2/src/main/org/jboss/remoting/security/SSLSocketBuilder.java
Log:
JBREM-1185, JBREM-1172, JBREM-1161: In validateStoreURL() changed string comparison from storePath.equals(NONE_STORE) to NONE_STORE.equals(storePath).

Modified: remoting2/branches/2.2/src/main/org/jboss/remoting/security/SSLSocketBuilder.java
===================================================================
--- remoting2/branches/2.2/src/main/org/jboss/remoting/security/SSLSocketBuilder.java	2010-02-16 01:17:31 UTC (rev 5690)
+++ remoting2/branches/2.2/src/main/org/jboss/remoting/security/SSLSocketBuilder.java	2010-02-16 01:23:14 UTC (rev 5691)
@@ -1603,7 +1603,7 @@
     */
    protected URL validateStoreURL(String storePath) throws IOException
    {
-      if (storePath.equals(NONE_STORE))
+      if (NONE_STORE.equals(storePath))
       {
          return NONE_STORE_URL;
       }



More information about the jboss-remoting-commits mailing list