Fix some lint issues

Signed-off-by: Taylor Smock <tsmock@fb.com>
pull/1/head
Taylor Smock 2021-12-02 13:52:32 -07:00
rodzic e3f21db410
commit eb143d0afc
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 625F6A74A3E4311A
3 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -321,7 +321,7 @@ public class GetDataRunnable extends RecursiveTask<DataSet> {
public static void replaceTags(DataSet dataSet, Map<Tag, Tag> replaceTags) {
replaceTags.forEach((orig, replace) -> dataSet.allNonDeletedPrimitives().parallelStream()
.filter(prim -> prim.hasTag(orig.getKey(), orig.getValue())
|| prim.hasKey(orig.getKey()) && Utils.isBlank(orig.getValue()))
|| (prim.hasKey(orig.getKey()) && Utils.isBlank(orig.getValue())))
.forEach(prim -> prim.put(replace)));
}

Wyświetl plik

@ -40,7 +40,8 @@ public class MapWithAIInfo extends
private Map<String, String> replacementTags;
private boolean conflate;
private String conflationUrl;
public static BooleanProperty THIRD_PARTY_CONFLATE = new BooleanProperty("mapwithai.third_party.conflate", true);
public static final BooleanProperty THIRD_PARTY_CONFLATE = new BooleanProperty("mapwithai.third_party.conflate",
true);
/**
* The preferred source string for the source. This is added as a source tag on

Wyświetl plik

@ -197,7 +197,7 @@ public class ESRISourceReader {
newInfo.setSource(sourceTag.toString());
}
newInfo.setTermsOfUseURL("https://wiki.openstreetmap.org/wiki/Esri/ArcGIS_Datasets#License");
return (newInfo);
return newInfo;
}
/**