directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1490685 - /directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SchemaViewContentProvider.java
Date Fri, 07 Jun 2013 15:31:32 GMT
Author: pamarcelot
Date: Fri Jun  7 15:31:32 2013
New Revision: 1490685

URL: http://svn.apache.org/r1490685
Log:
Fixed a bug where a modified OC would not be placed in the proper container when the hierarchical
is in use.

Modified:
    directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SchemaViewContentProvider.java

Modified: directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SchemaViewContentProvider.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SchemaViewContentProvider.java?rev=1490685&r1=1490684&r2=1490685&view=diff
==============================================================================
--- directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SchemaViewContentProvider.java
(original)
+++ directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SchemaViewContentProvider.java
Fri Jun  7 15:31:32 2013
@@ -672,7 +672,6 @@ public class SchemaViewContentProvider i
                     {
                         atw = new AttributeTypeWrapper( at, root );
                     }
-
                 }
                 else
                 {
@@ -1083,7 +1082,7 @@ public class SchemaViewContentProvider i
                             if ( child instanceof Folder )
                             {
                                 Folder folder = ( Folder ) child;
-                                if ( folder.getType().equals( FolderType.ATTRIBUTE_TYPE )
)
+                                if ( folder.getType().equals( FolderType.OBJECT_CLASS ) )
                                 {
                                     ocw = new ObjectClassWrapper( oc, folder );
                                     break;
@@ -1095,7 +1094,6 @@ public class SchemaViewContentProvider i
                     {
                         ocw = new ObjectClassWrapper( oc, root );
                     }
-
                 }
                 else
                 {



Mime
View raw message