directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1744870 - /directory/shared/branches/shared-value/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/DefaultSchemaLoader.java
Date Sat, 21 May 2016 07:42:13 GMT
Author: elecharny
Date: Sat May 21 07:42:13 2016
New Revision: 1744870

URL: http://svn.apache.org/viewvc?rev=1744870&view=rev
Log:
Slight optimization

Modified:
    directory/shared/branches/shared-value/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/DefaultSchemaLoader.java

Modified: directory/shared/branches/shared-value/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/DefaultSchemaLoader.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-value/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/DefaultSchemaLoader.java?rev=1744870&r1=1744869&r2=1744870&view=diff
==============================================================================
--- directory/shared/branches/shared-value/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/DefaultSchemaLoader.java
(original)
+++ directory/shared/branches/shared-value/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/DefaultSchemaLoader.java
Sat May 21 07:42:13 2016
@@ -639,7 +639,7 @@ public class DefaultSchemaLoader extends
         String schemaName = schemaObject.getSchemaName();
         Schema schema = null;
 
-        if ( Strings.isEmpty( schemaName ) || Strings.equals( "null", schemaName ) )
+        if ( Strings.isEmpty( schemaName ) || "null".equals( schemaName ) )
         {
             schemaName = "default";
             schema = schemaMap.get( schemaName );



Mime
View raw message