diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-09-21 14:25:46 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-09-21 15:25:46 +0300 |
commit | 11ddb11cbc72b0ee233e503058d4e104030e4aa3 (patch) | |
tree | a3cef3be53ee41bba3d8ab8b64b0e10b2483a5fa /server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java | |
parent | e118f4d860adeaca1690ef095906ae6be84f3cb5 (diff) | |
download | vaadin-framework-11ddb11cbc72b0ee233e503058d4e104030e4aa3.tar.gz vaadin-framework-11ddb11cbc72b0ee233e503058d4e104030e4aa3.zip |
Update modifier order to follow Java Specification suggestions (#10050)
Also includes some other minor cleanup.
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.java | 4 |
1 files changed, 2 insertions, 2 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 0fbfe9c6b5..cdf0c6aaee 100644 --- a/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java +++ b/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java @@ -58,10 +58,10 @@ public class DesignAttributeHandler implements Serializable { return Logger.getLogger(DesignAttributeHandler.class.getName()); } - private final static Map<Class<?>, AttributeCacheEntry> cache = new ConcurrentHashMap<>(); + private static final Map<Class<?>, AttributeCacheEntry> cache = new ConcurrentHashMap<>(); // translates string <-> object - private final static DesignFormatter FORMATTER = new DesignFormatter(); + private static final DesignFormatter FORMATTER = new DesignFormatter(); /** * Returns the currently used formatter. All primitive types and all types |