Browse Source

Use cache when reading declarative format (#16572)

Change-Id: I313ff4e88e13a9c160a4717a40cb13352a30bd6b
tags/7.4.0.rc1
Artur Signell 9 years ago
parent
commit
6cebf0cfac
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      server/src/com/vaadin/ui/declarative/DesignAttributeHandler.java

+ 2
- 2
server/src/com/vaadin/ui/declarative/DesignAttributeHandler.java View File

@@ -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 {
}
}

}
}

Loading…
Cancel
Save