diff options
author | Artur Signell <artur@vaadin.com> | 2015-02-04 14:54:48 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2015-02-04 20:23:35 +0000 |
commit | 2a67b961a466b512532b1f554b0fc2903d185f50 (patch) | |
tree | 8b9a91206e9d0f663d75ef9143574548929ed79b /server | |
parent | 69496e066720d717b23bb414fefaa4ea17e15f08 (diff) | |
download | vaadin-framework-2a67b961a466b512532b1f554b0fc2903d185f50.tar.gz vaadin-framework-2a67b961a466b512532b1f554b0fc2903d185f50.zip |
Use cache when reading declarative format (#16572)
Change-Id: I313ff4e88e13a9c160a4717a40cb13352a30bd6b
Diffstat (limited to 'server')
-rw-r--r-- | server/src/com/vaadin/ui/declarative/DesignAttributeHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/declarative/DesignAttributeHandler.java b/server/src/com/vaadin/ui/declarative/DesignAttributeHandler.java index 57a54cb9d8..215afd5041 100644 --- a/server/src/com/vaadin/ui/declarative/DesignAttributeHandler.java +++ b/server/src/com/vaadin/ui/declarative/DesignAttributeHandler.java @@ -154,7 +154,7 @@ public class DesignAttributeHandler implements Serializable { if (clazz == null) { throw new IllegalArgumentException("The clazz can not be null"); } - if (cache.containsKey(clazz.getCanonicalName())) { + if (cache.containsKey(clazz)) { // NO-OP return; } @@ -427,4 +427,4 @@ public class DesignAttributeHandler implements Serializable { } } -}
\ No newline at end of file +} |