1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 14:15:23 +02:00

Fix 142063 last modified time on sftp

This commit is contained in:
Martin Oberhuber 2006-05-17 13:33:18 +00:00
parent b14a1bc61d
commit 1fe776710f

View file

@ -134,7 +134,7 @@ public class SftpFileService extends AbstractFileService implements IFileService
}
private SftpHostFile makeHostFile(String parentPath, String fileName, SftpATTRS attrs) {
SftpHostFile node = new SftpHostFile(parentPath, fileName, attrs.isDir(), false, attrs.isLink(), attrs.getMTime(), attrs.getSize());
SftpHostFile node = new SftpHostFile(parentPath, fileName, attrs.isDir(), false, attrs.isLink(), 1000L * attrs.getMTime(), attrs.getSize());
if (attrs.getExtended()!=null) {
node.setExtendedData(attrs.getExtended());
}