Ignore:
Timestamp:
2014-05-09T06:03:50+02:00 (11 years ago)
Author:
Don-vip
Message:

see #8465 - replace Utils.equal by Objects.equals, new in Java 7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/advanced/PreferencesTable.java

    r7027 r7083  
    1414import java.util.List;
    1515import java.util.Map;
     16import java.util.Objects;
    1617
    1718import javax.swing.ButtonGroup;
     
    3536import org.openstreetmap.josm.gui.widgets.JosmTextField;
    3637import org.openstreetmap.josm.tools.GBC;
    37 import org.openstreetmap.josm.tools.Utils;
    3838
    3939/**
     
    192192                if (sEditor.getValue() == 1) {
    193193                    String data = sEditor.getData();
    194                     if (!Utils.equal(sSetting.getValue(), data)) {
     194                    if (!Objects.equals(sSetting.getValue(), data)) {
    195195                        pe.setValue(new StringSetting(data));
    196196                        ok = true;
Note: See TracChangeset for help on using the changeset viewer.