nus-yam/ex-repair huggingface dataset:
Buggy code:
public final class Lookup { private static Resolver defaultResolver ; private static Name [ ] defaultSearchPath ; private static Map defaultCaches ; private Resolver resolver ; private Name [ ] searchPath ; private Cache cache ; private boolean temporary_cache ; private int credibility ; private Name name ; private int type ; private int dclass ; private boolean verbose ; private int iterations ; private boolean foundAlias ; private boolean done ; private boolean doneCurrent ; private List aliases ; private Record [ ] answers ; private int result ; private String error ; private boolean nxdomain ; private boolean badresponse ; private String badresponse_error ; private boolean networkerror ; private boolean timedout ; private boolean nametoolong ; private boolean referral ; private static final Name [ ] noAliases = new Name [ 0 ] ; public static final int SUCCESSFUL = 0 ; public static final int UNRECOVERABLE = 1 ; public static final int TRY_AGAIN = 2 ; public static final int HOST_NOT_FOUND = 3 ; public static final int TYPE_NOT_FOUND = 4 ; public static synchronized void refreshDefault ( ) { } public static synchronized Resolver getDefaultResolver ( ) { } public static synchronized void setDefaultResolver ( Resolver resolver ) { } public static synchronized Cache getDefaultCache ( int dclass ) { } public static synchronized void setDefaultCache ( Cache cache , int dclass ) { } public static synchronized Name [ ] getDefaultSearchPath ( ) { } public static synchronized void setDefaultSearchPath ( Name [ ] domains ) { } public static synchronized void setDefaultSearchPath ( String [ ] domains ) throws TextParseException { } private final void reset ( ) { } public Lookup ( Name name , int type , int dclass ) { } public Lookup ( Name name , int type ) { } public Lookup ( Name name ) { } public Lookup ( String name , int type , int dclass ) throws TextParseException { } public Lookup ( String name , int type ) throws TextParseException { } public Lookup ( String name ) throws TextParseException { } public void setResolver ( Resolver resolver ) { } public void setSearchPath ( Name [ ] domains ) { } public void setSearchPath ( String [ ] domains ) throws TextParseException { } public void setCache ( Cache cache ) { if ( cache == null ) { <START_BUG> this . cache = new Cache ( dclass , 0 ) ; <END_BUG> this . temporary_cache = true ; } else { this . cache = cache ; this . temporary_cache = false ; } } public void setCredibility ( int credibility ) { } private void follow ( Name name , Name oldname ) { } private void processResponse ( Name name , SetResponse response ) { } private void lookup ( Name current ) { } private void resolve ( Name current , Name suffix ) { } public Record [ ] run ( ) { } private void checkDone ( ) { } public Record [ ] getAnswers ( ) { } public Name [ ] getAliases ( ) { } public int getResult ( ) { } public String getErrorString ( ) { } }

Fix:
this . cache = new Cache ( dclass ) ;
Buggy code:
public class TestGermanLightStemFilter extends BaseTokenStreamTestCase { private Analyzer analyzer = new Analyzer ( ) { @ Override protected TokenStreamComponents createComponents ( String fieldName , Reader reader ) { } } ; public void testVocabulary ( ) throws IOException { } public void testRandomStrings ( ) throws Exception { <START_BUG> checkRandomData ( random ( ) , analyzer , ( 10000 * ( RANDOM_MULTIPLIER ) ) ) ; <END_BUG> } public void testEmptyTerm ( ) throws IOException { } }

Fix:
checkRandomData ( random ( ) , analyzer , ( 1000 * ( RANDOM_MULTIPLIER ) ) ) ;
Buggy code:
public class EqualExpression extends BinaryExpression { public EqualExpression ( Expression left , Expression right , int operator ) { } public void checkNullComparison ( BlockScope scope , FlowContext flowContext , FlowInfo flowInfo , FlowInfo initsWhenTrue , FlowInfo initsWhenFalse ) { } private void checkVariableComparison ( BlockScope scope , FlowContext flowContext , FlowInfo flowInfo , FlowInfo initsWhenTrue , FlowInfo initsWhenFalse , LocalVariableBinding local , int nullStatus , Expression reference ) { } public FlowInfo analyseCode ( BlockScope currentScope , FlowContext flowContext , FlowInfo flowInfo ) { } public final void computeConstant ( TypeBinding leftType , TypeBinding rightType ) { } public void generateCode ( BlockScope currentScope , CodeStream codeStream , boolean valueRequired ) { } public void generateOptimizedBoolean ( BlockScope currentScope , CodeStream codeStream , Label trueLabel , Label falseLabel , boolean valueRequired ) { } public void generateOptimizedBooleanEqual ( BlockScope currentScope , CodeStream codeStream , Label trueLabel , Label falseLabel , boolean valueRequired ) { if ( ( left . constant ) != ( NotAConstant ) ) { boolean inline = left . constant . booleanValue ( ) ; right . generateOptimizedBoolean ( currentScope , codeStream , ( inline ? trueLabel : falseLabel ) , ( inline ? falseLabel : trueLabel ) , valueRequired ) ; return ; } if ( ( right . constant ) != ( NotAConstant ) ) { boolean inline = right . constant . booleanValue ( ) ; left . generateOptimizedBoolean ( currentScope , codeStream , ( inline ? trueLabel : falseLabel ) , ( inline ? falseLabel : trueLabel ) , valueRequired ) ; return ; } left . generateCode ( currentScope , codeStream , valueRequired ) ; right . generateCode ( currentScope , codeStream , valueRequired ) ; if ( valueRequired ) { if ( falseLabel == null ) { if ( trueLabel != null ) { codeStream . if_icmpeq ( trueLabel ) ; } } else { if ( trueLabel == null ) { codeStream . if_icmpne ( falseLabel ) ; } else { } } } <START_BUG> codeStream . updateLastRecordedEndPC ( codeStream . position ) ; <END_BUG> } public void generateOptimizedNonBooleanEqual ( BlockScope currentScope , CodeStream codeStream , Label trueLabel , Label falseLabel , boolean valueRequired ) { } public boolean isCompactableOperation ( ) { } public TypeBinding resolveType ( BlockScope scope ) { } public void traverse ( ASTVisitor visitor , BlockScope scope ) { } }

