You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2009/08/27 13:12:48 UTC

svn commit: r808369 - /directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/DescriptionUtils.java

Author: elecharny
Date: Thu Aug 27 11:12:47 2009
New Revision: 808369

URL: http://svn.apache.org/viewvc?rev=808369&view=rev
Log:
Fixed a compilation error

Modified:
    directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/DescriptionUtils.java

Modified: directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/DescriptionUtils.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/DescriptionUtils.java?rev=808369&r1=808368&r2=808369&view=diff
==============================================================================
--- directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/DescriptionUtils.java (original)
+++ directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/DescriptionUtils.java Thu Aug 27 11:12:47 2009
@@ -641,16 +641,17 @@
         buf.append( dITStructureRule.getForm() );
         buf.append( '\n' );
 
-        List<DITStructureRule> sups = dITStructureRule.getSuperRules();
+        // TODO : Shouldn't we get the ruleId OID ? 
+        List<Integer> sups = dITStructureRule.getSuperRules();
         
         if ( ( sups != null ) && ( sups.size() > 0 ) )
         {
             buf.append( "SUP\n" );
             
-            for ( DITStructureRule sup:sups )
+            for ( Integer sup:sups )
             {
                 buf.append( '\t' );
-                buf.append( sup.getOid() );
+                buf.append( sup );
                 buf.append( '\n' );
             }
         }