From e157a60a2383c83f28afb03bb57eef3b3408bf8c Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Tue, 18 Oct 2016 09:01:24 +0200 Subject: [PATCH] KEYCLOAK-2884 Remove ClientTemplateResource.getKeycloakApplication() --- .../services/resources/admin/ClientTemplateResource.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/services/src/main/java/org/keycloak/services/resources/admin/ClientTemplateResource.java b/services/src/main/java/org/keycloak/services/resources/admin/ClientTemplateResource.java index c517f666a2..19b5e7d34b 100644 --- a/services/src/main/java/org/keycloak/services/resources/admin/ClientTemplateResource.java +++ b/services/src/main/java/org/keycloak/services/resources/admin/ClientTemplateResource.java @@ -31,7 +31,6 @@ import org.keycloak.models.utils.ModelToRepresentation; import org.keycloak.models.utils.RepresentationToModel; import org.keycloak.representations.idm.ClientTemplateRepresentation; import org.keycloak.services.ErrorResponse; -import org.keycloak.services.resources.KeycloakApplication; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; @@ -62,13 +61,6 @@ public class ClientTemplateResource { @Context protected UriInfo uriInfo; - @Context - protected KeycloakApplication keycloak; - - protected KeycloakApplication getKeycloakApplication() { - return keycloak; - } - public ClientTemplateResource(RealmModel realm, RealmAuth auth, ClientTemplateModel template, KeycloakSession session, AdminEventBuilder adminEvent) { this.realm = realm; this.auth = auth;