We have already read the feature, there is no point in unmarshalling
it yet again.
Change-Id: Id34dc83165b0479e12abdb915ec8dc42cfa9853a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Features feature = readFeature(coord);
result.add(feature);
LOG.debug("findAllFeaturesRecursively() added {}", coord);
- result.addAll(findAllFeaturesRecursively(readFeature(coord), existingCoords));
+ result.addAll(findAllFeaturesRecursively(feature, existingCoords));
} else {
LOG.trace("findAllFeaturesRecursively() skips known {}", coord);
}