Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Foster2014-11-10 12:43:10 -0500
committerBob Foster2014-11-10 12:43:10 -0500
commit2005440d2d65498821f31fc34ea05558ed624d3b (patch)
tree03b84ad16314f82213581029e089eab2f707e19d
parenta1084e2fe7aba85f4395998441bc6f65088b755a (diff)
downloadorg.eclipse.hudson.core-2005440d2d65498821f31fc34ea05558ed624d3b.tar.gz
org.eclipse.hudson.core-2005440d2d65498821f31fc34ea05558ed624d3b.tar.xz
org.eclipse.hudson.core-2005440d2d65498821f31fc34ea05558ed624d3b.zip
Bug 450822 Make logger static (performance)
-rw-r--r--hudson-core/src/main/java/org/eclipse/hudson/security/team/TeamBasedACL.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/hudson-core/src/main/java/org/eclipse/hudson/security/team/TeamBasedACL.java b/hudson-core/src/main/java/org/eclipse/hudson/security/team/TeamBasedACL.java
index d4779bbb..a75ef0f5 100644
--- a/hudson-core/src/main/java/org/eclipse/hudson/security/team/TeamBasedACL.java
+++ b/hudson-core/src/main/java/org/eclipse/hudson/security/team/TeamBasedACL.java
@@ -34,7 +34,7 @@ import org.springframework.security.acls.model.Sid;
*/
public class TeamBasedACL extends SidACL {
- private transient Logger logger = LoggerFactory.getLogger(TeamBasedACL.class);
+ private static Logger LOGGER = LoggerFactory.getLogger(TeamBasedACL.class);
public enum SCOPE {
@@ -291,7 +291,7 @@ public class TeamBasedACL extends SidACL {
}
}
} catch (TeamNotFoundException ex) {
- logger.error("The public team must exists.", ex);
+ LOGGER.error("The public team must exists.", ex);
}
if (jobTeam != null) {
@@ -319,7 +319,7 @@ public class TeamBasedACL extends SidACL {
}
}
} catch (TeamNotFoundException ex) {
- logger.error("The public team must exists.", ex);
+ LOGGER.error("The public team must exists.", ex);
}
if (viewTeam != null) {
@@ -351,7 +351,7 @@ public class TeamBasedACL extends SidACL {
}
}
} catch (TeamNotFoundException ex) {
- logger.error("The public team must exists.", ex);
+ LOGGER.error("The public team must exists.", ex);
}
if (nodeTeam != null) {

Back to the top