KEYCLOAK-2455

Typo in cached ClientTemplateAdapter
This commit is contained in:
Stian Thorgersen 2016-02-08 19:40:42 +01:00
parent 98bd0b003e
commit ec20c004ba

View file

@ -53,7 +53,7 @@ public class ClientTemplateAdapter implements ClientTemplateModel {
private void getDelegateForUpdate() {
if (updated == null) {
cacheSession.registerApplicationInvalidation(getId());
cacheSession.registerClientTemplateInvalidation(getId());
updated = cacheSession.getDelegate().getClientTemplateById(getId(), cachedRealm);
if (updated == null) throw new IllegalStateException("Not found in database");
}