Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 5a26e38

Browse files
authored
Merge pull request #73 from paxtonhare/fix_timestamp_compare
fixing #72
2 parents 044cd07 + 882420f commit 5a26e38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/marklogic/client/ext/modulesloader/impl/PropertiesModuleManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public void deletePropertiesFile() {
5959
}
6060

6161
public boolean hasFileBeenModifiedSinceLastLoaded(File file) {
62-
if (minimumFileTimestampToLoad > 0 && file.lastModified() < minimumFileTimestampToLoad) {
62+
if (minimumFileTimestampToLoad > 0 && file.lastModified() <= minimumFileTimestampToLoad) {
6363
if (logger.isDebugEnabled()) {
6464
logger.debug(String.format("lastModified for file '%s' is %d, which is before the minimumFileTimestampToLoad of %d",
6565
file.getAbsolutePath(), file.lastModified(), minimumFileTimestampToLoad));

0 commit comments

Comments
 (0)