private static Diff diffValue( String key, String value1, String value2 ) {
		if( Objects.equals( value1, value2 ) )
			return null;

		Diff diff = new Diff();
		diff.key = key;
		if( value1 != null )
			diff.value1 = value1;
		if( value2 != null )
			diff.value2 = value2;
		return diff;
	}
Dumps look and feel UI defaults to files.

@author Karl Tauber
flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/uidefaults/UIDefaultsDump.java