You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2012/05/10 21:35:49 UTC

svn commit: r1336849 - /maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java

Author: hboutemy
Date: Thu May 10 19:35:49 2012
New Revision: 1336849

URL: http://svn.apache.org/viewvc?rev=1336849&view=rev
Log:
fixed typos

Modified:
    maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java

Modified: maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java?rev=1336849&r1=1336848&r2=1336849&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java Thu May 10 19:35:49 2012
@@ -313,14 +313,14 @@ public abstract class AbstractCompilerMo
     private MavenSession session;
 
     /**
-     * Strategy to re use javacc class created.
+     * Strategy to re use javacc class created:
      * <ul>
-     *   <li>reuseCreated (default): will reuse already created but in case of multi thread builds, each thread will have
-     *   his own instance</li>
-     *   <li>reuseSame: the same Javacc class will be use for each compilation even for multi threaded build</li>
-     *   <li>alwaysNew: a new Javacc class will be created for each compilation</li>
+     *   <li><code>reuseCreated</code> (default): will reuse already created but in case of multi-threaded builds,
+     *   each thread will have its own instance</li>
+     *   <li><code>reuseSame</code>: the same Javacc class will be used for each compilation even for multi-threaded build</li>
+     *   <li><code>alwaysNew</code>: a new Javacc class will be created for each compilation</li>
      * </ul>
-     * Note this parameter value depends on the os/jdk you are using but the default value must work on most of env.
+     * Note this parameter value depends on the os/jdk you are using, but the default value should work on most of env.
      *
      * @parameter default-value="${reuseCreated}" expression="${maven.compiler.compilerReuseStrategy}"
      * @since 2.5
@@ -566,7 +566,7 @@ public abstract class AbstractCompilerMo
             compilerConfiguration.setCompilerReuseStrategy( CompilerConfiguration.CompilerReuseStrategy.ReuseCreated );
         }
 
-        getLog().debug( "CompilerReuseStrategy:" + compilerConfiguration.getCompilerReuseStrategy().getStrategy() );
+        getLog().debug( "CompilerReuseStrategy: " + compilerConfiguration.getCompilerReuseStrategy().getStrategy() );
 
         // TODO: have an option to always compile (without need to clean)
         Set<File> staleSources;
@@ -737,9 +737,9 @@ public abstract class AbstractCompilerMo
     }
 
     /**
-     * try to get thread count if a maven 3 build, using reflection as the plugin must not be maven3 api dependant
+     * try to get thread count if a Maven 3 build, using reflection as the plugin must not be maven3 api dependant
      *
-     * @return number of thread for this build or 1 if not multi thread build
+     * @return number of thread for this build or 1 if not multi-thread build
      */
     protected int getRequestThreadCount()
     {
@@ -753,7 +753,7 @@ public abstract class AbstractCompilerMo
         }
         catch ( Exception e )
         {
-            getLog().debug( "impossible to get threadCount for the current build:" + e.getMessage() );
+            getLog().debug( "unable to get threadCount for the current build: " + e.getMessage() );
         }
         return 1;
     }
@@ -851,7 +851,7 @@ public abstract class AbstractCompilerMo
             catch ( InclusionScanException e )
             {
                 throw new MojoExecutionException(
-                    "Error scanning source root: \'" + sourceRoot + "\' " + "for stale files to recompile.", e );
+                    "Error scanning source root: \'" + sourceRoot + "\' for stale files to recompile.", e );
             }
         }