ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From v..@apache.org
Subject incubator-ranger git commit: Ranger-767: Removed the init() & addOrUpdate() methods from derived class as they are redundant.
Date Sat, 05 Dec 2015 01:13:06 GMT
Repository: incubator-ranger
Updated Branches:
  refs/heads/ranger-0.5 053fccc52 -> 6d4ea47f7


Ranger-767: Removed the init() & addOrUpdate() methods from derived class as they are
redundant.

Signed-off-by: Velmurugan Periasamy <vel@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/6d4ea47f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/6d4ea47f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/6d4ea47f

Branch: refs/heads/ranger-0.5
Commit: 6d4ea47f7817933e0033dd8047fa977c0cc032fe
Parents: 053fccc
Author: Sailaja Polavarapu <spolavarapu@hortonworks.com>
Authored: Fri Dec 4 16:58:39 2015 -0800
Committer: Velmurugan Periasamy <vel@apache.org>
Committed: Fri Dec 4 20:12:57 2015 -0500

----------------------------------------------------------------------
 .../ldapusersync/process/PolicyMgrUserGroupBuilder.java     | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/6d4ea47f/ugsync/src/main/java/org/apache/ranger/ldapusersync/process/PolicyMgrUserGroupBuilder.java
----------------------------------------------------------------------
diff --git a/ugsync/src/main/java/org/apache/ranger/ldapusersync/process/PolicyMgrUserGroupBuilder.java
b/ugsync/src/main/java/org/apache/ranger/ldapusersync/process/PolicyMgrUserGroupBuilder.java
index 7271df3..ea0b26a 100644
--- a/ugsync/src/main/java/org/apache/ranger/ldapusersync/process/PolicyMgrUserGroupBuilder.java
+++ b/ugsync/src/main/java/org/apache/ranger/ldapusersync/process/PolicyMgrUserGroupBuilder.java
@@ -28,13 +28,4 @@ public class PolicyMgrUserGroupBuilder extends org.apache.ranger.unixusersync.pr
 		ugbuilder.init() ;
 		
 	}
-	
-	public synchronized void init() throws Throwable {
-		super.init();
-	}
-	
-	@Override
-	public void addOrUpdateUser(String userName, List<String> groups) {
-		super.addOrUpdateUser(userName, groups);
-	}
 }


Mime
View raw message