cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r292639 - /cocoon/blocks/jcr/trunk/java/org/apache/cocoon/jcr/source/JCRNodeSource.java
Date Fri, 30 Sep 2005 05:59:27 GMT
Author: antonio
Date: Thu Sep 29 22:59:24 2005
New Revision: 292639

URL: http://svn.apache.org/viewcvs?rev=292639&view=rev
Log:
Fix java 1.3 compatibility.

Modified:
    cocoon/blocks/jcr/trunk/java/org/apache/cocoon/jcr/source/JCRNodeSource.java

Modified: cocoon/blocks/jcr/trunk/java/org/apache/cocoon/jcr/source/JCRNodeSource.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/jcr/trunk/java/org/apache/cocoon/jcr/source/JCRNodeSource.java?rev=292639&r1=292638&r2=292639&view=diff
==============================================================================
--- cocoon/blocks/jcr/trunk/java/org/apache/cocoon/jcr/source/JCRNodeSource.java (original)
+++ cocoon/blocks/jcr/trunk/java/org/apache/cocoon/jcr/source/JCRNodeSource.java Thu Sep 29
22:59:24 2005
@@ -302,7 +302,7 @@
         }
         try {
             Property prop = this.factory.getLastModifiedDateProperty(this.node);
-            return prop == null ? 0 : prop.getDate().getTimeInMillis();
+            return prop == null ? 0 : prop.getDate().getTime().getTime();
         } catch (RepositoryException re) {
             return 0;
         }



Mime
View raw message