From 3acba29198c7e82490944dd3b0d3e84518e79bc2 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 26 Jul 2024 21:49:32 +0200 Subject: [PATCH] Remove legacy code --- src/Logic/Osm/OsmObject.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Logic/Osm/OsmObject.ts b/src/Logic/Osm/OsmObject.ts index 8ec4e692d..9b147c1c3 100644 --- a/src/Logic/Osm/OsmObject.ts +++ b/src/Logic/Osm/OsmObject.ts @@ -82,9 +82,6 @@ export abstract class OsmObject { * */ protected static isPolygon(tags: any): boolean { for (const tagsKey in tags) { - if (!tags.hasOwnProperty(tagsKey)) { - continue - } const polyGuide: { values: Set; blacklist: boolean } = OsmObject.polygonFeatures.get(tagsKey) if (polyGuide === undefined) {