You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by an...@apache.org on 2006/10/25 02:46:09 UTC

svn commit: r467526 - /jakarta/slide/trunk/src/stores/org/apache/slide/store/txjndi/JNDIPrincipalStore.java

Author: antoine
Date: Tue Oct 24 17:46:09 2006
New Revision: 467526

URL: http://svn.apache.org/viewvc?view=rev&rev=467526
Log:
Bug report 35339, suggested by Martin Petras	

Modified:
    jakarta/slide/trunk/src/stores/org/apache/slide/store/txjndi/JNDIPrincipalStore.java

Modified: jakarta/slide/trunk/src/stores/org/apache/slide/store/txjndi/JNDIPrincipalStore.java
URL: http://svn.apache.org/viewvc/jakarta/slide/trunk/src/stores/org/apache/slide/store/txjndi/JNDIPrincipalStore.java?view=diff&rev=467526&r1=467525&r2=467526
==============================================================================
--- jakarta/slide/trunk/src/stores/org/apache/slide/store/txjndi/JNDIPrincipalStore.java (original)
+++ jakarta/slide/trunk/src/stores/org/apache/slide/store/txjndi/JNDIPrincipalStore.java Tue Oct 24 17:46:09 2006
@@ -1081,9 +1081,6 @@
         if (name.equals("")) return name;
 
 		int firstEqual = name.indexOf("=");
-		if ( firstEqual < 0 ) {
-			firstEqual = 0;
-		}
 		
 		int secondEqual = name.substring( firstEqual + 1 ).indexOf( "=" );
 		if ( secondEqual < 0 ) {



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org