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 2014/07/05 09:14:55 UTC

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

Author: hboutemy
Date: Sat Jul  5 07:14:55 2014
New Revision: 1607982

URL: http://svn.apache.org/r1607982
Log:
code formatting

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

Modified: maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java?rev=1607982&r1=1607981&r2=1607982&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java Sat Jul  5 07:14:55 2014
@@ -81,49 +81,49 @@ public abstract class AbstractCompilerMo
      *
      * @since 2.0.2
      */
-    @Parameter(property = "maven.compiler.failOnError", defaultValue = "true")
+    @Parameter( property = "maven.compiler.failOnError", defaultValue = "true" )
     private boolean failOnError = true;
 
     /**
      * Set to <code>true</code> to include debugging information in the compiled class files.
      */
-    @Parameter(property = "maven.compiler.debug", defaultValue = "true")
+    @Parameter( property = "maven.compiler.debug", defaultValue = "true" )
     private boolean debug = true;
 
     /**
      * Set to <code>true</code> to show messages about what the compiler is doing.
      */
-    @Parameter(property = "maven.compiler.verbose", defaultValue = "false")
+    @Parameter( property = "maven.compiler.verbose", defaultValue = "false" )
     private boolean verbose;
 
     /**
      * Sets whether to show source locations where deprecated APIs are used.
      */
-    @Parameter(property = "maven.compiler.showDeprecation", defaultValue = "false")
+    @Parameter( property = "maven.compiler.showDeprecation", defaultValue = "false" )
     private boolean showDeprecation;
 
     /**
      * Set to <code>true</code> to optimize the compiled code using the compiler's optimization methods.
      */
-    @Parameter(property = "maven.compiler.optimize", defaultValue = "false")
+    @Parameter( property = "maven.compiler.optimize", defaultValue = "false" )
     private boolean optimize;
 
     /**
      * Set to <code>true</code> to show compilation warnings.
      */
-    @Parameter(property = "maven.compiler.showWarnings", defaultValue = "false")
+    @Parameter( property = "maven.compiler.showWarnings", defaultValue = "false" )
     private boolean showWarnings;
 
     /**
      * The -source argument for the Java compiler.
      */
-    @Parameter(property = "maven.compiler.source", defaultValue = "1.5")
+    @Parameter( property = "maven.compiler.source", defaultValue = "1.5" )
     protected String source;
 
     /**
      * The -target argument for the Java compiler.
      */
-    @Parameter(property = "maven.compiler.target", defaultValue = "1.5")
+    @Parameter( property = "maven.compiler.target", defaultValue = "1.5" )
     protected String target;
 
     /**
@@ -131,34 +131,34 @@ public abstract class AbstractCompilerMo
      *
      * @since 2.1
      */
-    @Parameter(property = "encoding", defaultValue = "${project.build.sourceEncoding}")
+    @Parameter( property = "encoding", defaultValue = "${project.build.sourceEncoding}" )
     private String encoding;
 
     /**
      * Sets the granularity in milliseconds of the last modification
      * date for testing whether a source needs recompilation.
      */
-    @Parameter(property = "lastModGranularityMs", defaultValue = "0")
+    @Parameter( property = "lastModGranularityMs", defaultValue = "0" )
     private int staleMillis;
 
     /**
      * The compiler id of the compiler to use. See this
      * <a href="non-javac-compilers.html">guide</a> for more information.
      */
-    @Parameter(property = "maven.compiler.compilerId", defaultValue = "javac")
+    @Parameter( property = "maven.compiler.compilerId", defaultValue = "javac" )
     private String compilerId;
 
     /**
      * Version of the compiler to use, ex. "1.3", "1.5", if {@link #fork} is set to <code>true</code>.
      */
-    @Parameter(property = "maven.compiler.compilerVersion")
+    @Parameter( property = "maven.compiler.compilerVersion" )
     private String compilerVersion;
 
     /**
      * Allows running the compiler in a separate process.
      * If <code>false</code> it uses the built in compiler, while if <code>true</code> it will use an executable.
      */
