Buggy code:
public abstract class MSVSS extends Task implements MSVSSConstants { private String m_SSDir = null ; private String m_vssLogin = null ; private String m_vssPath = null ; private String m_serverPath = null ; private String m_Version = null ; private String m_Date = null ; private String m_Label = null ; private String m_AutoResponse = null ; private String m_LocalPath = null ; private String m_Comment = null ; private String m_FromLabel = null ; private String m_ToLabel = null ; private String m_OutputFileName = null ; private String m_User = null ; private String m_FromDate = null ; private String m_ToDate = null ; private String m_Style = null ; private boolean m_Quiet = false ; private boolean m_Recursive = false ; private boolean m_Writable = false ; private boolean m_FailOnError = true ; private boolean m_getLocalCopy = true ; private int m_NumDays = Integer . MIN_VALUE ; private DateFormat m_DateFormat = DateFormat . getDateInstance ( DateFormat . SHORT ) ; private MSVSS . CurrentModUpdated m_timestamp = null ; private MSVSS . WritableFiles m_writablefiles = null ; abstract Commandline buildCmdLine ( ) { } public final void setSsdir ( String dir ) { } public final void setLogin ( String login ) { } public final void setVsspath ( String vssPath ) { } public final void setServerpath ( String serverPath ) { } public final void setFailOnError ( boolean failOnError ) { } public void execute ( ) throws BuildException { int result = 0 ; Commandline commandLine = buildCmdLine ( ) ; result = run ( commandLine ) ; <START_BUG> if ( ( result != 0 ) && ( getFailOnError ( ) ) ) { <END_BUG> String msg = ( ( "Failed<seq2seq4repair_space>executing:<seq2seq4repair_space>" + ( formatCommandLine ( commandLine ) ) ) + "<seq2seq4repair_space>With<seq2seq4repair_space>a<seq2seq4repair_space>return<seq2seq4repair_space>code<seq2seq4repair_space>of<seq2seq4repair_space>" ) + result ; throw new BuildException ( msg , getLocation ( ) ) ; } } protected void setInternalComment ( String text ) { } protected void setInternalAutoResponse ( String text ) { } protected void setInternalDate ( String text ) { } protected void setInternalDateFormat ( DateFormat date ) { } protected void setInternalFailOnError ( boolean fail ) { } protected void setInternalFromDate ( String text ) { } protected void setInternalFromLabel ( String text ) { } protected void setInternalLabel ( String text ) { } protected void setInternalLocalPath ( String text ) { } protected void setInternalNumDays ( int days ) { } protected void setInternalOutputFilename ( String text ) { } protected void setInternalQuiet ( boolean quiet ) { } protected void setInternalRecursive ( boolean recursive ) { } protected void setInternalStyle ( String style ) { } protected void setInternalToDate ( String text ) { } protected void setInternalToLabel ( String text ) { } protected void setInternalUser ( String user ) { } protected void setInternalVersion ( String text ) { } protected void setInternalWritable ( boolean writable ) { } protected void setInternalFileTimeStamp ( MSVSS . CurrentModUpdated timestamp ) { } protected void setInternalWritableFiles ( MSVSS . WritableFiles files ) { } protected void setInternalGetLocalCopy ( boolean get ) { } protected String getSSCommand ( ) { } protected String getVsspath ( ) { } protected String getQuiet ( ) { } protected String getRecursive ( ) { } protected String getWritable ( ) { } protected String getLabel ( ) { } protected String getStyle ( ) { } protected String getVersionDateLabel ( ) { } protected String getVersion ( ) { } protected String getLocalpath ( ) { } protected String getComment ( ) { } protected String getAutoresponse ( ) { } protected String getLogin ( ) { } protected String getOutput ( ) { } protected String getUser ( ) { } protected String getVersionLabel ( ) { } protected String getVersionDate ( ) throws BuildException { } protected String getGetLocalCopy ( ) { } private boolean getFailOnError ( ) { } public String getFileTimeStamp ( ) { } public String getWritableFiles ( ) { } private int run ( Commandline cmd ) { } private String calcDate ( String fromDate , int numDays ) throws ParseException { } private String formatCommandLine ( Commandline cmd ) { } public static class CurrentModUpdated extends EnumeratedAttribute { public String [ ] getValues ( ) { } } public static class WritableFiles extends EnumeratedAttribute { public String [ ] getValues ( ) { } } }

Fix:
if ( ( Execute . isFailure ( result ) ) && ( getFailOnError ( ) ) ) {