nus-yam/ex-repair huggingface dataset:
Buggy code:
public abstract class AbstractSSTableSimpleWriter { protected final File directory ; protected final CFMetaData metadata ; protected DecoratedKey currentKey ; protected ColumnFamily columnFamily ; protected SuperColumn currentSuperColumn ; protected final NodeId nodeid = NodeId . generate ( ) ; public AbstractSSTableSimpleWriter ( File directory , CFMetaData metadata ) { } protected SSTableWriter getWriter ( ) throws IOException { <START_BUG> return new SSTableWriter ( AbstractSSTableSimpleWriter . makeFilename ( directory , metadata . ksName , metadata . cfName ) , 0 , metadata , StorageService . getPartitioner ( ) , ReplayPosition . NONE ) ; <END_BUG> } private static String makeFilename ( File directory , final String keyspace , final String columnFamily ) { } public void newRow ( ByteBuffer key ) throws IOException { } public void newSuperColumn ( ByteBuffer name ) { } private void addColumn ( IColumn column ) { } public void addColumn ( ByteBuffer name , ByteBuffer value , long timestamp ) { } public void addExpiringColumn ( ByteBuffer name , ByteBuffer value , long timestamp , int ttl , long expirationTimestampMS ) { } public void addCounterColumn ( ByteBuffer name , long value ) { } public abstract void close ( ) throws IOException { } protected abstract void writeRow ( DecoratedKey key , ColumnFamily columnFamily ) throws IOException { } }

Fix:
return new SSTableWriter ( AbstractSSTableSimpleWriter . makeFilename ( directory , metadata . ksName , metadata . cfName ) , 0 , metadata , StorageService . getPartitioner ( ) , SSTableMetadata . createCollector ( ) ) ;
Buggy code:
class ETimeUtils { private static final String TAG = "ETimeUtils-4321" ; private static final String DIV_CLOSE = "<//div>" ; private static final String TABLE_ROW_TAG = "<tr<seq2seq4repair_space>class" ; private static final String PUNCH_TAG = "Punch\">" ; private static final String PUNCH_IN = "InPunch" ; private static final String PUNCH_END = "<div<seq2seq4repair_space>class=\"\"<seq2seq4repair_space>title=\"\">" ; private static final String TOTAL_STR = "Total:" ; private static final String HTML_SPACE = "&nbsp;" ; private static final String [ ] daysOfWeek = new String [ ] { "Sun" , "Mon" , "Tue" , "Wed" , "Thu" , "Fri" , "Sat" } ; private static final String TABLE_ROW_END_TAG = "<//tr>" ; protected static String getHtmlPage ( DefaultHttpClient client , String url ) { } protected static WebView setupWebView ( WebView webview , WebViewClient webViewClient , WebChromeClient webChromeClient ) { } protected static double getTotalsHrs ( String page ) { } private static int findNextTodaysRow ( String page , int startIndex ) { } protected static List < Punch > getTodaysPunches ( String page ) { } private static List < Punch > getPunchesFromRow ( String row ) { } private static int getNextPunch ( String page , int startIndex , Punch punch ) { } protected static Punch getLastClockIn ( List < Punch > punches ) { } protected static double todaysTotalHrsLogged ( List < Punch > punches ) { } protected static Punch getEightHrPunch ( List < Punch > punches ) { } protected static long clockOutAt ( List < Punch > punches ) { Iterator < Punch > iterPunches = punches . iterator ( ) ; long clockOutTime = 0 ; int index = 1 ; while ( iterPunches . hasNext ( ) ) { long punch = iterPunches . next ( ) . getCalendar ( ) . getTimeInMillis ( ) ; if ( index == 1 ) punch = RoundingRules . getRoundedTime ( punch ) ; else <START_BUG> if ( ( index == 3 ) || ( ( index % 2 ) == 1 ) ) <END_BUG> punch *= - 1 ; clockOutTime += punch ; index ++ ; } clockOutTime += ( ( 8 * 1000 ) * 60 ) * 60 ; clockOutTime = RoundingRules . getRoundedTime ( clockOutTime ) ; return clockOutTime ; } }

Fix:
if ( ( index == 2 ) || ( ( index % 2 ) == 0 ) )
Buggy code:
@ Deprecated public class FilePassivationStoreAdd extends PassivationStoreAdd { public FilePassivationStoreAdd ( AttributeDefinition ... attributes ) { } @ Override protected void performRuntime ( OperationContext context , ModelNode operation , ModelNode model , ServiceVerificationHandler verificationHandler , List < ServiceController < ? > > serviceControllers ) throws IllegalArgumentException , OperationFailedException { int initialMaxSize = MAX_SIZE . resolveModelAttribute ( context , model ) . asInt ( ) ; String containerName = CACHE_CONTAINER . getDefaultValue ( ) . asString ( ) ; <START_BUG> this . install ( context , operation , initialMaxSize , containerName , null , verificationHandler , serviceControllers ) ; <END_BUG> } }

Fix:
this . install ( context , operation , initialMaxSize , containerName , "passivation" , verificationHandler , serviceControllers ) ;
Buggy code:
@ SuppressWarnings ( "serial" ) public class TransactionInterceptor extends TransactionAspectSupport implements Serializable , MethodInterceptor { public TransactionInterceptor ( ) { } public TransactionInterceptor ( PlatformTransactionManager ptm , Properties attributes ) { } public TransactionInterceptor ( PlatformTransactionManager ptm , TransactionAttributeSource tas ) { } public Object invoke ( final MethodInvocation invocation ) throws Throwable { Class < ? > targetClass = ( ( invocation . getThis ( ) ) != null ) ? AopUtils . getTargetClass ( invocation . getThis ( ) ) : null ; final TransactionAttribute txAttr = getTransactionAttributeSource ( ) . getTransactionAttribute ( invocation . getMethod ( ) , targetClass ) ; final PlatformTransactionManager tm = determineTransactionManager ( txAttr ) ; <START_BUG> final String joinpointIdentification = methodIdentification ( invocation . getMethod ( ) ) ; <END_BUG> if ( ( txAttr == null ) || ( ! ( tm instanceof CallbackPreferringPlatformTransactionManager ) ) ) { TransactionInfo txInfo = createTransactionIfNecessary ( tm , txAttr , joinpointIdentification ) ; Object retVal = null ; try { retVal = invocation . proceed ( ) ; } catch ( Throwable ex ) { completeTransactionAfterThrowing ( txInfo , ex ) ; throw ex ; } finally { cleanupTransactionInfo ( txInfo ) ; } commitTransactionAfterReturning ( txInfo ) ; return retVal ; } else { try { Object result = ( ( CallbackPreferringPlatformTransactionManager ) ( tm ) ) . execute ( txAttr , new org . springframework . transaction . support . TransactionCallback < Object > ( ) { public Object doInTransaction ( TransactionStatus status ) { TransactionInfo txInfo = prepareTransactionInfo ( tm , txAttr , joinpointIdentification , status ) ; try { return invocation . proceed ( ) ; } catch ( Throwable ex ) { if ( txAttr . rollbackOn ( ex ) ) { if ( ex instanceof RuntimeException ) { throw ( ( RuntimeException ) ( ex ) ) ; } else { throw new TransactionInterceptor . ThrowableHolderException ( ex ) ; } } else { return new TransactionInterceptor . ThrowableHolder ( ex ) ; } } finally { cleanupTransactionInfo ( txInfo ) ; } } } ) ; if ( result instanceof TransactionInterceptor . ThrowableHolder ) { throw ( ( TransactionInterceptor . ThrowableHolder ) ( result ) ) . getThrowable ( ) ; } else { return result ; } } catch ( TransactionInterceptor . ThrowableHolderException ex ) { throw ex . getCause ( ) ; } } } private void writeObject ( ObjectOutputStream oos ) throws IOException { } private void readObject ( ObjectInputStream ois ) throws IOException , ClassNotFoundException { } private static class ThrowableHolder { private final Throwable throwable ; public ThrowableHolder ( Throwable throwable ) { } public final Throwable getThrowable ( ) { } } private static class ThrowableHolderException extends RuntimeException { public ThrowableHolderException ( Throwable throwable ) { } @ Override public String toString ( ) { } } }

