archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1414472 - in /archiva/redback/redback-core/trunk/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection: ConfigurableLdapConnectionFactory.java LdapConnectionConfiguration.java
Date Tue, 27 Nov 2012 23:43:29 GMT
Author: olamy
Date: Tue Nov 27 23:43:28 2012
New Revision: 1414472

URL: http://svn.apache.org/viewvc?rev=1414472&view=rev
Log:
remove non use constructor

Modified:
    archiva/redback/redback-core/trunk/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection/ConfigurableLdapConnectionFactory.java
    archiva/redback/redback-core/trunk/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection/LdapConnectionConfiguration.java

Modified: archiva/redback/redback-core/trunk/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection/ConfigurableLdapConnectionFactory.java
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection/ConfigurableLdapConnectionFactory.java?rev=1414472&r1=1414471&r2=1414472&view=diff
==============================================================================
--- archiva/redback/redback-core/trunk/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection/ConfigurableLdapConnectionFactory.java
(original)
+++ archiva/redback/redback-core/trunk/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection/ConfigurableLdapConnectionFactory.java
Tue Nov 27 23:43:28 2012
@@ -40,49 +40,23 @@ import java.util.Properties;
 public class ConfigurableLdapConnectionFactory
     implements LdapConnectionFactory
 {
-    /**
-     *
-     */
+
     private String hostname;
 
-    /**
-     *
-     */
     private int port;
 
-    /**
-     *
-     */
     private boolean ssl;
 
-    /**
-     *
-     */
     private String baseDn;
 
-    /**
-     *
-     */
     private String contextFactory;
 
-    /**
-     *
-     */
     private String bindDn;
 
-    /**
-     *
-     */
     private String password;
 
-    /**
-     *
-     */
     private String authenticationMethod;
 
-    /**
-     *
-     */
     private Properties extraProperties;
 
     private LdapConnectionConfiguration configuration;

Modified: archiva/redback/redback-core/trunk/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection/LdapConnectionConfiguration.java
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection/LdapConnectionConfiguration.java?rev=1414472&r1=1414471&r2=1414472&view=diff
==============================================================================
--- archiva/redback/redback-core/trunk/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection/LdapConnectionConfiguration.java
(original)
+++ archiva/redback/redback-core/trunk/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection/LdapConnectionConfiguration.java
Tue Nov 27 23:43:28 2012
@@ -72,36 +72,7 @@ public class LdapConnectionConfiguration
 
     public LdapConnectionConfiguration()
     {
-    }
-
-    public LdapConnectionConfiguration( String hostname, int port, LdapName baseDn, String
contextFactory,
-                                        LdapName bindDn, String password, String authenticationMethod,
-                                        Properties extraProperties )
-        throws LdapException
-    {
-        this.hostname = hostname;
-
-        this.port = port;
-
-        if ( baseDn != null )
-        {
-            this.baseDn = new LdapName( baseDn.getRdns() );
-        }
-
-        this.contextFactory = contextFactory;
-
-        if ( bindDn != null )
-        {
-            this.bindDn = new LdapName( bindDn.getRdns() );
-        }
-
-        this.password = password;
-
-        this.authenticationMethod = authenticationMethod;
-
-        this.extraProperties = extraProperties;
-
-        check();
+        // no op
     }
 
     public LdapConnectionConfiguration( String hostname, int port, String baseDn, String
contextFactory, String bindDn,



Mime
View raw message