You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by st...@locus.apache.org on 2000/09/07 01:21:13 UTC
cvs commit: xml-cocoon/src/org/apache/cocoon/generation DirectoryGenerator.java
stefano 00/09/06 16:21:12
Modified: src/org/apache/cocoon/generation Tag: xml-cocoon2
DirectoryGenerator.java
Log:
removed multiple occurrance of the same attribute
Revision Changes Path
No revision
No revision
1.1.2.9 +1 -4 xml-cocoon/src/org/apache/cocoon/generation/Attic/DirectoryGenerator.java
Index: DirectoryGenerator.java
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/generation/Attic/DirectoryGenerator.java,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -u -r1.1.2.8 -r1.1.2.9
--- DirectoryGenerator.java 2000/09/02 21:12:36 1.1.2.8
+++ DirectoryGenerator.java 2000/09/06 23:21:11 1.1.2.9
@@ -55,7 +55,7 @@
*
* @author <a href="mailto:fumagalli@exoffice.com">Pierpaolo Fumagalli</a>
* (Apache Software Foundation, Exoffice Technologies)
- * @version CVS $Revision: 1.1.2.8 $ $Date: 2000/09/02 21:12:36 $ */
+ * @version CVS $Revision: 1.1.2.9 $ $Date: 2000/09/06 23:21:11 $ */
public class DirectoryGenerator extends ComposerGenerator {
@@ -216,9 +216,6 @@
attributes.addAttribute("", LASTMOD_ATTR_NAME,
LASTMOD_ATTR_NAME, "CDATA",
Long.toString(path.lastModified()));
- attributes.addAttribute("", LASTMOD_ATTR_NAME,
- LASTMOD_ATTR_NAME, "CDATA",
- Long.toString(lastModified));
attributes.addAttribute("", DATE_ATTR_NAME,
DATE_ATTR_NAME, "CDATA",
dateFormatter.format(new Date(lastModified)));