directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r918718 - /directory/apacheds/trunk/core-mock/src/main/java/org/apache/directory/server/core/MockCoreSession.java
Date Wed, 03 Mar 2010 22:06:16 GMT
Author: seelmann
Date: Wed Mar  3 22:06:16 2010
New Revision: 918718

URL: http://svn.apache.org/viewvc?rev=918718&view=rev
Log:
String.isEmpty() doesn't exist in Java5

Modified:
    directory/apacheds/trunk/core-mock/src/main/java/org/apache/directory/server/core/MockCoreSession.java

Modified: directory/apacheds/trunk/core-mock/src/main/java/org/apache/directory/server/core/MockCoreSession.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-mock/src/main/java/org/apache/directory/server/core/MockCoreSession.java?rev=918718&r1=918717&r2=918718&view=diff
==============================================================================
--- directory/apacheds/trunk/core-mock/src/main/java/org/apache/directory/server/core/MockCoreSession.java
(original)
+++ directory/apacheds/trunk/core-mock/src/main/java/org/apache/directory/server/core/MockCoreSession.java
Wed Mar  3 22:06:16 2010
@@ -758,7 +758,7 @@
 
     public boolean isAnonymous()
     {
-        return getEffectivePrincipal().getName().isEmpty();
+        return StringTools.isEmpty( getEffectivePrincipal().getName() );
     }
 
 



Mime
View raw message