Changeset 15241 in josm
- Timestamp:
- 2019-07-11T22:12:38+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java
r15158 r15241 722 722 public String toString() { 723 723 // Used in imagery preferences filtering, so must be efficient 724 return new StringBuilder("ImageryInfo{") 725 .append("name='").append(name).append('\'') 726 .append(", countryCode='").append(countryCode).append('\'') 724 return new StringBuilder(name) 725 .append('[').append(countryCode) 727 726 // appending the localized country in toString() allows us to filter imagery preferences table with it! 728 .append(" , localizedCountry='").append(getLocalizedCountry(countryCode)).append('\'')729 .append(" , url='").append(url).append('\'')730 .append(" , imageryType=").append(imageryType)731 . append('}').toString();727 .append("] ('").append(getLocalizedCountry(countryCode)).append(')') 728 .append(" - ").append(url) 729 .append(" - ").append(imageryType) 730 .toString(); 732 731 } 733 732
Note:
See TracChangeset
for help on using the changeset viewer.