Parcourir la source

Use cache when reading declarative format (#16572)

Change-Id: I313ff4e88e13a9c160a4717a40cb13352a30bd6b
tags/7.5.0.alpha1
Artur Signell il y a 9 ans
Parent
révision
2a67b961a4

+ 2
- 2
server/src/com/vaadin/ui/declarative/DesignAttributeHandler.java Voir le fichier

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

}
}

Chargement…
Annuler
Enregistrer