directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1555331 - /directory/apacheds/trunk/core-shared/src/main/java/org/apache/directory/server/core/shared/DefaultDnFactory.java
Date Sat, 04 Jan 2014 08:07:10 GMT
Author: kayyagari
Date: Sat Jan  4 08:07:10 2014
New Revision: 1555331

URL: http://svn.apache.org/r1555331
Log:
o do not apply schema manager, in this cache all DNs will be schema aware
o replaced a sysout with logger

Modified:
    directory/apacheds/trunk/core-shared/src/main/java/org/apache/directory/server/core/shared/DefaultDnFactory.java

Modified: directory/apacheds/trunk/core-shared/src/main/java/org/apache/directory/server/core/shared/DefaultDnFactory.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-shared/src/main/java/org/apache/directory/server/core/shared/DefaultDnFactory.java?rev=1555331&r1=1555330&r2=1555331&view=diff
==============================================================================
--- directory/apacheds/trunk/core-shared/src/main/java/org/apache/directory/server/core/shared/DefaultDnFactory.java
(original)
+++ directory/apacheds/trunk/core-shared/src/main/java/org/apache/directory/server/core/shared/DefaultDnFactory.java
Sat Jan  4 08:07:10 2014
@@ -114,8 +114,6 @@ public class DefaultDnFactory implements
         }
         else
         {
-            cachedDn.apply( schemaManager );
-
             if ( enableStats )
             {
                 hitCount++;
@@ -126,8 +124,7 @@ public class DefaultDnFactory implements
 
         if ( enableStats )
         {
-            System.out.println( "Dn cache hit - " + hitCount + ", miss - " + missCount +
" and is normalized = "
-                + cachedDn.isSchemaAware() );
+            LOG.debug( "Dn cache hit - {} , miss - {} and is normalized = {}", hitCount,
missCount, cachedDn.isSchemaAware() );
         }
 
         return cachedDn;



Mime
View raw message