Skip to content

Commit

Permalink
converted_by no longer exists in the database, stop handling it special
Browse files Browse the repository at this point in the history
git-svn-id: https://josm.openstreetmap.de/svn/trunk@19281 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
stoecker committed Jan 13, 2025
1 parent 1ebc7dd commit 2d62d2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,6 @@ public static Collection<String> getDiscardableKeys() {
discardable = new HashSet<>(Config.getPref().getList("tags.discardable",
Arrays.asList(
"created_by",
"converted_by",
"current_id", /* prevent export of this JOSM internal information, see OsmReader */
"geobase:datasetName",
"geobase:uuid",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ public void visitKeyValue(Tagged n, String key, String value) {
/* translation note: don't translate quoted words */
msg = marktr("Has key ''note'' or ''comment'' or ''description''");
code = UNTAGGED_NODE_NOTE;
} else if (key.startsWith("created_by") || key.startsWith("converted_by")) {
} else if (key.startsWith("created_by")) {
/* translation note: don't translate quoted words */
msg = marktr("Has key ''created_by'' or ''converted_by''");
msg = marktr("Has key ''created_by''");
code = UNTAGGED_NODE_CREATED_BY;
} else if (key.startsWith("watch")) {
/* translation note: don't translate quoted words */
Expand Down

0 comments on commit 2d62d2e

Please sign in to comment.