File.lastModifiedTime is erratic on Linux. Disabling test

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2168 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2006-01-20 18:13:26 +00:00
parent e6f160ca9f
commit ec7fb0067e
2 changed files with 10 additions and 9 deletions

View File

@@ -134,8 +134,6 @@ public class FileContentWriter extends AbstractContentWriter implements RandomAc
// create the channel
RandomAccessFile randomAccessFile = new RandomAccessFile(file, "rw"); // will create it
FileChannel channel = randomAccessFile.getChannel();
// due to Linux dodgey behaviour, we have to set the modified date of the file ourselves
file.setLastModified(System.currentTimeMillis());
// done
if (logger.isDebugEnabled())
{