directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r823651 - in /directory: apacheds/branches/apacheds-schema/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/ shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/
Date Fri, 09 Oct 2009 18:23:21 GMT
Author: elecharny
Date: Fri Oct  9 18:23:21 2009
New Revision: 823651

URL: http://svn.apache.org/viewvc?rev=823651&view=rev
Log:
Removed a useless Throws Exception

Modified:
    directory/apacheds/branches/apacheds-schema/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/BogusSyntax.java
    directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/LdapSyntax.java

Modified: directory/apacheds/branches/apacheds-schema/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/BogusSyntax.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/BogusSyntax.java?rev=823651&r1=823650&r2=823651&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/BogusSyntax.java
(original)
+++ directory/apacheds/branches/apacheds-schema/xdbm-search/src/test/java/org/apache/directory/server/xdbm/search/impl/BogusSyntax.java
Fri Oct  9 18:23:21 2009
@@ -24,8 +24,6 @@
 import org.apache.directory.shared.ldap.schema.SyntaxChecker;
 import org.apache.directory.shared.ldap.schema.syntaxCheckers.OctetStringSyntaxChecker;
 
-import javax.naming.NamingException;
-
 
 /**
  * A dummy syntax for testing.
@@ -48,7 +46,7 @@
     }
 
 
-    public SyntaxChecker getSyntaxChecker() throws NamingException
+    public SyntaxChecker getSyntaxChecker()
     {
         return new OctetStringSyntaxChecker();
     }

Modified: directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/LdapSyntax.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/LdapSyntax.java?rev=823651&r1=823650&r2=823651&view=diff
==============================================================================
--- directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/LdapSyntax.java
(original)
+++ directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/LdapSyntax.java
Fri Oct  9 18:23:21 2009
@@ -147,7 +147,7 @@
      * 
      * @return the SyntaxChecker
      */
-    public SyntaxChecker getSyntaxChecker() throws NamingException
+    public SyntaxChecker getSyntaxChecker()
     {
         return syntaxChecker;
     }



Mime
View raw message