directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject [04/20] git commit: Adding missing generics
Date Wed, 05 Nov 2014 17:33:11 GMT
Adding missing generics

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

Branch: refs/heads/master
Commit: ab93bd298f9203083ee460fdd6529f7a347a57e2
Parents: 8f2dcbc
Author: Emmanuel L├ęcharny <elecharny@symas.com>
Authored: Sun Nov 2 16:55:23 2014 +0100
Committer: Emmanuel L├ęcharny <elecharny@symas.com>
Committed: Sun Nov 2 16:55:23 2014 +0100

----------------------------------------------------------------------
 .../org/apache/directory/fortress/core/rbac/AdminRoleDAO.java  | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/ab93bd29/src/main/java/org/apache/directory/fortress/core/rbac/AdminRoleDAO.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/rbac/AdminRoleDAO.java b/src/main/java/org/apache/directory/fortress/core/rbac/AdminRoleDAO.java
index e0dfdaa..80c5182 100755
--- a/src/main/java/org/apache/directory/fortress/core/rbac/AdminRoleDAO.java
+++ b/src/main/java/org/apache/directory/fortress/core/rbac/AdminRoleDAO.java
@@ -239,6 +239,7 @@ final class AdminRoleDAO extends ApacheDsDataProvider
             if ( entity.isTemporalSet() )
             {
                 String szRawData = CUtil.setConstraint( entity );
+                
                 if ( VUtil.isNotNullOrEmpty( szRawData ) )
                 {
                     mods.add( new DefaultModification(
@@ -356,6 +357,7 @@ final class AdminRoleDAO extends ApacheDsDataProvider
     {
         LdapConnection ld = null;
         String dn = getDn( entity );
+        
         try
         {
             List<Modification> mods = new ArrayList<Modification>();
@@ -460,7 +462,7 @@ final class AdminRoleDAO extends ApacheDsDataProvider
      */
     final List<AdminRole> findRoles( AdminRole adminRole ) throws FinderException
     {
-        List<AdminRole> roleList = new ArrayList<>();
+        List<AdminRole> roleList = new ArrayList<AdminRole>();
         LdapConnection ld = null;
         String roleRoot = getRootDn( adminRole.getContextId(), GlobalIds.ADMIN_ROLE_ROOT
);
         String filter;
@@ -508,7 +510,7 @@ final class AdminRoleDAO extends ApacheDsDataProvider
      */
     final List<String> findRoles( AdminRole adminRole, int limit ) throws FinderException
     {
-        List<String> roleList = new ArrayList<>();
+        List<String> roleList = new ArrayList<String>();
         LdapConnection ld = null;
         String roleRoot = getRootDn( adminRole.getContextId(), GlobalIds.ADMIN_ROLE_ROOT
);
         String filter;


Mime
View raw message