kopia lustrzana https://github.com/JOSM/MapWithAI
Fix sonarlint issue
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>pull/1/head
rodzic
75565272fa
commit
cc953c799e
|
@ -189,10 +189,8 @@ public final class MapWithAIDataUtils {
|
|||
.stream().filter(obj -> !MapWithAILayer.class.isInstance(obj)).collect(Collectors.toList());
|
||||
boolean gotData = false;
|
||||
for (final OsmDataLayer osmLayer : osmLayers) {
|
||||
if (!osmLayer.isLocked()) {
|
||||
if (getMapWithAIData(layer, osmLayer)) {
|
||||
gotData = true;
|
||||
}
|
||||
if (!osmLayer.isLocked() && getMapWithAIData(layer, osmLayer)) {
|
||||
gotData = true;
|
||||
}
|
||||
}
|
||||
return gotData;
|
||||
|
|
Ładowanie…
Reference in New Issue