Changeset 6087 in josm for trunk/src/org/openstreetmap/josm/gui/conflict
- Timestamp:
- 2013-07-26T17:28:24+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/conflict/tags
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/tags/PasteTagsConflictResolverDialog.java
r6084 r6087 462 462 case RELATION: msg = trn("{0} relation", "{0} relations", numPrimitives, numPrimitives); break; 463 463 } 464 text = text. equals("") ? msg : text + ", " + msg;464 text = text.isEmpty() ? msg : text + ", " + msg; 465 465 } 466 466 setText(text); -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictResolver.java
r6084 r6087 174 174 if (!cbTagRelations.isSelected()) 175 175 return null; 176 if (tfKey.getText().trim(). equals(""))176 if (tfKey.getText().trim().isEmpty()) 177 177 return null; 178 if (tfValue.getText().trim(). equals(""))178 if (tfValue.getText().trim().isEmpty()) 179 179 return null; 180 180 if (primitives == null || primitives.isEmpty())
Note:
See TracChangeset
for help on using the changeset viewer.