mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-27 14:30:16 +00:00
HHH-10365 checkstyle
This commit is contained in:
parent
d27acc33d1
commit
53e044334e
@ -124,7 +124,8 @@ private EntityManagerFactoryBuilder getEntityManagerFactoryBuilderOrNull(String
|
||||
|
||||
if (providedClassLoaderService != null) {
|
||||
return getEntityManagerFactoryBuilder( persistenceUnit, integration, providedClassLoaderService );
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
return getEntityManagerFactoryBuilder( persistenceUnit, integration, providedClassLoader );
|
||||
}
|
||||
}
|
||||
|
@ -356,7 +356,8 @@ private BootstrapServiceRegistry buildBootstrapServiceRegistry(
|
||||
|
||||
if ( providedClassLoaderService != null ) {
|
||||
bsrBuilder.applyClassLoaderService( providedClassLoaderService );
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
if ( persistenceUnit.getClassLoader() != null ) {
|
||||
bsrBuilder.applyClassLoader( persistenceUnit.getClassLoader() );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user