geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1156975 - /geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/FileUtils.java
Date Fri, 12 Aug 2011 06:11:20 GMT
Author: xuhaihong
Date: Fri Aug 12 06:11:20 2011
New Revision: 1156975

URL: http://svn.apache.org/viewvc?rev=1156975&view=rev
Log:
Use the suggested way from David Jencks, use seconds for determination condition

Modified:
    geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/FileUtils.java

Modified: geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/FileUtils.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/FileUtils.java?rev=1156975&r1=1156974&r2=1156975&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/FileUtils.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/FileUtils.java
Fri Aug 12 06:11:20 2011
@@ -54,7 +54,7 @@ public class FileUtils {
 
     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";
 



Mime
View raw message