aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/util/CurrentInstance.java
diff options
context:
space:
mode:
authorPer-Åke Minborg <minborg@speedment.com>2016-10-28 10:24:51 -0700
committerDenis Anisimov <denis@vaadin.com>2016-11-09 15:32:57 +0200
commit0f42869ce1f81270141e94f169f1447febaff446 (patch)
treeca6ea02cdd637cc533572a19312041d8804c1525 /server/src/main/java/com/vaadin/util/CurrentInstance.java
parentb85f6e4bdc49d9ea8693239fa15d1f2f239f85cf (diff)
downloadvaadin-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.java2
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) {