You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2005/10/15 15:29:04 UTC
svn commit: r321335 -
/maven/components/trunk/maven-plugins/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java
Author: brett
Date: Sat Oct 15 06:29:00 2005
New Revision: 321335
URL: http://svn.apache.org/viewcvs?rev=321335&view=rev
Log:
PR: MNG-1195
Submitted by: Edwin Punzalan
Fix validation of generated HTML
Modified:
maven/components/trunk/maven-plugins/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java
Modified: maven/components/trunk/maven-plugins/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java?rev=321335&r1=321334&r2=321335&view=diff
==============================================================================
--- maven/components/trunk/maven-plugins/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java (original)
+++ maven/components/trunk/maven-plugins/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReportGenerator.java Sat Oct 15 06:29:00 2005
@@ -186,7 +186,7 @@
sink.tableRow();
sink.tableCell();
- sink.link( "#" + filename );
+ sink.link( "#" + filename.replace( '/', '.' ) );
sink.text( filename );
sink.link_();
sink.tableCell_();
@@ -221,7 +221,7 @@
sink.section1();
sink.sectionTitle1();
- sink.anchor( file );
+ sink.anchor( file.replace( '/', '.' ) );
sink.text( file );
sink.anchor_();
sink.sectionTitle1_();