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