directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1100995 - /directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/schemamanager/SchemaEditorSchemaLoaderUtils.java
Date Mon, 09 May 2011 12:52:02 GMT
Author: pamarcelot
Date: Mon May  9 12:52:02 2011
New Revision: 1100995

URL: http://svn.apache.org/viewvc?rev=1100995&view=rev
Log:
Fixed Dn creation (it was in a wrong order).

Modified:
    directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/schemamanager/SchemaEditorSchemaLoaderUtils.java

Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/schemamanager/SchemaEditorSchemaLoaderUtils.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/schemamanager/SchemaEditorSchemaLoaderUtils.java?rev=1100995&r1=1100994&r2=1100995&view=diff
==============================================================================
--- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/schemamanager/SchemaEditorSchemaLoaderUtils.java
(original)
+++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/schemamanager/SchemaEditorSchemaLoaderUtils.java
Mon May  9 12:52:02 2011
@@ -225,10 +225,10 @@ public class SchemaEditorSchemaLoaderUti
     private static Dn getDn( SchemaObject schemaObject, String objectPath ) throws LdapInvalidDnException
     {
         return Dn.EMPTY_DN
-            .add( new Rdn( M_OID, schemaObject.getOid() ) )
-            .add( new Rdn( objectPath ) )
+            .add( new Rdn( SchemaConstants.OU_SCHEMA ) )
             .add( new Rdn( SchemaConstants.CN_AT, schemaObject.getSchemaName() ) )
-            .add( new Rdn( SchemaConstants.OU_SCHEMA ) );
+            .add( new Rdn( objectPath ) )
+            .add( new Rdn( M_OID, schemaObject.getOid() ) );
     }
 
 



Mime
View raw message