HHH-10365 checkstyle

This commit is contained in:
Brett Meyer 2016-05-26 14:13:54 -04:00
parent d27acc33d1
commit 53e044334e
2 changed files with 4 additions and 2 deletions

View File

@ -124,7 +124,8 @@ public class HibernatePersistenceProvider implements PersistenceProvider {
if (providedClassLoaderService != null) {
return getEntityManagerFactoryBuilder( persistenceUnit, integration, providedClassLoaderService );
} else {
}
else {
return getEntityManagerFactoryBuilder( persistenceUnit, integration, providedClassLoader );
}
}

View File

@ -356,7 +356,8 @@ public class EntityManagerFactoryBuilderImpl implements EntityManagerFactoryBuil
if ( providedClassLoaderService != null ) {
bsrBuilder.applyClassLoaderService( providedClassLoaderService );
} else {
}
else {
if ( persistenceUnit.getClassLoader() != null ) {
bsrBuilder.applyClassLoader( persistenceUnit.getClassLoader() );
}