directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r406918 - /directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/GetPrincipal.java
Date Tue, 16 May 2006 11:46:34 GMT
Author: ersiner
Date: Tue May 16 04:46:32 2006
New Revision: 406918

URL: http://svn.apache.org/viewcvs?rev=406918&view=rev
Log:
More flexible string equality check for string to boolean parsing.

Modified:
    directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/GetPrincipal.java

Modified: directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/GetPrincipal.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/GetPrincipal.java?rev=406918&r1=406917&r2=406918&view=diff
==============================================================================
--- directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/GetPrincipal.java
(original)
+++ directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/GetPrincipal.java
Tue May 16 04:46:32 2006
@@ -179,7 +179,7 @@
      */
     private static boolean parseBoolean( String bool )
     {
-        if ( bool.equals( "true" ) )
+        if ( "true".equalsIgnoreCase( bool ) )
         {
             return true;
         }



Mime
View raw message