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 |
|---|---|---|---|---|---|---|
workDequeue.push(object); | workDeque.push(object); | final void enumerateGrey(VM_Address object) throws VM_PragmaInline { if (Plan.isRCObject(object) && !RCBaseHeader.isGreen(object)) { if (VM_Interface.VerifyAssertions) VM_Interface._assert(RCBaseHeader.isLiveRC(object)); RCBaseHeader.decRC(object, false); workDequeue.push(object); } } | 5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/a2d31fa1bc95145b8e2016e9bdeeb119aa707383/TrialDeletion.java/clean/rvm/src/vm/memoryManagers/JMTk/utility/TrialDeletion.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
918,
4241,
43,
266,
93,
12,
7397,
67,
1887,
733,
13,
565,
1216,
8251,
67,
2050,
9454,
10870,
288,
565,
309,
261,
5365,
18,
291,
11529,
921,
12,
1612,
13,
597,
401,
11529,
2171,
1864,
18,
291,
21453,
12,
1612,
3719,
288,
1377,
309,
261,
7397,
67,
1358,
18,
8097,
8213,
1115,
13,
202,
7397,
67,
1358,
6315,
11231,
12,
11529,
2171,
1864,
18,
291,
12328,
11529,
12,
1612,
10019,
1377,
24206,
2171,
1864,
18,
4924,
11529,
12,
1612,
16,
629,
1769,
1377,
1440,
30873,
18,
6206,
12,
1612,
1769,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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565,
1216,
8251,
67,
2050,
9454,
10870,
288,
565,
309,
261,
5365,
18,
291,
11529,
921,
12,
1612,
13,
597,
401,
11529,
2171,
1864,
18,
291,
21453,
12,
1612,
3719,
288,
1377,
309,
261,
7397,
67,
1358,
18,
8097,
8213,
1115,
13,
202,
7397,
67,
1358,
6315,
11231,
12,
11529,
2171,
1864,
18,
291,
12328,
11529,
12,
1612,
10019,
1377,
24206,
2171,
1864,
18,
4924,
11529,
12,
1612,
16,
629,
1769,
1377,
1440,
30873,
18,
6206,
12,
1612,
1769,
565,
289,
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
] |
if( address < AbstractRom.EB_ROM_SIZE_REGULAR - 1 && address >= 0 ) { textBlock = new Text( address, true ); } else { JOptionPane.showMessageDialog( null, "pointer out of bounds", "error", JOptionPane.ERROR_MESSAGE ); return false; } | JOptionPane.showMessageDialog(null, "pointer out of bounds", "error", JOptionPane.ERROR_MESSAGE); return false; | protected boolean updateTextPointer() { switch( sceneNumber ) { case 0: try { int address = Integer.parseInt(textPointer1Field.getText(), 16); if( rom.length() == 0x400200 ) { //this is just making sure that it won't have an error reading the rom //these values in the bounds should never be used for a pointer =p if( address < AbstractRom.EB_ROM_SIZE_EXPANDED - 1 && address >= 0 ) { textBlock = new Text( address, true ); } else { JOptionPane.showMessageDialog( null, "pointer out of bounds", "error", JOptionPane.ERROR_MESSAGE ); return false; } } else { if( address < AbstractRom.EB_ROM_SIZE_REGULAR - 1 && address >= 0 ) { textBlock = new Text( address, true ); } else { JOptionPane.showMessageDialog( null, "pointer out of bounds", "error", JOptionPane.ERROR_MESSAGE ); return false; } } } catch( NumberFormatException e ) { return false; } break; case 1: try { int address = Integer.parseInt(textPointer2Field.getText(), 16); if( rom.length() == 0x400200 ) { //this is just making sure that it won't have an error reading the rom //these values in the bounds should never be used for a pointer =p if( address < AbstractRom.EB_ROM_SIZE_EXPANDED - 1 && address >= 0 ) { textBlock = new Text( address, true ); } else { JOptionPane.showMessageDialog( null, "pointer out of bounds", "error", JOptionPane.ERROR_MESSAGE ); return false; } } else { if( address < AbstractRom.EB_ROM_SIZE_REGULAR - 1 && address >= 0 ) { textBlock = new Text( address, true ); } else { JOptionPane.showMessageDialog( null, "pointer out of bounds", "error", JOptionPane.ERROR_MESSAGE ); return false; } } } catch( NumberFormatException e ) { return false; } break; case 2: try { int address = Integer.parseInt(textPointer3Field.getText(), 16); if( rom.length() == 0x400200 ) { //this is just making sure that it won't have an error reading the rom //these values in the bounds should never be used for a pointer =p if( address < AbstractRom.EB_ROM_SIZE_EXPANDED - 1 && address >= 0 ) { textBlock = new Text( address, true ); } else { JOptionPane.showMessageDialog( null, "pointer out of bounds", "error", JOptionPane.ERROR_MESSAGE ); return false; } } else { if( address < AbstractRom.EB_ROM_SIZE_REGULAR - 1 && address >= 0 ) { textBlock = new Text( address, true ); } else { JOptionPane.showMessageDialog( null, "pointer out of bounds", "error", JOptionPane.ERROR_MESSAGE ); return false; } } } catch( NumberFormatException e ) { return false; } break; } return true; } | 3699 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3699/e3746491678a9f0bdee74ba64d785d53772c8516/FlyoverEditor.java/clean/src/net/starmen/pkhack/eb/FlyoverEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
4750,
1250,
1089,
1528,
4926,
1435,
5411,
288,
7734,
1620,
12,
9065,
1854,
262,
7734,
288,
10792,
648,
374,
30,
13491,
775,
13491,
288,
18701,
509,
1758,
273,
2144,
18,
2670,
1702,
12,
955,
4926,
21,
974,
18,
588,
1528,
9334,
2872,
1769,
4766,
13491,
309,
12,
24137,
18,
2469,
1435,
422,
374,
92,
16010,
6976,
262,
18701,
288,
27573,
368,
2211,
353,
2537,
10480,
3071,
716,
518,
8462,
1404,
1240,
392,
555,
6453,
326,
24137,
27573,
368,
451,
3392,
924,
316,
326,
4972,
1410,
5903,
506,
1399,
364,
279,
4407,
273,
84,
27573,
309,
12,
1758,
411,
4115,
54,
362,
18,
29258,
67,
3942,
67,
4574,
67,
16109,
1258,
7660,
300,
404,
597,
1758,
1545,
374,
262,
27573,
288,
4766,
565,
977,
1768,
273,
394,
3867,
12,
1758,
16,
638,
11272,
27573,
289,
27573,
469,
27573,
288,
4766,
565,
804,
1895,
8485,
18,
4500,
1079,
6353,
12,
4766,
3639,
446,
16,
315,
10437,
596,
434,
4972,
3113,
315,
1636,
3113,
804,
1895,
8485,
18,
3589,
67,
8723,
11272,
4766,
565,
327,
629,
31,
27573,
289,
18701,
289,
18701,
469,
18701,
288,
27573,
309,
12,
1758,
411,
4115,
54,
362,
18,
29258,
67,
3942,
67,
4574,
67,
5937,
19545,
300,
404,
597,
1758,
1545,
374,
262,
27573,
288,
4766,
565,
977,
1768,
273,
394,
3867,
12,
1758,
16,
638,
11272,
27573,
289,
27573,
469,
27573,
288,
4766,
565,
804,
1895,
8485,
18,
4500,
1079,
6353,
12,
4766,
3639,
446,
16,
315,
10437,
596,
434,
4972,
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,
2398,
4750,
1250,
1089,
1528,
4926,
1435,
5411,
288,
7734,
1620,
12,
9065,
1854,
262,
7734,
288,
10792,
648,
374,
30,
13491,
775,
13491,
288,
18701,
509,
1758,
273,
2144,
18,
2670,
1702,
12,
955,
4926,
21,
974,
18,
588,
1528,
9334,
2872,
1769,
4766,
13491,
309,
12,
24137,
18,
2469,
1435,
422,
374,
92,
16010,
6976,
262,
18701,
288,
27573,
368,
2211,
353,
2537,
10480,
3071,
716,
518,
8462,
1404,
1240,
392,
555,
6453,
326,
24137,
27573,
368,
451,
3392,
924,
316,
326,
4972,
1410,
5903,
506,
1399,
364,
279,
4407,
273,
84,
27573,
309,
12,
1758,
411,
4115,
54,
362,
18,
29258,
67,
3942,
67,
4574,
67,
16109,
1258,
7660,
300,
404,
597,
1758,
1545,
374,
262,
2
] |
} else | } else | private VMRunnerConfiguration createVMRunner( ILaunchConfiguration configuration ) throws CoreException { String classpath[] = LauncherUtils.constructClasspath( configuration ); if ( classpath == null ) { String message = DebugUtil .getResourceString( "WorkbenchLauncherConfigurationDelegate.noStartup" ); throw new CoreException( LauncherUtils.createErrorStatus( message ) ); } String programArgs[] = getProgramArguments( configuration ); if ( programArgs == null ) { return null; } else { String envp[] = DebugPlugin.getDefault( ).getLaunchManager( ) .getEnvironment( configuration ); VMRunnerConfiguration runnerConfig = new VMRunnerConfiguration( "org.eclipse.core.launcher.Main", classpath ); runnerConfig.setVMArguments( getVMArguments( configuration ) ); runnerConfig.setProgramArguments( programArgs ); runnerConfig.setEnvironment( envp ); return runnerConfig; } } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/8b9756089bd39ac79cb8f82862d9ee44f9de43e2/ReportLaunchConfigurationDelegate.java/clean/UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/ui/launcher/ReportLaunchConfigurationDelegate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
8251,
9709,
1750,
752,
7397,
9709,
12,
1082,
202,
2627,
4760,
1750,
1664,
262,
1216,
30015,
202,
95,
202,
202,
780,
10006,
8526,
273,
14643,
264,
1989,
18,
10062,
17461,
12,
1664,
11272,
202,
202,
430,
261,
10006,
422,
446,
262,
202,
202,
95,
1082,
202,
780,
883,
273,
4015,
1304,
6862,
202,
18,
588,
1420,
780,
12,
315,
2421,
22144,
28820,
1750,
9586,
18,
2135,
22178,
6,
11272,
1082,
202,
12849,
394,
30015,
12,
14643,
264,
1989,
18,
2640,
668,
1482,
12,
883,
262,
11272,
202,
202,
97,
202,
202,
780,
5402,
2615,
8526,
273,
3570,
3295,
4628,
12,
1664,
11272,
202,
202,
430,
261,
5402,
2615,
422,
446,
262,
202,
202,
95,
1082,
202,
2463,
446,
31,
202,
202,
97,
469,
202,
202,
95,
1082,
202,
780,
1550,
84,
8526,
273,
4015,
3773,
18,
588,
1868,
12,
262,
18,
588,
9569,
1318,
12,
262,
6862,
202,
18,
588,
5494,
12,
1664,
11272,
1082,
202,
7397,
9709,
1750,
8419,
809,
273,
394,
8251,
9709,
1750,
12,
6862,
202,
6,
3341,
18,
20416,
18,
3644,
18,
20738,
264,
18,
6376,
3113,
10006,
11272,
1082,
202,
18156,
809,
18,
542,
7397,
4628,
12,
336,
7397,
4628,
12,
1664,
262,
11272,
1082,
202,
18156,
809,
18,
542,
9459,
4628,
12,
5402,
2615,
11272,
1082,
202,
18156,
809,
18,
542,
5494,
12,
1550,
84,
11272,
1082,
202,
2463,
8419,
809,
31,
202,
202,
97,
202,
97,
2,
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,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
8251,
9709,
1750,
752,
7397,
9709,
12,
1082,
202,
2627,
4760,
1750,
1664,
262,
1216,
30015,
202,
95,
202,
202,
780,
10006,
8526,
273,
14643,
264,
1989,
18,
10062,
17461,
12,
1664,
11272,
202,
202,
430,
261,
10006,
422,
446,
262,
202,
202,
95,
1082,
202,
780,
883,
273,
4015,
1304,
6862,
202,
18,
588,
1420,
780,
12,
315,
2421,
22144,
28820,
1750,
9586,
18,
2135,
22178,
6,
11272,
1082,
202,
12849,
394,
30015,
12,
14643,
264,
1989,
18,
2640,
668,
1482,
12,
883,
262,
11272,
202,
202,
97,
202,
202,
780,
5402,
2615,
8526,
273,
3570,
3295,
4628,
12,
1664,
11272,
202,
202,
430,
261,
5402,
2615,
422,
446,
262,
202,
202,
95,
1082,
202,
2
] |
Map options = COMPLETION_PROJECT.getOptions(true); Object timeout = options.get(JavaCore.CODEASSIST_DEPRECATION_CHECK); | Hashtable options = JavaCore.getOptions(); Object optionValue = options.get(JavaCore.CODEASSIST_DEPRECATION_CHECK); options.put(JavaCore.CODEASSIST_DEPRECATION_CHECK, JavaCore.ENABLED); JavaCore.setOptions(options); | public void testDeprecationCheck4() throws JavaModelException { Map options = COMPLETION_PROJECT.getOptions(true); Object timeout = options.get(JavaCore.CODEASSIST_DEPRECATION_CHECK); try { options.put(JavaCore.CODEASSIST_DEPRECATION_CHECK, JavaCore.ENABLED); COMPLETION_PROJECT.setOptions(options); this.workingCopies = new ICompilationUnit[2]; this.workingCopies[0] = getWorkingCopy( "/Completion/src/deprecation/Test.java", "package deprecation;"+ "public class Test {\n"+ " void foo() {"+ " ZZZType1.fo\n"+ " }"+ "}"); this.workingCopies[1] = getWorkingCopy( "/Completion/src/deprecation/ZZZType1.java", "package deprecation;"+ "public class ZZZType1 {\n"+ " public static void foo1(){}\n"+ " /** @deprecated */\n"+ " public static void foo2(){}\n"+ "}"); CompletionTestsRequestor2 requestor = new CompletionTestsRequestor2(true); String str = this.workingCopies[0].getSource(); String completeBehind = "ZZZType1.fo"; int cursorLocation = str.lastIndexOf(completeBehind) + completeBehind.length(); this.workingCopies[0].codeComplete(cursorLocation, requestor, this.wcOwner); assertResults( "foo1[METHOD_REF]{foo1(), Ldeprecation.ZZZType1;, ()V, foo1, null, " + (R_DEFAULT + R_INTERESTING + R_CASE + R_NON_INHERITED + R_NON_RESTRICTED) + "}", requestor.getResults()); } finally { options.put(JavaCore.CODEASSIST_DEPRECATION_CHECK, timeout); COMPLETION_PROJECT.setOptions(options); }} | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/dcc29d9125ab9c75db7cf3e3d58d8d50a20cc0a2/CompletionTests.java/buggy/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/CompletionTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1842,
758,
13643,
1564,
24,
1435,
1216,
5110,
1488,
503,
288,
202,
863,
702,
273,
13846,
30985,
67,
17147,
18,
588,
1320,
12,
3767,
1769,
202,
921,
2021,
273,
702,
18,
588,
12,
5852,
4670,
18,
5572,
8423,
5511,
67,
1639,
3670,
8506,
67,
10687,
1769,
202,
698,
288,
202,
202,
2116,
18,
458,
12,
5852,
4670,
18,
5572,
8423,
5511,
67,
1639,
3670,
8506,
67,
10687,
16,
5110,
4670,
18,
13560,
1769,
202,
202,
10057,
30985,
67,
17147,
18,
542,
1320,
12,
2116,
1769,
9506,
202,
2211,
18,
20478,
15670,
273,
394,
467,
19184,
2802,
63,
22,
15533,
202,
202,
2211,
18,
20478,
15670,
63,
20,
65,
273,
336,
14836,
2951,
12,
1082,
202,
6,
19,
11238,
19,
4816,
19,
29263,
19,
4709,
18,
6290,
3113,
1082,
202,
6,
5610,
20097,
4868,
15,
1082,
202,
6,
482,
667,
7766,
18890,
82,
6,
15,
1082,
202,
6,
225,
918,
8431,
1435,
12528,
15,
1082,
202,
6,
565,
2285,
27096,
559,
21,
18,
617,
64,
82,
6,
15,
1082,
202,
6,
225,
22837,
15,
1082,
202,
6,
1532,
1769,
9506,
202,
2211,
18,
20478,
15670,
63,
21,
65,
273,
336,
14836,
2951,
12,
1082,
202,
6,
19,
11238,
19,
4816,
19,
29263,
19,
27096,
62,
559,
21,
18,
6290,
3113,
1082,
202,
6,
5610,
20097,
4868,
15,
1082,
202,
6,
482,
667,
2285,
27096,
559,
21,
18890,
82,
6,
15,
1082,
202,
6,
225,
1071,
760,
918,
8431,
21,
1435,
25902,
82,
6,
15,
1082,
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,
1071,
918,
1842,
758,
13643,
1564,
24,
1435,
1216,
5110,
1488,
503,
288,
202,
863,
702,
273,
13846,
30985,
67,
17147,
18,
588,
1320,
12,
3767,
1769,
202,
921,
2021,
273,
702,
18,
588,
12,
5852,
4670,
18,
5572,
8423,
5511,
67,
1639,
3670,
8506,
67,
10687,
1769,
202,
698,
288,
202,
202,
2116,
18,
458,
12,
5852,
4670,
18,
5572,
8423,
5511,
67,
1639,
3670,
8506,
67,
10687,
16,
5110,
4670,
18,
13560,
1769,
202,
202,
10057,
30985,
67,
17147,
18,
542,
1320,
12,
2116,
1769,
9506,
202,
2211,
18,
20478,
15670,
273,
394,
467,
19184,
2802,
63,
22,
15533,
202,
202,
2211,
18,
20478,
15670,
63,
20,
65,
273,
336,
14836,
2951,
12,
1082,
202,
6,
19,
2
] |
try { position++; bCodeStream[classFileOffset++] = (byte) (value >> 8); } catch (IndexOutOfBoundsException e) { resizeByteArray((byte) (value >> 8)); | if (classFileOffset + 1 >= bCodeStream.length) { resizeByteArray(); | public final void writeSignedShort(int value) { try { position++; bCodeStream[classFileOffset++] = (byte) (value >> 8); } catch (IndexOutOfBoundsException e) { resizeByteArray((byte) (value >> 8)); } try { position++; bCodeStream[classFileOffset++] = (byte) value; } catch (IndexOutOfBoundsException e) { resizeByteArray((byte) value); }} | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/3a562aaf09f9f323b583086b80b4683378886606/CodeStream.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
727,
918,
1045,
12294,
4897,
12,
474,
460,
13,
288,
202,
698,
288,
202,
202,
3276,
9904,
31,
202,
202,
70,
1085,
1228,
63,
1106,
812,
2335,
9904,
65,
273,
261,
7229,
13,
261,
1132,
1671,
1725,
1769,
202,
97,
1044,
261,
30548,
425,
13,
288,
202,
202,
15169,
8826,
12443,
7229,
13,
261,
1132,
1671,
1725,
10019,
202,
97,
202,
698,
288,
202,
202,
3276,
9904,
31,
202,
202,
70,
1085,
1228,
63,
1106,
812,
2335,
9904,
65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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
727,
918,
1045,
12294,
4897,
12,
474,
460,
13,
288,
202,
698,
288,
202,
202,
3276,
9904,
31,
202,
202,
70,
1085,
1228,
63,
1106,
812,
2335,
9904,
65,
273,
261,
7229,
13,
261,
1132,
1671,
1725,
1769,
202,
97,
1044,
261,
30548,
425,
13,
288,
202,
202,
15169,
8826,
12443,
7229,
13,
261,
1132,
1671,
1725,
10019,
202,
97,
202,
698,
288,
202,
202,
3276,
9904,
31,
202,
202,
70,
1085,
1228,
63,
1106,
812,
2335,
9904,
65,
273,
261,
7229,
13,
460,
31,
202,
97,
1044,
261,
30548,
425,
13,
288,
202,
202,
15169,
8826,
12443,
7229,
13,
460,
1769,
202,
9090,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
super("EOOrQualifier"); | super("EOOrQualifier"); | public EOOrQualifier() { super("EOOrQualifier"); } | 50596 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50596/d39ae6aad0341c8bf84f634fb6d078b5ba63e8f8/EOOrQualifier.java/clean/wolips/plugins/org.objectstyle.wolips.eomodeler/java/org/objectstyle/wolips/eomodeler/model/EOOrQualifier.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
512,
51,
1162,
16185,
1435,
288,
565,
2240,
2932,
41,
51,
1162,
16185,
8863,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
512,
51,
1162,
16185,
1435,
288,
565,
2240,
2932,
41,
51,
1162,
16185,
8863,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
c.setLayoutData(new GridData(GridData.FILL_VERTICAL)); c.setLayout(new GridLayout(1, true)); | c.setLayoutData(new GridData(GridData.FILL_BOTH)); { GridLayout gridLayout = new GridLayout(1, true); gridLayout.marginHeight = 0; gridLayout.marginWidth = 0; c.setLayout(gridLayout); } | public Control createControl(Composite parent) { Composite mainComposite = new Composite(parent, SWT.NONE); mainComposite.setLayout(new GridLayout(2, false)); Composite c = new Composite(mainComposite, SWT.NONE); c.setLayoutData(new GridData(GridData.FILL_VERTICAL)); c.setLayout(new GridLayout(1, true)); Label label = new Label(c, SWT.NONE); label.setText(ActivityMessages.getString("ActivityEnabler.activities")); //$NON-NLS-1$ label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); label.setFont(parent.getFont()); dualViewer = new CheckboxTreeViewer(c); dualViewer.setSorter(new ViewerSorter()); dualViewer.setAutoExpandLevel(AbstractTreeViewer.ALL_LEVELS); dualViewer.setLabelProvider(new ActivityCategoryLabelProvider()); dualViewer.setContentProvider(provider); dualViewer.setInput(activitySupport.getActivityManager()); dualViewer.getControl().setLayoutData(new GridData(GridData.FILL_BOTH)); dualViewer.getControl().setFont(parent.getFont()); c = new Composite(mainComposite, SWT.NONE); c.setLayoutData(new GridData(GridData.FILL_BOTH)); c.setLayout(new GridLayout(1, true)); label = new Label(c, SWT.NONE); label.setText(ActivityMessages.getString("ActivityEnabler.description")); //$NON-NLS-1$ label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); label.setFont(parent.getFont()); descriptionText = new Text(c, SWT.READ_ONLY | SWT.WRAP | SWT.BORDER); descriptionText.setFont(parent.getFont()); descriptionText.setLayoutData(new GridData(GridData.FILL_BOTH | GridData.VERTICAL_ALIGN_BEGINNING)); setInitialStates(); dualViewer.addCheckStateListener(checkListener); dualViewer.addSelectionChangedListener(selectionListener); dualViewer.setSelection(new StructuredSelection()); return mainComposite; } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/49e1dd14e375070471e6aef5b27812fe3d9487af/ActivityEnabler.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/activities/ws/ActivityEnabler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8888,
752,
3367,
12,
9400,
982,
13,
288,
202,
202,
9400,
2774,
9400,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
202,
202,
5254,
9400,
18,
542,
3744,
12,
2704,
7145,
3744,
12,
22,
16,
629,
10019,
202,
202,
9400,
276,
273,
394,
14728,
12,
5254,
9400,
16,
348,
8588,
18,
9826,
1769,
202,
202,
71,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
67,
21654,
10109,
10019,
202,
202,
71,
18,
542,
3744,
12,
2704,
7145,
3744,
12,
21,
16,
638,
10019,
9506,
202,
2224,
1433,
273,
394,
5287,
12,
71,
16,
348,
8588,
18,
9826,
1769,
202,
202,
1925,
18,
542,
1528,
12,
6193,
5058,
18,
588,
780,
2932,
6193,
664,
27371,
18,
24745,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
1925,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
10019,
202,
202,
1925,
18,
542,
5711,
12,
2938,
18,
588,
5711,
10663,
9506,
202,
72,
1462,
18415,
273,
394,
29213,
2471,
18415,
12,
71,
1769,
202,
202,
72,
1462,
18415,
18,
542,
24952,
12,
2704,
4441,
264,
24952,
10663,
202,
202,
72,
1462,
18415,
18,
542,
4965,
12271,
2355,
12,
7469,
2471,
18415,
18,
4685,
67,
10398,
55,
1769,
202,
202,
72,
1462,
18415,
18,
542,
2224,
2249,
12,
2704,
9621,
4457,
2224,
2249,
10663,
202,
202,
72,
1462,
18415,
18,
542,
1350,
2249,
12,
6778,
1769,
202,
202,
72,
1462,
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,
8888,
752,
3367,
12,
9400,
982,
13,
288,
202,
202,
9400,
2774,
9400,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
202,
202,
5254,
9400,
18,
542,
3744,
12,
2704,
7145,
3744,
12,
22,
16,
629,
10019,
202,
202,
9400,
276,
273,
394,
14728,
12,
5254,
9400,
16,
348,
8588,
18,
9826,
1769,
202,
202,
71,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
67,
21654,
10109,
10019,
202,
202,
71,
18,
542,
3744,
12,
2704,
7145,
3744,
12,
21,
16,
638,
10019,
9506,
202,
2224,
1433,
273,
394,
5287,
12,
71,
16,
348,
8588,
18,
9826,
1769,
202,
202,
1925,
18,
542,
1528,
12,
6193,
5058,
18,
2
] |
if (scheduler.isDecorationReady(element) | if (scheduler.isDecorationReady(element, context) | public boolean prepareDecoration(Object element, String originalText) { // Check if there is a decoration ready or if there is no lightweight decorators to be applied if (scheduler.isDecorationReady(element) || !getLightweightManager().hasEnabledDefinitions()) { return true; } // Force an update if there is a text already boolean force = true; //If not then do not force as the undecorated value is fine if(originalText == null || originalText.length() == 0) force = false; // Queue the decoration. scheduler.queueForDecoration(element, getResourceAdapter(element), force, originalText); //If all that is there is deferred ones then defer decoration. //For the sake of effeciency we do not test for enablement at this //point and just abandon deferment if there are any to run right //away return getFullDefinitions().length > 0; } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/9f91fdc102dc0bda0f133ae3012af277ee55d3ef/DecoratorManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/DecoratorManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
2911,
7859,
367,
12,
921,
930,
16,
514,
2282,
1528,
13,
288,
3639,
368,
2073,
309,
1915,
353,
279,
29217,
5695,
578,
309,
1915,
353,
1158,
9052,
4865,
19423,
358,
506,
6754,
3639,
309,
261,
19972,
18,
291,
7859,
367,
8367,
12,
2956,
16,
819,
13,
7734,
747,
401,
588,
12128,
4865,
1318,
7675,
5332,
1526,
7130,
10756,
288,
5411,
327,
638,
31,
3639,
289,
3639,
368,
11889,
392,
1089,
309,
1915,
353,
279,
977,
1818,
3639,
1250,
2944,
273,
638,
31,
3639,
368,
2047,
486,
1508,
741,
486,
2944,
487,
326,
640,
11880,
690,
460,
353,
11079,
3639,
309,
12,
8830,
1528,
422,
446,
747,
2282,
1528,
18,
2469,
1435,
422,
374,
13,
540,
202,
5734,
273,
629,
31,
7734,
368,
7530,
326,
29217,
18,
3639,
8129,
18,
4000,
1290,
7859,
367,
12,
2956,
16,
5070,
4216,
12,
2956,
3631,
7734,
2944,
16,
2282,
1528,
1769,
540,
368,
2047,
777,
716,
353,
1915,
353,
7045,
5945,
1508,
2220,
29217,
18,
3639,
368,
1290,
326,
272,
911,
434,
16419,
557,
20627,
732,
741,
486,
1842,
364,
4237,
475,
622,
333,
3639,
368,
1153,
471,
2537,
1223,
464,
265,
2220,
475,
309,
1915,
854,
1281,
358,
1086,
2145,
3639,
368,
26718,
3639,
327,
10208,
7130,
7675,
2469,
405,
374,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
2911,
7859,
367,
12,
921,
930,
16,
514,
2282,
1528,
13,
288,
3639,
368,
2073,
309,
1915,
353,
279,
29217,
5695,
578,
309,
1915,
353,
1158,
9052,
4865,
19423,
358,
506,
6754,
3639,
309,
261,
19972,
18,
291,
7859,
367,
8367,
12,
2956,
16,
819,
13,
7734,
747,
401,
588,
12128,
4865,
1318,
7675,
5332,
1526,
7130,
10756,
288,
5411,
327,
638,
31,
3639,
289,
3639,
368,
11889,
392,
1089,
309,
1915,
353,
279,
977,
1818,
3639,
1250,
2944,
273,
638,
31,
3639,
368,
2047,
486,
1508,
741,
486,
2944,
487,
326,
640,
11880,
690,
460,
353,
11079,
3639,
309,
12,
8830,
1528,
422,
446,
747,
2282,
1528,
18,
2469,
1435,
422,
374,
13,
540,
202,
2
] |
assert c._value == null; | assert c._ref == null; | Cur weakCur ( Object o ) { assert o != null && !(o instanceof Ref); Cur c = getCur(); assert c._tempFrame == -1; assert c._value == null; c._value = new Ref( c, o ); return c; } | 3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/9177395cdfc2b61a4e490116d9c3d4103a2b7323/Locale.java/clean/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Locale.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
7251,
16046,
2408,
261,
1033,
320,
262,
565,
288,
3639,
1815,
320,
480,
446,
597,
401,
12,
83,
1276,
3941,
1769,
7734,
7251,
276,
273,
14135,
5621,
3639,
1815,
276,
6315,
5814,
3219,
422,
300,
21,
31,
3639,
1815,
276,
6315,
1734,
422,
446,
31,
3639,
276,
6315,
1132,
273,
394,
3941,
12,
276,
16,
320,
11272,
7734,
327,
276,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
7251,
16046,
2408,
261,
1033,
320,
262,
565,
288,
3639,
1815,
320,
480,
446,
597,
401,
12,
83,
1276,
3941,
1769,
7734,
7251,
276,
273,
14135,
5621,
3639,
1815,
276,
6315,
5814,
3219,
422,
300,
21,
31,
3639,
1815,
276,
6315,
1734,
422,
446,
31,
3639,
276,
6315,
1132,
273,
394,
3941,
12,
276,
16,
320,
11272,
7734,
327,
276,
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
] |
rl.add(MPackageImpl.class); rl.add(MClassifierImpl.class); | rl.add(Model.getMetaTypes().getPackage()); rl.add(Model.getMetaTypes().getClassifier()); | protected List getValidNamespaceClasses() { List rl = new ArrayList(); rl.add(MPackageImpl.class); rl.add(MClassifierImpl.class); return rl; } | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/eb54e179504c3224b12324085944bd3488191d0b/TestActionUseCaseDiagram.java/buggy/tests/org/argouml/uml/ui/TestActionUseCaseDiagram.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
987,
22574,
3402,
4818,
1435,
288,
3639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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
987,
22574,
3402,
4818,
1435,
288,
3639,
987,
11618,
273,
394,
2407,
5621,
3639,
11618,
18,
1289,
12,
49,
2261,
2828,
18,
1106,
1769,
3639,
11618,
18,
1289,
12,
49,
13860,
2828,
18,
1106,
1769,
3639,
327,
11618,
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
] |
selection = new TreePath[] { path }; | selection = new TreePath[] { path }; | public void setSelectionPath(TreePath path) { selection = new TreePath[] { path }; } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/354ad8e724c65b6b6984f632455ce4b17f1fb1d0/DefaultTreeSelectionModel.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultTreeSelectionModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
6233,
743,
12,
2471,
743,
589,
13,
225,
288,
202,
202,
10705,
273,
394,
4902,
743,
8526,
288,
1082,
202,
803,
289,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
444,
6233,
743,
12,
2471,
743,
589,
13,
225,
288,
202,
202,
10705,
273,
394,
4902,
743,
8526,
288,
1082,
202,
803,
289,
31,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
pst = new ParserSymbolTable( language ); | pst = new ParserSymbolTable( language, mode ); | public CompleteParseASTFactory( ParserLanguage language ) { super(); pst = new ParserSymbolTable( language ); } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/57d668240ad64ebccdcae6a8af0025301b0110be/CompleteParseASTFactory.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/complete/CompleteParseASTFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
14575,
3201,
9053,
1733,
12,
6783,
3779,
2653,
262,
565,
288,
3639,
2240,
5621,
540,
202,
202,
84,
334,
273,
394,
6783,
5335,
1388,
12,
2653,
16,
1965,
11272,
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,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965,
11272,
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 void addAppearance(char item, HashMap colors, String textureFile, String clone){ if (clone != null){ this.appearances.put(item, this.appearances.get(clone.toCharArray()[0])); return; } Appearance appearance = new Appearance(); if (colors != null){ Material mat = new Material(); Iterator it = colors.keySet().iterator(); while (it.hasNext()) { String colorType = (String)it.next(); String colorName = (String)colors.get(colorType); if (colorType.equals("ambient")) //$NON-NLS-1$ mat.setAmbientColor(new Color3f(Color.decode(colorName))); if (colorType.equals("diffuse")) //$NON-NLS-1$ mat.setDiffuseColor(new Color3f(Color.decode(colorName))); if (colorType.equals("specular")) //$NON-NLS-1$ mat.setSpecularColor(new Color3f(Color.decode(colorName))); if (colorType.equals("emmissive")) //$NON-NLS-1$ mat.setEmissiveColor(new Color3f(Color.decode(colorName))); } appearance.setMaterial(mat); } if (textureFile != null){ TexCoordGeneration tcg = new TexCoordGeneration( TexCoordGeneration.OBJECT_LINEAR, TexCoordGeneration.TEXTURE_COORDINATE_3, new Vector4f(1.0f, 1.0f, 0.0f, 0.0f), new Vector4f(0.0f, 1.0f, 1.0f, 0.0f), new Vector4f(1.0f, 0.0f, 1.0f, 0.0f)); appearance.setTexCoordGeneration(tcg); try { TextureLoader loader = new TextureLoader(ClassLoader.getSystemResource(textureFile), null); Texture2D texture = (Texture2D) loader.getTexture(); texture.setBoundaryModeS(Texture.WRAP); texture.setBoundaryModeT(Texture.WRAP); // Mache die textur lesbar texture.setCapability(Texture.ALLOW_IMAGE_READ); ImageComponent[] imgs = texture.getImages(); for (int i=0; i< imgs.length; i++) imgs[i].setCapability(ImageComponent.ALLOW_IMAGE_READ); appearance.setTexture(texture); appearance.setCapability(Appearance.ALLOW_TEXTURE_READ); } catch (Exception ex) { ErrorHandler.error("Probleme beim Laden der Textur: "+textureFile+" :"+ex); //$NON-NLS-1$//$NON-NLS-2$ } } this.appearances.put(item,appearance); } | 49082 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49082/f67f2ce500c0650f1156cddabad1912a044f5e91/ParcoursLoader.java/clean/ctSim/model/ParcoursLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
527,
1294,
27668,
12,
3001,
761,
16,
4317,
5740,
16,
514,
11428,
812,
16,
514,
3236,
15329,
202,
202,
430,
261,
14056,
480,
446,
15329,
1082,
202,
2211,
18,
438,
17964,
6872,
18,
458,
12,
1726,
16,
333,
18,
438,
17964,
6872,
18,
588,
12,
14056,
18,
869,
15936,
1435,
63,
20,
5717,
1769,
1082,
202,
2463,
31,
202,
202,
97,
9506,
202,
1294,
27668,
9788,
1359,
273,
394,
1716,
27668,
5621,
9506,
202,
430,
261,
9724,
480,
446,
15329,
1082,
202,
11790,
4834,
273,
394,
23436,
5621,
1082,
202,
3198,
518,
273,
5740,
18,
856,
694,
7675,
9838,
5621,
1082,
202,
17523,
261,
305,
18,
5332,
2134,
10756,
288,
9506,
202,
780,
2036,
559,
273,
261,
780,
13,
305,
18,
4285,
5621,
9506,
202,
780,
2036,
461,
273,
261,
780,
13,
9724,
18,
588,
12,
3266,
559,
1769,
9506,
202,
430,
261,
3266,
559,
18,
14963,
2932,
2536,
1979,
6,
3719,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
7373,
18,
542,
30706,
1979,
2957,
12,
2704,
5563,
23,
74,
12,
2957,
18,
3922,
12,
3266,
461,
3719,
1769,
9506,
202,
430,
261,
3266,
559,
18,
14963,
2932,
5413,
1202,
6,
3719,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
7373,
18,
542,
5938,
1202,
2957,
12,
2704,
5563,
23,
74,
12,
2957,
18,
3922,
12,
3266,
461,
3719,
1769,
9506,
202,
430,
261,
3266,
559,
18,
14963,
2932,
2793,
2490,
6,
3719,
4329,
3993,
17,
5106,
17,
21,
8,
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,
918,
527,
1294,
27668,
12,
3001,
761,
16,
4317,
5740,
16,
514,
11428,
812,
16,
514,
3236,
15329,
202,
202,
430,
261,
14056,
480,
446,
15329,
1082,
202,
2211,
18,
438,
17964,
6872,
18,
458,
12,
1726,
16,
333,
18,
438,
17964,
6872,
18,
588,
12,
14056,
18,
869,
15936,
1435,
63,
20,
5717,
1769,
1082,
202,
2463,
31,
202,
202,
97,
9506,
202,
1294,
27668,
9788,
1359,
273,
394,
1716,
27668,
5621,
9506,
202,
430,
261,
9724,
480,
446,
15329,
1082,
202,
11790,
4834,
273,
394,
23436,
5621,
1082,
202,
3198,
518,
273,
5740,
18,
856,
694,
7675,
9838,
5621,
1082,
202,
17523,
261,
305,
18,
5332,
2134,
10756,
288,
9506,
202,
780,
2036,
559,
2
] | ||
try { context.dictionaries.pop(); | Object data[]; data = context.popOperands(1); if (! (data[0] instanceof HashMap)) { throw new PainterException("begin: wrong arguments"); | public void execute(PAContext context) throws PainterException { try { context.dictionaries.pop(); } catch (EmptyStackException e) { throw new PainterException("Dictionary stack is empty"); } } | 3506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3506/e841a8d80b54d639e4e53a6a4fbdd96bb4c9ec7e/PAContext.java/clean/itext/src/com/lowagie/text/pdf/codec/postscript/PAContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1836,
12,
4066,
1042,
819,
13,
1216,
453,
11606,
503,
288,
3639,
775,
288,
1850,
819,
18,
72,
14336,
18,
5120,
5621,
3639,
289,
3639,
1044,
261,
1921,
2624,
503,
425,
13,
288,
1850,
604,
394,
453,
11606,
503,
2932,
10905,
2110,
353,
1008,
8863,
3639,
289,
1377,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4202,
1071,
918,
1836,
12,
4066,
1042,
819,
13,
1216,
453,
11606,
503,
288,
3639,
775,
288,
1850,
819,
18,
72,
14336,
18,
5120,
5621,
3639,
289,
3639,
1044,
261,
1921,
2624,
503,
425,
13,
288,
1850,
604,
394,
453,
11606,
503,
2932,
10905,
2110,
353,
1008,
8863,
3639,
289,
1377,
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
] |
proto.re = (RECompiled)compileRE(cx, scope, "", null, false); | proto.re = (RECompiled)compileRE("", null, false); | public static void init(Context cx, Scriptable scope, boolean sealed) { NativeRegExp proto = new NativeRegExp(); proto.re = (RECompiled)compileRE(cx, scope, "", null, false); proto.prototypeFlag = true; proto.setMaxId(MAX_PROTOTYPE_ID); proto.setParentScope(scope); proto.setPrototype(getObjectPrototype(scope)); NativeRegExpCtor ctor = new NativeRegExpCtor(); ScriptRuntime.setFunctionProtoAndParent(scope, ctor); ctor.setImmunePrototypeProperty(proto); if (sealed) { proto.sealObject(); ctor.sealObject(); } defineProperty(scope, "RegExp", ctor, ScriptableObject.DONTENUM); } | 12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/10f7bc1e8d7b13b30c167a7687ada1d9a0c79b5e/NativeRegExp.java/buggy/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1208,
12,
1042,
9494,
16,
22780,
2146,
16,
1250,
695,
18931,
13,
565,
288,
3639,
16717,
13673,
3760,
273,
394,
16717,
13673,
5621,
3639,
3760,
18,
266,
273,
261,
862,
20733,
13,
11100,
862,
2932,
3113,
446,
16,
629,
1769,
3639,
3760,
18,
18541,
4678,
273,
638,
31,
3639,
3760,
18,
542,
2747,
548,
12,
6694,
67,
3373,
56,
1974,
1738,
67,
734,
1769,
3639,
3760,
18,
542,
3054,
3876,
12,
4887,
1769,
3639,
3760,
18,
542,
15846,
12,
588,
921,
15846,
12,
4887,
10019,
3639,
16717,
13673,
27425,
15120,
273,
394,
16717,
13673,
27425,
5621,
3639,
7739,
5576,
18,
542,
2083,
6262,
1876,
3054,
12,
4887,
16,
15120,
1769,
3639,
15120,
18,
542,
1170,
81,
7556,
15846,
1396,
12,
9393,
1769,
3639,
309,
261,
307,
18931,
13,
288,
5411,
3760,
18,
307,
287,
921,
5621,
5411,
15120,
18,
307,
287,
921,
5621,
3639,
289,
3639,
14007,
12,
4887,
16,
315,
13673,
3113,
15120,
16,
22780,
921,
18,
40,
10079,
16509,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1208,
12,
1042,
9494,
16,
22780,
2146,
16,
1250,
695,
18931,
13,
565,
288,
3639,
16717,
13673,
3760,
273,
394,
16717,
13673,
5621,
3639,
3760,
18,
266,
273,
261,
862,
20733,
13,
11100,
862,
2932,
3113,
446,
16,
629,
1769,
3639,
3760,
18,
18541,
4678,
273,
638,
31,
3639,
3760,
18,
542,
2747,
548,
12,
6694,
67,
3373,
56,
1974,
1738,
67,
734,
1769,
3639,
3760,
18,
542,
3054,
3876,
12,
4887,
1769,
3639,
3760,
18,
542,
15846,
12,
588,
921,
15846,
12,
4887,
10019,
3639,
16717,
13673,
27425,
15120,
273,
394,
16717,
13673,
27425,
5621,
3639,
7739,
5576,
18,
542,
2083,
6262,
1876,
3054,
12,
4887,
16,
15120,
1769,
3639,
15120,
18,
542,
1170,
2
] |
System.out.println(); | System.out.println(); | public static void main(String[] args) { /* * Default values: */ String url = "svn://localhost/rep/MyRepos";//"http://72.9.228.230:8080/svn/jsvn/branches/0.9.0/doc"; String copyURL = "svn://localhost/rep/MyReposCopy"; String myWorkspacePath = "/MyWorkingCopy"; SVNRevision revision = SVNRevision.HEAD;//HEAD (the latest) revision String name = "userName"; String password = "userPassword"; String newDir = "/newDir"; String newFile = newDir + "/" + "newFile.txt"; byte[] fileText = "This is a new file added to the working copy" .getBytes(); /* * Initializes the library (it must be done before ever using the * library itself) */ setupLibrary(); if (args != null) { /* * Obtains a repository location URL */ url = (args.length >= 1) ? args[0] : url; /* * Obtains a URL where a copy of the previuos url will be created */ copyURL = (args.length >= 2) ? args[1] : copyURL; /* * Obtains a path for a workspace */ myWorkspacePath = (args.length >= 3) ? args[2] : myWorkspacePath; /* * Obtains a revision */ revision = (args.length >= 4) ? SVNRevision.create(Long .parseLong(args[3])) : revision; /* * Obtains an account name (will be used to authenticate the user to * the server) */ name = (args.length >= 5) ? args[4] : name; /* * Obtains a password */ password = (args.length >= 6) ? args[5] : password; } File wcDir = new File(myWorkspacePath); if (wcDir.exists()) { System.err.println("the destination directory '" + wcDir.getAbsolutePath() + "' already exists!"); System.exit(1); } wcDir.mkdirs(); /* * Creates a usre's credentials provider. */ ISVNCredentialsProvider scp = new SVNSimpleCredentialsProvider(name, password); long checkoutRevision = -1; try { checkoutRevision = checkout(scp, url, revision, wcDir, true); } catch (SVNException svne) { /* * Perhaps a malformed URL is the cause of this exception. */ System.err .println("error while checking out a working copy for the location '" + url + "': " + svne.getMessage()); System.exit(1); } System.out.println("Checked out revision " + checkoutRevision); /* * show info for the working copy */ try { showInfo(scp, wcDir, SVNRevision.WORKING, true); } catch (SVNException svne) { System.err .println("error while getting info for the working copy at'" + wcDir.getAbsolutePath() + "': " + svne.getMessage()); System.exit(1); } /* * creating a new directory */ File aNewDir = new File(wcDir, newDir); if (!aNewDir.mkdirs()) { System.err.println("failed to create a new directory '" + aNewDir.getAbsolutePath() + "'."); System.exit(1); } /* * creating a new file in "/MyWorkspace/newDir/" */ File aNewFile = new File(aNewDir, PathUtil.tail(newFile)); try { if (!aNewFile.createNewFile()) { System.err.println("failed to create a new file '" + aNewFile.getAbsolutePath() + "'."); System.exit(1); } } catch (IOException ioe) { aNewFile.delete(); System.err.println("error while creating a new file '" + aNewFile.getAbsolutePath() + "': " + ioe.getMessage()); System.exit(1); } FileOutputStream fos = null; try { fos = new FileOutputStream(aNewFile); fos.write(fileText); } catch (FileNotFoundException fnfe) { System.err.println("the file '" + aNewFile.getAbsolutePath() + "' is not found: " + fnfe.getMessage()); System.exit(1); } catch (IOException ioe) { System.err.println("error while writing into the file '" + aNewFile.getAbsolutePath() + "' is not found: " + ioe.getMessage()); System.exit(1); } finally { if (fos != null) { try { fos.close(); } catch (IOException ioe) { // } } } try { addDirectory(scp, aNewDir); } catch (SVNException svne) { System.err.println("error while recursively adding the directory '" + aNewDir.getAbsolutePath() + "': " + svne.getMessage()); System.exit(1); } boolean isRecursive = true; boolean isRemote = false; boolean isReportAll = false; boolean isIncludeIgnored = true; boolean isCollectParentExternals = true; System.out.println(); System.out.println("Status for '" + wcDir.getAbsolutePath() + "':"); try { showStatus(scp, wcDir, isRecursive, isRemote, isReportAll, isIncludeIgnored, isCollectParentExternals); } catch (SVNException svne) { System.err.println("error while performing status for '" + wcDir.getAbsolutePath() + "': " + svne.getMessage()); System.exit(1); } long updatedRevision = -1; try { updatedRevision = update(scp, wcDir, SVNRevision.HEAD, true); } catch (SVNException svne) { System.err .println("error while recursively updating the working copy '" + wcDir.getAbsolutePath() + "': " + svne.getMessage()); System.exit(1); } System.out.println(); System.out.println("Updating '" + wcDir.getAbsolutePath() + "'..."); try { showStatus(scp, wcDir, isRecursive, isRemote, isReportAll, isIncludeIgnored, isCollectParentExternals); } catch (SVNException svne) { System.err.println("error while performing status for '" + wcDir.getAbsolutePath() + "': " + svne.getMessage()); System.exit(1); } System.out.println("Updated to revision " + updatedRevision); System.out.println(); System.out.println("Committing '" + wcDir.getAbsolutePath() + "'..."); long committedRevision = -1; try { committedRevision = commit(scp, wcDir, true, "'/newDir' with '/newDir/newFile.txt' were added") .getNewRevision(); } catch (SVNException svne) { System.err .println("error while committing changes to the working copy '" + wcDir.getAbsolutePath() + "': " + svne.getMessage()); System.exit(1); } System.out.println("Committed to revision " + committedRevision); try { lock(scp, aNewFile, true, "locking '/newDir'"); } catch (SVNException svne) { System.err.println("error while locking the working copy file '" + aNewFile.getAbsolutePath() + "': " + svne.getMessage()); System.exit(1); } System.out.println(); System.out .println("Locking (with stealing if the entry is already locked) '" + aNewDir.getAbsolutePath() + "'."); System.out.println(); System.out.println("Status for '" + wcDir.getAbsolutePath() + "':"); try { showStatus(scp, wcDir, isRecursive, isRemote, isReportAll, isIncludeIgnored, isCollectParentExternals); } catch (SVNException svne) { System.err.println("error while performing status for '" + wcDir.getAbsolutePath() + "': " + svne.getMessage()); System.exit(1); } System.out.println(); System.out.println("Making a new directory at '" + copyURL + "'..."); try{ committedRevision = makeDirectory(scp, copyURL, "making a new directory at '" + copyURL + "'").getNewRevision(); }catch(SVNException svne){ System.err.println("error while making a new directory at '" + copyURL + "': " + svne.getMessage()); System.exit(1); } System.out.println("Committed to revision " + committedRevision); System.out.println(); System.out.println("Copying '" + url + "' to '" + copyURL + "'..."); try { committedRevision = copy(scp, url, SVNRevision.create(checkoutRevision), copyURL, false, "remotely copying '" + url + "' to '" + copyURL + "'") .getNewRevision(); } catch (SVNException svne) { System.err.println("error while copying '" + url + "' to '" + copyURL + "': " + svne.getMessage()); System.exit(1); } System.out.println("Committed to revision " + committedRevision); System.out.println(); System.out.println("Switching '" + wcDir.getAbsolutePath() + "' to '" + copyURL + "'..."); try { updatedRevision = switchToURL(scp, wcDir, copyURL, SVNRevision.HEAD, true); } catch (SVNException svne) { System.err.println("error while switching '" + wcDir.getAbsolutePath() + "' to '" + copyURL + "': " + svne.getMessage()); System.exit(1); } System.out.println("Updated to revision " + updatedRevision); /* * show info for the working copy */ System.out.println(); try { showInfo(scp, wcDir, SVNRevision.WORKING, false); } catch (SVNException svne) { System.err .println("error while getting info for the working copy at'" + wcDir.getAbsolutePath() + "': " + svne.getMessage()); System.exit(1); } System.out.println(); System.out.println("Scheduling '" + wcDir.getAbsolutePath() + "' for deletion ..."); try { delete(scp, aNewDir, true); } catch (SVNException svne) { System.err.println("error while schediling '" + wcDir.getAbsolutePath() + "' for deletion: " + svne.getMessage()); System.exit(1); } System.out.println(); System.out.println("Status for '" + wcDir.getAbsolutePath() + "':"); try { showStatus(scp, wcDir, isRecursive, isRemote, isReportAll, isIncludeIgnored, isCollectParentExternals); } catch (SVNException svne) { System.err.println("error while performing status for '" + wcDir.getAbsolutePath() + "': " + svne.getMessage()); System.exit(1); } System.out.println(); System.out.println("Committing '" + wcDir.getAbsolutePath() + "'..."); try { committedRevision = commit( scp, wcDir, false, "deleting '" + aNewDir.getAbsolutePath() + "' from the filesystem as well as from the repository").getNewRevision(); } catch (SVNException svne) { System.err .println("error while committing changes to the working copy '" + wcDir.getAbsolutePath() + "': " + svne.getMessage()); System.exit(1); } System.out.println("Committed to revision " + committedRevision); System.exit(0); } | 2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/eb358d3f5d632fabeacf4c138b00a57f0eb30c7d/WorkingCopy.java/clean/doc/examples/src/org/tmatesoft/svn/examples/wc/WorkingCopy.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
1748,
540,
380,
2989,
924,
30,
540,
1195,
3639,
514,
880,
273,
315,
31505,
2207,
13014,
19,
14462,
19,
12062,
28453,
14432,
759,
6,
2505,
2207,
9060,
18,
29,
18,
3787,
28,
18,
29157,
30,
3672,
3672,
19,
31505,
19,
2924,
25031,
19,
18078,
19,
20,
18,
29,
18,
20,
19,
2434,
14432,
3639,
514,
1610,
1785,
273,
315,
31505,
2207,
13014,
19,
14462,
19,
12062,
28453,
2951,
14432,
3639,
514,
3399,
8241,
743,
273,
2206,
12062,
14836,
2951,
14432,
3639,
29537,
50,
7939,
6350,
273,
29537,
50,
7939,
18,
12458,
31,
759,
12458,
261,
5787,
4891,
13,
6350,
3639,
514,
508,
273,
315,
1355,
461,
14432,
3639,
514,
2201,
273,
315,
1355,
3913,
14432,
3639,
514,
394,
1621,
273,
2206,
2704,
1621,
14432,
3639,
514,
20592,
273,
394,
1621,
397,
4016,
397,
315,
2704,
812,
18,
5830,
14432,
3639,
1160,
8526,
585,
1528,
273,
315,
2503,
353,
279,
394,
585,
3096,
358,
326,
5960,
1610,
6,
7734,
263,
588,
2160,
5621,
3639,
1748,
540,
380,
10188,
3128,
326,
5313,
261,
305,
1297,
506,
2731,
1865,
14103,
1450,
326,
540,
380,
5313,
6174,
13,
540,
1195,
3639,
3875,
9313,
5621,
3639,
309,
261,
1968,
480,
446,
13,
288,
5411,
1748,
2398,
380,
19659,
16598,
279,
3352,
2117,
1976,
2398,
1195,
5411,
880,
273,
261,
1968,
18,
2469,
1545,
404,
13,
692,
833,
63,
20,
65,
294,
880,
31,
5411,
1748,
2398,
380,
19659,
16598,
279,
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,
2774,
12,
780,
8526,
833,
13,
288,
3639,
1748,
540,
380,
2989,
924,
30,
540,
1195,
3639,
514,
880,
273,
315,
31505,
2207,
13014,
19,
14462,
19,
12062,
28453,
14432,
759,
6,
2505,
2207,
9060,
18,
29,
18,
3787,
28,
18,
29157,
30,
3672,
3672,
19,
31505,
19,
2924,
25031,
19,
18078,
19,
20,
18,
29,
18,
20,
19,
2434,
14432,
3639,
514,
1610,
1785,
273,
315,
31505,
2207,
13014,
19,
14462,
19,
12062,
28453,
2951,
14432,
3639,
514,
3399,
8241,
743,
273,
2206,
12062,
14836,
2951,
14432,
3639,
29537,
50,
7939,
6350,
273,
29537,
50,
7939,
18,
12458,
31,
759,
12458,
261,
5787,
4891,
13,
6350,
3639,
514,
508,
273,
315,
1355,
461,
14432,
2
] |
logger.debug( " meal params is " + params.get(2) + " resource is " + identifier); if (((HashMap) params.get(2)).containsKey(identifier)) { resource_count += ((Double) ((HashMap) params.get(2)).get(identifier)).doubleValue(); logger.debug(identifier+" rate is "+resource_count); } else { logger.debug("No meal rates for "+identifier); } } | if (logger.isDebugEnabled()) { logger.debug(" meal params is " + params.get(2) + " resource is " + identifier); } if (((HashMap) params.get(2)).containsKey(identifier)) { resource_count += ((Double) ((HashMap) params.get(2)).get(identifier)).doubleValue(); if (logger.isDebugEnabled()) { logger.debug(identifier + " rate is " + resource_count); } } else { if (logger.isDebugEnabled()) { logger.debug("No meal rates for " + identifier); } } } | public Rate getRate(Asset asset, List params) { double quantity = 0; // people // CDW if (params.size() < 1) { return null; } // if Object obj = params.get(0); if (obj instanceof Double) { quantity = ((Double) obj).doubleValue(); } else { if (obj != null) { logger.debug ( "Bad param - expected quantity got " + obj); } // if return null; } // if OrgActivity act = null; obj = params.get(1); if (obj instanceof OrgActivity) { act = (OrgActivity) obj; } else { if (obj != null) { logger.debug ( "Bad param - expected OrgActivity got " + obj); } // if return null; } // if KeyRuleParameterEntry[] keys = getActionPolicy(act.getActivityType(), act.getOpTempo()); if ((keys != null) && (keys.length == 0)) { return null; } // if Rate result = null; String identifier = parentPlugin.getAssetUtils().getAssetIdentifier (asset); PackagePG ppg = (PackagePG) asset.searchForPropertyGroup(PackagePG.class); if (ppg == null) { logger.error("No PackagePG on "+identifier); } //String type = null; double resource_count = 0; if (keys != null) { for (int j = 0; j < keys.length; j++) { if ((keys[j].getKey().equalsIgnoreCase("Breakfast") && (keys[j].getValue().equals(identifier))) || (keys[j].getKey().equalsIgnoreCase("Lunch") && (keys[j].getValue().equals(identifier))) || (keys[j].getKey().equalsIgnoreCase("Dinner") && (keys[j].getValue().equals(identifier)))) { resource_count += 1.0; } } } else { // keys from getActionPolicy was null // Optempo does not over rule if (params.size() < 3) { logger.error("Class I ose array in getRate() is missing element "+2+" (meal)"); } else { if (params.get(2) != null) { logger.debug( " meal params is " + params.get(2) + " resource is " + identifier); if (((HashMap) params.get(2)).containsKey(identifier)) { // Meals resource_count += ((Double) ((HashMap) params.get(2)).get(identifier)).doubleValue(); logger.debug(identifier+" rate is "+resource_count); } // if // DEBUG else { logger.debug("No meal rates for "+identifier); } } // if non null params(2) // Enhancements policy if (params.size() >= 4 && params.get(3) != null) { if (((HashMap) params.get(3)).containsKey(identifier)) { // Meals resource_count += ((Double) ((HashMap) params.get(3)).get(identifier)).doubleValue(); logger.debug ( " enhance params is " + ((Double) ((HashMap) params.get(3)).get (identifier)).doubleValue()); } } } // if have at least thru params(3) } // end of case for null keys // Water if (params.size() < 5) { logger.error("Class I ose array in getRate() is missing element "+5+" water"); } else { if (params.get(4) != null) { if (((HashMap) params.get(4)).containsKey(identifier)) { // water public static HashMap cachedDBValues = new HashMap(); resource_count += ((Double) ((HashMap) params.get (4)).get(identifier)).doubleValue(); logger.debug ( " water params is " + ((Double) ((HashMap) params.get(4)).get (identifier)).doubleValue()); } // if } // if } // if if (resource_count > 0) { double total = Math.ceil (resource_count * (1.0 / ppg.getCountPerPack()) * quantity); result = CountRate.newEachesPerDay(total); RationPG rpg = (RationPG) asset.searchForPropertyGroup(RationPG.class); logger.debug ("\n THE rate is " + CountRate.newEachesPerDay (total) + " for asset " + identifier + " the ration type is " + rpg.getRationType()); logger.debug ( " Unit of Issue is " + ppg.getUnitOfIssue() + " count per pack" + ppg.getCountPerPack()); } // if return result; } // getRate | 11319 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11319/dd61b8b1c82c66517008f8fbebf783e733dfcc7b/SubsistenceConsumerBG.java/buggy/bbn/src/org/cougaar/logistics/ldm/asset/SubsistenceConsumerBG.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13025,
4170,
340,
12,
6672,
3310,
16,
987,
859,
13,
288,
565,
1645,
10457,
273,
374,
31,
368,
16951,
565,
368,
21508,
59,
565,
309,
261,
2010,
18,
1467,
1435,
411,
404,
13,
288,
1377,
327,
446,
31,
565,
289,
368,
309,
565,
1033,
1081,
273,
859,
18,
588,
12,
20,
1769,
565,
309,
261,
2603,
1276,
3698,
13,
288,
1377,
10457,
273,
14015,
5265,
13,
1081,
2934,
9056,
620,
5621,
565,
289,
469,
288,
1377,
309,
261,
2603,
480,
446,
13,
288,
3639,
1194,
18,
4148,
261,
315,
6434,
579,
300,
2665,
10457,
2363,
315,
397,
1081,
1769,
1377,
289,
368,
309,
1377,
327,
446,
31,
565,
289,
368,
309,
565,
8533,
6193,
1328,
273,
446,
31,
565,
1081,
273,
859,
18,
588,
12,
21,
1769,
565,
309,
261,
2603,
1276,
8533,
6193,
13,
288,
1377,
1328,
273,
261,
6001,
6193,
13,
1081,
31,
565,
289,
469,
288,
1377,
309,
261,
2603,
480,
446,
13,
288,
3639,
1194,
18,
4148,
261,
315,
6434,
579,
300,
2665,
8533,
6193,
2363,
315,
397,
1081,
1769,
1377,
289,
368,
309,
1377,
327,
446,
31,
565,
289,
368,
309,
565,
1929,
2175,
1662,
1622,
8526,
1311,
273,
3639,
12473,
2582,
12,
621,
18,
588,
6193,
559,
9334,
1328,
18,
588,
3817,
1837,
1631,
10663,
565,
309,
14015,
2452,
480,
446,
13,
597,
261,
2452,
18,
2469,
422,
374,
3719,
288,
1377,
327,
446,
31,
565,
289,
368,
309,
565,
13025,
563,
273,
446,
31,
565,
514,
2756,
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,
282,
1071,
13025,
4170,
340,
12,
6672,
3310,
16,
987,
859,
13,
288,
565,
1645,
10457,
273,
374,
31,
368,
16951,
565,
368,
21508,
59,
565,
309,
261,
2010,
18,
1467,
1435,
411,
404,
13,
288,
1377,
327,
446,
31,
565,
289,
368,
309,
565,
1033,
1081,
273,
859,
18,
588,
12,
20,
1769,
565,
309,
261,
2603,
1276,
3698,
13,
288,
1377,
10457,
273,
14015,
5265,
13,
1081,
2934,
9056,
620,
5621,
565,
289,
469,
288,
1377,
309,
261,
2603,
480,
446,
13,
288,
3639,
1194,
18,
4148,
261,
315,
6434,
579,
300,
2665,
10457,
2363,
315,
397,
1081,
1769,
1377,
289,
368,
309,
1377,
327,
446,
31,
565,
289,
368,
309,
565,
8533,
6193,
1328,
273,
446,
2
] |
Member member = methodsOrCtors[i]; Class[] type = methodOrCtorTypes[i]; String sig = NativeJavaMethod.memberSignature(member, type); if (name.equals(sig)) { return member; | Class[] type = methodsOrCtors[i].argTypes; String sig = liveConnectSignature(type); if (sigStart + sig.length() == name.length() && name.regionMatches(sigStart, sig, 0, sig.length())) { return methodsOrCtors[i]; | private Member findExplicitFunction(String name, boolean isStatic) { int sigStart = name.indexOf('('); if (sigStart < 0) { return null; } Hashtable ht = isStatic ? staticMembers : members; Member[] methodsOrCtors = null; Class[][] methodOrCtorTypes = null; boolean isCtor = (isStatic && sigStart == 0); if (isCtor) { // Explicit request for an overloaded constructor methodsOrCtors = ctors; methodOrCtorTypes = ctorTypes; } else { // Explicit request for an overloaded method String trueName = name.substring(0,sigStart); Object obj = ht.get(trueName); if (!isStatic && obj == null) { // Try to get static member from instance (LC3) obj = staticMembers.get(trueName); } if (obj instanceof NativeJavaMethod) { NativeJavaMethod njm = (NativeJavaMethod)obj; methodsOrCtors = njm.methods; methodOrCtorTypes = njm.methodTypes; } } if (methodsOrCtors != null) { for (int i = 0; i < methodsOrCtors.length; i++) { Member member = methodsOrCtors[i]; Class[] type = methodOrCtorTypes[i]; String sig = NativeJavaMethod.memberSignature(member, type); if (name.equals(sig)) { return member; } } } return null; } | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/1b620bbe9ad9c387f8202d7df9e1281bbd4ef637/JavaMembers.java/clean/src/org/mozilla/javascript/JavaMembers.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
8596,
1104,
17186,
2083,
12,
780,
508,
16,
1250,
16116,
13,
565,
288,
3639,
509,
3553,
1685,
273,
508,
18,
31806,
2668,
2668,
1769,
3639,
309,
261,
7340,
1685,
411,
374,
13,
288,
327,
446,
31,
289,
3639,
18559,
14049,
273,
16116,
692,
760,
6918,
294,
4833,
31,
3639,
8596,
8526,
2590,
1162,
39,
88,
1383,
273,
446,
31,
3639,
1659,
63,
6362,
65,
707,
1162,
27425,
2016,
273,
446,
31,
3639,
1250,
25249,
13039,
273,
261,
291,
5788,
597,
3553,
1685,
422,
374,
1769,
3639,
309,
261,
291,
27425,
13,
288,
5411,
368,
24321,
590,
364,
392,
1879,
4230,
3885,
5411,
2590,
1162,
39,
88,
1383,
273,
5691,
1383,
31,
5411,
707,
1162,
27425,
2016,
273,
15120,
2016,
31,
3639,
289,
469,
288,
5411,
368,
24321,
590,
364,
392,
1879,
4230,
707,
5411,
514,
638,
461,
273,
508,
18,
28023,
12,
20,
16,
7340,
1685,
1769,
5411,
1033,
1081,
273,
14049,
18,
588,
12,
3767,
461,
1769,
5411,
309,
16051,
291,
5788,
597,
1081,
422,
446,
13,
288,
7734,
368,
6161,
358,
336,
760,
3140,
628,
791,
261,
13394,
23,
13,
7734,
1081,
273,
760,
6918,
18,
588,
12,
3767,
461,
1769,
5411,
289,
5411,
309,
261,
2603,
1276,
16717,
5852,
1305,
13,
288,
7734,
16717,
5852,
1305,
290,
78,
81,
273,
261,
9220,
5852,
1305,
13,
2603,
31,
7734,
2590,
1162,
39,
88,
1383,
273,
290,
78,
81,
18,
5163,
31,
7734,
707,
1162,
27425,
2016,
273,
290,
78,
81,
18,
2039,
2016,
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,
8596,
1104,
17186,
2083,
12,
780,
508,
16,
1250,
16116,
13,
565,
288,
3639,
509,
3553,
1685,
273,
508,
18,
31806,
2668,
2668,
1769,
3639,
309,
261,
7340,
1685,
411,
374,
13,
288,
327,
446,
31,
289,
3639,
18559,
14049,
273,
16116,
692,
760,
6918,
294,
4833,
31,
3639,
8596,
8526,
2590,
1162,
39,
88,
1383,
273,
446,
31,
3639,
1659,
63,
6362,
65,
707,
1162,
27425,
2016,
273,
446,
31,
3639,
1250,
25249,
13039,
273,
261,
291,
5788,
597,
3553,
1685,
422,
374,
1769,
3639,
309,
261,
291,
27425,
13,
288,
5411,
368,
24321,
590,
364,
392,
1879,
4230,
3885,
5411,
2590,
1162,
39,
88,
1383,
273,
5691,
1383,
31,
5411,
707,
1162,
27425,
2016,
273,
2
] |
SecurityManager s = System.getSecurityManager(); String p = safeCanonicalPath (); if (p == null) return false; if (s != null) s.checkWrite(p); return access (p, WRITE); | checkWrite(); return access (WRITE); | public boolean canWrite () { SecurityManager s = System.getSecurityManager(); String p = safeCanonicalPath (); // FIXME: it isn't entirely clear what to do if we can't find the // canonical path. if (p == null) return false; if (s != null) s.checkWrite(p); return access (p, WRITE); } | 56365 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56365/13487a5ef4e62b2ad9a1836e7826c648d61b26b3/File.java/clean/libjava/java/io/File.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
848,
3067,
1832,
225,
288,
565,
6036,
1318,
272,
273,
2332,
18,
588,
4368,
1318,
5621,
565,
514,
293,
273,
4183,
15512,
743,
261,
1769,
565,
368,
9852,
30,
518,
5177,
1404,
21658,
2424,
4121,
358,
741,
309,
732,
848,
1404,
1104,
326,
565,
368,
7378,
589,
18,
565,
309,
261,
84,
422,
446,
13,
1377,
327,
629,
31,
565,
309,
261,
87,
480,
446,
13,
1377,
272,
18,
1893,
3067,
12,
84,
1769,
565,
327,
2006,
261,
84,
16,
20967,
1769,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
848,
3067,
1832,
225,
288,
565,
6036,
1318,
272,
273,
2332,
18,
588,
4368,
1318,
5621,
565,
514,
293,
273,
4183,
15512,
743,
261,
1769,
565,
368,
9852,
30,
518,
5177,
1404,
21658,
2424,
4121,
358,
741,
309,
732,
848,
1404,
1104,
326,
565,
368,
7378,
589,
18,
565,
309,
261,
84,
422,
446,
13,
1377,
327,
629,
31,
565,
309,
261,
87,
480,
446,
13,
1377,
272,
18,
1893,
3067,
12,
84,
1769,
565,
327,
2006,
261,
84,
16,
20967,
1769,
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
] |
catch (org.apache.xerces.util.URI.MalformedURIException e){ | catch (org.apache.xerces.util.URI.MalformedURIException e) { NodeImpl parentOrOwner = (parentNode() != null) ? parentNode() : ownerNode; String parentBaseURI = (parentOrOwner != null) ? parentOrOwner.getBaseURI() : null; if (parentBaseURI != null) { try { uri = new URI(new URI(parentBaseURI), uri).toString(); } catch (org.apache.xerces.util.URI.MalformedURIException ex){ return null; } return uri; } | public String getBaseURI() { if (needsSyncData()) { synchronizeData(); } //Absolute base URI is computed according to XML Base (http://www.w3.org/TR/xmlbase/#granularity) //1. the base URI specified by an xml:base attribute on the element, if one exists if (attributes != null) { Attr attrNode = (Attr)attributes.getNamedItemNS("http://www.w3.org/XML/1998/namespace", "base"); if (attrNode != null) { String uri = attrNode.getNodeValue(); if (uri.length() != 0 ) {// attribute value is always empty string try { uri = new URI(uri).toString(); } catch (org.apache.xerces.util.URI.MalformedURIException e){ // REVISIT: what should happen in this case? return null; } return uri; } } } //2.the base URI of the element's parent element within the document or external entity, //if one exists String parentElementBaseURI = (this.parentNode() != null) ? this.parentNode().getBaseURI() : null ; //base URI of parent element is not null if(parentElementBaseURI != null){ try { //return valid absolute base URI return new URI(parentElementBaseURI).toString(); } catch (org.apache.xerces.util.URI.MalformedURIException e){ // REVISIT: what should happen in this case? return null; } } //3. the base URI of the document entity or external entity containing the element String baseURI = (this.ownerNode != null) ? this.ownerNode.getBaseURI() : null ; if(baseURI != null){ try { //return valid absolute base URI return new URI(baseURI).toString(); } catch (org.apache.xerces.util.URI.MalformedURIException e){ // REVISIT: what should happen in this case? return null; } } return null; } | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/45ec51a61e14e22e6560098070c726fd8fdf1b56/ElementNSImpl.java/clean/src/org/apache/xerces/dom/ElementNSImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8297,
3098,
1435,
288,
3639,
309,
261,
20600,
4047,
751,
10756,
288,
5411,
16978,
751,
5621,
3639,
289,
3639,
368,
10368,
1026,
3699,
353,
8470,
4888,
358,
3167,
3360,
261,
2505,
2207,
5591,
18,
91,
23,
18,
3341,
19,
4349,
19,
2902,
1969,
21067,
75,
27234,
13,
3639,
368,
21,
18,
225,
326,
1026,
3699,
1269,
635,
392,
2025,
30,
1969,
1566,
603,
326,
930,
16,
309,
1245,
1704,
3639,
309,
261,
4350,
480,
446,
13,
288,
5411,
11289,
1604,
907,
273,
261,
3843,
13,
4350,
18,
588,
7604,
1180,
3156,
2932,
2505,
2207,
5591,
18,
91,
23,
18,
3341,
19,
4201,
19,
19818,
28,
19,
4937,
3113,
315,
1969,
8863,
5411,
309,
261,
1747,
907,
480,
446,
13,
288,
7734,
514,
2003,
273,
225,
1604,
907,
18,
588,
907,
620,
5621,
7734,
309,
261,
1650,
18,
2469,
1435,
480,
374,
262,
288,
759,
1566,
460,
353,
3712,
1008,
533,
10792,
775,
288,
15604,
2003,
273,
394,
3699,
12,
1650,
2934,
10492,
5621,
10792,
289,
10792,
1044,
261,
3341,
18,
19211,
18,
92,
264,
764,
18,
1367,
18,
3098,
18,
18695,
3098,
503,
425,
13,
288,
565,
2029,
2828,
982,
1162,
5541,
273,
261,
2938,
907,
1435,
480,
446,
13,
692,
7234,
1435,
294,
3410,
907,
31,
282,
514,
982,
2171,
3098,
273,
261,
2938,
1162,
5541,
480,
446,
13,
692,
982,
1162,
5541,
18,
588,
2171,
3098,
1435,
294,
446,
31,
225,
309,
261,
2938,
2171,
3098,
480,
446,
13,
288,
775,
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,
514,
8297,
3098,
1435,
288,
3639,
309,
261,
20600,
4047,
751,
10756,
288,
5411,
16978,
751,
5621,
3639,
289,
3639,
368,
10368,
1026,
3699,
353,
8470,
4888,
358,
3167,
3360,
261,
2505,
2207,
5591,
18,
91,
23,
18,
3341,
19,
4349,
19,
2902,
1969,
21067,
75,
27234,
13,
3639,
368,
21,
18,
225,
326,
1026,
3699,
1269,
635,
392,
2025,
30,
1969,
1566,
603,
326,
930,
16,
309,
1245,
1704,
3639,
309,
261,
4350,
480,
446,
13,
288,
5411,
11289,
1604,
907,
273,
261,
3843,
13,
4350,
18,
588,
7604,
1180,
3156,
2932,
2505,
2207,
5591,
18,
91,
23,
18,
3341,
19,
4201,
19,
19818,
28,
19,
4937,
3113,
315,
1969,
8863,
5411,
309,
261,
1747,
907,
2
] |
molecule = dbst.fixAromaticBondOrders(molecule); | public void testPyrrole() { String smiles = "c2ccc3n([H])c1ccccc1c3(c2)"; SmilesParser smilesParser = new SmilesParser(); try { IMolecule molecule = smilesParser.parseSmiles(smiles); DeduceBondSystemTool dbst = new DeduceBondSystemTool(); //molecule = dbst.fixAromaticBondOrders(molecule); assertNotNull(molecule); for (int i = 0; i < molecule.getBondCount(); i++) { IBond bond = molecule.getBond(i); assertTrue(bond.getOrder() == CDKConstants.BONDORDER_AROMATIC); } } catch (InvalidSmilesException e) { e.printStackTrace(); } } | 45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/a3e7aa5886c8e2079ec48b5d077972d16b83b13f/DeduceBondSystemToolTest.java/clean/src/org/openscience/cdk/test/smiles/DeduceBondSystemToolTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
13661,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
13661,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
13661,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
13661,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
1071,
81,
10545,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
918,
81,
10545,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
1842,
9413,
86,
4615,
1435,
81,
10545,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
288,
81,
10545,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
13661,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
13661,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
13661,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
13661,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
13661,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
13661,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
13661,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
514,
81,
10545,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
3029,
1449,
81,
10545,
273,
1319,
334,
18,
904,
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,
13661,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
13661,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
13661,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
13661,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
1071,
81,
10545,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
918,
81,
10545,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
1842,
9413,
86,
4615,
1435,
81,
10545,
273,
1319,
334,
18,
904,
37,
27468,
9807,
16528,
12,
81,
10545,
1769,
288,
81,
10545,
273,
1319,
334,
18,
904,
37,
27468,
9807,
2
] | |
kickEngagements(); | server.nextEngagement(); | void doSummon(Legion legion, Legion donor, Creature angel) { Player player = getActivePlayer(); if (angel != null && donor != null && legion.canSummonAngel()) { // Only one angel can be summoned per turn. player.setSummoned(true); // Move the angel or archangel. donor.removeCreature(angel, false, false); legion.addCreature(angel, false); server.allTellRemoveCreature(donor.getMarkerId(), angel.getName(), true); server.allTellAddCreature(legion.getMarkerId(), angel.getName(), true); Log.event("One " + angel.getName() + " is summoned from legion " + donor.getLongMarkerName() + " into legion " + legion.getLongMarkerName()); } // Need to call this regardless to advance past the summon phase. if (battle != null) { battle.finishSummoningAngel(player.hasSummoned()); summoning = false; } else { summoning = false; kickEngagements(); } } | 51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/13fd7e55524ae607efd57c2dd1bbc8ece72c6451/Game.java/clean/Colossus/net/sf/colossus/server/Game.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
741,
3495,
2586,
12,
8329,
285,
4553,
285,
16,
17167,
285,
2727,
280,
16,
5799,
1231,
7603,
292,
13,
565,
288,
3639,
19185,
7291,
273,
11960,
12148,
5621,
3639,
309,
261,
539,
292,
480,
446,
597,
2727,
280,
480,
446,
597,
4553,
285,
18,
4169,
3495,
2586,
22757,
292,
10756,
3639,
288,
5411,
368,
5098,
1245,
7603,
292,
848,
506,
2142,
2586,
329,
1534,
7005,
18,
5411,
7291,
18,
542,
3495,
2586,
329,
12,
3767,
1769,
5411,
368,
9933,
326,
7603,
292,
578,
6637,
539,
292,
18,
5411,
2727,
280,
18,
4479,
1996,
1231,
12,
539,
292,
16,
629,
16,
629,
1769,
5411,
4553,
285,
18,
1289,
1996,
1231,
12,
539,
292,
16,
629,
1769,
5411,
1438,
18,
454,
21009,
3288,
1996,
1231,
12,
19752,
280,
18,
588,
7078,
548,
9334,
7603,
292,
18,
17994,
9334,
10792,
638,
1769,
5411,
1438,
18,
454,
21009,
986,
1996,
1231,
12,
1935,
285,
18,
588,
7078,
548,
9334,
7603,
292,
18,
17994,
9334,
10792,
638,
1769,
5411,
1827,
18,
2575,
2932,
3335,
315,
397,
7603,
292,
18,
17994,
1435,
397,
10792,
315,
353,
2142,
2586,
329,
628,
4553,
285,
315,
397,
2727,
280,
18,
588,
3708,
7078,
461,
1435,
397,
10792,
315,
1368,
4553,
285,
315,
397,
4553,
285,
18,
588,
3708,
7078,
461,
10663,
3639,
289,
3639,
368,
12324,
358,
745,
333,
15255,
358,
8312,
8854,
326,
2142,
2586,
6855,
18,
3639,
309,
261,
70,
4558,
298,
480,
446,
13,
3639,
288,
5411,
324,
4558,
298,
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,
918,
741,
3495,
2586,
12,
8329,
285,
4553,
285,
16,
17167,
285,
2727,
280,
16,
5799,
1231,
7603,
292,
13,
565,
288,
3639,
19185,
7291,
273,
11960,
12148,
5621,
3639,
309,
261,
539,
292,
480,
446,
597,
2727,
280,
480,
446,
597,
4553,
285,
18,
4169,
3495,
2586,
22757,
292,
10756,
3639,
288,
5411,
368,
5098,
1245,
7603,
292,
848,
506,
2142,
2586,
329,
1534,
7005,
18,
5411,
7291,
18,
542,
3495,
2586,
329,
12,
3767,
1769,
5411,
368,
9933,
326,
7603,
292,
578,
6637,
539,
292,
18,
5411,
2727,
280,
18,
4479,
1996,
1231,
12,
539,
292,
16,
629,
16,
629,
1769,
5411,
4553,
285,
18,
1289,
1996,
1231,
12,
539,
292,
16,
629,
1769,
5411,
1438,
2
] |
public synchronized void setAlignments(org.biojava.bio.program.das.dasalignment.Alignment[] aligs){ alignments = aligs; if ( aligs == null){ logger.warning("no alignments given"); notifyAll(); return; } if ( chain == null ){ logger.warning("trying to set alignments before chain has been set"); notifyAll(); return; } logger.info("you can choose between " + aligs.length + " alignments"); String seq_str = chain.getSequence(); Sequence sequence ; try { sequence = ProteinTools.createProteinSequence(seq_str, "prot_1"); } catch (IllegalSymbolException e){ // can not convert sequence! logger.warning(e.getMessage()); notifyAll(); return; } if ( alignments == null) { sequencePanel.setSequence(sequence); //display the whole Sequence sequencePanel.setRange(new RangeLocation(1,sequence.length())); } // template for feature. org.biojava.bio.seq.Feature.Template temp = new org.biojava.bio.seq.Feature.Template(); for ( int i=0 ; i < alignments.length; i++ ){ org.biojava.bio.program.das.dasalignment.Alignment ali = alignments[i]; String PDBcode = AlignmentTools.getPDBCodeFromAlignment(ali); logger.info("alignments for "+ PDBcode); Chain currentChain = null; try { // project the alignment on the sequence... currentChain = struBuild.createChain(ali,seq_str); //System.out.println() } catch ( DASException e){ e.printStackTrace(); continue; } // create features from this chain, List features = getStructureFeatures(currentChain,PDBcode); //logger.log(Level.FINEST, "nr features: " +features.size()); // convert them to display... temp.source = PDBcode; temp.type = "Protein Structure"; FeatureFilter ff = new FeatureFilter.BySource(PDBcode); //logger.log(Level.INFO,"filtering by "+PDBcode); FilteringRenderer filtR = new FilteringRenderer(); // build up label ... String labelstring = PDBcode; Annotation object = AlignmentTools.getObject(PDBcode,ali); List details = new ArrayList(); try { details = (List) object.getProperty("details"); } catch (NoSuchElementException e){ // details are not provided logger.info("alignment does not contain details"); } Iterator iter = details.iterator(); while (iter.hasNext()){ Annotation detail = (Annotation) iter.next(); //logger.info(detail.get("property").toString() + " " + detail.get("detail").toString()); String property = (String) detail.getProperty("property"); String detailstr = (String) detail.getProperty("detail"); if ( property.equals("resolution")){ if ( detailstr != null ) labelstring += " " + detailstr + "" ; } if ( property.equals("experiment_type")){ labelstring += " " + detailstr ; } if ( property.equals("molecule description")){ labelstring += " description: " + detailstr; } } //filtR.setRenderer(bumpR); try { LabelledSequenceRenderer labelsR = new LabelledSequenceRenderer(100,20); labelsR.setFillColor(Color.white); labelsR.addLabelString(labelstring); labelsR.setRenderer(bumpR); //multiLineRenderer.addRenderer(labelsR); //labelsR.addLabelString(PDBcode); filtR.setRenderer(labelsR); filtR.setFilter(ff); //filtR.setRenderer(bumpR); multiLineRenderer.addRenderer(filtR); //StackedFeatureRenderer stackR = new StackedFeatureRenderer(); //stackR.addRenderer(labelR); //stackR.addRenderer(filtR); //multiLineRenderer.addRenderer(stackR); } catch ( Exception e) { logger.warning(e.getMessage()); e.printStackTrace(); continue; } // iterate over all features for (int ai=0; ai< features.size(); ai++) { org.biojava.spice.Feature.Feature feat = (org.biojava.spice.Feature.Feature)features.get(ai); //String source = feat.getSource(); //temp.source=source; //System.out.println(source); // and create Biojav Feature object temp.type=feat.getType(); Annotation anno = new SimpleAnnotation(); try { anno.setProperty("name",feat.getName()); anno.setProperty("description",labelstring); } catch (Exception e){ logger.warning(e.getMessage()); } temp.annotation = anno; List segments = feat.getSegments(); for ( int s =0; s< segments.size();s++){ org.biojava.spice.Feature.Segment segment = (org.biojava.spice.Feature.Segment) segments.get(s); int start = segment.getStart(); int end = segment.getEnd(); Location l = new RangeLocation(start,end); temp.location = l; //org.biojava.bio.seq.Feature f ; try { sequence.createFeature(temp); } catch (Exception e){ logger.warning(e.getMessage()); } } } } // set the Sequence to Render sequencePanel.setSequence(sequence); //display the whole Sequence sequencePanel.setRange(new RangeLocation(1,sequence.length())); //sequencePanel.setSize(sequencePanel.getSize()); //System.out.println("alignments have been set"); notifyAll(); sequencePanel.getParent().repaint(); } | 52521 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52521/4bb4af8362b5c7128a01a600839708bbcc141178/AlignmentChooser.java/clean/src/org/biojava/spice/GUI/alignmentchooser/AlignmentChooser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1071,
3852,
918,
444,
10044,
1346,
12,
3341,
18,
21010,
6290,
18,
21010,
18,
12890,
18,
28831,
18,
28831,
14409,
18,
11535,
8526,
524,
360,
87,
15329,
225,
28555,
273,
524,
360,
87,
31,
225,
309,
261,
524,
360,
87,
422,
446,
15329,
4901,
18,
8551,
2932,
2135,
28555,
864,
8863,
12336,
1595,
5621,
2463,
31,
225,
289,
309,
261,
2687,
422,
446,
262,
95,
4901,
18,
8551,
2932,
698,
310,
358,
444,
28555,
1865,
2687,
711,
2118,
444,
8863,
12336,
1595,
5621,
2463,
31,
225,
289,
225,
1194,
18,
1376,
2932,
19940,
848,
9876,
3086,
315,
397,
524,
360,
87,
18,
2469,
397,
315,
28555,
8863,
225,
514,
3833,
67,
701,
273,
2687,
18,
588,
4021,
5621,
225,
8370,
3102,
274,
225,
775,
288,
6178,
273,
1186,
10297,
10348,
18,
2640,
626,
10297,
4021,
12,
5436,
67,
701,
16,
315,
11815,
67,
21,
8863,
225,
289,
225,
1044,
261,
12195,
5335,
503,
425,
15329,
759,
848,
486,
1765,
3102,
5,
4901,
18,
8551,
12,
73,
18,
24906,
10663,
12336,
1595,
5621,
2463,
31,
225,
289,
225,
309,
261,
28555,
422,
446,
13,
288,
6178,
5537,
18,
542,
4021,
12,
6178,
1769,
759,
5417,
326,
7339,
3265,
6570,
73,
1890,
5537,
18,
542,
2655,
12,
2704,
8086,
2735,
12,
21,
16,
6178,
18,
2469,
1435,
10019,
225,
289,
368,
1542,
364,
2572,
18,
225,
2358,
18,
21010,
6290,
18,
21010,
18,
5436,
18,
4595,
18,
2283,
1906,
273,
394,
2358,
18,
21010,
6290,
18,
21010,
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,
225,
1071,
3852,
918,
444,
10044,
1346,
12,
3341,
18,
21010,
6290,
18,
21010,
18,
12890,
18,
28831,
18,
28831,
14409,
18,
11535,
8526,
524,
360,
87,
15329,
225,
28555,
273,
524,
360,
87,
31,
225,
309,
261,
524,
360,
87,
422,
446,
15329,
4901,
18,
8551,
2932,
2135,
28555,
864,
8863,
12336,
1595,
5621,
2463,
31,
225,
289,
309,
261,
2687,
422,
446,
262,
95,
4901,
18,
8551,
2932,
698,
310,
358,
444,
28555,
1865,
2687,
711,
2118,
444,
8863,
12336,
1595,
5621,
2463,
31,
225,
289,
225,
1194,
18,
1376,
2932,
19940,
848,
9876,
3086,
315,
397,
524,
360,
87,
18,
2469,
397,
315,
28555,
8863,
225,
514,
3833,
67,
701,
273,
2687,
18,
588,
4021,
5621,
2
] | ||
public static InputStream retrieve(Context context, int id) throws SQLException, IOException { TableRow bitstream = DatabaseManager.find(context, "bitstream", id); // MOD DRL - modified to support SRB GeneralFile file = getFile(bitstream); return (file != null) ? FileFactory.newFileInputStream(file) : null; // MOD end } | 47292 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47292/1fa8cb061e30402c53fca9f2a1d975fbe6581803/BitstreamStorageManager.java/clean/dspace/src/org/dspace/storage/bitstore/BitstreamStorageManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
4348,
17466,
12,
1042,
2472,
16,
474,
350,
13,
15069,
23116,
16,
14106,
95,
30650,
3682,
3256,
33,
4254,
1318,
18,
4720,
12,
2472,
10837,
3682,
3256,
3113,
350,
1769,
759,
6720,
16483,
17,
7342,
14627,
416,
655,
10090,
38,
202,
202,
12580,
812,
768,
33,
29925,
12,
3682,
3256,
1769,
202,
202,
2463,
12,
768,
5,
33,
2011,
9945,
812,
1733,
18,
2704,
812,
4348,
12,
768,
4672,
2011,
31,
759,
6720,
409,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
4348,
17466,
12,
1042,
2472,
16,
474,
350,
13,
15069,
23116,
16,
14106,
95,
30650,
3682,
3256,
33,
4254,
1318,
18,
4720,
12,
2472,
10837,
3682,
3256,
3113,
350,
1769,
759,
6720,
16483,
17,
7342,
14627,
416,
655,
10090,
38,
202,
202,
12580,
812,
768,
33,
29925,
12,
3682,
3256,
1769,
202,
202,
2463,
12,
768,
5,
33,
2011,
9945,
812,
1733,
18,
2704,
812,
4348,
12,
768,
4672,
2011,
31,
759,
6720,
409,
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
] | ||
Thread.currentThread().dumpStack(); | Thread.dumpStack(); | public JavaClass getJavaClass() { //XXX need to know when to make a new class and when not to //XXX this is an important optimization if (getBytes() == null) { System.out.println("no bytes for: " + getFilename()); Thread.currentThread().dumpStack(); } return Utility.makeJavaClass(filename, getBytes());// if (javaClass == null) javaClass = Utility.makeJavaClass(filename, getBytes());// return javaClass; } | 7955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7955/990faf8f05daeac1a2ce1de47d832905d3eb1c5e/UnwovenClassFile.java/buggy/org.aspectj/modules/weaver/src/org/aspectj/weaver/bcel/UnwovenClassFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
29491,
18911,
797,
1435,
288,
202,
202,
759,
15639,
1608,
358,
5055,
1347,
358,
1221,
279,
394,
667,
471,
1347,
486,
358,
202,
202,
759,
15639,
333,
353,
392,
10802,
14850,
202,
202,
430,
261,
588,
2160,
1435,
422,
446,
13,
288,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
2135,
1731,
364,
30,
315,
397,
14632,
10663,
1082,
202,
3830,
18,
2972,
3830,
7675,
8481,
2624,
5621,
202,
202,
97,
202,
202,
2463,
13134,
18,
6540,
5852,
797,
12,
3459,
16,
8425,
10663,
759,
202,
202,
430,
261,
6290,
797,
422,
446,
13,
2252,
797,
273,
13134,
18,
6540,
5852,
797,
12,
3459,
16,
8425,
10663,
759,
202,
202,
2463,
2252,
797,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
471,
1347,
486,
358,
202,
202,
759,
15639,
333,
353,
392,
10802,
14850,
202,
202,
430,
261,
588,
2160,
1435,
422,
446,
13,
288,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
2135,
1731,
364,
30,
315,
397,
14632,
10663,
1082,
202,
3830,
18,
2972,
3830,
7675,
8481,
2624,
5621,
202,
202,
97,
202,
202,
2463,
13134,
18,
6540,
5852,
797,
12,
3459,
16,
8425,
10663,
759,
202,
202,
430,
261,
6290,
797,
422,
446,
13,
2252,
797,
273,
13134,
18,
6540,
5852,
797,
12,
3459,
16,
8425,
10663,
759,
202,
202,
2463,
2252,
797,
31,
202,
97,
2
] |
try { addResourcesAndChildren(result, cont.members()); } catch (CoreException e) { } } | try { addResourcesAndChildren(result, cont.members()); } catch (CoreException e) { } } | private void addResourcesAndChildren(HashSet result, IResource[] resources) { for (int idx = 0; idx < resources.length; idx++) { IResource currentResource = resources[idx]; result.add(currentResource.getFullPath().toString()); if (currentResource instanceof IContainer) { IContainer cont = (IContainer) currentResource; try { addResourcesAndChildren(result, cont.members()); } catch (CoreException e) { // Ignore errors } } } } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/1ceb585b9b16047c6c580984b0c9962c41a22ba6/MarkerFilter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
527,
3805,
1876,
4212,
12,
13482,
563,
16,
467,
1420,
8526,
2703,
13,
288,
3639,
364,
261,
474,
2067,
273,
374,
31,
2067,
411,
2703,
18,
2469,
31,
2067,
27245,
288,
5411,
467,
1420,
783,
1420,
273,
2703,
63,
3465,
15533,
5411,
563,
18,
1289,
12,
2972,
1420,
18,
588,
24173,
7675,
10492,
10663,
5411,
309,
261,
2972,
1420,
1276,
467,
2170,
13,
288,
7734,
467,
2170,
466,
273,
261,
45,
2170,
13,
783,
1420,
31,
7734,
775,
288,
10792,
527,
3805,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
918,
527,
3805,
1876,
4212,
12,
13482,
563,
16,
467,
1420,
8526,
2703,
13,
288,
3639,
364,
261,
474,
2067,
273,
374,
31,
2067,
411,
2703,
18,
2469,
31,
2067,
27245,
288,
5411,
467,
1420,
783,
1420,
273,
2703,
63,
3465,
15533,
5411,
563,
18,
1289,
12,
2972,
1420,
18,
588,
24173,
7675,
10492,
10663,
5411,
309,
261,
2972,
1420,
1276,
467,
2170,
13,
288,
7734,
467,
2170,
466,
273,
261,
45,
2170,
13,
783,
1420,
31,
7734,
775,
288,
10792,
527,
3805,
1876,
4212,
12,
2088,
16,
466,
18,
7640,
10663,
7734,
289,
1044,
261,
25341,
425,
13,
288,
10792,
368,
8049,
1334,
7734,
289,
5411,
289,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100
] |
for (IDMContext parent : fParents) { | for (IDMContext<?> parent : fParents) { | protected String baseToString() { StringBuffer retVal = new StringBuffer(); for (IDMContext parent : fParents) { retVal.append(parent); } return retVal.toString(); } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/94841c4ee3efc4a608afcf5de2265b440c3cf516/AbstractDMContext.java/buggy/plugins/org.eclipse.dd.dsf/src/org/eclipse/dd/dsf/datamodel/AbstractDMContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
1026,
5808,
1435,
288,
3639,
6674,
12197,
273,
394,
6674,
5621,
540,
364,
261,
734,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1026,
5808,
1435,
288,
3639,
6674,
12197,
273,
394,
6674,
5621,
540,
364,
261,
734,
49,
1042,
12880,
34,
982,
294,
284,
13733,
13,
288,
5411,
12197,
18,
6923,
12,
2938,
1769,
3639,
289,
3639,
327,
12197,
18,
10492,
5621,
377,
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
] |
copyNonNullPermissions( newDetails, source.getPermissions() ); applyUmaskIfNecessary( newDetails ); if (source.getOwner() != null && ! source.getOwner().getId().equals( newDetails.getOwner().getId() )) { if ( currentUserIsAdmin() ) { newDetails.setOwner( source.getOwner() ); } else { throw new SecurityViolation(String.format( "You are not authorized to set the ExperimenterID" + " for %s to %d", obj, source.getOwner().getId() )); } } | if (hasPrivilegedToken(obj)) return obj.getDetails(); | public Details transientDetails( IObject obj ) { checkReady("transientDetails"); if ( hasPrivilegedToken( obj ) ) return obj.getDetails(); // EARLY EXIT Details source = obj.getDetails(); Details newDetails = CurrentDetails.createDetails(); if ( source != null ) { copyNonNullPermissions( newDetails, source.getPermissions() ); applyUmaskIfNecessary( newDetails ); // users *aren't* allowed to set the owner of an item. if (source.getOwner() != null && ! source.getOwner().getId().equals( newDetails.getOwner().getId() )) { // but this is root if ( currentUserIsAdmin() ) { newDetails.setOwner( source.getOwner() ); } else { throw new SecurityViolation(String.format( "You are not authorized to set the ExperimenterID" + " for %s to %d", obj, source.getOwner().getId() )); } } // users are only allowed to set to another of their groups if (source.getGroup() != null && source.getGroup().getId() != null) { // users can change to their own group if (memberOfGroups().contains( source.getGroup().getId())) { newDetails.setGroup( source.getGroup() ); } // and admin can change it too else if ( currentUserIsAdmin() ) { newDetails.setGroup( source.getGroup() ); } // oops. boom! else { throw new SecurityViolation(String.format( "You are not authorized to set the ExperimenterGroupID"+ " for %s to %d", obj, source.getGroup().getId() )); } } } return newDetails; } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/9c53370b3f7a88f29e38673527398c205d19f7d6/BasicSecuritySystem.java/buggy/components/server/src/ome/security/BasicSecuritySystem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
21897,
12315,
3790,
12,
467,
921,
1081,
262,
565,
288,
377,
202,
377,
202,
1893,
8367,
2932,
22670,
3790,
8863,
377,
202,
377,
202,
430,
261,
711,
18845,
1345,
12,
1081,
262,
262,
327,
1081,
18,
588,
3790,
5621,
368,
512,
985,
7076,
28407,
377,
202,
3639,
21897,
1084,
273,
1081,
18,
588,
3790,
5621,
3639,
21897,
394,
3790,
273,
6562,
3790,
18,
2640,
3790,
5621,
3639,
309,
261,
1084,
480,
446,
262,
3639,
288,
540,
202,
3530,
8921,
6521,
12,
394,
3790,
16,
1084,
18,
588,
6521,
1435,
11272,
540,
202,
9010,
57,
4455,
26034,
12,
394,
3790,
11272,
4766,
565,
368,
3677,
380,
7892,
1404,
14,
2935,
358,
444,
326,
3410,
434,
392,
761,
18,
5411,
309,
261,
3168,
18,
588,
5541,
1435,
480,
446,
5397,
597,
401,
1084,
18,
588,
5541,
7675,
26321,
7675,
14963,
12,
11794,
394,
3790,
18,
588,
5541,
7675,
26321,
1435,
8623,
5411,
288,
7734,
368,
1496,
333,
353,
1365,
7734,
309,
261,
13970,
2520,
4446,
1435,
262,
7734,
288,
10792,
394,
3790,
18,
542,
5541,
12,
1084,
18,
588,
5541,
1435,
11272,
7734,
289,
469,
288,
10792,
604,
394,
6036,
11683,
12,
780,
18,
2139,
12,
13491,
315,
6225,
854,
486,
10799,
358,
444,
326,
1312,
457,
381,
2328,
734,
6,
397,
13491,
315,
364,
738,
87,
358,
738,
72,
3113,
1081,
16,
1084,
18,
588,
5541,
7675,
26321,
1435,
7682,
262,
1769,
7734,
289,
18701,
289,
5411,
368,
3677,
854,
1338,
2935,
358,
444,
358,
4042,
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,
21897,
12315,
3790,
12,
467,
921,
1081,
262,
565,
288,
377,
202,
377,
202,
1893,
8367,
2932,
22670,
3790,
8863,
377,
202,
377,
202,
430,
261,
711,
18845,
1345,
12,
1081,
262,
262,
327,
1081,
18,
588,
3790,
5621,
368,
512,
985,
7076,
28407,
377,
202,
3639,
21897,
1084,
273,
1081,
18,
588,
3790,
5621,
3639,
21897,
394,
3790,
273,
6562,
3790,
18,
2640,
3790,
5621,
3639,
309,
261,
1084,
480,
446,
262,
3639,
288,
540,
202,
3530,
8921,
6521,
12,
394,
3790,
16,
1084,
18,
588,
6521,
1435,
11272,
540,
202,
9010,
57,
4455,
26034,
12,
394,
3790,
11272,
4766,
565,
368,
3677,
380,
7892,
1404,
14,
2935,
358,
444,
326,
3410,
434,
392,
761,
18,
2
] |
Set activityActivityBindings = first_activity .getActivityActivityBindings(); | Set activityRequirementBindings = first_activity .getActivityRequirementBindings(); | public void testActivity() { IActivity first_activity = activityManager .getActivity((String) activityIds.toArray()[0]); // Check activity activity bindings for parent activity Set activityActivityBindings = first_activity .getActivityActivityBindings(); for (int index = 2; index <= 7; index++) { assertTrue(activityActivityBindings .contains(new ActivityActivityBinding( "org.eclipse.activity" + Integer.toString(index), "org.eclipse.activity1"))); } // Check activity pattern bindings Set activityPatternBindings = first_activity .getActivityPatternBindings(); assertTrue(activityPatternBindings.size() != 0); IActivityPatternBinding activityPatternBinding = (IActivityPatternBinding) activityPatternBindings .toArray()[0]; assertTrue(activityPatternBinding.getActivityId().equals( first_activity.getId())); assertTrue(activityPatternBinding.getPattern().pattern().equals( "org.eclipse.pattern1")); // Check description try { assertTrue(first_activity.getDescription().equals("description")); } catch (NotDefinedException e) { e.printStackTrace(); } // Check activity id assertTrue(first_activity.getId().equals("org.eclipse.activity1")); // Check activity name try { assertTrue(first_activity.getName().equals("Activity 1")); } catch (NotDefinedException e) { e.printStackTrace(); } } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/61842f9a715897e11fb6af364c40e35b86918e60/StaticTest.java/buggy/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/activities/StaticTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
6193,
1435,
288,
202,
202,
45,
6193,
1122,
67,
9653,
273,
5728,
1318,
9506,
202,
18,
588,
6193,
12443,
780,
13,
5728,
2673,
18,
31447,
1435,
63,
20,
19226,
202,
202,
759,
2073,
5728,
5728,
7394,
364,
982,
5728,
202,
202,
694,
5728,
6193,
10497,
273,
1122,
67,
9653,
9506,
202,
18,
588,
6193,
6193,
10497,
5621,
202,
202,
1884,
261,
474,
770,
273,
576,
31,
770,
1648,
2371,
31,
770,
27245,
288,
1082,
202,
11231,
5510,
12,
9653,
6193,
10497,
6862,
202,
18,
12298,
12,
2704,
9621,
6193,
5250,
12,
6862,
1082,
202,
6,
3341,
18,
20416,
18,
9653,
6,
397,
2144,
18,
10492,
12,
1615,
3631,
6862,
1082,
202,
6,
3341,
18,
20416,
18,
9653,
21,
6,
3719,
1769,
202,
202,
97,
202,
202,
759,
2073,
5728,
1936,
7394,
202,
202,
694,
5728,
3234,
10497,
273,
1122,
67,
9653,
9506,
202,
18,
588,
6193,
3234,
10497,
5621,
202,
202,
11231,
5510,
12,
9653,
3234,
10497,
18,
1467,
1435,
480,
374,
1769,
202,
202,
45,
6193,
3234,
5250,
5728,
3234,
5250,
273,
261,
45,
6193,
3234,
5250,
13,
5728,
3234,
10497,
9506,
202,
18,
31447,
1435,
63,
20,
15533,
202,
202,
11231,
5510,
12,
9653,
3234,
5250,
18,
588,
6193,
548,
7675,
14963,
12,
9506,
202,
3645,
67,
9653,
18,
26321,
1435,
10019,
202,
202,
11231,
5510,
12,
9653,
3234,
5250,
18,
588,
3234,
7675,
4951,
7675,
14963,
12,
9506,
202,
6,
3341,
18,
20416,
18,
4951,
21,
7923,
1769,
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,
482,
918,
1842,
6193,
1435,
288,
202,
202,
45,
6193,
1122,
67,
9653,
273,
5728,
1318,
9506,
202,
18,
588,
6193,
12443,
780,
13,
5728,
2673,
18,
31447,
1435,
63,
20,
19226,
202,
202,
759,
2073,
5728,
5728,
7394,
364,
982,
5728,
202,
202,
694,
5728,
6193,
10497,
273,
1122,
67,
9653,
9506,
202,
18,
588,
6193,
6193,
10497,
5621,
202,
202,
1884,
261,
474,
770,
273,
576,
31,
770,
1648,
2371,
31,
770,
27245,
288,
1082,
202,
11231,
5510,
12,
9653,
6193,
10497,
6862,
202,
18,
12298,
12,
2704,
9621,
6193,
5250,
12,
6862,
1082,
202,
6,
3341,
18,
20416,
18,
9653,
6,
397,
2144,
18,
10492,
12,
1615,
3631,
6862,
1082,
202,
6,
3341,
18,
2
] |
buf.append("\n"); | buf.append("</tr>\n"); | private void writeTableHead(String string, String[] strings, StringBuffer buf) { buf.append("<h2>"); buf.append(string); buf.append("</h2>\n"); buf.append("<table border=\"0\">\n"); buf.append("<tr>"); for(int i=0;i<strings.length;i++) { buf.append("<th>"); buf.append(strings[i]); buf.append("</th>"); } buf.append("\n"); } | 51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/2a50af2c7d1c8c3a5ad945e6a509003db2cd8d7f/QueueToadlet.java/buggy/src/freenet/clients/http/QueueToadlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1045,
1388,
1414,
12,
780,
533,
16,
514,
8526,
2064,
16,
6674,
1681,
13,
288,
202,
202,
4385,
18,
6923,
2932,
32,
76,
22,
2984,
1769,
202,
202,
4385,
18,
6923,
12,
1080,
1769,
202,
202,
4385,
18,
6923,
2932,
1757,
76,
22,
5333,
82,
8863,
202,
202,
4385,
18,
6923,
2932,
32,
2121,
5795,
5189,
20,
28219,
82,
8863,
202,
202,
4385,
18,
6923,
2932,
32,
313,
2984,
1769,
202,
202,
1884,
12,
474,
277,
33,
20,
31,
77,
32,
10219,
18,
2469,
31,
77,
27245,
288,
1082,
202,
4385,
18,
6923,
2932,
32,
451,
2984,
1769,
1082,
202,
4385,
18,
6923,
12,
10219,
63,
77,
19226,
1082,
202,
4385,
18,
6923,
2932,
1757,
451,
2984,
1769,
202,
202,
97,
202,
202,
4385,
18,
6923,
31458,
82,
8863,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1045,
1388,
1414,
12,
780,
533,
16,
514,
8526,
2064,
16,
6674,
1681,
13,
288,
202,
202,
4385,
18,
6923,
2932,
32,
76,
22,
2984,
1769,
202,
202,
4385,
18,
6923,
12,
1080,
1769,
202,
202,
4385,
18,
6923,
2932,
1757,
76,
22,
5333,
82,
8863,
202,
202,
4385,
18,
6923,
2932,
32,
2121,
5795,
5189,
20,
28219,
82,
8863,
202,
202,
4385,
18,
6923,
2932,
32,
313,
2984,
1769,
202,
202,
1884,
12,
474,
277,
33,
20,
31,
77,
32,
10219,
18,
2469,
31,
77,
27245,
288,
1082,
202,
4385,
18,
6923,
2932,
32,
451,
2984,
1769,
1082,
202,
4385,
18,
6923,
12,
10219,
63,
77,
19226,
1082,
202,
4385,
18,
6923,
2932,
1757,
2
] |
out.println("Usage: adduser [username] [password]"); | writeLoggedFlushedResponse("Usage: adduser [username] [password]"); | private boolean doSETPASSWORD(String argument) { int breakIndex = -1; if ((argument == null) || (argument.equals("")) || ((breakIndex = argument.indexOf(" ")) < 0)) { out.println("Usage: setpassword [username] [password]"); out.flush(); return true; } String username = argument.substring(0,breakIndex); String passwd = argument.substring(breakIndex + 1); if (username.equals("") || passwd.equals("")) { out.println("Usage: adduser [username] [password]"); return true; } User user = users.getUserByName(username); if (user == null) { out.println("No such user " + username); return true; } boolean success = user.setPassword(passwd); if (success) { users.updateUser(user); StringBuffer responseBuffer = new StringBuffer(64) .append("Password for ") .append(username) .append(" reset"); String response = responseBuffer.toString(); out.println(response); getLogger().info(response); } else { out.println("Error resetting password"); getLogger().info("Error resetting password"); } out.flush(); return true; } | 47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/19742b13658fc079fa1f330c8ef176b565fef07c/RemoteManagerHandler.java/buggy/trunk/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
741,
4043,
13784,
12,
780,
1237,
13,
288,
3639,
509,
898,
1016,
273,
300,
21,
31,
3639,
309,
14015,
3446,
422,
446,
13,
747,
5411,
261,
3446,
18,
14963,
2932,
6,
3719,
747,
5411,
14015,
8820,
1016,
273,
1237,
18,
31806,
2932,
315,
3719,
411,
374,
3719,
288,
5411,
596,
18,
8222,
2932,
5357,
30,
444,
3664,
306,
5053,
65,
306,
3664,
4279,
1769,
5411,
596,
18,
11330,
5621,
5411,
327,
638,
31,
3639,
289,
3639,
514,
2718,
273,
1237,
18,
28023,
12,
20,
16,
8820,
1016,
1769,
3639,
514,
19093,
273,
1237,
18,
28023,
12,
8820,
1016,
397,
404,
1769,
3639,
309,
261,
5053,
18,
14963,
2932,
7923,
747,
19093,
18,
14963,
2932,
6,
3719,
288,
5411,
1045,
19862,
8207,
27619,
2932,
5357,
30,
527,
1355,
306,
5053,
65,
306,
3664,
4279,
1769,
5411,
327,
638,
31,
3639,
289,
3639,
2177,
729,
273,
3677,
18,
588,
1299,
5911,
12,
5053,
1769,
3639,
309,
261,
1355,
422,
446,
13,
288,
5411,
596,
18,
8222,
2932,
2279,
4123,
729,
315,
397,
2718,
1769,
5411,
327,
638,
31,
3639,
289,
3639,
1250,
2216,
273,
729,
18,
542,
3913,
12,
24002,
1769,
3639,
309,
261,
4768,
13,
288,
5411,
3677,
18,
2725,
1299,
12,
1355,
1769,
5411,
6674,
766,
1892,
273,
7734,
394,
6674,
12,
1105,
13,
13491,
263,
6923,
2932,
3913,
364,
9369,
13491,
263,
6923,
12,
5053,
13,
13491,
263,
6923,
2932,
2715,
8863,
5411,
514,
766,
273,
766,
1892,
18,
10492,
5621,
5411,
596,
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,
741,
4043,
13784,
12,
780,
1237,
13,
288,
3639,
509,
898,
1016,
273,
300,
21,
31,
3639,
309,
14015,
3446,
422,
446,
13,
747,
5411,
261,
3446,
18,
14963,
2932,
6,
3719,
747,
5411,
14015,
8820,
1016,
273,
1237,
18,
31806,
2932,
315,
3719,
411,
374,
3719,
288,
5411,
596,
18,
8222,
2932,
5357,
30,
444,
3664,
306,
5053,
65,
306,
3664,
4279,
1769,
5411,
596,
18,
11330,
5621,
5411,
327,
638,
31,
3639,
289,
3639,
514,
2718,
273,
1237,
18,
28023,
12,
20,
16,
8820,
1016,
1769,
3639,
514,
19093,
273,
1237,
18,
28023,
12,
8820,
1016,
397,
404,
1769,
3639,
309,
261,
5053,
18,
14963,
2932,
7923,
747,
19093,
18,
14963,
2932,
6,
3719,
2
] |
viewBugDetailsItemActionPerformed(evt); | viewConsoleItemActionPerformed(evt); | public void actionPerformed(java.awt.event.ActionEvent evt) { viewBugDetailsItemActionPerformed(evt); } | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/bf882463d59c6052e8c186cc8762ec65d3eafc47/FindBugsFrame.java/clean/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26100,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
7734,
1476,
10215,
1180,
19449,
12,
73,
11734,
1769,
5411,
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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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2398,
1071,
918,
26100,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
7734,
1476,
10215,
1180,
19449,
12,
73,
11734,
1769,
5411,
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
] |
System.out.println("subscriber: got a notify ."); | logger.info("subscriber: got a notify count " + this.count++ ); | public void processNotify( Request request, ServerTransaction serverTransactionId) { try { System.out.println("subscriber: got a notify ."); if (serverTransactionId == null) { System.out.println("subscriber: null TID."); return; } Dialog dialog = serverTransactionId.getDialog(); System.out.println("Dialog State = " + dialog.getState()); Response response = messageFactory.createResponse (200, request); // serverTransactionId.sendResponse(response); System.out.println("subscriber: Sending OK."); System.out.println("Dialog State = " + dialog.getState()); } catch (Exception ex) { ex.printStackTrace(); System.exit(0); } } | 7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/d3bce65e49e71ee7df15bd72fd338535d4501bc1/Subscriber.java/buggy/trunk/src/examples/subsnotify/Subscriber.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1207,
9168,
12,
202,
202,
691,
590,
16,
202,
202,
2081,
3342,
1438,
27387,
13,
288,
202,
202,
698,
288,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
26410,
30,
225,
2363,
279,
5066,
263,
8863,
1082,
202,
430,
261,
3567,
27387,
422,
446,
13,
288,
9506,
202,
3163,
18,
659,
18,
8222,
2932,
26410,
30,
225,
446,
399,
734,
1199,
1769,
9506,
202,
2463,
31,
1082,
202,
97,
1082,
202,
6353,
6176,
273,
1438,
27387,
18,
588,
6353,
5621,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
6353,
3287,
273,
315,
397,
6176,
18,
588,
1119,
10663,
1082,
202,
1064,
766,
273,
883,
1733,
18,
2640,
1064,
25083,
202,
12,
6976,
16,
590,
1769,
1082,
202,
759,
1438,
27387,
18,
4661,
1064,
12,
2740,
1769,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
26410,
30,
225,
2479,
310,
7791,
1199,
1769,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
6353,
3287,
273,
315,
397,
6176,
18,
588,
1119,
10663,
202,
202,
97,
1044,
261,
503,
431,
13,
288,
1082,
202,
338,
18,
1188,
6332,
5621,
1082,
202,
3163,
18,
8593,
12,
20,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
918,
1207,
9168,
12,
202,
202,
691,
590,
16,
202,
202,
2081,
3342,
1438,
27387,
13,
288,
202,
202,
698,
288,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
26410,
30,
225,
2363,
279,
5066,
263,
8863,
1082,
202,
430,
261,
3567,
27387,
422,
446,
13,
288,
9506,
202,
3163,
18,
659,
18,
8222,
2932,
26410,
30,
225,
446,
399,
734,
1199,
1769,
9506,
202,
2463,
31,
1082,
202,
97,
1082,
202,
6353,
6176,
273,
1438,
27387,
18,
588,
6353,
5621,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
6353,
3287,
273,
315,
397,
6176,
18,
588,
1119,
10663,
1082,
202,
1064,
766,
273,
883,
1733,
18,
2640,
1064,
25083,
202,
12,
6976,
16,
590,
1769,
2
] |
((FigEdgeModelElement) _content).computeRoute(); | ((FigEdgeModelElement) getContent()).computeRoute(); | public void mouseReleased(MouseEvent me) { // check pre-conds if (me.isConsumed() || !armed || pointIndex == -1) { armed = false; super.mouseReleased(me); return; } //Set-up: int x = me.getX(), y = me.getY(); // the fig that was under the mouse when it was released FigNodeModelElement newFig = null; //make a nice little target area: Rectangle mousePoint = new Rectangle(x - 5, y - 5, 5, 5); // and find the Fig: Editor editor = Globals.curEditor(); LayerManager lm = editor.getLayerManager(); Layer active = lm.getActiveLayer(); Enumeration figs = active.elementsIn(mousePoint); // last is the top fig. while (figs.hasMoreElements()) { Fig candidateFig = (Fig) figs.nextElement(); if (candidateFig instanceof FigNodeModelElement && candidateFig.isSelectable()) { newFig = (FigNodeModelElement) candidateFig; } } // check intermediate post-condition. if (newFig == null) { armed = false; super.mouseReleased(me); return; } UMLMutableGraphSupport mgm = (UMLMutableGraphSupport) editor.getGraphModel(); FigNodeModelElement oldFig = null; boolean isSource = false; if (pointIndex == 0) { oldFig = sourceFig; isSource = true; } else { oldFig = destFig; } // delegate the re-routing to graphmodels. if (mgm.canChangeConnectedNode(newFig.getOwner(), oldFig.getOwner(), this._content.getOwner())) { mgm.changeConnectedNode(newFig.getOwner(), oldFig.getOwner(), this._content.getOwner(), isSource); } editor.getSelectionManager().deselect(_content); armed = false; ((FigEdgeModelElement) _content).computeRoute(); super.mouseReleased(me); return; } | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/55b1a2bf9e5a1ff91e4f97c63ed8d76eb2a68f27/SelectionRerouteEdge.java/clean/src_new/org/argouml/uml/diagram/ui/SelectionRerouteEdge.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7644,
26363,
12,
9186,
1133,
1791,
13,
288,
3639,
368,
866,
675,
17,
20874,
3639,
309,
261,
3501,
18,
291,
20554,
1435,
747,
401,
297,
2937,
747,
1634,
1016,
422,
300,
21,
13,
288,
5411,
419,
2937,
273,
629,
31,
5411,
2240,
18,
11697,
26363,
12,
3501,
1769,
5411,
327,
31,
3639,
289,
3639,
368,
694,
17,
416,
30,
3639,
509,
619,
273,
1791,
18,
588,
60,
9334,
677,
273,
1791,
18,
588,
61,
5621,
3639,
368,
326,
4291,
716,
1703,
3613,
326,
7644,
1347,
518,
1703,
15976,
3639,
478,
360,
907,
1488,
1046,
394,
42,
360,
273,
446,
31,
3639,
368,
6540,
279,
13752,
12720,
1018,
5091,
30,
3639,
13264,
7644,
2148,
273,
394,
13264,
12,
92,
300,
1381,
16,
677,
300,
1381,
16,
1381,
16,
1381,
1769,
3639,
368,
471,
1104,
326,
478,
360,
30,
3639,
18451,
4858,
273,
18901,
1031,
18,
1397,
6946,
5621,
3639,
12112,
1318,
14966,
273,
4858,
18,
588,
4576,
1318,
5621,
3639,
12112,
2695,
273,
14966,
18,
588,
3896,
4576,
5621,
3639,
13864,
4291,
87,
273,
2695,
18,
6274,
382,
12,
11697,
2148,
1769,
3639,
368,
1142,
353,
326,
1760,
4291,
18,
3639,
1323,
261,
470,
87,
18,
5332,
7417,
3471,
10756,
288,
5411,
478,
360,
5500,
42,
360,
273,
261,
42,
360,
13,
4291,
87,
18,
4285,
1046,
5621,
5411,
309,
261,
19188,
42,
360,
1276,
478,
360,
907,
1488,
1046,
10792,
597,
5500,
42,
360,
18,
291,
31544,
10756,
288,
7734,
394,
42,
360,
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,
1071,
918,
7644,
26363,
12,
9186,
1133,
1791,
13,
288,
3639,
368,
866,
675,
17,
20874,
3639,
309,
261,
3501,
18,
291,
20554,
1435,
747,
401,
297,
2937,
747,
1634,
1016,
422,
300,
21,
13,
288,
5411,
419,
2937,
273,
629,
31,
5411,
2240,
18,
11697,
26363,
12,
3501,
1769,
5411,
327,
31,
3639,
289,
3639,
368,
694,
17,
416,
30,
3639,
509,
619,
273,
1791,
18,
588,
60,
9334,
677,
273,
1791,
18,
588,
61,
5621,
3639,
368,
326,
4291,
716,
1703,
3613,
326,
7644,
1347,
518,
1703,
15976,
3639,
478,
360,
907,
1488,
1046,
394,
42,
360,
273,
446,
31,
3639,
368,
6540,
279,
13752,
12720,
1018,
5091,
30,
3639,
13264,
7644,
2148,
273,
394,
13264,
2
] |
throw new TypeError(getRuntime(), "expected " + argument_types().inspect() + | throw getRuntime().newTypeError("expected " + argument_types().inspect() + | public IRubyObject new_instance(IRubyObject[] args) { if (args.length != getArity()) { throw new ArgumentError(getRuntime(), args.length, getArity()); } Object[] constructorArguments = new Object[args.length]; Class[] types = constructor.getParameterTypes(); for (int i = 0; i < args.length; i++) { constructorArguments[i] = JavaUtil.convertArgument(args[i], types[i]); } try { Object result = constructor.newInstance(constructorArguments); return JavaObject.wrap(getRuntime(), result); } catch (IllegalArgumentException iae) { throw new TypeError(getRuntime(), "expected " + argument_types().inspect() + ", got [" + constructorArguments[0].getClass().getName() + ", ...]"); } catch (IllegalAccessException iae) { throw new TypeError(getRuntime(), "illegal access"); } catch (InvocationTargetException ite) { getRuntime().getJavaSupport().handleNativeException(ite.getTargetException()); Asserts.notReached(); return null; } catch (InstantiationException ie) { throw new TypeError(getRuntime(), "can't make instance of " + constructor.getDeclaringClass().getName()); } } | 47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/870e1da9b41bfdbae259e1fc5f18fc8b76686998/JavaConstructor.java/buggy/src/org/jruby/javasupport/JavaConstructor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
394,
67,
1336,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
309,
261,
1968,
18,
2469,
480,
336,
686,
560,
10756,
288,
5411,
604,
394,
9236,
12,
588,
5576,
9334,
833,
18,
2469,
16,
336,
686,
560,
10663,
3639,
289,
3639,
1033,
8526,
3885,
4628,
273,
394,
1033,
63,
1968,
18,
2469,
15533,
3639,
1659,
8526,
1953,
273,
3885,
18,
588,
1662,
2016,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
5411,
3885,
4628,
63,
77,
65,
273,
5110,
1304,
18,
6283,
1379,
12,
1968,
63,
77,
6487,
1953,
63,
77,
19226,
3639,
289,
3639,
775,
288,
5411,
1033,
563,
273,
3885,
18,
2704,
1442,
12,
12316,
4628,
1769,
5411,
327,
5110,
921,
18,
4113,
12,
588,
5576,
9334,
563,
1769,
3639,
289,
1044,
261,
31237,
30905,
13,
288,
5411,
604,
18814,
7675,
2704,
19030,
2932,
3825,
315,
397,
1237,
67,
2352,
7675,
12009,
1435,
397,
4766,
2868,
3104,
2363,
8247,
397,
3885,
4628,
63,
20,
8009,
588,
797,
7675,
17994,
1435,
397,
3104,
1372,
4279,
1769,
3639,
289,
1044,
261,
12195,
9773,
30905,
13,
288,
5411,
604,
394,
3580,
12,
588,
5576,
9334,
315,
31751,
2006,
8863,
3639,
289,
1044,
261,
9267,
14950,
518,
73,
13,
288,
5411,
18814,
7675,
588,
5852,
6289,
7675,
4110,
9220,
503,
12,
1137,
18,
588,
14950,
10663,
5411,
5452,
87,
18,
902,
23646,
5621,
5411,
327,
446,
31,
3639,
289,
1044,
261,
10675,
7072,
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,
15908,
10340,
921,
394,
67,
1336,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
309,
261,
1968,
18,
2469,
480,
336,
686,
560,
10756,
288,
5411,
604,
394,
9236,
12,
588,
5576,
9334,
833,
18,
2469,
16,
336,
686,
560,
10663,
3639,
289,
3639,
1033,
8526,
3885,
4628,
273,
394,
1033,
63,
1968,
18,
2469,
15533,
3639,
1659,
8526,
1953,
273,
3885,
18,
588,
1662,
2016,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
5411,
3885,
4628,
63,
77,
65,
273,
5110,
1304,
18,
6283,
1379,
12,
1968,
63,
77,
6487,
1953,
63,
77,
19226,
3639,
289,
3639,
775,
288,
5411,
1033,
563,
273,
3885,
18,
2
] |
if(isHierarchalMode()){ selectionList = new ArrayList(); Iterator selectionIterator = selection.iterator(); while(selectionIterator.hasNext()){ MarkerNode next = (MarkerNode) selectionIterator.next(); if(next.isConcrete()) selectionList.add(next); } | selectionList = new ArrayList(); Iterator selectionIterator = selection.iterator(); while (selectionIterator.hasNext()) { MarkerNode next = (MarkerNode) selectionIterator.next(); if (next.isConcrete()) selectionList.add(next); | protected String updateSummarySelected(IStructuredSelection selection) { Collection selectionList; if(isHierarchalMode()){ selectionList = new ArrayList(); Iterator selectionIterator = selection.iterator(); while(selectionIterator.hasNext()){ MarkerNode next = (MarkerNode) selectionIterator.next(); if(next.isConcrete()) selectionList.add(next); } } else selectionList = selection.toList(); return getSummary(new MarkerList(selectionList), "problem.statusSummarySelected"); //$NON-NLS-1$ } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/2bc2f7e05493c8f842d6d73cc7cb85357120cefd/ProblemView.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ProblemView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
1089,
4733,
7416,
12,
45,
30733,
6233,
4421,
13,
288,
202,
202,
2532,
4421,
682,
31,
202,
202,
430,
12,
291,
44,
5148,
287,
2309,
10756,
95,
1082,
202,
10705,
682,
273,
394,
2407,
5621,
1082,
202,
3198,
4421,
3198,
273,
4421,
18,
9838,
5621,
1082,
202,
17523,
12,
10705,
3198,
18,
5332,
2134,
10756,
95,
9506,
202,
7078,
907,
1024,
273,
261,
7078,
907,
13,
4421,
3198,
18,
4285,
5621,
9506,
202,
430,
12,
4285,
18,
291,
25845,
10756,
6862,
202,
10705,
682,
18,
1289,
12,
4285,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
1082,
202,
10705,
682,
273,
4421,
18,
869,
682,
5621,
9506,
202,
2463,
1322,
27804,
12,
2704,
14742,
682,
12,
10705,
682,
3631,
9506,
202,
6,
18968,
18,
2327,
4733,
7416,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
1089,
4733,
7416,
12,
45,
30733,
6233,
4421,
13,
288,
202,
202,
2532,
4421,
682,
31,
202,
202,
430,
12,
291,
44,
5148,
287,
2309,
10756,
95,
1082,
202,
10705,
682,
273,
394,
2407,
5621,
1082,
202,
3198,
4421,
3198,
273,
4421,
18,
9838,
5621,
1082,
202,
17523,
12,
10705,
3198,
18,
5332,
2134,
10756,
95,
9506,
202,
7078,
907,
1024,
273,
261,
7078,
907,
13,
4421,
3198,
18,
4285,
5621,
9506,
202,
430,
12,
4285,
18,
291,
25845,
10756,
6862,
202,
10705,
682,
18,
1289,
12,
4285,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
1082,
202,
10705,
682,
273,
4421,
18,
869,
682,
5621,
9506,
202,
2463,
1322,
27804,
12,
2704,
2
] |
synchronized( this ) { | IFolder srcFolder; synchronized(this){ srcFolder = getGeneratedSourceFolder(); | public void generatedSourceFolderDeleted() { // jdt-core will remove the generated source folder from the java // project's classpath, so we'll just clean out our maps. projectClean( false ); synchronized( this ) { _generatedSourceFolder = null; } } | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/f33fe27819e8270eb24d0e5a64c8fba3d823b0e8/GeneratedFileManager.java/buggy/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4374,
1830,
3899,
7977,
1435,
202,
95,
202,
202,
759,
525,
7510,
17,
3644,
903,
1206,
326,
4374,
1084,
3009,
628,
326,
2252,
3196,
202,
759,
1984,
1807,
10006,
16,
1427,
732,
5614,
2537,
2721,
596,
3134,
7565,
18,
3196,
202,
4406,
7605,
12,
629,
11272,
202,
202,
22043,
12,
333,
262,
202,
202,
95,
1082,
202,
67,
11168,
1830,
3899,
273,
446,
31,
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,
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,
1206,
326,
4374,
1084,
3009,
628,
326,
2252,
3196,
202,
759,
1984,
1807,
10006,
16,
1427,
732,
5614,
2537,
2721,
596,
3134,
7565,
18,
3196,
202,
4406,
7605,
12,
629,
11272,
202,
202,
22043,
12,
333,
262,
202,
202,
95,
1082,
202,
67,
11168,
1830,
3899,
273,
446,
31,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return RubyBignum.newBignum(getRuby(), value).op_minus(other); } return newFixnum(result); } } | return RubyBignum.newBignum(getRuby(), value).op_minus(other); } return newFixnum(result); } } | public RubyNumeric op_minus(RubyObject num) { RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuby(), getDoubleValue()).op_minus(other); } else if (other instanceof RubyBignum) { return RubyBignum.newBignum(getRuby(), value).op_minus(other); } else { long otherValue = other.getLongValue(); long result = value - otherValue; if ((value < 0 && otherValue > 0 && result > 0) || (value > 0 && otherValue < 0 && result < 0)) { return RubyBignum.newBignum(getRuby(), value).op_minus(other); } return newFixnum(result); } } | 46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/1cc89bd397c0f049e6fa3045916fd6d9a3cdada8/RubyFixnum.java/buggy/org/jruby/RubyFixnum.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
9902,
1061,
67,
19601,
12,
54,
10340,
921,
818,
13,
288,
3639,
19817,
9902,
1308,
273,
6389,
620,
12,
2107,
1769,
3639,
309,
261,
3011,
1276,
19817,
4723,
13,
288,
5411,
327,
19817,
4723,
18,
2704,
4723,
12,
588,
54,
10340,
9334,
16097,
620,
1435,
2934,
556,
67,
19601,
12,
3011,
1769,
3639,
289,
469,
309,
261,
3011,
1276,
19817,
38,
724,
379,
13,
288,
5411,
327,
19817,
38,
724,
379,
18,
2704,
38,
724,
379,
12,
588,
54,
10340,
9334,
460,
2934,
556,
67,
19601,
12,
3011,
1769,
3639,
289,
469,
288,
5411,
1525,
1308,
620,
273,
1308,
18,
588,
3708,
620,
5621,
5411,
1525,
563,
273,
460,
300,
1308,
620,
31,
1082,
202,
430,
14015,
1132,
411,
374,
597,
1308,
620,
405,
374,
597,
563,
405,
374,
13,
747,
261,
1132,
405,
374,
597,
1308,
620,
411,
374,
597,
563,
411,
374,
3719,
288,
9506,
565,
327,
19817,
38,
724,
379,
18,
2704,
38,
724,
379,
12,
588,
54,
10340,
9334,
460,
2934,
556,
67,
19601,
12,
3011,
1769,
540,
202,
97,
5411,
327,
394,
8585,
2107,
12,
2088,
1769,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
9902,
1061,
67,
19601,
12,
54,
10340,
921,
818,
13,
288,
3639,
19817,
9902,
1308,
273,
6389,
620,
12,
2107,
1769,
3639,
309,
261,
3011,
1276,
19817,
4723,
13,
288,
5411,
327,
19817,
4723,
18,
2704,
4723,
12,
588,
54,
10340,
9334,
16097,
620,
1435,
2934,
556,
67,
19601,
12,
3011,
1769,
3639,
289,
469,
309,
261,
3011,
1276,
19817,
38,
724,
379,
13,
288,
5411,
327,
19817,
38,
724,
379,
18,
2704,
38,
724,
379,
12,
588,
54,
10340,
9334,
460,
2934,
556,
67,
19601,
12,
3011,
1769,
3639,
289,
469,
288,
5411,
1525,
1308,
620,
273,
1308,
18,
588,
3708,
620,
5621,
5411,
1525,
563,
273,
460,
300,
1308,
620,
31,
1082,
202,
430,
2
] |
String description = localizer.localizedTemplateStringForKeyWithObject("CreateTestItemFromReq.templateString", bug); TestItem testItem = user.createTestItemFromRequestWithDescription(bug, (Component)valueForKey("component"), description); EditPageInterface epi=(EditPageInterface)D2W.factory().pageForConfigurationNamed("CreateNewTestItemFromReq",session()); epi.setObject(testItem); epi.setNextPage(context().page()); | String description = localizer.localizedTemplateStringForKeyWithObject("CreateTestItemFromReq.templateString", bug); TestItem testItem = user.createTestItemFromRequestWithDescription(bug, (Component)valueForKey("component"), description); epi=(EditPageInterface)D2W.factory().pageForConfigurationNamed("CreateNewTestItemFromReq",session()); epi.setObject(testItem); epi.setNextPage(context().page()); } finally { peer.unlock(); } | public WOComponent createTestItem() { ERXLocalizer localizer = ERXLocalizer.localizerForSession(session()); EOEditingContext peer = new EOEditingContext(bug.editingContext().parentObjectStore()); People user = (People)EOUtilities.localInstanceOfObject(peer,((Session)session()).getUser()); String description = localizer.localizedTemplateStringForKeyWithObject("CreateTestItemFromReq.templateString", bug); TestItem testItem = user.createTestItemFromRequestWithDescription(bug, (Component)valueForKey("component"), description); EditPageInterface epi=(EditPageInterface)D2W.factory().pageForConfigurationNamed("CreateNewTestItemFromReq",session()); epi.setObject(testItem); epi.setNextPage(context().page()); return (WOComponent)epi; } | 50512 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50512/a8f1495dff9fbd49d7378b2716c8774c4b27141d/CreateTestItemFromReq.java/buggy/Common/Applications/BugTracker/Sources/er/bugtracker/CreateTestItemFromReq.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
678,
51,
1841,
752,
4709,
1180,
1435,
288,
3639,
4232,
60,
2042,
1824,
1191,
1824,
273,
4232,
60,
2042,
1824,
18,
3729,
1824,
1290,
2157,
12,
3184,
10663,
3639,
512,
51,
28029,
1042,
4261,
273,
394,
512,
51,
28029,
1042,
12,
925,
18,
4619,
310,
1042,
7675,
2938,
921,
2257,
10663,
3639,
19622,
11763,
729,
273,
261,
11227,
11763,
13,
41,
51,
11864,
18,
3729,
1442,
951,
921,
12,
12210,
16,
12443,
2157,
13,
3184,
1435,
2934,
588,
1299,
10663,
3639,
514,
2477,
273,
1191,
1824,
18,
3729,
1235,
2283,
780,
19759,
1190,
921,
2932,
1684,
4709,
1180,
1265,
6113,
18,
3202,
780,
3113,
7934,
1769,
3639,
7766,
1180,
1842,
1180,
273,
729,
18,
2640,
4709,
1180,
25074,
1190,
3291,
12,
925,
16,
261,
1841,
13,
1132,
19759,
2932,
4652,
6,
3631,
2477,
1769,
3639,
15328,
1964,
1358,
5529,
77,
28657,
4666,
1964,
1358,
13,
40,
22,
59,
18,
6848,
7675,
2433,
1290,
1750,
7604,
2932,
1684,
1908,
4709,
1180,
1265,
6113,
3113,
3184,
10663,
3639,
5529,
77,
18,
542,
921,
12,
3813,
1180,
1769,
3639,
5529,
77,
18,
542,
21563,
12,
2472,
7675,
2433,
10663,
3639,
327,
261,
59,
51,
1841,
13,
29870,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
678,
51,
1841,
752,
4709,
1180,
1435,
288,
3639,
4232,
60,
2042,
1824,
1191,
1824,
273,
4232,
60,
2042,
1824,
18,
3729,
1824,
1290,
2157,
12,
3184,
10663,
3639,
512,
51,
28029,
1042,
4261,
273,
394,
512,
51,
28029,
1042,
12,
925,
18,
4619,
310,
1042,
7675,
2938,
921,
2257,
10663,
3639,
19622,
11763,
729,
273,
261,
11227,
11763,
13,
41,
51,
11864,
18,
3729,
1442,
951,
921,
12,
12210,
16,
12443,
2157,
13,
3184,
1435,
2934,
588,
1299,
10663,
3639,
514,
2477,
273,
1191,
1824,
18,
3729,
1235,
2283,
780,
19759,
1190,
921,
2932,
1684,
4709,
1180,
1265,
6113,
18,
3202,
780,
3113,
7934,
1769,
3639,
7766,
1180,
1842,
1180,
273,
729,
18,
2640,
4709,
1180,
2
] |
this.borderColor = | this.borderTopColor = | public Status layout(Area area) throws FOPException { if (this.marker == BREAK_AFTER) { return new Status(Status.OK); } if (this.marker == START) { String fontFamily = this.properties.get("font-family").getString(); String fontStyle = this.properties.get("font-style").getString(); String fontWeight = this.properties.get("font-weight").getString(); int fontSize = this.properties.get("font-size").getLength().mvalue(); this.fs = new FontState(area.getFontInfo(), fontFamily, fontStyle, fontWeight, fontSize); this.borderColor = this.properties.get("border-color").getColorType(); this.borderWidth = this.properties.get("border-width").getLength().mvalue(); this.borderStyle = this.properties.get("border-style").getEnum(); this.paddingTop = this.properties.get("padding").getLength().mvalue(); this.paddingLeft = this.paddingTop; this.paddingRight = this.paddingTop; this.paddingBottom = this.paddingTop; if (this.paddingTop == 0) { this.paddingTop = this.properties.get("padding-top").getLength().mvalue(); this.paddingLeft = this.properties.get("padding-left").getLength().mvalue(); this.paddingBottom = this.properties.get("padding-bottom").getLength().mvalue(); this.paddingRight = this.properties.get("padding-right").getLength().mvalue(); } this.spaceBefore = this.properties.get("space-before.optimum").getLength().mvalue(); this.spaceAfter = this.properties.get("space-after.optimum").getLength().mvalue(); this.backgroundColor = this.properties.get("background-color").getColorType(); this.id = this.properties.get("id").getString(); if (area instanceof BlockArea) { area.end(); } //if (this.isInListBody) { //startIndent += bodyIndent + distanceBetweenStarts; //} area.getIDReferences().createID(id); this.marker = 0; } if ((spaceBefore != 0) && (this.marker ==0)) { area.addDisplaySpace(spaceBefore); } if ( marker==0 ) { // configure id area.getIDReferences().configureID(id,area); } this.areaContainer = new AreaContainer(fs, startOffset - area.borderWidthLeft, - area.borderWidthTop, width, area.spaceLeft(), Position.RELATIVE); areaContainer.setPage(area.getPage()); areaContainer.setPadding(paddingTop, paddingLeft, paddingBottom, paddingRight); areaContainer.setBackgroundColor(backgroundColor); areaContainer.setBorderStyle(borderStyle, borderStyle, borderStyle, borderStyle); areaContainer.setBorderWidth(borderWidth, borderWidth, borderWidth, borderWidth); areaContainer.setBorderColor(borderColor, borderColor, borderColor, borderColor); areaContainer.start(); areaContainer.setAbsoluteHeight(area.getAbsoluteHeight()); areaContainer.setIDReferences(area.getIDReferences()); areaContainer.setTableCellXOffset(startOffset); int numChildren = this.children.size(); for (int i = this.marker; i < numChildren; i++) { FObj fo = (FObj) children.elementAt(i); fo.setIsInTableCell(); fo.forceWidth(width); Status status; if ((status = fo.layout(areaContainer)).isIncomplete()) { this.marker = i; if ((i == 0) && (status.getCode() == Status.AREA_FULL_NONE)) { return new Status(Status.AREA_FULL_NONE); } else { return new Status(Status.AREA_FULL_SOME); } } } areaContainer.end(); area.addChild(areaContainer); return new Status(Status.OK); } | 5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/a1ec7f8239d6f243f9dbe06fe85e239cdfac4d63/TableCell.java/buggy/src/org/apache/fop/fo/flow/TableCell.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2685,
3511,
12,
5484,
5091,
13,
1216,
478,
3665,
503,
288,
202,
430,
261,
2211,
18,
11145,
422,
605,
22176,
67,
18249,
13,
288,
202,
565,
327,
394,
2685,
12,
1482,
18,
3141,
1769,
202,
97,
202,
430,
261,
2211,
18,
11145,
422,
10485,
13,
288,
202,
565,
514,
3512,
9203,
273,
202,
202,
2211,
18,
4738,
18,
588,
2932,
5776,
17,
9309,
20387,
588,
780,
5621,
3196,
565,
514,
3512,
2885,
273,
202,
202,
2211,
18,
4738,
18,
588,
2932,
5776,
17,
4060,
20387,
588,
780,
5621,
3196,
565,
514,
3512,
6544,
273,
202,
202,
2211,
18,
4738,
18,
588,
2932,
5776,
17,
4865,
20387,
588,
780,
5621,
3196,
565,
509,
16746,
273,
202,
202,
2211,
18,
4738,
18,
588,
2932,
5776,
17,
1467,
20387,
588,
1782,
7675,
81,
1132,
5621,
9785,
202,
565,
333,
18,
2556,
273,
394,
10063,
1119,
12,
5036,
18,
588,
5711,
966,
9334,
3512,
9203,
16,
4405,
565,
3512,
2885,
16,
3512,
6544,
16,
16746,
1769,
21114,
565,
333,
18,
8815,
2957,
273,
202,
202,
2211,
18,
4738,
18,
588,
2932,
8815,
17,
3266,
20387,
588,
2957,
559,
5621,
202,
565,
333,
18,
8815,
2384,
273,
202,
202,
2211,
18,
4738,
18,
588,
2932,
8815,
17,
2819,
20387,
588,
1782,
7675,
81,
1132,
5621,
202,
565,
333,
18,
8815,
2885,
273,
202,
202,
2211,
18,
4738,
18,
588,
2932,
8815,
17,
4060,
20387,
588,
3572,
5621,
202,
565,
333,
18,
9598,
3401,
273,
202,
202,
2211,
18,
4738,
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,
2685,
3511,
12,
5484,
5091,
13,
1216,
478,
3665,
503,
288,
202,
430,
261,
2211,
18,
11145,
422,
605,
22176,
67,
18249,
13,
288,
202,
565,
327,
394,
2685,
12,
1482,
18,
3141,
1769,
202,
97,
202,
430,
261,
2211,
18,
11145,
422,
10485,
13,
288,
202,
565,
514,
3512,
9203,
273,
202,
202,
2211,
18,
4738,
18,
588,
2932,
5776,
17,
9309,
20387,
588,
780,
5621,
3196,
565,
514,
3512,
2885,
273,
202,
202,
2211,
18,
4738,
18,
588,
2932,
5776,
17,
4060,
20387,
588,
780,
5621,
3196,
565,
514,
3512,
6544,
273,
202,
202,
2211,
18,
4738,
18,
588,
2932,
5776,
17,
4865,
20387,
588,
780,
5621,
3196,
565,
509,
16746,
273,
202,
202,
2211,
2
] |
XMLElement parent = findXMLElement(xml, parentObjectInstanceID, null); | XMLElement parent = findXMLElementWithId(xml, parentObjectInstanceID, null); | public static boolean deleteModule(IBXMLAble xml, String parentObjectInstanceID, int ICObjectInstanceID) { XMLElement parent = findXMLElement(xml, parentObjectInstanceID, null); if (parent != null) { try { XMLElement module = findModule(xml, ICObjectInstanceID, parent); return deleteModule(parent, module); } catch (Exception e) { e.printStackTrace(); return false; } } return false; } | 54061 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54061/1978df88b9607f0c2cf5a2f3b1a3255248b154b3/XMLWriter.java/buggy/src/java/com/idega/builder/business/XMLWriter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
1430,
3120,
12,
13450,
4201,
5895,
298,
2025,
16,
514,
982,
921,
1442,
734,
16,
509,
26899,
921,
1442,
734,
13,
288,
202,
202,
15223,
982,
273,
1104,
15223,
12,
2902,
16,
982,
921,
1442,
734,
16,
446,
1769,
202,
202,
430,
261,
2938,
480,
446,
13,
288,
1082,
202,
698,
288,
9506,
202,
15223,
1605,
273,
1104,
3120,
12,
2902,
16,
26899,
921,
1442,
734,
16,
982,
1769,
9506,
202,
2463,
1430,
3120,
12,
2938,
16,
1605,
1769,
1082,
202,
97,
1082,
202,
14683,
261,
503,
425,
13,
288,
9506,
202,
73,
18,
1188,
6332,
5621,
9506,
202,
2463,
629,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
629,
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,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,
30,
225,
202,
482,
760,
1250,
1430,
3120,
12,
13450,
4201,
5895,
298,
2025,
16,
514,
982,
921,
1442,
734,
16,
509,
26899,
921,
1442,
734,
13,
288,
202,
202,
15223,
982,
273,
1104,
15223,
12,
2902,
16,
982,
921,
1442,
734,
16,
446,
1769,
202,
202,
430,
261,
2938,
480,
446,
13,
288,
1082,
202,
698,
288,
9506,
202,
15223,
1605,
273,
1104,
3120,
12,
2902,
16,
26899,
921,
1442,
734,
16,
982,
1769,
9506,
202,
2463,
1430,
3120,
12,
2938,
16,
1605,
1769,
1082,
202,
97,
1082,
202,
14683,
261,
503,
425,
13,
288,
9506,
202,
73,
18,
1188,
6332,
5621,
9506,
202,
2463,
629,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
629,
31,
202,
2
] |
addContextToChild( ctx, (Element)childNode ); | public void handleDOMNodeInsertedEvent(MutationEvent evt) { Node childNode = (Node)evt.getTarget(); //check the type of the node inserted before discard the layout //in the case of <title> or <desc> or <metadata>, the layout //is unchanged switch( childNode.getNodeType() ){ case Node.TEXT_NODE: case Node.CDATA_SECTION_NODE: layoutedText = null; break; case Node.ELEMENT_NODE: if (childNode.getNamespaceURI().equals(SVG_NAMESPACE_URI)) { String nodeName = childNode.getLocalName(); if (nodeName.equals(SVG_TSPAN_TAG) || nodeName.equals(SVG_ALT_GLYPH_TAG) || nodeName.equals(SVG_A_TAG) || nodeName.equals(SVG_TEXT_PATH_TAG) || nodeName.equals(SVG_TREF_TAG)) { layoutedText = null; } } break; default: } if (layoutedText == null) { computeLayoutedText(); } } | 45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/67074622e17bf0eead09841961ad66989d032b9b/SVGTextElementBridge.java/buggy/sources/org/apache/batik/bridge/SVGTextElementBridge.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
527,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
527,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
527,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
527,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
1071,
1289,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
918,
1289,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
1640,
8168,
907,
27329,
1133,
12,
20028,
1133,
1289,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
6324,
13,
1289,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
288,
1289,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
527,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
527,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
527,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
527,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
527,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
527,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
527,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
2029,
1289,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
9465,
1289,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
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,
527,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
527,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
527,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
527,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
1071,
1289,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
918,
1289,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
1640,
8168,
907,
27329,
1133,
12,
20028,
1133,
1289,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
6324,
13,
1289,
1042,
774,
1763,
12,
1103,
16,
261,
1046,
13,
3624,
907,
11272,
288,
1289,
1042,
2
] | |
throw new InternalError("Socket.setSoTimeout not implemented"); | if (timeout < 0) throw new IllegalArgumentException("Invalid timeout: " + timeout); impl.setOption(SocketOptions.SO_TIMEOUT, new Integer(timeout)); | public void setSoTimeout (int timeout) throws SocketException { throw new InternalError("Socket.setSoTimeout not implemented"); } | 25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/9378f999718203e09ed4e030ad6ef70f9d666322/Socket.java/clean/libjava/java/net/Socket.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
10225,
2694,
261,
474,
2021,
13,
1216,
8758,
503,
225,
288,
565,
309,
261,
4538,
411,
374,
13,
604,
394,
2754,
2932,
1941,
2021,
30,
315,
397,
2021,
1769,
225,
9380,
18,
542,
1895,
12,
4534,
1320,
18,
3584,
67,
9503,
16,
394,
2144,
12,
4538,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
444,
10225,
2694,
261,
474,
2021,
13,
1216,
8758,
503,
225,
288,
565,
309,
261,
4538,
411,
374,
13,
604,
394,
2754,
2932,
1941,
2021,
30,
315,
397,
2021,
1769,
225,
9380,
18,
542,
1895,
12,
4534,
1320,
18,
3584,
67,
9503,
16,
394,
2144,
12,
4538,
10019,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
this.itsType = aType; | int itsType = aType; | public void initialize(int aType, String aName) throws Exception { this.itsType = aType; this.itsName = aName; props.put($Name, aName); } | 54145 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54145/9619b3a25f43787dc92011111668210e06c00c71/Unix_Shortcut.java/buggy/src/lib/com/izforge/izpack/util/os/Unix_Shortcut.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4046,
12,
474,
279,
559,
16,
514,
279,
461,
13,
1216,
1185,
565,
288,
3639,
509,
2097,
559,
273,
279,
559,
31,
3639,
333,
18,
1282,
461,
273,
279,
461,
31,
3639,
3458,
18,
458,
4372,
461,
16,
279,
461,
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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
18,
1282,
461,
273,
279,
461,
31,
3639,
3458,
18,
458,
4372,
461,
16,
279,
461,
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
] |
String lang = idfr.identify(this.getClass().getResourceAsStream(tokens[0])); | String lang = idfr.identify(this.getClass().getResourceAsStream(tokens[0]), "UTF-8"); | public void testIdentify() { try { long total = 0; LanguageIdentifier idfr = LanguageIdentifier.getInstance(); BufferedReader in = new BufferedReader(new InputStreamReader( this.getClass().getResourceAsStream("test-referencial.txt"))); String line = null; while((line = in.readLine()) != null) { String[] tokens = line.split(";"); if (!tokens[0].equals("")) { long start = System.currentTimeMillis(); // Identify the whole file String lang = idfr.identify(this.getClass().getResourceAsStream(tokens[0])); total += System.currentTimeMillis() - start; assertEquals(tokens[1], lang); // Then, each line of the file... BufferedReader testFile = new BufferedReader( new InputStreamReader( this.getClass().getResourceAsStream(tokens[0]), "UTF-8")); String testLine = null; while((testLine = testFile.readLine()) != null) { testLine = testLine.trim(); if (testLine.length() > 256) { lang = idfr.identify(testLine); assertEquals(tokens[1], lang); } } testFile.close(); } } in.close(); System.out.println("Total Time=" + total); } catch(Exception e) { e.printStackTrace(); fail(e.toString()); } } | 1316 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1316/f255eccde285704b669383540b15cefd5b6c3181/TestLanguageIdentifier.java/buggy/src/plugin/languageidentifier/src/test/org/apache/nutch/analysis/lang/TestLanguageIdentifier.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
25787,
1435,
288,
3639,
775,
288,
5411,
1525,
2078,
273,
374,
31,
5411,
9889,
3004,
612,
4840,
273,
9889,
3004,
18,
588,
1442,
5621,
5411,
10633,
316,
273,
394,
10633,
12,
2704,
15322,
12,
13491,
333,
18,
588,
797,
7675,
588,
1420,
17052,
2932,
3813,
17,
266,
586,
1331,
649,
18,
5830,
6,
3719,
1769,
5411,
514,
980,
273,
446,
31,
5411,
1323,
12443,
1369,
273,
316,
18,
896,
1670,
10756,
480,
446,
13,
288,
7734,
514,
8526,
2430,
273,
980,
18,
4939,
2932,
4868,
1769,
7734,
309,
16051,
7860,
63,
20,
8009,
14963,
2932,
6,
3719,
288,
10792,
1525,
787,
273,
2332,
18,
2972,
28512,
5621,
10792,
368,
25622,
326,
7339,
585,
10792,
514,
3303,
273,
612,
4840,
18,
31079,
12,
2211,
18,
588,
797,
7675,
588,
1420,
17052,
12,
7860,
63,
20,
65,
3631,
315,
5159,
17,
28,
8863,
10792,
2078,
1011,
2332,
18,
2972,
28512,
1435,
300,
787,
31,
10792,
1815,
8867,
12,
7860,
63,
21,
6487,
3303,
1769,
10792,
368,
9697,
16,
1517,
980,
434,
326,
585,
2777,
10792,
10633,
1842,
812,
273,
394,
10633,
12,
18701,
394,
15322,
12,
27573,
333,
18,
588,
797,
7675,
588,
1420,
17052,
12,
7860,
63,
20,
65,
3631,
315,
5159,
17,
28,
7923,
1769,
10792,
514,
1842,
1670,
273,
446,
31,
10792,
1323,
12443,
3813,
1670,
273,
1842,
812,
18,
896,
1670,
10756,
480,
446,
13,
288,
13491,
1842,
1670,
273,
1842,
1670,
18,
5290,
5621,
13491,
309,
261,
3813,
1670,
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,
918,
1842,
25787,
1435,
288,
3639,
775,
288,
5411,
1525,
2078,
273,
374,
31,
5411,
9889,
3004,
612,
4840,
273,
9889,
3004,
18,
588,
1442,
5621,
5411,
10633,
316,
273,
394,
10633,
12,
2704,
15322,
12,
13491,
333,
18,
588,
797,
7675,
588,
1420,
17052,
2932,
3813,
17,
266,
586,
1331,
649,
18,
5830,
6,
3719,
1769,
5411,
514,
980,
273,
446,
31,
5411,
1323,
12443,
1369,
273,
316,
18,
896,
1670,
10756,
480,
446,
13,
288,
7734,
514,
8526,
2430,
273,
980,
18,
4939,
2932,
4868,
1769,
7734,
309,
16051,
7860,
63,
20,
8009,
14963,
2932,
6,
3719,
288,
10792,
1525,
787,
273,
2332,
18,
2972,
28512,
5621,
10792,
368,
25622,
326,
7339,
585,
10792,
514,
2
] |
return ( parent instanceof ICPPASTBaseSpecifier || parent instanceof ICPPASTElaboratedTypeSpecifier); | if( parent instanceof ICPPASTBaseSpecifier || parent instanceof ICPPASTElaboratedTypeSpecifier ) return true; if( parent instanceof ICPPASTQualifiedName ){ IASTName [] ns = ((ICPPASTQualifiedName)parent).getNames(); return ( astName != ns[ ns.length -1 ] ); } return false; | public boolean typesOnly(){ if( astName == null ) return false; IASTNode parent = astName.getParent(); return ( parent instanceof ICPPASTBaseSpecifier || parent instanceof ICPPASTElaboratedTypeSpecifier); } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/1362e388a1e7d7a2662a25cc5ac954b73d7f341e/CPPSemantics.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPSemantics.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1250,
1953,
3386,
1435,
95,
1082,
202,
430,
12,
3364,
461,
422,
446,
262,
327,
629,
31,
1082,
202,
45,
9053,
907,
982,
273,
3364,
461,
18,
588,
3054,
5621,
1082,
202,
430,
12,
982,
1276,
467,
4258,
4066,
882,
2171,
21416,
747,
982,
1276,
467,
4258,
4066,
882,
4958,
378,
280,
690,
559,
21416,
262,
327,
638,
31,
309,
12,
982,
1276,
467,
4258,
4066,
882,
12345,
262,
95,
467,
9053,
461,
5378,
3153,
273,
14015,
2871,
52,
4066,
882,
12345,
13,
2938,
2934,
588,
1557,
5621,
327,
261,
3364,
461,
480,
3153,
63,
3153,
18,
2469,
300,
21,
308,
11272,
289,
327,
629,
31,
3196,
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,
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,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1250,
1953,
3386,
1435,
95,
1082,
202,
430,
12,
3364,
461,
422,
446,
262,
327,
629,
31,
1082,
202,
45,
9053,
907,
982,
273,
3364,
461,
18,
588,
3054,
5621,
1082,
202,
430,
12,
982,
1276,
467,
4258,
4066,
882,
2171,
21416,
747,
982,
1276,
467,
4258,
4066,
882,
4958,
378,
280,
690,
559,
21416,
262,
327,
638,
31,
309,
12,
982,
1276,
467,
4258,
4066,
882,
12345,
262,
95,
467,
9053,
461,
5378,
3153,
273,
14015,
2871,
52,
4066,
882,
12345,
13,
2938,
2934,
588,
1557,
5621,
327,
261,
3364,
461,
480,
3153,
63,
3153,
18,
2469,
300,
21,
308,
11272,
289,
327,
629,
31,
3196,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
this.delta.removed(element); this.delta.added(element); | this.delta.changed(element, ICElementDelta.F_REORDER); | private void findChangesInPositioning(ICElement element, int depth) throws CModelException { if (depth >= this.maxDepth || this.added.contains(element) || this.removed.contains(element)) return; if (!isPositionedCorrectly(element)) { this.delta.removed(element); this.delta.added(element); } if (element instanceof IParent) { CElementInfo info = null; info = ((CElement)element).getElementInfo(); ICElement[] children = info.getChildren(); if (children != null) { int length = children.length; for(int i = 0; i < length; i++) { this.findChangesInPositioning(children[i], depth + 1); } } }} | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/e7bd887fae9fa423cd137190bb838d98c34fdb4e/CElementDeltaBuilder.java/buggy/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/CElementDeltaBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
1104,
7173,
382,
2555,
310,
12,
2871,
1046,
930,
16,
509,
3598,
13,
1216,
385,
1488,
503,
288,
202,
430,
261,
5979,
1545,
333,
18,
1896,
6148,
747,
333,
18,
9665,
18,
12298,
12,
2956,
13,
747,
333,
18,
14923,
18,
12298,
12,
2956,
3719,
202,
202,
2463,
31,
1082,
202,
430,
16051,
291,
2555,
329,
16147,
715,
12,
2956,
3719,
288,
202,
202,
2211,
18,
9878,
18,
14923,
12,
2956,
1769,
202,
202,
2211,
18,
9878,
18,
9665,
12,
2956,
1769,
202,
97,
3196,
202,
430,
261,
2956,
1276,
2971,
817,
13,
288,
202,
202,
39,
1046,
966,
1123,
273,
446,
31,
202,
202,
1376,
273,
14015,
39,
1046,
13,
2956,
2934,
21336,
966,
5621,
202,
202,
2871,
1046,
8526,
2325,
273,
1123,
18,
588,
4212,
5621,
202,
202,
430,
261,
5906,
480,
446,
13,
288,
1082,
202,
474,
769,
273,
2325,
18,
2469,
31,
1082,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
411,
769,
31,
277,
27245,
288,
9506,
202,
2211,
18,
4720,
7173,
382,
2555,
310,
12,
5906,
63,
77,
6487,
3598,
397,
404,
1769,
1082,
202,
97,
202,
202,
97,
1082,
202,
9090,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
1104,
7173,
382,
2555,
310,
12,
2871,
1046,
930,
16,
509,
3598,
13,
1216,
385,
1488,
503,
288,
202,
430,
261,
5979,
1545,
333,
18,
1896,
6148,
747,
333,
18,
9665,
18,
12298,
12,
2956,
13,
747,
333,
18,
14923,
18,
12298,
12,
2956,
3719,
202,
202,
2463,
31,
1082,
202,
430,
16051,
291,
2555,
329,
16147,
715,
12,
2956,
3719,
288,
202,
202,
2211,
18,
9878,
18,
14923,
12,
2956,
1769,
202,
202,
2211,
18,
9878,
18,
9665,
12,
2956,
1769,
202,
97,
3196,
202,
430,
261,
2956,
1276,
2971,
817,
13,
288,
202,
202,
39,
1046,
966,
1123,
273,
446,
31,
202,
202,
1376,
273,
14015,
39,
1046,
13,
2956,
2934,
21336,
966,
5621,
202,
2
] |
updateMessage(message); | updateMessage(shownMessage); | private void showMessage(String newMessage, Image newImage) { // Any change? if (message.equals(newMessage) && messageImage == newImage) return; message = newMessage; if (message == null) message = "";//$NON-NLS-1$ //If there is an image then add in a space to the message //for layout purposes if(newImage != null) message = " " + message; //$NON-NLS-1$ messageImage = newImage; if (!showingError) { // we are not showing an error updateMessage(message); messageImageLabel.setImage(messageImage); setImageLabelVisible(messageImage != null); messageLabel.setToolTipText(message); layoutForNewMessage(); }} | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/a132e27c8aaaed6d0c813785271eda1aa179ed34/TitleAreaDialog.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TitleAreaDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
2405,
1079,
12,
780,
394,
1079,
16,
3421,
394,
2040,
13,
288,
202,
759,
5502,
2549,
35,
202,
430,
261,
2150,
18,
14963,
12,
2704,
1079,
13,
597,
883,
2040,
422,
394,
2040,
13,
202,
202,
2463,
31,
202,
2150,
273,
394,
1079,
31,
202,
430,
261,
2150,
422,
446,
13,
202,
202,
2150,
273,
1408,
31,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
759,
2047,
1915,
353,
392,
1316,
1508,
527,
316,
279,
3476,
358,
326,
883,
202,
759,
1884,
3511,
13694,
202,
430,
12,
2704,
2040,
480,
446,
13,
202,
202,
2150,
273,
315,
315,
397,
883,
31,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
2150,
2040,
273,
394,
2040,
31,
202,
430,
16051,
4500,
310,
668,
13,
288,
202,
202,
759,
732,
854,
486,
17253,
392,
555,
202,
202,
2725,
1079,
12,
2150,
1769,
202,
202,
2150,
2040,
2224,
18,
542,
2040,
12,
2150,
2040,
1769,
202,
202,
542,
2040,
2224,
6207,
12,
2150,
2040,
480,
446,
1769,
202,
202,
2150,
2224,
18,
542,
29250,
1528,
12,
2150,
1769,
202,
202,
6741,
1290,
1908,
1079,
5621,
202,
9090,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
2405,
1079,
12,
780,
394,
1079,
16,
3421,
394,
2040,
13,
288,
202,
759,
5502,
2549,
35,
202,
430,
261,
2150,
18,
14963,
12,
2704,
1079,
13,
597,
883,
2040,
422,
394,
2040,
13,
202,
202,
2463,
31,
202,
2150,
273,
394,
1079,
31,
202,
430,
261,
2150,
422,
446,
13,
202,
202,
2150,
273,
1408,
31,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
759,
2047,
1915,
353,
392,
1316,
1508,
527,
316,
279,
3476,
358,
326,
883,
202,
759,
1884,
3511,
13694,
202,
430,
12,
2704,
2040,
480,
446,
13,
202,
202,
2150,
273,
315,
315,
397,
883,
31,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
2150,
2040,
273,
394,
2040,
31,
2
] |
fail("This can not fail with this AxisFault " + axisFault) ; | fail("This can not fail with this AxisFault " + axisFault); | public void testModuleConfigAtService() { try { ConfigurationContextFactory builder = new ConfigurationContextFactory(); ar = builder.buildConfigurationContext(repo).getAxisConfiguration(); AxisService service = new AxisService(); service.setName(new QName("testService")); ar.addService(service); InputStream in = new FileInputStream(repo + "/service1.xml"); ServiceBuilder sbuilder = new ServiceBuilder(in,null,service); sbuilder.populateService(sbuilder.buildOM()); ModuleConfiguration moduleConfiguration = service.getModuleConfig(new QName("Servie_module")); assertNotNull(moduleConfiguration); Parameter para = moduleConfiguration.getParameter("Servie_module_para"); assertNotNull(para); AxisOperation op = service.getOperation(new QName("echoString")); assertNotNull(op); moduleConfiguration = op.getModuleConfig(new QName("Op_Module")); assertNotNull(moduleConfiguration); para = moduleConfiguration.getParameter("Op_Module_para"); assertNotNull(para); } catch (DeploymentException e) { fail("This can not fail with this DeploymentException " + e) ; } catch (FileNotFoundException e) { fail("This can not fail with this FileNotFoundException " + e) ; } catch (AxisFault axisFault) { fail("This can not fail with this AxisFault " + axisFault) ; } catch (XMLStreamException e) { fail("This can not fail with this AxisFault " + e) ; } } | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/193e1198af0f4e291986396a754a50d3d64ab023/ModuleConfigTest.java/buggy/modules/core/test/org/apache/axis2/engine/ModuleConfigTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
1071,
918,
1842,
3120,
809,
861,
1179,
1435,
288,
3639,
775,
288,
5411,
4659,
29871,
2089,
273,
394,
4659,
29871,
5621,
5411,
419,
273,
2089,
18,
3510,
1750,
1042,
12,
7422,
2934,
588,
6558,
1750,
5621,
5411,
15509,
1179,
1156,
273,
394,
15509,
1179,
5621,
5411,
1156,
18,
542,
461,
12,
2704,
16723,
2932,
3813,
1179,
7923,
1769,
5411,
419,
18,
1289,
1179,
12,
3278,
1769,
5411,
5037,
316,
273,
394,
11907,
12,
7422,
397,
2206,
3278,
21,
18,
2902,
8863,
5411,
1956,
1263,
2393,
953,
273,
394,
1956,
1263,
12,
267,
16,
2011,
16,
3278,
1769,
5411,
2393,
953,
18,
19936,
1179,
12,
87,
9574,
18,
3510,
1872,
10663,
5411,
5924,
1750,
1605,
1750,
273,
1156,
18,
588,
3120,
809,
12,
2704,
16723,
2932,
827,
13120,
67,
2978,
7923,
1769,
5411,
25395,
12,
2978,
1750,
1769,
5411,
5498,
12602,
273,
1605,
1750,
18,
588,
1662,
2932,
827,
13120,
67,
2978,
67,
25072,
8863,
5411,
25395,
12,
25072,
1769,
5411,
15509,
2988,
1061,
273,
1156,
18,
588,
2988,
12,
2704,
16723,
2932,
12946,
780,
7923,
1769,
5411,
25395,
12,
556,
1769,
5411,
1605,
1750,
273,
1061,
18,
588,
3120,
809,
12,
2704,
16723,
2932,
3817,
67,
3120,
7923,
1769,
5411,
25395,
12,
2978,
1750,
1769,
5411,
12602,
273,
1605,
1750,
18,
588,
1662,
2932,
3817,
67,
3120,
67,
25072,
8863,
5411,
25395,
12,
25072,
1769,
3639,
289,
1044,
261,
6733,
503,
425,
13,
288,
5411,
2321,
2932,
2503,
848,
486,
2321,
598,
333,
8587,
503,
315,
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,
1377,
1071,
918,
1842,
3120,
809,
861,
1179,
1435,
288,
3639,
775,
288,
5411,
4659,
29871,
2089,
273,
394,
4659,
29871,
5621,
5411,
419,
273,
2089,
18,
3510,
1750,
1042,
12,
7422,
2934,
588,
6558,
1750,
5621,
5411,
15509,
1179,
1156,
273,
394,
15509,
1179,
5621,
5411,
1156,
18,
542,
461,
12,
2704,
16723,
2932,
3813,
1179,
7923,
1769,
5411,
419,
18,
1289,
1179,
12,
3278,
1769,
5411,
5037,
316,
273,
394,
11907,
12,
7422,
397,
2206,
3278,
21,
18,
2902,
8863,
5411,
1956,
1263,
2393,
953,
273,
394,
1956,
1263,
12,
267,
16,
2011,
16,
3278,
1769,
5411,
2393,
953,
18,
19936,
1179,
12,
87,
9574,
18,
3510,
1872,
10663,
5411,
5924,
1750,
1605,
1750,
273,
1156,
18,
2
] |
firePropertyChange(VIEWPORT_CHANGED_PROPERTY, old, v); | firePropertyChange("viewport", old, v); | public void setViewport(JViewport v) { JViewport old = viewport; removeNonNull(old); if (old != null) old.removeChangeListener(scrollListener); viewport = v; if (v != null) v.addChangeListener(scrollListener); addNonNull(v); revalidate(); repaint(); firePropertyChange(VIEWPORT_CHANGED_PROPERTY, old, v); sync(); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
19923,
655,
12,
46,
22743,
331,
13,
225,
288,
565,
804,
22743,
1592,
273,
10482,
31,
565,
1206,
8921,
12,
1673,
1769,
565,
309,
261,
1673,
480,
446,
13,
1377,
1592,
18,
4479,
15744,
12,
12033,
2223,
1769,
565,
10482,
273,
331,
31,
565,
309,
261,
90,
480,
446,
13,
1377,
331,
18,
1289,
15744,
12,
12033,
2223,
1769,
565,
527,
8921,
12,
90,
1769,
565,
283,
5662,
5621,
565,
24962,
5621,
565,
4452,
1396,
3043,
2932,
28852,
3113,
1592,
16,
331,
1769,
565,
3792,
5621,
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,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,
12033,
2223,
1769,
565,
10482,
273,
331,
31,
565,
309,
261,
90,
480,
446,
13,
1377,
331,
18,
1289,
15744,
12,
12033,
2223,
1769,
565,
527,
8921,
12,
90,
1769,
565,
283,
5662,
5621,
565,
24962,
5621,
565,
4452,
1396,
3043,
2932,
28852,
3113,
1592,
16,
331,
1769,
565,
3792,
5621,
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
] |
jjmatchedKind = 6; return jjMoveStringLiteralDfa1_1(0x80L); | jjmatchedKind = 7; return jjMoveStringLiteralDfa1_1(0x100L); | private final int jjMoveStringLiteralDfa0_1(){ switch(curChar) { case 35: jjmatchedKind = 11; return jjMoveStringLiteralDfa1_1(0x500L); case 36: jjmatchedKind = 6; return jjMoveStringLiteralDfa1_1(0x80L); case 40: return jjStopAtPos(0, 4); case 91: return jjStopAtPos(0, 1); case 93: return jjStopAtPos(0, 2); case 102: return jjMoveStringLiteralDfa1_1(0x400000L); case 116: return jjMoveStringLiteralDfa1_1(0x200000L); case 123: return jjStopAtPos(0, 55); case 125: return jjStopAtPos(0, 56); default : return jjMoveNfa_1(0, 0); }} | 55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/b827d0bf89e728dc8324fc63c2ad3662c9d19cd3/ParserTokenManager.java/clean/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
28565,
40,
507,
20,
67,
21,
1435,
95,
282,
1620,
12,
1397,
2156,
13,
282,
288,
1377,
648,
13191,
30,
540,
10684,
11073,
5677,
273,
4648,
31,
540,
327,
10684,
7607,
28565,
40,
507,
21,
67,
21,
12,
20,
92,
12483,
48,
1769,
1377,
648,
6580,
30,
540,
10684,
11073,
5677,
273,
1666,
31,
540,
327,
10684,
7607,
28565,
40,
507,
21,
67,
21,
12,
20,
92,
3672,
48,
1769,
1377,
648,
8063,
30,
540,
327,
10684,
4947,
861,
1616,
12,
20,
16,
1059,
1769,
1377,
648,
26936,
30,
540,
327,
10684,
4947,
861,
1616,
12,
20,
16,
404,
1769,
1377,
648,
31007,
30,
540,
327,
10684,
4947,
861,
1616,
12,
20,
16,
576,
1769,
1377,
648,
21822,
30,
540,
327,
10684,
7607,
28565,
40,
507,
21,
67,
21,
12,
20,
92,
24,
11706,
48,
1769,
1377,
648,
18973,
30,
540,
327,
10684,
7607,
28565,
40,
507,
21,
67,
21,
12,
20,
92,
22,
11706,
48,
1769,
1377,
648,
17335,
30,
540,
327,
10684,
4947,
861,
1616,
12,
20,
16,
21483,
1769,
1377,
648,
30616,
30,
540,
327,
10684,
4947,
861,
1616,
12,
20,
16,
13850,
1769,
1377,
805,
294,
540,
327,
10684,
7607,
50,
507,
67,
21,
12,
20,
16,
374,
1769,
282,
10523,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
28565,
40,
507,
20,
67,
21,
1435,
95,
282,
1620,
12,
1397,
2156,
13,
282,
288,
1377,
648,
13191,
30,
540,
10684,
11073,
5677,
273,
4648,
31,
540,
327,
10684,
7607,
28565,
40,
507,
21,
67,
21,
12,
20,
92,
12483,
48,
1769,
1377,
648,
6580,
30,
540,
10684,
11073,
5677,
273,
1666,
31,
540,
327,
10684,
7607,
28565,
40,
507,
21,
67,
21,
12,
20,
92,
3672,
48,
1769,
1377,
648,
8063,
30,
540,
327,
10684,
4947,
861,
1616,
12,
20,
16,
1059,
1769,
1377,
648,
26936,
30,
540,
327,
10684,
4947,
861,
1616,
12,
20,
16,
404,
1769,
1377,
648,
31007,
30,
540,
327,
10684,
4947,
861,
1616,
12,
20,
16,
576,
2
] |
myManager.childRemoved(treeEvent); | myManager.beforeChildRemoval(treeEvent); | public void run() { PsiTreeChangeEventImpl treeEvent = new PsiTreeChangeEventImpl(myManager); treeEvent.setParent(parentDir); if (VirtualFile.PROP_NAME.equals(propertyName)) { if (vFile.isDirectory()) { PsiDirectory psiDir = myVFileToPsiDirMap.get(vFile); if (psiDir != null) { if (myFileTypeManager.isFileIgnored(vFile.getName())) { removeFilesAndDirsRecursively(vFile); treeEvent.setChild(psiDir); myManager.childRemoved(treeEvent); } else { treeEvent.setElement(psiDir); treeEvent.setPropertyName(PsiTreeChangeEvent.PROP_DIRECTORY_NAME); treeEvent.setOldValue(event.getOldValue()); treeEvent.setNewValue(event.getNewValue()); myManager.propertyChanged(treeEvent); } } else { PsiDirectory psiDir1 = findDirectory(vFile); if (psiDir1 != null) { treeEvent.setChild(psiDir1); myManager.childAdded(treeEvent); } } } else { PsiFile psiFile = myVFileToPsiFileMap.get(vFile); if (psiFile != null) { PsiFile psiFile1 = createPsiFile(vFile, vFile.getName()); if (psiFile1 == null) { myVFileToPsiFileMap.remove(vFile); treeEvent.setChild(psiFile); myManager.childRemoved(treeEvent); } else if (!psiFile1.getClass().equals(psiFile.getClass())) { myVFileToPsiFileMap.remove(vFile); treeEvent.setOldChild(psiFile); treeEvent.setNewChild(psiFile1); myManager.childReplaced(treeEvent); } else { treeEvent.setElement(psiFile); treeEvent.setPropertyName(PsiTreeChangeEvent.PROP_FILE_NAME); treeEvent.setOldValue(event.getOldValue()); treeEvent.setNewValue(event.getNewValue()); myManager.propertyChanged(treeEvent); } } else { PsiFile psiFile1 = findFile(vFile); if (psiFile1 != null) { treeEvent.setChild(psiFile1); myManager.childAdded(treeEvent); } } } } else if (VirtualFile.PROP_WRITABLE.equals(propertyName)) { PsiFile psiFile = myVFileToPsiFileMap.get(vFile); if (psiFile == null) return; treeEvent.setElement(psiFile); treeEvent.setPropertyName(PsiTreeChangeEvent.PROP_WRITABLE); treeEvent.setOldValue(event.getOldValue()); treeEvent.setNewValue(event.getNewValue()); myManager.propertyChanged(treeEvent); } } | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/671af53ecb4df5a36564759f83fd6c3b1163178f/FileManagerImpl.java/buggy/source/com/intellij/psi/impl/file/impl/FileManagerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
6647,
1071,
918,
1086,
1435,
288,
5411,
453,
7722,
2471,
20930,
2828,
2151,
1133,
273,
394,
453,
7722,
2471,
20930,
2828,
12,
4811,
1318,
1769,
5411,
2151,
1133,
18,
542,
3054,
12,
2938,
1621,
1769,
5411,
309,
261,
6466,
812,
18,
15811,
67,
1985,
18,
14963,
12,
4468,
461,
3719,
288,
2868,
309,
261,
90,
812,
18,
291,
2853,
10756,
288,
7734,
453,
7722,
2853,
23921,
1621,
273,
3399,
58,
812,
774,
52,
7722,
1621,
863,
18,
588,
12,
90,
812,
1769,
7734,
309,
261,
24275,
1621,
480,
446,
13,
288,
5375,
309,
261,
4811,
28941,
1318,
18,
291,
812,
15596,
12,
90,
812,
18,
17994,
1435,
3719,
288,
10792,
1206,
2697,
1876,
9872,
12474,
12,
90,
812,
1769,
10792,
2151,
1133,
18,
542,
1763,
12,
24275,
1621,
1769,
10792,
3399,
1318,
18,
5771,
1763,
24543,
12,
3413,
1133,
1769,
5375,
289,
5375,
469,
288,
10792,
2151,
1133,
18,
542,
1046,
12,
24275,
1621,
1769,
10792,
2151,
1133,
18,
542,
13073,
12,
52,
7722,
2471,
20930,
18,
15811,
67,
17229,
67,
1985,
1769,
10792,
2151,
1133,
18,
542,
7617,
620,
12,
2575,
18,
588,
7617,
620,
10663,
10792,
2151,
1133,
18,
542,
1908,
620,
12,
2575,
18,
588,
1908,
620,
10663,
10792,
3399,
1318,
18,
4468,
5033,
12,
3413,
1133,
1769,
5375,
289,
7734,
289,
7734,
469,
288,
5375,
453,
7722,
2853,
23921,
1621,
21,
273,
1104,
2853,
12,
90,
812,
1769,
5375,
309,
261,
24275,
1621,
21,
480,
446,
13,
288,
10792,
2151,
1133,
18,
542,
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,
6647,
1071,
918,
1086,
1435,
288,
5411,
453,
7722,
2471,
20930,
2828,
2151,
1133,
273,
394,
453,
7722,
2471,
20930,
2828,
12,
4811,
1318,
1769,
5411,
2151,
1133,
18,
542,
3054,
12,
2938,
1621,
1769,
5411,
309,
261,
6466,
812,
18,
15811,
67,
1985,
18,
14963,
12,
4468,
461,
3719,
288,
2868,
309,
261,
90,
812,
18,
291,
2853,
10756,
288,
7734,
453,
7722,
2853,
23921,
1621,
273,
3399,
58,
812,
774,
52,
7722,
1621,
863,
18,
588,
12,
90,
812,
1769,
7734,
309,
261,
24275,
1621,
480,
446,
13,
288,
5375,
309,
261,
4811,
28941,
1318,
18,
291,
812,
15596,
12,
90,
812,
18,
17994,
1435,
3719,
288,
10792,
1206,
2697,
1876,
9872,
12474,
12,
90,
812,
1769,
2
] |
lastExprEndLine = ts.getLineno(); | private Object memberExprTail(TokenStream ts, boolean allowCallSyntax, Object pn) throws IOException, JavaScriptException { lastExprEndLine = ts.getLineno(); int tt; while ((tt = ts.getToken()) > ts.EOF) { if (tt == ts.DOT) { sourceAdd((char)ts.DOT); mustMatchToken(ts, ts.NAME, "msg.no.name.after.dot"); String s = ts.getString(); sourceAddString(ts.NAME, s); pn = nf.createBinary(ts.DOT, pn, nf.createName(ts.getString())); /* pn = nf.createBinary(ts.DOT, pn, memberExpr(ts)) * is the version in Brendan's IR C version. Not in ECMA... * does it reflect the 'new' operator syntax he mentioned? */ lastExprEndLine = ts.getLineno(); } else if (tt == ts.LB) { sourceAdd((char)ts.LB); pn = nf.createBinary(ts.LB, pn, expr(ts, false)); mustMatchToken(ts, ts.RB, "msg.no.bracket.index"); sourceAdd((char)ts.RB); lastExprEndLine = ts.getLineno(); } else if (allowCallSyntax && tt == ts.LP) { /* make a call node */ pn = nf.createUnary(ts.CALL, pn); sourceAdd((char)ts.LP); /* Add the arguments to pn, if any are supplied. */ pn = argumentList(ts, pn); lastExprEndLine = ts.getLineno(); } else { ts.ungetToken(tt); break; } } return pn; } | 7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/56c3f65ac92dbd3ff9f471a1829280e95bd7ddf4/Parser.java/clean/js/rhino/src/org/mozilla/javascript/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
3140,
4742,
12363,
12,
1345,
1228,
3742,
16,
1250,
1699,
1477,
8070,
16,
21394,
1033,
11059,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
9079,
509,
3574,
31,
3639,
1323,
14015,
748,
273,
3742,
18,
588,
1345,
10756,
405,
3742,
18,
12706,
13,
288,
5411,
309,
261,
748,
422,
3742,
18,
17591,
13,
288,
7734,
1084,
986,
12443,
3001,
13,
3428,
18,
17591,
1769,
7734,
1297,
2060,
1345,
12,
3428,
16,
3742,
18,
1985,
16,
315,
3576,
18,
2135,
18,
529,
18,
5205,
18,
9811,
8863,
7734,
514,
272,
273,
3742,
18,
588,
780,
5621,
7734,
1084,
986,
780,
12,
3428,
18,
1985,
16,
272,
1769,
7734,
11059,
273,
13958,
18,
2640,
5905,
12,
3428,
18,
17591,
16,
11059,
16,
19694,
13958,
18,
2640,
461,
12,
3428,
18,
588,
780,
1435,
10019,
7734,
1748,
11059,
273,
13958,
18,
2640,
5905,
12,
3428,
18,
17591,
16,
11059,
16,
3140,
4742,
12,
3428,
3719,
1171,
380,
353,
326,
1177,
316,
605,
20262,
304,
1807,
15908,
385,
1177,
18,
225,
2288,
316,
7773,
5535,
2777,
1171,
380,
1552,
518,
3037,
326,
296,
2704,
11,
3726,
6279,
3904,
27635,
35,
1171,
1195,
21821,
289,
469,
309,
261,
748,
422,
3742,
18,
12995,
13,
288,
7734,
1084,
986,
12443,
3001,
13,
3428,
18,
12995,
1769,
7734,
11059,
273,
13958,
18,
2640,
5905,
12,
3428,
18,
12995,
16,
11059,
16,
3065,
12,
3428,
16,
629,
10019,
7734,
1297,
2060,
1345,
12,
3428,
16,
3742,
18,
19437,
16,
315,
3576,
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,
1033,
3140,
4742,
12363,
12,
1345,
1228,
3742,
16,
1250,
1699,
1477,
8070,
16,
21394,
1033,
11059,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
9079,
509,
3574,
31,
3639,
1323,
14015,
748,
273,
3742,
18,
588,
1345,
10756,
405,
3742,
18,
12706,
13,
288,
5411,
309,
261,
748,
422,
3742,
18,
17591,
13,
288,
7734,
1084,
986,
12443,
3001,
13,
3428,
18,
17591,
1769,
7734,
1297,
2060,
1345,
12,
3428,
16,
3742,
18,
1985,
16,
315,
3576,
18,
2135,
18,
529,
18,
5205,
18,
9811,
8863,
7734,
514,
272,
273,
3742,
18,
588,
780,
5621,
7734,
1084,
986,
780,
12,
3428,
18,
1985,
16,
272,
1769,
7734,
11059,
273,
13958,
18,
2640,
5905,
12,
3428,
2
] | |
for (int i = 0; i < alen; i++) { Object arg = args[i]; if (arg instanceof Keyword) { String name = ((Keyword) arg).getName(); Object value = args[++i]; if (name == "name") result.setName(value.toString()); else if (name == "method") result.add((MethodProc) value); else result.setProperty(name, value); } else result.add((MethodProc) arg); } | result.setProperties(args); | public static GenericProc make (Object[] args) { int alen = args.length; int mlen = 0; GenericProc result = new GenericProc(); for (int i = 0; i < alen; i++) { Object arg = args[i]; if (arg instanceof Keyword) { String name = ((Keyword) arg).getName(); Object value = args[++i]; if (name == "name") result.setName(value.toString()); else if (name == "method") result.add((MethodProc) value); else result.setProperty(name, value); } else result.add((MethodProc) arg); } return result; } | 41089 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41089/72164a2a548fae6c2ed1d59db7f2b7115f81cf27/GenericProc.java/buggy/gnu/expr/GenericProc.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
7928,
15417,
1221,
261,
921,
8526,
833,
13,
225,
288,
565,
509,
524,
275,
273,
833,
18,
2469,
31,
565,
509,
312,
1897,
273,
374,
31,
565,
7928,
15417,
563,
273,
394,
7928,
15417,
5621,
565,
364,
261,
474,
277,
273,
374,
31,
225,
277,
411,
524,
275,
31,
225,
277,
27245,
1377,
288,
202,
921,
1501,
273,
833,
63,
77,
15533,
202,
430,
261,
3175,
1276,
18317,
13,
202,
225,
288,
202,
565,
514,
508,
273,
14015,
8736,
13,
1501,
2934,
17994,
5621,
202,
565,
1033,
460,
273,
833,
63,
9904,
77,
15533,
202,
565,
309,
261,
529,
422,
315,
529,
7923,
202,
1377,
563,
18,
542,
461,
12,
1132,
18,
10492,
10663,
202,
565,
469,
309,
261,
529,
422,
315,
2039,
7923,
202,
1377,
563,
18,
1289,
12443,
1305,
15417,
13,
460,
1769,
202,
565,
469,
202,
1377,
563,
18,
542,
1396,
12,
529,
16,
460,
1769,
202,
225,
289,
202,
12107,
202,
225,
563,
18,
1289,
12443,
1305,
15417,
13,
1501,
1769,
1377,
289,
565,
327,
563,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
7928,
15417,
1221,
261,
921,
8526,
833,
13,
225,
288,
565,
509,
524,
275,
273,
833,
18,
2469,
31,
565,
509,
312,
1897,
273,
374,
31,
565,
7928,
15417,
563,
273,
394,
7928,
15417,
5621,
565,
364,
261,
474,
277,
273,
374,
31,
225,
277,
411,
524,
275,
31,
225,
277,
27245,
1377,
288,
202,
921,
1501,
273,
833,
63,
77,
15533,
202,
430,
261,
3175,
1276,
18317,
13,
202,
225,
288,
202,
565,
514,
508,
273,
14015,
8736,
13,
1501,
2934,
17994,
5621,
202,
565,
1033,
460,
273,
833,
63,
9904,
77,
15533,
202,
565,
309,
261,
529,
422,
315,
529,
7923,
202,
1377,
563,
18,
542,
461,
12,
1132,
18,
10492,
10663,
202,
565,
2
] |
StringBuffer sb = new StringBuffer(header()); | StringBuffer sb = new StringBuffer(); | public void render(Writer writer, Report report) throws IOException { if (report.isEmpty()) { return; } StringBuffer sb = new StringBuffer(header()); String filename = null; String lineSep = PMD.EOL; boolean colorize = false; for (Iterator iter = report.iterator(); iter.hasNext();) { sb.setLength(0); IRuleViolation rv = (IRuleViolation) iter.next(); if (!rv.getFilename().equals(filename)) { // New File if (filename != null) { sb.append("</table></br>"); colorize = false; } filename = rv.getFilename(); sb.append("<table border=\"0\" width=\"80%\">"); sb.append("<tr id=TableHeader><td colspan=\"2\"><font class=title> ").append(filename).append("</font></tr>"); sb.append(lineSep); } if (colorize) { sb.append("<tr id=RowColor1>"); } else { sb.append("<tr id=RowColor2>"); } colorize = !colorize; sb.append("<td width=\"50\" align=\"right\"><font class=body>" + rv.getBeginLine() + " </font></td>"); sb.append("<td><font class=body>" + rv.getDescription() + "</font></td>"); sb.append("</tr>"); sb.append(lineSep); writer.write(sb.toString()); } if (filename != null) { writer.write("</table>"); } writer.write("<br>"); // output the problems Iterator iter = report.errors(); if (iter.hasNext()) { sb.setLength(0); sb.append("<table border=\"0\" width=\"80%\">"); sb.append("<tr id=TableHeader><td><font class=title> Problems found</font></td></tr>"); colorize = false; while (iter.hasNext()) { if (colorize) { sb.append("<tr id=RowColor1>"); } else { sb.append("<tr id=RowColor2>"); } colorize = !colorize; sb.append("<td><font class=body>").append(iter.next()).append("\"</font></td></tr>"); } sb.append("</table>"); writer.write(sb.toString()); } writer.write(footer()); } | 45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/b5aa7f3422be7390071cff9e84c66afa7287a81b/VBHTMLRenderer.java/clean/pmd/src/net/sourceforge/pmd/renderers/VBHTMLRenderer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1743,
12,
2289,
2633,
16,
8706,
2605,
13,
1216,
1860,
288,
3639,
309,
261,
6006,
18,
291,
1921,
10756,
288,
5411,
327,
31,
3639,
289,
3639,
6674,
2393,
273,
394,
6674,
5621,
3639,
514,
1544,
273,
446,
31,
3639,
514,
980,
5097,
273,
453,
6188,
18,
5842,
31,
3639,
1250,
21077,
273,
629,
31,
3639,
364,
261,
3198,
1400,
273,
2605,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
5411,
2393,
18,
542,
1782,
12,
20,
1769,
5411,
467,
2175,
11683,
5633,
273,
261,
45,
2175,
11683,
13,
1400,
18,
4285,
5621,
5411,
309,
16051,
4962,
18,
588,
5359,
7675,
14963,
12,
3459,
3719,
288,
368,
1166,
1387,
7734,
309,
261,
3459,
480,
446,
13,
288,
10792,
2393,
18,
6923,
2932,
1757,
2121,
4695,
2848,
2984,
1769,
10792,
21077,
273,
629,
31,
7734,
289,
7734,
1544,
273,
5633,
18,
588,
5359,
5621,
7734,
2393,
18,
6923,
2932,
32,
2121,
5795,
5189,
20,
2412,
1835,
5189,
3672,
9,
21121,
1769,
7734,
2393,
18,
6923,
2932,
32,
313,
612,
33,
1388,
1864,
4438,
4465,
20856,
5189,
22,
2412,
4438,
5776,
667,
33,
2649,
22393,
10600,
4868,
2934,
6923,
12,
3459,
2934,
6923,
2932,
1757,
5776,
4695,
313,
2984,
1769,
7734,
2393,
18,
6923,
12,
1369,
5097,
1769,
5411,
289,
5411,
309,
261,
3266,
554,
13,
288,
7734,
2393,
18,
6923,
2932,
32,
313,
612,
33,
1999,
2957,
21,
2984,
1769,
5411,
289,
469,
288,
7734,
2393,
18,
6923,
2932,
32,
313,
612,
33,
1999,
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,
1743,
12,
2289,
2633,
16,
8706,
2605,
13,
1216,
1860,
288,
3639,
309,
261,
6006,
18,
291,
1921,
10756,
288,
5411,
327,
31,
3639,
289,
3639,
6674,
2393,
273,
394,
6674,
5621,
3639,
514,
1544,
273,
446,
31,
3639,
514,
980,
5097,
273,
453,
6188,
18,
5842,
31,
3639,
1250,
21077,
273,
629,
31,
3639,
364,
261,
3198,
1400,
273,
2605,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
5411,
2393,
18,
542,
1782,
12,
20,
1769,
5411,
467,
2175,
11683,
5633,
273,
261,
45,
2175,
11683,
13,
1400,
18,
4285,
5621,
5411,
309,
16051,
4962,
18,
588,
5359,
7675,
14963,
12,
3459,
3719,
288,
368,
1166,
1387,
7734,
309,
261,
3459,
480,
446,
2
] |
int node = _parent[_index]; if (node > NULL) { int prev = -1; node = _offsetOrChild[node]; while (node != _index) { node = _nextSibling[prev = node]; } if (prev != -1) { return makeNode(prev); } } return null; } | int node = _parent[_index]; if (node > NULL) { int prev = -1; node = _offsetOrChild[node]; while (node != _index) { node = _nextSibling[prev = node]; } if (prev != -1) { return makeNode(prev); } } return null; } | public Node getPreviousSibling() { int node = _parent[_index]; if (node > NULL) { int prev = -1; node = _offsetOrChild[node]; while (node != _index) { node = _nextSibling[prev = node]; } if (prev != -1) { return makeNode(prev); } } return null; } | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/264066e4e3d606d5167a1f5680c45669efd7e5c9/DOMImpl.java/clean/src/org/apache/xalan/xsltc/dom/DOMImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2029,
17225,
10291,
1435,
288,
202,
565,
509,
756,
273,
389,
2938,
63,
67,
1615,
15533,
202,
565,
309,
261,
2159,
405,
3206,
13,
288,
202,
202,
474,
2807,
273,
300,
21,
31,
202,
202,
2159,
273,
389,
3348,
1162,
1763,
63,
2159,
15533,
202,
202,
17523,
261,
2159,
480,
389,
1615,
13,
288,
1082,
565,
756,
273,
389,
4285,
10291,
63,
10001,
273,
756,
15533,
202,
202,
97,
202,
202,
430,
261,
10001,
480,
300,
21,
13,
288,
1082,
565,
327,
1221,
907,
12,
10001,
1769,
202,
202,
97,
202,
565,
289,
202,
565,
327,
446,
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,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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,
2029,
17225,
10291,
1435,
288,
202,
565,
509,
756,
273,
389,
2938,
63,
67,
1615,
15533,
202,
565,
309,
261,
2159,
405,
3206,
13,
288,
202,
202,
474,
2807,
273,
300,
21,
31,
202,
202,
2159,
273,
389,
3348,
1162,
1763,
63,
2159,
15533,
202,
202,
17523,
261,
2159,
480,
389,
1615,
13,
288,
1082,
565,
756,
273,
389,
4285,
10291,
63,
10001,
273,
756,
15533,
202,
202,
97,
202,
202,
430,
261,
10001,
480,
300,
21,
13,
288,
1082,
565,
327,
1221,
907,
12,
10001,
1769,
202,
202,
97,
202,
565,
289,
202,
565,
327,
446,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
lfs.delete(new File(file)); | lfs.delete(file); | public void run(JobConf job, final TaskUmbilicalProtocol umbilical) throws IOException { Class keyClass = job.getOutputKeyClass(); Class valueClass = job.getOutputValueClass(); Reducer reducer = (Reducer)job.newInstance(job.getReducerClass()); reducer.configure(job); FileSystem lfs = FileSystem.getNamed("local", job); copyPhase.complete(); // copy is already complete // open a file to collect map output String file = job.getLocalFile(getTaskId(), "all.1").toString(); SequenceFile.Writer writer = new SequenceFile.Writer(lfs, file, keyClass, valueClass); try { // append all input files into a single input file for (int i = 0; i < mapTaskIds.length; i++) { appendPhase.addPhase(); // one per file } DataOutputBuffer buffer = new DataOutputBuffer(); for (int i = 0; i < mapTaskIds.length; i++) { File partFile = this.mapOutputFile.getInputFile(mapTaskIds[i], getTaskId()); float progPerByte = 1.0f / lfs.getLength(partFile); Progress phase = appendPhase.phase(); phase.setStatus(partFile.toString()); SequenceFile.Reader in = new SequenceFile.Reader(lfs, partFile.toString(), job); try { int keyLen; while((keyLen = in.next(buffer)) > 0) { writer.append(buffer.getData(), 0, buffer.getLength(), keyLen); phase.set(in.getPosition()*progPerByte); reportProgress(umbilical); buffer.reset(); } } finally { in.close(); } phase.complete(); } } finally { writer.close(); } appendPhase.complete(); // append is complete // spawn a thread to give sort progress heartbeats Thread sortProgress = new Thread() { public void run() { while (!sortComplete) { try { reportProgress(umbilical); Thread.sleep(PROGRESS_INTERVAL); } catch (InterruptedException e) { continue; } catch (Throwable e) { return; } } } }; sortProgress.setName("Sort progress reporter for task "+getTaskId()); String sortedFile = job.getLocalFile(getTaskId(), "all.2").toString(); WritableComparator comparator = job.getOutputKeyComparator(); try { sortProgress.start(); // sort the input file SequenceFile.Sorter sorter = new SequenceFile.Sorter(lfs, comparator, valueClass, job); sorter.sort(file, sortedFile); // sort lfs.delete(new File(file)); // remove unsorted } finally { sortComplete = true; } sortPhase.complete(); // sort is complete // make output collector String name = getOutputName(getPartition()); final RecordWriter out = job.getOutputFormat().getRecordWriter(FileSystem.get(job), job, name); OutputCollector collector = new OutputCollector() { public void collect(WritableComparable key, Writable value) throws IOException { out.write(key, value); reportProgress(umbilical); } }; // apply reduce function SequenceFile.Reader in = new SequenceFile.Reader(lfs, sortedFile, job); Reporter reporter = getReporter(umbilical, getProgress()); long length = lfs.getLength(new File(sortedFile)); try { ValuesIterator values = new ValuesIterator(in, length, comparator, umbilical); while (values.more()) { reducer.reduce(values.getKey(), values, collector, reporter); values.nextKey(); } } finally { reducer.close(); in.close(); lfs.delete(new File(sortedFile)); // remove sorted out.close(reporter); } done(umbilical); } | 50331 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50331/ee01fef4b4fb82c7492a4a747793839a4d14cd39/ReduceTask.java/clean/src/java/org/apache/hadoop/mapred/ReduceTask.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1086,
12,
2278,
3976,
1719,
16,
727,
3837,
57,
1627,
330,
1706,
5752,
225,
3592,
330,
1706,
13,
565,
1216,
1860,
288,
565,
1659,
498,
797,
273,
1719,
18,
588,
1447,
653,
797,
5621,
565,
1659,
460,
797,
273,
1719,
18,
588,
1447,
620,
797,
5621,
565,
4621,
89,
2750,
20636,
273,
261,
26369,
13,
4688,
18,
2704,
1442,
12,
4688,
18,
588,
26369,
797,
10663,
565,
20636,
18,
14895,
12,
4688,
1769,
565,
10931,
328,
2556,
273,
10931,
18,
588,
7604,
2932,
3729,
3113,
1719,
1769,
565,
1610,
11406,
18,
6226,
5621,
7682,
368,
1610,
353,
1818,
3912,
565,
368,
1696,
279,
585,
358,
3274,
852,
876,
565,
514,
585,
273,
1719,
18,
588,
2042,
812,
12,
588,
30182,
9334,
315,
454,
18,
21,
20387,
10492,
5621,
565,
8370,
812,
18,
2289,
2633,
273,
1377,
394,
8370,
812,
18,
2289,
12,
80,
2556,
16,
585,
16,
498,
797,
16,
460,
797,
1769,
565,
775,
288,
1377,
368,
714,
777,
810,
1390,
1368,
279,
2202,
810,
585,
1377,
364,
261,
474,
277,
273,
374,
31,
277,
411,
852,
2174,
2673,
18,
2469,
31,
277,
27245,
288,
3639,
714,
11406,
18,
1289,
11406,
5621,
1171,
368,
1245,
1534,
585,
1377,
289,
5411,
1910,
1447,
1892,
1613,
273,
394,
1910,
1447,
1892,
5621,
1377,
364,
261,
474,
277,
273,
374,
31,
277,
411,
852,
2174,
2673,
18,
2469,
31,
277,
27245,
288,
3639,
1387,
1087,
812,
273,
1850,
333,
18,
1458,
1447,
812,
18,
588,
1210,
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,
918,
1086,
12,
2278,
3976,
1719,
16,
727,
3837,
57,
1627,
330,
1706,
5752,
225,
3592,
330,
1706,
13,
565,
1216,
1860,
288,
565,
1659,
498,
797,
273,
1719,
18,
588,
1447,
653,
797,
5621,
565,
1659,
460,
797,
273,
1719,
18,
588,
1447,
620,
797,
5621,
565,
4621,
89,
2750,
20636,
273,
261,
26369,
13,
4688,
18,
2704,
1442,
12,
4688,
18,
588,
26369,
797,
10663,
565,
20636,
18,
14895,
12,
4688,
1769,
565,
10931,
328,
2556,
273,
10931,
18,
588,
7604,
2932,
3729,
3113,
1719,
1769,
565,
1610,
11406,
18,
6226,
5621,
7682,
368,
1610,
353,
1818,
3912,
565,
368,
1696,
279,
585,
358,
3274,
852,
876,
565,
514,
585,
273,
1719,
18,
588,
2042,
2
] |
} | } | public ImageInspector(ViewerCtrl control, ImageCanvas canvas, double magFactor) { super(control.getReferenceFrame(), "Image inspector"); init(control, canvas, magFactor); setJMenuBar(menuBar); buildGUI(); pack(); } | 13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/a2f4cd0a125d188c1e246cd85608e59a51e3d85c/ImageInspector.java/clean/SRC/org/openmicroscopy/shoola/agents/viewer/transform/ImageInspector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3421,
19443,
12,
18415,
12418,
3325,
16,
3421,
12971,
5953,
16,
1645,
4447,
6837,
13,
202,
95,
202,
202,
9565,
12,
7098,
18,
588,
2404,
3219,
9334,
315,
2040,
22700,
8863,
202,
202,
2738,
12,
7098,
16,
5953,
16,
4447,
6837,
1769,
202,
202,
542,
46,
4599,
5190,
12,
5414,
5190,
1769,
202,
202,
3510,
43,
5370,
5621,
3639,
2298,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3421,
19443,
12,
18415,
12418,
3325,
16,
3421,
12971,
5953,
16,
1645,
4447,
6837,
13,
202,
95,
202,
202,
9565,
12,
7098,
18,
588,
2404,
3219,
9334,
315,
2040,
22700,
8863,
202,
202,
2738,
12,
7098,
16,
5953,
16,
4447,
6837,
1769,
202,
202,
542,
46,
4599,
5190,
12,
5414,
5190,
1769,
202,
202,
3510,
43,
5370,
5621,
3639,
2298,
5621,
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
] |
Node node = doc.newDomNode(); | Node node ; | public static void main(String[] args) throws Exception { final int iterations = Constants.CURSOR_ITERATIONS; String flavor; if(args.length == 0) flavor = "deep-attributes"; else flavor = args[0]; DomWalkV1 test = new DomWalkV1(); PerfUtil util = new PerfUtil(); long cputime; int hash = 0; // get the xml cursor char[] chars = util.createXmlData(flavor, Constants.XML_SIZE); XmlObject doc = XmlObject.Factory.parse(new CharArrayReader(chars)); Node node = doc.newDomNode(); // warm up the vm cputime = System.currentTimeMillis(); for(int i=0; i<iterations; i++){ hash += test.run(node); } cputime = System.currentTimeMillis() - cputime; // run it again for the real measurement cputime = System.currentTimeMillis(); for(int i=0; i<iterations; i++){ hash += test.run(node); } cputime = System.currentTimeMillis() - cputime; // print the results // Class.getSimpleName() is only provided in jdk1.5, so have to trim package name off test name for logging to support 1.4 System.out.print(Constants.DELIM+test.getClass().getName().substring(test.getClass().getName().lastIndexOf('.')+1)+" flavor="+flavor+" "); System.out.print("hash "+hash+" "); System.out.print("time "+cputime+"\n"); } | 3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/6773734a98aa2b100f86f21a2cad93e48da3ede1/DomWalkV1.java/clean/test/perf/src/org/apache/xmlbeans/test/performance/v1/DomWalkV1.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1185,
225,
288,
565,
727,
509,
11316,
273,
5245,
18,
7509,
55,
916,
67,
11844,
15297,
31,
565,
514,
19496,
31,
565,
309,
12,
1968,
18,
2469,
422,
374,
13,
1377,
19496,
273,
315,
16589,
17,
4350,
14432,
565,
469,
1377,
19496,
273,
833,
63,
20,
15533,
565,
12965,
9463,
58,
21,
1842,
273,
394,
12965,
9463,
58,
21,
5621,
565,
5722,
74,
1304,
1709,
273,
394,
5722,
74,
1304,
5621,
565,
1525,
276,
458,
494,
31,
565,
509,
1651,
273,
374,
31,
565,
368,
336,
326,
2025,
3347,
565,
1149,
8526,
5230,
273,
1709,
18,
2640,
4432,
751,
12,
2242,
9444,
16,
5245,
18,
4201,
67,
4574,
1769,
565,
5714,
921,
997,
273,
5714,
921,
18,
1733,
18,
2670,
12,
2704,
3703,
1076,
2514,
12,
7549,
10019,
565,
2029,
756,
274,
565,
368,
22975,
731,
326,
4268,
565,
276,
458,
494,
273,
2332,
18,
2972,
28512,
5621,
565,
364,
12,
474,
277,
33,
20,
31,
277,
32,
19330,
31,
277,
27245,
95,
6647,
1651,
1011,
1842,
18,
2681,
12,
2159,
1769,
565,
289,
565,
276,
458,
494,
273,
2332,
18,
2972,
28512,
1435,
300,
276,
458,
494,
31,
565,
368,
1086,
518,
3382,
364,
326,
2863,
12464,
565,
276,
458,
494,
273,
2332,
18,
2972,
28512,
5621,
565,
364,
12,
474,
277,
33,
20,
31,
277,
32,
19330,
31,
277,
27245,
95,
6647,
1651,
1011,
1842,
18,
2681,
12,
2159,
1769,
565,
289,
565,
276,
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,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1185,
225,
288,
565,
727,
509,
11316,
273,
5245,
18,
7509,
55,
916,
67,
11844,
15297,
31,
565,
514,
19496,
31,
565,
309,
12,
1968,
18,
2469,
422,
374,
13,
1377,
19496,
273,
315,
16589,
17,
4350,
14432,
565,
469,
1377,
19496,
273,
833,
63,
20,
15533,
565,
12965,
9463,
58,
21,
1842,
273,
394,
12965,
9463,
58,
21,
5621,
565,
5722,
74,
1304,
1709,
273,
394,
5722,
74,
1304,
5621,
565,
1525,
276,
458,
494,
31,
565,
509,
1651,
273,
374,
31,
565,
368,
336,
326,
2025,
3347,
565,
1149,
8526,
5230,
273,
1709,
18,
2640,
4432,
751,
12,
2242,
9444,
16,
5245,
18,
4201,
67,
4574,
2
] |
String capacity = Integer.toString(cacheMapping.getCapacity()); | String capacity = Long.toString(cacheMapping.getCapacity()); | public JDOClassDescriptor(final ClassDescriptor clsDesc, final KeyGeneratorDescriptor keyGenDesc) throws MappingException { super((ClassDescriptorImpl) clsDesc); _tableName = getMapping().getMapTo().getTable(); if (_tableName == null) { throw new IllegalArgumentException("Argument 'tableName' is null"); } if (getIdentity() == null) { throw new MappingException("mapping.noIdentity", getJavaClass().getName()); } if (!(getIdentity() instanceof JDOFieldDescriptor)) { throw new IllegalArgumentException("Identity field must be of type JDOFieldDescriptor"); } if ((getExtends() != null) && !(getExtends() instanceof JDOClassDescriptor)) { throw new IllegalArgumentException( "Extended class does not have a JDO descriptor" ); } _idnames = new String[_identities.length]; for (int i = 0; i < _idnames.length; i++) { String[] sqlNames = ((JDOFieldDescriptor) _identities[i]).getSQLName(); if (sqlNames == null) { throw new MappingException("mapping.noSqlName", _identities[i].getFieldName(), getJavaClass().getName()); } _idnames[i] = sqlNames[0]; } _keyGenDesc = keyGenDesc; CacheTypeMapping cacheMapping = getMapping().getCacheTypeMapping(); if (cacheMapping != null) { String capacity = Integer.toString(cacheMapping.getCapacity()); _cacheParams.put(CountLimited.PARAM_CAPACITY, capacity); _cacheParams.put(TimeLimited.PARAM_TTL, capacity); Param[] params = cacheMapping.getParam(); for (int i = 0; i < params.length; i++) { _cacheParams.put(params[i].getName(), params[i].getValue()); } String debug = new Boolean(cacheMapping.getDebug()).toString(); _cacheParams.put(Cache.PARAM_DEBUG, debug); String type = cacheMapping.getType(); if ((TimeStampable.class.isAssignableFrom(getJavaClass())) && (type != null) && (type.equalsIgnoreCase("none"))) { throw new MappingException(Messages.format("persist.wrongCacheTypeSpecified", getMapping().getName())); } _cacheParams.put(Cache.PARAM_TYPE, type); } _cacheParams.put(Cache.PARAM_NAME, getMapping().getName()); } | 57307 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57307/853698b460f86a6dc823501ae7b44f1edabd05ec/JDOClassDescriptor.java/clean/src/main/java/org/exolab/castor/jdo/engine/JDOClassDescriptor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
804,
3191,
797,
3187,
12,
6385,
26641,
2028,
4217,
16,
5411,
727,
1929,
3908,
3187,
498,
7642,
4217,
13,
565,
1216,
30896,
288,
3639,
2240,
12443,
797,
3187,
2828,
13,
2028,
4217,
1769,
7734,
389,
18033,
273,
22575,
7675,
588,
863,
774,
7675,
588,
1388,
5621,
3639,
309,
261,
67,
18033,
422,
446,
13,
288,
5411,
604,
394,
2754,
2932,
1379,
296,
18033,
11,
353,
446,
8863,
3639,
289,
7734,
309,
261,
588,
4334,
1435,
422,
446,
13,
288,
5411,
604,
394,
30896,
2932,
6770,
18,
2135,
4334,
3113,
18911,
797,
7675,
17994,
10663,
3639,
289,
7734,
309,
16051,
12,
588,
4334,
1435,
1276,
804,
3191,
974,
3187,
3719,
288,
5411,
604,
394,
2754,
2932,
4334,
652,
1297,
506,
434,
618,
804,
3191,
974,
3187,
8863,
3639,
289,
7734,
309,
14015,
588,
19581,
1435,
480,
446,
13,
597,
401,
12,
588,
19581,
1435,
1276,
804,
3191,
797,
3187,
3719,
288,
5411,
604,
394,
2754,
12,
315,
11456,
667,
1552,
486,
1240,
279,
804,
3191,
4950,
6,
11272,
3639,
289,
7734,
389,
350,
1973,
273,
394,
514,
63,
67,
6392,
1961,
18,
2469,
15533,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
389,
350,
1973,
18,
2469,
31,
277,
27245,
288,
540,
202,
780,
8526,
1847,
1557,
273,
14015,
46,
3191,
974,
3187,
13,
389,
6392,
1961,
63,
77,
65,
2934,
588,
3997,
461,
5621,
540,
202,
430,
261,
4669,
1557,
422,
446,
13,
288,
540,
202,
202,
12849,
394,
30896,
2932,
6770,
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,
804,
3191,
797,
3187,
12,
6385,
26641,
2028,
4217,
16,
5411,
727,
1929,
3908,
3187,
498,
7642,
4217,
13,
565,
1216,
30896,
288,
3639,
2240,
12443,
797,
3187,
2828,
13,
2028,
4217,
1769,
7734,
389,
18033,
273,
22575,
7675,
588,
863,
774,
7675,
588,
1388,
5621,
3639,
309,
261,
67,
18033,
422,
446,
13,
288,
5411,
604,
394,
2754,
2932,
1379,
296,
18033,
11,
353,
446,
8863,
3639,
289,
7734,
309,
261,
588,
4334,
1435,
422,
446,
13,
288,
5411,
604,
394,
30896,
2932,
6770,
18,
2135,
4334,
3113,
18911,
797,
7675,
17994,
10663,
3639,
289,
7734,
309,
16051,
12,
588,
4334,
1435,
1276,
804,
3191,
974,
3187,
3719,
288,
5411,
604,
394,
2754,
2932,
4334,
652,
2
] |
localMessageField.getText(), messageLogArea.getText(), String.valueOf(displayAreaSize.width), String.valueOf(displayAreaSize.height) | this.localMessageField.getText(), this.messageLogArea.getText(), this.userInfoText | public String[] getValues() { Dimension displayAreaSize = imageComponent.getPreferedSize(); return new String[] { localMessageField.getText(), messageLogArea.getText(), String.valueOf(displayAreaSize.width), // need them for the constructor, which makes String.valueOf(displayAreaSize.height) }; // no need to store the users, as the dispatcher informs of them again! } | 14315 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14315/feb205e44ad808bcfe2f33002933567d2fddf0c3/UserGUI.java/clean/src/org/objectweb/proactive/examples/c3d/gui/UserGUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8526,
13500,
1435,
288,
3639,
13037,
2562,
5484,
1225,
273,
1316,
1841,
18,
588,
1386,
586,
329,
1225,
5621,
3639,
327,
394,
514,
8526,
288,
5411,
1191,
1079,
974,
18,
588,
1528,
9334,
883,
1343,
5484,
18,
588,
1528,
9334,
5411,
514,
18,
1132,
951,
12,
5417,
5484,
1225,
18,
2819,
3631,
368,
1608,
2182,
364,
326,
3885,
16,
1492,
7297,
2868,
514,
18,
1132,
951,
12,
5417,
5484,
1225,
18,
4210,
13,
3639,
289,
31,
3639,
368,
1158,
1608,
358,
1707,
326,
3677,
16,
487,
326,
7393,
316,
9741,
434,
2182,
3382,
5,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8526,
13500,
1435,
288,
3639,
13037,
2562,
5484,
1225,
273,
1316,
1841,
18,
588,
1386,
586,
329,
1225,
5621,
3639,
327,
394,
514,
8526,
288,
5411,
1191,
1079,
974,
18,
588,
1528,
9334,
883,
1343,
5484,
18,
588,
1528,
9334,
5411,
514,
18,
1132,
951,
12,
5417,
5484,
1225,
18,
2819,
3631,
368,
1608,
2182,
364,
326,
3885,
16,
1492,
7297,
2868,
514,
18,
1132,
951,
12,
5417,
5484,
1225,
18,
4210,
13,
3639,
289,
31,
3639,
368,
1158,
1608,
358,
1707,
326,
3677,
16,
487,
326,
7393,
316,
9741,
434,
2182,
3382,
5,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return "Instantiating a #ref with default run() method #loc"; | return "Instantiating a #ref with default 'run()' method #loc"; | public String buildErrorString(PsiElement location){ return "Instantiating a #ref with default run() method #loc"; } | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/dba8b183fc1b08e7ad664812bfc0c64d1e4abd3c/ThreadWithDefaultRunMethodInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/threading/ThreadWithDefaultRunMethodInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1361,
668,
780,
12,
52,
7722,
1046,
2117,
15329,
3639,
327,
315,
10675,
22906,
279,
468,
1734,
598,
805,
296,
2681,
11866,
707,
468,
1829,
14432,
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,
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,
1361,
668,
780,
12,
52,
7722,
1046,
2117,
15329,
3639,
327,
315,
10675,
22906,
279,
468,
1734,
598,
805,
296,
2681,
11866,
707,
468,
1829,
14432,
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
] |
public void selectAll() { | public void selectAll() { | public void selectAll() { for (int i = 0; i < data.length; i++) { data[i][0] = true; } } | 57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/9a663cd266bbea72385cf911a70461dcbc3b3b3d/OverviewTableModel.java/buggy/trunk/src/net/sf/plantlore/client/OverviewTableModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
27787,
1435,
377,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
501,
18,
2469,
31,
277,
27245,
288,
5411,
501,
63,
77,
6362,
20,
65,
273,
638,
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,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
27787,
1435,
377,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
501,
18,
2469,
31,
277,
27245,
288,
5411,
501,
63,
77,
6362,
20,
65,
273,
638,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
.getPropertyValue(Properties.ID_JUMPLINKS_STATUS)); | .getStructuralFeatureValue(NotationPackage.eINSTANCE.getRoutingStyle_JumpLinkStatus())); | public void refresh() { super.refresh(); try { executeAsReadAction(new Runnable() { public void run() { // Update display from model ConnectionEditPart obj = (ConnectionEditPart) getSingleInput(); if (!avoidObstaclesButton.isDisposed()) { Boolean val = (Boolean) obj .getPropertyValue(Properties.ID_AVOIDOBSTRUCTIONS); avoidObstaclesButton.setSelection(val.booleanValue()); } if (!closestDistanceButton.isDisposed()) { Boolean val = (Boolean) obj .getPropertyValue(Properties.ID_CLOSESTDISTANCE); closestDistanceButton.setSelection(val.booleanValue()); } if (!reverseJumpLinksButton.isDisposed()) { Boolean val = (Boolean) obj .getPropertyValue(Properties.ID_JUMPLINKS_REVERSE); reverseJumpLinksButton.setSelection(val.booleanValue()); } Button button = (Button) buttons.get(obj .getPropertyValue(Properties.ID_JUMPLINKS_STATUS)); if (button != null) button.setSelection(true); button = (Button) buttons.get(obj .getPropertyValue(Properties.ID_JUMPLINKS_TYPE)); if (button != null) button.setSelection(true); button = (Button) buttons.get(obj .getPropertyValue(Properties.ID_ROUTING)); if (button != null) button.setSelection(true); button = (Button) buttons.get(obj .getPropertyValue(Properties.ID_SMOOTHNESS)); if (button != null) button.setSelection(true); } }); } catch (Exception e) { e.printStackTrace(); } } | 1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/a2c4f90ee5a24e30394a33d50744cac16e2ca06b/ConnectorAppearancePropertySection.java/clean/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui.properties/src/org/eclipse/gmf/runtime/diagram/ui/properties/sections/appearance/ConnectorAppearancePropertySection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4460,
1435,
288,
202,
202,
9565,
18,
9144,
5621,
202,
202,
698,
288,
1082,
202,
8837,
1463,
1994,
1803,
12,
2704,
10254,
1435,
288,
9506,
202,
482,
918,
1086,
1435,
288,
6862,
202,
759,
2315,
2562,
628,
938,
6862,
202,
1952,
4666,
1988,
1081,
273,
261,
1952,
4666,
1988,
13,
19108,
1210,
5621,
6862,
202,
430,
16051,
842,
839,
10516,
334,
69,
9558,
3616,
18,
291,
1669,
7423,
10756,
288,
25083,
202,
5507,
1244,
273,
261,
5507,
13,
1081,
6862,
1082,
202,
18,
588,
16107,
12,
2297,
18,
734,
67,
5856,
12945,
5704,
3902,
27035,
55,
1769,
25083,
202,
842,
839,
10516,
334,
69,
9558,
3616,
18,
542,
6233,
12,
1125,
18,
6494,
620,
10663,
6862,
202,
97,
6862,
202,
430,
16051,
7550,
7781,
7200,
3616,
18,
291,
1669,
7423,
10756,
288,
25083,
202,
5507,
1244,
273,
261,
5507,
13,
1081,
6862,
1082,
202,
18,
588,
16107,
12,
2297,
18,
734,
67,
13384,
882,
2565,
5703,
1769,
25083,
202,
7550,
7781,
7200,
3616,
18,
542,
6233,
12,
1125,
18,
6494,
620,
10663,
6862,
202,
97,
6862,
202,
430,
16051,
9845,
26743,
7100,
3616,
18,
291,
1669,
7423,
10756,
288,
25083,
202,
5507,
1244,
273,
261,
5507,
13,
1081,
6862,
1082,
202,
18,
588,
16107,
12,
2297,
18,
734,
67,
46,
2799,
6253,
8476,
55,
67,
862,
28489,
1769,
25083,
202,
9845,
26743,
7100,
3616,
18,
542,
6233,
12,
1125,
18,
6494,
620,
10663,
6862,
202,
97,
6862,
202,
3616,
3568,
273,
261,
3616,
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,
4460,
1435,
288,
202,
202,
9565,
18,
9144,
5621,
202,
202,
698,
288,
1082,
202,
8837,
1463,
1994,
1803,
12,
2704,
10254,
1435,
288,
9506,
202,
482,
918,
1086,
1435,
288,
6862,
202,
759,
2315,
2562,
628,
938,
6862,
202,
1952,
4666,
1988,
1081,
273,
261,
1952,
4666,
1988,
13,
19108,
1210,
5621,
6862,
202,
430,
16051,
842,
839,
10516,
334,
69,
9558,
3616,
18,
291,
1669,
7423,
10756,
288,
25083,
202,
5507,
1244,
273,
261,
5507,
13,
1081,
6862,
1082,
202,
18,
588,
16107,
12,
2297,
18,
734,
67,
5856,
12945,
5704,
3902,
27035,
55,
1769,
25083,
202,
842,
839,
10516,
334,
69,
9558,
3616,
18,
542,
6233,
12,
1125,
18,
6494,
620,
10663,
2
] |
Vector vNewBaseSampleData = new Vector( ); for ( int i = 0; i < bsdList.size( ); i++ ) { BaseSampleData bsd = (BaseSampleData) bsdList.get( i ); bsd.setDataSetRepresentation( getConvertedBaseSampleDataRepresentation( bsd.getDataSetRepresentation( ) ) ); vNewBaseSampleData.add( bsd ); } | Vector vNewBaseSampleData = getConvertedBaseSampleDataRepresentation( bsdList, xAxisType ); | private SampleData getConvertedSampleData( SampleData currentSampleData ) { // Convert base sample data EList bsdList = currentSampleData.getBaseSampleData( ); Vector vNewBaseSampleData = new Vector( ); for ( int i = 0; i < bsdList.size( ); i++ ) { BaseSampleData bsd = (BaseSampleData) bsdList.get( i ); bsd.setDataSetRepresentation( getConvertedBaseSampleDataRepresentation( bsd.getDataSetRepresentation( ) ) ); vNewBaseSampleData.add( bsd ); } currentSampleData.getBaseSampleData( ).clear( ); currentSampleData.getBaseSampleData( ).addAll( vNewBaseSampleData ); // Convert orthogonal sample data EList osdList = currentSampleData.getOrthogonalSampleData( ); Vector vNewOrthogonalSampleData = new Vector( ); for ( int i = 0; i < osdList.size( ); i++ ) { OrthogonalSampleData osd = (OrthogonalSampleData) osdList.get( i ); osd.setDataSetRepresentation( getConvertedOrthogonalSampleDataRepresentation( osd.getDataSetRepresentation( ) ) ); vNewOrthogonalSampleData.add( osd ); } currentSampleData.getOrthogonalSampleData( ).clear( ); currentSampleData.getOrthogonalSampleData( ) .addAll( vNewOrthogonalSampleData ); return currentSampleData; } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/51342f37efb819d66eb6bfa56ebaba4fb7f4fa8b/BarChart.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/BarChart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
11474,
751,
336,
22063,
8504,
751,
12,
11474,
751,
783,
8504,
751,
262,
202,
95,
202,
202,
759,
4037,
1026,
3296,
501,
202,
202,
41,
682,
324,
6427,
682,
273,
783,
8504,
751,
18,
588,
2171,
8504,
751,
12,
11272,
202,
202,
5018,
331,
1908,
2171,
8504,
751,
273,
394,
5589,
12,
11272,
202,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
324,
6427,
682,
18,
1467,
12,
11272,
277,
9904,
262,
202,
202,
95,
1082,
202,
2171,
8504,
751,
324,
6427,
273,
261,
2171,
8504,
751,
13,
324,
6427,
682,
18,
588,
12,
277,
11272,
1082,
202,
2038,
72,
18,
542,
13676,
13742,
12,
336,
22063,
2171,
8504,
751,
13742,
12,
324,
6427,
18,
588,
13676,
13742,
12,
262,
262,
11272,
1082,
202,
90,
1908,
2171,
8504,
751,
18,
1289,
12,
324,
6427,
11272,
202,
202,
97,
202,
202,
2972,
8504,
751,
18,
588,
2171,
8504,
751,
12,
262,
18,
8507,
12,
11272,
202,
202,
2972,
8504,
751,
18,
588,
2171,
8504,
751,
12,
262,
18,
1289,
1595,
12,
331,
1908,
2171,
8504,
751,
11272,
202,
202,
759,
4037,
16208,
28396,
3296,
501,
202,
202,
41,
682,
1140,
72,
682,
273,
783,
8504,
751,
18,
588,
1162,
451,
28396,
8504,
751,
12,
11272,
202,
202,
5018,
331,
1908,
1162,
451,
28396,
8504,
751,
273,
394,
5589,
12,
11272,
202,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
1140,
72,
682,
18,
1467,
12,
11272,
277,
9904,
262,
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,
1152,
11474,
751,
336,
22063,
8504,
751,
12,
11474,
751,
783,
8504,
751,
262,
202,
95,
202,
202,
759,
4037,
1026,
3296,
501,
202,
202,
41,
682,
324,
6427,
682,
273,
783,
8504,
751,
18,
588,
2171,
8504,
751,
12,
11272,
202,
202,
5018,
331,
1908,
2171,
8504,
751,
273,
394,
5589,
12,
11272,
202,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
324,
6427,
682,
18,
1467,
12,
11272,
277,
9904,
262,
202,
202,
95,
1082,
202,
2171,
8504,
751,
324,
6427,
273,
261,
2171,
8504,
751,
13,
324,
6427,
682,
18,
588,
12,
277,
11272,
1082,
202,
2038,
72,
18,
542,
13676,
13742,
12,
336,
22063,
2171,
8504,
751,
13742,
12,
324,
6427,
2
] |
String password, String encoding) throws IOException, KeyManagementException, LoginException, NoSuchAlgorithmException, BugzillaException { | String password, String encoding) throws IOException, BugzillaException, GeneralSecurityException { | public RepositoryConfiguration getConfiguration(String repositoryUrl, Proxy proxySettings, String userName, String password, String encoding) throws IOException, KeyManagementException, LoginException, NoSuchAlgorithmException, BugzillaException { String configUrlStr = repositoryUrl + CONFIG_RDF_URL; configUrlStr = BugzillaServerFacade.addCredentials(configUrlStr, userName, password); URL url = new URL(configUrlStr); SaxConfigurationContentHandler contentHandler = new SaxConfigurationContentHandler(); collectResults(url, proxySettings, encoding, contentHandler, true); RepositoryConfiguration config = contentHandler.getConfiguration(); if (config != null) { config.setRepositoryUrl(repositoryUrl); } return config; } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/925c56cd29a486a51cfd56ee2c309ee45ca25183/RepositoryConfigurationFactory.java/clean/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryConfigurationFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6281,
1750,
10316,
12,
780,
3352,
1489,
16,
7659,
2889,
2628,
16,
514,
12065,
16,
1082,
202,
780,
2201,
16,
514,
2688,
13,
1216,
1860,
16,
1929,
10998,
503,
16,
11744,
503,
16,
1082,
202,
28341,
17293,
16,
16907,
15990,
503,
288,
202,
202,
780,
642,
1489,
1585,
273,
3352,
1489,
397,
9128,
67,
30137,
67,
1785,
31,
202,
202,
1425,
1489,
1585,
273,
16907,
15990,
2081,
12467,
18,
1289,
6163,
12,
1425,
1489,
1585,
16,
12065,
16,
2201,
1769,
202,
202,
1785,
880,
273,
394,
1976,
12,
1425,
1489,
1585,
1769,
202,
202,
55,
651,
1750,
1350,
1503,
913,
1503,
273,
394,
348,
651,
1750,
1350,
1503,
5621,
202,
202,
14676,
3447,
12,
718,
16,
2889,
2628,
16,
2688,
16,
913,
1503,
16,
638,
1769,
202,
202,
3305,
1750,
642,
273,
913,
1503,
18,
588,
1750,
5621,
202,
202,
430,
261,
1425,
480,
446,
13,
288,
1082,
202,
1425,
18,
542,
3305,
1489,
12,
9071,
1489,
1769,
202,
202,
97,
202,
202,
2463,
642,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
6281,
1750,
10316,
12,
780,
3352,
1489,
16,
7659,
2889,
2628,
16,
514,
12065,
16,
1082,
202,
780,
2201,
16,
514,
2688,
13,
1216,
1860,
16,
1929,
10998,
503,
16,
11744,
503,
16,
1082,
202,
28341,
17293,
16,
16907,
15990,
503,
288,
202,
202,
780,
642,
1489,
1585,
273,
3352,
1489,
397,
9128,
67,
30137,
67,
1785,
31,
202,
202,
1425,
1489,
1585,
273,
16907,
15990,
2081,
12467,
18,
1289,
6163,
12,
1425,
1489,
1585,
16,
12065,
16,
2201,
1769,
202,
202,
1785,
880,
273,
394,
1976,
12,
1425,
1489,
1585,
1769,
202,
202,
55,
651,
1750,
1350,
1503,
913,
1503,
273,
394,
348,
651,
1750,
1350,
1503,
5621,
202,
202,
14676,
3447,
12,
718,
16,
2
] |
{ } | { } | private void setDoubleField (Object obj, Class klass, String field_name, double val) throws IOException { try { Field f = getField (klass, field_name); f.setDouble (obj, val); } catch (IllegalArgumentException _) { throw new InvalidClassException("incompatible field type for " + klass.getName() + "." + field_name); } catch (Exception _) { } } | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/f2f8e75a9bc6cfc17557565a29487f70a109d3e0/ObjectInputStream.java/clean/libraries/javalib/java/io/ObjectInputStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
444,
5265,
974,
261,
921,
1081,
16,
1659,
7352,
16,
514,
652,
67,
529,
16,
9506,
4202,
1645,
1244,
13,
1216,
1860,
225,
288,
565,
775,
1377,
288,
202,
974,
284,
273,
5031,
261,
22626,
16,
652,
67,
529,
1769,
202,
74,
18,
542,
5265,
261,
2603,
16,
1244,
1769,
1377,
289,
565,
1044,
261,
31237,
389,
13,
565,
288,
1377,
604,
394,
1962,
797,
503,
2932,
267,
10943,
652,
618,
364,
315,
397,
7352,
18,
17994,
1435,
397,
4585,
397,
652,
67,
529,
1769,
565,
289,
565,
1044,
261,
503,
389,
13,
565,
288,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3238,
918,
444,
5265,
974,
261,
921,
1081,
16,
1659,
7352,
16,
514,
652,
67,
529,
16,
9506,
4202,
1645,
1244,
13,
1216,
1860,
225,
288,
565,
775,
1377,
288,
202,
974,
284,
273,
5031,
261,
22626,
16,
652,
67,
529,
1769,
202,
74,
18,
542,
5265,
261,
2603,
16,
1244,
1769,
1377,
289,
565,
1044,
261,
31237,
389,
13,
565,
288,
1377,
604,
394,
1962,
797,
503,
2932,
267,
10943,
652,
618,
364,
315,
397,
7352,
18,
17994,
1435,
397,
4585,
397,
652,
67,
529,
1769,
565,
289,
565,
1044,
261,
503,
389,
13,
565,
288,
565,
289,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
subMenu = new JMenu("More"); fudge = 1; | subMenu = new JMenu("More..."); parentMenu.add(subMenu); | public static void breakLongMenu(final Window frame, final JMenu input) { final Dimension size = frame.getSize(); final int windowHeight = size.height; final int totalRows = input.getItemCount(); final int preferredHeight = input.getItem(0).getPreferredSize().height; final int FUDGE = 3; // XXX find a better way to compute this... final int rowsPerSubMenu = (windowHeight/ preferredHeight) - FUDGE; if (totalRows < rowsPerSubMenu) { return; } JMenu parentMenu = input; JMenu subMenu = new JMenu("More"); int fudge = 0; while (input.getItemCount() > rowsPerSubMenu + fudge) { final JMenuItem item = input.getItem(rowsPerSubMenu); subMenu.add(item); int n = subMenu.getItemCount(); if (n >= rowsPerSubMenu) { parentMenu.add(subMenu); // Note that this removes it from the original menu! parentMenu = subMenu; subMenu = new JMenu("More"); fudge = 1; } } if (subMenu.getItemCount() > 0) { parentMenu.add(subMenu); } /** TODO: Resizing the main window does not change the height of the menu. * This is left as an exercise for the reader: * frame.addComponentListener(new ComponentAdapter() { * @Override * public void componentResized(ComponentEvent e) { * JMenu oldMenu = fileMenu; * // Loop over oldMenu, if JMenu, replace with its elements, recursively...! * ASUtils.breakLongMenu(fileMenu); * } * }); */ } | 53257 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53257/e5c8134f54d582c05bc87406d48fcf27abe37a9f/ASUtils.java/clean/src/ca/sqlpower/architect/swingui/ASUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
898,
3708,
4599,
12,
6385,
6076,
2623,
16,
727,
804,
4599,
810,
13,
288,
202,
202,
6385,
13037,
963,
273,
2623,
18,
588,
1225,
5621,
202,
202,
6385,
509,
2742,
2686,
273,
963,
18,
4210,
31,
202,
202,
6385,
509,
2078,
4300,
273,
810,
18,
588,
30687,
5621,
202,
202,
6385,
509,
9119,
2686,
273,
810,
18,
588,
1180,
12,
20,
2934,
588,
16028,
1225,
7675,
4210,
31,
202,
202,
6385,
509,
478,
12587,
7113,
273,
890,
31,
368,
11329,
1104,
279,
7844,
4031,
358,
3671,
333,
2777,
202,
202,
6385,
509,
2595,
2173,
1676,
4599,
273,
261,
5668,
2686,
19,
9119,
2686,
13,
300,
478,
12587,
7113,
31,
202,
202,
430,
261,
4963,
4300,
411,
2595,
2173,
1676,
4599,
13,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
46,
4599,
982,
4599,
273,
810,
31,
202,
202,
46,
4599,
720,
4599,
273,
394,
804,
4599,
2932,
7417,
8863,
202,
202,
474,
284,
27110,
273,
374,
31,
202,
202,
17523,
261,
2630,
18,
588,
30687,
1435,
405,
2595,
2173,
1676,
4599,
397,
284,
27110,
13,
288,
1082,
202,
6385,
804,
12958,
761,
273,
810,
18,
588,
1180,
12,
3870,
2173,
1676,
4599,
1769,
1082,
202,
1717,
4599,
18,
1289,
12,
1726,
1769,
1082,
202,
474,
290,
273,
720,
4599,
18,
588,
30687,
5621,
1082,
202,
430,
261,
82,
1545,
2595,
2173,
1676,
4599,
13,
288,
9506,
202,
2938,
4599,
18,
1289,
12,
1717,
4599,
1769,
202,
759,
3609,
716,
333,
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,
760,
918,
898,
3708,
4599,
12,
6385,
6076,
2623,
16,
727,
804,
4599,
810,
13,
288,
202,
202,
6385,
13037,
963,
273,
2623,
18,
588,
1225,
5621,
202,
202,
6385,
509,
2742,
2686,
273,
963,
18,
4210,
31,
202,
202,
6385,
509,
2078,
4300,
273,
810,
18,
588,
30687,
5621,
202,
202,
6385,
509,
9119,
2686,
273,
810,
18,
588,
1180,
12,
20,
2934,
588,
16028,
1225,
7675,
4210,
31,
202,
202,
6385,
509,
478,
12587,
7113,
273,
890,
31,
368,
11329,
1104,
279,
7844,
4031,
358,
3671,
333,
2777,
202,
202,
6385,
509,
2595,
2173,
1676,
4599,
273,
261,
5668,
2686,
19,
9119,
2686,
13,
300,
478,
12587,
7113,
31,
202,
202,
430,
261,
4963,
2
] |
decorator = findDecorator(website, (String) ctx.get("decorator")); | decorator = findDecorator(weblog); | public void render(Map model, Writer out) throws Exception { // lookup the specified resource Template tmpl = RollerVelocity.getTemplate(this.resourceId, "UTF-8"); // convert model to Velocity Context Context ctx = new VelocityContext(model); // if there is a decorator template then apply it WebsiteData website = null; // TODO: this is poor form, we should not need to access the pojo from the wrapper WebsiteDataWrapper websiteWrapper = (WebsiteDataWrapper) model.get("website"); if(websiteWrapper != null) { website = websiteWrapper.getPojo(); } if (website != null) { Template decorator = null; try { // look for decorator decorator = findDecorator(website, (String) ctx.get("decorator")); } catch(Exception e) { // error finding decorator log.warn("Could not find a decorator to apply"); } if(decorator != null) { // render current template StringWriter sw = new StringWriter(); tmpl.merge(ctx, sw); // put rendered template into context ctx.put("decorator_body", sw.toString()); tmpl = decorator; } } // render output to servlet response tmpl.merge(ctx, out); } | 46431 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46431/f03b218a70c52455d25956f78ff4341f3ddd3891/VelocityWeblogPageRenderer.java/buggy/src/org/apache/roller/ui/rendering/velocity/VelocityWeblogPageRenderer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1743,
12,
863,
938,
16,
5497,
596,
13,
1216,
1185,
288,
7734,
368,
3689,
326,
1269,
1058,
3639,
5035,
10720,
273,
11714,
749,
27522,
18,
588,
2283,
12,
2211,
18,
3146,
548,
16,
315,
5159,
17,
28,
8863,
7734,
368,
1765,
938,
358,
24561,
1772,
3639,
1772,
1103,
273,
394,
24561,
1042,
12,
2284,
1769,
7734,
368,
309,
1915,
353,
279,
7367,
1542,
1508,
2230,
518,
3639,
1660,
12343,
751,
12504,
273,
446,
31,
3639,
368,
2660,
30,
333,
353,
8275,
280,
646,
16,
732,
1410,
486,
1608,
358,
2006,
326,
28598,
628,
326,
4053,
3639,
1660,
12343,
751,
3611,
12504,
3611,
273,
261,
19186,
751,
3611,
13,
938,
18,
588,
2932,
21868,
8863,
3639,
309,
12,
21868,
3611,
480,
446,
13,
288,
5411,
12504,
273,
12504,
3611,
18,
588,
52,
10007,
5621,
3639,
289,
3639,
309,
261,
21868,
480,
446,
13,
288,
5411,
5035,
7367,
273,
446,
31,
5411,
775,
288,
7734,
368,
2324,
364,
7367,
7734,
7367,
273,
1104,
10361,
12,
4875,
1330,
1769,
5411,
289,
1044,
12,
503,
425,
13,
288,
7734,
368,
555,
13727,
7367,
7734,
613,
18,
8935,
2932,
4445,
486,
1104,
279,
7367,
358,
2230,
8863,
5411,
289,
13491,
309,
12,
19142,
480,
446,
13,
288,
7734,
368,
1743,
783,
1542,
7734,
17436,
1352,
273,
394,
17436,
5621,
7734,
10720,
18,
2702,
12,
5900,
16,
1352,
1769,
27573,
368,
1378,
7935,
1542,
1368,
819,
7734,
1103,
18,
458,
2932,
19142,
67,
3432,
3113,
1352,
18,
10492,
10663,
7734,
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,
1743,
12,
863,
938,
16,
5497,
596,
13,
1216,
1185,
288,
7734,
368,
3689,
326,
1269,
1058,
3639,
5035,
10720,
273,
11714,
749,
27522,
18,
588,
2283,
12,
2211,
18,
3146,
548,
16,
315,
5159,
17,
28,
8863,
7734,
368,
1765,
938,
358,
24561,
1772,
3639,
1772,
1103,
273,
394,
24561,
1042,
12,
2284,
1769,
7734,
368,
309,
1915,
353,
279,
7367,
1542,
1508,
2230,
518,
3639,
1660,
12343,
751,
12504,
273,
446,
31,
3639,
368,
2660,
30,
333,
353,
8275,
280,
646,
16,
732,
1410,
486,
1608,
358,
2006,
326,
28598,
628,
326,
4053,
3639,
1660,
12343,
751,
3611,
12504,
3611,
273,
261,
19186,
751,
3611,
13,
938,
18,
588,
2932,
21868,
8863,
3639,
309,
2
] |
maxrows = max; | connection.maxrows = max; | public void setMaxRows(int max) throws SQLException { maxrows = max; } | 45497 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45497/ba977c086c01726affcc96219a79584a11ccc78e/Statement.java/clean/src/interfaces/jdbc/postgresql/Statement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
10851,
4300,
12,
474,
943,
13,
1216,
6483,
202,
95,
202,
202,
1896,
3870,
273,
943,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
10851,
4300,
12,
474,
943,
13,
1216,
6483,
202,
95,
202,
202,
1896,
3870,
273,
943,
31,
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,
-100,
-100,
-100
] |
{ return point3D.y; } | { return point3D.y; } | public double getY3D() { return point3D.y; } | 45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/a0fe2ba9ebb5b30198ad5632dce2a72cb9cfd6d0/Atom.java/clean/org/openscience/cdk/Atom.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1645,
10448,
23,
40,
1435,
202,
95,
202,
202,
2463,
1634,
23,
40,
18,
93,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1645,
10448,
23,
40,
1435,
202,
95,
202,
202,
2463,
1634,
23,
40,
18,
93,
31,
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,
-100,
-100,
-100,
-100,
-100
] |
logger.logApiId(); | SessionModelEventDispatcher(final Workspace workspace, final InternalModelFactory modelFactory, final XMPPSession xmppSession) { super(); this.logger = new Log4JWrapper(); this.modelFactory = modelFactory; logger.logApiId(); xmppSession.clearListeners(); xmppSession.addListener(new ArtifactListener() { public void handleDraftCreated(final UUID uniqueId, final JabberId createdBy, final Calendar createdOn) { getArtifactModel().handleDraftCreated(uniqueId, createdBy, createdOn); } public void handleDraftDeleted(final UUID uniqueId, final JabberId deletedBy, final Calendar deletedOn) { getArtifactModel().handleDraftDeleted(uniqueId, deletedBy, deletedOn); } public void handleReceived(final UUID uniqueId, final Long versionId, final JabberId receivedBy, final Calendar receivedOn) { logger.logApiId(); getArtifactModel().handleReceived(uniqueId, versionId, receivedBy, receivedOn); } public void teamMemberAdded(final UUID uniqueId, final JabberId jabberId) { getArtifactModel().handleTeamMemberAdded(uniqueId, jabberId); } public void teamMemberRemoved(final UUID artifactUniqueId, final JabberId jabberId) { getArtifactModel().handleTeamMemberRemoved(artifactUniqueId, jabberId); } }); xmppSession.addListener(new ContainerListener() { public void handleArtifactPublished(final JabberId publishedBy, final Calendar publishedOn, final UUID containerUniqueId, final Long containerVersionId, final String containerName, final Integer containerArtifactCount, final Integer containerArtifactIndex, final UUID artifactUniqueId, final Long artifactVersionId, final String artifactName, final ArtifactType artifactType, final String artifactChecksum, final String artifactStreamId) { getContainerModel().handleArtifactPublished(containerUniqueId, containerVersionId, containerName, artifactUniqueId, artifactVersionId, artifactName, artifactType, artifactChecksum, artifactStreamId, publishedBy, publishedOn); } public void handlePublished(final UUID uniqueId, final Long versionId, final String name, final Integer artifactCount, final JabberId publishedBy, final List<JabberId> publishedTo, final Calendar publishedOn) { getContainerModel().handlePublished(uniqueId, versionId, name, artifactCount, publishedBy, publishedTo, publishedOn); } }); xmppSession.addListener(new ContactListener() { public void handleContactDeleted(final JabberId deletedBy, final Calendar deletedOn) { getContactModel().handleContactDeleted(deletedBy, deletedOn); } public void handleContactUpdated(final JabberId contactId, final Calendar updatedOn) { getContactModel().handleContactUpdated(contactId, updatedOn); } public void handleInvitationAccepted(final JabberId acceptedBy, final Calendar acceptedOn) { getContactModel().handleInvitationAccepted(acceptedBy, acceptedOn); } public void handleInvitationDeclined(final EMail invitedAs, final JabberId declinedBy, final Calendar declinedOn) { getContactModel().handleInvitationDeclined(invitedAs, declinedBy, declinedOn); } public void handleInvitationDeleted(final EMail invitedAs, final JabberId deletedBy, final Calendar deletedOn) { getContactModel().handleInvitationDeleted(invitedAs, deletedBy, deletedOn); } public void handleInvitationExtended(final EMail invitedAs, final JabberId invitedBy, final Calendar invitedOn) { getContactModel().handleInvitationExtended(invitedAs, invitedBy, invitedOn); } }); xmppSession.addListener(new SessionListener() { public void sessionEstablished() { getSessionModel().handleSessionEstablished(); } public void sessionTerminated() { getSessionModel().handleSessionTerminated(); } public void sessionTerminated(final Exception x) { getSessionModel().handleSessionTerminated(x); } }); } | 53635 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53635/1a5afbe8b391e23722a7393d16e27c5629a66e52/SessionModelEventDispatcher.java/buggy/local/model/src/main/java/com/thinkparity/ophelia/model/session/SessionModelEventDispatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3877,
1488,
1133,
6681,
12,
6385,
14396,
6003,
16,
5411,
727,
3186,
1488,
1733,
938,
1733,
16,
5411,
727,
23216,
2157,
619,
24109,
2157,
13,
288,
3639,
2240,
5621,
3639,
333,
18,
4901,
273,
394,
1827,
24,
46,
3611,
5621,
3639,
333,
18,
2284,
1733,
273,
938,
1733,
31,
9079,
619,
24109,
2157,
18,
8507,
5583,
5621,
3639,
619,
24109,
2157,
18,
1289,
2223,
12,
2704,
14022,
2223,
1435,
288,
5411,
1071,
918,
1640,
12714,
6119,
12,
6385,
5866,
22345,
16,
10792,
727,
804,
378,
744,
548,
2522,
858,
16,
727,
5542,
2522,
1398,
13,
288,
7734,
24957,
1488,
7675,
4110,
12714,
6119,
12,
6270,
548,
16,
2522,
858,
16,
13491,
2522,
1398,
1769,
5411,
289,
5411,
1071,
918,
1640,
12714,
7977,
12,
6385,
5866,
22345,
16,
10792,
727,
804,
378,
744,
548,
4282,
858,
16,
727,
5542,
4282,
1398,
13,
288,
7734,
24957,
1488,
7675,
4110,
12714,
7977,
12,
6270,
548,
16,
4282,
858,
16,
13491,
4282,
1398,
1769,
5411,
289,
5411,
1071,
918,
1640,
8872,
12,
6385,
5866,
22345,
16,
10792,
727,
3407,
15287,
16,
727,
804,
378,
744,
548,
5079,
858,
16,
10792,
727,
5542,
5079,
1398,
13,
288,
1171,
9079,
24957,
1488,
7675,
4110,
8872,
12,
6270,
548,
16,
15287,
16,
13491,
5079,
858,
16,
5079,
1398,
1769,
5411,
289,
5411,
1071,
918,
5927,
4419,
8602,
12,
6385,
5866,
22345,
16,
727,
804,
378,
744,
548,
525,
378,
744,
548,
13,
288,
7734,
24957,
1488,
7675,
4110,
8689,
4419,
8602,
12,
6270,
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,
3877,
1488,
1133,
6681,
12,
6385,
14396,
6003,
16,
5411,
727,
3186,
1488,
1733,
938,
1733,
16,
5411,
727,
23216,
2157,
619,
24109,
2157,
13,
288,
3639,
2240,
5621,
3639,
333,
18,
4901,
273,
394,
1827,
24,
46,
3611,
5621,
3639,
333,
18,
2284,
1733,
273,
938,
1733,
31,
9079,
619,
24109,
2157,
18,
8507,
5583,
5621,
3639,
619,
24109,
2157,
18,
1289,
2223,
12,
2704,
14022,
2223,
1435,
288,
5411,
1071,
918,
1640,
12714,
6119,
12,
6385,
5866,
22345,
16,
10792,
727,
804,
378,
744,
548,
2522,
858,
16,
727,
5542,
2522,
1398,
13,
288,
7734,
24957,
1488,
7675,
4110,
12714,
6119,
12,
6270,
548,
16,
2522,
858,
16,
13491,
2522,
1398,
1769,
5411,
289,
5411,
1071,
2
] | |
public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, | public static FloatLayoutResult generateFloated( final LayoutContext c, FloatedBlockContent content, int avail, | public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); c.setCurrentMarkerData(null); FloatedBlockBox block = new FloatedBlockBox(); block.setContainingBlock(curr_line.getParent()); block.setContainingLayer(curr_line.getContainingLayer()); block.y = curr_line.y + content.getMarginFromPrevious(); block.element = content.getElement(); Boxing.layout(c, block, content); c.getBlockFormattingContext().floatBox(c, (FloatedBlockBox) block); if (! block.getStyle().isFloated()) { throw new XRRuntimeException("Invalid call to generateFloatedBlock(); where float: none "); } c.setCurrentMarkerData(markerData); c.setExtents(oe); if (pendingFloats.size() > 0 || block.getWidth() > avail) { if (pendingFloats.size() > 0) { block.y = 0; } pendingFloats.add(block); c.getBlockFormattingContext().getFloatManager().removeFloat(block); c.getLayer().removeFloat(block); // FIXME Not yet, will also detach children. // Should be laying out again though anyway. /* block.detach(); */ block.setPending(true); } return block; } | 8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/365d5c0efcf4a646ee68af110b7ac1ac42b7efa4/LayoutUtil.java/clean/src/java/org/xhtmlrenderer/layout/LayoutUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
478,
383,
690,
1768,
3514,
2103,
42,
383,
690,
12,
5411,
9995,
1042,
276,
16,
478,
383,
690,
1768,
1350,
913,
16,
509,
15783,
16,
2398,
5377,
3514,
4306,
67,
1369,
16,
987,
4634,
4723,
87,
13,
288,
3639,
13264,
320,
73,
273,
276,
18,
588,
2482,
4877,
5621,
3639,
276,
18,
542,
2482,
4877,
12,
2704,
13264,
12,
15548,
10019,
7734,
14742,
751,
5373,
751,
273,
276,
18,
588,
3935,
7078,
751,
5621,
3639,
276,
18,
542,
3935,
7078,
751,
12,
2011,
1769,
5411,
478,
383,
690,
1768,
3514,
1203,
273,
394,
478,
383,
690,
1768,
3514,
5621,
3639,
1203,
18,
542,
24344,
1768,
12,
17016,
67,
1369,
18,
588,
3054,
10663,
3639,
1203,
18,
542,
24344,
4576,
12,
17016,
67,
1369,
18,
588,
24344,
4576,
10663,
3639,
1203,
18,
93,
273,
4306,
67,
1369,
18,
93,
397,
913,
18,
588,
9524,
1265,
8351,
5621,
3639,
1203,
18,
2956,
273,
913,
18,
21336,
5621,
3639,
8549,
310,
18,
6741,
12,
71,
16,
1203,
16,
913,
1769,
3639,
276,
18,
588,
1768,
23974,
1042,
7675,
5659,
3514,
12,
71,
16,
261,
42,
383,
690,
1768,
3514,
13,
1203,
1769,
7734,
309,
16051,
1203,
18,
588,
2885,
7675,
291,
42,
383,
690,
10756,
288,
5411,
604,
394,
1139,
54,
11949,
2932,
1941,
745,
358,
2103,
42,
383,
690,
1768,
5621,
1625,
1431,
30,
6555,
315,
1769,
3639,
289,
7734,
276,
18,
542,
3935,
7078,
751,
12,
11145,
751,
1769,
5411,
276,
18,
542,
2482,
4877,
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,
478,
383,
690,
1768,
3514,
2103,
42,
383,
690,
12,
5411,
9995,
1042,
276,
16,
478,
383,
690,
1768,
1350,
913,
16,
509,
15783,
16,
2398,
5377,
3514,
4306,
67,
1369,
16,
987,
4634,
4723,
87,
13,
288,
3639,
13264,
320,
73,
273,
276,
18,
588,
2482,
4877,
5621,
3639,
276,
18,
542,
2482,
4877,
12,
2704,
13264,
12,
15548,
10019,
7734,
14742,
751,
5373,
751,
273,
276,
18,
588,
3935,
7078,
751,
5621,
3639,
276,
18,
542,
3935,
7078,
751,
12,
2011,
1769,
5411,
478,
383,
690,
1768,
3514,
1203,
273,
394,
478,
383,
690,
1768,
3514,
5621,
3639,
1203,
18,
542,
24344,
1768,
12,
17016,
67,
1369,
18,
588,
3054,
10663,
3639,
1203,
18,
2
] |
public void testScopeUpdate( ) | public void testScopeUpdate() | public void testScopeUpdate( ) throws InvalidVersionSpecificationException, ArtifactResolutionException { /* farthest = compile */ checkScopeUpdate( Artifact.SCOPE_COMPILE, Artifact.SCOPE_COMPILE, Artifact.SCOPE_COMPILE ); checkScopeUpdate( Artifact.SCOPE_COMPILE, Artifact.SCOPE_PROVIDED, Artifact.SCOPE_COMPILE ); checkScopeUpdate( Artifact.SCOPE_COMPILE, Artifact.SCOPE_RUNTIME, Artifact.SCOPE_COMPILE ); checkScopeUpdate( Artifact.SCOPE_COMPILE, Artifact.SCOPE_SYSTEM, Artifact.SCOPE_COMPILE ); checkScopeUpdate( Artifact.SCOPE_COMPILE, Artifact.SCOPE_TEST, Artifact.SCOPE_COMPILE ); /* farthest = provided */ checkScopeUpdate( Artifact.SCOPE_PROVIDED, Artifact.SCOPE_COMPILE, Artifact.SCOPE_COMPILE ); checkScopeUpdate( Artifact.SCOPE_PROVIDED, Artifact.SCOPE_PROVIDED, Artifact.SCOPE_PROVIDED ); checkScopeUpdate( Artifact.SCOPE_PROVIDED, Artifact.SCOPE_RUNTIME, Artifact.SCOPE_RUNTIME ); checkScopeUpdate( Artifact.SCOPE_PROVIDED, Artifact.SCOPE_SYSTEM, Artifact.SCOPE_SYSTEM ); checkScopeUpdate( Artifact.SCOPE_PROVIDED, Artifact.SCOPE_TEST, Artifact.SCOPE_TEST ); /* farthest = runtime */ checkScopeUpdate( Artifact.SCOPE_RUNTIME, Artifact.SCOPE_COMPILE, Artifact.SCOPE_COMPILE ); checkScopeUpdate( Artifact.SCOPE_RUNTIME, Artifact.SCOPE_PROVIDED, Artifact.SCOPE_RUNTIME ); checkScopeUpdate( Artifact.SCOPE_RUNTIME, Artifact.SCOPE_RUNTIME, Artifact.SCOPE_RUNTIME ); checkScopeUpdate( Artifact.SCOPE_RUNTIME, Artifact.SCOPE_SYSTEM, Artifact.SCOPE_SYSTEM ); checkScopeUpdate( Artifact.SCOPE_RUNTIME, Artifact.SCOPE_TEST, Artifact.SCOPE_RUNTIME ); /* farthest = system */ checkScopeUpdate( Artifact.SCOPE_SYSTEM, Artifact.SCOPE_COMPILE, Artifact.SCOPE_COMPILE ); checkScopeUpdate( Artifact.SCOPE_SYSTEM, Artifact.SCOPE_PROVIDED, Artifact.SCOPE_PROVIDED ); checkScopeUpdate( Artifact.SCOPE_SYSTEM, Artifact.SCOPE_RUNTIME, Artifact.SCOPE_RUNTIME ); checkScopeUpdate( Artifact.SCOPE_SYSTEM, Artifact.SCOPE_SYSTEM, Artifact.SCOPE_SYSTEM ); checkScopeUpdate( Artifact.SCOPE_SYSTEM, Artifact.SCOPE_TEST, Artifact.SCOPE_TEST ); /* farthest = test */ checkScopeUpdate( Artifact.SCOPE_TEST, Artifact.SCOPE_COMPILE, Artifact.SCOPE_COMPILE ); checkScopeUpdate( Artifact.SCOPE_TEST, Artifact.SCOPE_PROVIDED, Artifact.SCOPE_PROVIDED ); checkScopeUpdate( Artifact.SCOPE_TEST, Artifact.SCOPE_RUNTIME, Artifact.SCOPE_RUNTIME ); checkScopeUpdate( Artifact.SCOPE_TEST, Artifact.SCOPE_SYSTEM, Artifact.SCOPE_SYSTEM ); checkScopeUpdate( Artifact.SCOPE_TEST, Artifact.SCOPE_TEST, Artifact.SCOPE_TEST ); } | 47050 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47050/e8f75bf411923107c88629fad6af6c989a2704f5/DefaultArtifactCollectorTest.java/clean/maven-artifact/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactCollectorTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3876,
1891,
1435,
3639,
1216,
1962,
1444,
8615,
503,
16,
14022,
11098,
503,
565,
288,
3639,
1748,
10247,
29201,
273,
4074,
1195,
3639,
866,
3876,
1891,
12,
14022,
18,
19444,
67,
31075,
900,
16,
14022,
18,
19444,
67,
31075,
900,
16,
14022,
18,
19444,
67,
31075,
900,
11272,
3639,
866,
3876,
1891,
12,
14022,
18,
19444,
67,
31075,
900,
16,
14022,
18,
19444,
67,
3373,
15472,
2056,
16,
14022,
18,
19444,
67,
31075,
900,
11272,
3639,
866,
3876,
1891,
12,
14022,
18,
19444,
67,
31075,
900,
16,
14022,
18,
19444,
67,
54,
25375,
16,
14022,
18,
19444,
67,
31075,
900,
11272,
3639,
866,
3876,
1891,
12,
14022,
18,
19444,
67,
31075,
900,
16,
14022,
18,
19444,
67,
14318,
16,
14022,
18,
19444,
67,
31075,
900,
11272,
3639,
866,
3876,
1891,
12,
14022,
18,
19444,
67,
31075,
900,
16,
14022,
18,
19444,
67,
16961,
16,
14022,
18,
19444,
67,
31075,
900,
11272,
3639,
1748,
10247,
29201,
273,
2112,
1195,
3639,
866,
3876,
1891,
12,
14022,
18,
19444,
67,
3373,
15472,
2056,
16,
14022,
18,
19444,
67,
31075,
900,
16,
14022,
18,
19444,
67,
31075,
900,
11272,
3639,
866,
3876,
1891,
12,
14022,
18,
19444,
67,
3373,
15472,
2056,
16,
14022,
18,
19444,
67,
3373,
15472,
2056,
16,
14022,
18,
19444,
67,
3373,
15472,
2056,
11272,
3639,
866,
3876,
1891,
12,
14022,
18,
19444,
67,
3373,
15472,
2056,
16,
14022,
18,
19444,
67,
54,
25375,
16,
14022,
18,
19444,
67,
54,
25375,
11272,
3639,
866,
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,
3876,
1891,
1435,
3639,
1216,
1962,
1444,
8615,
503,
16,
14022,
11098,
503,
565,
288,
3639,
1748,
10247,
29201,
273,
4074,
1195,
3639,
866,
3876,
1891,
12,
14022,
18,
19444,
67,
31075,
900,
16,
14022,
18,
19444,
67,
31075,
900,
16,
14022,
18,
19444,
67,
31075,
900,
11272,
3639,
866,
3876,
1891,
12,
14022,
18,
19444,
67,
31075,
900,
16,
14022,
18,
19444,
67,
3373,
15472,
2056,
16,
14022,
18,
19444,
67,
31075,
900,
11272,
3639,
866,
3876,
1891,
12,
14022,
18,
19444,
67,
31075,
900,
16,
14022,
18,
19444,
67,
54,
25375,
16,
14022,
18,
19444,
67,
31075,
900,
11272,
3639,
866,
3876,
1891,
12,
14022,
18,
19444,
67,
31075,
900,
16,
14022,
18,
2
] |
sql += " AND p.proname LIKE '"+escapeQuotes(procedureNamePattern.toLowerCase())+"' "; | sql += " AND p.proname LIKE '"+escapeQuotes(procedureNamePattern)+"' "; | public java.sql.ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException { String sql; if (connection.haveMinimumServerVersion("7.3")) { sql = "SELECT NULL AS PROCEDURE_CAT, n.nspname AS PROCEDURE_SCHEM, p.proname AS PROCEDURE_NAME, NULL, NULL, NULL, d.description AS REMARKS, "+java.sql.DatabaseMetaData.procedureReturnsResult+" AS PROCEDURE_TYPE "+ " FROM pg_catalog.pg_namespace n, pg_catalog.pg_proc p "+ " LEFT JOIN pg_catalog.pg_description d ON (p.oid=d.objoid) "+ " LEFT JOIN pg_catalog.pg_class c ON (d.classoid=c.oid AND c.relname='pg_proc') "+ " LEFT JOIN pg_catalog.pg_namespace pn ON (c.relnamespace=pn.oid AND pn.nspname='pg_catalog') "+ " WHERE p.pronamespace=n.oid "; if (schemaPattern != null && !"".equals(schemaPattern)) { sql += " AND n.nspname LIKE '"+escapeQuotes(schemaPattern.toLowerCase())+"' "; } if (procedureNamePattern != null) { sql += " AND p.proname LIKE '"+escapeQuotes(procedureNamePattern.toLowerCase())+"' "; } sql += " ORDER BY PROCEDURE_SCHEM, PROCEDURE_NAME "; } else if (connection.haveMinimumServerVersion("7.1")) { sql = "SELECT NULL AS PROCEDURE_CAT, NULL AS PROCEDURE_SCHEM, p.proname AS PROCEDURE_NAME, NULL, NULL, NULL, d.description AS REMARKS, "+java.sql.DatabaseMetaData.procedureReturnsResult+" AS PROCEDURE_TYPE "+ " FROM pg_proc p "+ " LEFT JOIN pg_description d ON (p.oid=d.objoid) "+ " LEFT JOIN pg_class c ON (d.classoid=c.oid AND c.relname='pg_proc') "; if (procedureNamePattern != null) { sql += " WHERE p.proname LIKE '"+escapeQuotes(procedureNamePattern.toLowerCase())+"' "; } sql += " ORDER BY PROCEDURE_NAME "; } else { sql = "SELECT NULL AS PROCEDURE_CAT, NULL AS PROCEDURE_SCHEM, p.proname AS PROCEDURE_NAME, NULL, NULL, NULL, NULL AS REMARKS, "+java.sql.DatabaseMetaData.procedureReturnsResult+" AS PROCEDURE_TYPE "+ " FROM pg_proc p "; if (procedureNamePattern != null) { sql += " WHERE p.proname LIKE '"+escapeQuotes(procedureNamePattern.toLowerCase())+"' "; } sql += " ORDER BY PROCEDURE_NAME "; } return connection.createStatement().executeQuery(sql); } | 49868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49868/718820fdcbe37650edf9773102d952e1d9fc6432/AbstractJdbc1DatabaseMetaData.java/clean/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
3570,
23382,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
12131,
461,
3234,
13,
1216,
6483,
202,
95,
202,
202,
780,
1847,
31,
202,
202,
430,
261,
4071,
18,
21516,
13042,
2081,
1444,
2932,
27,
18,
23,
6,
3719,
288,
1082,
202,
4669,
273,
315,
4803,
3206,
5355,
4629,
23552,
4830,
67,
14130,
16,
290,
18,
82,
1752,
529,
5355,
4629,
23552,
4830,
67,
55,
10390,
16,
293,
18,
683,
265,
339,
5355,
4629,
23552,
4830,
67,
1985,
16,
3206,
16,
3206,
16,
3206,
16,
302,
18,
3384,
5355,
2438,
12693,
55,
16,
13773,
6290,
18,
4669,
18,
4254,
6998,
18,
685,
8153,
1356,
1253,
9078,
5355,
4629,
23552,
4830,
67,
2399,
13773,
9506,
202,
6,
4571,
7184,
67,
7199,
18,
8365,
67,
4937,
290,
16,
7184,
67,
7199,
18,
8365,
67,
9381,
293,
13773,
9506,
202,
6,
9686,
7645,
7184,
67,
7199,
18,
8365,
67,
3384,
302,
6229,
261,
84,
18,
839,
33,
72,
18,
2603,
839,
13,
13773,
9506,
202,
6,
9686,
7645,
7184,
67,
7199,
18,
8365,
67,
1106,
276,
6229,
261,
72,
18,
1106,
839,
33,
71,
18,
839,
4116,
276,
18,
2878,
529,
2218,
8365,
67,
9381,
6134,
13773,
9506,
202,
6,
9686,
7645,
7184,
67,
7199,
18,
8365,
67,
4937,
11059,
6229,
261,
71,
18,
2878,
4937,
33,
7449,
18,
839,
4116,
11059,
18,
82,
1752,
529,
2218,
8365,
67,
7199,
6134,
13773,
9506,
202,
6,
4852,
293,
18,
683,
265,
753,
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,
3570,
23382,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
12131,
461,
3234,
13,
1216,
6483,
202,
95,
202,
202,
780,
1847,
31,
202,
202,
430,
261,
4071,
18,
21516,
13042,
2081,
1444,
2932,
27,
18,
23,
6,
3719,
288,
1082,
202,
4669,
273,
315,
4803,
3206,
5355,
4629,
23552,
4830,
67,
14130,
16,
290,
18,
82,
1752,
529,
5355,
4629,
23552,
4830,
67,
55,
10390,
16,
293,
18,
683,
265,
339,
5355,
4629,
23552,
4830,
67,
1985,
16,
3206,
16,
3206,
16,
3206,
16,
302,
18,
3384,
5355,
2438,
12693,
55,
16,
13773,
6290,
18,
4669,
18,
4254,
6998,
18,
685,
8153,
1356,
1253,
9078,
5355,
4629,
23552,
4830,
2
] |
public static Display getDisplay(MIDlet m) { Display result; if (MIDletBridge.getMIDletAccess(m).getDisplayAccess() == null) { result = new Display(); MIDletBridge.getMIDletAccess(m).setDisplayAccess(result.accessor); } else { result = MIDletBridge.getMIDletAccess(m).getDisplayAccess().getDisplay(); } tickerPaint.setCurrentDisplay(result); return result; } | 3541 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3541/4c797c68ce6f61a9d37ac7dc3622e936f213b564/Display.java/clean/microemulator/src/javax/microedition/lcdui/Display.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
9311,
13854,
12,
49,
734,
1810,
312,
13,
202,
95,
202,
202,
4236,
563,
31,
377,
202,
202,
430,
261,
49,
734,
1810,
13691,
18,
588,
49,
734,
1810,
1862,
12,
81,
2934,
588,
4236,
1862,
1435,
422,
446,
13,
288,
1082,
202,
2088,
273,
394,
9311,
5621,
1082,
202,
49,
734,
1810,
13691,
18,
588,
49,
734,
1810,
1862,
12,
81,
2934,
542,
4236,
1862,
12,
2088,
18,
3860,
280,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
760,
9311,
13854,
12,
49,
734,
1810,
312,
13,
202,
95,
202,
202,
4236,
563,
31,
377,
202,
202,
430,
261,
49,
734,
1810,
13691,
18,
588,
49,
734,
1810,
1862,
12,
81,
2934,
588,
4236,
1862,
1435,
422,
446,
13,
288,
1082,
202,
2088,
273,
394,
9311,
5621,
1082,
202,
49,
734,
1810,
13691,
18,
588,
49,
734,
1810,
1862,
12,
81,
2934,
542,
4236,
1862,
12,
2088,
18,
3860,
280,
1769,
202,
202,
97,
469,
288,
1082,
202,
2088,
273,
490,
734,
1810,
13691,
18,
588,
49,
734,
1810,
1862,
12,
81,
2934,
588,
4236,
1862,
7675,
588,
4236,
5621,
202,
202,
97,
377,
202,
202,
88,
5448,
12699,
18,
542,
3935,
4236,
12,
2
] | ||
else media_table.put (sd.getMedia (),sd); | public void addStyleSheet (StylesheetDescription sd) { // see if the title is already in the hashtable Hashtable media_table= (Hashtable) title_table.get (sd.getTitle ()); if (media_table==null) { media_table=new Hashtable (); media_table.put (sd.getMedia (), sd); title_table.put (sd.getTitle (), media_table); } else media_table.put (sd.getMedia (),sd); } | 24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/7afa788066f31cf90db79de016f817aa843a0339/StylesheetSet.java/buggy/source/org/jasig/portal/StylesheetSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
23990,
8229,
261,
24656,
3291,
8349,
13,
225,
288,
565,
368,
2621,
309,
326,
2077,
353,
1818,
316,
326,
711,
14544,
565,
18559,
3539,
67,
2121,
33,
261,
5582,
14544,
13,
2077,
67,
2121,
18,
588,
261,
6427,
18,
588,
4247,
1832,
1769,
565,
309,
261,
5829,
67,
2121,
631,
2011,
13,
565,
288,
1377,
3539,
67,
2121,
33,
2704,
18559,
261,
1769,
1377,
3539,
67,
2121,
18,
458,
261,
6427,
18,
588,
5419,
1832,
16,
8349,
1769,
1377,
2077,
67,
2121,
18,
458,
261,
6427,
18,
588,
4247,
1832,
16,
3539,
67,
2121,
1769,
565,
289,
565,
469,
1377,
3539,
67,
2121,
18,
458,
261,
6427,
18,
588,
5419,
1832,
16,
6427,
1769,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
23990,
8229,
261,
24656,
3291,
8349,
13,
225,
288,
565,
368,
2621,
309,
326,
2077,
353,
1818,
316,
326,
711,
14544,
565,
18559,
3539,
67,
2121,
33,
261,
5582,
14544,
13,
2077,
67,
2121,
18,
588,
261,
6427,
18,
588,
4247,
1832,
1769,
565,
309,
261,
5829,
67,
2121,
631,
2011,
13,
565,
288,
1377,
3539,
67,
2121,
33,
2704,
18559,
261,
1769,
1377,
3539,
67,
2121,
18,
458,
261,
6427,
18,
588,
5419,
1832,
16,
8349,
1769,
1377,
2077,
67,
2121,
18,
458,
261,
6427,
18,
588,
4247,
1832,
16,
3539,
67,
2121,
1769,
565,
289,
565,
469,
1377,
3539,
67,
2121,
18,
458,
261,
6427,
18,
588,
5419,
1832,
16,
6427,
1769,
225,
289,
2
] | |
ret.user1 = readLongReverse(in); ret.user2 = readLongReverse(in); ret.user3 = readShort(in); ret.user4 = readShort(in); | ret.user1 = Util.readLongReverse(in); ret.user2 = Util.readLongReverse(in); ret.user3 = Util.readShort(in); ret.user4 = Util.readShort(in); | private BlkStr readBLKSTR(InputStream in) throws IOException { MappyMapReader.BlkStr ret = new MappyMapReader.BlkStr(); long widthMod = (twidth*theight*2*256); ret.bg = readLongReverse(in)/widthMod; ret.fg0 = readLongReverse(in)/widthMod; ret.fg1 = readLongReverse(in)/widthMod; ret.fg2 = readLongReverse(in)/widthMod; ret.user1 = readLongReverse(in); ret.user2 = readLongReverse(in); ret.user3 = readShort(in); ret.user4 = readShort(in); ret.user5 = in.read(); ret.user6 = in.read(); ret.user7 = in.read(); ret.bits = in.read(); return ret; } | 6621 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6621/2a2629efa6f1c21cdbc32f00ce9bbe8c91090b74/MappyMapReader.java/clean/tiled/plugins/mappy/MappyMapReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
8069,
79,
1585,
855,
14618,
47,
3902,
12,
4348,
316,
13,
1216,
1860,
288,
202,
202,
863,
2074,
863,
2514,
18,
4802,
79,
1585,
325,
273,
394,
1635,
2074,
863,
2514,
18,
4802,
79,
1585,
5621,
202,
202,
5748,
1835,
1739,
273,
261,
88,
2819,
14,
451,
1274,
14,
22,
14,
5034,
1769,
202,
202,
1349,
18,
12370,
273,
26567,
12650,
12,
267,
13176,
2819,
1739,
31,
202,
202,
1349,
18,
2137,
20,
273,
26567,
12650,
12,
267,
13176,
2819,
1739,
31,
202,
202,
1349,
18,
2137,
21,
273,
26567,
12650,
12,
267,
13176,
2819,
1739,
31,
202,
202,
1349,
18,
2137,
22,
273,
26567,
12650,
12,
267,
13176,
2819,
1739,
31,
1082,
202,
1349,
18,
1355,
21,
273,
26567,
12650,
12,
267,
1769,
202,
202,
1349,
18,
1355,
22,
273,
26567,
12650,
12,
267,
1769,
202,
202,
1349,
18,
1355,
23,
273,
31617,
12,
267,
1769,
202,
202,
1349,
18,
1355,
24,
273,
31617,
12,
267,
1769,
202,
202,
1349,
18,
1355,
25,
273,
316,
18,
896,
5621,
202,
202,
1349,
18,
1355,
26,
273,
316,
18,
896,
5621,
202,
202,
1349,
18,
1355,
27,
273,
316,
18,
896,
5621,
1082,
202,
1349,
18,
6789,
273,
316,
18,
896,
5621,
9506,
202,
2463,
325,
31,
202,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
8069,
79,
1585,
855,
14618,
47,
3902,
12,
4348,
316,
13,
1216,
1860,
288,
202,
202,
863,
2074,
863,
2514,
18,
4802,
79,
1585,
325,
273,
394,
1635,
2074,
863,
2514,
18,
4802,
79,
1585,
5621,
202,
202,
5748,
1835,
1739,
273,
261,
88,
2819,
14,
451,
1274,
14,
22,
14,
5034,
1769,
202,
202,
1349,
18,
12370,
273,
26567,
12650,
12,
267,
13176,
2819,
1739,
31,
202,
202,
1349,
18,
2137,
20,
273,
26567,
12650,
12,
267,
13176,
2819,
1739,
31,
202,
202,
1349,
18,
2137,
21,
273,
26567,
12650,
12,
267,
13176,
2819,
1739,
31,
202,
202,
1349,
18,
2137,
22,
273,
26567,
12650,
12,
267,
13176,
2819,
1739,
31,
1082,
202,
1349,
18,
1355,
2
] |
assertTrue( rs.getString( "FK_NAME" ).equals( "people" ) ); | assertTrue( rs.getString( "FK_NAME" ).equals( "people_pkey" ) ); | public void testForeignKeys() { try { Connection con1 = JDBC2Tests.openDB(); JDBC2Tests.createTable( con1, "people", "id int4 primary key, name text" ); JDBC2Tests.createTable( con1, "policy", "id int4 primary key, name text" ); JDBC2Tests.createTable( con1, "users", "id int4 primary key, people_id int4, policy_id int4,"+ "CONSTRAINT people FOREIGN KEY (people_id) references people(id),"+ "constraint policy FOREIGN KEY (policy_id) references policy(id)" ); DatabaseMetaData dbmd = con.getMetaData(); assertNotNull(dbmd); ResultSet rs = dbmd.getImportedKeys(null, "", "users" ); int j = 0; for (; rs.next(); j++ ) { String pkTableName = rs.getString( "PKTABLE_NAME" ); assertTrue ( pkTableName.equals("people") || pkTableName.equals("policy") ); String pkColumnName = rs.getString( "PKCOLUMN_NAME" ); assertTrue( pkColumnName.equals("id") ); String fkTableName = rs.getString( "FKTABLE_NAME" ); assertTrue( fkTableName.equals( "users" ) ); String fkColumnName = rs.getString( "FKCOLUMN_NAME" ); assertTrue( fkColumnName.equals( "people_id" ) || fkColumnName.equals( "policy_id" ) ) ; String fkName = rs.getString( "FK_NAME" ); assertTrue( fkName.equals( "people") || fkName.equals( "policy" ) ); String pkName = rs.getString( "PK_NAME" ); } assertTrue ( j== 2 ); rs = dbmd.getExportedKeys( null, "", "people" ); // this is hacky, but it will serve the purpose assertTrue ( rs.next() ); assertTrue( rs.getString( "PKTABLE_NAME" ).equals( "people" ) ); assertTrue( rs.getString( "PKCOLUMN_NAME" ).equals( "id" ) ); assertTrue( rs.getString( "FKTABLE_NAME" ).equals( "users" ) ); assertTrue( rs.getString( "FKCOLUMN_NAME" ).equals( "people_id" ) ); assertTrue( rs.getString( "FK_NAME" ).equals( "people" ) ); JDBC2Tests.dropTable( con1, "users" ); JDBC2Tests.dropTable( con1, "people" ); JDBC2Tests.dropTable( con1, "policy" ); } catch (SQLException ex) { fail(ex.getMessage()); } } | 49504 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49504/520695701ca6ef6ad5e5a984a98f89b3ede31e3c/DatabaseMetaDataTest.java/buggy/src/interfaces/jdbc/org/postgresql/test/jdbc2/DatabaseMetaDataTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
28285,
1435,
225,
288,
202,
202,
698,
202,
202,
95,
1082,
225,
4050,
356,
21,
273,
16364,
22,
14650,
18,
3190,
2290,
5621,
1082,
225,
16364,
22,
14650,
18,
2640,
1388,
12,
356,
21,
16,
315,
28035,
3113,
315,
350,
509,
24,
3354,
498,
16,
508,
977,
6,
11272,
1082,
225,
16364,
22,
14650,
18,
2640,
1388,
12,
356,
21,
16,
315,
5086,
3113,
315,
350,
509,
24,
3354,
498,
16,
508,
977,
6,
11272,
1082,
225,
16364,
22,
14650,
18,
2640,
1388,
12,
356,
21,
16,
315,
5577,
3113,
315,
350,
509,
24,
3354,
498,
16,
16951,
67,
350,
509,
24,
16,
3329,
67,
350,
509,
24,
10837,
15,
4766,
565,
315,
15199,
16951,
478,
8607,
10452,
5311,
261,
28035,
67,
350,
13,
5351,
16951,
12,
350,
3631,
6,
15,
4766,
565,
315,
13364,
3329,
478,
8607,
10452,
5311,
261,
5086,
67,
350,
13,
5351,
3329,
12,
350,
2225,
11272,
1082,
202,
4254,
6998,
1319,
1264,
273,
356,
18,
588,
6998,
5621,
1082,
202,
11231,
5962,
12,
1966,
1264,
1769,
1377,
10842,
3597,
273,
1319,
1264,
18,
588,
24934,
2396,
12,
2011,
16,
23453,
315,
5577,
6,
11272,
1377,
509,
525,
273,
374,
31,
1377,
364,
261,
31,
3597,
18,
4285,
5621,
525,
9904,
262,
1377,
288,
540,
514,
2365,
7147,
273,
3597,
18,
588,
780,
12,
315,
8784,
7775,
67,
1985,
6,
11272,
540,
1815,
5510,
261,
225,
2365,
7147,
18,
14963,
2932,
28035,
7923,
747,
2365,
7147,
18,
14963,
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,
282,
1071,
918,
1842,
28285,
1435,
225,
288,
202,
202,
698,
202,
202,
95,
1082,
225,
4050,
356,
21,
273,
16364,
22,
14650,
18,
3190,
2290,
5621,
1082,
225,
16364,
22,
14650,
18,
2640,
1388,
12,
356,
21,
16,
315,
28035,
3113,
315,
350,
509,
24,
3354,
498,
16,
508,
977,
6,
11272,
1082,
225,
16364,
22,
14650,
18,
2640,
1388,
12,
356,
21,
16,
315,
5086,
3113,
315,
350,
509,
24,
3354,
498,
16,
508,
977,
6,
11272,
1082,
225,
16364,
22,
14650,
18,
2640,
1388,
12,
356,
21,
16,
315,
5577,
3113,
315,
350,
509,
24,
3354,
498,
16,
16951,
67,
350,
509,
24,
16,
3329,
67,
350,
509,
24,
10837,
15,
4766,
565,
315,
15199,
16951,
2
] |
{ | { | public void statement() throws RecognitionException { try { // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:336:17: ( compoundStatement | declaration SEMI | expression SEMI | modifiers classDefinition | IDENT COLON statement | 'if' LPAREN expression RPAREN statement ( 'else' statement )? | 'for' LPAREN forInit SEMI forCond SEMI forIter RPAREN statement | 'while' LPAREN expression RPAREN statement | 'do' statement 'while' LPAREN expression RPAREN SEMI | 'break' ( IDENT )? SEMI | 'continue' ( IDENT )? SEMI | 'return' ( expression )? SEMI | 'switch' LPAREN expression RPAREN LCURLY ( casesGroup )* RCURLY | tryBlock | 'throw' expression SEMI | 'synchronized' LPAREN expression RPAREN compoundStatement | SEMI ) int alt41=17; alt41 = dfa41.predict(input); switch (alt41) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:336:17: compoundStatement { following.push(FOLLOW_compoundStatement_in_statement1216); compoundStatement(); following.pop(); } break; case 2 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:343:17: declaration SEMI { following.push(FOLLOW_declaration_in_statement1232); declaration(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1234); } break; case 3 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:348:17: expression SEMI { following.push(FOLLOW_expression_in_statement1246); expression(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1248); } break; case 4 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:351:17: modifiers classDefinition { following.push(FOLLOW_modifiers_in_statement1256); modifiers(); following.pop(); following.push(FOLLOW_classDefinition_in_statement1258); classDefinition(); following.pop(); } break; case 5 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:354:17: IDENT COLON statement { match(input,IDENT,FOLLOW_IDENT_in_statement1266); match(input,COLON,FOLLOW_COLON_in_statement1268); following.push(FOLLOW_statement_in_statement1271); statement(); following.pop(); } break; case 6 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:357:17: 'if' LPAREN expression RPAREN statement ( 'else' statement )? { match(input,96,FOLLOW_96_in_statement1279); match(input,LPAREN,FOLLOW_LPAREN_in_statement1281); following.push(FOLLOW_expression_in_statement1283); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1285); following.push(FOLLOW_statement_in_statement1287); statement(); following.pop(); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:358:17: ( 'else' statement )? int alt36=2; int LA36_0 = input.LA(1); if ( LA36_0==97 ) { alt36=1; } else if ( LA36_0==IDENT||(LA36_0>=LCURLY && LA36_0<=RCURLY)||LA36_0==LPAREN||(LA36_0>=PLUS && LA36_0<=MINUS)||(LA36_0>=INC && LA36_0<=NUM_FLOAT)||(LA36_0>=68 && LA36_0<=89)||(LA36_0>=93 && LA36_0<=94)||LA36_0==96||(LA36_0>=98 && LA36_0<=108)||(LA36_0>=112 && LA36_0<=115) ) { alt36=2; } else { NoViableAltException nvae = new NoViableAltException("358:17: ( \'else\' statement )?", 36, 0, input); throw nvae; } switch (alt36) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:362:25: 'else' statement { match(input,97,FOLLOW_97_in_statement1308); following.push(FOLLOW_statement_in_statement1310); statement(); following.pop(); } break; } } break; case 7 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:366:17: 'for' LPAREN forInit SEMI forCond SEMI forIter RPAREN statement { match(input,98,FOLLOW_98_in_statement1323); match(input,LPAREN,FOLLOW_LPAREN_in_statement1328); following.push(FOLLOW_forInit_in_statement1334); forInit(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1336); following.push(FOLLOW_forCond_in_statement1345); forCond(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1347); following.push(FOLLOW_forIter_in_statement1356); forIter(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1370); following.push(FOLLOW_statement_in_statement1375); statement(); following.pop(); } break; case 8 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:375:17: 'while' LPAREN expression RPAREN statement { match(input,99,FOLLOW_99_in_statement1404); match(input,LPAREN,FOLLOW_LPAREN_in_statement1406); following.push(FOLLOW_expression_in_statement1408); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1410); following.push(FOLLOW_statement_in_statement1412); statement(); following.pop(); } break; case 9 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:378:17: 'do' statement 'while' LPAREN expression RPAREN SEMI { match(input,100,FOLLOW_100_in_statement1420); following.push(FOLLOW_statement_in_statement1422); statement(); following.pop(); match(input,99,FOLLOW_99_in_statement1424); match(input,LPAREN,FOLLOW_LPAREN_in_statement1426); following.push(FOLLOW_expression_in_statement1428); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1430); match(input,SEMI,FOLLOW_SEMI_in_statement1432); } break; case 10 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:381:17: 'break' ( IDENT )? SEMI { match(input,101,FOLLOW_101_in_statement1440); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:381:25: ( IDENT )? int alt37=2; int LA37_0 = input.LA(1); if ( LA37_0==IDENT ) { alt37=1; } else if ( LA37_0==SEMI ) { alt37=2; } else { NoViableAltException nvae = new NoViableAltException("381:25: ( IDENT )?", 37, 0, input); throw nvae; } switch (alt37) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:381:26: IDENT { match(input,IDENT,FOLLOW_IDENT_in_statement1443); } break; } match(input,SEMI,FOLLOW_SEMI_in_statement1447); } break; case 11 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:384:17: 'continue' ( IDENT )? SEMI { match(input,102,FOLLOW_102_in_statement1455); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:384:28: ( IDENT )? int alt38=2; int LA38_0 = input.LA(1); if ( LA38_0==IDENT ) { alt38=1; } else if ( LA38_0==SEMI ) { alt38=2; } else { NoViableAltException nvae = new NoViableAltException("384:28: ( IDENT )?", 38, 0, input); throw nvae; } switch (alt38) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:384:29: IDENT { match(input,IDENT,FOLLOW_IDENT_in_statement1458); } break; } match(input,SEMI,FOLLOW_SEMI_in_statement1462); } break; case 12 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:387:17: 'return' ( expression )? SEMI { match(input,103,FOLLOW_103_in_statement1470); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:387:26: ( expression )? int alt39=2; int LA39_0 = input.LA(1); if ( LA39_0==IDENT||LA39_0==LPAREN||(LA39_0>=PLUS && LA39_0<=MINUS)||(LA39_0>=INC && LA39_0<=NUM_FLOAT)||(LA39_0>=68 && LA39_0<=76)||(LA39_0>=93 && LA39_0<=94)||(LA39_0>=112 && LA39_0<=115) ) { alt39=1; } else if ( LA39_0==SEMI ) { alt39=2; } else { NoViableAltException nvae = new NoViableAltException("387:26: ( expression )?", 39, 0, input); throw nvae; } switch (alt39) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:387:27: expression { following.push(FOLLOW_expression_in_statement1473); expression(); following.pop(); } break; } match(input,SEMI,FOLLOW_SEMI_in_statement1477); } break; case 13 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:390:17: 'switch' LPAREN expression RPAREN LCURLY ( casesGroup )* RCURLY { match(input,104,FOLLOW_104_in_statement1485); match(input,LPAREN,FOLLOW_LPAREN_in_statement1487); following.push(FOLLOW_expression_in_statement1489); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1491); match(input,LCURLY,FOLLOW_LCURLY_in_statement1493); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:391:25: ( casesGroup )* loop40: do { int alt40=2; int LA40_0 = input.LA(1); if ( (LA40_0>=106 && LA40_0<=107) ) { alt40=1; } switch (alt40) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:391:27: casesGroup { following.push(FOLLOW_casesGroup_in_statement1500); casesGroup(); following.pop(); } break; default : break loop40; } } while (true); match(input,RCURLY,FOLLOW_RCURLY_in_statement1507); } break; case 14 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:395:17: tryBlock { following.push(FOLLOW_tryBlock_in_statement1515); tryBlock(); following.pop(); } break; case 15 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:398:17: 'throw' expression SEMI { match(input,105,FOLLOW_105_in_statement1523); following.push(FOLLOW_expression_in_statement1525); expression(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_statement1527); } break; case 16 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:401:17: 'synchronized' LPAREN expression RPAREN compoundStatement { match(input,86,FOLLOW_86_in_statement1535); match(input,LPAREN,FOLLOW_LPAREN_in_statement1537); following.push(FOLLOW_expression_in_statement1539); expression(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_statement1541); following.push(FOLLOW_compoundStatement_in_statement1543); compoundStatement(); following.pop(); } break; case 17 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:407:17: SEMI { match(input,SEMI,FOLLOW_SEMI_in_statement1556); } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } } | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/7e425814ce563fcc662b266adb2a4dc8e1a95d19/JavaParser.java/clean/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3021,
1435,
1216,
9539,
288,
1850,
775,
288,
6647,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
6290,
19,
3341,
19,
12215,
19,
18756,
19,
6290,
19,
4288,
19,
6290,
18,
75,
30,
3707,
26,
30,
4033,
30,
261,
11360,
3406,
571,
8266,
3174,
7492,
571,
2652,
3174,
7492,
571,
10429,
27494,
571,
19768,
27856,
3021,
571,
296,
430,
11,
511,
15111,
2652,
534,
15111,
3021,
261,
296,
12107,
11,
3021,
7851,
571,
296,
1884,
11,
511,
15111,
364,
2570,
3174,
7492,
364,
12441,
3174,
7492,
364,
2360,
534,
15111,
3021,
571,
296,
17523,
11,
511,
15111,
2652,
534,
15111,
3021,
571,
296,
2896,
11,
3021,
296,
17523,
11,
511,
15111,
2652,
534,
15111,
3174,
7492,
571,
296,
8820,
11,
261,
19768,
7851,
3174,
7492,
571,
296,
17143,
11,
261,
19768,
7851,
3174,
7492,
571,
296,
2463,
11,
261,
2652,
7851,
3174,
7492,
571,
296,
9610,
11,
511,
15111,
2652,
534,
15111,
511,
26314,
261,
6088,
1114,
8618,
534,
26314,
571,
775,
1768,
571,
296,
12849,
11,
2652,
3174,
7492,
571,
296,
22043,
11,
511,
15111,
2652,
534,
15111,
11360,
3406,
571,
3174,
7492,
262,
5411,
509,
3770,
9803,
33,
4033,
31,
5411,
3770,
9803,
273,
23074,
9803,
18,
14491,
12,
2630,
1769,
5411,
1620,
261,
2390,
9803,
13,
288,
9079,
648,
404,
294,
10792,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
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,
3021,
1435,
1216,
9539,
288,
1850,
775,
288,
6647,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
6290,
19,
3341,
19,
12215,
19,
18756,
19,
6290,
19,
4288,
19,
6290,
18,
75,
30,
3707,
26,
30,
4033,
30,
261,
11360,
3406,
571,
8266,
3174,
7492,
571,
2652,
3174,
7492,
571,
10429,
27494,
571,
19768,
27856,
3021,
571,
296,
430,
11,
511,
15111,
2652,
534,
15111,
3021,
261,
296,
12107,
11,
3021,
7851,
571,
296,
1884,
11,
511,
15111,
364,
2570,
3174,
7492,
364,
12441,
3174,
7492,
364,
2360,
534,
15111,
3021,
571,
296,
17523,
11,
511,
15111,
2652,
534,
15111,
3021,
2
] |
typeId = typeId(false); | typeId = typeId(true, false); | protected IASTExpression unaryExpression() throws EndOfFileException, BacktrackException { IToken la = LA(1); int startingOffset = la.getOffset(); switch (LT(1)) { case IToken.tSTAR: return unaryOperatorCastExpression(IASTUnaryExpression.op_star);//IASTExpression.Kind.UNARY_STAR_CASTEXPRESSION); case IToken.tAMPER: return unaryOperatorCastExpression(IASTUnaryExpression.op_amper);//IASTExpression.Kind.UNARY_AMPSND_CASTEXPRESSION); case IToken.tPLUS: return unaryOperatorCastExpression(IASTUnaryExpression.op_plus);//IASTExpression.Kind.UNARY_PLUS_CASTEXPRESSION); case IToken.tMINUS: return unaryOperatorCastExpression(IASTUnaryExpression.op_minus);//IASTExpression.Kind.UNARY_MINUS_CASTEXPRESSION); case IToken.tNOT: return unaryOperatorCastExpression(IASTUnaryExpression.op_not);//IASTExpression.Kind.UNARY_NOT_CASTEXPRESSION); case IToken.tCOMPL: return unaryOperatorCastExpression(IASTUnaryExpression.op_tilde);//IASTExpression.Kind.UNARY_TILDE_CASTEXPRESSION); case IToken.tINCR: return unaryOperatorCastExpression(IASTUnaryExpression.op_prefixIncr);//IASTExpression.Kind.UNARY_INCREMENT); case IToken.tDECR: return unaryOperatorCastExpression(IASTUnaryExpression.op_prefixDecr);//IASTExpression.Kind.UNARY_DECREMENT); case IToken.t_sizeof: consume(IToken.t_sizeof); IToken mark = LA(1); IASTTypeId typeId = null; int lastOffset = 0; IASTExpression unaryExpression = null; if (LT(1) == IToken.tLPAREN) { try { consume(IToken.tLPAREN); typeId = typeId(false); lastOffset = consume(IToken.tRPAREN).getEndOffset(); } catch (BacktrackException bt) { backup(mark); unaryExpression = unaryExpression(); lastOffset = calculateEndOffset(unaryExpression); } } else { unaryExpression = unaryExpression(); lastOffset = calculateEndOffset(unaryExpression); } if (typeId == null && unaryExpression != null) return buildUnaryExpression(IASTUnaryExpression.op_sizeof, unaryExpression, startingOffset, lastOffset); return buildTypeIdExpression(IASTTypeIdExpression.op_sizeof, typeId, startingOffset, lastOffset); case IToken.t_new: return newExpression(); case IToken.t_delete: return deleteExpression(); case IToken.tCOLONCOLON: switch (LT(2)) { case IToken.t_new: return newExpression(); case IToken.t_delete: return deleteExpression(); default: return postfixExpression(); } default: if (LT(1) == IGCCToken.t_typeof && supportTypeOfUnaries) { IASTExpression unary = unaryTypeofExpression(); if (unary != null) return unary; } if (LT(1) == IGCCToken.t___alignof__ && supportAlignOfUnaries) { IASTExpression align = unaryAlignofExpression(); if (align != null) return align; } return postfixExpression(); } } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/66c2e911bf7827e6a48d6cc7b5a30d02a947ac62/GNUCPPSourceParser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
467,
9053,
2300,
19017,
2300,
1435,
1216,
4403,
951,
812,
503,
16,
540,
4297,
4101,
503,
288,
1377,
467,
1345,
7125,
273,
2928,
12,
21,
1769,
1377,
509,
5023,
2335,
273,
7125,
18,
588,
2335,
5621,
1377,
1620,
261,
12050,
12,
21,
3719,
288,
540,
648,
467,
1345,
18,
88,
20943,
30,
5411,
327,
19017,
5592,
9735,
2300,
12,
45,
9053,
15972,
2300,
18,
556,
67,
10983,
1769,
759,
45,
9053,
2300,
18,
5677,
18,
2124,
6043,
67,
20943,
67,
21871,
19111,
1769,
540,
648,
467,
1345,
18,
88,
2192,
3194,
30,
5411,
327,
19017,
5592,
9735,
2300,
12,
45,
9053,
15972,
2300,
18,
556,
67,
301,
457,
1769,
759,
45,
9053,
2300,
18,
5677,
18,
2124,
6043,
67,
2192,
5857,
2908,
67,
21871,
19111,
1769,
540,
648,
467,
1345,
18,
88,
6253,
3378,
30,
5411,
327,
19017,
5592,
9735,
2300,
12,
45,
9053,
15972,
2300,
18,
556,
67,
10103,
1769,
759,
45,
9053,
2300,
18,
5677,
18,
2124,
6043,
67,
6253,
3378,
67,
21871,
19111,
1769,
540,
648,
467,
1345,
18,
88,
6236,
3378,
30,
5411,
327,
19017,
5592,
9735,
2300,
12,
45,
9053,
15972,
2300,
18,
556,
67,
19601,
1769,
759,
45,
9053,
2300,
18,
5677,
18,
2124,
6043,
67,
6236,
3378,
67,
21871,
19111,
1769,
540,
648,
467,
1345,
18,
88,
4400,
30,
5411,
327,
19017,
5592,
9735,
2300,
12,
45,
9053,
15972,
2300,
18,
556,
67,
902,
1769,
759,
45,
9053,
2300,
18,
5677,
18,
2124,
6043,
67,
4400,
67,
21871,
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,
4750,
467,
9053,
2300,
19017,
2300,
1435,
1216,
4403,
951,
812,
503,
16,
540,
4297,
4101,
503,
288,
1377,
467,
1345,
7125,
273,
2928,
12,
21,
1769,
1377,
509,
5023,
2335,
273,
7125,
18,
588,
2335,
5621,
1377,
1620,
261,
12050,
12,
21,
3719,
288,
540,
648,
467,
1345,
18,
88,
20943,
30,
5411,
327,
19017,
5592,
9735,
2300,
12,
45,
9053,
15972,
2300,
18,
556,
67,
10983,
1769,
759,
45,
9053,
2300,
18,
5677,
18,
2124,
6043,
67,
20943,
67,
21871,
19111,
1769,
540,
648,
467,
1345,
18,
88,
2192,
3194,
30,
5411,
327,
19017,
5592,
9735,
2300,
12,
45,
9053,
15972,
2300,
18,
556,
67,
301,
457,
1769,
759,
45,
9053,
2300,
18,
5677,
18,
2124,
2
] |
switch ( eDerivedStructuralFeatureID( eFeature ) ) | switch ( featureID ) | public Object eGet( EStructuralFeature eFeature, boolean resolve ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case DataPackage.DATA_SET__VALUES : return getValues( ); } return eDynamicGet( eFeature, resolve ); } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/036e8c78765730b146e5854b9d6c397a296fed86/DataSetImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/impl/DataSetImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
15952,
12,
512,
14372,
4595,
425,
4595,
16,
1250,
2245,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
1910,
2261,
18,
4883,
67,
4043,
972,
16386,
294,
9506,
202,
2463,
13500,
12,
11272,
202,
202,
97,
202,
202,
2463,
425,
9791,
967,
12,
425,
4595,
16,
2245,
11272,
202,
97,
2,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1033,
15952,
12,
512,
14372,
4595,
425,
4595,
16,
1250,
2245,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
1910,
2261,
18,
4883,
67,
4043,
972,
16386,
294,
9506,
202,
2463,
13500,
12,
11272,
202,
202,
97,
202,
202,
2463,
425,
9791,
967,
12,
425,
4595,
16,
2245,
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
] |
boolean synPredMatched268 = false; | boolean synPredMatched1412 = false; | public final void mMODULE_NAME(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = MODULE_NAME; int _saveIndex; boolean synPredMatched262 = false; if (((LA(1)=='A') && (LA(2)=='R') && (LA(3)=='R'))) { int _m262 = mark(); synPredMatched262 = true; inputState.guessing++; try { { match("ARRAY"); } } catch (RecognitionException pe) { synPredMatched262 = false; } rewind(_m262); inputState.guessing--; } if ( synPredMatched262 ) { match("ARRAY"); if ( inputState.guessing==0 ) { _ttype = ARRAY_REF; } } else { boolean synPredMatched264 = false; if (((LA(1)=='S') && (LA(2)=='C') && (LA(3)=='A'))) { int _m264 = mark(); synPredMatched264 = true; inputState.guessing++; try { { match("SCALAR"); } } catch (RecognitionException pe) { synPredMatched264 = false; } rewind(_m264); inputState.guessing--; } if ( synPredMatched264 ) { match("SCALAR"); if ( inputState.guessing==0 ) { _ttype = SCALAR_REF; } } else { boolean synPredMatched266 = false; if (((LA(1)=='H') && (LA(2)=='A') && (LA(3)=='S'))) { int _m266 = mark(); synPredMatched266 = true; inputState.guessing++; try { { match("HASH"); } } catch (RecognitionException pe) { synPredMatched266 = false; } rewind(_m266); inputState.guessing--; } if ( synPredMatched266 ) { match("HASH"); if ( inputState.guessing==0 ) { _ttype = HASH_REF; } } else { boolean synPredMatched268 = false; if (((LA(1)=='C') && (LA(2)=='O') && (LA(3)=='D'))) { int _m268 = mark(); synPredMatched268 = true; inputState.guessing++; try { { match("CODE"); } } catch (RecognitionException pe) { synPredMatched268 = false; } rewind(_m268); inputState.guessing--; } if ( synPredMatched268 ) { match("CODE"); if ( inputState.guessing==0 ) { _ttype = CODE_REF; } } else { boolean synPredMatched270 = false; if (((LA(1)=='R') && (LA(2)=='E') && (LA(3)=='F'))) { int _m270 = mark(); synPredMatched270 = true; inputState.guessing++; try { { match("REF"); } } catch (RecognitionException pe) { synPredMatched270 = false; } rewind(_m270); inputState.guessing--; } if ( synPredMatched270 ) { match("REF"); if ( inputState.guessing==0 ) { _ttype = REF; } } else { boolean synPredMatched272 = false; if (((LA(1)=='F') && (LA(2)=='i') && (LA(3)=='l'))) { int _m272 = mark(); synPredMatched272 = true; inputState.guessing++; try { { match("FileHandle"); } } catch (RecognitionException pe) { synPredMatched272 = false; } rewind(_m272); inputState.guessing--; } if ( synPredMatched272 ) { match("FileHandle"); if ( inputState.guessing==0 ) { _ttype = FILE_HANDLE; } } else { boolean synPredMatched274 = false; if (((LA(1)=='f') && (LA(2)=='i') && (LA(3)=='l'))) { int _m274 = mark(); synPredMatched274 = true; inputState.guessing++; try { { match("fileno("); } } catch (RecognitionException pe) { synPredMatched274 = false; } rewind(_m274); inputState.guessing--; } if ( synPredMatched274 ) { { match("fileno("); } { int _cnt277=0; _loop277: do { if (((LA(1) >= '0' && LA(1) <= '9'))) { matchRange('0','9'); } else { if ( _cnt277>=1 ) { break _loop277; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} } _cnt277++; } while (true); } match(')'); if ( inputState.guessing==0 ) { _ttype = FILE_NO; } } else if ((_tokenSet_0.member(LA(1))) && (true) && (true)) { mPURE_NAME(false); if ( inputState.guessing==0 ) { _ttype = PURE_NAME; } } else { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } }}}}}} if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; } | 48756 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48756/65f2e2fb853a3460fe003d22b8dc91c2cf3a1472/PerlBaseLexer.java/buggy/org.epic.debug/src/org/epic/debug/varparser/PerlBaseLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
312,
12194,
67,
1985,
12,
6494,
389,
2640,
1345,
13,
1216,
9539,
16,
3703,
1228,
503,
16,
3155,
1228,
503,
288,
202,
202,
474,
389,
88,
723,
31,
3155,
389,
2316,
33,
2011,
31,
509,
389,
10086,
33,
955,
18,
2469,
5621,
202,
202,
67,
88,
723,
273,
14057,
67,
1985,
31,
202,
202,
474,
389,
5688,
1016,
31,
9506,
202,
6494,
6194,
10391,
15400,
5558,
22,
273,
629,
31,
202,
202,
430,
261,
12443,
2534,
12,
21,
13,
18920,
37,
6134,
597,
261,
2534,
12,
22,
13,
18920,
54,
6134,
597,
261,
2534,
12,
23,
13,
18920,
54,
11,
20349,
288,
1082,
202,
474,
389,
81,
5558,
22,
273,
2267,
5621,
1082,
202,
11982,
10391,
15400,
5558,
22,
273,
638,
31,
1082,
202,
2630,
1119,
18,
20885,
310,
9904,
31,
1082,
202,
698,
288,
9506,
202,
95,
9506,
202,
1916,
2932,
8552,
8863,
9506,
202,
97,
1082,
202,
97,
1082,
202,
14683,
261,
5650,
7909,
503,
2804,
13,
288,
9506,
202,
11982,
10391,
15400,
5558,
22,
273,
629,
31,
1082,
202,
97,
1082,
202,
266,
10094,
24899,
81,
5558,
22,
1769,
1082,
202,
2630,
1119,
18,
20885,
310,
413,
31,
202,
202,
97,
202,
202,
430,
261,
6194,
10391,
15400,
5558,
22,
262,
288,
1082,
202,
1916,
2932,
8552,
8863,
1082,
202,
430,
261,
810,
1119,
18,
20885,
310,
631,
20,
262,
288,
9506,
202,
67,
88,
723,
273,
14884,
67,
10771,
31,
1082,
202,
97,
202,
202,
97,
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,
482,
727,
918,
312,
12194,
67,
1985,
12,
6494,
389,
2640,
1345,
13,
1216,
9539,
16,
3703,
1228,
503,
16,
3155,
1228,
503,
288,
202,
202,
474,
389,
88,
723,
31,
3155,
389,
2316,
33,
2011,
31,
509,
389,
10086,
33,
955,
18,
2469,
5621,
202,
202,
67,
88,
723,
273,
14057,
67,
1985,
31,
202,
202,
474,
389,
5688,
1016,
31,
9506,
202,
6494,
6194,
10391,
15400,
5558,
22,
273,
629,
31,
202,
202,
430,
261,
12443,
2534,
12,
21,
13,
18920,
37,
6134,
597,
261,
2534,
12,
22,
13,
18920,
54,
6134,
597,
261,
2534,
12,
23,
13,
18920,
54,
11,
20349,
288,
1082,
202,
474,
389,
81,
5558,
22,
273,
2267,
5621,
1082,
202,
2
] |
new Label( group, SWT.NONE ).setText( Messages.getString( "FormatStringPreferencePage.previewLabel.label" ) ); | new Label( group, SWT.NONE ).setText( LABEL_PREVIEW_LABEL ); | private Composite getCustomPage( Composite parent ) { if ( customPage == null ) { customPage = new Composite( parent, SWT.NULL ); customPage.setLayout( new GridLayout( 1, false ) ); Group group = new Group( customPage, SWT.NONE ); group.setText( Messages.getString( "FormatStringPreferencePage.customSetting.groupLabel" ) ); //$NON-NLS-1$ GridData data = new GridData( GridData.FILL_HORIZONTAL ); group.setLayoutData( data ); group.setLayout( new GridLayout( 2, false ) ); Label label = new Label( group, SWT.NONE ); label.setText( Messages.getString( "FormatStringPreferencePage.exampleFormats.label" ) ); //$NON-NLS-1$ data = new GridData( ); data.horizontalSpan = 2; label.setLayoutData( data ); label = new Label( group, SWT.NONE ); label.setText( Messages.getString( "FormatStringPreferencePage.exampleFormats.label2" ) ); //$NON-NLS-1$ data = new GridData( ); data.horizontalSpan = 2; label.setLayoutData( data ); createTable( group ); Composite container = new Composite( customPage, SWT.NONE ); data = new GridData( GridData.FILL_HORIZONTAL ); container.setLayoutData( data ); container.setLayout( new GridLayout( 2, false ) ); new Label( container, SWT.NULL ).setText( Messages.getString( "FormatStringPreferencePage.formatCode.label" ) ); //$NON-NLS-1$ formatCode = new Text( container, SWT.SINGLE | SWT.BORDER ); formatCode.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); formatCode.addModifyListener( new ModifyListener( ) { public void modifyText( ModifyEvent e ) { if ( hasLoaded ) { updatePreview( ); } } } ); group = new Group( customPage, SWT.NONE ); group.setText( Messages.getString( "FormatStringPreferencePage.customPreview.groupLabel" ) ); //$NON-NLS-1$ data = new GridData( GridData.FILL_HORIZONTAL ); group.setLayoutData( data ); group.setLayout( new GridLayout( 2, false ) ); new Label( group, SWT.NONE ).setText( Messages.getString( "FormatStringPreferencePage.previewText.label" ) ); //$NON-NLS-1$ previewTextBox = new Text( group, SWT.SINGLE | SWT.BORDER ); previewTextBox.setText( DEFAULT_PREVIEW_TEXT ); previewTextBox.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); previewTextBox.addModifyListener( new ModifyListener( ) { public void modifyText( ModifyEvent e ) { if ( hasLoaded ) { setPreviewText( previewTextBox.getText( ) ); } } } ); new Label( group, SWT.NONE ).setText( Messages.getString( "FormatStringPreferencePage.previewLabel.label" ) ); //$NON-NLS-1$ cPreviewLabel = new Label( group, SWT.NONE ); cPreviewLabel.setText( Messages.getString( "FormatStringPreferencePage.previewLabel.text" ) ); //$NON-NLS-1$ cPreviewLabel.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); Composite helpBar = new Composite( customPage, SWT.NONE ); data = new GridData( GridData.FILL_HORIZONTAL ); helpBar.setLayoutData( data ); helpBar.setLayout( new GridLayout( 2, false ) ); new Label( helpBar, SWT.NONE ).setText( Messages.getString( "FormatStringPreferencePage.helpLabel.label" ) ); //$NON-NLS-1$ Button help = new Button( helpBar, SWT.PUSH ); help.setText( Messages.getString( "FormatStringPreferencePage.helpButton.label" ) ); //$NON-NLS-1$ help.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_END | GridData.GRAB_HORIZONTAL ) ); } return customPage; } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/ed52f1732ec1c1eef0fd79e44d2e45f78973153a/FormatStringPage.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/FormatStringPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
14728,
12736,
1964,
12,
14728,
982,
262,
202,
95,
202,
202,
430,
261,
1679,
1964,
422,
446,
262,
202,
202,
95,
1082,
202,
3662,
1964,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
8560,
11272,
1082,
202,
3662,
1964,
18,
542,
3744,
12,
394,
7145,
3744,
12,
404,
16,
629,
262,
11272,
1082,
202,
1114,
1041,
273,
394,
3756,
12,
1679,
1964,
16,
348,
8588,
18,
9826,
11272,
1082,
202,
1655,
18,
542,
1528,
12,
4838,
18,
588,
780,
12,
315,
1630,
780,
9624,
1964,
18,
3662,
5568,
18,
1655,
2224,
6,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
6313,
751,
501,
273,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
44,
20344,
11272,
1082,
202,
1655,
18,
542,
3744,
751,
12,
501,
11272,
1082,
202,
1655,
18,
542,
3744,
12,
394,
7145,
3744,
12,
576,
16,
629,
262,
11272,
1082,
202,
2224,
1433,
273,
394,
5287,
12,
1041,
16,
348,
8588,
18,
9826,
11272,
1082,
202,
1925,
18,
542,
1528,
12,
4838,
18,
588,
780,
12,
315,
1630,
780,
9624,
1964,
18,
8236,
8976,
18,
1925,
6,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
892,
273,
394,
7145,
751,
12,
11272,
1082,
202,
892,
18,
18396,
6952,
273,
576,
31,
1082,
202,
1925,
18,
542,
3744,
751,
12,
501,
11272,
1082,
202,
1925,
273,
394,
5287,
12,
1041,
16,
348,
8588,
18,
9826,
11272,
1082,
202,
1925,
18,
542,
1528,
12,
4838,
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,
225,
202,
1152,
14728,
12736,
1964,
12,
14728,
982,
262,
202,
95,
202,
202,
430,
261,
1679,
1964,
422,
446,
262,
202,
202,
95,
1082,
202,
3662,
1964,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
8560,
11272,
1082,
202,
3662,
1964,
18,
542,
3744,
12,
394,
7145,
3744,
12,
404,
16,
629,
262,
11272,
1082,
202,
1114,
1041,
273,
394,
3756,
12,
1679,
1964,
16,
348,
8588,
18,
9826,
11272,
1082,
202,
1655,
18,
542,
1528,
12,
4838,
18,
588,
780,
12,
315,
1630,
780,
9624,
1964,
18,
3662,
5568,
18,
1655,
2224,
6,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
6313,
751,
501,
273,
394,
7145,
751,
12,
7145,
751,
18,
29818,
2
] |
Object buf = impl.getOption(SocketOptions.SO_RCVBUF); | Object buf = getImpl().getOption(SocketOptions.SO_RCVBUF); | public int getReceiveBufferSize() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_RCVBUF); if (buf instanceof Integer) return (((Integer)buf).intValue()); else throw new SocketException("Internal Error: Unexpected type"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/426834aeca94b6762986d5f7b6cd54b12b69b2b8/Socket.java/buggy/core/src/classpath/java/java/net/Socket.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
336,
11323,
15384,
1435,
1216,
8758,
503,
288,
202,
202,
430,
261,
11299,
422,
446,
13,
1082,
202,
12849,
394,
8758,
503,
2932,
1248,
5840,
8863,
202,
202,
921,
1681,
273,
9380,
18,
588,
1895,
12,
4534,
1320,
18,
3584,
67,
11529,
58,
3000,
42,
1769,
202,
202,
430,
261,
4385,
1276,
2144,
13,
1082,
202,
2463,
261,
12443,
4522,
13,
4385,
2934,
474,
620,
10663,
202,
202,
12107,
1082,
202,
12849,
394,
8758,
503,
2932,
3061,
1068,
30,
9649,
618,
8863,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
336,
11323,
15384,
1435,
1216,
8758,
503,
288,
202,
202,
430,
261,
11299,
422,
446,
13,
1082,
202,
12849,
394,
8758,
503,
2932,
1248,
5840,
8863,
202,
202,
921,
1681,
273,
9380,
18,
588,
1895,
12,
4534,
1320,
18,
3584,
67,
11529,
58,
3000,
42,
1769,
202,
202,
430,
261,
4385,
1276,
2144,
13,
1082,
202,
2463,
261,
12443,
4522,
13,
4385,
2934,
474,
620,
10663,
202,
202,
12107,
1082,
202,
12849,
394,
8758,
503,
2932,
3061,
1068,
30,
9649,
618,
8863,
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
] |
Driver.debug("supportsPositionedUpdate false"); | if (Driver.logDebug) Driver.debug("supportsPositionedUpdate false"); | public boolean supportsPositionedUpdate() throws SQLException { Driver.debug("supportsPositionedUpdate false"); return false; // For now... } | 47293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47293/b465f5307f9f5506beb1edbcc0fb56eed7c29c12/DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
6146,
2555,
329,
1891,
1435,
1216,
6483,
202,
95,
202,
202,
4668,
18,
4148,
2932,
28064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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1250,
6146,
2555,
329,
1891,
1435,
1216,
6483,
202,
95,
202,
202,
4668,
18,
4148,
2932,
28064,
2555,
329,
1891,
629,
8863,
202,
202,
2463,
629,
31,
1082,
202,
759,
2457,
2037,
2777,
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
] |
secondEMA = new double[firstEMANbElement.value]; retCode = INT_EMA(0, firstEMANbElement.value - 1, firstEMA, optInTimePeriod, k, secondEMABegIdx, secondEMANbElement, secondEMA); if ((retCode != TA_RetCode.TA_SUCCESS) || (secondEMANbElement.value == 0)) { | if( startIdx < 0 ) return TA_RetCode. TA_OUT_OF_RANGE_START_INDEX; if( (endIdx < 0) || (endIdx < startIdx)) return TA_RetCode. TA_OUT_OF_RANGE_END_INDEX; if( (int)optInTimePeriod == ( Integer.MIN_VALUE ) ) optInTimePeriod = 30; else if( ((int)optInTimePeriod < 2) || ((int)optInTimePeriod > 100000) ) return TA_RetCode. TA_BAD_PARAM; outNbElement.value = 0 ; outBegIdx.value = 0 ; | public TA_RetCode DEMA(int startIdx, int endIdx, double inReal[], int optInTimePeriod, MInteger outBegIdx, MInteger outNbElement, double outReal[]) { double[] firstEMA; double[] secondEMA; double k; MInteger firstEMABegIdx = new MInteger(); MInteger firstEMANbElement = new MInteger(); MInteger secondEMABegIdx = new MInteger(); MInteger secondEMANbElement = new MInteger(); int tempInt, outIdx, firstEMAIdx, lookbackTotal, lookbackEMA; TA_RetCode retCode; if (startIdx < 0) return TA_RetCode.TA_OUT_OF_RANGE_START_INDEX; if ((endIdx < 0) || (endIdx < startIdx)) return TA_RetCode.TA_OUT_OF_RANGE_END_INDEX; if ((int) optInTimePeriod == (Integer.MIN_VALUE )) optInTimePeriod = 30; else if (((int) optInTimePeriod < 2) || ((int) optInTimePeriod > 100000)) return TA_RetCode.TA_BAD_PARAM; outNbElement.value = 0; outBegIdx.value = 0; lookbackEMA = EMA_Lookback(optInTimePeriod); lookbackTotal = lookbackEMA * 2; if (startIdx < lookbackTotal) startIdx = lookbackTotal; if (startIdx > endIdx) return TA_RetCode.TA_SUCCESS; if (inReal == outReal) firstEMA = outReal; else { tempInt = lookbackTotal + (endIdx - startIdx) + 1; firstEMA = new double[tempInt]; } k = ((double) 2.0 / ((double) (optInTimePeriod + 1))); retCode = INT_EMA(startIdx - lookbackEMA, endIdx, inReal, optInTimePeriod, k, firstEMABegIdx, firstEMANbElement, firstEMA); if ((retCode != TA_RetCode.TA_SUCCESS) || (firstEMANbElement.value == 0)) { ; return retCode; } secondEMA = new double[firstEMANbElement.value]; retCode = INT_EMA(0, firstEMANbElement.value - 1, firstEMA, optInTimePeriod, k, secondEMABegIdx, secondEMANbElement, secondEMA); if ((retCode != TA_RetCode.TA_SUCCESS) || (secondEMANbElement.value == 0)) { ; ; return retCode; } firstEMAIdx = secondEMABegIdx.value; outIdx = 0; while (outIdx < secondEMANbElement.value) { outReal[outIdx] = (2.0 * firstEMA[firstEMAIdx++]) - secondEMA[outIdx]; outIdx++; } ; ; outBegIdx.value = firstEMABegIdx.value + secondEMABegIdx.value; outNbElement.value = outIdx; return TA_RetCode.TA_SUCCESS; } | 51465 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51465/cf65b93eedaca922be2993fe424b023f73c7562d/Core.java/buggy/trunk/ta-lib/java/src/TA/Lib/Core.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
399,
37,
67,
7055,
1085,
2030,
5535,
12,
474,
27108,
16,
509,
679,
4223,
16,
1645,
316,
6955,
63,
6487,
1082,
202,
474,
2153,
382,
26540,
16,
490,
4522,
596,
24059,
4223,
16,
490,
4522,
596,
22816,
1046,
16,
1082,
202,
9056,
29205,
63,
5717,
288,
202,
202,
9056,
8526,
1122,
3375,
37,
31,
202,
202,
9056,
8526,
2205,
3375,
37,
31,
202,
202,
9056,
417,
31,
202,
202,
49,
4522,
1122,
3375,
2090,
1332,
4223,
273,
394,
490,
4522,
5621,
202,
202,
49,
4522,
1122,
3375,
1258,
70,
1046,
273,
394,
490,
4522,
5621,
202,
202,
49,
4522,
2205,
3375,
2090,
1332,
4223,
273,
394,
490,
4522,
5621,
202,
202,
49,
4522,
2205,
3375,
1258,
70,
1046,
273,
394,
490,
4522,
5621,
202,
202,
474,
1906,
1702,
16,
596,
4223,
16,
1122,
3375,
37,
4223,
16,
2324,
823,
5269,
16,
2324,
823,
3375,
37,
31,
202,
202,
9833,
67,
7055,
1085,
325,
1085,
31,
202,
202,
430,
261,
1937,
4223,
411,
374,
13,
1082,
202,
2463,
399,
37,
67,
7055,
1085,
18,
9833,
67,
5069,
67,
3932,
67,
15928,
67,
7570,
67,
9199,
31,
202,
202,
430,
14015,
409,
4223,
411,
374,
13,
747,
261,
409,
4223,
411,
27108,
3719,
1082,
202,
2463,
399,
37,
67,
7055,
1085,
18,
9833,
67,
5069,
67,
3932,
67,
15928,
67,
4415,
67,
9199,
31,
202,
202,
430,
14015,
474,
13,
2153,
382,
26540,
422,
261,
4522,
18,
6236,
67,
4051,
8623,
1082,
202,
3838,
382,
26540,
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,
399,
37,
67,
7055,
1085,
2030,
5535,
12,
474,
27108,
16,
509,
679,
4223,
16,
1645,
316,
6955,
63,
6487,
1082,
202,
474,
2153,
382,
26540,
16,
490,
4522,
596,
24059,
4223,
16,
490,
4522,
596,
22816,
1046,
16,
1082,
202,
9056,
29205,
63,
5717,
288,
202,
202,
9056,
8526,
1122,
3375,
37,
31,
202,
202,
9056,
8526,
2205,
3375,
37,
31,
202,
202,
9056,
417,
31,
202,
202,
49,
4522,
1122,
3375,
2090,
1332,
4223,
273,
394,
490,
4522,
5621,
202,
202,
49,
4522,
1122,
3375,
1258,
70,
1046,
273,
394,
490,
4522,
5621,
202,
202,
49,
4522,
2205,
3375,
2090,
1332,
4223,
273,
394,
490,
4522,
5621,
202,
202,
49,
4522,
2205,
3375,
1258,
2
] |
for (Node child = firstChild; child != null; child = child.getNextSibling()) { ((NodeImpl) child).setOwnerDocument(doc); | for (ChildNode child = firstChild; child != null; child = child.nextSibling) { child.setOwnerDocument(doc); | void setOwnerDocument(DocumentImpl doc) { if (needsSyncChildren()) { synchronizeChildren(); } for (Node child = firstChild; child != null; child = child.getNextSibling()) { ((NodeImpl) child).setOwnerDocument(doc); } ownerDocument = doc; } | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/6e6a701cb6df587efecaea26f28b7fcf71e50f5c/ParentNode.java/buggy/src/org/apache/xerces/dom/ParentNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
31309,
2519,
12,
2519,
2828,
997,
13,
288,
3639,
309,
261,
20600,
4047,
4212,
10756,
288,
5411,
16978,
4212,
5621,
3639,
289,
202,
1884,
261,
907,
1151,
273,
15070,
31,
202,
377,
1151,
480,
446,
31,
1151,
273,
1151,
18,
588,
2134,
10291,
10756,
288,
202,
565,
14015,
907,
2828,
13,
1151,
2934,
542,
5541,
2519,
12,
2434,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
31309,
2519,
12,
2519,
2828,
997,
13,
288,
3639,
309,
261,
20600,
4047,
4212,
10756,
288,
5411,
16978,
4212,
5621,
3639,
289,
202,
1884,
261,
907,
1151,
273,
15070,
31,
202,
377,
1151,
480,
446,
31,
1151,
273,
1151,
18,
588,
2134,
10291,
10756,
288,
202,
565,
14015,
907,
2828,
13,
1151,
2934,
542,
5541,
2519,
12,
2434,
1769,
202,
97,
3639,
19701,
273,
997,
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
] |
for (Node node : target.nodes()) { | for (Node node : target) { | private PropertyList resolveReferences(PropertyList target, int depth) throws CdlException { if (depth > Constants.RESOLUTION_DEPTH_LIMIT) { throw new CdlResolutionException(ReferencePath.ERROR_RECURSIVE_RESOLUTION + target.getDescription()); } ResolveEnum state = target.getResolveState(); if (state == ResolveEnum.ResolvedComplete || state == ResolveEnum.ResolvedLazyLinksRemaining) { return target; } boolean shouldResolve = target.isValueReference(); PropertyList result = target; if (shouldResolve) { //its a reference, process it result = resolveReferenceNode(target); } else { if (state == ResolveEnum.ResolvedIncomplete) { //there is something under here that needs resolving //resolve child references for (Node node : target.nodes()) { if (node instanceof PropertyList) { //cast it PropertyList template = (PropertyList) node; PropertyList newTemplate = resolveReferences(template, 0); if (template != newTemplate) { target.replaceChild(template, newTemplate); //then resolve it again, to get the children picked up } } } } } return result; } | 4987 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4987/9dd7cac3fcf8b6a445f0f8c0368db293acfc3fef/EarlyReferenceProcessor.java/buggy/core/extras/cdl/src/org/smartfrog/sfcore/languages/cdl/references/EarlyReferenceProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
4276,
682,
2245,
8221,
12,
1396,
682,
1018,
16,
509,
3598,
13,
1216,
385,
5761,
503,
288,
3639,
309,
261,
5979,
405,
5245,
18,
17978,
13269,
67,
27479,
67,
8283,
13,
288,
5411,
604,
394,
385,
5761,
11098,
503,
12,
2404,
743,
18,
3589,
67,
862,
7509,
24870,
67,
17978,
13269,
10792,
397,
1018,
18,
588,
3291,
10663,
3639,
289,
3639,
9910,
3572,
919,
273,
1018,
18,
588,
8460,
1119,
5621,
3639,
309,
261,
2019,
422,
9910,
3572,
18,
12793,
6322,
747,
919,
422,
9910,
3572,
18,
12793,
14443,
7100,
11429,
13,
288,
5411,
327,
1018,
31,
3639,
289,
3639,
1250,
1410,
8460,
273,
1018,
18,
291,
620,
2404,
5621,
3639,
4276,
682,
563,
273,
1018,
31,
3639,
309,
261,
13139,
8460,
13,
288,
5411,
368,
1282,
279,
2114,
16,
1207,
518,
5411,
563,
273,
2245,
2404,
907,
12,
3299,
1769,
3639,
289,
469,
288,
5411,
309,
261,
2019,
422,
9910,
3572,
18,
12793,
27531,
13,
288,
7734,
368,
18664,
353,
5943,
3613,
2674,
716,
4260,
17188,
7734,
368,
10828,
1151,
5351,
7734,
364,
261,
907,
756,
294,
1018,
13,
288,
10792,
309,
261,
2159,
1276,
4276,
682,
13,
288,
13491,
368,
4155,
518,
13491,
4276,
682,
1542,
273,
261,
1396,
682,
13,
756,
31,
13491,
4276,
682,
394,
2283,
273,
2245,
8221,
12,
3202,
16,
374,
1769,
13491,
309,
261,
3202,
480,
394,
2283,
13,
288,
18701,
1018,
18,
2079,
1763,
12,
3202,
16,
394,
2283,
1769,
18701,
368,
15991,
2245,
518,
3382,
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,
377,
3238,
4276,
682,
2245,
8221,
12,
1396,
682,
1018,
16,
509,
3598,
13,
1216,
385,
5761,
503,
288,
3639,
309,
261,
5979,
405,
5245,
18,
17978,
13269,
67,
27479,
67,
8283,
13,
288,
5411,
604,
394,
385,
5761,
11098,
503,
12,
2404,
743,
18,
3589,
67,
862,
7509,
24870,
67,
17978,
13269,
10792,
397,
1018,
18,
588,
3291,
10663,
3639,
289,
3639,
9910,
3572,
919,
273,
1018,
18,
588,
8460,
1119,
5621,
3639,
309,
261,
2019,
422,
9910,
3572,
18,
12793,
6322,
747,
919,
422,
9910,
3572,
18,
12793,
14443,
7100,
11429,
13,
288,
5411,
327,
1018,
31,
3639,
289,
3639,
1250,
1410,
8460,
273,
1018,
18,
291,
620,
2404,
5621,
3639,
4276,
682,
563,
273,
1018,
31,
2
] |
String projectName = model.getStringProperty(IJavaUtilityJarImportDataModelProperties.PROJECT_NAME); | String projectName = model.getStringProperty(IJ2EEComponentImportDataModelProperties.PROJECT_NAME); | public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException { IDataModel utilityCreationDataModel = DataModelFactory.createDataModel(new UtilityProjectCreationDataModelProvider()); String projectName = model.getStringProperty(IJavaUtilityJarImportDataModelProperties.PROJECT_NAME); utilityCreationDataModel.setStringProperty(IFacetProjectCreationDataModelProperties.FACET_PROJECT_NAME, projectName); utilityCreationDataModel.setProperty(IFacetProjectCreationDataModelProperties.FACET_RUNTIME, RuntimeManager.getRuntime(model.getStringProperty(IJavaComponentCreationDataModelProperties.RUNTIME_TARGET_ID))); FacetDataModelMap map = (FacetDataModelMap)utilityCreationDataModel.getProperty(IFacetProjectCreationDataModelProperties.FACET_DM_MAP); map.getFacetDataModel(J2EEProjectUtilities.UTILITY).setBooleanProperty(IJ2EEModuleFacetInstallDataModelProperties.ADD_TO_EAR, false); utilityCreationDataModel.getDefaultOperation().execute(monitor, info); IProject javaProject = ProjectUtilities.getProject(projectName); IVirtualComponent component = ComponentCore.createComponent(javaProject); Archive jarFile = (Archive) model.getProperty(IJavaUtilityJarImportDataModelProperties.FILE); J2EEJavaComponentSaveStrategyImpl strat = new J2EEJavaComponentSaveStrategyImpl(component); strat.setProgressMonitor(new SubProgressMonitor(monitor, 1)); try { jarFile.save(strat); // To fix the defect that throws dup classpath exception. // Because JemProjectUtilities.appendJavaClassPath() does not check dups, we have to // check it here. // check if JRE_CONTAINER is in the classpath. if not add it IJavaProject javaProj = JemProjectUtilities.getJavaProject(javaProject); IClasspathEntry[] classpath = javaProj.getRawClasspath(); String jrePathName = "org.eclipse.jdt.launching.JRE_CONTAINER"; //$NON-NLS-1$ boolean exists = false; for (int i = 0; i < classpath.length; i++) { if (classpath[i].getEntryKind() != IClasspathEntry.CPE_CONTAINER) continue; IPath path = classpath[i].getPath(); if (path.segmentCount() > 0) { String name = path.segment(0).toString(); if (jrePathName.equals(name)) { exists = true; break; } } } if (!exists) { /** * Warning clean-up 12/05/2005 */ //IClasspathEntry newEntry = JavaCore.newContainerEntry(new Path(jrePathName)); JemProjectUtilities.appendJavaClassPath(javaProject, JavaCore.newContainerEntry(new Path("org.eclipse.jdt.launching.JRE_CONTAINER"))); //$NON-NLS-1$) JemProjectUtilities.forceClasspathReload(javaProject); } } catch (SaveFailureException e) { Logger.getLogger().logError(e); } catch (JavaModelException je) { Logger.getLogger().logError(je); } return OK_STATUS; } | 8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/85c5c4f0b67b034b72057057eedab61d8e70ec4c/J2EEUtilityJarImportOperationNew.java/buggy/plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEUtilityJarImportOperationNew.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
1482,
1836,
12,
45,
5491,
7187,
6438,
16,
467,
13716,
429,
1123,
13,
1216,
20205,
288,
202,
202,
734,
396,
1488,
12788,
9906,
26349,
273,
1910,
1488,
1733,
18,
2640,
26349,
12,
2704,
13134,
4109,
9906,
26349,
2249,
10663,
202,
202,
780,
17234,
273,
938,
18,
588,
780,
1396,
12,
45,
5852,
6497,
10813,
5010,
26349,
2297,
18,
17147,
67,
1985,
1769,
202,
202,
1367,
560,
9906,
26349,
18,
542,
780,
1396,
12,
5501,
1077,
278,
4109,
9906,
26349,
2297,
18,
11300,
56,
67,
17147,
67,
1985,
16,
17234,
1769,
202,
202,
1367,
560,
9906,
26349,
18,
542,
1396,
12,
5501,
1077,
278,
4109,
9906,
26349,
2297,
18,
11300,
56,
67,
54,
25375,
16,
2509,
1318,
18,
588,
5576,
12,
2284,
18,
588,
780,
1396,
12,
45,
5852,
1841,
9906,
26349,
2297,
18,
54,
25375,
67,
16374,
67,
734,
3719,
1769,
202,
202,
11137,
26349,
863,
852,
273,
261,
11137,
26349,
863,
13,
1367,
560,
9906,
26349,
18,
588,
1396,
12,
5501,
1077,
278,
4109,
9906,
26349,
2297,
18,
11300,
56,
67,
16125,
67,
8352,
1769,
202,
202,
1458,
18,
588,
11137,
26349,
12,
46,
22,
9383,
4109,
11864,
18,
1693,
14674,
2934,
542,
5507,
1396,
12,
45,
46,
22,
9383,
3120,
11137,
6410,
26349,
2297,
18,
8355,
67,
4296,
67,
9250,
16,
629,
1769,
9506,
202,
1367,
560,
9906,
26349,
18,
588,
1868,
2988,
7675,
8837,
12,
10259,
16,
1123,
1769,
202,
202,
45,
4109,
2252,
4109,
273,
5420,
11864,
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,
482,
467,
1482,
1836,
12,
45,
5491,
7187,
6438,
16,
467,
13716,
429,
1123,
13,
1216,
20205,
288,
202,
202,
734,
396,
1488,
12788,
9906,
26349,
273,
1910,
1488,
1733,
18,
2640,
26349,
12,
2704,
13134,
4109,
9906,
26349,
2249,
10663,
202,
202,
780,
17234,
273,
938,
18,
588,
780,
1396,
12,
45,
5852,
6497,
10813,
5010,
26349,
2297,
18,
17147,
67,
1985,
1769,
202,
202,
1367,
560,
9906,
26349,
18,
542,
780,
1396,
12,
5501,
1077,
278,
4109,
9906,
26349,
2297,
18,
11300,
56,
67,
17147,
67,
1985,
16,
17234,
1769,
202,
202,
1367,
560,
9906,
26349,
18,
542,
1396,
12,
5501,
1077,
278,
4109,
9906,
26349,
2297,
18,
11300,
56,
67,
54,
25375,
16,
2509,
2
] |
outlinks = OutlinkExtractor.getOutlinks("", nutchConf); | outlinks = OutlinkExtractor.getOutlinks("", conf); | public void testGetNoOutlinks() { Outlink[] outlinks = null; outlinks = OutlinkExtractor.getOutlinks(null, nutchConf); assertNotNull(outlinks); assertEquals(0, outlinks.length); outlinks = OutlinkExtractor.getOutlinks("", nutchConf); assertNotNull(outlinks); assertEquals(0, outlinks.length); } | 57484 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57484/25437bc825d50715dcc9a289a1b4c8fbbc6aced1/TestOutlinkExtractor.java/buggy/src/test/org/apache/nutch/parse/TestOutlinkExtractor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
967,
2279,
1182,
7135,
1435,
288,
565,
2976,
1232,
8526,
225,
596,
7135,
273,
446,
31,
7734,
596,
7135,
273,
2976,
1232,
10958,
18,
588,
1182,
7135,
12,
2011,
16,
290,
322,
343,
3976,
1769,
565,
25395,
12,
659,
7135,
1769,
565,
1815,
8867,
12,
20,
16,
596,
7135,
18,
2469,
1769,
3639,
596,
7135,
273,
2976,
1232,
10958,
18,
588,
1182,
7135,
2932,
3113,
2195,
1769,
565,
25395,
12,
659,
7135,
1769,
565,
1815,
8867,
12,
20,
16,
596,
7135,
18,
2469,
1769,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
967,
2279,
1182,
7135,
1435,
288,
565,
2976,
1232,
8526,
225,
596,
7135,
273,
446,
31,
7734,
596,
7135,
273,
2976,
1232,
10958,
18,
588,
1182,
7135,
12,
2011,
16,
290,
322,
343,
3976,
1769,
565,
25395,
12,
659,
7135,
1769,
565,
1815,
8867,
12,
20,
16,
596,
7135,
18,
2469,
1769,
3639,
596,
7135,
273,
2976,
1232,
10958,
18,
588,
1182,
7135,
2932,
3113,
2195,
1769,
565,
25395,
12,
659,
7135,
1769,
565,
1815,
8867,
12,
20,
16,
596,
7135,
18,
2469,
1769,
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
] |
if (names[i].getNodeLocations().length > 0) { start = names[i].getNodeLocations()[0].getNodeOffset(); end = names[i].getNodeLocations()[0].getNodeOffset() + names[i].getNodeLocations()[0].getNodeLength(); | if (nodes[i].getNodeLocations().length > 0) { start = nodes[i].getNodeLocations()[0].getNodeOffset(); end = nodes[i].getNodeLocations()[0].getNodeOffset() + nodes[i].getNodeLocations()[0].getNodeLength(); | public IStatus run(IProgressMonitor monitor) throws OperationCanceledException { final CSearchResult textResult= (CSearchResult) getSearchResult(); IProgressMonitor mainSearchPM= new SubProgressMonitor(monitor, 1000); NewSearchResultCollector collector = new NewSearchResultCollector(textResult, mainSearchPM); collector.aboutToStart(); for (int i=0; i<names.length; i++) { try { String fileName = null; IFile file = null; IPath path = null; int start = 0; int end = 0; if ( names[i] != null ) { IASTNodeLocation [] location = names[i].getNodeLocations(); if( location.length > 0 && location[0] instanceof IASTFileLocation ) fileName = ((IASTFileLocation)location[0]).getFileName(); // TODO Devin this is in two places now, put into one, and fix up the location[0] for things like macros else fileName = BLANK_STRING; path = new Path(fileName); file = ResourcesPlugin.getWorkspace().getRoot().getFileForLocation(path); if (names[i].getNodeLocations().length > 0) { // fix for 84223 start = names[i].getNodeLocations()[0].getNodeOffset(); end = names[i].getNodeLocations()[0].getNodeOffset() + names[i].getNodeLocations()[0].getNodeLength(); collector.acceptMatch( createMatch(file, start, end, names[i], path ) ); } } } catch (CoreException ce) {} } mainSearchPM.done(); collector.done(); return new Status(IStatus.OK, CTestPlugin.getPluginId(), 0, BLANK_STRING, null); //$NON-NLS-1$ } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/bd9022596d8c2c42847d16dd9a2aa3a13b88a96d/DOMQuery.java/clean/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/ui/tests/DOMAST/DOMQuery.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
1482,
1086,
12,
45,
5491,
7187,
6438,
13,
1082,
202,
15069,
4189,
23163,
503,
288,
9506,
202,
6385,
385,
24916,
977,
1253,
33,
261,
39,
24916,
13,
15627,
1253,
5621,
9506,
202,
45,
5491,
7187,
2774,
2979,
12728,
33,
394,
2592,
5491,
7187,
12,
10259,
16,
4336,
1769,
1377,
202,
1908,
24916,
7134,
8543,
273,
394,
1166,
24916,
7134,
12,
955,
1253,
16,
2774,
2979,
12728,
1769,
1377,
202,
1377,
202,
21356,
18,
21071,
28939,
5621,
1377,
202,
1377,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
1973,
18,
2469,
31,
277,
27245,
288,
1377,
202,
202,
698,
288,
1377,
1082,
202,
780,
3968,
273,
446,
31,
1377,
1082,
202,
45,
812,
585,
273,
446,
31,
1377,
1082,
202,
45,
743,
589,
273,
446,
31,
1377,
1082,
202,
474,
787,
273,
374,
31,
1377,
1082,
202,
474,
679,
273,
374,
31,
1377,
1082,
202,
430,
261,
1257,
63,
77,
65,
480,
446,
262,
288,
202,
1377,
1082,
282,
467,
9053,
907,
2735,
5378,
2117,
273,
1257,
63,
77,
8009,
588,
907,
10985,
5621,
202,
1377,
1082,
282,
309,
12,
2117,
18,
2469,
405,
374,
597,
2117,
63,
20,
65,
1276,
467,
9053,
812,
2735,
262,
202,
1377,
1082,
1377,
3968,
273,
14015,
45,
9053,
812,
2735,
13,
3562,
63,
20,
65,
2934,
588,
4771,
5621,
368,
2660,
9562,
267,
333,
353,
316,
2795,
12576,
2037,
16,
1378,
1368,
1245,
16,
471,
2917,
731,
326,
2117,
63,
20,
65,
364,
9198,
3007,
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,
467,
1482,
1086,
12,
45,
5491,
7187,
6438,
13,
1082,
202,
15069,
4189,
23163,
503,
288,
9506,
202,
6385,
385,
24916,
977,
1253,
33,
261,
39,
24916,
13,
15627,
1253,
5621,
9506,
202,
45,
5491,
7187,
2774,
2979,
12728,
33,
394,
2592,
5491,
7187,
12,
10259,
16,
4336,
1769,
1377,
202,
1908,
24916,
7134,
8543,
273,
394,
1166,
24916,
7134,
12,
955,
1253,
16,
2774,
2979,
12728,
1769,
1377,
202,
1377,
202,
21356,
18,
21071,
28939,
5621,
1377,
202,
1377,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
1973,
18,
2469,
31,
277,
27245,
288,
1377,
202,
202,
698,
288,
1377,
1082,
202,
780,
3968,
273,
446,
31,
1377,
1082,
202,
45,
812,
585,
2
] |
assertNotNull( "Cannot find plugin-configuration: \'" + pluginConfigResource + "\' in context-classloader\'s classpath.", resource ); | assertTrue( "Cannot find plugin-configuration: \'" + pluginConfigResource + "\' in context-classloader\'s classpath.", pluginConfigFile.exists() ); | private void testDependencyMapping( String pluginConfig, List requiredDependencies ) throws Exception { ClassLoader cloader = Thread.currentThread().getContextClassLoader(); String pluginConfigResource = "basicAbstractAssemblyMojoFeaturesTest/" + pluginConfig; URL resource = cloader.getResource( pluginConfigResource ); assertNotNull( "Cannot find plugin-configuration: \'" + pluginConfigResource + "\' in context-classloader\'s classpath.", resource ); // TODO: Need to replace this with test-only mojos... DirectoryMojo mojo = (DirectoryMojo) lookupMojo( "directory", resource.getPath() ); FileLoggingArchiverManagerStub archiverManager = (FileLoggingArchiverManagerStub) getVariableValueFromObject( mojo, "archiverManager" ); archiverManager.clearArchiver(); mojo.execute(); FileLoggingArchiverStub archiver = (FileLoggingArchiverStub) archiverManager.getArchiver( null ); Set addedFiles = archiver.getAddedFiles(); System.out.println( "The following files were added to the test assembly:\n" + addedFiles.toString().replace(',', '\n' ) ); for ( Iterator it = requiredDependencies.iterator(); it.hasNext(); ) { String targetPath = (String) it.next(); assertTrue( "Required dependency path missing: \'" + targetPath + "\'", addedFiles.contains( targetPath ) ); } } | 51807 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51807/9bbf4a5e4ef6893d3bcab1dd542c87f5327b02dc/BasicAbstractAssemblyMojoFeaturesTest.java/clean/maven-assembly-plugin/src/test/java/org/apache/maven/plugin/assembly/BasicAbstractAssemblyMojoFeaturesTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1842,
7787,
3233,
12,
514,
1909,
809,
16,
987,
1931,
8053,
262,
1216,
1185,
565,
288,
3639,
9403,
276,
6714,
273,
4884,
18,
2972,
3830,
7675,
29120,
7805,
5621,
7734,
514,
1909,
809,
1420,
273,
315,
13240,
7469,
24368,
49,
10007,
8696,
4709,
4898,
397,
1909,
809,
31,
7734,
1976,
1058,
273,
276,
6714,
18,
588,
1420,
12,
1909,
809,
1420,
11272,
7734,
1815,
5510,
12,
315,
4515,
1104,
1909,
17,
7025,
30,
521,
4970,
397,
1909,
809,
1420,
397,
1548,
11,
316,
819,
17,
1106,
6714,
3730,
87,
10006,
1199,
16,
1909,
13705,
18,
1808,
1435,
11272,
7734,
368,
2660,
30,
12324,
358,
1453,
333,
598,
1842,
17,
3700,
312,
6311,
538,
2777,
3639,
8930,
49,
10007,
312,
10007,
273,
261,
2853,
49,
10007,
13,
3689,
49,
10007,
12,
315,
5149,
3113,
1058,
18,
588,
743,
1435,
11272,
3639,
1387,
7735,
12269,
1667,
1318,
11974,
6637,
1667,
1318,
273,
261,
812,
7735,
12269,
1667,
1318,
11974,
13,
13522,
620,
29484,
12,
312,
10007,
16,
315,
991,
1667,
1318,
6,
11272,
3639,
6637,
1667,
1318,
18,
8507,
12269,
1667,
5621,
7734,
312,
10007,
18,
8837,
5621,
3639,
1387,
7735,
12269,
1667,
11974,
6637,
1667,
273,
261,
812,
7735,
12269,
1667,
11974,
13,
6637,
1667,
1318,
18,
588,
12269,
1667,
12,
446,
11272,
7734,
1000,
3096,
2697,
273,
6637,
1667,
18,
588,
8602,
2697,
5621,
7734,
2332,
18,
659,
18,
8222,
12,
315,
1986,
3751,
1390,
4591,
3096,
358,
326,
1842,
19931,
5581,
82,
6,
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,
1842,
7787,
3233,
12,
514,
1909,
809,
16,
987,
1931,
8053,
262,
1216,
1185,
565,
288,
3639,
9403,
276,
6714,
273,
4884,
18,
2972,
3830,
7675,
29120,
7805,
5621,
7734,
514,
1909,
809,
1420,
273,
315,
13240,
7469,
24368,
49,
10007,
8696,
4709,
4898,
397,
1909,
809,
31,
7734,
1976,
1058,
273,
276,
6714,
18,
588,
1420,
12,
1909,
809,
1420,
11272,
7734,
1815,
5510,
12,
315,
4515,
1104,
1909,
17,
7025,
30,
521,
4970,
397,
1909,
809,
1420,
397,
1548,
11,
316,
819,
17,
1106,
6714,
3730,
87,
10006,
1199,
16,
1909,
13705,
18,
1808,
1435,
11272,
7734,
368,
2660,
30,
12324,
358,
1453,
333,
598,
1842,
17,
3700,
312,
6311,
538,
2777,
3639,
8930,
2
] |
public org.quickfix.field.Pool getPool() throws FieldNotFound { org.quickfix.field.Pool value = new org.quickfix.field.Pool(); | public quickfix.field.Pool getPool() throws FieldNotFound { quickfix.field.Pool value = new quickfix.field.Pool(); | public org.quickfix.field.Pool getPool() throws FieldNotFound { org.quickfix.field.Pool value = new org.quickfix.field.Pool(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/ExecutionReport.java/buggy/src/java/src/quickfix/fix44/ExecutionReport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
2864,
28575,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
2864,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
2864,
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,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
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
2864,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public RubyNumeric op_div(RubyNumeric other) { | public IRubyObject op_div(IRubyObject other) { | public RubyNumeric op_div(RubyNumeric other) { if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_div(other); } else if (other instanceof RubyBignum) { return RubyBignum.newBignum(getRuntime(), getLongValue()).op_div(other); } // Java / and % are not the same as ruby long x = getLongValue(); long y = other.getLongValue(); long div = x / y; long mod = x % y; if (mod < 0 && y > 0 || mod > 0 && y < 0) { div -= 1; } return getRuntime().newFixnum(div); } | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/803c66ee682936beecc8a43fe2cfc90fe5645b22/RubyFixnum.java/buggy/src/org/jruby/RubyFixnum.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
1061,
67,
2892,
12,
7937,
10340,
921,
1308,
13,
288,
3639,
309,
261,
3011,
1276,
19817,
4723,
13,
288,
5411,
327,
19817,
4723,
18,
2704,
4723,
12,
588,
5576,
9334,
16097,
620,
1435,
2934,
556,
67,
2892,
12,
3011,
1769,
3639,
289,
469,
309,
261,
3011,
1276,
19817,
38,
724,
379,
13,
288,
5411,
327,
19817,
38,
724,
379,
18,
2704,
38,
724,
379,
12,
588,
5576,
9334,
11105,
620,
1435,
2934,
556,
67,
2892,
12,
3011,
1769,
3639,
289,
7734,
368,
5110,
342,
471,
738,
854,
486,
326,
1967,
487,
22155,
3639,
1525,
619,
273,
11105,
620,
5621,
3639,
1525,
677,
273,
1308,
18,
588,
3708,
620,
5621,
3639,
1525,
3739,
273,
619,
342,
677,
31,
3639,
1525,
681,
273,
619,
738,
677,
31,
3639,
309,
261,
1711,
411,
374,
597,
677,
405,
374,
747,
681,
405,
374,
597,
677,
411,
374,
13,
288,
5411,
3739,
3947,
404,
31,
3639,
289,
3639,
327,
18814,
7675,
2704,
8585,
2107,
12,
2892,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
1061,
67,
2892,
12,
7937,
10340,
921,
1308,
13,
288,
3639,
309,
261,
3011,
1276,
19817,
4723,
13,
288,
5411,
327,
19817,
4723,
18,
2704,
4723,
12,
588,
5576,
9334,
16097,
620,
1435,
2934,
556,
67,
2892,
12,
3011,
1769,
3639,
289,
469,
309,
261,
3011,
1276,
19817,
38,
724,
379,
13,
288,
5411,
327,
19817,
38,
724,
379,
18,
2704,
38,
724,
379,
12,
588,
5576,
9334,
11105,
620,
1435,
2934,
556,
67,
2892,
12,
3011,
1769,
3639,
289,
7734,
368,
5110,
342,
471,
738,
854,
486,
326,
1967,
487,
22155,
3639,
1525,
619,
273,
11105,
620,
5621,
3639,
1525,
677,
273,
1308,
18,
588,
3708,
620,
5621,
3639,
1525,
3739,
273,
619,
2
] |
MutableGraphModel mgm = (MutableGraphModel) gm; | public void dragHandle(int mX, int mY, int anX, int anY, Handle hand) { if (hand.index < 10) { setPaintButtons(false); super.dragHandle(mX, mY, anX, anY, hand); return; } int cx = _content.getX(), cy = _content.getY(); int cw = _content.getWidth(), ch = _content.getHeight(); int newX = cx, newY = cy, newW = cw, newH = ch; Dimension minSize = _content.getMinimumSize(); int minWidth = minSize.width, minHeight = minSize.height; Object edgeType = null; Object nodeType = Model.getMetaTypes().getActionState(); Editor ce = Globals.curEditor(); GraphModel gm = ce.getGraphModel(); if (!(gm instanceof MutableGraphModel)) { return; } MutableGraphModel mgm = (MutableGraphModel) gm; int bx = mX, by = mY; boolean reverse = false; switch (hand.index) { case 12: //add incoming edgeType = Model.getMetaTypes().getTransition(); by = cy + ch / 2; bx = cx + cw; break; case 13: // add outgoing edgeType = Model.getMetaTypes().getTransition(); reverse = true; by = cy + ch / 2; bx = cx; break; case 10: // add incoming on top edgeType = Model.getMetaTypes().getTransition(); reverse = true; by = cy; bx = cx + cw / 2; break; case 11: // add outgoing below edgeType = Model.getMetaTypes().getTransition(); by = cy + ch; bx = cx + cw / 2; break; default: LOG.warn("invalid handle number"); break; } if (edgeType != null && nodeType != null) { ModeCreateEdgeAndNode m = new ModeCreateEdgeAndNode(ce, edgeType, nodeType, false); m.setup((FigNode) _content, _content.getOwner(), bx, by, reverse); ce.pushMode(m); } } | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/4b064ac5d1687efd437474aa3de8842f78d90882/SelectionActionState.java/clean/src_new/org/argouml/uml/diagram/activity/ui/SelectionActionState.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
8823,
3259,
12,
474,
312,
60,
16,
509,
312,
61,
16,
509,
392,
60,
16,
509,
392,
61,
16,
5004,
948,
13,
288,
202,
430,
261,
2349,
18,
1615,
411,
1728,
13,
288,
202,
565,
444,
12699,
14388,
12,
5743,
1769,
202,
565,
2240,
18,
15997,
3259,
12,
81,
60,
16,
312,
61,
16,
392,
60,
16,
392,
61,
16,
948,
1769,
202,
565,
327,
31,
202,
97,
202,
474,
9494,
273,
389,
1745,
18,
588,
60,
9334,
6143,
273,
389,
1745,
18,
588,
61,
5621,
202,
474,
14098,
273,
389,
1745,
18,
588,
2384,
9334,
462,
273,
389,
1745,
18,
588,
2686,
5621,
202,
474,
394,
60,
273,
9494,
16,
394,
61,
273,
6143,
16,
394,
59,
273,
14098,
16,
394,
44,
273,
462,
31,
202,
8611,
29343,
273,
389,
1745,
18,
588,
13042,
1225,
5621,
202,
474,
1131,
2384,
273,
29343,
18,
2819,
16,
1131,
2686,
273,
29343,
18,
4210,
31,
202,
921,
3591,
559,
273,
446,
31,
202,
921,
9507,
273,
3164,
18,
588,
2781,
2016,
7675,
588,
1803,
1119,
5621,
202,
6946,
5898,
273,
18901,
1031,
18,
1397,
6946,
5621,
202,
4137,
1488,
14125,
273,
5898,
18,
588,
4137,
1488,
5621,
202,
430,
16051,
12,
23336,
1276,
10960,
4137,
1488,
3719,
288,
202,
565,
327,
31,
202,
97,
202,
19536,
4137,
1488,
11174,
81,
273,
261,
19536,
4137,
1488,
13,
14125,
31,
202,
474,
24356,
273,
312,
60,
16,
635,
273,
312,
61,
31,
202,
6494,
4219,
273,
629,
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,
918,
8823,
3259,
12,
474,
312,
60,
16,
509,
312,
61,
16,
509,
392,
60,
16,
509,
392,
61,
16,
5004,
948,
13,
288,
202,
430,
261,
2349,
18,
1615,
411,
1728,
13,
288,
202,
565,
444,
12699,
14388,
12,
5743,
1769,
202,
565,
2240,
18,
15997,
3259,
12,
81,
60,
16,
312,
61,
16,
392,
60,
16,
392,
61,
16,
948,
1769,
202,
565,
327,
31,
202,
97,
202,
474,
9494,
273,
389,
1745,
18,
588,
60,
9334,
6143,
273,
389,
1745,
18,
588,
61,
5621,
202,
474,
14098,
273,
389,
1745,
18,
588,
2384,
9334,
462,
273,
389,
1745,
18,
588,
2686,
5621,
202,
474,
394,
60,
273,
9494,
16,
394,
61,
273,
6143,
16,
2
] | |
assertLex(Parser.PARENCLOSE, lexer); | assertLex(Parser.BRACECLOSE, lexer); | public void testCommentsWithQuotesInAssignment() throws Exception { String in = "{ a x = y /* don't do stuff*/; }"; Lexer lexer = new JFlexLexer(new StringReader(in)); assertLex(Parser.PARENOPEN, lexer); assertLex(Parser.IDENTIFIER, "a", lexer); assertLex(Parser.IDENTIFIER, "x", lexer); assertLex(Parser.ASSIGNMENT, lexer); assertLex(Parser.PARENCLOSE, lexer); assertLex(0, lexer); in = "{ a z = \n" + "// thing's thing \n" + "0; }"; lexer = new JFlexLexer(new StringReader(in)); assertLex(Parser.PARENOPEN, lexer); assertLex(Parser.IDENTIFIER, "a", lexer); assertLex(Parser.IDENTIFIER, "z", lexer); assertLex(Parser.ASSIGNMENT, lexer); assertLex(Parser.PARENCLOSE, lexer); assertLex(0, lexer); } | 2045 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2045/fd346fe372b0364733fc6120d6524638208a5181/LexerTest.java/clean/qdox/src/test/com/thoughtworks/qdox/parser/LexerTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
9051,
1190,
14292,
382,
7729,
1435,
1216,
1185,
288,
202,
202,
780,
316,
273,
4144,
279,
619,
273,
677,
1748,
2727,
1404,
741,
10769,
5549,
31,
289,
14432,
202,
202,
13356,
8512,
273,
394,
804,
19667,
13356,
12,
2704,
26227,
12,
267,
10019,
202,
202,
11231,
14756,
12,
2678,
18,
11713,
3417,
52,
1157,
16,
8512,
1769,
202,
202,
11231,
14756,
12,
2678,
18,
16606,
16,
315,
69,
3113,
8512,
1769,
202,
202,
11231,
14756,
12,
2678,
18,
16606,
16,
315,
92,
3113,
8512,
1769,
202,
202,
11231,
14756,
12,
2678,
18,
23289,
3212,
16,
8512,
1769,
202,
202,
11231,
14756,
12,
2678,
18,
11713,
10346,
9320,
16,
8512,
1769,
202,
202,
11231,
14756,
12,
20,
16,
8512,
1769,
202,
202,
267,
273,
4144,
279,
998,
273,
521,
82,
6,
1082,
202,
15,
16177,
7757,
1807,
7757,
521,
82,
6,
1082,
202,
15,
315,
20,
31,
289,
14432,
202,
202,
31731,
273,
394,
804,
19667,
13356,
12,
2704,
26227,
12,
267,
10019,
202,
202,
11231,
14756,
12,
2678,
18,
11713,
3417,
52,
1157,
16,
8512,
1769,
202,
202,
11231,
14756,
12,
2678,
18,
16606,
16,
315,
69,
3113,
8512,
1769,
202,
202,
11231,
14756,
12,
2678,
18,
16606,
16,
315,
94,
3113,
8512,
1769,
202,
202,
11231,
14756,
12,
2678,
18,
23289,
3212,
16,
8512,
1769,
202,
202,
11231,
14756,
12,
2678,
18,
11713,
10346,
9320,
16,
8512,
1769,
202,
202,
11231,
14756,
12,
20,
16,
8512,
1769,
202,
97,
2,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
9051,
1190,
14292,
382,
7729,
1435,
1216,
1185,
288,
202,
202,
780,
316,
273,
4144,
279,
619,
273,
677,
1748,
2727,
1404,
741,
10769,
5549,
31,
289,
14432,
202,
202,
13356,
8512,
273,
394,
804,
19667,
13356,
12,
2704,
26227,
12,
267,
10019,
202,
202,
11231,
14756,
12,
2678,
18,
11713,
3417,
52,
1157,
16,
8512,
1769,
202,
202,
11231,
14756,
12,
2678,
18,
16606,
16,
315,
69,
3113,
8512,
1769,
202,
202,
11231,
14756,
12,
2678,
18,
16606,
16,
315,
92,
3113,
8512,
1769,
202,
202,
11231,
14756,
12,
2678,
18,
23289,
3212,
16,
8512,
1769,
202,
202,
11231,
14756,
12,
2678,
18,
11713,
10346,
9320,
16,
8512,
1769,
202,
202,
11231,
14756,
2
] |
throw org.postgresql.Driver.notImplemented(); | return DatabaseMetaData.sqlStateSQL99; | public int getSQLStateType() throws SQLException { throw org.postgresql.Driver.notImplemented(); } | 45534 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45534/509a9cd3f922c38c19d35e81bb1427d663ba4aba/AbstractJdbc3DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc3/AbstractJdbc3DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
21708,
1119,
559,
1435,
1216,
6483,
202,
95,
202,
202,
12849,
2358,
18,
2767,
24330,
18,
4668,
18,
902,
8644,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 { | } else { | private Object getNewTarget(Object target) { Project p = ProjectManager.getManager().getCurrentProject(); Object newTarget = null; target = target instanceof Fig ? ((Fig) target).getOwner() : target; if (ModelFacade.isABase(target)) { newTarget = ModelFacade.getModelElementContainer(target); } else if (ModelFacade.isADiagram(target)) { Diagram firstDiagram = (Diagram) p.getDiagrams().get(0); if (target != firstDiagram) newTarget = firstDiagram; else { if (p.getDiagrams().size() > 1) { newTarget = p.getDiagrams().get(1); } else newTarget = p.getRoot(); } } else { newTarget = p.getRoot(); } return newTarget; } | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/1866ce2aba8057ad992b7d3853a02863d492ab25/ActionRemoveFromModel.java/clean/src_new/org/argouml/uml/ui/ActionRemoveFromModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
12654,
2326,
12,
921,
1018,
13,
288,
3639,
5420,
293,
273,
5420,
1318,
18,
588,
1318,
7675,
588,
3935,
4109,
5621,
3639,
1033,
394,
2326,
273,
446,
31,
3639,
1018,
273,
1018,
1276,
478,
360,
692,
14015,
42,
360,
13,
1018,
2934,
588,
5541,
1435,
294,
1018,
31,
3639,
309,
261,
1488,
12467,
18,
291,
2090,
448,
12,
3299,
3719,
288,
5411,
394,
2326,
273,
3164,
12467,
18,
588,
1488,
1046,
2170,
12,
3299,
1769,
3639,
289,
469,
309,
261,
1488,
12467,
18,
291,
1880,
8852,
1940,
12,
3299,
3719,
288,
5411,
14539,
1940,
1122,
14058,
1940,
273,
261,
14058,
1940,
13,
293,
18,
588,
14058,
31454,
7675,
588,
12,
20,
1769,
5411,
309,
261,
3299,
480,
1122,
14058,
1940,
13,
7734,
394,
2326,
273,
1122,
14058,
1940,
31,
5411,
289,
469,
288,
7734,
309,
261,
84,
18,
588,
14058,
31454,
7675,
1467,
1435,
405,
404,
13,
288,
10792,
394,
2326,
273,
293,
18,
588,
14058,
31454,
7675,
588,
12,
21,
1769,
7734,
289,
469,
10792,
394,
2326,
273,
293,
18,
588,
2375,
5621,
5411,
289,
3639,
289,
289,
469,
288,
5411,
394,
2326,
273,
293,
18,
588,
2375,
5621,
3639,
289,
2868,
327,
394,
2326,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
12654,
2326,
12,
921,
1018,
13,
288,
3639,
5420,
293,
273,
5420,
1318,
18,
588,
1318,
7675,
588,
3935,
4109,
5621,
3639,
1033,
394,
2326,
273,
446,
31,
3639,
1018,
273,
1018,
1276,
478,
360,
692,
14015,
42,
360,
13,
1018,
2934,
588,
5541,
1435,
294,
1018,
31,
3639,
309,
261,
1488,
12467,
18,
291,
2090,
448,
12,
3299,
3719,
288,
5411,
394,
2326,
273,
3164,
12467,
18,
588,
1488,
1046,
2170,
12,
3299,
1769,
3639,
289,
469,
309,
261,
1488,
12467,
18,
291,
1880,
8852,
1940,
12,
3299,
3719,
288,
5411,
14539,
1940,
1122,
14058,
1940,
273,
261,
14058,
1940,
13,
293,
18,
588,
14058,
31454,
7675,
588,
12,
20,
1769,
5411,
309,
261,
3299,
2
] |
public Mode pop() { | public FigModifyingMode pop() { | public Mode pop() { if (_modes.isEmpty()) return null; Mode res = top(); if (res.canExit()) { _modes.removeElement(res); fireModeChanged(); } return res; } | 1732 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1732/0390f5a5503029a41560e0164c432a8e88792d37/ModeManager.java/buggy/src/org/tigris/gef/base/ModeManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
478,
360,
11047,
19154,
1843,
1435,
288,
565,
309,
261,
67,
19282,
18,
291,
1921,
10756,
327,
446,
31,
565,
8126,
400,
273,
1760,
5621,
565,
309,
261,
455,
18,
4169,
6767,
10756,
288,
1377,
389,
19282,
18,
4479,
1046,
12,
455,
1769,
1377,
4452,
2309,
5033,
5621,
565,
289,
565,
327,
400,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
478,
360,
11047,
19154,
1843,
1435,
288,
565,
309,
261,
67,
19282,
18,
291,
1921,
10756,
327,
446,
31,
565,
8126,
400,
273,
1760,
5621,
565,
309,
261,
455,
18,
4169,
6767,
10756,
288,
1377,
389,
19282,
18,
4479,
1046,
12,
455,
1769,
1377,
4452,
2309,
5033,
5621,
565,
289,
565,
327,
400,
31,
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,
-100,
-100,
-100,
-100
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.