String event = targetSyncFile.getEvent();
if (event.equals(SyncFile.EVENT_ADD) ||
event.equals(SyncFile.EVENT_GET)) {
if (sourceSyncFile != null) {
updateFile(sourceSyncFile, targetSyncFile, filePathName);
<BUG>processDependentSyncFiles(sourceSyncFile);
return;
}
addFile(targetSyncFile, filePathName);
}</BUG>
else if (event.equals(SyncFile.EVENT_DELETE)) {

String event = targetSyncFile.getEvent();
if (event.equals(SyncFile.EVENT_ADD) ||
event.equals(SyncFile.EVENT_GET)) {
if (sourceSyncFile != null) {
updateFile(sourceSyncFile, targetSyncFile, filePathName);
}
else {
addFile(targetSyncFile, filePathName);
}
}
else if (event.equals(SyncFile.EVENT_DELETE)) {
