directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1547567 - /directory/apacheds/trunk/core-shared/src/main/java/org/apache/directory/server/core/shared/SchemaService.java
Date Tue, 03 Dec 2013 20:22:18 GMT
Author: seelmann
Date: Tue Dec  3 20:22:17 2013
New Revision: 1547567

URL: http://svn.apache.org/r1547567
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=1547567&r1=1547566&r2=1547567&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
Tue Dec  3 20:22:17 2013
@@ -187,7 +187,7 @@ public class SchemaService
 
         for ( DitContentRule ditContentRule : schemaManager.getDITContentRuleRegistry() )
         {
-            attr.add( SchemaUtils.render( ditContentRule ).toString() );
+            attr.add( SchemaObjectRenderer.SUBSCHEMA_SUBENTRY_RENDERER.render( ditContentRule
) );
         }
 
         return attr;
@@ -201,7 +201,7 @@ public class SchemaService
 
         for ( DitStructureRule ditStructureRule : schemaManager.getDITStructureRuleRegistry()
)
         {
-            attr.add( SchemaUtils.render( ditStructureRule ).toString() );
+            attr.add( SchemaObjectRenderer.SUBSCHEMA_SUBENTRY_RENDERER.render( ditStructureRule
) );
         }
 
         return attr;
@@ -215,7 +215,7 @@ public class SchemaService
 
         for ( NameForm nameForm : schemaManager.getNameFormRegistry() )
         {
-            attr.add( SchemaUtils.render( nameForm ).toString() );
+            attr.add( SchemaObjectRenderer.SUBSCHEMA_SUBENTRY_RENDERER.render( nameForm )
);
         }
 
         return attr;



Mime
View raw message