Skip to content

Commit 54826e8

Browse files
acampbeldavsclaus
authored andcommitted
CAMEL-10568 Fix integer overflow bug
1 parent 4994bcb commit 54826e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/strategy/SftpChangedExclusiveReadLockStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public boolean acquireExclusiveReadLock(GenericFileOperations<ChannelSftp.LsEntr
9090
match = f.getFilename().equals(file.getFileNameOnly());
9191
}
9292
if (match) {
93-
newLastModified = f.getAttrs().getMTime() * 1000;
93+
newLastModified = f.getAttrs().getMTime() * 1000L;
9494
newLength = f.getAttrs().getSize();
9595
}
9696
}

0 commit comments

Comments
 (0)