// file not found --> skip, this is not the task of this method
// file node is a folder --> cannot compare the modification
continue;
}
FileIndex fileNode = (FileIndex) index;
// has been modified --> check if profile has same md5 as 'before'. If not, there are three
// different versions. Thus, the profile wins.
if (H2HEncryptionUtil.compareMD5(fileNode.getMD5(), before.get(path))
&& !H2HEncryptionUtil.compareMD5(fileNode.getMD5(), now.get(path))) {
logger.debug("File '{}' has been updated locally during absence.", path);
updatedLocally.add(FileUtil.getPath(root, fileNode));
}
}