existingNodes = action.execute();
}
private void mergeNodes() {
for (MongoNode existingNode : existingNodes) {
for (MongoNode committingNode : nodes) {
<BUG>if (existingNode.getPath().equals(committingNode.getPath())) {
logger.debug(String.format("Found existing node to merge: %s", existingNode.getPath()));

logger.debug(String.format("Existing node: %s", existingNode));

logger.debug(String.format("Committing node: %s", committingNode));

Map<String, Object> existingProperties = existingNode.getProperties();</BUG>
if (!existingProperties.isEmpty()) {

existingNodes = action.execute();
}
private void mergeNodes() {
for (MongoNode existingNode : existingNodes) {
for (MongoNode committingNode : nodes) {
if (existingNode.getPath().equals(committingNode.getPath())) {
if(logger.isDebugEnabled()){
logger.debug("Found existing node to merge: {}", existingNode.getPath());
logger.debug("Existing node: {}", existingNode);
logger.debug("Committing node: {}", committingNode);
}
Map<String, Object> existingProperties = existingNode.getProperties();
if (!existingProperties.isEmpty()) {
