public Metadata setProperties( Map<String, String> properties ) { Map<String, String> current = getProperties(); if ( current.equals( properties ) || ( properties == null && current.isEmpty() ) ) { return this; } return newInstance( copyProperties( properties ), getFile() ); }
public Metadata setProperties( Map<String, String> properties ) { Map<String, String> current = getProperties(); if ( current.equals( properties ) || ( properties == null && current.isEmpty() ) ) { return this; } return newInstance( copyProperties( properties ), getFile() ); }