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,
16,
12900,
1033,
4373,
3748,
13,
565,
288,
3639,
1772,
9494,
273,
1772,
18,
588,
3935,
1042,
5621,
3639,
12056,
3834,
2276,
5411,
508,
2276,
273,
261,
6179,
3834,
2276,
13,
3834,
2276,
18,
588,
12,
71,
92,
1769,
3639,
1659,
8526,
7349,
273,
508,
2276,
18,
588,
2326,
17516,
5621,
3639,
1659,
18846,
273,
508,
2276,
18,
588,
2326,
19581,
5621,
3639,
1250,
353,
6793,
273,
261,
15898,
422,
446,
597,
18846,
422,
446,
1769,
3639,
514,
2774,
3834,
273,
508,
2276,
18,
588,
3651,
3834,
12,
291,
6793,
1769,
3639,
1160,
8526,
2774,
797,
2160,
273,
4074,
774,
797,
812,
12,
9576,
3491,
16,
2774,
3834,
16,
4766,
10402,
2728,
1162,
5372,
16,
3749,
1830,
16,
4766,
10402,
327,
2083,
1769,
3639,
1250,
1338,
4755,
273,
629,
31,
3639,
1659,
3305,
3352,
273,
508,
2276,
18,
588,
797,
3305,
5621,
3639,
309,
261,
9071,
480,
446,
13,
288,
5411,
775,
288,
7734,
309,
16051,
9071,
18,
2233,
797,
12,
5254,
3834,
16,
2774,
797,
2160,
16,
4766,
6647,
638,
3719,
7734,
288,
10792,
1338,
4755,
273,
638,
31,
7734,
289,
5411,
289,
1044,
261,
14106,
277,
2409,
13,
288,
7734,
604,
1772,
18,
12849,
1463,
3651,
5576,
424,
12,
1594,
92,
1769,
5411,
289,
5411,
309,
16051,
291,
6793,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16,
12900,
1033,
4373,
3748,
13,
565,
288,
3639,
1772,
9494,
273,
1772,
18,
588,
3935,
1042,
5621,
3639,
12056,
3834,
2276,
5411,
508,
2276,
273,
261,
6179,
3834,
2276,
13,
3834,
2276,
18,
588,
12,
71,
92,
1769,
3639,
1659,
8526,
7349,
273,
508,
2276,
18,
588,
2326,
17516,
5621,
3639,
1659,
18846,
273,
508,
2276,
18,
588,
2326,
19581,
5621,
3639,
1250,
353,
6793,
273,
261,
15898,
422,
446,
597,
18846,
422,
446,
1769,
3639,
514,
2774,
3834,
273,
508,
2276,
18,
588,
2
] | |
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,
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,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
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,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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,
15980,
31284,
16198,
1721,
273,
446,
31,
3639,
9302,
16198,
2873,
273,
446,
31,
1171,
202,
202,
72,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
2499,
3672,
30,
24,
30,
261,
261,
89,
33,
8499,
67,
7398,
571,
582,
33,
8499,
67,
902,
571,
582,
33,
8499,
67,
8622,
571,
582,
33,
8499,
67,
2827,
261,
261,
25089,
33,
628,
67,
11516,
262,
571,
261,
1077,
33,
21757,
67,
11516,
262,
571,
261,
2143,
33,
3274,
67,
11516,
262,
7851,
571,
7321,
582,
33,
8499,
5777,
262,
2153,
67,
12000,
17280,
262,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
2499,
3672,
30,
24,
30,
261,
89,
33,
8499,
67,
7398,
571,
582,
33,
8499,
67,
902,
571,
582,
33,
8499,
67,
8622,
571,
582,
33,
8499,
67,
2827,
261,
261,
25089,
33,
628,
67,
11516,
262,
571,
261,
1077,
33,
21757,
67,
11516,
262,
571,
261,
2143,
33,
3274,
67,
11516,
262,
7851,
571,
7321,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15980,
31284,
16198,
1721,
273,
446,
31,
3639,
9302,
16198,
2873,
273,
446,
31,
1171,
202,
202,
72,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
2499,
3672,
30,
24,
30,
261,
261,
89,
33,
8499,
67,
7398,
571,
582,
33,
8499,
67,
902,
571,
582,
33,
8499,
67,
8622,
571,
582,
33,
2
] |
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,
446,
597,
401,
10304,
18,
291,
1669,
7423,
10756,
288,
7734,
327,
14892,
3829,
31,
5411,
289,
3639,
289,
3639,
327,
446,
31,
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,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
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,
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,
446,
597,
401,
10304,
18,
291,
1669,
7423,
10756,
288,
7734,
327,
14892,
3829,
31,
5411,
289,
3639,
289,
3639,
327,
446,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
288,
3639,
2358,
18,
31390,
16640,
18,
1631,
69,
18,
2419,
37,
1853,
67,
1631,
69,
273,
261,
3341,
18,
31390,
16640,
18,
1631,
69,
18,
2419,
37,
13,
1631,
69,
31,
3639,
514,
8124,
8526,
273,
590,
18,
17956,
2419,
37,
461,
5621,
3639,
775,
3639,
288,
5411,
364,
12,
509,
277,
33,
20,
31,
277,
411,
8124,
18,
2469,
17,
21,
31,
277,
27245,
5411,
288,
7734,
309,
12,
8124,
63,
77,
8009,
14963,
2932,
6,
3719,
7734,
288,
10792,
590,
18,
542,
11429,
2419,
37,
461,
12,
2011,
1769,
10792,
898,
31,
7734,
289,
7734,
775,
7734,
288,
10792,
1853,
67,
1631,
69,
273,
1853,
67,
1631,
69,
6315,
588,
1763,
2419,
37,
12,
8124,
63,
77,
65,
11272,
7734,
289,
7734,
1044,
261,
2358,
18,
31390,
16640,
18,
1631,
69,
18,
14137,
18,
3054,
2520,
20586,
310,
293,
262,
7734,
288,
10792,
1748,
5397,
380,
309,
1245,
434,
326,
13803,
1463,
353,
316,
19918,
919,
16,
732,
5397,
380,
8616,
11795,
11795,
326,
590,
358,
333,
5397,
380,
13803,
37,
18,
2597,
903,
5104,
326,
590,
358,
2097,
1151,
5397,
380,
13803,
1463,
309,
4573,
1347,
12770,
1473,
358,
2695,
5397,
380,
2457,
326,
13803,
37,
358,
506,
7752,
358,
5104,
333,
590,
5397,
380,
358,
2097,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
288,
3639,
2358,
18,
31390,
16640,
18,
1631,
69,
18,
2419,
37,
1853,
67,
1631,
69,
273,
261,
3341,
18,
31390,
16640,
18,
1631,
69,
18,
2419,
37,
13,
1631,
69,
31,
3639,
514,
8124,
8526,
273,
590,
18,
17956,
2419,
37,
461,
5621,
3639,
775,
3639,
288,
5411,
364,
12,
509,
277,
33,
20,
31,
277,
411,
8124,
18,
2469,
17,
21,
31,
277,
27245,
5411,
288,
7734,
309,
12,
8124,
63,
77,
8009,
14963,
2932,
6,
3719,
7734,
288,
10792,
590,
2
] |
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,
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,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
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,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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,
394,
20539,
503,
12,
2211,
16,
336,
11416,
7675,
588,
2042,
26743,
668,
9334,
315,
23604,
2566,
596,
434,
1203,
8863,
3639,
289,
3639,
19817,
1537,
1458,
18,
6206,
12,
2211,
1769,
3639,
3914,
1328,
1768,
273,
1203,
18,
588,
2459,
5621,
3639,
25396,
2624,
7675,
6206,
12,
621,
1768,
18,
588,
3219,
10663,
3639,
6005,
1592,
3402,
273,
11153,
5621,
3639,
27372,
12,
588,
2459,
3219,
7675,
588,
3402,
10663,
3639,
5468,
1592,
3876,
273,
261,
3876,
13,
19203,
7675,
588,
3401,
5621,
3639,
19203,
7675,
542,
3401,
12,
621,
1768,
18,
588,
3876,
10663,
3639,
368,
19203,
7675,
6206,
12,
5645,
1768,
18,
4887,
1769,
3639,
368,
1203,
18,
5120,
5621,
3639,
368,
11329,
3639,
1203,
18,
5120,
5621,
368,
444,
2459,
12443,
1768,
13,
621,
1768,
18,
588,
2134,
10663,
3639,
444,
9791,
5555,
12,
621,
1768,
18,
588,
9791,
5555,
10663,
3639,
1817,
797,
12443,
22626,
480,
446,
13,
692,
7352,
294,
1328,
1768,
18,
588,
47,
459,
10663,
3639,
309,
261,
22626,
422,
446,
13,
288,
5411,
365,
273,
1328,
1768,
18,
588,
10084,
5621,
3639,
289,
3639,
467,
1305,
707,
273,
1328,
1768,
18,
588,
1305,
5621,
368,
1328,
1768,
18,
3432,
31,
3639,
309,
261,
621,
1768,
18,
588,
1537,
1435,
480,
446,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
394,
20539,
503,
12,
2211,
16,
336,
11416,
7675,
588,
2042,
26743,
668,
9334,
315,
23604,
2566,
596,
434,
1203,
8863,
3639,
289,
3639,
19817,
1537,
1458,
18,
6206,
12,
2211,
1769,
3639,
3914,
1328,
1768,
273,
1203,
18,
588,
2459,
5621,
3639,
25396,
2624,
7675,
6206,
12,
621,
1768,
18,
588,
3219,
10663,
3639,
6005,
1592,
3402,
273,
11153,
5621,
3639,
27372,
12,
588,
2459,
3219,
7675,
588,
3402,
10663,
3639,
5468,
1592,
3876,
273,
261,
3876,
13,
19203,
7675,
588,
3401,
5621,
2
] |
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,
5411,
987,
666,
31,
5411,
1620,
261,
4468,
18,
517,
1490,
13,
288,
5411,
648,
4276,
18,
1985,
67,
916,
21329,
1013,
30,
7734,
368,
2256,
4269,
745,
1723,
1435,
2674,
18,
1220,
1272,
353,
2713,
16,
7734,
368,
471,
1297,
4159,
3059,
358,
2324,
316,
326,
1272,
666,
18,
7734,
898,
31,
5411,
648,
4276,
18,
3587,
3725,
67,
916,
21329,
1013,
30,
7734,
327,
1927,
13507,
5621,
5411,
648,
4276,
18,
6067,
2259,
38,
1693,
1360,
67,
27043,
24296,
67,
916,
21329,
1013,
30,
7734,
666,
273,
394,
2407,
5621,
7734,
4170,
355,
438,
12074,
7675,
588,
4419,
2514,
7675,
588,
4419,
4212,
12,
2211,
16,
666,
1769,
7734,
327,
666,
31,
5411,
648,
4276,
18,
14130,
18683,
67,
1985,
67,
916,
21329,
1013,
30,
7734,
368,
2660,
30,
848,
1404,
1960,
628,
3140,
358,
1459,
286,
802,
358,
7734,
368,
4050,
18,
588,
9769,
461,
1435,
7734,
898,
31,
5411,
648,
4276,
18,
14233,
67,
1985,
67,
916,
21329,
1013,
30,
7734,
1963,
273,
7628,
6000,
7675,
588,
8611,
7675,
588,
3078,
5621,
7734,
327,
1963,
18,
17994,
5621,
5411,
648,
4276,
18,
39,
3457,
41,
67,
1985,
67,
916,
21329,
1013,
30,
7734,
368,
2660,
30,
848,
1404,
1960,
628,
3140,
358,
18324,
18324,
4671,
7734,
898,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5411,
987,
666,
31,
5411,
1620,
261,
4468,
18,
517,
1490,
13,
288,
5411,
648,
4276,
18,
1985,
67,
916,
21329,
1013,
30,
7734,
368,
2256,
4269,
745,
1723,
1435,
2674,
18,
1220,
1272,
353,
2713,
16,
7734,
368,
471,
1297,
4159,
3059,
358,
2324,
316,
326,
1272,
666,
18,
7734,
898,
31,
5411,
648,
4276,
18,
3587,
3725,
67,
916,
21329,
1013,
30,
7734,
327,
1927,
13507,
5621,
5411,
648,
4276,
18,
6067,
2259,
38,
1693,
1360,
67,
27043,
24296,
67,
916,
2
] |
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,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
12443,
780,
13,
5302,
3843,
2932,
2390,
3113,
336,
10655,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
653,
12443,
780,
13,
5302,
3843,
2932,
2390,
653,
3113,
336,
10655,
653,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
8853,
12443,
12,
5507,
13,
5302,
3843,
2932,
9278,
3113,
336,
8853,
4742,
9334,
4766,
5411,
3411,
18,
1106,
13,
2934,
13491,
16708,
10663,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
15034,
12443,
12,
5507,
13,
5302,
3843,
2932,
19626,
3113,
8088,
329,
4742,
9334,
4766,
6647,
3411,
18,
1106,
13,
2934,
15604,
16708,
10663,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
6788,
12443,
780,
13,
5302,
3843,
2932,
529,
3113,
1723,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
22131,
27065,
12443,
780,
13,
5302,
3843,
2932,
265,
27065,
3113,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
12443,
780,
13,
5302,
3843,
2932,
2390,
3113,
336,
10655,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
653,
12443,
780,
13,
5302,
3843,
2932,
2390,
653,
3113,
336,
10655,
653,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
2
] |
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,
225,
29460,
16,
282,
4711,
16,
282,
2872,
16,
565,
1666,
16,
6647,
890,
8285,
16,
282,
5342,
16,
282,
4711,
16,
282,
2872,
16,
282,
9035,
16,
225,
890,
5877,
16,
282,
5342,
16,
282,
26465,
16,
565,
1666,
16,
565,
2371,
16,
6647,
890,
9975,
16,
282,
21119,
16,
282,
12732,
16,
282,
4711,
16,
282,
2872,
16,
282,
12732,
16,
225,
890,
9452,
16,
282,
5342,
16,
282,
21193,
16,
282,
13291,
16,
5411,
1728,
16,
565,
890,
16,
225,
890,
10689,
16,
225,
890,
7301,
16,
282,
17160,
16,
282,
6437,
16,
282,
1728,
16,
282,
18106,
16,
282,
15935,
16,
282,
12732,
16,
5411,
13291,
16,
225,
1059,
2163,
16,
282,
6437,
16,
225,
13822,
16,
282,
9035,
16,
282,
26936,
16,
225,
576,
9975,
16,
282,
3847,
16,
282,
17495,
16,
225,
1666,
11180,
16,
6647,
576,
10525,
16,
565,
1059,
16,
565,
1381,
16,
225,
6580,
29,
16,
282,
1728,
16,
225,
1381,
3787,
16,
225,
1381,
4366,
16,
282,
22431,
16,
282,
6437,
16,
225,
1381,
7301,
16,
6647,
1381,
11212,
16,
282,
5045,
16,
282,
1728,
16,
282,
1728,
16,
225,
1728,
26,
16,
282,
1728,
16,
282,
22431,
16,
225,
6437,
26,
16,
225,
6437,
27,
16,
225,
576,
3672,
16,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
29460,
16,
282,
4711,
16,
282,
2872,
16,
565,
1666,
16,
6647,
890,
8285,
16,
282,
5342,
16,
282,
4711,
16,
282,
2872,
16,
282,
9035,
16,
225,
890,
5877,
16,
282,
5342,
16,
282,
26465,
16,
565,
1666,
16,
565,
2371,
16,
6647,
890,
9975,
16,
282,
21119,
16,
282,
12732,
16,
282,
4711,
16,
282,
2872,
16,
282,
12732,
16,
225,
890,
9452,
16,
282,
5342,
16,
282,
21193,
16,
282,
13291,
16,
5411,
1728,
16,
565,
890,
16,
225,
2
] |
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,
18890,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
12,
10248,
1431,
5378,
15329,
21,
73,
20,
16,
404,
73,
21,
16,
404,
73,
22,
16,
404,
73,
23,
16,
404,
73,
24,
16,
404,
73,
25,
16,
404,
73,
26,
97,
9747,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
6280,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
2670,
12,
4106,
18,
10492,
9334,
6783,
3779,
18,
39,
16,
638,
16,
638,
1769,
202,
97,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
18890,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
12,
10248,
1431,
5378,
15329,
21,
73,
20,
16,
404,
73,
21,
16,
404,
73,
22,
16,
404,
73,
23,
16,
404,
73,
24,
16,
404,
73,
25,
16,
404,
73,
26,
97,
9747,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
6280,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
2670,
12,
4106,
18,
10492,
9334,
2
] |
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,
291,
8932,
10756,
604,
394,
31541,
503,
5621,
3639,
3852,
12,
2211,
13,
288,
5411,
4414,
1854,
273,
1024,
6667,
1854,
15,
21,
31,
5411,
309,
12,
291,
13534,
13,
604,
394,
1929,
5033,
503,
5621,
5411,
3271,
27328,
6323,
18,
739,
50,
6084,
1768,
12,
11482,
1854,
1769,
5411,
1024,
6667,
1854,
273,
4414,
1854,
15,
21,
31,
4242,
18,
17364,
12,
2211,
16,
315,
29392,
13773,
11482,
1854,
9078,
316,
10101,
24866,
6667,
1854,
50,
6084,
1768,
8863,
5411,
327,
4414,
1854,
31,
3639,
289,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
291,
8932,
10756,
604,
394,
31541,
503,
5621,
3639,
3852,
12,
2211,
13,
288,
5411,
4414,
1854,
273,
1024,
6667,
1854,
15,
21,
31,
5411,
309,
12,
291,
13534,
13,
604,
394,
1929,
5033,
503,
5621,
5411,
3271,
27328,
6323,
18,
739,
50,
6084,
1768,
12,
11482,
1854,
1769,
5411,
1024,
6667,
1854,
273,
4414,
1854,
15,
21,
31,
4242,
18,
17364,
12,
2211,
16,
315,
29392,
13773,
11482,
1854,
9078,
316,
10101,
24866,
6667,
1854,
50,
6084,
1768,
8863,
5411,
327,
4414,
1854,
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,
9459,
1046,
756,
273,
432,
78,
323,
18,
588,
1868,
7675,
588,
6999,
1488,
1318,
7675,
588,
12074,
7675,
4720,
1046,
1290,
31150,
12,
1082,
202,
3813,
812,
18,
588,
10368,
743,
10663,
202,
202,
11231,
5510,
2932,
4720,
563,
3113,
756,
480,
446,
13,
274,
1082,
202,
45,
9459,
1046,
293,
907,
273,
261,
45,
9459,
1046,
13,
12443,
45,
9459,
1046,
13,
2159,
2934,
588,
4212,
7675,
588,
12,
21,
1769,
202,
202,
45,
9459,
1046,
29774,
273,
261,
45,
9459,
1046,
13,
84,
907,
18,
588,
4212,
7675,
588,
12,
20,
1769,
202,
202,
11231,
5510,
2932,
9224,
3113,
29774,
18,
588,
5677,
7675,
14963,
12,
45,
9459,
1046,
18,
5677,
18,
8941,
39,
1693,
10019,
202,
202,
11231,
5510,
2932,
7015,
756,
30,
315,
397,
29774,
18,
17994,
9334,
29774,
18,
869,
2224,
780,
7675,
14963,
2932,
3813,
337,
299,
1435,
7923,
1769,
202,
97,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
9459,
1046,
756,
273,
432,
78,
323,
18,
588,
1868,
7675,
588,
6999,
1488,
1318,
7675,
588,
12074,
7675,
4720,
1046,
1290,
31150,
12,
1082,
202,
3813,
812,
18,
588,
10368,
743,
10663,
202,
202,
11231,
5510,
2932,
4720,
563,
3113,
756,
480,
446,
13,
274,
1082,
202,
45,
9459,
1046,
293,
907,
273,
261,
45,
9459,
1046,
13,
12443,
45,
9459,
1046,
13,
2159,
2934,
588,
4212,
7675,
588,
12,
21,
1769,
202,
202,
45,
9459,
1046,
29774,
273,
261,
45,
9459,
1046,
2
] |
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,
63,
28,
15533,
202,
202,
5018,
331,
273,
394,
5589,
5621,
202,
202,
430,
261,
2121,
422,
446,
13,
1082,
202,
2121,
273,
2213,
14432,
202,
202,
430,
261,
2827,
461,
3234,
422,
446,
13,
1082,
202,
2827,
461,
3234,
273,
2213,
14432,
202,
202,
12107,
1082,
202,
2827,
461,
3234,
273,
7578,
3234,
18,
869,
5630,
5621,
202,
202,
74,
63,
20,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
14130,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
63,
21,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
55,
10390,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
63,
22,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
63,
23,
65,
273,
394,
2286,
12,
4071,
16,
315,
11009,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
63,
24,
65,
273,
394,
2286,
12,
4071,
16,
315,
6997,
6856,
916,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
63,
25,
65,
273,
394,
2286,
12,
4071,
16,
315,
6997,
1258,
1448,
41,
3113,
277,
58,
22483,
19105,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
63,
28,
15533,
202,
202,
5018,
331,
273,
394,
5589,
5621,
202,
202,
430,
261,
2121,
422,
446,
13,
1082,
202,
2121,
273,
2213,
14432,
202,
202,
430,
261,
2827,
461,
3234,
422,
446,
13,
1082,
202,
2827,
461,
3234,
273,
2213,
14432,
202,
202,
12107,
1082,
202,
2827,
461,
3234,
273,
7578,
3234,
18,
869,
5630,
5621,
202,
202,
74,
63,
20,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
14130,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
2
] |
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,
1339,
273,
333,
18,
3184,
1733,
18,
3190,
2157,
5621,
5411,
761,
273,
670,
24360,
1396,
694,
18485,
1989,
18,
588,
1180,
12,
3184,
16,
14868,
16,
15052,
16,
498,
1769,
5411,
1339,
18,
11330,
5621,
3639,
289,
1044,
261,
44,
24360,
503,
425,
13,
288,
5411,
327,
446,
31,
3639,
289,
3095,
288,
5411,
775,
288,
7734,
309,
261,
3184,
480,
446,
13,
288,
10792,
1339,
18,
4412,
5621,
7734,
289,
5411,
289,
1044,
261,
503,
425,
13,
288,
5411,
289,
3639,
289,
3639,
327,
761,
31,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
1339,
273,
333,
18,
3184,
1733,
18,
3190,
2157,
5621,
5411,
761,
273,
670,
24360,
1396,
694,
18485,
1989,
18,
588,
1180,
12,
3184,
16,
14868,
16,
15052,
16,
498,
1769,
5411,
1339,
18,
11330,
5621,
3639,
289,
1044,
261,
44,
24360,
503,
425,
13,
288,
5411,
327,
446,
31,
3639,
289,
3095,
288,
5411,
775,
288,
7734,
309,
261,
3184,
480,
446,
13,
288,
10792,
1339,
18,
4412,
5621,
7734,
289,
5411,
289,
1044,
261,
503,
425,
13,
288,
5411,
289,
3639,
2
] |
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,
11650,
18,
542,
12,
7335,
18,
15137,
16,
4044,
23,
1769,
202,
202,
11650,
18,
542,
12,
7335,
18,
13942,
16,
5542,
18,
46,
1258,
57,
6043,
1769,
202,
202,
11650,
18,
542,
12,
7335,
18,
4594,
16,
9035,
1769,
202,
202,
11650,
18,
542,
12,
7335,
18,
21372,
67,
3932,
67,
10339,
16,
374,
1769,
202,
202,
11650,
18,
542,
12,
7335,
18,
30090,
16,
374,
1769,
202,
202,
11650,
18,
542,
12,
7335,
18,
16328,
16,
374,
1769,
202,
202,
11650,
18,
542,
12,
7335,
18,
25437,
16328,
16,
374,
1769,
9506,
202,
1626,
1509,
273,
5686,
18,
588,
950,
5621,
1082,
3639,
775,
288,
5411,
9195,
6289,
18,
267,
14463,
297,
1429,
8981,
6033,
5621,
1082,
202,
1072,
8386,
475,
273,
9195,
23137,
475,
18,
896,
23137,
475,
858,
4247,
1876,
9906,
1626,
1876,
4956,
2932,
1072,
8386,
475,
21,
323,
56,
4488,
45,
3113,
261,
4921,
13,
712,
16,
333,
18,
4256,
1769,
5411,
9195,
6289,
18,
3923,
481,
3684,
1429,
8981,
6033,
5621,
3639,
289,
1044,
12,
424,
311,
2436,
6033,
12771,
28115,
431,
13,
288,
5411,
2321,
2932,
3813,
2613,
23137,
475,
30,
855,
23137,
475,
858,
4247,
1876,
9906,
1626,
1876,
4956,
2062,
8863,
3639,
289,
3639,
25395,
12,
1072,
8386,
475,
1769,
202,
202,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11650,
18,
542,
12,
7335,
18,
15137,
16,
4044,
23,
1769,
202,
202,
11650,
18,
542,
12,
7335,
18,
13942,
16,
5542,
18,
46,
1258,
57,
6043,
1769,
202,
202,
11650,
18,
542,
12,
7335,
18,
4594,
16,
9035,
1769,
202,
202,
11650,
18,
542,
12,
7335,
18,
21372,
67,
3932,
67,
10339,
16,
374,
1769,
202,
202,
11650,
18,
542,
12,
7335,
18,
30090,
16,
374,
1769,
202,
202,
11650,
18,
542,
12,
7335,
18,
16328,
16,
374,
1769,
202,
202,
11650,
18,
2
] |
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,
1183,
6376,
18,
10107,
2384,
273,
404,
31,
3639,
368,
9995,
364,
913,
9635,
3639,
7145,
3744,
5118,
1350,
273,
394,
7145,
3744,
5621,
3639,
5118,
1350,
18,
17824,
18006,
273,
576,
31,
3639,
5118,
1350,
18,
10107,
2686,
273,
374,
31,
3639,
5118,
1350,
18,
10107,
2384,
273,
374,
31,
3639,
5118,
1350,
18,
2107,
3380,
273,
576,
31,
3639,
368,
9995,
364,
7145,
29682,
1041,
3639,
14192,
3744,
1183,
5763,
273,
394,
14192,
3744,
5621,
3639,
1183,
5763,
18,
10107,
2686,
273,
404,
31,
3639,
1183,
5763,
18,
10107,
2384,
273,
404,
31,
3639,
368,
9995,
364,
13588,
87,
1041,
3639,
7145,
3744,
5118,
16610,
273,
394,
7145,
3744,
5621,
3639,
5118,
16610,
18,
10107,
2686,
273,
374,
31,
3639,
5118,
16610,
18,
10107,
2384,
273,
404,
31,
3639,
5118,
16610,
18,
17824,
18006,
273,
576,
31,
3639,
368,
9995,
364,
13588,
2154,
9635,
3639,
7145,
3744,
5118,
2885,
273,
394,
7145,
3744,
5621,
3639,
5118,
2885,
18,
10107,
2686,
273,
374,
31,
3639,
5118,
2885,
18,
10107,
2384,
273,
1059,
31,
3639,
5118,
2885,
18,
2107,
3380,
273,
1381,
31,
3639,
333,
18,
542,
3744,
12,
2242,
6376,
1769,
3639,
368,
3697,
14728,
3639,
9411,
1350,
273,
394,
14728,
12,
2211,
16,
348,
8588,
18,
9826,
1769,
3639,
9411,
1350,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1183,
6376,
18,
10107,
2384,
273,
404,
31,
3639,
368,
9995,
364,
913,
9635,
3639,
7145,
3744,
5118,
1350,
273,
394,
7145,
3744,
5621,
3639,
5118,
1350,
18,
17824,
18006,
273,
576,
31,
3639,
5118,
1350,
18,
10107,
2686,
273,
374,
31,
3639,
5118,
1350,
18,
10107,
2384,
273,
374,
31,
3639,
5118,
1350,
18,
2107,
3380,
273,
576,
31,
3639,
368,
9995,
364,
7145,
29682,
1041,
3639,
14192,
3744,
1183,
5763,
273,
394,
14192,
3744,
5621,
3639,
1183,
5763,
18,
10107,
2686,
273,
404,
2
] |
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,
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,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
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,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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,
1681,
18,
6923,
2932,
16,
10443,
38,
3304,
1546,
2934,
6923,
12,
10983,
38,
3304,
1769,
540,
1681,
18,
6923,
2932,
16,
843,
723,
1546,
2934,
6923,
12,
1080,
2271,
723,
1769,
540,
1681,
18,
6923,
2932,
16,
1677,
1546,
2934,
6923,
12,
4350,
1769,
540,
1681,
18,
6923,
2932,
16,
3415,
1546,
2934,
6923,
12,
6348,
1769,
5375,
309,
261,
3833,
72,
480,
446,
13,
2398,
1681,
18,
6923,
2932,
16,
3102,
3384,
1546,
2934,
6923,
12,
5436,
72,
1769,
8227,
1681,
18,
6923,
2932,
4279,
1769,
540,
327,
1681,
18,
10492,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
1681,
18,
6923,
2932,
16,
10443,
38,
3304,
1546,
2934,
6923,
12,
10983,
38,
3304,
1769,
540,
1681,
18,
6923,
2932,
16,
843,
723,
1546,
2934,
6923,
12,
1080,
2271,
723,
1769,
540,
1681,
18,
6923,
2932,
16,
1677,
1546,
2934,
6923,
12,
4350,
1769,
540,
1681,
18,
6923,
2932,
16,
3415,
1546,
2934,
6923,
12,
6348,
1769,
5375,
309,
261,
3833,
72,
480,
446,
13,
2398,
1681,
18,
6923,
2932,
16,
3102,
3384,
1546,
2934,
6923,
12,
5436,
72,
1769,
8227,
1681,
18,
2
] |
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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,
1082,
565,
4276,
50,
72,
1245,
273,
1551,
82,
18,
588,
2996,
3335,
5621,
1082,
565,
4276,
50,
72,
2795,
273,
1551,
82,
18,
588,
2996,
11710,
5621,
1082,
565,
21338,
15835,
273,
312,
67,
15536,
18,
588,
1514,
11541,
12,
1232,
461,
12,
428,
82,
10019,
1082,
565,
1033,
863,
8068,
273,
312,
67,
3085,
18,
588,
921,
863,
12,
352,
1769,
1082,
565,
2200,
1311,
273,
8068,
18,
588,
653,
2297,
5621,
1082,
565,
4276,
293,
476,
273,
15835,
18,
588,
1396,
12,
476,
18,
17994,
7675,
17994,
10663,
1082,
565,
4276,
5818,
6933,
273,
15835,
18,
588,
1396,
12,
15415,
18,
17994,
7675,
17994,
10663,
1082,
565,
1311,
18,
1289,
12,
337,
6933,
1769,
1082,
565,
1311,
18,
1289,
12,
84,
476,
1769,
1082,
565,
309,
261,
476,
18,
588,
3233,
1435,
480,
446,
13,
288,
1082,
202,
18356,
3233,
12,
84,
476,
16,
261,
4572,
743,
50,
72,
13,
1245,
18,
588,
3233,
9334,
404,
1769,
1082,
565,
289,
469,
288,
1082,
202,
362,
18,
1289,
3233,
12,
2704,
10901,
12,
743,
18,
588,
12,
84,
476,
18,
17994,
1435,
3719,
1769,
1082,
565,
289,
1082,
565,
309,
261,
15415,
18,
588,
3233,
1435,
480,
446,
13,
288,
1082,
202,
18356,
3233,
12,
337,
6933,
16,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1082,
565,
4276,
50,
72,
1245,
273,
1551,
82,
18,
588,
2996,
3335,
5621,
1082,
565,
4276,
50,
72,
2795,
273,
1551,
82,
18,
588,
2996,
11710,
5621,
1082,
565,
21338,
15835,
273,
312,
67,
15536,
18,
588,
1514,
11541,
12,
1232,
461,
12,
428,
82,
10019,
1082,
565,
1033,
863,
8068,
273,
312,
67,
3085,
18,
588,
921,
863,
12,
352,
1769,
1082,
565,
2200,
1311,
273,
8068,
18,
588,
653,
2297,
5621,
1082,
565,
4276,
293,
476,
273,
15835,
18,
2
] |
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,
202,
2896,
4755,
12,
2704,
4112,
5491,
7187,
10663,
202,
202,
97,
202,
202,
19865,
15990,
4820,
11620,
1204,
7934,
15990,
4820,
11620,
1204,
31,
202,
202,
698,
288,
1082,
202,
430,
261,
4146,
751,
18,
291,
1333,
1230,
6119,
10756,
288,
9506,
202,
6494,
2193,
273,
467,
19865,
15990,
2918,
18,
19865,
15990,
2081,
1444,
18,
4370,
67,
22,
2643,
18,
14963,
12,
9071,
18,
588,
1444,
10663,
9506,
202,
925,
15990,
4820,
11620,
1204,
273,
16907,
15990,
4820,
11620,
1204,
18,
6540,
1908,
19865,
3349,
12,
9071,
18,
588,
1489,
9334,
3352,
25083,
202,
18,
588,
15296,
9334,
3352,
18,
588,
3913,
9334,
3352,
18,
588,
7069,
4705,
9334,
1562,
751,
16,
2193,
1769,
1082,
202,
97,
469,
288,
9506,
202,
925,
15990,
4820,
11620,
1204,
273,
16907,
15990,
4820,
11620,
1204,
18,
6540,
9895,
19865,
3349,
12,
4146,
751,
16,
3352,
18,
588,
1489,
9334,
25083,
202,
9071,
18,
588,
15296,
9334,
3352,
18,
588,
3913,
9334,
3352,
18,
588,
7069,
4705,
10663,
1082,
202,
97,
202,
202,
97,
1044,
261,
8544,
13836,
425,
13,
288,
1082,
202,
759,
1410,
5903,
336,
2674,
1496,
2537,
316,
648,
2777,
1082,
202,
1079,
6353,
18,
3190,
668,
12,
2011,
16,
315,
3349,
310,
1068,
3113,
315,
12512,
5338,
2688,
3170,
316,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
202,
2896,
4755,
12,
2704,
4112,
5491,
7187,
10663,
202,
202,
97,
202,
202,
19865,
15990,
4820,
11620,
1204,
7934,
15990,
4820,
11620,
1204,
31,
202,
202,
698,
288,
1082,
202,
430,
261,
4146,
751,
18,
291,
1333,
1230,
6119,
10756,
288,
9506,
202,
6494,
2193,
273,
467,
19865,
15990,
2918,
18,
19865,
15990,
2081,
1444,
18,
4370,
67,
22,
2643,
18,
14963,
12,
9071,
18,
588,
1444,
10663,
9506,
202,
925,
15990,
4820,
11620,
1204,
273,
16907,
15990,
4820,
11620,
1204,
18,
6540,
2
] |
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,
529,
18,
588,
3054,
5621,
202,
202,
759,
6753,
506,
279,
1981,
578,
279,
667,
202,
202,
45,
9053,
461,
8526,
1257,
273,
4544,
461,
18,
588,
1557,
5621,
202,
202,
45,
9053,
461,
3153,
461,
273,
446,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1257,
18,
2469,
31,
965,
77,
13,
288,
1082,
202,
430,
261,
1973,
63,
77,
65,
422,
508,
13,
9506,
202,
8820,
31,
1082,
202,
12107,
9506,
202,
2387,
461,
273,
1257,
63,
77,
15533,
202,
202,
97,
202,
202,
430,
261,
2387,
461,
422,
1257,
63,
1973,
18,
2469,
300,
404,
5717,
1082,
202,
759,
10242,
1404,
1104,
3134,
508,
2674,
16,
20843,
2777,
1082,
202,
2463,
446,
31,
202,
202,
430,
261,
2387,
461,
422,
446,
13,
288,
1082,
202,
759,
732,
854,
622,
326,
1365,
1082,
202,
3125,
5250,
858,
2098,
410,
6902,
7532,
273,
394,
4163,
5250,
858,
2098,
410,
6902,
12,
2211,
16,
508,
18,
869,
15936,
9334,
5181,
52,
11368,
1769,
1082,
202,
588,
1016,
7675,
9436,
12,
15356,
1769,
1082,
202,
430,
12,
15356,
18,
588,
1253,
1435,
631,
2011,
13,
288,
9506,
202,
15356,
273,
394,
4163,
5250,
858,
2098,
410,
6902,
12,
2211,
16,
508,
18,
869,
15936,
9334,
5181,
3513,
2534,
55,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
529,
18,
588,
3054,
5621,
202,
202,
759,
6753,
506,
279,
1981,
578,
279,
667,
202,
202,
45,
9053,
461,
8526,
1257,
273,
4544,
461,
18,
588,
1557,
5621,
202,
202,
45,
9053,
461,
3153,
461,
273,
446,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1257,
18,
2469,
31,
965,
77,
13,
288,
1082,
202,
430,
261,
1973,
63,
77,
65,
422,
508,
13,
9506,
202,
8820,
31,
1082,
202,
12107,
9506,
202,
2387,
461,
273,
1257,
63,
77,
2
] | |
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,
5457,
273,
19566,
397,
3968,
397,
4192,
6006,
5457,
14432,
202,
202,
45,
3420,
2174,
1562,
31,
202,
202,
759,
752,
6402,
358,
443,
1724,
876,
1390,
202,
202,
2640,
1621,
12,
3968,
11272,
202,
202,
698,
202,
202,
95,
1082,
202,
2640,
4820,
2519,
12,
2605,
67,
16934,
16,
2605,
67,
5457,
11272,
1082,
202,
759,
1696,
326,
1668,
316,
326,
5052,
18,
1082,
202,
6006,
1759,
273,
4073,
18,
3190,
4820,
2519,
12,
2605,
67,
5457,
11272,
1082,
202,
759,
1000,
467,
3420,
1895,
1082,
202,
45,
3420,
1895,
1729,
3420,
1320,
273,
394,
3982,
3420,
1895,
12,
11272,
1082,
202,
45,
3420,
1895,
8169,
3420,
1320,
273,
394,
3982,
3420,
1895,
12,
11272,
1082,
202,
4870,
3420,
1042,
28678,
273,
394,
3982,
3420,
1042,
12,
11272,
1082,
202,
5902,
1042,
18,
542,
2040,
2853,
12,
315,
2730,
6,
11272,
1082,
202,
8658,
595,
1042,
273,
394,
4317,
12,
11272,
1082,
202,
2910,
1042,
18,
458,
12,
10507,
2918,
18,
7215,
13181,
67,
4870,
67,
25230,
67,
13181,
16,
6862,
202,
5902,
1042,
11272,
1082,
202,
2620,
3420,
1320,
18,
542,
1447,
1630,
12,
315,
2620,
6,
11272,
1082,
202,
7699,
3420,
1320,
18,
542,
1447,
1630,
12,
315,
7699,
6,
11272,
1082,
202,
2620,
3420,
1320,
18,
588,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5457,
273,
19566,
397,
3968,
397,
4192,
6006,
5457,
14432,
202,
202,
45,
3420,
2174,
1562,
31,
202,
202,
759,
752,
6402,
358,
443,
1724,
876,
1390,
202,
202,
2640,
1621,
12,
3968,
11272,
202,
202,
698,
202,
202,
95,
1082,
202,
2640,
4820,
2519,
12,
2605,
67,
16934,
16,
2605,
67,
5457,
11272,
1082,
202,
759,
1696,
326,
1668,
316,
326,
5052,
18,
1082,
202,
6006,
1759,
273,
4073,
18,
3190,
4820,
2519,
12,
2605,
67,
5457,
11272,
1082,
202,
759,
1000,
2
] |
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,
14759,
16,
315,
397,
3130,
780,
12,
2150,
67,
723,
13,
397,
3104,
315,
397,
883,
67,
1467,
397,
6647,
315,
1731,
18,
13636,
225,
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,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
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,
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,
14759,
16,
315,
397,
3130,
780,
12,
2150,
67,
723,
13,
397,
3104,
315,
397,
883,
67,
1467,
397,
6647,
315,
1731,
18,
13636,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
12,
73,
461,
3719,
9506,
202,
73,
461,
273,
22914,
31,
368,
1981,
10155,
273,
629,
1082,
202,
430,
261,
291,
2375,
3899,
597,
425,
461,
18,
14963,
2932,
718,
6,
3719,
288,
9506,
202,
291,
2375,
3899,
273,
629,
31,
9506,
202,
542,
2375,
1489,
12,
1080,
751,
1769,
9506,
202,
87,
3935,
1489,
273,
533,
751,
31,
1082,
202,
97,
469,
309,
261,
73,
461,
18,
14963,
2932,
718,
6,
3719,
288,
9506,
202,
87,
3935,
1489,
273,
533,
751,
31,
1082,
202,
97,
469,
309,
261,
73,
461,
18,
14963,
2932,
4099,
6,
3719,
288,
9506,
202,
430,
261,
87,
3935,
7939,
422,
446,
747,
272,
3935,
1489,
422,
446,
747,
272,
3935,
5677,
422,
446,
13,
6862,
202,
12849,
394,
14366,
2932,
1941,
5893,
82,
1123,
2025,
31,
13496,
358,
1104,
6350,
578,
880,
8863,
9506,
202,
76,
81,
21208,
18,
458,
12,
718,
774,
16519,
12,
87,
3935,
1489,
3631,
272,
3935,
7939,
1769,
9506,
202,
430,
261,
87,
3935,
5677,
18,
14963,
2932,
1214,
6,
3719,
6862,
202,
4487,
13071,
18,
1289,
12,
718,
774,
16519,
12,
87,
3935,
1489,
10019,
1082,
202,
97,
202,
202,
97,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
12,
73,
461,
3719,
9506,
202,
73,
461,
273,
22914,
31,
368,
1981,
10155,
273,
629,
1082,
202,
430,
261,
291,
2375,
3899,
597,
425,
461,
18,
14963,
2932,
718,
6,
3719,
288,
9506,
202,
291,
2375,
3899,
273,
629,
31,
9506,
202,
542,
2375,
1489,
12,
1080,
751,
1769,
9506,
202,
87,
3935,
1489,
273,
533,
751,
31,
1082,
202,
97,
469,
309,
261,
73,
461,
18,
14963,
2932,
718,
6,
3719,
288,
9506,
202,
87,
3935,
1489,
273,
533,
751,
31,
2
] |
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,
8,
1377,
1613,
18,
6923,
2932,
474,
380,
284,
12,
509,
277,
16,
1149,
276,
11272,
6647,
521,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1377,
1613,
18,
6923,
2932,
6459,
261,
380,
75,
262,
261,
432,
380,
11272,
540,
521,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1377,
1613,
18,
6923,
2932,
6459,
261,
14,
261,
14,
76,
21433,
37,
636,
13,
262,
261,
509,
11272,
521,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1377,
467,
9053,
6717,
2802,
28325,
273,
1109,
12,
4106,
18,
10492,
9334,
6783,
3779,
18,
4258,
52,
1769,
1377,
467,
9053,
5784,
6094,
3496,
273,
261,
45,
9053,
5784,
6094,
13,
28325,
18,
588,
21408,
1435,
63,
20,
15533,
1377,
467,
9053,
4958,
378,
280,
690,
559,
21416,
415,
378,
1990,
273,
261,
45,
9053,
4958,
378,
280,
690,
559,
21416,
13,
3496,
5411,
263,
588,
3456,
21416,
5621,
1377,
467,
9400,
559,
432,
273,
261,
45,
9400,
559,
13,
415,
378,
1990,
18,
17994,
7675,
10828,
5250,
5621,
1377,
3496,
273,
261,
45,
9053,
5784,
6094,
13,
28325,
18,
588,
21408,
1435,
63,
21,
15533,
1377,
467,
2083,
284,
273,
261,
45,
2083,
13,
3496,
18,
588,
3456,
297,
3062,
1435,
63,
20,
8009,
17994,
1435,
5411,
263,
10828,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8,
1377,
1613,
18,
6923,
2932,
474,
380,
284,
12,
509,
277,
16,
1149,
276,
11272,
6647,
521,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1377,
1613,
18,
6923,
2932,
6459,
261,
380,
75,
262,
261,
432,
380,
11272,
540,
521,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1377,
1613,
18,
6923,
2932,
6459,
261,
14,
261,
14,
76,
21433,
37,
636,
13,
262,
261,
509,
11272,
521,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1377,
467,
9053,
2
] |
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,
27245,
288,
1082,
202,
1379,
1237,
33,
1775,
63,
77,
15533,
1082,
202,
559,
5250,
618,
5250,
33,
1237,
18,
723,
18,
7374,
31,
1082,
202,
430,
261,
3188,
422,
8056,
12803,
18,
4803,
2056,
13,
288,
9506,
202,
74,
3935,
11416,
18,
4479,
12,
723,
5250,
1769,
1875,
202,
97,
469,
288,
9506,
202,
74,
559,
1557,
18,
458,
12,
723,
5250,
16,
1237,
18,
723,
1769,
1082,
202,
97,
202,
202,
97,
202,
97,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
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,
27245,
288,
1082,
202,
1379,
1237,
33,
1775,
63,
77,
15533,
1082,
202,
559,
5250,
618,
5250,
33,
1237,
18,
723,
18,
7374,
31,
1082,
202,
430,
261,
3188,
422,
8056,
12803,
18,
4803,
2056,
13,
288,
9506,
202,
74,
3935,
11416,
18,
4479,
12,
723,
5250,
1769,
1875,
202,
97,
469,
288,
9506,
202,
74,
559,
1557,
18,
458,
12,
723,
5250,
16,
1237,
18,
723,
1769,
1082,
202,
97,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
202,
759,
225,
1158,
10978,
3430,
16,
999,
1296,
980,
202,
565,
1323,
261,
3767,
13,
288,
202,
202,
698,
288,
1082,
565,
2332,
18,
659,
18,
1188,
7566,
3076,
30,
315,
1769,
1082,
565,
810,
273,
16263,
18,
896,
1670,
261,
1769,
1082,
565,
596,
18,
8222,
261,
2630,
1769,
202,
202,
97,
1044,
261,
14106,
425,
13,
288,
1082,
565,
13134,
18,
8551,
7566,
93,
477,
16263,
711,
4422,
13912,
5,
609,
726,
699,
305,
10555,
7070,
1769,
1082,
565,
898,
31,
202,
202,
97,
202,
565,
289,
202,
97,
202,
12107,
288,
202,
565,
368,
225,
8492,
326,
18279,
2650,
2690,
813,
358,
787,
731,
202,
565,
13134,
18,
19607,
261,
3462,
1769,
202,
97,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
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,
202,
759,
225,
1158,
10978,
3430,
16,
999,
1296,
980,
202,
565,
1323,
261,
3767,
13,
288,
202,
202,
698,
288,
1082,
565,
2332,
18,
659,
18,
1188,
7566,
3076,
30,
315,
1769,
1082,
565,
810,
273,
16263,
18,
896,
1670,
261,
1769,
1082,
565,
596,
18,
8222,
261,
2630,
1769,
202,
202,
97,
1044,
261,
14106,
425,
13,
288,
1082,
565,
13134,
18,
8551,
7566,
93,
477,
16263,
711,
4422,
13912,
5,
609,
726,
699,
305,
10555,
7070,
1769,
1082,
565,
898,
31,
2
] | |
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,
1769,
3639,
11542,
2147,
312,
2147,
273,
4328,
329,
30239,
12,
94,
1017,
1769,
3639,
11542,
2147,
18,
2988,
1042,
320,
20364,
273,
998,
1017,
18,
588,
2988,
1042,
5621,
3639,
1250,
3792,
273,
590,
18,
588,
1499,
7464,
12,
6759,
1179,
18,
37,
67,
25142,
16,
629,
1769,
3639,
509,
31996,
273,
261,
474,
13,
590,
18,
588,
1499,
3708,
12,
6759,
1179,
18,
37,
67,
17357,
16,
8061,
67,
17357,
55,
1769,
3639,
1160,
1524,
273,
8408,
6759,
1180,
18,
23988,
67,
9826,
31,
3639,
514,
1524,
1585,
273,
590,
18,
588,
1499,
12,
6759,
1179,
18,
37,
67,
23988,
6486,
16,
1408,
1769,
3639,
309,
261,
3804,
1585,
18,
14963,
12,
30239,
1016,
18,
4416,
858,
18,
1985,
67,
8633,
12280,
18,
10492,
1435,
3719,
5411,
1524,
273,
8408,
6759,
1180,
18,
23988,
67,
6486,
67,
1090,
18556,
571,
8408,
6759,
1180,
18,
23988,
67,
8633,
12280,
31,
3639,
469,
309,
261,
3804,
1585,
18,
14963,
12,
30239,
1016,
18,
4416,
858,
18,
1985,
67,
10964,
12280,
18,
10492,
1435,
3719,
5411,
1524,
273,
8408,
6759,
1180,
18,
23988,
67,
6486,
67,
1090,
18556,
571,
8408,
6759,
1180,
18,
23988,
67,
10964,
12280,
31,
3639,
2407,
32,
780,
34,
3422,
273,
446,
31,
3639,
2407,
32,
4522,
34,
3258,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1769,
3639,
11542,
2147,
312,
2147,
273,
4328,
329,
30239,
12,
94,
1017,
1769,
3639,
11542,
2147,
18,
2988,
1042,
320,
20364,
273,
998,
1017,
18,
588,
2988,
1042,
5621,
3639,
1250,
3792,
273,
590,
18,
588,
1499,
7464,
12,
6759,
1179,
18,
37,
67,
25142,
16,
629,
1769,
3639,
509,
31996,
273,
261,
474,
13,
590,
18,
588,
1499,
3708,
12,
6759,
1179,
18,
37,
67,
17357,
16,
8061,
67,
17357,
55,
1769,
3639,
1160,
1524,
273,
8408,
6759,
1180,
18,
23988,
67,
2
] |
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,
4210,
267,
3593,
305,
759,
5332,
69,
12429,
4210,
759,
902,
3668,
30,
474,
8830,
67,
4210,
33,
2629,
18,
4210,
31,
759,
9366,
1884,
451,
5449,
3319,
474,
1673,
67,
7476,
33,
71,
18,
588,
682,
4789,
5621,
71,
18,
542,
682,
4789,
12,
20,
1769,
6290,
18,
1367,
18,
682,
1745,
682,
33,
2147,
18,
588,
1350,
7675,
588,
1763,
1350,
12,
71,
1769,
430,
12,
1745,
682,
18,
1467,
1435,
631,
20,
13,
2463,
2147,
31,
759,
91,
557,
464,
10370,
291,
430,
18664,
291,
31470,
1580,
319,
16,
4083,
35,
3198,
1745,
3198,
33,
1745,
682,
18,
9838,
5621,
759,
6241,
30,
13606,
3669,
345,
20244,
3392,
1580,
792,
920,
3624,
35,
39,
3691,
2435,
2885,
3645,
1670,
2885,
33,
2011,
31,
39,
3691,
2435,
2885,
3645,
13938,
2885,
33,
2011,
31,
17523,
12,
1745,
3198,
18,
5332,
2134,
10756,
95,
921,
83,
33,
1745,
3198,
18,
4285,
5621,
759,
6241,
30,
4169,
91,
329,
10370,
291,
35,
1745,
3198,
18,
4479,
5621,
759,
343,
556,
305,
3674,
16,
6102,
329,
17692,
2661,
305,
35,
430,
12,
885,
593,
792,
3759,
1670,
2885,
15329,
759,
4169,
621,
3452,
3700,
70,
546,
73,
3645,
1612,
267,
1098,
3645,
1670,
2885,
33,
12443,
3759,
1670,
2885,
13,
83,
2934,
588,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4210,
267,
3593,
305,
759,
5332,
69,
12429,
4210,
759,
902,
3668,
30,
474,
8830,
67,
4210,
33,
2629,
18,
4210,
31,
759,
9366,
1884,
451,
5449,
3319,
474,
1673,
67,
7476,
33,
71,
18,
588,
682,
4789,
5621,
71,
18,
542,
682,
4789,
12,
20,
1769,
6290,
18,
1367,
18,
682,
1745,
682,
33,
2147,
18,
588,
1350,
7675,
588,
1763,
1350,
12,
71,
1769,
430,
12,
1745,
682,
18,
1467,
1435,
631,
20,
13,
2463,
2147,
31,
759,
91,
557,
464,
10370,
2
] | ||
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,
3819,
422,
13921,
15651,
12699,
18,
5997,
985,
67,
11343,
13,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
5740,
18,
2469,
31,
277,
27245,
288,
7734,
5740,
63,
77,
65,
273,
394,
5563,
12,
10090,
5887,
869,
15982,
11343,
63,
9724,
63,
77,
8009,
588,
3715,
1435,
6487,
4766,
1377,
348,
11343,
869,
15982,
11343,
63,
9724,
63,
77,
8009,
588,
21453,
1435,
6487,
4766,
1377,
348,
11343,
869,
15982,
11343,
63,
9724,
63,
77,
8009,
588,
27986,
1435,
19226,
5411,
289,
3639,
289,
3639,
368,
11160,
358,
506,
7418,
22519,
364,
4116,
310,
598,
5740,
3639,
27472,
4709,
273,
374,
5297,
9449,
31,
3639,
368,
1126,
434,
12851,
5352,
3639,
21921,
273,
394,
509,
63,
16744,
87,
18,
2469,
300,
404,
6362,
15533,
3639,
21921,
1782,
273,
21921,
18,
2469,
31,
3639,
368,
4163,
13541,
3673,
3639,
509,
290,
273,
5640,
24224,
18,
2469,
31,
3639,
1431,
467,
1154,
273,
404,
31,
3639,
364,
12,
474,
277,
273,
374,
31,
277,
411,
290,
31,
277,
27245,
288,
5411,
467,
1154,
273,
261,
45,
1154,
405,
5640,
24224,
63,
77,
5717,
692,
7734,
5640,
24224,
63,
77,
65,
294,
467,
1154,
31,
3639,
289,
3639,
368,
23562,
326,
963,
434,
326,
7278,
21921,
526,
18,
3639,
368,
2503,
353,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3819,
422,
13921,
15651,
12699,
18,
5997,
985,
67,
11343,
13,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
5740,
18,
2469,
31,
277,
27245,
288,
7734,
5740,
63,
77,
65,
273,
394,
5563,
12,
10090,
5887,
869,
15982,
11343,
63,
9724,
63,
77,
8009,
588,
3715,
1435,
6487,
4766,
1377,
348,
11343,
869,
15982,
11343,
63,
9724,
63,
77,
8009,
588,
21453,
1435,
6487,
4766,
1377,
348,
11343,
869,
15982,
11343,
63,
9724,
63,
77,
8009,
588,
27986,
1435,
19226,
5411,
2
] |
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,
12,
350,
3719,
288,
6647,
604,
18814,
7675,
2704,
461,
668,
2932,
21530,
791,
2190,
508,
315,
397,
612,
1769,
4202,
289,
4202,
309,
16051,
291,
29048,
1435,
597,
18814,
7675,
588,
9890,
2355,
1435,
1545,
1059,
13,
288,
6647,
604,
18814,
7675,
2704,
4368,
668,
2932,
382,
8869,
30,
848,
1404,
1206,
791,
2190,
8863,
4202,
289,
4202,
1842,
42,
9808,
2932,
1106,
19,
2978,
8863,
4202,
15908,
10340,
921,
2190,
273,
1206,
1442,
3092,
12,
350,
1769,
3639,
309,
261,
6105,
480,
446,
13,
288,
6647,
327,
2190,
31,
4202,
289,
4202,
604,
18814,
7675,
2704,
461,
668,
2932,
1336,
2190,
315,
397,
612,
397,
315,
486,
2553,
3113,
612,
1769,
282,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
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,
12,
350,
3719,
288,
6647,
604,
18814,
7675,
2704,
461,
668,
2932,
21530,
791,
2190,
508,
315,
397,
612,
1769,
4202,
289,
4202,
309,
16051,
291,
29048,
1435,
597,
18814,
7675,
588,
9890,
2355,
1435,
1545,
1059,
13,
288,
6647,
604,
18814,
7675,
2704,
4368,
668,
2932,
382,
8869,
30,
848,
1404,
1206,
791,
2190,
8863,
4202,
289,
4202,
1842,
42,
9808,
2932,
1106,
19,
2978,
8863,
4202,
15908,
10340,
921,
2190,
273,
1206,
1442,
3092,
12,
350,
1769,
3639,
309,
261,
6105,
480,
2
] |
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,
401,
588,
2933,
7675,
291,
14489,
10756,
759,
3639,
288,
759,
5411,
613,
7675,
8935,
2932,
5568,
3617,
1800,
358,
279,
5224,
434,
890,
20784,
19,
87,
8863,
759,
5411,
2935,
4258,
55,
273,
890,
380,
6250,
31,
759,
3639,
289,
3639,
368,
4994,
316,
642,
3639,
4659,
1622,
18,
12711,
7783,
8283,
67,
11074,
18,
542,
620,
12,
588,
2933,
9334,
1408,
5411,
397,
261,
8151,
4258,
55,
342,
6250,
10019,
3639,
1089,
16562,
12768,
5621,
3639,
613,
7675,
1376,
12,
5411,
315,
11074,
13059,
1800,
30,
315,
397,
2935,
18309,
7734,
397,
315,
2935,
16,
622,
4207,
4993,
434,
315,
7734,
397,
261,
588,
5042,
7109,
4258,
55,
1290,
11074,
1435,
342,
6250,
13,
397,
315,
1475,
3216,
19,
87,
8863,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
0,
0,
0,
0,
0
] | [
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,
401,
588,
2933,
7675,
291,
14489,
10756,
759,
3639,
288,
759,
5411,
613,
7675,
8935,
2932,
5568,
3617,
1800,
358,
279,
5224,
434,
890,
20784,
19,
87,
8863,
759,
5411,
2935,
4258,
55,
273,
890,
380,
6250,
31,
759,
3639,
289,
3639,
368,
4994,
316,
642,
3639,
4659,
1622,
18,
12711,
7783,
8283,
67,
11074,
18,
542,
620,
12,
588,
2933,
9334,
1408,
5411,
397,
261,
8151,
4258,
55,
342,
6250,
10019,
3639,
1089,
16562,
12768,
5621,
3639,
613,
7675,
1376,
12,
5411,
2
] | ||
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,
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,
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,
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,
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,
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,
1,
1,
1,
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,
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,
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,
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,
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,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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,
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,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
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,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
.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,
202,
202,
7859,
367,
2404,
2114,
273,
261,
7859,
367,
2404,
13,
4273,
310,
7859,
367,
1972,
1082,
202,
18,
588,
12,
2956,
1769,
202,
202,
430,
261,
6180,
480,
446,
13,
288,
1082,
202,
430,
261,
5734,
1891,
13,
288,
759,
4344,
3071,
732,
2727,
1404,
28393,
279,
2944,
9506,
202,
6180,
18,
542,
10997,
1891,
12,
5734,
1891,
1769,
1082,
202,
97,
1082,
202,
6180,
18,
1289,
1042,
12,
2472,
1769,
202,
202,
97,
469,
288,
1082,
202,
6180,
273,
394,
3416,
22226,
2404,
12,
2956,
16,
6862,
202,
19195,
329,
1046,
16,
819,
1769,
1082,
202,
6180,
18,
542,
10997,
1891,
12,
5734,
1891,
1769,
1082,
202,
6180,
18,
542,
984,
11880,
690,
1528,
12,
318,
11880,
690,
1528,
1769,
1082,
202,
30515,
310,
7859,
367,
1972,
18,
458,
12,
2956,
16,
2114,
1769,
1082,
202,
30515,
310,
7859,
367,
18,
1289,
12,
2956,
1769,
1082,
202,
430,
261,
15132,
13,
288,
9506,
202,
2463,
31,
1082,
202,
97,
1082,
202,
430,
261,
11880,
367,
2278,
18,
588,
1119,
1435,
422,
3956,
18,
55,
900,
10541,
1360,
13,
288,
9506,
202,
11880,
367,
2278,
18,
91,
911,
1211,
5621,
1082,
202,
97,
1082,
202,
11880,
367,
2278,
18,
10676,
5621,
202,
202,
97,
202,
97,
2,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
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,
202,
202,
7859,
367,
2404,
2114,
273,
261,
7859,
367,
2404,
13,
4273,
310,
7859,
367,
1972,
1082,
202,
18,
588,
12,
2956,
1769,
202,
202,
430,
261,
6180,
480,
446,
13,
288,
1082,
202,
430,
261,
5734,
1891,
13,
288,
759,
4344,
3071,
732,
2727,
1404,
28393,
279,
2944,
9506,
202,
6180,
18,
542,
10997,
1891,
12,
5734,
1891,
1769,
1082,
202,
97,
1082,
202,
6180,
18,
1289,
1042,
12,
2472,
1769,
202,
202,
97,
469,
288,
1082,
202,
6180,
273,
394,
3416,
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,
819,
262,
3639,
1216,
3837,
503,
565,
288,
3639,
727,
514,
8526,
400,
273,
13108,
12,
1390,
16,
30585,
16,
26231,
16,
5815,
11272,
3639,
727,
1387,
8526,
563,
273,
394,
1387,
63,
400,
18,
2469,
308,
31,
3639,
364,
12,
509,
277,
273,
374,
31,
277,
411,
400,
18,
2469,
31,
277,
9904,
262,
3639,
288,
5411,
563,
63,
277,
308,
273,
394,
1387,
12,
30585,
16,
400,
63,
277,
308,
11272,
3639,
289,
3639,
327,
563,
31,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0
] | [
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,
819,
262,
3639,
1216,
3837,
503,
565,
288,
3639,
727,
514,
8526,
400,
273,
13108,
12,
1390,
16,
30585,
16,
26231,
16,
5815,
11272,
3639,
727,
1387,
8526,
563,
273,
394,
1387,
63,
400,
18,
2469,
308,
31,
3639,
364,
12,
509,
277,
273,
374,
31,
277,
411,
400,
18,
2469,
31,
277,
9904,
262,
3639,
288,
5411,
563,
63,
277,
308,
273,
394,
1387,
12,
30585,
16,
400,
63,
277,
308,
11272,
3639,
289,
3639,
327,
563,
31,
565,
289,
2,
-100,
-100,
-100
] |
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,
12,
8201,
5370,
18,
588,
2421,
22144,
7675,
588,
3896,
2421,
22144,
3829,
7675,
588,
13220,
9334,
6862,
202,
1285,
835,
87,
13943,
2918,
18,
14123,
67,
2565,
18683,
16,
4405,
202,
6,
25139,
9602,
353,
5673,
316,
22397,
1965,
16,
1524,
1353,
903,
486,
4862,
5426,
3180,
22397,
1965,
353,
5673,
1199,
1769,
202,
202,
97,
202,
97,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
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,
12,
8201,
5370,
18,
588,
2421,
22144,
7675,
588,
3896,
2421,
22144,
3829,
7675,
588,
13220,
9334,
6862,
202,
1285,
835,
87,
13943,
2918,
18,
14123,
67,
2565,
18683,
16,
4405,
202,
6,
25139,
9602,
353,
5673,
316,
22397,
1965,
16,
1524,
1353,
903,
486,
4862,
5426,
3180,
22397,
1965,
353,
5673,
1199,
1769,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
2041,
1499,
503,
431,
13,
288,
5411,
444,
2532,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
10446,
12443,
780,
13,
5302,
3843,
2932,
350,
3113,
2634,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
10446,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
24860,
548,
12443,
780,
13,
5302,
3843,
2932,
1615,
548,
3113,
8088,
548,
9334,
29159,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
24860,
548,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
15683,
12443,
780,
13,
5302,
3843,
2932,
2469,
3113,
9888,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
15683,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
6788,
12443,
780,
13,
5302,
3843,
2932,
529,
3113,
1723,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
6788,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
2335,
12443,
780,
13,
5302,
3843,
2932,
3348,
3113,
13386,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
2335,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
7486,
12443,
780,
13,
5302,
3843,
2932,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2041,
1499,
503,
431,
13,
288,
5411,
444,
2532,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
10446,
12443,
780,
13,
5302,
3843,
2932,
350,
3113,
2634,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
10446,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
24860,
548,
12443,
780,
13,
5302,
3843,
2932,
1615,
548,
3113,
8088,
548,
9334,
29159,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
24860,
2
] |
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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,
1767,
5190,
12,
588,
6303,
8722,
9334,
9545,
1767,
5190,
18,
8468,
67,
28324,
38,
269,
4889,
1769,
377,
202,
377,
202,
759,
1436,
777,
326,
7361,
316,
326,
2110,
358,
6489,
76,
394,
478,
58,
38,
377,
202,
19558,
9047,
273,
394,
2407,
5621,
377,
202,
682,
2140,
273,
2110,
18,
588,
6351,
429,
4305,
5621,
377,
202,
1884,
261,
3198,
1087,
2360,
273,
2140,
18,
9838,
5621,
1087,
2360,
18,
5332,
2134,
5621,
13,
288,
377,
202,
202,
6351,
429,
1988,
1087,
273,
261,
6351,
429,
1988,
13,
1087,
2360,
18,
4285,
5621,
377,
202,
202,
430,
261,
2680,
18,
588,
8485,
7675,
588,
1988,
2404,
1435,
1276,
4441,
2404,
13,
288,
377,
1082,
202,
9316,
18,
1289,
12,
2680,
18,
588,
8485,
7675,
588,
1988,
2404,
10663,
377,
202,
202,
97,
202,
202,
97,
377,
202,
17679,
70,
18,
542,
1767,
9837,
12,
9316,
1769,
377,
202,
377,
202,
759,
1000,
326,
2562,
9820,
2511,
603,
326,
2110,
1807,
5316,
377,
202,
19463,
2110,
5694,
273,
2110,
18,
588,
5694,
5621,
377,
202,
474,
9820,
273,
261,
3772,
5694,
18,
2819,
405,
2110,
5694,
18,
4210,
13,
692,
348,
8588,
18,
44,
20344,
294,
348,
8588,
18,
21654,
10109,
31,
377,
202,
17679,
70,
18,
542,
14097,
12,
19235,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1767,
5190,
12,
588,
6303,
8722,
9334,
9545,
1767,
5190,
18,
8468,
67,
28324,
38,
269,
4889,
1769,
377,
202,
377,
202,
759,
1436,
777,
326,
7361,
316,
326,
2110,
358,
6489,
76,
394,
478,
58,
38,
377,
202,
19558,
9047,
273,
394,
2407,
5621,
377,
202,
682,
2140,
273,
2110,
18,
588,
6351,
429,
4305,
5621,
377,
202,
1884,
261,
3198,
1087,
2360,
273,
2140,
18,
9838,
5621,
1087,
2360,
18,
5332,
2134,
5621,
13,
288,
377,
202,
202,
6351,
429,
1988,
1087,
2
] |
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,
13491,
397,
6,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
3651,
429,
4868,
13491,
397,
7923,
21159,
19,
4936,
19,
921,
31,
3113,
13491,
261,
6620,
21433,
797,
812,
2289,
18,
31414,
67,
14939,
27573,
571,
30614,
2289,
18,
31414,
67,
7263,
1013,
10019,
3639,
727,
1160,
432,
7783,
67,
13181,
273,
3506,
1085,
18,
1013,
51,
1880,
67,
21,
31,
3639,
727,
1160,
432,
7783,
67,
19444,
273,
3506,
1085,
18,
1013,
51,
1880,
67,
22,
31,
3639,
368,
358,
2376,
279,
2728,
16,
745,
326,
1208,
3651,
707,
3639,
6080,
91,
18,
1289,
2563,
2503,
5621,
3639,
6080,
91,
18,
1289,
12,
1013,
51,
1880,
67,
13181,
1769,
3639,
6080,
91,
18,
1289,
12,
1013,
51,
1880,
67,
19444,
1769,
3639,
6080,
91,
18,
1289,
10969,
12,
3216,
1085,
18,
706,
17691,
41,
26854,
16,
6080,
91,
18,
588,
3834,
9334,
8227,
26458,
2828,
11666,
12,
4263,
1162,
5372,
3205,
63,
20,
65,
3631,
8227,
12584,
67,
26587,
1769,
3639,
6080,
91,
18,
1289,
2563,
2503,
5621,
3639,
6080,
91,
18,
1289,
12,
1013,
51,
1880,
67,
13181,
1769,
3639,
6080,
91,
18,
1289,
12,
1013,
51,
1880,
67,
19444,
1769,
3639,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
30387,
1769,
3639,
6080,
91,
18,
1289,
12,
3216,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13491,
397,
6,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
3651,
429,
4868,
13491,
397,
7923,
21159,
19,
4936,
19,
921,
31,
3113,
13491,
261,
6620,
21433,
797,
812,
2289,
18,
31414,
67,
14939,
27573,
571,
30614,
2289,
18,
31414,
67,
7263,
1013,
10019,
3639,
727,
1160,
432,
7783,
67,
13181,
273,
3506,
1085,
18,
1013,
51,
1880,
67,
21,
31,
3639,
727,
1160,
432,
7783,
67,
19444,
273,
3506,
1085,
18,
1013,
51,
1880,
67,
22,
31,
3639,
368,
358,
2376,
279,
2
] |
.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,
3259,
18,
38,
7954,
67,
28891,
67,
10989,
67,
15811,
262,
9506,
202,
18,
588,
19733,
12,
11272,
202,
202,
8815,
18,
9176,
2885,
273,
1640,
18,
588,
1396,
3259,
12,
9767,
3259,
18,
38,
7954,
67,
28891,
67,
15066,
67,
15811,
262,
9506,
202,
18,
588,
19733,
12,
11272,
202,
202,
8815,
18,
9176,
2384,
273,
1640,
18,
588,
1396,
3259,
12,
9767,
3259,
18,
38,
7954,
67,
28891,
67,
10023,
67,
15811,
262,
9506,
202,
18,
588,
19733,
12,
11272,
202,
202,
8815,
18,
3669,
2957,
273,
1640,
18,
588,
1396,
3259,
12,
9767,
3259,
18,
38,
7954,
67,
10462,
67,
10989,
67,
15811,
262,
9506,
202,
18,
588,
19733,
12,
11272,
202,
202,
8815,
18,
3669,
2885,
273,
1640,
18,
588,
1396,
3259,
12,
9767,
3259,
18,
38,
7954,
67,
10462,
67,
15066,
67,
15811,
262,
9506,
202,
18,
588,
19733,
12,
11272,
202,
202,
8815,
18,
3669,
2384,
273,
1640,
18,
588,
1396,
3259,
12,
9767,
3259,
18,
38,
7954,
67,
10462,
67,
10023,
67,
15811,
262,
9506,
202,
18,
588,
19733,
12,
11272,
202,
202,
8815,
18,
4482,
2957,
273,
1640,
18,
588,
1396,
3259,
12,
9767,
3259,
18,
38,
7954,
67,
10066,
67,
10989,
67,
15811,
262,
9506,
202,
18,
588,
19733,
12,
11272,
202,
202,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3259,
18,
38,
7954,
67,
28891,
67,
10989,
67,
15811,
262,
9506,
202,
18,
588,
19733,
12,
11272,
202,
202,
8815,
18,
9176,
2885,
273,
1640,
18,
588,
1396,
3259,
12,
9767,
3259,
18,
38,
7954,
67,
28891,
67,
15066,
67,
15811,
262,
9506,
202,
18,
588,
19733,
12,
11272,
202,
202,
8815,
18,
9176,
2384,
273,
1640,
18,
588,
1396,
3259,
12,
9767,
3259,
18,
38,
7954,
67,
28891,
67,
10023,
67,
15811,
262,
9506,
202,
18,
588,
19733,
12,
11272,
202,
202,
2
] |
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,
1276,
1412,
907,
13,
288,
202,
565,
1748,
6161,
760,
1466,
18,
1195,
202,
565,
1412,
618,
273,
14015,
559,
907,
13,
1633,
2934,
588,
559,
5621,
202,
565,
309,
261,
723,
18,
291,
2404,
559,
10756,
288,
202,
202,
2404,
559,
1278,
559,
273,
618,
18,
869,
2404,
559,
5621,
202,
202,
974,
1442,
7314,
273,
1082,
565,
276,
18,
588,
559,
3163,
7675,
588,
974,
12,
1734,
559,
16,
508,
16,
276,
1769,
202,
202,
3669,
273,
394,
2286,
2300,
12,
1082,
565,
276,
18,
588,
3625,
1733,
7675,
588,
1908,
974,
2300,
3625,
9334,
1082,
565,
261,
559,
907,
13,
1633,
16,
7314,
11272,
202,
565,
289,
202,
97,
202,
12107,
309,
261,
3239,
1276,
5371,
13,
288,
202,
565,
1748,
6161,
1661,
17,
3845,
1466,
18,
1195,
202,
565,
1760,
273,
394,
2286,
2300,
12,
202,
202,
71,
18,
588,
3625,
1733,
7675,
588,
1908,
974,
2300,
3625,
9334,
202,
202,
12,
2300,
13,
1633,
16,
508,
11272,
202,
97,
565,
289,
565,
469,
288,
202,
20308,
5783,
775,
1191,
3152,
471,
1466,
18,
1195,
202,
3092,
1442,
13206,
273,
276,
18,
588,
3092,
12,
529,
1769,
202,
430,
261,
522,
1276,
2286,
1442,
13,
288,
202,
565,
2286,
1442,
7314,
273,
261,
974,
1442,
13,
13206,
31,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1276,
1412,
907,
13,
288,
202,
565,
1748,
6161,
760,
1466,
18,
1195,
202,
565,
1412,
618,
273,
14015,
559,
907,
13,
1633,
2934,
588,
559,
5621,
202,
565,
309,
261,
723,
18,
291,
2404,
559,
10756,
288,
202,
202,
2404,
559,
1278,
559,
273,
618,
18,
869,
2404,
559,
5621,
202,
202,
974,
1442,
7314,
273,
1082,
565,
276,
18,
588,
559,
3163,
7675,
588,
974,
12,
1734,
559,
16,
508,
16,
276,
1769,
202,
202,
3669,
273,
394,
2286,
2300,
12,
1082,
2
] |
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,
698,
288,
1082,
202,
751,
4348,
316,
273,
394,
29382,
12,
2704,
24742,
12,
9991,
751,
1228,
10019,
1082,
202,
698,
288,
9506,
202,
2493,
1444,
273,
316,
18,
896,
3216,
5621,
9506,
202,
430,
261,
2493,
1444,
1545,
605,
21371,
4883,
67,
28249,
13450,
900,
67,
5757,
13,
288,
6862,
202,
957,
8860,
273,
316,
18,
896,
3708,
5621,
6862,
202,
5425,
1785,
273,
316,
18,
896,
5159,
5621,
6862,
202,
6769,
3405,
1685,
2355,
273,
316,
18,
896,
1702,
5621,
6862,
202,
4285,
548,
273,
316,
18,
896,
3708,
5621,
9506,
202,
97,
1082,
202,
97,
3095,
288,
9506,
202,
267,
18,
4412,
5621,
1082,
202,
97,
202,
202,
97,
1044,
261,
14106,
425,
13,
288,
1082,
202,
430,
261,
2829,
18,
9394,
597,
4015,
18,
9394,
67,
13990,
1013,
13,
288,
9506,
202,
2829,
18,
8222,
2932,
668,
6453,
8257,
1982,
30,
315,
397,
425,
18,
24906,
10663,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
2829,
18,
1188,
6332,
12,
73,
1769,
1082,
202,
97,
202,
202,
97,
202,
97,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
698,
288,
1082,
202,
751,
4348,
316,
273,
394,
29382,
12,
2704,
24742,
12,
9991,
751,
1228,
10019,
1082,
202,
698,
288,
9506,
202,
2493,
1444,
273,
316,
18,
896,
3216,
5621,
9506,
202,
430,
261,
2493,
1444,
1545,
605,
21371,
4883,
67,
28249,
13450,
900,
67,
5757,
13,
288,
6862,
202,
957,
8860,
273,
316,
18,
896,
3708,
5621,
6862,
202,
5425,
1785,
273,
316,
18,
896,
5159,
5621,
6862,
202,
6769,
3405,
1685,
2355,
273,
316,
18,
896,
1702,
5621,
6862,
2
] |
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,
2932,
52,
14725,
2566,
8863,
202,
202,
430,
261,
14161,
3752,
631,
2011,
13,
288,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
15339,
3752,
1008,
16,
1158,
8854,
310,
10074,
8863,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
474,
276,
559,
273,
20304,
18,
588,
559,
5621,
202,
202,
474,
277,
559,
273,
1646,
18,
588,
559,
5621,
9506,
202,
6494,
1967,
559,
273,
629,
31,
202,
202,
430,
14015,
71,
559,
631,
2040,
13207,
18,
43,
6722,
28,
96,
71,
559,
631,
2040,
13207,
18,
10989,
67,
5034,
13,
10,
10,
12,
77,
559,
631,
2040,
13207,
18,
43,
6722,
28,
96,
77,
559,
631,
2040,
13207,
18,
10989,
67,
5034,
3719,
1967,
559,
273,
638,
31,
202,
202,
12107,
309,
14015,
71,
559,
631,
2040,
13207,
18,
10989,
67,
11343,
96,
71,
559,
631,
2040,
13207,
18,
43,
6722,
28,
96,
71,
559,
631,
2040,
13207,
18,
10989,
67,
5034,
13,
10,
10,
77,
559,
631,
2040,
13207,
18,
10989,
67,
11343,
13,
1967,
559,
273,
638,
31,
202,
202,
12107,
309,
261,
71,
559,
631,
2040,
13207,
18,
43,
6722,
2313,
10,
10,
77,
559,
631,
2040,
13207,
18,
43,
6722,
2313,
13,
1967,
559,
273,
638,
31,
202,
202,
12107,
309,
261,
71,
559,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2932,
52,
14725,
2566,
8863,
202,
202,
430,
261,
14161,
3752,
631,
2011,
13,
288,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
15339,
3752,
1008,
16,
1158,
8854,
310,
10074,
8863,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
474,
276,
559,
273,
20304,
18,
588,
559,
5621,
202,
202,
474,
277,
559,
273,
1646,
18,
588,
559,
5621,
9506,
202,
6494,
1967,
559,
273,
629,
31,
202,
202,
430,
14015,
71,
559,
631,
2040,
13207,
18,
43,
6722,
28,
96,
2
] |
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,
3639,
21789,
2157,
1339,
273,
261,
20601,
2157,
13,
9109,
18,
588,
2157,
12,
2157,
1649,
18,
7042,
67,
27952,
1769,
3639,
11542,
2147,
312,
2147,
273,
4328,
329,
30239,
12,
17704,
1769,
7734,
5167,
1370,
859,
273,
1109,
6517,
2402,
12,
2293,
16,
9109,
1769,
3639,
2285,
381,
15397,
1138,
3447,
1686,
273,
21955,
12,
81,
2147,
16,
859,
16,
9109,
16,
1339,
1769,
3639,
775,
288,
1171,
202,
1046,
766,
273,
9109,
18,
2640,
1046,
12,
6759,
1179,
18,
17251,
67,
14508,
1769,
540,
202,
540,
202,
759,
1297,
999,
1686,
18,
588,
4416,
858,
1435,
2724,
326,
1686,
4825,
1240,
5455,
3134,
14021,
540,
202,
759,
590,
471,
1399,
5943,
469,
2777,
540,
202,
4416,
858,
2393,
273,
1686,
18,
588,
4416,
858,
5621,
540,
202,
2740,
18,
1289,
1499,
12,
6759,
1179,
18,
37,
67,
23988,
6486,
16,
2393,
18,
10492,
10663,
540,
202,
540,
202,
759,
540,
202,
759,
752,
279,
315,
24081,
6,
1492,
2103,
1245,
1363,
1807,
26247,
434,
501,
364,
326,
1004,
261,
9940,
540,
202,
759,
326,
3347,
501,
16,
5527,
13,
540,
202,
759,
540,
202,
759,
971,
326,
12679,
5966,
87,
315,
2704,
1686,
622,
910,
6,
1493,
9228,
394,
501,
22497,
1368,
3134,
1623,
16,
1508,
540,
202,
759,
732,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3639,
21789,
2157,
1339,
273,
261,
20601,
2157,
13,
9109,
18,
588,
2157,
12,
2157,
1649,
18,
7042,
67,
27952,
1769,
3639,
11542,
2147,
312,
2147,
273,
4328,
329,
30239,
12,
17704,
1769,
7734,
5167,
1370,
859,
273,
1109,
6517,
2402,
12,
2293,
16,
9109,
1769,
3639,
2285,
381,
15397,
1138,
3447,
1686,
273,
21955,
12,
81,
2147,
16,
859,
16,
9109,
16,
1339,
1769,
3639,
775,
288,
1171,
202,
1046,
766,
273,
9109,
18,
2640,
1046,
12,
6759,
1179,
18,
17251,
67,
14508,
2
] |
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,
19879,
638,
1769,
202,
202,
1285,
992,
1350,
2249,
913,
1179,
1350,
2249,
273,
913,
1179,
9506,
202,
18,
2640,
6517,
1350,
2249,
5621,
202,
202,
45,
2224,
2249,
913,
1179,
2224,
2249,
273,
913,
1179,
9506,
202,
18,
2640,
6517,
2224,
2249,
5621,
202,
202,
1285,
992,
1350,
2249,
8526,
1365,
1350,
10672,
273,
913,
1179,
9506,
202,
18,
4720,
2375,
1350,
10672,
12,
3805,
3773,
18,
588,
8241,
1435,
25083,
202,
18,
588,
2375,
10663,
202,
202,
11231,
8867,
2932,
12512,
1915,
353,
1338,
1245,
1365,
913,
2893,
1199,
16,
404,
16,
9506,
202,
3085,
1350,
10672,
18,
2469,
1769,
202,
202,
1285,
992,
1350,
2249,
8526,
1984,
1350,
10672,
273,
913,
1179,
9506,
202,
18,
4720,
17018,
7445,
1350,
10672,
12,
4406,
1769,
202,
202,
11231,
8867,
2932,
12512,
1915,
854,
2795,
913,
9165,
364,
392,
467,
4109,
1199,
16,
9506,
202,
22,
16,
1984,
1350,
10672,
18,
2469,
1769,
202,
202,
6494,
1392,
273,
629,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1984,
1350,
10672,
18,
2469,
31,
277,
27245,
288,
1082,
202,
430,
261,
12443,
22817,
1350,
2249,
13,
1984,
1350,
10672,
63,
77,
5717,
6862,
202,
18,
588,
9586,
1350,
2249,
1435,
1276,
7766,
1350,
2249,
13,
288,
9506,
202,
4709,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19879,
638,
1769,
202,
202,
1285,
992,
1350,
2249,
913,
1179,
1350,
2249,
273,
913,
1179,
9506,
202,
18,
2640,
6517,
1350,
2249,
5621,
202,
202,
45,
2224,
2249,
913,
1179,
2224,
2249,
273,
913,
1179,
9506,
202,
18,
2640,
6517,
2224,
2249,
5621,
202,
202,
1285,
992,
1350,
2249,
8526,
1365,
1350,
10672,
273,
913,
1179,
9506,
202,
18,
4720,
2375,
1350,
10672,
12,
3805,
3773,
18,
588,
8241,
1435,
25083,
202,
18,
588,
2375,
10663,
202,
202,
11231,
8867,
2932,
12512,
1915,
2
] |
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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,
565,
309,
261,
5965,
1541,
10903,
597,
401,
6858,
18,
291,
7170,
10756,
288,
1377,
5267,
1024,
5165,
273,
3020,
18,
945,
1887,
12,
25539,
67,
28314,
67,
11271,
1769,
1377,
309,
16051,
4285,
5165,
18,
291,
7170,
10756,
288,
3639,
3020,
18,
10103,
12,
4883,
67,
4415,
67,
11271,
2934,
2233,
12,
9216,
1769,
3639,
3020,
273,
1024,
5165,
31,
3639,
3347,
273,
1024,
5165,
18,
10103,
12,
4883,
67,
7570,
67,
11271,
1769,
3639,
1800,
273,
1024,
5165,
18,
945,
1887,
12,
28314,
67,
8283,
67,
11271,
1769,
3639,
1024,
5165,
18,
2233,
12,
1887,
18,
7124,
9334,
8730,
67,
4415,
67,
11271,
1769,
3639,
9251,
18,
7124,
12,
9216,
16,
1800,
18,
5413,
12,
9216,
2934,
869,
3944,
7675,
869,
17639,
7675,
10103,
12,
13718,
67,
706,
67,
15140,
10019,
7734,
14015,
3882,
16863,
3819,
13,
2981,
2934,
266,
1202,
5716,
12,
29287,
18,
3890,
774,
5716,
12,
3595,
18,
5413,
12,
6858,
2934,
10103,
12,
13718,
67,
706,
67,
15140,
3719,
1769,
7734,
327,
4767,
12,
3890,
16,
5689,
16,
1384,
1769,
1377,
289,
565,
289,
3639,
1748,
432,
1039,
3476,
16,
2441,
13939,
16,
716,
848,
28217,
31756,
326,
590,
1195,
565,
6419,
319,
17791,
273,
9926,
18,
2080,
1702,
7170,
16675,
12,
3890,
2934,
10103,
12,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
565,
309,
261,
5965,
1541,
10903,
597,
401,
6858,
18,
291,
7170,
10756,
288,
1377,
5267,
1024,
5165,
273,
3020,
18,
945,
1887,
12,
25539,
67,
28314,
67,
11271,
1769,
1377,
309,
16051,
4285,
5165,
18,
291,
7170,
10756,
288,
3639,
3020,
18,
10103,
12,
4883,
67,
4415,
67,
11271,
2934,
2233,
12,
9216,
1769,
3639,
3020,
273,
1024,
5165,
31,
3639,
3347,
273,
1024,
5165,
18,
10103,
12,
4883,
67,
7570,
67,
11271,
1769,
3639,
1800,
273,
1024,
5165,
18,
945,
1887,
12,
2
] |
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
18,
588,
5677,
10663,
9506,
202,
698,
288,
25083,
202,
430,
261,
23159,
18,
7331,
1042,
12,
9071,
16,
1562,
16,
24204,
1964,
18,
588,
4469,
1435,
3719,
288,
6862,
9506,
202,
1079,
6353,
18,
3190,
5369,
12,
2011,
16,
315,
1042,
15939,
3113,
25083,
202,
6,
6803,
434,
1562,
819,
1703,
6873,
8403,
82,
6020,
2004,
358,
30,
315,
397,
1562,
18,
588,
3291,
10663,
1082,
202,
97,
469,
288,
9506,
202,
1079,
6353,
18,
3190,
668,
12,
2011,
16,
315,
1042,
15939,
3113,
315,
6803,
434,
1562,
819,
18497,
18,
2164,
555,
613,
364,
3189,
1199,
1769,
1082,
202,
97,
202,
202,
97,
1044,
261,
14106,
425,
13,
288,
1082,
202,
1079,
6353,
18,
3190,
668,
12,
2011,
16,
315,
1042,
15939,
3113,
315,
6803,
434,
1562,
819,
18497,
8403,
82,
6,
15,
73,
18,
24906,
10663,
202,
202,
97,
202,
202,
2463,
638,
31,
202,
97,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
18,
588,
5677,
10663,
9506,
202,
698,
288,
25083,
202,
430,
261,
23159,
18,
7331,
1042,
12,
9071,
16,
1562,
16,
24204,
1964,
18,
588,
4469,
1435,
3719,
288,
6862,
9506,
202,
1079,
6353,
18,
3190,
5369,
12,
2011,
16,
315,
1042,
15939,
3113,
25083,
202,
6,
6803,
434,
1562,
819,
1703,
6873,
8403,
82,
6020,
2004,
358,
30,
315,
397,
1562,
18,
588,
3291,
10663,
1082,
202,
97,
469,
288,
9506,
202,
1079,
6353,
18,
3190,
668,
12,
2011,
16,
315,
1042,
15939,
2
] |
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,
2211,
16,
804,
46,
56,
5327,
23956,
985,
3575,
1769,
1250,
10684,
5111,
3784,
273,
638,
31,
10684,
3413,
18,
3190,
907,
3876,
12,
78,
78,
5088,
3784,
1769,
1345,
268,
31,
565,
775,
288,
1377,
268,
273,
10684,
67,
21224,
67,
2316,
12,
16606,
1769,
565,
13855,
6434,
8213,
5357,
12,
88,
18,
2730,
16,
315,
69,
707,
508,
8863,
565,
13855,
6434,
3572,
5357,
12,
88,
18,
2730,
16,
315,
69,
707,
508,
8863,
565,
10684,
5088,
3784,
18,
542,
2040,
12,
268,
18,
2730,
11272,
1377,
478,
1687,
2402,
5621,
1377,
1433,
67,
3461,
30,
1377,
1323,
261,
3767,
13,
288,
3639,
1620,
14015,
78,
78,
67,
496,
79,
631,
17,
21,
9945,
78,
78,
67,
496,
79,
13332,
78,
78,
67,
496,
79,
13,
288,
3639,
648,
511,
21217,
30,
1850,
274,
1850,
898,
31,
3639,
805,
30,
1850,
10684,
67,
11821,
21,
63,
5520,
65,
273,
10684,
67,
4507,
31,
1850,
898,
1433,
67,
3461,
31,
3639,
289,
3639,
10684,
67,
21224,
67,
2316,
12,
48,
21217,
1769,
3639,
10684,
67,
21224,
67,
2316,
12,
54,
21217,
1769,
1377,
289,
565,
289,
1044,
261,
15155,
10684,
736,
3784,
13,
288,
565,
309,
261,
78,
78,
5111,
3784,
13,
288,
1377,
10684,
3413,
18,
8507,
907,
3876,
12,
78,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2211,
16,
804,
46,
56,
5327,
23956,
985,
3575,
1769,
1250,
10684,
5111,
3784,
273,
638,
31,
10684,
3413,
18,
3190,
907,
3876,
12,
78,
78,
5088,
3784,
1769,
1345,
268,
31,
565,
775,
288,
1377,
268,
273,
10684,
67,
21224,
67,
2316,
12,
16606,
1769,
565,
13855,
6434,
8213,
5357,
12,
88,
18,
2730,
16,
315,
69,
707,
508,
8863,
565,
13855,
6434,
3572,
5357,
12,
88,
18,
2730,
16,
315,
69,
707,
508,
8863,
565,
10684,
5088,
3784,
18,
542,
2040,
12,
268,
2
] |
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,
289,
565,
514,
2710,
461,
273,
423,
322,
343,
3976,
18,
588,
7675,
588,
2932,
6447,
18,
1580,
4676,
18,
6447,
17,
529,
8863,
565,
309,
261,
6447,
461,
480,
446,
13,
288,
1377,
10021,
2710,
273,
1104,
3625,
12,
6447,
461,
1769,
1377,
309,
261,
6447,
480,
446,
13,
288,
3639,
2018,
18,
1376,
2932,
7736,
21598,
2710,
30,
315,
397,
2710,
461,
1769,
3639,
327,
261,
51,
19610,
13,
2710,
18,
588,
3625,
1442,
5621,
1377,
289,
1377,
2018,
18,
8551,
2932,
51,
19610,
2710,
486,
1392,
30,
2119,
397,
2710,
461,
540,
397,
14912,
8374,
326,
805,
8863,
1377,
368,
486,
1392,
16,
5922,
358,
326,
805,
16,
309,
2319,
18,
565,
289,
565,
10021,
8526,
4418,
273,
1139,
67,
8941,
18,
588,
7513,
5621,
565,
309,
261,
9489,
18,
2469,
405,
374,
13,
288,
1377,
2018,
18,
1376,
2932,
7736,
326,
1122,
21598,
2710,
1392,
30,
315,
3639,
397,
4418,
63,
20,
8009,
26321,
10663,
1377,
327,
261,
51,
19610,
13,
4418,
63,
20,
8009,
588,
3625,
1442,
5621,
565,
289,
469,
288,
1377,
327,
446,
31,
565,
289,
225,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
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,
289,
565,
514,
2710,
461,
273,
423,
322,
343,
3976,
18,
588,
7675,
588,
2932,
6447,
18,
1580,
4676,
18,
6447,
17,
529,
8863,
565,
309,
261,
6447,
461,
480,
446,
13,
288,
1377,
10021,
2710,
273,
1104,
3625,
12,
6447,
461,
1769,
1377,
309,
261,
6447,
480,
446,
13,
288,
3639,
2018,
18,
1376,
2932,
7736,
21598,
2710,
30,
315,
397,
2710,
461,
1769,
3639,
327,
261,
51,
19610,
13,
2710,
18,
588,
3625,
1442,
5621,
1377,
289,
1377,
2018,
18,
8551,
2932,
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,
18,
588,
17558,
5621,
3639,
368,
4844,
690,
2885,
2154,
273,
276,
18,
588,
3935,
2885,
5621,
3639,
13525,
2957,
5795,
67,
3266,
273,
2154,
18,
588,
8107,
2957,
5621,
3639,
368,
474,
1835,
273,
261,
474,
13,
4972,
18,
588,
2384,
5621,
3639,
368,
474,
2072,
273,
261,
474,
13,
4972,
18,
588,
2686,
5621,
3639,
13525,
5795,
273,
2154,
18,
588,
8107,
2384,
12,
5900,
1769,
3639,
13128,
620,
1760,
2885,
273,
446,
31,
3639,
13128,
620,
2002,
2885,
273,
446,
31,
3639,
13128,
620,
5469,
2885,
273,
446,
31,
3639,
13128,
620,
2145,
2885,
273,
446,
31,
3639,
309,
14015,
87,
4369,
473,
18680,
13,
422,
18680,
13,
288,
5411,
1760,
2885,
273,
2154,
18,
588,
6106,
12,
10276,
461,
18,
38,
7954,
67,
15066,
67,
10462,
1769,
5411,
309,
261,
3669,
2885,
422,
13128,
620,
18,
9826,
747,
5795,
18,
3669,
422,
374,
13,
288,
7734,
22423,
3947,
18680,
31,
5411,
289,
3639,
289,
3639,
309,
14015,
87,
4369,
473,
9686,
13,
422,
9686,
13,
288,
5411,
2002,
2885,
273,
2154,
18,
588,
6106,
12,
10276,
461,
18,
38,
7954,
67,
15066,
67,
10066,
1769,
5411,
309,
261,
4482,
2885,
422,
13128,
620,
18,
9826,
747,
5795,
18,
4482,
422,
374,
13,
288,
7734,
22423,
3947,
9686,
31,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18,
588,
17558,
5621,
3639,
368,
4844,
690,
2885,
2154,
273,
276,
18,
588,
3935,
2885,
5621,
3639,
13525,
2957,
5795,
67,
3266,
273,
2154,
18,
588,
8107,
2957,
5621,
3639,
368,
474,
1835,
273,
261,
474,
13,
4972,
18,
588,
2384,
5621,
3639,
368,
474,
2072,
273,
261,
474,
13,
4972,
18,
588,
2686,
5621,
3639,
13525,
5795,
273,
2154,
18,
588,
8107,
2384,
12,
5900,
1769,
3639,
13128,
620,
1760,
2885,
273,
446,
31,
3639,
13128,
620,
2002,
2885,
273,
446,
31,
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(); | 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,
355,
69,
36,
81,
481,
464,
69,
18,
3341,
34,
202,
202,
759,
9852,
30,
555,
6728,
24902,
479,
5,
202,
202,
6290,
18,
4669,
18,
13198,
3597,
1349,
31,
202,
202,
974,
284,
8526,
273,
394,
2286,
63,
3461,
15533,
202,
202,
7229,
3193,
63,
6362,
15533,
202,
202,
74,
63,
20,
65,
273,
394,
2286,
12,
4071,
16,
315,
8784,
7775,
67,
14130,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
202,
202,
74,
63,
21,
65,
273,
394,
2286,
12,
4071,
16,
315,
8784,
7775,
67,
55,
10390,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
202,
202,
74,
63,
22,
65,
273,
394,
2286,
12,
4071,
16,
315,
8784,
7775,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
202,
202,
74,
63,
23,
65,
273,
394,
2286,
12,
4071,
16,
315,
8784,
11009,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
202,
202,
74,
63,
24,
65,
273,
394,
2286,
12,
4071,
16,
315,
13121,
7775,
67,
14130,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
202,
202,
74,
63,
25,
65,
273,
394,
2286,
12,
4071,
16,
315,
13121,
7775,
67,
55,
10390,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
202,
202,
74,
63,
26,
65,
273,
394,
2286,
12,
4071,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
355,
69,
36,
81,
481,
464,
69,
18,
3341,
34,
202,
202,
759,
9852,
30,
555,
6728,
24902,
479,
5,
202,
202,
6290,
18,
4669,
18,
13198,
3597,
1349,
31,
202,
202,
974,
284,
8526,
273,
394,
2286,
63,
3461,
15533,
202,
202,
7229,
3193,
63,
6362,
15533,
202,
202,
74,
63,
20,
65,
273,
394,
2286,
12,
4071,
16,
315,
8784,
7775,
67,
14130,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
202,
202,
74,
63,
21,
65,
273,
394,
2286,
12,
2
] |
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,
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,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
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,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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,
4875,
18,
685,
3535,
18,
3644,
18,
4652,
18,
42,
14266,
688,
8863,
3639,
775,
288,
5411,
1842,
18,
1128,
5621,
5411,
5435,
9609,
273,
1842,
18,
588,
20094,
5621,
5411,
2332,
18,
659,
18,
8222,
12443,
12,
1803,
13,
9609,
18,
588,
42,
71,
1358,
2932,
1128,
7923,
2934,
2896,
24332,
10663,
3639,
289,
1044,
261,
503,
425,
13,
288,
5411,
425,
18,
1188,
6332,
5621,
3639,
289,
3095,
288,
5411,
775,
288,
7734,
368,
3813,
18,
409,
4709,
5621,
7734,
2332,
18,
8593,
12,
20,
1769,
5411,
289,
1044,
261,
503,
425,
21,
13,
288,
7734,
425,
21,
18,
1188,
6332,
5621,
5411,
289,
3639,
289,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
4875,
18,
685,
3535,
18,
3644,
18,
4652,
18,
42,
14266,
688,
8863,
3639,
775,
288,
5411,
1842,
18,
1128,
5621,
5411,
5435,
9609,
273,
1842,
18,
588,
20094,
5621,
5411,
2332,
18,
659,
18,
8222,
12443,
12,
1803,
13,
9609,
18,
588,
42,
71,
1358,
2932,
1128,
7923,
2934,
2896,
24332,
10663,
3639,
289,
1044,
261,
503,
425,
13,
288,
5411,
425,
18,
1188,
6332,
5621,
3639,
289,
3095,
288,
5411,
775,
288,
7734,
368,
3813,
18,
409,
4709,
5621,
7734,
2332,
18,
2
] |
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,
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,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
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,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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,
10204,
480,
446,
13,
288,
5411,
775,
288,
7734,
309,
12,
350,
480,
446,
13,
10792,
4516,
18,
4661,
12,
350,
16,
1234,
1769,
7734,
469,
10792,
4516,
18,
4661,
12,
3576,
1769,
5411,
289,
5411,
1044,
12,
15155,
431,
13,
288,
7734,
309,
12,
1330,
18,
291,
668,
1526,
10756,
613,
18,
1636,
2932,
4064,
1546,
397,
3564,
18,
1188,
12,
338,
10019,
5411,
289,
3639,
289,
3639,
469,
288,
5411,
309,
12,
1330,
18,
291,
668,
1526,
10756,
613,
18,
1636,
2932,
4327,
422,
446,
8863,
3639,
289,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
10204,
480,
446,
13,
288,
5411,
775,
288,
7734,
309,
12,
350,
480,
446,
13,
10792,
4516,
18,
4661,
12,
350,
16,
1234,
1769,
7734,
469,
10792,
4516,
18,
4661,
12,
3576,
1769,
5411,
289,
5411,
1044,
12,
15155,
431,
13,
288,
7734,
309,
12,
1330,
18,
291,
668,
1526,
10756,
613,
18,
1636,
2932,
4064,
1546,
397,
3564,
18,
1188,
12,
338,
10019,
5411,
289,
3639,
289,
3639,
469,
288,
5411,
309,
12,
1330,
18,
291,
668,
1526,
10756,
613,
18,
1636,
2
] | |
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,
830,
10370,
281,
67,
1615,
28657,
659,
7216,
19,
6625,
13,
9,
6625,
31,
759,
1564,
3350,
2437,
14872,
291,
82,
9477,
430,
12,
830,
10370,
281,
67,
1615,
631,
20,
15329,
8944,
18,
87,
528,
2932,
2888,
83,
834,
19940,
35,
37,
2835,
77,
1340,
1340,
73,
25885,
6225,
4565,
82,
9477,
5,
4726,
17,
7475,
6598,
1395,
464,
25777,
4043,
5069,
42,
1285,
5,
1555,
21622,
5,
22293,
1404,
2575,
76,
754,
265,
7475,
310,
2152,
359,
76,
1137,
3215,
270,
5787,
9176,
464,
5363,
278,
479,
1283,
88,
1742,
5,
1876,
1164,
1395,
76,
2910,
319,
1568,
79,
869,
2273,
476,
267,
451,
557,
560,
19940,
14271,
70,
11214,
10086,
451,
17181,
20494,
528,
310,
29994,
18,
979,
449,
265,
1404,
70,
1332,
3984,
464,
3732,
19574,
30,
87,
528,
6486,
41,
869,
409,
451,
17181,
6509,
18,
1876,
1202,
7,
23876,
48,
7,
15,
7,
7815,
3307,
321,
12716,
464,
865,
81,
359,
76,
275,
45,
17784,
88,
2960,
310,
869,
19940,
5,
5480,
5,
23987,
2055,
19940,
834,
1727,
7522,
792,
451,
16799,
7330,
264,
26685,
30468,
3350,
83,
1807,
17737,
347,
3839,
310,
270,
451,
359,
1700,
87,
5,
8674,
407,
546,
73,
7,
297,
3870,
464,
3240,
659,
4442,
1769,
14872,
18,
542,
30791,
2932,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
830,
10370,
281,
67,
1615,
28657,
659,
7216,
19,
6625,
13,
9,
6625,
31,
759,
1564,
3350,
2437,
14872,
291,
82,
9477,
430,
12,
830,
10370,
281,
67,
1615,
631,
20,
15329,
8944,
18,
87,
528,
2932,
2888,
83,
834,
19940,
35,
37,
2835,
77,
1340,
1340,
73,
25885,
6225,
4565,
82,
9477,
5,
4726,
17,
7475,
6598,
1395,
464,
25777,
4043,
5069,
42,
1285,
5,
1555,
21622,
5,
22293,
1404,
2575,
76,
754,
265,
7475,
310,
2152,
359,
76,
1137,
3215,
270,
5787,
2
] | ||
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,
3639,
1645,
9100,
273,
374,
31,
3639,
309,
261,
81,
970,
21269,
480,
374,
18,
20,
13,
288,
5411,
368,
4344,
31340,
1967,
1573,
1427,
732,
1338,
1240,
1245,
981,
589,
18,
5411,
309,
261,
81,
970,
21269,
411,
374,
13,
288,
7734,
31340,
273,
300,
81,
970,
21269,
31,
7734,
1573,
273,
300,
21,
31,
5411,
289,
5411,
368,
657,
11908,
460,
358,
6800,
2612,
1048,
18,
5411,
364,
261,
31,
31340,
411,
374,
18,
25,
31,
31340,
6413,
576,
18,
20,
16,
9100,
3947,
21,
13,
288,
289,
5411,
368,
31073,
448,
460,
358,
6800,
3854,
1048,
18,
2868,
364,
261,
31,
31340,
1545,
404,
18,
20,
31,
31340,
6413,
374,
18,
25,
16,
9100,
1011,
21,
13,
288,
289,
3639,
289,
202,
540,
19817,
1076,
563,
273,
10665,
18,
588,
5576,
7675,
2704,
1076,
12,
22,
1769,
7734,
563,
18,
6923,
12,
54,
10340,
4723,
18,
2704,
4723,
12,
18334,
18,
588,
5576,
9334,
1573,
380,
31340,
10019,
3639,
563,
18,
6923,
12,
54,
10340,
4723,
18,
2704,
4723,
12,
18334,
18,
588,
5576,
9334,
9100,
10019,
202,
3639,
327,
563,
31,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
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,
3639,
1645,
9100,
273,
374,
31,
3639,
309,
261,
81,
970,
21269,
480,
374,
18,
20,
13,
288,
5411,
368,
4344,
31340,
1967,
1573,
1427,
732,
1338,
1240,
1245,
981,
589,
18,
5411,
309,
261,
81,
970,
21269,
411,
374,
13,
288,
7734,
31340,
273,
300,
81,
970,
21269,
31,
7734,
1573,
273,
300,
21,
31,
5411,
289,
5411,
368,
657,
11908,
460,
358,
6800,
2612,
1048,
18,
5411,
364,
261,
31,
31340,
411,
374,
18,
25,
31,
31340,
6413,
576,
18,
20,
16,
9100,
2
] |
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,
14400,
8847,
5621,
1082,
202,
76,
986,
264,
273,
394,
14881,
24096,
986,
264,
12,
1125,
2075,
8847,
1769,
202,
202,
97,
1044,
261,
503,
1520,
13,
202,
202,
95,
1082,
202,
4901,
18,
1636,
2932,
4445,
486,
10275,
1244,
2075,
8847,
578,
4855,
24096,
986,
264,
30,
3104,
6862,
202,
4064,
18,
24906,
10663,
1082,
202,
4901,
18,
4148,
12,
4064,
1769,
202,
202,
97,
202,
97,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
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,
14400,
8847,
5621,
1082,
202,
76,
986,
264,
273,
394,
14881,
24096,
986,
264,
12,
1125,
2075,
8847,
1769,
202,
202,
97,
1044,
261,
503,
1520,
13,
202,
202,
95,
1082,
202,
4901,
18,
1636,
2932,
4445,
486,
10275,
1244,
2075,
8847,
578,
4855,
24096,
986,
264,
30,
3104,
6862,
202,
4064,
18,
24906,
10663,
1082,
202,
4901,
18,
4148,
12,
4064,
1769,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
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,
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,
3056,
4719,
12,
3666,
16,
28451,
396,
18,
588,
26022,
2543,
9334,
28451,
396,
18,
588,
29524,
6024,
414,
9334,
3971,
1769,
1071,
225,
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,
918,
225,
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,
18007,
3587,
12,
4446,
225,
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,
3981,
16,
225,
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,
509,
225,
27653,
2257,
2157,
7675,
9083,
3056,
4719,
12,
3666,
16,
28451,
396,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
3056,
4719,
12,
3666,
16,
28451,
396,
18,
588,
26022,
2543,
9334,
28451,
396,
18,
588,
29524,
6024,
414,
9334,
3971,
1769,
1071,
225,
27653,
2257,
2157,
7675,
9083,
2
] | |
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,
1447,
751,
13,
87,
3211,
31,
202,
202,
430,
261,
9565,
18,
2738,
12,
4808,
77,
16,
272,
3211,
3719,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
7734,
501,
18,
5303,
2309,
273,
2191,
18,
588,
5580,
1225,
1435,
34,
20,
597,
2191,
18,
1202,
4497,
1891,
5621,
1171,
9506,
202,
892,
18,
1966,
33,
2704,
5130,
12,
3901,
18,
588,
4254,
10663,
6862,
7734,
309,
261,
588,
1429,
2781,
7675,
291,
7736,
6303,
9314,
10756,
7734,
288,
10792,
3852,
261,
588,
1429,
10756,
288,
501,
18,
1966,
18,
3612,
12,
588,
1429,
7675,
588,
3830,
461,
9334,
25290,
734,
10663,
289,
7734,
289,
7734,
469,
7734,
288,
10792,
501,
18,
1966,
18,
3612,
12,
588,
7003,
734,
10663,
7734,
289,
1171,
9506,
202,
1330,
8252,
2932,
8932,
358,
2063,
8247,
15,
3901,
18,
588,
4254,
1435,
9078,
65,
261,
7371,
1546,
15,
3901,
18,
588,
5580,
1225,
1435,
9078,
2225,
1769,
9506,
202,
892,
18,
1966,
18,
542,
5580,
12,
3901,
18,
588,
5580,
1225,
10663,
6862,
7734,
309,
16051,
3901,
18,
291,
7003,
310,
1526,
1435,
597,
401,
3901,
18,
291,
7147,
382,
974,
10756,
7734,
288,
10792,
309,
261,
3901,
18,
27201,
1388,
1435,
597,
1927,
1101,
1435,
631,
20,
13,
368,
5098,
326,
1122,
1245,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1447,
751,
13,
87,
3211,
31,
202,
202,
430,
261,
9565,
18,
2738,
12,
4808,
77,
16,
272,
3211,
3719,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
7734,
501,
18,
5303,
2309,
273,
2191,
18,
588,
5580,
1225,
1435,
34,
20,
597,
2191,
18,
1202,
4497,
1891,
5621,
1171,
9506,
202,
892,
18,
1966,
33,
2704,
5130,
12,
3901,
18,
588,
4254,
10663,
6862,
7734,
309,
261,
588,
1429,
2781,
7675,
291,
7736,
6303,
9314,
10756,
7734,
288,
10792,
3852,
261,
2
] |
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,
2932,
3061,
555,
30,
26877,
770,
711,
486,
2118,
4374,
8863,
1377,
289,
565,
2144,
2067,
273,
261,
4522,
21433,
71,
347,
67,
1615,
18,
588,
12,
4057,
18,
588,
984,
18638,
1435,
10019,
565,
309,
261,
3465,
422,
446,
13,
1377,
604,
394,
525,
345,
668,
2932,
1180,
315,
397,
3283,
397,
315,
486,
316,
326,
667,
8863,
565,
327,
14015,
6620,
21433,
3465,
18,
474,
620,
1435,
10019,
225,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
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,
2932,
3061,
555,
30,
26877,
770,
711,
486,
2118,
4374,
8863,
1377,
289,
565,
2144,
2067,
273,
261,
4522,
21433,
71,
347,
67,
1615,
18,
588,
12,
4057,
18,
588,
984,
18638,
1435,
10019,
565,
309,
261,
3465,
422,
446,
13,
1377,
604,
394,
525,
345,
668,
2932,
1180,
315,
397,
3283,
397,
315,
486,
316,
326,
667,
8863,
565,
327,
14015,
6620,
21433,
3465,
18,
474,
620,
1435,
10019,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
2379,
309,
1281,
18,
1377,
368,
971,
1158,
1566,
2379,
16,
752,
14385,
1245,
16,
471,
444,
2478,
18,
565,
1033,
14615,
273,
4764,
1805,
18,
588,
6955,
620,
5621,
565,
3601,
1852,
1652,
31,
565,
309,
12,
4764,
1805,
18,
588,
2996,
1435,
480,
446,
262,
1377,
288,
1377,
775,
3639,
288,
3639,
1652,
273,
14015,
1499,
1852,
13,
4589,
620,
1769,
3639,
289,
4202,
1044,
12,
24034,
431,
262,
3639,
288,
3639,
1652,
273,
394,
23931,
879,
1845,
1499,
12,
14615,
11272,
3639,
289,
1377,
1652,
18,
542,
2996,
12,
12985,
1805,
18,
588,
2996,
10663,
1377,
14615,
273,
1652,
31,
1377,
289,
368,
679,
309,
1377,
368,
2037,
527,
1566,
358,
16307,
982,
261,
77,
18,
73,
18,
294,
333,
733,
13,
565,
1378,
1499,
12,
4764,
1805,
18,
17994,
9334,
14615,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
2379,
309,
1281,
18,
1377,
368,
971,
1158,
1566,
2379,
16,
752,
14385,
1245,
16,
471,
444,
2478,
18,
565,
1033,
14615,
273,
4764,
1805,
18,
588,
6955,
620,
5621,
565,
3601,
1852,
1652,
31,
565,
309,
12,
4764,
1805,
18,
588,
2996,
1435,
480,
446,
262,
1377,
288,
1377,
775,
3639,
288,
3639,
1652,
273,
14015,
1499,
1852,
13,
4589,
620,
1769,
3639,
289,
4202,
1044,
12,
24034,
431,
262,
3639,
288,
3639,
1652,
273,
394,
23931,
879,
1845,
1499,
12,
14615,
11272,
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,
5374,
18,
588,
797,
1862,
1305,
4419,
5374,
5621,
5411,
1661,
6014,
4712,
18,
1289,
12,
11982,
16466,
1305,
1769,
3639,
289,
3639,
727,
6674,
4289,
1892,
31,
9079,
309,
12,
723,
1276,
453,
7722,
27182,
15329,
5411,
4289,
1892,
273,
394,
6674,
2932,
1126,
8863,
5411,
1323,
12,
318,
18704,
559,
1276,
453,
7722,
27182,
15329,
7734,
727,
453,
7722,
27182,
526,
559,
273,
261,
52,
7722,
27182,
13,
26917,
559,
31,
7734,
26917,
559,
273,
526,
559,
18,
588,
28116,
5621,
7734,
4289,
1892,
18,
6923,
2932,
8,
8863,
5411,
289,
3639,
289,
469,
95,
5411,
4289,
1892,
273,
394,
6674,
12,
5237,
67,
13204,
67,
5327,
67,
6307,
1769,
3639,
289,
3639,
309,
12,
318,
18704,
559,
1276,
453,
7722,
9840,
559,
15329,
5411,
727,
453,
7722,
9840,
559,
8225,
559,
273,
261,
52,
7722,
9840,
559,
13,
26917,
559,
31,
5411,
4289,
1892,
18,
6923,
12,
4419,
5374,
18,
2640,
9840,
559,
12,
683,
5025,
559,
10019,
3639,
289,
469,
95,
5411,
727,
514,
977,
273,
26917,
559,
18,
588,
15512,
1528,
7675,
2079,
2668,
1093,
16,
28524,
540,
3365,
8284,
5411,
4289,
1892,
18,
6923,
12,
955,
1769,
3639,
289,
3639,
727,
514,
4289,
273,
4289,
1892,
18,
10492,
5621,
3639,
727,
8596,
5374,
3140,
5374,
273,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5374,
18,
588,
797,
1862,
1305,
4419,
5374,
5621,
5411,
1661,
6014,
4712,
18,
1289,
12,
11982,
16466,
1305,
1769,
3639,
289,
3639,
727,
6674,
4289,
1892,
31,
9079,
309,
12,
723,
1276,
453,
7722,
27182,
15329,
5411,
4289,
1892,
273,
394,
6674,
2932,
1126,
8863,
5411,
1323,
12,
318,
18704,
559,
1276,
453,
7722,
27182,
15329,
7734,
727,
453,
7722,
27182,
526,
559,
273,
261,
52,
7722,
27182,
13,
26917,
559,
31,
7734,
26917,
559,
273,
526,
559,
18,
588,
28116,
5621,
7734,
2
] | |
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,
12,
4652,
3719,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
74,
4201,
2499,
7171,
18,
1289,
1046,
12,
4652,
1769,
202,
202,
759,
1744,
1794,
1807,
16332,
4467,
202,
202,
780,
8526,
16332,
8696,
273,
1794,
18,
588,
5650,
9367,
8696,
5621,
202,
202,
1289,
5650,
9367,
8696,
12,
12916,
8696,
1769,
540,
202,
202,
759,
1744,
1794,
1807,
16332,
1790,
202,
202,
780,
8526,
16332,
2297,
273,
1794,
18,
588,
5650,
9367,
2297,
5621,
202,
202,
1289,
5650,
9367,
2297,
12,
12916,
2297,
1769,
202,
202,
759,
444,
805,
924,
202,
202,
430,
261,
12916,
8696,
480,
446,
13,
288,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
16332,
8696,
18,
2469,
31,
277,
27245,
288,
9506,
202,
780,
2572,
548,
273,
16332,
8696,
63,
77,
15533,
9506,
202,
5507,
919,
273,
1794,
18,
588,
4595,
1868,
12,
7238,
548,
1769,
9506,
202,
430,
261,
2019,
480,
446,
13,
288,
6862,
202,
1893,
4595,
12,
7238,
548,
1769,
6862,
202,
74,
8696,
18,
458,
12,
7238,
548,
16,
919,
1769,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
430,
261,
12916,
2297,
480,
446,
13,
288,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
16332,
2297,
18,
2469,
31,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12,
4652,
3719,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
74,
4201,
2499,
7171,
18,
1289,
1046,
12,
4652,
1769,
202,
202,
759,
1744,
1794,
1807,
16332,
4467,
202,
202,
780,
8526,
16332,
8696,
273,
1794,
18,
588,
5650,
9367,
8696,
5621,
202,
202,
1289,
5650,
9367,
8696,
12,
12916,
8696,
1769,
540,
202,
202,
759,
1744,
1794,
1807,
16332,
1790,
202,
202,
780,
8526,
16332,
2297,
273,
1794,
18,
588,
5650,
9367,
2297,
5621,
202,
202,
1289,
5650,
9367,
2297,
2
] |
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,
7145,
3744,
5621,
202,
202,
6741,
18,
2107,
3380,
273,
576,
31,
202,
202,
31936,
9400,
18,
542,
3744,
12,
6741,
1769,
202,
202,
780,
1433,
273,
28310,
5058,
18,
588,
780,
2932,
1441,
72,
1811,
9624,
1964,
18,
31936,
1964,
18,
7032,
2384,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
1289,
16157,
12,
31936,
9400,
16,
1433,
16,
385,
1830,
18415,
1750,
18,
3670,
10830,
67,
28899,
67,
10023,
16,
576,
16,
374,
16,
638,
1769,
202,
202,
1925,
273,
28310,
5058,
18,
588,
780,
2932,
1441,
72,
1811,
9624,
1964,
18,
31936,
1964,
18,
10107,
1494,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
1289,
16157,
12,
31936,
9400,
16,
1433,
16,
4115,
7859,
690,
1528,
6946,
9624,
2918,
18,
13208,
67,
19350,
67,
19772,
7702,
67,
11009,
16,
1059,
16,
374,
16,
638,
1769,
202,
202,
1925,
273,
28310,
5058,
18,
588,
780,
2932,
1441,
72,
1811,
9624,
1964,
18,
31936,
1964,
18,
7032,
3819,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
1289,
19174,
12,
31936,
9400,
16,
1433,
16,
385,
6946,
18,
6616,
55,
67,
7473,
67,
28899,
55,
16,
374,
1769,
202,
202,
1925,
273,
28310,
5058,
18,
588,
780,
2932,
1441,
72,
1811,
9624,
1964,
18,
31936,
1964,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7145,
3744,
5621,
202,
202,
6741,
18,
2107,
3380,
273,
576,
31,
202,
202,
31936,
9400,
18,
542,
3744,
12,
6741,
1769,
202,
202,
780,
1433,
273,
28310,
5058,
18,
588,
780,
2932,
1441,
72,
1811,
9624,
1964,
18,
31936,
1964,
18,
7032,
2384,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
1289,
16157,
12,
31936,
9400,
16,
1433,
16,
385,
1830,
18415,
1750,
18,
3670,
10830,
67,
28899,
67,
10023,
16,
576,
16,
374,
16,
638,
1769,
202,
202,
1925,
273,
2
] |
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,
202,
430,
261,
2154,
480,
446,
262,
288,
1082,
202,
1289,
2223,
1586,
2932,
14818,
2223,
67,
21631,
2885,
3113,
333,
16,
25130,
367,
2223,
18,
588,
14889,
12,
4060,
10019,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
202,
202,
4060,
273,
14015,
1767,
13,
2564,
7675,
588,
1488,
1435,
2934,
588,
2885,
12,
14818,
2261,
18,
73,
13341,
18,
588,
15512,
2885,
10663,
202,
202,
430,
261,
2154,
480,
446,
262,
288,
1082,
202,
1289,
2223,
1586,
2932,
14818,
2223,
67,
15512,
2885,
3113,
333,
16,
2154,
1769,
225,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
202,
202,
9565,
18,
10014,
5621,
202,
97,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
202,
430,
261,
2154,
480,
446,
262,
288,
1082,
202,
1289,
2223,
1586,
2932,
14818,
2223,
67,
21631,
2885,
3113,
333,
16,
25130,
367,
2223,
18,
588,
14889,
12,
4060,
10019,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
202,
202,
4060,
273,
14015,
1767,
13,
2564,
7675,
588,
1488,
1435,
2934,
588,
2885,
12,
14818,
2261,
18,
73,
13341,
18,
588,
15512,
2885,
10663,
202,
202,
430,
261,
2154,
480,
446,
262,
288,
1082,
202,
1289,
2223,
1586,
2932,
14818,
2223,
2
] |
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
2938,
16,
348,
8588,
18,
9826,
1769,
3639,
7145,
3744,
3511,
273,
394,
7145,
3744,
5621,
3639,
1301,
2785,
9400,
18,
542,
3744,
12,
6741,
1769,
3639,
501,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
67,
38,
18307,
1769,
3639,
1301,
2785,
9400,
18,
542,
3744,
751,
12,
892,
1769,
3639,
368,
6766,
2777,
1433,
3639,
5287,
1433,
273,
394,
5287,
12,
1128,
2785,
9400,
16,
348,
8588,
18,
27664,
1769,
3639,
1433,
7734,
263,
542,
1528,
12,
5106,
18,
4376,
12,
2421,
22144,
5058,
18,
1803,
694,
6233,
67,
4025,
1803,
2785,
2224,
16,
10422,
16772,
18,
588,
4217,
7675,
588,
2224,
1435,
262,
1769,
3639,
501,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
67,
38,
18307,
1769,
3639,
501,
18,
2819,
7002,
273,
7567,
55,
67,
10023,
31,
3639,
1433,
18,
542,
3744,
751,
12,
892,
1769,
3639,
5287,
5478,
273,
394,
5287,
12,
1128,
2785,
9400,
16,
348,
8588,
18,
44,
20344,
7734,
571,
348,
8588,
18,
4550,
1769,
3639,
501,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
1769,
3639,
5478,
18,
542,
3744,
751,
12,
892,
1769,
3639,
348,
961,
1204,
272,
961,
9400,
273,
394,
348,
961,
1204,
12,
1128,
2785,
9400,
16,
7734,
348,
8588,
18,
44,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2938,
16,
348,
8588,
18,
9826,
1769,
3639,
7145,
3744,
3511,
273,
394,
7145,
3744,
5621,
3639,
1301,
2785,
9400,
18,
542,
3744,
12,
6741,
1769,
3639,
501,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
67,
38,
18307,
1769,
3639,
1301,
2785,
9400,
18,
542,
3744,
751,
12,
892,
1769,
3639,
368,
6766,
2777,
1433,
3639,
5287,
1433,
273,
394,
5287,
12,
1128,
2785,
9400,
16,
348,
8588,
18,
27664,
1769,
3639,
1433,
7734,
263,
542,
1528,
12,
5106,
18,
4376,
12,
2
] |
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,
3607,
18,
202,
1195,
202,
482,
760,
667,
16832,
288,
202,
202,
26873,
14206,
11387,
364,
22245,
1633,
358,
9395,
300,
714,
315,
315,
1195,
202,
202,
3845,
727,
514,
8526,
16145,
55,
273,
368,
11329,
1206,
12156,
1839,
8630,
619,
586,
35,
1082,
202,
2704,
514,
8526,
288,
315,
6976,
22,
3104,
315,
6976,
23,
3104,
315,
6976,
24,
3104,
315,
6976,
21,
3104,
315,
17172,
3104,
315,
21,
11984,
315,
289,
31,
3196,
202,
482,
727,
514,
1047,
31,
202,
202,
482,
727,
514,
8630,
31,
202,
202,
1152,
727,
514,
8526,
22245,
31,
202,
202,
1152,
1250,
2363,
13211,
31,
202,
202,
1152,
1250,
2363,
2951,
4083,
31,
202,
202,
13211,
12,
780,
1047,
16,
514,
8630,
13,
288,
1082,
202,
2211,
12,
2692,
16,
8630,
16,
261,
780,
63,
5717,
446,
1769,
202,
202,
97,
202,
202,
13211,
12,
780,
1047,
16,
514,
8630,
16,
514,
22245,
13,
288,
1082,
202,
2211,
12,
2692,
16,
8630,
16,
394,
514,
8526,
288,
22245,
15549,
202,
202,
97,
202,
202,
13211,
12,
1082,
202,
780,
1047,
16,
1082,
202,
780,
8630,
16,
1082,
202,
780,
22245,
16,
1082,
202,
780,
3770,
2951,
4083,
13,
288,
1082,
202,
2211,
12,
2692,
16,
8630,
16,
394,
514,
8526,
288,
22245,
16,
3770,
2951,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3607,
18,
202,
1195,
202,
482,
760,
667,
16832,
288,
202,
202,
26873,
14206,
11387,
364,
22245,
1633,
358,
9395,
300,
714,
315,
315,
1195,
202,
202,
3845,
727,
514,
8526,
16145,
55,
273,
368,
11329,
1206,
12156,
1839,
8630,
619,
586,
35,
1082,
202,
2704,
514,
8526,
288,
315,
6976,
22,
3104,
315,
6976,
23,
3104,
315,
6976,
24,
3104,
315,
6976,
21,
3104,
315,
17172,
3104,
315,
21,
11984,
315,
289,
31,
3196,
202,
482,
727,
514,
1047,
31,
202,
202,
482,
727,
2
] |
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,
3399,
461,
16,
638,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
565,
1522,
863,
18,
542,
780,
2932,
9375,
461,
3113,
3399,
6841,
461,
16,
638,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
565,
1522,
863,
18,
542,
780,
2932,
12434,
3113,
3399,
3834,
16,
638,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
565,
309,
261,
4811,
3054,
480,
446,
13,
288,
1377,
1522,
863,
18,
542,
780,
2932,
2938,
3113,
3399,
3054,
18,
17994,
9334,
638,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
565,
289,
565,
1522,
863,
18,
542,
5507,
2932,
17703,
281,
4710,
3113,
3399,
18755,
4710,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
565,
1522,
863,
18,
542,
5507,
2932,
291,
7469,
1943,
3113,
3399,
7469,
1943,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
565,
1522,
863,
18,
542,
5507,
2932,
896,
3386,
3113,
3399,
12066,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
565,
1522,
863,
18,
542,
780,
2932,
30604,
310,
16185,
3113,
3399,
29371,
310,
16185,
16,
638,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
565,
1522,
863,
18,
542,
780,
2932,
9375,
1138,
3113,
3399,
6841,
1138,
16,
638,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
565,
1522,
863,
18,
542,
4522,
2932,
1896,
9226,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3399,
461,
16,
638,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
565,
1522,
863,
18,
542,
780,
2932,
9375,
461,
3113,
3399,
6841,
461,
16,
638,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
565,
1522,
863,
18,
542,
780,
2932,
12434,
3113,
3399,
3834,
16,
638,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
565,
309,
261,
4811,
3054,
480,
446,
13,
288,
1377,
1522,
863,
18,
542,
780,
2932,
2938,
3113,
3399,
3054,
18,
17994,
9334,
638,
1769,
4329,
3993,
2
] |
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,
30,
892,
30,
2630,
8863,
202,
202,
11231,
8867,
12,
2630,
16,
1161,
1769,
202,
202,
2919,
273,
810,
18,
4720,
1841,
2932,
2630,
8863,
202,
202,
11231,
8867,
12,
2630,
16,
1161,
1769,
202,
97,
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,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
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,
30,
892,
30,
2630,
8863,
202,
202,
11231,
8867,
12,
2630,
16,
1161,
1769,
202,
202,
2919,
273,
810,
18,
4720,
1841,
2932,
2630,
8863,
202,
202,
11231,
8867,
12,
2630,
16,
1161,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
288,
1082,
202,
10259,
273,
394,
4112,
5491,
7187,
5621,
202,
202,
97,
202,
202,
10259,
9506,
202,
18,
10086,
2174,
12,
25083,
202,
9569,
310,
5058,
6862,
9506,
202,
18,
588,
780,
2932,
59,
51,
5852,
2042,
3208,
9569,
1750,
9586,
18,
9569,
310,
2777,
67,
21,
6,
3631,
467,
5491,
7187,
18,
14737,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
759,
866,
364,
7272,
202,
202,
430,
261,
10259,
18,
291,
23163,
10756,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
5852,
4109,
2252,
4109,
273,
261,
5852,
4109,
13,
261,
2211,
9506,
202,
18,
588,
5852,
4109,
12,
7025,
2934,
588,
4216,
12,
5852,
4109,
18,
1106,
10019,
202,
202,
780,
2774,
7947,
273,
3929,
6376,
7947,
12,
7025,
1769,
202,
202,
45,
7397,
6410,
4268,
273,
3929,
7397,
6410,
12,
7025,
1769,
202,
202,
45,
7397,
9709,
8419,
273,
4268,
18,
588,
7397,
9709,
12,
3188,
1769,
202,
202,
430,
261,
18156,
422,
446,
13,
288,
1082,
202,
430,
261,
3188,
422,
467,
9569,
1318,
18,
9394,
67,
7038,
13,
288,
9506,
202,
18623,
12,
25083,
202,
1079,
1630,
6862,
9506,
202,
18,
2139,
12,
6862,
25083,
202,
9569,
310,
5058,
6862,
6862,
9506,
202,
18,
588,
780,
2932,
59,
51,
5852,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
288,
1082,
202,
10259,
273,
394,
4112,
5491,
7187,
5621,
202,
202,
97,
202,
202,
10259,
9506,
202,
18,
10086,
2174,
12,
25083,
202,
9569,
310,
5058,
6862,
9506,
202,
18,
588,
780,
2932,
59,
51,
5852,
2042,
3208,
9569,
1750,
9586,
18,
9569,
310,
2777,
67,
21,
6,
3631,
467,
5491,
7187,
18,
14737,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
759,
866,
364,
7272,
202,
202,
430,
261,
10259,
18,
291,
23163,
10756,
288,
1082,
202,
2463,
31,
2
] |
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,
14655,
6291,
16667,
2891,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
14655,
6291,
16667,
2891,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
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,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
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,
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,
14655,
6291,
16667,
2891,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
14655,
6291,
16667,
2891,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
1862,
856,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
12443,
780,
13,
5302,
3843,
2932,
2390,
3113,
336,
10655,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
10655,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
653,
12443,
780,
13,
5302,
3843,
2932,
2390,
653,
3113,
336,
10655,
653,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
10655,
653,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
8853,
12443,
12,
5507,
13,
5302,
3843,
2932,
9278,
3113,
336,
8853,
4742,
9334,
4766,
5411,
3411,
18,
1106,
13,
2934,
13491,
16708,
10663,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
8853,
12,
5743,
1769,
3639,
289,
3639,
775,
288,
5411,
10446,
461,
12443,
780,
13,
5302,
3843,
2932,
350,
461,
3113,
2634,
461,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
10446,
461,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
15034,
12443,
12,
5507,
13,
5302,
3843,
2932,
19626,
3113,
8088,
329,
4742,
9334,
4766,
6647,
3411,
18,
1106,
13,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
1862,
856,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
12443,
780,
13,
5302,
3843,
2932,
2390,
3113,
336,
10655,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
10655,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
653,
12443,
780,
13,
5302,
3843,
2932,
2390,
653,
3113,
336,
10655,
653,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
2
] | |
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,
1769,
5037,
353,
273,
880,
18,
3190,
1228,
5621,
316,
273,
394,
10633,
12,
2704,
15322,
12,
291,
10019,
289,
225,
1044,
261,
18695,
20160,
14749,
338,
13,
288,
225,
316,
273,
446,
31,
289,
1044,
261,
14106,
2527,
338,
13,
288,
1772,
18,
6006,
668,
12,
6364,
668,
13289,
18,
24906,
12,
315,
3576,
18,
15195,
496,
18,
3190,
18,
718,
3113,
1544,
16,
2527,
338,
18,
10492,
1435,
10019,
16067,
273,
28407,
5572,
67,
3776,
67,
4400,
67,
9294,
31,
327,
31,
289,
225,
309,
261,
267,
422,
446,
13,
288,
2398,
775,
288,
7734,
316,
273,
394,
8547,
823,
2514,
12,
2704,
23010,
12,
3459,
10019,
7734,
509,
276,
273,
316,
18,
896,
5621,
7734,
368,
13619,
326,
9070,
2728,
468,
5,
6279,
30,
225,
971,
7734,
368,
326,
1122,
980,
17874,
598,
279,
2946,
2187,
10116,
326,
7339,
7734,
368,
980,
487,
279,
2879,
18,
7734,
309,
261,
71,
422,
2946,
6134,
288,
10792,
1323,
14015,
71,
273,
316,
18,
896,
10756,
480,
300,
21,
13,
288,
13491,
309,
261,
71,
422,
2337,
82,
11,
747,
276,
422,
2337,
86,
6134,
18701,
898,
31,
10792,
289,
10792,
14015,
7621,
823,
2514,
13,
316,
2934,
318,
896,
12,
71,
1769,
7734,
289,
469,
288,
10792,
368,
2631,
6501,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1769,
5037,
353,
273,
880,
18,
3190,
1228,
5621,
316,
273,
394,
10633,
12,
2704,
15322,
12,
291,
10019,
289,
225,
1044,
261,
18695,
20160,
14749,
338,
13,
288,
225,
316,
273,
446,
31,
289,
1044,
261,
14106,
2527,
338,
13,
288,
1772,
18,
6006,
668,
12,
6364,
668,
13289,
18,
24906,
12,
315,
3576,
18,
15195,
496,
18,
3190,
18,
718,
3113,
1544,
16,
2527,
338,
18,
10492,
1435,
10019,
16067,
273,
28407,
5572,
67,
3776,
67,
4400,
67,
9294,
31,
327,
2
] |
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,
24442,
2886,
7697,
3113,
833,
11272,
5411,
309,
261,
393,
480,
446,
262,
327,
393,
31,
5411,
4088,
273,
394,
423,
7358,
77,
24442,
2886,
5621,
5411,
4088,
18,
542,
19680,
2276,
12,
333,
18,
588,
19680,
2276,
1435,
11272,
5411,
1748,
866,
1109,
1456,
18,
1195,
5411,
309,
261,
19955,
12,
296,
74,
11,
262,
262,
288,
7734,
368,
1262,
3059,
1390,
7734,
514,
7529,
966,
812,
273,
4612,
397,
4016,
397,
611,
1157,
41,
5923,
67,
3776,
31,
7734,
514,
7529,
22,
8973,
812,
273,
4612,
397,
4016,
397,
611,
1157,
41,
22,
31110,
4475,
67,
3776,
31,
7734,
4088,
18,
945,
12,
7529,
966,
812,
16,
7529,
22,
8973,
812,
16,
638,
11272,
21821,
289,
469,
288,
1748,
3467,
358,
4224,
1390,
26693,
2357,
18,
1195,
7734,
4088,
18,
945,
5621,
5411,
289,
3639,
289,
1044,
261,
1860,
425,
262,
288,
5411,
604,
394,
3235,
12,
425,
11272,
3639,
289,
3639,
327,
446,
31,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
24442,
2886,
7697,
3113,
833,
11272,
5411,
309,
261,
393,
480,
446,
262,
327,
393,
31,
5411,
4088,
273,
394,
423,
7358,
77,
24442,
2886,
5621,
5411,
4088,
18,
542,
19680,
2276,
12,
333,
18,
588,
19680,
2276,
1435,
11272,
5411,
1748,
866,
1109,
1456,
18,
1195,
5411,
309,
261,
19955,
12,
296,
74,
11,
262,
262,
288,
7734,
368,
1262,
3059,
1390,
7734,
514,
7529,
966,
812,
273,
4612,
397,
4016,
397,
611,
1157,
41,
5923,
67,
3776,
31,
7734,
514,
7529,
22,
8973,
2
] |
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,
4881,
480,
446,
13,
1377,
288,
3639,
13037,
272,
273,
5915,
18,
588,
16028,
1225,
12,
2211,
1769,
3639,
309,
261,
87,
480,
446,
13,
1850,
11307,
1225,
273,
272,
31,
1377,
289,
565,
309,
261,
25724,
1225,
422,
446,
13,
1377,
11307,
1225,
273,
2240,
18,
588,
16028,
1225,
5621,
565,
368,
1221,
3071,
716,
11307,
1225,
353,
486,
10648,
2353,
29343,
565,
309,
261,
15903,
1225,
480,
446,
597,
11307,
1225,
480,
446,
3639,
597,
261,
15903,
1225,
18,
2819,
405,
11307,
1225,
18,
2819,
5411,
747,
5224,
1225,
18,
4210,
405,
11307,
1225,
18,
4210,
3719,
3639,
11307,
1225,
273,
394,
13037,
12,
10477,
18,
1896,
12,
15903,
1225,
18,
2819,
16,
11307,
1225,
18,
2819,
3631,
4766,
2361,
18,
1896,
12,
15903,
1225,
18,
4210,
16,
11307,
1225,
18,
4210,
10019,
565,
327,
11307,
1225,
31,
225,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
4881,
480,
446,
13,
1377,
288,
3639,
13037,
272,
273,
5915,
18,
588,
16028,
1225,
12,
2211,
1769,
3639,
309,
261,
87,
480,
446,
13,
1850,
11307,
1225,
273,
272,
31,
1377,
289,
565,
309,
261,
25724,
1225,
422,
446,
13,
1377,
11307,
1225,
273,
2240,
18,
588,
16028,
1225,
5621,
565,
368,
1221,
3071,
716,
11307,
1225,
353,
486,
10648,
2353,
29343,
565,
309,
261,
15903,
1225,
480,
446,
597,
11307,
1225,
480,
446,
3639,
597,
261,
15903,
1225,
18,
2819,
405,
11307,
2
] | |
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,
405,
374,
13,
565,
288,
1377,
741,
1377,
288,
3639,
2003,
1016,
273,
312,
67,
3239,
7742,
18,
31806,
12,
1650,
16,
965,
1650,
1016,
1769,
1377,
289,
1323,
261,
261,
1650,
1016,
473,
374,
92,
1611,
13,
422,
374,
1769,
1377,
309,
261,
1650,
1016,
1545,
374,
13,
1377,
288,
3639,
1633,
273,
261,
780,
13,
312,
67,
3239,
7742,
18,
2956,
861,
12,
1650,
1016,
300,
404,
1769,
1377,
289,
1377,
469,
309,
261,
2011,
480,
12621,
13,
1377,
288,
3639,
509,
3133,
50,
1260,
881,
273,
12621,
18,
31806,
2668,
2497,
1769,
3639,
309,
261,
85,
529,
18,
14963,
2932,
16741,
6,
3719,
1850,
1633,
273,
1408,
31,
3639,
469,
309,
261,
85,
529,
18,
17514,
1190,
2932,
16741,
2773,
3719,
1850,
1633,
273,
12621,
18,
28023,
12,
31806,
50,
1260,
881,
397,
404,
1769,
3639,
469,
1850,
1633,
273,
261,
31806,
50,
1260,
881,
405,
374,
13,
10402,
692,
12621,
18,
28023,
12,
20,
16,
3133,
50,
1260,
881,
13,
294,
446,
31,
1377,
289,
1377,
469,
1377,
288,
3639,
1633,
273,
446,
31,
225,
368,
5317,
1377,
289,
565,
289,
565,
469,
309,
261,
2011,
480,
12621,
13,
565,
288,
1377,
509,
3133,
50,
1260,
881,
273,
12621,
18,
31806,
2668,
2497,
1769,
1377,
309,
261,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
405,
374,
13,
565,
288,
1377,
741,
1377,
288,
3639,
2003,
1016,
273,
312,
67,
3239,
7742,
18,
31806,
12,
1650,
16,
965,
1650,
1016,
1769,
1377,
289,
1323,
261,
261,
1650,
1016,
473,
374,
92,
1611,
13,
422,
374,
1769,
1377,
309,
261,
1650,
1016,
1545,
374,
13,
1377,
288,
3639,
1633,
273,
261,
780,
13,
312,
67,
3239,
7742,
18,
2956,
861,
12,
1650,
1016,
300,
404,
1769,
1377,
289,
1377,
469,
309,
261,
2011,
480,
12621,
13,
1377,
288,
3639,
2
] |
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,
92,
16,
871,
18,
93,
1769,
5411,
293,
18,
93,
1011,
397,
2575,
18,
4210,
31,
5411,
18451,
6351,
367,
18,
2211,
18,
4500,
682,
12,
7032,
3899,
18,
588,
3367,
7675,
588,
13220,
9334,
293,
18,
92,
16,
293,
18,
93,
1769,
3639,
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,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
0
] | [
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,
92,
16,
871,
18,
93,
1769,
5411,
293,
18,
93,
1011,
397,
2575,
18,
4210,
31,
5411,
18451,
6351,
367,
18,
2211,
18,
4500,
682,
12,
7032,
3899,
18,
588,
3367,
7675,
588,
13220,
9334,
293,
18,
92,
16,
293,
18,
93,
1769,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] | |
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,
18,
542,
17709,
2932,
71,
6904,
8863,
3639,
309,
261,
3729,
480,
446,
13,
288,
5411,
20894,
18,
542,
14836,
2853,
12,
3729,
1769,
3639,
289,
3639,
309,
261,
71,
6904,
3085,
480,
446,
13,
288,
5411,
20894,
18,
2640,
1379,
7675,
542,
620,
2932,
17,
72,
8863,
5411,
20894,
18,
2640,
1379,
7675,
542,
620,
12,
71,
6904,
3085,
1769,
3639,
289,
3639,
20894,
18,
2640,
1379,
7675,
542,
620,
2932,
17,
85,
8863,
3639,
309,
261,
3729,
480,
446,
13,
288,
20894,
18,
542,
14836,
2853,
12,
3729,
1769,
20894,
18,
2640,
1379,
7675,
542,
620,
2932,
1330,
8863,
289,
469,
288,
20894,
18,
2640,
1379,
7675,
542,
620,
2932,
86,
1330,
8863,
289,
7734,
1250,
999,
1414,
273,
1047,
422,
446,
747,
1047,
18,
14963,
2932,
12458,
7923,
747,
1047,
18,
14963,
2932,
8863,
3639,
309,
261,
1202,
1414,
13,
288,
5411,
20894,
18,
2640,
1379,
7675,
542,
620,
2932,
17,
50,
8863,
3639,
289,
3639,
514,
1509,
2655,
273,
740,
39,
14640,
1626,
12,
2722,
3116,
950,
13,
397,
18165,
397,
740,
39,
14640,
1626,
12,
1893,
950,
1769,
3639,
20894,
18,
2640,
1379,
7675,
542,
620,
2932,
17,
72,
6,
397,
1509,
2655,
1769,
3639,
309,
16051,
1202,
1414,
13,
288,
5411,
368,
527,
300,
70,
471,
300,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18,
542,
17709,
2932,
71,
6904,
8863,
3639,
309,
261,
3729,
480,
446,
13,
288,
5411,
20894,
18,
542,
14836,
2853,
12,
3729,
1769,
3639,
289,
3639,
309,
261,
71,
6904,
3085,
480,
446,
13,
288,
5411,
20894,
18,
2640,
1379,
7675,
542,
620,
2932,
17,
72,
8863,
5411,
20894,
18,
2640,
1379,
7675,
542,
620,
12,
71,
6904,
3085,
1769,
3639,
289,
3639,
20894,
18,
2640,
1379,
7675,
542,
620,
2932,
17,
85,
8863,
3639,
309,
261,
3729,
480,
446,
13,
288,
20894,
18,
2
] |
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,
13,
288,
5411,
2943,
5626,
6830,
18,
13415,
67,
706,
26753,
16325,
31,
3639,
289,
3639,
309,
14015,
2116,
473,
2438,
67,
7425,
67,
4142,
22088,
13,
405,
374,
13,
288,
540,
202,
7133,
5626,
6830,
18,
12200,
55,
31,
3639,
289,
3639,
309,
14015,
2116,
473,
2438,
67,
7425,
67,
12845,
30690,
13,
405,
374,
13,
288,
540,
202,
7133,
5626,
6830,
18,
17591,
4685,
31,
3639,
289,
3639,
1936,
273,
6830,
18,
11100,
12,
7584,
16,
2943,
571,
333,
18,
710,
18,
7133,
10663,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
13,
288,
5411,
2943,
5626,
6830,
18,
13415,
67,
706,
26753,
16325,
31,
3639,
289,
3639,
309,
14015,
2116,
473,
2438,
67,
7425,
67,
4142,
22088,
13,
405,
374,
13,
288,
540,
202,
7133,
5626,
6830,
18,
12200,
55,
31,
3639,
289,
3639,
309,
14015,
2116,
473,
2438,
67,
7425,
67,
12845,
30690,
13,
405,
374,
13,
288,
540,
202,
7133,
5626,
6830,
18,
17591,
4685,
31,
3639,
289,
3639,
1936,
273,
6830,
18,
11100,
12,
7584,
16,
2943,
571,
333,
18,
710,
2
] |
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,
446,
597,
662,
620,
18,
14963,
12,
1132,
3719,
288,
9506,
202,
2463,
31,
1082,
202,
97,
1082,
202,
45,
4109,
3291,
2477,
273,
1984,
18,
588,
3291,
5621,
1082,
202,
45,
2189,
2089,
273,
4344,
4109,
50,
1231,
18,
588,
3116,
1990,
12,
3384,
16,
2089,
734,
1769,
1082,
202,
1968,
18,
458,
12,
529,
16,
460,
1769,
1082,
202,
9574,
18,
542,
4628,
12,
1968,
1769,
1082,
202,
9574,
18,
542,
16713,
12,
10798,
287,
4109,
1263,
18,
18909,
67,
20215,
16,
27079,
3116,
8317,
10663,
1082,
202,
9574,
18,
542,
16713,
12,
10798,
287,
4109,
1263,
18,
18111,
67,
20215,
16,
29232,
3116,
1526,
10663,
1082,
202,
9574,
18,
542,
16713,
12,
10798,
287,
4109,
1263,
18,
29836,
1013,
67,
20215,
16,
8048,
3702,
287,
3116,
1526,
10663,
1082,
202,
9574,
18,
542,
16713,
12,
10798,
287,
4109,
1263,
18,
39,
10439,
67,
20215,
16,
353,
7605,
3116,
1526,
10663,
1082,
202,
6464,
4109,
50,
1231,
18,
542,
3116,
1990,
12,
3384,
16,
2089,
1769,
1082,
202,
4406,
18,
542,
3291,
12,
3384,
16,
446,
1769,
202,
202,
97,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
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,
446,
597,
662,
620,
18,
14963,
12,
1132,
3719,
288,
9506,
202,
2463,
31,
1082,
202,
97,
1082,
202,
45,
4109,
3291,
2477,
273,
1984,
18,
588,
3291,
5621,
1082,
202,
45,
2189,
2089,
273,
4344,
4109,
50,
1231,
18,
588,
3116,
1990,
12,
3384,
16,
2089,
734,
1769,
1082,
202,
1968,
18,
458,
12,
529,
16,
460,
1769,
1082,
202,
9574,
18,
542,
4628,
12,
1968,
1769,
1082,
202,
9574,
18,
542,
16713,
12,
10798,
287,
4109,
1263,
18,
18909,
67,
2
] | |
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,
273,
374,
31,
3639,
2252,
18,
4669,
18,
13198,
2282,
13225,
273,
4170,
87,
5621,
3639,
2252,
18,
1367,
18,
19558,
666,
273,
394,
2252,
18,
1367,
18,
19558,
5621,
3639,
2252,
18,
1367,
18,
3198,
2775,
273,
446,
31,
3639,
2252,
18,
1367,
18,
8658,
534,
9084,
87,
273,
394,
2252,
18,
1367,
18,
8658,
5621,
3639,
775,
288,
5411,
1744,
2402,
5621,
5411,
444,
18880,
12,
588,
39,
334,
81,
7675,
8837,
1138,
10663,
5411,
1323,
12,
588,
18880,
7675,
4285,
10756,
288,
7734,
534,
9084,
87,
18,
458,
12,
2704,
2144,
12,
588,
18880,
7675,
588,
1702,
2932,
350,
67,
6427,
5088,
7923,
3631,
394,
514,
12,
588,
18880,
7675,
588,
780,
2932,
5036,
67,
2696,
67,
6427,
5088,
7923,
397,
315,
300,
315,
397,
13491,
4170,
87,
7675,
588,
780,
2932,
529,
67,
6427,
5088,
6,
3719,
1769,
7734,
666,
18,
1289,
12,
2704,
2144,
12,
588,
18880,
7675,
588,
1702,
2932,
350,
67,
6427,
5088,
6,
3719,
1769,
7734,
277,
9904,
31,
5411,
289,
3639,
289,
1044,
12,
503,
425,
13,
288,
425,
18,
1188,
6332,
5621,
289,
3639,
444,
18880,
12,
8830,
13225,
1769,
3639,
612,
273,
2282,
548,
31,
3639,
3133,
54,
9084,
87,
273,
394,
509,
63,
77,
15533,
3639,
2775,
273,
666,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
273,
374,
31,
3639,
2252,
18,
4669,
18,
13198,
2282,
13225,
273,
4170,
87,
5621,
3639,
2252,
18,
1367,
18,
19558,
666,
273,
394,
2252,
18,
1367,
18,
19558,
5621,
3639,
2252,
18,
1367,
18,
3198,
2775,
273,
446,
31,
3639,
2252,
18,
1367,
18,
8658,
534,
9084,
87,
273,
394,
2252,
18,
1367,
18,
8658,
5621,
3639,
775,
288,
5411,
1744,
2402,
5621,
5411,
444,
18880,
12,
588,
39,
334,
81,
7675,
8837,
1138,
10663,
5411,
1323,
12,
588,
18880,
7675,
4285,
10756,
2
] |
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,
59,
39,
1841,
13,
2433,
17557,
12,
17580,
1617,
354,
323,
3335,
18,
1106,
18,
17994,
1435,
11272,
5411,
6932,
1964,
18,
4285,
1964,
273,
261,
59,
39,
1841,
13,
823,
5621,
5411,
327,
6932,
1964,
31,
3639,
289,
3639,
469,
3639,
288,
5411,
327,
446,
31,
3639,
289,
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,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
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,
59,
39,
1841,
13,
2433,
17557,
12,
17580,
1617,
354,
323,
3335,
18,
1106,
18,
17994,
1435,
11272,
5411,
6932,
1964,
18,
4285,
1964,
273,
261,
59,
39,
1841,
13,
823,
5621,
5411,
327,
6932,
1964,
31,
3639,
289,
3639,
469,
3639,
288,
5411,
327,
446,
31,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
3727,
9629,
2309,
12,
1202,
9629,
2309,
1769,
202,
202,
97,
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,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
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,
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,
3727,
9629,
2309,
12,
1202,
9629,
2309,
1769,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
1769,
1377,
333,
18,
1717,
461,
273,
720,
461,
31,
282,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
1769,
1377,
333,
18,
1717,
461,
273,
720,
461,
31,
282,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
18,
202,
202,
2211,
18,
12730,
11092,
4712,
273,
394,
6847,
5621,
202,
202,
759,
8263,
444,
434,
2590,
716,
752,
7609,
14072,
18,
202,
202,
2211,
18,
12730,
11092,
4712,
18,
1289,
12,
691,
18,
30269,
1769,
202,
202,
2211,
18,
12730,
11092,
4712,
18,
1289,
12,
691,
18,
706,
58,
5398,
1769,
202,
202,
2211,
18,
12730,
11092,
4712,
18,
1289,
12,
691,
18,
8362,
26469,
1769,
202,
202,
759,
10918,
2026,
578,
2026,
486,
752,
279,
6176,
18,
1220,
353,
7681,
316,
202,
202,
759,
326,
981,
18,
202,
202,
759,
1788,
326,
2492,
6980,
202,
202,
2625,
14186,
273,
5737,
18,
22043,
682,
12,
2704,
2407,
10663,
202,
202,
3567,
14186,
273,
5737,
18,
22043,
682,
12,
2704,
2407,
10663,
202,
202,
759,
17242,
302,
429,
18,
202,
202,
2211,
18,
12730,
1388,
273,
394,
18559,
5621,
202,
202,
2625,
3342,
1388,
273,
394,
18559,
5621,
202,
202,
3567,
3342,
1388,
273,
394,
18559,
5621,
202,
202,
759,
3603,
326,
5441,
871,
2650,
18,
202,
202,
2211,
18,
12542,
273,
394,
12290,
5621,
202,
202,
2211,
18,
9561,
2115,
11338,
273,
394,
4884,
12,
2704,
16034,
2115,
11338,
12,
2211,
10019,
202,
202,
2211,
18,
9561,
2115,
11338,
18,
542,
12858,
12,
3767,
1769,
202,
202,
2211,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18,
202,
202,
2211,
18,
12730,
11092,
4712,
273,
394,
6847,
5621,
202,
202,
759,
8263,
444,
434,
2590,
716,
752,
7609,
14072,
18,
202,
202,
2211,
18,
12730,
11092,
4712,
18,
1289,
12,
691,
18,
30269,
1769,
202,
202,
2211,
18,
12730,
11092,
4712,
18,
1289,
12,
691,
18,
706,
58,
5398,
1769,
202,
202,
2211,
18,
12730,
11092,
4712,
18,
1289,
12,
691,
18,
8362,
26469,
1769,
202,
202,
759,
10918,
2026,
578,
2026,
486,
752,
279,
6176,
18,
1220,
353,
2
] |
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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,
16907,
15990,
24916,
7134,
12,
6685,
13943,
3773,
18,
588,
2174,
682,
1318,
7675,
588,
2174,
682,
10663,
202,
202,
21356,
18,
542,
2988,
12,
2211,
1769,
202,
202,
21356,
18,
542,
5491,
7187,
12,
10259,
1769,
202,
202,
759,
336,
326,
1623,
880,
202,
202,
780,
880,
273,
3564,
18,
588,
14332,
2979,
1785,
12,
9071,
1489,
16,
2252,
1046,
1769,
202,
202,
2174,
3305,
3352,
273,
20350,
13943,
3773,
18,
588,
3305,
1318,
7675,
588,
3305,
12,
9506,
202,
19865,
15990,
4670,
3773,
18,
862,
30986,
67,
47,
2356,
16,
3352,
1489,
1769,
202,
202,
2463,
1623,
12,
718,
16,
3352,
16,
8543,
16,
6438,
1769,
202,
97,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
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,
16907,
15990,
24916,
7134,
12,
6685,
13943,
3773,
18,
588,
2174,
682,
1318,
7675,
588,
2174,
682,
10663,
202,
202,
21356,
18,
542,
2988,
12,
2211,
1769,
202,
202,
21356,
18,
542,
5491,
7187,
12,
10259,
1769,
202,
202,
759,
336,
326,
1623,
880,
202,
202,
780,
880,
273,
3564,
18,
588,
14332,
2979,
1785,
12,
9071,
1489,
16,
2252,
1046,
1769,
202,
202,
2174,
3305,
3352,
273,
20350,
13943,
3773,
18,
588,
3305,
1318,
7675,
588,
3305,
12,
9506,
202,
19865,
15990,
4670,
2
] |
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,
23241,
82,
225,
19439,
9747,
82,
225,
1748,
64,
82,
225,
19439,
64,
82,
225,
1195,
64,
82,
23711,
3113,
446,
1769,
565,
997,
18,
9355,
5763,
12,
2434,
18,
588,
3935,
2735,
9334,
997,
18,
588,
3935,
2735,
10663,
565,
1815,
8867,
2932,
20,
18,
21,
3113,
1548,
82,
23241,
82,
225,
19439,
9747,
82,
225,
1748,
64,
82,
225,
19439,
64,
82,
225,
1195,
64,
82,
225,
19439,
3113,
997,
18,
588,
1528,
12,
20,
16,
540,
997,
18,
588,
1782,
1435,
10019,
225,
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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
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,
0,
0
] | [
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,
23241,
82,
225,
19439,
9747,
82,
225,
1748,
64,
82,
225,
19439,
64,
82,
225,
1195,
64,
82,
23711,
3113,
446,
1769,
565,
997,
18,
9355,
5763,
12,
2434,
18,
588,
3935,
2735,
9334,
997,
18,
588,
3935,
2735,
10663,
565,
1815,
8867,
2932,
20,
18,
21,
3113,
1548,
82,
23241,
82,
225,
19439,
9747,
82,
225,
1748,
64,
82,
225,
19439,
64,
82,
225,
1195,
64,
82,
225,
19439,
3113,
997,
18,
588,
1528,
12,
20,
16,
540,
997,
18,
588,
1782,
1435,
2
] |
/* 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,
565,
309,
261,
2135,
411,
374,
747,
1158,
1545,
10567,
1380,
12,
350,
3719,
288,
1377,
604,
394,
4077,
503,
2932,
1941,
1316,
1300,
30,
315,
397,
1158,
1769,
565,
289,
565,
775,
288,
1377,
514,
1867,
273,
261,
780,
13,
8948,
18,
588,
12,
2704,
2144,
12,
2135,
10019,
1377,
514,
508,
273,
261,
780,
13,
1257,
18,
588,
12,
2704,
2144,
12,
2135,
10019,
1377,
436,
18,
542,
1537,
2932,
1214,
461,
3113,
1867,
1769,
1377,
436,
18,
4177,
2932,
3085,
273,
2662,
18,
588,
2375,
1435,
8863,
1377,
436,
18,
4177,
2932,
1214,
273,
1365,
18,
588,
1622,
12,
1214,
461,
2225,
1769,
1377,
436,
18,
542,
1537,
2932,
4099,
461,
3113,
508,
1769,
1377,
436,
18,
4177,
2932,
5457,
273,
1577,
18,
588,
1622,
12,
4099,
461,
2225,
1769,
1377,
436,
18,
4177,
2932,
2251,
273,
394,
4319,
4348,
12,
5457,
2225,
1769,
1377,
436,
18,
4177,
2932,
2107,
2160,
273,
1015,
18,
5699,
1435,
8863,
1377,
509,
818,
3890,
273,
14015,
4522,
13,
436,
18,
588,
1537,
2932,
2107,
2160,
7923,
2934,
474,
620,
5621,
1377,
1160,
8526,
324,
273,
394,
1160,
63,
2107,
3890,
397,
1059,
15533,
368,
714,
374,
364,
727,
1384,
1377,
436,
18,
542,
1537,
2932,
892,
3113,
324,
1769,
1377,
436,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
565,
309,
261,
2135,
411,
374,
747,
1158,
1545,
10567,
1380,
12,
350,
3719,
288,
1377,
604,
394,
4077,
503,
2932,
1941,
1316,
1300,
30,
315,
397,
1158,
1769,
565,
289,
565,
775,
288,
1377,
514,
1867,
273,
261,
780,
13,
8948,
18,
588,
12,
2704,
2144,
12,
2135,
10019,
1377,
514,
508,
273,
261,
780,
13,
1257,
18,
588,
12,
2704,
2144,
12,
2135,
10019,
1377,
436,
18,
542,
1537,
2932,
1214,
461,
3113,
1867,
1769,
1377,
436,
18,
4177,
2932,
3085,
2
] | |
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,
4671,
21431,
1139,
264,
764,
4467,
18,
202,
202,
430,
261,
529,
18,
14963,
12,
2918,
18,
8168,
67,
12200,
55,
3719,
288,
1082,
202,
2463,
14015,
7139,
473,
19400,
55,
13,
480,
374,
13,
692,
3411,
18,
18724,
294,
3411,
18,
21053,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
529,
18,
14963,
12,
2918,
18,
8168,
67,
11368,
55,
3719,
288,
1082,
202,
2463,
261,
7139,
473,
18494,
55,
13,
480,
374,
692,
3411,
18,
18724,
294,
3411,
18,
21053,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
529,
18,
14963,
12,
2918,
18,
8168,
67,
11102,
789,
1738,
67,
15480,
25084,
3719,
288,
1082,
202,
759,
2438,
26780,
1285,
30,
11172,
17,
6130,
1588,
1338,
5530,
5426,
309,
3379,
353,
603,
1082,
202,
2463,
261,
7139,
473,
10696,
15480,
25084,
13,
480,
374,
692,
3411,
18,
18724,
294,
3411,
18,
21053,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
529,
18,
14963,
12,
2918,
18,
8168,
67,
18375,
67,
19082,
55,
3719,
288,
1082,
202,
2463,
261,
7139,
473,
28294,
13,
480,
374,
692,
3411,
18,
18724,
294,
3411,
18,
21053,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
529,
18,
14963,
12,
2918,
18,
8168,
67,
2222,
25673,
3719,
288,
1082,
202,
2463,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4671,
21431,
1139,
264,
764,
4467,
18,
202,
202,
430,
261,
529,
18,
14963,
12,
2918,
18,
8168,
67,
12200,
55,
3719,
288,
1082,
202,
2463,
14015,
7139,
473,
19400,
55,
13,
480,
374,
13,
692,
3411,
18,
18724,
294,
3411,
18,
21053,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
529,
18,
14963,
12,
2918,
18,
8168,
67,
11368,
55,
3719,
288,
1082,
202,
2463,
261,
7139,
473,
18494,
55,
13,
480,
374,
692,
3411,
18,
18724,
294,
3411,
18,
21053,
2
] |
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,
5411,
327,
629,
31,
7734,
1620,
12,
81,
2189,
13,
288,
3639,
648,
11689,
67,
21690,
67,
23784,
30,
5411,
741,
986,
3032,
2936,
12,
1968,
1769,
2398,
898,
31,
3639,
648,
17191,
67,
15795,
67,
43,
1013,
30,
5411,
741,
4965,
6322,
43,
287,
12,
1968,
1769,
2398,
898,
31,
10792,
648,
13278,
67,
21690,
30,
5411,
741,
1684,
3032,
12,
1968,
1769,
2398,
898,
31,
27573,
648,
13278,
67,
3865,
55,
30,
5411,
741,
1684,
39,
538,
12,
1968,
1769,
5411,
898,
31,
7734,
648,
13278,
67,
18192,
30,
5411,
741,
1684,
3748,
12,
1968,
1769,
5411,
898,
31,
3639,
648,
13278,
67,
4370,
30,
5411,
741,
1684,
2081,
12,
1968,
1769,
5411,
898,
31,
10792,
648,
28407,
30,
5411,
2332,
18,
8593,
12,
20,
1769,
5411,
898,
31,
3639,
648,
13679,
1777,
67,
18192,
67,
3670,
67,
7131,
67,
3297,
30,
5411,
741,
4625,
3748,
1386,
1730,
653,
12,
1968,
1769,
5411,
898,
31,
3639,
648,
13679,
1777,
67,
18192,
67,
3670,
67,
7131,
30,
5411,
741,
4625,
3748,
1386,
1730,
12,
1968,
1769,
5411,
898,
31,
10792,
648,
4978,
67,
21690,
30,
5411,
23611,
3032,
12,
1968,
1769,
2398,
898,
31,
3639,
648,
4978,
67,
21690,
67,
19630,
20101,
30,
5411,
23611,
3032,
13447,
12,
1968,
1769,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5411,
327,
629,
31,
7734,
1620,
12,
81,
2189,
13,
288,
3639,
648,
11689,
67,
21690,
67,
23784,
30,
5411,
741,
986,
3032,
2936,
12,
1968,
1769,
2398,
898,
31,
3639,
648,
17191,
67,
15795,
67,
43,
1013,
30,
5411,
741,
4965,
6322,
43,
287,
12,
1968,
1769,
2398,
898,
31,
10792,
648,
13278,
67,
21690,
30,
5411,
741,
1684,
3032,
12,
1968,
1769,
2398,
898,
31,
27573,
648,
13278,
67,
3865,
55,
30,
5411,
741,
1684,
39,
538,
12,
1968,
1769,
5411,
2
] |
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,
8526,
19874,
273,
14563,
18,
588,
29590,
5621,
6647,
364,
12,
474,
277,
273,
374,
31,
277,
411,
19874,
18,
2469,
31,
965,
77,
13,
288,
9079,
11417,
3885,
273,
19874,
63,
77,
15533,
9079,
1659,
8526,
20173,
273,
3885,
18,
588,
1662,
2016,
5621,
17311,
309,
12,
6775,
2016,
18,
2469,
422,
1501,
4818,
18,
2469,
13,
288,
10402,
1250,
1392,
273,
638,
31,
4766,
1377,
364,
12,
474,
525,
273,
374,
31,
525,
411,
20173,
18,
2469,
31,
965,
78,
13,
288,
15604,
1250,
1501,
2520,
2041,
273,
1501,
4818,
63,
78,
65,
422,
446,
31,
15604,
1250,
1501,
2520,
9840,
3611,
273,
19598,
3611,
12,
1171,
9079,
1501,
4818,
63,
78,
6487,
20173,
63,
78,
19226,
15604,
1250,
579,
2520,
9840,
273,
1171,
9079,
20173,
63,
78,
8009,
291,
9840,
5621,
15604,
1250,
579,
2520,
7961,
273,
1501,
2520,
2041,
692,
629,
1171,
9079,
294,
20173,
63,
78,
8009,
291,
7961,
1265,
12,
4766,
4202,
1501,
4818,
63,
78,
19226,
4766,
9079,
309,
12,
5,
3175,
2520,
2041,
597,
401,
891,
2520,
7961,
1171,
9079,
597,
401,
3175,
2520,
9840,
3611,
1171,
9079,
747,
1501,
2520,
2041,
597,
579,
2520,
9840,
13,
288,
21821,
1392,
273,
629,
31,
21821,
898,
31,
15604,
289,
10402,
289,
4766,
1377,
309,
12,
7015,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8526,
19874,
273,
14563,
18,
588,
29590,
5621,
6647,
364,
12,
474,
277,
273,
374,
31,
277,
411,
19874,
18,
2469,
31,
965,
77,
13,
288,
9079,
11417,
3885,
273,
19874,
63,
77,
15533,
9079,
1659,
8526,
20173,
273,
3885,
18,
588,
1662,
2016,
5621,
17311,
309,
12,
6775,
2016,
18,
2469,
422,
1501,
4818,
18,
2469,
13,
288,
10402,
1250,
1392,
273,
638,
31,
4766,
1377,
364,
12,
474,
525,
273,
374,
31,
525,
411,
20173,
18,
2469,
31,
965,
78,
13,
288,
15604,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.