HHH-13496 Review string appending styles
This commit is contained in:
parent
9196a4e01e
commit
cdcd6bfe76
|
@ -162,7 +162,7 @@ public class PersistentAttributesEnhancer extends EnhancerImpl {
|
|||
|
||||
try {
|
||||
boolean declared = persistentField.getDeclaringClass().equals( managedCtClass );
|
||||
String declaredReadFragment = "this." + fieldName + "";
|
||||
String declaredReadFragment = "this." + fieldName;
|
||||
String superReadFragment = "super." + readerName + "()";
|
||||
|
||||
if ( !declared ) {
|
||||
|
|
|
@ -79,8 +79,8 @@ public class CopyIdentifierComponentSecondPass implements SecondPass {
|
|||
AtomicInteger index = new AtomicInteger( 0 );
|
||||
if ( columnByReferencedName.isEmpty() ) {
|
||||
isExplicitReference = false;
|
||||
for (Ejb3JoinColumn joinColumn : joinColumns) {
|
||||
columnByReferencedName.put( "" + index.get(), joinColumn );
|
||||
for ( Ejb3JoinColumn joinColumn : joinColumns ) {
|
||||
columnByReferencedName.put( String.valueOf( index.get() ), joinColumn );
|
||||
index.getAndIncrement();
|
||||
}
|
||||
index.set( 0 );
|
||||
|
@ -184,7 +184,7 @@ public class CopyIdentifierComponentSecondPass implements SecondPass {
|
|||
joinColumn = columnByReferencedName.get( logicalColumnName.toLowerCase(Locale.ROOT ) );
|
||||
}
|
||||
else {
|
||||
joinColumn = columnByReferencedName.get( "" + index.get() );
|
||||
joinColumn = columnByReferencedName.get( String.valueOf( index.get() ) );
|
||||
index.getAndIncrement();
|
||||
}
|
||||
if ( joinColumn == null && ! joinColumns[0].isNameDeferred() ) {
|
||||
|
|
Loading…
Reference in New Issue