Author: ron.sigal(a)jboss.com
Date: 2010-02-15 14:38:27 -0500 (Mon, 15 Feb 2010)
New Revision: 5687
Modified:
remoting2/branches/2.x/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.x/src/main/org/jboss/remoting/security/SSLSocketBuilder.java
===================================================================
---
remoting2/branches/2.x/src/main/org/jboss/remoting/security/SSLSocketBuilder.java 2010-02-15
18:50:41 UTC (rev 5686)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/security/SSLSocketBuilder.java 2010-02-15
19:38:27 UTC (rev 5687)
@@ -1617,7 +1617,7 @@
*/
protected URL validateStoreURL(String storePath) throws IOException
{
- if (storePath == NONE_STORE)
+ if (storePath.equals(NONE_STORE))
{
return NONE_STORE_URL;
}