diff --git a/src/main/java/info/ebenoit/ebul/cmp/ComponentState.java b/src/main/java/info/ebenoit/ebul/cmp/ComponentState.java index 74ed424..fe4037e 100644 --- a/src/main/java/info/ebenoit/ebul/cmp/ComponentState.java +++ b/src/main/java/info/ebenoit/ebul/cmp/ComponentState.java @@ -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( ); }