diff options
author | Per-Åke Minborg <minborg@speedment.com> | 2016-10-28 10:24:51 -0700 |
---|---|---|
committer | Denis Anisimov <denis@vaadin.com> | 2016-11-09 15:32:57 +0200 |
commit | 0f42869ce1f81270141e94f169f1447febaff446 (patch) | |
tree | ca6ea02cdd637cc533572a19312041d8804c1525 /server/src/main/java/com/vaadin/util/CurrentInstance.java | |
parent | b85f6e4bdc49d9ea8693239fa15d1f2f239f85cf (diff) | |
download | vaadin-framework-0f42869ce1f81270141e94f169f1447febaff446.tar.gz vaadin-framework-0f42869ce1f81270141e94f169f1447febaff446.zip |
Use final modifier where appropriate
Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7226
Diffstat (limited to 'server/src/main/java/com/vaadin/util/CurrentInstance.java')
-rw-r--r-- | server/src/main/java/com/vaadin/util/CurrentInstance.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/util/CurrentInstance.java b/server/src/main/java/com/vaadin/util/CurrentInstance.java index f8d6af2a4c..43b158a4ff 100644 --- a/server/src/main/java/com/vaadin/util/CurrentInstance.java +++ b/server/src/main/java/com/vaadin/util/CurrentInstance.java @@ -64,7 +64,7 @@ public class CurrentInstance implements Serializable { private final WeakReference<Object> instance; private final boolean inheritable; - private static InheritableThreadLocal<Map<Class<?>, CurrentInstance>> instances = new InheritableThreadLocal<Map<Class<?>, CurrentInstance>>() { + private static final InheritableThreadLocal<Map<Class<?>, CurrentInstance>> instances = new InheritableThreadLocal<Map<Class<?>, CurrentInstance>>() { @Override protected Map<Class<?>, CurrentInstance> childValue( Map<Class<?>, CurrentInstance> parentValue) { |