Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove initialization of unused variable in HibernateOrmIntegrations #8058

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@

import org.hibernate.bytecode.enhance.spi.EnhancementContext;
import org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor;
import org.jboss.logging.Logger;

public final class LightPersistenceXmlDescriptor implements PersistenceUnitDescriptor {

private static final Logger log = Logger.getLogger(LightPersistenceXmlDescriptor.class);

private final String name;
private final String providerClassName;
private final boolean useQuotedIdentifiers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import java.util.function.BiConsumer;

import org.hibernate.boot.Metadata;
import org.hibernate.boot.registry.classloading.spi.ClassLoaderService;
import org.hibernate.boot.spi.BootstrapContext;

public class HibernateOrmIntegrations {
Expand All @@ -25,7 +24,6 @@ public static void contributeBootProperties(BiConsumer<String, Object> propertyC
public static void onMetadataInitialized(Metadata metadata, BootstrapContext bootstrapContext,
BiConsumer<String, Object> propertyCollector) {
for (HibernateOrmIntegrationListener listener : LISTENERS) {
ClassLoaderService cls = bootstrapContext.getServiceRegistry().getService(ClassLoaderService.class);
listener.onMetadataInitialized(metadata, bootstrapContext, propertyCollector);
}
}
Expand Down