Author: hboutemy
Date: Thu May 10 19:27:44 2012
New Revision: 1336841
URL: http://svn.apache.org/viewvc?rev=1336841&view=rev
Log:
removed unnecessary content
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=1336841&r1=1336840&r2=1336841&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:27:44 2012
@@ -353,7 +353,6 @@ public abstract class AbstractCompilerMo
protected abstract File getGeneratedSourcesDirectory();
- @SuppressWarnings( "unchecked" )
public void execute()
throws MojoExecutionException, CompilationFailureException
{
@@ -746,10 +745,10 @@ public abstract class AbstractCompilerMo
{
try
{
- Method getRequestMethod = this.session.getClass().getMethod(
"getRequest", null );
- Object mavenExecutionRequest = getRequestMethod.invoke(
this.session, null );
+ Method getRequestMethod = this.session.getClass().getMethod(
"getRequest" );
+ Object mavenExecutionRequest = getRequestMethod.invoke(
this.session );
Method getThreadCountMethod =
mavenExecutionRequest.getClass().getMethod( "getThreadCount" );
- String threadCount = (String) getThreadCountMethod.invoke(
mavenExecutionRequest, null );
+ String threadCount = (String) getThreadCountMethod.invoke(
mavenExecutionRequest );
return Integer.valueOf( threadCount );
}
catch ( Exception e )
@@ -803,7 +802,6 @@ public abstract class AbstractCompilerMo
return true;
}
- @SuppressWarnings( "unchecked" )
private Set<File> computeStaleSources( CompilerConfiguration
compilerConfiguration, Compiler compiler,
SourceInclusionScanner scanner )
throws MojoExecutionException, CompilerException