Skip to content

Commit

Permalink
#69 remove redundant if
Browse files Browse the repository at this point in the history
  • Loading branch information
bsorrentino committed Sep 7, 2017
1 parent 0a8885a commit 4cefcc3
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ private static void printCommand( final org.codehaus.plexus.compiler.Compiler j
out.println();

}


private AnnotationProcessorCompiler( Toolchain toolchain,
CompilerManager plexusCompiler,
Expand Down Expand Up @@ -339,12 +339,9 @@ else if( "-d".equals(option) ) {
else if( "-s".equals(option) ) {
javacConf.setGeneratedSourcesDirectory( new java.io.File(ii.next()));
}
else if( option.startsWith("-A") ) {
javacConf.addCompilerCustomArgument(option, "");
}
else {
else /*if( option.startsWith("-A") ) */ { // view pull #70
// Just pass through any other arguments
javacConf.addCompilerCustomArgument(option, "");
javacConf.addCompilerCustomArgument(option, "");
}
}
final java.util.Properties props = project.getProperties();
Expand Down

0 comments on commit 4cefcc3

Please sign in to comment.