You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2010/10/04 20:40:43 UTC
svn commit: r1004354 -
/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/ParserDescriptionUtils.java
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 ) )