directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r929091 - in /directory: apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/ shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap...
Date Tue, 30 Mar 2010 11:30:37 GMT
Author: elecharny
Date: Tue Mar 30 11:30:36 2010
New Revision: 929091

URL: http://svn.apache.org/viewvc?rev=929091&view=rev
Log:
o Removed unused imports
o Removed a catch() which can't be reached

Modified:
    directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/Normalizer.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/tree/DnBranchNode.java

Modified: directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java?rev=929091&r1=929090&r2=929091&view=diff
==============================================================================
--- directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
(original)
+++ directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
Tue Mar 30 11:30:36 2010
@@ -349,12 +349,9 @@ public abstract class ServerDirContext e
             serverEntry = ServerEntryUtils.toServerEntry( AttributeUtils.toCaseInsensitive(
attrs ), target,
                 getDirectoryService().getSchemaManager() );
         }
-        catch ( LdapInvalidAttributeTypeException e1 )
+        catch ( LdapInvalidAttributeTypeException liate )
         {
-        }
-        catch ( LdapException le )
-        {
-            throw new InvalidAttributesException( le.getMessage() );
+            throw new InvalidAttributesException( liate.getMessage() );
         }
 
         // No object binding so we just add the attributes

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/Normalizer.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/Normalizer.java?rev=929091&r1=929090&r2=929091&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/Normalizer.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/Normalizer.java
Tue Mar 30 11:30:36 2010
@@ -22,7 +22,6 @@ package org.apache.directory.shared.ldap
 
 import org.apache.directory.shared.ldap.entry.Value;
 import org.apache.directory.shared.ldap.exception.LdapException;
-import org.apache.directory.shared.ldap.exception.LdapInvalidDnException;
 
 
 /**

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/tree/DnBranchNode.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/tree/DnBranchNode.java?rev=929091&r1=929090&r2=929091&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/tree/DnBranchNode.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/util/tree/DnBranchNode.java
Tue Mar 30 11:30:36 2010
@@ -20,7 +20,6 @@
 package org.apache.directory.shared.ldap.util.tree;
 
 
-import java.util.Enumeration;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;



Mime
View raw message