Component state - Bad toString() method
This commit is contained in:
parent
53128c5e77
commit
cced54a9fc
1 changed files with 3 additions and 3 deletions
|
@ -66,12 +66,12 @@ public final class ComponentState
|
|||
{
|
||||
StringBuilder sb = new StringBuilder( );
|
||||
if ( this.name == null ) {
|
||||
sb.append( "anonymous component " );
|
||||
sb.append( "anonymous component" );
|
||||
} else {
|
||||
sb.append( "component '" ).append( this.name ).append( "' " );
|
||||
sb.append( "component '" ).append( this.name ).append( "'" );
|
||||
}
|
||||
sb.append( " of type " ).append( this.component.getClass( ).getCanonicalName( ) );
|
||||
return super.toString( );
|
||||
return sb.toString( );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue