directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: rev 6822 - incubator/directory/naming/trunk/core/src/java/org/apache/naming/resources
Date Sun, 22 Feb 2004 19:34:29 GMT
Author: psteitz
Date: Sun Feb 22 11:34:28 2004
New Revision: 6822

Modified:
   incubator/directory/naming/trunk/core/src/java/org/apache/naming/resources/WARDirContext.java
Log:
Replaced deprecated method.

Modified: incubator/directory/naming/trunk/core/src/java/org/apache/naming/resources/WARDirContext.java
==============================================================================
--- incubator/directory/naming/trunk/core/src/java/org/apache/naming/resources/WARDirContext.java
(original)
+++ incubator/directory/naming/trunk/core/src/java/org/apache/naming/resources/WARDirContext.java
Sun Feb 22 11:34:28 2004
@@ -448,7 +448,7 @@
         if (!zipEntry.isDirectory())
             attrs.setResourceType("");
         attrs.setContentLength(zipEntry.getSize());
-        attrs.setLastModified(new Date(zipEntry.getTime()));
+        attrs.setLastModifiedDate(new Date(zipEntry.getTime()));
         
         return attrs;
         

Mime
View raw message