-    @Parameter(property = "maven.compiler.fork", defaultValue = "false")
+    @Parameter( property = "maven.compiler.fork", defaultValue = "false" )
     private boolean fork;
 
     /**
@@ -167,7 +167,7 @@ public abstract class AbstractCompilerMo
      *
      * @since 2.0.1
      */
-    @Parameter(property = "maven.compiler.meminitial")
+    @Parameter( property = "maven.compiler.meminitial" )
     private String meminitial;
 
     /**
@@ -176,13 +176,13 @@ public abstract class AbstractCompilerMo
      *
      * @since 2.0.1
      */
-    @Parameter(property = "maven.compiler.maxmem")
+    @Parameter( property = "maven.compiler.maxmem" )
     private String maxmem;
 
     /**
      * Sets the executable of the compiler to use when {@link #fork} is <code>true</code>.
      */
-    @Parameter(property = "maven.compiler.executable")
+    @Parameter( property = "maven.compiler.executable" )
     private String executable;
 
     /**
@@ -286,7 +286,7 @@ public abstract class AbstractCompilerMo
      *
      * @since 2.1
      */
-    @Parameter(property = "maven.compiler.debuglevel")
+    @Parameter( property = "maven.compiler.debuglevel" )
     private String debuglevel;
 
     /**
@@ -302,13 +302,13 @@ public abstract class AbstractCompilerMo
     /**
      * The directory to run the compiler from if fork is true.
      */
-    @Parameter(defaultValue = "${basedir}", required = true, readonly = true)
+    @Parameter( defaultValue = "${basedir}", required = true, readonly = true )
     private File basedir;
 
     /**
      * The target directory of the compiler if fork is true.
      */
-    @Parameter(defaultValue = "${project.build.directory}", required = true, readonly = true)
+    @Parameter( defaultValue = "${project.build.directory}", required = true, readonly = true )
     private File buildDirectory;
 
     /**
@@ -335,13 +335,13 @@ public abstract class AbstractCompilerMo
      *
      * @since 2.5
      */
-    @Parameter(defaultValue = "${reuseCreated}", property = "maven.compiler.compilerReuseStrategy")
+    @Parameter( defaultValue = "${reuseCreated}", property = "maven.compiler.compilerReuseStrategy" )
     private String compilerReuseStrategy = "reuseCreated";
 
     /**
      * @since 2.5
      */
-    @Parameter(defaultValue = "false", property = "maven.compiler.skipMultiThreadWarning")
+    @Parameter( defaultValue = "false", property = "maven.compiler.skipMultiThreadWarning" )
     private boolean skipMultiThreadWarning;
 
     /**
@@ -350,13 +350,13 @@ public abstract class AbstractCompilerMo
      *
      * @since 3.0
      */
-    @Parameter(defaultValue = "false", property = "maven.compiler.forceJavacCompilerUse")
+    @Parameter( defaultValue = "false", property = "maven.compiler.forceJavacCompilerUse" )
     private boolean forceJavacCompilerUse;
 
     /**
      * @since 3.0 needed for storing the status for the incremental build support.
      */
-    @Parameter(property = "mojoExecution")
+    @Parameter( property = "mojoExecution" )
     private MojoExecution mojoExecution;
 
     /**
@@ -380,7 +380,7 @@ public abstract class AbstractCompilerMo
      * to enable/disable incrementation compilation feature
      * @since 3.1
      */
-    @Parameter(defaultValue = "true", property = "maven.compiler.useIncrementalCompilation")
+    @Parameter( defaultValue = "true", property = "maven.compiler.useIncrementalCompilation" )
     private boolean useIncrementalCompilation = true;
 
     protected abstract SourceInclusionScanner getSourceInclusionScanner( int staleMillis );