archiva-modules/archiva-base/archiva-common/src/main/java/org/apache/archiva/common/utils/IOStatus.java
/**
     * Combiner used for stream collecting
     * @param ioStatus1
     * @param ioStatus2
     * @return
     */
Combiner used for stream collecting
@param ioStatus1
@param ioStatus2
@return
Combiner used for stream collecting @param ioStatus1 @param ioStatus2 @return
public static IOStatus combine(IOStatus ioStatus1, IOStatus ioStatus2) {
        IOStatus status = new IOStatus( );
        status.addAllSuccess( ioStatus1.getSuccessFiles() );
        status.addAllSuccess( ioStatus2.getSuccessFiles( ) );
        status.addAllErrors( ioStatus1.getErrorFiles( ) );
        status.addAllErrors( ioStatus2.getErrorFiles( ) );
        return status;
    }
public static IOStatus combine ( IOStatus ioStatus1 , IOStatus ioStatus2 ) { IOStatus status = new IOStatus ( ) ; status . addAllSuccess ( ioStatus1 . getSuccessFiles ( ) ) ; status . addAllSuccess ( ioStatus2 . getSuccessFiles ( ) ) ; status . addAllErrors ( ioStatus1 . getErrorFiles ( ) ) ; status . addAllErrors ( ioStatus2 . getErrorFiles ( ) ) ; return status ; }
Combiner used for stream collecting
 @param ioStatus1
 @param ioStatus2
 @return
Combiner used for stream collecting @param ioStatus1 @param ioStatus2 @return