boolean found = false;
for (File oldFile : oldFiles) {
if (newFile.getName().equals(oldFile.getName())) {
AbstractDiffResult result = createDiffResult(parent,
oldFile, newFile, Util.getFileEncoding(newFile),
DiffStatus.MODIFIED);
if (result != null) {
parent.addChild(result);
}
found = true;
break;
}
}
// �Â��\�[�X�c���[�Ɍ�����Ȃ������ꍇ�͒lj�
if (found == false) {
AbstractDiffResult result = createDiffResult(parent, null,
newFile, Util.getFileEncoding(newFile), DiffStatus.ADDED);
parent.addChild(result);
}
// �f�B���N�g���̏ꍇ�͍ċA�I�ɏ���