rem stringlengths 1 226k | add stringlengths 0 227k | context stringlengths 6 326k | meta stringlengths 143 403 | input_ids listlengths 256 256 | attention_mask listlengths 256 256 | labels listlengths 128 128 |
|---|---|---|---|---|---|---|
boolean onlySave = false; ClassRepository repository = nameHelper.getClassRepository(); if (repository != null) { try { if (!repository.storeClass(mainClassName, mainClassBytes, true)) { onlySave = true; } } catch (IOException iox) { throw Context.throwAsScriptRuntimeEx(iox); } if (!isPrimary) { String adapterClassName = nameHelper.getScriptClassName(true); int functionCount = scriptOrFn.getFunctionCount(); ObjToIntMap functionNames = new ObjToIntMap(functionCount); for (int i = 0; i != functionCount; ++i) { FunctionNode ofn = scriptOrFn.getFunctionNode(i); String name = ofn.getFunctionName(); if (name != null && name.length() != 0) { functionNames.put(name, ofn.getParamCount()); } } if (superClass == null) { superClass = ScriptRuntime.ObjectClass; } byte[] classFile = JavaAdapter.createAdapterCode( functionNames, adapterClassName, superClass, interfaces, mainClassName); try { if (!repository.storeClass(adapterClassName, classFile, true)) { onlySave = true; } } catch (IOException iox) { throw Context.throwAsScriptRuntimeEx(iox); } } } if (onlySave) { return null; } | public Object compile(Scriptable scope, CompilerEnvirons compilerEnv, ScriptOrFnNode scriptOrFn, String encodedSource, boolean returnFunction, Object securityDomain) { Context cx = Context.getCurrentContext(); OptClassNameHelper nameHelper = (OptClassNameHelper)ClassNameHelper.get(cx); Class[] interfaces = nameHelper.getTargetImplements(); Class superClass = nameHelper.getTargetExtends(); boolean isPrimary = (interfaces == null && superClass == null); String mainClassName = nameHelper.getScriptClassName(isPrimary); byte[] mainClassBytes = compileToClassFile(compilerEnv, mainClassName, scriptOrFn, encodedSource, returnFunction); boolean onlySave = false; ClassRepository repository = nameHelper.getClassRepository(); if (repository != null) { try { if (!repository.storeClass(mainClassName, mainClassBytes, true)) { onlySave = true; } } catch (IOException iox) { throw Context.throwAsScriptRuntimeEx(iox); } if (!isPrimary) { String adapterClassName = nameHelper.getScriptClassName(true); int functionCount = scriptOrFn.getFunctionCount(); ObjToIntMap functionNames = new ObjToIntMap(functionCount); for (int i = 0; i != functionCount; ++i) { FunctionNode ofn = scriptOrFn.getFunctionNode(i); String name = ofn.getFunctionName(); if (name != null && name.length() != 0) { functionNames.put(name, ofn.getParamCount()); } } if (superClass == null) { superClass = ScriptRuntime.ObjectClass; } byte[] classFile = JavaAdapter.createAdapterCode( functionNames, adapterClassName, superClass, interfaces, mainClassName); try { if (!repository.storeClass(adapterClassName, classFile, true)) { onlySave = true; } } catch (IOException iox) { throw Context.throwAsScriptRuntimeEx(iox); } } } if (onlySave) { return null; } Exception e = null; Class result = null; GeneratedClassLoader loader = SecurityController.createLoader(null, securityDomain); try { result = loader.defineClass(mainClassName, mainClassBytes); loader.linkClass(result); } catch (SecurityException x) { e = x; } catch (IllegalArgumentException x) { e = x; } if (e != null) throw new RuntimeException("Malformed optimizer package " + e); if (returnFunction) { NativeFunction f; try { Constructor ctor = result.getConstructors()[0]; Object[] initArgs = { scope, cx, new Integer(0) }; f = (NativeFunction)ctor.newInstance(initArgs); } catch (Exception ex) { throw new RuntimeException ("Unable to instantiate compiled class:"+ex.toString()); } OptRuntime.initFunction( f, FunctionNode.FUNCTION_STATEMENT, scope, cx); return f; } else { Script script; try { script = (Script) result.newInstance(); } catch (Exception ex) { throw new RuntimeException ("Unable to instantiate compiled class:"+ex.toString()); } return script; } } | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/d62ad77af58b2718844ec2b74539608046af1477/Codegen.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
4074,
12,
3651,
429,
2146,
16,
12900,
12972,
28248,
87,
5274,
3491,
16,
12900,
7739,
1162,
5372,
907,
2728,
1162,
5372,
16,
12900,
514,
3749,
1830,
16,
12900,
1250,
327,
2083,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
4074,
12,
3651,
429,
2146,
16,
12900,
12972,
28248,
87,
5274,
3491,
16,
12900,
7739,
1162,
5372,
907,
2728,
1162,
5372,
16,
12900,
514,
3749,
1830,
16,
12900,
1250,
327,
2083,
... | |
MultiPageEditorSite.this.handleSelectionChanged(event); } | MultiPageEditorSite.this.handleSelectionChanged(event); } | public void selectionChanged(SelectionChangedEvent event) { MultiPageEditorSite.this.handleSelectionChanged(event); } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/3da40908ffda867d9aad0c658d5165d8ef53ebf5/MultiPageEditorSite.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/part/MultiPageEditorSite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
4421,
5033,
12,
6233,
27553,
871,
13,
288,
9506,
202,
5002,
1964,
6946,
4956,
18,
2211,
18,
4110,
6233,
5033,
12,
2575,
1769,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
4421,
5033,
12,
6233,
27553,
871,
13,
288,
9506,
202,
5002,
1964,
6946,
4956,
18,
2211,
18,
4110,
6233,
5033,
12,
2575,
1769,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-... |
switch (alt38) { | switch (alt41) { | public BaseDescr lhs_unary() throws RecognitionException { BaseDescr d = null; BaseDescr u = null; FromDescr fm = null; AccumulateDescr ac = null; CollectDescr cs = null; d = null; try { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1180:4: ( (u= lhs_exist | u= lhs_not | u= lhs_eval | u= lhs_column ( (fm= from_statement ) | (ac= accumulate_statement ) | (cs= collect_statement ) )? | '(' u= lhs ')' ) opt_semicolon ) // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1180:4: (u= lhs_exist | u= lhs_not | u= lhs_eval | u= lhs_column ( (fm= from_statement ) | (ac= accumulate_statement ) | (cs= collect_statement ) )? | '(' u= lhs ')' ) opt_semicolon { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1180:4: (u= lhs_exist | u= lhs_not | u= lhs_eval | u= lhs_column ( (fm= from_statement ) | (ac= accumulate_statement ) | (cs= collect_statement ) )? | '(' u= lhs ')' ) int alt39=5; switch ( input.LA(1) ) { case 71: alt39=1; break; case 72: alt39=2; break; case 73: alt39=3; break; case ID: alt39=4; break; case LEFT_PAREN: alt39=5; break; default: NoViableAltException nvae = new NoViableAltException("1180:4: (u= lhs_exist | u= lhs_not | u= lhs_eval | u= lhs_column ( (fm= from_statement ) | (ac= accumulate_statement ) | (cs= collect_statement ) )? | '(' u= lhs ')' )", 39, 0, input); throw nvae; } switch (alt39) { case 1 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1180:6: u= lhs_exist { pushFollow(FOLLOW_lhs_exist_in_lhs_unary2630); u=lhs_exist(); _fsp--; } break; case 2 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1181:5: u= lhs_not { pushFollow(FOLLOW_lhs_not_in_lhs_unary2638); u=lhs_not(); _fsp--; } break; case 3 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1182:5: u= lhs_eval { pushFollow(FOLLOW_lhs_eval_in_lhs_unary2646); u=lhs_eval(); _fsp--; } break; case 4 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1183:5: u= lhs_column ( (fm= from_statement ) | (ac= accumulate_statement ) | (cs= collect_statement ) )? { pushFollow(FOLLOW_lhs_column_in_lhs_unary2654); u=lhs_column(); _fsp--; // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1183:18: ( (fm= from_statement ) | (ac= accumulate_statement ) | (cs= collect_statement ) )? int alt38=4; int LA38_0 = input.LA(1); if ( (LA38_0==48) ) { switch ( input.LA(2) ) { case 49: alt38=2; break; case 53: alt38=3; break; case ID: alt38=1; break; } } switch (alt38) { case 1 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1184:14: (fm= from_statement ) { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1184:14: (fm= from_statement ) // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1184:15: fm= from_statement { pushFollow(FOLLOW_from_statement_in_lhs_unary2674); fm=from_statement(); _fsp--; fm.setColumn((ColumnDescr) u); u=fm; } } break; case 2 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1185:14: (ac= accumulate_statement ) { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1185:14: (ac= accumulate_statement ) // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1185:15: ac= accumulate_statement { pushFollow(FOLLOW_accumulate_statement_in_lhs_unary2696); ac=accumulate_statement(); _fsp--; ac.setResultColumn((ColumnDescr) u); u=ac; } } break; case 3 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1186:14: (cs= collect_statement ) { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1186:14: (cs= collect_statement ) // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1186:15: cs= collect_statement { pushFollow(FOLLOW_collect_statement_in_lhs_unary2717); cs=collect_statement(); _fsp--; cs.setResultColumn((ColumnDescr) u); u=cs; } } break; } } break; case 5 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1188:5: '(' u= lhs ')' { match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_lhs_unary2740); pushFollow(FOLLOW_lhs_in_lhs_unary2744); u=lhs(); _fsp--; match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_lhs_unary2746); } break; } d = u; pushFollow(FOLLOW_opt_semicolon_in_lhs_unary2756); opt_semicolon(); _fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; } | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/c3437c2488c314384990c4282a547e0f92ca02c2/DRLParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/DRLParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3360,
16198,
8499,
67,
318,
814,
1435,
1216,
9539,
288,
6647,
3360,
16198,
302,
273,
446,
31,
3639,
3360,
16198,
582,
273,
446,
31,
3639,
6338,
16198,
10940,
273,
446,
31,
3639,
159... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3360,
16198,
8499,
67,
318,
814,
1435,
1216,
9539,
288,
6647,
3360,
16198,
302,
273,
446,
31,
3639,
3360,
16198,
582,
273,
446,
31,
3639,
6338,
16198,
10940,
273,
446,
31,
3639,
159... |
return null; } | return null; } | private WorkbenchWindow getActivatedWindow() { if (activatedWindow != null) { Shell shell = activatedWindow.getShell(); if (shell != null && !shell.isDisposed()) { return activatedWindow; } } return null; } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/9337b828e86179850647141c34d497be28275ed2/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
4147,
22144,
3829,
336,
28724,
3829,
1435,
288,
3639,
309,
261,
18836,
3829,
480,
446,
13,
288,
5411,
19433,
5972,
273,
14892,
3829,
18,
588,
13220,
5621,
5411,
309,
261,
10304,
480,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
4147,
22144,
3829,
336,
28724,
3829,
1435,
288,
3639,
309,
261,
18836,
3829,
480,
446,
13,
288,
5411,
19433,
5972,
273,
14892,
3829,
18,
588,
13220,
5621,
5411,
309,
261,
10304,
480,
... |
request.setSystemException( one ); | request.setSystemException( e ); | public void deliverRequest( org.jacorb.orb.dsi.ServerRequest request, org.omg.PortableServer.POA poa ) { org.jacorb.poa.POA tmp_poa = (org.jacorb.poa.POA)poa; String scopes[] = request.remainingPOAName(); try { for( int i=0; i < scopes.length-1; i++) { if( scopes[i].equals("")) { request.setRemainingPOAName(null); break; } try { tmp_poa = tmp_poa._getChildPOA( scopes[i] ); } catch ( org.jacorb.poa.except.ParentIsHolding p ) { /* * if one of the POAs is in holding state, we * simply deliver deliver the request to this * POA. It will forward the request to its child * POAs if necessary when changing back to active * For the POA to be able to forward this request * to its child POAa, we need to supply the * remaining part of the child's POA name */ String[] rest_of_name = new String[scopes.length - i]; for( int j = 0; j < i; j++ ) { rest_of_name[j] = scopes[j+i]; } request.setRemainingPOAName(rest_of_name); break; } } if( tmp_poa == null ) { throw new INTERNAL("Request POA null!"); } /* hand over to the POA */ tmp_poa._invoke( request ); } catch( org.omg.PortableServer.POAPackage.WrongAdapter wa ) { // unknown oid (not previously generated) request.setSystemException( new org.omg.CORBA.OBJECT_NOT_EXIST("unknown oid") ); request.reply(); } catch( org.omg.CORBA.SystemException one ) { request.setSystemException( one ); request.reply(); } catch( Throwable th ) { request.setSystemException( new org.omg.CORBA.UNKNOWN( th.toString()) ); request.reply(); logger.warn("unexpected exception", th); // TODO throw exception? } } | 46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/7dc258e1d898c133fa8113c1af1594d926e8ccff/BasicAdapter.java/clean/src/org/jacorb/orb/BasicAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
11795,
691,
12,
2358,
18,
31390,
16640,
18,
16640,
18,
2377,
77,
18,
2081,
691,
590,
16,
27573,
2358,
18,
362,
75,
18,
2617,
429,
2081,
18,
2419,
37,
8275,
69,
262,
565,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
11795,
691,
12,
2358,
18,
31390,
16640,
18,
16640,
18,
2377,
77,
18,
2081,
691,
590,
16,
27573,
2358,
18,
362,
75,
18,
2617,
429,
2081,
18,
2419,
37,
8275,
69,
262,
565,
28... |
return formatNumbers(new int[] { value }); | return formatNumbers(new int[] { value }); | protected String formatNumbers(int value) { return formatNumbers(new int[] { value }); } | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/2d07c253b814672a82d969836d58577bfa628b88/NodeCounter.java/buggy/src/org/apache/xalan/xsltc/dom/NodeCounter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
740,
10072,
12,
474,
460,
13,
288,
202,
2463,
740,
10072,
12,
2704,
509,
8526,
288,
460,
15549,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
740,
10072,
12,
474,
460,
13,
288,
202,
2463,
740,
10072,
12,
2704,
509,
8526,
288,
460,
15549,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
args = ((RubyArray)value).toJavaArray(); | args = ((RubyArray) value).toJavaArray(); | public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { if (!isBlockGiven()) { throw new RaiseException(this, getExceptions().getLocalJumpError(), "yield called out of block"); } RubyVarmap.push(this); Block actBlock = block.getAct(); getFrameStack().push(actBlock.getFrame()); Namespace oldNamespace = getNamespace(); setNamespace(getActFrame().getNamespace()); Scope oldScope = (Scope) getScope().getTop(); getScope().setTop(actBlock.getScope()); // getScope().push(tmpBlock.scope); // block.pop(); // XXX block.pop(); // setAct((Block)actBlock.getNext()); setDynamicVars(actBlock.getDynamicVars()); pushClass((klass != null) ? klass : actBlock.getKlass()); if (klass == null) { self = actBlock.getSelf(); } IMethod method = actBlock.getMethod(); // actBlock.body; if (actBlock.getVar() != null) { // try { if (actBlock.getVar() instanceof ZeroArgNode) { if (acheck && value != null && value instanceof RubyArray && ((RubyArray) value).getLength() != 0) { throw new ArgumentError(this, "wrong # of arguments (" + ((RubyArray) value).getLength() + " for 0)"); } } else { if (!(actBlock.getVar() instanceof MultipleAsgnNode)) { if (acheck && value != null && value instanceof RubyArray && ((RubyArray) value).getLength() == 1) { value = ((RubyArray) value).entry(0); } } new AssignmentVisitor(this, self).assign(actBlock.getVar(), value, acheck); } // } catch () { // goto pop_state; // } } else { if (acheck && value != null && value instanceof RubyArray && ((RubyArray) value).getLength() == 1) { value = ((RubyArray) value).entry(0); } } getIterStack().push(actBlock.getIter()); try { while (true) { try { if (method == null) { return getNil(); } else { if (value == null) { value = RubyArray.newArray(this, 0); } RubyObject[] args = {value}; // XXX if (value instanceof RubyArray) { args = ((RubyArray)value).toJavaArray(); } // XXX return method.execute(this, self, null, args, false); /*if (method instanceof ExecutableNode) { if (value == null) { value = RubyArray.newArray(this, 0); } // FIXME/* return ((ExecutableNode) node).execute(value, new RubyObject[] { node.getTValue(), self }, this); } else { return node.eval(this, self);*/ } } catch (RedoJump rExcptn) { } } //break; } catch (NextJump nExcptn) { return getNil(); /* } catch (BreakException bExcptn) { throw bExcptn;*/ } catch (ReturnException rExcptn) { // break; return rExcptn.getReturnValue(); /* catch (BreakException bExcptn) { // +++ throw new ReturnException(getNil()); // ---*/ } finally { getIterStack().pop(); popClass(); RubyVarmap.pop(this); block.setAct(actBlock); getFrameStack().pop(); setNamespace(oldNamespace); // if (ruby_scope->flag & SCOPE_DONT_RECYCLE) // scope_dup(old_scope); getScope().setTop(oldScope); } } | 47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/c79adccbaa071501b1c42e97ed6c3284712f57e4/Ruby.java/clean/org/jruby/Ruby.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
2824,
20,
12,
54,
10340,
921,
460,
16,
19817,
921,
365,
16,
19817,
3120,
7352,
16,
1250,
279,
1893,
13,
288,
3639,
309,
16051,
291,
1768,
6083,
10756,
288,
5411,
604,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
2824,
20,
12,
54,
10340,
921,
460,
16,
19817,
921,
365,
16,
19817,
3120,
7352,
16,
1250,
279,
1893,
13,
288,
3639,
309,
16051,
291,
1768,
6083,
10756,
288,
5411,
604,
... |
public Object getPropertyValue(String name) { Property property = Property.lookup(name); if (property != null) { Schema schema; Member parentMember; List list; switch (property.ordinal) { case Property.NAME_ORDINAL: break; case Property.CAPTION_ORDINAL: return getCaption(); case Property.CONTRIBUTING_CHILDREN_ORDINAL: list = new ArrayList(); getRolapHierarchy().getMemberReader().getMemberChildren(this, list); return list; case Property.CATALOG_NAME_ORDINAL: break; case Property.SCHEMA_NAME_ORDINAL: schema = getHierarchy().getDimension().getSchema(); return schema.getName(); case Property.CUBE_NAME_ORDINAL: break; case Property.DIMENSION_UNIQUE_NAME_ORDINAL: return getHierarchy().getDimension().getUniqueName(); case Property.HIERARCHY_UNIQUE_NAME_ORDINAL: return getHierarchy().getUniqueName(); case Property.LEVEL_UNIQUE_NAME_ORDINAL: return getLevel().getUniqueName(); case Property.LEVEL_NUMBER_ORDINAL: return new Integer(getLevel().getDepth()); case Property.MEMBER_UNIQUE_NAME_ORDINAL: return getUniqueName(); case Property.MEMBER_NAME_ORDINAL: return getName(); case Property.MEMBER_TYPE_ORDINAL: return new Integer(getMemberType()); case Property.MEMBER_GUID_ORDINAL: return null; case Property.MEMBER_CAPTION_ORDINAL: return getCaption(); case Property.MEMBER_ORDINAL_ORDINAL: return new Integer(getOrdinal()); case Property.CHILDREN_CARDINALITY_ORDINAL: Integer cardinality; if (isAllMember() && childLevelHasApproxRowCount()) { cardinality = new Integer( getLevel().getChildLevel().getApproxRowCount()); } else { list = new ArrayList(); getRolapHierarchy().getMemberReader().getMemberChildren(this, list); cardinality = new Integer(list.size()); } return cardinality; case Property.PARENT_LEVEL_ORDINAL: parentMember = getParentMember(); return new Integer( parentMember == null ? 0 : parentMember.getLevel().getDepth()); case Property.PARENT_UNIQUE_NAME_ORDINAL: parentMember = getParentMember(); return parentMember == null ? null : parentMember.getUniqueName(); case Property.PARENT_COUNT_ORDINAL: parentMember = getParentMember(); return new Integer(parentMember == null ? 0 : 1); case Property.DESCRIPTION_ORDINAL: return getDescription(); case Property.VISIBLE_ORDINAL: break; default: break; } } synchronized (this) { return mapPropertyNameToValue.get(name); } | public final Object getPropertyValue(String propertyName) { return getPropertyValue(propertyName, true); | public Object getPropertyValue(String name) { Property property = Property.lookup(name); if (property != null) { Schema schema; Member parentMember; List list; switch (property.ordinal) { case Property.NAME_ORDINAL: // Do NOT call getName() here. This property is internal, // and must fall through to look in the property list. break; case Property.CAPTION_ORDINAL: return getCaption(); case Property.CONTRIBUTING_CHILDREN_ORDINAL: list = new ArrayList(); getRolapHierarchy().getMemberReader().getMemberChildren(this, list); return list; case Property.CATALOG_NAME_ORDINAL: // TODO: can't go from member to connection thence to // Connection.getCatalogName() break; case Property.SCHEMA_NAME_ORDINAL: schema = getHierarchy().getDimension().getSchema(); return schema.getName(); case Property.CUBE_NAME_ORDINAL: // TODO: can't go from member to cube cube yet break; case Property.DIMENSION_UNIQUE_NAME_ORDINAL: return getHierarchy().getDimension().getUniqueName(); case Property.HIERARCHY_UNIQUE_NAME_ORDINAL: return getHierarchy().getUniqueName(); case Property.LEVEL_UNIQUE_NAME_ORDINAL: return getLevel().getUniqueName(); case Property.LEVEL_NUMBER_ORDINAL: return new Integer(getLevel().getDepth()); case Property.MEMBER_UNIQUE_NAME_ORDINAL: return getUniqueName(); case Property.MEMBER_NAME_ORDINAL: return getName(); case Property.MEMBER_TYPE_ORDINAL: return new Integer(getMemberType()); case Property.MEMBER_GUID_ORDINAL: return null; case Property.MEMBER_CAPTION_ORDINAL: return getCaption(); case Property.MEMBER_ORDINAL_ORDINAL: return new Integer(getOrdinal()); case Property.CHILDREN_CARDINALITY_ORDINAL: Integer cardinality; if (isAllMember() && childLevelHasApproxRowCount()) { cardinality = new Integer( getLevel().getChildLevel().getApproxRowCount()); } else { list = new ArrayList(); getRolapHierarchy().getMemberReader().getMemberChildren(this, list); cardinality = new Integer(list.size()); } return cardinality; case Property.PARENT_LEVEL_ORDINAL: parentMember = getParentMember(); return new Integer( parentMember == null ? 0 : parentMember.getLevel().getDepth()); case Property.PARENT_UNIQUE_NAME_ORDINAL: parentMember = getParentMember(); return parentMember == null ? null : parentMember.getUniqueName(); case Property.PARENT_COUNT_ORDINAL: parentMember = getParentMember(); return new Integer(parentMember == null ? 0 : 1); case Property.DESCRIPTION_ORDINAL: return getDescription(); case Property.VISIBLE_ORDINAL: break; default: break; // fall through } } synchronized (this) { return mapPropertyNameToValue.get(name); } } | 51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/9c23274e4ad5ceed719d32632ec45d46ee81844b/RolapMember.java/clean/src/main/mondrian/rolap/RolapMember.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
21694,
12,
780,
508,
13,
288,
3639,
4276,
1272,
273,
4276,
18,
8664,
12,
529,
1769,
3639,
309,
261,
4468,
480,
446,
13,
288,
5411,
4611,
1963,
31,
5411,
8596,
982,
4419,
31,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
21694,
12,
780,
508,
13,
288,
3639,
4276,
1272,
273,
4276,
18,
8664,
12,
529,
1769,
3639,
309,
261,
4468,
480,
446,
13,
288,
5411,
4611,
1963,
31,
5411,
8596,
982,
4419,
31,... |
try { setOnfocus((String) evalAttr("onfocus", getOnfocusExpr(), String.class)); } catch (NullAttributeException ex) { } | if ((string = EvalHelper.evalString("ondblclick", getOndblclickExpr(), this, pageContext)) != null) setOndblclick(string); | private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accesskey", getAccesskeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAlt((String) evalAttr("alt", getAltExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAltKey((String) evalAttr("altKey", getAltKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setName((String) evalAttr("name", getNameExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnblur((String) evalAttr("onblur", getOnblurExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnchange((String) evalAttr("onchange", getOnchangeExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnclick((String) evalAttr("onclick", getOnclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOndblclick((String) evalAttr("ondblclick", getOndblclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnfocus((String) evalAttr("onfocus", getOnfocusExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypressExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemoveExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseoutExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseoverExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setProperty((String) evalAttr("property", getPropertyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyle((String) evalAttr("style", getStyleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleClass((String) evalAttr("styleClass", getStyleClassExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleId((String) evalAttr("styleId", getStyleIdExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTabindex((String) evalAttr("tabindex", getTabindexExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitle((String) evalAttr("title", getTitleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitleKey((String) evalAttr("titleKey", getTitleKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setValue((String) evalAttr("value", getValueExpr(), String.class)); } catch (NullAttributeException ex) { } } | 2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/022bd23c954cf673e53731849d562b3c295473f1/ELCheckboxTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELCheckboxTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
856,
3113,
21909,
856,
4742,
9334,
4766,
6647,
514,
18,
1106,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
856,
3113,
21909,
856,
4742,
9334,
4766,
6647,
514,
18,
1106,
... |
350, 264, 222, 223, 308, 310, 368, 342, 61, 301, 345, 346, 59, 348, 306, 59, 340, 352, 346, 267, | 350, 339, 222, 223, 262, 310, 368, 342, 44, 301, 345, 346, 59, 348, 306, 264, 340, 352, 346, 267, | private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50, 10, 52, 53, 27, 44, 410, 50, 101, 21, 91, 292, 32, 47, 693, 296, 4, 5, 369, 10, 522, 523, 54, 50, 570, 571, 14, 10, 10, 106, 10, 54, 506, 507, 280, 41, 387, 11, 10, 11, 444, 666, 263, 693, 59, 695, 671, 10, 310, 58, 59, 402, 94, 44, 342, 61, 10, 342, 100, 10, 280, 10, 10, 51, 44, 361, 53, 2, 3, 4, 5, 113, 10, 8, 9, 10, 11, 59, 10, 14, 15, 16, 94, 310, 19, 15, 16, 32, 0, 19, 44, 26, 310, 93, 2, 58, 59, 71, 10, 10, 10, 310, 90, 454, 58, 59, 315, 44, 59, 371, 59, 10, 47, 48, 49, 361, 51, 10, 53, 49, 58, 59, 342, 10, 61, 125, 58, 59, 349, 218, 330, 41, 327, 269, 108, 271, 10, 337, 10, 47, 10, 361, 10, 125, 371, 308, 348, 59, 59, 10, 829, 369, 370, 371, 304, 90, 32, 44, 308, 91, 369, 370, 10, 358, 559, 58, 59, 10, 200, 41, 105, 41, 107, 545, 267, 377, 269, 200, 364, 829, 41, 231, 232, 233, 58, 59, 467, 590, 282, 59, 58, 59, 339, 565, 244, 41, 246, 247, 91, 107, 10, 244, 10, 246, 247, 10, 244, 681, 246, 247, 58, 59, 41, 339, 330, 61, 59, 244, 268, 246, 247, 337, 91, 91, 269, 41, 271, 41, 41, 263, 61, 41, 61, 41, 44, 737, 738, 783, 784, 61, 786, 256, 44, 91, 218, 61, 44, 61, 10, 330, 222, 223, 91, 269, 59, 271, 337, 262, 267, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 350, 264, 222, 223, 308, 310, 368, 342, 61, 301, 345, 346, 59, 348, 306, 59, 340, 352, 346, 267, 348, 91, 290, 291, 244, 856, 246, 247, 267, 244, 349, 246, 247, 341, 369, 279, 256, 339, 727, 725, 418, 419, 377, 263, 733, 302, 303, 304, 305, 377, 267, 91, 387, 388, 389, 390, 356, 279, 281, 394, 368, 439, 595, 256, 369, 370, 394, 402, 264, 630, 263, 406, 407, 345, 346, 410, 348, 350, 386, 414, 352, 301, 302, 303, 304, 305, 306, 307, 308, 267, 339, 414, 427, 401, 308, 407, 776, 432, 433, 434, 425, 340, 414, 425, 363, 340, 441, 799, 267, 444, 342, 799, 447, 330, 267, 772, 91, 425, 91, 454, 337, 44, 342, 431, 44, 345, 346, 342, 348, 349, 350, 269, 352, 271, 267, 330, 358, 361, 397, 398, 340, 341, 337, 343, 344, 453, 330, 280, 279, 369, 370, 371, 330, 337, 369, 319, 349, 319, 44, 337, 849, 319, 10, 383, 342, 279, 339, 387, 368, 826, 703, 391, 387, 393, 264, 553, 330, 330, 279, 269, 279, 340, 402, 337, 337, 385, 386, 402, 877, 516, 383, 526, 290, 291, 414, 290, 291, 330, 391, 835, 393, 401, 10, 41, 337, 91, 330, 10, 428, 342, 41, 59, 41, 337, 511, 44, 263, 264, 272, 516, 274, 275, 549, 311, 312, 522, 523, 358, 361, 290, 291, 431, 61, 93, 454, 428, 125, 554, 41, 454, 306, 44, 371, 10, 358, 340, 554, 313, 314, 574, 58, 59, 574, 453, 240, 44, 59, 358, 593, 358, 330, 794, 263, 264, 2, 3, 574, 337, 269, 308, 8, 9, 10, 11, 41, 371, 611, 15, 16, 310, 615, 19, 10, 542, 619, 311, 312, 544, 26, 346, 330, 16, 59, 269, 19, 630, 267, 337, 264, 41, 44, 41, 44, 10, 44, 268, 269, 566, 643, 47, 48, 49, 690, 41, 271, 53, 44, 41, 630, 61, 655, 61, 349, 350, 544, 545, 657, 662, 663, 263, 264, 59, 44, 668, 669, 41, 44, 125, 369, 370, 371, 319, 41, 678, 679, 565, 56, 57, 41, 91, 607, 91, 59, 32, 689, 330, 339, 330, 339, 579, 339, 93, 337, 741, 337, 339, 744, 105, 44, 107, 348, 41, 93, 10, 352, 353, 264, 712, 713, 714, 61, 44, 44, 91, 657, 720, 579, 607, 44, 44, 662, 663, 727, 279, 310, 304, 668, 732, 733, 304, 2, 3, 4, 5, 732, 340, 8, 263, 339, 732, 630, 339, 14, 633, 339, 630, 264, 264, 404, 93, 732, 269, 59, 271, 683, 10, 44, 627, 628, 702, 650, 44, 767, 310, 769, 91, 264, 657, 658, 349, 660, 661, 662, 663, 330, 47, 93, 44, 668, 51, 10, 337, 709, 369, 370, 371, 342, 650, 10, 267, 44, 796, 41, 798, 41, 658, 725, 660, 661, 804, 41, 93, 358, 808, 59, 2, 3, 812, 91, 125, 339, 8, 702, 264, 222, 223, 706, 14, 90, 709, 41, 264, 369, 370, 371, 767, 10, 339, 58, 59, 835, 721, 722, 723, 264, 107, 244, 59, 246, 247, 10, 264, 847, 706, 849, 41, 125, 358, 256, 244, 47, 246, 247, 264, 125, 263, 834, 264, 721, 722, 723, 91, 867, 41, 869, 847, 308, 279, 280, 279, 280, 44, 877, 44, 58, 59, 881, 767, 264, 264, 44, 771, 772, 41, 93, 262, 263, 264, 58, 59, 125, 264, 269, 301, 302, 303, 304, 305, 306, 307, 308, 279, 792, 264, 264, 44, 10, 91, 771, 125, 107, 2, 3, 4, 5, 6, 93, 8, 330, 271, 330, 91, 342, 14, 41, 337, 41, 337, 93, 792, 342, 93, 342, 125, 342, 44, 826, 345, 346, 41, 348, 349, 93, 125, 352, 835, 358, 837, 358, 361, 835, 361, 330, 279, 844, 59, 47, 41, 614, 337, 51, 369, 370, 371, 834, 264, 61, 5, 624, 293, 294, 295, 296, 297, 837, 383, 776, 10, 6, 387, 358, 844, 91, 391, 256, 393, 2, 3, 863, 10, 559, 263, 8, 657, 402, 78, 279, 304, 90, 90, 307, 308, 309, 836, 330, 247, 414, 0, 695, 264, 695, 337, 71, 268, 269, -1, 107, 304, -1, -1, 428, -1, -1, 330, -1, 58, 59, -1, -1, 301, 337, 47, 358, 310, 306, 342, -1, 267, 59, -1, 347, 348, 349, 350, -1, -1, 454, 330, 41, -1, 280, 9, 10, 11, 337, -1, -1, 310, 91, 256, 347, 348, 349, 350, -1, -1, 263, -1, 26, -1, 726, -1, 0, 729, 730, 358, 44, 349, 350, 49, -1, -1, 304, 267, -1, 307, 308, 309, -1, 0, 48, 107, 369, 370, 371, -1, 280, 267, 370, 10, 330, -1, -1, -1, 301, -1, -1, 337, 330, 306, -1, 383, 342, 41, -1, 337, 369, 370, 371, 391, 342, 393, -1, 91, -1, 347, 348, 349, 350, -1, 41, 361, 125, -1, -1, 304, 544, 545, 307, 308, 309, -1, 41, -1, -1, 44, 330, 105, 59, -1, -1, -1, 349, 337, 810, 811, 428, 565, 342, -1, 330, -1, 61, -1, -1, 256, -1, 337, -1, -1, 279, 579, 263, 370, -1, -1, -1, 361, 347, 348, 349, 350, -1, -1, -1, -1, 383, -1, -1, 845, 846, -1, 91, -1, 391, 851, 393, 125, -1, 607, 304, -1, -1, 307, 308, 309, -1, -1, -1, -1, 301, -1, 868, -1, 125, 306, -1, -1, 10, -1, 876, 330, 630, 879, -1, 633, 330, 883, 337, 306, 307, 428, 309, 337, 267, -1, 313, 314, 342, -1, 256, -1, 650, 347, 348, 349, 350, 263, -1, 358, 658, -1, 660, 661, 662, 663, -1, -1, 349, 350, 668, -1, -1, -1, 222, 223, -1, 59, -1, 262, 263, 264, -1, 545, -1, 268, 269, -1, 271, 370, -1, -1, -1, 304, -1, 301, 307, 308, 309, 319, 306, -1, 383, 565, 231, 232, -1, 330, 706, -1, 391, 709, 393, -1, 337, 335, 336, 579, 44, 330, -1, 279, 280, 721, 722, 723, 337, -1, 348, -1, 350, 342, 352, 353, 354, 355, 347, 348, 349, 350, -1, -1, -1, 349, 262, 263, 264, 428, -1, -1, 268, 269, -1, 271, 302, 303, 304, 305, 545, 307, 308, 262, 263, 264, 370, 91, -1, 268, 269, 767, 271, -1, 330, 771, 772, -1, -1, 383, 565, 337, -1, -1, 342, -1, 342, 391, -1, 393, 650, 651, 279, 280, 579, -1, 792, 657, 658, 319, 660, 661, 358, -1, -1, 361, -1, 41, -1, -1, 44, 369, -1, 44, -1, 335, 336, -1, -1, 377, 378, 346, -1, 348, 428, 371, -1, 61, 348, 387, 826, -1, 352, 353, 354, 355, -1, -1, -1, 835, -1, 837, 702, 330, 402, -1, 706, -1, 844, -1, 337, -1, 377, -1, -1, 342, -1, 91, -1, -1, 91, 721, 722, 723, -1, 650, 545, -1, 414, 394, 319, 358, 657, 658, 361, 660, 661, -1, -1, -1, -1, 406, 407, -1, -1, 410, 565, -1, -1, 414, -1, -1, -1, -1, 41, 41, 454, 44, 44, 348, 579, -1, -1, 352, 353, 354, 355, -1, -1, -1, 41, 771, 772, 44, 61, 61, 441, 702, -1, 444, -1, 706, 447, -1, 304, -1, -1, 307, 308, 309, 61, 10, 792, -1, -1, -1, 721, 722, 723, -1, -1, 545, -1, 41, 91, 91, 44, 505, 506, 507, 330, -1, -1, 511, -1, 279, 280, 337, -1, -1, 91, 565, 342, 61, 522, 523, 826, 347, 348, 349, 350, 650, -1, -1, -1, 579, -1, 837, 657, 658, 59, 660, 661, -1, 844, -1, 771, 772, 546, -1, -1, -1, -1, 91, -1, -1, -1, -1, 544, -1, -1, 526, -1, -1, -1, -1, 330, 792, -1, 10, -1, -1, -1, 337, -1, -1, -1, -1, 342, -1, 578, -1, 580, 702, 582, -1, -1, 706, -1, -1, -1, -1, 590, -1, 358, -1, -1, 361, -1, -1, -1, 826, 721, 722, 723, 279, 650, -1, 279, 280, -1, -1, 837, -1, 658, -1, 660, 661, 59, 844, -1, 607, -1, -1, -1, -1, -1, -1, 593, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, 611, 633, -1, -1, 615, -1, 771, 772, 619, -1, 330, -1, -1, 330, -1, -1, 706, 337, -1, 630, 337, -1, 342, -1, 41, 342, 0, 792, -1, -1, -1, 721, 722, 723, -1, -1, 10, 681, 358, -1, -1, 358, 59, -1, 361, -1, 279, 279, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 826, 279, -1, -1, -1, -1, 41, 679, -1, 44, -1, 837, -1, -1, -1, -1, 709, 689, 844, -1, 771, 772, -1, 58, 59, -1, 61, -1, 63, -1, -1, -1, 737, 738, 279, -1, 330, 330, -1, -1, -1, 792, -1, 337, 337, -1, -1, 125, 720, -1, -1, -1, 330, -1, -1, 727, 91, -1, 93, 337, -1, 733, -1, 304, 358, 358, 307, 308, 309, -1, -1, -1, -1, -1, -1, 826, -1, -1, 304, -1, 358, 307, 308, 309, -1, 330, 837, -1, 0, -1, 125, -1, 337, 844, 799, -1, -1, 769, 10, -1, -1, 342, -1, -1, 330, -1, 347, 348, 349, 350, -1, 337, -1, 358, -1, -1, 342, -1, -1, -1, -1, 347, 348, 349, 350, -1, 798, -1, -1, 41, 835, -1, 44, -1, -1, -1, 808, 319, -1, -1, 812, -1, -1, -1, -1, -1, 58, 59, -1, 61, -1, 63, -1, 335, 336, 10, 304, -1, 863, 307, 308, 309, -1, -1, -1, -1, 348, -1, 350, -1, 352, 353, 354, 355, -1, 847, 358, 849, 360, 91, -1, 93, 330, -1, 262, 263, 264, -1, -1, 337, 268, 269, -1, 271, 342, 867, -1, 869, -1, 347, 348, 349, 350, -1, -1, 877, -1, -1, 63, 881, -1, -1, -1, 125, -1, 293, 294, 295, 296, 297, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, 63, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, -1, 10, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, -1, 363, 364, 365, 366, 367, 368, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, 59, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, -1, -1, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 0, 363, 364, 365, 366, 367, 368, -1, -1, -1, 10, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, -1, 331, 332, -1, -1, 335, 336, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, 348, 44, 350, -1, 352, 353, 354, 355, 356, 357, 358, -1, 360, -1, -1, 58, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, -1, 331, 332, -1, -1, 335, 336, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, 348, -1, 350, -1, 352, 353, 354, 355, 356, 357, 358, -1, 360, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304, -1, -1, 307, 308, 309, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 330, 58, 59, -1, 61, -1, 63, 337, -1, -1, -1, -1, 342, -1, -1, -1, -1, 347, 348, 349, 350, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, -1, -1, 91, -1, 93, 335, 336, -1, -1, -1, -1, -1, 44, -1, -1, -1, -1, -1, 348, -1, 350, -1, 352, 353, 354, 355, 356, 357, 358, -1, 360, 63, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 58, 311, 312, 313, 314, 63, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, -1, -1, 335, 336, 337, 338, -1, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, 63, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, -1, -1, 335, 336, 337, 338, -1, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 0, 363, 364, 365, 366, 367, 368, -1, -1, -1, 10, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, -1, 331, 332, -1, -1, 335, 336, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, 348, 44, 350, -1, 352, 353, 354, 355, 356, 357, 358, -1, 360, -1, -1, 58, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, -1, 331, 332, -1, 0, 335, 336, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 125, 348, -1, 350, -1, 352, 353, 354, 355, 356, 357, 358, -1, 360, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304, 305, -1, -1, 308, 41, -1, -1, 44, -1, -1, -1, 316, 317, -1, 319, 320, 321, 322, -1, 324, 325, 58, 59, 328, -1, -1, 63, -1, 333, 334, 335, 336, -1, -1, -1, -1, -1, -1, 297, -1, -1, -1, 347, 348, -1, 350, 351, 352, 353, 354, 355, 356, 357, 358, 91, 360, 93, 362, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, -1, 331, 332, -1, -1, 335, 336, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, 348, -1, 350, -1, 352, 353, 354, 355, 356, 357, 358, -1, 360, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, -1, -1, 335, 336, 337, 338, -1, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, -1, -1, 335, 336, 337, 338, -1, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 0, 363, 364, 365, 366, 367, 368, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 58, 59, -1, 265, 266, 63, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, 91, -1, 93, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, 0, -1, 318, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, 338, -1, -1, 341, -1, 343, 344, 345, -1, 347, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, 358, -1, 44, -1, -1, 363, 364, 365, 366, 367, 368, 304, 305, -1, -1, 308, 58, 59, -1, -1, -1, 63, -1, 316, 317, -1, 319, 320, 321, 322, -1, 324, 325, -1, -1, 328, -1, -1, -1, -1, 333, 334, 335, 336, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, 347, 348, -1, 350, 351, 352, 353, 354, 355, 356, 357, 358, -1, 360, -1, 362, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, -1, -1, 335, 336, 337, 338, -1, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, -1, -1, 335, 336, 337, 338, -1, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 0, 363, 364, 365, 366, 367, 368, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, -1, 58, 59, 265, 266, -1, 63, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, 91, -1, 93, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 0, 318, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 125, -1, -1, -1, -1, 335, -1, -1, 338, -1, -1, 341, -1, 343, 344, 345, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, 363, 364, 365, 366, 367, 368, 304, 305, -1, -1, 308, -1, 58, 59, -1, -1, -1, 63, 316, 317, -1, 319, 320, 321, 322, -1, 324, 325, -1, -1, 328, -1, -1, -1, -1, 333, 334, 335, 336, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, 347, 348, -1, 350, 351, 352, 353, 354, 355, 356, 357, 358, -1, 360, -1, 362, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, -1, -1, 335, 336, 337, 338, -1, 340, 341, -1, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, -1, -1, 335, 336, 337, 338, -1, 340, 341, -1, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 0, 363, 364, 365, 366, 367, 368, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, -1, -1, -1, -1, -1, 316, 317, -1, 319, 320, 321, 322, 41, 324, 325, 44, -1, 328, -1, -1, -1, -1, 333, 334, 335, 336, -1, -1, -1, 58, 59, -1, 61, -1, 63, -1, 347, 348, -1, 350, 351, 352, 353, 354, 355, 356, 357, 358, -1, 360, -1, 362, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, 91, -1, 93, -1, -1, 316, 317, -1, 319, 320, 321, 322, -1, 324, 325, -1, -1, 328, -1, -1, -1, 0, 333, 334, 335, 336, -1, -1, -1, -1, -1, 10, -1, -1, 125, -1, 347, 348, -1, 350, 351, 352, 353, 354, 355, 356, 357, 358, -1, 360, -1, 362, -1, -1, -1, -1, -1, 304, 305, -1, -1, 308, 41, -1, -1, 44, -1, -1, -1, 316, 317, -1, 319, 320, 321, 322, -1, 324, 325, 58, 59, 328, -1, -1, 63, -1, 333, 334, 335, 336, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 347, 348, -1, 350, 351, 352, 353, 354, 355, 356, 357, 358, 91, 360, 93, 362, 319, 320, 321, 322, 323, 324, 325, 326, -1, 328, 329, -1, -1, -1, -1, -1, 335, 336, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 348, 125, 350, -1, 352, 353, 354, 355, 356, 357, 358, -1, 360, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, -1, -1, 335, 336, 337, 338, -1, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, -1, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, }; } | 52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/b1293eda8454686e846e2a9837b348e2983bb423/YyTables.java/clean/src/org/jruby/parser/YyTables.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1564,
21,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
6647,
4711,
16,
282,
2872,
16,
225,
576,
3600,
16,
282,
5045,
16,
282,
5342,
16,
565,
2371,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1564,
21,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
6647,
4711,
16,
282,
2872,
16,
225,
576,
3600,
16,
282,
5045,
16,
282,
5342,
16,
565,
2371,
16,
... |
parse(buffer.toString(), ParserLanguage.C, true, true); | parse(buffer.toString(), ParserLanguage.C, true, 0); | public void test6_5_2_5s12() throws Exception { StringBuffer buffer = new StringBuffer(); buffer.append("int f() {\n"); //$NON-NLS-1$ buffer.append("(const float []){1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6};\n"); //$NON-NLS-1$ buffer.append("}\n"); //$NON-NLS-1$ parse(buffer.toString(), ParserLanguage.C, true, true); } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/7d7fa374bfd169ce8924a5c15bd01444e6e6e445/AST2CSpecTest.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CSpecTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
26,
67,
25,
67,
22,
67,
25,
87,
2138,
1435,
1216,
1185,
288,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
202,
202,
4106,
18,
6923,
2932,
474,
284,
1435,
1889... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
26,
67,
25,
67,
22,
67,
25,
87,
2138,
1435,
1216,
1185,
288,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
202,
202,
4106,
18,
6923,
2932,
474,
284,
1435,
1889... |
nextPacketNumber = packetNumber; | nextPacketNumber = packetNumber+1; Logger.minor(this, "Allocated "+packetNumber+" in allocateOutgoingPacketNumberNeverBlock"); | public int allocateOutgoingPacketNumberNeverBlock() throws KeyChangedException, NotConnectedException, WouldBlockException { int packetNumber; if(!pn.isConnected()) throw new NotConnectedException(); synchronized(this) { packetNumber = nextPacketNumber+1; if(isDeprecated) throw new KeyChangedException(); sentPacketsContents.lockNeverBlock(packetNumber); nextPacketNumber = packetNumber; return packetNumber; } } | 50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/e0eff59b71717f7bc5a1edbe8b69c78b06f2025f/KeyTracker.java/buggy/src/freenet/node/KeyTracker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
10101,
24866,
6667,
1854,
50,
6084,
1768,
1435,
1216,
1929,
5033,
503,
16,
31541,
503,
16,
678,
1006,
1768,
503,
288,
3639,
509,
4414,
1854,
31,
3639,
309,
12,
5,
7449,
18,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
10101,
24866,
6667,
1854,
50,
6084,
1768,
1435,
1216,
1929,
5033,
503,
16,
31541,
503,
16,
678,
1006,
1768,
503,
288,
3639,
509,
4414,
1854,
31,
3639,
309,
12,
5,
7449,
18,
2... |
IProgramElement pNode = (IProgramElement)((IProgramElement)node).getChildren().get(1); | IProgramElement pNode = (IProgramElement)((IProgramElement)node).getChildren().get(2); | public void testPointcutName() throws IOException { File testFile = openFile("figures-coverage/figures/Main.java"); IProgramElement node = Ajde.getDefault().getStructureModelManager().getHierarchy().findElementForSourceFile( testFile.getAbsolutePath()); assertTrue("find result", node != null) ; IProgramElement pNode = (IProgramElement)((IProgramElement)node).getChildren().get(1); IProgramElement pointcut = (IProgramElement)pNode.getChildren().get(0); assertTrue("kind", pointcut.getKind().equals(IProgramElement.Kind.POINTCUT)); assertTrue("found node: " + pointcut.getName(), pointcut.toLabelString().equals("testptct()")); } | 53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/3a495aad88865d64d3e8ee005241e7edbe5a7a82/StructureModelTest.java/buggy/ajde/testsrc/org/aspectj/ajde/StructureModelTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
2148,
5150,
461,
1435,
1216,
1860,
288,
202,
202,
812,
1842,
812,
273,
31622,
2932,
470,
1823,
17,
16356,
19,
470,
1823,
19,
6376,
18,
6290,
8863,
1082,
202,
45,
94... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
2148,
5150,
461,
1435,
1216,
1860,
288,
202,
202,
812,
1842,
812,
273,
31622,
2932,
470,
1823,
17,
16356,
19,
470,
1823,
19,
6376,
18,
6290,
8863,
1082,
202,
45,
94... |
sql += " AND a.attname LIKE '"+escapeQuotes(columnNamePattern.toLowerCase())+"' "; | sql += " AND a.attname LIKE '"+escapeQuotes(columnNamePattern)+"' "; | public java.sql.ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException { Field f[] = new Field[8]; Vector v = new Vector(); if (table == null) table = "%"; if (columnNamePattern == null) columnNamePattern = "%"; else columnNamePattern = columnNamePattern.toLowerCase(); f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, getMaxNameLength()); f[1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, getMaxNameLength()); f[2] = new Field(connection, "TABLE_NAME", iVarcharOid, getMaxNameLength()); f[3] = new Field(connection, "COLUMN_NAME", iVarcharOid, getMaxNameLength()); f[4] = new Field(connection, "GRANTOR", iVarcharOid, getMaxNameLength()); f[5] = new Field(connection, "GRANTEE", iVarcharOid, getMaxNameLength()); f[6] = new Field(connection, "PRIVILEGE", iVarcharOid, getMaxNameLength()); f[7] = new Field(connection, "IS_GRANTABLE", iVarcharOid, getMaxNameLength()); String sql; if (connection.haveMinimumServerVersion("7.3")) { sql = "SELECT n.nspname,c.relname,u.usename,c.relacl,a.attname "+ " FROM pg_catalog.pg_namespace n, pg_catalog.pg_class c, pg_catalog.pg_user u, pg_catalog.pg_attribute a "+ " WHERE c.relnamespace = n.oid "+ " AND u.usesysid = c.relowner "+ " AND c.oid = a.attrelid "+ " AND c.relkind = 'r' "+ " AND a.attnum > 0 AND NOT a.attisdropped "; if (schema != null && !"".equals(schema)) { sql += " AND n.nspname = '"+escapeQuotes(schema.toLowerCase())+"' "; } } else { sql = "SELECT NULL::text AS nspname,c.relname,u.usename,c.relacl,a.attname "+ "FROM pg_class c, pg_user u,pg_attribute a "+ " WHERE u.usesysid = c.relowner "+ " AND c.oid = a.attrelid "+ " AND a.attnum > 0 "+ " AND c.relkind = 'r' "; } sql += " AND c.relname = '"+escapeQuotes(table.toLowerCase())+"' "; if (columnNamePattern != null && !"".equals(columnNamePattern)) { sql += " AND a.attname LIKE '"+escapeQuotes(columnNamePattern.toLowerCase())+"' "; } sql += " ORDER BY attname "; ResultSet rs = connection.createStatement().executeQuery(sql); while (rs.next()) { byte schemaName[] = rs.getBytes("nspname"); byte tableName[] = rs.getBytes("relname"); byte column[] = rs.getBytes("attname"); String owner = rs.getString("usename"); String acl = rs.getString("relacl"); Hashtable permissions = parseACL(acl); String permNames[] = new String[permissions.size()]; Enumeration e = permissions.keys(); int i=0; while (e.hasMoreElements()) { permNames[i++] = (String)e.nextElement(); } sortStringArray(permNames); for (i=0; i<permNames.length; i++) { byte[] privilege = permNames[i].getBytes(); Vector grantees = (Vector)permissions.get(permNames[i]); for (int j=0; j<grantees.size(); j++) { String grantee = (String)grantees.elementAt(j); String grantable = owner.equals(grantee) ? "YES" : "NO"; byte[][] tuple = new byte[8][]; tuple[0] = null; tuple[1] = schemaName; tuple[2] = tableName; tuple[3] = column; tuple[4] = owner.getBytes(); tuple[5] = grantee.getBytes(); tuple[6] = privilege; tuple[7] = grantable.getBytes(); v.addElement(tuple); } } } rs.close(); return connection.getResultSet(null, f, v, "OK", 1); } | 11803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11803/fdf6b4ff936167388fc18276cbcf88c54dd0d3b7/AbstractJdbc1DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
6716,
27692,
12,
780,
6222,
16,
514,
1963,
16,
514,
1014,
16,
514,
7578,
3234,
13,
1216,
6483,
202,
95,
202,
202,
974,
284,
8526,
273,
394,
2286,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
6716,
27692,
12,
780,
6222,
16,
514,
1963,
16,
514,
1014,
16,
514,
7578,
3234,
13,
1216,
6483,
202,
95,
202,
202,
974,
284,
8526,
273,
394,
2286,
... |
throw new PropertyException("Could not find key '" + key + "': " + e.getMessage()); | return null; | public PropertySetItem findByKey(String entityName, Long entityId, String key) { Session session = null; PropertySetItem item = null; try { session = this.sessionFactory.openSession(); item = HibernatePropertySetDAOUtils.getItem(session, entityName, entityId, key); session.flush(); } catch (HibernateException e) { throw new PropertyException("Could not find key '" + key + "': " + e.getMessage()); } finally { try { if (session != null) { session.close(); } } catch (Exception e) { } } return item; } | 22724 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/22724/2615d4fbaac5c92070a1d4fa8a1033dbc073980e/HibernatePropertySetDAOImpl.java/buggy/src/java/com/opensymphony/module/propertyset/hibernate/HibernatePropertySetDAOImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4276,
694,
1180,
6224,
653,
12,
780,
14868,
16,
3407,
15052,
16,
514,
498,
13,
288,
3639,
3877,
1339,
273,
446,
31,
3639,
4276,
694,
1180,
761,
273,
446,
31,
3639,
775,
288,
5411,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4276,
694,
1180,
6224,
653,
12,
780,
14868,
16,
3407,
15052,
16,
514,
498,
13,
288,
3639,
3877,
1339,
273,
446,
31,
3639,
4276,
694,
1180,
761,
273,
446,
31,
3639,
775,
288,
5411,... |
announcement = persistentAnnouncement.readAnnouncementByTitleAndCreationDateAndSite("announcement1deTFCI", date, this.site); | announcement = persistentAnnouncement.readAnnouncementByTitleAndCreationDateAndSite("announcement1deTFCI", (Timestamp)date, this.site); | public void testDeleteAnnouncement() { IAnnouncement announcement = null; //read existing Calendar calendar = Calendar.getInstance(); calendar.set(Calendar.YEAR, 2003); calendar.set(Calendar.MONTH, Calendar.JANUARY); calendar.set(Calendar.DATE, 21); calendar.set(Calendar.HOUR_OF_DAY, 0); calendar.set(Calendar.MINUTE, 0); calendar.set(Calendar.SECOND, 0); calendar.set(Calendar.MILLISECOND, 0); Date date = calendar.getTime(); try { persistentSupport.iniciarTransaccao(); announcement = persistentAnnouncement.readAnnouncementByTitleAndCreationDateAndSite("announcement1deTFCI", date, this.site); persistentSupport.confirmarTransaccao(); } catch(ExcepcaoPersistencia ex) { fail("testDeleteAnnouncement: readAnnouncementByTitleAndCreationDateAndSite existing"); } assertNotNull(announcement); //erase it try { persistentSupport.iniciarTransaccao(); persistentAnnouncement.delete(announcement); persistentSupport.confirmarTransaccao(); } catch(ExcepcaoPersistencia ex2) { fail("testDeleteAnnouncement: delete"); } //read it again announcement = null; try { persistentSupport.iniciarTransaccao(); announcement = persistentAnnouncement.readAnnouncementByTitleAndCreationDateAndSite("announcement1deTFCI", date, this.site); persistentSupport.confirmarTransaccao(); } catch(ExcepcaoPersistencia ex) { fail("testDeleteAnnouncement: readAnnouncementByTitleAndCreationDateAndSite unexisting"); } assertNull(announcement); } | 2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/bc6428a708cc5e440615ee4a962047a2c64c94f7/AnnouncementOJBTest.java/clean/src_tests/ServidorPersistente/OJB/AnnouncementOJBTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2613,
23137,
475,
1435,
288,
3639,
467,
23137,
475,
25199,
273,
446,
31,
202,
202,
759,
896,
2062,
540,
202,
202,
7335,
5686,
273,
5542,
18,
588,
1442,
5621,
202,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2613,
23137,
475,
1435,
288,
3639,
467,
23137,
475,
25199,
273,
446,
31,
202,
202,
759,
896,
2062,
540,
202,
202,
7335,
5686,
273,
5542,
18,
588,
1442,
5621,
202,
202,
... |
flMain.marginHeight = 1; flMain.marginWidth = 1; | flMain.marginHeight = 4; flMain.marginWidth = 2; | private void placeComponents() { // Layout for entire composite FillLayout flMain = new FillLayout(); flMain.marginHeight = 1; flMain.marginWidth = 1; // Layout for content composite GridLayout glContent = new GridLayout(); glContent.verticalSpacing = 2; glContent.marginHeight = 0; glContent.marginWidth = 0; glContent.numColumns = 2; // Layout for Grid Lines group FillLayout flLines = new FillLayout(); flLines.marginHeight = 1; flLines.marginWidth = 1; // Layout for Ticks group GridLayout glTicks = new GridLayout(); glTicks.marginHeight = 0; glTicks.marginWidth = 1; glTicks.verticalSpacing = 2; // Layout for Tick style composite GridLayout glStyle = new GridLayout(); glStyle.marginHeight = 0; glStyle.marginWidth = 4; glStyle.numColumns = 5; this.setLayout(flMain); // Content Composite cmpContent = new Composite(this, SWT.NONE); cmpContent.setLayout(glContent); // Grid Lines group cmpLines = new Composite(cmpContent, SWT.NONE); GridData gdCMPLines = new GridData(GridData.FILL_BOTH); gdCMPLines.horizontalSpan = 2; cmpLines.setLayoutData(gdCMPLines); cmpLines.setLayout(flLines); // Line Attributes for Grid Lines liacLines = new LineAttributesComposite(cmpLines, SWT.NONE, grid.getLineAttributes(), true, true); GridData gdLIACLines = new GridData(GridData.FILL_BOTH); liacLines.setLayoutData(gdLIACLines); liacLines.addListener(this); // Ticks group grpTicks = new Group(cmpContent, SWT.NONE); GridData gdGRPTicks = new GridData(GridData.FILL_BOTH); gdGRPTicks.horizontalSpan = 2; grpTicks.setLayoutData(gdGRPTicks); grpTicks.setLayout(glTicks); grpTicks.setText("Ticks"); // Line Attributes for Ticks liacTicks = new LineAttributesComposite(grpTicks, SWT.NONE, grid.getTickAttributes(), false, false); GridData gdLIACTicks = new GridData(GridData.FILL_HORIZONTAL); liacTicks.setLayoutData(gdLIACTicks); liacTicks.addListener(this); // Tick Style composite cmpStyle = new Composite(grpTicks, SWT.NONE); GridData gdCMPStyle = new GridData(GridData.FILL_BOTH); cmpStyle.setLayoutData(gdCMPStyle); cmpStyle.setLayout(glStyle); // Tick Styles Label lblStyle = new Label(cmpStyle, SWT.NONE); GridData gdLBLStyle = new GridData(); gdLBLStyle.widthHint = 44; lblStyle.setLayoutData(gdLBLStyle); lblStyle.setText("Style:"); cmbTickStyle = new Combo(cmpStyle, SWT.DROP_DOWN | SWT.READ_ONLY); GridData gdCMBTickStyle = new GridData(GridData.FILL_HORIZONTAL); gdCMBTickStyle.horizontalSpan = 4; cmbTickStyle.setLayoutData(gdCMBTickStyle); cmbTickStyle.addSelectionListener(this); populateLists(); setDefaultSelections(); } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/3312cd0d7d4efb945ae26dd43efddc7cb433aa3c/GridAttributesComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/GridAttributesComposite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3166,
7171,
1435,
565,
288,
3639,
368,
9995,
364,
7278,
9635,
3639,
14192,
3744,
1183,
6376,
273,
394,
14192,
3744,
5621,
3639,
1183,
6376,
18,
10107,
2686,
273,
404,
31,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3166,
7171,
1435,
565,
288,
3639,
368,
9995,
364,
7278,
9635,
3639,
14192,
3744,
1183,
6376,
273,
394,
14192,
3744,
5621,
3639,
1183,
6376,
18,
10107,
2686,
273,
404,
31,
3639,
... |
public void observeClass(JavaClass javaClass) { delegate.observeClass(javaClass); | public void observeClass(ClassDescriptor classDescriptor) { delegate.observeClass(classDescriptor); | public void observeClass(JavaClass javaClass) { delegate.observeClass(javaClass); } | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/3de38a6d821ec40ddbb0ce09f91204920f4e34cd/DelegatingBugReporter.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/DelegatingBugReporter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
19389,
797,
12,
5852,
797,
2252,
797,
13,
288,
202,
202,
22216,
18,
12199,
537,
797,
12,
6290,
797,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
19389,
797,
12,
5852,
797,
2252,
797,
13,
288,
202,
202,
22216,
18,
12199,
537,
797,
12,
6290,
797,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
buf.append(", primaryKeys=").append(primaryKeys); buf.append(", starBases=").append(starBases); buf.append(", querytype=").append(stringquerytype); | buf.append(", starBases=[").append( StringUtil.toString( starBases ) ); buf.append("], primaryKeys=[").append( StringUtil.toString( primaryKeys ) ); buf.append("], querytype=").append(stringquerytype); | public String toString() { StringBuffer buf = new StringBuffer(); buf.append("["); buf.append(", primaryKeys=").append(primaryKeys); buf.append(", starBases=").append(starBases); buf.append(", querytype=").append(stringquerytype); buf.append(", attributes=").append(attributes); buf.append(", filters=").append(filters); if ( seqd != null) buf.append(", sequencedescription=").append(seqd); buf.append("]"); return buf.toString(); } | 2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/42e92240032e00cfa75b72717c9bec7a49e9f639/Query.java/buggy/src/java/org/ensembl/mart/explorer/Query.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
1071,
514,
1762,
1435,
288,
540,
6674,
1681,
273,
394,
6674,
5621,
1082,
1681,
18,
6923,
2932,
63,
8863,
540,
1681,
18,
6923,
2932,
16,
31629,
1546,
2934,
6923,
12,
8258,
2396,
1769,
540... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
1071,
514,
1762,
1435,
288,
540,
6674,
1681,
273,
394,
6674,
5621,
1082,
1681,
18,
6923,
2932,
63,
8863,
540,
1681,
18,
6923,
2932,
16,
31629,
1546,
2934,
6923,
12,
8258,
2396,
1769,
540... |
return value.doubleValue(); } | return value.doubleValue(); } | public double getDoubleValue() { return value.doubleValue(); } | 52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/1cc89bd397c0f049e6fa3045916fd6d9a3cdada8/RubyBignum.java/clean/org/jruby/RubyBignum.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1645,
16097,
620,
1435,
288,
3639,
327,
460,
18,
9056,
620,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1645,
16097,
620,
1435,
288,
3639,
327,
460,
18,
9056,
620,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
emitMapping(ptwo, (JoinPathNd) two.getMapping(), 1); | emitMapping(ptwo, (JoinPathNd) two.getMapping(), 1, 2); emitMapping(ptwo.getReverse(), (JoinPathNd) one.getMapping(), 0, 1); | public void onAssociation(AssociationNd assn) { if (assn.getProperties().size() == 0) { return; } PropertyNd one = assn.getRoleOne(); PropertyNd two = assn.getRoleTwo(); ObjectType ot = m_symbols.getEmitted(linkName(assn)); ObjectMap om = m_root.getObjectMap(ot); Collection keys = om.getKeyProperties(); Property pone = ot.getProperty(one.getName().getName()); Property ptwo = ot.getProperty(two.getName().getName()); keys.add(ptwo); keys.add(pone); if (one.getMapping() != null) { emitMapping(pone, (JoinPathNd) one.getMapping(), 1); } else { om.addMapping(new Static(Path.get(pone.getName()))); } if (two.getMapping() != null) { emitMapping(ptwo, (JoinPathNd) two.getMapping(), 1); } else { om.addMapping(new Static(Path.get(ptwo.getName()))); } String[] paths = new String[] { pone.getName(), ptwo.getName() }; for (int i = 0; i < paths.length; i++) { Mapping m = om.getMapping(Path.get(paths[i])); if (m.getTable() != null) { om.setTable(m.getTable()); break; } } } | 12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/2a2bd9f1f4188fef4fb083541913fc945ab3d6de/PDL.java/buggy/archive/proto/src/com/arsdigita/persistence/proto/pdl/PDL.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
603,
7174,
12,
7174,
50,
72,
1551,
82,
13,
288,
1082,
565,
309,
261,
428,
82,
18,
588,
2297,
7675,
1467,
1435,
422,
374,
13,
288,
1082,
202,
2463,
31,
1082,
565,
289,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
603,
7174,
12,
7174,
50,
72,
1551,
82,
13,
288,
1082,
565,
309,
261,
428,
82,
18,
588,
2297,
7675,
1467,
1435,
422,
374,
13,
288,
1082,
202,
2463,
31,
1082,
565,
289,
... |
MessageDialog.openError(null, IBugzillaConstants.REPORT_SUBMIT_ERROR, event.getResult() .getMessage()); | MylarStatusHandler.fail(event.getJob().getResult().getException(), IBugzillaConstants.REPORT_SUBMIT_ERROR+"\n"+event.getJob().getResult().getMessage(), true); | public void submitToRepository() { submitButton.setEnabled(false); showBusy(true); if (isDirty()) { doSave(new NullProgressMonitor()); } BugzillaReportSubmitForm bugzillaReportSubmitForm; try { if (taskData.isLocallyCreated()) { boolean wrap = IBugzillaConstants.BugzillaServerVersion.SERVER_218.equals(repository.getVersion()); bugzillaReportSubmitForm = BugzillaReportSubmitForm.makeNewBugPost(repository.getUrl(), repository .getUserName(), repository.getPassword(), repository.getCharacterEncoding(), taskData, wrap); } else { bugzillaReportSubmitForm = BugzillaReportSubmitForm.makeExistingBugPost(taskData, repository.getUrl(), repository.getUserName(), repository.getPassword(), repository.getCharacterEncoding()); } } catch (UnsupportedEncodingException e) { // should never get here but just in case... MessageDialog.openError(null, "Posting Error", "Ensure proper encoding selected in " + TaskRepositoriesView.NAME + "."); return; } final BugzillaRepositoryConnector bugzillaRepositoryConnector = (BugzillaRepositoryConnector) TasksUiPlugin .getRepositoryManager().getRepositoryConnector(BugzillaCorePlugin.REPOSITORY_KIND); final AbstractRepositoryTask modifiedTask = (AbstractRepositoryTask) TasksUiPlugin.getTaskListManager() .getTaskList().getTask(AbstractRepositoryTask.getHandle(repository.getUrl(), taskData.getId())); JobChangeAdapter submitJobListener = new JobChangeAdapter() { public void done(final IJobChangeEvent event) { PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() { public void run() { if (event.getJob().getResult().getCode() == Status.OK && event.getJob().getResult().getMessage() != null) {// // Attach context if (getAttachContext()) { IWorkbench wb = PlatformUI.getWorkbench(); IProgressService ps = wb.getProgressService(); try { ps.busyCursorWhile(new IRunnableWithProgress() { public void run(IProgressMonitor pm) { try { bugzillaRepositoryConnector.attachContext(repository, modifiedTask, ""); } catch (Exception e) { MylarStatusHandler.fail(e, "Failed to attach task context.\n\n" + e.getMessage(), true); } } }); } catch (InvocationTargetException e1) { MylarStatusHandler.fail(e1.getCause(), "Failed to attach task context.\n\n" + e1.getMessage(), true); } catch (InterruptedException e1) { // ignore } } if (modifiedTask != null) { // TODO: This is set to null in order for update // to bypass // ui override check with user // Need to change how this is achieved. // modifiedTask.setTaskData(null); TasksUiPlugin.getSynchronizationManager().synchronize(connector, modifiedTask, true, new JobChangeAdapter() { @Override public void done(IJobChangeEvent event) { close(); TaskUiUtil.openEditor(modifiedTask, false); } }); Set<AbstractRepositoryQuery> queriesWithHandle = TasksUiPlugin.getTaskListManager() .getTaskList().getQueriesForHandle(modifiedTask.getHandleIdentifier()); // Sync Queries that have this task TasksUiPlugin.getSynchronizationManager().synchronize(connector, queriesWithHandle, null, Job.SHORT, 0, false); // Sync any tasks that might have changed as a // result of this action // TODO: removed since we don't have a way to // exclude currently submitted task // and others will be synched later by // background sync anyway (or manual sync) // TasksUiPlugin.getSynchronizationManager().synchronizeChanged(connector, // repository); } else { TaskUiUtil.openRepositoryTask(repository.getUrl(), BugzillaTaskEditor.this .getRepositoryTaskData().getId(), repository.getUrl() + IBugzillaConstants.URL_GET_SHOW_BUG + BugzillaTaskEditor.this.getRepositoryTaskData().getId()); close(); } return; } else if (event.getJob().getResult().getCode() == Status.INFO) { WebBrowserDialog.openAcceptAgreement(null, IBugzillaConstants.REPORT_SUBMIT_ERROR, event .getJob().getResult().getMessage(), event.getJob().getResult().getException() .getMessage()); submitButton.setEnabled(true); BugzillaTaskEditor.this.showBusy(false); } else if (event.getJob().getResult().getCode() == Status.ERROR) { MessageDialog.openError(null, IBugzillaConstants.REPORT_SUBMIT_ERROR, event.getResult() .getMessage()); submitButton.setEnabled(true); BugzillaTaskEditor.this.showBusy(false); } } }); } }; submissionHandler.submitBugReport(bugzillaReportSubmitForm, submitJobListener, false, false); } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/37b2ffa73f8e52102ec1ad51329a9d26725cdc43/BugzillaTaskEditor.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4879,
774,
3305,
1435,
288,
202,
202,
9297,
3616,
18,
542,
1526,
12,
5743,
1769,
202,
202,
4500,
29289,
12,
3767,
1769,
202,
202,
430,
261,
291,
10785,
10756,
288,
1082,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4879,
774,
3305,
1435,
288,
202,
202,
9297,
3616,
18,
542,
1526,
12,
5743,
1769,
202,
202,
4500,
29289,
12,
3767,
1769,
202,
202,
430,
261,
291,
10785,
10756,
288,
1082,
... |
return null; if (nsName == null) { FindBindingByLinkageConstant finder = new FindBindingByLinkageConstant(this, name.toCharArray(), CPPNAMESPACE); getIndex().accept(finder); if(finder.getResult()==null) { finder = new FindBindingByLinkageConstant(this, name.toCharArray(), CPPCLASSTYPE); getIndex().accept(finder); } return finder.getResult(); } else { | private PDOMBinding resolveInQualifiedName(IASTName name) throws CoreException { ICPPASTQualifiedName qualName = (ICPPASTQualifiedName)name.getParent(); // Must be a namespace or a class IASTName[] names = qualName.getNames(); IASTName nsName = null; for (int i = 0; i < names.length; ++i) { if (names[i] == name) break; else nsName = names[i]; } if (nsName == names[names.length - 1]) // didn't find our name here, weird... return null; if (nsName == null) { // we are at the root FindBindingByLinkageConstant finder = new FindBindingByLinkageConstant(this, name.toCharArray(), CPPNAMESPACE); getIndex().accept(finder); if(finder.getResult()==null) { finder = new FindBindingByLinkageConstant(this, name.toCharArray(), CPPCLASSTYPE); getIndex().accept(finder); } return finder.getResult(); } else { // TODO we are in another namespace return null; } } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/94f1a13a14bc4052b0e07fffa1a3ea3237d7ad88/PDOMCPPLinkage.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
453,
8168,
5250,
2245,
382,
12345,
12,
45,
9053,
461,
508,
13,
1216,
30015,
288,
202,
202,
2871,
52,
4066,
882,
12345,
4544,
461,
273,
261,
2871,
52,
4066,
882,
12345,
13,
52... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
453,
8168,
5250,
2245,
382,
12345,
12,
45,
9053,
461,
508,
13,
1216,
30015,
288,
202,
202,
2871,
52,
4066,
882,
12345,
4544,
461,
273,
261,
2871,
52,
4066,
882,
12345,
13,
52... | |
assertTrue( "Render " + fileName + " to pdf failed. " + pageRange, pdfFile.exists( ) ); assertTrue( "Render " + fileName + " to pdf failed. " + pageRange, pdfFile.length( ) != 0 ); | if ( pageRange != null && ( pageRange.equals( "0" ) || pageRange .equals( "abc" ) ) ) { assertFalse( pdfFile.exists( ) ); } else { assertTrue( "Render " + fileName + " to pdf failed. " + pageRange, pdfFile.exists( ) ); assertTrue( "Render " + fileName + " to pdf failed. " + pageRange, pdfFile.length( ) != 0 ); } | protected void renderReport( String fileName, String pageRange ) { report_design = inputPath + fileName + ".rptdesign"; report_document = outputPath + fileName + "_reportdocument"; IRenderTask task; // create directories to deposit output files createDir( fileName ); try { createReportDocument( report_design, report_document ); // open the document in the archive. reportDoc = engine.openReportDocument( report_document ); // Set IRenderOption IRenderOption htmlRenderOptions = new HTMLRenderOption( ); IRenderOption pdfRenderOptions = new HTMLRenderOption( ); HTMLRenderContext renderContext = new HTMLRenderContext( ); renderContext.setImageDirectory( "image" ); HashMap appContext = new HashMap( ); appContext.put( EngineConstants.APPCONTEXT_HTML_RENDER_CONTEXT, renderContext ); htmlRenderOptions.setOutputFormat( "html" ); pdfRenderOptions.setOutputFormat( "pdf" ); htmlRenderOptions.getOutputSetting( ).put( HTMLRenderOption.URL_ENCODING, "UTF-8" ); pdfRenderOptions.getOutputSetting( ).put( HTMLRenderOption.URL_ENCODING, "UTF-8" ); int i_bookmark = -1; if ( pageRange != null ) { i_bookmark = pageRange.indexOf( "bookmark_" ); } if ( i_bookmark == -1 ) { if ( pageRange != null && pageRange.equals( "no" ) ) { /* set page number 1 and then render the first page */ // render html output outputFileName = outputPath + fileName + "/html/page1" + ".html"; removeFile( outputFileName ); htmlRenderOptions.setOutputFileName( outputFileName ); task = engine.createRenderTask( reportDoc ); task.setLocale( Locale.ENGLISH ); task.setAppContext( appContext ); task.setRenderOption( htmlRenderOptions ); task.setPageNumber( 1 ); task.render( ); task.close( ); File htmlFile = new File( outputFileName ); assertTrue( "Render " + fileName + " to html failed. ", htmlFile.exists( ) ); assertTrue( "Render " + fileName + " to html failed. ", htmlFile.length( ) != 0 ); // render pdf output outputFileName = outputPath + fileName + "/pdf/page1" + ".pdf"; removeFile( outputFileName ); pdfRenderOptions.setOutputFileName( outputFileName ); task = engine.createRenderTask( reportDoc ); task.setLocale( Locale.ENGLISH ); task.setAppContext( appContext ); task.setRenderOption( pdfRenderOptions ); task.setPageNumber( 1 ); task.render( ); task.close( ); File pdfFile = new File( outputFileName ); assertTrue( "Render " + fileName + " to pdf failed. ", pdfFile.exists( ) ); assertTrue( "Render " + fileName + " to pdf failed. ", pdfFile.length( ) != 0 ); } else { /* set page range and then render according to range */ // render html output outputFileName = outputPath + fileName + "/html/page" + pageRange + ".html"; removeFile( outputFileName ); htmlRenderOptions.setOutputFileName( outputFileName ); task = engine.createRenderTask( reportDoc ); task.setLocale( Locale.ENGLISH ); task.setAppContext( appContext ); task.setRenderOption( htmlRenderOptions ); task.setPageRange( pageRange ); task.render( ); task.close( ); File htmlFile = new File( outputFileName ); if ( pageRange != null && ( pageRange.equals( "0" ) || pageRange .equals( "abc" ) ) ) { assertFalse( htmlFile.exists( ) ); } else { assertTrue( "Render " + fileName + " to html failed. " + pageRange, htmlFile.exists( ) ); assertTrue( "Render " + fileName + " to html failed. " + pageRange, htmlFile.length( ) != 0 ); } // render pdf output outputFileName = outputPath + fileName + "/pdf/page" + pageRange + ".pdf"; removeFile( outputFileName ); pdfRenderOptions.setOutputFileName( outputFileName ); task = engine.createRenderTask( reportDoc ); task.setLocale( Locale.ENGLISH ); task.setAppContext( new HashMap( ) ); task.setRenderOption( pdfRenderOptions ); task.setPageRange( pageRange ); task.render( ); task.close( ); File pdfFile = new File( outputFileName ); if ( pageRange != null && ( pageRange.equals( "0" ) || pageRange .equals( "abc" ) ) ) { assertFalse( pdfFile.exists( ) ); } else { assertTrue( "Render " + fileName + " to pdf failed. " + pageRange, pdfFile.exists( ) ); assertTrue( "Render " + fileName + " to pdf failed. " + pageRange, pdfFile.length( ) != 0 ); } } } else { String bookmark = pageRange.substring( 9 ); // render html output outputFileName = outputPath + fileName + "/html/bookmark_" + bookmark + ".html"; removeFile( outputFileName ); htmlRenderOptions.setOutputFileName( outputFileName ); task = engine.createRenderTask( reportDoc ); task.setLocale( Locale.ENGLISH ); task.setAppContext( appContext ); task.setBookmark( bookmark ); task.setRenderOption( htmlRenderOptions ); task.render( ); task.close( ); File htmlFile = new File( outputFileName ); assertTrue( "Render " + fileName + " to html failed. " + pageRange, htmlFile.exists( ) ); assertTrue( "Render " + fileName + " to html failed. " + pageRange, htmlFile.length( ) != 0 ); // render pdf output outputFileName = outputPath + fileName + "/pdf/bookmark_" + bookmark + ".pdf"; removeFile( outputFileName ); pdfRenderOptions.setOutputFileName( outputFileName ); task = engine.createRenderTask( reportDoc ); task.setLocale( Locale.ENGLISH ); task.setAppContext( appContext ); task.setBookmark( bookmark ); task.setRenderOption( pdfRenderOptions ); task.render( ); task.close( ); File pdfFile = new File( outputFileName ); assertTrue( "Render " + fileName + " to pdf failed. " + pageRange, pdfFile.exists( ) ); assertTrue( "Render " + fileName + " to pdf failed. " + pageRange, pdfFile.length( ) != 0 ); } task.close( ); } catch ( Exception e ) { e.printStackTrace( ); assertTrue( "Render " + fileName + " failed. " + e.getLocalizedMessage( ), false ); } } | 58644 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58644/9986640bc1706978adfbcb99f734669ec77eff7b/RenderTaskTest.java/clean/plugins/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/RenderTaskTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1743,
4820,
12,
514,
3968,
16,
514,
1363,
2655,
262,
202,
95,
202,
202,
6006,
67,
16934,
273,
810,
743,
397,
3968,
397,
3552,
86,
337,
16934,
14432,
202,
202,
6006,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1743,
4820,
12,
514,
3968,
16,
514,
1363,
2655,
262,
202,
95,
202,
202,
6006,
67,
16934,
273,
810,
743,
397,
3968,
397,
3552,
86,
337,
16934,
14432,
202,
202,
6006,
67,
... |
return "GIOP " + version + ", " + (isBigEndian() ? "Big" : "Little") + " endian, " + getTypeString(message_type) + ", " + message_size + " bytes. "; | return "GIOP " + version + ", " + (isBigEndian() ? "Big" : "Little") + " endian, " + getTypeString(message_type) + ", " + message_size + " bytes. "; | public String toString() { return "GIOP " + version + ", " + (isBigEndian() ? "Big" : "Little") + " endian, " + getTypeString(message_type) + ", " + message_size + " bytes. "; } | 47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/1ae69e4e117f16a6f054d25da0de26f83fe5b43e/MessageHeader.java/buggy/gnu/CORBA/GIOP/MessageHeader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
1762,
1435,
225,
288,
565,
327,
315,
13797,
3665,
315,
397,
1177,
397,
3104,
315,
397,
261,
291,
9901,
7583,
1435,
692,
315,
9901,
6,
294,
315,
48,
7188,
7923,
397,
6647,
315... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
1762,
1435,
225,
288,
565,
327,
315,
13797,
3665,
315,
397,
1177,
397,
3104,
315,
397,
261,
291,
9901,
7583,
1435,
692,
315,
9901,
6,
294,
315,
48,
7188,
7923,
397,
6647,
315... |
if (isRootFolder && eName.equals("url")) { isRootFolder = false; setRootUrl(stringData); sCurrentUrl = stringData; } else if (eName.equals("url")) { sCurrentUrl = stringData; } else if (eName.equals("entry")) { if (sCurrentRevision == null || sCurrentUrl == null || sCurrentKind == null) throw new SAXException("Invalid svn info xml; unable to find revision or url"); | if (isRootFolder && eName.equals("url")) { isRootFolder = false; setRootUrl(stringData); sCurrentUrl = stringData; } else if (eName.equals("url")) { sCurrentUrl = stringData; } else if (eName.equals("entry")) { if (sCurrentRevision == null || sCurrentUrl == null || sCurrentKind == null) throw new SAXException("Invalid svn info xml; unable to find revision or url"); | public void endElement(String uri, String localName, String qName) throws SAXException { String eName = localName; // element name if ("".equals(eName)) eName = qName; // namespaceAware = false if (isRootFolder && eName.equals("url")) { isRootFolder = false; setRootUrl(stringData); sCurrentUrl = stringData; } else if (eName.equals("url")) { sCurrentUrl = stringData; } else if (eName.equals("entry")) { if (sCurrentRevision == null || sCurrentUrl == null || sCurrentKind == null) throw new SAXException("Invalid svn info xml; unable to find revision or url"); hmRevisions.put(urlToRelativePath(sCurrentUrl), sCurrentRevision); if (sCurrentKind.equals("dir")) hsDirectories.add(urlToRelativePath(sCurrentUrl)); } } | 49097 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49097/d9f355feba10445bead0fc80ef15c20d6b50f76c/SvnInfoUtils.java/clean/src/net/sf/statcvs/util/SvnInfoUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
14840,
12,
780,
2003,
16,
514,
11927,
16,
514,
22914,
13,
1216,
14366,
288,
1082,
202,
780,
425,
461,
273,
11927,
31,
368,
930,
508,
1082,
202,
430,
261,
3660,
18,
14963... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
14840,
12,
780,
2003,
16,
514,
11927,
16,
514,
22914,
13,
1216,
14366,
288,
1082,
202,
780,
425,
461,
273,
11927,
31,
368,
930,
508,
1082,
202,
430,
261,
3660,
18,
14963... |
assertTrue(t_h_func_return instanceof IPointerType); IFunctionType h_return = (IFunctionType) ((IPointerType) t_h_func_return) .getType(); IType h_r = h_return.getReturnType(); IType[] h_ps = h_return.getParameterTypes(); assertTrue(h_r instanceof IBasicType); assertEquals(h_ps.length, 1); assertTrue(h_ps[0] instanceof IBasicType); } | assertTrue(t_h_func_return instanceof IPointerType); IFunctionType h_return = (IFunctionType) ((IPointerType) t_h_func_return) .getType(); IType h_r = h_return.getReturnType(); IType[] h_ps = h_return.getParameterTypes(); assertTrue(h_r instanceof IBasicType); assertEquals(h_ps.length, 1); assertTrue(h_ps[0] instanceof IBasicType); } | public void testFunctionTypes() throws Exception { StringBuffer buffer = new StringBuffer(); buffer.append("struct A; \n"); //$NON-NLS-1$ buffer.append("int * f( int i, char c ); \n"); //$NON-NLS-1$ buffer.append("void ( *g ) ( A * ); \n"); //$NON-NLS-1$ buffer.append("void (* (*h)(A**) ) ( int ); \n"); //$NON-NLS-1$ IASTTranslationUnit tu = parse(buffer.toString(), ParserLanguage.CPP); IASTSimpleDeclaration decl = (IASTSimpleDeclaration) tu.getDeclarations()[0]; IASTElaboratedTypeSpecifier elabSpec = (IASTElaboratedTypeSpecifier) decl .getDeclSpecifier(); ICompositeType A = (ICompositeType) elabSpec.getName().resolveBinding(); decl = (IASTSimpleDeclaration) tu.getDeclarations()[1]; IFunction f = (IFunction) decl.getDeclarators()[0].getName() .resolveBinding(); decl = (IASTSimpleDeclaration) tu.getDeclarations()[2]; IVariable g = (IVariable) decl.getDeclarators()[0].getNestedDeclarator() .getName().resolveBinding(); decl = (IASTSimpleDeclaration) tu.getDeclarations()[3]; IVariable h = (IVariable) decl.getDeclarators()[0].getNestedDeclarator() .getNestedDeclarator().getName().resolveBinding(); IFunctionType t_f = f.getType(); IType t_f_return = t_f.getReturnType(); assertTrue(t_f_return instanceof IPointerType); assertTrue(((IPointerType) t_f_return).getType() instanceof IBasicType); IType[] t_f_params = t_f.getParameterTypes(); assertEquals(t_f_params.length, 2); assertTrue(t_f_params[0] instanceof IBasicType); assertTrue(t_f_params[1] instanceof IBasicType); //g is a pointer to a function that returns void and has 1 parameter // struct A * IType t_g = g.getType(); assertTrue(t_g instanceof IPointerType); assertTrue(((IPointerType) t_g).getType() instanceof IFunctionType); IFunctionType t_g_func = (IFunctionType) ((IPointerType) t_g).getType(); IType t_g_func_return = t_g_func.getReturnType(); assertTrue(t_g_func_return instanceof IBasicType); IType[] t_g_func_params = t_g_func.getParameterTypes(); assertEquals(t_g_func_params.length, 1); IType t_g_func_p1 = t_g_func_params[0]; assertTrue(t_g_func_p1 instanceof IPointerType); assertSame(((IPointerType) t_g_func_p1).getType(), A); //h is a pointer to a function that returns a pointer to a function //the returned pointer to function returns void and takes 1 parameter int // the *h function takes 1 parameter struct A** IType t_h = h.getType(); assertTrue(t_h instanceof IPointerType); assertTrue(((IPointerType) t_h).getType() instanceof IFunctionType); IFunctionType t_h_func = (IFunctionType) ((IPointerType) t_h).getType(); IType t_h_func_return = t_h_func.getReturnType(); IType[] t_h_func_params = t_h_func.getParameterTypes(); assertEquals(t_h_func_params.length, 1); IType t_h_func_p1 = t_h_func_params[0]; assertTrue(t_h_func_p1 instanceof IPointerType); assertTrue(((IPointerType) t_h_func_p1).getType() instanceof IPointerType); assertSame(((IPointerType) ((IPointerType) t_h_func_p1).getType()) .getType(), A); assertTrue(t_h_func_return instanceof IPointerType); IFunctionType h_return = (IFunctionType) ((IPointerType) t_h_func_return) .getType(); IType h_r = h_return.getReturnType(); IType[] h_ps = h_return.getParameterTypes(); assertTrue(h_r instanceof IBasicType); assertEquals(h_ps.length, 1); assertTrue(h_ps[0] instanceof IBasicType); } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/85642473031be9bd27aacd0ceddea64e2ce41399/AST2CPPTests.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
2083,
2016,
1435,
1216,
1185,
288,
1377,
6674,
1613,
273,
394,
6674,
5621,
1377,
1613,
18,
6923,
2932,
1697,
432,
31,
21821,
521,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
2083,
2016,
1435,
1216,
1185,
288,
1377,
6674,
1613,
273,
394,
6674,
5621,
1377,
1613,
18,
6923,
2932,
1697,
432,
31,
21821,
521,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
... |
TypeBinding typeBinding= argument.type.binding; | TypeBinding catchTypeBinding= argument.type.binding; | public void visitCatchArguments(Argument[] arguments, BlockScope scope, int mode) { for (int i= 0; i < arguments.length; i++) { Argument argument= arguments[i]; TypeBinding typeBinding= argument.type.binding; if (mode == StatementAnalyzer.SELECTED) { fCurrentExceptions.remove(typeBinding); } else { fTypeNames.put(typeBinding, argument.type); } } } | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/7eaace66e65a5eb4729207fb55e5d9004ad0063b/ExceptionAnalyzer.java/buggy/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/core/refactoring/code/ExceptionAnalyzer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
14842,
4628,
12,
1379,
8526,
1775,
16,
3914,
3876,
2146,
16,
509,
1965,
13,
288,
202,
202,
1884,
261,
474,
277,
33,
374,
31,
277,
411,
1775,
18,
2469,
31,
277,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
14842,
4628,
12,
1379,
8526,
1775,
16,
3914,
3876,
2146,
16,
509,
1965,
13,
288,
202,
202,
1884,
261,
474,
277,
33,
374,
31,
277,
411,
1775,
18,
2469,
31,
277,
27... |
else { Utility.sleep (20); } } | void startGame () { String input; BufferedReader keyboard = new BufferedReader (new InputStreamReader (System.in)); if (parent == null) { // no GUI present, use command line while (true) { try { System.out.print ("command: "); input = keyboard.readLine (); out.println (input); } catch (IOException e) { Utility.warning ("your keyboard has crashed! strange shit happens..."); break; } } } else { // give the communication thread some time to start up Utility.sleep (20); } } | 388 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/388/518270cc649a5de8c58d13774d50e35a03f1e61a/GoGridClient.java/clean/go-3/GoGridClient.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
787,
12496,
1832,
288,
202,
780,
810,
31,
202,
202,
17947,
2514,
16263,
273,
394,
10633,
261,
2704,
15322,
261,
3163,
18,
267,
10019,
202,
430,
261,
2938,
422,
446,
13,
288,
6862,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
787,
12496,
1832,
288,
202,
780,
810,
31,
202,
202,
17947,
2514,
16263,
273,
394,
10633,
261,
2704,
15322,
261,
3163,
18,
267,
10019,
202,
430,
261,
2938,
422,
446,
13,
288,
6862,
... | |
for (Contact con : mbox.getContactList(octxt, folderId, sort)) if (con != null) ToXML.encodeContact(response, zsc, con, cacache, false, attrs, fields); | ItemId iidFolder = new ItemId(mbox, folderId); GetContactListOperation op = new GetContactListOperation(session, octxt, mbox, Requester.SOAP, iidFolder, sort); op.schedule(); List<Contact> contacts = op.getResults(); for (Contact con : contacts) if (con != null) ToXML.encodeContact(response, zsc, con, cacache, false, attrs, fields); | public Element handle(Element request, Map<String, Object> context) throws ServiceException { ZimbraSoapContext zsc = getZimbraSoapContext(context); Mailbox mbox = getRequestedMailbox(zsc); Mailbox.OperationContext octxt = zsc.getOperationContext(); boolean sync = request.getAttributeBool(MailService.A_SYNC, false); int folderId = (int) request.getAttributeLong(MailService.A_FOLDER, ALL_FOLDERS); byte sort = DbMailItem.SORT_NONE; String sortStr = request.getAttribute(MailService.A_SORTBY, ""); if (sortStr.equals(MailboxIndex.SortBy.NAME_ASCENDING.toString())) sort = DbMailItem.SORT_BY_SENDER | DbMailItem.SORT_ASCENDING; else if (sortStr.equals(MailboxIndex.SortBy.NAME_DESCENDING.toString())) sort = DbMailItem.SORT_BY_SENDER | DbMailItem.SORT_DESCENDING; ArrayList<String> attrs = null; ArrayList<Integer> ids = null; for (Element e : request.listElements()) if (e.getName().equals(MailService.E_ATTRIBUTE)) { String name = e.getAttribute(MailService.A_ATTRIBUTE_NAME); if (attrs == null) attrs = new ArrayList<String>(); attrs.add(name); } else if (e.getName().equals(MailService.E_CONTACT)) { int id = (int) e.getAttributeLong(MailService.A_ID); if (ids == null) ids = new ArrayList<Integer>(); ids.add(id); } Element response = zsc.createElement(MailService.GET_CONTACTS_RESPONSE); ContactAttrCache cacache = null; // want to return modified date only on sync-related requests int fields = ToXML.NOTIFY_FIELDS; if (sync) fields |= Change.MODIFIED_CONFLICT; if (ids != null) { for (int id : ids) { Contact con = mbox.getContactById(octxt, id); if (con != null && (folderId == ALL_FOLDERS || folderId == con.getFolderId())) ToXML.encodeContact(response, zsc, con, cacache, false, attrs, fields); } } else { for (Contact con : mbox.getContactList(octxt, folderId, sort)) if (con != null) ToXML.encodeContact(response, zsc, con, cacache, false, attrs, fields); } return response; } | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/0b948e87219e05657f4168b3b38502671189c328/GetContacts.java/buggy/ZimbraServer/src/java/com/zimbra/cs/service/mail/GetContacts.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3010,
1640,
12,
1046,
590,
16,
1635,
32,
780,
16,
1033,
34,
819,
13,
1216,
16489,
288,
3639,
2285,
381,
15397,
20601,
1042,
998,
1017,
273,
23448,
381,
15397,
20601,
1042,
12,
2472,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3010,
1640,
12,
1046,
590,
16,
1635,
32,
780,
16,
1033,
34,
819,
13,
1216,
16489,
288,
3639,
2285,
381,
15397,
20601,
1042,
998,
1017,
273,
23448,
381,
15397,
20601,
1042,
12,
2472,... |
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); java.util.List contentList = box.getContent().getChildContent(c); if (contentList.size() == 0) return box;//we can do this if there is no content, right? Iterator contentIterator = contentList.iterator(); //TODO: how to pass these on to first child? CascadedStyle firstLineStyle = null; CascadedStyle firstLetterStyle = null; while (contentIterator.hasNext()) { Object o = contentIterator.next(); //TODO: can we do this? contentIterator.remove();//chop it off, no need to keep it? if (o instanceof FirstLineStyle) {//can actually only be the first object in list firstLineStyle = ((FirstLineStyle) o).getStyle(); continue; } if (o instanceof FirstLetterStyle) {//can actually only be the first or second object in list firstLetterStyle = ((FirstLetterStyle) o).getStyle(); continue; } Content currentContent = (Content) o; Box child_box = null; if (!(currentContent instanceof AnonymousBlockContent)) { //TODO:handle run-ins. For now, treat them as blocks Layout layout = c.getLayout(currentContent.getElement()); // update the counter for printing OL list items c.setListCounter(c.getListCounter() + 1); // execute the layout and get the return bounds //c.parent_box = box; c.placement_point = new Point(0, box.height); c.getBlockFormattingContext().translate(0, box.height); child_box = layout.layout(c, currentContent); c.getBlockFormattingContext().translate(0, -box.height); child_box.list_count = c.getListCounter(); } else { //AnonymousBlockContent, fail fast if not AnonymousBlockContent anonymous = (AnonymousBlockContent) currentContent; Layout layout = new AnonymousBoxLayout(); child_box = layout.layout(c, anonymous); } box.addChild(child_box); // set the child_box location child_box.x = 0; child_box.y = box.height; //joshy fix the 'fixed' stuff later // if fixed or abs then don't modify the final layout bounds // because fixed elements are removed from normal flow if (child_box.fixed) { // put fixed positioning in later Fixed.positionFixedChild(c, child_box); } if (child_box.isAbsolute()) { Absolute.positionAbsoluteChild(c, child_box); } // skip adjusting the parent box if the child // doesn't affect flow layout if (LayoutUtil.isOutsideNormalFlow(child_box)) { continue; } // increase the final layout width if the child was greater if (child_box.width > box.width) { box.width = child_box.width; } // increase the final layout height by the height of the child box.height += child_box.height; } c.addMaxWidth(box.width); c.setListCounter(old_counter); c.unshrinkExtents(block); return block; } | 52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/e65470765b9501b251ba6faf1734b383bb9b1578/BoxLayout.java/buggy/src/java/org/xhtmlrenderer/layout/BoxLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3514,
6741,
4212,
12,
1042,
71,
16,
3514,
2147,
15329,
1768,
3514,
2629,
28657,
1768,
3514,
13,
2147,
31,
71,
18,
674,
12334,
2482,
4877,
12,
2629,
1769,
759,
87,
842,
546,
73,
8830,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3514,
6741,
4212,
12,
1042,
71,
16,
3514,
2147,
15329,
1768,
3514,
2629,
28657,
1768,
3514,
13,
2147,
31,
71,
18,
674,
12334,
2482,
4877,
12,
2629,
1769,
759,
87,
842,
546,
73,
8830,
4... | ||
calculateSingleArrayGradient(Imin); | calculateSingleArrayGradient(loColors, hiColors, Imin); if ((cycleMethod == MultipleGradientPaint.REPEAT) && (gradient[0] != gradient[fastGradientArraySize])) hasDiscontinuity = true; | protected final void calculateGradientFractions() { //if interpolation should occur in Linear RGB space, convert the //colors using the lookup table if (colorSpace == LinearGradientPaint.LINEAR_RGB) { for (int i = 0; i < colors.length; i++) { colors[i] = new Color(SRGBtoLinearRGB[colors[i].getRed()], SRGBtoLinearRGB[colors[i].getGreen()], SRGBtoLinearRGB[colors[i].getBlue()]); } } //initialize to be fully opaque for ANDing with colors transparencyTest = 0xff000000; //array of interpolation arrays gradients = new int[fractions.length - 1][]; gradientsLength = gradients.length; // Find smallest interval int n = normalizedIntervals.length; float Imin = 1; for(int i = 0; i < n; i++) { Imin = (Imin > normalizedIntervals[i]) ? normalizedIntervals[i] : Imin; } //estimate the size of the entire gradients array. //This is to prevent a tiny interval from causing the size of array to //explode. If the estimated size is too large, break to using //seperate arrays for each interval, and using an indexing scheme at //look-up time. int estimatedSize = 0; if (Imin == 0) { estimatedSize = Integer.MAX_VALUE; } else { for (int i = 0; i < normalizedIntervals.length; i++) { estimatedSize += (normalizedIntervals[i]/Imin) * GRADIENT_SIZE; } } if (estimatedSize > MAX_GRADIENT_ARRAY_SIZE) { //slow method calculateMultipleArrayGradient(); } else { //fast method calculateSingleArrayGradient(Imin); } // Use the most 'economical' model (no alpha). if((transparencyTest >>> 24) == 0xff) { if (dataModel.getColorSpace() == lrgbmodel_NA.getColorSpace()) dataModel = lrgbmodel_NA; else if (dataModel.getColorSpace() == srgbmodel_NA.getColorSpace()) dataModel = srgbmodel_NA; model = dataModel; } } | 46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/ced2a9655f37c5c5df51bf75e353de655507e45a/MultipleGradientPaintContext.java/buggy/sources/org/apache/batik/ext/awt/MultipleGradientPaintContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
727,
918,
4604,
15651,
13724,
87,
1435,
288,
3639,
368,
430,
12851,
1410,
3334,
316,
13921,
11510,
3476,
16,
1765,
326,
3639,
368,
9724,
1450,
326,
3689,
1014,
3639,
309,
261,
3266,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
727,
918,
4604,
15651,
13724,
87,
1435,
288,
3639,
368,
430,
12851,
1410,
3334,
316,
13921,
11510,
3476,
16,
1765,
326,
3639,
368,
9724,
1450,
326,
3689,
1014,
3639,
309,
261,
3266,
... |
throw getRuntime().newNameError("instance variable " + id + " not defined"); | throw getRuntime().newNameError("instance variable " + id + " not defined", id); | public IRubyObject remove_instance_variable(IRubyObject name) { String id = name.asSymbol(); if (!IdUtil.isInstanceVariable(id)) { throw getRuntime().newNameError("wrong instance variable name " + id); } if (!isTaint() && getRuntime().getSafeLevel() >= 4) { throw getRuntime().newSecurityError("Insecure: can't remove instance variable"); } testFrozen("class/module"); IRubyObject variable = removeInstanceVariable(id); if (variable != null) { return variable; } throw getRuntime().newNameError("instance variable " + id + " not defined"); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/1278c5bb3507a052d150d814f15453542ae41aed/RubyObject.java/clean/src/org/jruby/RubyObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
15908,
10340,
921,
1206,
67,
1336,
67,
6105,
12,
7937,
10340,
921,
508,
13,
288,
4202,
514,
612,
273,
508,
18,
345,
5335,
5621,
4202,
309,
16051,
548,
1304,
18,
291,
1442,
3092,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
15908,
10340,
921,
1206,
67,
1336,
67,
6105,
12,
7937,
10340,
921,
508,
13,
288,
4202,
514,
612,
273,
508,
18,
345,
5335,
5621,
4202,
309,
16051,
548,
1304,
18,
291,
1442,
3092,
1... |
public void setAllowedDownloadCPSForLAN(long allowedCPS) {// if (allowedCPS != 0 && allowedCPS < 3 * 1024// && !getController().isVerbose())// {// log().warn("Setting upload limit to a minimum of 3 KB/s");// allowedCPS = 3 * 1024;// } // Store in config ConfigurationEntry.DOWNLOADLIMIT_LAN.setValue(getController(), "" + (allowedCPS / 1024)); updateSpeedLimits(); log().info( "LAN Download limit: " + allowedUploads + " allowed, at maximum rate of " + (getAllowedDownloadCPSForLAN() / 1024) + " KByte/s"); } | 51438 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51438/9a7939b42dae6d8cb01caa2994f4a45b3e2855ff/TransferManager.java/buggy/src/main/de/dal33t/powerfolder/transfer/TransferManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
14252,
7109,
4258,
55,
1290,
11074,
12,
5748,
2935,
4258,
55,
13,
288,
759,
3639,
309,
261,
8151,
4258,
55,
480,
374,
597,
2935,
4258,
55,
411,
890,
380,
6250,
759,
5411,
597... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
14252,
7109,
4258,
55,
1290,
11074,
12,
5748,
2935,
4258,
55,
13,
288,
759,
3639,
309,
261,
8151,
4258,
55,
480,
374,
597,
2935,
4258,
55,
411,
890,
380,
6250,
759,
5411,
597... | ||
public void doStart() throws WaitingException, Exception { | public void doStart() throws Exception { | public void doStart() throws WaitingException, Exception { delegate = new Timer(true); } | 12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/fdb31f0ed391724e584b6529964c8418bd55bf61/ThreadPooledTimer.java/buggy/modules/timer/src/java/org/apache/geronimo/timer/ThreadPooledTimer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
1685,
1435,
1216,
1185,
288,
3639,
7152,
273,
394,
12290,
12,
3767,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
1685,
1435,
1216,
1185,
288,
3639,
7152,
273,
394,
12290,
12,
3767,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
} | } | public int getRowForPath(TreePath value0) { return 0; } // getRowForPath() | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
11835,
25589,
12,
2471,
743,
460,
20,
13,
202,
95,
202,
202,
2463,
374,
31,
202,
97,
368,
11835,
25589,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
11835,
25589,
12,
2471,
743,
460,
20,
13,
202,
95,
202,
202,
2463,
374,
31,
202,
97,
368,
11835,
25589,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
.get(element); | .get(element); | synchronized void queueForDecoration(Object element, Object adaptedElement, boolean forceUpdate, String undecoratedText, IDecorationContext context) { DecorationReference reference = (DecorationReference) awaitingDecorationValues .get(element); if (reference != null) { if (forceUpdate) {// Make sure we don't loose a force reference.setForceUpdate(forceUpdate); } reference.addContext(context); } else { reference = new DecorationReference(element, adaptedElement, context); reference.setForceUpdate(forceUpdate); reference.setUndecoratedText(undecoratedText); awaitingDecorationValues.put(element, reference); awaitingDecoration.add(element); if (shutdown) { return; } if (decorationJob.getState() == Job.SLEEPING) { decorationJob.wakeUp(); } decorationJob.schedule(); } } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/b543fc145c42526ff99e6c17d4baec8b9a5cf3e0/DecorationScheduler.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/DecorationScheduler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
22043,
918,
2389,
1290,
7859,
367,
12,
921,
930,
16,
1033,
28345,
1046,
16,
1082,
202,
6494,
2944,
1891,
16,
514,
640,
11880,
690,
1528,
16,
1599,
557,
22226,
1042,
819,
13,
288,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
22043,
918,
2389,
1290,
7859,
367,
12,
921,
930,
16,
1033,
28345,
1046,
16,
1082,
202,
6494,
2944,
1891,
16,
514,
640,
11880,
690,
1528,
16,
1599,
557,
22226,
1042,
819,
13,
288,
2... |
final FileNameMapper mapper ) | final FileNameMapper mapper, final TaskContext context ) | public File[] restrictAsFiles( final String[] files, final File srcDir, final File destDir, final FileNameMapper mapper ) throws TaskException { final String[] res = restrict( files, srcDir, destDir, mapper ); final File[] result = new File[ res.length ]; for( int i = 0; i < res.length; i++ ) { result[ i ] = new File( srcDir, res[ i ] ); } return result; } | 506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/2afc643a3ea676cc68f2f010ea3a7560b7a0a3af/SourceFileScanner.java/clean/proposal/myrmidon/src/todo/org/apache/tools/ant/types/SourceFileScanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1387,
8526,
13108,
1463,
2697,
12,
727,
514,
8526,
1390,
16,
4766,
282,
727,
1387,
30585,
16,
4766,
282,
727,
1387,
26231,
16,
4766,
282,
727,
25075,
4597,
5815,
16,
727,
3837,
1042... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1387,
8526,
13108,
1463,
2697,
12,
727,
514,
8526,
1390,
16,
4766,
282,
727,
1387,
30585,
16,
4766,
282,
727,
1387,
26231,
16,
4766,
282,
727,
25075,
4597,
5815,
16,
727,
3837,
1042... |
TasksUiPlugin.TITLE_DIALOG, | ITasksUiConstants.TITLE_DIALOG, | public void setColumn(String column) { this.column = column; if (view.isFocusedMode()) { MessageDialog.openInformation(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), TasksUiPlugin.TITLE_DIALOG, "Manual sorting is disabled in focused mode, sort order will not take effect until focused mode is disabled."); } } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/694c8057256fcb6d6b25af328c2a675a94fc41ab/TaskListTableSorter.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListTableSorter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
25918,
12,
780,
1057,
13,
288,
202,
202,
2211,
18,
2827,
273,
1057,
31,
202,
202,
430,
261,
1945,
18,
291,
30946,
2309,
10756,
288,
1082,
202,
1079,
6353,
18,
3190,
5369,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
25918,
12,
780,
1057,
13,
288,
202,
202,
2211,
18,
2827,
273,
1057,
31,
202,
202,
430,
261,
1945,
18,
291,
30946,
2309,
10756,
288,
1082,
202,
1079,
6353,
18,
3190,
5369,... |
setOffset((String) evalAttr("offset", getOffset(), String.class)); | setOffset((String) evalAttr("offset", getOffsetExpr(), String.class)); | private void evaluateExpressions() throws JspException { try { setCollection(evalAttr("collection", getCollectionExpr(), Object.class)); } catch (NullAttributeException ex) { setCollection(null); } try { setId((String) evalAttr("id", getId(), String.class)); } catch (NullAttributeException ex) { setId(null); } try { setIndexId((String) evalAttr("indexId", getIndexId(), String.class)); } catch (NullAttributeException ex) { setIndexId(null); } try { setLength((String) evalAttr("length", getLength(), String.class)); } catch (NullAttributeException ex) { setLength(null); } try { setName((String) evalAttr("name", getName(), String.class)); } catch (NullAttributeException ex) { setName(null); } try { setOffset((String) evalAttr("offset", getOffset(), String.class)); } catch (NullAttributeException ex) { setOffset(null); } try { setProperty((String) evalAttr("property", getProperty(), String.class)); } catch (NullAttributeException ex) { setProperty(null); } try { setScope((String) evalAttr("scope", getScope(), String.class)); } catch (NullAttributeException ex) { setScope(null); } try { setType((String) evalAttr("type", getType(), String.class)); } catch (NullAttributeException ex) { setType(null); } } | 2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/db064e19656421b94aaf753550935d95f44bd5f9/ELIterateTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/logic/ELIterateTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
2532,
12,
8622,
3843,
2932,
5548,
3113,
12075,
4742,
9334,
4766,
565,
1033,
18,
1106,
10019,
3639,
289,
1044,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
2532,
12,
8622,
3843,
2932,
5548,
3113,
12075,
4742,
9334,
4766,
565,
1033,
18,
1106,
10019,
3639,
289,
1044,
261,
... |
synchronized (_pendingPeers) { return (Set)_pendingPeers.clone(); } } | synchronized (_pendingPeers) { return (Set)_pendingPeers.clone(); } } | public Set getPending() { synchronized (_pendingPeers) { return (Set)_pendingPeers.clone(); } } | 3808 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3808/86759d2f9c63d203488c7e8b34e64be162a16ce9/StoreJob.java/clean/router/java/src/net/i2p/router/networkdb/kademlia/StoreJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1000,
1689,
2846,
1435,
288,
3196,
565,
3852,
261,
67,
9561,
14858,
13,
288,
202,
202,
2463,
261,
694,
13,
67,
9561,
14858,
18,
14056,
5621,
3196,
565,
289,
202,
97,
2,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1000,
1689,
2846,
1435,
288,
3196,
565,
3852,
261,
67,
9561,
14858,
13,
288,
202,
202,
2463,
261,
694,
13,
67,
9561,
14858,
18,
14056,
5621,
3196,
565,
289,
202,
97,
2,
-100,
... |
public void moveToTrim(ViewStack stack) { | public void moveToTrim(ViewStack stack, int style) { | public void moveToTrim(ViewStack stack) { int side = calcStackSide(stack); FastViewBar fvb = createFastViewBar(getUniqueGroupId(), FastViewBar.GROUP_FVB , side); // Add all the views in the stack to teh new FVB ArrayList refs = new ArrayList(); List parts = stack.getPresentableParts(); for (Iterator partIter = parts.iterator(); partIter.hasNext();) { PresentablePart part = (PresentablePart) partIter.next(); if (part.getPane().getPartReference() instanceof ViewReference) { refs.add(part.getPane().getPartReference()); } } fvb.setViewRefs(refs); // Set the display orientation based on the stack's geometry Rectangle stackBounds = stack.getBounds(); int orientation = (stackBounds.width > stackBounds.height) ? SWT.HORIZONTAL : SWT.VERTICAL; fvb.setOrientation(orientation); // Move the views 'into' the new group fvb.collapseGroup(); } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/de844c35ef7d0575a7463f1394a83747c780b181/Perspective.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Perspective.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13863,
14795,
12,
1767,
2624,
2110,
16,
509,
2154,
13,
288,
377,
202,
474,
4889,
273,
7029,
2624,
8895,
12,
3772,
1769,
377,
202,
12305,
1767,
5190,
10097,
70,
273,
752,
12305,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13863,
14795,
12,
1767,
2624,
2110,
16,
509,
2154,
13,
288,
377,
202,
474,
4889,
273,
7029,
2624,
8895,
12,
3772,
1769,
377,
202,
12305,
1767,
5190,
10097,
70,
273,
752,
12305,... |
cfw.add(ALOAD_CONTEXT); cfw.add(ALOAD_SCOPE); | cfw.addALoad(CONTEXT_ARG); cfw.addALoad(SCOPE_ARG); | private void generateExecute(ClassFileWriter cfw) { cfw.startMethod("exec", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;", (short)(ClassFileWriter.ACC_PUBLIC | ClassFileWriter.ACC_FINAL)); final byte ALOAD_CONTEXT = ByteCode.ALOAD_1; final byte ALOAD_SCOPE = ByteCode.ALOAD_2; // to begin a script, call the initScript method cfw.addLoadThis(); cfw.add(ALOAD_CONTEXT); cfw.add(ALOAD_SCOPE); cfw.addInvoke(ByteCode.INVOKEVIRTUAL, cfw.getClassName(), getInitImplMethodName(scriptOrFnNodes[0]), INIT_SIGNATURE); cfw.addLoadThis(); cfw.add(ALOAD_CONTEXT); cfw.add(ALOAD_SCOPE); cfw.add(ByteCode.DUP); cfw.add(ByteCode.ACONST_NULL); cfw.addInvoke(ByteCode.INVOKEVIRTUAL, cfw.getClassName(), "call", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Scriptable;" +"[Ljava/lang/Object;" +")Ljava/lang/Object;"); cfw.add(ByteCode.ARETURN); // 3 = this + context + scope cfw.stopMethod((short)3, null); } | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/1fe8179c7b117d3fca54e638920b3966b511a838/Codegen.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
5289,
12,
797,
812,
2289,
6080,
91,
13,
565,
288,
3639,
6080,
91,
18,
1937,
1305,
2932,
4177,
3113,
13491,
7751,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
1042,
4868,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
5289,
12,
797,
812,
2289,
6080,
91,
13,
565,
288,
3639,
6080,
91,
18,
1937,
1305,
2932,
4177,
3113,
13491,
7751,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
1042,
4868,
1... |
.getStringValue( ); | .getIntValue( ); | protected void updateBaseBorder( DesignElementHandle handle, BaseBorder border ) { border.bottomColor = handle.getPropertyHandle( StyleHandle.BORDER_BOTTOM_COLOR_PROP ) .getStringValue( ); border.bottomStyle = handle.getPropertyHandle( StyleHandle.BORDER_BOTTOM_STYLE_PROP ) .getStringValue( ); border.bottomWidth = handle.getPropertyHandle( StyleHandle.BORDER_BOTTOM_WIDTH_PROP ) .getStringValue( ); border.topColor = handle.getPropertyHandle( StyleHandle.BORDER_TOP_COLOR_PROP ) .getStringValue( ); border.topStyle = handle.getPropertyHandle( StyleHandle.BORDER_TOP_STYLE_PROP ) .getStringValue( ); border.topWidth = handle.getPropertyHandle( StyleHandle.BORDER_TOP_WIDTH_PROP ) .getStringValue( ); border.leftColor = handle.getPropertyHandle( StyleHandle.BORDER_LEFT_COLOR_PROP ) .getStringValue( ); border.leftStyle = handle.getPropertyHandle( StyleHandle.BORDER_LEFT_STYLE_PROP ) .getStringValue( ); border.leftWidth = handle.getPropertyHandle( StyleHandle.BORDER_LEFT_WIDTH_PROP ) .getStringValue( ); border.rightColor = handle.getPropertyHandle( StyleHandle.BORDER_RIGHT_COLOR_PROP ) .getStringValue( ); border.rightStyle = handle.getPropertyHandle( StyleHandle.BORDER_RIGHT_STYLE_PROP ) .getStringValue( ); border.rightWidth = handle.getPropertyHandle( StyleHandle.BORDER_RIGHT_WIDTH_PROP ) .getStringValue( ); } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/1ea2b4515ba6ace2b3e387f7568e91ce84efdcbe/ReportElementEditPart.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/editparts/ReportElementEditPart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1089,
2171,
8107,
12,
29703,
1046,
3259,
1640,
16,
1082,
202,
2171,
8107,
5795,
262,
202,
95,
202,
202,
8815,
18,
9176,
2957,
273,
1640,
18,
588,
1396,
3259,
12,
9767,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1089,
2171,
8107,
12,
29703,
1046,
3259,
1640,
16,
1082,
202,
2171,
8107,
5795,
262,
202,
95,
202,
202,
8815,
18,
9176,
2957,
273,
1640,
18,
588,
1396,
3259,
12,
9767,
3... |
Annotate.setLineNumber( top, Annotate.getLineNumber( this)); | Annotate.setPosition( top, Annotate.getPosition( this)); | public Node removeAmbiguities( LocalContext c) throws SemanticException { Node top = null; if (prefix != null) { if (prefix instanceof TypeNode) { /* Try static fields. */ Type type = ((TypeNode) prefix).getType(); if (type.isReferenceType()) { ReferenceType refType = type.toReferenceType(); FieldInstance fi = c.getTypeSystem().getField(refType, name, c); top = new FieldExpression( c.getExtensionFactory().getNewFieldExpressionExtension(), (TypeNode) prefix, fi ); } } else if (prefix instanceof Expression) { /* Try non-static fields. */ top = new FieldExpression( c.getExtensionFactory().getNewFieldExpressionExtension(), (Expression) prefix, name ); } } else { /* First try local variables and fields. */ VariableInstance vi = c.getVariable(name); if (vi instanceof FieldInstance) { FieldInstance fi = (FieldInstance) vi; if (fi.getAccessFlags().isStatic() ) { top = new FieldExpression( c.getExtensionFactory().getNewFieldExpressionExtension(), new TypeNode(fi.getEnclosingType()), fi ); } else { ClassType container = c.getFieldContainingClass(name); TypeNode base = null; if (container != c.getCurrentClass()) { base = new TypeNode(container); } top = new FieldExpression( c.getExtensionFactory().getNewFieldExpressionExtension(), new SpecialExpression( c.getExtensionFactory().getNewSpecialExpressionExtension(), base, SpecialExpression.THIS), fi); } } else if (vi instanceof LocalInstance) { top = new LocalVariableExpression( c.getExtensionFactory().getNewLocalVariableExpressionExtension(), name); } else { throw new SemanticException("No field or variable with name \"" + getFullName() + "\".", Annotate.getLineNumber(this)); } } if( top != null) { Annotate.setLineNumber( top, Annotate.getLineNumber( this)); } else { throw new SemanticException( "No field or variable " + "with name \"" + getFullName() + "\".", Annotate.getLineNumber(this) ); } return top; } | 11982 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11982/96c2c0f08db74e6b67885d020d1aa6b2502f09f2/AmbiguousNameExpression.java/clean/src/polyglot/ast/AmbiguousNameExpression.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2029,
1206,
30706,
8810,
1961,
12,
3566,
1042,
276,
13,
1216,
24747,
503,
225,
288,
565,
2029,
1760,
273,
446,
31,
565,
309,
261,
3239,
480,
446,
13,
288,
202,
430,
261,
3239,
127... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2029,
1206,
30706,
8810,
1961,
12,
3566,
1042,
276,
13,
1216,
24747,
503,
225,
288,
565,
2029,
1760,
273,
446,
31,
565,
309,
261,
3239,
480,
446,
13,
288,
202,
430,
261,
3239,
127... |
installURL = in.readUTF(); | if (cacheVersion < BUNDLEDATA_VERSION_13) in.readUTF(); | private void readHeaders() { InputStream bundleDataStream = findBundleDataFile(); if (bundleDataStream == null) return; try { DataInputStream in = new DataInputStream(new BufferedInputStream(bundleDataStream)); try { cacheVersion = in.readByte(); if (cacheVersion >= BUNDLEDATA_COMPATIBLE_VERSION) { timeStamp = in.readLong(); installURL = in.readUTF(); initialBundleStartLevel = in.readInt(); nextId = in.readLong(); } } finally { in.close(); } } catch (IOException e) { if (Debug.DEBUG && Debug.DEBUG_GENERAL) { Debug.println("Error reading framework metadata: " + e.getMessage()); //$NON-NLS-1$ Debug.printStackTrace(e); } } } | 2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/c090c8d7be90ede1660811b18fa8602ff200719d/EclipseAdaptor.java/buggy/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/adaptor/EclipseAdaptor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
855,
3121,
1435,
288,
202,
202,
4348,
3440,
751,
1228,
273,
1104,
3405,
751,
812,
5621,
202,
202,
430,
261,
9991,
751,
1228,
422,
446,
13,
1082,
202,
2463,
31,
202,
202,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
855,
3121,
1435,
288,
202,
202,
4348,
3440,
751,
1228,
273,
1104,
3405,
751,
812,
5621,
202,
202,
430,
261,
9991,
751,
1228,
422,
446,
13,
1082,
202,
2463,
31,
202,
202,... |
int w = clipboard.getWidth(); int h = clipboard.getHeight(); | int w = clipboard.getWidth(); int h = clipboard.getHeight(); | public void paste() { //if (IJ.macroRunning()) // IJ.wait(500); System.out.println("Paste called"); if (clipboard==null) { System.out.println("Clipboard empty, no pasting today"); return; } int cType = clipboard.getType(); int iType = imp.getType(); boolean sameType = false; if ((cType==ImagePlus.GRAY8|cType==ImagePlus.COLOR_256)&&(iType==ImagePlus.GRAY8|iType==ImagePlus.COLOR_256)) sameType = true; else if ((cType==ImagePlus.COLOR_RGB|cType==ImagePlus.GRAY8|cType==ImagePlus.COLOR_256)&&iType==ImagePlus.COLOR_RGB) sameType = true; else if (cType==ImagePlus.GRAY16&&iType==ImagePlus.GRAY16) sameType = true; else if (cType==ImagePlus.GRAY32&&iType==ImagePlus.GRAY32) sameType = true; if (!sameType) { IJ.error("Images must be the same type to paste."); return; } int w = clipboard.getWidth(); int h = clipboard.getHeight(); if (w>imp.getWidth() || h>imp.getHeight()) { IJ.error("Image is too large to paste."); return; } Roi roi = imp.getRoi(); Rectangle r = null; if (roi!=null) r = roi.getBounds(); if (r==null || (r!=null && (w!=r.width || h!=r.height))) { // create a new roi centered on visible part of image Rectangle srcRect = getSrcRect(); int xCenter = srcRect.x + srcRect.width/2; int yCenter = srcRect.y + srcRect.height/2; Roi cRoi = clipboard.getRoi(); if (cRoi!=null && cRoi.getType()!=Roi.RECTANGLE) { cRoi.setImage(imp); cRoi.setLocation(xCenter-w/2, yCenter-h/2); imp.setRoi(cRoi); } else imp.setRoi(xCenter-w/2, yCenter-h/2, w, h); roi = imp.getRoi(); } if (IJ.macroRunning()) { //non-interactive paste int pasteMode = Roi.getCurrentPasteMode(); boolean nonRect = roi.getType()!=Roi.RECTANGLE; ImageProcessor ip = imp.getProcessor(); if (nonRect) ip.snapshot(); r = roi.getBounds(); ip.copyBits(clipboard.getProcessor(), r.x, r.y, pasteMode); if (nonRect) ip.reset(imp.getMask()); imp.updateAndDraw(); imp.killRoi(); } else { roi.startPaste(clipboard); Undo.setup(Undo.PASTE, imp); } imp.changes = true; //Image img = clipboard.getImage(); //ImagePlus imp2 = new ImagePlus("Clipboard", img); //imp2.show(); } | 7783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7783/e250803a1d69222184f715ac59ba98d082f7cfd6/ImageCanvas.java/buggy/fudge/image_editor/src/ij/gui/ImageCanvas.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
19401,
1435,
288,
202,
202,
759,
430,
261,
45,
46,
18,
26448,
7051,
10756,
202,
202,
759,
202,
45,
46,
18,
7048,
12,
12483,
1769,
202,
202,
3163,
18,
659,
18,
8222,
293... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
19401,
1435,
288,
202,
202,
759,
430,
261,
45,
46,
18,
26448,
7051,
10756,
202,
202,
759,
202,
45,
46,
18,
7048,
12,
12483,
1769,
202,
202,
3163,
18,
659,
18,
8222,
293... |
Element retVal = putHits(lc, response, pager, DONT_INCLUDE_MAILBOX_INFO, params); | Element retVal = putHits(zc, response, pager, DONT_INCLUDE_MAILBOX_INFO, params); | public Element handle(Element request, Map<String, Object> context) throws ServiceException { ZimbraSoapContext lc = getZimbraSoapContext(context); SoapSession session = (SoapSession) lc.getSession(SessionCache.SESSION_SOAP); Mailbox mbox = getRequestedMailbox(lc); SearchParams params = parseCommonParameters(request, lc); ZimbraQueryResults results = getResults(mbox, params, lc, session); try { Element response = lc.createElement(MailService.SEARCH_RESPONSE); // must use results.getSortBy() because the results might have ignored our sortBy // request and used something else... SortBy sb = results.getSortBy(); response.addAttribute(MailService.A_SORTBY, sb.toString()); // // create a "pager" which generate one page's worth of data for the client (using // the cursor data, etc) // // If the pager detects "new results at head" -- ie new data came into our search, then // we'll skip back to the beginning of the search // ResultsPager pager; try { pager = ResultsPager.create(results, params); response.addAttribute(MailService.A_QUERY_OFFSET, params.getOffset()); } catch (ResultsPager.NewResultsAtHeadException e) { // NOTE: this branch is unused right now, TODO remove this depending on usability // decisions // FIXME! workaround bug in resetIterator() results = getResults(mbox, params, lc, session); pager = new ResultsPager(results, sb, params.getLimit(), 0); response.addAttribute(MailService.A_QUERY_OFFSET, 0); response.addAttribute("newResults", true); } Element retVal = putHits(lc, response, pager, DONT_INCLUDE_MAILBOX_INFO, params); return retVal; } finally { if (DONT_CACHE_RESULTS) results.doneWithSearchResults(); } } | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/5976f4c5226f8fb3b6180b07314776ea829a257d/Search.java/clean/ZimbraServer/src/java/com/zimbra/cs/service/mail/Search.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3010,
1640,
12,
1046,
590,
16,
1635,
32,
780,
16,
1033,
34,
819,
13,
1216,
16489,
288,
3639,
2285,
381,
15397,
20601,
1042,
9109,
273,
23448,
381,
15397,
20601,
1042,
12,
2472,
1769... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3010,
1640,
12,
1046,
590,
16,
1635,
32,
780,
16,
1033,
34,
819,
13,
1216,
16489,
288,
3639,
2285,
381,
15397,
20601,
1042,
9109,
273,
23448,
381,
15397,
20601,
1042,
12,
2472,
1769... |
ITreeContentProvider[] rootContentProviders = contentService | ITreeContentProvider[] rootContentProviders = ((NavigatorContentService) contentService) | public void testFindValidExtensions() { contentService.activateExtensions(new String[] { TEST_EXTENSION_ID, RESOURCE_EXTENSION_ID }, true); ITreeContentProvider contentServiceContentProvider = contentService .createCommonContentProvider(); ILabelProvider contentServiceLabelProvider = contentService .createCommonLabelProvider(); ITreeContentProvider[] rootContentProviders = contentService .findRootContentProviders(ResourcesPlugin.getWorkspace() .getRoot()); assertEquals("Ensure there is only one root content provider.", 1, rootContentProviders.length); ITreeContentProvider[] projectContentProviders = contentService .findRelevantContentProviders(project); assertEquals("Ensure there are two content providers for an IProject.", 2, projectContentProviders.length); boolean found = false; for (int i = 0; i < projectContentProviders.length; i++) { if (((NavigatorContentProvider) projectContentProviders[i]) .getDelegateContentProvider() instanceof TestContentProvider) { TestContentProvider testContentProvider = (TestContentProvider) ((NavigatorContentProvider) projectContentProviders[i]) .getDelegateContentProvider(); Object[] projectChildren = testContentProvider .getChildren(project); assertEquals( "There should be one test-type child of the project.", 1, projectChildren.length); assertEquals("Parent", contentServiceLabelProvider .getText(projectChildren[0])); Object[] testRootChildren = contentServiceContentProvider .getChildren(projectChildren[0]); assertEquals( "There should be one test-type child of the root test-type item.", 3, testRootChildren.length); found = true; } } assertTrue("The test content provider was not found.", found); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/377029d74a7de25fc7c2c47d145c9fad2b1088ee/INavigatorContentServiceTests.java/buggy/tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/INavigatorContentServiceTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3125,
1556,
7513,
1435,
288,
202,
202,
1745,
1179,
18,
10014,
7513,
12,
2704,
514,
8526,
288,
22130,
67,
12796,
67,
734,
16,
9506,
202,
11395,
67,
12796,
67,
734,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3125,
1556,
7513,
1435,
288,
202,
202,
1745,
1179,
18,
10014,
7513,
12,
2704,
514,
8526,
288,
22130,
67,
12796,
67,
734,
16,
9506,
202,
11395,
67,
12796,
67,
734,
1... |
abstract public long getLong(String key, long defaultVal); | public abstract long getLong(String key, long defaultVal); | abstract public long getLong(String key, long defaultVal); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65d557aae3161ec60d4823f7f7346efac0a8d663/Preferences.java/buggy/core/src/classpath/java/java/util/prefs/Preferences.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
8770,
1071,
1525,
11105,
12,
780,
498,
16,
1525,
805,
3053,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
8770,
1071,
1525,
11105,
12,
780,
498,
16,
1525,
805,
3053,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
if (start.isZero()) return start; | if (start.isZero()) return start; | final protected Address allocSlowOnce(int bytes, int align, int offset, boolean inGC) { /* Check if we already have a chunk to use */ if (allowScanning && !region.isZero()) { Address nextRegion = region.loadAddress(NEXT_REGION_OFFSET); if (!nextRegion.isZero()) { region.plus(DATA_END_OFFSET).store(cursor); region = nextRegion; cursor = nextRegion.plus(DATA_START_OFFSET); limit = nextRegion.loadAddress(REGION_LIMIT_OFFSET); nextRegion.store(Address.zero(), DATA_END_OFFSET); Memory.zero(cursor, limit.diff(cursor).toWord().toExtent().plus(BYTES_IN_ADDRESS)); ((MarkCompactSpace)space).reusePages(Conversions.bytesToPages(limit.diff(region).plus(BYTES_IN_ADDRESS))); return alloc(bytes, align, offset); } } /* Aquire space, chunk aligned, that can accomodate the request */ Extent chunkSize = Word.fromIntZeroExtend(bytes).plus(CHUNK_MASK) .and(CHUNK_MASK.not()).toExtent(); Address start = space.acquire(Conversions.bytesToPages(chunkSize)); if (start.isZero()) return start; // failed allocation if (!allowScanning) { // simple allocator if (start.NE(limit)) cursor = start; limit = start.plus(chunkSize); } else // scannable allocator updateMetaData(start, chunkSize); return alloc(bytes, align, offset); } | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/57a34fa3e6e607d84b46e06082997a4771a25a85/BumpPointer.java/buggy/MMTk/src/org/mmtk/utility/alloc/BumpPointer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
4750,
5267,
4767,
28733,
12212,
12,
474,
1731,
16,
509,
5689,
16,
509,
1384,
16,
29159,
1250,
316,
15396,
13,
288,
565,
1748,
2073,
309,
732,
1818,
1240,
279,
2441,
358,
999,
1195,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
4750,
5267,
4767,
28733,
12212,
12,
474,
1731,
16,
509,
5689,
16,
509,
1384,
16,
29159,
1250,
316,
15396,
13,
288,
565,
1748,
2073,
309,
732,
1818,
1240,
279,
2441,
358,
999,
1195,
... |
boolean isSIMethod(Method method, Class si) { | private boolean isSIMethod(Method method, Class si) { | boolean isSIMethod(Method method, Class si) { return (si.equals(method.getDeclaringClass())) ? true : false; } | 9667 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9667/809a369ec9a705d63ab1d8341f0c8da7902ec8d7/ServiceInvocationHandler.java/buggy/jaxws-ri/rt/src/com/sun/xml/ws/client/ServiceInvocationHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
353,
2320,
1305,
12,
1305,
707,
16,
1659,
7533,
13,
288,
3639,
327,
261,
7722,
18,
14963,
12,
2039,
18,
588,
3456,
14682,
1435,
3719,
692,
638,
294,
629,
31,
565,
289,
2,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
353,
2320,
1305,
12,
1305,
707,
16,
1659,
7533,
13,
288,
3639,
327,
261,
7722,
18,
14963,
12,
2039,
18,
588,
3456,
14682,
1435,
3719,
692,
638,
294,
629,
31,
565,
289,
2,
... |
MessageDialog.openError(null, "Context Attachment", "Attachment of task context FAILED. See error log for details."); | MessageDialog.openError(null, "Context Attachment", "Attachment of task context FAILED. See error log for details."); | public final boolean performFinish() { AbstractRepositoryConnector connector = MylarTaskListPlugin.getRepositoryManager().getRepositoryConnector( this.repository.getKind()); try { if (connector.attachContext(repository, task, wizardPage.getComment())) { MessageDialog.openInformation(null, "Context Attachment", "Attachment of task context was successful.\n Attached to: " + task.getDescription()); } else { MessageDialog.openError(null, "Context Attachment", "Attachment of task context FAILED. See error log for details."); } } catch (IOException e) { MessageDialog.openError(null, "Context Attachment", "Attachment of task context FAILED.\n"+e.getMessage()); } return true; } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/1f7389419a513bad10323a7d5f86e6b4d120ba1a/ContextAttachWizard.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/wizards/ContextAttachWizard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
1250,
3073,
11641,
1435,
288,
9506,
202,
7469,
3305,
7487,
8703,
273,
8005,
7901,
2174,
682,
3773,
18,
588,
3305,
1318,
7675,
588,
3305,
7487,
12,
9506,
202,
2211,
18,
9071... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
1250,
3073,
11641,
1435,
288,
9506,
202,
7469,
3305,
7487,
8703,
273,
8005,
7901,
2174,
682,
3773,
18,
588,
3305,
1318,
7675,
588,
3305,
7487,
12,
9506,
202,
2211,
18,
9071... |
jj_la1[40] = jj_gen; | jj_la1[39] = jj_gen; | final public void MethodDeclarator() throws ParseException { /*@bgen(jjtree) MethodDeclarator */ ASTMethodDeclarator jjtn000 = new ASTMethodDeclarator(this, JJTMETHODDECLARATOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);Token t; try { t = jj_consume_token(IDENTIFIER); checkForBadAssertUsage(t.image, "a method name"); checkForBadEnumUsage(t.image, "a method name"); jjtn000.setImage( t.image ); FormalParameters(); label_14: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACKET: ; break; default: jj_la1[40] = jj_gen; break label_14; } jj_consume_token(LBRACKET); jj_consume_token(RBRACKET); } } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (RuntimeException)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } } | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/2c4cc3303f04cdb3883f34b25cfe841b0bdf1fb5/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
918,
2985,
31419,
1435,
1216,
10616,
288,
1748,
36,
70,
4507,
12,
78,
78,
3413,
13,
2985,
31419,
1195,
9183,
1305,
31419,
10684,
5088,
3784,
273,
394,
9183,
1305,
31419,
12,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
918,
2985,
31419,
1435,
1216,
10616,
288,
1748,
36,
70,
4507,
12,
78,
78,
3413,
13,
2985,
31419,
1195,
9183,
1305,
31419,
10684,
5088,
3784,
273,
394,
9183,
1305,
31419,
12,
22... |
public static Ontology getOntology() throws PluginRuntimeException { if (X_POINT == null) { | public Ontology getOntology() throws PluginRuntimeException { if (this.extensionPoint == null) { | public static Ontology getOntology() throws PluginRuntimeException { if (X_POINT == null) { // not even an extension point defined. return null; } String extensionName = NutchConf.get().get("extension.ontology.extension-name"); if (extensionName != null) { Extension extension = findExtension(extensionName); if (extension != null) { LOG.info("Using ontology extension: " + extensionName); return (Ontology) extension.getExtensionInstance(); } LOG.warning("Ontology extension not found: '" + extensionName + "', trying the default"); // not found, fallback to the default, if available. } Extension[] extensions = X_POINT.getExtensions(); if (extensions.length > 0) { LOG.info("Using the first ontology extension found: " + extensions[0].getId()); return (Ontology) extensions[0].getExtensionInstance(); } else { return null; } } | 57484 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57484/329ff64e9d7295aff108f85e9a8103f5e5f8f398/OntologyFactory.java/clean/src/java/org/apache/nutch/ontology/OntologyFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
29683,
17971,
19610,
1435,
1216,
6258,
11949,
288,
565,
309,
261,
60,
67,
8941,
422,
446,
13,
288,
1377,
368,
486,
5456,
392,
2710,
1634,
2553,
18,
1377,
327,
446,
31,
565,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
29683,
17971,
19610,
1435,
1216,
6258,
11949,
288,
565,
309,
261,
60,
67,
8941,
422,
446,
13,
288,
1377,
368,
486,
5456,
392,
2710,
1634,
2553,
18,
1377,
327,
446,
31,
565,
2... |
paintBorderSide(border, g, bounds, border_color, sides, RIGHT, rightStyle, xOffset); | paintBorderSide(border, g, bounds, sides, RIGHT, border.rightStyle(), xOffset); | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWidth(); //int height = (int) bounds.getHeight(); Border border = style.getBorderWidth(ctx); IdentValue topStyle = null; IdentValue leftStyle = null; IdentValue bottomStyle = null; IdentValue rightStyle = null; if ((sides & TOP) == TOP) { topStyle = style.getIdent(CSSName.BORDER_STYLE_TOP); if (topStyle == IdentValue.NONE || border.top == 0) { sides -= TOP; } } if ((sides & LEFT) == LEFT) { leftStyle = style.getIdent(CSSName.BORDER_STYLE_LEFT); if (leftStyle == IdentValue.NONE || border.left == 0) { sides -= LEFT; } } if ((sides & BOTTOM) == BOTTOM) { bottomStyle = style.getIdent(CSSName.BORDER_STYLE_BOTTOM); if (bottomStyle == IdentValue.NONE || border.bottom == 0) { sides -= BOTTOM; } } if ((sides & RIGHT) == RIGHT) { rightStyle = style.getIdent(CSSName.BORDER_STYLE_RIGHT); if (rightStyle == IdentValue.NONE || border.right == 0) { sides -= RIGHT; } } //Now paint! if ((sides & TOP) == TOP) paintBorderSide(border, g, bounds, border_color, sides, TOP, topStyle, xOffset); if ((sides & LEFT) == LEFT) paintBorderSide(border, g, bounds, border_color, sides, LEFT, leftStyle, xOffset); if ((sides & BOTTOM) == BOTTOM) paintBorderSide(border, g, bounds, border_color, sides, BOTTOM, bottomStyle, xOffset); if ((sides & RIGHT) == RIGHT) paintBorderSide(border, g, bounds, border_color, sides, RIGHT, rightStyle, xOffset); } | 57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/8ea25aa585e94d56872f163ff3c60962f3a3ddce/BorderPainter.java/clean/src/java/org/xhtmlrenderer/render/BorderPainter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
12574,
12,
19463,
4972,
16,
509,
22423,
16,
15994,
690,
2885,
2154,
16,
16830,
314,
16,
18018,
1042,
1103,
16,
509,
619,
2335,
13,
288,
3639,
368,
17558,
314,
273,
276,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
12574,
12,
19463,
4972,
16,
509,
22423,
16,
15994,
690,
2885,
2154,
16,
16830,
314,
16,
18018,
1042,
1103,
16,
509,
619,
2335,
13,
288,
3639,
368,
17558,
314,
273,
276,
... |
java.sql.ResultSet rs = connection.ExecSQL("select t.tgargs " + "from pg_class as c, pg_trigger as t " + "where c.relname like '" + table + "' and c.relfilenode=t.tgrelid"); Vector tuples = new Vector(); | java.sql.ResultSet rs = connection.ExecSQL("SELECT a.tgargs," + "substring(a.proname from 9 for (char_length(a.proname)-12))," + "substring(b.proname from 9 for (char_length(b.proname)-12))," + "a.tgdeferrable," + "a.tginitdeferred " + "FROM " + "(SELECT t.tgargs, t.tgconstrname, p.proname, t.tgdeferrable," + "t.tginitdeferred " + "FROM pg_class as c, pg_proc as p, pg_trigger as t " + "WHERE c.relfilenode=t.tgrelid AND t.tgfoid = p.oid " + "AND p.proname LIKE 'RI_FKey_%_upd') as a," + "(SELECT t.tgconstrname, p.proname " + "FROM pg_class as c, pg_proc as p, pg_trigger as t " + "WHERE c.relfilenode=t.tgrelid AND t.tgfoid = p.oid " + "AND p.proname LIKE 'RI_FKey_%_del') as b," + "(SELECT t.tgconstrname FROM pg_class as c, pg_trigger as t " + "WHERE c.relname like '"+table+"' AND c.relfilenode=t.tgrelid) as c " + "WHERE a.tgconstrname=b.tgconstrname AND a.tgconstrname=c.tgconstrname" ); Vector tuples = new Vector(); | public java.sql.ResultSet getImportedKeys(String catalog, String schema, String table) throws SQLException { // Added by Ola Sundell <ola@miranda.org> // FIXME: error checking galore! java.sql.ResultSet rsret; Field f[] = new Field[14]; byte tuple[][]; f[0] = new Field(connection, "PKTABLE_CAT", iVarcharOid, 32); f[1] = new Field(connection, "PKTABLE_SCHEM", iVarcharOid, 32); f[2] = new Field(connection, "PKTABLE_NAME", iVarcharOid, 32); f[3] = new Field(connection, "PKCOLUMN_NAME", iVarcharOid, 32); f[4] = new Field(connection, "FKTABLE_CAT", iVarcharOid, 32); f[5] = new Field(connection, "FKTABLE_SCHEM", iVarcharOid, 32); f[6] = new Field(connection, "FKTABLE_NAME", iVarcharOid, 32); f[7] = new Field(connection, "FKCOLUMN_NAME", iVarcharOid, 32); f[8] = new Field(connection, "KEY_SEQ", iInt2Oid, 2); f[9] = new Field(connection, "UPDATE_RULE", iInt2Oid, 2); f[10] = new Field(connection, "DELETE_RULE", iInt2Oid, 2); f[11] = new Field(connection, "FK_NAME", iVarcharOid, 32); f[12] = new Field(connection, "PK_NAME", iVarcharOid, 32); f[13] = new Field(connection, "DEFERRABILITY", iInt2Oid, 2); java.sql.ResultSet rs = connection.ExecSQL("select t.tgargs " + "from pg_class as c, pg_trigger as t " + "where c.relname like '" + table + "' and c.relfilenode=t.tgrelid"); Vector tuples = new Vector(); while (rs.next()) { importLoop(tuples, rs); } rsret = new ResultSet(connection, f, tuples, "OK", 1); return rsret; } | 45454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45454/0b1289e67d0c0be0f1089b298113652333eb6299/DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
336,
24934,
2396,
12,
780,
6222,
16,
514,
1963,
16,
514,
1014,
13,
1216,
6483,
202,
95,
202,
202,
759,
25808,
635,
531,
11821,
348,
1074,
1165,
411,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
336,
24934,
2396,
12,
780,
6222,
16,
514,
1963,
16,
514,
1014,
13,
1216,
6483,
202,
95,
202,
202,
759,
25808,
635,
531,
11821,
348,
1074,
1165,
411,... |
public Object read(ObjectInputStream input) { | public Object read(ObjectInputStream input) { | public Object read(ObjectInputStream input) { return input._cdrInput.read_Object(); } | 12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/5c788225030ea2bb15cb5f3f9696c52b755b6d54/ObjectRefHelper.java/clean/modules/interop/src/java/org/apache/geronimo/interop/rmi/iiop/ObjectRefHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
855,
12,
921,
4348,
810,
13,
288,
3639,
327,
810,
6315,
71,
3069,
1210,
18,
896,
67,
921,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
855,
12,
921,
4348,
810,
13,
288,
3639,
327,
810,
6315,
71,
3069,
1210,
18,
896,
67,
921,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
System.out.println("returning info : " + ((Action) dummy.getFcInterface("action")).doSomething()); | System.out.println(((Action) dummy.getFcInterface("action")).doSomething()); | public static void main(String[] args) { Test test = new Test(); System.setProperty("fractal.provider", "org.objectweb.proactive.core.component.Fractive"); try { test.action(); Component dummy = test.getDummy(); System.out.println("returning info : " + ((Action) dummy.getFcInterface("action")).doSomething()); } catch (Exception e) { e.printStackTrace(); } finally { try { //test.endTest(); System.exit(0); } catch (Exception e1) { e1.printStackTrace(); } } } | 58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/0ddcd90318b5ea4a9891c5cf04681f7ce7223df0/Test.java/clean/src/nonregressiontest/component/descriptor/arguments/Test.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
7766,
1842,
273,
394,
7766,
5621,
3639,
2332,
18,
542,
1396,
2932,
74,
14266,
287,
18,
6778,
3113,
5411,
315,
3341,
18,
1612,
48... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
7766,
1842,
273,
394,
7766,
5621,
3639,
2332,
18,
542,
1396,
2932,
74,
14266,
287,
18,
6778,
3113,
5411,
315,
3341,
18,
1612,
48... |
public ZipFileExportOperation(IResource res, List resources, String filename) { this(res,filename); | public ZipFileExportOperation(List resources,String filename) { super(); Iterator elementsEnum = resources.iterator(); while (elementsEnum.hasNext()) { IResource currentResource = (IResource) elementsEnum.next(); if (isDescendent(resources, currentResource)) elementsEnum.remove(); } | public ZipFileExportOperation(IResource res, List resources, String filename) { this(res,filename); resourcesToExport = resources;} | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/3572e252b2d7a0f646501de7aff10623c7c01db7/ZipFileExportOperation.java/buggy/bundles/org.eclipse.ui/Eclipse UI Standard Components/org/eclipse/ui/wizards/datatransfer/ZipFileExportOperation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
18364,
6144,
2988,
12,
45,
1420,
400,
16,
987,
2703,
16,
514,
1544,
13,
288,
202,
2211,
12,
455,
16,
3459,
1769,
202,
4683,
774,
6144,
273,
2703,
31,
97,
2,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
18364,
6144,
2988,
12,
45,
1420,
400,
16,
987,
2703,
16,
514,
1544,
13,
288,
202,
2211,
12,
455,
16,
3459,
1769,
202,
4683,
774,
6144,
273,
2703,
31,
97,
2,
-100,
-100,
-100,
-100,
-... |
else { if(log.isErrorEnabled()) log.error("channel == null"); } | public void send(Message msg) throws ChannelNotConnectedException, ChannelClosedException { if(channel != null) channel.send(msg); else if(adapter != null) { try { if(id != null) adapter.send(id, msg); else adapter.send(msg); } catch(Throwable ex) { if(log.isErrorEnabled()) log.error("exception=" + Util.print(ex)); } } else { if(log.isErrorEnabled()) log.error("channel == null"); } } | 50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/9b133caccdd70cd06c1674ee2a42e75071fdc287/MessageDispatcher.java/clean/src/org/jgroups/blocks/MessageDispatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1366,
12,
1079,
1234,
13,
1216,
5307,
1248,
8932,
503,
16,
5307,
7395,
503,
288,
3639,
309,
12,
4327,
480,
446,
13,
5411,
1904,
18,
4661,
12,
3576,
1769,
3639,
469,
309,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1366,
12,
1079,
1234,
13,
1216,
5307,
1248,
8932,
503,
16,
5307,
7395,
503,
288,
3639,
309,
12,
4327,
480,
446,
13,
5411,
1904,
18,
4661,
12,
3576,
1769,
3639,
469,
309,
12,
... | |
public void fire(Player player, String text, SpeakerNPC engine) { int outfit = player.getInt("outfit"); int clothes_index = (outfit / 100) % 100; // Check whether player is naked if (clothes_index == 0) { engine.say("Who are you? Aiiieeeee!!! You're naked! Right-click on you and choose SET OUTFIT! Shhh! Don't even think on clicking on the white bar at the bottom and write to reply to me! And if you happen to talk to anyone in the city you'd better begin the conversation saying HI. And don't be gross and just leave: say BYE to end the conversation. And use #CTRL #+ #arrow to turn around and face me when I'm talking to you! Wait! I am sure you are a friend of that onlooker Nomyr who's always peeking at the windows! Now use the #arrows and go out!"); player.setQuest("Ketteh", "seen_naked"); // OK, player is NOT naked this time, but was last time. } else if (player.hasQuest("Ketteh") && player.getQuest("Ketteh").equals("seen_naked")) { engine.say("Hi again, " + player.getName() + ". How can I #shout at you this time?"); player.setQuest("Ketteh", "seen"); // don't be unforgiving // We have met the player before and it was NOT naked last time nor is it know } else if (player.hasQuest("Ketteh")){ engine.say("Hi again, " + player.getName() + "."); } else { // We haver never seen the player before. engine.say("Hi " + player.getName() + ", nice to meet you."); player.setQuest("Ketteh", "seen"); } } | 4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/141f7096d21e9634bcbbd6de96da23a8ef3b4662/MeetKetteh.java/clean/src/games/stendhal/server/maps/quests/MeetKetteh.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
6459,
12179,
12,
12148,
14872,
16,
780,
955,
16,
6862,
1082,
202,
55,
347,
6388,
50,
3513,
8944,
15329,
474,
659,
7216,
33,
14872,
18,
588,
1702,
2932,
659,
7216,
8863,
474,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
6459,
12179,
12,
12148,
14872,
16,
780,
955,
16,
6862,
1082,
202,
55,
347,
6388,
50,
3513,
8944,
15329,
474,
659,
7216,
33,
14872,
18,
588,
1702,
2932,
659,
7216,
8863,
474,
... | ||
RubyArray result = RubyArray.newArray(recv.getRuntime(), 2); | RubyArray result = recv.getRuntime().newArray(2); | public static RubyArray frexp(IRubyObject recv, RubyNumeric other) { double mantissa = other.getDoubleValue(); short sign = 1; double exponent = 0; if (mantissa != 0.0) { // Make mantissa same sign so we only have one code path. if (mantissa < 0) { mantissa = -mantissa; sign = -1; } // Increase value to hit lower range. for (; mantissa < 0.5; mantissa *= 2.0, exponent -=1) { } // Decrease value to hit upper range. for (; mantissa >= 1.0; mantissa *= 0.5, exponent +=1) { } } RubyArray result = RubyArray.newArray(recv.getRuntime(), 2); result.append(RubyFloat.newFloat(recv.getRuntime(), sign * mantissa)); result.append(RubyFloat.newFloat(recv.getRuntime(), exponent)); return result; } | 48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyMath.java/buggy/src/org/jruby/RubyMath.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
1076,
22010,
23829,
12,
7937,
10340,
921,
10665,
16,
19817,
9902,
1308,
13,
288,
3639,
1645,
31340,
273,
1308,
18,
588,
5265,
620,
5621,
3639,
3025,
1573,
273,
404,
31,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
1076,
22010,
23829,
12,
7937,
10340,
921,
10665,
16,
19817,
9902,
1308,
13,
288,
3639,
1645,
31340,
273,
1308,
18,
588,
5265,
620,
5621,
3639,
3025,
1573,
273,
404,
31,
... |
valencyChecker = new ValencyHybridChecker(); | valencyChecker = new SmilesValencyChecker(); | public SmilesParser() { logger = new LoggingTool(this); try { valencyChecker = new ValencyHybridChecker(); hAdder = new HydrogenAdder(valencyChecker); } catch (Exception exception) { logger.error("Could not instantiate valencyChecker or hydrogenAdder: ", exception.getMessage()); logger.debug(exception); } } | 1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/2b36ab3de769d925ab5e01751e878f653a1b942a/SmilesParser.java/buggy/src/org/openscience/cdk/smiles/SmilesParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
9425,
1449,
2678,
1435,
202,
95,
202,
202,
4901,
273,
394,
10253,
6364,
12,
2211,
1769,
202,
202,
698,
202,
202,
95,
1082,
202,
1125,
2075,
8847,
273,
394,
12747,
2075,
17507,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
9425,
1449,
2678,
1435,
202,
95,
202,
202,
4901,
273,
394,
10253,
6364,
12,
2211,
1769,
202,
202,
698,
202,
202,
95,
1082,
202,
1125,
2075,
8847,
273,
394,
12747,
2075,
17507,
... |
getCertificateStoreSession().revokeCertificate(admin, cadata.getCACertificate(), cadata.getCRLPublishers(), reason); | public void revokeCA(Admin admin, int caid, int reason) throws CADoesntExistsException, AuthorizationDeniedException{ // check authorization try{ getAuthorizationSession().isAuthorizedNoLog(admin,"/super_administrator"); }catch(AuthorizationDeniedException e){ getLogSession().log(admin, caid, LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_NOTAUTHORIZEDTORESOURCE,"Administrator isn't authorized to revoke CA",e); throw new AuthorizationDeniedException("Not authorized to revoke CA with caid = " + caid); } // Get CA info. CADataLocal ca = null; try{ ca = this.cadatahome.findByPrimaryKey(new Integer(caid)); }catch(javax.ejb.FinderException fe){ throw new EJBException(fe); } String issuerdn = ca.getSubjectDN(); try{ CA cadata = ca.getCA(); // Revoke all certificates generated by CA getCertificateStoreSession().revokeAllCertByCA(admin, issuerdn, RevokedCertInfo.REVOKATION_REASON_CACOMPROMISE); // Revoke CA certificate getCertificateStoreSession().revokeCertificate(admin, cadata.getCACertificate(), cadata.getCRLPublishers(), reason); InitialContext jndicontext = new InitialContext(); getCRLCreateSession().run(admin, issuerdn); cadata.setRevokationReason(reason); cadata.setRevokationDate(new Date()); cadata.setStatus(SecConst.CA_REVOKED); ca.setStatus(SecConst.CA_REVOKED); ca.setCA(cadata); }catch(Exception e){ getLogSession().log(admin, caid, LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_CAREVOKED,"An error occured when revoking CA " + ca.getName(),e); throw new EJBException(e); } getLogSession().log(admin, caid, LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_INFO_CAREVOKED,"CA " + ca.getName() + " revoked sucessfully, reason: " + reason); } // revokeCA | 4109 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4109/3864ea90aeeae51c5db35de830d1bb3cfc4e242b/CAAdminSessionBean.java/buggy/src/java/se/anatom/ejbca/ca/caadmin/CAAdminSessionBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
27653,
2257,
2157,
7675,
9083,
3056,
4719,
12,
3666,
16,
28451,
396,
18,
588,
26022,
2543,
9334,
28451,
396,
18,
588,
29524,
6024,
414,
9334,
3971,
1769,
282,
27653,
2257,
2157,
7675,
9083,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
27653,
2257,
2157,
7675,
9083,
3056,
4719,
12,
3666,
16,
28451,
396,
18,
588,
26022,
2543,
9334,
28451,
396,
18,
588,
29524,
6024,
414,
9334,
3971,
1769,
282,
27653,
2257,
2157,
7675,
9083,... | |
data.db.connect(getTrans().getThreadName(), getPartitionID()); | synchronized (getTrans()) { data.db.connect(getTrans().getThreadName(), getPartitionID()); } | public boolean init(StepMetaInterface smi, StepDataInterface sdi) { meta=(TableOutputMeta)smi; data=(TableOutputData)sdi; if (super.init(smi, sdi)) { try { data.batchMode = meta.getCommitSize()>0 && meta.useBatchUpdate(); data.db=new Database(meta.getDatabase()); if (getTransMeta().isUsingUniqueConnections()) { data.db.connect(getTrans().getThreadName(), getPartitionID()); } else { data.db.connect(getPartitionID()); } logBasic("Connected to database ["+meta.getDatabase()+"] (commit="+meta.getCommitSize()+")"); data.db.setCommit(meta.getCommitSize()); if (!meta.isPartitioningEnabled() && !meta.isTableNameInField()) { if (meta.truncateTable() && getCopy()==0) // Only the first one truncates!!! { data.db.truncateTable(StringUtil.environmentSubstitute( meta.getTablename() )); } } return true; } catch(KettleException e) { logError("An error occurred intialising this step: "+e.getMessage()); stopAll(); setErrors(1); } } return false; } | 58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/8457768c4ed45db05dab2d27052b02de5badded2/TableOutput.java/clean/kettle/src/be/ibridge/kettle/trans/step/tableoutput/TableOutput.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1208,
12,
4160,
2781,
1358,
3029,
77,
16,
8693,
751,
1358,
272,
3211,
13,
202,
95,
202,
202,
3901,
28657,
1388,
1447,
2781,
13,
4808,
77,
31,
202,
202,
892,
28657,
1388,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1208,
12,
4160,
2781,
1358,
3029,
77,
16,
8693,
751,
1358,
272,
3211,
13,
202,
95,
202,
202,
3901,
28657,
1388,
1447,
2781,
13,
4808,
77,
31,
202,
202,
892,
28657,
1388,... |
short getCPIndex(CP cp) | /* short */ int getCPIndex(CP cp) | short getCPIndex(CP cp) throws jasError { if (cpe_index == null) { throw new jasError("Internal error: CPE index has not been generated"); } Integer idx = (Integer)(cpe_index.get(cp.getUniq())); if (idx == null) throw new jasError("Item " + cp + " not in the class"); return ((short)(idx.intValue())); } | 51081 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51081/d6fa8bba7b79b7b730790e06c54903d16f50c4a1/ClassEnv.java/clean/lib/jas/src/jas/ClassEnv.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1748,
3025,
1195,
509,
1927,
52,
1016,
12,
4258,
3283,
13,
565,
1216,
525,
345,
668,
225,
288,
1377,
309,
261,
71,
347,
67,
1615,
422,
446,
13,
288,
202,
377,
604,
394,
525,
345,
668,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1748,
3025,
1195,
509,
1927,
52,
1016,
12,
4258,
3283,
13,
565,
1216,
525,
345,
668,
225,
288,
1377,
309,
261,
71,
347,
67,
1615,
422,
446,
13,
288,
202,
377,
604,
394,
525,
345,
668,... |
public void processNestedTag(PutTag nestedTag) throws JspException { // Get real value and check role // If role is set, add it in attribute definition if any. // If no attribute definition, create untyped one, and set role. Object attributeValue = nestedTag.getRealValue(); AttributeDefinition def; if( nestedTag.getRole() != null ) { try { def = ((AttributeDefinition)attributeValue); } catch( ClassCastException ex ) { def = new UntyppedAttribute( attributeValue ); } def.setRole(nestedTag.getRole()); attributeValue = def; } // end if // now add attribute to enclosing parent (i.e. : this object) putAttribute( nestedTag.getName(), attributeValue); } | 54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/99f335ad4dfc53503a1890e981ff118c3c404811/DefinitionTag.java/buggy/src/share/org/apache/struts/taglib/tiles/DefinitionTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1207,
8649,
1805,
12,
6426,
1805,
4764,
1805,
13,
1216,
27485,
282,
288,
1377,
368,
968,
2863,
460,
471,
866,
2478,
1377,
368,
971,
2478,
353,
444,
16,
527,
518,
316,
1566,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1207,
8649,
1805,
12,
6426,
1805,
4764,
1805,
13,
1216,
27485,
282,
288,
1377,
368,
968,
2863,
460,
471,
866,
2478,
1377,
368,
971,
2478,
353,
444,
16,
527,
518,
316,
1566,
2... | ||
PsiType unwrappedType = type; | private void createClassObjectAccessSynthetics(PsiType type){ if(!classObjectAccessExpression){ final MemberSignature syntheticMethod = MemberSignature.getClassAccessMethodMemberSignature(); nonPrivateMethods.add(syntheticMethod); } final StringBuffer fieldNameBuffer; PsiType unwrappedType = type; if(type instanceof PsiArrayType){ fieldNameBuffer = new StringBuffer("array"); while(unwrappedType instanceof PsiArrayType){ final PsiArrayType arrayType = (PsiArrayType) unwrappedType; unwrappedType = arrayType.getComponentType(); fieldNameBuffer.append("$"); } } else{ fieldNameBuffer = new StringBuffer(CLASS_ACCESS_METHOD_PREFIX); } if(unwrappedType instanceof PsiPrimitiveType){ final PsiPrimitiveType primitiveType = (PsiPrimitiveType) unwrappedType; fieldNameBuffer.append(MemberSignature.createPrimitiveType(primitiveType)); } else{ final String text = unwrappedType.getCanonicalText().replace('.', '$'); fieldNameBuffer.append(text); } final String fieldName = fieldNameBuffer.toString(); final MemberSignature memberSignature = new MemberSignature(fieldName, Modifier.STATIC, "Ljava/lang/Class;"); if(!nonPrivateFields.contains(memberSignature)){ nonPrivateFields.add(memberSignature); } classObjectAccessExpression = true; } | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/fca4a2a7b3bb9b4ae2848f026d06eb262318948d/SerialVersionUIDBuilder.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/fixes/SerialVersionUIDBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
797,
921,
1862,
10503,
451,
278,
2102,
12,
52,
7722,
559,
618,
15329,
3639,
309,
12,
5,
1106,
921,
1862,
2300,
15329,
5411,
727,
8596,
5374,
25535,
1305,
273,
10792,
8596,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
797,
921,
1862,
10503,
451,
278,
2102,
12,
52,
7722,
559,
618,
15329,
3639,
309,
12,
5,
1106,
921,
1862,
2300,
15329,
5411,
727,
8596,
5374,
25535,
1305,
273,
10792,
8596,... | |
String[] recognizedProperties = component.getRecognizedProperties(); addRecognizedProperties(recognizedProperties); if (recognizedFeatures != null) { for (int i = 0; i < recognizedFeatures.length; i++) { String featureId = recognizedFeatures[i]; Boolean state = component.getFeatureDefault(featureId); if (state != null) { checkFeature(featureId); fFeatures.put(featureId, state); } } } if (recognizedProperties != null) { for (int i = 0; i < recognizedProperties.length; i++) { String propertyId = recognizedProperties[i]; Object value = component.getPropertyDefault(propertyId); if (value != null) { checkProperty(propertyId); fProperties.put(propertyId, value); } } } } | } | protected void addXML11Component(XMLComponent component) { // don't add a component more than once if (fXML11Components.contains(component)) { return; } fXML11Components.addElement(component); // register component's recognized features String[] recognizedFeatures = component.getRecognizedFeatures(); addRecognizedFeatures(recognizedFeatures); // register component's recognized properties String[] recognizedProperties = component.getRecognizedProperties(); addRecognizedProperties(recognizedProperties); // set default values if (recognizedFeatures != null) { for (int i = 0; i < recognizedFeatures.length; i++) { String featureId = recognizedFeatures[i]; Boolean state = component.getFeatureDefault(featureId); if (state != null) { checkFeature(featureId); fFeatures.put(featureId, state); } } } if (recognizedProperties != null) { for (int i = 0; i < recognizedProperties.length; i++) { String propertyId = recognizedProperties[i]; Object value = component.getPropertyDefault(propertyId); if (value != null) { checkProperty(propertyId); fProperties.put(propertyId, value); } } } } // addXML11Component(XMLComponent) | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/cc185f4d15f9f48ba74eab8db63e184ee2e3a909/XML11Configuration.java/buggy/src/org/apache/xerces/parsers/XML11Configuration.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
527,
4201,
2499,
1841,
12,
4201,
1841,
1794,
13,
288,
202,
202,
759,
2727,
1404,
527,
279,
1794,
1898,
2353,
3647,
202,
202,
430,
261,
74,
4201,
2499,
7171,
18,
12298,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
527,
4201,
2499,
1841,
12,
4201,
1841,
1794,
13,
288,
202,
202,
759,
2727,
1404,
527,
279,
1794,
1898,
2353,
3647,
202,
202,
430,
261,
74,
4201,
2499,
7171,
18,
12298,
1... |
Composite behaviorComposite = new Composite(parent, SWT.NULL); | Composite behaviorComposite = new Composite(parent, SWT.NONE); | private Control createBehaviorPage(Composite parent) { Composite behaviorComposite = new Composite(parent, SWT.NULL); GridLayout layout = new GridLayout(); layout.numColumns = 2; behaviorComposite.setLayout(layout); String label = PreferencesMessages.getString("CEditorPreferencePage.behaviorPage.tabWidth"); //$NON-NLS-1$ addTextField(behaviorComposite, label, CSourceViewerConfiguration.PREFERENCE_TAB_WIDTH, 2, 0, true); label = PreferencesMessages.getString("CEditorPreferencePage.behaviorPage.marginColumn"); //$NON-NLS-1$ addTextField(behaviorComposite, label, AbstractDecoratedTextEditorPreferenceConstants.EDITOR_PRINT_MARGIN_COLUMN, 4, 0, true); label = PreferencesMessages.getString("CEditorPreferencePage.behaviorPage.tabSpace"); //$NON-NLS-1$ addCheckBox(behaviorComposite, label, CEditor.SPACES_FOR_TABS, 0); label = PreferencesMessages.getString("CEditorPreferencePage.behaviorPage.matchingBrackets"); //$NON-NLS-1$ fBracketHighlightButton = addCheckBox(behaviorComposite, label, CEditor.MATCHING_BRACKETS, 0); label = PreferencesMessages.getString("CEditorPreferencePage.behaviorPage.showLineNumbers"); //$NON-NLS-1$ addCheckBox(behaviorComposite, label, AbstractDecoratedTextEditorPreferenceConstants.EDITOR_LINE_NUMBER_RULER, 0); label = PreferencesMessages.getString("CEditorPreferencePage.behaviorPage.highlightLine"); //$NON-NLS-1$ fLineHighlightButton = addCheckBox(behaviorComposite, label, AbstractDecoratedTextEditorPreferenceConstants.EDITOR_CURRENT_LINE, 0); label = PreferencesMessages.getString("CEditorPreferencePage.behaviorPage.showOverviewRuler"); //$NON-NLS-1$ addCheckBox(behaviorComposite, label, AbstractDecoratedTextEditorPreferenceConstants.EDITOR_OVERVIEW_RULER, 0); label = PreferencesMessages.getString("CEditorPreferencePage.behaviorPage.printMargin"); //$NON-NLS-1$ addCheckBox(behaviorComposite, label, AbstractDecoratedTextEditorPreferenceConstants.EDITOR_PRINT_MARGIN, 0); Label l = new Label(behaviorComposite, SWT.LEFT); GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL); gd.horizontalSpan = 2; gd.heightHint = convertHeightInCharsToPixels(1) / 2; l.setLayoutData(gd); l = new Label(behaviorComposite, SWT.LEFT); l.setText(PreferencesMessages.getString("CEditorPreferencePage.behaviorPage.appearanceColorOptions")); //$NON-NLS-1$ gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL); gd.horizontalSpan = 2; l.setLayoutData(gd); Composite editorComposite = new Composite(behaviorComposite, SWT.NONE); layout = new GridLayout(); layout.numColumns = 2; layout.marginHeight = 0; layout.marginWidth = 0; editorComposite.setLayout(layout); gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.FILL_VERTICAL); gd.horizontalSpan = 2; editorComposite.setLayoutData(gd); fAppearanceColorList = new List(editorComposite, SWT.SINGLE | SWT.V_SCROLL | SWT.BORDER); gd = new GridData(GridData.FILL_BOTH); gd.heightHint = convertHeightInCharsToPixels(5); fAppearanceColorList.setLayoutData(gd); Composite stylesComposite = new Composite(editorComposite, SWT.NONE); layout = new GridLayout(); layout.marginHeight = 0; layout.marginWidth = 0; layout.numColumns = 2; stylesComposite.setLayout(layout); stylesComposite.setLayoutData(new GridData(GridData.FILL_BOTH)); l = new Label(stylesComposite, SWT.LEFT); l.setText(PreferencesMessages.getString("CEditorPreferencePage.behaviorPage.Color")); //$NON-NLS-1$ gd = new GridData(); gd.horizontalAlignment = GridData.BEGINNING; l.setLayoutData(gd); fAppearanceForegroundColorEditor = new ColorEditor(stylesComposite); Button foregroundColorButton = fAppearanceForegroundColorEditor.getButton(); gd = new GridData(GridData.FILL_HORIZONTAL); gd.horizontalAlignment = GridData.BEGINNING; foregroundColorButton.setLayoutData(gd); fAppearanceColorList.addSelectionListener(new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { // do nothing } public void widgetSelected(SelectionEvent e) { handleAppearanceColorListSelection(); } }); foregroundColorButton.addSelectionListener(new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { // do nothing } public void widgetSelected(SelectionEvent e) { int i = fAppearanceColorList.getSelectionIndex(); String key = fAppearanceColorListModel[i][1]; PreferenceConverter.setValue(fOverlayStore, key, fAppearanceForegroundColorEditor.getColorValue()); } }); WorkbenchHelp.setHelp(behaviorComposite, ICHelpContextIds.C_EDITOR_PREF_PAGE); return behaviorComposite; } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/1a728b8a2a5745436a055e7a60c7075789d789e6/CEditorPreferencePage.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/CEditorPreferencePage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
8888,
752,
9212,
1964,
12,
9400,
982,
13,
288,
202,
202,
9400,
6885,
9400,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
8560,
1769,
202,
202,
6313,
3744,
3511,
273,
394,
714... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
8888,
752,
9212,
1964,
12,
9400,
982,
13,
288,
202,
202,
9400,
6885,
9400,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
8560,
1769,
202,
202,
6313,
3744,
3511,
273,
394,
714... |
addListenerFilter("NotationListener_CanonicalStyle", this, PresentationListener.getNotifier(style)); | addListenerFilter("NotationListener_CanonicalStyle", this, style); | public void activate() { Style style = ((View)host().getModel()).getStyle(NotationPackage.eINSTANCE.getDrawerStyle()); if ( style != null ) { addListenerFilter("NotationListener_DrawerStyle", this, PresentationListener.getNotifier(style)); //$NON-NLS-1$ } style = ((View)host().getModel()).getStyle(NotationPackage.eINSTANCE.getCanonicalStyle()); if ( style != null ) { addListenerFilter("NotationListener_CanonicalStyle", this, PresentationListener.getNotifier(style)); //$NON-NLS-1$ } super.activate(); } | 1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/03730b3dbfd458e6a31f71bf86feb7697ac16353/CanonicalShapeCompartmentEditPolicy.java/clean/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui/src/org/eclipse/gmf/runtime/diagram/ui/editpolicies/CanonicalShapeCompartmentEditPolicy.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
10235,
1435,
288,
202,
202,
2885,
2154,
273,
14015,
1767,
13,
2564,
7675,
588,
1488,
1435,
2934,
588,
2885,
12,
14818,
2261,
18,
73,
13341,
18,
588,
21631,
2885,
10663,
202... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
10235,
1435,
288,
202,
202,
2885,
2154,
273,
14015,
1767,
13,
2564,
7675,
588,
1488,
1435,
2934,
588,
2885,
12,
14818,
2261,
18,
73,
13341,
18,
588,
21631,
2885,
10663,
202... |
return (EReference) axisEClass.getEStructuralFeatures( ).get( 17 ); | return (EReference) axisEClass.getEStructuralFeatures( ).get( 18 ); | public EReference getAxis_MinorGrid( ) { return (EReference) axisEClass.getEStructuralFeatures( ).get( 17 ); } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/7acc07f86c0da3e7b572d49bd0c1fdd5a9364b33/ComponentPackageImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/ComponentPackageImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
512,
2404,
4506,
5674,
67,
19549,
6313,
12,
262,
202,
95,
202,
202,
2463,
261,
41,
2404,
13,
2654,
5720,
18,
588,
41,
14372,
8696,
12,
262,
18,
588,
12,
8043,
11272,
202,
97... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
512,
2404,
4506,
5674,
67,
19549,
6313,
12,
262,
202,
95,
202,
202,
2463,
261,
41,
2404,
13,
2654,
5720,
18,
588,
41,
14372,
8696,
12,
262,
18,
588,
12,
8043,
11272,
202,
97... |
data = new GridData(GridData.FILL_HORIZONTAL); sep.setLayoutData(data); | sep.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false)); | private Composite createActionSetsPage(Composite parent) { GridData data; Font font = parent.getFont(); Composite actionSetsComposite = new Composite(parent, SWT.NONE); GridLayout layout = new GridLayout(); actionSetsComposite.setLayout(layout); data = new GridData(GridData.FILL_BOTH); actionSetsComposite.setLayoutData(data); // Select... label Label label = new Label(actionSetsComposite, SWT.WRAP); label .setText(NLS.bind(WorkbenchMessages.ActionSetSelection_selectActionSetsLabel,perspective.getDesc().getLabel() )); data = new GridData(GridData.FILL_BOTH); data.widthHint = TABLES_WIDTH; label.setLayoutData(data); Label sep = new Label(actionSetsComposite, SWT.HORIZONTAL | SWT.SEPARATOR); data = new GridData(GridData.FILL_HORIZONTAL); sep.setLayoutData(data); SashForm sashComposite = new SashForm(actionSetsComposite, SWT.HORIZONTAL); data = new GridData(GridData.FILL_BOTH); data.heightHint = TABLE_HEIGHT; data.widthHint = TABLES_WIDTH; sashComposite.setLayoutData(data); // Action Set List Composite Composite actionSetGroup = new Composite(sashComposite, SWT.NONE); layout = new GridLayout(); layout.marginHeight = 0; layout.marginWidth = 0; actionSetGroup.setLayout(layout); data = new GridData(GridData.FILL_BOTH); actionSetGroup.setLayoutData(data); label = new Label(actionSetGroup, SWT.NONE); label.setText(WorkbenchMessages.ActionSetSelection_availableActionSets); actionSetsViewer = CheckboxTableViewer.newCheckList(actionSetGroup, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL); data = new GridData(GridData.FILL_BOTH); actionSetsViewer.getTable().setLayoutData(data); actionSetsViewer.getTable().setFont(font); actionSetsViewer.setLabelProvider(new WorkbenchLabelProvider()); actionSetsViewer.setContentProvider(new ArrayContentProvider()); actionSetsViewer.setSorter(new ActionSetSorter()); // Action list Group Composite actionItemGroup = new Composite(sashComposite, SWT.NONE); layout = new GridLayout(); layout.marginHeight = 0; layout.marginWidth = 0; layout.horizontalSpacing = 5; actionItemGroup.setLayout(layout); data = new GridData(GridData.FILL_BOTH); actionItemGroup.setLayoutData(data); Composite actionGroup = new Composite(actionItemGroup, SWT.NULL); layout = new GridLayout(); layout.numColumns = 2; layout.makeColumnsEqualWidth = true; layout.marginHeight = 0; layout.marginWidth = 0; layout.horizontalSpacing = 0; actionGroup.setLayout(layout); data = new GridData(GridData.FILL_BOTH); actionGroup.setLayoutData(data); label = new Label(actionGroup, SWT.NONE); label.setText(WorkbenchMessages.ActionSetSelection_menubarActions); label.setFont(font); label = new Label(actionGroup, SWT.NONE); label.setText(WorkbenchMessages.ActionSetSelection_toolbarActions); label.setFont(font); actionSetMenuViewer = new TreeViewer(actionGroup); actionSetMenuViewer.setAutoExpandLevel(AbstractTreeViewer.ALL_LEVELS); data = new GridData(GridData.FILL_BOTH); actionSetMenuViewer.getControl().setLayoutData(data); actionSetMenuViewer.setLabelProvider(new ActionSetLabelProvider()); actionSetMenuViewer.setContentProvider(new TreeContentProvider()); actionSetToolbarViewer = new TreeViewer(actionGroup); actionSetToolbarViewer.setAutoExpandLevel(AbstractTreeViewer.ALL_LEVELS); data = new GridData(GridData.FILL_BOTH); actionSetToolbarViewer.getControl().setLayoutData(data); actionSetToolbarViewer .setLabelProvider(new ActionSetLabelProvider()); actionSetToolbarViewer.setContentProvider(new TreeContentProvider()); sashComposite.setWeights(new int[] { 30, 70 }); // Use F2... label label = new Label(actionSetsComposite, SWT.WRAP); label.setText(WorkbenchMessages.ActionSetSelection_selectActionSetsHelp); label.setFont(font); data = new GridData(); data.widthHint = TABLES_WIDTH; label.setLayoutData(data); return actionSetsComposite; } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/39d8acd891cda5d49cf8422de646b16709c6c856/CustomizePerspectiveDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/CustomizePerspectiveDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
14728,
752,
1803,
2785,
1964,
12,
9400,
982,
13,
288,
3639,
7145,
751,
501,
31,
3639,
10063,
3512,
273,
982,
18,
588,
5711,
5621,
3639,
14728,
1301,
2785,
9400,
273,
394,
14728,
12,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
14728,
752,
1803,
2785,
1964,
12,
9400,
982,
13,
288,
3639,
7145,
751,
501,
31,
3639,
10063,
3512,
273,
982,
18,
588,
5711,
5621,
3639,
14728,
1301,
2785,
9400,
273,
394,
14728,
12,... |
new String[] { "2002 ", "2003 ", "2001 ", "2000 ", "1999 " }; | new String[] { "2002 ", "2003 ", "2004 ", "2001 ", "2000 ", "1999 " }; | getOut().println(sb.toString()); } /** * Encapsulate license and copyright specifications * to check files use hokey string matching. */ public static class License { /** acceptable years for copyright prefix to company - append " " */ static final String[] YEARS = // XXX remove older after license xfer? new String[] { "2002 ", "2003 ", "2001 ", "2000 ", "1999 " }; public final String tag; public final String license; private final String[] copyright; private boolean gotLicense; private boolean gotCopyright; License(String tag, String license) { this(tag, license, (String[]) null); } License(String tag, String license, String copyright) { this(tag, license, new String[] { copyright }); } License( String tag, String license, String copyright, String altCopyright) { this(tag, license, new String[] { copyright, altCopyright }); } License(String tag, String license, String[] copyright) { this.tag = tag; if ((null == tag) || (0 == tag.length())) { throw new IllegalArgumentException("null tag"); } this.license = license; this.copyright = copyright; } public final boolean gotValidFile() { return foundLicense() && foundCopyright(); } /** @return true if no license sought or if some license found */ public final boolean foundLicense() { return ((null == license) || gotLicense); } /** @return true if no copyright sought or if some copyright found */ public final boolean foundCopyright() { return ((null == copyright) || gotCopyright); } public boolean checkFile(final File file) { clear();// boolean result = false; BufferedReader input = null; int lineNum = 0; try { input = new BufferedReader(new FileReader(file)); String line; while (!gotValidFile() && (line = input.readLine()) != null) { lineNum++; checkLine(line); } } catch (IOException e) { System.err.println( "reading line " + lineNum + " of " + file); e.printStackTrace(System.err); } finally { if (null != input) { try { input.close(); } catch (IOException e) { } // ignore } } return gotValidFile(); } public String toString() { return tag; } private void checkLine(String line) { if ((null == line) || (0 == line.length())) { return; } if (!gotLicense && (null != license) && (-1 != line.indexOf(license))) { gotLicense = true; } if (!gotCopyright && (null != copyright)) { int loc; for (int j = 0; !gotCopyright && (j < YEARS.length); j++) { if (-1 != (loc = line.indexOf(YEARS[j]))) { loc += YEARS[j].length(); String afterLoc = line.substring(loc).trim(); for (int i = 0; !gotCopyright && (i < copyright.length); i++) { if (0 == afterLoc.indexOf(copyright[i])) { gotCopyright = true; } } } } } } private void clear() { if (gotLicense) { gotLicense = false; } if (gotCopyright) { gotCopyright = false; } } } // class License}class HeaderInfo { /** File for which this is the info */ public final File file; /** unmodifiable List of String years */ public final List years; /** last line of license */ public final int lastLine; /** last line of license */ public final boolean hasLicense; public HeaderInfo(File file, int lastLine, List years, boolean hasLicense) { this.lastLine = lastLine; this.file = file; this.hasLicense = hasLicense; List newYears = new ArrayList(); newYears.addAll(years); Collections.sort(newYears); this.years = Collections.unmodifiableList(newYears); if ((null == file) || !file.canWrite()) { throw new IllegalArgumentException("bad file: " + this); } if (!hasLicense) { if ((0> lastLine) || (65 < lastLine)) { throw new IllegalArgumentException("bad last line: " + this); } } else { if ((null == years) || (1 > years.size())) { throw new IllegalArgumentException("no years: " + this); } if ((20 > lastLine) || (65 < lastLine)) { throw new IllegalArgumentException("bad last line: " + this); } } } public String toString() { return file.getPath() + ":" + lastLine + " " + years; } public void writeHeader(PrintWriter writer) { if (!hasLicense) { writer.println(TOP); writer.println(PARC_ONLY); writeRest(writer); } else { final int size = years.size(); if (1 > size) { throw new Error("no years found in " + toString()); } String first = (String) years.get(0); String last = (String) years.get(size-1); boolean lastIs2002 = "2002".equals(last); String xlast = last; if (lastIs2002) { // 2002 was PARC xlast = (String) (size > 1 ? years.get(size-2) : null); // 1999-2002 Xerox implies 1999-2001 Xerox if (first.equals(xlast) && !"2001".equals(xlast)) { xlast = "2001"; } } String xyears = first + "-" + xlast; if (first.equals(last)) { xyears = first; } writer.println(TOP); if (!lastIs2002) { // Xerox only writer.println(XEROX_PREFIX + xyears + XEROX_SUFFIX + ". "); } else if (size == 1) { // PARC only writer.println(PARC_ONLY); } else { // XEROX plus PARC writer.println(XEROX_PREFIX + xyears + XEROX_SUFFIX + ", "); writer.println(PARC); } writeRest(writer); } } void writeRest(PrintWriter writer) { writer.println(" * All rights reserved. "); writer.println(" * This program and the accompanying materials are made available "); writer.println(" * under the terms of the Common Public License v1.0 "); writer.println(" * which accompanies this distribution and is available at "); writer.println(" * http://www.eclipse.org/legal/cpl-v10.html "); writer.println(" * "); writer.println(" * Contributors: "); writer.println(" * Xerox/PARC initial implementation "); writer.println(" * ******************************************************************/"); writer.println(""); } public static final String TOP = "/* *******************************************************************"; public static final String PARC = " * 2002 Palo Alto Research Center, Incorporated (PARC)."; public static final String PARC_ONLY = " * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC)."; public static final String XEROX_PREFIX = " * Copyright (c) "; public static final String XEROX_SUFFIX = " Xerox Corporation"; /*/* ******************************************************************* * Copyright (c) 1998-2001 Xerox Corporation, * 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Common Public License v1.0 * which accompanies this distribution and is available at * http://www.eclipse.org/legal/cpl-v10.html * * Contributors: * Xerox/PARC initial implementation * ****************************************************************** */}/** * header search/replace using hokey string matching */class Header { /** replace the header in file */ public static boolean replaceHeader(File file, HeaderInfo info) {// ArrayList years = new ArrayList();// int endLine = 0; BufferedReader input = null; PrintWriter output = null; FileWriter outWriter = null; int lineNum = 0; boolean result = false; final File inFile = new File(file.getPath() + ".tmp"); try { File outFile = new File(file.getPath()); if (!file.renameTo(inFile) || !inFile.canRead()) { throw new Error("unable to rename " + file + " to " + inFile); } outWriter = new FileWriter(outFile); input = new BufferedReader(new FileReader(inFile)); output = new PrintWriter(outWriter, true); info.writeHeader(output); String line; while (null != (line = input.readLine())) { lineNum++; if (lineNum > info.lastLine) { output.println(line); } } } catch (IOException e) { System.err.println( "writing line " + lineNum + " of " + file); e.printStackTrace(System.err); result = false; } finally { if (null != input) { try { input.close(); } catch (IOException e) { result = false; } } if (null != outWriter) { try { outWriter.close(); } catch (IOException e) { result = false; } } result = inFile.delete(); } return result; } public static HeaderInfo checkFile(final File file) { ArrayList years = new ArrayList(); int endLine = 0; BufferedReader input = null; int lineNum = 0; try { input = new BufferedReader(new FileReader(file)); String line; while (null != (line = input.readLine())) { lineNum++; String ll = line.trim(); if (ll.startsWith("package ") || ll.startsWith("import ")) { break; // ignore default package w/o imports } if (checkLine(line, years)) { endLine = lineNum; break; } } } catch (IOException e) { System.err.println( "reading line " + lineNum + " of " + file); e.printStackTrace(System.err); } finally { if (null != input) { try { input.close(); } catch (IOException e) { } // ignore } } return new HeaderInfo(file, endLine, years, endLine > 0); } /** * Add any years found (as String) to years, * and return true at the first end-of-comment * @return true if this line has end-of-comment */ private static boolean checkLine(String line, ArrayList years) { if ((null == line) || (0 == line.length())) { return false; } int loc; int start = 0; while ((-1 != (loc = line.indexOf("199", start)) || (-1 != (loc = line.indexOf("200", start))))) { char c = line.charAt(loc + 3); if ((c <= '9') && (c >= '0')) { years.add(line.substring(loc, loc+4)); } start = loc + 4; } return (-1 != line.indexOf("*/")); }} // class Header | 53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/8b5dda194fa57fbb50a0a000af231d99c2dcdc25/Checklics.java/clean/build/src/org/aspectj/internal/tools/ant/taskdefs/Checklics.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
588,
1182,
7675,
8222,
12,
18366,
18,
10492,
10663,
202,
97,
202,
26873,
202,
380,
1374,
22984,
6243,
8630,
471,
22245,
21950,
3196,
380,
358,
866,
1390,
999,
366,
601,
402,
533,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
588,
1182,
7675,
8222,
12,
18366,
18,
10492,
10663,
202,
97,
202,
26873,
202,
380,
1374,
22984,
6243,
8630,
471,
22245,
21950,
3196,
380,
358,
866,
1390,
999,
366,
601,
402,
533,
36... |
entityMap.setList("attributes", attributes); | entityMap.setList("attributes", attributes, true); | public EOModelMap toEntityMap() { EOModelMap entityMap = myEntityMap.cloneModelMap(); entityMap.setString("name", myName, true); //$NON-NLS-1$ entityMap.setString("externalName", myExternalName, true); //$NON-NLS-1$ entityMap.setString("className", myClassName, true); //$NON-NLS-1$ if (myParent != null) { entityMap.setString("parent", myParent.getName(), true); //$NON-NLS-1$ } entityMap.setBoolean("cachesObjects", myCachesObjects); //$NON-NLS-1$ entityMap.setBoolean("isAbstractEntity", myAbstractEntity); //$NON-NLS-1$ entityMap.setBoolean("readOnly", myReadOnly); //$NON-NLS-1$ entityMap.setString("restrictingQualifier", myRestrictingQualifier, true); //$NON-NLS-1$ entityMap.setString("externalQuery", myExternalQuery, true); //$NON-NLS-1$ entityMap.setInteger("maxNumberOfInstancesToBatchFetch", myMaxNumberOfInstancesToBatchFetch); //$NON-NLS-1$ //Map fetchSpecifications = _entityMap.getMap("fetchSpecificationDictionary"); // TODO: Fetch Specs List classProperties = new LinkedList(); List primaryKeyAttributes = new LinkedList(); List attributesUsedForLocking = new LinkedList(); List clientClassProperties = new LinkedList(); List attributes = new LinkedList(); Iterator attributeIter = myAttributes.iterator(); while (attributeIter.hasNext()) { EOAttribute attribute = (EOAttribute) attributeIter.next(); EOModelMap attributeMap = attribute.toMap(); attributes.add(attributeMap); if (attribute.isClassProperty() != null && attribute.isClassProperty().booleanValue()) { classProperties.add(attribute.getName()); } if (attribute.isPrimaryKey() != null && attribute.isPrimaryKey().booleanValue()) { primaryKeyAttributes.add(attribute.getName()); } if (attribute.isUsedForLocking() != null && attribute.isUsedForLocking().booleanValue()) { attributesUsedForLocking.add(attribute.getName()); } if (attribute.isClientClassProperty() != null && attribute.isClientClassProperty().booleanValue()) { clientClassProperties.add(attribute.getName()); } } entityMap.setList("attributes", attributes); //$NON-NLS-1$ List relationships = new LinkedList(); Iterator relationshipIter = myRelationships.iterator(); while (relationshipIter.hasNext()) { EORelationship relationship = (EORelationship) relationshipIter.next(); EOModelMap relationshipMap = relationship.toMap(); relationships.add(relationshipMap); if (relationship.isClassProperty() != null && relationship.isClassProperty().booleanValue()) { classProperties.add(relationship.getName()); } } entityMap.setList("relationships", relationships); //$NON-NLS-1$ entityMap.setList("attributesUsedForLocking", attributesUsedForLocking); //$NON-NLS-1$ entityMap.setList("classProperties", classProperties); //$NON-NLS-1$ entityMap.setList("primaryKeyAttributes", primaryKeyAttributes); //$NON-NLS-1$ Map internalInfoMap = entityMap.getMap("internalInfo"); //$NON-NLS-1$ if (internalInfoMap == null) { internalInfoMap = new HashMap(); entityMap.put("internalInfo", internalInfoMap); //$NON-NLS-1$ } internalInfoMap.put("_clientClassPropertyNames", clientClassProperties); //$NON-NLS-1$ entityMap.put("userInfo", myUserInfo); //$NON-NLS-1$ return entityMap; } | 50596 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50596/85e8c5c5e6069e4a772ec9eb7716a51dc31c2178/EOEntity.java/buggy/wolips/plugins/org.objectstyle.wolips.eomodeler/java/org/objectstyle/wolips/eomodeler/model/EOEntity.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
512,
51,
1488,
863,
358,
1943,
863,
1435,
288,
565,
512,
51,
1488,
863,
1522,
863,
273,
3399,
1943,
863,
18,
14056,
1488,
863,
5621,
565,
1522,
863,
18,
542,
780,
2932,
529,
3113,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
512,
51,
1488,
863,
358,
1943,
863,
1435,
288,
565,
512,
51,
1488,
863,
1522,
863,
273,
3399,
1943,
863,
18,
14056,
1488,
863,
5621,
565,
1522,
863,
18,
542,
780,
2932,
529,
3113,... |
UIInput input = createInputInTree(facesContext); | UIInput input = createInputInTree(); | public void testFindComponentString() { UIInput input = createInputInTree(facesContext); UIComponent comp = input.findComponent(":data:input"); assertEquals(input, comp); comp = input.findComponent("input"); assertEquals(input, comp); } | 47051 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47051/9aa412e22477666301d4899390af0daf22bd7d88/UIComponentBaseTest.java/clean/api/src/test/java/javax/faces/component/UIComponentBaseTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3125,
1841,
780,
1435,
288,
202,
202,
5370,
1210,
810,
273,
752,
1210,
382,
2471,
12,
4601,
1042,
1769,
202,
202,
5370,
1841,
1161,
273,
810,
18,
4720,
1841,
2932,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3125,
1841,
780,
1435,
288,
202,
202,
5370,
1210,
810,
273,
752,
1210,
382,
2471,
12,
4601,
1042,
1769,
202,
202,
5370,
1841,
1161,
273,
810,
18,
4720,
1841,
2932,
... |
Map vmAttributesMap = getVMSpecificAttributesMap(configuration); String[] classpath = getClasspath(configuration); | String[] classpath = super.getClasspath(configuration); | public void launch(ILaunchConfiguration configuration, String mode, ILaunch launch, IProgressMonitor monitor) throws CoreException { if (monitor == null) { monitor = new NullProgressMonitor(); } monitor .beginTask( LaunchingMessages .getString("WOJavaLocalApplicationLaunchConfigurationDelegate.Launching..._1"), IProgressMonitor.UNKNOWN); //$NON-NLS-1$ // check for cancellation if (monitor.isCanceled()) { return; } JavaProject javaProject = (JavaProject) (this .getJavaProject(configuration).getAdapter(JavaProject.class)); String mainTypeName = verifyMainTypeName(configuration); IVMInstall vm = verifyVMInstall(configuration); IVMRunner runner = vm.getVMRunner(mode); if (runner == null) { if (mode == ILaunchManager.DEBUG_MODE) { abort( MessageFormat .format( LaunchingMessages .getString("WOJavaLocalApplicationLaunchConfigurationDelegate.JRE_{0}_does_not_support_debug_mode._1"), new String[] { vm.getName() }), null, IJavaLaunchConfigurationConstants.ERR_VM_RUNNER_DOES_NOT_EXIST); //$NON-NLS-1$ } else { abort( MessageFormat .format( LaunchingMessages .getString("WOJavaLocalApplicationLaunchConfigurationDelegate.JRE_{0}_does_not_support_run_mode._2"), new String[] { vm.getName() }), null, IJavaLaunchConfigurationConstants.ERR_VM_RUNNER_DOES_NOT_EXIST); //$NON-NLS-1$ } } File workingDir = verifyWorkingDirectory(configuration); String workingDirName = null; if (workingDir != null) { workingDirName = workingDir.getAbsolutePath(); } String launchArguments = configuration .getAttribute( WOJavaLocalApplicationLaunchConfigurationDelegate.ATTR_WOLIPS_LAUNCH_WOARGUMENTS, Preferences.getPREF_LAUNCH_GLOBAL()); ILaunchInfo[] launchInfo = Preferences .getLaunchInfoFrom(launchArguments); StringBuffer launchArgument = new StringBuffer(); String automatic = "Automatic"; for (int i = 0; i < launchInfo.length; i++) { if (launchInfo[i].isEnabled()) { // -WOApplicationClassName String parameter = launchInfo[i].getParameter(); String argument = launchInfo[i].getArgument(); if (automatic.equals(argument)) { if ("-WOApplicationClassName".equals(parameter)) argument = mainTypeName; if ("-DWORoot=".equals(parameter)) { argument = VariablesPlugin.getDefault().getSystemRoot() .toOSString(); if (javaProject.isOnMacOSX()) { parameter = ""; argument = ""; } } if ("-DWORootDirectory=".equals(parameter)) { argument = VariablesPlugin.getDefault().getSystemRoot() .toOSString(); if (javaProject.isOnMacOSX()) { parameter = ""; argument = ""; } } if ("-DWOUserDirectory=".equals(parameter)) { argument = workingDir.getAbsolutePath(); } if ("-NSProjectSearchPath".equals(parameter)) { argument = javaProject.getGeneratedByWOLips(Preferences .getPREF_NS_PROJECT_SEARCH_PATH()); } } launchArgument.append(StringUtilities .toCommandlineParameterFormat(parameter, argument)); launchArgument.append(" "); } } String debugGroups = configuration .getAttribute( WOJavaLocalApplicationLaunchConfigurationDelegate.ATTR_WOLIPS_LAUNCH_DEBUG_GROUPS, ""); if (debugGroups != null && debugGroups.length() > 0) { launchArgument.append(" -DNSDebugGroups=\"("); launchArgument.append(debugGroups); launchArgument.append(")\""); } // Program & VM args String pgmArgs = getProgramArguments(configuration) + " " + launchArgument.toString(); String vmArgs = getVMArguments(configuration); StringBuffer vmArgsBuffer = new StringBuffer(vmArgs); this.addVMArguments(vmArgsBuffer, configuration, launch, mode); ExecutionArguments execArgs = new ExecutionArguments(vmArgsBuffer .toString(), pgmArgs); // VM-specific attributes Map vmAttributesMap = getVMSpecificAttributesMap(configuration); // Classpath String[] classpath = getClasspath(configuration); // Create VM config VMRunnerConfiguration runConfig = new VMRunnerConfiguration( mainTypeName, classpath); runConfig.setProgramArguments(execArgs.getProgramArgumentsArray()); runConfig.setVMArguments(execArgs.getVMArgumentsArray()); runConfig.setWorkingDirectory(workingDirName); runConfig.setVMSpecificAttributesMap(vmAttributesMap); // Bootpath String[] bootpath = getBootpath(configuration); runConfig.setBootClassPath(bootpath); // check for cancellation if (monitor.isCanceled()) { return; } // stop in main prepareStopInMain(configuration); // Launch the configuration runner.run(runConfig, launch, monitor); // check for cancellation if (monitor.isCanceled()) { return; } // set the default source locator if required setDefaultSourceLocator(launch, configuration); monitor.done(); } | 2575 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2575/f242ccb537b802c24cf9ef5a1d402800bbbe648f/WOJavaLocalApplicationLaunchConfigurationDelegate.java/buggy/projects/wolips/plugins/org.objectstyle.wolips.launching/java/org/objectstyle/wolips/launching/delegates/WOJavaLocalApplicationLaunchConfigurationDelegate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
8037,
12,
2627,
4760,
1750,
1664,
16,
514,
1965,
16,
1082,
202,
2627,
4760,
8037,
16,
467,
5491,
7187,
6438,
13,
1216,
30015,
288,
202,
202,
430,
261,
10259,
422,
446,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
8037,
12,
2627,
4760,
1750,
1664,
16,
514,
1965,
16,
1082,
202,
2627,
4760,
8037,
16,
467,
5491,
7187,
6438,
13,
1216,
30015,
288,
202,
202,
430,
261,
10259,
422,
446,
13... |
public org.quickfix.field.EncodedUnderlyingIssuerLen getEncodedUnderlyingIssuerLen() throws FieldNotFound { org.quickfix.field.EncodedUnderlyingIssuerLen value = new org.quickfix.field.EncodedUnderlyingIssuerLen(); | public quickfix.field.EncodedUnderlyingIssuerLen getEncodedUnderlyingIssuerLen() throws FieldNotFound { quickfix.field.EncodedUnderlyingIssuerLen value = new quickfix.field.EncodedUnderlyingIssuerLen(); | public org.quickfix.field.EncodedUnderlyingIssuerLen getEncodedUnderlyingIssuerLen() throws FieldNotFound { org.quickfix.field.EncodedUnderlyingIssuerLen value = new org.quickfix.field.EncodedUnderlyingIssuerLen(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderStatusRequest.java/clean/src/java/src/quickfix/fix44/OrderStatusRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
14655,
6291,
16667,
2891,
28799,
14655,
6291,
16667,
2891,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
1465... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
14655,
6291,
16667,
2891,
28799,
14655,
6291,
16667,
2891,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
1465... |
setOnmousedown(null); | private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accessKey", getAccesskey(), String.class)); } catch (NullAttributeException ex) { setAccesskey(null); } try { setAlt((String) evalAttr("alt", getAlt(), String.class)); } catch (NullAttributeException ex) { setAlt(null); } try { setAltKey((String) evalAttr("altKey", getAltKey(), String.class)); } catch (NullAttributeException ex) { setAltKey(null); } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setDisabled(false); } try { setIdName((String) evalAttr("idName", getIdName(), String.class)); } catch (NullAttributeException ex) { setIdName(null); } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setIndexed(false); } try { setName((String) evalAttr("name", getName(), String.class)); } catch (NullAttributeException ex) { setName(null); } try { setOnblur((String) evalAttr("onblur", getOnblur(), String.class)); } catch (NullAttributeException ex) { setOnblur(null); } try { setOnchange((String) evalAttr("onchange", getOnchange(), String.class)); } catch (NullAttributeException ex) { setOnchange(null); } try { setOnclick((String) evalAttr("onclick", getOnclick(), String.class)); } catch (NullAttributeException ex) { setOnclick(null); } try { setOndblclick((String) evalAttr("ondblclick", getOndblclick(), String.class)); } catch (NullAttributeException ex) { setOndblclick(null); } try { setOnfocus((String) evalAttr("onfocus", getOnfocus(), String.class)); } catch (NullAttributeException ex) { setOnfocus(null); } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydown(), String.class)); } catch (NullAttributeException ex) { setOnkeydown(null); } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypress(), String.class)); } catch (NullAttributeException ex) { setOnkeypress(null); } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyup(), String.class)); } catch (NullAttributeException ex) { setOnkeyup(null); } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedown(), String.class)); } catch (NullAttributeException ex) { setOnmousedown(null); } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemove(), String.class)); } catch (NullAttributeException ex) { setOnmousemove(null); } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseout(), String.class)); } catch (NullAttributeException ex) { setOnmouseout(null); } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseover(), String.class)); } catch (NullAttributeException ex) { setOnmouseover(null); } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseup(), String.class)); } catch (NullAttributeException ex) { setOnmouseup(null); } try { setProperty((String) evalAttr("property", getProperty(), String.class)); } catch (NullAttributeException ex) { setProperty(null); } try { setStyle((String) evalAttr("style", getStyle(), String.class)); } catch (NullAttributeException ex) { setStyle(null); } try { setStyleClass((String) evalAttr("styleClass", getStyleClass(), String.class)); } catch (NullAttributeException ex) { setStyleClass(null); } try { setStyleId((String) evalAttr("styleId", getStyleId(), String.class)); } catch (NullAttributeException ex) { setStyleId(null); } try { setTabindex((String) evalAttr("tabindex", getTabindex(), String.class)); } catch (NullAttributeException ex) { setTabindex(null); } try { setTitle((String) evalAttr("title", getTitle(), String.class)); } catch (NullAttributeException ex) { setTitle(null); } try { setTitleKey((String) evalAttr("titleKey", getTitleKey(), String.class)); } catch (NullAttributeException ex) { setTitleKey(null); } try { setValue((String) evalAttr("value", getValue(), String.class)); } catch (NullAttributeException ex) { setValue(null); } } | 2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/db064e19656421b94aaf753550935d95f44bd5f9/ELRadioTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELRadioTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
653,
3113,
21909,
856,
9334,
4766,
6647,
514,
18,
1106,
10019,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
653,
3113,
21909,
856,
9334,
4766,
6647,
514,
18,
1106,
10019,
... | |
Reader in = null; | Reader in = null; try { URL url = new URL(filename); InputStream is = url.openStream(); in = new BufferedReader(new InputStreamReader(is)); } catch (MalformedURLException mfex) { in = null; } catch (IOException ioex) { Context.reportError(ToolErrorReporter.getMessage( "msg.couldnt.open.url", filename, ioex.toString())); exitCode = EXITCODE_FILE_NOT_FOUND; return; } if (in == null) { | public static void processFile(Context cx, Scriptable scope, String filename) { Reader in = null; try { in = new PushbackReader(new FileReader(filename)); int c = in.read(); // Support the executable script #! syntax: If // the first line begins with a '#', treat the whole // line as a comment. if (c == '#') { while ((c = in.read()) != -1) { if (c == '\n' || c == '\r') break; } ((PushbackReader) in).unread(c); } else { // No '#' line, just reopen the file and forget it // ever happened. OPT closing and reopening // undoubtedly carries some cost. Is this faster // or slower than leaving the PushbackReader // around? in.close(); in = new FileReader(filename); } filename = new java.io.File(filename).getCanonicalPath(); } catch (FileNotFoundException ex) { Context.reportError(ToolErrorReporter.getMessage( "msg.couldnt.open", filename)); exitCode = EXITCODE_FILE_NOT_FOUND; return; } catch (IOException ioe) { global.getErr().println(ioe.toString()); } // Here we evalute the entire contents of the file as // a script. Text is printed only if the print() function // is called. evaluateReader(cx, scope, in, filename, 1); } | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/a14d6d33c5dc5658d619b3699811402cdf007ca0/Main.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1207,
812,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
282,
514,
1544,
13,
565,
288,
5411,
5393,
316,
273,
446,
31,
225,
775,
288,
1976,
880,
273,
394,
1976,
12,
3459,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1207,
812,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
282,
514,
1544,
13,
565,
288,
5411,
5393,
316,
273,
446,
31,
225,
775,
288,
1976,
880,
273,
394,
1976,
12,
3459,
... |
loader.load( geneInfoFile, gene2AccFile ); | loader.load( geneInfoFile, gene2AccFile, true ); | protected Exception doWork( String[] args ) { try { /* COMMAND LINE PARSER STAGE */ Exception err = processCommandLine( "NcbiGeneLoaderCLI", args ); if ( err != null ) return err; loader = new NcbiGeneLoader(); loader.setPersisterHelper( this.getPersisterHelper() ); /* check parse option. */ if ( hasOption( 'f' ) ) { // load through files String geneInfoFile = filePath + "/" + GENEINFO_FILE; String gene2AccFile = filePath + "/" + GENE2ACCESSION_FILE; loader.load( geneInfoFile, gene2AccFile ); } else { /* defaults to download files remotely. */ loader.load(); } } catch ( IOException e ) { throw new RuntimeException( e ); } return null; } | 4335 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4335/c362ff5706c8e45d8a171a64c86872f493e0e443/NcbiGeneLoaderCLI.java/clean/gemma-core/src/main/java/ubic/gemma/loader/genome/gene/NcbiGeneLoaderCLI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1185,
741,
2421,
12,
514,
8526,
833,
262,
288,
3639,
775,
288,
5411,
1748,
17266,
14340,
3939,
2123,
2347,
2833,
1195,
5411,
1185,
393,
273,
1207,
21391,
12,
315,
50,
7358,
77,
2444... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1185,
741,
2421,
12,
514,
8526,
833,
262,
288,
3639,
775,
288,
5411,
1748,
17266,
14340,
3939,
2123,
2347,
2833,
1195,
5411,
1185,
393,
273,
1207,
21391,
12,
315,
50,
7358,
77,
2444... |
if (minimumSize != null && prefSize != null && (minimumSize.width > prefSize.width || minimumSize.height > prefSize.height)) prefSize = new Dimension(Math.max(minimumSize.width, prefSize.width), Math.max(minimumSize.height, prefSize.height)); | public Dimension getPreferredSize() { Dimension prefSize = null; if (preferredSize != null) prefSize = preferredSize; else if (ui != null) { Dimension s = ui.getPreferredSize(this); if (s != null) prefSize = s; } if (prefSize == null) prefSize = super.getPreferredSize(); // make sure that prefSize is not smaller than minSize if (minimumSize != null && prefSize != null && (minimumSize.width > prefSize.width || minimumSize.height > prefSize.height)) prefSize = new Dimension(Math.max(minimumSize.width, prefSize.width), Math.max(minimumSize.height, prefSize.height)); return prefSize; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a7c2bfad7a98617f9973c753d7b20b1d8612d7b9/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13037,
12822,
4193,
1225,
1435,
225,
288,
565,
13037,
11307,
1225,
273,
446,
31,
565,
309,
261,
23616,
1225,
480,
446,
13,
1377,
11307,
1225,
273,
9119,
1225,
31,
565,
469,
309,
261... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13037,
12822,
4193,
1225,
1435,
225,
288,
565,
13037,
11307,
1225,
273,
446,
31,
565,
309,
261,
23616,
1225,
480,
446,
13,
1377,
11307,
1225,
273,
9119,
1225,
31,
565,
469,
309,
261... | |
if (qname.equals("xmlns")) prefix = ""; else if (qname.startsWith("xmlns:")) prefix = qname.substring(indexOfNSSep + 1); else prefix = (indexOfNSSep > 0) ? qname.substring(0, indexOfNSSep) : null; } else { prefix = null; | if (prefixIndex < 0) { prefixIndex = m_data.elementAt(-prefixIndex); String qname = m_valuesOrPrefixes.indexToString(prefixIndex); return getPrefix(qname, null); } | private String getPrefix(String qname, String uri) { String prefix; int uriIndex = -1; if (null != uri && uri.length() > 0) { do { uriIndex = m_prefixMappings.indexOf(uri, ++uriIndex); } while ( (uriIndex & 0x01) == 0); if (uriIndex >= 0) { prefix = (String) m_prefixMappings.elementAt(uriIndex - 1); } else if (null != qname) { int indexOfNSSep = qname.indexOf(':'); if (qname.equals("xmlns")) prefix = ""; else if (qname.startsWith("xmlns:")) prefix = qname.substring(indexOfNSSep + 1); else prefix = (indexOfNSSep > 0) ? qname.substring(0, indexOfNSSep) : null; } else { prefix = null; // ?? } } else if (null != qname) { int indexOfNSSep = qname.indexOf(':'); if (qname.equals("xmlns")) prefix = ""; else if (qname.startsWith("xmlns:")) prefix = qname.substring(indexOfNSSep + 1); else prefix = (indexOfNSSep > 0) ? qname.substring(0, indexOfNSSep) : null; } else { prefix = null; } return prefix; } | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/04127a8a48aa19d3f8443df6f7c7ca2a74f984c8/SAX2DTM.java/buggy/src/org/apache/xml/dtm/ref/sax2dtm/SAX2DTM.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
514,
16182,
12,
780,
12621,
16,
514,
2003,
13,
225,
288,
565,
514,
1633,
31,
565,
509,
2003,
1016,
273,
300,
21,
31,
565,
309,
261,
2011,
480,
2003,
597,
2003,
18,
2469,
1435,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
514,
16182,
12,
780,
12621,
16,
514,
2003,
13,
225,
288,
565,
514,
1633,
31,
565,
509,
2003,
1016,
273,
300,
21,
31,
565,
309,
261,
2011,
480,
2003,
597,
2003,
18,
2469,
1435,
4... |
PaneFolder tabFolder = getTabFolder(); | public void showList(CTabFolderEvent event) { PaneFolder tabFolder = getTabFolder(); event.doit = false; Point p = tabFolder.getControl().toDisplay(event.x, event.y); p.y += +event.height; EditorPresentation.this.showList(tabFolder.getControl().getShell(), p.x, p.y); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/b4afc26bd173809fb5c8baa114707cbcb3a04711/EditorPresentation.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/EditorPresentation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
2405,
682,
12,
1268,
378,
3899,
1133,
871,
13,
288,
15604,
871,
18,
2896,
305,
273,
629,
31,
5411,
4686,
293,
273,
3246,
3899,
18,
588,
3367,
7675,
869,
4236,
12,
2575,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
2405,
682,
12,
1268,
378,
3899,
1133,
871,
13,
288,
15604,
871,
18,
2896,
305,
273,
629,
31,
5411,
4686,
293,
273,
3246,
3899,
18,
588,
3367,
7675,
869,
4236,
12,
2575,
18,
... | |
commandLine.createArgument().setValue("log"); | if (local != null) { commandLine.setWorkingDirectory(local); commandLine.createArgument().setValue("log"); } else { commandLine.createArgument().setValue("rlog"); } | public Commandline buildHistoryCommand(Date lastBuildTime, Date checkTime) throws CruiseControlException { Commandline commandLine = getCommandline(); commandLine.setExecutable("cvs"); if (local != null) { commandLine.setWorkingDirectory(local); } if (cvsroot != null) { commandLine.createArgument().setValue("-d"); commandLine.createArgument().setValue(cvsroot); } commandLine.createArgument().setValue("-q"); commandLine.createArgument().setValue("log"); boolean useHead = tag == null || tag.equals("HEAD") || tag.equals(""); if (useHead) { commandLine.createArgument().setValue("-N"); } String dateRange = formatCVSDate(lastBuildTime) + "<" + formatCVSDate(checkTime); commandLine.createArgument().setValue("-d" + dateRange); if (!useHead) { // add -b and -rTAG to list changes relative to the current branch, // not relative to the default branch, which is HEAD // note: -r cannot have a space between itself and the tag spec. commandLine.createArgument().setValue("-r" + tag); } else { // This is used to include the head only if a Tag is not specified. commandLine.createArgument().setValue("-b"); } return commandLine; } | 52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/9aa429e2a608277c2de7f70270bdc1c584a75dc6/CVS.java/clean/main/src/net/sourceforge/cruisecontrol/sourcecontrols/CVS.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3498,
1369,
1361,
5623,
2189,
12,
1626,
1142,
3116,
950,
16,
2167,
866,
950,
13,
1216,
385,
8653,
784,
3367,
503,
288,
3639,
3498,
1369,
20894,
273,
12856,
1369,
5621,
3639,
20894,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3498,
1369,
1361,
5623,
2189,
12,
1626,
1142,
3116,
950,
16,
2167,
866,
950,
13,
1216,
385,
8653,
784,
3367,
503,
288,
3639,
3498,
1369,
20894,
273,
12856,
1369,
5621,
3639,
20894,
... |
int flags = 0; | int flags = Pattern.MULTILINE; | public void initialize(String regex, int options) { int flags = 0; if ((options & RE_OPTION_IGNORECASE) > 0) { flags |= Pattern.CASE_INSENSITIVE; } if ((options & RE_OPTION_EXTENDED) > 0) { flags |= Pattern.COMMENTS; } if ((options & RE_OPTION_MULTILINE) > 0) { flags |= Pattern.DOTALL; } pattern = Pattern.compile(regex, flags | this.code.flags()); } | 49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/ae3178fbb3656e01c3d379a6255e1af956725271/RubyRegexp.java/clean/src/org/jruby/RubyRegexp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4046,
12,
780,
3936,
16,
509,
702,
13,
288,
377,
202,
474,
2943,
273,
6830,
18,
12845,
30690,
31,
3639,
309,
14015,
2116,
473,
2438,
67,
7425,
67,
20118,
13415,
13,
405,
374,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4046,
12,
780,
3936,
16,
509,
702,
13,
288,
377,
202,
474,
2943,
273,
6830,
18,
12845,
30690,
31,
3639,
309,
14015,
2116,
473,
2438,
67,
7425,
67,
20118,
13415,
13,
405,
374,... |
args.put(name, value); | protected void putString(String name, String value) throws CoreException { String curValue = (String) args.get(name); if (curValue != null && curValue.equals(value)) { return; } IProjectDescription description = project.getDescription(); ICommand builder = MakeProjectNature.getBuildSpec(description, builderID); args.put(name, value); builder.setArguments(args); builder.setBuilding(IncrementalProjectBuilder.AUTO_BUILD, isAutoBuildEnable()); builder.setBuilding(IncrementalProjectBuilder.FULL_BUILD, isFullBuildEnabled()); builder.setBuilding(IncrementalProjectBuilder.INCREMENTAL_BUILD, isIncrementalBuildEnabled()); builder.setBuilding(IncrementalProjectBuilder.CLEAN_BUILD, isCleanBuildEnabled()); MakeProjectNature.setBuildSpec(description, builder); project.setDescription(description, null); } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/ddbea8806c78a43cddb9312e08767dfa65e795c4/BuildInfoFactory.java/clean/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/internal/core/BuildInfoFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
918,
24391,
12,
780,
508,
16,
514,
460,
13,
1216,
30015,
288,
1082,
202,
780,
662,
620,
273,
261,
780,
13,
833,
18,
588,
12,
529,
1769,
1082,
202,
430,
261,
1397,
620,
480... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
918,
24391,
12,
780,
508,
16,
514,
460,
13,
1216,
30015,
288,
1082,
202,
780,
662,
620,
273,
261,
780,
13,
833,
18,
588,
12,
529,
1769,
1082,
202,
430,
261,
1397,
620,
480... | |
int originalId = id, i = 0; | int originalId = getId(), i = 0; | public String[] getReceiptBooks() { setComprator(8); String resultStr = new String(""); int originalId = id, i = 0; java.sql.ResultSet originalRS = getRs(); java.util.ArrayList list = new java.util.ArrayList(); java.util.Iterator iterator = null; java.util.HashMap RBooks = new java.util.HashMap(); try { registerParameters(); setRs(getCstm().executeQuery()); while(getRs().next()) { RBooks.put(new Integer(getRs().getInt("id_sdtn")), new String(getRs().getString("area_number_sdtn") + " - " + getRs().getString("name_sdtn"))); list.add(new Integer(getRs().getInt("id_sdtn"))); i++; } } catch(Exception e) { e.printStackTrace(); } setRs(originalRS); id = originalId; indexOfRBooks = new int[i]; iterator = list.iterator(); splitReceiptBooks = new String[i]; i=0; while(iterator.hasNext()) { indexOfRBooks[i] = (Integer) iterator.next(); splitReceiptBooks[i] = (String) RBooks.get(indexOfRBooks[i]); i++; } return splitReceiptBooks; } | 12667 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12667/c7603f8ef4df5ab82eb37c2a35e4d2ade713100a/dbDoctypeUserRights.java/clean/src/nom/dbDoctypeUserRights.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8526,
336,
15636,
9084,
87,
1435,
288,
3639,
444,
799,
683,
639,
12,
28,
1769,
3639,
514,
563,
1585,
273,
394,
514,
2932,
8863,
3639,
509,
2282,
548,
273,
2634,
9334,
277,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8526,
336,
15636,
9084,
87,
1435,
288,
3639,
444,
799,
683,
639,
12,
28,
1769,
3639,
514,
563,
1585,
273,
394,
514,
2932,
8863,
3639,
509,
2282,
548,
273,
2634,
9334,
277,
27... |
WCComponent confirmPage = (WCComponent)pageWithName( ConfirmRegradeOne.class.getName() ); confirmPage.nextPage = (WCComponent)back(); return confirmPage; | confirmPage = (ConfirmPage)pageWithName( ConfirmPage.class.getName() ); confirmPage.nextPage = this; confirmPage.message = "This action will <b>regrade this submission</b> " + "for the selected student.</p>" + "<p>This will also <b>delete all prior results</b> for the " + "submission, <b>delete all partner associations</b> for the " + "submission, and <b>delete all TA comments and " + "scoring</b> that have been recorded for the submission.</p>" + "<p>This submission will be " + "re-queued for grading, and the student will receive an e-mail " + "message when new results are available."; confirmPage.actionReceiver = this; confirmPage.actionOk = "regradeActionOk"; confirmPage.setTitle( "Confirm Regrade of This Submission" ); | public WOComponent regrade() { saveGrading(); if ( !hasErrors() ) { WCComponent confirmPage = (WCComponent)pageWithName( ConfirmRegradeOne.class.getName() ); confirmPage.nextPage = (WCComponent)back(); return confirmPage; } else { return null; } } | 46712 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46712/74c526c074de6d02f1307ffefbbcaa44994cd934/GradeStudentSubmissionPage.java/buggy/Grader/src/net/sf/webcat/grader/GradeStudentSubmissionPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
678,
51,
1841,
960,
354,
323,
1435,
565,
288,
3639,
1923,
30420,
310,
5621,
3639,
309,
261,
401,
5332,
4229,
1435,
262,
3639,
288,
5411,
678,
39,
1841,
6932,
1964,
273,
7734,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
678,
51,
1841,
960,
354,
323,
1435,
565,
288,
3639,
1923,
30420,
310,
5621,
3639,
309,
261,
401,
5332,
4229,
1435,
262,
3639,
288,
5411,
678,
39,
1841,
6932,
1964,
273,
7734,
261,
... |
public GroupMember(boolean usePullMode,int size) { setStateSize(size*MEGABYTE); setUsePullMode(usePullMode); | public GroupMember(boolean pullMode,boolean dispMode,int size) { setStateSize(size*MEGABYTE); setUsePullMode(pullMode); setUseDispatcher(dispMode); | public GroupMember(boolean usePullMode,int size) { setStateSize(size*MEGABYTE); //1GB setUsePullMode(usePullMode); } | 49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/4c13201c940a33777143fcefb225d03101c360fc/StreamingStateTransferTest.java/clean/tests/junit/org/jgroups/tests/StreamingStateTransferTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
3756,
4419,
12,
6494,
999,
9629,
2309,
16,
474,
963,
13,
288,
6862,
1082,
202,
542,
1119,
1225,
12,
1467,
14,
958,
43,
2090,
61,
1448,
1769,
368,
21,
5887,
1082,
202,
542,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
3756,
4419,
12,
6494,
999,
9629,
2309,
16,
474,
963,
13,
288,
6862,
1082,
202,
542,
1119,
1225,
12,
1467,
14,
958,
43,
2090,
61,
1448,
1769,
368,
21,
5887,
1082,
202,
542,
... |
public DurableSubscription(String subName, Topic topic, String selector, MessageStore ms, PersistenceManager pm) | public DurableSubscription(String subName, Topic topic, String selector, MessageStore ms, PersistenceManager pm) | public DurableSubscription(String subName, Topic topic, String selector, MessageStore ms, PersistenceManager pm) { super(topic, selector, ms, pm); this.subName = subName; } | 3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/ab94b00093242a71d99aa890636284eeae2385bf/DurableSubscription.java/clean/src/main/org/jboss/messaging/core/local/DurableSubscription.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
463,
7463,
6663,
12,
780,
720,
461,
16,
11789,
3958,
16,
514,
3451,
16,
2350,
2257,
4086,
16,
13381,
1318,
7430,
13,
282,
288,
1377,
2240,
12,
10476,
16,
3451,
16,
4086,
16,
7430,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
463,
7463,
6663,
12,
780,
720,
461,
16,
11789,
3958,
16,
514,
3451,
16,
2350,
2257,
4086,
16,
13381,
1318,
7430,
13,
282,
288,
1377,
2240,
12,
10476,
16,
3451,
16,
4086,
16,
7430,... |
clientTransactionTable = new Hashtable(); serverTransactionTable = new Hashtable(); | clientTransactionTable = new ConcurrentHashMap(); serverTransactionTable = new ConcurrentHashMap(); retransmissionAlertTransactions = new ConcurrentHashMap(); | protected SIPTransactionStack() { super(); this.transactionTableSize = -1; // a set of methods that result in dialog creation. this.dialogCreatingMethods = new HashSet(); // Standard set of methods that create dialogs. this.dialogCreatingMethods.add(Request.REFER); this.dialogCreatingMethods.add(Request.INVITE); this.dialogCreatingMethods.add(Request.SUBSCRIBE); // Notify may or may not create a dialog. This is handled in // the code. // Create the transaction collections clientTransactions = Collections.synchronizedList(new ArrayList()); serverTransactions = Collections.synchronizedList(new ArrayList()); // Dialog dable. this.dialogTable = new Hashtable(); clientTransactionTable = new Hashtable(); serverTransactionTable = new Hashtable(); // Start the timer event thread. this.timer = new Timer(); this.pendingRecordScanner = new Thread(new PendingRecordScanner(this)); this.pendingRecordScanner.setDaemon(true); this.pendingTransactions = new HashSet(); pendingRecords = Collections.synchronizedList(new ArrayList()); pendingRecordScanner.setName("PendingRecordScanner"); pendingRecordScanner.start(); //endif // } | 3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/68c0ca844a7d5fe4a7744cbf9898184966ce0680/SIPTransactionStack.java/buggy/src/gov/nist/javax/sip/stack/SIPTransactionStack.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
348,
2579,
3342,
2624,
1435,
288,
202,
202,
9565,
5621,
202,
202,
2211,
18,
7958,
1388,
1225,
273,
300,
21,
31,
202,
202,
759,
279,
444,
434,
2590,
716,
563,
316,
6176,
6710,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
348,
2579,
3342,
2624,
1435,
288,
202,
202,
9565,
5621,
202,
202,
2211,
18,
7958,
1388,
1225,
273,
300,
21,
31,
202,
202,
759,
279,
444,
434,
2590,
716,
563,
316,
6176,
6710,... |
updateCurrentIterator(); | if( currentIterator == null ) { updateCurrentIterator(); } | public void remove() { lockChain(); updateCurrentIterator(); lastUsedIterator.remove(); } | 55609 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55609/51c9effb791416299f32d45b84a569d201be9618/IteratorChain.java/clean/src/java/org/apache/commons/collections/iterators/IteratorChain.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1206,
1435,
288,
3639,
2176,
3893,
5621,
3639,
309,
12,
783,
3198,
422,
446,
262,
288,
1089,
3935,
3198,
5621,
289,
4202,
1142,
6668,
3198,
18,
4479,
5621,
565,
289,
2,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1206,
1435,
288,
3639,
2176,
3893,
5621,
3639,
309,
12,
783,
3198,
422,
446,
262,
288,
1089,
3935,
3198,
5621,
289,
4202,
1142,
6668,
3198,
18,
4479,
5621,
565,
289,
2,
-100,
... |
private BugzillaResultCollector searchQualified(String repositoryUrl, IProgressMonitor monitor) { | private QueryHitCollector searchQualified(String repositoryUrl, IProgressMonitor monitor) { | private BugzillaResultCollector searchQualified(String repositoryUrl, IProgressMonitor monitor) { // create a new collector for the results collector = new BugzillaSearchResultCollector(TasksUiPlugin.getTaskListManager().getTaskList()); collector.setOperation(this); collector.setProgressMonitor(monitor); // get the search url String url = Util.getExactSearchURL(repositoryUrl, javaElement); TaskRepository repository = TasksUiPlugin.getRepositoryManager().getRepository( BugzillaCorePlugin.REPOSITORY_KIND, repositoryUrl); return search(url, repository, collector, monitor); } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/859efd27ce7fbcfec8176f6792bbfd6610b5a47e/BugzillaMylarSearchOperation.java/clean/sandbox/org.eclipse.mylyn.sandbox.ui/src/org/eclipse/mylyn/internal/sandbox/bridge/bugs/BugzillaMylarSearchOperation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
16907,
15990,
1253,
7134,
1623,
8708,
12,
780,
3352,
1489,
16,
467,
5491,
7187,
6438,
13,
288,
202,
202,
759,
752,
279,
394,
8543,
364,
326,
1686,
202,
202,
21356,
273,
394,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
16907,
15990,
1253,
7134,
1623,
8708,
12,
780,
3352,
1489,
16,
467,
5491,
7187,
6438,
13,
288,
202,
202,
759,
752,
279,
394,
8543,
364,
326,
1686,
202,
202,
21356,
273,
394,
... |
assertEquals("0.1", "\n{\n hello;\n /*\n hello\n */\n hello", doc.getText(0, doc.getLength())); | _assertContents("\n{\n hello;\n /*\n hello\n */\n hello", doc); | public void testAfterBlockComment () throws BadLocationException { BraceReduction rm = doc._reduced; doc.insertString(0, "\n{\n hello;\n /*\n hello\n */\nhello", null); doc.indentLines(doc.getCurrentLocation(), doc.getCurrentLocation()); assertEquals("0.1", "\n{\n hello;\n /*\n hello\n */\n hello", doc.getText(0, doc.getLength())); } | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/41dbd1f79552ad2c4983397e3a693dbde7c41bb5/IndentTest.java/clean/drjava/src/edu/rice/cs/drjava/IndentTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
4436,
1768,
4469,
1832,
1216,
6107,
2735,
503,
288,
565,
605,
9963,
3715,
4062,
6692,
273,
997,
6315,
1118,
26372,
31,
565,
997,
18,
6387,
780,
12,
20,
16,
1548,
82,
23... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
4436,
1768,
4469,
1832,
1216,
6107,
2735,
503,
288,
565,
605,
9963,
3715,
4062,
6692,
273,
997,
6315,
1118,
26372,
31,
565,
997,
18,
6387,
780,
12,
20,
16,
1548,
82,
23... |
/* debug */ e.printStackTrace(); | public byte[] openBytes(String id, int no) throws FormatException, IOException { if (!id.equals(currentId)) initFile(id); if (no < 0 || no >= getImageCount(id)) { throw new FormatException("Invalid image number: " + no); } try { String directory = (String) pixels.get(new Integer(no)); String name = (String) names.get(new Integer(no)); r.setVar("dirName", directory); r.exec("root = fs.getRoot()"); r.exec("dir = root.getEntry(dirName)"); r.setVar("entryName", name); r.exec("document = dir.getEntry(entryName)"); r.exec("dis = new DocumentInputStream(document)"); r.exec("numBytes = dis.available()"); int numbytes = ((Integer) r.getVar("numBytes")).intValue(); byte[] b = new byte[numbytes + 4]; // append 0 for final offset r.setVar("data", b); r.exec("dis.read(data)"); RandomAccessStream stream = new RandomAccessStream(b); Hashtable[] ifds = TiffTools.getIFDs(stream); littleEndian = TiffTools.isLittleEndian(ifds[0]); byte[][] samples = TiffTools.getSamples(ifds[0], stream, 0); byte[] rtn = new byte[samples.length * samples[0].length]; for (int i=0; i<samples.length; i++) { System.arraycopy(samples[i], 0, rtn, i*samples[i].length, samples[i].length); } stream.close(); return rtn; } catch (ReflectException e) { /* debug */ e.printStackTrace(); noPOI = true; return new byte[0]; } } | 11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/1c94df5da1a927ae786453f1fc01f7b3c7db9d78/OIBReader.java/buggy/loci/formats/in/OIBReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1160,
8526,
1696,
2160,
12,
780,
612,
16,
509,
1158,
13,
565,
1216,
4077,
503,
16,
1860,
225,
288,
565,
309,
16051,
350,
18,
14963,
12,
2972,
548,
3719,
1208,
812,
12,
350,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1160,
8526,
1696,
2160,
12,
780,
612,
16,
509,
1158,
13,
565,
1216,
4077,
503,
16,
1860,
225,
288,
565,
309,
16051,
350,
18,
14963,
12,
2972,
548,
3719,
1208,
812,
12,
350,
1769,
... | |
else if (name.equals(Constants.DOM_INFOSET)) { | else if (name.equalsIgnoreCase(Constants.DOM_INFOSET)) { | public Object getParameter(String name) throws DOMException { // REVISIT: Recognizes DOM L3 default features only. // Does not yet recognize Xerces features. if (name.equals(Constants.DOM_COMMENTS)) { return ((features & COMMENTS) != 0) ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.DOM_NAMESPACES)) { return (features & NAMESPACES) != 0 ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.DOM_DATATYPE_NORMALIZATION)) { // REVISIT: datatype-normalization only takes effect if validation is on return (features & DTNORMALIZATION) != 0 ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.DOM_CDATA_SECTIONS)) { return (features & CDATA) != 0 ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.DOM_ENTITIES)) { return (features & ENTITIES) != 0 ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.DOM_SPLIT_CDATA)) { return (features & SPLITCDATA) != 0 ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.DOM_VALIDATE)) { return (features & VALIDATE) != 0 ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.DOM_WELLFORMED)) { return (features & WELLFORMED) != 0 ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.DOM_INFOSET)) { return (features & INFOSET_MASK) == INFOSET_TRUE_PARAMS ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.DOM_NORMALIZE_CHARACTERS) || name.equals(Constants.DOM_CANONICAL_FORM) || name.equals(Constants.DOM_VALIDATE_IF_SCHEMA) || name.equals(Constants.DOM_CHECK_CHAR_NORMALIZATION) ) { return Boolean.FALSE; } else if (name.equals(SEND_PSVI)) { return Boolean.TRUE; } else if (name.equals(Constants.DOM_PSVI)) { return (features & PSVI) != 0 ? Boolean.TRUE : Boolean.FALSE; } else if ( name.equals(Constants.DOM_NAMESPACE_DECLARATIONS) || name.equals(Constants.DOM_ELEMENT_CONTENT_WHITESPACE)) { return Boolean.TRUE; } else if (name.equals(Constants.DOM_ERROR_HANDLER)) { return fErrorHandlerWrapper.getErrorHandler(); } else if (name.equals(Constants.DOM_RESOURCE_RESOLVER)) { XMLEntityResolver entityResolver = getEntityResolver(); if (entityResolver != null && entityResolver instanceof DOMEntityResolverWrapper) { return ((DOMEntityResolverWrapper) entityResolver).getEntityResolver(); } return null; } else if (name.equals(Constants.DOM_SCHEMA_TYPE)) { return getProperty(Constants.JAXP_PROPERTY_PREFIX + Constants.SCHEMA_LANGUAGE); } else if (name.equals(Constants.DOM_SCHEMA_LOCATION)) { return getProperty(Constants.JAXP_PROPERTY_PREFIX + Constants.SCHEMA_SOURCE); } else if (name.equals(SYMBOL_TABLE)){ return getProperty(SYMBOL_TABLE); } else if (name.equals(GRAMMAR_POOL)){ return getProperty(GRAMMAR_POOL); } else { String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_FOUND", new Object[] { name }); throw new DOMException(DOMException.NOT_FOUND_ERR, msg); } } | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/f00018a29b68d07b04fbc24df9c69aaca3f6bfc4/DOMConfigurationImpl.java/buggy/src/org/apache/xerces/dom/DOMConfigurationImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
5575,
12,
780,
508,
13,
1216,
4703,
503,
288,
202,
202,
759,
2438,
26780,
1285,
30,
7776,
4198,
3128,
4703,
511,
23,
805,
4467,
1338,
18,
202,
202,
759,
1850,
9637,
486,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
5575,
12,
780,
508,
13,
1216,
4703,
503,
288,
202,
202,
759,
2438,
26780,
1285,
30,
7776,
4198,
3128,
4703,
511,
23,
805,
4467,
1338,
18,
202,
202,
759,
1850,
9637,
486,... |
doRemoveDistributionListAlias(args); | mProv.removeAlias(lookupDistributionList(args[1]), args[2]); | private boolean execute(String args[]) throws ServiceException, ArgException, IOException { mCommand = lookupCommand(args[0]); if (mCommand == null) return false; switch(mCommand) { case ADD_ACCOUNT_ALIAS: doAddAccountAlias(args); break; case AUTO_COMPLETE_GAL: doAutoCompleteGal(args); break; case CREATE_ACCOUNT: doCreateAccount(args); break; case CREATE_COS: doCreateCos(args); break; case CREATE_DOMAIN: doCreateDomain(args); break; case CREATE_SERVER: doCreateServer(args); break; case EXIT: System.exit(0); break; case GENERATE_DOMAIN_PRE_AUTH_KEY: doGenerateDomainPreAuthKey(args); break; case GENERATE_DOMAIN_PRE_AUTH: doGenerateDomainPreAuth(args); break; case GET_ACCOUNT: doGetAccount(args); break; case GET_ACCOUNT_MEMBERSHIP: doGetAccountMembership(args); break; case GET_ALL_ACCOUNTS: doGetAllAccounts(args); break; case GET_ALL_ADMIN_ACCOUNTS: doGetAllAdminAccounts(args); break; case GET_ALL_CONFIG: doGetAllConfig(args); break; case GET_ALL_COS: doGetAllCos(args); break; case GET_ALL_DOMAINS: doGetAllDomains(args); break; case GET_ALL_SERVERS: doGetAllServers(args); break; case GET_CONFIG: doGetConfig(args); break; case GET_COS: doGetCos(args); break; case GET_DISTRIBUTION_LIST_MEMBERSHIP: doGetDistributionListMembership(args); break; case GET_DOMAIN: doGetDomain(args); break; case GET_SERVER: doGetServer(args); break; case HELP: doHelp(args); break; case MODIFY_ACCOUNT: doModifyAccount(args); break; case MODIFY_COS: doModifyCos(args); break; case MODIFY_CONFIG: doModifyConfig(args); break; case MODIFY_DOMAIN: doModifyDomain(args); break; case MODIFY_SERVER: doModifyServer(args); break; case DELETE_ACCOUNT: doDeleteAccount(args); break; case DELETE_COS: doDeleteCos(args); break; case DELETE_DOMAIN: doDeleteDomain(args); break; case DELETE_SERVER: doDeleteServer(args); break; case REMOVE_ACCOUNT_ALIAS: doRemoveAccountAlias(args); break; case RENAME_ACCOUNT: doRenameAccount(args); break; case RENAME_COS: doRenameCos(args); break; case SET_ACCOUNT_COS: doSetAccountCos(args); break; case SEARCH_ACCOUNTS: doSearchAccounts(args); break; case SEARCH_GAL: doSearchGal(args); break; case SYNC_GAL: doSyncGal(args); break; case SET_PASSWORD: doSetPassword(args); break; case CREATE_DISTRIBUTION_LIST: doCreateDistributionList(args); break; case CREATE_DISTRIBUTION_LISTS_BULK: doCreateDistributionListsBulk(args); break; case GET_ALL_DISTRIBUTION_LISTS: doGetAllDistributionLists(args); break; case GET_DISTRIBUTION_LIST: doGetDistributionList(args); break; case MODIFY_DISTRIBUTION_LIST: doModifyDistributionList(args); break; case DELETE_DISTRIBUTION_LIST: doDeleteDistributionList(args); break; case ADD_DISTRIBUTION_LIST_MEMBER: doAddDistributionListMember(args); break; case REMOVE_DISTRIBUTION_LIST_MEMBER: doRemoveDistributionListMember(args); break; case CREATE_BULK_ACCOUNTS: doCreateAccountsBulk(args); break; case ADD_DISTRIBUTION_LIST_ALIAS: doAddDistributionListAlias(args); break; case REMOVE_DISTRIBUTION_LIST_ALIAS: doRemoveDistributionListAlias(args); break; case RENAME_DISTRIBUTION_LIST: doRenameDistributionList(args); break; case CREATE_CALENDAR_RESOURCE: doCreateCalendarResource(args); break; case DELETE_CALENDAR_RESOURCE: doDeleteCalendarResource(args); break; case MODIFY_CALENDAR_RESOURCE: doModifyCalendarResource(args); break; case RENAME_CALENDAR_RESOURCE: doRenameCalendarResource(args); break; case GET_CALENDAR_RESOURCE: doGetCalendarResource(args); break; case GET_ALL_CALENDAR_RESOURCES: doGetAllCalendarResources(args); break; case SEARCH_CALENDAR_RESOURCES: doSearchCalendarResources(args); break; case INIT_NOTEBOOK: importNotebook(args, true); break; case IMPORT_NOTEBOOK: importNotebook(args, false); break; case SOAP: // HACK FOR NOW SoapProvisioning sp = new SoapProvisioning(); sp.soapSetURI("https://localhost:7071"+ZimbraServlet.ADMIN_SERVICE_URI); sp.soapZimbraAdminAuthenticate(); mProv = sp; break; case LDAP: // HACK FOR NOW mProv = Provisioning.getInstance(); break; default: return false; } return true; } | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/9c508145dbd57cc91e6cd9ddad783a1ae1bf751d/ProvUtil.java/buggy/ZimbraServer/src/java/com/zimbra/cs/account/ProvUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1836,
12,
780,
833,
63,
5717,
1216,
16489,
16,
14448,
503,
16,
1860,
288,
3639,
312,
2189,
273,
3689,
2189,
12,
1968,
63,
20,
19226,
7734,
309,
261,
81,
2189,
422,
446,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1836,
12,
780,
833,
63,
5717,
1216,
16489,
16,
14448,
503,
16,
1860,
288,
3639,
312,
2189,
273,
3689,
2189,
12,
1968,
63,
20,
19226,
7734,
309,
261,
81,
2189,
422,
446,
13,
... |
private Constructor findConstructor() throws NoSuchMethodException { Class[] argClasses = getClasses(); Class targetClass = (Class) target; Constructor result = null; Constructor[] constructors = targetClass.getConstructors(); for(int i = 0; i < constructors.length; ++i) { Constructor constructor = constructors[i]; Class[] parameterTypes = constructor.getParameterTypes(); if(parameterTypes.length == argClasses.length) { boolean found = true; for(int j = 0; j < parameterTypes.length; ++j) { boolean argIsNull = argClasses[j] == null; boolean argIsPrimitiveWrapper = isPrimitiveWrapper( argClasses[j], parameterTypes[j]); boolean paramIsPrimitive = parameterTypes[j].isPrimitive(); boolean paramIsAssignable = argIsNull ? false : parameterTypes[j].isAssignableFrom( argClasses[j]); if(!argIsNull && !paramIsAssignable && !argIsPrimitiveWrapper || argIsNull && paramIsPrimitive) { found = false; break; } } if(found) { result = constructor; break; } } } if(result == null) { throw new NoSuchMethodException( "No constructor for class " + targetClass.getName() + " found"); } return result; } | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/53c65daa0dfaa81b1ff9e314592a62f7efa97d31/Statement.java/buggy/modules/beans/src/main/java/java/beans/Statement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
11417,
1104,
6293,
1435,
1216,
15959,
288,
3639,
1659,
8526,
1501,
4818,
273,
30561,
5621,
3639,
1659,
14563,
273,
261,
797,
13,
1018,
31,
7734,
11417,
563,
273,
446,
31,
10402,
11417... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
11417,
1104,
6293,
1435,
1216,
15959,
288,
3639,
1659,
8526,
1501,
4818,
273,
30561,
5621,
3639,
1659,
14563,
273,
261,
797,
13,
1018,
31,
7734,
11417,
563,
273,
446,
31,
10402,
11417... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.