HHH-13265 - Remove double semicolon

This commit is contained in:
wonwoo 2019-02-06 20:21:22 +09:00 committed by Vlad Mihalcea
parent 6be091038d
commit 69af6caa95
8 changed files with 11 additions and 11 deletions

View File

@ -90,7 +90,7 @@ public class AutoFlushTest extends BaseEntityManagerFunctionalTestCase {
@Test @Test
public void testFlushAutoSQL() { public void testFlushAutoSQL() {
doInJPA( this::entityManagerFactory, entityManager -> { doInJPA( this::entityManagerFactory, entityManager -> {
entityManager.createNativeQuery( "delete from Person" ).executeUpdate();; entityManager.createNativeQuery( "delete from Person" ).executeUpdate();
} ); } );
doInJPA( this::entityManagerFactory, entityManager -> { doInJPA( this::entityManagerFactory, entityManager -> {
log.info( "testFlushAutoSQL" ); log.info( "testFlushAutoSQL" );
@ -112,7 +112,7 @@ public class AutoFlushTest extends BaseEntityManagerFunctionalTestCase {
@Test @Test
public void testFlushAutoSQLNativeSession() { public void testFlushAutoSQLNativeSession() {
doInJPA( this::entityManagerFactory, entityManager -> { doInJPA( this::entityManagerFactory, entityManager -> {
entityManager.createNativeQuery( "delete from Person" ).executeUpdate();; entityManager.createNativeQuery( "delete from Person" ).executeUpdate();
} ); } );
doInJPA( this::entityManagerFactory, entityManager -> { doInJPA( this::entityManagerFactory, entityManager -> {
log.info( "testFlushAutoSQLNativeSession" ); log.info( "testFlushAutoSQLNativeSession" );
@ -143,7 +143,7 @@ public class AutoFlushTest extends BaseEntityManagerFunctionalTestCase {
@Test @Test
public void testFlushAutoSQLSynchronization() { public void testFlushAutoSQLSynchronization() {
doInJPA( this::entityManagerFactory, entityManager -> { doInJPA( this::entityManagerFactory, entityManager -> {
entityManager.createNativeQuery( "delete from Person" ).executeUpdate();; entityManager.createNativeQuery( "delete from Person" ).executeUpdate();
} ); } );
doInJPA( this::entityManagerFactory, entityManager -> { doInJPA( this::entityManagerFactory, entityManager -> {
log.info( "testFlushAutoSQLSynchronization" ); log.info( "testFlushAutoSQLSynchronization" );

View File

@ -39,7 +39,7 @@ public class HibernateAutoFlushTest extends BaseNonConfigCoreFunctionalTestCase
@Test @Test
public void testFlushAutoSQLNativeSession() { public void testFlushAutoSQLNativeSession() {
doInHibernate( this::sessionFactory, session -> { doInHibernate( this::sessionFactory, session -> {
session.createNativeQuery( "delete from Person" ).executeUpdate();; session.createNativeQuery( "delete from Person" ).executeUpdate();
} ); } );
doInHibernate( this::sessionFactory, session -> { doInHibernate( this::sessionFactory, session -> {
log.info( "testFlushAutoSQLNativeSession" ); log.info( "testFlushAutoSQLNativeSession" );

View File

@ -79,7 +79,7 @@ public class ClassFileArchiveEntryHandler implements ArchiveEntryHandler {
} }
private ClassDescriptor toClassDescriptor(ClassFile classFile, ArchiveEntry entry) { private ClassDescriptor toClassDescriptor(ClassFile classFile, ArchiveEntry entry) {
ClassDescriptor.Categorization categorization = ClassDescriptor.Categorization.OTHER;; ClassDescriptor.Categorization categorization = ClassDescriptor.Categorization.OTHER;
final AnnotationsAttribute visibleAnnotations = (AnnotationsAttribute) classFile.getAttribute( AnnotationsAttribute.visibleTag ); final AnnotationsAttribute visibleAnnotations = (AnnotationsAttribute) classFile.getAttribute( AnnotationsAttribute.visibleTag );
if ( visibleAnnotations != null ) { if ( visibleAnnotations != null ) {

View File

@ -2831,7 +2831,7 @@ public class ModelBinder {
} }
String typeName = typeSource.getName(); String typeName = typeSource.getName();
Properties typeParameters = new Properties();; Properties typeParameters = new Properties();
final TypeDefinition typeDefinition = sourceDocument.getMetadataCollector().getTypeDefinition( typeName ); final TypeDefinition typeDefinition = sourceDocument.getMetadataCollector().getTypeDefinition( typeName );
if ( typeDefinition != null ) { if ( typeDefinition != null ) {

View File

@ -30,8 +30,8 @@ public class TableSourceImpl extends AbstractHbmSourceNode implements TableSourc
String comment, String comment,
String checkConstraint) { String checkConstraint) {
super( mappingDocument ); super( mappingDocument );
this.explicitCatalog = determineCatalogName( mappingDocument, explicitCatalog );; this.explicitCatalog = determineCatalogName( mappingDocument, explicitCatalog );
this.explicitSchema = determineSchemaName( mappingDocument, explicitSchema );; this.explicitSchema = determineSchemaName( mappingDocument, explicitSchema );
this.explicitTableName = explicitTableName; this.explicitTableName = explicitTableName;
this.rowId = rowId; this.rowId = rowId;
this.comment = comment; this.comment = comment;

View File

@ -46,5 +46,5 @@ public interface CallableStatementSupport {
CallableStatement statement, CallableStatement statement,
ParameterStrategy parameterStrategy, ParameterStrategy parameterStrategy,
List<ParameterRegistrationImplementor<?>> parameterRegistrations, List<ParameterRegistrationImplementor<?>> parameterRegistrations,
SharedSessionContractImplementor session);; SharedSessionContractImplementor session);
} }

View File

@ -280,7 +280,7 @@ public class JdbcResourceLocalTransactionCoordinatorImpl implements TransactionC
rollback(); rollback();
} }
catch (RuntimeException e2) { catch (RuntimeException e2) {
log.debug( "Encountered failure rolling back failed commit", e2 );; log.debug( "Encountered failure rolling back failed commit", e2 );
} }
throw e; throw e;
} }

View File

@ -28,7 +28,7 @@ public class Parent {
private List<CorrectChild> correctChildren = new ArrayList<CorrectChild>(); private List<CorrectChild> correctChildren = new ArrayList<CorrectChild>();
@OneToMany(mappedBy = "id.parent") @OneToMany(mappedBy = "id.parent")
private List<IncorrectChild> incorrectChildren = new ArrayList<IncorrectChild>();; private List<IncorrectChild> incorrectChildren = new ArrayList<IncorrectChild>();
Parent() { Parent() {