| commit | 2ebb783f0e2e8172550b5e4108c060154daf1b0c | [log] [tgz] |
|---|---|---|
| author | Haihong Xu <xuhaihong@apache.org> | Fri Aug 12 06:11:20 2011 +0000 |
| committer | Haihong Xu <xuhaihong@apache.org> | Fri Aug 12 06:11:20 2011 +0000 |
| tree | 23d4cc72a8b4a2efe892280505ff9465cad7a856 | |
| parent | 1546751809052185b31781543c35a0b6475588ca [diff] |
Use the suggested way from David Jencks, use seconds for determination condition git-svn-id: https://svn.apache.org/repos/asf/geronimo/server/trunk@1156975 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/FileUtils.java b/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/FileUtils.java index 06ea424..930d517 100644 --- a/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/FileUtils.java +++ b/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/FileUtils.java
@@ -54,7 +54,7 @@ private static final Logger logger = LoggerFactory.getLogger(FileUtils.class); - public static final long FILE_UTILS_INITIALIZATION_TIME_MILL = System.currentTimeMillis(); + public static final long FILE_UTILS_INITIALIZATION_TIME_MILL = (System.currentTimeMillis()/1000) * 1000; public static final String DEFAULT_TEMP_PREFIX = "geronimo-fileutils";