Changeset 16127 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2020-03-15T00:03:59+01:00 (4 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java
r16101 r16127 260 260 /** Text of a text attribution displayed when using the imagery */ 261 261 private String attributionText; 262 /** Link to the privacy policy of the operator */ 263 private String privacyPolicyURL; 262 264 /** Link to a reference stating the permission for OSM usage */ 263 265 private String permissionReferenceURL; … … 828 830 } 829 831 832 /** 833 * Return the privacy policy URL. 834 * @return The url 835 * @see #setPrivacyPolicyURL 836 * @since 16127 837 */ 838 public String getPrivacyPolicyURL() { 839 return privacyPolicyURL; 840 } 841 830 842 @Override 831 843 public Image getAttributionImage() { … … 905 917 public void setPermissionReferenceURL(String url) { 906 918 permissionReferenceURL = url; 919 } 920 921 /** 922 * Sets the privacy policy URL. 923 * @param url The url. 924 * @see #getPrivacyPolicyURL() 925 * @since 16127 926 */ 927 public void setPrivacyPolicyURL(String url) { 928 privacyPolicyURL = url; 907 929 } 908 930 -
trunk/src/org/openstreetmap/josm/io/imagery/ImageryReader.java
r15716 r16127 220 220 "terms-of-use-text", 221 221 "terms-of-use-url", 222 "privacy-policy-url", 222 223 "permission-ref", 223 224 "country-code", … … 485 486 entry.setTermsOfUseText(accumulator.toString()); 486 487 break; 488 case "privacy-policy-url": 489 entry.setPrivacyPolicyURL(accumulator.toString()); 490 break; 487 491 case "permission-ref": 488 492 entry.setPermissionReferenceURL(accumulator.toString());
Note:
See TracChangeset
for help on using the changeset viewer.