Address warnings and deprecations (#173)

This commit is contained in:
Michael Barry
2024-06-17 05:22:41 -04:00
committed by GitHub
parent 3c7e26da08
commit 4469a50ad9
16 changed files with 65 additions and 66 deletions

View File

@@ -81,7 +81,7 @@ public class TransportationName implements
Tables.OsmHighwayLinestring.Handler,
Tables.OsmAerialwayLinestring.Handler,
Tables.OsmShipwayLinestring.Handler,
OpenMapTilesProfile.FeaturePostProcessor,
ForwardingProfile.LayerPostProcesser,
OpenMapTilesProfile.IgnoreWikidata,
ForwardingProfile.OsmNodePreprocessor,
ForwardingProfile.OsmWayPreprocessor {
@@ -357,8 +357,8 @@ public class TransportationName implements
if (limitMerge) {
// remove temp keys that were just used to improve line merging
for (var feature : result) {
feature.attrs().remove(LINK_TEMP_KEY);
feature.attrs().remove(RELATION_ID_TEMP_KEY);
feature.tags().remove(LINK_TEMP_KEY);
feature.tags().remove(RELATION_ID_TEMP_KEY);
}
}
return result;