Skip to content

Commit

Permalink
Suppress warn "unknown poi type" for root tag
Browse files Browse the repository at this point in the history
  • Loading branch information
RZR-UA committed Oct 12, 2024
1 parent a334c1a commit 9205db4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions OsmAnd-java/src/main/java/net/osmand/osm/MapPoiTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,9 @@ public void initFromInputStream(InputStream is) {
}
}
}
case "poi_types" -> {
// just ignore the root tag of poi_types.xml
}
default -> log.warn("Unknown start tag encountered: " + name);
}
} else if (tok == XmlPullParser.END_TAG) {
Expand Down

0 comments on commit 9205db4

Please sign in to comment.