Buggy code:
private boolean debug = false ; private boolean optimize = false ; private boolean deprecation = false ; private boolean depend = false ; private boolean verbose = false ; private boolean includeAntRuntime = true ; private boolean includeJavaRuntime = false ; private String fork = "false" ; private String forkedExecutable = null ; private boolean nowarn = false ; private Vector implementationSpecificArgs = new Vector ( ) ; protected boolean failOnError = true ; protected File [ ] compileList = new File [ 0 ] ; private Path bootclasspath ; private Path compileClasspath ; private String debugLevel ; private File destDir ; private String encoding ; private Path extdirs ; private String memoryInitialSize ; private String memoryMaximumSize ; private String source ; private Path src ; private String target ; public void setBootClasspathRef ( Reference r ) throws TaskException { } public void setBootclasspath ( Path bootclasspath ) throws TaskException { } public void setClasspath ( Path classpath ) throws TaskException { } public void setClasspathRef ( Reference r ) throws TaskException { } public void setDebug ( boolean debug ) { } public void setDebugLevel ( String v ) { } public void setDepend ( boolean depend ) { } public void setDeprecation ( boolean deprecation ) { } public void setDestdir ( File destDir ) { } public void setEncoding ( String encoding ) { } public void setExtdirs ( Path extdirs ) throws TaskException { } public void setFailonerror ( boolean fail ) { } public void setFork ( String f ) { } public void setIncludeantruntime ( boolean include ) { } public void setIncludejavaruntime ( boolean include ) { } public void setMemoryInitialSize ( String memoryInitialSize ) { } public void setMemoryMaximumSize ( String memoryMaximumSize ) { } public void setNowarn ( boolean flag ) { } public void setOptimize ( boolean optimize ) { } public void setProceed ( boolean proceed ) { } public void setSource ( String v ) { } public void setSrcdir ( Path srcDir ) throws TaskException { } public void setTarget ( String target ) { } public void setVerbose ( boolean verbose ) { } public Path getBootclasspath ( ) { } public Path getClasspath ( ) { } public String [ ] getCurrentCompilerArgs ( ) { } public boolean getDebug ( ) { } public String getDebugLevel ( ) { } public boolean getDepend ( ) { } public boolean getDeprecation ( ) { } public File getDestdir ( ) { } public String getEncoding ( ) { } public Path getExtdirs ( ) { } public boolean getFailonerror ( ) { } public File [ ] getFileList ( ) { } public boolean getIncludeantruntime ( ) { } public boolean getIncludejavaruntime ( ) { } public String getJavacExecutable ( ) { } public String getMemoryInitialSize ( ) { } public String getMemoryMaximumSize ( ) { } public boolean getNowarn ( ) { } public boolean getOptimize ( ) { } public String getSource ( ) { } public Path getSrcdir ( ) { } public String getTarget ( ) { } public boolean getVerbose ( ) { } public boolean isForkedJavac ( ) { } public Path createBootclasspath ( ) throws TaskException { } public Path createClasspath ( ) throws TaskException { } public Javac . ImplementationSpecificArgument createCompilerArg ( ) { } public Path createExtdirs ( ) throws TaskException { } public Path createSrc ( ) throws TaskException { } public void execute ( ) throws TaskException { if ( ( src ) == null ) { throw new TaskException ( "srcdir<seq2seq4repair_space>attribute<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>set!" ) ; } String [ ] list = src . list ( ) ; if ( ( list . length ) == 0 ) { throw new TaskException ( "srcdir<seq2seq4repair_space>attribute<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>set!" ) ; } if ( ( ( destDir ) != null ) && ( ! ( destDir . isDirectory ( ) ) ) ) { throw new TaskException ( ( ( "destination<seq2seq4repair_space>directory<seq2seq4repair_space>\"" + ( destDir ) ) + "\"<seq2seq4repair_space>does<seq2seq4repair_space>not<seq2seq4repair_space>exist<seq2seq4repair_space>or<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>a<seq2seq4repair_space>directory" ) ) ; } resetFileLists ( ) ; for ( int i = 0 ; i < ( list . length ) ; i ++ ) { File srcDir = ( ( File ) ( resolveFile ( list [ i ] ) ) ) ; if ( ! ( srcDir . exists ( ) ) ) { throw new TaskException ( ( ( "srcdir<seq2seq4repair_space>\"" + ( srcDir . getPath ( ) ) ) + "\"<seq2seq4repair_space>does<seq2seq4repair_space>not<seq2seq4repair_space>exist!" ) ) ; } DirectoryScanner ds = this . getDirectoryScanner ( srcDir ) ; String [ ] files = ds . getIncludedFiles ( ) ; scanDir ( srcDir , ( ( destDir ) != null ? destDir : srcDir ) , files ) ; } String compiler = determineCompiler ( ) ; if ( ( compileList . length ) > 0 ) { CompilerAdapter adapter = CompilerAdapterFactory . getCompiler ( compiler , this ) ; <START_BUG> log ( ( ( ( ( "Compiling<seq2seq4repair_space>" + ( compileList . length ) ) + "<seq2seq4repair_space>source<seq2seq4repair_space>file" ) + ( ( compileList . length ) == 1 ? "" : "s" ) ) + ( ( destDir ) != null ? "<seq2seq4repair_space>to<seq2seq4repair_space>" + ( destDir ) : "" ) ) ) ; <END_BUG> adapter . setJavac ( this ) ; if ( ! ( adapter . execute ( ) ) ) { if ( failOnError ) { throw new TaskException ( Javac . FAIL_MSG ) ; } else { log ( Javac . FAIL_MSG , MSG_ERR ) ; } } } } protected String getSystemJavac ( ) { } protected boolean isJdkCompiler ( String compiler ) { } protected void resetFileLists ( ) { } protected void scanDir ( File srcDir , File destDir , String [ ] files ) throws TaskException { } private String determineCompiler ( ) { } public class ImplementationSpecificArgument extends Commandline . Argument { private String impl ; public void setImplementation ( String impl ) { } public String [ ] getParts ( ) { } } }

Fix:
getLogger ( ) . info ( ( ( ( ( "Compiling<seq2seq4repair_space>" + ( compileList . length ) ) + "<seq2seq4repair_space>source<seq2seq4repair_space>file" ) + ( ( compileList . length ) == 1 ? "" : "s" ) ) + ( ( destDir ) != null ? "<seq2seq4repair_space>to<seq2seq4repair_space>" + ( destDir ) : "" ) ) ) ;