--- old/src/solaris/classes/sun/awt/XSettings.java 2014-04-18 11:26:45.672824335 -0700
+++ new/src/solaris/classes/sun/awt/XSettings.java 2014-04-18 11:26:45.526157676 -0700
@@ -52,7 +52,7 @@
* settings manager.
* @return a Map
of changed settings.
*/
- public Map update(byte[] data) {
+ public Map update(byte[] data) {
return (new Update(data)).update();
}
@@ -79,7 +79,7 @@
private int nsettings = 0;
private boolean isValid;
- private HashMap updatedSettings;
+ private HashMap updatedSettings;
/**
@@ -113,7 +113,7 @@
idx = 8;
nsettings = getINT32();
- updatedSettings = new HashMap();
+ updatedSettings = new HashMap<>();
isValid = true;
}
@@ -213,7 +213,7 @@
/**
* Update settings.
*/
- public Map update() {
+ public Map update() {
if (!isValid) {
return null;
}