Fix:
final String joinpointIdentification = methodIdentification ( invocation . getMethod ( ) , targetClass ) ;
Buggy code:
public final class dns { private static Resolver res ; private static Cache cache ; static boolean matchType ( short type1 , short type2 ) { } public static String inaddrString ( InetAddress addr ) { } public static String inaddrString ( String s ) { } public static void init ( String defaultResolver ) { } public static void setResolver ( Resolver _res ) { } public static Record [ ] getRecords ( String namestr , short type , short dclass , byte cred ) { Message query ; Message response ; Record question ; Record [ ] answers ; int answerCount = 0 ; int i = 0 ; Enumeration e ; Name name = new Name ( namestr ) ; if ( ( ! ( Type . isRR ( type ) ) ) && ( type != ( Type . ANY ) ) ) return null ; if ( ( dns . res ) == null ) { try { dns . res = new Resolver ( ) ; } catch ( UnknownHostException uhe ) { System . out . println ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>initialize<seq2seq4repair_space>resolver" ) ; System . exit ( ( - 1 ) ) ; } } if ( ( dns . cache ) == null ) dns . cache = new Cache ( ) ; <START_BUG> CacheResponse cached = dns . cache . lookupRecords ( name , type , cred ) ; <END_BUG> if ( cached . isSuccessful ( ) ) { RRset rrset = cached . answer ( ) ; answerCount = rrset . size ( ) ; e = rrset . rrs ( ) ; } else if ( cached . isNegative ( ) ) { answerCount = 0 ; e = null ; } else { query = new Message ( ) ; query . getHeader ( ) . setOpcode ( QUERY ) ; query . getHeader ( ) . setFlag ( RD ) ; question = Record . newRecord ( name , type , dclass ) ; query . addRecord ( QUESTION , question ) ; try { response = dns . res . send ( query ) ; } catch ( IOException ioe ) { return null ; } short rcode = response . getHeader ( ) . getRcode ( ) ; if ( ( rcode == ( Rcode . NOERROR ) ) || ( rcode == ( Rcode . NXDOMAIN ) ) ) dns . cache . addMessage ( response ) ; if ( rcode != ( Rcode . NOERROR ) ) return null ; e = response . getSection ( ANSWER ) ; while ( e . hasMoreElements ( ) ) { Record r = ( ( Record ) ( e . nextElement ( ) ) ) ; if ( dns . matchType ( r . getType ( ) , type ) ) answerCount ++ ; } e = response . getSection ( ANSWER ) ; } if ( answerCount == 0 ) return null ; answers = new Record [ answerCount ] ; while ( e . hasMoreElements ( ) ) { Record r = ( ( Record ) ( e . nextElement ( ) ) ) ; if ( dns . matchType ( r . getType ( ) , type ) ) answers [ ( i ++ ) ] = r ; } return answers ; } public static Record [ ] getRecords ( String namestr , short type , short dclass ) { } public static Record [ ] getAnyRecords ( String namestr , short type , short dclass ) { } public static Record [ ] getRecords ( String name , short type ) { } public static Record [ ] getAnyRecords ( String name , short type ) { } public static Record [ ] getRecordsByAddress ( String addr , short type ) { } public static Record [ ] getAnyRecordsByAddress ( String addr , short type ) { } }

Fix:
CacheResponse cached = dns . cache . lookupRecords ( name , type , dclass , cred ) ;
Buggy code:
public class FieldBoostMapFCListener implements FieldConfigListener { private static final long serialVersionUID = - 5929802948798314067L ; private QueryConfigHandler config = null ; public FieldBoostMapFCListener ( QueryConfigHandler config ) { } public void buildFieldConfig ( FieldConfig fieldConfig ) { if ( this . config . hasAttribute ( FieldBoostMapAttribute . class ) ) { FieldBoostMapAttribute fieldBoostMapAttr = this . config . getAttribute ( FieldBoostMapAttribute . class ) ; BoostAttribute boostAttr = fieldConfig . addAttribute ( BoostAttribute . class ) ; <START_BUG> Float boost = fieldBoostMapAttr . getFieldBoostMap ( ) . get ( fieldConfig . getFieldName ( ) ) ; <END_BUG> if ( boost != null ) { boostAttr . setBoost ( boost . floatValue ( ) ) ; } } } }

Fix:
Float boost = fieldBoostMapAttr . getFieldBoostMap ( ) . get ( fieldConfig . getField ( ) ) ;
Buggy code:
public class ContactItemMap implements IContactItemMap { private Map map ; public ContactItemMap ( ) { } public void add ( Object uid , IContactItem contactItem ) { } <START_BUG> public ContactItem get ( Object uid ) { <END_BUG> return ( ( ContactItem ) ( map . get ( uid ) ) ) ; } public void remove ( Object uid ) { } public boolean exists ( Object uid ) { } public int count ( ) { } public Iterator iterator ( ) { } public void clear ( ) { } }

Fix:
public IContactItem get ( Object uid ) {
Buggy code:
final class R_OSGiRemoteServiceContainer implements IContainer , IRemoteServiceContainerAdapter , RemoteServiceListener { private BundleContext context ; private RemoteOSGiService remoteService ; private ChannelEndpointManager endpointMgr ; private final List containerListeners = new ArrayList ( 0 ) ; R_OSGiID containerID ; private R_OSGiID connectedID ; private ServiceTracker remoteServicesTracker ; private Map remoteServicesRegs = new HashMap ( 0 ) ; private Map remoteServiceListeners = new HashMap ( 0 ) ; public R_OSGiRemoteServiceContainer ( ) throws IDCreateException { } public R_OSGiRemoteServiceContainer ( final ID containerID ) throws IDCreateException { } private void startRegTracker ( ) { } public void addRemoteServiceListener ( final IRemoteServiceListener listener ) { } public IRemoteService getRemoteService ( final IRemoteServiceReference reference ) { Assert . isNotNull ( reference ) ; final RemoteServiceReferenceImpl impl = ( ( RemoteServiceReferenceImpl ) ( reference ) ) ; <START_BUG> return new RemoteServiceImpl ( impl . getR_OSGiServiceReference ( ) , remoteService . getRemoteService ( impl . getR_OSGiServiceReference ( ) ) ) ; <END_BUG> } public IRemoteServiceReference [ ] getRemoteServiceReferences ( final ID [ ] idFilter , final String clazz , final String filter ) throws InvalidSyntaxException { } public IRemoteServiceRegistration registerRemoteService ( final String [ ] clazzes , final Object service , final Dictionary properties ) { } public void removeRemoteServiceListener ( final IRemoteServiceListener listener ) { } public boolean ungetRemoteService ( IRemoteServiceReference reference ) { } public Object getAdapter ( final Class adapter ) { } public void addListener ( final IContainerListener listener ) { } public void connect ( final ID targetID , final IConnectContext connectContext ) throws ContainerConnectException { } public void disconnect ( ) { } public void dispose ( ) { } public Namespace getConnectNamespace ( ) { } public ID getConnectedID ( ) { } public void removeListener ( final IContainerListener listener ) { } public ID getID ( ) { } private void fireListeners ( final IContainerEvent event ) { } public void remoteServiceEvent ( final RemoteServiceEvent event ) { } private void checkImport ( final RemoteServiceReference ref ) { } private Hashtable clone ( final Dictionary props ) { } public IFutureStatus asyncGetRemoteServiceReferences ( final ID [ ] idFilter , final String clazz , final String filter ) { } public Namespace getRemoteServiceNamespace ( ) { } public IRemoteFilter createRemoteFilter ( String filter ) throws InvalidSyntaxException { } }

Fix:
return new RemoteServiceImpl ( impl , remoteService . getRemoteService ( impl . getR_OSGiServiceReference ( ) ) ) ;
Buggy code:
public class NumberFieldErrorListener extends FocusAdapter { private static final NumberFieldErrorListener listener = new NumberFieldErrorListener ( ) ; public static NumberFieldErrorListener getNumberFieldErrorListener ( ) { } @ Override public void focusLost ( FocusEvent e ) { Component source = ( ( Component ) ( e . getSource ( ) ) ) ; String text = "" ; if ( source instanceof JTextComponent ) { text = ( ( JTextComponent ) ( source ) ) . getText ( ) ; } else if ( source instanceof TextComponent ) { text = ( ( TextComponent ) ( source ) ) . getText ( ) ; } try { Integer . parseInt ( text ) ; } catch ( NumberFormatException nfe ) { JOptionPane . showMessageDialog ( source , JMeterUtils . getResString ( "you_must_enter_a_valid_number" ) , JMeterUtils . getResString ( "invalid_data" ) , JOptionPane . WARNING_MESSAGE ) ; <START_BUG> new FocusRequester ( source ) ; <END_BUG> } } }

Fix:
FocusRequester . requestFocus ( source ) ;
Buggy code:
public class SearchResultView extends JPanel implements IResultListener { private IHTMLViewerPlugin viewerPlugin ; private StringBuffer buf ; public SearchResultView ( ) { } public void resultArrived ( IResultEvent event ) { } private String createCriteria ( ISearchCriteria r ) { <START_BUG> return ( "Search<seq2seq4repair_space>Results<seq2seq4repair_space>for<seq2seq4repair_space>\"<font<seq2seq4repair_space>class=\"italic\">" + ( r . getName ( ) ) ) + "<//font>\":" ; <END_BUG> } private String createTitle ( ISearchResult r ) { } private String getDescription ( ISearchResult r ) { } public void clearSearch ( IResultEvent event ) { } private void startDocument ( StringBuffer b ) { } private void endDocument ( StringBuffer b ) { } public void reset ( IResultEvent event ) { } }

Fix:
return ( "Search<seq2seq4repair_space>Results<seq2seq4repair_space>for<seq2seq4repair_space>\"<font<seq2seq4repair_space>class=\"italic\">" + ( r . getTitle ( ) ) ) + "<//font>\":" ;
Buggy code:
public class Client { private List < Channel > channels ; private Socket socket ; private WebSocket websocket ; private OutputStream out ; private List < Pair < String , Integer > > icons ; private String name ; private byte rank ; private byte gender ; private int kisses ; private int knuddels ; private int onlineTime ; private long loginTimestamp ; private String registrationDate ; private String registrationTime ; private String ipAddress ; private boolean away ; private int spam ; private long lastAction ; public Client ( Socket socket ) { } public Client setToWebsocket ( WebSocket socket ) { } public List < Pair < String , Integer > > getIcons ( ) { } private void addIcon ( String icon , int size ) { } private void removeIcon ( String icon ) { } public String getName ( ) { } public byte getRank ( ) { } private boolean isVIP ( ) { } public boolean isModerator ( ) { } public boolean isAdministrator ( ) { } public byte getGender ( ) { } public int getKisses ( ) { } public void increaseKisses ( ) { } public int getKnuddels ( ) { } public void setKnuddels ( int knuddels ) { } public int getOnlineTime ( ) { } public String getRegistrationDate ( ) { } public String getRegistrationTime ( ) { } public String getIPAddress ( ) { } public boolean isAway ( ) { } public void setAway ( boolean away ) { } public boolean checkSpam ( String channel ) { } public void login ( String nickname ) throws SQLException { } public void logout ( String message ) { } public Channel getChannel ( ) { } public List < Channel > getChannels ( ) { } public void joinChannel ( Channel channel ) { } public void leaveChannel ( Channel channel ) { } public void loadStats ( String name ) { } private void saveStats ( ) { } public void sendHello ( ) { } public void sendPrivateMessage ( List < Client > targets , String message , Channel channel , boolean fromGame ) { } public void sendButlerMessage ( String channel , String message ) { } public void send ( String message ) { if ( ( ( socket ) != null ) && ( socket . isConnected ( ) ) ) { try { out . write ( Protocol . encode ( Huffman . getEncoder ( ) . encode ( message , 0 ) ) ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } } if ( ( ( websocket ) != null ) && ( websocket . isOpen ( ) ) ) { try { <START_BUG> websocket . send ( message ) ; <END_BUG> } catch ( Exception e ) { e . printStackTrace ( ) ; } } } public void disconnect ( ) { } public boolean hasWebsocket ( WebSocket socket ) { } }

Fix:
websocket . send ( ( Websocket . withHuffman ( ) ? new String ( Huffman . getEncoder ( ) . encode ( message , 0 ) ) : message ) ) ;
Buggy code:
public class LegacyHTMLStripCharFilterTest extends BaseTokenStreamTestCase { public void test ( ) throws IOException { } public void testHTML ( ) throws Exception { } public void testGamma ( ) throws Exception { } public void testEntities ( ) throws Exception { } public void testMoreEntities ( ) throws Exception { } public void testReserved ( ) throws Exception { } public void testMalformedHTML ( ) throws Exception { } public void testBufferOverflow ( ) throws Exception { } private void appendChars ( StringBuilder testBuilder , int numChars ) { } private void processBuffer ( String test , String assertMsg ) throws IOException { } public void testComment ( ) throws Exception { } public void doTestOffsets ( String in ) throws Exception { } public void testOffsets ( ) throws Exception { } @ Ignore ( "broken<seq2seq4repair_space>offsets:<seq2seq4repair_space>see<seq2seq4repair_space>LUCENE-2208" ) public void testRandom ( ) throws Exception { Analyzer analyzer = new Analyzer ( ) { @ Override protected TokenStreamComponents createComponents ( String fieldName , Reader reader ) { Tokenizer tokenizer = new MockTokenizer ( reader , MockTokenizer . WHITESPACE , false ) ; return new TokenStreamComponents ( tokenizer , tokenizer ) ; } @ Override <START_BUG> protected Reader initReader ( Reader reader ) { <END_BUG> return new LegacyHTMLStripCharFilter ( CharReader . get ( new BufferedReader ( reader ) ) ) ; } } ; int numRounds = ( RANDOM_MULTIPLIER ) * 10000 ; checkRandomData ( random ( ) , analyzer , numRounds ) ; } public void testRandomBrokenHTML ( ) throws Exception { } public void testRandomText ( ) throws Exception { } }

Fix:
protected Reader initReader ( String fieldName , Reader reader ) {
Buggy code:
public class ExtractorParameters extends Properties { private static ExtractorParameters properties = null ; private ExtractorParameters ( ) { } public static ExtractorParameters getExtractorParameters ( ) { } private static String confFilePath ; public static void registerConfigurationFile ( String fname ) { } public void saveExtractorParameters ( String fname ) throws FileNotFoundException , IOException { } public static String getComment ( ) { } public final void resetToDefaultValues ( ) { this . setProperty ( "minimal_aspect_ratio" , "0.1" ) ; this . setProperty ( "vertical_graphical_margin" , "0.02" ) ; this . setProperty ( "horizontal_graphical_margin" , "0.1" ) ; this . setProperty ( "vertical_text_margin" , "0.005" ) ; this . setProperty ( "horizontal_text_margin" , "0.05" ) ; this . setProperty ( "vertical_plot_text_margin" , "0.00065" ) ; this . setProperty ( "horizontal_plot_text_margin" , "0.01" ) ; this . setProperty ( "page_scale" , "2" ) ; this . setProperty ( "minimal_margin_width" , "0.3" ) ; this . setProperty ( "horizontal_emptiness_radius" , "0.01" ) ; this . setProperty ( "vertical_emptiness_radius" , "0.005" ) ; this . setProperty ( "maximum_non_breaking_fraction" , "0.005" ) ; this . setProperty ( "colour_emptiness_threshold" , "10" ) ; this . setProperty ( "empty_pixel_colour_r" , "255" ) ; this . setProperty ( "empty_pixel_colour_g" , "255" ) ; this . setProperty ( "empty_pixel_colour_b" , "255" ) ; this . setProperty ( "minimal_vertical_separator_height" , "0.4" ) ; <START_BUG> this . setProperty ( "minimal_column_width" , "0.3" ) ; <END_BUG> this . setProperty ( "generate_debug_information" , "true" ) ; this . setProperty ( "generate_plot_provenance" , "true" ) ; this . setProperty ( "generate_svg" , "true" ) ; } public double getMinimalPageLayoutColumnWidth ( ) { } public double getMinimalAspectRatio ( ) { } public double getMaximalAspectRatio ( ) { } public double getVerticalGraphicalMargin ( ) { } public double getHorizontalGraphicalMargin ( ) { } public double getVerticalTextMargin ( ) { } public double getVerticalPlotTextMargin ( ) { } public double getHorizontalPlotTextMargin ( ) { } public double getHorizontalTextMargin ( ) { } public int getPageScale ( ) { } public double getMinimalMarginWidth ( ) { } public double getHorizontalEmptinessRadius ( ) { } public double getVerticalEmptinessRadius ( ) { } public double getMaximalNonBreakingFraction ( ) { } public int getColorEmptinessThreshold ( ) { } public int [ ] getEmptyPixelColor ( ) { } public double getMinimalVerticalSeparatorHeight ( ) { } public boolean generateDebugInformation ( ) { } public boolean generatePlotProvenance ( ) { } public boolean generateSVG ( ) { } }

Fix:
this . setProperty ( "minimal_column_width" , "0.25" ) ;
Buggy code:
public final class FilterIterator < E > implements Iterator < E > { public FilterIterator ( Iterator < E > iterator ) { } @ Override public final boolean hasNext ( ) { } @ Override public final E next ( ) { if ( ! ( found ) ) { throw new NoSuchElementException ( ( "Either<seq2seq4repair_space>iterator<seq2seq4repair_space>is<seq2seq4repair_space>empty,<seq2seq4repair_space>or<seq2seq4repair_space>iterator<seq2seq4repair_space>state<seq2seq4repair_space>has<seq2seq4repair_space>not<seq2seq4repair_space>" + "been<seq2seq4repair_space>updated" ) ) ; } if ( ( foundItem ) == null ) { <START_BUG> throw new IllegalStateException ( ( "Potential<seq2seq4repair_space>out<seq2seq4repair_space>of<seq2seq4repair_space>sync<seq2seq4repair_space>error<seq2seq4repair_space>in<seq2seq4repair_space>" + ( getClass ( ) . getSimpleName ( ) ) ) ) ; <END_BUG> } found = false ; return foundItem ; } @ Override public void remove ( ) { } private E foundItem = null ; private boolean found = false ; private final Iterator < E > iterator ; }

Fix:
throw new IllegalStateException ( ( "Potential<seq2seq4repair_space>out<seq2seq4repair_space>of<seq2seq4repair_space>sync<seq2seq4repair_space>error<seq2seq4repair_space>in<seq2seq4repair_space>" + ( getClass ( ) . getName ( ) ) ) ) ;
Buggy code:
public class ThreadPoolManager { private final Logger fileLogger = LogManager . getLogger ( this . getClass ( ) ) ; private final ExecutorService izouThreadPool = Executors . newCachedThreadPool ( new ThreadPoolManager . LoggingThreadFactory ( ) ) ; private final ExecutorService addOnsThreadPool = Executors . newCachedThreadPool ( new ThreadPoolManager . LoggingThreadFactory ( ) ) ; public ExecutorService getIzouThreadPool ( ) { } public ExecutorService getAddOnsThreadPool ( ) { } public < V > Future < V > submitToIzouThreadPool ( Callable < V > callable ) { } public void submitToIzouThreadPool ( Runnable runnable ) { } private class LoggingThreadFactory implements ThreadFactory { @ SuppressWarnings ( "NullableProblems" ) @ Override public Thread newThread ( Runnable r ) { Thread t = new Thread ( ) { public void run ( ) { try { r . run ( ) ; } catch ( Exception | LinkageError e ) { try { Field target = Thread . class . getDeclaredField ( "target" ) ; target . setAccessible ( true ) ; try { ExceptionCallback exceptionCallback = ( ( ExceptionCallback ) ( target . get ( this ) ) ) ; if ( e instanceof Exception ) { exceptionCallback . exceptionThrown ( ( ( Exception ) ( e ) ) ) ; } else { exceptionCallback . exceptionThrown ( new RuntimeException ( e ) ) ; } } catch ( IllegalArgumentException | IllegalAccessException e1 ) { <START_BUG> fileLogger . debug ( "unable<seq2seq4repair_space>to<seq2seq4repair_space>provide<seq2seq4repair_space>callback" , e ) ; <END_BUG> } } catch ( NoSuchFieldException ecp ) { fileLogger . fatal ( e ) ; } } } } ; t . setPriority ( Thread . MIN_PRIORITY ) ; return t ; } } }

Fix:
fileLogger . fatal ( "unable<seq2seq4repair_space>to<seq2seq4repair_space>provide<seq2seq4repair_space>callback" , e ) ;
Buggy code:
public class AttachFileAction extends FrameAction { public AttachFileAction ( ComposerController composerController ) { } public void actionPerformed ( ActionEvent evt ) { <START_BUG> ComposerController composerController = ( ( ComposerController ) ( getFrameController ( ) ) ) ; <END_BUG> composerController . getAttachmentController ( ) . addFileAttachment ( ) ; } }

Fix:
ComposerController composerController = ( ( ComposerController ) ( getFrameMediator ( ) ) ) ;
Buggy code:
public class LocalizationTest implements NodeMain { private Publisher < GUIRectMsg > guiRectPub ; private Publisher < GUIPolyMsg > guiPolyPub ; private Publisher < GUIEraseMsg > guiErasePub ; private Publisher < GUIPointMsg > guiPtPub ; private Publisher < Object > ellipsePub ; private Publisher < Object > stringPub ; private ColorMsg redMsg ; private ColorMsg greenMsg ; private ColorMsg blueMsg ; private ColorMsg blackMsg ; private String mapFileName ; private GrandChallengeMap challengeMap ; private CSpace cSpace ; private ArrayList < ArrayList < PolygonObstacle > > obsCSpaces = new ArrayList < ArrayList < PolygonObstacle > > ( ) ; private RRT rrt ; private List < Point2D . Double > rrtPath ; private ParticleFilter particleFilter ; private Point2D . Double robotStart ; private Point2D . Double robotGoal ; private Point2D . Double prevPt ; private Color lightBlue = new Color ( 115 , 115 , 230 ) ; private Color darkBlue = new Color ( 50 , 40 , 120 ) ; private final int cspaceIndex = 90 ; private final double TOLERANCE = 0.02 ; public LocalizationTest ( ) { } @ Override public void onStart ( Node node ) { } private ArrayList < Point2D . Double > generateTestPath ( ) { } private ArrayList < Integer > getFidsInFOV ( Point2D . Double robotPos ) { } private HashMap < Integer , Double > getFidsDists ( Point2D . Double robotPos , ArrayList < Integer > measuredFiducials ) { } private void publishParticles ( ) { } private void refreshDisplay ( ) { guiErasePub . publish ( new GUIEraseMsg ( ) ) ; displayMap ( ) ; outputPath ( rrtPath , Color . RED ) ; publishParticles ( ) ; <START_BUG> publishEllipse ( prevPt . getX ( ) , robotGoal . getY ( ) , 0.1 , 0.1 , Color . ORANGE ) ; <END_BUG> } private void outputPath ( List < Point2D . Double > points , Color color ) { } private void displayMap ( ) { } private void displayMapCSpace ( ) { } protected void publishEllipse ( double x , double y , double w , double h , Color color ) { } protected void publishPoint ( double x , double y , int shape , Color color ) { } @ Override public void onShutdown ( Node node ) { } @ Override public void onShutdownComplete ( Node node ) { } @ Override public GraphName getDefaultNodeName ( ) { } No newline ; at end ; of file ; }

Fix:
publishEllipse ( prevPt . getX ( ) , prevPt . getY ( ) , 0.1 , 0.1 , Color . ORANGE ) ;
Buggy code:
public class StandardConfigsXMLValidationUnitTestCase extends AbstractValidationUnitTest { private static Source [ ] SCHEMAS ; @ BeforeClass public static void setUp ( ) { } private File tmpFile ; @ After public void cleanUp ( ) { } @ Test public void testHost ( ) throws Exception { } @ Test public void testHostSlave ( ) throws Exception { } @ Test public void testHostMaster ( ) throws Exception { } @ Test public void testDomain ( ) throws Exception { } @ Test public void testStandalone ( ) throws Exception { } @ Test public void testStandaloneHA ( ) throws Exception { } @ Test public void testStandaloneFull ( ) throws Exception { } @ Test public void testHornetQColocated ( ) throws Exception { } @ Test public void testStandaloneJTS ( ) throws Exception { } @ Test public void testStandaloneMinimalistic ( ) throws Exception { } @ Test public void testStandaloneXTS ( ) throws Exception { } @ Test public void testStandaloneRTS ( ) throws Exception { } private void parseXml ( String xmlName ) throws IOException , ParserConfigurationException , SAXException { } private File getXmlFile ( String xmlName ) throws IOException { } private static String fixExpressions ( String line ) { String result = line . replace ( "${jboss.management.native.port:9999}" , "9999" ) ; result = result . replace ( "${jboss.management.http.port:9990}" , "9990" ) ; <START_BUG> result = result . replace ( "${jboss.management.https.port:9443}" , "9443" ) ; <END_BUG> result = result . replace ( "${jboss.domain.master.port:9999}" , "9999" ) ; result = result . replace ( "${jboss.messaging.group.port:9876}" , "9876" ) ; result = result . replace ( "${jboss.socket.binding.port-offset:0}" , "0" ) ; result = result . replace ( "${jboss.http.port:8080}" , "8080" ) ; result = result . replace ( "${jboss.https.port:8443}" , "8443" ) ; result = result . replace ( "${jboss.remoting.port:4447}" , "4447" ) ; result = result . replace ( "${jboss.ajp.port:8009}" , "8009" ) ; return result ; } }

Fix:
result = result . replace ( "${jboss.management.https.port:9993}" , "9993" ) ;
Buggy code:
public class PropertiesFile extends Properties implements IPropertyFile { protected IFile ifile = null ; protected File file = null ; protected char separator = '=' ; protected boolean hasEscapedCode = false ; private static final long serialVersionUID = 4061423679037109983L ; public PropertiesFile ( ) { } public PropertiesFile ( IFile ifile ) { } public PropertiesFile ( File file ) { } public PropertiesFile ( InputStream stream ) { } public synchronized void load ( InputStream inStream ) throws IOException { } private Map . Entry < String , String > splitLine ( String line ) { } private String loadConvert ( char [ ] in , int off , int len , char [ ] convtBuf ) { } private String saveConvert ( String theString , boolean escapeSpace , boolean escapeUnicode ) { } private static char toHex ( int nibble ) { } private static final char [ ] hexDigit = new char [ ] { '0' , '1' , '2' , '3' , '4' , '5' , '6' , '7' , '8' , '9' , 'A' , 'B' , 'C' , 'D' , 'E' , 'F' } ; public String [ ] getKeys ( ) { } public void save ( ) throws IOException , CoreException { } private void storeFile ( File file , String comments , boolean escUnicode ) throws IOException { File tmpFile = new File ( ( ( file . getAbsoluteFile ( ) ) + ".bak" ) ) ; file . renameTo ( tmpFile ) ; BufferedReader br = new BufferedReader ( new InputStreamReader ( new FileInputStream ( tmpFile ) , "UTF-8" ) ) ; BufferedWriter bw = new BufferedWriter ( new OutputStreamWriter ( new FileOutputStream ( file ) , "UTF-8" ) ) ; try { String srcLine ; Set < String > keys = new HashSet < String > ( Arrays . asList ( getKeys ( ) ) ) ; while ( ( srcLine = br . readLine ( ) ) != null ) { Map . Entry < String , String > entry = splitLine ( srcLine ) ; if ( entry != null ) { String key = entry . getKey ( ) ; String oldValue = entry . getValue ( ) ; String newValue = getProperty ( key ) ; keys . remove ( key ) ; if ( ( newValue != null ) && ( ! ( newValue . equals ( oldValue ) ) ) ) { String newConvKey = saveConvert ( entry . getKey ( ) , true , escUnicode ) ; <START_BUG> String newConvValue = saveConvert ( entry . getValue ( ) . trim ( ) , false , escUnicode ) ; <END_BUG> bw . write ( ( ( newConvKey + ( separator ) ) + newConvValue ) ) ; } else { bw . write ( srcLine ) ; } } else { bw . write ( srcLine ) ; } bw . newLine ( ) ; } for ( String key : keys ) { String newConvKey = saveConvert ( key , true , escUnicode ) ; String newConvValue = saveConvert ( getProperty ( key ) , false , escUnicode ) ; if ( ( newConvValue != null ) && ( ! ( newConvValue . isEmpty ( ) ) ) ) { bw . write ( ( ( newConvKey + ( separator ) ) + newConvValue ) ) ; bw . newLine ( ) ; } } } finally { br . close ( ) ; bw . close ( ) ; } } public void saveAsEscapedUnicode ( ) throws IOException , CoreException { } public void saveAsUnescapedUnicode ( ) throws IOException , CoreException { } public IFile getIFile ( ) { } public File getFile ( ) { } public boolean hasEscapedCode ( ) { } }

Fix:
String newConvValue = saveConvert ( newValue . trim ( ) , false , escUnicode ) ;
Buggy code:
public class ClientApplication { public static final int DEFAULT_WAITTIME = 40000 ; public static final int DEFAULT_TIMEOUT = TCPServerSOContainer . DEFAULT_KEEPALIVE ; public static final String CONTAINER_FACTORY_NAME = GenericContainerInstantiator . class . getName ( ) ; public static final String CONTAINER_FACTORY_CLASS = ClientApplication . CONTAINER_FACTORY_NAME ; public static final String COMPOSENT_CONTAINER_NAME = GenericContainerInstantiator . class . getName ( ) ; static int clientCount = 1 ; ISharedObjectContainer [ ] sm = new ISharedObjectContainer [ ClientApplication . clientCount ] ; String serverName = null ; String [ ] sharedObjectClassNames = null ; ID [ ] sharedObjects = null ; static ContainerTypeDescription contd = null ; static Random aRan = new Random ( ) ; public ClientApplication ( ) { } public void init ( String [ ] args ) throws Exception { } protected ISharedObjectContainer createClient ( ) throws Exception { ID newContainerID = IDFactory . getDefault ( ) . createGUID ( ) ; <START_BUG> ISharedObjectContainer result = SharedObjectContainerFactory . getDefault ( ) . createSharedObjectContainer ( ClientApplication . contd , null , new Object [ ] { newContainerID , new Integer ( ClientApplication . DEFAULT_TIMEOUT ) } ) ; <END_BUG> return result ; } public void connect ( ID server ) throws Exception { } public void disconnect ( ) { } public void createSharedObjects ( ) throws Exception { } public void removeSharedObjects ( ) throws Exception { } public static void main ( String [ ] args ) throws Exception { } }

Fix:
ISharedObjectContainer result = SharedObjectContainerFactory . getDefault ( ) . createSharedObjectContainer ( ClientApplication . contd , new Object [ ] { newContainerID , new Integer ( ClientApplication . DEFAULT_TIMEOUT ) } ) ;
Buggy code:
class Puzzle implements MouseListener { private JFrame frame ; private final List < Tile > list = new ArrayList < > ( ) ; private Settings settings ; private Tile [ ] square ; private int [ ] tileSize ; private int [ ] screenSize ; private int fieldSize ; public void start ( Settings settings ) { } public void mousePressed ( MouseEvent e ) { } public void mouseReleased ( MouseEvent e ) { } public void mouseEntered ( MouseEvent e ) { } public void mouseExited ( MouseEvent e ) { } public void mouseClicked ( MouseEvent e ) { int x = e . getComponent ( ) . getX ( ) ; int y = e . getComponent ( ) . getY ( ) ; int num = 0 ; int [ ] state = new int [ fieldSize ] ; for ( int i = 0 ; i < ( fieldSize ) ; i ++ ) { if ( ( square [ i ] . getBackground ( ) ) == ( Color . WHITE ) ) { num = i ; } } int x2 = square [ num ] . getX ( ) ; int y2 = square [ num ] . getY ( ) ; <START_BUG> if ( ( ( ( ( Math . abs ( ( x - x2 ) ) ) < ( ( screenSize [ 0 ] ) // ( tileSize [ 1 ] ) ) ) && ( ( Math . abs ( ( x - x2 ) ) ) > 1 ) ) && ( y == y2 ) ) || ( ( ( ( Math . abs ( ( y - y2 ) ) ) < ( ( screenSize [ 1 ] ) // ( tileSize [ 0 ] ) ) ) && ( ( Math . abs ( ( y - y2 ) ) ) > 1 ) ) && ( x == x2 ) ) ) { <END_BUG> e . getComponent ( ) . setBackground ( Color . WHITE ) ; square [ num ] . setNumber ( ( ( Tile ) ( e . getComponent ( ) ) ) . getNumber ( ) ) ; ( ( Tile ) ( e . getComponent ( ) ) ) . setNumber ( 0 ) ; square [ num ] . setBackground ( Color . darkGray ) ; } for ( int i = 0 ; i < ( fieldSize ) ; i ++ ) { state [ i ] = square [ i ] . getNumber ( ) ; } checkWin ( gameState ( state ) ) ; } private String gameState ( int [ ] state ) { } private void checkWin ( String s ) { } No newline ; at end ; of file ; }

Fix:
if ( ( ( ( ( Math . abs ( ( x - x2 ) ) ) < ( ( screenSize [ 0 ] ) // ( tileSize [ 0 ] ) ) ) && ( ( Math . abs ( ( x - x2 ) ) ) > 1 ) ) && ( y == y2 ) ) || ( ( ( ( Math . abs ( ( y - y2 ) ) ) < ( ( screenSize [ 1 ] ) // ( tileSize [ 1 ] ) ) ) && ( ( Math . abs ( ( y - y2 ) ) ) > 1 ) ) && ( x == x2 ) ) ) {
Buggy code:
abstract class XalanExecutor { protected AggregateTransformer caller ; private final void setCaller ( AggregateTransformer caller ) { } protected OutputStream getOutputStream ( ) throws IOException { } abstract void execute ( ) throws Exception { } static XalanExecutor newInstance ( AggregateTransformer caller ) throws BuildException { Class procVersion = null ; XalanExecutor executor = null ; try { procVersion = Class . forName ( "org.apache.xalan.processor.XSLProcessorVersion" ) ; executor = ( ( XalanExecutor ) ( Class . forName ( "org.apache.tools.ant.taskdefs.optional.junit.Xalan2Executor" ) . newInstance ( ) ) ) ; } catch ( Exception xalan2missing ) { try { procVersion = Class . forName ( "org.apache.xalan.xslt.XSLProcessorVersion" ) ; executor = ( ( XalanExecutor ) ( Class . forName ( "org.apache.tools.ant.taskdefs.optional.junit.Xalan1Executor" ) . newInstance ( ) ) ) ; } catch ( Exception xalan1missing ) { <START_BUG> throw new BuildException ( "Could<seq2seq4repair_space>not<seq2seq4repair_space>find<seq2seq4repair_space>xalan2<seq2seq4repair_space>nor<seq2seq4repair_space>xalan1<seq2seq4repair_space>in<seq2seq4repair_space>the<seq2seq4repair_space>classpath.<seq2seq4repair_space>Check<seq2seq4repair_space>http:////xml.apache.org//xalan-j" ) ; <END_BUG> } } String version = XalanExecutor . getXalanVersion ( procVersion ) ; caller . task . log ( ( "Using<seq2seq4repair_space>Xalan<seq2seq4repair_space>version:<seq2seq4repair_space>" + version ) ) ; executor . setCaller ( caller ) ; return executor ; } private static String getXalanVersion ( Class procVersion ) { } }

Fix:
throw new BuildException ( "Could<seq2seq4repair_space>not<seq2seq4repair_space>find<seq2seq4repair_space>xalan2<seq2seq4repair_space>nor<seq2seq4repair_space>xalan1<seq2seq4repair_space>in<seq2seq4repair_space>the<seq2seq4repair_space>classpath.<seq2seq4repair_space>Check<seq2seq4repair_space>http:////xml.apache.org//xalan-j//" ) ;
Buggy code:
@ Service public class CommentServiceImpl extends BaseServiceImpl implements ConstantProperties , ParameterProperties , CommentService { @ Autowired private CommentRepository commentRepository ; @ Autowired private ResourceRepository resourceRepository ; @ Autowired private CustomTableRepository customTableRepository ; @ Autowired private MailAsyncExecutor mailAsyncExecuter ; @ Autowired private PartyRepository partyRepository ; @ Autowired private UserService userService ; @ Autowired private CollectionRepository collectionRepository ; @ Autowired private ContentService contentService ; @ Override public ActionResponseDTO < Comment > createComment ( Comment comment , User user ) { } @ Override public Comment updateComment ( String commentUid , Comment newComment , User user ) { } @ Override public Comment getComment ( String commentUid ) { } @ Override public List < Comment > getComments ( String itemId , String gooruOid , String gooruUid , Integer limit , Integer offset , String fetchType ) { } @ Override public SearchResults < Comment > getCommentsCount ( String itemId , String gooruOid , String gooruUid , Integer limit , Integer offset , String fetchType ) { } @ Override public void deleteComment ( String commentUid , User user , Boolean softdelete ) { Comment comment = this . getCommentRepository ( ) . getComment ( commentUid ) ; <START_BUG> rejectIfNull ( comment , COMMENT , GL0057 , generateErrorMessage ( GL0057 , COMMENT ) ) ; <END_BUG> Content content = this . getResourceRepository ( ) . findResourceByContent ( comment . getGooruOid ( ) ) ; List < String > contentPermissions = contentService . getContentPermission ( content , user ) ; boolean hasPermission = false ; for ( String contentPermission : contentPermissions ) { if ( contentPermission . equalsIgnoreCase ( EDIT ) ) { hasPermission = true ; break ; } } if ( ( ( ! hasPermission ) && ( content != null ) ) && ( content . getUser ( ) . getPartyUid ( ) . equalsIgnoreCase ( user . getPartyUid ( ) ) ) ) { hasPermission = true ; } else if ( comment . getCommentorUid ( ) . getPartyUid ( ) . equalsIgnoreCase ( user . getPartyUid ( ) ) ) { hasPermission = true ; } if ( hasPermission ) { if ( softdelete ) { comment . setIsDeleted ( true ) ; this . getCommentRepository ( ) . save ( comment ) ; } else { this . getCommentRepository ( ) . remove ( comment ) ; } } else { throw new AccessDeniedException ( "Permission<seq2seq4repair_space>denied<seq2seq4repair_space>" ) ; } } @ Override public Boolean isContentOwner ( String commentUid , User user ) { } public void commentMailNotification ( Comment comment , User user ) { } private Errors validateComment ( Comment comment ) { } public CommentRepository getCommentRepository ( ) { } public ResourceRepository getResourceRepository ( ) { } public CustomTableRepository getCustomTableRepository ( ) { } public UserService getUserService ( ) { } public MailAsyncExecutor getMailAsyncExecuter ( ) { } public CollectionRepository getCollectionRepository ( ) { } public PartyRepository getPartyRepository ( ) { } }

Fix:
rejectIfNull ( comment , GL0057 , 404 , COMMENT ) ;
Buggy code:
public class BeanShell extends AbstractFunction implements Serializable { private static final Logger log = LoggingManager . getLoggerForClass ( ) ; private static final long serialVersionUID = 232L ; private static final List desc = new LinkedList ( ) ; private static final String KEY = "__BeanShell" ; public static final String INIT_FILE = "beanshell.function.init" ; private transient Object [ ] values ; private transient BeanShellInterpreter bshInterpreter = null ; public BeanShell ( ) { } public Object clone ( ) throws CloneNotSupportedException { } public synchronized String execute ( SampleResult previousResult , Sampler currentSampler ) throws InvalidVariableException { if ( ( bshInterpreter ) == null ) { throw new InvalidVariableException ( "BeanShell<seq2seq4repair_space>not<seq2seq4repair_space>found" ) ; } JMeterContext jmctx = JMeterContextService . getContext ( ) ; JMeterVariables vars = jmctx . getVariables ( ) ; String script = ( ( org . apache . jmeter . engine . util . CompoundVariable ) ( values [ 0 ] ) ) . execute ( ) ; String varName = "" ; if ( ( values . length ) > 1 ) { varName = ( ( org . apache . jmeter . engine . util . CompoundVariable ) ( values [ 1 ] ) ) . execute ( ) ; } String resultStr = "" ; BeanShell . log . debug ( ( "Script=" + script ) ) ; try { if ( currentSampler != null ) { bshInterpreter . set ( "Sampler" , currentSampler ) ; } if ( previousResult != null ) { bshInterpreter . set ( "SampleResult" , previousResult ) ; } bshInterpreter . set ( "ctx" , jmctx ) ; bshInterpreter . set ( "vars" , vars ) ; bshInterpreter . set ( "threadName" , Thread . currentThread ( ) . getName ( ) ) ; Object bshOut = bshInterpreter . eval ( script ) ; if ( bshOut != null ) { resultStr = bshOut . toString ( ) ; } <START_BUG> if ( ( varName . length ( ) ) > 0 ) { <END_BUG> vars . put ( varName , resultStr ) ; } } catch ( Exception ex ) { BeanShell . log . warn ( "Error<seq2seq4repair_space>running<seq2seq4repair_space>BSH<seq2seq4repair_space>script" , ex ) ; } BeanShell . log . debug ( ( "Output=" + resultStr ) ) ; return resultStr ; } public void log_info ( String s ) { } public synchronized void setParameters ( Collection parameters ) throws InvalidVariableException { } public String getReferenceKey ( ) { } public List getArgumentDesc ( ) { } }

Fix:
if ( ( vars != null ) && ( ( varName . length ( ) ) > 0 ) ) {
Buggy code:
public class AllTests { public static Test suite ( ) { <START_BUG> TestSuite suite = new TestSuite ( "Tests<seq2seq4repair_space>for<seq2seq4repair_space>org.eclipse.xtend.typesystem.xsd.tests.AllTests" ) ; <END_BUG> suite . addTestSuite ( CompositeTypesTest . class ) ; suite . addTestSuite ( EcoreBuilderTest . class ) ; suite . addTestSuite ( EMapTest . class ) ; suite . addTestSuite ( XtendXMLReaderTest . class ) ; suite . addTestSuite ( FeatureMapTest . class ) ; suite . addTestSuite ( LoadSchemaByWorkflowTest . class ) ; suite . addTestSuite ( LoadSchemaByXMLNoNamespaceSchemalocationTest . class ) ; suite . addTestSuite ( LoadSchemaByXMLSchemalocationTest . class ) ; suite . addTestSuite ( LoadSchemaByXSDImportTest . class ) ; suite . addTestSuite ( LoadSchemaByXSDIncludeTest . class ) ; suite . addTestSuite ( NSMappingTest . class ) ; suite . addTestSuite ( QNameTest . class ) ; suite . addTestSuite ( ReloadSchemasTest . class ) ; suite . addTestSuite ( TypeMapperTest . class ) ; suite . addTestSuite ( XMLProcessorTest . class ) ; suite . addTestSuite ( XMLReaderTest . class ) ; suite . addTestSuite ( XMLWriterTest . class ) ; suite . addTestSuite ( XSDEcoreBuilderTest . class ) ; suite . addTestSuite ( XSDMetaModelTest . class ) ; return suite ; } }

Fix:
TestSuite suite = new TestSuite ( "Tests<seq2seq4repair_space>for<seq2seq4repair_space>org.eclipse.xtend.typesystem.xsd.tests" ) ;