From 98ac3829d68e1a928e3d8ac54141974ec0a8f86d Mon Sep 17 00:00:00 2001 From: Pedro Igor Date: Wed, 20 Jul 2022 13:52:24 -0300 Subject: [PATCH] Remove KeycloakIntegratorProvider Closes #13233 --- .../jpa/KeycloakIntegratorProvider.java | 32 ------------------- 1 file changed, 32 deletions(-) delete mode 100644 model/map-jpa/src/main/java/org/keycloak/models/map/storage/jpa/KeycloakIntegratorProvider.java diff --git a/model/map-jpa/src/main/java/org/keycloak/models/map/storage/jpa/KeycloakIntegratorProvider.java b/model/map-jpa/src/main/java/org/keycloak/models/map/storage/jpa/KeycloakIntegratorProvider.java deleted file mode 100644 index 25fa774354..0000000000 --- a/model/map-jpa/src/main/java/org/keycloak/models/map/storage/jpa/KeycloakIntegratorProvider.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright 2022 Red Hat, Inc. and/or its affiliates - * and other contributors as indicated by the @author tags. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.keycloak.models.map.storage.jpa; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import org.hibernate.integrator.spi.Integrator; -import org.hibernate.jpa.boot.spi.IntegratorProvider; - -public class KeycloakIntegratorProvider implements IntegratorProvider { - - @Override - public List getIntegrators() { - return new ArrayList<>(Collections.singletonList(new EventListenerIntegrator())); - } -}