maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r741402 - /maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoAggregateSink.java
Date Fri, 06 Feb 2009 04:39:02 GMT
Author: vsiveton
Date: Fri Feb  6 04:39:02 2009
New Revision: 741402

URL: http://svn.apache.org/viewvc?rev=741402&view=rev
Log:
o fixed year

Modified:
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoAggregateSink.java

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoAggregateSink.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoAggregateSink.java?rev=741402&r1=741401&r2=741402&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoAggregateSink.java
(original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoAggregateSink.java
Fri Feb  6 04:39:02 2009
@@ -21,6 +21,7 @@
 
 import java.io.Writer;
 
+import java.util.Calendar;
 import java.util.Iterator;
 
 import javax.swing.text.html.HTML.Tag;
@@ -516,7 +517,8 @@
     protected String getFooterText()
     {
         // TODO: year and company have to come from DocumentMeta
-        return "©2007 The Apache Software Foundation • ALL RIGHTS RESERVED";
+        int actualYear = Calendar.getInstance().get( Calendar.YEAR );
+        return "©" + actualYear + " The Apache Software Foundation • ALL
RIGHTS RESERVED";
     }
 
     /**



Mime
View raw message