Fix typos in AbstractEntityPersister's generateSQLDeletStrings() method

Fix typo.
This commit is contained in:
Hyunjin Choi 2020-02-05 22:53:10 +09:00 committed by Steve Ebersole
parent ddb810510c
commit 07ffd63b3a
1 changed files with 2 additions and 2 deletions

View File

@ -3799,7 +3799,7 @@ public abstract class AbstractEntityPersister
final String[] deleteStrings;
if ( isImpliedOptimisticLocking && loadedState != null ) {
// we need to utilize dynamic delete statements
deleteStrings = generateSQLDeletStrings( loadedState );
deleteStrings = generateSQLDeleteStrings( loadedState );
}
else {
// otherwise, utilize the static delete statements
@ -3817,7 +3817,7 @@ public abstract class AbstractEntityPersister
|| entityMetamodel.getOptimisticLockStyle() == OptimisticLockStyle.ALL;
}
private String[] generateSQLDeletStrings(Object[] loadedState) {
private String[] generateSQLDeleteStrings(Object[] loadedState) {
int span = getTableSpan();
String[] deleteStrings = new String[span];
for ( int j = span - 1; j >= 0; j-- ) {