archiva-modules/archiva-base/archiva-common/src/main/java/org/apache/archiva/common/utils/IOStatus.java
/**
     * Adds multiple errors to the collection.
     *
     * @param errors the map of file, error pairs
     */
Adds multiple errors to the collection.
@param errors the map of file, error pairs
Adds multiple errors to the collection . @param errors the map of file error pairs
public void addAllErrors(Map<Path, IOException> errors) {
        if (errorList == null) {
            errorList = new TreeMap<>( );
        }
        errorList.putAll( errors );
    }
public void addAllErrors ( Map < Path , IOException > errors ) { if ( errorList == null ) { errorList = new TreeMap < > ( ) ; } errorList . putAll ( errors ) ; }
Adds multiple errors to the collection.
Adds multiple errors to the collection .