continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r494057 - /maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/view/jsp/ui/DateTag.java
Date Mon, 08 Jan 2007 13:17:54 GMT
Author: evenisse
Date: Mon Jan  8 05:17:53 2007
New Revision: 494057

URL: http://svn.apache.org/viewvc?view=rev&rev=494057
Log:
[CONTINUUM-1080] Don't print end time when the build isn't finished.

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/view/jsp/ui/DateTag.java

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/view/jsp/ui/DateTag.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/view/jsp/ui/DateTag.java?view=diff&rev=494057&r1=494056&r2=494057
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/view/jsp/ui/DateTag.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/view/jsp/ui/DateTag.java
Mon Jan  8 05:17:53 2007
@@ -85,6 +85,7 @@
         OgnlValueStack stack = getStack();
         //find the name on the valueStack, and cast it to a date
         Object dateObj = stack.findValue( actualName );
+
         if ( dateObj != null )
         {
             if ( dateObj instanceof Date )
@@ -103,7 +104,7 @@
             }
         }
 
-        if ( date != null )
+        if ( date != null && date.getTime() > 0 )
         {
             tp = findProviderInStack();
 



Mime
View raw message