// Get intersection of srcFiles and destFiles
Set intersection=new HashSet(srcFiles);
Set temp=new HashSet(destFiles);
intersection.retainAll(temp);
Set filesOnlyInSrc=new HashSet(srcFiles);
filesOnlyInSrc.removeAll(intersection);
Set filesOnlyInDest=new HashSet(destFiles);
filesOnlyInDest.removeAll(intersection);
Iterator it;
it = filesOnlyInSrc.iterator();
while (it.hasNext()) {
// Get element
String element = (String)it.next();
results.add(new ResultInfo("A",srcFolder+File.separator+ element, "", "Only find in src"));
}
