assets.add( assetBuffer.toString() + " +live:true" );
assets.add( assetBuffer.toString() + " +working:true" );
} else {
int counter = 1;
PublishQueueElement c;
for ( int ii = 0; ii < bundle.size(); ii++ ) {
c = bundle.get( ii );
if ( !c.getType().equals( "contentlet" ) ) {
if ( (counter == _ASSET_LENGTH_LIMIT || (ii + 1 == bundle.size())) && !assetBuffer.toString().isEmpty() ) {
assets.add( "+(" + assetBuffer.toString() + ") +live:true" );
assets.add( "+(" + assetBuffer.toString() + ") +working:true" );
}
continue;
}
assetBuffer.append( IDENTIFIER ).append( c.getAsset() );
assetBuffer.append( " " );
if ( counter == _ASSET_LENGTH_LIMIT || (ii + 1 == bundle.size()) ) {
assets.add( "+(" + assetBuffer.toString() + ") +live:true" );
assets.add( "+(" + assetBuffer.toString() + ") +working:true" );