You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2010/08/05 11:46:33 UTC

svn commit: r982523 - /maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java

Author: ltheussl
Date: Thu Aug  5 09:46:33 2010
New Revision: 982523

URL: http://svn.apache.org/viewvc?rev=982523&view=rev
Log:
checkstyle issues, no code change

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

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=982523&r1=982522&r2=982523&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 Thu Aug  5 09:46:33 2010
@@ -526,12 +526,12 @@ public class LinkcheckReport
     }
 
     /**
-     * Invoke Maven for the <code>site</code> phase for a temporary Maven project using <code>tmpReportingOutputDirectory</code>
-     * as <code>${project.reporting.outputDirectory}</code>. This is a workaround to be sure that all site files have been
-     * correctly generated.
+     * Invoke Maven for the <code>site</code> phase for a temporary Maven project using
+     * <code>tmpReportingOutputDirectory</code> as <code>${project.reporting.outputDirectory}</code>.
+     * This is a workaround to be sure that all site files have been correctly generated.
      * <br/>
-     * <b>Note 1</b>: the Maven Home should be defined in the <code>maven.home</code> Java system property or defined in
-     * <code>M2_HOME</code> system env variables.
+     * <b>Note 1</b>: the Maven Home should be defined in the <code>maven.home</code> Java system property
+     * or defined in <code>M2_HOME</code> system env variables.
      * <b>Note 2</be>: we can't use <code>siteOutputDirectory</code> param from site plugin because some plugins
      * <code>${project.reporting.outputDirectory}</code> in there conf.
      *
@@ -629,14 +629,14 @@ public class LinkcheckReport
             request.setJavaHome( javaHome );
         }
 
-        InvocationResult result;
+        InvocationResult invocationResult;
         try
         {
             if ( getLog().isDebugEnabled() )
             {
                 getLog().debug( "Invoking Maven for the goals: " + goals + " with properties=" + properties );
             }
-            result = invoke( invoker, request, invokerLog, goals, properties, null );
+            invocationResult = invoke( invoker, request, invokerLog, goals, properties, null );
         }
         catch ( MavenInvocationException e )
         {
@@ -684,7 +684,7 @@ public class LinkcheckReport
 
             try
             {
-                result = invoke( invoker, request, invokerLog, goals, properties, "" );
+                invocationResult = invoke( invoker, request, invokerLog, goals, properties, "" );
             }
             catch ( MavenInvocationException e )
             {
@@ -697,7 +697,7 @@ public class LinkcheckReport
             }
         }
 
-        if ( result.getExitCode() != 0 )
+        if ( invocationResult.getExitCode() != 0 )
         {
             if ( getLog().isErrorEnabled() )
             {
@@ -1311,7 +1311,7 @@ public class LinkcheckReport
                         String absolutePath = FilenameUtils.getFullPath( linkcheckFile.getRelativePath() )
                             + linkcheckFileResult.getTarget();
                         String normalizedPath = FilenameUtils.normalize( absolutePath );
-                        if( normalizedPath == null )
+                        if ( normalizedPath == null )
                         {
                             normalizedPath = absolutePath;
                         }