directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-realm git commit: FC-105 - [fortress-realm] - write to static
Date Thu, 21 May 2015 14:31:45 GMT
Repository: directory-fortress-realm
Updated Branches:
  refs/heads/master 1fc01cc04 -> e57ee7842


FC-105 - [fortress-realm] - write to static


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

Branch: refs/heads/master
Commit: e57ee7842cbbedcd10d9fe85065476c25237892b
Parents: 1fc01cc
Author: Shawn McKinney <smckinney@apache.org>
Authored: Thu May 21 09:31:39 2015 -0500
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Thu May 21 09:31:39 2015 -0500

----------------------------------------------------------------------
 .../directory/fortress/realm/tomcat/TcAccessMgrImpl.java      | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-realm/blob/e57ee784/impl/src/main/java/org/apache/directory/fortress/realm/tomcat/TcAccessMgrImpl.java
----------------------------------------------------------------------
diff --git a/impl/src/main/java/org/apache/directory/fortress/realm/tomcat/TcAccessMgrImpl.java
b/impl/src/main/java/org/apache/directory/fortress/realm/tomcat/TcAccessMgrImpl.java
index 691ae9d..bdfa6f5 100644
--- a/impl/src/main/java/org/apache/directory/fortress/realm/tomcat/TcAccessMgrImpl.java
+++ b/impl/src/main/java/org/apache/directory/fortress/realm/tomcat/TcAccessMgrImpl.java
@@ -54,7 +54,7 @@ public class TcAccessMgrImpl implements TcAccessMgr
         try
         {
             j2eeMgr = J2eePolicyMgrFactory.createInstance();
-            LOG.info( "{} constructor <{}>", CLS_NM, count++ );
+            LOG.info( "{} constructor <{}>", CLS_NM, incrementCtr() );
         }
         catch ( SecurityException se )
         {
@@ -64,6 +64,11 @@ public class TcAccessMgrImpl implements TcAccessMgr
             throw new java.lang.RuntimeException( error, se );
         }
     }
+
+    private static int incrementCtr()
+    {
+        return count++;
+    }
     
 
     /**


Mime
View raw message