|
|
|
|
|
|
|
|
if (fileLastModified.getEpochSecond() != cacheLastModified |
|
|
if (fileLastModified.getEpochSecond() != cacheLastModified |
|
|
.getEpochSecond()) { |
|
|
.getEpochSecond()) { |
|
|
return MetadataDiff.DIFFER_BY_TIMESTAMP; |
|
|
return MetadataDiff.DIFFER_BY_TIMESTAMP; |
|
|
|
|
|
} else if (entry.isSmudged()) { |
|
|
|
|
|
return MetadataDiff.SMUDGED; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
if (!fileLastModified.equals(cacheLastModified)) { |
|
|
|
|
|
|
|
|
} else if (!fileLastModified.equals(cacheLastModified)) { |
|
|
return MetadataDiff.DIFFER_BY_TIMESTAMP; |
|
|
return MetadataDiff.DIFFER_BY_TIMESTAMP; |
|
|
} else if (entry.isSmudged()) { |
|
|
} else if (entry.isSmudged()) { |
|
|
return MetadataDiff.SMUDGED; |
|
|
return MetadataDiff.SMUDGED; |