Buggy code:
private Path dependClasspath ; private Path destPath ; private Hashtable outOfDateClasses ; private Path srcPath ; public void setCache ( File cache ) { } public void setClasspath ( Path classpath ) throws TaskException { } public void setClasspathRef ( Reference r ) throws TaskException { } public void setClosure ( boolean closure ) { } public void setDestDir ( Path destPath ) { } public void setDump ( boolean dump ) { } public void setSrcdir ( Path srcPath ) { } public Path getClasspath ( ) { } public Path createClasspath ( ) throws TaskException { } public void execute ( ) throws TaskException { try { long start = System . currentTimeMillis ( ) ; String [ ] srcPathList = srcPath . list ( ) ; if ( ( srcPathList . length ) == 0 ) { throw new TaskException ( "srcdir<seq2seq4repair_space>attribute<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>set!" ) ; } if ( ( destPath ) == null ) { destPath = srcPath ; } if ( ( ( ( cache ) != null ) && ( cache . exists ( ) ) ) && ( ! ( cache . isDirectory ( ) ) ) ) { throw new TaskException ( "The<seq2seq4repair_space>cache,<seq2seq4repair_space>if<seq2seq4repair_space>specified,<seq2seq4repair_space>must<seq2seq4repair_space>point<seq2seq4repair_space>to<seq2seq4repair_space>a<seq2seq4repair_space>directory" ) ; } if ( ( ( cache ) != null ) && ( ! ( cache . exists ( ) ) ) ) { cache . mkdirs ( ) ; } determineDependencies ( ) ; if ( dump ) { log ( ( ( "Reverse<seq2seq4repair_space>Dependency<seq2seq4repair_space>Dump<seq2seq4repair_space>for<seq2seq4repair_space>" + ( affectedClassMap . size ( ) ) ) + "<seq2seq4repair_space>classes:" ) , MSG_DEBUG ) ; for ( Enumeration e = affectedClassMap . keys ( ) ; e . hasMoreElements ( ) ; ) { String className = ( ( String ) ( e . nextElement ( ) ) ) ; log ( ( ( "<seq2seq4repair_space>Class<seq2seq4repair_space>" + className ) + "<seq2seq4repair_space>affects:" ) , MSG_DEBUG ) ; Hashtable affectedClasses = ( ( Hashtable ) ( affectedClassMap . get ( className ) ) ) ; for ( Enumeration e2 = affectedClasses . keys ( ) ; e2 . hasMoreElements ( ) ; ) { String affectedClass = ( ( String ) ( e2 . nextElement ( ) ) ) ; Depend . ClassFileInfo info = ( ( Depend . ClassFileInfo ) ( affectedClasses . get ( affectedClass ) ) ) ; log ( ( ( ( "<seq2seq4repair_space>" + affectedClass ) + "<seq2seq4repair_space>in<seq2seq4repair_space>" ) + ( info . absoluteFile . getPath ( ) ) ) , MSG_DEBUG ) ; } } if ( ( classpathDependencies ) != null ) { log ( "Classpath<seq2seq4repair_space>file<seq2seq4repair_space>dependencies<seq2seq4repair_space>(Forward):" , MSG_DEBUG ) ; for ( Enumeration e = classpathDependencies . keys ( ) ; e . hasMoreElements ( ) ; ) { String className = ( ( String ) ( e . nextElement ( ) ) ) ; log ( ( ( "<seq2seq4repair_space>Class<seq2seq4repair_space>" + className ) + "<seq2seq4repair_space>depends<seq2seq4repair_space>on:" ) , MSG_DEBUG ) ; Hashtable dependencies = ( ( Hashtable ) ( classpathDependencies . get ( className ) ) ) ; for ( Enumeration e2 = dependencies . elements ( ) ; e2 . hasMoreElements ( ) ; ) { File classpathFile = ( ( File ) ( e2 . nextElement ( ) ) ) ; log ( ( "<seq2seq4repair_space>" + ( classpathFile . getPath ( ) ) ) , MSG_DEBUG ) ; } } } } outOfDateClasses = new Hashtable ( ) ; for ( int i = 0 ; i < ( srcPathList . length ) ; i ++ ) { File srcDir = ( ( File ) ( resolveFile ( srcPathList [ i ] ) ) ) ; if ( srcDir . exists ( ) ) { DirectoryScanner ds = this . getDirectoryScanner ( srcDir ) ; String [ ] files = ds . getIncludedFiles ( ) ; scanDir ( srcDir , files ) ; } } if ( ( classpathDependencies ) != null ) { for ( Enumeration e = classpathDependencies . keys ( ) ; e . hasMoreElements ( ) ; ) { String className = ( ( String ) ( e . nextElement ( ) ) ) ; if ( ! ( outOfDateClasses . containsKey ( className ) ) ) { Depend . ClassFileInfo info = ( ( Depend . ClassFileInfo ) ( classFileInfoMap . get ( className ) ) ) ; if ( info != null ) { Hashtable dependencies = ( ( Hashtable ) ( classpathDependencies . get ( className ) ) ) ; for ( Enumeration e2 = dependencies . elements ( ) ; e2 . hasMoreElements ( ) ; ) { File classpathFile = ( ( File ) ( e2 . nextElement ( ) ) ) ; if ( ( classpathFile . lastModified ( ) ) > ( info . absoluteFile . lastModified ( ) ) ) { log ( ( ( ( "Class<seq2seq4repair_space>" + className ) + "<seq2seq4repair_space>is<seq2seq4repair_space>out<seq2seq4repair_space>of<seq2seq4repair_space>date<seq2seq4repair_space>with<seq2seq4repair_space>respect<seq2seq4repair_space>to<seq2seq4repair_space>" ) + classpathFile ) , MSG_DEBUG ) ; outOfDateClasses . put ( className , className ) ; break ; } } } } } } int count = deleteAllAffectedFiles ( ) ; long duration = ( ( System . currentTimeMillis ( ) ) - start ) // 1000 ; <START_BUG> log ( ( ( ( ( "Deleted<seq2seq4repair_space>" + count ) + "<seq2seq4repair_space>out<seq2seq4repair_space>of<seq2seq4repair_space>date<seq2seq4repair_space>files<seq2seq4repair_space>in<seq2seq4repair_space>" ) + duration ) + "<seq2seq4repair_space>seconds" ) ) ; <END_BUG> } catch ( Exception e ) { throw new TaskException ( "Error" , e ) ; } } protected void scanDir ( File srcDir , String [ ] files ) { } private Vector getClassFiles ( Path classLocations ) throws TaskException { } private void addClassFiles ( Vector classFileList , File dir , File root ) { } private int deleteAffectedFiles ( String className ) { } private int deleteAllAffectedFiles ( ) { } private void determineDependencies ( ) throws IOException , TaskException { } private Hashtable readCachedDependencies ( ) throws IOException { } private void writeCachedDependencies ( Hashtable dependencyMap ) throws IOException { } private static class ClassFileInfo { public File absoluteFile ; public String className ; public String relativeName ; } }

Fix:
getLogger ( ) . info ( ( ( ( ( "Deleted<seq2seq4repair_space>" + count ) + "<seq2seq4repair_space>out<seq2seq4repair_space>of<seq2seq4repair_space>date<seq2seq4repair_space>files<seq2seq4repair_space>in<seq2seq4repair_space>" ) + duration ) + "<seq2seq4repair_space>seconds" ) ) ;