public String toString()
{
StringBuffer sb = new StringBuffer();
sb.append( "             id: " + getId() ).append(  "\n" );
sb.append( "            url: " + getUrl() ).append(  "\n" );
<BUG>sb.append( "         layout: " + layout != null ? layout.getId() : "none"  ).append(  "\n" );
</BUG>
sb.append( "snapshot policy: [update => " + snapshots.getUpdatePolicy() ).append(  " ]\n" );
sb.append( " release policy: [update => " + releases.getUpdatePolicy() ).append(  " ]\n" );
return sb.toString();

public String toString()
{
StringBuffer sb = new StringBuffer();
sb.append( "             id: " + getId() ).append(  "\n" );
sb.append( "            url: " + getUrl() ).append(  "\n" );
sb.append( "         layout: " + ( layout != null ? layout.getId() : "none" ) ).append( "\n" );
sb.append( "snapshot policy: [update => " + snapshots.getUpdatePolicy() ).append(  " ]\n" );
sb.append( " release policy: [update => " + releases.getUpdatePolicy() ).append(  " ]\n" );
return sb.toString();
