Author: ron.sigal(a)jboss.com
Date: 2010-02-15 20:16:10 -0500 (Mon, 15 Feb 2010)
New Revision: 5689
Modified:
remoting2/branches/2.x/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.x/src/main/org/jboss/remoting/security/SSLSocketBuilder.java
===================================================================
---
remoting2/branches/2.x/src/main/org/jboss/remoting/security/SSLSocketBuilder.java 2010-02-15
19:43:27 UTC (rev 5688)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/security/SSLSocketBuilder.java 2010-02-16
01:16:10 UTC (rev 5689)
@@ -1617,7 +1617,7 @@
*/
protected URL validateStoreURL(String storePath) throws IOException
{
- if (storePath.equals(NONE_STORE))
+ if (NONE_STORE.equals(storePath))
{
return NONE_STORE_URL;
}
Show replies by date