directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r885717 - /directory/apacheds/branches/apacheds-schema/core-api/src/main/java/org/apache/directory/server/core/schema/DescriptionParsers.java
Date Tue, 01 Dec 2009 10:16:34 GMT
Author: elecharny
Date: Tue Dec  1 10:16:34 2009
New Revision: 885717

URL: http://svn.apache.org/viewvc?rev=885717&view=rev
Log:
Fixing compilation errors

Modified:
    directory/apacheds/branches/apacheds-schema/core-api/src/main/java/org/apache/directory/server/core/schema/DescriptionParsers.java

Modified: directory/apacheds/branches/apacheds-schema/core-api/src/main/java/org/apache/directory/server/core/schema/DescriptionParsers.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/core-api/src/main/java/org/apache/directory/server/core/schema/DescriptionParsers.java?rev=885717&r1=885716&r2=885717&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/core-api/src/main/java/org/apache/directory/server/core/schema/DescriptionParsers.java
(original)
+++ directory/apacheds/branches/apacheds-schema/core-api/src/main/java/org/apache/directory/server/core/schema/DescriptionParsers.java
Tue Dec  1 10:16:34 2009
@@ -21,6 +21,7 @@
 
 
 import java.text.ParseException;
+import java.util.ArrayList;
 import java.util.List;
 
 import javax.naming.NamingException;
@@ -332,8 +333,9 @@
                     ResultCodeEnum.UNWILLING_TO_PERFORM );
             }
             
-
-            attributeType.applyRegistries( schemaManager.getRegistries() );
+            List<Throwable> errors = new ArrayList<Throwable>();
+            
+            attributeType.applyRegistries( errors, schemaManager.getRegistries() );
             
             // Inject the schema
             if ( ( attributeType.getExtensions() == null ) || 
@@ -442,7 +444,8 @@
             }
             
             ObjectClass oc = new ObjectClass( objectClass.getOid() );
-            oc.applyRegistries( schemaManager.getRegistries() );
+            List<Throwable> errors = new ArrayList<Throwable>();
+            oc.applyRegistries( errors, schemaManager.getRegistries() );
             
             objectClasses[pos++] = oc;
         }



Mime
View raw message