directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1004354 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/ParserDescriptionUtils.java
Date Mon, 04 Oct 2010 18:40:43 GMT
Author: seelmann
Date: Mon Oct  4 18:40:43 2010
New Revision: 1004354

URL: http://svn.apache.org/viewvc?rev=1004354&view=rev
Log:
Exception isn't thrown

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/ParserDescriptionUtils.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/ParserDescriptionUtils.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/ParserDescriptionUtils.java?rev=1004354&r1=1004353&r2=1004354&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/ParserDescriptionUtils.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/ParserDescriptionUtils.java
Mon Oct  4 18:40:43 2010
@@ -22,8 +22,6 @@ package org.apache.directory.shared.ldap
 
 import java.util.List;
 
-import javax.naming.NamingException;
-
 import org.apache.directory.shared.ldap.schema.AttributeType;
 import org.apache.directory.shared.ldap.schema.LdapSyntax;
 import org.apache.directory.shared.ldap.schema.MatchingRule;
@@ -54,7 +52,7 @@ public final class ParserDescriptionUtil
      * @param oc1 the second objectClass to compare
      * @return true if both objectClasses match exactly, false otherwise
      */
-    public static boolean objectClassesMatch( ObjectClass oc0, ObjectClass oc1 ) throws NamingException
+    public static boolean objectClassesMatch( ObjectClass oc0, ObjectClass oc1 )
     {
         // compare all common description parameters
         if ( ! descriptionsMatch( oc0, oc1 ) )



Mime
View raw message