Merge pull request #3343 from stianst/KEYCLOAK-2884

KEYCLOAK-2884 Remove ClientTemplateResource.getKeycloakApplication()
This commit is contained in:
Stian Thorgersen 2016-10-18 14:08:50 +02:00 committed by GitHub
commit 4b56743788

View file

@ -31,7 +31,6 @@ import org.keycloak.models.utils.ModelToRepresentation;
import org.keycloak.models.utils.RepresentationToModel; import org.keycloak.models.utils.RepresentationToModel;
import org.keycloak.representations.idm.ClientTemplateRepresentation; import org.keycloak.representations.idm.ClientTemplateRepresentation;
import org.keycloak.services.ErrorResponse; import org.keycloak.services.ErrorResponse;
import org.keycloak.services.resources.KeycloakApplication;
import javax.ws.rs.Consumes; import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE; import javax.ws.rs.DELETE;
@ -62,13 +61,6 @@ public class ClientTemplateResource {
@Context @Context
protected UriInfo uriInfo; protected UriInfo uriInfo;
@Context
protected KeycloakApplication keycloak;
protected KeycloakApplication getKeycloakApplication() {
return keycloak;
}
public ClientTemplateResource(RealmModel realm, RealmAuth auth, ClientTemplateModel template, KeycloakSession session, AdminEventBuilder adminEvent) { public ClientTemplateResource(RealmModel realm, RealmAuth auth, ClientTemplateModel template, KeycloakSession session, AdminEventBuilder adminEvent) {
this.realm = realm; this.realm = realm;
this.auth = auth; this.auth = auth;