aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.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/ui/declarative/DesignAttributeHandler.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/ui/declarative/DesignAttributeHandler.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java b/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
index 00fb32392c..5b0968bae6 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
@@ -430,7 +430,7 @@ public class DesignAttributeHandler implements Serializable {
* @author Vaadin Ltd
*/
private static class AttributeCacheEntry implements Serializable {
- private Map<String, Method[]> accessMethods = new ConcurrentHashMap<>();
+ private final Map<String, Method[]> accessMethods = new ConcurrentHashMap<>();
private void addAttribute(String attribute, Method getter,
Method setter) {