src/main/java/org/codehaus/plexus/archiver/jar/JdkManifestFactory.java
public static void mergeAttributes( java.util.jar.Attributes target, java.util.jar.Attributes section )
    {
        for ( Object o : section.keySet() )
        {
            java.util.jar.Attributes.Name key = (Attributes.Name) o;
            final Object value = section.get( o );
            // the merge file always wins
            target.put( key, value );
        }
    }
public static void mergeAttributes( java.util.jar.Attributes target, java.util.jar.Attributes section )
    {
        for ( Object o : section.keySet() )
        {
            java.util.jar.Attributes.Name key = (Attributes.Name) o;
            final Object value = section.get( o );
            // the merge file always wins
            target.put( key, value );
        }
    }
public static void mergeAttributes ( java . util . jar . Attributes target , java . util . jar . Attributes section ) { for ( Object o : section . keySet ( ) ) { java . util . jar . Attributes . Name key = ( Attributes . Name ) o ; final Object value = section . get ( o ) ; // the merge file always wins target . put ( key , value ) ; } }
Merge in another section

@param target The target manifest of the merge
@param section the section to be merged with this one.
Merge in another section