fix ugly toString()s
This commit is contained in:
parent
070f7e5d3a
commit
d9392d6601
|
@ -1020,7 +1020,7 @@ public class AnnotatedColumn {
|
||||||
if ( isNotEmpty( formulaString ) ) {
|
if ( isNotEmpty( formulaString ) ) {
|
||||||
string.append( "formula='" ).append( formulaString ).append( "'" );
|
string.append( "formula='" ).append( formulaString ).append( "'" );
|
||||||
}
|
}
|
||||||
string.append( "'" );
|
string.append( ")" );
|
||||||
return string.toString();
|
return string.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -887,7 +887,7 @@ public class AnnotatedJoinColumn extends AnnotatedColumn {
|
||||||
if ( isNotEmpty( referencedColumn ) ) {
|
if ( isNotEmpty( referencedColumn ) ) {
|
||||||
string.append( "referencedColumn='" ).append( referencedColumn ).append( "'" );
|
string.append( "referencedColumn='" ).append( referencedColumn ).append( "'" );
|
||||||
}
|
}
|
||||||
string.append( "'" );
|
string.append( ")" );
|
||||||
return string.toString();
|
return string.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -423,6 +423,6 @@ public class ClassPropertyHolder extends AbstractPropertyHolder {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return super.toString() + "(" + getEntityName() + ")";
|
return getClass().getSimpleName() + "(" + getEntityName() + ")";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -320,7 +320,7 @@ public class CollectionPropertyHolder extends AbstractPropertyHolder {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return super.toString() + "(" + collection.getRole() + ")";
|
return getClass().getSimpleName() + "(" + collection.getRole() + ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean prepared;
|
boolean prepared;
|
||||||
|
|
|
@ -375,6 +375,6 @@ public class ComponentPropertyHolder extends AbstractPropertyHolder {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return super.toString() + "(" + parent.normalizeCompositePathForLogging( embeddedAttributeName ) + ")";
|
return getClass().getSimpleName() + "(" + parent.normalizeCompositePathForLogging( embeddedAttributeName ) + ")";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue