Skip to content

Commit 526014f

Browse files
authored
Update PlanetSearchProfile.java
1 parent 478baae commit 526014f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/il/org/osm/israelhiking/PlanetSearchProfile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ private void processExternalFeautre(SourceFeature feature, FeatureCollector feat
195195
.setAttr("identifier", feature.getString("identifier"))
196196
.setId(feature.id());
197197
var languages = feature.hasTag("poiLanguages") ? (ArrayList<String>)feature.getTag("poiLanguages") : new ArrayList<String>();
198-
setFeaturePropertiesFromPointDocument(tileFeature, pointDocument, languages.toArray());
198+
setFeaturePropertiesFromPointDocument(tileFeature, pointDocument, languages.toArray(String[]::new));
199199
}
200200

201201
private void processOsmRelationFeature(SourceFeature feature, FeatureCollector features) throws GeometryException {

0 commit comments

Comments
 (0)