Author: ron.sigal(a)jboss.com
Date: 2010-02-15 14:43:27 -0500 (Mon, 15 Feb 2010)
New Revision: 5688
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/security/SSLSocketBuilder.java
Log:
JBREM-1172, JBREM-1161: In validateStoreURL() changed string comparison from == to
String.equals().
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-15
19:38:27 UTC (rev 5687)
+++
remoting2/branches/2.2/src/main/org/jboss/remoting/security/SSLSocketBuilder.java 2010-02-15
19:43:27 UTC (rev 5688)
@@ -1603,7 +1603,7 @@
*/
protected URL validateStoreURL(String storePath) throws IOException
{
- if (storePath == NONE_STORE)
+ if (storePath.equals(NONE_STORE))
{
return NONE_STORE_URL;
}