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

[email protected]
Newsgroups gmane.comp.jakarta.slide.devel
Message-ID <[email protected]>
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 ) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.