Skip to content

Commit

Permalink
Merge pull request #8058 from machi1990/cleanup/remove-unused-variabl…
Browse files Browse the repository at this point in the history
…e-initialization

refactor: remove initialization of unused variable in `HibernateOrmIntegrations`
  • Loading branch information
gsmet authored Mar 22, 2020
2 parents 017aa7e + 28cc21d commit 1805fe8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
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

0 comments on commit 1805fe8

Please sign in to comment.