directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r952251 - /directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/xdbm/AbstractXdbmPartition.java
Date Mon, 07 Jun 2010 14:41:32 GMT
Author: felixk
Date: Mon Jun  7 14:41:32 2010
New Revision: 952251

URL: http://svn.apache.org/viewvc?rev=952251&view=rev
Log:
Yellow lights are bad, they warn you about something ;-)

Modified:
    directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/xdbm/AbstractXdbmPartition.java

Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/xdbm/AbstractXdbmPartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/xdbm/AbstractXdbmPartition.java?rev=952251&r1=952250&r2=952251&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/xdbm/AbstractXdbmPartition.java
(original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/xdbm/AbstractXdbmPartition.java
Mon Jun  7 14:41:32 2010
@@ -404,11 +404,6 @@ public abstract class AbstractXdbmPartit
     public final void bind( DN bindDn, byte[] credentials, List<String> mechanisms,
String saslAuthId )
         throws LdapException
     {
-        if ( bindDn == null || credentials == null || mechanisms == null || saslAuthId ==
null )
-        {
-            // do nothing just using variables to prevent yellow lights : bad :)
-        }
-
         // does nothing
         throw new LdapAuthenticationNotSupportedException( ResultCodeEnum.AUTH_METHOD_NOT_SUPPORTED,
I18n
             .err( I18n.ERR_702 ) );



Mime
View raw message