directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r808369 - /directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/DescriptionUtils.java
Date Thu, 27 Aug 2009 11:12:48 GMT
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' );
             }
         }



Mime
View raw message