You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2010/08/01 21:54:04 UTC

svn commit: r981292 - in /maven/plugins/trunk/maven-linkcheck-plugin/src/main: java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java resources/linkcheck-report.properties

Author: dennisl
Date: Sun Aug  1 19:54:03 2010
New Revision: 981292

URL: http://svn.apache.org/viewvc?rev=981292&view=rev
Log:
o Add the offline parameter to the summary

Modified:
    maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java
    maven/plugins/trunk/maven-linkcheck-plugin/src/main/resources/linkcheck-report.properties

Modified: maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java?rev=981292&r1=981291&r2=981292&view=diff
==============================================================================
--- maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java (original)
+++ maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java Sun Aug  1 19:54:03 2010
@@ -1079,6 +1079,16 @@ public class LinkcheckReport
         getSink().tableRow();
         getSink().tableCell();
         getSink().rawText(
+                           i18n.getString( "linkcheck-report", locale, "report.linkcheck.table.summary.offline" ) );
+        getSink().tableCell_();
+        getSink().tableCell();
+        getSink().text( String.valueOf( offline ) );
+        getSink().tableCell_();
+        getSink().tableRow_();
+
+        getSink().tableRow();
+        getSink().tableCell();
+        getSink().rawText(
                            i18n.getString( "linkcheck-report", locale,
                                            "report.linkcheck.table.summary.excludedPages" ) );
         getSink().tableCell_();

Modified: maven/plugins/trunk/maven-linkcheck-plugin/src/main/resources/linkcheck-report.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-linkcheck-plugin/src/main/resources/linkcheck-report.properties?rev=981292&r1=981291&r2=981292&view=diff
==============================================================================
--- maven/plugins/trunk/maven-linkcheck-plugin/src/main/resources/linkcheck-report.properties (original)
+++ maven/plugins/trunk/maven-linkcheck-plugin/src/main/resources/linkcheck-report.properties Sun Aug  1 19:54:03 2010
@@ -32,6 +32,7 @@ report.linkcheck.table.summary.excludedL
 report.linkcheck.table.summary.excludedHttpStatusErrors=HTTP errors ignored
 report.linkcheck.table.summary.excludedHttpStatusWarnings=HTTP warning ignored
 report.linkcheck.table.summary.none=None
+report.linkcheck.table.summary.offline=Offline
 report.linkcheck.table.summary.documents=Number Of Documents Analyzed
 report.linkcheck.table.links=Links
 report.linkcheck.table.totalLinks=Total