Changeset 8461 in josm for trunk/src/org/openstreetmap/josm/gui/oauth
- Timestamp:
- 2015-06-03T14:05:30+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/oauth
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/oauth/FullyAutomaticAuthorizationUI.java
r8442 r8461 408 408 @Override 409 409 public boolean isValid() { 410 return getComponent().getText().trim().length() > 0;410 return !getComponent().getText().trim().isEmpty(); 411 411 } 412 412 … … 429 429 @Override 430 430 public boolean isValid() { 431 return getComponent().getText().trim().length() > 0;431 return !getComponent().getText().trim().isEmpty(); 432 432 } 433 433 -
trunk/src/org/openstreetmap/josm/gui/oauth/FullyAutomaticPropertiesPanel.java
r6890 r8461 82 82 @Override 83 83 public boolean isValid() { 84 return getComponent().getText().trim().length() > 0;84 return !getComponent().getText().trim().isEmpty(); 85 85 } 86 86
Note:
See TracChangeset
for help on using the changeset viewer.