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 ) {
|
||||
|
|
|
@ -80,7 +80,7 @@ public class CopyIdentifierComponentSecondPass implements SecondPass {
|
|||
if ( columnByReferencedName.isEmpty() ) {
|
||||
isExplicitReference = false;
|
||||
for ( Ejb3JoinColumn joinColumn : joinColumns ) {
|
||||
columnByReferencedName.put( "" + index.get(), joinColumn );
|
||||
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