Changeset 11435 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2017-01-07T00:56:52+01:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/VersionInfoPanel.java
r11416 r11435 274 274 // Update text, hide prefixing label if empty 275 275 if (label != null) { 276 label.setVisible(text != null && !Utils. strip(text).isEmpty());276 label.setVisible(text != null && !Utils.isStripEmpty(text)); 277 277 } 278 278 textArea.setText(text); -
trunk/src/org/openstreetmap/josm/gui/preferences/SourceEditor.java
r11387 r11435 965 965 966 966 private void updateOkButtonState() { 967 buttons.get(0).setEnabled(!Utils. strip(tfURL.getText()).isEmpty());967 buttons.get(0).setEnabled(!Utils.isStripEmpty(tfURL.getText())); 968 968 } 969 969
Note:
See TracChangeset
for help on using the changeset viewer.