You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pa...@apache.org on 2011/03/09 11:37:18 UTC
svn commit: r1079734 -
/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/MatchingRule.java
Author: pamarcelot
Date: Wed Mar 9 10:37:17 2011
New Revision: 1079734
URL: http://svn.apache.org/viewvc?rev=1079734&view=rev
Log:
Fixed PMD error.
Avoid unused imports such as 'javax.naming.NamingException'.
Modified:
directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/MatchingRule.java
Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/MatchingRule.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/MatchingRule.java?rev=1079734&r1=1079733&r2=1079734&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/MatchingRule.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/schema/MatchingRule.java Wed Mar 9 10:37:17 2011
@@ -22,8 +22,6 @@ package org.apache.directory.shared.ldap
import java.util.List;
-import javax.naming.NamingException;
-
import org.apache.directory.shared.i18n.I18n;
import org.apache.directory.shared.ldap.model.exception.LdapException;
import org.apache.directory.shared.ldap.model.exception.LdapSchemaException;
@@ -123,7 +121,8 @@ public class MatchingRule extends Abstra
* @param registries The Registries
* @exception If the addition failed
*/
- @SuppressWarnings({ "unchecked", "rawtypes" })
+ @SuppressWarnings(
+ { "unchecked", "rawtypes" })
public void addToRegistries( List<Throwable> errors, Registries registries ) throws LdapException
{
if ( registries != null )
@@ -246,7 +245,6 @@ public class MatchingRule extends Abstra
* Gets the LdapSyntax OID used by this MatchingRule.
*
* @return the LdapSyntax of this MatchingRule
- * @throws NamingException if there is a failure resolving the object
*/
public String getSyntaxOid()
{
@@ -315,7 +313,6 @@ public class MatchingRule extends Abstra
* and sorted indexing.
*
* @return the ordering LdapComparator
- * @throws NamingException if there is a failure resolving the object
*/
public LdapComparator<? super Object> getLdapComparator()
{
@@ -365,7 +362,6 @@ public class MatchingRule extends Abstra
* matching and indexing.
*
* @return the associated normalizer
- * @throws NamingException if there is a failure resolving the object
*/
public Normalizer getNormalizer()
{