Update DataExtractionOSM/src/net/osmand/data/Multipolygon.java
Fix null pointer
This commit is contained in:
parent
0ea333691e
commit
437504e30a
1 changed files with 3 additions and 0 deletions
|
@ -178,6 +178,9 @@ public class Multipolygon {
|
|||
}
|
||||
|
||||
private Collection<Way> findInnersFor(Way outer, List<Way> inners) {
|
||||
if(inners == null) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
List<Way> result = new ArrayList<Way>(inners.size());
|
||||
for (Way in : inners) {
|
||||
boolean inIsIn = true;
|
||||
|
|
Loading…
Reference in a new issue