Fix:
codeStream . updateLastRecordedEndPC ( currentScope , codeStream . position ) ;
Buggy code:
public class Main { public static void main ( String ... args ) throws Exception { <START_BUG> BadgesPrintable badgesPrintable = new BadgesPrintable ( new SequenceBadgeFactory ( Color . RED , Color . WHITE , 22 , 44 ) ) ; <END_BUG> PrinterJob job = PrinterJob . getPrinterJob ( ) ; PageFormat pf = job . defaultPage ( ) ; Paper paper = pf . getPaper ( ) ; paper . setImageableArea ( 0 , 0 , paper . getWidth ( ) , paper . getHeight ( ) ) ; pf . setPaper ( paper ) ; job . setPrintable ( badgesPrintable , pf ) ; job . print ( ) ; } }

Fix:
BadgesPrintable badgesPrintable = new BadgesPrintable ( new SequenceBadgeFactory ( Color . RED , Color . WHITE , 1 , 51 ) ) ;
Buggy code:
public class InterTypeMethodDeclaration extends InterTypeDeclaration { public InterTypeMethodDeclaration ( CompilationResult result , TypeReference onType ) { } public void parseStatements ( Parser parser , CompilationUnitDeclaration unit ) { } protected char [ ] getPrefix ( ) { } public void analyseCode ( ClassScope currentScope , InitializationFlowContext flowContext , FlowInfo flowInfo ) { } public void resolve ( ClassScope upperScope ) { } public void resolveStatements ( ) { } public EclipseTypeMunger build ( ClassScope classScope ) { EclipseFactory world = EclipseFactory . fromScopeLookupEnvironment ( classScope ) ; resolveOnType ( classScope ) ; if ( ignoreFurtherInvestigation ) return null ; binding = classScope . referenceContext . binding . resolveTypesFor ( binding ) ; if ( ( binding ) == null ) { this . ignoreFurtherInvestigation = true ; throw new org . aspectj . org . eclipse . jdt . internal . compiler . problem . AbortCompilationUnit ( compilationResult , null ) ; } if ( isTargetAnnotation ( classScope , "method" ) ) return null ; if ( isTargetEnum ( classScope , "method" ) ) return null ; ResolvedMember sig = new ResolvedMember ( Member . METHOD , world . fromBinding ( onTypeBinding ) , declaredModifiers , world . fromBinding ( returnType ) , new String ( declaredSelector ) , world . fromBindings ( parameters ) , world . fromEclipse ( thrownExceptions ) ) ; NewMethodTypeMunger myMunger = new NewMethodTypeMunger ( sig , null ) ; setMunger ( myMunger ) ; ResolvedType aspectType = world . fromEclipse ( classScope . referenceContext . binding ) ; <START_BUG> ResolvedMember me = myMunger . getDispatchMethod ( aspectType ) ; <END_BUG> this . selector = binding . selector = me . getName ( ) . toCharArray ( ) ; return new EclipseTypeMunger ( world , myMunger , aspectType , this ) ; } private AjAttribute makeAttribute ( ) { } public void generateCode ( ClassScope classScope , ClassFile classFile ) { } public void generateDispatchMethod ( ClassScope classScope , ClassFile classFile ) { } protected Kind getShadowKindForBody ( ) { } }

Fix:
ResolvedMember me = myMunger . getInterMethodBody ( aspectType ) ;
Buggy code:
public class TableColumn extends Item { Table parent ; boolean resizable ; boolean moveable ; public TableColumn ( Table parent , int style ) { } public TableColumn ( Table parent , int style , int index ) { } public void addControlListener ( ControlListener listener ) { } public void addSelectionListener ( SelectionListener listener ) { } static int checkStyle ( int style ) { } protected void checkSubclass ( ) { } public int getAlignment ( ) { } String getNameText ( ) { } public Table getParent ( ) { } public boolean getMoveable ( ) { } public boolean getResizable ( ) { } public int getWidth ( ) { } public void pack ( ) { } void releaseChild ( ) { } void releaseWidget ( ) { super . releaseWidget ( ) ; <START_BUG> if ( ( ( parent ) != null ) && ( ( parent . sortColumn ) == ( this ) ) ) { <END_BUG> parent . sortColumn = null ; } parent = null ; } public void removeControlListener ( ControlListener listener ) { } public void removeSelectionListener ( SelectionListener listener ) { } public void setAlignment ( int alignment ) { } public void setImage ( Image image ) { } void setImage ( Image image , boolean sort , boolean right ) { } public void setMoveable ( boolean moveable ) { } public void setResizable ( boolean resizable ) { } void setSortDirection ( int direction ) { } public void setText ( String string ) { } public void setWidth ( int width ) { } }

