summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-02-04 14:54:48 +0200
committerArtur Signell <artur@vaadin.com>2015-02-04 20:23:35 +0000
commit2a67b961a466b512532b1f554b0fc2903d185f50 (patch)
tree8b9a91206e9d0f663d75ef9143574548929ed79b /server
parent69496e066720d717b23bb414fefaa4ea17e15f08 (diff)
downloadvaadin-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.java4
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
+}