directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-core git commit: FC-192 - cleanup, remove extraneous default constructors
Date Mon, 10 Oct 2016 01:09:04 GMT
Repository: directory-fortress-core
Updated Branches:
  refs/heads/master b3b37ddb8 -> 184b17a80


 FC-192 - cleanup, remove extraneous default  constructors


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/commit/184b17a8
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/184b17a8
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/184b17a8

Branch: refs/heads/master
Commit: 184b17a80b6a0414f1ff748571b99f3f800daa54
Parents: b3b37dd
Author: Shawn McKinney <smckinney@apache.org>
Authored: Sun Oct 9 20:09:00 2016 -0500
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Sun Oct 9 20:09:00 2016 -0500

----------------------------------------------------------------------
 .../apache/directory/fortress/core/impl/OrgUnitDAO.java   |  4 ----
 .../org/apache/directory/fortress/core/impl/PermDAO.java  |  4 ----
 .../apache/directory/fortress/core/impl/PolicyDAO.java    |  4 ----
 .../org/apache/directory/fortress/core/impl/RoleDAO.java  |  4 ----
 .../org/apache/directory/fortress/core/impl/SdDAO.java    |  4 ----
 .../apache/directory/fortress/core/impl/SuffixDAO.java    | 10 ----------
 .../org/apache/directory/fortress/core/impl/UserDAO.java  |  1 -
 .../directory/fortress/core/ldap/LdapDataProvider.java    |  7 -------
 8 files changed, 38 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/184b17a8/src/main/java/org/apache/directory/fortress/core/impl/OrgUnitDAO.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/impl/OrgUnitDAO.java b/src/main/java/org/apache/directory/fortress/core/impl/OrgUnitDAO.java
index 1362bbf..2c2efc8 100755
--- a/src/main/java/org/apache/directory/fortress/core/impl/OrgUnitDAO.java
+++ b/src/main/java/org/apache/directory/fortress/core/impl/OrgUnitDAO.java
@@ -124,10 +124,6 @@ final class OrgUnitDAO extends LdapDataProvider
             SchemaConstants.OU_AT
     };
 
-    OrgUnitDAO(){
-    	super();
-    }
-    
     /**
      * @param entity
      * @return

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/184b17a8/src/main/java/org/apache/directory/fortress/core/impl/PermDAO.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/impl/PermDAO.java b/src/main/java/org/apache/directory/fortress/core/impl/PermDAO.java
index 024c8f8..cbe9912 100755
--- a/src/main/java/org/apache/directory/fortress/core/impl/PermDAO.java
+++ b/src/main/java/org/apache/directory/fortress/core/impl/PermDAO.java
@@ -229,10 +229,6 @@ final class PermDAO extends LdapDataProvider
         GlobalIds.FT_PERMISSION_ATTRIBUTE_VALID_VALUES
     };
 
-    PermDAO(){
-        super();
-    }
-    
     /**
      * @param entity
      * @return

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/184b17a8/src/main/java/org/apache/directory/fortress/core/impl/PolicyDAO.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/impl/PolicyDAO.java b/src/main/java/org/apache/directory/fortress/core/impl/PolicyDAO.java
index e5e23f2..6f1fbe9 100755
--- a/src/main/java/org/apache/directory/fortress/core/impl/PolicyDAO.java
+++ b/src/main/java/org/apache/directory/fortress/core/impl/PolicyDAO.java
@@ -143,10 +143,6 @@ final class PolicyDAO extends LdapDataProvider
             SchemaConstants.CN_AT
     };
 
-    PolicyDAO(){
-        super();
-    }
-
     /**
      * @param entity
      * @return

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/184b17a8/src/main/java/org/apache/directory/fortress/core/impl/RoleDAO.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/impl/RoleDAO.java b/src/main/java/org/apache/directory/fortress/core/impl/RoleDAO.java
index 721abd9..854e56d 100755
--- a/src/main/java/org/apache/directory/fortress/core/impl/RoleDAO.java
+++ b/src/main/java/org/apache/directory/fortress/core/impl/RoleDAO.java
@@ -132,10 +132,6 @@ final class RoleDAO extends LdapDataProvider
             GlobalIds.FT_MODIFIER_AUX_OBJECT_CLASS_NAME
     };
 
-    RoleDAO() {
-        super();
-	}
-    
     /**
      * @param entity
      * @return

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/184b17a8/src/main/java/org/apache/directory/fortress/core/impl/SdDAO.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/impl/SdDAO.java b/src/main/java/org/apache/directory/fortress/core/impl/SdDAO.java
index 09827b3..34c77af 100755
--- a/src/main/java/org/apache/directory/fortress/core/impl/SdDAO.java
+++ b/src/main/java/org/apache/directory/fortress/core/impl/SdDAO.java
@@ -137,10 +137,6 @@ final class SdDAO extends LdapDataProvider
             GlobalIds.FT_IID, SD_SET_NM, SchemaConstants.DESCRIPTION_AT, ROLES, SD_SET_CARDINALITY
     };
 
-    SdDAO() {
-        super();
-	}
-
     /**
      * @param entity
      * @return

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/184b17a8/src/main/java/org/apache/directory/fortress/core/impl/SuffixDAO.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/impl/SuffixDAO.java b/src/main/java/org/apache/directory/fortress/core/impl/SuffixDAO.java
index 5ddd3e5..2391bd5 100644
--- a/src/main/java/org/apache/directory/fortress/core/impl/SuffixDAO.java
+++ b/src/main/java/org/apache/directory/fortress/core/impl/SuffixDAO.java
@@ -74,16 +74,6 @@ final class SuffixDAO extends LdapDataProvider
             SchemaConstants.DC_OBJECT_OC, SchemaConstants.ORGANIZATION_OC
     };
 
-
-    /**
-     * Package private default constructor.
-     */
-    SuffixDAO()
-    {
-        super();
-    }
-
-
     /**
      * @param se
      * @throws org.apache.directory.fortress.core.CreateException

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/184b17a8/src/main/java/org/apache/directory/fortress/core/impl/UserDAO.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/impl/UserDAO.java b/src/main/java/org/apache/directory/fortress/core/impl/UserDAO.java
index 509c3b7..483f463 100755
--- a/src/main/java/org/apache/directory/fortress/core/impl/UserDAO.java
+++ b/src/main/java/org/apache/directory/fortress/core/impl/UserDAO.java
@@ -202,7 +202,6 @@ final class UserDAO extends LdapDataProvider
      */
     UserDAO()
     {
-        super();
         initAttrArrays();
 	}
 

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/184b17a8/src/main/java/org/apache/directory/fortress/core/ldap/LdapDataProvider.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/ldap/LdapDataProvider.java b/src/main/java/org/apache/directory/fortress/core/ldap/LdapDataProvider.java
index 598ff28..6f29f5d 100644
--- a/src/main/java/org/apache/directory/fortress/core/ldap/LdapDataProvider.java
+++ b/src/main/java/org/apache/directory/fortress/core/ldap/LdapDataProvider.java
@@ -89,17 +89,10 @@ public abstract class LdapDataProvider
 {
     // Logging
     private static final String CLS_NM = LdapDataProvider.class.getName();
-    private static final Logger LOG = LoggerFactory.getLogger( CLS_NM );
-
     private static final int MAX_DEPTH = 100;
     private static final LdapCounters COUNTERS = new LdapCounters();
-
     private static final PasswordPolicy PP_REQ_CTRL = new PasswordPolicyImpl();
     
-    public LdapDataProvider(){
-
-    }
-
     /**
      * Given a contextId and a fortress param name return the LDAP dn.
      *


Mime
View raw message