directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r344242 - in /directory: apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/ apacheds/trunk/core/src/main/java/org/apache/ldap/server/authz/ apacheds/trunk/core/src/main/java/org/apache/ldap/server/subtree/ apacheds/trunk/server...
Date Mon, 14 Nov 2005 21:41:57 GMT
Author: akarasulu
Date: Mon Nov 14 13:41:33 2005
New Revision: 344242

URL: http://svn.apache.org/viewcvs?rev=344242&view=rev
Log:
habitual code cleanup - imports and unused stuff

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/SimpleAuthenticator.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authz/AuthorizationService.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/subtree/SubentryService.java
    directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/MiscTest.java
    directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/ModifyAddTest.java
    directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/ModifyRdnTest.java
    directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/ModifyRemoveTest.java
    directory/apacheds/trunk/server/src/main/java/org/apache/ldap/server/jndi/ServerContextFactory.java
    directory/shared/ldap/trunk/common/src/main/java/org/apache/ldap/common/schema/SchemaUtils.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/SimpleAuthenticator.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/SimpleAuthenticator.java?rev=344242&r1=344241&r2=344242&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/SimpleAuthenticator.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/SimpleAuthenticator.java
Mon Nov 14 13:41:33 2005
@@ -27,7 +27,6 @@
 import org.apache.ldap.common.util.ArrayUtils;
 import org.apache.ldap.common.aci.AuthenticationLevel;
 import org.apache.ldap.server.jndi.ServerContext;
-import org.apache.ldap.server.partition.DirectoryPartitionNexus;
 import org.apache.ldap.server.partition.DirectoryPartitionNexusProxy;
 import org.apache.ldap.server.invocation.Invocation;
 import org.apache.ldap.server.invocation.InvocationStack;

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authz/AuthorizationService.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authz/AuthorizationService.java?rev=344242&r1=344241&r2=344242&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authz/AuthorizationService.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authz/AuthorizationService.java
Mon Nov 14 13:41:33 2005
@@ -698,9 +698,6 @@
             tupleCache.subentryRenamed( name, newName );
             if ( groupCache.groupRenamed( name, newName ) )
             {
-                ACITuple tup = null;
-                UserClass.UserGroup ug = null;
-
             }
             return;
         }

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/subtree/SubentryService.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/subtree/SubentryService.java?rev=344242&r1=344241&r2=344242&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/subtree/SubentryService.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/subtree/SubentryService.java
Mon Nov 14 13:41:33 2005
@@ -39,8 +39,6 @@
 import org.apache.ldap.common.exception.LdapNoSuchAttributeException;
 import org.apache.ldap.common.exception.LdapInvalidAttributeValueException;
 import org.apache.ldap.common.exception.LdapSchemaViolationException;
-import org.apache.ldap.common.util.AttributeUtils;
-import org.apache.ldap.common.schema.AttributeType;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

Modified: directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/MiscTest.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/MiscTest.java?rev=344242&r1=344241&r2=344242&view=diff
==============================================================================
--- directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/MiscTest.java
(original)
+++ directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/MiscTest.java
Mon Nov 14 13:41:33 2005
@@ -26,7 +26,6 @@
 import java.util.Collections;
 
 import javax.naming.Context;
-import javax.naming.InitialContext;
 import javax.naming.NoPermissionException;
 import javax.naming.NamingEnumeration;
 import javax.naming.directory.*;

Modified: directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/ModifyAddTest.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/ModifyAddTest.java?rev=344242&r1=344241&r2=344242&view=diff
==============================================================================
--- directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/ModifyAddTest.java
(original)
+++ directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/ModifyAddTest.java
Mon Nov 14 13:41:33 2005
@@ -27,8 +27,6 @@
 import javax.naming.ldap.InitialLdapContext;
 import javax.naming.ldap.LdapContext;
 
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 /**
  * Testcase with different modify operations on a person entry. Each includes a
@@ -40,12 +38,8 @@
  */
 public class ModifyAddTest extends AbstractServerTest
 {
-    private static final Logger log = LoggerFactory.getLogger( ModifyAddTest.class );
-    
     private LdapContext ctx = null;
-
     public static final String RDN = "cn=Tori Amos";
-
     public static final String PERSON_DESCRIPTION = "an American singer-songwriter";
     
     

Modified: directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/ModifyRdnTest.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/ModifyRdnTest.java?rev=344242&r1=344241&r2=344242&view=diff
==============================================================================
--- directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/ModifyRdnTest.java
(original)
+++ directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/ModifyRdnTest.java
Mon Nov 14 13:41:33 2005
@@ -28,7 +28,6 @@
 import javax.naming.ldap.InitialLdapContext;
 import javax.naming.ldap.LdapContext;
 
-import junit.framework.TestCase;
 
 /**
  * Testcase with different modify DN operations on a person entry.

Modified: directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/ModifyRemoveTest.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/ModifyRemoveTest.java?rev=344242&r1=344241&r2=344242&view=diff
==============================================================================
--- directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/ModifyRemoveTest.java
(original)
+++ directory/apacheds/trunk/server-unit/src/test/java/org/apache/ldap/server/ModifyRemoveTest.java
Mon Nov 14 13:41:33 2005
@@ -29,7 +29,6 @@
 import javax.naming.ldap.InitialLdapContext;
 import javax.naming.ldap.LdapContext;
 
-import junit.framework.TestCase;
 
 /**
  * Testcase with different modify operations on a person entry. Each includes a

Modified: directory/apacheds/trunk/server/src/main/java/org/apache/ldap/server/jndi/ServerContextFactory.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/server/src/main/java/org/apache/ldap/server/jndi/ServerContextFactory.java?rev=344242&r1=344241&r2=344242&view=diff
==============================================================================
--- directory/apacheds/trunk/server/src/main/java/org/apache/ldap/server/jndi/ServerContextFactory.java
(original)
+++ directory/apacheds/trunk/server/src/main/java/org/apache/ldap/server/jndi/ServerContextFactory.java
Mon Nov 14 13:41:33 2005
@@ -24,14 +24,11 @@
 import java.util.Hashtable;
 import java.util.Iterator;
 
-import javax.naming.NamingEnumeration;
 import javax.naming.NamingException;
 import javax.naming.Context;
 import javax.naming.directory.DirContext;
 import javax.naming.directory.Attributes;
 import javax.naming.directory.BasicAttributes;
-import javax.naming.directory.SearchControls;
-import javax.naming.directory.SearchResult;
 
 import org.apache.kerberos.kdc.KdcConfiguration;
 import org.apache.kerberos.kdc.KerberosServer;

Modified: directory/shared/ldap/trunk/common/src/main/java/org/apache/ldap/common/schema/SchemaUtils.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/trunk/common/src/main/java/org/apache/ldap/common/schema/SchemaUtils.java?rev=344242&r1=344241&r2=344242&view=diff
==============================================================================
--- directory/shared/ldap/trunk/common/src/main/java/org/apache/ldap/common/schema/SchemaUtils.java
(original)
+++ directory/shared/ldap/trunk/common/src/main/java/org/apache/ldap/common/schema/SchemaUtils.java
Mon Nov 14 13:41:33 2005
@@ -17,13 +17,7 @@
 package org.apache.ldap.common.schema;
 
 
-import java.util.HashSet;
-import java.util.Hashtable;
-import java.util.Set;
-
 import javax.naming.NamingException;
-
-import org.apache.asn1.codec.util.StringUtils;
 
 
 /**



Mime
View raw message