HHH-10365 checkstyle
This commit is contained in:
parent
d27acc33d1
commit
53e044334e
|
@ -124,7 +124,8 @@ public class HibernatePersistenceProvider implements PersistenceProvider {
|
||||||
|
|
||||||
if (providedClassLoaderService != null) {
|
if (providedClassLoaderService != null) {
|
||||||
return getEntityManagerFactoryBuilder( persistenceUnit, integration, providedClassLoaderService );
|
return getEntityManagerFactoryBuilder( persistenceUnit, integration, providedClassLoaderService );
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
return getEntityManagerFactoryBuilder( persistenceUnit, integration, providedClassLoader );
|
return getEntityManagerFactoryBuilder( persistenceUnit, integration, providedClassLoader );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -356,7 +356,8 @@ public class EntityManagerFactoryBuilderImpl implements EntityManagerFactoryBuil
|
||||||
|
|
||||||
if ( providedClassLoaderService != null ) {
|
if ( providedClassLoaderService != null ) {
|
||||||
bsrBuilder.applyClassLoaderService( providedClassLoaderService );
|
bsrBuilder.applyClassLoaderService( providedClassLoaderService );
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
if ( persistenceUnit.getClassLoader() != null ) {
|
if ( persistenceUnit.getClassLoader() != null ) {
|
||||||
bsrBuilder.applyClassLoader( persistenceUnit.getClassLoader() );
|
bsrBuilder.applyClassLoader( persistenceUnit.getClassLoader() );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue