Changeset 28405 in osm
- Timestamp:
- 2012-05-23T19:48:39+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/licensechange/src/org/openstreetmap/josm/plugins/licensechange/LicenseChangePlugin.java
r27470 r28405 200 200 public void visit(Node n) { 201 201 if (!nodeUsers.containsKey(n.getId())) { 202 if ( "clean".equals(n.get("odbl"))) {202 if (("clean".equals(n.get("odbl")) && !Main.pref.getBoolean("licensechange.ignore_odbl_clean", false))) { 203 203 nodeUsers.put(new Long(n.getId()), new HashMap<User, Severity>(Collections.singletonMap(n.getUser(), Severity.CLEAN))); 204 204 } else { … … 210 210 public void visit(Way n) { 211 211 if (!wayUsers.containsKey(n.getId())) { 212 if ( "clean".equals(n.get("odbl"))) {212 if (("clean".equals(n.get("odbl")) && !Main.pref.getBoolean("licensechange.ignore_odbl_clean", false))) { 213 213 wayUsers.put(new Long(n.getId()), new HashMap<User, Severity>(Collections.singletonMap(n.getUser(), Severity.CLEAN))); 214 214 } else { … … 220 220 public void visit(Relation n) { 221 221 if (!relationUsers.containsKey(n.getId())) { 222 if ( "clean".equals(n.get("odbl"))) {222 if (("clean".equals(n.get("odbl")) && !Main.pref.getBoolean("licensechange.ignore_odbl_clean", false))) { 223 223 relationUsers.put(new Long(n.getId()), new HashMap<User, Severity>(Collections.singletonMap(n.getUser(), Severity.CLEAN))); 224 224 } else {
Note:
See TracChangeset
for help on using the changeset viewer.