Buggy code:
public class FixCRLF extends MatchingTask { private static final int UNDEF = - 1 ; private static final int NOTJAVA = 0 ; private static final int LOOKING = 1 ; private static final int IN_CHAR_CONST = 2 ; private static final int IN_STR_CONST = 3 ; private static final int IN_SINGLE_COMMENT = 4 ; private static final int IN_MULTI_COMMENT = 5 ; private static final int ASIS = 0 ; private static final int CR = 1 ; private static final int LF = 2 ; private static final int CRLF = 3 ; private static final int ADD = 1 ; private static final int REMOVE = - 1 ; private static final int SPACES = - 1 ; private static final int TABS = 1 ; private static final int INBUFLEN = 8192 ; private static final int LINEBUFLEN = 200 ; private static final char CTRLZ = '' ; private int tablength = 8 ; private String spaces = "<seq2seq4repair_space>" ; private StringBuffer linebuf = new StringBuffer ( 1024 ) ; private StringBuffer linebuf2 = new StringBuffer ( 1024 ) ; private int eol ; private String eolstr ; private int ctrlz ; private int tabs ; private boolean javafiles = false ; private File srcDir ; private File destDir = null ; private FileUtils fileUtils = FileUtils . newFileUtils ( ) ; private String encoding = null ; public FixCRLF ( ) { } public void setSrcdir ( File srcDir ) { } public void setDestdir ( File destDir ) { } public void setJavafiles ( boolean javafiles ) { } public void setEol ( FixCRLF . CrLf attr ) { } public void setCr ( FixCRLF . AddAsisRemove attr ) { log ( "DEPRECATED:<seq2seq4repair_space>The<seq2seq4repair_space>cr<seq2seq4repair_space>attribute<seq2seq4repair_space>has<seq2seq4repair_space>been<seq2seq4repair_space>deprecated," , MSG_WARN ) ; <START_BUG> log ( "Please<seq2seq4repair_space>us<seq2seq4repair_space>the<seq2seq4repair_space>eol<seq2seq4repair_space>attribute<seq2seq4repair_space>instead" , MSG_WARN ) ; <END_BUG> String option = attr . getValue ( ) ; FixCRLF . CrLf c = new FixCRLF . CrLf ( ) ; if ( option . equals ( "remove" ) ) { c . setValue ( "lf" ) ; } else if ( option . equals ( "asis" ) ) { c . setValue ( "asis" ) ; } else { c . setValue ( "crlf" ) ; } setEol ( c ) ; } public void setTab ( FixCRLF . AddAsisRemove attr ) { } public void setTablength ( int tlength ) throws BuildException { } public void setEof ( FixCRLF . AddAsisRemove attr ) { } public void setEncoding ( String encoding ) { } public void execute ( ) throws BuildException { } private Reader getReader ( File f ) throws IOException { } private void processFile ( String file ) throws BuildException { } private void nextStateChange ( FixCRLF . OneLiner . BufferLine bufline ) throws BuildException { } private void endOfCharConst ( FixCRLF . OneLiner . BufferLine bufline , char terminator ) throws BuildException { } private void notInConstant ( FixCRLF . OneLiner . BufferLine bufline , int end , BufferedWriter outWriter ) { } class OneLiner implements Enumeration { private int state = ( javafiles ) ? FixCRLF . LOOKING : FixCRLF . NOTJAVA ; private StringBuffer eolStr = new StringBuffer ( FixCRLF . LINEBUFLEN ) ; private StringBuffer eofStr = new StringBuffer ( ) ; private BufferedReader reader ; private StringBuffer line = new StringBuffer ( ) ; private boolean reachedEof = false ; public OneLiner ( File srcFile ) throws BuildException { } protected void nextLine ( ) throws BuildException { } public String getEofStr ( ) { } public int getState ( ) { } public void setState ( int state ) { } public boolean hasMoreElements ( ) { } public Object nextElement ( ) throws NoSuchElementException { } public void close ( ) throws IOException { } class BufferLine { private int next = 0 ; private int column = 0 ; private int lookahead = FixCRLF . UNDEF ; private String line ; private String eolStr ; public BufferLine ( String line , String eolStr ) throws BuildException { } public int getNext ( ) { } public void setNext ( int next ) { } public int getLookahead ( ) { } public void setLookahead ( int lookahead ) { } public char getChar ( int i ) { } public char getNextChar ( ) { } public char getNextCharInc ( ) { } public int getColumn ( ) { } public void setColumn ( int col ) { } public int incColumn ( ) { } public int length ( ) { } public int getEolLength ( ) { } public String getLineString ( ) { } public String getEol ( ) { } public String substring ( int begin ) { } public String substring ( int begin , int end ) { } public void setState ( int state ) { } public int getState ( ) { } } } public static class AddAsisRemove extends EnumeratedAttribute { public String [ ] getValues ( ) { } } public static class CrLf extends EnumeratedAttribute { public String [ ] getValues ( ) { } } }

Fix:
log ( "Please<seq2seq4repair_space>use<seq2seq4repair_space>the<seq2seq4repair_space>eol<seq2seq4repair_space>attribute<seq2seq4repair_space>instead" , MSG_WARN ) ;