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: remove extraneous calls to setcontext in method
Date Sat, 27 Aug 2016 00:12:17 GMT
Repository: directory-fortress-core
Updated Branches:
  refs/heads/master cc3e60faa -> 1a7d04de4


remove extraneous calls to setcontext in method


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

Branch: refs/heads/master
Commit: 1a7d04de4945a2da8e6b01ca366f661ce85c6f0e
Parents: cc3e60f
Author: Shawn McKinney <smckinney@apache.org>
Authored: Fri Aug 26 18:07:14 2016 -0500
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Fri Aug 26 18:07:14 2016 -0500

----------------------------------------------------------------------
 .../java/org/apache/directory/fortress/core/impl/AdminMgrImpl.java | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/1a7d04de/src/main/java/org/apache/directory/fortress/core/impl/AdminMgrImpl.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/impl/AdminMgrImpl.java b/src/main/java/org/apache/directory/fortress/core/impl/AdminMgrImpl.java
index e58242a..be3977d 100755
--- a/src/main/java/org/apache/directory/fortress/core/impl/AdminMgrImpl.java
+++ b/src/main/java/org/apache/directory/fortress/core/impl/AdminMgrImpl.java
@@ -670,7 +670,6 @@ public final class AdminMgrImpl extends Manageable implements AdminMgr,
Serializ
         setEntitySession( CLS_NM, methodName, ssdSet );
         SDSet entity = sdP.read( ssdSet );
         entity.setContextId( this.contextId );
-        entity.setContextId( this.contextId );
         entity.addMember( role.getName() );
         setAdminData( CLS_NM, methodName, entity );
         SDSet ssdOut = sdP.update( entity );
@@ -816,7 +815,6 @@ public final class AdminMgrImpl extends Manageable implements AdminMgr,
Serializ
         entity.setContextId( this.contextId );
         entity.addMember( role.getName() );
         setAdminData( CLS_NM, methodName, entity );
-        entity.setContextId( contextId );
         SDSet dsdOut = sdP.update( entity );
         // remove any references to the old DSD from cache:
         clearDSDCache( dsdSet );


Mime
View raw message