diff options
author | Denis Lila <[email protected]> | 2011-03-09 13:51:48 -0500 |
---|---|---|
committer | Denis Lila <[email protected]> | 2011-03-09 13:51:48 -0500 |
commit | 6ff243cfc167e12284139913ddae9d274da34744 (patch) | |
tree | a46bcd71c7f71d140f21fc2ea00e60ca2d0961c5 /netx/net/sourceforge/jnlp/cache/ResourceTracker.java | |
parent | 6f229980c3dc475c67ca742a94950a9cbbcbd71f (diff) |
netx findbugs based refactoring.
Diffstat (limited to 'netx/net/sourceforge/jnlp/cache/ResourceTracker.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/cache/ResourceTracker.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/cache/ResourceTracker.java b/netx/net/sourceforge/jnlp/cache/ResourceTracker.java index a09f1c5..4ef0e0d 100644 --- a/netx/net/sourceforge/jnlp/cache/ResourceTracker.java +++ b/netx/net/sourceforge/jnlp/cache/ResourceTracker.java @@ -94,7 +94,7 @@ public class ResourceTracker { // lock, prefetch, this.resources, each resource, listeners /** notified on initialization or download of a resource */ - private static Object lock = new Integer(0); // used to lock static structures + private static final Object lock = new Object(); // used to lock static structures // shortcuts private static final int UNINITIALIZED = Resource.UNINITIALIZED; |