Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Foster2015-09-02 13:06:02 -0400
committerBob Foster2015-09-02 13:06:02 -0400
commit74711b903158ea4491b9035a371d7c90f517cfd0 (patch)
tree2d073aceb001e9c6009190a8db054518cba0f101
parent5183592d98925292076e6638bb9239e240dcb086 (diff)
downloadorg.eclipse.hudson.core-tomcat_memory_leak.tar.gz
org.eclipse.hudson.core-tomcat_memory_leak.tar.xz
org.eclipse.hudson.core-tomcat_memory_leak.zip
Undo unnecessary changetomcat_memory_leak
-rw-r--r--hudson-core/src/main/java/hudson/model/Job.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/hudson-core/src/main/java/hudson/model/Job.java b/hudson-core/src/main/java/hudson/model/Job.java
index a5e76b86..62573829 100644
--- a/hudson-core/src/main/java/hudson/model/Job.java
+++ b/hudson-core/src/main/java/hudson/model/Job.java
@@ -192,13 +192,12 @@ public abstract class Job<JobT extends Job<JobT, RunT>, RunT extends Run<JobT, R
* Selected cascadingProject for this job.
*/
protected transient JobT cascadingProject;
- private static class BooleanThreadLocal extends ThreadLocal<Boolean> {
+ private final static transient ThreadLocal<Boolean> allowSave = new ThreadLocal<Boolean>() {
@Override
protected Boolean initialValue() {
return true;
}
- }
- private final static transient ThreadLocal<Boolean> allowSave = new BooleanThreadLocal();
+ };
protected Job(ItemGroup parent, String name) {
super(parent, name);

Back to the top