Fix:
if ( ( parent . sortColumn ) == ( this ) ) {
Buggy code:
public class PageProvider implements IPageProvider { private Integer renderCount ; private IPageSource pageSource ; private IRequestablePage pageInstance ; private Class < ? extends IRequestablePage > pageClass ; private Integer pageId ; private PageParameters pageParameters ; public PageProvider ( final int pageId , final Integer renderCount ) { } public PageProvider ( final int pageId , final Class < ? extends IRequestablePage > pageClass , Integer renderCount ) { } public PageProvider ( final int pageId , final Class < ? extends IRequestablePage > pageClass , final PageParameters pageParameters , final Integer renderCount ) { } public PageProvider ( final Class < ? extends IRequestablePage > pageClass , final PageParameters pageParameters ) { } public PageProvider ( Class < ? extends IRequestablePage > pageClass ) { } public PageProvider ( IRequestablePage page ) { } public IRequestablePage getPageInstance ( ) { if ( ( pageInstance ) == null ) { pageInstance = getPageInstance ( pageId , pageClass , pageParameters , renderCount ) ; if ( ( pageInstance ) == null ) { <START_BUG> throw new PageExpiredException ( "Page<seq2seq4repair_space>expired." ) ; <END_BUG> } touchPageInstance ( pageInstance ) ; } return pageInstance ; } private void touchPageInstance ( IRequestablePage page ) { } public PageParameters getPageParameters ( ) { } public boolean isNewPageInstance ( ) { } public Class < ? extends IRequestablePage > getPageClass ( ) { } protected IPageSource getPageSource ( ) { } private IRequestablePage getPageInstance ( Integer pageId , Class < ? extends IRequestablePage > pageClass , PageParameters pageParameters , Integer renderCount ) { } public void detach ( ) { } public void setPageSource ( IPageSource pageSource ) { } private void setPageClass ( Class < ? extends IRequestablePage > pageClass ) { } private void setPageParameters ( PageParameters pageParameters ) { } public Integer getPageId ( ) { } public Integer getRenderCount ( ) { } }

Fix:
throw new PageExpiredException ( ( ( "Page<seq2seq4repair_space>with<seq2seq4repair_space>id<seq2seq4repair_space>'" + ( pageId ) ) + "'<seq2seq4repair_space>has<seq2seq4repair_space>expired." ) ) ;
Buggy code:
class AddressSettingsWriteHandler extends AbstractWriteAttributeHandler < AddressSettingsWriteHandler . RevertHandback > { static final AddressSettingsWriteHandler INSTANCE = new AddressSettingsWriteHandler ( ) ; public void registerAttributes ( final ManagementResourceRegistration registry , boolean registerRuntimeOnly ) { } protected AddressSettingsWriteHandler ( ) { } @ Override protected boolean applyUpdateToRuntime ( final OperationContext context , final ModelNode operation , final String attributeName , final ModelNode resolvedValue , final ModelNode currentValue , final HandbackHolder < AddressSettingsWriteHandler . RevertHandback > handbackHolder ) throws OperationFailedException { <START_BUG> final Resource resource = context . readResourceForUpdate ( EMPTY_ADDRESS ) ; <END_BUG> final HornetQServer server = AddressSettingAdd . getServer ( context , operation ) ; if ( server != null ) { final ModelNode model = resource . getModel ( ) ; final PathAddress address = PathAddress . pathAddress ( operation . require ( OP_ADDR ) ) ; final AddressSettings settings = AddressSettingAdd . createSettings ( context , model ) ; final HierarchicalRepository < AddressSettings > repository = server . getAddressSettingsRepository ( ) ; final String match = address . getLastElement ( ) . getValue ( ) ; final AddressSettings existingSettings = repository . getMatch ( match ) ; repository . addMatch ( match , settings ) ; if ( existingSettings != null ) { handbackHolder . setHandback ( new AddressSettingsWriteHandler . RevertHandback ( ) { @ Override public void doRevertUpdateToRuntime ( ) { repository . addMatch ( address . getLastElement ( ) . getValue ( ) , existingSettings ) ; } } ) ; } } return false ; } @ Override protected void revertUpdateToRuntime ( final OperationContext context , final ModelNode operation , final String attributeName , final ModelNode valueToRestore , final ModelNode valueToRevert , final AddressSettingsWriteHandler . RevertHandback handback ) throws OperationFailedException { } static interface RevertHandback { void doRevertUpdateToRuntime ( ) { } } }

Fix:
final Resource resource = context . readResource ( EMPTY_ADDRESS ) ;
Buggy code:
public class MapEntity_Relation extends MapDrawableThing_Relation { public class AreaEffect extends MapDrawableThing_Relation . AreaEffect { @ Override public void repeat ( int x_pos , int y_pos , int strength , Effect effect ) { } public void effectAreaWithinArc ( int length , int strength , Effect effect ) { } public void effectAreaWithinLine ( int length , int strength , Effect effect ) { } } public final MapEntity_Relation . AreaEffect areaEffectFunctor = new MapEntity_Relation . AreaEffect ( ) ; public int dropItem ( ) { } private final Entity entity_ ; public MapEntity_Relation ( Map m , Entity entity , int x_respawn_point , int y_respawn_point ) { } public int moveInDirection ( int x , int y ) { } public int pickUpItemInDirection ( int x , int y ) { int error_code = - 1 ; Item itemToBePickedUp = current_map_reference_ . removeTopItem ( ( x + ( getMyXCoordinate ( ) ) ) , ( y + ( getMyYCoordinate ( ) ) ) ) ; if ( itemToBePickedUp != null ) { try { entity_ . addItemToInventory ( ( ( PickupableItem ) ( itemToBePickedUp ) ) ) ; } catch ( ClassCastException c ) { return - 2 ; } <START_BUG> Display . setMessage ( ( "Picked<seq2seq4repair_space>up<seq2seq4repair_space>item:<seq2seq4repair_space>" + ( itemToBePickedUp . name_ ) ) , 3 ) ; <END_BUG> error_code = 0 ; } else { Display . getDisplay ( ) . setMessage ( "There<seq2seq4repair_space>is<seq2seq4repair_space>nothing<seq2seq4repair_space>here<seq2seq4repair_space>to<seq2seq4repair_space>pick<seq2seq4repair_space>up." ) ; } return error_code ; } public int respawn ( ) { } public int sendAttack ( int x , int y ) { } public int sendAttack ( Entity target_entity ) { } public int sendAttack ( ) { } public String sendGreeting ( Entity target ) { } public String sendGreeting ( ) { } public int teleportTo ( int new_x , int new_y ) { } private final int x_respawn_point_ ; private final int y_respawn_point_ ; }

Fix:
Display . getDisplay ( ) . setMessage ( ( "Picked<seq2seq4repair_space>up<seq2seq4repair_space>item:<seq2seq4repair_space>" + ( itemToBePickedUp . name_ ) ) ) ;
Buggy code:
public class RawTypeBinding extends ParameterizedTypeBinding { public RawTypeBinding ( ReferenceBinding type , ReferenceBinding enclosingType , LookupEnvironment environment ) { } public char [ ] computeUniqueKey ( boolean isLeaf ) { } public ParameterizedMethodBinding createParameterizedMethod ( MethodBinding originalMethod ) { } public int kind ( ) { } public String debugName ( ) { } public char [ ] genericTypeSignature ( ) { } public boolean isEquivalentTo ( TypeBinding otherType ) { } public boolean isParameterizedType ( ) { } public boolean isRawType ( ) { } protected void initializeArguments ( ) { TypeVariableBinding [ ] typeVariables = this . type . typeVariables ( ) ; int length = typeVariables . length ; TypeBinding [ ] typeArguments = new TypeBinding [ length ] ; for ( int i = 0 ; i < length ; i ++ ) { <START_BUG> typeArguments [ i ] = typeVariables [ i ] . erasure ( ) ; <END_BUG> } this . arguments = typeArguments ; } public char [ ] readableName ( ) { } public char [ ] shortReadableName ( ) { } }

Fix:
typeArguments [ i ] = typeVariables [ i ] . upperBound ( ) ;
Buggy code:
public class Math extends AbstractVal { public static final String ADD = "+" ; public static final String SUBTRACT = "-" ; public static final String MULTIPLY = "*" ; public static final String DIVIDE = "//" ; public static final String MOD = "MOD" ; private final Val _val1 ; private final Val _val2 ; private final String _op ; private ClassMetaData _meta = null ; private Class _cast = null ; public Math ( Val val1 , Val val2 , String op ) { } public Val getVal1 ( ) { } public Val getVal2 ( ) { } public String getOperation ( ) { } public ClassMetaData getMetaData ( ) { } public void setMetaData ( ClassMetaData meta ) { } public Class getType ( ) { } public void setImplicitType ( Class type ) { } public ExpState initialize ( Select sel , ExpContext ctx , int flags ) { } public void select ( Select sel , ExpContext ctx , ExpState state , boolean pks ) { } public void selectColumns ( Select sel , ExpContext ctx , ExpState state , boolean pks ) { } public void groupBy ( Select sel , ExpContext ctx , ExpState state ) { } public void orderBy ( Select sel , ExpContext ctx , ExpState state , boolean asc ) { <START_BUG> sel . orderBy ( newSQLBuffer ( sel , ctx , state ) , asc , false ) ; <END_BUG> } private SQLBuffer newSQLBuffer ( Select sel , ExpContext ctx , ExpState state ) { } public Object load ( ExpContext ctx , ExpState state , Result res ) throws SQLException { } public void calculateValue ( Select sel , ExpContext ctx , ExpState state , Val other , ExpState otherState ) { } public int length ( Select sel , ExpContext ctx , ExpState state ) { } public void appendTo ( Select sel , ExpContext ctx , ExpState state , SQLBuffer sql , int index ) { } public void acceptVisit ( ExpressionVisitor visitor ) { } public int getId ( ) { } }

Fix:
sel . orderBy ( newSQLBuffer ( sel , ctx , state ) , asc , false , getSelectAs ( ) ) ;
Buggy code:
public abstract class AbstractBounds implements Serializable { private static final long serialVersionUID = 1L ; private static AbstractBounds . AbstractBoundsSerializer serializer = new AbstractBounds . AbstractBoundsSerializer ( ) ; public static ICompactSerializer2 < AbstractBounds > serializer ( ) { } private enum Type { RANGE , BOUNDS ; } public final Token left ; public final Token right ; protected transient final IPartitioner partitioner ; public AbstractBounds ( Token left , Token right , IPartitioner partitioner ) { } public Pair < AbstractBounds , AbstractBounds > split ( Token token ) { } @ Override public int hashCode ( ) { } public abstract boolean equals ( Object obj ) { } public abstract boolean contains ( Token start ) { } public abstract AbstractBounds createFrom ( Token right ) { } public abstract List < AbstractBounds > unwrap ( ) { } public static List < AbstractBounds > normalize ( Collection < ? extends AbstractBounds > bounds ) { List < AbstractBounds > output = new ArrayList < AbstractBounds > ( ) ; AbstractBounds previous = null ; for ( AbstractBounds bound : bounds ) { List < AbstractBounds > unwrapped = bound . unwrap ( ) ; <START_BUG> assert ( previous == null ) || ( ( previous . right . compareTo ( unwrapped . get ( 0 ) . left ) ) <= 0 ) : ( ( "Overlapping<seq2seq4repair_space>ranges<seq2seq4repair_space>passed<seq2seq4repair_space>to<seq2seq4repair_space>normalize:<seq2seq4repair_space>see<seq2seq4repair_space>CASSANDRA-2461:<seq2seq4repair_space>" + previous ) + "<seq2seq4repair_space>and<seq2seq4repair_space>" ) + unwrapped ; <END_BUG> output . addAll ( unwrapped ) ; previous = unwrapped . get ( ( ( unwrapped . size ( ) ) - 1 ) ) ; } Collections . sort ( output , new Comparator < AbstractBounds > ( ) { public int compare ( AbstractBounds b1 , AbstractBounds b2 ) { return b1 . left . compareTo ( b2 . left ) ; } } ) ; return output ; } private static class AbstractBoundsSerializer implements ICompactSerializer2 < AbstractBounds > { public void serialize ( AbstractBounds range , DataOutput out ) throws IOException { } public AbstractBounds deserialize ( DataInput in ) throws IOException { } } }

Fix:
assert ( previous == null ) || ( ( previous . right . compareTo ( unwrapped . get ( 0 ) . left ) ) <= 0 ) : ( ( "Overlapping<seq2seq4repair_space>ranges<seq2seq4repair_space>passed<seq2seq4repair_space>to<seq2seq4repair_space>normalize:<seq2seq4repair_space>see<seq2seq4repair_space>CASSANDRA-2641:<seq2seq4repair_space>" + previous ) + "<seq2seq4repair_space>and<seq2seq4repair_space>" ) + unwrapped ;
Buggy code:
public final class ClientConfig { private final DefaultClientListener clientListener = new DefaultClientListener ( ) ; public static ClientConfig I = new ClientConfig ( ) ; private String allotServer ; private String publicKey ; private String deviceId ; private String osName = Constants . DEF_OS_NAME ; private String osVersion ; private String clientVersion ; private String userId ; private int maxHeartbeat = Constants . DEF_HEARTBEAT ; private int minHeartbeat = Constants . DEF_HEARTBEAT ; private int aesKeyLength = 16 ; private int compressLimit = Constants . DEF_COMPRESS_LIMIT ; private SessionStorage sessionStorage ; private String sessionStorageDir ; private Logger logger ; private boolean logEnabled ; private boolean enableHttpProxy = true ; public static ClientConfig build ( ) { } public Client create ( ) { } void destroy ( ) { } public SessionStorage getSessionStorage ( ) { } public Logger getLogger ( ) { } public ClientConfig setLogger ( Logger logger ) { this . logger = logger ; <START_BUG> this . logger . enable ( logEnabled ) ; <END_BUG> return this ; } public String getSessionStorageDir ( ) { } public ClientConfig setSessionStorage ( SessionStorage sessionStorage ) { } public ClientConfig setSessionStorageDir ( String sessionStorageDir ) { } public String getAllotServer ( ) { } public ClientConfig setAllotServer ( String allotServer ) { } public String getDeviceId ( ) { } public ClientConfig setDeviceId ( String deviceId ) { } public String getOsName ( ) { } public ClientConfig setOsName ( String osName ) { } public String getOsVersion ( ) { } public ClientConfig setOsVersion ( String osVersion ) { } public String getClientVersion ( ) { } public ClientConfig setClientVersion ( String clientVersion ) { } public int getMaxHeartbeat ( ) { } public ClientConfig setMaxHeartbeat ( int maxHeartbeat ) { } public int getMinHeartbeat ( ) { } public ClientConfig setMinHeartbeat ( int minHeartbeat ) { } public int getAesKeyLength ( ) { } public ClientConfig setAesKeyLength ( int aesKeyLength ) { } public String getPublicKey ( ) { } public ClientConfig setPublicKey ( String publicKey ) { } public int getCompressLimit ( ) { } public ClientConfig setCompressLimit ( int compressLimit ) { } public ClientListener getClientListener ( ) { } public ClientConfig setClientListener ( ClientListener clientListener ) { } public String getUserId ( ) { } public ClientConfig setUserId ( String userId ) { } public boolean isLogEnabled ( ) { } public ClientConfig setLogEnabled ( boolean logEnabled ) { } public boolean isEnableHttpProxy ( ) { } public ClientConfig setEnableHttpProxy ( boolean enableHttpProxy ) { } }

Fix:
this . getLogger ( ) . enable ( logEnabled ) ;
Buggy code:
public class TestClassTest { public static class TwoConstructors { public TwoConstructors ( ) { } public TwoConstructors ( int x ) { } } @ Test ( expected = IllegalArgumentException . class ) public void complainIfMultipleConstructors ( ) { } public static class ManyMethods { @ Test public void a ( ) { } @ Before public void b ( ) { } @ Ignore @ Test public void c ( ) { } @ Ignore @ After public void d ( ) { } public void e ( ) { } @ BeforeClass public void f ( ) { } public void g ( ) { } @ AfterClass public void h ( ) { } @ Test public void i ( ) { } @ Test public void j ( ) { } } <START_BUG> @ Test ( timeout = 5 ) <END_BUG> public void snappyRetrievalOfAnnotatedMethods ( ) { TestClass testClass = new TestClass ( TestClassTest . ManyMethods . class ) ; for ( int i = 0 ; i < 100 ; i ++ ) { testClass . getAnnotatedMethods ( Test . class ) ; testClass . getAnnotatedMethods ( Before . class ) ; testClass . getAnnotatedMethods ( After . class ) ; testClass . getAnnotatedMethods ( BeforeClass . class ) ; testClass . getAnnotatedMethods ( AfterClass . class ) ; } } }

Fix:
@ Test ( timeout = 10 )
Buggy code:
public class JarLoader { private static final JarLoader inst = new JarLoader ( ) ; public static final Logger JAVA_LDR_LOGGER = new Logger ( "jarloader" ) ; private JarLoader ( ) { } public static void closeJavaPlugins ( ) { } public static Class loadClass ( File jarFile , String classPath ) { } public static Object [ ] loadPluginsDirectory ( File pluginsDir ) { if ( ( ! ( pluginsDir . exists ( ) ) ) || ( ! ( pluginsDir . isDirectory ( ) ) ) ) { JarLoader . JAVA_LDR_LOGGER . log ( ( ( "Could<seq2seq4repair_space>not<seq2seq4repair_space>load<seq2seq4repair_space>jars<seq2seq4repair_space>from<seq2seq4repair_space>directory<seq2seq4repair_space>'" + ( pluginsDir . getAbsolutePath ( ) ) ) + "',<seq2seq4repair_space>directory<seq2seq4repair_space>does<seq2seq4repair_space>not<seq2seq4repair_space>exist!" ) ) ; <START_BUG> return null ; <END_BUG> } ArrayList < Object > obj = new ArrayList < > ( ) ; for ( File f : pluginsDir . listFiles ( ) ) if ( f . getName ( ) . toLowerCase ( ) . endsWith ( ".jar" ) ) { try { URL url = new URL ( ( ( "jar:file:" + ( f . getAbsolutePath ( ) ) ) + "!//init" ) ) ; BufferedReader br = new BufferedReader ( new InputStreamReader ( url . openStream ( ) ) ) ; String classPath = br . readLine ( ) ; br . close ( ) ; Object o = JarLoader . loadObject ( f , classPath ) ; if ( o != null ) obj . add ( o ) ; } catch ( IOException e ) { JarLoader . JAVA_LDR_LOGGER . log ( ( ( "Could<seq2seq4repair_space>not<seq2seq4repair_space>load<seq2seq4repair_space>jar<seq2seq4repair_space>'" + ( f . getAbsolutePath ( ) ) ) + "'!<seq2seq4repair_space>I//O<seq2seq4repair_space>Error!" ) ) ; } } Object [ ] ret = new Object [ obj . size ( ) ] ; obj . toArray ( ret ) ; return ret ; } public static Object loadObject ( File jarFile ) { } public static Object loadObject ( File jarFile , String classPath ) { } }

Fix:
return new Object [ 0 ] ;
Buggy code:
public class WebRequestCycle extends RequestCycle { private static final Logger log = LoggerFactory . getLogger ( WebRequestCycle . class ) ; private static final MetaDataKey BROWSER_WAS_POLLED_KEY = new MetaDataKey ( Boolean . class ) { private static final long serialVersionUID = 1L ; } ; public WebRequestCycle ( final WebApplication application , final WebRequest request , final Response response ) { } public IRequestCycleProcessor getProcessor ( ) { } public WebRequest getWebRequest ( ) { } public WebResponse getWebResponse ( ) { } public WebSession getWebSession ( ) { } public final void redirectTo ( final Page page ) { } protected ClientInfo newClientInfo ( ) { if ( getApplication ( ) . getRequestCycleSettings ( ) . getGatherExtendedBrowserInfo ( ) ) { Session session = getSession ( ) ; if ( ( session . getMetaData ( WebRequestCycle . BROWSER_WAS_POLLED_KEY ) ) == null ) { session . setMetaData ( WebRequestCycle . BROWSER_WAS_POLLED_KEY , Boolean . TRUE ) ; <START_BUG> throw new RestartResponseAtInterceptPageException ( new org . apache . wicket . markup . html . pages . BrowserInfoPage ( getRequest ( ) . getURL ( ) ) ) ; <END_BUG> } session . setMetaData ( WebRequestCycle . BROWSER_WAS_POLLED_KEY , ( ( Boolean ) ( null ) ) ) ; } return new WebClientInfo ( this ) ; } public final boolean getRedirect ( ) { } }

Fix:
throw new RestartResponseAtInterceptPageException ( new org . apache . wicket . markup . html . pages . BrowserInfoPage ( ( ( getRequest ( ) . getRelativePathPrefixToContextRoot ( ) ) + ( getRequest ( ) . getURL ( ) ) ) ) ) ;
Buggy code:
public class WebPage extends Page implements INewBrowserWindowListener { private static final Logger log = LoggerFactory . getLogger ( WebPage . class ) ; private static final long serialVersionUID = 1L ; private static final class PageMapChecker extends AbstractBehavior implements IHeaderContributor { private static final long serialVersionUID = 1L ; private final WebPage webPage ; PageMapChecker ( WebPage webPage ) { } public final void renderHead ( final IHeaderResponse headResponse ) { } } private static ResourceReference cookiesResource = new PackageResourceReference ( WebPage . class , "cookies.js" ) ; protected WebPage ( ) { } protected WebPage ( final IModel < ? > model ) { } protected WebPage ( final PageParameters parameters ) { } @ Override public MarkupType getMarkupType ( ) { } public void onNewBrowserWindow ( ) { } private void commonInit ( ) { } @ Override protected void configureResponse ( ) { } protected void setHeaders ( WebResponse response ) { <START_BUG> RequestUtils . disableCaching ( response ) ; <END_BUG> } @ Override protected void onAfterRender ( ) { } private void validateHeaders ( ) { } protected final BookmarkablePageLink < Void > homePageLink ( final String id ) { } }

Fix:
response . disableCaching ( ) ;
Buggy code:
class ErrorStore { private static final String UNSENT_ERROR_PATH = "//bugsnag-errors//" ; private Configuration config ; private String path ; ErrorStore ( Configuration config , Context appContext ) { } void flush ( ) { if ( ( path ) == null ) return ; Async . run ( new Runnable ( ) { @ Override public void run ( ) { File exceptionDir = new File ( path ) ; if ( ( ! ( exceptionDir . exists ( ) ) ) || ( ! ( exceptionDir . isDirectory ( ) ) ) ) return ; File [ ] errorFiles = exceptionDir . listFiles ( ) ; <START_BUG> if ( ( errorFiles . length ) > 0 ) { <END_BUG> Logger . info ( String . format ( "Sending<seq2seq4repair_space>%d<seq2seq4repair_space>saved<seq2seq4repair_space>error(s)<seq2seq4repair_space>to<seq2seq4repair_space>Bugsnag" , errorFiles . length ) ) ; for ( File errorFile : errorFiles ) { try { Notification notif = new Notification ( config ) ; notif . addError ( errorFile ) ; notif . deliver ( ) ; Logger . info ( ( "Deleting<seq2seq4repair_space>sent<seq2seq4repair_space>error<seq2seq4repair_space>file<seq2seq4repair_space>" + ( errorFile . getName ( ) ) ) ) ; errorFile . delete ( ) ; } catch ( HttpClient e ) { Logger . warn ( "Could<seq2seq4repair_space>not<seq2seq4repair_space>send<seq2seq4repair_space>previously<seq2seq4repair_space>saved<seq2seq4repair_space>error(s)<seq2seq4repair_space>to<seq2seq4repair_space>Bugsnag,<seq2seq4repair_space>will<seq2seq4repair_space>try<seq2seq4repair_space>again<seq2seq4repair_space>later" , e ) ; } catch ( Exception e ) { Logger . warn ( "Problem<seq2seq4repair_space>sending<seq2seq4repair_space>unsent<seq2seq4repair_space>error<seq2seq4repair_space>from<seq2seq4repair_space>disk" , e ) ; errorFile . delete ( ) ; } } } } } ) ; } void write ( Error error ) { } }

Fix:
if ( ( errorFiles != null ) && ( ( errorFiles . length ) > 0 ) ) {
Buggy code:
public class DBAppender2 extends AppenderSkeleton { static final String insertPropertiesSQL = "INSERT<seq2seq4repair_space>INTO<seq2seq4repair_space>logging_event_property<seq2seq4repair_space>(event_id,<seq2seq4repair_space>mapped_key,<seq2seq4repair_space>mapped_value)<seq2seq4repair_space>VALUES<seq2seq4repair_space>(?,<seq2seq4repair_space>?,<seq2seq4repair_space>?)" ; static final String insertExceptionSQL = "INSERT<seq2seq4repair_space>INTO<seq2seq4repair_space>logging_event_exception<seq2seq4repair_space>(event_id,<seq2seq4repair_space>i,<seq2seq4repair_space>trace_line)<seq2seq4repair_space>VALUES<seq2seq4repair_space>(?,<seq2seq4repair_space>?,<seq2seq4repair_space>?)" ; static final String insertSQL ; int batchSize = 20 ; ConnectionSource connectionSource ; SQLDialect sqlDialect ; boolean locationInfo = false ; Vector eventsBuffer = new Vector ( ) ; int [ ] eventIDArray ; public DBAppender2 ( ) { } public void activateOptions ( ) { } public ConnectionSource getConnectionSource ( ) { } public void setConnectionSource ( ConnectionSource connectionSource ) { } protected void append ( LoggingEvent event ) { <START_BUG> event . prepareForSerialization ( ) ; <END_BUG> eventsBuffer . add ( event ) ; if ( ( eventsBuffer . size ( ) ) >= ( batchSize ) ) { flush ( ) ; } } void flush ( ) { } void fillEventIDArray ( Connection connection , Statement insertStatement ) throws SQLException { } void insertProperties ( Connection connection , Vector eventsVector , int [ ] eventIDArray ) throws SQLException { } void insertAllExceptions ( Connection connection , Vector eventsVector , int [ ] eventIDArray ) throws SQLException { } public void close ( ) { } public boolean requiresLayout ( ) { } public boolean getLocationInfo ( ) { } public void setLocationInfo ( boolean locationInfo ) { } }

Fix:
event . prepareForDeferredProcessing ( ) ;
Buggy code:
public class RunBoot { private static Logger log = Utils . getLogger ( ) ; private TournamentProperties properties = TournamentProperties . getProperties ( ) ; private Game game ; private Session session ; private static boolean machinesAvailable ; public RunBoot ( Game game ) { } private void run ( ) { } private boolean checkMachineAvailable ( ) throws Exception { } private boolean startJob ( ) throws Exception { } public static void startBootableGames ( List < Round > runningRounds ) { if ( ( runningRounds == null ) || ( ( runningRounds . size ( ) ) == 0 ) ) { RunBoot . log . info ( "No<seq2seq4repair_space>rounds<seq2seq4repair_space>available<seq2seq4repair_space>for<seq2seq4repair_space>bootable<seq2seq4repair_space>games" ) ; return ; } RunBoot . log . info ( "Looking<seq2seq4repair_space>for<seq2seq4repair_space>Bootstraps<seq2seq4repair_space>To<seq2seq4repair_space>Start.." ) ; List < Game > games = new ArrayList < Game > ( ) ; Session session = HibernateUtil . getSession ( ) ; Transaction transaction = session . beginTransaction ( ) ; try { games = GamesScheduler . getBootableGames ( session , runningRounds ) ; <START_BUG> RunBoot . log . info ( "CheckForBoots<seq2seq4repair_space>for<seq2seq4repair_space>bootable<seq2seq4repair_space>games" ) ; <END_BUG> transaction . commit ( ) ; } catch ( Exception e ) { transaction . rollback ( ) ; e . printStackTrace ( ) ; } session . close ( ) ; RunBoot . log . info ( String . format ( "Found<seq2seq4repair_space>%s<seq2seq4repair_space>boots<seq2seq4repair_space>ready<seq2seq4repair_space>to<seq2seq4repair_space>start" , games . size ( ) ) ) ; RunBoot . machinesAvailable = true ; for ( Game game : games ) { RunBoot . log . info ( String . format ( "Boot<seq2seq4repair_space>%s<seq2seq4repair_space>will<seq2seq4repair_space>be<seq2seq4repair_space>started<seq2seq4repair_space>..." , game . getGameId ( ) ) ) ; new RunBoot ( game ) . run ( ) ; if ( ! ( RunBoot . machinesAvailable ) ) { RunBoot . log . info ( "No<seq2seq4repair_space>free<seq2seq4repair_space>machines,<seq2seq4repair_space>stop<seq2seq4repair_space>looking<seq2seq4repair_space>for<seq2seq4repair_space>Bootable<seq2seq4repair_space>Games" ) ; break ; } } } }

Fix:
RunBoot . log . info ( "Check<seq2seq4repair_space>for<seq2seq4repair_space>bootable<seq2seq4repair_space>games" ) ;
Buggy code:
public class RareItemsYMLPersistence implements IRareItemsPersistence { private IRareItems4API api ; private final String essencesIndexLocation = "essencesIndexLocation" ; private final String rareItemsIndexLocation = "rareItemsIndexLocation" ; private final String saveFileName = "save.yml" ; private final File saveDir ; private boolean saveIsDirty = false ; private YamlConfiguration saveYml ; private final Map < Integer , IEssence > cachedEssences ; private final Map < Integer , IRareItem > cachedRareItems ; public RareItemsYMLPersistence ( RareItems4Plugin plugin , File saveDir ) { } @ Override public void setAPI ( IRareItems4API api ) { } @ Override public IEssence createEmptyEssence ( UUID creator , ItemPropertyRarity rarity ) { } @ Override public IEssence createFilledEssence ( UUID creator , IRareItemProperty property ) { } @ Override public IEssence getEssence ( int essenceId ) { } @ Override public void setEssenceStatus ( int essenceId , UUID modifier , EssenceStatus status ) { } @ Override public IRareItem createRareItem ( UUID creator , Map < IRareItemProperty , Integer > riProperties ) { int rareItemId = this . saveYml . getInt ( rareItemsIndexLocation ) ; this . saveYml . set ( rareItemsIndexLocation , ( rareItemId + 1 ) ) ; IRareItem ri = new RareItem ( rareItemId , creator , new Date ( ) , creator , new Date ( ) , riProperties , RareItemStatus . ACTIVE ) ; String section = ( "rareitems." + ( ri . getId ( ) ) ) + "." ; for ( Map . Entry < IRareItemProperty , Integer > entry : ri . getProperties ( ) . entrySet ( ) ) { saveYml . set ( ( ( section + "properties." ) + ( entry . getKey ( ) . getName ( ) ) ) , entry . getValue ( ) ) ; } this . saveYml . set ( ( section + "created" ) , ri . getCreated ( ) . getTime ( ) ) ; this . saveYml . set ( ( section + "creator" ) , ri . getCreator ( ) . toString ( ) ) ; <START_BUG> this . saveYml . set ( ( section + "modified" ) , ri . getCreated ( ) . getTime ( ) ) ; <END_BUG> this . saveYml . set ( ( section + "modifier" ) , ri . getModifier ( ) . toString ( ) ) ; this . saveYml . set ( ( section + "status" ) , ri . getStatus ( ) . name ( ) ) ; this . saveIsDirty = true ; return ri ; } @ Override public IRareItem getRareItem ( int rareItemId ) { } @ Override public void setRareItemProperties ( UUID modifier , int rareItemId , Map < IRareItemProperty , Integer > riProperties ) { } @ Override public void setRareItemStatus ( int rareItemId , UUID modifier , RareItemStatus status ) { } public void load ( ) { } public void save ( ) { } }

Fix:
this . saveYml . set ( ( section + "modified" ) , ri . getModified ( ) . getTime ( ) ) ;
Buggy code:
public class AWTPacDaddyGameLauncher { public static void main ( String [ ] args ) { FeatureLoader loader = new FeatureLoader ( ) ; <START_BUG> loader . setGamePath ( "luasrc//PacDaddyGameWrapper//PacDaddyGameWrapper" ) ; <END_BUG> loader . loadFeatures ( "features" ) ; loader . loadFeatures ( "AWTfeatures" ) ; } No newline ; at end ; of file ; }

Fix:
loader . setGamePath ( "PacDaddyGameWrapper//PacDaddyGameWrapper" ) ;
Buggy code:
public class MyTable extends ListView { private int rows = 10 ; public MyTable ( final String componentName ) { } protected void populateItem ( ListItem listItem ) { } public void setRowsPerPage ( final int rows ) { this . rows = rows ; List list = new ArrayList ( ) ; for ( int i = 0 ; i < rows ; i ++ ) { list . add ( ( "row:<seq2seq4repair_space>" + ( String . valueOf ( i ) ) ) ) ; } this . setModelObject ( list ) ; if ( ( this . findParent ( Page . class ) ) != null ) { <START_BUG> this . invalidateModel ( ) ; <END_BUG> } } }

Fix:
this . modelChangedStructure ( ) ;
Buggy code:
public class ScriptingDefaultsParser implements BeanDefinitionParser { private static final String REFRESH_CHECK_DELAY_ATTRIBUTE = "refresh-check-delay" ; public BeanDefinition parse ( Element element , ParserContext parserContext ) { BeanDefinition bd = LangNamespaceUtils . registerScriptFactoryPostProcessorIfNecessary ( parserContext . getRegistry ( ) ) ; String refreshCheckDelay = element . getAttribute ( ScriptingDefaultsParser . REFRESH_CHECK_DELAY_ATTRIBUTE ) ; if ( StringUtils . hasText ( refreshCheckDelay ) ) { <START_BUG> bd . getPropertyValues ( ) . addPropertyValue ( "defaultRefreshCheckDelay" , new Long ( refreshCheckDelay ) ) ; <END_BUG> } return null ; } }

Fix:
bd . getPropertyValues ( ) . add ( "defaultRefreshCheckDelay" , new Long ( refreshCheckDelay ) ) ;
Buggy code:
public class LocalDestinationOutboundSocketBindingService extends OutboundSocketBindingService { private final InjectedValue < SocketBinding > localDestinationSocketBindingInjectedValue = new InjectedValue < SocketBinding > ( ) ; public LocalDestinationOutboundSocketBindingService ( final String name , final Integer sourcePort , final boolean fixedSourcePort ) { } @ Override protected synchronized InetAddress getDestinationAddress ( ) { final SocketBinding localDestinationSocketBinding = this . localDestinationSocketBindingInjectedValue . getValue ( ) ; <START_BUG> return localDestinationSocketBinding . getAddress ( ) ; <END_BUG> } @ Override protected synchronized int getDestinationPort ( ) { } synchronized Injector < SocketBinding > getLocalDestinationSocketBindingInjector ( ) { } }

Fix:
return localDestinationSocketBinding . getSocketAddress ( ) . getAddress ( ) ;
Buggy code:
public class connection_worker { private String session_token ; private ConnectivityManager conn_man ; private String url ; Queue < String > not_queue ; Timer retry_timer ; String token ; public connection_worker ( Context c , String ip , String token ) { } public void send_notification ( String not_str ) { } private void register ( ) { } private boolean notification_queue_mutex_up = false ; private synchronized boolean notification_queue_mutex ( boolean p ) { } private void process_notification_queue ( ) { } protected void callback ( connection_worker . json_result res ) { if ( res . rq . method . equals ( "register" ) ) session_token = res . str_val ; else if ( res . rq . method . equals ( "notify" ) ) { notification_queue_mutex ( false ) ; Log . d ( "CW" , "Notification<seq2seq4repair_space>Result:<seq2seq4repair_space>" ) ; if ( ( ( res . val_type ) == 3 ) && ( ( res . bool_val ) == true ) ) { Log . d ( "CW" , "OK!" ) ; not_queue . poll ( ) ; if ( ! ( not_queue . isEmpty ( ) ) ) process_notification_queue ( ) ; } else { try { Thread . sleep ( 500 ) ; } catch ( InterruptedException e ) { } <START_BUG> if ( ( res . val_type ) == 2 ) { <END_BUG> Log . d ( "CW" , "Unregistered" ) ; register ( ) ; } else { Log . d ( "CW" , ( "err<seq2seq4repair_space>" + ( res . val_type ) ) ) ; process_notification_queue ( ) ; } } } } private class retry_timer_task extends TimerTask { @ Override public void run ( ) { } } private class json_request { public String method ; public JSONArray params ; private String url ; public json_request ( String url , String method , JSONArray params ) { } public String get_url ( ) { } public String get_request ( ) { } } private class json_result { public int val_type = 0 ; public boolean err = true ; public String str_val ; public Integer int_val ; public boolean bool_val ; public boolean err_critical ; public connection_worker . json_request rq ; public json_result ( JsonReader reader , connection_worker . json_request rq ) { } public json_result ( boolean b , JsonReader jr , connection_worker . json_request rq ) throws IOException { } @ Override public String toString ( ) { } } private class http_task extends AsyncTask < connection_worker . json_request , Integer , connection_worker . json_result > { @ Override protected connection_worker . json_result doInBackground ( connection_worker . json_request ... req ) { } } }

Fix:
if ( ( res . val_type ) == 4 ) {
Buggy code:
public class TestDefaults { public TestDefaults ( ) { } public void setHost ( String s ) { } public void setPort ( int port ) { } public void setProtocol ( String proto ) { } public void setDebug ( int debug ) { } public void setOutputType ( String t ) { <START_BUG> GTest . setDefaultOutput ( t ) ; <END_BUG> } public void execute ( ) { } }

Fix:
Report . setDefaultOutput ( t ) ;
Buggy code:
public class ProcessStatus { private AtomicInteger value = new AtomicInteger ( 0 ) ; private JProgressBar prBar ; private int maxValue ; public ProcessStatus ( int maxValue ) { } public int inc ( ) { } public int get ( ) { } public int incrementAndProgress ( ) { <START_BUG> return ( maxValue ) == 0 ? 0 : Math . round ( Math . max ( ( ( ( inc ( ) ) * 100 ) // ( maxValue ) ) , 100 ) ) ; <END_BUG> } private void start ( ) { } public void finish ( ) { } public JProgressBar getProgressBar ( ) { } }

Fix:
return ( maxValue ) == 0 ? 0 : Math . round ( Math . min ( ( ( ( inc ( ) ) * 100 ) // ( maxValue ) ) , 100 ) ) ;
Buggy code:
public class startActivity extends Activity implements httpReply { private PendingIntent pendingIntent ; public String userid ; @ Override public void updateActivity ( String result ) { } protected void onCreate ( Bundle savedInstanceState ) { } public void scheduleAlarm ( View V ) { Intent alarmIntent = new Intent ( this , alarm . class ) ; pendingIntent = PendingIntent . getBroadcast ( this , 0 , alarmIntent , 0 ) ; AlarmManager alarmManager = ( ( AlarmManager ) ( getSystemService ( ALARM_SERVICE ) ) ) ; <START_BUG> int interval = ( 1000 * 60 ) * 1 ; <END_BUG> alarmManager . setInexactRepeating ( RTC_WAKEUP , System . currentTimeMillis ( ) , interval , pendingIntent ) ; Toast . makeText ( this , "Setting<seq2seq4repair_space>alarm..." , LENGTH_SHORT ) . show ( ) ; } public void startMaps ( View view ) { } public void startScan ( View view ) { } public void startloginActivity ( View view ) { } public void coverActivity ( View view ) { } public void viewdata ( View view ) { } public void sendUrl ( View view ) { } }

Fix:
int interval = ( 1000 * 60 ) * 15 ;
Buggy code:
public class WicketAjaxIndicatorAppender extends AbstractBehavior { private Component component ; private static final long serialVersionUID = 1L ; public WicketAjaxIndicatorAppender ( ) { } public void renderHead ( IHeaderResponse response ) { } public void onRendered ( Component component ) { final Response r = component . getResponse ( ) ; r . write ( "<span<seq2seq4repair_space>style=\"display:none;\"<seq2seq4repair_space>class=\"" ) ; r . write ( getSpanClass ( ) ) ; r . write ( "\"<seq2seq4repair_space>" ) ; r . write ( "id=\"" ) ; r . write ( getMarkupId ( ) ) ; r . write ( "\">" ) ; r . write ( "<img<seq2seq4repair_space>src=\"" ) ; r . write ( getIndicatorUrl ( ) ) ; <START_BUG> r . write ( "\"//><//span>" ) ; <END_BUG> } protected CharSequence getIndicatorUrl ( ) { } protected String getSpanClass ( ) { } public String getMarkupId ( ) { } public final void bind ( Component component ) { } }

Fix:
r . write ( "\"<seq2seq4repair_space>alt=\"\"//><//span>" ) ;