directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1546209 - /directory/apacheds/trunk/core-shared/src/main/java/org/apache/directory/server/core/shared/SchemaService.java
Date Wed, 27 Nov 2013 22:05:11 GMT
Author: seelmann
Date: Wed Nov 27 22:05:10 2013
New Revision: 1546209

URL: http://svn.apache.org/r1546209
Log:
Use SchemaObjectRenderer

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

Modified: directory/apacheds/trunk/core-shared/src/main/java/org/apache/directory/server/core/shared/SchemaService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-shared/src/main/java/org/apache/directory/server/core/shared/SchemaService.java?rev=1546209&r1=1546208&r2=1546209&view=diff
==============================================================================
--- directory/apacheds/trunk/core-shared/src/main/java/org/apache/directory/server/core/shared/SchemaService.java
(original)
+++ directory/apacheds/trunk/core-shared/src/main/java/org/apache/directory/server/core/shared/SchemaService.java
Wed Nov 27 22:05:10 2013
@@ -145,7 +145,7 @@ public class SchemaService
 
         for ( MatchingRule matchingRule : schemaManager.getMatchingRuleRegistry() )
         {
-            attr.add( SchemaUtils.render( matchingRule ).toString() );
+            attr.add( SchemaObjectRenderer.SUBSCHEMA_SUBENTRY_RENDERER.render( matchingRule
) );
         }
 
         return attr;
@@ -159,7 +159,7 @@ public class SchemaService
 
         for ( MatchingRuleUse matchingRuleUse : schemaManager.getMatchingRuleUseRegistry()
)
         {
-            attr.add( SchemaUtils.render( matchingRuleUse ).toString() );
+            attr.add( SchemaObjectRenderer.SUBSCHEMA_SUBENTRY_RENDERER.render( matchingRuleUse
) );
         }
 
         return attr;
@@ -173,7 +173,7 @@ public class SchemaService
 
         for ( LdapSyntax syntax : schemaManager.getLdapSyntaxRegistry() )
         {
-            attr.add( SchemaUtils.render( syntax ).toString() );
+            attr.add( SchemaObjectRenderer.SUBSCHEMA_SUBENTRY_RENDERER.render( syntax ) );
         }
 
         return attr;



Mime
View raw message