< prev index next >

src/java.desktop/unix/classes/sun/awt/XSettings.java

Print this page

        

*** 42,58 **** */ private long serial = -1; /** ! * Update these settings with <code>data</code> obtained from * XSETTINGS manager. * * @param data settings data obtained from ! * <code>_XSETTINGS_SETTINGS</code> window property of the * settings manager. ! * @return a <code>Map</code> of changed settings. */ public Map<String, Object> update(byte[] data) { return (new Update(data)).update(); } --- 42,58 ---- */ private long serial = -1; /** ! * Update these settings with {@code data} obtained from * XSETTINGS manager. * * @param data settings data obtained from ! * {@code _XSETTINGS_SETTINGS} window property of the * settings manager. ! * @return a {@code Map} of changed settings. */ public Map<String, Object> update(byte[] data) { return (new Update(data)).update(); }
*** 82,95 **** private HashMap<String, Object> updatedSettings; /** * Construct an Update object for the data read from ! * <code>_XSETTINGS_SETTINGS</code> property of the XSETTINGS * selection owner. * ! * @param data <code>_XSETTINGS_SETTINGS</code> contents. */ Update(byte[] data) { this.data = data; dlen = data.length; --- 82,95 ---- private HashMap<String, Object> updatedSettings; /** * Construct an Update object for the data read from ! * {@code _XSETTINGS_SETTINGS} property of the XSETTINGS * selection owner. * ! * @param data {@code _XSETTINGS_SETTINGS} contents. */ Update(byte[] data) { this.data = data; dlen = data.length;
< prev index next >