this.rootPrefix += "/";
}
final List<FileSelector> selectors = new ArrayList<FileSelector>();
FinalizerEnabled finalizer = ( delegate instanceof FinalizerEnabled ) ? (FinalizerEnabled) delegate : null;
if ( containerDescriptorHandlers != null )
{
for ( final ContainerDescriptorHandler handler : containerDescriptorHandlers )
{
selectors.add( handler );
if ( finalizer != null )
{
finalizer.addArchiveFinalizer( handler );
}
}
}
if ( extraSelectors != null )
{
for ( final FileSelector selector : extraSelectors )
{
selectors.add( selector );
}
}
if ( ( extraFinalizers != null ) && finalizer != null )
{
for ( ArchiveFinalizer extraFinalizer : extraFinalizers )
{
finalizer.addArchiveFinalizer( extraFinalizer );
}
}
if ( !selectors.isEmpty() )
{