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-203 - propmr modifiers
Date Mon, 28 Nov 2016 23:28:02 GMT
Repository: directory-fortress-core
Updated Branches:
  refs/heads/master 4178bd6e2 -> da2fd904b


FC-203 - propmr modifiers


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/da2fd904
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/da2fd904
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/da2fd904

Branch: refs/heads/master
Commit: da2fd904bc6aaa07e7ef8cbd546d5b7cf2756bf4
Parents: 4178bd6
Author: Shawn McKinney <smckinney@apache.org>
Authored: Mon Nov 28 17:27:56 2016 -0600
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Mon Nov 28 17:27:56 2016 -0600

----------------------------------------------------------------------
 .../apache/directory/fortress/core/impl/PropertyDAO.java  | 10 +++++-----
 .../apache/directory/fortress/core/impl/PropertyP.java    | 10 +++++-----
 .../directory/fortress/core/impl/PropertyProvider.java    |  2 +-
 3 files changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/da2fd904/src/main/java/org/apache/directory/fortress/core/impl/PropertyDAO.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/impl/PropertyDAO.java b/src/main/java/org/apache/directory/fortress/core/impl/PropertyDAO.java
index 614a35c..43bb07e 100644
--- a/src/main/java/org/apache/directory/fortress/core/impl/PropertyDAO.java
+++ b/src/main/java/org/apache/directory/fortress/core/impl/PropertyDAO.java
@@ -44,7 +44,7 @@ import org.apache.directory.fortress.core.util.Config;
 import org.apache.directory.fortress.core.util.PropUtil;
 import org.apache.directory.ldap.client.api.LdapConnection;
 
-public class PropertyDAO extends LdapDataProvider
+final class PropertyDAO extends LdapDataProvider
 {
 
     /**
@@ -57,7 +57,7 @@ public class PropertyDAO extends LdapDataProvider
      * @throws UpdateException
      * @throws FinderException
      */
-    public FortEntity addProperties( FortEntity entity, Properties properties, PropertyProvider
propProvider ) throws UpdateException, FinderException
+    FortEntity addProperties( FortEntity entity, Properties properties, PropertyProvider
propProvider ) throws UpdateException, FinderException
     { 
         LdapConnection ld = null;
         String entityDn = propProvider.getDn( entity );
@@ -93,7 +93,7 @@ public class PropertyDAO extends LdapDataProvider
      * @throws UpdateException
      * @throws FinderException
      */
-    public FortEntity updateProperties( FortEntity entity, Properties properties, PropertyProvider
propProvider ) throws UpdateException, FinderException
+    FortEntity updateProperties( FortEntity entity, Properties properties, PropertyProvider
propProvider ) throws UpdateException, FinderException
     { 
         //ftProps all have same name, so will need to delete proprs first, then readd ones
that are approprirate
         
@@ -125,7 +125,7 @@ public class PropertyDAO extends LdapDataProvider
      * @throws UpdateException
      * @throws FinderException
      */
-    public void deleteProperties( FortEntity entity, Properties properties, PropertyProvider
propProvider ) throws UpdateException, FinderException
+    void deleteProperties( FortEntity entity, Properties properties, PropertyProvider propProvider
) throws UpdateException, FinderException
     {
         LdapConnection ld = null;
         String entityDn = propProvider.getDn( entity );
@@ -157,7 +157,7 @@ public class PropertyDAO extends LdapDataProvider
      * @return Current properties of entity
      * @throws FinderException
      */
-    public Properties getProperties( FortEntity entity, PropertyProvider propProvider ) throws
FinderException
+    Properties getProperties( FortEntity entity, PropertyProvider propProvider ) throws FinderException
     { 
         Properties props = null;
         LdapConnection ld = null;

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/da2fd904/src/main/java/org/apache/directory/fortress/core/impl/PropertyP.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/impl/PropertyP.java b/src/main/java/org/apache/directory/fortress/core/impl/PropertyP.java
index ac6797e..ba08fc9 100644
--- a/src/main/java/org/apache/directory/fortress/core/impl/PropertyP.java
+++ b/src/main/java/org/apache/directory/fortress/core/impl/PropertyP.java
@@ -30,7 +30,7 @@ import org.apache.directory.fortress.core.model.PermObj;
 import org.apache.directory.fortress.core.model.Permission;
 import org.apache.directory.fortress.core.model.Role;
 
-public class PropertyP
+final class PropertyP
 {
     private PropertyDAO propDAO = new PropertyDAO();
     private RoleDAO rDAO = new RoleDAO();
@@ -48,7 +48,7 @@ public class PropertyP
      * @throws UpdateException
      * @throws FinderException
      */
-    public FortEntity addProperties( FortEntity entity, Properties props ) throws UpdateException,
FinderException 
+    FortEntity addProperties( FortEntity entity, Properties props ) throws UpdateException,
FinderException
     {        
         return propDAO.addProperties( entity, props, this.getPropertyProvider( entity ) );
     }
@@ -62,7 +62,7 @@ public class PropertyP
      * @throws UpdateException
      * @throws FinderException
      */
-    public FortEntity updateProperties( FortEntity entity, Properties props ) throws UpdateException,
FinderException 
+    FortEntity updateProperties( FortEntity entity, Properties props ) throws UpdateException,
FinderException
     {        
         return propDAO.updateProperties( entity, props, this.getPropertyProvider( entity
) );
     }
@@ -75,7 +75,7 @@ public class PropertyP
      * @throws UpdateException
      * @throws FinderException
      */
-    public void deleteProperties( FortEntity entity, Properties props ) throws UpdateException,
FinderException 
+    void deleteProperties( FortEntity entity, Properties props ) throws UpdateException,
FinderException
     {        
         propDAO.deleteProperties( entity, props, this.getPropertyProvider( entity ) );
     }
@@ -87,7 +87,7 @@ public class PropertyP
      * @return Properties for the given entity
      * @throws FinderException
      */
-    public Properties getProperties( FortEntity entity ) throws FinderException 
+    Properties getProperties( FortEntity entity ) throws FinderException
     {        
         return propDAO.getProperties( entity, this.getPropertyProvider( entity ) );
     }

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/da2fd904/src/main/java/org/apache/directory/fortress/core/impl/PropertyProvider.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/impl/PropertyProvider.java b/src/main/java/org/apache/directory/fortress/core/impl/PropertyProvider.java
index 1ce4074..aae26d3 100644
--- a/src/main/java/org/apache/directory/fortress/core/impl/PropertyProvider.java
+++ b/src/main/java/org/apache/directory/fortress/core/impl/PropertyProvider.java
@@ -22,7 +22,7 @@ package org.apache.directory.fortress.core.impl;
 import org.apache.directory.fortress.core.FinderException;
 import org.apache.directory.fortress.core.model.FortEntity;
 
-public interface PropertyProvider<T>
+interface PropertyProvider<T>
 {
     String getDn( T entity );
     


Mime
View raw message