Bug 1046709 - Post: remove dead code r=nalexander,rnewman
MozReview-Commit-ID: K75KTg6pDEV
--- a/mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/android/AndroidBrowserRepositorySession.java
+++ b/mobile/android/services/src/main/java/org/mozilla/gecko/sync/repositories/android/AndroidBrowserRepositorySession.java
@@ -463,20 +463,16 @@ public abstract class AndroidBrowserRepo
trace("Both local and remote records have been modified.");
if (record.lastModified > existingRecord.lastModified) {
trace("Remote is newer, and deleted. Deleting local.");
storeRecordDeletion(record, existingRecord);
return;
}
trace("Remote is older, local is not deleted. Ignoring.");
- if (!locallyModified) {
- Logger.warn(LOG_TAG, "Inconsistency: old remote record is deleted, but local record not modified!");
- // Ensure that this is tracked for upload.
- }
return;
}
// End deletion logic.
// Now we're processing a non-deleted incoming record.
// Apply any changes we need in order to correctly find existing records.
fixupRecord(record);