rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
sequencelengths 256
256
| attention_mask
sequencelengths 256
256
| labels
sequencelengths 128
128
|
---|---|---|---|---|---|---|
private void getConfessions() { | private boolean getConfessions() { | private void getConfessions() { String confession = ""; try { URL grouphug = new URL("http://grouphug.us/random"); BufferedReader in = new BufferedReader(new InputStreamReader(grouphug.openStream())); String inputLine; while ((inputLine = in.readLine()) != null) { if (inputLine.matches(".*conf-text.*")) { //inside confession in.readLine(); while (true) { inputLine = in.readLine(); if (inputLine.matches(".*</td>.*")) { //outside confession - break break; } confession += inputLine; } confession = confession.replaceAll("<.*?>", ""); confession = confession.replaceAll("\\s{2,}?", " "); confession = confession.replaceAll("\\r", ""); confession = confession.replaceAll("\\t", ""); confession = confession.trim(); if (confession.length() <= 456) { confessions.push(confession); } confession = ""; } } in.close(); } catch (Exception e) { e.printStackTrace(); } if (confessions.empty()) getConfessions(); } | 47073 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47073/dd3c6602461628da3c5a32c682f44d93f288ba94/Confessions.java/clean/src/goat/module/Confessions.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
28836,
893,
87,
1435,
288,
202,
202,
780,
2195,
893,
273,
1408,
31,
202,
202,
698,
288,
1082,
202,
1785,
1041,
76,
637,
273,
394,
1976,
2932,
2505,
2207,
1655,
76,
637,
18,
407,
19,
9188,
8863,
1082,
202,
17947,
2514,
316,
273,
394,
10633,
12,
2704,
15322,
12,
1655,
76,
637,
18,
3190,
1228,
1435,
10019,
1082,
202,
780,
810,
1670,
31,
1082,
202,
17523,
14015,
2630,
1670,
273,
316,
18,
896,
1670,
10756,
480,
446,
13,
288,
9506,
202,
430,
261,
2630,
1670,
18,
8436,
2932,
4509,
3923,
17,
955,
4509,
6,
3719,
288,
225,
368,
28091,
2195,
893,
6862,
202,
267,
18,
896,
1670,
5621,
6862,
202,
17523,
261,
3767,
13,
288,
25083,
202,
2630,
1670,
273,
316,
18,
896,
1670,
5621,
25083,
202,
430,
261,
2630,
1670,
18,
8436,
2932,
4509,
1757,
4465,
34,
4509,
6,
3719,
288,
368,
659,
5564,
2195,
893,
300,
898,
6862,
1082,
202,
8820,
31,
25083,
202,
97,
25083,
202,
3923,
893,
1011,
810,
1670,
31,
6862,
202,
97,
6862,
202,
3923,
893,
273,
2195,
893,
18,
2079,
1595,
2932,
32,
23498,
2984,
16,
1408,
1769,
6862,
202,
3923,
893,
273,
2195,
893,
18,
2079,
1595,
2932,
1695,
87,
95,
22,
16,
15622,
3113,
315,
315,
1769,
6862,
202,
3923,
893,
273,
2195,
893,
18,
2079,
1595,
2932,
1695,
86,
3113,
1408,
1769,
6862,
202,
3923,
893,
273,
2195,
893,
18,
2079,
1595,
2932,
1695,
88,
3113,
1408,
1769,
6862,
202,
3923,
893,
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,
225,
202,
1152,
918,
28836,
893,
87,
1435,
288,
202,
202,
780,
2195,
893,
273,
1408,
31,
202,
202,
698,
288,
1082,
202,
1785,
1041,
76,
637,
273,
394,
1976,
2932,
2505,
2207,
1655,
76,
637,
18,
407,
19,
9188,
8863,
1082,
202,
17947,
2514,
316,
273,
394,
10633,
12,
2704,
15322,
12,
1655,
76,
637,
18,
3190,
1228,
1435,
10019,
1082,
202,
780,
810,
1670,
31,
1082,
202,
17523,
14015,
2630,
1670,
273,
316,
18,
896,
1670,
10756,
480,
446,
13,
288,
9506,
202,
430,
261,
2630,
1670,
18,
8436,
2932,
4509,
3923,
17,
955,
4509,
6,
3719,
288,
225,
368,
28091,
2195,
893,
6862,
202,
267,
18,
896,
1670,
5621,
6862,
202,
17523,
261,
3767,
13,
288,
2
] |
result.add(line + s.substring(0, p + 1)); | result.add(line.toString() + s.substring(0, p + 1)); | private void formatText(final List input, String line, final List result, final ClassLoader cl) { for (int i = 0; i < input.size(); ++i) { Object o = input.get(i); if (o instanceof List) { formatText((List) o, line, result, cl); } else if (o instanceof DecompilerMethodVisitor) { result.add(((DecompilerMethodVisitor) o).getResult(cl)); } else { String s = o.toString(); int p; do { p = s.indexOf('\n'); if (p == -1) { line = line + s; } else { result.add(line + s.substring(0, p + 1)); s = s.substring(p + 1); line = ""; } } while (p != -1); } } } | 8320 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8320/3c7a47b1dfce6f96ee3412a917ac19e9b996ea38/DecompilerClassVisitor.java/clean/eclipse/plugin/src/de/loskutov/bco/asm/DecompilerClassVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
740,
1528,
12,
6385,
987,
810,
16,
514,
980,
16,
727,
987,
563,
16,
3639,
727,
9403,
927,
13,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
810,
18,
1467,
5621,
965,
77,
13,
288,
5411,
1033,
320,
273,
810,
18,
588,
12,
77,
1769,
5411,
309,
261,
83,
1276,
987,
13,
288,
7734,
740,
1528,
12443,
682,
13,
320,
16,
980,
16,
563,
16,
927,
1769,
5411,
289,
469,
309,
261,
83,
1276,
3416,
20667,
2895,
1305,
7413,
13,
288,
7734,
563,
18,
1289,
12443,
12,
17731,
84,
2895,
1305,
7413,
13,
320,
2934,
588,
1253,
12,
830,
10019,
5411,
289,
469,
288,
7734,
514,
272,
273,
320,
18,
10492,
5621,
7734,
509,
293,
31,
7734,
741,
288,
10792,
293,
273,
272,
18,
31806,
2668,
64,
82,
8284,
10792,
309,
261,
84,
422,
300,
21,
13,
288,
13491,
980,
273,
980,
397,
272,
31,
10792,
289,
469,
288,
13491,
563,
18,
1289,
12,
1369,
18,
10492,
1435,
397,
272,
18,
28023,
12,
20,
16,
293,
397,
404,
10019,
13491,
272,
273,
272,
18,
28023,
12,
84,
397,
404,
1769,
13491,
980,
273,
1408,
31,
10792,
289,
7734,
289,
1323,
261,
84,
480,
300,
21,
1769,
5411,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
740,
1528,
12,
6385,
987,
810,
16,
514,
980,
16,
727,
987,
563,
16,
3639,
727,
9403,
927,
13,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
810,
18,
1467,
5621,
965,
77,
13,
288,
5411,
1033,
320,
273,
810,
18,
588,
12,
77,
1769,
5411,
309,
261,
83,
1276,
987,
13,
288,
7734,
740,
1528,
12443,
682,
13,
320,
16,
980,
16,
563,
16,
927,
1769,
5411,
289,
469,
309,
261,
83,
1276,
3416,
20667,
2895,
1305,
7413,
13,
288,
7734,
563,
18,
1289,
12443,
12,
17731,
84,
2895,
1305,
7413,
13,
320,
2934,
588,
1253,
12,
830,
10019,
5411,
289,
469,
288,
7734,
514,
272,
273,
320,
18,
10492,
5621,
7734,
2
] |
symtab.printTemplateSignature(sym, user, addLink); | symtab.printTemplateSignature(sym, addLink); | void defString(Symbol sym, Symbol user, boolean addLink) { if (sym.isRoot()) page.print("Root class"); else if (sym.isClass() || sym.isModule()) symtab.printTemplateSignature(sym, user, addLink); else if (sym.isType() && !sym.isParameter()) symtab.printShortSignature(sym, user, addLink); else symtab.printSignature(sym, user, addLink); } | 5590 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5590/de584bc658a38af84d452993beedd7e85424ca15/HTMLGenerator.java/clean/sources/scala/tools/scaladoc/HTMLGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1652,
780,
12,
5335,
5382,
16,
8565,
729,
16,
1250,
527,
2098,
13,
288,
202,
430,
261,
8117,
18,
291,
2375,
10756,
202,
565,
1363,
18,
1188,
2932,
2375,
667,
8863,
202,
12107,
309,
261,
8117,
18,
291,
797,
1435,
747,
5382,
18,
291,
3120,
10756,
202,
565,
1393,
1010,
378,
18,
1188,
2283,
5374,
12,
8117,
16,
729,
16,
527,
2098,
1769,
202,
12107,
309,
261,
8117,
18,
291,
559,
1435,
597,
401,
8117,
18,
291,
1662,
10756,
202,
565,
1393,
1010,
378,
18,
1188,
4897,
5374,
12,
8117,
16,
729,
16,
527,
2098,
1769,
202,
12107,
202,
565,
1393,
1010,
378,
18,
1188,
5374,
12,
8117,
16,
729,
16,
527,
2098,
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,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
202,
12107,
309,
261,
8117,
18,
291,
797,
1435,
747,
5382,
18,
291,
3120,
10756,
202,
565,
1393,
1010,
378,
18,
1188,
2283,
5374,
12,
8117,
16,
729,
16,
527,
2098,
1769,
202,
12107,
309,
261,
8117,
18,
291,
559,
1435,
597,
401,
8117,
18,
291,
1662,
10756,
202,
565,
1393,
1010,
378,
18,
1188,
4897,
5374,
12,
8117,
16,
729,
16,
527,
2098,
1769,
202,
12107,
202,
565,
1393,
1010,
378,
18,
1188,
5374,
12,
8117,
16,
729,
16,
527,
2098,
1769,
565,
289,
2,
-100
] |
MockInvocationMatcher mockInvocationMatcher = new MockInvocationMatcher(); invocationMocker.addMatcher(mockInvocationMatcher); | MockInvocationMatcher mockInvocationMatcher = new MockInvocationMatcher(); invocationMocker.addMatcher(mockInvocationMatcher); | public void testDelegatesVerifyToInvocationMatchers() throws Throwable { MockInvocationMatcher mockInvocationMatcher = new MockInvocationMatcher(); invocationMocker.addMatcher(mockInvocationMatcher); mockInvocationMatcher.verifyCalls.setExpected(1); invocationMocker.verify(); Verifier.verifyObject(mockInvocationMatcher); } | 54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/InvocationMockerTest.java/clean/jmock/core/src/test/jmock/core/InvocationMockerTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
15608,
815,
8097,
774,
9267,
28061,
1435,
1216,
4206,
288,
202,
202,
9865,
9267,
6286,
5416,
9267,
6286,
273,
394,
7867,
9267,
6286,
5621,
202,
202,
5768,
4431,
49,
6203,
18,
1289,
6286,
12,
22851,
9267,
6286,
1769,
202,
202,
22851,
9267,
6286,
18,
8705,
10125,
18,
542,
6861,
12,
21,
1769,
202,
202,
5768,
4431,
49,
6203,
18,
8705,
5621,
202,
202,
17758,
18,
8705,
921,
12,
22851,
9267,
6286,
1769,
202,
97,
2,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
15608,
815,
8097,
774,
9267,
28061,
1435,
1216,
4206,
288,
202,
202,
9865,
9267,
6286,
5416,
9267,
6286,
273,
394,
7867,
9267,
6286,
5621,
202,
202,
5768,
4431,
49,
6203,
18,
1289,
6286,
12,
22851,
9267,
6286,
1769,
202,
202,
22851,
9267,
6286,
18,
8705,
10125,
18,
542,
6861,
12,
21,
1769,
202,
202,
5768,
4431,
49,
6203,
18,
8705,
5621,
202,
202,
17758,
18,
8705,
921,
12,
22851,
9267,
6286,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
DefaultActionGroup group = new DefaultActionGroup(); | final DefaultActionGroup group = new DefaultActionGroup(); | public void actionPerformed(AnActionEvent e) { DefaultActionGroup group = new DefaultActionGroup(); fillActions(null, group); final ListPopup popup = ActionListPopup.createListPopup(e.getPresentation().getText(), group, e.getDataContext(), true, true); Component focusedComponent = e.getInputEvent().getComponent(); Rectangle r; int x; int y; if (focusedComponent != null) { r = focusedComponent.getBounds(); x = r.x; y = r.y + r.height; } else { focusedComponent = WindowManagerEx.getInstanceEx().getFocusedComponent((Project)null); r = WindowManagerEx.getInstanceEx().getScreenBounds(); x = r.x + r.width / 2; y = r.y + r.height / 2; } Point point = new Point(x, y); SwingUtilities.convertPointToScreen(point, focusedComponent.getParent()); popup.getWindow().pack(); popup.show(point.x, point.y); } | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/febe7a7376553c9958ec3d5e152aa4b8bb0ec823/GetFromVcsAction.java/buggy/source/com/intellij/openapi/wm/impl/welcomeScreen/GetFromVcsAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
26100,
12,
979,
1803,
1133,
425,
13,
288,
565,
727,
2989,
1803,
1114,
1041,
273,
394,
2989,
1803,
1114,
5621,
565,
3636,
6100,
12,
2011,
16,
1041,
1769,
565,
727,
987,
13770,
10431,
273,
4382,
682,
13770,
18,
2640,
682,
13770,
12,
73,
18,
588,
6351,
367,
7675,
588,
1528,
9334,
1041,
16,
425,
18,
588,
751,
1042,
9334,
638,
16,
638,
1769,
565,
5435,
22397,
1841,
273,
425,
18,
588,
1210,
1133,
7675,
588,
1841,
5621,
565,
13264,
436,
31,
565,
509,
619,
31,
565,
509,
677,
31,
565,
309,
261,
74,
14569,
1841,
480,
446,
13,
288,
1377,
436,
273,
22397,
1841,
18,
588,
5694,
5621,
1377,
619,
273,
436,
18,
92,
31,
1377,
677,
273,
436,
18,
93,
397,
436,
18,
4210,
31,
565,
289,
469,
288,
1377,
22397,
1841,
273,
6076,
1318,
424,
18,
588,
1442,
424,
7675,
588,
30946,
1841,
12443,
4109,
13,
2011,
1769,
1377,
436,
273,
6076,
1318,
424,
18,
588,
1442,
424,
7675,
588,
7956,
5694,
5621,
1377,
619,
273,
436,
18,
92,
397,
436,
18,
2819,
342,
576,
31,
1377,
677,
273,
436,
18,
93,
397,
436,
18,
4210,
342,
576,
31,
565,
289,
565,
4686,
1634,
273,
394,
4686,
12,
92,
16,
677,
1769,
565,
26145,
11864,
18,
6283,
2148,
774,
7956,
12,
1153,
16,
22397,
1841,
18,
588,
3054,
10663,
565,
10431,
18,
588,
3829,
7675,
2920,
5621,
565,
10431,
18,
4500,
12,
1153,
18,
92,
16,
1634,
18,
93,
1769,
225,
289,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26100,
12,
979,
1803,
1133,
425,
13,
288,
565,
727,
2989,
1803,
1114,
1041,
273,
394,
2989,
1803,
1114,
5621,
565,
3636,
6100,
12,
2011,
16,
1041,
1769,
565,
727,
987,
13770,
10431,
273,
4382,
682,
13770,
18,
2640,
682,
13770,
12,
73,
18,
588,
6351,
367,
7675,
588,
1528,
9334,
1041,
16,
425,
18,
588,
751,
1042,
9334,
638,
16,
638,
1769,
565,
5435,
22397,
1841,
273,
425,
18,
588,
1210,
1133,
7675,
588,
1841,
5621,
565,
13264,
436,
31,
565,
509,
619,
31,
565,
509,
677,
31,
565,
309,
261,
74,
14569,
1841,
480,
446,
13,
288,
1377,
436,
273,
22397,
1841,
18,
588,
5694,
5621,
1377,
619,
273,
436,
18,
92,
31,
1377,
2
] |
public void setBoolean(String _key, Boolean _value) { | public void setBoolean(String _key, Boolean _value, int _booleanStyle) { | public void setBoolean(String _key, Boolean _value) { if (_value == null) { myBackingMap.remove(_value); } else { myBackingMap.put(_key, _value.booleanValue() ? "YES" : "NO"); //$NON-NLS-1$ //$NON-NLS-2$ } } | 50596 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50596/d4baf09fd4601817abef5e90b53ca0c30bc3403f/EOModelMap.java/clean/wolips/plugins/org.objectstyle.wolips.eomodeler/java/org/objectstyle/wolips/eomodeler/model/EOModelMap.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
5507,
12,
780,
389,
856,
16,
3411,
389,
1132,
16,
509,
389,
6494,
2885,
13,
288,
565,
309,
261,
67,
1132,
422,
446,
13,
288,
1377,
3399,
2711,
310,
863,
18,
4479,
24899,
1132,
1769,
565,
289,
565,
469,
288,
1377,
3399,
2711,
310,
863,
18,
458,
24899,
856,
16,
389,
1132,
18,
6494,
620,
1435,
692,
315,
29081,
6,
294,
315,
3417,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
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,
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,
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,
5507,
12,
780,
389,
856,
16,
3411,
389,
1132,
16,
509,
389,
6494,
2885,
13,
288,
565,
309,
261,
67,
1132,
422,
446,
13,
288,
1377,
3399,
2711,
310,
863,
18,
4479,
24899,
1132,
1769,
565,
289,
565,
469,
288,
1377,
3399,
2711,
310,
863,
18,
458,
24899,
856,
16,
389,
1132,
18,
6494,
620,
1435,
692,
315,
29081,
6,
294,
315,
3417,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (getPlayer(conn.getId()) != null) { disconnected(getPlayer(conn.getId())); | Player player = getPlayer(conn.getId()); if (null != player) { disconnected( player ); | public void disconnected(Connection conn) { // write something in the log System.out.println("s: connection " + conn.getId() + " disconnected"); // kill the connection and remove it from any lists it might be on conn.die(); connections.removeElement(conn); connectionsPending.removeElement(conn); connectionIds.remove(new Integer(conn.getId())); // if there's a player for this connection, remove it too if (getPlayer(conn.getId()) != null) { disconnected(getPlayer(conn.getId())); } } | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/9bb322b9f0a41a405ca2b07f5889727ac9a3267b/Server.java/buggy/megamek/src/megamek/server/Server.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
17853,
12,
1952,
1487,
13,
288,
3639,
368,
1045,
5943,
316,
326,
613,
3639,
2332,
18,
659,
18,
8222,
2932,
87,
30,
1459,
315,
397,
1487,
18,
26321,
1435,
397,
315,
17853,
8863,
7734,
368,
8673,
326,
1459,
471,
1206,
518,
628,
1281,
6035,
518,
4825,
506,
603,
3639,
1487,
18,
72,
1385,
5621,
3639,
5921,
18,
4479,
1046,
12,
4646,
1769,
3639,
5921,
8579,
18,
4479,
1046,
12,
4646,
1769,
3639,
1459,
2673,
18,
4479,
12,
2704,
2144,
12,
4646,
18,
26321,
1435,
10019,
7734,
368,
309,
1915,
1807,
279,
7291,
364,
333,
1459,
16,
1206,
518,
4885,
3639,
309,
261,
588,
12148,
12,
4646,
18,
26321,
10756,
480,
446,
13,
288,
5411,
17853,
12,
588,
12148,
12,
4646,
18,
26321,
1435,
10019,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
17853,
12,
1952,
1487,
13,
288,
3639,
368,
1045,
5943,
316,
326,
613,
3639,
2332,
18,
659,
18,
8222,
2932,
87,
30,
1459,
315,
397,
1487,
18,
26321,
1435,
397,
315,
17853,
8863,
7734,
368,
8673,
326,
1459,
471,
1206,
518,
628,
1281,
6035,
518,
4825,
506,
603,
3639,
1487,
18,
72,
1385,
5621,
3639,
5921,
18,
4479,
1046,
12,
4646,
1769,
3639,
5921,
8579,
18,
4479,
1046,
12,
4646,
1769,
3639,
1459,
2673,
18,
4479,
12,
2704,
2144,
12,
4646,
18,
26321,
1435,
10019,
7734,
368,
309,
1915,
1807,
279,
7291,
364,
333,
1459,
16,
1206,
518,
4885,
3639,
309,
261,
588,
12148,
12,
4646,
18,
26321,
10756,
480,
446,
13,
288,
5411,
17853,
12,
2
] |
myFix = fix; | if (fixes != null) { myFixes = new LocalQuickFix[fixes.length]; System.arraycopy(fixes, 0, myFixes, 0, fixes.length); } else { myFixes = null; } | public ProblemDescriptorImpl(PsiElement psiElement, String descriptionTemplate, LocalQuickFix fix, ProblemHighlightType highlightType) { LOG.assertTrue(psiElement.isValid()); LOG.assertTrue(psiElement.isPhysical()); TextRange range = psiElement.getTextRange(); if (range.getStartOffset() == range.getEndOffset()) { LOG.error("Empty PSI elements should not be passed to createDescriptor"); } myFix = fix; myHighlightType = highlightType; final Project project = psiElement.getProject(); mySmartPointer = SmartPointerManager.getInstance(project).createLazyPointer(psiElement); myDescriptionTemplate = descriptionTemplate; } | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/7d18937b6c277d5ef28a5ed5045f90e8b80e937a/ProblemDescriptorImpl.java/buggy/source/com/intellij/codeInspection/ex/ProblemDescriptorImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
21685,
3187,
2828,
12,
52,
7722,
1046,
23921,
1046,
16,
514,
2477,
2283,
16,
3566,
13663,
8585,
2917,
16,
21685,
16205,
559,
8839,
559,
13,
288,
565,
2018,
18,
11231,
5510,
12,
24275,
1046,
18,
26810,
10663,
565,
2018,
18,
11231,
5510,
12,
24275,
1046,
18,
291,
18136,
10663,
565,
3867,
2655,
1048,
273,
23921,
1046,
18,
588,
1528,
2655,
5621,
565,
309,
261,
3676,
18,
588,
1685,
2335,
1435,
422,
1048,
18,
588,
1638,
2335,
10756,
288,
1377,
2018,
18,
1636,
2932,
1921,
453,
2320,
2186,
1410,
486,
506,
2275,
358,
752,
3187,
8863,
565,
289,
3639,
309,
261,
904,
281,
480,
446,
13,
288,
3399,
8585,
281,
273,
394,
3566,
13663,
8585,
63,
904,
281,
18,
2469,
15533,
2332,
18,
1126,
3530,
12,
904,
281,
16,
374,
16,
3399,
8585,
281,
16,
374,
16,
24436,
18,
2469,
1769,
289,
469,
288,
3399,
8585,
281,
273,
446,
31,
289,
377,
3399,
16205,
559,
273,
8839,
559,
31,
565,
727,
5420,
1984,
273,
23921,
1046,
18,
588,
4109,
5621,
565,
3399,
23824,
4926,
273,
19656,
4926,
1318,
18,
588,
1442,
12,
4406,
2934,
2640,
14443,
4926,
12,
24275,
1046,
1769,
565,
3399,
3291,
2283,
273,
2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2917,
16,
21685,
16205,
559,
8839,
559,
13,
288,
565,
2018,
18,
11231,
5510,
12,
24275,
1046,
18,
26810,
10663,
565,
2018,
18,
11231,
5510,
12,
24275,
1046,
18,
291,
18136,
10663,
565,
3867,
2655,
1048,
273,
23921,
1046,
18,
588,
1528,
2655,
5621,
565,
309,
261,
3676,
18,
588,
1685,
2335,
1435,
422,
1048,
18,
588,
1638,
2335,
10756,
288,
1377,
2018,
18,
1636,
2932,
1921,
453,
2320,
2186,
1410,
486,
506,
2275,
358,
752,
3187,
8863,
565,
289,
3639,
309,
261,
904,
281,
480,
446,
13,
288,
3399,
8585,
281,
273,
394,
3566,
13663,
8585,
63,
904,
281,
2
] |
headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".Accept"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".AcceptList")); | headerListTable.put(WWWAuthenticate.class, WWWAuthenticateList.class); | static private void initializeListMap() { /* * Build a table mapping between objects that have a list form * and the class of such objects. */ headerListTable = new Hashtable(); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE +".ExtensionHeaderImpl"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".ExtensionHeaderList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE +".Contact"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".ContactList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".ContentEncoding"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".ContentEncodingList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".Via"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".ViaList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".WWWAuthenticate"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".WWWAuthenticateList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".Accept"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".AcceptList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".AcceptEncoding"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".AcceptEncodingList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".AcceptLanguage"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".AcceptLanguageList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".ProxyRequire"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".ProxyRequireList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".Route"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".RouteList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".Require"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".RequireList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".Warning"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".WarningList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".Unsupported"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".UnsupportedList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".AlertInfo"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".AlertInfoList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".CallInfo"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".CallInfoList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".ProxyAuthenticate"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE +".ProxyAuthenticateList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".ProxyAuthorization"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE +".ProxyAuthorizationList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".Authorization"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE +".AuthorizationList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".Allow"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".AllowList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".RecordRoute"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".RecordRouteList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".ContentLanguage"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".ContentLanguageList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".ErrorInfo"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".ErrorInfoList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".Supported"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".SupportedList")); headerListTable.put( GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".InReplyTo"), GenericObject.getClassFromName (SIPHEADERS_PACKAGE + ".InReplyToList")); initialized = true; } | 3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/68c0ca844a7d5fe4a7744cbf9898184966ce0680/ListMap.java/buggy/src/gov/nist/javax/sip/message/ListMap.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3639,
760,
3238,
918,
4046,
682,
863,
1435,
288,
202,
565,
1748,
9785,
380,
3998,
279,
1014,
2874,
3086,
2184,
716,
1240,
279,
666,
646,
202,
377,
380,
471,
326,
667,
434,
4123,
2184,
18,
202,
377,
1195,
202,
565,
1446,
682,
1388,
273,
394,
18559,
5621,
202,
565,
1446,
682,
1388,
18,
458,
12,
202,
202,
7014,
921,
18,
588,
797,
29732,
1082,
202,
12,
17739,
24619,
67,
19077,
397,
9654,
3625,
1864,
2828,
6,
3631,
202,
202,
7014,
921,
18,
588,
797,
29732,
1082,
202,
12,
17739,
24619,
67,
19077,
397,
3552,
3625,
1864,
682,
7923,
1769,
202,
565,
1446,
682,
1388,
18,
458,
12,
202,
202,
7014,
921,
18,
588,
797,
29732,
1082,
202,
12,
17739,
24619,
67,
19077,
397,
9654,
6567,
6,
3631,
202,
202,
7014,
921,
18,
588,
797,
29732,
1082,
202,
12,
17739,
24619,
67,
19077,
397,
3552,
6567,
682,
7923,
1769,
202,
565,
1446,
682,
1388,
18,
458,
12,
202,
202,
7014,
921,
18,
588,
797,
29732,
1082,
202,
12,
17739,
24619,
67,
19077,
397,
3552,
1350,
4705,
6,
3631,
202,
202,
7014,
921,
18,
588,
797,
29732,
1082,
202,
12,
17739,
24619,
67,
19077,
397,
3552,
1350,
4705,
682,
7923,
1769,
202,
565,
1446,
682,
1388,
18,
458,
12,
202,
202,
7014,
921,
18,
588,
797,
29732,
1082,
202,
12,
17739,
24619,
67,
19077,
397,
3552,
21246,
6,
3631,
202,
202,
7014,
921,
18,
588,
797,
29732,
1082,
202,
12,
17739,
24619,
67,
19077,
397,
3552,
21246,
682,
7923,
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,
3639,
760,
3238,
918,
4046,
682,
863,
1435,
288,
202,
565,
1748,
9785,
380,
3998,
279,
1014,
2874,
3086,
2184,
716,
1240,
279,
666,
646,
202,
377,
380,
471,
326,
667,
434,
4123,
2184,
18,
202,
377,
1195,
202,
565,
1446,
682,
1388,
273,
394,
18559,
5621,
202,
565,
1446,
682,
1388,
18,
458,
12,
202,
202,
7014,
921,
18,
588,
797,
29732,
1082,
202,
12,
17739,
24619,
67,
19077,
397,
9654,
3625,
1864,
2828,
6,
3631,
202,
202,
7014,
921,
18,
588,
797,
29732,
1082,
202,
12,
17739,
24619,
67,
19077,
397,
3552,
3625,
1864,
682,
7923,
1769,
202,
565,
1446,
682,
1388,
18,
458,
12,
202,
202,
7014,
921,
18,
588,
797,
29732,
1082,
202,
12,
17739,
2
] |
public java.util.List listMissingTargetTables() { logger.error("listMissingTargetTables is not implemented"); return java.util.Collections.EMPTY_LIST; | public List listMissingTargetTables() throws SQLException, ArchitectException { List missingTables = new LinkedList(); Iterator targetTableIt = playpen.getDatabase().getTables().iterator(); while (targetTableIt.hasNext()) { SQLTable t = (SQLTable) targetTableIt.next(); String tableStatus = checkTargetTable(t); if (tableStatus != null) { missingTables.add(tableStatus); } } return missingTables; | public java.util.List listMissingTargetTables() { logger.error("listMissingTargetTables is not implemented"); return java.util.Collections.EMPTY_LIST; } | 53257 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53257/f39aa04026bb8f1fc765819d8be21cb219970dd6/ExportPLTransAction.java/clean/src/ca/sqlpower/architect/swingui/ExportPLTransAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
1367,
18,
682,
666,
4841,
2326,
6905,
1435,
288,
202,
202,
4901,
18,
1636,
2932,
1098,
4841,
2326,
6905,
353,
486,
8249,
8863,
202,
202,
2463,
2252,
18,
1367,
18,
15150,
18,
13625,
67,
7085,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2252,
18,
1367,
18,
682,
666,
4841,
2326,
6905,
1435,
288,
202,
202,
4901,
18,
1636,
2932,
1098,
4841,
2326,
6905,
353,
486,
8249,
8863,
202,
202,
2463,
2252,
18,
1367,
18,
15150,
18,
13625,
67,
7085,
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
] |
text += " <element name=\"Description\" type=\"12\" value=\""+descriptionIdentified+"\" />\n"; | text.append(" <element name=\"Description\" type=\"12\" value=\""+descriptionIdentified+"\" />\n"); | public String toXML(){ String text = ""; text += "<gff name=\""+resRef+".uti\" type=\"UTI \" version=\"V3.2\" >\n"; text += " <struct id=\"-1\" >\n"; text += " <element name=\"TemplateResRef\" type=\"11\" value=\""+resRef+"\" />\n"; text += " <element name=\"BaseItem\" type=\"5\" value=\""+baseItem+"\" />\n"; if(!name.matches("[0-9.\-]")){ text += " <element name=\"LocalizedName\" type=\"12\" value=\"-1\" >\n"; text += " <localString languageId=\"0\" value=\""+name+"\" />\n"; text += " </element>\n"; } else { text += " <element name=\"LocalizedName\" type=\"12\" value=\""+name+"\" />\n"; } if(!description.matches("[0-9.\-]")){ text += " <element name=\"Description\" type=\"12\" value=\"-1\" >\n"; text += " <localString languageId=\"0\" value=\""+description+"\" />\n"; text += " </element>\n"; } else { text += " <element name=\"Description\" type=\"12\" value=\""+descriptionIdentified+"\" />\n"; } if(!descriptionIdentified.matches("[0-9.\-]")){ text += " <element name=\"DescIdentified\" type=\"12\" value=\"-1\" >\n"; text += " <localString languageId=\"0\" value=\""+descriptionIdentified+"\" />\n"; text += " </element>\n"; } else { text += " <element name=\"DescIdentified\" type=\"12\" value=\""+descriptionIdentified+"\" />\n"; } text += " <element name=\"Tag\" type=\"10\" value=\""+tag+"\" />\n"; text += " <element name=\"Charges\" type=\"0\" value=\""+charges+"\" />\n"; text += " <element name=\"Cost\" type=\"4\" value=\""+cost+"\" />\n"; text += " <element name=\"Stolen\" type=\"0\" value=\""+stolen+"\" />\n"; text += " <element name=\"StackSize\" type=\"2\" value=\""+stackSize+"\" />\n"; text += " <element name=\"Plot\" type=\"0\" value=\""+plot+"\" />\n"; text += " <element name=\"AddCost\" type=\"4\" value=\""+addCost+"\" />\n"; text += " <element name=\"Identified\" type=\"0\" value=\""+identified+"\" />\n"; text += " <element name=\"Cursed\" type=\"0\" value=\""+cursed+"\" />\n"; if(rig.baseitem2da.getBiowareEntry("ModelType", baseItem) == "0"){ //simple icon text += " <element name=\"ModelPart1\" type=\"0\" value=\""+part1+"\" />\n"; } else if(rig.baseitem2da.getBiowareEntry("ModelType", baseItem) == "1"){ //color icon text += " <element name=\"ModelPart1\" type=\"0\" value=\""+part1+"\" />\n"; text += " <element name=\"Leather1Color\" type=\"0\" value=\""+colorLeather1+"\" />\n"; text += " <element name=\"Leather2Color\" type=\"0\" value=\""+colorLeather2+"\" />\n"; text += " <element name=\"Cloth1Color\" type=\"0\" value=\""+colorCloth1+"\" />\n"; text += " <element name=\"Cloth2Color\" type=\"0\" value=\""+colorCloth2+"\" />\n"; text += " <element name=\"Metal1Color\" type=\"0\" value=\""+colorMetal1+"\" />\n"; text += " <element name=\"Metal2Color\" type=\"0\" value=\""+colorMetal2+"\" />\n"; } else if(rig.baseitem2da.getBiowareEntry("ModelType", baseItem) == "2"){ //multiple parts //uses 11 instead of part1,2,3 because it has to have a tens for the model //and a units for the color text += " <element name=\"ModelPart1\" type=\"0\" value=\""+11+"\" />\n"; text += " <element name=\"ModelPart2\" type=\"0\" value=\""+11+"\" />\n"; text += " <element name=\"ModelPart3\" type=\"0\" value=\""+11+"\" />\n"; } else if(rig.baseitem2da.getBiowareEntry("ModelType", baseItem) == "3"){ //armor } text += " <element name=\"PropertiesList\" type=\"15\" />\n"; for(int i = 0 ; i < propertiesList.length ; i++){ text += propertiesList[i].toXML(); } text += " <element name=\"PaletteID\" type=\"0\" value=\""+paletteID+"\" />\n"; text += " <element name=\"Comment\" type=\"10\" value=\""+comment+"\" />\n"; text += " </struct>\n"; text += "</gff>\n"; return text; } | 9794 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9794/94ffc6583e71177ddaa6f110c7d111ee5609f7e1/item.java/buggy/rmg/rmg/rig/item.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
30028,
1435,
95,
202,
202,
780,
977,
273,
1408,
31,
202,
202,
955,
1011,
3532,
75,
1403,
508,
13186,
15,
455,
1957,
9078,
18,
322,
77,
2412,
618,
5189,
1693,
45,
1239,
1177,
5189,
58,
23,
18,
22,
2412,
405,
64,
82,
14432,
202,
202,
955,
1011,
315,
565,
411,
1697,
612,
5189,
17,
21,
2412,
405,
64,
82,
14432,
202,
202,
955,
1011,
315,
3639,
411,
2956,
508,
5189,
2283,
607,
1957,
2412,
618,
5189,
2499,
2412,
460,
13186,
15,
455,
1957,
9078,
2412,
342,
5333,
82,
14432,
202,
202,
955,
1011,
315,
3639,
411,
2956,
508,
5189,
2171,
1180,
2412,
618,
5189,
25,
2412,
460,
13186,
15,
1969,
1180,
9078,
2412,
342,
5333,
82,
14432,
202,
202,
430,
12,
5,
529,
18,
8436,
2932,
63,
20,
17,
29,
8403,
17,
4279,
3719,
95,
202,
202,
955,
1011,
315,
3639,
411,
2956,
508,
5189,
2042,
1235,
461,
2412,
618,
5189,
2138,
2412,
460,
5189,
17,
21,
2412,
405,
64,
82,
14432,
202,
202,
955,
1011,
315,
5411,
411,
3729,
780,
23273,
5189,
20,
2412,
460,
13186,
15,
529,
9078,
2412,
342,
5333,
82,
14432,
202,
202,
955,
1011,
315,
3639,
7765,
2956,
5333,
82,
14432,
202,
202,
97,
469,
288,
202,
202,
955,
1011,
315,
3639,
411,
2956,
508,
5189,
2042,
1235,
461,
2412,
618,
5189,
2138,
2412,
460,
13186,
15,
529,
9078,
2412,
342,
5333,
82,
14432,
202,
202,
97,
202,
202,
430,
12,
5,
3384,
18,
8436,
2932,
63,
20,
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,
514,
30028,
1435,
95,
202,
202,
780,
977,
273,
1408,
31,
202,
202,
955,
1011,
3532,
75,
1403,
508,
13186,
15,
455,
1957,
9078,
18,
322,
77,
2412,
618,
5189,
1693,
45,
1239,
1177,
5189,
58,
23,
18,
22,
2412,
405,
64,
82,
14432,
202,
202,
955,
1011,
315,
565,
411,
1697,
612,
5189,
17,
21,
2412,
405,
64,
82,
14432,
202,
202,
955,
1011,
315,
3639,
411,
2956,
508,
5189,
2283,
607,
1957,
2412,
618,
5189,
2499,
2412,
460,
13186,
15,
455,
1957,
9078,
2412,
342,
5333,
82,
14432,
202,
202,
955,
1011,
315,
3639,
411,
2956,
508,
5189,
2171,
1180,
2412,
618,
5189,
25,
2412,
460,
13186,
15,
1969,
1180,
9078,
2412,
342,
5333,
2
] |
QueryPageInterface qpi = (QueryPageInterface)pageForConfigurationNamed(pageConfiguration, returnPage().session()); | QueryPageInterface qpi = (QueryPageInterface)pageForConfigurationNamed(pageConfiguration); | public WOComponent firstPage(String pageConfiguration) { QueryPageInterface qpi = (QueryPageInterface)pageForConfigurationNamed(pageConfiguration, returnPage().session()); qpi.setNextPageDelegate(this); return (WOComponent) qpi; } | 50512 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50512/1296780069bcad872913fb63b9311dbc902cb328/ERD2WControllerFactory.java/clean/Common/Frameworks/ERDirectToWeb/Sources/er/directtoweb/ERD2WControllerFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
678,
51,
1841,
1122,
1964,
12,
780,
1363,
1750,
13,
288,
5411,
2770,
1964,
1358,
1043,
7259,
273,
261,
1138,
1964,
1358,
13,
2433,
1290,
1750,
7604,
12,
2433,
1750,
1769,
5411,
1043,
7259,
18,
542,
21563,
9586,
12,
2211,
1769,
5411,
327,
261,
59,
51,
1841,
13,
1043,
7259,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
1358,
13,
2433,
1290,
1750,
7604,
12,
2433,
1750,
1769,
5411,
1043,
7259,
18,
542,
21563,
9586,
12,
2211,
1769,
5411,
327,
261,
59,
51,
1841,
13,
1043,
7259,
31,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
project.addReference( loaderName, acl ); | project.addReference(loaderName, acl); | public void execute() { try { // Gump friendly - don't mess with the core loader if only classpath if( "only".equals( project.getProperty("build.sysclasspath")) && (name==null || SYSTEM_LOADER_REF.equals( name ))) { log( "Changing the system loader is disabled " + "by build.sysclasspath=only", Project.MSG_WARN); return; } String loaderName=(name==null) ? SYSTEM_LOADER_REF : name; Object obj=project.getReference(loaderName); if( reset ) { // Are any other references held ? Can we 'close' the loader // so it removes the locks on jars ? obj=null; // a new one will be created. } // XXX maybe use reflection to addPathElement ( other patterns ?) if( obj!=null && !(obj instanceof AntClassLoader )) { log( "Referenced object is not an AntClassLoader", Project.MSG_ERR); return; } AntClassLoader acl=(AntClassLoader)obj; if( acl==null ) { // Construct a new class loader Object parent=null; if( parentName != null ) { parent=project.getReference(parentName); if( !(parent instanceof ClassLoader) ) { parent=null; } } // TODO: allow user to request the system or no parent if( parent==null ) { parent=this.getClass().getClassLoader(); } if( name==null ) { // The core loader must be reverse //reverse=true; } project.log("Setting parent loader " + name + " " + parent + " " + parentFirst, Project.MSG_DEBUG); // The param is "parentFirst" acl=new AntClassLoader( (ClassLoader)parent, project, classpath, parentFirst ); project.addReference( loaderName, acl ); if( name==null ) { // This allows the core loader to load optional tasks // without delegating acl.addLoaderPackageRoot( "org.apache.tools.ant.taskdefs.optional"); project.setCoreLoader(acl); } } if( classpath != null ) { String list[]=classpath.list(); for( int i=0; i<list.length; i++ ) { File f= new File( list[i] ); if( f.exists() ) { acl.addPathElement(f.getAbsolutePath()); log("Adding to class loader " + acl + " " + f.getAbsolutePath(), Project.MSG_DEBUG); } } } // XXX add exceptions } catch( Exception ex ) { ex.printStackTrace(); } } | 17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/77db23b64b1c6031498058a2e35fb4240ef59e24/Classloader.java/clean/src/main/org/apache/tools/ant/taskdefs/Classloader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1435,
288,
3639,
775,
288,
5411,
368,
611,
2801,
13118,
300,
2727,
1404,
12755,
598,
326,
2922,
4088,
309,
1338,
10006,
5411,
309,
12,
315,
3700,
9654,
14963,
12,
1984,
18,
588,
1396,
2932,
3510,
18,
9009,
1017,
459,
803,
6,
3719,
597,
10792,
261,
529,
631,
2011,
747,
18786,
67,
1502,
5483,
67,
10771,
18,
14963,
12,
508,
262,
3719,
288,
7734,
613,
12,
315,
782,
18183,
326,
2619,
4088,
353,
5673,
315,
397,
13491,
315,
1637,
1361,
18,
9009,
1017,
459,
803,
33,
3700,
3113,
13491,
5420,
18,
11210,
67,
27999,
1769,
7734,
327,
31,
5411,
289,
5411,
514,
4088,
461,
28657,
529,
631,
2011,
13,
692,
18786,
67,
1502,
5483,
67,
10771,
294,
508,
31,
5411,
1033,
1081,
33,
4406,
18,
588,
2404,
12,
6714,
461,
1769,
5411,
309,
12,
2715,
262,
288,
7734,
368,
12520,
1281,
1308,
5351,
15770,
692,
4480,
732,
296,
4412,
11,
326,
4088,
7734,
368,
1427,
518,
7157,
326,
13046,
603,
28838,
692,
7734,
1081,
33,
2011,
31,
368,
279,
394,
1245,
903,
506,
2522,
18,
5411,
289,
5411,
368,
11329,
6944,
999,
5463,
358,
25505,
1046,
261,
1308,
6884,
692,
13,
5411,
309,
12,
1081,
5,
33,
2011,
597,
401,
12,
2603,
1276,
18830,
7805,
8623,
288,
7734,
613,
12,
315,
22344,
733,
353,
486,
392,
18830,
7805,
3113,
13491,
5420,
18,
11210,
67,
9712,
1769,
7734,
327,
31,
5411,
289,
5411,
18830,
7805,
7895,
28657,
14925,
7805,
13,
2603,
31,
5411,
309,
12,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1435,
288,
3639,
775,
288,
5411,
368,
611,
2801,
13118,
300,
2727,
1404,
12755,
598,
326,
2922,
4088,
309,
1338,
10006,
5411,
309,
12,
315,
3700,
9654,
14963,
12,
1984,
18,
588,
1396,
2932,
3510,
18,
9009,
1017,
459,
803,
6,
3719,
597,
10792,
261,
529,
631,
2011,
747,
18786,
67,
1502,
5483,
67,
10771,
18,
14963,
12,
508,
262,
3719,
288,
7734,
613,
12,
315,
782,
18183,
326,
2619,
4088,
353,
5673,
315,
397,
13491,
315,
1637,
1361,
18,
9009,
1017,
459,
803,
33,
3700,
3113,
13491,
5420,
18,
11210,
67,
27999,
1769,
7734,
327,
31,
5411,
289,
5411,
514,
4088,
461,
28657,
529,
631,
2011,
13,
692,
18786,
67,
1502,
5483,
67,
10771,
2
] |
public TA_RetCode PLUS_DI( int startIdx, int endIdx, double inHigh[], double inLow[], double inClose[], int optInTimePeriod, MInteger outBegIdx, MInteger outNbElement, double outReal[] ){ int today, lookbackTotal, outIdx; double prevHigh, prevLow, prevClose; double prevPlusDM, prevTR; double tempReal, tempReal2, diffP, diffM; int i; 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 = 14; else if( ((int)optInTimePeriod < 1) || ((int)optInTimePeriod > 100000) ) return TA_RetCode. TA_BAD_PARAM; if( optInTimePeriod > 1 ) lookbackTotal = optInTimePeriod + (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_PLUS_DI.ordinal()]) ; else lookbackTotal = 1; if( startIdx < lookbackTotal ) startIdx = lookbackTotal; if( startIdx > endIdx ) { outBegIdx.value = 0 ; outNbElement.value = 0 ; return TA_RetCode. TA_SUCCESS; } outIdx = 0; if( optInTimePeriod <= 1 ) { outBegIdx.value = startIdx; today = startIdx-1; prevHigh = inHigh[today]; prevLow = inLow[today]; prevClose = inClose[today]; while( today < endIdx ) { today++; tempReal = inHigh[today]; diffP = tempReal-prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow-tempReal; prevLow = tempReal; if( (diffP > 0) && (diffP > diffM) ) { { tempReal = prevHigh-prevLow; tempReal2 = Math.abs (prevHigh-prevClose); if( tempReal2 > tempReal ) tempReal = tempReal2; tempReal2 = Math.abs (prevLow-prevClose); if( tempReal2 > tempReal ) tempReal = tempReal2; } ; if( (((-0.00000001)<tempReal)&&(tempReal<0.00000001)) ) outReal[outIdx++] = (double)0.0; else outReal[outIdx++] = diffP/tempReal; } else outReal[outIdx++] = (double)0.0; prevClose = inClose[today]; } outNbElement.value = outIdx; return TA_RetCode. TA_SUCCESS; } outBegIdx.value = today = startIdx; prevPlusDM = 0.0; prevTR = 0.0; today = startIdx - lookbackTotal; prevHigh = inHigh[today]; prevLow = inLow[today]; prevClose = inClose[today]; i = optInTimePeriod-1; while( i-- > 0 ) { today++; tempReal = inHigh[today]; diffP = tempReal-prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow-tempReal; prevLow = tempReal; if( (diffP > 0) && (diffP > diffM) ) { prevPlusDM += diffP; } { tempReal = prevHigh-prevLow; tempReal2 = Math.abs (prevHigh-prevClose); if( tempReal2 > tempReal ) tempReal = tempReal2; tempReal2 = Math.abs (prevLow-prevClose); if( tempReal2 > tempReal ) tempReal = tempReal2; } ; prevTR += tempReal; prevClose = inClose[today]; } i = (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_PLUS_DI.ordinal()]) + 1; while( i-- != 0 ) { today++; tempReal = inHigh[today]; diffP = tempReal-prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow-tempReal; prevLow = tempReal; if( (diffP > 0) && (diffP > diffM) ) { prevPlusDM = prevPlusDM - (prevPlusDM/optInTimePeriod) + diffP; } else { prevPlusDM = prevPlusDM - (prevPlusDM/optInTimePeriod); } { tempReal = prevHigh-prevLow; tempReal2 = Math.abs (prevHigh-prevClose); if( tempReal2 > tempReal ) tempReal = tempReal2; tempReal2 = Math.abs (prevLow-prevClose); if( tempReal2 > tempReal ) tempReal = tempReal2; } ; prevTR = prevTR - (prevTR/optInTimePeriod) + tempReal; prevClose = inClose[today]; } if( ! (((-0.00000001)<prevTR)&&(prevTR<0.00000001)) ) outReal[0] = (100.0*(prevPlusDM/prevTR)) ; else outReal[0] = 0.0; outIdx = 1; while( today < endIdx ) { today++; tempReal = inHigh[today]; diffP = tempReal-prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow-tempReal; prevLow = tempReal; if( (diffP > 0) && (diffP > diffM) ) { prevPlusDM = prevPlusDM - (prevPlusDM/optInTimePeriod) + diffP; } else { prevPlusDM = prevPlusDM - (prevPlusDM/optInTimePeriod); } { tempReal = prevHigh-prevLow; tempReal2 = Math.abs (prevHigh-prevClose); if( tempReal2 > tempReal ) tempReal = tempReal2; tempReal2 = Math.abs (prevLow-prevClose); if( tempReal2 > tempReal ) tempReal = tempReal2; } ; prevTR = prevTR - (prevTR/optInTimePeriod) + tempReal; prevClose = inClose[today]; if( ! (((-0.00000001)<prevTR)&&(prevTR<0.00000001)) ) outReal[outIdx++] = (100.0*(prevPlusDM/prevTR)) ; else outReal[outIdx++] = 0.0; } outNbElement.value = outIdx; return TA_RetCode. TA_SUCCESS;} | 7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/1bccb7a13486c61b10e8ebdf0c938797539a3f3d/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1071,
399,
37,
67,
7055,
1085,
22443,
3378,
67,
2565,
12,
509,
27108,
16,
509,
679,
4223,
16,
1645,
316,
8573,
63,
6487,
1645,
316,
10520,
63,
6487,
1645,
316,
4605,
63,
6487,
509,
2153,
382,
26540,
16,
490,
4522,
596,
24059,
4223,
16,
490,
4522,
596,
22816,
1046,
16,
1645,
29205,
8526,
262,
95,
509,
10074,
16,
2324,
823,
5269,
16,
596,
4223,
31,
1645,
2807,
8573,
16,
2807,
10520,
16,
2807,
4605,
31,
1645,
2807,
13207,
16125,
16,
2807,
4349,
31,
1645,
31497,
16,
31497,
22,
16,
3122,
52,
16,
3122,
49,
31,
509,
277,
31,
309,
12,
27108,
411,
374,
262,
327,
9833,
67,
7055,
1085,
18,
399,
37,
67,
5069,
67,
3932,
67,
15928,
67,
7570,
67,
9199,
31,
309,
12,
261,
409,
4223,
411,
374,
13,
747,
261,
409,
4223,
411,
27108,
3719,
327,
9833,
67,
7055,
1085,
18,
399,
37,
67,
5069,
67,
3932,
67,
15928,
67,
4415,
67,
9199,
31,
309,
12,
261,
474,
13,
3838,
382,
26540,
422,
12,
2144,
18,
6236,
67,
4051,
8623,
2153,
382,
26540,
273,
5045,
31,
469,
309,
12,
14015,
474,
13,
3838,
382,
26540,
411,
404,
13,
747,
14015,
474,
13,
3838,
382,
26540,
405,
25259,
13,
262,
327,
9833,
67,
7055,
1085,
18,
399,
37,
67,
16234,
67,
8388,
31,
309,
12,
2153,
382,
26540,
405,
404,
262,
2324,
823,
5269,
273,
2153,
382,
26540,
397,
12,
2211,
18,
318,
15021,
5027,
63,
9833,
67,
2622,
984,
334,
548,
18,
9833,
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,
399,
37,
67,
7055,
1085,
22443,
3378,
67,
2565,
12,
509,
27108,
16,
509,
679,
4223,
16,
1645,
316,
8573,
63,
6487,
1645,
316,
10520,
63,
6487,
1645,
316,
4605,
63,
6487,
509,
2153,
382,
26540,
16,
490,
4522,
596,
24059,
4223,
16,
490,
4522,
596,
22816,
1046,
16,
1645,
29205,
8526,
262,
95,
509,
10074,
16,
2324,
823,
5269,
16,
596,
4223,
31,
1645,
2807,
8573,
16,
2807,
10520,
16,
2807,
4605,
31,
1645,
2807,
13207,
16125,
16,
2807,
4349,
31,
1645,
31497,
16,
31497,
22,
16,
3122,
52,
16,
3122,
49,
31,
509,
277,
31,
309,
12,
27108,
411,
374,
262,
327,
9833,
67,
7055,
1085,
18,
399,
37,
67,
5069,
67,
3932,
67,
15928,
2
] |
||
this.configMap.put( paramName, paramValue ); | try { Object paramValueObj = ParameterValidationUtil .validate( parameter.getDataType( ), parameter.getPattern( ), paramValue, ULocale.US ); paramValue = ParameterValidationUtil .getDisplayValue( parameter .getDataType( ), parameter .getPattern( ), paramValueObj, locale ); this.configMap.put( paramName, paramValue ); } catch ( Exception err ) { } | protected void parseConfigVars( HttpServletRequest request ) { assert reportDesignHandle != null; // get report config filename String reportConfigName = this.reportDesignName.replaceFirst( IBirtConstants.SUFFIX_DESIGN_FILE, IBirtConstants.SUFFIX_DESIGN_CONFIG ); // Generate the session handle SessionHandle sessionHandle = DesignEngine.newSession( ULocale.US ); ReportDesignHandle handle = null; try { this.configMap = new HashMap( ); // Open report config file handle = sessionHandle.openDesign( reportConfigName ); // initial config map if ( handle != null ) { Iterator configVars = handle.configVariablesIterator( ); while ( configVars != null && configVars.hasNext( ) ) { ConfigVariableHandle configVar = (ConfigVariableHandle) configVars .next( ); if ( configVar != null && configVar.getName( ) != null ) { // check the parameter whether exist or not String paramName = getParameterName( configVar .getName( ) ); Object paramValue = configVar.getValue( ); if ( paramName != null && paramValue != null ) { this.configMap.put( paramName, paramValue ); } } } handle.close( ); } } catch ( Exception e ) { // Close handle try { if ( handle != null ) handle.close( ); } catch ( Exception err ) { } } } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/8c417ffcb7487ce35684948e66f0434fba54e556/ViewerAttributeBean.java/clean/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1109,
809,
5555,
12,
9984,
590,
262,
202,
95,
202,
202,
11231,
2605,
15478,
3259,
480,
446,
31,
202,
202,
759,
336,
2605,
642,
1544,
202,
202,
780,
2605,
809,
461,
273,
333,
18,
6006,
15478,
461,
18,
2079,
3759,
12,
9506,
202,
13450,
2714,
2918,
18,
14964,
67,
1639,
11260,
67,
3776,
16,
9506,
202,
13450,
2714,
2918,
18,
14964,
67,
1639,
11260,
67,
7203,
11272,
202,
202,
759,
6654,
326,
1339,
1640,
202,
202,
2157,
3259,
1339,
3259,
273,
29703,
4410,
18,
2704,
2157,
12,
29145,
18,
3378,
11272,
202,
202,
4820,
15478,
3259,
1640,
273,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
2211,
18,
1425,
863,
273,
394,
4317,
12,
11272,
1082,
202,
759,
3502,
2605,
642,
585,
1082,
202,
4110,
273,
1339,
3259,
18,
3190,
15478,
12,
2605,
809,
461,
11272,
1082,
202,
759,
2172,
642,
852,
1082,
202,
430,
261,
1640,
480,
446,
262,
1082,
202,
95,
9506,
202,
3198,
642,
5555,
273,
1640,
18,
1425,
6158,
3198,
12,
11272,
9506,
202,
17523,
261,
642,
5555,
480,
446,
597,
642,
5555,
18,
5332,
2134,
12,
262,
262,
9506,
202,
95,
6862,
202,
809,
3092,
3259,
642,
1537,
273,
261,
809,
3092,
3259,
13,
642,
5555,
6862,
1082,
202,
18,
4285,
12,
11272,
6862,
202,
430,
261,
642,
1537,
480,
446,
597,
642,
1537,
18,
17994,
12,
262,
480,
446,
262,
6862,
202,
95,
25083,
202,
759,
866,
326,
1569,
2856,
1005,
578,
486,
25083,
202,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1109,
809,
5555,
12,
9984,
590,
262,
202,
95,
202,
202,
11231,
2605,
15478,
3259,
480,
446,
31,
202,
202,
759,
336,
2605,
642,
1544,
202,
202,
780,
2605,
809,
461,
273,
333,
18,
6006,
15478,
461,
18,
2079,
3759,
12,
9506,
202,
13450,
2714,
2918,
18,
14964,
67,
1639,
11260,
67,
3776,
16,
9506,
202,
13450,
2714,
2918,
18,
14964,
67,
1639,
11260,
67,
7203,
11272,
202,
202,
759,
6654,
326,
1339,
1640,
202,
202,
2157,
3259,
1339,
3259,
273,
29703,
4410,
18,
2704,
2157,
12,
29145,
18,
3378,
11272,
202,
202,
4820,
15478,
3259,
1640,
273,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
2211,
18,
1425,
863,
273,
394,
4317,
2
] |
private void reportSyntaxWarning(String messageProperty, Object[] args) { | void reportSyntaxWarning(String messageProperty, Object[] args) { | private void reportSyntaxWarning(String messageProperty, Object[] args) { String message = Context.getMessage(messageProperty, args); Context.reportWarning(message, getSourceName(), getLineno(), getLine(), getOffset()); } | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/bed15cd94482037def85aa4b85cbcce47860e7fd/TokenStream.java/buggy/js/rhino/src/org/mozilla/javascript/TokenStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
2605,
8070,
6210,
12,
780,
883,
1396,
16,
1033,
8526,
833,
13,
288,
3639,
514,
883,
273,
1772,
18,
24906,
12,
2150,
1396,
16,
833,
1769,
3639,
1772,
18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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
2605,
8070,
6210,
12,
780,
883,
1396,
16,
1033,
8526,
833,
13,
288,
3639,
514,
883,
273,
1772,
18,
24906,
12,
2150,
1396,
16,
833,
1769,
3639,
1772,
18,
6006,
6210,
12,
2150,
16,
7889,
461,
9334,
17311,
9014,
267,
5764,
9334,
9851,
9334,
13386,
10663,
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
] |
extras.put( EnvKeys.PARTITIONS, "testing example" ); | attr = new BasicAttribute( "ou" ); attr.add( "testing" ); attrs.put( attr ); extras.put( EnvKeys.PARTITIONS, "testing example MixedCase" ); | public ServerContextFactoryTest() { BasicAttributes attrs = new BasicAttributes( true ); BasicAttribute attr = new BasicAttribute( "objectClass" ); attr.add( "top" ); attr.add( "organizationalUnit" ); attr.add( "extensibleObject" ); attrs.put( attr ); attr = new BasicAttribute( "ou" ); attr.add( "testing" ); attrs.put( attr ); extras.put( EnvKeys.PARTITIONS, "testing example" ); extras.put( EnvKeys.SUFFIX + "testing", "ou=testing" ); extras.put( EnvKeys.INDICES + "testing", "ou objectClass" ); extras.put( EnvKeys.ATTRIBUTES + "testing", attrs ); attrs = new BasicAttributes( true ); attr = new BasicAttribute( "objectClass" ); attr.add( "top" ); attr.add( "domain" ); attr.add( "extensibleObject" ); attrs.put( attr ); attr = new BasicAttribute( "dc" ); attr.add( "example" ); attrs.put( attr ); extras.put( EnvKeys.SUFFIX + "example", "dc=example" ); extras.put( EnvKeys.INDICES + "example", "ou dc objectClass" ); extras.put( EnvKeys.ATTRIBUTES + "example", attrs ); } | 10677 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10677/f5700ca9c184fb566af257c249998c4fd3721138/ServerContextFactoryTest.java/clean/core/src/test/org/apache/ldap/server/jndi/ServerContextFactoryTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3224,
29871,
4709,
1435,
565,
288,
3639,
7651,
2498,
3422,
273,
394,
7651,
2498,
12,
638,
11272,
3639,
7651,
1499,
1604,
273,
394,
7651,
1499,
12,
315,
1612,
797,
6,
11272,
3639,
1604,
18,
1289,
12,
315,
3669,
6,
11272,
3639,
1604,
18,
1289,
12,
315,
15336,
21612,
6,
11272,
3639,
1604,
18,
1289,
12,
315,
408,
773,
1523,
921,
6,
11272,
3639,
3422,
18,
458,
12,
1604,
11272,
3639,
1604,
273,
394,
7651,
1499,
12,
315,
1395,
6,
11272,
3639,
1604,
18,
1289,
12,
315,
3813,
310,
6,
11272,
3639,
3422,
18,
458,
12,
1604,
11272,
3639,
1604,
273,
394,
7651,
1499,
12,
315,
1395,
6,
11272,
225,
1604,
18,
1289,
12,
315,
3813,
310,
6,
11272,
225,
3422,
18,
458,
12,
1604,
11272,
225,
11875,
18,
458,
12,
5266,
2396,
18,
15055,
7022,
55,
16,
315,
3813,
310,
3454,
24725,
2449,
6,
11272,
540,
11875,
18,
458,
12,
5266,
2396,
18,
14964,
397,
315,
3813,
310,
3113,
315,
1395,
33,
3813,
310,
6,
11272,
3639,
11875,
18,
458,
12,
5266,
2396,
18,
2356,
11774,
55,
397,
315,
3813,
310,
3113,
315,
1395,
23992,
6,
11272,
3639,
11875,
18,
458,
12,
5266,
2396,
18,
22308,
397,
315,
3813,
310,
3113,
3422,
11272,
3639,
3422,
273,
394,
7651,
2498,
12,
638,
11272,
3639,
1604,
273,
394,
7651,
1499,
12,
315,
1612,
797,
6,
11272,
3639,
1604,
18,
1289,
12,
315,
3669,
6,
11272,
3639,
1604,
18,
1289,
12,
315,
4308,
6,
11272,
3639,
1604,
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,
3224,
29871,
4709,
1435,
565,
288,
3639,
7651,
2498,
3422,
273,
394,
7651,
2498,
12,
638,
11272,
3639,
7651,
1499,
1604,
273,
394,
7651,
1499,
12,
315,
1612,
797,
6,
11272,
3639,
1604,
18,
1289,
12,
315,
3669,
6,
11272,
3639,
1604,
18,
1289,
12,
315,
15336,
21612,
6,
11272,
3639,
1604,
18,
1289,
12,
315,
408,
773,
1523,
921,
6,
11272,
3639,
3422,
18,
458,
12,
1604,
11272,
3639,
1604,
273,
394,
7651,
1499,
12,
315,
1395,
6,
11272,
3639,
1604,
18,
1289,
12,
315,
3813,
310,
6,
11272,
3639,
3422,
18,
458,
12,
1604,
11272,
3639,
1604,
273,
394,
7651,
1499,
12,
315,
1395,
6,
11272,
225,
1604,
18,
1289,
12,
315,
3813,
310,
6,
2
] |
AST __t356 = _t; org.exist.xquery.parser.XQueryAST tmp62_AST_in = (org.exist.xquery.parser.XQueryAST)_t; | AST __t359 = _t; org.exist.xquery.parser.XQueryAST tmp67_AST_in = (org.exist.xquery.parser.XQueryAST)_t; | public final Expression pathExpr(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException,XPathException { Expression step; org.exist.xquery.parser.XQueryAST pathExpr_AST_in = (_t == ASTNULL) ? null : (org.exist.xquery.parser.XQueryAST)_t; org.exist.xquery.parser.XQueryAST qn = null; org.exist.xquery.parser.XQueryAST nc1 = null; org.exist.xquery.parser.XQueryAST nc = null; org.exist.xquery.parser.XQueryAST attr = null; org.exist.xquery.parser.XQueryAST nc2 = null; org.exist.xquery.parser.XQueryAST nc3 = null; Expression rightStep= null; step= null; int axis= Constants.CHILD_AXIS; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case WILDCARD: case PREFIX_WILDCARD: case NCNAME: case LITERAL_text: case LITERAL_node: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 124: case 125: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 129: case 130: case LITERAL_preceding: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 124: case 125: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 129: case 130: case LITERAL_preceding: { axis=forwardAxis(_t); _t = _retTree; break; } case QNAME: case WILDCARD: case PREFIX_WILDCARD: case NCNAME: case LITERAL_text: case LITERAL_node: { break; } default: { throw new NoViableAltException(_t); } } } NodeTest test; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: { qn = (org.exist.xquery.parser.XQueryAST)_t; match(_t,QNAME); _t = _t.getNextSibling(); QName qname= QName.parse(context, qn.getText()); test= new NameTest(Type.ELEMENT, qname); break; } case PREFIX_WILDCARD: { AST __t343 = _t; org.exist.xquery.parser.XQueryAST tmp51_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,PREFIX_WILDCARD); _t = _t.getFirstChild(); nc1 = (org.exist.xquery.parser.XQueryAST)_t; match(_t,NCNAME); _t = _t.getNextSibling(); _t = __t343; _t = _t.getNextSibling(); QName qname= new QName(nc1.getText(), null, null); test= new NameTest(Type.ELEMENT, qname); break; } case NCNAME: { AST __t344 = _t; nc = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,NCNAME); _t = _t.getFirstChild(); org.exist.xquery.parser.XQueryAST tmp52_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); _t = __t344; _t = _t.getNextSibling(); String namespaceURI= context.getURIForPrefix(nc.getText()); QName qname= new QName(null, namespaceURI, null); test= new NameTest(Type.ELEMENT, qname); break; } case WILDCARD: { org.exist.xquery.parser.XQueryAST tmp53_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); test= new TypeTest(Type.ELEMENT); break; } case LITERAL_node: { org.exist.xquery.parser.XQueryAST tmp54_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_node); _t = _t.getNextSibling(); test= new AnyNodeTest(); break; } case LITERAL_text: { org.exist.xquery.parser.XQueryAST tmp55_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_text); _t = _t.getNextSibling(); test= new TypeTest(Type.TEXT); break; } default: { throw new NoViableAltException(_t); } } } step= new LocationStep(context, axis, test); path.add(step); { _loop346: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep) step); _t = _retTree; } else { break _loop346; } } while (true); } break; } case AT: { org.exist.xquery.parser.XQueryAST tmp56_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,AT); _t = _t.getNextSibling(); QName qname= null; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: { attr = (org.exist.xquery.parser.XQueryAST)_t; match(_t,QNAME); _t = _t.getNextSibling(); qname= QName.parseAttribute(context, attr.getText()); break; } case WILDCARD: { org.exist.xquery.parser.XQueryAST tmp57_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); break; } case PREFIX_WILDCARD: { AST __t348 = _t; org.exist.xquery.parser.XQueryAST tmp58_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,PREFIX_WILDCARD); _t = _t.getFirstChild(); nc2 = (org.exist.xquery.parser.XQueryAST)_t; match(_t,NCNAME); _t = _t.getNextSibling(); _t = __t348; _t = _t.getNextSibling(); qname= new QName(nc2.getText(), null, null); break; } case NCNAME: { AST __t349 = _t; nc3 = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,NCNAME); _t = _t.getFirstChild(); org.exist.xquery.parser.XQueryAST tmp59_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); _t = __t349; _t = _t.getNextSibling(); String namespaceURI= context.getURIForPrefix(nc3.getText()); if (namespaceURI == null) throw new EXistException("No namespace defined for prefix " + nc3.getText()); qname= new QName(null, namespaceURI, null); break; } default: { throw new NoViableAltException(_t); } } } NodeTest test= qname == null ? new TypeTest(Type.ATTRIBUTE) : new NameTest(Type.ATTRIBUTE, qname); step= new LocationStep(context, Constants.ATTRIBUTE_AXIS, test); path.add(step); { _loop351: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep) step); _t = _retTree; } else { break _loop351; } } while (true); } break; } case SELF: { org.exist.xquery.parser.XQueryAST tmp60_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,SELF); _t = _t.getNextSibling(); step= new LocationStep(context, Constants.SELF_AXIS, new TypeTest(Type.NODE)); path.add(step); { _loop353: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep) step); _t = _retTree; } else { break _loop353; } } while (true); } break; } case PARENT: { org.exist.xquery.parser.XQueryAST tmp61_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,PARENT); _t = _t.getNextSibling(); step= new LocationStep(context, Constants.PARENT_AXIS, new TypeTest(Type.NODE)); path.add(step); { _loop355: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep) step); _t = _retTree; } else { break _loop355; } } while (true); } break; } case SLASH: { AST __t356 = _t; org.exist.xquery.parser.XQueryAST tmp62_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,SLASH); _t = _t.getFirstChild(); step=expr(_t,path); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case BEFORE: case AFTER: case NCNAME: case EQ: case STRING_LITERAL: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case LT: case GT: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GTEQ: case LTEQ: case LITERAL_is: case LITERAL_isnot: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 124: case 125: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 129: case 130: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case LITERAL_preceding: { rightStep=expr(_t,path); _t = _retTree; if (rightStep instanceof LocationStep) { if(((LocationStep) rightStep).getAxis() == -1) ((LocationStep) rightStep).setAxis(Constants.CHILD_AXIS); } else { //rightStep = new SimpleStep(context, Constants.CHILD_AXIS, rightStep); rightStep.setPrimaryAxis(Constants.CHILD_AXIS); //path.replaceLastExpression(rightStep); } break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t356; _t = _t.getNextSibling(); if (step instanceof LocationStep && ((LocationStep) step).getAxis() == -1) ((LocationStep) step).setAxis(Constants.CHILD_AXIS); break; } case DSLASH: { AST __t358 = _t; org.exist.xquery.parser.XQueryAST tmp63_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,DSLASH); _t = _t.getFirstChild(); step=expr(_t,path); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case BEFORE: case AFTER: case NCNAME: case EQ: case STRING_LITERAL: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case LT: case GT: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GTEQ: case LTEQ: case LITERAL_is: case LITERAL_isnot: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 124: case 125: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 129: case 130: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case LITERAL_preceding: { rightStep=expr(_t,path); _t = _retTree; if (rightStep instanceof LocationStep) { LocationStep rs= (LocationStep) rightStep; if (rs.getAxis() == Constants.ATTRIBUTE_AXIS) rs.setAxis(Constants.DESCENDANT_ATTRIBUTE_AXIS); else rs.setAxis(Constants.DESCENDANT_SELF_AXIS); } else { rightStep.setPrimaryAxis(Constants.DESCENDANT_SELF_AXIS); } break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t358; _t = _t.getNextSibling(); if (step instanceof LocationStep && ((LocationStep) step).getAxis() == -1) ((LocationStep) step).setAxis(Constants.DESCENDANT_SELF_AXIS); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; return step; } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ddc6ab496ae303f007a96cb80352f3352974cbcf/XQueryTreeParser.java/clean/src/org/exist/xquery/parser/XQueryTreeParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
5371,
225,
589,
4742,
12,
9053,
389,
88,
16,
202,
202,
743,
4742,
589,
202,
13,
1216,
9539,
16,
8509,
15877,
16,
2294,
376,
503,
16,
14124,
503,
288,
202,
202,
2300,
2235,
31,
9506,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
589,
4742,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
13,
67,
88,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
31054,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
8194,
21,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
8194,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1604,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
8194,
22,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
8194,
23,
273,
446,
31,
6862,
202,
2300,
2145,
4160,
33,
446,
31,
1082,
202,
4119,
33,
446,
31,
1082,
202,
474,
2654,
33,
5245,
18,
27043,
67,
25614,
31,
25083,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
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,
5371,
225,
589,
4742,
12,
9053,
389,
88,
16,
202,
202,
743,
4742,
589,
202,
13,
1216,
9539,
16,
8509,
15877,
16,
2294,
376,
503,
16,
14124,
503,
288,
202,
202,
2300,
2235,
31,
9506,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
589,
4742,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
13,
67,
88,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
31054,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
8194,
2
] |
dayView.setTask(task, true); | dayView.selectTask(task); | public void actionPerformed(ActionEvent arg0) { DayView dayView = (DayView) tpViews.getComponentAt(TAB_DAY_VIEW); dayView.setTask(task, true); Image image = new javax.swing.ImageIcon(getClass().getResource("/org/cesilko/rachota/gui/images/logo_48.png")).getImage(); TrayIcon[] trayIcons = systemTray.getTrayIcons(); for (int i = 0; i < trayIcons.length; i++) { TrayIcon trayIcon = trayIcons[i]; if (trayIcon.getToolTip().startsWith(title)) { trayIcon.setImage(image); break; } } } | 4241 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4241/e876d52d9b62bc0a3af4170380de1ead0af32b91/MainWindow.java/clean/src/org/cesilko/rachota/gui/MainWindow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
918,
26100,
12,
1803,
1133,
1501,
20,
13,
288,
10792,
13735,
1767,
2548,
1767,
273,
261,
4245,
1767,
13,
8071,
9959,
18,
588,
1841,
861,
12,
28899,
67,
10339,
67,
12145,
1769,
10792,
2548,
1767,
18,
4025,
2174,
12,
4146,
1769,
10792,
3421,
1316,
273,
394,
6863,
18,
5328,
310,
18,
2040,
5554,
12,
588,
797,
7675,
588,
1420,
2932,
19,
3341,
19,
764,
330,
28179,
19,
354,
343,
25441,
19,
20292,
19,
7369,
19,
19882,
67,
8875,
18,
6446,
7923,
2934,
588,
2040,
5621,
10792,
399,
435,
5554,
8526,
268,
435,
27510,
273,
2619,
56,
435,
18,
588,
56,
435,
27510,
5621,
10792,
364,
261,
474,
277,
273,
374,
31,
277,
411,
268,
435,
27510,
18,
2469,
31,
277,
27245,
288,
13491,
399,
435,
5554,
268,
435,
5554,
273,
268,
435,
27510,
63,
77,
15533,
13491,
309,
261,
313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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
918,
26100,
12,
1803,
1133,
1501,
20,
13,
288,
10792,
13735,
1767,
2548,
1767,
273,
261,
4245,
1767,
13,
8071,
9959,
18,
588,
1841,
861,
12,
28899,
67,
10339,
67,
12145,
1769,
10792,
2548,
1767,
18,
4025,
2174,
12,
4146,
1769,
10792,
3421,
1316,
273,
394,
6863,
18,
5328,
310,
18,
2040,
5554,
12,
588,
797,
7675,
588,
1420,
2932,
19,
3341,
19,
764,
330,
28179,
19,
354,
343,
25441,
19,
20292,
19,
7369,
19,
19882,
67,
8875,
18,
6446,
7923,
2934,
588,
2040,
5621,
10792,
399,
435,
5554,
8526,
268,
435,
27510,
273,
2619,
56,
435,
18,
588,
56,
435,
27510,
5621,
10792,
364,
261,
474,
277,
273,
374,
31,
277,
411,
268,
435,
27510,
18,
2
] |
String expectedReplacedSource, | String expectedReplacedSource, String[] expectedLabels, | public void checkMethodParse( char[] source, int cursorLocation, String expectedCompletion, String expectedUnitToString, String expectedCompletionIdentifier, String expectedReplacedSource, String testName) { this.checkMethodParse( source, cursorLocation, expectedCompletion, null, expectedUnitToString, expectedCompletionIdentifier, expectedReplacedSource, null, testName);} | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/2fcc7d0f6d73a0e1ec44b95addeba29a0b163a14/AbstractCompletionTest.java/buggy/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/parser/AbstractCompletionTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
866,
1305,
3201,
12,
202,
202,
3001,
8526,
1084,
16,
3196,
202,
474,
3347,
2735,
16,
3196,
202,
780,
2665,
11238,
16,
3196,
202,
780,
2665,
2802,
5808,
16,
3196,
202,
780,
2665,
11238,
3004,
16,
3196,
202,
780,
2665,
5729,
72,
1830,
16,
514,
8526,
2665,
5888,
16,
3196,
202,
780,
1842,
461,
13,
288,
202,
2211,
18,
1893,
1305,
3201,
12,
202,
202,
3168,
16,
3196,
202,
9216,
2735,
16,
3196,
202,
3825,
11238,
16,
202,
202,
2011,
16,
202,
202,
3825,
2802,
5808,
16,
202,
202,
3825,
11238,
3004,
16,
202,
202,
3825,
5729,
72,
1830,
16,
202,
202,
2011,
16,
202,
202,
3813,
461,
1769,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
866,
1305,
3201,
12,
202,
202,
3001,
8526,
1084,
16,
3196,
202,
474,
3347,
2735,
16,
3196,
202,
780,
2665,
11238,
16,
3196,
202,
780,
2665,
2802,
5808,
16,
3196,
202,
780,
2665,
11238,
3004,
16,
3196,
202,
780,
2665,
5729,
72,
1830,
16,
514,
8526,
2665,
5888,
16,
3196,
202,
780,
1842,
461,
13,
288,
202,
2211,
18,
1893,
1305,
3201,
12,
202,
202,
3168,
16,
3196,
202,
9216,
2735,
16,
3196,
202,
3825,
11238,
16,
202,
202,
2011,
16,
202,
202,
3825,
2802,
5808,
16,
202,
202,
3825,
11238,
3004,
16,
202,
202,
3825,
5729,
72,
1830,
16,
202,
202,
2011,
16,
202,
202,
3813,
461,
1769,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} else if (line.startsWith("Via: ")) { | } else if (lowercaseLine.startsWith("via: ")) { | protected void clientConnectionRun(Socket s) { OutputStream out = null; String targetRequest = null; boolean usingWWWProxy = false; String currentProxy = null; long requestId = ++__requestId; try { out = s.getOutputStream(); BufferedReader br = new BufferedReader(new InputStreamReader(s.getInputStream(), "ISO-8859-1")); String line, method = null, protocol = null, host = null, destination = null; StringBuffer newRequest = new StringBuffer(); while ((line = br.readLine()) != null) { if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix(requestId) + "Line=[" + line + "]"); if (line.startsWith("Connection: ") || line.startsWith("Keep-Alive: ") || line.startsWith("Proxy-Connection: ")) continue; if (method == null) { // first line (GET /base64/realaddr) if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix(requestId) + "Method is null for [" + line + "]"); int pos = line.indexOf(" "); if (pos == -1) break; method = line.substring(0, pos); String request = line.substring(pos + 1); if (request.startsWith("/") && getTunnel().getClientOptions().getProperty("i2ptunnel.noproxy") != null) { request = "http://i2p" + request; } else if (request.startsWith("/eepproxy/")) { // /eepproxy/foo.i2p/bar/baz.html HTTP/1.0 String subRequest = request.substring("/eepproxy/".length()); int protopos = subRequest.indexOf(" "); String uri = subRequest.substring(0, protopos); if (uri.indexOf("/") == -1) { uri = uri + "/"; } // "http://" + "foo.i2p/bar/baz.html" + " HTTP/1.0" request = "http://" + uri + subRequest.substring(protopos); } pos = request.indexOf("//"); if (pos == -1) { method = null; break; } protocol = request.substring(0, pos + 2); request = request.substring(pos + 2); targetRequest = request; pos = request.indexOf("/"); if (pos == -1) { method = null; break; } host = request.substring(0, pos); // Quick hack for foo.bar.i2p if (host.toLowerCase().endsWith(".i2p")) { destination = host; host = getHostName(destination); if ( (host != null) && ("i2p".equals(host)) ) { int pos2; if ((pos2 = request.indexOf("?")) != -1) { // Try to find an address helper in the fragments // and split the request into it's component parts for rebuilding later String fragments = request.substring(pos2 + 1); String uriPath = request.substring(0, pos2); pos2 = fragments.indexOf(" "); String protocolVersion = fragments.substring(pos2 + 1); String urlEncoding = ""; fragments = fragments.substring(0, pos2); fragments = fragments + "&"; String fragment; while(fragments.length() > 0) { pos2 = fragments.indexOf("&"); fragment = fragments.substring(0, pos2); fragments = fragments.substring(pos2 + 1); if (fragment.startsWith("i2paddresshelper")) { pos2 = fragment.indexOf("="); if (pos2 >= 0) { addressHelpers.put(destination,fragment.substring(pos2 + 1)); } } else { // append each fragment unless it's the address helper if ("".equals(urlEncoding)) { urlEncoding = "?" + fragment; } else { urlEncoding = urlEncoding + "&" + fragment; } } } // reconstruct the request minus the i2paddresshelper GET var request = uriPath + urlEncoding + " " + protocolVersion; } String addressHelper = (String) addressHelpers.get(destination); if (addressHelper != null) { destination = addressHelper; host = getHostName(destination); } } line = method + " " + request.substring(pos); } else if (host.indexOf(".") != -1) { // The request must be forwarded to a WWW proxy if (_log.shouldLog(Log.DEBUG)) _log.debug("Before selecting outproxy for " + host); currentProxy = selectProxy(); if (_log.shouldLog(Log.DEBUG)) _log.debug("After selecting outproxy for " + host + ": " + currentProxy); if (currentProxy == null) { if (_log.shouldLog(Log.WARN)) _log.warn(getPrefix(requestId) + "Host wants to be outproxied, but we dont have any!"); l.log("No HTTP outproxy found for the request."); if (out != null) { out.write(ERR_NO_OUTPROXY); out.write("<p /><i>Generated on: ".getBytes()); out.write(new Date().toString().getBytes()); out.write("</i></body></html>\n".getBytes()); out.flush(); } s.close(); return; } destination = currentProxy; usingWWWProxy = true; if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix(requestId) + "Host doesnt end with .i2p and it contains a period [" + host + "]: wwwProxy!"); } else { request = request.substring(pos + 1); pos = request.indexOf("/"); destination = request.substring(0, pos); line = method + " " + request.substring(pos); } boolean isValid = usingWWWProxy || isSupportedAddress(host, protocol); if (!isValid) { if (_log.shouldLog(Log.INFO)) _log.info(getPrefix(requestId) + "notValid(" + host + ")"); method = null; destination = null; break; } else if (!usingWWWProxy) { if (_log.shouldLog(Log.INFO)) _log.info(getPrefix(requestId) + "host=getHostName(" + destination + ")"); host = getHostName(destination); // hide original host } if (_log.shouldLog(Log.DEBUG)) { _log.debug(getPrefix(requestId) + "METHOD:" + method + ":"); _log.debug(getPrefix(requestId) + "PROTOC:" + protocol + ":"); _log.debug(getPrefix(requestId) + "HOST :" + host + ":"); _log.debug(getPrefix(requestId) + "DEST :" + destination + ":"); } } else { if (line.startsWith("Host: ") && !usingWWWProxy) { line = "Host: " + host; if (_log.shouldLog(Log.INFO)) _log.info(getPrefix(requestId) + "Setting host = " + host); } else if (line.startsWith("User-Agent: ")) { // always stripped, added back at the end line = null; continue; } else if (line.startsWith("Accept")) { // strip the accept-blah headers, as they vary dramatically from // browser to browser line = null; continue; } else if (line.startsWith("Referer: ")) { // Shouldn't we be more specific, like accepting in-site referers ? //line = "Referer: i2p"; line = null; continue; // completely strip the line } else if (line.startsWith("Via: ")) { //line = "Via: i2p"; line = null; continue; // completely strip the line } else if (line.startsWith("From: ")) { //line = "From: i2p"; line = null; continue; // completely strip the line } } if (line.length() == 0) { newRequest.append("User-Agent: MYOB/6.66 (AN/ON)\r\n"); newRequest.append("Connection: close\r\n\r\n"); break; } else { newRequest.append(line).append("\r\n"); // HTTP spec } } if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix(requestId) + "NewRequest header: [" + newRequest.toString() + "]"); while (br.ready()) { // empty the buffer (POST requests) int i = br.read(); if (i != -1) { newRequest.append((char) i); } } if (method == null || destination == null) { l.log("No HTTP method found in the request."); if (out != null) { out.write(ERR_REQUEST_DENIED); out.write("<p /><i>Generated on: ".getBytes()); out.write(new Date().toString().getBytes()); out.write("</i></body></html>\n".getBytes()); out.flush(); } s.close(); return; } if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix(requestId) + "Destination: " + destination); Destination dest = I2PTunnel.destFromName(destination); if (dest == null) { l.log("Could not resolve " + destination + "."); if (_log.shouldLog(Log.WARN)) _log.warn("Unable to resolve " + destination + " (proxy? " + usingWWWProxy + ", request: " + targetRequest); writeErrorMessage(ERR_DESTINATION_UNKNOWN, out, targetRequest, usingWWWProxy, destination); s.close(); return; } String remoteID; Properties opts = new Properties(); opts.setProperty("i2p.streaming.inactivityTimeout", ""+120*1000); // 1 == disconnect. see ConnectionOptions in the new streaming lib, which i // dont want to hard link to here opts.setProperty("i2p.streaming.inactivityTimeoutAction", ""+1); I2PSocket i2ps = createI2PSocket(dest, getDefaultOptions(opts)); byte[] data = newRequest.toString().getBytes("ISO-8859-1"); Runnable onTimeout = new OnTimeout(s, s.getOutputStream(), targetRequest, usingWWWProxy, currentProxy, requestId); I2PTunnelRunner runner = new I2PTunnelHTTPClientRunner(s, i2ps, sockLock, data, mySockets, onTimeout); } catch (SocketException ex) { _log.info(getPrefix(requestId) + "Error trying to connect", ex); l.log(ex.getMessage()); handleHTTPClientException(ex, out, targetRequest, usingWWWProxy, currentProxy, requestId); closeSocket(s); } catch (IOException ex) { _log.info(getPrefix(requestId) + "Error trying to connect", ex); l.log(ex.getMessage()); handleHTTPClientException(ex, out, targetRequest, usingWWWProxy, currentProxy, requestId); closeSocket(s); } catch (I2PException ex) { _log.info("getPrefix(requestId) + Error trying to connect", ex); l.log(ex.getMessage()); handleHTTPClientException(ex, out, targetRequest, usingWWWProxy, currentProxy, requestId); closeSocket(s); } } | 27493 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27493/89509490c5f04a4c55ccab96b3122e70313633ff/I2PTunnelHTTPClient.java/clean/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1004,
1952,
1997,
12,
4534,
272,
13,
288,
3639,
8962,
596,
273,
446,
31,
3639,
514,
1018,
691,
273,
446,
31,
3639,
1250,
1450,
19989,
59,
3886,
273,
629,
31,
3639,
514,
783,
3886,
273,
446,
31,
3639,
1525,
14459,
273,
965,
972,
2293,
548,
31,
3639,
775,
288,
5411,
596,
273,
272,
18,
588,
4632,
5621,
5411,
10633,
5186,
273,
394,
10633,
12,
2704,
15322,
12,
87,
18,
588,
4348,
9334,
315,
12609,
17,
17258,
17,
21,
7923,
1769,
5411,
514,
980,
16,
707,
273,
446,
16,
1771,
273,
446,
16,
1479,
273,
446,
16,
2929,
273,
446,
31,
5411,
6674,
7428,
273,
394,
6674,
5621,
5411,
1323,
14015,
1369,
273,
5186,
18,
896,
1670,
10756,
480,
446,
13,
288,
7734,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
9394,
3719,
10792,
389,
1330,
18,
4148,
12,
588,
2244,
12,
2293,
548,
13,
397,
315,
1670,
33,
9614,
397,
980,
397,
9870,
1769,
27573,
309,
261,
1369,
18,
17514,
1190,
2932,
1952,
30,
9369,
747,
5397,
980,
18,
17514,
1190,
2932,
11523,
17,
10608,
30,
9369,
747,
5397,
980,
18,
17514,
1190,
2932,
3886,
17,
1952,
30,
315,
3719,
10792,
1324,
31,
27573,
309,
261,
2039,
422,
446,
13,
288,
368,
1122,
980,
261,
3264,
342,
1969,
1105,
19,
7688,
4793,
13,
10792,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
9394,
3719,
13491,
389,
1330,
18,
4148,
12,
588,
2244,
12,
2293,
548,
13,
397,
315,
1305,
353,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1004,
1952,
1997,
12,
4534,
272,
13,
288,
3639,
8962,
596,
273,
446,
31,
3639,
514,
1018,
691,
273,
446,
31,
3639,
1250,
1450,
19989,
59,
3886,
273,
629,
31,
3639,
514,
783,
3886,
273,
446,
31,
3639,
1525,
14459,
273,
965,
972,
2293,
548,
31,
3639,
775,
288,
5411,
596,
273,
272,
18,
588,
4632,
5621,
5411,
10633,
5186,
273,
394,
10633,
12,
2704,
15322,
12,
87,
18,
588,
4348,
9334,
315,
12609,
17,
17258,
17,
21,
7923,
1769,
5411,
514,
980,
16,
707,
273,
446,
16,
1771,
273,
446,
16,
1479,
273,
446,
16,
2929,
273,
446,
31,
5411,
6674,
7428,
273,
394,
6674,
5621,
5411,
1323,
14015,
1369,
273,
5186,
18,
896,
1670,
2
] |
this.recvClass = recvClass; this.id = id; this.noex = noex; } | this.recvClass = recvClass; this.id = id; this.noex = noex; } | public GetMethodBodyResult(RubyModule recvClass, RubyId id, int noex) { this.recvClass = recvClass; this.id = id; this.noex = noex; } | 47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/clean/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
968,
1305,
2250,
1253,
12,
54,
10340,
3120,
10665,
797,
16,
19817,
548,
612,
16,
509,
1158,
338,
13,
288,
1082,
202,
2211,
18,
18334,
797,
273,
10665,
797,
31,
1082,
202,
2211,
18,
350,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
968,
1305,
2250,
1253,
12,
54,
10340,
3120,
10665,
797,
16,
19817,
548,
612,
16,
509,
1158,
338,
13,
288,
1082,
202,
2211,
18,
18334,
797,
273,
10665,
797,
31,
1082,
202,
2211,
18,
350,
273,
612,
31,
1082,
202,
2211,
18,
2135,
338,
273,
1158,
338,
31,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
subElements[i] = (MenuElement) getMenu(i); | { menu = getMenu(i); if (menu != null) { subElements[j++] = (MenuElement) menu; } else doResize = true; } | public MenuElement[] getSubElements() { MenuElement[] subElements = new MenuElement[getComponentCount()]; for (int i = 0; i < getComponentCount(); i++) subElements[i] = (MenuElement) getMenu(i); return subElements; } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/53983e95556bf4b775130b06570aa2ea08d85628/JMenuBar.java/buggy/core/src/classpath/javax/javax/swing/JMenuBar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9809,
1046,
8526,
7040,
3471,
1435,
225,
288,
565,
9809,
1046,
8526,
720,
3471,
273,
394,
9809,
1046,
63,
588,
1841,
1380,
1435,
15533,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
10322,
1380,
5621,
277,
27245,
1377,
288,
3824,
273,
25877,
12,
77,
1769,
309,
261,
5414,
480,
446,
13,
288,
720,
3471,
63,
78,
9904,
65,
273,
261,
4599,
1046,
13,
3824,
31,
289,
469,
741,
12182,
273,
638,
31,
289,
565,
327,
720,
3471,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9809,
1046,
8526,
7040,
3471,
1435,
225,
288,
565,
9809,
1046,
8526,
720,
3471,
273,
394,
9809,
1046,
63,
588,
1841,
1380,
1435,
15533,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
10322,
1380,
5621,
277,
27245,
1377,
288,
3824,
273,
25877,
12,
77,
1769,
309,
261,
5414,
480,
446,
13,
288,
720,
3471,
63,
78,
9904,
65,
273,
261,
4599,
1046,
13,
3824,
31,
289,
469,
741,
12182,
273,
638,
31,
289,
565,
327,
720,
3471,
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
] |
log.debug("Attempting magic authentication with " + authStr); | debug("Attempting magic authentication with ", authStr); | public boolean authenticate(Request request, Response response, LoginConfig config) throws IOException { // Have we already authenticated someone? Principal principal = request.getUserPrincipal(); if (principal == null) { // No -- check for the magic cookie String authStr = request.getParameter(AUTH_NONCE_FIELD_NAME); if (authStr != null) { Realm realm = context.getRealm(); if (realm instanceof MvvmRealm) { log.debug("Attempting magic authentication with " + authStr); principal = ((MvvmRealm)realm).authenticateWithNonce(authStr); if (principal != null) { log.debug("Succeeded for " + principal); register(request, response, principal, Constants.BASIC_METHOD, principal.getName(), null); return true; } else { log.warn("Magic authentication failed"); return false; } } } } return super.authenticate(request, response, config); } | 49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/2d23fb24750da588d8c63126d4537393946f369b/MvvmAuthenticator.java/clean/mvvm/main/com/metavize/mvvm/engine/MvvmAuthenticator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
8929,
12,
691,
590,
16,
27573,
2306,
766,
16,
27573,
11744,
809,
642,
13,
3639,
1216,
1860,
288,
3639,
368,
21940,
732,
1818,
9370,
18626,
35,
3639,
17010,
8897,
273,
590,
18,
588,
1299,
9155,
5621,
3639,
309,
261,
26138,
422,
446,
13,
288,
5411,
368,
2631,
1493,
866,
364,
326,
8146,
3878,
5411,
514,
1357,
1585,
273,
590,
18,
588,
1662,
12,
7131,
67,
3993,
1441,
67,
6776,
67,
1985,
1769,
5411,
309,
261,
1944,
1585,
480,
446,
13,
288,
7734,
15987,
81,
11319,
273,
819,
18,
588,
22545,
5621,
7734,
309,
261,
24056,
1276,
490,
90,
3489,
22545,
13,
288,
10792,
1198,
2932,
23089,
8146,
5107,
598,
3104,
1357,
1585,
1769,
10792,
8897,
273,
14015,
49,
90,
3489,
22545,
13,
24056,
2934,
22035,
1190,
13611,
12,
1944,
1585,
1769,
10792,
309,
261,
26138,
480,
446,
13,
288,
13491,
613,
18,
4148,
2932,
30500,
364,
225,
315,
397,
8897,
1769,
13491,
1744,
12,
2293,
16,
766,
16,
8897,
16,
5245,
18,
25642,
67,
5327,
16,
4766,
8897,
18,
17994,
9334,
446,
1769,
13491,
327,
638,
31,
10792,
289,
469,
288,
13491,
613,
18,
8935,
2932,
19289,
5107,
2535,
8863,
13491,
327,
629,
31,
10792,
289,
7734,
289,
5411,
289,
3639,
289,
3639,
327,
2240,
18,
22035,
12,
2293,
16,
766,
16,
642,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
8929,
12,
691,
590,
16,
27573,
2306,
766,
16,
27573,
11744,
809,
642,
13,
3639,
1216,
1860,
288,
3639,
368,
21940,
732,
1818,
9370,
18626,
35,
3639,
17010,
8897,
273,
590,
18,
588,
1299,
9155,
5621,
3639,
309,
261,
26138,
422,
446,
13,
288,
5411,
368,
2631,
1493,
866,
364,
326,
8146,
3878,
5411,
514,
1357,
1585,
273,
590,
18,
588,
1662,
12,
7131,
67,
3993,
1441,
67,
6776,
67,
1985,
1769,
5411,
309,
261,
1944,
1585,
480,
446,
13,
288,
7734,
15987,
81,
11319,
273,
819,
18,
588,
22545,
5621,
7734,
309,
261,
24056,
1276,
490,
90,
3489,
22545,
13,
288,
10792,
1198,
2932,
23089,
8146,
5107,
598,
3104,
1357,
1585,
1769,
10792,
8897,
273,
2
] |
Utilisateur u = Client.usermanager.getUser(i); this.affichageUtilisateur(u); | if(Client.fsm.choisirUtilisateur()) { Utilisateur u = Client.usermanager.getUser(i); this.affichageUtilisateur(u); } | void choisirUtilisateur(String i) { Utilisateur u = Client.usermanager.getUser(i); this.affichageUtilisateur(u); } | 57791 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57791/da6099451ef8e9920f1e5873d636a7860d1228f1/HI.java/clean/src/client/HI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
5011,
291,
481,
1304,
24954,
12,
780,
277,
13,
288,
3639,
3564,
24954,
582,
273,
2445,
18,
407,
1035,
1063,
18,
588,
1299,
12,
77,
1769,
3639,
333,
18,
7329,
25234,
1304,
24954,
12,
89,
1769,
565,
289,
2,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
5011,
291,
481,
1304,
24954,
12,
780,
277,
13,
288,
3639,
3564,
24954,
582,
273,
2445,
18,
407,
1035,
1063,
18,
588,
1299,
12,
77,
1769,
3639,
333,
18,
7329,
25234,
1304,
24954,
12,
89,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public boolean isCellEditable(Object node, int column) { node.toString(); return super.isCellEditable(node, column); } | public boolean isCellEditable(Object obj,int col) { return true; } | public boolean isCellEditable(Object node, int column) { // access node node.toString(); return super.isCellEditable(node, column); } | 47551 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47551/3597888860e2b0165f2374a968adf8e81f612155/JXTreeTableUnitTest.java/buggy/src/test/org/jdesktop/swingx/JXTreeTableUnitTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1250,
353,
4020,
15470,
12,
921,
756,
16,
509,
1057,
13,
288,
7734,
368,
2006,
756,
7734,
756,
18,
10492,
5621,
7734,
327,
2240,
18,
291,
4020,
15470,
12,
2159,
16,
1057,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1250,
353,
4020,
15470,
12,
921,
756,
16,
509,
1057,
13,
288,
7734,
368,
2006,
756,
7734,
756,
18,
10492,
5621,
7734,
327,
2240,
18,
291,
4020,
15470,
12,
2159,
16,
1057,
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
] |
} catch (RollerException e) { | } catch (RollerException e) { | public int getDayHits() { try { return mRefererMgr.getDayHits(mRollerReq.getWebsite()); } catch (RollerException e) { mLogger.error("PageModel getDayHits()", e); } return 0; } | 46431 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46431/a8451ff948a167d845789ae85acb90de25ac9f87/PageModel.java/buggy/src/org/roller/presentation/velocity/PageModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
20444,
20950,
1435,
565,
288,
3639,
775,
3639,
288,
5411,
327,
312,
426,
18459,
9455,
18,
588,
4245,
20950,
12,
81,
4984,
749,
6113,
18,
588,
19186,
10663,
3639,
289,
3639,
1044,
261,
4984,
749,
503,
425,
13,
3639,
288,
5411,
312,
3328,
18,
1636,
2932,
1964,
1488,
20444,
20950,
1435,
3113,
425,
1769,
3639,
289,
3639,
327,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
20444,
20950,
1435,
565,
288,
3639,
775,
3639,
288,
5411,
327,
312,
426,
18459,
9455,
18,
588,
4245,
20950,
12,
81,
4984,
749,
6113,
18,
588,
19186,
10663,
3639,
289,
3639,
1044,
261,
4984,
749,
503,
425,
13,
3639,
288,
5411,
312,
3328,
18,
1636,
2932,
1964,
1488,
20444,
20950,
1435,
3113,
425,
1769,
3639,
289,
3639,
327,
374,
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
] |
{ write( "<h3>" ); write( title ); writeln( "</h3>\n" ); } | { write( "<h3>" ); write( title ); writeln( "</h3>\n" ); } | private void writeSectionHeader( String title ) { write( "<h3>" ); write( title ); writeln( "</h3>\n" ); } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/2012a7e6d8d91844c6c396ee5b7b69a4345dea99/Generator.java/buggy/model/org.eclipse.birt.report.model/romdoc/src/org/eclipse/birt/doc/romdoc/Generator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1045,
5285,
1864,
12,
514,
2077,
262,
202,
95,
202,
202,
2626,
12,
3532,
76,
23,
2984,
11272,
202,
202,
2626,
12,
2077,
11272,
202,
202,
5363,
292,
82,
12,
6823,
76,
23,
5333,
82,
6,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1045,
5285,
1864,
12,
514,
2077,
262,
202,
95,
202,
202,
2626,
12,
3532,
76,
23,
2984,
11272,
202,
202,
2626,
12,
2077,
11272,
202,
202,
5363,
292,
82,
12,
6823,
76,
23,
5333,
82,
6,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
catch(InstantiationException ie) | catch (InstantiationException ie) | protected void parse (StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) throws SAXException { URIResolver uriresolver = handler.getStylesheetProcessor().getURIResolver(); try { XMLReader reader = null; boolean tryCreatingReader = true; EntityResolver entityResolver = handler.getStylesheetProcessor().getEntityResolver(); InputSource inputSource; if(null != entityResolver) { inputSource = entityResolver.resolveEntity(null, getHref()); // TODO: Check for relative URL, and absolutize it??? Or no? } else { String absURL = SystemIDResolver.getAbsoluteURI(getHref(), handler.getBaseIdentifier()); inputSource = new InputSource(absURL); } if(null != uriresolver) { tryCreatingReader = false; reader = uriresolver.getXMLReader(inputSource); if(null == reader) { Node node = uriresolver.getDOMNode(inputSource); if(null != node) { TreeWalker walker = new TreeWalker(handler); walker.traverse(node); } else tryCreatingReader = true; } } if(tryCreatingReader) { reader = handler.getStylesheetProcessor().getXMLReader(); if(null == reader) { reader = XMLReaderFactory.createXMLReader(); } else { Class readerClass = ((Object)reader).getClass(); reader = (XMLReader)readerClass.newInstance(); } } if(null != reader) { if(null != entityResolver) reader.setEntityResolver(entityResolver); reader.setContentHandler(handler); reader.setFeature("http://apache.org/xml/features/validation/dynamic", true); handler.pushBaseIndentifier(inputSource.getSystemId()); try { reader.parse(inputSource); } finally { handler.popBaseIndentifier(); } } } catch(InstantiationException ie) { handler.error("Could not clone parser!", ie); } catch(IllegalAccessException iae) { handler.error("Can not access class!", iae); } catch(IOException ioe) { handler.error(XSLTErrorResources.ER_IOEXCEPTION, new Object[] {getHref()}, ioe); } catch(SAXException ioe) { handler.error(XSLTErrorResources.ER_IOEXCEPTION, new Object[] {getHref()}, ioe); } } | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/6fbfc5b396871b2ddb731ea98fccffe88307b5d3/ProcessorInclude.java/buggy/src/org/apache/xalan/processor/ProcessorInclude.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1109,
261,
24656,
1503,
1838,
16,
11794,
514,
2003,
16,
514,
11927,
16,
18701,
514,
1831,
461,
16,
9055,
1677,
13,
565,
1216,
14366,
225,
288,
565,
3699,
4301,
2003,
14122,
273,
1838,
18,
588,
24656,
5164,
7675,
588,
3098,
4301,
5621,
565,
775,
565,
288,
1377,
3167,
2514,
2949,
273,
446,
31,
1377,
1250,
775,
11092,
2514,
273,
638,
31,
1377,
3887,
4301,
1522,
4301,
540,
273,
1838,
18,
588,
24656,
5164,
7675,
588,
1943,
4301,
5621,
5411,
23699,
810,
1830,
31,
1377,
309,
12,
2011,
480,
1522,
4301,
13,
1377,
288,
3639,
810,
1830,
273,
1522,
4301,
18,
10828,
1943,
12,
2011,
16,
7628,
1734,
10663,
3639,
368,
2660,
30,
2073,
364,
3632,
1976,
16,
471,
2417,
355,
322,
554,
518,
14646,
35,
225,
2965,
1158,
35,
1377,
289,
1377,
469,
1377,
288,
3639,
514,
2417,
1785,
6647,
273,
2332,
734,
4301,
18,
588,
10368,
3098,
12,
588,
15962,
9334,
1838,
18,
588,
2171,
3004,
10663,
3639,
810,
1830,
273,
394,
23699,
12,
5113,
1785,
1769,
1377,
289,
1377,
309,
12,
2011,
480,
2003,
14122,
13,
1377,
288,
3639,
775,
11092,
2514,
273,
629,
31,
3639,
2949,
273,
2003,
14122,
18,
588,
4201,
2514,
12,
2630,
1830,
1769,
3639,
309,
12,
2011,
422,
2949,
13,
3639,
288,
1850,
2029,
756,
273,
2003,
14122,
18,
588,
8168,
907,
12,
2630,
1830,
1769,
1850,
309,
12,
2011,
480,
756,
13,
1850,
288,
5411,
4902,
16246,
14810,
273,
394,
4902,
16246,
12,
4176,
1769,
5411,
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,
4750,
918,
1109,
261,
24656,
1503,
1838,
16,
11794,
514,
2003,
16,
514,
11927,
16,
18701,
514,
1831,
461,
16,
9055,
1677,
13,
565,
1216,
14366,
225,
288,
565,
3699,
4301,
2003,
14122,
273,
1838,
18,
588,
24656,
5164,
7675,
588,
3098,
4301,
5621,
565,
775,
565,
288,
1377,
3167,
2514,
2949,
273,
446,
31,
1377,
1250,
775,
11092,
2514,
273,
638,
31,
1377,
3887,
4301,
1522,
4301,
540,
273,
1838,
18,
588,
24656,
5164,
7675,
588,
1943,
4301,
5621,
5411,
23699,
810,
1830,
31,
1377,
309,
12,
2011,
480,
1522,
4301,
13,
1377,
288,
3639,
810,
1830,
273,
1522,
4301,
18,
10828,
1943,
12,
2011,
16,
7628,
1734,
10663,
3639,
368,
2660,
30,
2073,
364,
3632,
1976,
2
] |
public org.quickfix.field.SecuritySubType getSecuritySubType() throws FieldNotFound { org.quickfix.field.SecuritySubType value = new org.quickfix.field.SecuritySubType(); | public quickfix.field.SecuritySubType getSecuritySubType() throws FieldNotFound { quickfix.field.SecuritySubType value = new quickfix.field.SecuritySubType(); | public org.quickfix.field.SecuritySubType getSecuritySubType() throws FieldNotFound { org.quickfix.field.SecuritySubType value = new org.quickfix.field.SecuritySubType(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderMassCancelReport.java/clean/src/java/src/quickfix/fix44/OrderMassCancelReport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
30511,
19288,
30511,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
30511,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
30511,
5621,
565,
5031,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
30511,
19288,
30511,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
30511,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
30511,
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
] |
c.popBFC(); | public static Box layout(Context c, Content content) { Box outerBox;//the outer box may be block or inline block boolean set_bfc = false; if (content instanceof TableContent) { outerBox = new BlockBox(); // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockFormattingContext() == null) { outerBox.setParent(c.getCtx().getRootBox()); BlockFormattingContext bfc = new BlockFormattingContext(outerBox, c); c.pushBFC(bfc); set_bfc = true; bfc.setWidth((int) c.getExtents().getWidth()); } } else { XRLog.layout(Level.WARNING, "Unsupported table type " + content.getClass().getName()); return null; } // copy the extents Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); outerBox.x = c.getExtents().x; outerBox.y = c.getExtents().y; //HACK: for now outerBox.width = c.getExtents().width; outerBox.height = c.getExtents().height; TableBox tableBox = new TableBox(); tableBox.element = content.getElement(); //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } else { c.pushStyle(CascadedStyle.emptyCascadedStyle); } VerticalMarginCollapser.collapseVerticalMargins(c, tableBox, content, (float) oe.getWidth()); TableContent tableContent = (TableContent) content; if (tableContent.isTopMarginCollapsed()) { tableBox.setMarginTopOverride(0f); } if (tableContent.isBottomMarginCollapsed()) { tableBox.setMarginBottomOverride(0f); } Border border = c.getCurrentStyle().getBorderWidth(c.getCtx()); //note: percentages here refer to width of containing block Border margin = tableBox.getMarginWidth(c, (float) oe.getWidth()); Border padding = c.getCurrentStyle().getPaddingWidth((float) oe.getWidth(), (float) oe.getWidth(), c.getCtx()); int tx = margin.left + border.left + padding.left; int ty = margin.top + border.top + padding.top; tableBox.tx = tx; tableBox.ty = ty; c.translate(tx, ty); c.shrinkExtents(tx + margin.right + border.right + padding.right, ty + margin.bottom + border.bottom + padding.bottom); IdentValue borderStyle = c.getCurrentStyle().getIdent(CSSName.BORDER_COLLAPSE); int borderSpacingHorizontal = (int) c.getCurrentStyle().getFloatPropertyProportionalWidth(CSSName.FS_BORDER_SPACING_HORIZONTAL, 0, c.getCtx()); int borderSpacingVertical = (int) c.getCurrentStyle().getFloatPropertyProportionalWidth(CSSName.FS_BORDER_SPACING_VERTICAL, 0, c.getCtx()); layoutChildren(c, tableBox, content, false, borderSpacingHorizontal, borderSpacingVertical); c.unshrinkExtents(); c.translate(-tx, -ty); //OK, now we basically have the maximum cell widths, is that a smart order? //TODO: percentages? if (c.getCurrentStyle().isIdent(CSSName.WIDTH, IdentValue.AUTO)) { //we're normally fine, unless the maximum width is greater than the extents fixWidths(tableBox, borderSpacingHorizontal); } else {//if the algorithm is fixed, we need to do something else from the start int givenWidth = (int) c.getCurrentStyle().getFloatPropertyProportionalWidth(CSSName.WIDTH, c.getExtents().width, c.getCtx()); //also fine, if the total calculated is less than the extents and the width if (tableBox.width < givenWidth) { tableBox.width = givenWidth; fixWidths(tableBox, borderSpacingHorizontal); } else { c.getExtents().width = 1; c.translate(tx, ty); int[] preferredColumns = tableBox.columns; tableBox.columns = null; tableBox.removeAllChildren(); tableBox.width = 0; tableBox.height = 0; layoutChildren(c, tableBox, content, false, borderSpacingHorizontal, borderSpacingVertical); c.translate(-tx, -ty); //here the table is layed out with minimum column widths if (tableBox.width < givenWidth) { //do it right tableBox.width = givenWidth; tableBox.removeAllChildren(); fixWidths(tableBox, borderSpacingHorizontal, preferredColumns); c.translate(tx, ty); tableBox.width = 0; tableBox.height = 0; layoutChildren(c, tableBox, content, true, borderSpacingHorizontal, borderSpacingVertical); c.translate(-tx, -ty); } } } //now the width is settled, fix vertical alignment for (Iterator i = tableBox.getChildIterator(); i.hasNext();) { Object o = i.next(); if (o instanceof RowBox) { fixVerticalAlign(c, (RowBox) o); } } // calculate the total outer width tableBox.width = margin.left + border.left + padding.left + tableBox.width + padding.right + border.right + margin.right; tableBox.height = margin.top + border.top + padding.top + tableBox.height + padding.bottom + border.bottom + margin.bottom; c.popStyle(); //restore the extents c.setExtents(oe); // remove the outtermost bfc if (set_bfc) { c.getBlockFormattingContext().doFinalAdjustments(); //no! clear it in BasicPanel instead! c.popBFC(); } return tableBox;//HACK: } | 8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/ea25c36d8670e0a2297b9a25e4765c46f98952c5/TableBoxing.java/buggy/src/java/org/xhtmlrenderer/table/TableBoxing.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
1071,
71,
18,
5120,
38,
4488,
5621,
760,
71,
18,
5120,
38,
4488,
5621,
8549,
71,
18,
5120,
38,
4488,
5621,
3511,
12,
1042,
71,
18,
5120,
38,
4488,
5621,
276,
16,
71,
18,
5120,
38,
4488,
5621,
3697,
71,
18,
5120,
38,
4488,
5621,
913,
13,
71,
18,
5120,
38,
4488,
5621,
288,
71,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
8549,
71,
18,
5120,
38,
4488,
5621,
6390,
3514,
31,
759,
451,
557,
18,
5120,
38,
4488,
5621,
6390,
71,
18,
5120,
38,
4488,
5621,
3919,
71,
18,
5120,
38,
4488,
5621,
2026,
71,
18,
5120,
38,
4488,
5621,
506,
71,
18,
5120,
38,
4488,
5621,
1203,
71,
18,
5120,
38,
4488,
5621,
578,
71,
18,
5120,
38,
4488,
5621,
316,
7511,
557,
18,
5120,
38,
4488,
5621,
1203,
71,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
1250,
71,
18,
5120,
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,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
1071,
71,
18,
5120,
38,
4488,
5621,
760,
71,
18,
5120,
38,
4488,
5621,
8549,
71,
18,
5120,
38,
4488,
5621,
3511,
12,
1042,
71,
18,
5120,
38,
4488,
5621,
276,
16,
71,
18,
5120,
38,
4488,
5621,
3697,
71,
18,
5120,
38,
4488,
5621,
913,
13,
71,
18,
5120,
38,
4488,
5621,
288,
71,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
5621,
276,
18,
5120,
38,
4488,
2
] |
|
if (patternIsRelative && files[i].getPath().startsWith(cwd)) { | String path = files[i].getPath(); if (patternIsRelative && path.startsWith(cwd)) { | public String[] getNames() { File[] files = getFiles(); // FIXME: don't use user.dir for cwd String cwd = System.getProperty("user.dir"); String[] names = new String[files.length]; for (int i = 0, size = files.length; i < size; i++) { if (patternIsRelative && files[i].getPath().startsWith(cwd)) { // chop off cwd when returning results names[i] = files[i].getPath().substring(cwd.length()) + (patternEndsWithPathDelimeter ? "/" : ""); } else { names[i] = files[i].getPath() + (patternEndsWithPathDelimeter ? "/" : ""); } } return names; } | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/43608826a44e7cd8213325ce6cf8b348d8ca8f8e/Glob.java/clean/src/org/jruby/util/Glob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8526,
336,
1557,
1435,
288,
3639,
1387,
8526,
1390,
273,
18262,
5621,
3639,
368,
9852,
30,
2727,
1404,
999,
729,
18,
1214,
364,
7239,
3639,
514,
7239,
273,
2332,
18,
588,
1396,
2932,
1355,
18,
1214,
8863,
3639,
514,
8526,
1257,
273,
394,
514,
63,
2354,
18,
2469,
15533,
3639,
364,
261,
474,
277,
273,
374,
16,
963,
273,
1390,
18,
2469,
31,
277,
411,
963,
31,
277,
27245,
288,
540,
202,
780,
589,
273,
1390,
63,
77,
8009,
588,
743,
5621,
309,
261,
4951,
2520,
8574,
597,
589,
18,
17514,
1190,
12,
11089,
3719,
288,
540,
202,
202,
759,
31258,
3397,
7239,
1347,
5785,
1686,
540,
202,
202,
1973,
63,
77,
65,
273,
1390,
63,
77,
8009,
588,
743,
7675,
28023,
12,
11089,
18,
2469,
10756,
397,
261,
4951,
24980,
1190,
743,
21445,
847,
692,
4016,
294,
1408,
1769,
540,
202,
97,
469,
288,
540,
202,
202,
1973,
63,
77,
65,
273,
1390,
63,
77,
8009,
588,
743,
1435,
397,
261,
4951,
24980,
1190,
743,
21445,
847,
692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316,
326,
981,
30,
377,
1071,
514,
8526,
336,
1557,
1435,
288,
3639,
1387,
8526,
1390,
273,
18262,
5621,
3639,
368,
9852,
30,
2727,
1404,
999,
729,
18,
1214,
364,
7239,
3639,
514,
7239,
273,
2332,
18,
588,
1396,
2932,
1355,
18,
1214,
8863,
3639,
514,
8526,
1257,
273,
394,
514,
63,
2354,
18,
2469,
15533,
3639,
364,
261,
474,
277,
273,
374,
16,
963,
273,
1390,
18,
2469,
31,
277,
411,
963,
31,
277,
27245,
288,
540,
202,
780,
589,
273,
1390,
63,
77,
8009,
588,
743,
5621,
309,
261,
4951,
2520,
8574,
597,
589,
18,
17514,
1190,
12,
11089,
3719,
288,
540,
202,
202,
759,
31258,
3397,
7239,
1347,
5785,
1686,
540,
202,
202,
1973,
63,
77,
65,
273,
1390,
63,
2
] |
factory.updated( configuration ); | factory.updated( "", configuration ); | public void testManagedServiceConfiguration() throws Exception { Mock configFactory = new Mock( ConfigFactory.class ); GlobalConfigureStub stub = new GlobalConfigureStub(); configFactory.expects( atLeastOnce() ).method( "configure" ).with( NOT_NULL ).will( stub ); ResourceStub resourceStub = new ResourceStub(); // ML - Aug 15, 2005: Test using the basic configuration Mock bundle1 = new Mock( Bundle.class ); Hashtable<String,String> dictionary = new Hashtable<String, String>(); dictionary.put( LoggingServiceFactory.LOG4J_LOGGER_NAME, "bundle1" ); dictionary.put( LoggingServiceFactory.LOG4J_CONFIG_FILE, "./bundle1_log4j.properties" ); bundle1.expects( atLeastOnce() ).method( "getHeaders" ).will( returnValue( dictionary ) ); bundle1.expects( once() ).method( "getResource" ).will( resourceStub ); Bundle bundle = (Bundle) bundle1.proxy(); ServiceRegistration serviceRegistration = new TestServiceRegistration( bundle ); PaxLoggingService paxLogging = (PaxLoggingService) new Mock( PaxLoggingService.class ).proxy(); LoggingServiceFactory factory = new LoggingServiceFactory( (ConfigFactory) configFactory.proxy(), paxLogging ); factory.getService( bundle, serviceRegistration ); factory.updated( null ); // ML - Aug 15, 2005: Test using the global configuration String fileName = getClass().getClassLoader().getResource( "./global_log4j.properties" ).toString(); Hashtable<String, String> configuration = new Hashtable<String, String>(); configuration.put( LoggingServiceFactory.LOG4J_CONFIG_FILE, fileName ); stub.setState( 10 ); factory.updated( configuration ); // ML - Aug 15, 2005: Test reseting the global configuration stub.setState( 20 ); factory.updated( null ); configFactory.verify(); bundle1.verify(); } | 56647 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56647/e50663eadb6733aea25a87bc23def27638eab9d6/Log4jServiceFactoryTestCase.java/clean/service/src/test/java/org/ops4j/pax/logging/test/Log4jServiceFactoryTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
10055,
1179,
1750,
1435,
3639,
1216,
1185,
565,
288,
3639,
7867,
642,
1733,
273,
394,
7867,
12,
1903,
1733,
18,
1106,
11272,
3639,
8510,
11207,
11974,
7168,
273,
394,
8510,
11207,
11974,
5621,
3639,
642,
1733,
18,
12339,
87,
12,
622,
17319,
12212,
1435,
262,
18,
2039,
12,
315,
14895,
6,
262,
18,
1918,
12,
4269,
67,
8560,
262,
18,
20194,
12,
7168,
11272,
3639,
2591,
11974,
1058,
11974,
273,
394,
2591,
11974,
5621,
3639,
368,
22383,
300,
432,
637,
4711,
16,
4044,
25,
30,
7766,
1450,
326,
5337,
1664,
3639,
7867,
3440,
21,
273,
394,
7867,
12,
8539,
18,
1106,
11272,
3639,
18559,
32,
780,
16,
780,
34,
3880,
273,
394,
18559,
32,
780,
16,
514,
34,
5621,
3639,
3880,
18,
458,
12,
10253,
1179,
1733,
18,
4842,
24,
46,
67,
8757,
67,
1985,
16,
315,
9991,
21,
6,
11272,
3639,
3880,
18,
458,
12,
10253,
1179,
1733,
18,
4842,
24,
46,
67,
7203,
67,
3776,
16,
25165,
9991,
21,
67,
1330,
24,
78,
18,
4738,
6,
11272,
3639,
3440,
21,
18,
12339,
87,
12,
622,
17319,
12212,
1435,
262,
18,
2039,
12,
315,
588,
3121,
6,
262,
18,
20194,
12,
7750,
12,
3880,
262,
11272,
3639,
3440,
21,
18,
12339,
87,
12,
3647,
1435,
262,
18,
2039,
12,
315,
588,
1420,
6,
262,
18,
20194,
12,
1058,
11974,
11272,
3639,
8539,
3440,
273,
261,
3405,
13,
3440,
21,
18,
5656,
5621,
3639,
1956,
7843,
1156,
7843,
273,
394,
7766,
1179,
7843,
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,
10055,
1179,
1750,
1435,
3639,
1216,
1185,
565,
288,
3639,
7867,
642,
1733,
273,
394,
7867,
12,
1903,
1733,
18,
1106,
11272,
3639,
8510,
11207,
11974,
7168,
273,
394,
8510,
11207,
11974,
5621,
3639,
642,
1733,
18,
12339,
87,
12,
622,
17319,
12212,
1435,
262,
18,
2039,
12,
315,
14895,
6,
262,
18,
1918,
12,
4269,
67,
8560,
262,
18,
20194,
12,
7168,
11272,
3639,
2591,
11974,
1058,
11974,
273,
394,
2591,
11974,
5621,
3639,
368,
22383,
300,
432,
637,
4711,
16,
4044,
25,
30,
7766,
1450,
326,
5337,
1664,
3639,
7867,
3440,
21,
273,
394,
7867,
12,
8539,
18,
1106,
11272,
3639,
18559,
32,
780,
16,
780,
34,
3880,
273,
394,
18559,
32,
780,
2
] |
throw new SyntaxException(getPosition(null), "Invalid escape character syntax"); | throw new SyntaxException(getPosition(null, false), "Invalid escape character syntax"); | public char readEscape() { char c = read(); switch (c) { case '\\' : // backslash return c; case 'n' : // newline return '\n'; case 't' : // horizontal tab return '\t'; case 'r' : // carriage return return '\r'; case 'f' : // form feed return '\f'; case 'v' : // vertical tab return '\u0013'; case 'a' : // alarm(bell) return '\u0007'; case 'e' : // escape return '\u0033'; case '0' : case '1' : case '2' : case '3' : // octal constant case '4' : case '5' : case '6' : case '7' : unread(c); return scanOct(3); case 'x' : // hex constant int hexOffset = getColumn(); char hexValue = scanHex(2); // No hex value after the 'x'. if (hexOffset == getColumn()) { throw new SyntaxException(getPosition(null), "Invalid escape character syntax"); } return hexValue; case 'b' : // backspace return '\010'; case 's' : // space return ' '; case 'M' : if ((c = read()) != '-') { throw new SyntaxException(getPosition(null), "Invalid escape character syntax"); } else if ((c = read()) == '\\') { return (char) (readEscape() | 0x80); } else if (c == '\0') { throw new SyntaxException(getPosition(null), "Invalid escape character syntax"); } return (char) ((c & 0xff) | 0x80); case 'C' : if ((c = read()) != '-') { throw new SyntaxException(getPosition(null), "Invalid escape character syntax"); } case 'c' : if ((c = read()) == '\\') { c = readEscape(); } else if (c == '?') { return '\u0177'; } else if (c == '\0') { throw new SyntaxException(getPosition(null), "Invalid escape character syntax"); } return (char) (c & 0x9f); case '\0' : throw new SyntaxException(getPosition(null), "Invalid escape character syntax"); default : return c; } } | 49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/b1293eda8454686e846e2a9837b348e2983bb423/LexerSource.java/clean/src/org/jruby/lexer/yacc/LexerSource.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1149,
855,
8448,
1435,
288,
3639,
1149,
276,
273,
855,
5621,
3639,
1620,
261,
71,
13,
288,
5411,
648,
5282,
294,
368,
23253,
7734,
327,
276,
31,
5411,
648,
296,
82,
11,
294,
368,
9472,
7734,
327,
2337,
82,
13506,
5411,
648,
296,
88,
11,
294,
368,
10300,
3246,
7734,
327,
2337,
88,
13506,
5411,
648,
296,
86,
11,
294,
368,
5926,
27935,
327,
7734,
327,
2337,
86,
13506,
5411,
648,
296,
74,
11,
294,
368,
646,
4746,
7734,
327,
2337,
74,
13506,
5411,
648,
296,
90,
11,
294,
368,
9768,
3246,
7734,
327,
2337,
89,
713,
3437,
13506,
5411,
648,
296,
69,
11,
294,
368,
13721,
12,
70,
1165,
13,
7734,
327,
2337,
89,
3784,
27,
13506,
5411,
648,
296,
73,
11,
294,
368,
4114,
7734,
327,
2337,
89,
713,
3707,
13506,
5411,
648,
296,
20,
11,
294,
648,
296,
21,
11,
294,
648,
296,
22,
11,
294,
648,
296,
23,
11,
294,
368,
10844,
287,
5381,
5411,
648,
296,
24,
11,
294,
648,
296,
25,
11,
294,
648,
296,
26,
11,
294,
648,
296,
27,
11,
294,
7734,
19541,
12,
71,
1769,
7734,
327,
4135,
19320,
12,
23,
1769,
5411,
648,
296,
92,
11,
294,
368,
3827,
5381,
2398,
202,
474,
3827,
2335,
273,
6716,
5621,
2398,
202,
3001,
3827,
620,
273,
4135,
7037,
12,
22,
1769,
2398,
202,
2398,
202,
759,
2631,
3827,
460,
1839,
326,
296,
92,
10332,
2398,
202,
430,
261,
7118,
2335,
422,
6716,
10756,
288,
2398,
202,
565,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1149,
855,
8448,
1435,
288,
3639,
1149,
276,
273,
855,
5621,
3639,
1620,
261,
71,
13,
288,
5411,
648,
5282,
294,
368,
23253,
7734,
327,
276,
31,
5411,
648,
296,
82,
11,
294,
368,
9472,
7734,
327,
2337,
82,
13506,
5411,
648,
296,
88,
11,
294,
368,
10300,
3246,
7734,
327,
2337,
88,
13506,
5411,
648,
296,
86,
11,
294,
368,
5926,
27935,
327,
7734,
327,
2337,
86,
13506,
5411,
648,
296,
74,
11,
294,
368,
646,
4746,
7734,
327,
2337,
74,
13506,
5411,
648,
296,
90,
11,
294,
368,
9768,
3246,
7734,
327,
2337,
89,
713,
3437,
13506,
5411,
648,
296,
69,
11,
294,
368,
13721,
12,
70,
1165,
13,
7734,
327,
2337,
89,
3784,
27,
2
] |
Class[] loadedClasses = app.getAllClasses(); | public static void main(String[] args) { ApplicationContext ctx = GrailsUtil.bootstrapGrailsFromClassPath(); GrailsApplication app = (GrailsApplication)ctx.getBean(GrailsApplication.APPLICATION_ID); Class[] loadedClasses = app.getAllClasses(); Binding b = new Binding(); for (int i = 0; i < loadedClasses.length; i++) { b.setVariable(loadedClasses[i].getName(), loadedClasses[i]); } Console c = new Console(app.getClassLoader(), new Binding()); c.run(); } | 50465 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50465/04f84d40684d8785499ed04d6996fd9f05dec7c0/Console.java/clean/src/commons/grails/ui/Console.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
9506,
202,
28278,
1103,
273,
10812,
14573,
1304,
18,
12722,
14571,
14573,
1265,
22158,
5621,
202,
202,
14571,
14573,
3208,
595,
273,
261,
14571,
14573,
3208,
13,
5900,
18,
588,
3381,
12,
14571,
14573,
3208,
18,
25039,
67,
734,
1769,
202,
202,
797,
8526,
4203,
4818,
273,
595,
18,
588,
1595,
4818,
5621,
9506,
202,
5250,
324,
273,
394,
15689,
5621,
9506,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
4203,
4818,
18,
2469,
31,
277,
27245,
288,
1082,
202,
70,
18,
542,
3092,
12,
4230,
4818,
63,
77,
8009,
17994,
9334,
4203,
4818,
63,
77,
19226,
202,
202,
97,
9506,
202,
10215,
276,
273,
394,
9657,
12,
2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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,
225,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
9506,
202,
28278,
1103,
273,
10812,
14573,
1304,
18,
12722,
14571,
14573,
1265,
22158,
5621,
202,
202,
14571,
14573,
3208,
595,
273,
261,
14571,
14573,
3208,
13,
5900,
18,
588,
3381,
12,
14571,
14573,
3208,
18,
25039,
67,
734,
1769,
202,
202,
797,
8526,
4203,
4818,
273,
595,
18,
588,
1595,
4818,
5621,
9506,
202,
5250,
324,
273,
394,
15689,
5621,
9506,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
4203,
4818,
18,
2469,
31,
277,
27245,
288,
1082,
202,
70,
18,
542,
3092,
12,
4230,
4818,
63,
77,
8009,
17994,
9334,
4203,
4818,
63,
77,
19226,
202,
202,
97,
9506,
202,
10215,
276,
273,
2
] |
|
w.write( "( INTEGER LITERAL"); | w.write( "INTEGER LITERAL"); | public void dump( CodeWriter w) { w.write( "( INTEGER LITERAL"); w.write( " < " + value + " > "); dumpNodeInfo( w); w.write( ")"); } | 11982 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11982/a09f0b7976561d3eee38c023d7cfbffad6a36a8b/IntLiteral.java/clean/src/polyglot/ast/IntLiteral.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
4657,
12,
3356,
2289,
341,
13,
225,
288,
565,
341,
18,
2626,
12,
315,
14217,
511,
18454,
8863,
565,
341,
18,
2626,
12,
315,
411,
315,
397,
460,
397,
315,
405,
315,
1769,
565,
4657,
25392,
12,
341,
1769,
565,
341,
18,
2626,
12,
7310,
1769,
225,
289,
2,
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,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
4657,
12,
3356,
2289,
341,
13,
225,
288,
565,
341,
18,
2626,
12,
315,
14217,
511,
18454,
8863,
565,
341,
18,
2626,
12,
315,
411,
315,
397,
460,
397,
315,
405,
315,
1769,
565,
4657,
25392,
12,
341,
1769,
565,
341,
18,
2626,
12,
7310,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Logging.log(Logging.ERROR, "IOException in MetaTypeInformation:getMetaTypeInformation(Bundle bundle)"); | Logging.log(Logging.ERROR, "IOException in MetaTypeInformation:getMetaTypeInformation(Bundle bundle)"); | public MetaTypeInformation getMetaTypeInformation(Bundle bundle) { MetaTypeInformation mti; try { mti = getMetaTypeProvider(bundle); } catch (IOException e) { Logging.log(Logging.ERROR, "IOException in MetaTypeInformation:getMetaTypeInformation(Bundle bundle)"); e.printStackTrace(); mti = null; } return mti; } | 13530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13530/57f62dc5268846fb59aa63bbc7cd8b13e5529bd6/MetaTypeServiceImpl.java/clean/bundles/org.eclipse.equinox.metatype/src/org/eclipse/equinox/metatype/MetaTypeServiceImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6565,
559,
5369,
11312,
559,
5369,
12,
3405,
3440,
13,
288,
202,
202,
2781,
559,
5369,
5874,
77,
31,
202,
202,
698,
288,
1082,
202,
1010,
77,
273,
11312,
559,
2249,
12,
9991,
1769,
202,
202,
97,
1044,
261,
14106,
425,
13,
288,
1082,
202,
7735,
18,
1330,
12,
7735,
18,
3589,
16,
315,
14106,
316,
6565,
559,
5369,
30,
588,
2781,
559,
5369,
12,
3405,
3440,
2225,
1769,
1082,
202,
73,
18,
1188,
6332,
5621,
1082,
202,
1010,
77,
273,
446,
31,
202,
202,
97,
202,
202,
2463,
5874,
77,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
6565,
559,
5369,
11312,
559,
5369,
12,
3405,
3440,
13,
288,
202,
202,
2781,
559,
5369,
5874,
77,
31,
202,
202,
698,
288,
1082,
202,
1010,
77,
273,
11312,
559,
2249,
12,
9991,
1769,
202,
202,
97,
1044,
261,
14106,
425,
13,
288,
1082,
202,
7735,
18,
1330,
12,
7735,
18,
3589,
16,
315,
14106,
316,
6565,
559,
5369,
30,
588,
2781,
559,
5369,
12,
3405,
3440,
2225,
1769,
1082,
202,
73,
18,
1188,
6332,
5621,
1082,
202,
1010,
77,
273,
446,
31,
202,
202,
97,
202,
202,
2463,
5874,
77,
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
] |
serverSocket.close(); | if (serverSocket != null) serverSocket.close(); | public void run() { try { while (acceptConnections) { Socket s = serverSocket.accept(); if (_log.shouldLog(Log.DEBUG)) _log.debug("New connection from " + s.getInetAddress().toString() + ":" + s.getPort()); try { SAMHandler handler = SAMHandlerFactory.createSAMHandler(s, i2cpProps); if (handler == null) { if (_log.shouldLog(Log.DEBUG)) _log.debug("SAM handler has not been instantiated"); try { s.close(); } catch (IOException e) {} continue; } handler.setBridge(this); handler.startHandling(); } catch (SAMException e) { if (_log.shouldLog(Log.ERROR)) _log.error("SAM error: " + e.getMessage(), e); try { String reply = "HELLO REPLY RESULT=I2P_ERROR MESSAGE=\"" + e.getMessage() + "\"\n"; s.getOutputStream().write(reply.getBytes("ISO-8859-1")); } catch (IOException ioe) { if (_log.shouldLog(Log.ERROR)) _log.error("SAM Error sending error reply", ioe); } try { s.close(); } catch (IOException ioe) {} } catch (Exception ee) { try { s.close(); } catch (IOException ioe) {} _log.log(Log.CRIT, "Unexpected error handling SAM connection", ee); } } } catch (Exception e) { if (_log.shouldLog(Log.ERROR)) _log.error("Unexpected error while listening for connections", e); } finally { try { if (_log.shouldLog(Log.DEBUG)) _log.debug("Shutting down, closing server socket"); serverSocket.close(); } catch (IOException e) {} } } | 45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/12a6f3e9388df0ccb53fff2246812acaa97799a7/SAMBridge.java/buggy/apps/sam/java/src/net/i2p/sam/SAMBridge.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
775,
288,
5411,
1323,
261,
9436,
9314,
13,
288,
7734,
8758,
272,
273,
1438,
4534,
18,
9436,
5621,
7734,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
9394,
3719,
10792,
389,
1330,
18,
4148,
2932,
1908,
1459,
628,
315,
1171,
9079,
397,
272,
18,
588,
382,
278,
1887,
7675,
10492,
1435,
397,
6153,
1171,
9079,
397,
272,
18,
588,
2617,
10663,
7734,
775,
288,
10792,
30712,
1503,
1838,
273,
30712,
1503,
1733,
18,
2640,
55,
2192,
1503,
12,
87,
16,
277,
22,
4057,
5047,
1769,
10792,
309,
261,
4176,
422,
446,
13,
288,
13491,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
9394,
3719,
18701,
389,
1330,
18,
4148,
2932,
55,
2192,
1838,
711,
486,
2118,
17651,
8863,
13491,
775,
288,
18701,
272,
18,
4412,
5621,
13491,
289,
1044,
261,
14106,
425,
13,
2618,
13491,
1324,
31,
10792,
289,
10792,
1838,
18,
542,
13691,
12,
2211,
1769,
10792,
1838,
18,
1937,
14701,
5621,
7734,
289,
1044,
261,
55,
2192,
503,
425,
13,
288,
10792,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
3589,
3719,
13491,
389,
1330,
18,
1636,
2932,
55,
2192,
555,
30,
315,
397,
425,
18,
24906,
9334,
425,
1769,
10792,
775,
288,
13491,
514,
4332,
273,
315,
20264,
1502,
2438,
23893,
17210,
33,
45,
22,
52,
67,
3589,
9841,
13186,
397,
425,
18,
24906,
1435,
397,
7023,
64,
82,
14432,
13491,
272,
18,
588,
4632,
7675,
2626,
12,
10629,
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,
377,
1071,
918,
1086,
1435,
288,
3639,
775,
288,
5411,
1323,
261,
9436,
9314,
13,
288,
7734,
8758,
272,
273,
1438,
4534,
18,
9436,
5621,
7734,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
9394,
3719,
10792,
389,
1330,
18,
4148,
2932,
1908,
1459,
628,
315,
1171,
9079,
397,
272,
18,
588,
382,
278,
1887,
7675,
10492,
1435,
397,
6153,
1171,
9079,
397,
272,
18,
588,
2617,
10663,
7734,
775,
288,
10792,
30712,
1503,
1838,
273,
30712,
1503,
1733,
18,
2640,
55,
2192,
1503,
12,
87,
16,
277,
22,
4057,
5047,
1769,
10792,
309,
261,
4176,
422,
446,
13,
288,
13491,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
9394,
3719,
18701,
389,
1330,
18,
2
] |
public final Object readObject () throws ClassNotFoundException, IOException { if (this.useSubclassMethod) return readObjectOverride (); boolean was_deserializing; Object ret_val; was_deserializing = this.isDeserializing; if (! was_deserializing) setBlockDataMode (false); this.isDeserializing = true;// DEBUG ("MARKER "); byte marker = this.realInputStream.readByte (); switch (marker) { case TC_BLOCKDATA: case TC_BLOCKDATALONG: readNextBlock (marker); throw new BlockDataException (this.blockDataBytes); case TC_NULL: ret_val = null; break; case TC_REFERENCE: {// DEBUG ("REFERENCE "); Integer oid = new Integer (this.realInputStream.readInt ()); ret_val = ((ObjectIdentityWrapper) this.objectLookupTable.get (oid)).object; break; } case TC_CLASS: { ObjectStreamClass osc = (ObjectStreamClass)readObject (); Class clazz = osc.forClass (); assignNewHandle (clazz); ret_val = clazz; break; } case TC_CLASSDESC: {// DEBUG ("CLASSDESC NAME "); String name = this.realInputStream.readUTF ();// DEBUG ("UID "); long uid = this.realInputStream.readLong ();// DEBUG ("FLAGS "); byte flags = this.realInputStream.readByte ();// DEBUG ("FIELD COUNT "); short field_count = this.realInputStream.readShort (); ObjectStreamField[] fields = new ObjectStreamField[field_count]; ObjectStreamClass osc = new ObjectStreamClass (name, uid, flags, fields); assignNewHandle (osc); for (int i=0; i < field_count; i++) {// DEBUG ("TYPE CODE "); char type_code = (char)this.realInputStream.readByte ();// DEBUG ("FIELD NAME "); String field_name = this.realInputStream.readUTF (); String class_name; if (type_code == 'L' || type_code == '[') class_name = (String)readObject (); else class_name = String.valueOf (type_code); fields[i] = new ObjectStreamField (field_name, TypeSignature.getClassForEncoding (class_name)); } setBlockDataMode (true); osc.setClass (resolveClass (osc)); setBlockDataMode (false);// DEBUG ("ENDBLOCKDATA "); if (this.realInputStream.readByte () != TC_ENDBLOCKDATA) throw new IOException ("Data annotated to class was not consumed."); osc.setSuperclass ((ObjectStreamClass)readObject ()); ret_val = osc; break; } case TC_STRING: {// DEBUG ("STRING "); String s = this.realInputStream.readUTF (); ret_val = processResolution (s, assignNewHandle (s)); break; } case TC_ARRAY: { ObjectStreamClass osc = (ObjectStreamClass)readObject (); Class componenetType = osc.forClass ().getComponentType ();// DEBUG ("ARRAY LENGTH "); int length = this.realInputStream.readInt (); Object array = Array.newInstance (componenetType, length); int handle = assignNewHandle (array); readArrayElements (array, componenetType); ret_val = processResolution (array, handle); break; } case TC_OBJECT: { ObjectStreamClass osc = (ObjectStreamClass)readObject (); Class clazz = osc.forClass (); if (!Serializable.class.isAssignableFrom (clazz)) throw new NotSerializableException (clazz + " is not Serializable, and thus cannot be deserialized."); if (Externalizable.class.isAssignableFrom (clazz)) { Externalizable obj = null; try { obj = (Externalizable)clazz.newInstance (); } catch (InstantiationException e) { throw new ClassNotFoundException ("Instance of " + clazz + " could not be created"); } catch (IllegalAccessException e) { throw new ClassNotFoundException ("Instance of " + clazz + " could not be created because class or zero-argument constructor is not accessible"); } catch (NoSuchMethodError e) { throw new ClassNotFoundException ("Instance of " + clazz + " could not be created because zero-argument constructor is not defined"); } int handle = assignNewHandle (obj); boolean read_from_blocks = ((osc.getFlags () & SC_BLOCK_DATA) != 0); if (read_from_blocks) setBlockDataMode (true); obj.readExternal (this); if (read_from_blocks) setBlockDataMode (false); ret_val = processResolution (obj, handle); break; } // end if (Externalizable.class.isAssignableFrom (clazz)) // find the first non-serializable, non-abstract // class in clazz's inheritance hierarchy Class first_nonserial = clazz.getSuperclass (); while (Serializable.class.isAssignableFrom (first_nonserial) || Modifier.isAbstract (first_nonserial.getModifiers ())) first_nonserial = first_nonserial.getSuperclass ();// DEBUGln ("Using " + first_nonserial// + " as starting point for constructing " + clazz); Object obj = null; obj = newObject (clazz, first_nonserial); if (obj == null) throw new ClassNotFoundException ("Instance of " + clazz + " could not be created"); int handle = assignNewHandle (obj); this.currentObject = obj; ObjectStreamClass[] hierarchy = ObjectStreamClass.getObjectStreamClasses (clazz);// DEBUGln ("Got class hierarchy of depth " + hierarchy.length); boolean has_read; for (int i=0; i < hierarchy.length; i++) { this.currentObjectStreamClass = hierarchy[i];// DEBUGln ("Reading fields of "// + this.currentObjectStreamClass.getName ()); has_read = true; try { this.currentObjectStreamClass.forClass (). getDeclaredMethod ("readObject", readObjectParams); } catch (NoSuchMethodException e) { has_read = false; } // XXX: should initialize fields in classes in the hierarchy // that aren't in the stream // should skip over classes in the stream that aren't in the // real classes hierarchy readFields (obj, this.currentObjectStreamClass.fields, has_read, this.currentObjectStreamClass); if (has_read) {// DEBUG ("ENDBLOCKDATA? "); if (this.realInputStream.readByte () != TC_ENDBLOCKDATA) throw new IOException ("No end of block data seen for class with readObject (ObjectInputStream) method."); } } this.currentObject = null; this.currentObjectStreamClass = null; ret_val = processResolution (obj, handle); break; } case TC_RESET: clearHandles (); ret_val = readObject (); break; case TC_EXCEPTION: { Exception e = (Exception)readObject (); clearHandles (); throw new WriteAbortedException ("Exception thrown during writing of stream", e); } default: throw new IOException ("Unknown marker on stream"); } this.isDeserializing = was_deserializing; if (! was_deserializing) { setBlockDataMode (true); if (validators.size () > 0) invokeValidators (); } return ret_val; } | 1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/fc168340950fe24246924819019e0b004bdb5365/ObjectInputStream.java/clean/libjava/java/io/ObjectInputStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6385,
921,
896,
921,
1435,
15069,
797,
3990,
16,
14106,
95,
430,
12,
2211,
18,
1202,
1676,
1106,
1305,
13,
2463,
896,
921,
6618,
5621,
6494,
17416,
67,
5489,
24662,
6894,
31,
921,
1349,
67,
1125,
31,
17416,
67,
5489,
24662,
6894,
33,
2211,
18,
291,
20765,
6894,
31,
430,
12,
5,
17416,
67,
5489,
24662,
6894,
13,
542,
1768,
751,
2309,
12,
5743,
1769,
2211,
18,
291,
20765,
6894,
33,
3767,
31,
759,
9394,
2932,
25989,
8863,
1637,
874,
1313,
264,
33,
2211,
18,
7688,
4348,
18,
896,
3216,
5621,
9610,
12,
11145,
15329,
3593,
15988,
67,
11403,
4883,
30,
3593,
15988,
67,
11403,
11102,
1013,
7390,
30,
202,
896,
2134,
1768,
12,
11145,
1769,
202,
12849,
2704,
1768,
22480,
12,
2211,
18,
2629,
751,
2160,
1769,
3593,
15988,
67,
8560,
30,
202,
1349,
67,
1125,
33,
2011,
31,
202,
8820,
31,
3593,
15988,
67,
14617,
18611,
759,
202,
9394,
2932,
14617,
8863,
202,
4522,
839,
33,
2704,
4522,
12,
2211,
18,
7688,
4348,
18,
896,
1702,
10663,
202,
1349,
67,
1125,
33,
12443,
921,
4334,
3611,
13,
202,
202,
2211,
18,
1612,
6609,
1388,
18,
588,
12,
839,
13,
2934,
1612,
31,
202,
8820,
31,
97,
3593,
15988,
67,
5237,
18611,
202,
921,
1228,
797,
538,
71,
28657,
921,
1228,
797,
13,
896,
921,
5621,
202,
797,
830,
3638,
33,
538,
71,
18,
1884,
797,
5621,
202,
6145,
1908,
3259,
12,
830,
3638,
1769,
202,
1349,
67,
1125,
33,
830,
3638,
31,
202,
8820,
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,
6385,
921,
896,
921,
1435,
15069,
797,
3990,
16,
14106,
95,
430,
12,
2211,
18,
1202,
1676,
1106,
1305,
13,
2463,
896,
921,
6618,
5621,
6494,
17416,
67,
5489,
24662,
6894,
31,
921,
1349,
67,
1125,
31,
17416,
67,
5489,
24662,
6894,
33,
2211,
18,
291,
20765,
6894,
31,
430,
12,
5,
17416,
67,
5489,
24662,
6894,
13,
542,
1768,
751,
2309,
12,
5743,
1769,
2211,
18,
291,
20765,
6894,
33,
3767,
31,
759,
9394,
2932,
25989,
8863,
1637,
874,
1313,
264,
33,
2211,
18,
7688,
4348,
18,
896,
3216,
5621,
9610,
12,
11145,
15329,
3593,
15988,
67,
11403,
4883,
30,
3593,
15988,
67,
11403,
11102,
1013,
7390,
30,
202,
896,
2134,
1768,
12,
11145,
1769,
202,
12849,
2
] |
||
String[] resultDebugWithMaxMemory = { "java", "-Xmx256m", "-classpath", classpath, "org.apache.tools.ant.Main", "-listener", "org.apache.tools.ant.XmlLogger", "-DXmlLogger.file=log.xml", "-Dlabel=200.1.23", "-debug", "-verbose", "-buildfile", "buildfile", "target" }; String[] resultDebugWithMaxMemoryAndProperty = { "java", "-Xmx256m", "-classpath", classpath, "org.apache.tools.ant.Main", "-listener", "org.apache.tools.ant.XmlLogger", "-DXmlLogger.file=log.xml", "-Dlabel=200.1.23", "-Dfoo=bar", "-debug", "-verbose", "-buildfile", "buildfile", "target" }; String[] resultBatchFile = { "cmd.exe", "/C", "ant.bat", "-listener", "org.apache.tools.ant.XmlLogger", "-DXmlLogger.file=log.xml", "-Dlabel=200.1.23", "-buildfile", "buildfile", "target" }; String[] resultShellScript = { "ant.sh", "-listener", "org.apache.tools.ant.XmlLogger", "-DXmlLogger.file=log.xml", "-Dlabel=200.1.23", "-buildfile", "buildfile", "target" }; BasicConfigurator.configure( new ConsoleAppender(new PatternLayout("%m%n"))); assertTrue( Arrays.equals( resultInfo, builder.getCommandLineArgs(properties, false, false, false))); | public void testGetCommandLineArgs() { AntBuilder builder = new AntBuilder(); builder.setTarget("target"); builder.setBuildFile("buildfile"); Hashtable properties = new Hashtable(); properties.put("label", "200.1.23"); String classpath = System.getProperty("java.class.path"); String[] resultDebug = { "java", "-classpath", classpath, "org.apache.tools.ant.Main", "-listener", "org.apache.tools.ant.XmlLogger", "-DXmlLogger.file=log.xml", "-Dlabel=200.1.23", "-debug", "-verbose", "-buildfile", "buildfile", "target" }; String[] resultInfo = { "java", "-classpath", classpath, "org.apache.tools.ant.Main", "-listener", "org.apache.tools.ant.XmlLogger", "-DXmlLogger.file=log.xml", "-Dlabel=200.1.23", "-buildfile", "buildfile", "target" }; String[] resultLogger = { "java", "-classpath", classpath, "org.apache.tools.ant.Main", "-logger", "org.apache.tools.ant.XmlLogger", "-logfile", "log.xml", "-Dlabel=200.1.23", "-buildfile", "buildfile", "target" }; String[] resultDebugWithMaxMemory = { "java", "-Xmx256m", "-classpath", classpath, "org.apache.tools.ant.Main", "-listener", "org.apache.tools.ant.XmlLogger", "-DXmlLogger.file=log.xml", "-Dlabel=200.1.23", "-debug", "-verbose", "-buildfile", "buildfile", "target" }; String[] resultDebugWithMaxMemoryAndProperty = { "java", "-Xmx256m", "-classpath", classpath, "org.apache.tools.ant.Main", "-listener", "org.apache.tools.ant.XmlLogger", "-DXmlLogger.file=log.xml", "-Dlabel=200.1.23", "-Dfoo=bar", "-debug", "-verbose", "-buildfile", "buildfile", "target" }; String[] resultBatchFile = { "cmd.exe", "/C", "ant.bat", "-listener", "org.apache.tools.ant.XmlLogger", "-DXmlLogger.file=log.xml", "-Dlabel=200.1.23", "-buildfile", "buildfile", "target" }; String[] resultShellScript = { "ant.sh", "-listener", "org.apache.tools.ant.XmlLogger", "-DXmlLogger.file=log.xml", "-Dlabel=200.1.23", "-buildfile", "buildfile", "target" }; BasicConfigurator.configure( new ConsoleAppender(new PatternLayout("%m%n"))); assertTrue( Arrays.equals( resultInfo, builder.getCommandLineArgs(properties, false, false, false))); assertTrue( Arrays.equals( resultLogger, builder.getCommandLineArgs(properties, true, false, false))); builder.setAntScript("ant.bat"); assertTrue( Arrays.equals( resultBatchFile, builder.getCommandLineArgs(properties, false, true, true))); builder.setAntScript("ant.sh"); assertTrue( Arrays.equals( resultShellScript, builder.getCommandLineArgs(properties, false, true, false))); builder.setAntScript(null); builder.setUseDebug(true); assertTrue( Arrays.equals( resultDebug, builder.getCommandLineArgs(properties, false, false, false))); AntBuilder.JVMArg arg = (AntBuilder.JVMArg) builder.createJVMArg(); arg.setArg("-Xmx256m"); assertTrue( Arrays.equals( resultDebugWithMaxMemory, builder.getCommandLineArgs(properties, false, false, false))); AntBuilder.Property prop = builder.createProperty(); prop.setName("foo"); prop.setValue("bar"); assertTrue( Arrays.equals( resultDebugWithMaxMemoryAndProperty, builder.getCommandLineArgs(properties, false, false, false))); } | 52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/8540af7eec61de47652fd74297065eff1c73be70/AntBuilderTest.java/clean/main/test/net/sourceforge/cruisecontrol/builders/AntBuilderTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
967,
21391,
2615,
1435,
288,
3639,
18830,
1263,
2089,
273,
394,
18830,
1263,
5621,
3639,
2089,
18,
542,
2326,
2932,
3299,
8863,
3639,
2089,
18,
542,
3116,
812,
2932,
3510,
768,
8863,
3639,
18559,
1790,
273,
394,
18559,
5621,
3639,
1790,
18,
458,
2932,
1925,
3113,
315,
6976,
18,
21,
18,
4366,
8863,
3639,
514,
10006,
273,
2332,
18,
588,
1396,
2932,
6290,
18,
1106,
18,
803,
8863,
3639,
514,
8526,
563,
2829,
273,
5411,
288,
7734,
315,
6290,
3113,
7734,
3701,
26302,
3113,
7734,
10006,
16,
7734,
315,
3341,
18,
19211,
18,
6642,
18,
970,
18,
6376,
3113,
7734,
3701,
12757,
3113,
7734,
315,
3341,
18,
19211,
18,
6642,
18,
970,
18,
4432,
3328,
3113,
7734,
3701,
40,
4432,
3328,
18,
768,
33,
1330,
18,
2902,
3113,
7734,
3701,
40,
1925,
33,
6976,
18,
21,
18,
4366,
3113,
7734,
3701,
4148,
3113,
7734,
3701,
11369,
3113,
7734,
3701,
3510,
768,
3113,
7734,
315,
3510,
768,
3113,
7734,
315,
3299,
6,
289,
31,
3639,
514,
8526,
563,
966,
273,
5411,
288,
7734,
315,
6290,
3113,
7734,
3701,
26302,
3113,
7734,
10006,
16,
7734,
315,
3341,
18,
19211,
18,
6642,
18,
970,
18,
6376,
3113,
7734,
3701,
12757,
3113,
7734,
315,
3341,
18,
19211,
18,
6642,
18,
970,
18,
4432,
3328,
3113,
7734,
3701,
40,
4432,
3328,
18,
768,
33,
1330,
18,
2902,
3113,
7734,
3701,
40,
1925,
33,
6976,
18,
21,
18,
4366,
3113,
7734,
3701,
3510,
768,
3113,
7734,
315,
3510,
768,
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,
967,
21391,
2615,
1435,
288,
3639,
18830,
1263,
2089,
273,
394,
18830,
1263,
5621,
3639,
2089,
18,
542,
2326,
2932,
3299,
8863,
3639,
2089,
18,
542,
3116,
812,
2932,
3510,
768,
8863,
3639,
18559,
1790,
273,
394,
18559,
5621,
3639,
1790,
18,
458,
2932,
1925,
3113,
315,
6976,
18,
21,
18,
4366,
8863,
3639,
514,
10006,
273,
2332,
18,
588,
1396,
2932,
6290,
18,
1106,
18,
803,
8863,
3639,
514,
8526,
563,
2829,
273,
5411,
288,
7734,
315,
6290,
3113,
7734,
3701,
26302,
3113,
7734,
10006,
16,
7734,
315,
3341,
18,
19211,
18,
6642,
18,
970,
18,
6376,
3113,
7734,
3701,
12757,
3113,
7734,
315,
3341,
18,
19211,
18,
6642,
18,
970,
18,
4432,
3328,
2
] |
|
} | } else { iter.setStart(iterStore); } | private void translateGeneralContext(ClassGenerator classGen, MethodGenerator methodGen) { final ConstantPoolGen cpg = classGen.getConstantPool(); final InstructionList il = methodGen.getInstructionList(); int iteratorIndex = 0; BranchHandle ifBlock = null; LocalVariableGen iter, node, node2; final String iteratorName = getNextFieldName(); // Store node on the stack into a local variable node = methodGen.addLocalVariable("step_pattern_tmp1", Util.getJCRefType(NODE_SIG), il.getEnd(), null); il.append(new ISTORE(node.getIndex())); // Create a new local to store the iterator iter = methodGen.addLocalVariable("step_pattern_tmp2", Util.getJCRefType(NODE_ITERATOR_SIG), il.getEnd(), null); // Add a new private field if this is the main class if (!classGen.isExternal()) { final Field iterator = new Field(ACC_PRIVATE, cpg.addUtf8(iteratorName), cpg.addUtf8(NODE_ITERATOR_SIG), null, cpg.getConstantPool()); classGen.addField(iterator); iteratorIndex = cpg.addFieldref(classGen.getClassName(), iteratorName, NODE_ITERATOR_SIG); il.append(classGen.loadTranslet()); il.append(new GETFIELD(iteratorIndex)); il.append(DUP); il.append(new ASTORE(iter.getIndex())); ifBlock = il.append(new IFNONNULL(null)); il.append(classGen.loadTranslet()); } // Compile the step created at type checking time _step.translate(classGen, methodGen); il.append(new ASTORE(iter.getIndex())); // If in the main class update the field too if (!classGen.isExternal()) { il.append(new ALOAD(iter.getIndex())); il.append(new PUTFIELD(iteratorIndex)); ifBlock.setTarget(il.append(NOP)); } // Get the parent of the node on the stack il.append(methodGen.loadDOM()); il.append(new ILOAD(node.getIndex())); int index = cpg.addInterfaceMethodref(DOM_INTF, GET_PARENT, GET_PARENT_SIG); il.append(new INVOKEINTERFACE(index, 2)); // Initialize the iterator with the parent il.append(new ALOAD(iter.getIndex())); il.append(SWAP); il.append(methodGen.setStartNode()); /* * Inline loop: * * int node2; * while ((node2 = iter.next()) != NodeIterator.END * && node2 < node); * return node2 == node; */ BranchHandle skipNext; InstructionHandle begin, next; node2 = methodGen.addLocalVariable("step_pattern_tmp3", Util.getJCRefType(NODE_SIG), il.getEnd(), null); skipNext = il.append(new GOTO(null)); next = il.append(new ALOAD(iter.getIndex())); begin = il.append(methodGen.nextNode()); il.append(DUP); il.append(new ISTORE(node2.getIndex())); _falseList.add(il.append(new IFLT(null))); // NodeIterator.END il.append(new ILOAD(node2.getIndex())); il.append(new ILOAD(node.getIndex())); il.append(new IF_ICMPLT(next)); il.append(new ILOAD(node2.getIndex())); il.append(new ILOAD(node.getIndex())); _falseList.add(il.append(new IF_ICMPNE(null))); skipNext.setTarget(begin); } | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/480fc3e61f3162d6702ae2271f44b92002675f6f/StepPattern.java/buggy/src/org/apache/xalan/xsltc/compiler/StepPattern.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
4204,
12580,
1042,
12,
797,
3908,
667,
7642,
16,
9944,
2985,
3908,
707,
7642,
13,
288,
202,
6385,
10551,
2864,
7642,
3283,
75,
273,
667,
7642,
18,
588,
6902,
2864,
5621,
202,
6385,
24605,
682,
14254,
273,
707,
7642,
18,
588,
11983,
682,
5621,
202,
474,
2775,
1016,
273,
374,
31,
202,
7108,
3259,
309,
1768,
273,
446,
31,
202,
2042,
3092,
7642,
1400,
16,
756,
16,
756,
22,
31,
202,
6385,
514,
2775,
461,
273,
6927,
7287,
5621,
202,
759,
4994,
756,
603,
326,
2110,
1368,
279,
1191,
2190,
202,
2159,
273,
707,
7642,
18,
1289,
2042,
3092,
2932,
4119,
67,
4951,
67,
5645,
21,
3113,
9944,
225,
3564,
18,
588,
46,
39,
22600,
12,
8744,
67,
18513,
3631,
25083,
225,
14254,
18,
588,
1638,
9334,
446,
1769,
202,
330,
18,
6923,
12,
2704,
467,
13651,
12,
2159,
18,
588,
1016,
1435,
10019,
202,
759,
1788,
279,
394,
1191,
358,
1707,
326,
2775,
202,
2165,
273,
707,
7642,
18,
1289,
2042,
3092,
2932,
4119,
67,
4951,
67,
5645,
22,
3113,
9944,
225,
3564,
18,
588,
46,
39,
22600,
12,
8744,
67,
11844,
3575,
67,
18513,
3631,
25083,
225,
14254,
18,
588,
1638,
9334,
446,
1769,
202,
759,
1436,
279,
394,
3238,
652,
309,
333,
353,
326,
2774,
667,
202,
430,
16051,
1106,
7642,
18,
291,
6841,
10756,
288,
202,
565,
727,
2286,
2775,
273,
202,
202,
2704,
2286,
12,
31414,
67,
20055,
16,
30306,
3283,
75,
18,
1289,
15230,
28,
12,
9838,
461,
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,
4204,
12580,
1042,
12,
797,
3908,
667,
7642,
16,
9944,
2985,
3908,
707,
7642,
13,
288,
202,
6385,
10551,
2864,
7642,
3283,
75,
273,
667,
7642,
18,
588,
6902,
2864,
5621,
202,
6385,
24605,
682,
14254,
273,
707,
7642,
18,
588,
11983,
682,
5621,
202,
474,
2775,
1016,
273,
374,
31,
202,
7108,
3259,
309,
1768,
273,
446,
31,
202,
2042,
3092,
7642,
1400,
16,
756,
16,
756,
22,
31,
202,
6385,
514,
2775,
461,
273,
6927,
7287,
5621,
202,
759,
4994,
756,
603,
326,
2110,
1368,
279,
1191,
2190,
202,
2159,
273,
707,
7642,
18,
1289,
2042,
3092,
2932,
4119,
67,
4951,
67,
5645,
21,
3113,
9944,
225,
3564,
18,
588,
46,
39,
22600,
12,
2
] |
buffer.append(itemSizes[i] + " "); | buffer.append(itemSizes[i] + " "); | public String toString() { StringBuffer buffer = new StringBuffer(20); buffer.append("item wrap "); for (int i=0; i<itemWrapIndices.length; i++) { buffer.append(itemWrapIndices[i] + " "); } buffer.append('\n'); buffer.append("item size "); for (int i=0; i<itemSizes.length; i++) { buffer.append(itemSizes[i] + " "); } buffer.append('\n'); return buffer.toString(); } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/80cfecc0fb5392981e25acee0f567feb8ed55185/CoolBarLayout.java/clean/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/CoolBarLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1762,
1435,
288,
202,
202,
780,
1892,
1613,
273,
394,
6674,
12,
3462,
1769,
202,
202,
4106,
18,
6923,
2932,
1726,
2193,
315,
1769,
202,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
1726,
2964,
8776,
18,
2469,
31,
277,
27245,
288,
1082,
202,
4106,
18,
6923,
12,
1726,
2964,
8776,
63,
77,
65,
397,
315,
315,
1769,
202,
202,
97,
202,
202,
4106,
18,
6923,
2668,
64,
82,
8284,
202,
202,
4106,
18,
6923,
2932,
1726,
963,
315,
1769,
202,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
1726,
11923,
18,
2469,
31,
277,
27245,
288,
1082,
202,
4106,
18,
6923,
12,
1726,
11923,
63,
77,
65,
397,
315,
315,
1769,
202,
202,
97,
202,
202,
4106,
18,
6923,
2668,
64,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1762,
1435,
288,
202,
202,
780,
1892,
1613,
273,
394,
6674,
12,
3462,
1769,
202,
202,
4106,
18,
6923,
2932,
1726,
2193,
315,
1769,
202,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
1726,
2964,
8776,
18,
2469,
31,
277,
27245,
288,
1082,
202,
4106,
18,
6923,
12,
1726,
2964,
8776,
63,
77,
65,
397,
315,
315,
1769,
202,
202,
97,
202,
202,
4106,
18,
6923,
2668,
64,
82,
8284,
202,
202,
4106,
18,
6923,
2932,
1726,
963,
315,
1769,
202,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
1726,
11923,
18,
2469,
31,
277,
27245,
288,
1082,
202,
4106,
18,
6923,
12,
1726,
11923,
63,
77,
65,
397,
315,
315,
2
] |
if (quantity < 1) { | if (quantity < 0.00001) { | public Vector getSubtasks(Task parentTask) { if (!(parentTask.getVerb ().equals (Constants.Verb.PROJECTSUPPLY))) error ("Expecting a project supply task, got " + parentTask); Vector childTasks = new Vector (); // create the d.o. Asset supplyAsset = parentTask.getDirectObject(); Preference pref = prefHelper.getPrefWithAspectType (parentTask, AlpineAspectType.DEMANDRATE); double ratePerSec = prefHelper.getPreferenceBestValue (pref); // base number is in quantity per second! double ratePerDay = ratePerSec*SECS_PER_DAY; Date readyAt = prefHelper.getReadyAt (parentTask); Date early = getEarlyDate (parentTask); Date best = prefHelper.getBestDate (parentTask); Date late = getLateDate (parentTask); if (early.getTime () < readyAt.getTime ()) early = readyAt; if (best.getTime () < readyAt.getTime ()) best = readyAt; long window = best.getTime () - readyAt.getTime(); long originalWindowInDays = window/MILLIS_PER_DAY; long numSubtasks = window/(CHUNK_DAYS*MILLIS_PER_DAY); if (window - (numSubtasks * CHUNK_DAYS*MILLIS_PER_DAY) != 0) numSubtasks++; if (numSubtasks < 1) { error (getName () + ".getSubtasks - task " + parentTask.getUID () + " will create no subtasks? Window was " + originalWindowInDays + " days"); } if (isInfoEnabled ()) { info (getName () + ".getSubtasks - task " + parentTask.getUID () + " from " + readyAt + " to " + best + " will produce " + numSubtasks + " subtasks."); } String unit = (prepHelper.hasPrepNamed (parentTask, Constants.Preposition.FOR)) ? (String) prepHelper.getIndirectObject (parentTask, Constants.Preposition.FOR) : "null"; // create one subtask for every chunk set of days, with an asset that is the total // delivered over the period = days*ratePerDay double daysSoFar = 0; int totalQuantity = 0; int targetQuantity = (int) (((double) (window/1000l))*ratePerSec); Date lastBestDate = readyAt; if (isInfoEnabled ()) { info (getName () + ".getSubtasks - task " + parentTask.getUID () + " target quantity " + targetQuantity + " windowInSec " + window/1000l + " rate/sec " + ratePerSec); } for (int i = 0; i < (int) numSubtasks; i++) { boolean onLastTask = (window/MILLIS_PER_DAY) < CHUNK_DAYS; double daysToChunk = (onLastTask) ? window/MILLIS_PER_DAY : CHUNK_DAYS; if (isInfoEnabled () && onLastTask) info ("on last task - days " + daysToChunk + " since " + window/MILLIS_PER_DAY + " < " + CHUNK_DAYS); daysSoFar += daysToChunk; window -= ((long)daysToChunk)*MILLIS_PER_DAY; int quantity = (int) (daysToChunk * ratePerDay); if (onLastTask && ((totalQuantity + quantity) != targetQuantity)) { if (isInfoEnabled ()) info (" task " + parentTask.getUID () + " adjusting quantity from " +quantity + " to " + (targetQuantity - totalQuantity) + " total is " + totalQuantity); quantity = targetQuantity - totalQuantity; } else if (isInfoEnabled ()) info (".getSubtasks - task " + parentTask.getUID () + " quantity is " + quantity + " chunk days " + daysToChunk+ " rate " + ratePerDay); if (quantity < 1) { error (".getSubtasks - task " + parentTask.getUID () + " gets a quantity of zero, ratePerDay was " + ratePerDay + " chunk days " +daysToChunk); } double massInKGs = ((GLMAsset)supplyAsset).getPhysicalPG().getMass().getKilograms()*quantity; totalQuantity += quantity; // CHANGE to JUST Grab the d.o.? // set item id pg to show it's a reservation, and not a normal task's asset ItemIdentificationPG itemIDPG = (ItemIdentificationPG) supplyAsset.getItemIdentificationPG(); String itemID = itemIDPG.getItemIdentification(); String itemNomen = itemIDPG.getNomenclature (); if (itemID == null) { TypeIdentificationPG typeID = supplyAsset.getTypeIdentificationPG (); itemID = typeID.getTypeIdentification(); } if (itemNomen == null) { TypeIdentificationPG typeID = supplyAsset.getTypeIdentificationPG (); itemNomen = typeID.getNomenclature(); } GLMAsset milvan = makeMilvan (); addContentsInfo (milvan, itemNomen, itemID, unit, massInKGs); Task subTask = makeTask (parentTask, milvan);//deliveredAsset); long bestTime = early.getTime() + ((long)daysSoFar)*MILLIS_PER_DAY; if (bestTime > best.getTime()) { if (isInfoEnabled()) info (getName () + ".getSubtasks - had to correct bestTime, was " + new Date (bestTime) + " now " + best); bestTime = best.getTime(); } if (isDebugEnabled ()) debug (getName () + ".getSubtasks - making task " + subTask.getUID() + " with best arrival " + new Date(bestTime)); prefHelper.replacePreference((NewTask)subTask, prefHelper.makeEndDatePreference (ldmf, early, new Date (bestTime), late)); prefHelper.removePrefWithAspectType (subTask, AlpineAspectType.DEMANDRATE); // we've included it in the d.o. prepHelper.removePrepNamed (subTask, Constants.Preposition.MAINTAINING); prepHelper.removePrepNamed (subTask, Constants.Preposition.REFILL); prepHelper.addPrepToTask (subTask, prepHelper.makePrepositionalPhrase (ldmf, "Start", lastBestDate)); if (isInfoEnabled()) info (getName () + " publishing reservation " + subTask.getUID() + " for " + itemNomen + " from " + lastBestDate + " to " + new Date(bestTime) + " weight " + massInKGs + " kgs."); lastBestDate = new Date (bestTime); childTasks.addElement (subTask); } // post condition if (totalQuantity != targetQuantity) { if (isWarnEnabled ()) warn (getName () + " total quantity " + totalQuantity + " != original total " + targetQuantity + " = window " + originalWindowInDays + " * ratePerDay " + ratePerDay); } if (isInfoEnabled()) info (getName () + " returning " + childTasks.size() + " subtasks for " + parentTask.getUID()); return childTasks; } | 11319 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11319/769c6ea8476dcbad552a264bf55aeeb4aad84da1/AmmoProjectionExpanderPlugin.java/clean/bbn/src/org/cougaar/logistics/plugin/trans/AmmoProjectionExpanderPlugin.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5589,
7040,
9416,
12,
2174,
982,
2174,
13,
288,
565,
309,
16051,
12,
2938,
2174,
18,
588,
16281,
1832,
18,
14963,
261,
2918,
18,
16281,
18,
17147,
13272,
23893,
20349,
1377,
555,
7566,
24439,
279,
1984,
14467,
1562,
16,
2363,
315,
397,
982,
2174,
1769,
565,
5589,
1151,
6685,
273,
394,
5589,
261,
1769,
565,
368,
752,
326,
302,
18,
83,
18,
565,
10494,
14467,
6672,
273,
982,
2174,
18,
588,
5368,
921,
5621,
565,
29125,
11307,
273,
11307,
2276,
18,
588,
23218,
1190,
17468,
559,
261,
2938,
2174,
16,
2262,
84,
558,
17468,
559,
18,
1639,
11712,
24062,
1769,
565,
1645,
4993,
2173,
2194,
273,
11307,
2276,
18,
588,
9624,
14173,
620,
261,
25724,
1769,
368,
1026,
1300,
353,
316,
10457,
1534,
2205,
5,
565,
1645,
4993,
2173,
4245,
273,
4993,
2173,
2194,
14,
1090,
4596,
67,
3194,
67,
10339,
31,
377,
2167,
5695,
861,
273,
11307,
2276,
18,
588,
8367,
861,
282,
261,
2938,
2174,
1769,
565,
2167,
11646,
282,
273,
4774,
20279,
1626,
261,
2938,
2174,
1769,
565,
2167,
3796,
565,
273,
11307,
2276,
18,
588,
14173,
1626,
225,
261,
2938,
2174,
1769,
565,
2167,
26374,
565,
273,
9014,
340,
1626,
225,
261,
2938,
2174,
1769,
565,
309,
261,
2091,
715,
18,
588,
950,
1832,
411,
5695,
861,
18,
588,
950,
1832,
13,
1377,
11646,
273,
5695,
861,
31,
565,
309,
261,
12729,
18,
588,
950,
1832,
411,
5695,
861,
18,
588,
950,
1832,
13,
1377,
3796,
273,
5695,
861,
31,
565,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5589,
7040,
9416,
12,
2174,
982,
2174,
13,
288,
565,
309,
16051,
12,
2938,
2174,
18,
588,
16281,
1832,
18,
14963,
261,
2918,
18,
16281,
18,
17147,
13272,
23893,
20349,
1377,
555,
7566,
24439,
279,
1984,
14467,
1562,
16,
2363,
315,
397,
982,
2174,
1769,
565,
5589,
1151,
6685,
273,
394,
5589,
261,
1769,
565,
368,
752,
326,
302,
18,
83,
18,
565,
10494,
14467,
6672,
273,
982,
2174,
18,
588,
5368,
921,
5621,
565,
29125,
11307,
273,
11307,
2276,
18,
588,
23218,
1190,
17468,
559,
261,
2938,
2174,
16,
2262,
84,
558,
17468,
559,
18,
1639,
11712,
24062,
1769,
565,
1645,
4993,
2173,
2194,
273,
11307,
2276,
18,
588,
9624,
14173,
620,
261,
25724,
1769,
368,
2
] |
new PermissionExpander().configure(ge, pe, ks)); | new PermissionExpander().configure(ge, ks)); | protected Permission resolvePermission( DefaultPolicyScanner.PermissionEntry pe, DefaultPolicyScanner.GrantEntry ge, KeyStore ks, Properties system, boolean resolve) throws Exception { if (pe.name != null) { pe.name = PolicyUtils.expandGeneral(pe.name, new PermissionExpander().configure(ge, pe, ks)); } if (resolve) { if (pe.name != null) { pe.name = PolicyUtils.expand(pe.name, system); } if (pe.actions != null) { pe.actions = PolicyUtils.expand(pe.actions, system); } if (pe.signers != null) { pe.signers = PolicyUtils.expand(pe.signers, system); } } Certificate[] signers = (pe.signers == null) ? null : resolveSigners( ks, pe.signers); try { Class klass = Class.forName(pe.klass); if (PolicyUtils.matchSubset(signers, klass.getSigners())) { return PolicyUtils.instantiatePermission(klass, pe.name, pe.actions); } } catch (ClassNotFoundException cnfe) {} //maybe properly signed class will be loaded later return new UnresolvedPermission(pe.klass, pe.name, pe.actions, signers); } | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/725ae047c421126dd0fcfebb60f514948e7cc007/DefaultPolicyParser.java/buggy/modules/security/src/main/java/common/org/apache/harmony/security/fortress/DefaultPolicyParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
8509,
2245,
5041,
12,
5411,
2989,
2582,
11338,
18,
5041,
1622,
2804,
16,
5411,
2989,
2582,
11338,
18,
9021,
1622,
8244,
16,
17017,
11654,
16,
6183,
2619,
16,
5411,
1250,
2245,
13,
1216,
1185,
288,
3639,
309,
261,
347,
18,
529,
480,
446,
13,
288,
5411,
2804,
18,
529,
273,
7436,
1989,
18,
12320,
12580,
12,
347,
18,
529,
16,
10792,
394,
8509,
12271,
264,
7675,
14895,
12,
908,
16,
11654,
10019,
3639,
289,
3639,
309,
261,
10828,
13,
288,
5411,
309,
261,
347,
18,
529,
480,
446,
13,
288,
7734,
2804,
18,
529,
273,
7436,
1989,
18,
12320,
12,
347,
18,
529,
16,
2619,
1769,
5411,
289,
5411,
309,
261,
347,
18,
4905,
480,
446,
13,
288,
7734,
2804,
18,
4905,
273,
7436,
1989,
18,
12320,
12,
347,
18,
4905,
16,
2619,
1769,
5411,
289,
5411,
309,
261,
347,
18,
2977,
414,
480,
446,
13,
288,
7734,
2804,
18,
2977,
414,
273,
7436,
1989,
18,
12320,
12,
347,
18,
2977,
414,
16,
2619,
1769,
5411,
289,
3639,
289,
3639,
6660,
8526,
1573,
414,
273,
261,
347,
18,
2977,
414,
422,
446,
13,
692,
446,
294,
2245,
2766,
414,
12,
7734,
11654,
16,
2804,
18,
2977,
414,
1769,
3639,
775,
288,
5411,
1659,
7352,
273,
1659,
18,
1884,
461,
12,
347,
18,
22626,
1769,
5411,
309,
261,
2582,
1989,
18,
1916,
20315,
12,
2977,
414,
16,
7352,
18,
588,
2766,
414,
1435,
3719,
288,
7734,
327,
7436,
1989,
18,
24628,
3840,
5041,
12,
22626,
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,
4750,
8509,
2245,
5041,
12,
5411,
2989,
2582,
11338,
18,
5041,
1622,
2804,
16,
5411,
2989,
2582,
11338,
18,
9021,
1622,
8244,
16,
17017,
11654,
16,
6183,
2619,
16,
5411,
1250,
2245,
13,
1216,
1185,
288,
3639,
309,
261,
347,
18,
529,
480,
446,
13,
288,
5411,
2804,
18,
529,
273,
7436,
1989,
18,
12320,
12580,
12,
347,
18,
529,
16,
10792,
394,
8509,
12271,
264,
7675,
14895,
12,
908,
16,
11654,
10019,
3639,
289,
3639,
309,
261,
10828,
13,
288,
5411,
309,
261,
347,
18,
529,
480,
446,
13,
288,
7734,
2804,
18,
529,
273,
7436,
1989,
18,
12320,
12,
347,
18,
529,
16,
2619,
1769,
5411,
289,
5411,
309,
261,
347,
18,
4905,
480,
446,
13,
2
] |
return super.viewToModel(fx, fy, a, bias); | return super.viewToModel(fx, fy, adjustAllocation(a), bias); | public int viewToModel(float fx, float fy, Shape a, Position.Bias[] bias) { return super.viewToModel(fx, fy, a, bias); } | 47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/0dbe53da2cacaa512e70c50f40a719d06f396a08/FieldView.java/buggy/javax/swing/text/FieldView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
1476,
774,
1488,
12,
5659,
12661,
16,
1431,
28356,
16,
12383,
279,
16,
11010,
18,
31645,
8526,
12005,
13,
225,
288,
565,
327,
2240,
18,
1945,
774,
1488,
12,
19595,
16,
28356,
16,
5765,
17353,
12,
69,
3631,
12005,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
509,
1476,
774,
1488,
12,
5659,
12661,
16,
1431,
28356,
16,
12383,
279,
16,
11010,
18,
31645,
8526,
12005,
13,
225,
288,
565,
327,
2240,
18,
1945,
774,
1488,
12,
19595,
16,
28356,
16,
5765,
17353,
12,
69,
3631,
12005,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 setAcceptEncoding(String... accept) { setHeader("Accept-Encoding", combine(accept)); | public void setAcceptEncoding(String accept) { setAcceptEncoding(new String[] {accept}); | public void setAcceptEncoding(String... accept) { setHeader("Accept-Encoding", combine(accept)); } | 46425 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46425/358575edf8ef1e4bf2de7fb9216d75788d51d66b/RequestOptions.java/buggy/client/src/main/java/org/apache/abdera/protocol/client/RequestOptions.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
5933,
4705,
12,
780,
2777,
2791,
13,
288,
565,
10859,
2932,
5933,
17,
4705,
3113,
8661,
12,
9436,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
5933,
4705,
12,
780,
2777,
2791,
13,
288,
565,
10859,
2932,
5933,
17,
4705,
3113,
8661,
12,
9436,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
i = node.getCount(); if (i > (args != null ? args.length : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.length + " for " + i + ")"); } if (node.getRest() == -1) { | if (callNode.getRest() == -1) { | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby.getRubyScope().push(); if (getRefValue() != null) { // savedCref = ruby.getCRef(); s.a. ruby.setCRef(getRefValue()); ruby.getRubyFrame().setCbase(getRefValue()); } if (getTable() != null) { // ? +++ // List tmpList = Collections.nCopies(body.nd_tbl()[0].intValue() + 1, getRuby().getNil()); // ? --- // localVarsList = new ShiftableList(new ArrayList(tmpList)); // localVarsList.set(0, body); // localVarsList.shift(1); localVarsList = new RubyPointer(ruby.getNil(), getTable().getId(0).intValue() + 1); localVarsList.set(0, this); // +++ // localVarsList.set(3, argsList, argsList.size()); // --- localVarsList.inc(); ruby.getRubyScope().setLocalVars(localVarsList); ruby.getRubyScope().setLocalTbl(getTable()); } else { localVarsList = ruby.getRubyScope().getLocalVars(); ruby.getRubyScope().setLocalVars(null); ruby.getRubyScope().setLocalTbl(null); } Node body = getNextNode(); RubyVarmap.push(ruby); // PUSH_TAG(PROT_FUNC); RubyObject result = ruby.getNil(); try { Node node = null; int i; if (body.getType() == Constants.NODE_ARGS) { node = body; body = null; } else if (body.getType() == Constants.NODE_BLOCK) { node = body.getHeadNode(); body = body.getNextNode(); } if (node != null) { if (node.getType() != Constants.NODE_ARGS) { // rb_bug("no argument-node"); } i = node.getCount(); if (i > (args != null ? args.length : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.length + " for " + i + ")"); } if (node.getRest() == -1) { int opt = i; Node optNode = node.getOptNode(); while (optNode != null) { opt++; optNode = optNode.getNextNode(); } if (opt < (args != null ? args.length : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.length + " for " + opt + ")"); } ruby.getRubyFrame().setArgs(localVarsList != null ? localVarsList.getPointer(2) : null); } if (localVarsList != null) { if (i > 0) { localVarsList.inc(2); for (int j = 0; j < i; j++ ) { localVarsList.set(j, argsList.get(j)); } localVarsList.dec(2); } argsList.inc(i); if (node.getOptNode() != null) { Node optNode = node.getOptNode(); while (optNode != null && argsList.size() != 0) { ((AssignableNode)optNode.getHeadNode()).assign(ruby, recv, argsList.getRuby(0), true); argsList.inc(1); optNode = optNode.getNextNode(); } recv.eval(optNode); } if (node.getRest() >= 0) { RubyArray array = null; if (argsList.size() > 0) { array = RubyArray.m_newArray(ruby, argsList); } else { array = RubyArray.m_newArray(ruby, 0); } localVarsList.set(node.getRest(), array); } } } result = recv.eval(body); } catch (ReturnException rExcptn) { } RubyVarmap.pop(ruby); ruby.getRubyScope().pop(); ruby.setCRef(savedCref); return result; } | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
745,
12,
54,
10340,
22155,
16,
19817,
921,
10665,
16,
19817,
548,
612,
16,
19817,
921,
8526,
833,
16,
1250,
1158,
8051,
13,
288,
3639,
385,
1957,
907,
5198,
39,
1734,
273,
22155,
18,
588,
39,
1957,
5621,
368,
965,
15,
273,
446,
31,
3639,
368,
5848,
8526,
1191,
5555,
273,
446,
31,
7734,
19817,
4926,
833,
682,
273,
394,
19817,
4926,
12,
1968,
1769,
3639,
19817,
4926,
1191,
5555,
682,
273,
446,
31,
7734,
22155,
18,
588,
54,
10340,
3876,
7675,
6206,
5621,
7734,
309,
261,
588,
30556,
1435,
480,
446,
13,
288,
5411,
368,
5198,
39,
1734,
273,
22155,
18,
588,
39,
1957,
5621,
272,
18,
69,
18,
5411,
22155,
18,
542,
39,
1957,
12,
588,
30556,
10663,
5411,
22155,
18,
588,
54,
10340,
3219,
7675,
542,
39,
1969,
12,
588,
30556,
10663,
3639,
289,
3639,
309,
261,
588,
1388,
1435,
480,
446,
13,
288,
13491,
368,
692,
965,
15,
5411,
368,
987,
1853,
682,
273,
5737,
18,
82,
15670,
12,
3432,
18,
4880,
67,
16187,
1435,
63,
20,
8009,
474,
620,
1435,
397,
404,
16,
4170,
10340,
7675,
588,
12616,
10663,
5411,
368,
692,
9948,
5411,
368,
1191,
5555,
682,
273,
394,
2638,
430,
2121,
682,
12,
2704,
2407,
12,
5645,
682,
10019,
5411,
368,
1191,
5555,
682,
18,
542,
12,
20,
16,
1417,
1769,
5411,
368,
1191,
5555,
682,
18,
4012,
12,
21,
1769,
13491,
1191,
5555,
682,
273,
394,
19817,
4926,
12,
27768,
18,
588,
12616,
9334,
5638,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
745,
12,
54,
10340,
22155,
16,
19817,
921,
10665,
16,
19817,
548,
612,
16,
19817,
921,
8526,
833,
16,
1250,
1158,
8051,
13,
288,
3639,
385,
1957,
907,
5198,
39,
1734,
273,
22155,
18,
588,
39,
1957,
5621,
368,
965,
15,
273,
446,
31,
3639,
368,
5848,
8526,
1191,
5555,
273,
446,
31,
7734,
19817,
4926,
833,
682,
273,
394,
19817,
4926,
12,
1968,
1769,
3639,
19817,
4926,
1191,
5555,
682,
273,
446,
31,
7734,
22155,
18,
588,
54,
10340,
3876,
7675,
6206,
5621,
7734,
309,
261,
588,
30556,
1435,
480,
446,
13,
288,
5411,
368,
5198,
39,
1734,
273,
22155,
18,
588,
39,
1957,
5621,
272,
18,
69,
18,
5411,
22155,
18,
542,
39,
2
] |
super("Edit Table Properties...", | super("Table Properties...", | public EditTableAction() { super("Edit Table Properties...", ASUtils.createIcon("TableProperties", "Edit Table Properties", ArchitectFrame.getMainInstance().sprefs.getInt(SwingUserSettings.ICON_SIZE, 24))); } | 53257 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53257/2e3ba94f6a7c61b7a6cdb81034c1e8edaf65eb9a/EditTableAction.java/buggy/src/ca/sqlpower/architect/swingui/EditTableAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15328,
1388,
1803,
1435,
288,
202,
202,
9565,
2932,
4666,
3555,
6183,
7070,
16,
9506,
225,
5355,
1989,
18,
2640,
5554,
2932,
1388,
2297,
3113,
6862,
6862,
315,
4666,
3555,
6183,
3113,
6862,
6862,
16959,
15004,
3219,
18,
588,
6376,
1442,
7675,
87,
1484,
2556,
18,
588,
1702,
12,
6050,
310,
1299,
2628,
18,
21745,
67,
4574,
16,
4248,
3719,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15328,
1388,
1803,
1435,
288,
202,
202,
9565,
2932,
4666,
3555,
6183,
7070,
16,
9506,
225,
5355,
1989,
18,
2640,
5554,
2932,
1388,
2297,
3113,
6862,
6862,
315,
4666,
3555,
6183,
3113,
6862,
6862,
16959,
15004,
3219,
18,
588,
6376,
1442,
7675,
87,
1484,
2556,
18,
588,
1702,
12,
6050,
310,
1299,
2628,
18,
21745,
67,
4574,
16,
4248,
3719,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
declaration = createMethodDeclaration( parentElement, declaratorName, parameters ); | if (isFunctionDefinition()) { declaration = createMethod( parentElement, declaratorName, parameters ); } else { declaration = createMethodDeclaration( parentElement, declaratorName, parameters ); } | public void createElements() { // creates the appropriate C Elements List declaratorList = getDeclarators(); Declarator [] declarators = (Declarator []) declaratorList.toArray( new Declarator[ declaratorList.size() ] ); CElement parentElement = (CElement)getParent(); for( int i = 0; i < declarators.length; ++i ) { Declarator currentDeclarator = declarators[i]; CElement declaration = null; // instantiate the right element List clause =currentDeclarator.getParameterDeclarationClause(); String declaratorName = ( currentDeclarator.getName() == null ) ? "" : currentDeclarator.getName().toString(); if( clause == null && !isTypedef()) { // TODO - this was to get rid of the NULL pointer we've been seeing if (currentDeclarator.getName() == null) return; // this is an attribute or a varaible if( parentElement instanceof IStructure ) { declaration = createField( parentElement, declaratorName ); } else if( parentElement instanceof ITranslationUnit ) { if(isExtern()) { declaration = createVariableDeclaration( parentElement, declaratorName ); } else { declaration = createVariable( parentElement, declaratorName ); } } } else if( isTypedef() ) { declaration = createTypedef( parentElement, declaratorName ); } else { Parameter [] parameters = (Parameter []) clause.toArray( new Parameter[ clause.size() ]); // this is a function or a method if( parentElement instanceof IStructure ) { declaration = createMethodDeclaration( parentElement, declaratorName, parameters ); } else if( parentElement instanceof ITranslationUnit ) { if (isFunctionDefinition()) { // if it belongs to a class, then create a method // else create a function // this will not be known until we have cross reference information declaration = createFunction( parentElement, declaratorName, parameters ); } else { declaration = createFunctionDeclaration( parentElement, declaratorName, parameters ); } } } if( currentDeclarator.getName() != null ) { // hook up the offsets declaration.setIdPos( currentDeclarator.getName().getStartOffset(), currentDeclarator.getName().length() ); declaration.setPos( currentDeclarator.getName().getStartOffset(), currentDeclarator.getName().length()); } else { declaration.setIdPos( classKind.getOffset(), classKind.getImage().toString().length()); declaration.setPos( classKind.getOffset(), classKind.getImage().toString().length()); } // add to parent parentElement.addChild( declaration ); } } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/d66e2dca22059e214bb30398e6286c38cd7cd09b/SimpleDeclarationWrapper.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/model/SimpleDeclarationWrapper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
3471,
1435,
202,
95,
202,
202,
759,
3414,
326,
5505,
385,
17219,
3196,
202,
682,
3496,
5880,
682,
273,
9072,
297,
3062,
5621,
202,
202,
31419,
5378,
3496,
297,
3062,
273,
261,
31419,
5378,
13,
3496,
5880,
682,
18,
31447,
12,
394,
16110,
5880,
63,
3496,
5880,
682,
18,
1467,
1435,
308,
11272,
202,
202,
39,
1046,
30363,
273,
261,
39,
1046,
13,
588,
3054,
5621,
4697,
202,
1884,
12,
509,
277,
273,
374,
31,
277,
411,
3496,
297,
3062,
18,
2469,
31,
965,
77,
262,
202,
202,
95,
1082,
202,
31419,
783,
31419,
273,
3496,
297,
3062,
63,
77,
15533,
1082,
202,
39,
1046,
8266,
225,
273,
446,
31,
25083,
202,
759,
10275,
326,
2145,
930,
565,
1082,
202,
682,
6591,
273,
2972,
31419,
18,
588,
1662,
6094,
7044,
5621,
1875,
202,
780,
3496,
5880,
461,
273,
261,
783,
31419,
18,
17994,
1435,
422,
446,
262,
692,
1408,
294,
783,
31419,
18,
17994,
7675,
10492,
5621,
1082,
202,
430,
12,
6591,
422,
446,
597,
401,
291,
559,
536,
10756,
1082,
202,
95,
4697,
202,
759,
2660,
300,
333,
1703,
358,
336,
10911,
434,
326,
3206,
4407,
732,
8081,
2118,
2621,
310,
9506,
202,
430,
261,
2972,
31419,
18,
17994,
1435,
422,
446,
13,
6862,
202,
2463,
31,
9506,
202,
759,
202,
2211,
353,
392,
1566,
578,
279,
569,
69,
1523,
9506,
202,
430,
12,
30363,
1276,
467,
6999,
262,
9506,
202,
95,
6862,
202,
22448,
273,
752,
974,
12,
30363,
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,
225,
202,
482,
918,
752,
3471,
1435,
202,
95,
202,
202,
759,
3414,
326,
5505,
385,
17219,
3196,
202,
682,
3496,
5880,
682,
273,
9072,
297,
3062,
5621,
202,
202,
31419,
5378,
3496,
297,
3062,
273,
261,
31419,
5378,
13,
3496,
5880,
682,
18,
31447,
12,
394,
16110,
5880,
63,
3496,
5880,
682,
18,
1467,
1435,
308,
11272,
202,
202,
39,
1046,
30363,
273,
261,
39,
1046,
13,
588,
3054,
5621,
4697,
202,
1884,
12,
509,
277,
273,
374,
31,
277,
411,
3496,
297,
3062,
18,
2469,
31,
965,
77,
262,
202,
202,
95,
1082,
202,
31419,
783,
31419,
273,
3496,
297,
3062,
63,
77,
15533,
1082,
202,
39,
1046,
8266,
225,
273,
446,
31,
25083,
202,
759,
10275,
2
] |
ret.add( left.getResidue().getResidueBoxes() ); ret.add( right.getResidue().getResidueBoxes() ); | ret.addAll( left.getResidue().getResidueBoxes() ); ret.addAll( right.getResidue().getResidueBoxes() ); | public List/*ResidueBox*/ getResidueBoxes() { List/*ResidueBox*/ ret = new ArrayList(); ret.add( left ); ret.add( right ); ret.add( left.getResidue().getResidueBoxes() ); ret.add( right.getResidue().getResidueBoxes() ); return ret; } | 236 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/236/24908e711477bf80dfaa17d52952ee72f4103a59/AndResidue.java/buggy/aop/abc/src/abc/weaving/residues/AndResidue.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
20308,
607,
23965,
3514,
5549,
31792,
23965,
29521,
1435,
288,
3639,
987,
20308,
607,
23965,
3514,
5549,
325,
273,
394,
2407,
5621,
3639,
325,
18,
1289,
12,
2002,
11272,
3639,
325,
18,
1289,
12,
2145,
11272,
3639,
325,
18,
1289,
12,
2002,
18,
588,
607,
23965,
7675,
588,
607,
23965,
29521,
1435,
11272,
3639,
325,
18,
1289,
12,
2145,
18,
588,
607,
23965,
7675,
588,
607,
23965,
29521,
1435,
11272,
3639,
327,
325,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
20308,
607,
23965,
3514,
5549,
31792,
23965,
29521,
1435,
288,
3639,
987,
20308,
607,
23965,
3514,
5549,
325,
273,
394,
2407,
5621,
3639,
325,
18,
1289,
12,
2002,
11272,
3639,
325,
18,
1289,
12,
2145,
11272,
3639,
325,
18,
1289,
12,
2002,
18,
588,
607,
23965,
7675,
588,
607,
23965,
29521,
1435,
11272,
3639,
325,
18,
1289,
12,
2145,
18,
588,
607,
23965,
7675,
588,
607,
23965,
29521,
1435,
11272,
3639,
327,
325,
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
] |
protected abstract void updateFilterSelection(IResource[] resources); | protected final void updateFilterSelection(IResource[] resources) { for (int i = 0; i < markerFilters.length; i++) { markerFilters[i].setFocusResource(resources); } } | protected abstract void updateFilterSelection(IResource[] resources); | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/1ceb585b9b16047c6c580984b0c9962c41a22ba6/MarkerView.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
8770,
918,
1089,
1586,
6233,
12,
45,
1420,
8526,
2703,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
8770,
918,
1089,
1586,
6233,
12,
45,
1420,
8526,
2703,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
0, 0, 0, 0, 0, 0, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 0, 191, 191, 0, 0, 191, 191, 0, 273, 42, 191, 0, 0, 0, 0, 0, 191, 0, 191, 42, 191, 0, 191, 191, 191, 191, 191, 191, 191, 0, 191, 423, 423, 423, 0, 0, 0, 423, 423, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 0, 423, 423, 423, 423, 423, 42, 42, 0, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 0, 0, 423, 423, 423, 0, 424, 0, 279, 0, 0, 80, 0, 0, 0, 423, 0, 423, 0, 423, 423, 423, 423, 423, 423, 423, 279, 423, 88, 0, 279, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 273, 273, 0, 0, 0, 273, 273, 0, 273, 0, | 0, 0, 0, 0, 0, 0, 0, 0, 280, 273, 273, 75, 273, 273, 273, 273, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 0, 83, 0, 280, 0, 0, 0, 0, 0, 0, 0, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 0, 0, 273, 273, 273, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 273, 0, 273, 0, 273, 273, 273, 273, 273, 273, 273, 184, 273, 0, 0, 0, 0, 0, 0, | private static final short[] yyTable2() { return new short[] { 0, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 476, 0, 0, 77, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 476, 0, 85, 0, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 79, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 87, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 0, 472, 476, 476, 476, 472, 472, 0, 476, 476, 472, 476, 472, 472, 472, 472, 472, 472, 472, 0, 476, 0, 0, 472, 472, 472, 472, 472, 472, 472, 476, 476, 0, 476, 476, 476, 476, 476, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 0, 0, 476, 476, 476, 472, 0, 0, 472, 472, 472, 472, 472, 0, 472, 476, 472, 476, 472, 476, 476, 476, 476, 476, 476, 476, 472, 476, 476, 472, 472, 472, 472, 472, 472, 473, 473, 473, 0, 473, 278, 278, 278, 473, 473, 0, 278, 278, 473, 278, 473, 473, 473, 473, 473, 473, 473, 0, 0, 0, 0, 473, 473, 473, 473, 473, 473, 473, 278, 278, 0, 278, 278, 278, 278, 278, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 0, 0, 278, 278, 278, 473, 0, 0, 473, 473, 473, 473, 473, 0, 473, 278, 473, 278, 473, 278, 278, 278, 278, 278, 278, 278, 473, 278, 492, 473, 473, 473, 473, 473, 473, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 77, 0, 0, 77, 0, 0, 75, 0, 0, 75, 0, 0, 0, 6, 0, 0, 0, 0, 350, 0, 77, 0, 0, 0, 0, 0, 75, 0, 350, 0, 0, 6, 0, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 476, 0, 0, 0, 0, 0, 280, 0, 0, 350, 0, 0, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 350, 0, 0, 0, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 0, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 251, 251, 0, 251, 492, 492, 492, 251, 251, 492, 492, 492, 251, 492, 251, 251, 251, 251, 251, 251, 251, 0, 0, 492, 0, 251, 251, 251, 251, 251, 251, 251, 492, 492, 0, 492, 492, 492, 492, 492, 0, 251, 494, 0, 251, 251, 251, 251, 251, 251, 251, 251, 494, 251, 251, 251, 251, 0, 0, 251, 251, 251, 0, 0, 0, 6, 6, 6, 0, 77, 476, 6, 6, 492, 6, 75, 0, 0, 0, 0, 492, 251, 0, 494, 251, 0, 251, 251, 251, 0, 251, 0, 251, 0, 251, 0, 0, 0, 0, 0, 494, 494, 251, 0, 0, 251, 251, 251, 251, 251, 251, 350, 350, 350, 0, 0, 350, 350, 350, 0, 350, 476, 0, 0, 0, 0, 0, 280, 476, 350, 350, 350, 0, 472, 280, 494, 0, 0, 0, 350, 350, 0, 350, 350, 350, 350, 350, 0, 0, 77, 8, 0, 476, 0, 0, 75, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 494, 0, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 492, 0, 350, 350, 350, 0, 0, 350, 8, 0, 492, 0, 0, 350, 0, 350, 0, 350, 0, 350, 350, 350, 350, 350, 350, 350, 8, 350, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 492, 0, 0, 492, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 8, 492, 0, 0, 0, 0, 0, 7, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 494, 494, 494, 0, 492, 494, 494, 494, 0, 494, 0, 0, 0, 0, 0, 0, 0, 0, 0, 494, 494, 423, 0, 0, 423, 0, 0, 0, 494, 494, 0, 494, 494, 494, 494, 494, 0, 0, 423, 423, 0, 82, 0, 423, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 494, 0, 0, 0, 0, 0, 0, 0, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 0, 423, 0, 0, 8, 8, 8, 0, 0, 0, 8, 8, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 0, 0, 273, 0, 0, 0, 492, 492, 492, 0, 0, 492, 492, 492, 0, 492, 273, 273, 0, 89, 0, 273, 0, 0, 492, 492, 492, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 492, 492, 492, 492, 492, 0, 0, 0, 0, 7, 7, 7, 273, 0, 273, 7, 7, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 0, 0, 492, 492, 492, 273, 0, 492, 0, 0, 0, 0, 0, 492, 0, 492, 0, 492, 0, 492, 492, 492, 492, 492, 492, 492, 0, 492, 492, 423, 423, 423, 0, 0, 423, 423, 423, 0, 423, 0, 0, 0, 0, 40, 0, 0, 0, 0, 423, 423, 0, 0, 0, 40, 0, 0, 0, 423, 423, 0, 423, 423, 423, 423, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 0, 0, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 40, 40, 423, 423, 423, 0, 424, 423, 0, 0, 0, 0, 0, 423, 0, 423, 0, 423, 32, 423, 423, 423, 423, 423, 423, 423, 0, 423, 32, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 273, 273, 273, 0, 0, 273, 273, 273, 0, 273, 0, 0, 0, 0, 0, 0, 0, 0, 32, 273, 273, 261, 0, 0, 0, 0, 40, 0, 273, 273, 34, 273, 273, 273, 273, 273, 32, 0, 0, 0, 0, 0, 279, 0, 0, 0, 0, 0, 34, 0, 0, 0, 279, 0, 0, 0, 0, 0, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 0, 0, 273, 273, 273, 0, 0, 273, 0, 0, 0, 279, 0, 273, 279, 273, 0, 273, 0, 273, 273, 273, 273, 273, 273, 273, 0, 273, 279, 279, 32, 88, 0, 279, 0, 0, 0, 0, 0, 0, 0, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 0, 279, 0, 0, 0, 0, 0, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 40, 40, 0, 279, 40, 40, 40, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 280, 0, 0, 280, 0, 0, 0, 0, 40, 40, 0, 40, 40, 40, 40, 40, 0, 280, 280, 0, 83, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 0, 280, 0, 0, 0, 32, 32, 32, 0, 0, 0, 32, 32, 0, 32, 0, 0, 34, 34, 34, 0, 0, 373, 34, 34, 0, 34, 0, 0, 0, 0, 0, 373, 280, 0, 0, 32, 32, 32, 32, 32, 0, 0, 0, 0, 0, 0, 0, 34, 34, 34, 34, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 373, 0, 0, 373, 0, 0, 0, 279, 279, 279, 0, 0, 279, 279, 279, 0, 279, 373, 373, 0, 0, 0, 373, 0, 0, 0, 279, 279, 0, 0, 0, 0, 0, 0, 0, 279, 279, 0, 279, 279, 279, 279, 279, 0, 0, 0, 0, 0, 0, 0, 373, 0, 373, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 0, 0, 279, 279, 279, 373, 0, 279, 0, 0, 0, 0, 0, 279, 0, 279, 0, 279, 0, 279, 279, 279, 279, 279, 279, 279, 0, 279, 280, 280, 280, 0, 0, 280, 280, 280, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 280, 0, 0, 0, 0, 0, 0, 0, 280, 280, 0, 280, 280, 280, 280, 280, 0, 0, 0, 0, 0, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 0, 182, 0, 0, 0, 0, 0, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 0, 0, 280, 280, 280, 0, 0, 280, 0, 0, 0, 182, 0, 280, 182, 280, 0, 280, 0, 280, 280, 280, 280, 280, 280, 280, 14, 280, 182, 182, 0, 0, 0, 182, 0, 0, 14, 0, 0, 0, 0, 0, 373, 373, 373, 0, 0, 373, 373, 373, 0, 373, 0, 0, 0, 0, 0, 0, 0, 0, 0, 373, 373, 182, 0, 0, 0, 14, 0, 0, 373, 373, 0, 373, 373, 373, 373, 373, 0, 0, 0, 0, 0, 0, 216, 14, 0, 0, 0, 0, 0, 0, 0, 0, 216, 182, 0, 0, 0, 0, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 0, 0, 373, 373, 373, 0, 0, 373, 0, 0, 0, 216, 0, 373, 216, 373, 0, 373, 0, 373, 373, 373, 373, 373, 373, 373, 0, 373, 216, 216, 0, 0, 0, 216, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 322, 0, 216, 0, 0, 0, 0, 0, 0, 290, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 0, 0, 290, 0, 0, 0, 182, 182, 182, 0, 0, 182, 182, 182, 0, 182, 290, 290, 0, 0, 0, 290, 0, 0, 0, 182, 182, 0, 0, 0, 0, 0, 0, 0, 182, 182, 0, 182, 182, 182, 182, 182, 0, 0, 0, 0, 0, 0, 0, 290, 0, 290, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 14, 14, 0, 0, 0, 14, 14, 0, 14, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 290, 0, 182, 0, 0, 0, 0, 0, 182, 0, 14, 14, 14, 14, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 0, 0, 286, 0, 0, 0, 216, 216, 216, 0, 0, 216, 216, 216, 0, 216, 286, 286, 0, 0, 0, 286, 0, 0, 0, 216, 216, 0, 0, 0, 0, 0, 0, 0, 216, 216, 0, 216, 216, 216, 216, 216, 0, 0, 0, 0, 0, 0, 0, 286, 0, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 322, 216, 216, 0, 0, 216, 216, 322, 286, 0, 216, 0, 0, 0, 0, 0, 216, 0, 216, 0, 216, 0, 216, 216, 216, 216, 216, 216, 216, 0, 216, 290, 290, 290, 0, 0, 290, 290, 290, 0, 290, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 290, 0, 0, 0, 0, 0, 0, 0, 290, 290, 0, 290, 290, 290, 290, 290, 0, 0, 0, 0, 0, 0, 183, 0, 0, 0, 0, 0, 0, 0, 0, 0, 183, 0, 0, 0, 0, 0, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 0, 0, 290, 290, 290, 0, 0, 290, 0, 0, 0, 183, 0, 290, 183, 290, 0, 290, 0, 290, 290, 290, 290, 290, 290, 290, 0, 290, 183, 183, 0, 0, 0, 183, 0, 0, 0, 0, 0, 0, 0, 0, 286, 286, 286, 0, 0, 286, 286, 286, 0, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 286, 183, 0, 0, 0, 0, 0, 0, 286, 286, 0, 286, 286, 286, 286, 286, 0, 0, 0, 0, 0, 0, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 183, 0, 0, 0, 0, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 0, 0, 286, 286, 286, 0, 0, 286, 0, 0, 0, 410, 0, 286, 410, 286, 0, 286, 0, 286, 286, 286, 286, 286, 286, 286, 0, 286, 410, 410, 0, 0, 0, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 0, 410, 0, 0, 0, 0, 0, 0, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 411, 0, 0, 411, 0, 0, 0, 183, 183, 183, 0, 0, 183, 183, 183, 0, 183, 411, 411, 0, 0, 0, 411, 0, 0, 0, 183, 183, 0, 0, 0, 0, 0, 0, 0, 183, 183, 0, 183, 183, 183, 183, 183, 0, 0, 0, 0, 0, 0, 0, 411, 0, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 318, 0, 0, 0, 0, 0, 0, 0, 0, 0, 318, 411, 0, 183, 0, 0, 0, 0, 0, 183, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 318, 0, 0, 318, 0, 0, 0, 410, 410, 410, 0, 0, 410, 410, 410, 0, 410, 318, 318, 0, 0, 0, 318, 0, 0, 0, 410, 410, 0, 0, 0, 0, 0, 0, 0, 410, 410, 0, 410, 410, 410, 410, 410, 0, 0, 0, 0, 0, 0, 0, 318, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 0, 0, 410, 410, 410, 318, 0, 410, 0, 0, 0, 0, 0, 410, 0, 410, 0, 410, 0, 410, 410, 410, 410, 410, 410, 410, 0, 410, 411, 411, 411, 0, 0, 411, 411, 411, 0, 411, 0, 0, 0, 0, 319, 0, 0, 0, 0, 411, 411, 0, 0, 0, 319, 0, 0, 0, 411, 411, 0, 411, 411, 411, 411, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 319, 0, 0, 319, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 319, 319, 411, 411, 411, 319, 0, 411, 0, 0, 0, 0, 0, 411, 0, 411, 0, 411, 0, 411, 411, 411, 411, 411, 411, 411, 0, 411, 0, 0, 0, 0, 0, 319, 0, 0, 0, 0, 0, 0, 0, 0, 318, 318, 318, 0, 0, 318, 318, 318, 0, 318, 0, 0, 0, 0, 0, 0, 0, 0, 0, 318, 0, 0, 0, 0, 0, 319, 0, 0, 318, 318, 0, 318, 318, 318, 318, 318, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 0, 0, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 0, 0, 318, 318, 318, 0, 0, 318, 0, 0, 0, 0, 0, 0, 52, 318, 283, 318, 0, 318, 318, 318, 318, 318, 318, 318, 283, 318, 0, 0, 0, 52, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 283, 0, 0, 283, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 283, 283, 0, 0, 0, 283, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 319, 319, 319, 0, 0, 319, 319, 319, 52, 319, 0, 0, 0, 0, 0, 0, 0, 283, 0, 319, 0, 0, 0, 0, 0, 0, 0, 0, 319, 319, 0, 319, 319, 319, 319, 319, 0, 0, 0, 0, 0, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 283, 193, 0, 0, 0, 0, 0, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 0, 0, 319, 319, 319, 0, 0, 319, 0, 0, 0, 193, 0, 0, 193, 319, 0, 319, 0, 319, 319, 319, 319, 319, 319, 319, 0, 319, 193, 193, 0, 0, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 0, 0, 0, 0, 0, 0, 0, 189, 0, 52, 52, 52, 0, 0, 52, 52, 52, 189, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 52, 0, 193, 0, 0, 0, 0, 0, 52, 52, 0, 52, 52, 52, 52, 52, 0, 0, 0, 189, 0, 0, 189, 283, 283, 283, 0, 0, 283, 283, 283, 0, 283, 0, 0, 0, 189, 189, 0, 0, 0, 189, 283, 0, 0, 0, 0, 0, 0, 0, 0, 283, 283, 0, 283, 283, 283, 283, 283, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 0, 0, 283, 283, 283, 0, 0, 283, 189, 0, 0, 0, 0, 0, 0, 283, 0, 283, 0, 283, 283, 283, 283, 283, 283, 283, 0, 283, 0, 0, 263, 0, 0, 0, 0, 0, 0, 0, 0, 0, 263, 0, 172, 0, 193, 193, 193, 0, 0, 193, 193, 193, 172, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 0, 0, 0, 0, 0, 0, 263, 193, 193, 262, 193, 193, 193, 193, 193, 0, 0, 0, 172, 0, 0, 217, 0, 263, 263, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 172, 0, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 0, 193, 193, 0, 0, 193, 193, 0, 0, 0, 193, 0, 0, 0, 0, 0, 193, 0, 193, 0, 193, 0, 193, 193, 193, 193, 193, 193, 193, 0, 193, 0, 189, 189, 189, 0, 0, 189, 189, 189, 0, 189, 263, 0, 0, 0, 186, 0, 0, 0, 0, 189, 189, 0, 172, 0, 186, 0, 0, 0, 189, 189, 0, 189, 189, 189, 189, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 0, 0, 186, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 0, 189, 189, 186, 186, 189, 189, 0, 186, 0, 189, 0, 0, 0, 0, 0, 189, 0, 189, 0, 189, 0, 189, 189, 189, 189, 189, 189, 189, 0, 189, 0, 0, 0, 0, 0, 0, 0, 186, 0, 0, 0, 0, 0, 0, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 0, 0, 0, 0, 0, 0, 0, 263, 263, 263, 0, 0, 263, 263, 263, 188, 263, 0, 188, 172, 172, 172, 0, 0, 0, 172, 172, 0, 172, 0, 0, 0, 188, 188, 0, 0, 0, 188, 263, 263, 263, 263, 263, 0, 0, 0, 0, 172, 172, 0, 172, 172, 172, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 263, 0, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 187, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 187, 0, 0, 187, 0, 0, 0, 186, 186, 186, 0, 0, 186, 186, 186, 0, 186, 187, 187, 0, 0, 0, 187, 0, 0, 0, 186, 186, 0, 0, 0, 0, 0, 0, 0, 186, 186, 0, 186, 186, 186, 186, 186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 0, 186, 186, 0, 0, 186, 186, 0, 187, 0, 186, 190, 0, 0, 0, 0, 186, 0, 186, 0, 186, 190, 186, 186, 186, 186, 186, 186, 186, 0, 186, 188, 188, 188, 0, 0, 188, 188, 188, 0, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 188, 190, 0, 0, 190, 0, 0, 0, 188, 188, 0, 188, 188, 188, 188, 188, 0, 0, 190, 190, 0, 0, 0, 190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 0, 188, 188, 0, 190, 188, 188, 0, 0, 0, 188, 0, 0, 0, 0, 0, 188, 0, 188, 0, 188, 0, 188, 188, 188, 188, 188, 188, 188, 0, 188, 0, 0, 0, 0, 0, 190, 0, 0, 0, 0, 0, 0, 0, 0, 187, 187, 187, 0, 0, 187, 187, 187, 0, 187, 0, 0, 0, 0, 191, 0, 0, 0, 0, 187, 187, 0, 0, 0, 191, 0, 0, 0, 187, 187, 0, 187, 187, 187, 187, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 191, 0, 0, 191, 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, 0, 187, 187, 191, 191, 187, 187, 0, 191, 0, 187, 0, 0, 0, 0, 0, 187, 0, 187, 0, 187, 0, 187, 187, 187, 187, 187, 187, 187, 0, 187, 0, 0, 0, 0, 0, 0, 0, 191, 0, 0, 0, 0, 0, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 0, 0, 0, 190, 190, 190, 0, 0, 190, 190, 190, 0, 190, 0, 191, 0, 0, 0, 0, 0, 0, 0, 190, 190, 0, 0, 0, 0, 0, 0, 423, 190, 190, 74, 190, 190, 190, 190, 190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 0, 82, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 0, 190, 190, 0, 0, 190, 190, 0, 423, 0, 190, 0, 0, 0, 0, 0, 190, 0, 190, 0, 190, 0, 190, 190, 190, 190, 190, 190, 190, 0, 190, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 0, 0, 81, 0, 0, 0, 191, 191, 191, 0, 0, 191, 191, 191, 0, 191, 0, 273, 0, 89, 0, 273, 0, 0, 0, 191, 191, 0, 0, 0, 0, 0, 0, 0, 191, 191, 0, 191, 191, 191, 191, 191, 0, 0, 0, 0, 0, 0, 0, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 0, 191, 191, 0, 0, 191, 191, 0, 273, 42, 191, 0, 0, 0, 0, 0, 191, 0, 191, 42, 191, 0, 191, 191, 191, 191, 191, 191, 191, 0, 191, 423, 423, 423, 0, 0, 0, 423, 423, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 0, 423, 423, 423, 423, 423, 42, 42, 0, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 0, 0, 423, 423, 423, 0, 424, 0, 279, 0, 0, 80, 0, 0, 0, 423, 0, 423, 0, 423, 423, 423, 423, 423, 423, 423, 279, 423, 88, 0, 279, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 273, 273, 0, 0, 0, 273, 273, 0, 273, 0, }; } | 1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/buggy/src/org/jruby/parser/YyTables.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
22,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
5411,
374,
16,
225,
1059,
9036,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
225,
1059,
9036,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
565,
374,
16,
225,
1059,
9060,
16,
6647,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
565,
374,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
225,
1059,
9060,
16,
6647,
1059,
9060,
16,
225,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
22,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
5411,
374,
16,
225,
1059,
9036,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
2398,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
2
] |
protected void addAction(ActionEvent evt) { DefaultMutableTreeNode node = (DefaultMutableTreeNode) mElementTree.getLastSelectedPathComponent(); // Get a DB of all known ChunkDescs ConfigDefinitionRepository temp = getConfigBroker().getRepository(); java.util.List defs = temp.getAllLatest(); //java.util.List descs = getConfigBroker().getDescs(getContext()); // Ask the user to choose a base ChunkDesc ConfigDefinitionChooser chooser = new ConfigDefinitionChooser(); chooser.setDefinitions(defs); int result = chooser.showDialog(this); // If the user did not cancel their choice, make a new ConfigChunk for // the chose ChunkDesc if (result == ConfigDefinitionChooser.APPROVE_OPTION) { ConfigElementFactory tempfac = new ConfigElementFactory(defs); //ConfigElement element = new ConfigElement(chooser.getSelectedDefinition()); ConfigElement element = tempfac.create("CHANGEME", chooser.getSelectedDefinition()); // chunk.setName(configChunkDB.getNewName(chunk.getDesc().getName()));// chunk.setName(chunk.getDesc().getName()); // TODO: Compute a unique name // Make sure this add goes through successfully if (! getConfigBroker().add(getContext(), element)) { JOptionPane.showMessageDialog(this, "There are no configuration files active.", "Error", JOptionPane.ERROR_MESSAGE); return; }// TODO: Make this work again // Make sure the new node gets selected// List chunk_nodes = getNodesFor(chunk);// if (chunk_nodes.size() > 0)// {// TreeNode chunk_node = (TreeNode)chunk_nodes.get(0);// TreePath path = new TreePath(treeModel.getPathToRoot(chunk_node));// mElementTree.setSelectionPath(path);// } } } | 7933 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7933/6570edc444bc3748e2629f90eab19d87e3a6de67/ConfigContextEditor.java/buggy/modules/jackal/editors/org/vrjuggler/jccl/editors/ConfigContextEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
918,
14745,
12,
1803,
1133,
6324,
13,
282,
288,
1377,
2989,
19536,
12513,
756,
273,
261,
1868,
19536,
12513,
13,
5397,
312,
1046,
2471,
18,
588,
3024,
7416,
743,
1841,
5621,
1377,
368,
968,
279,
2383,
434,
777,
4846,
13021,
4217,
87,
1377,
1903,
1852,
3305,
1906,
273,
4367,
11194,
7675,
588,
3305,
5621,
1377,
2252,
18,
1367,
18,
682,
17588,
273,
1906,
18,
588,
1595,
18650,
5621,
1377,
368,
6290,
18,
1367,
18,
682,
3044,
87,
273,
4367,
11194,
7675,
588,
4217,
87,
12,
29120,
10663,
1377,
368,
25747,
326,
729,
358,
9876,
279,
1026,
13021,
4217,
1377,
1903,
1852,
17324,
5011,
13164,
273,
394,
1903,
1852,
17324,
5621,
1377,
5011,
13164,
18,
542,
7130,
12,
12537,
1769,
1377,
509,
563,
273,
5011,
13164,
18,
4500,
6353,
12,
2211,
1769,
1377,
368,
971,
326,
729,
5061,
486,
3755,
3675,
6023,
16,
1221,
279,
394,
1903,
5579,
364,
1377,
368,
326,
462,
2584,
13021,
4217,
1377,
309,
261,
2088,
422,
1903,
1852,
17324,
18,
2203,
3373,
3412,
67,
7425,
13,
1377,
288,
540,
1903,
1046,
1733,
1906,
11639,
273,
394,
1903,
1046,
1733,
12,
12537,
1769,
540,
368,
809,
1046,
930,
273,
394,
1903,
1046,
12,
2599,
13164,
18,
588,
7416,
1852,
10663,
540,
1903,
1046,
930,
273,
1906,
11639,
18,
2640,
2932,
14473,
958,
3113,
5011,
13164,
18,
588,
7416,
1852,
10663,
5411,
368,
540,
2441,
18,
542,
461,
12,
1425,
5579,
2290,
18,
588,
1908,
461,
12,
6551,
18,
588,
4217,
7675,
17994,
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,
918,
14745,
12,
1803,
1133,
6324,
13,
282,
288,
1377,
2989,
19536,
12513,
756,
273,
261,
1868,
19536,
12513,
13,
5397,
312,
1046,
2471,
18,
588,
3024,
7416,
743,
1841,
5621,
1377,
368,
968,
279,
2383,
434,
777,
4846,
13021,
4217,
87,
1377,
1903,
1852,
3305,
1906,
273,
4367,
11194,
7675,
588,
3305,
5621,
1377,
2252,
18,
1367,
18,
682,
17588,
273,
1906,
18,
588,
1595,
18650,
5621,
1377,
368,
6290,
18,
1367,
18,
682,
3044,
87,
273,
4367,
11194,
7675,
588,
4217,
87,
12,
29120,
10663,
1377,
368,
25747,
326,
729,
358,
9876,
279,
1026,
13021,
4217,
1377,
1903,
1852,
17324,
5011,
13164,
273,
394,
1903,
1852,
17324,
5621,
1377,
5011,
13164,
18,
542,
7130,
12,
2
] |
||
if (type2 == getTagType() && type1 == ElementType.XML_DATA_CHARACTERS) { | if ( firstIsText && secondIsTag) { | public SpaceProperty getSpaceProperty(Block child1, Block child2) { if (child1 instanceof ReadOnlyBlock || child2 instanceof ReadOnlyBlock) { return getFormatter().getReadOnlySpace(); } if (!(child1 instanceof AbstractXmlBlock) || !(child2 instanceof AbstractXmlBlock)) { return null; } final IElementType type1 = ((AbstractBlock)child1).getNode().getElementType(); final IElementType type2 = ((AbstractBlock)child2).getNode().getElementType(); if (isXmlTagName(type1, type2)){ final int spaces = myXmlFormattingPolicy.getShouldAddSpaceAroundTagName() ? 1 : 0; return getFormatter().createSpaceProperty(spaces, spaces, 0, myXmlFormattingPolicy.getShouldKeepLineBreaks(), myXmlFormattingPolicy.getKeepBlankLines()); } else if (type2 == ElementType.XML_ATTRIBUTE) { return getFormatter().createSpaceProperty(1, 1, 0, myXmlFormattingPolicy.getShouldKeepLineBreaks(), myXmlFormattingPolicy.getKeepBlankLines()); } else if (((AbstractXmlBlock)child1).isTextElement() && ((AbstractXmlBlock)child2).isTextElement()) { return getFormatter().createSafeSpace(myXmlFormattingPolicy.getShouldKeepLineBreaks(), myXmlFormattingPolicy.getKeepBlankLines()); } else if (type2 == getTagType() && (type1 == ElementType.XML_DATA_CHARACTERS || type1== getTagType()) && ((AbstractXmlBlock)child2).insertLineBreakBeforeTag()) { //<tag/>text <tag/></tag> if (myXmlFormattingPolicy.getShouldKeepWhiteSpaces() || myXmlFormattingPolicy.keepWhiteSpacesInsideTag(getTag())) { return getFormatter().getReadOnlySpace(); } else { return getFormatter().createSpaceProperty(0, Integer.MAX_VALUE, 2, myXmlFormattingPolicy.getShouldKeepLineBreaks(), myXmlFormattingPolicy.getKeepBlankLines()); } } else if (type2 == getTagType() && (type1 == ElementType.XML_DATA_CHARACTERS || type1== getTagType()) && ((AbstractXmlBlock)child2).removeLineBreakBeforeTag()) { //<tag/></tag> text</tag> if (myXmlFormattingPolicy.getShouldKeepWhiteSpaces() || myXmlFormattingPolicy.keepWhiteSpacesInsideTag(getTag())) { return getFormatter().getReadOnlySpace(); } else { return getFormatter().createSpaceProperty(0, Integer.MAX_VALUE, 0, myXmlFormattingPolicy.getShouldKeepLineBreaks(), myXmlFormattingPolicy.getKeepBlankLines()); } } if (type1 == getTagType() && type2 == ElementType.XML_DATA_CHARACTERS) { //<tag/>-text if (((AbstractXmlBlock)child1).isTextElement()) { return getFormatter().createSafeSpace(myXmlFormattingPolicy.getShouldKeepLineBreaks(), myXmlFormattingPolicy.getKeepBlankLines()); } else { return getFormatter().createSpaceProperty(0, 0, 0, true, myXmlFormattingPolicy.getKeepBlankLines()); } } if (type2 == getTagType() && type1 == ElementType.XML_DATA_CHARACTERS) { //text-<tag/> if (((AbstractXmlBlock)child2).isTextElement()) { return getFormatter().createSafeSpace(true, myXmlFormattingPolicy.getKeepBlankLines()); } else { return getFormatter().createSpaceProperty(0, 0, 0, true, myXmlFormattingPolicy.getKeepBlankLines()); } } if (type2 == getTagType() && type1== getTagType()) {//<tag/><tag/> return getFormatter().createSpaceProperty(0, Integer.MAX_VALUE, 0, true, myXmlFormattingPolicy.getKeepBlankLines()); } return getFormatter().createSpaceProperty(0, Integer.MAX_VALUE, 0, myXmlFormattingPolicy.getShouldKeepLineBreaks(), myXmlFormattingPolicy.getKeepBlankLines()); } | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/7e4a7f9dd4997fabed84b53b8f28cda88c3f7c17/SyntheticBlock.java/clean/source/com/intellij/psi/formatter/xml/SyntheticBlock.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
14059,
1396,
1322,
909,
1396,
12,
1768,
1151,
21,
16,
3914,
1151,
22,
13,
288,
565,
309,
261,
3624,
21,
1276,
20617,
1768,
747,
1151,
22,
1276,
20617,
1768,
13,
288,
1377,
327,
25127,
7675,
588,
12066,
3819,
5621,
565,
289,
565,
309,
16051,
12,
3624,
21,
1276,
4115,
4432,
1768,
13,
747,
401,
12,
3624,
22,
1276,
4115,
4432,
1768,
3719,
288,
1377,
327,
446,
31,
565,
289,
565,
727,
467,
17481,
618,
21,
273,
14015,
7469,
1768,
13,
3624,
21,
2934,
588,
907,
7675,
588,
17481,
5621,
565,
727,
467,
17481,
618,
22,
273,
14015,
7469,
1768,
13,
3624,
22,
2934,
588,
907,
7675,
588,
17481,
5621,
565,
309,
261,
291,
4432,
8520,
12,
723,
21,
16,
618,
22,
3719,
95,
1377,
727,
509,
7292,
273,
3399,
4432,
23974,
2582,
18,
588,
14309,
986,
3819,
30022,
8520,
1435,
692,
404,
294,
374,
31,
1377,
327,
25127,
7675,
2640,
3819,
1396,
12,
9554,
16,
7292,
16,
374,
16,
3399,
4432,
23974,
2582,
18,
588,
14309,
11523,
1670,
26806,
9334,
3399,
4432,
23974,
2582,
18,
588,
11523,
7796,
5763,
10663,
565,
289,
469,
309,
261,
723,
22,
422,
3010,
559,
18,
4201,
67,
11616,
13,
288,
1377,
327,
25127,
7675,
2640,
3819,
1396,
12,
21,
16,
404,
16,
374,
16,
3399,
4432,
23974,
2582,
18,
588,
14309,
11523,
1670,
26806,
9334,
3399,
4432,
23974,
2582,
18,
588,
11523,
7796,
5763,
10663,
565,
289,
469,
309,
261,
12443,
7469,
4432,
1768,
13,
3624,
21,
2934,
291,
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,
14059,
1396,
1322,
909,
1396,
12,
1768,
1151,
21,
16,
3914,
1151,
22,
13,
288,
565,
309,
261,
3624,
21,
1276,
20617,
1768,
747,
1151,
22,
1276,
20617,
1768,
13,
288,
1377,
327,
25127,
7675,
588,
12066,
3819,
5621,
565,
289,
565,
309,
16051,
12,
3624,
21,
1276,
4115,
4432,
1768,
13,
747,
401,
12,
3624,
22,
1276,
4115,
4432,
1768,
3719,
288,
1377,
327,
446,
31,
565,
289,
565,
727,
467,
17481,
618,
21,
273,
14015,
7469,
1768,
13,
3624,
21,
2934,
588,
907,
7675,
588,
17481,
5621,
565,
727,
467,
17481,
618,
22,
273,
14015,
7469,
1768,
13,
3624,
22,
2934,
588,
907,
7675,
588,
17481,
5621,
565,
309,
261,
291,
4432,
8520,
12,
723,
2
] |
assertTrue("group is not satisfied", group.needsMoreInvocations()); | assertFalse(group.isSatisfied()); | public void testIsSatisfiedWhenAllMembersHaveBeenSatisfied() throws Throwable { expectation1.matches = true; group.invoke(invocation); assertTrue("group is not satisfied", group.needsMoreInvocations()); expectation1.matches = false; expectation1.needsMoreInvocations = false; expectation2.matches = true; group.invoke(invocation); assertTrue("group is not satisfied", group.needsMoreInvocations()); expectation2.matches = false; expectation2.needsMoreInvocations = false; expectation3.matches = true; group.invoke(invocation); assertTrue("group is not satisfied", group.needsMoreInvocations()); expectation3.matches = false; expectation3.needsMoreInvocations = false; expectation4.matches = true; group.invoke(invocation); assertTrue("group is not satisfied", group.needsMoreInvocations()); expectation4.needsMoreInvocations = false; assertTrue("group is satisfied", !group.needsMoreInvocations()); } | 54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/e26b74ed4c60546991e04518a519c4d68bd29943/OrderedExpectationGroupTests.java/buggy/jmock2/test/org/jmock/test/unit/lib/OrderedExpectationGroupTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2520,
15163,
21501,
9434,
1595,
6918,
17944,
25931,
15163,
21501,
1435,
1216,
4206,
288,
3639,
17733,
21,
18,
8436,
273,
638,
31,
7734,
1041,
18,
14407,
12,
5768,
4431,
1769,
3639,
1815,
8381,
12,
1655,
18,
291,
15163,
21501,
10663,
7734,
17733,
21,
18,
8436,
273,
629,
31,
3639,
17733,
21,
18,
20600,
7417,
3605,
17448,
273,
629,
31,
3639,
17733,
22,
18,
8436,
273,
638,
31,
7734,
1041,
18,
14407,
12,
5768,
4431,
1769,
3639,
1815,
8381,
12,
1655,
18,
291,
15163,
21501,
10663,
7734,
17733,
22,
18,
8436,
273,
629,
31,
3639,
17733,
22,
18,
20600,
7417,
3605,
17448,
273,
629,
31,
3639,
17733,
23,
18,
8436,
273,
638,
31,
7734,
1041,
18,
14407,
12,
5768,
4431,
1769,
3639,
1815,
8381,
12,
1655,
18,
291,
15163,
21501,
10663,
3639,
17733,
23,
18,
8436,
273,
629,
31,
3639,
17733,
23,
18,
20600,
7417,
3605,
17448,
273,
629,
31,
3639,
17733,
24,
18,
8436,
273,
638,
31,
7734,
1041,
18,
14407,
12,
5768,
4431,
1769,
3639,
1815,
8381,
12,
1655,
18,
291,
15163,
21501,
10663,
7734,
17733,
24,
18,
20600,
7417,
3605,
17448,
273,
629,
31,
3639,
1815,
5510,
2932,
1655,
353,
18958,
3113,
401,
1655,
18,
20600,
7417,
3605,
17448,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2520,
15163,
21501,
9434,
1595,
6918,
17944,
25931,
15163,
21501,
1435,
1216,
4206,
288,
3639,
17733,
21,
18,
8436,
273,
638,
31,
7734,
1041,
18,
14407,
12,
5768,
4431,
1769,
3639,
1815,
8381,
12,
1655,
18,
291,
15163,
21501,
10663,
7734,
17733,
21,
18,
8436,
273,
629,
31,
3639,
17733,
21,
18,
20600,
7417,
3605,
17448,
273,
629,
31,
3639,
17733,
22,
18,
8436,
273,
638,
31,
7734,
1041,
18,
14407,
12,
5768,
4431,
1769,
3639,
1815,
8381,
12,
1655,
18,
291,
15163,
21501,
10663,
7734,
17733,
22,
18,
8436,
273,
629,
31,
3639,
17733,
22,
18,
20600,
7417,
3605,
17448,
273,
629,
31,
3639,
17733,
23,
18,
8436,
273,
638,
31,
7734,
1041,
18,
2
] |
log.error("File to write significant genes cannot be opened."); | log.error( "File to write significant genes cannot be opened." ); | protected void writeSignificantGenesToFileWithoutPValues(String fileName, List<String> probeNames){ BufferedWriter writer = null; try { writer = new BufferedWriter(new FileWriter(analysisResultsPath + fileName)); } catch ( IOException e ) { log.error("File to write significant genes cannot be opened."); } try { for (int j = 0; j < probeNames.size(); j++) writer.write(probeNames.get(j) + "\n"); writer.close(); } catch ( IOException e ) { log.error("Probe Id cannot be written to file."); } } | 4335 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4335/3c425ed09e57d6c9d829aedb2fb6033a1097bae8/ExpressionDataManager.java/buggy/gemma-core/src/main/java/ubic/gemma/analysis/diff/ExpressionDataManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1045,
29822,
7642,
281,
15450,
8073,
52,
1972,
12,
780,
3968,
16,
987,
32,
780,
34,
10695,
1557,
15329,
3639,
22490,
2633,
273,
446,
31,
3639,
775,
288,
5411,
2633,
273,
394,
22490,
12,
2704,
24639,
12,
12746,
3447,
743,
397,
3968,
10019,
3639,
289,
1044,
261,
1860,
425,
262,
288,
5411,
613,
18,
1636,
12,
315,
812,
358,
1045,
14177,
11423,
2780,
506,
10191,
1199,
11272,
3639,
289,
7734,
775,
288,
5411,
364,
261,
474,
525,
273,
374,
31,
525,
411,
10695,
1557,
18,
1467,
5621,
525,
27245,
7734,
2633,
18,
2626,
12,
27230,
1557,
18,
588,
12,
78,
13,
397,
1548,
82,
8863,
5411,
2633,
18,
4412,
5621,
3639,
289,
1044,
261,
1860,
425,
262,
288,
7734,
613,
18,
1636,
2932,
21042,
3124,
2780,
506,
5941,
358,
585,
1199,
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,
0,
0,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,
22490,
2633,
273,
446,
31,
3639,
775,
288,
5411,
2633,
273,
394,
22490,
12,
2704,
24639,
12,
12746,
3447,
743,
397,
3968,
10019,
3639,
289,
1044,
261,
1860,
425,
262,
288,
5411,
613,
18,
1636,
12,
315,
812,
358,
1045,
14177,
11423,
2780,
506,
10191,
1199,
11272,
3639,
289,
7734,
775,
288,
5411,
364,
261,
474,
525,
273,
374,
31,
525,
411,
10695,
1557,
18,
1467,
5621,
525,
27245,
7734,
2633,
18,
2626,
12,
27230,
1557,
18,
588,
12,
78,
13,
397,
1548,
82,
8863,
5411,
2633,
18,
4412,
5621,
3639,
289,
1044,
261,
1860,
425,
2
] |
s = MesquiteLong.queryLong(containerOfModule(), "Random number seed", "Enter an integer value for the random number seed for character evolution simulation", originalSeed); | String purpose = whatIsMyPurpose(); if (StringUtil.blank(purpose)) purpose = "for " + getName(); s = MesquiteLong.queryLong(containerOfModule(), "Random number seed " + purpose, "Enter an integer value for the random number seed for character evolution simulation", originalSeed); | public Object doCommand(String commandName, String arguments, CommandRecord commandRec, CommandChecker checker) { if (checker.compare(this.getClass(), "Sets module used to supply character models", "[name of module]", commandName, "setModelSource")) { ProbModelSourceLike temp= (ProbModelSourceLike)replaceEmployee(commandRec, ProbModelSourceLike.class, arguments, "Source of probability character models", modelTask); if (temp!=null) { modelTask= temp; incrementMenuResetSuppression(); modelTaskName.setValue(modelTask.getName()); if (oneAtATime) modelTask.setOneCharacterAtATime(oneAtATimeCHGBL); parametersChanged(null, commandRec); decrementMenuResetSuppression(); } return modelTask; } else if (checker.compare(this.getClass(), "Sets the random number seed to that passed", "[long integer seed]", commandName, "setSeed")) { long s = MesquiteLong.fromString(parser.getFirstToken(arguments)); if (!MesquiteLong.isCombinable(s)){ s = MesquiteLong.queryLong(containerOfModule(), "Random number seed", "Enter an integer value for the random number seed for character evolution simulation", originalSeed); } if (MesquiteLong.isCombinable(s)){ originalSeed = s; seed.setValue(originalSeed); parametersChanged(null, commandRec); //? } return null; } else if (checker.compare(this.getClass(), "Sets the maximum number of events per branch", "[ integer]", commandName, "setMax")) { int s = MesquiteInteger.fromString(parser.getFirstToken(arguments)); if (!MesquiteInteger.isCombinable(s)){ s = MesquiteInteger.queryInteger(containerOfModule(), "Maximum Number of Events", "Maximum number of events per branch permitted in character evolution simulation", MAXEVENTS, 1, 1000000, true); } if (MesquiteInteger.isCombinable(s)){ MAXEVENTS = s; parametersChanged(null, commandRec); //? } return null; } else return super.doCommand(commandName, arguments, commandRec, checker); } | 56479 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56479/b9db0ccf007589f7d283815c9d7225804c828109/StochCharMapper.java/buggy/Source/mesquite/stochchar/StochCharMapper/StochCharMapper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
741,
2189,
12,
780,
20893,
16,
514,
1775,
16,
3498,
2115,
1296,
5650,
16,
3498,
8847,
12489,
13,
288,
202,
202,
430,
261,
19243,
18,
9877,
12,
2211,
18,
588,
797,
9334,
315,
2785,
1605,
1399,
358,
14467,
3351,
3679,
3113,
5158,
529,
434,
1605,
65,
3113,
20893,
16,
315,
542,
1488,
1830,
6,
3719,
288,
1082,
202,
9152,
1488,
1830,
8804,
1906,
33,
225,
261,
9152,
1488,
1830,
8804,
13,
2079,
41,
27520,
12,
3076,
5650,
16,
14610,
1488,
1830,
8804,
18,
1106,
16,
1775,
16,
315,
1830,
434,
11331,
3351,
3679,
3113,
938,
2174,
1769,
1082,
202,
430,
261,
5814,
5,
33,
2011,
13,
288,
9506,
202,
2284,
2174,
33,
1906,
31,
9506,
202,
15016,
4599,
7013,
3088,
1337,
5621,
9506,
202,
2284,
2174,
461,
18,
542,
620,
12,
2284,
2174,
18,
17994,
10663,
9506,
202,
430,
261,
476,
861,
789,
494,
13,
6862,
202,
2284,
2174,
18,
542,
3335,
7069,
861,
789,
494,
12,
476,
861,
789,
494,
1792,
5887,
48,
1769,
9506,
202,
3977,
5033,
12,
2011,
16,
1296,
5650,
1769,
9506,
202,
323,
3702,
4599,
7013,
3088,
1337,
5621,
1082,
202,
97,
1082,
202,
2463,
938,
2174,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
19243,
18,
9877,
12,
2211,
18,
588,
797,
9334,
315,
2785,
326,
2744,
1300,
5009,
358,
716,
2275,
3113,
5158,
5748,
3571,
5009,
65,
3113,
20893,
16,
315,
542,
12702,
6,
3719,
288,
1082,
202,
5748,
272,
273,
490,
281,
372,
1137,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
741,
2189,
12,
780,
20893,
16,
514,
1775,
16,
3498,
2115,
1296,
5650,
16,
3498,
8847,
12489,
13,
288,
202,
202,
430,
261,
19243,
18,
9877,
12,
2211,
18,
588,
797,
9334,
315,
2785,
1605,
1399,
358,
14467,
3351,
3679,
3113,
5158,
529,
434,
1605,
65,
3113,
20893,
16,
315,
542,
1488,
1830,
6,
3719,
288,
1082,
202,
9152,
1488,
1830,
8804,
1906,
33,
225,
261,
9152,
1488,
1830,
8804,
13,
2079,
41,
27520,
12,
3076,
5650,
16,
14610,
1488,
1830,
8804,
18,
1106,
16,
1775,
16,
315,
1830,
434,
11331,
3351,
3679,
3113,
938,
2174,
1769,
1082,
202,
430,
261,
5814,
5,
33,
2011,
13,
288,
9506,
202,
2284,
2174,
33,
1906,
31,
9506,
2
] |
real_dests=dests != null ? (Vector)dests.clone() : (members != null? (Vector)members.clone() : null); | real_dests = dests != null ? (Vector) dests.clone() : (members != null ? (Vector) members.clone() : null); | public RspList castMessage(final Vector dests, Message msg, int mode, long timeout) { GroupRequest _req=null; Vector real_dests; Channel tmp; // we need to clone because we don't want to modify the original // (we remove ourselves if LOCAL is false, see below) ! real_dests=dests != null ? (Vector)dests.clone() : (members != null? (Vector)members.clone() : null); // if local delivery is off, then we should not wait for the message from the local member. // therefore remove it from the membership tmp=channel; if(tmp == null) { if(adapter != null && adapter.getTransport() instanceof Channel) tmp=(Channel)adapter.getTransport(); } if(tmp != null && tmp.getOpt(Channel.LOCAL).equals(Boolean.FALSE)) { if(local_addr == null) local_addr=tmp.getLocalAddress(); if(local_addr != null && real_dests != null) real_dests.removeElement(local_addr); } // don't even send the message if the destination list is empty if(log.isDebugEnabled()) log.debug("real_dests=" + real_dests); if(real_dests == null || real_dests.size() == 0) { if(log.isDebugEnabled()) log.debug("destination list is empty, won't send message"); return new RspList(); // return empty response list } _req=new GroupRequest(msg, corr, real_dests, mode, timeout, 0); _req.execute(); return _req.getResults(); } | 48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/9b133caccdd70cd06c1674ee2a42e75071fdc287/MessageDispatcher.java/clean/src/org/jgroups/blocks/MessageDispatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
534,
1752,
682,
4812,
1079,
12,
6385,
5589,
1570,
87,
16,
2350,
1234,
16,
509,
1965,
16,
1525,
2021,
13,
288,
4202,
3756,
691,
225,
389,
3658,
33,
2011,
31,
4202,
5589,
3639,
2863,
67,
10488,
87,
31,
4202,
5307,
4202,
1853,
31,
4202,
368,
732,
1608,
358,
3236,
2724,
732,
2727,
1404,
2545,
358,
5612,
326,
2282,
4202,
368,
261,
1814,
1206,
19801,
309,
15234,
353,
629,
16,
2621,
5712,
13,
401,
4202,
2863,
67,
10488,
87,
273,
1570,
87,
480,
446,
692,
261,
5018,
13,
1570,
87,
18,
14056,
1435,
294,
261,
7640,
480,
446,
692,
261,
5018,
13,
4833,
18,
14056,
1435,
294,
446,
1769,
4202,
368,
309,
1191,
7912,
353,
3397,
16,
1508,
732,
1410,
486,
2529,
364,
326,
883,
628,
326,
1191,
3140,
18,
4202,
368,
13526,
1206,
518,
628,
326,
12459,
4202,
1853,
33,
4327,
31,
4202,
309,
12,
5645,
422,
446,
13,
288,
6647,
309,
12,
10204,
480,
446,
597,
4516,
18,
588,
6568,
1435,
1276,
5307,
13,
9079,
1853,
28657,
2909,
13,
10204,
18,
588,
6568,
5621,
4202,
289,
4202,
309,
12,
5645,
480,
446,
597,
1853,
18,
588,
6179,
12,
2909,
18,
14922,
2934,
14963,
12,
5507,
18,
21053,
3719,
288,
6647,
309,
12,
3729,
67,
4793,
422,
446,
13,
9079,
1191,
67,
4793,
33,
5645,
18,
588,
2042,
1887,
5621,
6647,
309,
12,
3729,
67,
4793,
480,
446,
597,
2863,
67,
10488,
87,
480,
446,
13,
9079,
2863,
67,
10488,
87,
18,
4479,
1046,
12,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
534,
1752,
682,
4812,
1079,
12,
6385,
5589,
1570,
87,
16,
2350,
1234,
16,
509,
1965,
16,
1525,
2021,
13,
288,
4202,
3756,
691,
225,
389,
3658,
33,
2011,
31,
4202,
5589,
3639,
2863,
67,
10488,
87,
31,
4202,
5307,
4202,
1853,
31,
4202,
368,
732,
1608,
358,
3236,
2724,
732,
2727,
1404,
2545,
358,
5612,
326,
2282,
4202,
368,
261,
1814,
1206,
19801,
309,
15234,
353,
629,
16,
2621,
5712,
13,
401,
4202,
2863,
67,
10488,
87,
273,
1570,
87,
480,
446,
692,
261,
5018,
13,
1570,
87,
18,
14056,
1435,
294,
261,
7640,
480,
446,
692,
261,
5018,
13,
4833,
18,
14056,
1435,
294,
446,
1769,
4202,
368,
309,
1191,
7912,
353,
3397,
16,
1508,
2
] |
return bridges.keySet(); } | return bridges.keySet(); } | public Set<String> getKnownContentTypes() { return bridges.keySet(); } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/679ce7169ba0efad3075c761ad610c7320d9c69a/MylarPlugin.java/clean/org.eclipse.mylyn.context.core/src/org/eclipse/mylyn/core/MylarPlugin.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1000,
32,
780,
34,
336,
11925,
27446,
1435,
288,
377,
202,
2463,
324,
1691,
2852,
18,
856,
694,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
] |
logger.debug("About to add bond info to " + cdo.getClass().getName()); | if (debug) logger.debug("About to add bond info to " + cdo.getClass().getName()); | protected void storeBondData() { logger.debug( "Testing a1,a2,stereo,order = count: " + bondARef1.size() + "," + bondARef2.size() + "," + bondStereo.size() + "," + order.size() + "=" + bondCounter); if ((bondARef1.size() == bondCounter) && (bondARef2.size() == bondCounter)) { logger.debug("About to add bond info to " + cdo.getClass().getName()); Enumeration orders = order.elements(); Enumeration ids = bondid.elements(); Enumeration bar1s = bondARef1.elements(); Enumeration bar2s = bondARef2.elements(); Enumeration stereos = bondStereo.elements(); while (bar1s.hasMoreElements()) { cdo.startObject("Bond"); if (ids.hasMoreElements()) { cdo.setObjectProperty("Bond", "id", (String)ids.nextElement()); } cdo.setObjectProperty("Bond", "atom1", new Integer(bondElid.indexOf( (String)bar1s.nextElement())).toString()); cdo.setObjectProperty("Bond", "atom2", new Integer(bondElid.indexOf( (String)bar2s.nextElement())).toString()); if (orders.hasMoreElements()) { String bondOrder = (String)orders.nextElement(); if ("S".equals(bondOrder)) { cdo.setObjectProperty("Bond", "order", "1"); } else if ("D".equals(bondOrder)) { cdo.setObjectProperty("Bond", "order", "2"); } else if ("T".equals(bondOrder)) { cdo.setObjectProperty("Bond", "order", "3"); } else if ("A".equals(bondOrder)) { cdo.setObjectProperty("Bond", "order", "1.5"); } else { cdo.setObjectProperty("Bond", "order", bondOrder); } } if (stereos.hasMoreElements()) { cdo.setObjectProperty("Bond", "stereo", (String)stereos.nextElement()); } cdo.endObject("Bond"); } } newBondData(); } | 45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/85b1def8500569c307eef07a73f9886549ea9364/CMLCoreModule.java/buggy/src/org/openscience/cdk/io/cml/CMLCoreModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1707,
9807,
751,
1435,
288,
3639,
1194,
18,
4148,
12,
7734,
315,
22218,
279,
21,
16,
69,
22,
16,
334,
822,
83,
16,
1019,
273,
1056,
30,
315,
397,
8427,
37,
1957,
21,
18,
1467,
1435,
397,
5753,
397,
1171,
8427,
37,
1957,
22,
18,
1467,
1435,
397,
5753,
397,
8427,
55,
22854,
18,
1467,
1435,
397,
5753,
397,
1353,
18,
1467,
1435,
397,
9671,
397,
7734,
8427,
4789,
1769,
3639,
309,
14015,
26425,
37,
1957,
21,
18,
1467,
1435,
422,
8427,
4789,
13,
597,
2398,
261,
26425,
37,
1957,
22,
18,
1467,
1435,
422,
8427,
4789,
3719,
288,
5411,
309,
261,
4148,
13,
1194,
18,
4148,
2932,
24813,
358,
527,
8427,
1123,
358,
315,
397,
276,
2896,
18,
588,
797,
7675,
17994,
10663,
5411,
13864,
11077,
273,
1353,
18,
6274,
5621,
5411,
13864,
3258,
273,
8427,
350,
18,
6274,
5621,
5411,
13864,
4653,
21,
87,
273,
8427,
37,
1957,
21,
18,
6274,
5621,
5411,
13864,
4653,
22,
87,
273,
8427,
37,
1957,
22,
18,
6274,
5621,
5411,
13864,
22890,
538,
273,
8427,
55,
22854,
18,
6274,
5621,
5411,
1323,
261,
3215,
21,
87,
18,
5332,
7417,
3471,
10756,
288,
7734,
276,
2896,
18,
1937,
921,
2932,
9807,
8863,
7734,
309,
261,
2232,
18,
5332,
7417,
3471,
10756,
288,
10792,
276,
2896,
18,
542,
921,
1396,
2932,
9807,
3113,
315,
350,
3113,
261,
780,
13,
2232,
18,
4285,
1046,
10663,
7734,
289,
7734,
276,
2896,
18,
542,
921,
1396,
2932,
9807,
3113,
315,
7466,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1707,
9807,
751,
1435,
288,
3639,
1194,
18,
4148,
12,
7734,
315,
22218,
279,
21,
16,
69,
22,
16,
334,
822,
83,
16,
1019,
273,
1056,
30,
315,
397,
8427,
37,
1957,
21,
18,
1467,
1435,
397,
5753,
397,
1171,
8427,
37,
1957,
22,
18,
1467,
1435,
397,
5753,
397,
8427,
55,
22854,
18,
1467,
1435,
397,
5753,
397,
1353,
18,
1467,
1435,
397,
9671,
397,
7734,
8427,
4789,
1769,
3639,
309,
14015,
26425,
37,
1957,
21,
18,
1467,
1435,
422,
8427,
4789,
13,
597,
2398,
261,
26425,
37,
1957,
22,
18,
1467,
1435,
422,
8427,
4789,
3719,
288,
5411,
309,
261,
4148,
13,
1194,
18,
4148,
2932,
24813,
358,
527,
8427,
1123,
358,
315,
397,
2
] |
checkForBitIorofSignedByte = (special0 == OpcodeStack.Item.BYTE_ARRAY_LOAD || special1 == OpcodeStack.Item.BYTE_ARRAY_LOAD ); | checkForBitIorofSignedByte = (special0 == OpcodeStack.Item.BYTE_ARRAY_LOAD && special1 == OpcodeStack.Item.LOW_8_BITS_CLEAR || special0 == OpcodeStack.Item.LOW_8_BITS_CLEAR && special1 == OpcodeStack.Item.BYTE_ARRAY_LOAD ); | public void sawOpcode(int seen) { try { if (seen == IREM) { OpcodeStack.Item item1 = stack.getStackItem(1); int special = item1.getSpecialKind(); if (special == OpcodeStack.Item.RANDOM_INT) { bugReporter.reportBug(new BugInstance(this, "RV_REM_OF_RANDOM_INT", HIGH_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); } } if (checkForBitIorofSignedByte && seen != I2B) { bugReporter.reportBug(new BugInstance(this, "BIT_IOR_OF_SIGNED_BYTE", prevOpcode == LOR ? HIGH_PRIORITY : LOW_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); checkForBitIorofSignedByte = false; } else if (seen == IOR || seen == LOR) { OpcodeStack.Item item0 = stack.getStackItem(0); OpcodeStack.Item item1 = stack.getStackItem(1); int special0 = item0.getSpecialKind(); int special1 = item1.getSpecialKind(); checkForBitIorofSignedByte = (special0 == OpcodeStack.Item.BYTE_ARRAY_LOAD || special1 == OpcodeStack.Item.BYTE_ARRAY_LOAD ); } else checkForBitIorofSignedByte = false; if (prevOpcodeWasReadLine && seen == INVOKEVIRTUAL && getClassConstantOperand().equals("java/lang/String")) { bugReporter.reportBug(new BugInstance(this, "NP_IMMEDIATE_DEREFERENCE_OF_READLINE", NORMAL_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); } prevOpcodeWasReadLine = (seen == INVOKEVIRTUAL||seen == INVOKEINTERFACE) && getNameConstantOperand().equals("readLine") && getSigConstantOperand().equals("()Ljava/lang/String;"); switch(randomNextIntState) { case 0: if (seen == INVOKEVIRTUAL && getClassConstantOperand().equals("java/util/Random") && getNameConstantOperand().equals("nextLong") || seen == INVOKESTATIC && getClassConstantOperand().equals("java/lang/Math") && getNameConstantOperand().equals("random")) randomNextIntState = 1; break; case 1: if (seen == D2I) { bugReporter.reportBug(new BugInstance(this, "RV_01_TO_INT", HIGH_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); randomNextIntState = 0; } else randomNextIntState = 2; break; case 2: if (seen == I2D) randomNextIntState = 3; else randomNextIntState = 0; break; case 3: if (seen == DMUL) randomNextIntState = 4; else randomNextIntState = 0; break; case 4: if (seen == D2I) bugReporter.reportBug(new BugInstance(this, "DM_NEXTINT_VIA_NEXTDOUBLE", NORMAL_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); randomNextIntState = 0; break; default: throw new IllegalStateException(); } if (isPublicStaticVoidMain && seen == INVOKEVIRTUAL && getClassConstantOperand().startsWith("javax/swing/") && (getNameConstantOperand().equals("show") && getSigConstantOperand().equals("()V") || getNameConstantOperand().equals("pack") && getSigConstantOperand().equals("()V") || getNameConstantOperand().equals("setVisible") && getSigConstantOperand().equals("(Z)V"))) bugReporter.reportBug(new BugInstance(this, "SW_SWING_METHODS_INVOKED_IN_SWING_THREAD", LOW_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); // if ((seen == INVOKEVIRTUAL)// && getClassConstantOperand().equals("java/lang/String")// && getNameConstantOperand().equals("substring")// && getSigConstantOperand().equals("(I)Ljava/lang/String;")// && stack.getStackDepth() > 1) {// OpcodeStack.Item item = stack.getStackItem(0);// Object o = item.getConstant();// if (o != null && o instanceof Integer) {// int v = ((Integer) o).intValue();// if (v == 0)// bugReporter.reportBug(new BugInstance(this, "DMI_USELESS_SUBSTRING", NORMAL_PRIORITY)// .addClassAndMethod(this)// .addSourceLine(this));// }// } if ((seen == INVOKEVIRTUAL) && getNameConstantOperand().equals("next") && getSigConstantOperand().equals("()Ljava/lang/Object;") && getMethodName().equals("hasNext") && getMethodSig().equals("()Z") && stack.getStackDepth() > 0) { OpcodeStack.Item item = stack.getStackItem(0); bugReporter.reportBug(new BugInstance(this, "DMI_CALLING_NEXT_FROM_HASNEXT", item.isInitialParameter() && item.getRegisterNumber() == 0 ? NORMAL_PRIORITY : LOW_PRIORITY) .addClassAndMethod(this) .addSourceLine(this) .addCalledMethod(this)); } if ((seen == INVOKESPECIAL) && getClassConstantOperand().equals("java/lang/String") && getNameConstantOperand().equals("<init>") && getSigConstantOperand().equals("(Ljava/lang/String;)V")) if (alreadyReported.add(getRefConstantOperand())) bugReporter.reportBug(new BugInstance(this, "DM_STRING_CTOR", NORMAL_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); if (seen == INVOKESTATIC && getClassConstantOperand().equals("java/lang/System") && getNameConstantOperand().equals("runFinalizersOnExit") || seen == INVOKEVIRTUAL && getClassConstantOperand().equals("java/lang/Runtime") && getNameConstantOperand().equals("runFinalizersOnExit")) bugReporter.reportBug(new BugInstance(this, "DM_RUN_FINALIZERS_ON_EXIT", HIGH_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); if ((seen == INVOKESPECIAL) && getClassConstantOperand().equals("java/lang/String") && getNameConstantOperand().equals("<init>") && getSigConstantOperand().equals("()V")) if (alreadyReported.add(getRefConstantOperand())) bugReporter.reportBug(new BugInstance(this, "DM_STRING_VOID_CTOR", NORMAL_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); if (!isPublicStaticVoidMain && seen == INVOKESTATIC && getClassConstantOperand().equals("java/lang/System") && getNameConstantOperand().equals("exit") && !getMethodName().equals("processWindowEvent") && !getMethodName().startsWith("windowClos") && getMethodName().indexOf("exit") == -1 && getMethodName().indexOf("Exit") == -1 && getMethodName().indexOf("crash") == -1 && getMethodName().indexOf("Crash") == -1 && getMethodName().indexOf("die") == -1 && getMethodName().indexOf("Die") == -1 && getMethodName().indexOf("main") == -1) bugReporter.reportBug(new BugInstance(this, "DM_EXIT", getMethod().isStatic() ? LOW_PRIORITY : NORMAL_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); if (((seen == INVOKESTATIC && getClassConstantOperand().equals("java/lang/System")) || (seen == INVOKEVIRTUAL && getClassConstantOperand().equals("java/lang/Runtime"))) && getNameConstantOperand().equals("gc") && getSigConstantOperand().equals("()V") && !getDottedClassName().startsWith("java.lang") && !getMethodName().startsWith("gc") && !getMethodName().endsWith("gc")) if (alreadyReported.add(getRefConstantOperand())) { // System.out.println("Saw call to GC"); if (isPublicStaticVoidMain) { // System.out.println("Skipping GC complaint in main method"); return; } // Just save this report in a field; it will be flushed // IFF there were no calls to System.currentTimeMillis(); // in the method. gcInvocationBugReport = new BugInstance(this, "DM_GC", HIGH_PRIORITY) .addClassAndMethod(this) .addSourceLine(this); gcInvocationPC = getPC(); //System.out.println("GC invocation at pc " + PC); } if ((seen == INVOKESPECIAL) && getClassConstantOperand().equals("java/lang/Boolean") && getNameConstantOperand().equals("<init>") && !getClassName().equals("java/lang/Boolean") ) if (alreadyReported.add(getRefConstantOperand())) bugReporter.reportBug(new BugInstance(this, "DM_BOOLEAN_CTOR", NORMAL_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); if ((seen == INVOKESTATIC) && getClassConstantOperand().equals("java/lang/System") && (getNameConstantOperand().equals("currentTimeMillis") || getNameConstantOperand().equals("nanoTime"))) sawCurrentTimeMillis = true; if ((seen == INVOKEVIRTUAL) && getClassConstantOperand().equals("java/lang/String") && getNameConstantOperand().equals("toString") && getSigConstantOperand().equals("()Ljava/lang/String;")) if (alreadyReported.add(getRefConstantOperand())) bugReporter.reportBug(new BugInstance(this, "DM_STRING_TOSTRING", NORMAL_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); if ((seen == INVOKEVIRTUAL) && getClassConstantOperand().equals("java/lang/String") && (getNameConstantOperand().equals("toUpperCase") || getNameConstantOperand().equals("toLowerCase")) && getSigConstantOperand().equals("()Ljava/lang/String;")) if (alreadyReported.add(getRefConstantOperand())) bugReporter.reportBug(new BugInstance(this, "DM_CONVERT_CASE", LOW_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); if ((seen == INVOKESPECIAL) && getNameConstantOperand().equals("<init>")) { String cls = getClassConstantOperand(); String sig = getSigConstantOperand(); if ((cls.equals("java/lang/Integer") && sig.equals("(I)V")) || (cls.equals("java/lang/Float") && sig.equals("(F)V")) || (cls.equals("java/lang/Double") && sig.equals("(D)V")) || (cls.equals("java/lang/Long") && sig.equals("(J)V")) || (cls.equals("java/lang/Byte") && sig.equals("(B)V")) || (cls.equals("java/lang/Character") && sig.equals("(C)V")) || (cls.equals("java/lang/Short") && sig.equals("(S)V")) || (cls.equals("java/lang/Boolean") && sig.equals("(Z)V"))) { primitiveObjCtorSeen = cls; } else { primitiveObjCtorSeen = null; } } else if ((primitiveObjCtorSeen != null) && (seen == INVOKEVIRTUAL) && getNameConstantOperand().equals("toString") && getClassConstantOperand().equals(primitiveObjCtorSeen) && getSigConstantOperand().equals("()Ljava/lang/String;")) { bugReporter.reportBug(new BugInstance(this, "DM_BOXED_PRIMITIVE_TOSTRING", LOW_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); primitiveObjCtorSeen = null; } else primitiveObjCtorSeen = null; if ((seen == INVOKESPECIAL) && getNameConstantOperand().equals("<init>")) { ctorSeen = true; } else if (ctorSeen && (seen == INVOKEVIRTUAL) && getClassConstantOperand().equals("java/lang/Object") && getNameConstantOperand().equals("getClass") && getSigConstantOperand().equals("()Ljava/lang/Class;")) { bugReporter.reportBug(new BugInstance(this, "DM_NEW_FOR_GETCLASS", LOW_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); ctorSeen = false; } else { ctorSeen = false; } if (jdk15ChecksEnabled && (seen == INVOKEVIRTUAL) && isMonitorWait(getNameConstantOperand(), getSigConstantOperand())) { checkMonitorWait(); } if ((seen == INVOKESPECIAL) && getNameConstantOperand().equals("<init>") && getClassConstantOperand().equals("java/lang/Thread")) { String sig = getSigConstantOperand(); if (sig.equals("()V") || sig.equals("(Ljava/lang/String;)V") || sig.equals("(Ljava/lang/ThreadGroup;Ljava/lang/String;)V")) if (!getMethodName().equals("<init>") || (getPC() > 20)) { bugReporter.reportBug(new BugInstance(this, "DM_USELESS_THREAD", LOW_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); } } /* // // TODO: put this back in when we have a standard way // of enabling and disabling warnings on a per-bug-pattern // basis. // if ((seen == INVOKEVIRTUAL) && sawLDCEmptyString && getNameConstantOperand().equals("equals")) bugReporter.reportBug(new BugInstance("DM_STRING_EMPTY_EQUALS", LOW_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); if ((seen == LDC) && (getConstantRefOperand() instanceof ConstantString) && (getStringConstantOperand().length() == 0)) sawLDCEmptyString = true; else sawLDCEmptyString = false;*/ } finally { stack.sawOpcode(this,seen); prevOpcode = seen; } } | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/d8d18fea5f88429163ea5b6c54b2c3a646aec0d3/DumbMethods.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/DumbMethods.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
19821,
22808,
12,
474,
5881,
13,
288,
202,
202,
698,
288,
202,
202,
430,
261,
15156,
422,
467,
862,
49,
13,
288,
1082,
202,
22808,
2624,
18,
1180,
761,
21,
273,
2110,
18,
588,
2624,
1180,
12,
21,
1769,
1082,
202,
474,
4582,
273,
761,
21,
18,
588,
12193,
5677,
5621,
1082,
202,
430,
261,
9371,
422,
16424,
2624,
18,
1180,
18,
54,
28159,
67,
3217,
13,
288,
25083,
225,
7934,
13289,
18,
6006,
19865,
12,
2704,
16907,
1442,
12,
2211,
16,
315,
54,
58,
67,
862,
49,
67,
3932,
67,
54,
28159,
67,
3217,
3113,
23472,
67,
19804,
13,
25083,
202,
18,
1289,
797,
1876,
1305,
12,
2211,
13,
25083,
202,
18,
1289,
1830,
1670,
12,
2211,
10019,
25083,
202,
97,
202,
202,
97,
202,
202,
430,
261,
1893,
1290,
5775,
45,
280,
792,
12294,
3216,
597,
5881,
480,
467,
22,
38,
13,
288,
9506,
225,
7934,
13289,
18,
6006,
19865,
12,
2704,
16907,
1442,
12,
2211,
16,
315,
15650,
67,
45,
916,
67,
3932,
67,
21049,
67,
15377,
3113,
4405,
202,
10001,
22808,
422,
511,
916,
692,
23472,
67,
19804,
294,
1806,
59,
67,
19804,
13,
25083,
202,
18,
1289,
797,
1876,
1305,
12,
2211,
13,
25083,
202,
18,
1289,
1830,
1670,
12,
2211,
10019,
9506,
225,
13855,
5775,
45,
280,
792,
12294,
3216,
273,
629,
31,
202,
202,
97,
469,
309,
261,
15156,
422,
467,
916,
747,
5881,
422,
511,
916,
13,
288,
1082,
202,
22808,
2624,
18,
1180,
761,
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,
19821,
22808,
12,
474,
5881,
13,
288,
202,
202,
698,
288,
202,
202,
430,
261,
15156,
422,
467,
862,
49,
13,
288,
1082,
202,
22808,
2624,
18,
1180,
761,
21,
273,
2110,
18,
588,
2624,
1180,
12,
21,
1769,
1082,
202,
474,
4582,
273,
761,
21,
18,
588,
12193,
5677,
5621,
1082,
202,
430,
261,
9371,
422,
16424,
2624,
18,
1180,
18,
54,
28159,
67,
3217,
13,
288,
25083,
225,
7934,
13289,
18,
6006,
19865,
12,
2704,
16907,
1442,
12,
2211,
16,
315,
54,
58,
67,
862,
49,
67,
3932,
67,
54,
28159,
67,
3217,
3113,
23472,
67,
19804,
13,
25083,
202,
18,
1289,
797,
1876,
1305,
12,
2211,
13,
25083,
202,
18,
1289,
1830,
2
] |
nf.addChildToBack(pn, memberExpr(ts, source, false)); | nf.addChildToBack(pn, memberExpr(ts, false)); | private Object memberExpr(TokenStream ts, Source source, boolean allowCallSyntax) throws IOException, JavaScriptException { int tt; Object pn; /* Check for new expressions. */ ts.flags |= ts.TSF_REGEXP; tt = ts.peekToken(); ts.flags &= ~ts.TSF_REGEXP; if (tt == ts.NEW) { /* Eat the NEW token. */ ts.getToken(); source.append((char)ts.NEW); /* Make a NEW node to append to. */ pn = nf.createLeaf(ts.NEW); nf.addChildToBack(pn, memberExpr(ts, source, false)); if (ts.matchToken(ts.LP)) { source.append((char)ts.LP); /* Add the arguments to pn, if any are supplied. */ pn = argumentList(ts, source, pn); } /* XXX there's a check in the C source against * "too many constructor arguments" - how many * do we claim to support? */ /* Experimental syntax: allow an object literal to follow a new expression, * which will mean a kind of anonymous class built with the JavaAdapter. * the object literal will be passed as an additional argument to the constructor. */ tt = ts.peekToken(); if (tt == ts.LC) { nf.addChildToBack(pn, primaryExpr(ts, source)); } } else { pn = primaryExpr(ts, source); } lastExprEndLine = ts.getLineno(); while ((tt = ts.getToken()) > ts.EOF) { if (tt == ts.DOT) { source.append((char)ts.DOT); mustMatchToken(ts, ts.NAME, "msg.no.name.after.dot"); String s = ts.getString(); source.addString(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) { source.append((char)ts.LB); pn = nf.createBinary(ts.LB, pn, expr(ts, source, false)); mustMatchToken(ts, ts.RB, "msg.no.bracket.index"); source.append((char)ts.RB); lastExprEndLine = ts.getLineno(); } else if (allowCallSyntax && tt == ts.LP) { /* make a call node */ pn = nf.createUnary(ts.CALL, pn); source.append((char)ts.LP); /* Add the arguments to pn, if any are supplied. */ pn = argumentList(ts, source, pn); lastExprEndLine = ts.getLineno(); } else { ts.ungetToken(tt); break; } } return pn; } | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/3d2e81a014b22cf4d1eb8921bd4229c2ca7ff017/Parser.java/clean/js/rhino/src/org/mozilla/javascript/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
3140,
4742,
12,
1345,
1228,
3742,
16,
4998,
1084,
16,
17311,
1250,
1699,
1477,
8070,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
3639,
509,
3574,
31,
3639,
1033,
11059,
31,
7734,
1748,
2073,
364,
394,
8041,
18,
1195,
3639,
3742,
18,
7133,
5626,
3742,
18,
8047,
42,
67,
28225,
31,
3639,
3574,
273,
3742,
18,
347,
3839,
1345,
5621,
3639,
3742,
18,
7133,
12058,
4871,
3428,
18,
8047,
42,
67,
28225,
31,
3639,
309,
261,
748,
422,
3742,
18,
12917,
13,
288,
5411,
1748,
512,
270,
326,
12887,
1147,
18,
1195,
5411,
3742,
18,
588,
1345,
5621,
5411,
1084,
18,
6923,
12443,
3001,
13,
3428,
18,
12917,
1769,
5411,
1748,
4344,
279,
12887,
756,
358,
714,
358,
18,
1195,
5411,
11059,
273,
13958,
18,
2640,
9858,
12,
3428,
18,
12917,
1769,
5411,
13958,
18,
1289,
1763,
774,
2711,
12,
7449,
16,
3140,
4742,
12,
3428,
16,
629,
10019,
5411,
309,
261,
3428,
18,
1916,
1345,
12,
3428,
18,
14461,
3719,
288,
7734,
1084,
18,
6923,
12443,
3001,
13,
3428,
18,
14461,
1769,
7734,
1748,
1436,
326,
1775,
358,
11059,
16,
309,
1281,
854,
4580,
18,
1195,
7734,
11059,
273,
1237,
682,
12,
3428,
16,
1084,
16,
11059,
1769,
5411,
289,
5411,
1748,
11329,
1915,
1807,
279,
866,
316,
326,
385,
1084,
5314,
2398,
380,
315,
16431,
4906,
3885,
1775,
6,
300,
3661,
4906,
2398,
380,
741,
732,
7516,
358,
2865,
35,
2398,
1195,
13491,
1748,
22844,
287,
6279,
30,
225,
1699,
392,
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,
12,
1345,
1228,
3742,
16,
4998,
1084,
16,
17311,
1250,
1699,
1477,
8070,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
3639,
509,
3574,
31,
3639,
1033,
11059,
31,
7734,
1748,
2073,
364,
394,
8041,
18,
1195,
3639,
3742,
18,
7133,
5626,
3742,
18,
8047,
42,
67,
28225,
31,
3639,
3574,
273,
3742,
18,
347,
3839,
1345,
5621,
3639,
3742,
18,
7133,
12058,
4871,
3428,
18,
8047,
42,
67,
28225,
31,
3639,
309,
261,
748,
422,
3742,
18,
12917,
13,
288,
5411,
1748,
512,
270,
326,
12887,
1147,
18,
1195,
5411,
3742,
18,
588,
1345,
5621,
5411,
1084,
18,
6923,
12443,
3001,
13,
3428,
18,
12917,
1769,
5411,
1748,
4344,
279,
12887,
756,
2
] |
super(position); | super(position, NodeTypes.RETRYNODE); | public RetryNode(ISourcePosition position) { super(position); } | 47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/6e15491217631472c05c6928672f9c7064a978b3/RetryNode.java/buggy/src/org/jruby/ast/RetryNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
9954,
907,
12,
45,
1830,
2555,
1754,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
24240,
8744,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
9954,
907,
12,
45,
1830,
2555,
1754,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
24240,
8744,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
protected InetAddress getInetAddress () { return address; } | protected InetAddress getInetAddress() { return address; } | protected InetAddress getInetAddress () { return address; } | 1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/84d120cc49d42a79bfbc68fe36429395bdef90fd/SocketImpl.java/buggy/libjava/java/net/SocketImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
14218,
7854,
278,
1887,
1832,
288,
327,
1758,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
String pname; if (sref != null) pname = sref.getPeer(); else pname = ANYPEER; | public InputStream retrieveInformation(String uuid) { // dispatch between opd,obr,jar System.out.println("servicemanager retrieve infos: "+uuid); // lookup the peer for the serviceid ServiceReference sref = (ServiceReference)uuid2svcref.get(uuid); if (sref != null && uuid.indexOf(":opd") > -1) { return new ByteArrayInputStream( (((ServiceReferenceImpl)sref).getAdvertisement()).getBytes()); } else if (uuid.indexOf(":jar") > -1 ) { String pname; if (sref != null) pname = sref.getPeer(); else pname = ANYPEER; sendRequest(pname, JAR_REQ, SERVICE_ID, uuid, null, null); return awaitInformation(uuid); } else if (uuid.indexOf(":obr") > -1) { String pname; if (sref != null) pname = sref.getPeer(); else pname = ANYPEER; sendRequest(pname, OBR_REQ, SERVICE_ID, uuid, null, null); return awaitInformation(uuid); } return null; } | 9764 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9764/aa1b4538833ca50a2d2c03a4e3cfbb34ccd4b206/ServiceManagerImpl.java/clean/jadabs/bundles/service-manager/impl/src/ch/ethz/jadabs/servicemanager/impl/ServiceManagerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5037,
4614,
5369,
12,
780,
3822,
13,
565,
288,
2398,
368,
3435,
3086,
1061,
72,
16,
947,
86,
16,
11930,
13491,
2332,
18,
659,
18,
8222,
2932,
3278,
4181,
4614,
10626,
30,
13773,
7080,
1769,
3639,
368,
3689,
225,
326,
4261,
364,
326,
1156,
350,
3639,
26755,
272,
1734,
273,
261,
1179,
2404,
13,
7080,
22,
30992,
1734,
18,
588,
12,
7080,
1769,
7734,
309,
261,
87,
1734,
480,
446,
597,
3822,
18,
31806,
2932,
30,
556,
72,
7923,
405,
300,
21,
13,
3639,
288,
5411,
327,
394,
16180,
12,
10792,
261,
12443,
1179,
2404,
2828,
13,
87,
1734,
2934,
588,
1871,
1097,
291,
820,
1435,
2934,
588,
2160,
10663,
4766,
6647,
289,
3639,
469,
309,
261,
7080,
18,
31806,
2932,
30,
11930,
7923,
405,
300,
21,
262,
3639,
288,
13491,
514,
19952,
31,
5411,
309,
261,
87,
1734,
480,
446,
13,
7734,
19952,
273,
272,
1734,
18,
588,
6813,
5621,
5411,
469,
7734,
19952,
273,
8175,
28190,
31,
13491,
12413,
12,
84,
529,
16,
24728,
67,
20373,
16,
12828,
67,
734,
16,
3822,
16,
446,
16,
446,
1769,
13491,
327,
4273,
5369,
12,
7080,
1769,
3639,
289,
3639,
469,
309,
261,
7080,
18,
31806,
2932,
30,
947,
86,
7923,
405,
300,
21,
13,
3639,
288,
13491,
514,
19952,
31,
5411,
309,
261,
87,
1734,
480,
446,
13,
7734,
19952,
273,
272,
1734,
18,
588,
6813,
5621,
5411,
469,
7734,
19952,
273,
8175,
28190,
31,
13491,
12413,
12,
84,
529,
16,
531,
7192,
67,
20373,
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,
5037,
4614,
5369,
12,
780,
3822,
13,
565,
288,
2398,
368,
3435,
3086,
1061,
72,
16,
947,
86,
16,
11930,
13491,
2332,
18,
659,
18,
8222,
2932,
3278,
4181,
4614,
10626,
30,
13773,
7080,
1769,
3639,
368,
3689,
225,
326,
4261,
364,
326,
1156,
350,
3639,
26755,
272,
1734,
273,
261,
1179,
2404,
13,
7080,
22,
30992,
1734,
18,
588,
12,
7080,
1769,
7734,
309,
261,
87,
1734,
480,
446,
597,
3822,
18,
31806,
2932,
30,
556,
72,
7923,
405,
300,
21,
13,
3639,
288,
5411,
327,
394,
16180,
12,
10792,
261,
12443,
1179,
2404,
2828,
13,
87,
1734,
2934,
588,
1871,
1097,
291,
820,
1435,
2934,
588,
2160,
10663,
4766,
6647,
289,
3639,
469,
309,
261,
2
] |
|
if (i > offset) { throw new DOMException( DOMException.INDEX_SIZE_ERR, "DOM004 Index out of bounds"); } | void checkIndex(Node refNode, int offset) throws DOMException { if (offset < 0) { throw new DOMException( DOMException.INDEX_SIZE_ERR, "DOM004 Index out of bounds"); } int type = refNode.getNodeType(); if((type == Node.TEXT_NODE || type == Node.CDATA_SECTION_NODE || type == Node.COMMENT_NODE || type == Node.PROCESSING_INSTRUCTION_NODE) && offset > refNode.getNodeValue().length()){ throw new DOMException( DOMException.INDEX_SIZE_ERR, "DOM004 Index out of bounds"); } Node child = refNode.getFirstChild(); int i = 1; for (; child != null; i++) { child = child.getNextSibling(); } if (i > offset) { throw new DOMException( DOMException.INDEX_SIZE_ERR, "DOM004 Index out of bounds"); } } | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/b217fb58f879424f340826da6e818f779d83ae13/RangeImpl.java/buggy/src/org/apache/xerces/dom/RangeImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
866,
1016,
12,
907,
1278,
907,
16,
509,
1384,
13,
1216,
4703,
503,
565,
288,
3639,
309,
261,
3348,
411,
374,
13,
288,
377,
202,
202,
12849,
394,
4703,
503,
12,
377,
1082,
202,
8168,
503,
18,
9199,
67,
4574,
67,
9712,
16,
1875,
202,
6,
8168,
26565,
3340,
596,
434,
4972,
8863,
377,
202,
97,
3639,
509,
618,
273,
1278,
907,
18,
588,
15101,
5621,
7734,
309,
12443,
723,
422,
2029,
18,
5151,
67,
8744,
3639,
747,
618,
422,
2029,
18,
18375,
67,
19082,
67,
8744,
3639,
747,
618,
422,
2029,
18,
12200,
67,
8744,
3639,
747,
618,
422,
2029,
18,
16560,
1360,
67,
706,
3902,
27035,
67,
8744,
13,
3639,
597,
1384,
405,
1278,
907,
18,
588,
907,
620,
7675,
2469,
10756,
95,
377,
202,
202,
12849,
394,
4703,
503,
12,
377,
1082,
202,
8168,
503,
18,
9199,
67,
4574,
67,
9712,
16,
1875,
202,
6,
8168,
26565,
3340,
596,
434,
4972,
8863,
3639,
289,
7734,
2029,
1151,
273,
1278,
907,
18,
588,
3759,
1763,
5621,
3639,
509,
277,
273,
404,
31,
3639,
364,
261,
31,
1151,
480,
446,
31,
277,
27245,
288,
5411,
1151,
273,
1151,
18,
588,
2134,
10291,
5621,
3639,
289,
3639,
309,
261,
77,
405,
1384,
13,
288,
377,
202,
202,
12849,
394,
4703,
503,
12,
377,
1082,
202,
8168,
503,
18,
9199,
67,
4574,
67,
9712,
16,
1875,
202,
6,
8168,
26565,
3340,
596,
434,
4972,
8863,
3639,
289,
7734,
289,
2,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
866,
1016,
12,
907,
1278,
907,
16,
509,
1384,
13,
1216,
4703,
503,
565,
288,
3639,
309,
261,
3348,
411,
374,
13,
288,
377,
202,
202,
12849,
394,
4703,
503,
12,
377,
1082,
202,
8168,
503,
18,
9199,
67,
4574,
67,
9712,
16,
1875,
202,
6,
8168,
26565,
3340,
596,
434,
4972,
8863,
377,
202,
97,
3639,
509,
618,
273,
1278,
907,
18,
588,
15101,
5621,
7734,
309,
12443,
723,
422,
2029,
18,
5151,
67,
8744,
3639,
747,
618,
422,
2029,
18,
18375,
67,
19082,
67,
8744,
3639,
747,
618,
422,
2029,
18,
12200,
67,
8744,
3639,
747,
618,
422,
2029,
18,
16560,
1360,
67,
706,
3902,
27035,
67,
8744,
13,
3639,
597,
1384,
405,
1278,
907,
2
] |
|
public TA_RetCode CDLHOMINGPIGEON( int startIdx, int endIdx, double inOpen[], double inHigh[], double inLow[], double inClose[], MInteger outBegIdx, MInteger outNbElement, int outInteger[] ){ double BodyShortPeriodTotal, BodyLongPeriodTotal; int i, outIdx, BodyShortTrailingIdx, BodyLongTrailingIdx, lookbackTotal; 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; lookbackTotal = CDLHOMINGPIGEON_Lookback (); if( startIdx < lookbackTotal ) startIdx = lookbackTotal; if( startIdx > endIdx ) { outBegIdx.value = 0 ; outNbElement.value = 0 ; return TA_RetCode. TA_SUCCESS; } BodyLongPeriodTotal = 0; BodyShortPeriodTotal = 0; BodyLongTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) ; BodyShortTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_BodyShort.ordinal()].avgPeriod) ; i = BodyLongTrailingIdx; while( i < startIdx ) { BodyLongPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) ; i++; } i = BodyShortTrailingIdx; while( i < startIdx ) { BodyShortPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_BodyShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i] - inOpen[i] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i] - inLow[i] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i] - ( inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i] ) ) + ( ( inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i] ) - inLow[i] ) : 0 ) ) ) ; i++; } i = startIdx; outIdx = 0; do { if( ( inClose[i-1] >= inOpen[i-1] ? 1 : -1 ) == -1 && ( inClose[i] >= inOpen[i] ? 1 : -1 ) == -1 && ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) > ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].factor) * ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) != 0.0? BodyLongPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) ) / ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? 2.0 : 1.0 ) ) && ( Math.abs ( inClose[i] - inOpen[i] ) ) <= ( (this.candleSettings[TA_CandleSettingType.TA_BodyShort.ordinal()].factor) * ( (this.candleSettings[TA_CandleSettingType.TA_BodyShort.ordinal()].avgPeriod) != 0.0? BodyShortPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_BodyShort.ordinal()].avgPeriod) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i] - inOpen[i] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i] - inLow[i] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i] - ( inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i] ) ) + ( ( inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i] ) - inLow[i] ) : 0 ) ) ) ) / ( (this.candleSettings[TA_CandleSettingType.TA_BodyShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? 2.0 : 1.0 ) ) && inOpen[i] < inOpen[i-1] && inClose[i] > inClose[i-1] ) outInteger[outIdx++] = 100; else outInteger[outIdx++] = 0; BodyLongPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) - ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[BodyLongTrailingIdx-1] - inOpen[BodyLongTrailingIdx-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[BodyLongTrailingIdx-1] - inLow[BodyLongTrailingIdx-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[BodyLongTrailingIdx-1] - ( inClose[BodyLongTrailingIdx-1] >= inOpen[BodyLongTrailingIdx-1] ? inClose[BodyLongTrailingIdx-1] : inOpen[BodyLongTrailingIdx-1] ) ) + ( ( inClose[BodyLongTrailingIdx-1] >= inOpen[BodyLongTrailingIdx-1] ? inOpen[BodyLongTrailingIdx-1] : inClose[BodyLongTrailingIdx-1] ) - inLow[BodyLongTrailingIdx-1] ) : 0 ) ) ) ; BodyShortPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_BodyShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i] - inOpen[i] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i] - inLow[i] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i] - ( inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i] ) ) + ( ( inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i] ) - inLow[i] ) : 0 ) ) ) - ( (this.candleSettings[TA_CandleSettingType.TA_BodyShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[BodyShortTrailingIdx] - inOpen[BodyShortTrailingIdx] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[BodyShortTrailingIdx] - inLow[BodyShortTrailingIdx] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[BodyShortTrailingIdx] - ( inClose[BodyShortTrailingIdx] >= inOpen[BodyShortTrailingIdx] ? inClose[BodyShortTrailingIdx] : inOpen[BodyShortTrailingIdx] ) ) + ( ( inClose[BodyShortTrailingIdx] >= inOpen[BodyShortTrailingIdx] ? inOpen[BodyShortTrailingIdx] : inClose[BodyShortTrailingIdx] ) - inLow[BodyShortTrailingIdx] ) : 0 ) ) ) ; i++; BodyLongTrailingIdx++; BodyShortTrailingIdx++; } while( i <= endIdx ); outNbElement.value = outIdx; outBegIdx.value = startIdx; return TA_RetCode. TA_SUCCESS;} | 51465 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51465/1a230e9b7099cbd2b7e9eb1294130ca009bfedf4/Core.java/buggy/trunk/ta-lib/java/src/TA/Lib/Core.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1071,
399,
37,
67,
7055,
1085,
385,
8914,
44,
1872,
1360,
1102,
7113,
673,
12,
509,
27108,
16,
509,
679,
4223,
16,
1645,
316,
3678,
63,
6487,
1645,
316,
8573,
63,
6487,
1645,
316,
10520,
63,
6487,
1645,
316,
4605,
63,
6487,
490,
4522,
596,
24059,
4223,
16,
490,
4522,
596,
22816,
1046,
16,
509,
596,
4522,
8526,
262,
95,
1645,
5652,
4897,
5027,
5269,
16,
5652,
3708,
5027,
5269,
31,
509,
277,
16,
596,
4223,
16,
5652,
4897,
16808,
4223,
16,
5652,
3708,
16808,
4223,
16,
2324,
823,
5269,
31,
309,
12,
27108,
411,
374,
262,
327,
225,
399,
37,
67,
7055,
1085,
18,
399,
37,
67,
5069,
67,
3932,
67,
15928,
67,
7570,
67,
9199,
31,
309,
12,
261,
409,
4223,
411,
374,
13,
747,
261,
409,
4223,
411,
27108,
3719,
327,
225,
399,
37,
67,
7055,
1085,
18,
399,
37,
67,
5069,
67,
3932,
67,
15928,
67,
4415,
67,
9199,
31,
2324,
823,
5269,
273,
225,
385,
8914,
44,
1872,
1360,
1102,
7113,
673,
67,
9794,
823,
261,
1769,
309,
12,
27108,
411,
2324,
823,
5269,
262,
27108,
273,
2324,
823,
5269,
31,
309,
12,
27108,
405,
679,
4223,
262,
288,
225,
596,
24059,
4223,
18,
1132,
273,
374,
274,
225,
596,
22816,
1046,
18,
1132,
273,
374,
274,
327,
225,
399,
37,
67,
7055,
1085,
18,
399,
37,
67,
12778,
31,
289,
5652,
3708,
5027,
5269,
273,
374,
31,
5652,
4897,
5027,
5269,
273,
374,
31,
5652,
3708,
16808,
4223,
273,
27108,
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,
399,
37,
67,
7055,
1085,
385,
8914,
44,
1872,
1360,
1102,
7113,
673,
12,
509,
27108,
16,
509,
679,
4223,
16,
1645,
316,
3678,
63,
6487,
1645,
316,
8573,
63,
6487,
1645,
316,
10520,
63,
6487,
1645,
316,
4605,
63,
6487,
490,
4522,
596,
24059,
4223,
16,
490,
4522,
596,
22816,
1046,
16,
509,
596,
4522,
8526,
262,
95,
1645,
5652,
4897,
5027,
5269,
16,
5652,
3708,
5027,
5269,
31,
509,
277,
16,
596,
4223,
16,
5652,
4897,
16808,
4223,
16,
5652,
3708,
16808,
4223,
16,
2324,
823,
5269,
31,
309,
12,
27108,
411,
374,
262,
327,
225,
399,
37,
67,
7055,
1085,
18,
399,
37,
67,
5069,
67,
3932,
67,
15928,
67,
7570,
67,
9199,
31,
2
] |
||
StringBuffer buf = new StringBuffer(200); | StringBuffer buf = new StringBuffer(512); | protected String executeFile(String mdxCmd) { StringBuffer buf = new StringBuffer(200); String[] tokens = mdxCmd.split("\\s"); if (tokens.length == 1) { buf.append(context.filename); } else if (tokens.length == 2) { String filename = tokens[1]; context.filename = filename; try { String mcmd = readFully(filename); String resultString = CmdRunner.executeMDXCmd(mcmd); buf.append(resultString); } catch (IOException ex) { context.setError(ex); buf.append("Error: " +ex); } } else { buf.append("Bad command usage:"); buf.append(mdxCmd); buf.append('\n'); appendFile(buf); } return buf.toString(); } | 51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/829999bd5d0b66b826a808b7c58358f398b081b5/CmdRunner.java/buggy/src/main/mondrian/tui/CmdRunner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
1836,
812,
12,
780,
3481,
92,
5931,
13,
288,
4202,
6674,
1681,
273,
394,
6674,
12,
13757,
1769,
4202,
514,
8526,
2430,
273,
3481,
92,
5931,
18,
4939,
2932,
1695,
87,
8863,
3639,
309,
261,
7860,
18,
2469,
422,
404,
13,
288,
5411,
1681,
18,
6923,
12,
2472,
18,
3459,
1769,
3639,
289,
469,
309,
261,
7860,
18,
2469,
422,
576,
13,
288,
5411,
514,
1544,
273,
2430,
63,
21,
15533,
5411,
819,
18,
3459,
273,
1544,
31,
5411,
775,
288,
7734,
514,
312,
4172,
273,
31803,
12,
3459,
1769,
7734,
514,
563,
780,
273,
13328,
9709,
18,
8837,
6188,
60,
5931,
12,
81,
4172,
1769,
7734,
1681,
18,
6923,
12,
2088,
780,
1769,
5411,
289,
1044,
261,
14106,
431,
13,
288,
7734,
819,
18,
542,
668,
12,
338,
1769,
7734,
1681,
18,
6923,
2932,
668,
30,
315,
397,
338,
1769,
5411,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
1836,
812,
12,
780,
3481,
92,
5931,
13,
288,
4202,
6674,
1681,
273,
394,
6674,
12,
13757,
1769,
4202,
514,
8526,
2430,
273,
3481,
92,
5931,
18,
4939,
2932,
1695,
87,
8863,
3639,
309,
261,
7860,
18,
2469,
422,
404,
13,
288,
5411,
1681,
18,
6923,
12,
2472,
18,
3459,
1769,
3639,
289,
469,
309,
261,
7860,
18,
2469,
422,
576,
13,
288,
5411,
514,
1544,
273,
2430,
63,
21,
15533,
5411,
819,
18,
3459,
273,
1544,
31,
5411,
775,
288,
7734,
514,
312,
4172,
273,
31803,
12,
3459,
1769,
7734,
514,
563,
780,
273,
13328,
9709,
18,
8837,
6188,
60,
5931,
12,
81,
4172,
1769,
7734,
1681,
18,
6923,
12,
2088,
780,
1769,
5411,
289,
2
] |
Driver.debug("supportsNonNullableColumns true"); | if (Driver.logDebug) Driver.debug("supportsNonNullableColumns true"); | public boolean supportsNonNullableColumns() throws SQLException { Driver.debug("supportsNonNullableColumns true"); return true; } | 45534 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45534/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,
8921,
429,
3380,
1435,
1216,
6483,
202,
95,
202,
202,
4668,
18,
4148,
2932,
28064,
8921,
429,
3380,
638,
8863,
202,
202,
2463,
638,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
6146,
8921,
429,
3380,
1435,
1216,
6483,
202,
95,
202,
202,
4668,
18,
4148,
2932,
28064,
8921,
429,
3380,
638,
8863,
202,
202,
2463,
638,
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
] |
createEditorHistoryGroup(composite); createSpace(composite); createEditorReuseGroup(composite); createSpace(composite); createAcceleratorConfigurationGroup(composite, WorkbenchMessages.getString("WorkbenchPreference.acceleratorConfiguration")); createSpace(composite); | protected Control createContents(Composite parent) { WorkbenchHelp.setHelp(parent, IHelpContextIds.WORKBENCH_PREFERENCE_PAGE); Composite composite = new Composite(parent, SWT.NULL); GridLayout layout = new GridLayout(); layout.marginWidth = 0; layout.marginHeight = 0; composite.setLayout(layout); composite.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_FILL | GridData.HORIZONTAL_ALIGN_FILL)); autoBuildButton = new Button(composite, SWT.CHECK); autoBuildButton.setText(WorkbenchMessages.getString("WorkbenchPreference.autobuild")); //$NON-NLS-1$ autoSaveAllButton = new Button(composite, SWT.CHECK); autoSaveAllButton.setText(WorkbenchMessages.getString("WorkbenchPreference.savePriorToBuilding")); //$NON-NLS-1$ linkButton = new Button(composite, SWT.CHECK); linkButton.setText(WorkbenchMessages.getString("WorkbenchPreference.linkNavigator")); //$NON-NLS-1$ refreshButton = new Button(composite, SWT.CHECK); refreshButton.setText(WorkbenchMessages.getString("WorkbenchPreference.refreshButton")); //$NON-NLS-1$ createSpace(composite); createEditorHistoryGroup(composite); createSpace(composite); createEditorReuseGroup(composite); createSpace(composite); createAcceleratorConfigurationGroup(composite, WorkbenchMessages.getString("WorkbenchPreference.acceleratorConfiguration")); createSpace(composite); createSingleClickGroup(composite); // set initial values IPreferenceStore store = WorkbenchPlugin.getDefault().getPreferenceStore(); autoBuildButton.setSelection(ResourcesPlugin.getWorkspace().isAutoBuilding()); autoSaveAllButton.setSelection(store.getBoolean(IPreferenceConstants.SAVE_ALL_BEFORE_BUILD)); linkButton.setSelection(store.getBoolean(IWorkbenchPreferenceConstants.LINK_NAVIGATOR_TO_EDITOR)); refreshButton.setSelection(store.getBoolean(IPreferenceConstants.REFRESH_WORKSPACE_ON_STARTUP)); return composite; } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/b4ec21de1e172db439e6934156abc421199418b4/WorkbenchPreferencePage.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/dialogs/WorkbenchPreferencePage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8888,
752,
6323,
12,
9400,
982,
13,
288,
202,
202,
2421,
22144,
6696,
18,
542,
6696,
12,
2938,
16,
467,
6696,
1042,
2673,
18,
10566,
38,
1157,
1792,
67,
3670,
10830,
67,
11219,
1769,
202,
202,
9400,
9635,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
8560,
1769,
202,
202,
6313,
3744,
3511,
273,
394,
7145,
3744,
5621,
202,
202,
6741,
18,
10107,
2384,
273,
374,
31,
202,
202,
6741,
18,
10107,
2686,
273,
374,
31,
202,
202,
27676,
18,
542,
3744,
12,
6741,
1769,
202,
202,
27676,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
21654,
10109,
67,
26439,
67,
29818,
571,
7145,
751,
18,
44,
20344,
67,
26439,
67,
29818,
10019,
202,
202,
6079,
3116,
3616,
273,
394,
12569,
12,
27676,
16,
348,
8588,
18,
10687,
1769,
202,
202,
6079,
3116,
3616,
18,
542,
1528,
12,
2421,
22144,
5058,
18,
588,
780,
2932,
2421,
22144,
9624,
18,
5854,
947,
680,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
6079,
4755,
1595,
3616,
273,
394,
12569,
12,
27676,
16,
348,
8588,
18,
10687,
1769,
202,
202,
6079,
4755,
1595,
3616,
18,
542,
1528,
12,
2421,
22144,
5058,
18,
588,
780,
2932,
2421,
22144,
9624,
18,
5688,
25355,
774,
16713,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
1232,
3616,
273,
394,
12569,
12,
27676,
16,
348,
8588,
18,
10687,
1769,
202,
202,
1232,
3616,
18,
542,
1528,
12,
2421,
22144,
5058,
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,
1117,
8888,
752,
6323,
12,
9400,
982,
13,
288,
202,
202,
2421,
22144,
6696,
18,
542,
6696,
12,
2938,
16,
467,
6696,
1042,
2673,
18,
10566,
38,
1157,
1792,
67,
3670,
10830,
67,
11219,
1769,
202,
202,
9400,
9635,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
8560,
1769,
202,
202,
6313,
3744,
3511,
273,
394,
7145,
3744,
5621,
202,
202,
6741,
18,
10107,
2384,
273,
374,
31,
202,
202,
6741,
18,
10107,
2686,
273,
374,
31,
202,
202,
27676,
18,
542,
3744,
12,
6741,
1769,
202,
202,
27676,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
21654,
10109,
67,
26439,
67,
29818,
571,
7145,
751,
18,
44,
20344,
67,
26439,
67,
2
] |
|
public void callback(byte[] value) { dataTextArea.append("0x000008 => " + asHex(value)); dataTextArea.append("\n"); | public void callback(byte[] value, EcuParameterConvertor convertor) { dataTextArea.append(ecuParam1.getName() + " (" + ecuParam1.getAddress() + ") => " + asHex(value) + " => " + convertor.convert(value) + " " + convertor.getUnits() + "\n"); | public void callback(byte[] value) { dataTextArea.append("0x000008 => " + asHex(value)); dataTextArea.append("\n"); } | 48870 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48870/698c4d556bf3ef4ac0f80d2d67d6ac6f513be708/EcuLogger.java/clean/src/enginuity/logger/EcuLogger.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1348,
12,
7229,
8526,
460,
13,
288,
7734,
501,
1528,
5484,
18,
6923,
2932,
20,
92,
2787,
6840,
516,
315,
397,
487,
7037,
12,
1132,
10019,
7734,
501,
1528,
5484,
18,
6923,
31458,
82,
8863,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1348,
12,
7229,
8526,
460,
13,
288,
7734,
501,
1528,
5484,
18,
6923,
2932,
20,
92,
2787,
6840,
516,
315,
397,
487,
7037,
12,
1132,
10019,
7734,
501,
1528,
5484,
18,
6923,
31458,
82,
8863,
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
] |
ErrorReporter err = new ErrorReporter(rb); | ErrorReporter err = new ErrorReporter(); | protected void doThrowableError(HttpServletRequest req, HttpServletResponse res, Throwable t) { ErrorReporter err = new ErrorReporter(rb); err.report(req, res, t); } | 48149 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48149/ea2261193aa6b571b9f6b19f7244ea7f64ca300c/MercuryPortal.java/buggy/portal-mercury/mercury/src/java/org/sakaiproject/portal/tool/MercuryPortal.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
741,
15155,
668,
12,
2940,
18572,
1111,
16,
12446,
400,
16,
4206,
268,
13,
202,
95,
202,
202,
668,
13289,
393,
273,
394,
1068,
13289,
12,
6731,
1769,
202,
202,
370,
18,
6006,
12,
3658,
16,
400,
16,
268,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
225,
202,
1117,
918,
741,
15155,
668,
12,
2940,
18572,
1111,
16,
12446,
400,
16,
4206,
268,
13,
202,
95,
202,
202,
668,
13289,
393,
273,
394,
1068,
13289,
12,
6731,
1769,
202,
202,
370,
18,
6006,
12,
3658,
16,
400,
16,
268,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (headChild != null) code = (code << 2) ^ headChild.label().hashCode(); | if (headLabel() != null) code = (code << 2) ^ headLabel().hashCode(); | public int hashCode() { // for both types of items (stopped and un-stopped), the equals method // relies on items' labels and head words int code = label.hashCode(); code = (code << 2) ^ headWord.hashCode(); // special case for stopped items if (stop) { code = (code << 1) | (isPreterminal() ? 1 : 0); return code; } // finish the hash code computation for un-stopped items if (leftSubcat != null) code = (code << 2) ^ leftSubcat.hashCode(); if (rightSubcat != null) code = (code << 2) ^ rightSubcat.hashCode(); if (headChild != null) code = (code << 2) ^ headChild.label().hashCode(); int booleanCode = 0; booleanCode = (booleanCode << 1) | (leftPrevModIsStart() ? 1 : 0); booleanCode = (booleanCode << 1) | (rightPrevModIsStart() ? 1 : 0); //booleanCode = (booleanCode << 1) | (stop ? 1 : 0); booleanCode = (booleanCode << 1) | (leftVerb ? 1 : 0); booleanCode = (booleanCode << 1) | (rightVerb ? 1 : 0); return code ^ booleanCode; } | 5472 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5472/1d15ff4fc3bd4c38570de9045f013add6a08c887/CKYItem.java/clean/src/danbikel/parser/CKYItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
13374,
1435,
288,
1377,
368,
364,
3937,
1953,
434,
1516,
261,
24228,
471,
640,
17,
24228,
3631,
326,
1606,
707,
1377,
368,
14719,
281,
603,
1516,
11,
3249,
471,
910,
4511,
1377,
509,
981,
273,
1433,
18,
2816,
1085,
5621,
1377,
981,
273,
261,
710,
2296,
576,
13,
3602,
910,
3944,
18,
2816,
1085,
5621,
1377,
368,
4582,
648,
364,
9627,
1516,
1377,
309,
261,
5681,
13,
288,
202,
710,
273,
261,
710,
2296,
404,
13,
571,
261,
291,
1386,
15979,
1435,
692,
404,
294,
374,
1769,
202,
2463,
981,
31,
1377,
289,
1377,
368,
4076,
326,
1651,
981,
16039,
364,
640,
17,
24228,
1516,
1377,
309,
261,
4482,
1676,
2574,
480,
446,
13,
202,
710,
273,
261,
710,
2296,
576,
13,
3602,
2002,
1676,
2574,
18,
2816,
1085,
5621,
1377,
309,
261,
4083,
1676,
2574,
480,
446,
13,
202,
710,
273,
261,
710,
2296,
576,
13,
3602,
2145,
1676,
2574,
18,
2816,
1085,
5621,
1377,
309,
261,
1978,
1763,
480,
446,
13,
202,
710,
273,
261,
710,
2296,
576,
13,
3602,
910,
1763,
18,
1925,
7675,
2816,
1085,
5621,
1377,
509,
1250,
1085,
273,
374,
31,
1377,
1250,
1085,
273,
261,
6494,
1085,
2296,
404,
13,
571,
261,
4482,
9958,
1739,
2520,
1685,
1435,
692,
404,
294,
374,
1769,
1377,
1250,
1085,
273,
261,
6494,
1085,
2296,
404,
13,
571,
261,
4083,
9958,
1739,
2520,
1685,
1435,
692,
404,
294,
374,
1769,
1377,
368,
6494,
1085,
273,
261,
6494,
1085,
2296,
404,
13,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
13374,
1435,
288,
1377,
368,
364,
3937,
1953,
434,
1516,
261,
24228,
471,
640,
17,
24228,
3631,
326,
1606,
707,
1377,
368,
14719,
281,
603,
1516,
11,
3249,
471,
910,
4511,
1377,
509,
981,
273,
1433,
18,
2816,
1085,
5621,
1377,
981,
273,
261,
710,
2296,
576,
13,
3602,
910,
3944,
18,
2816,
1085,
5621,
1377,
368,
4582,
648,
364,
9627,
1516,
1377,
309,
261,
5681,
13,
288,
202,
710,
273,
261,
710,
2296,
404,
13,
571,
261,
291,
1386,
15979,
1435,
692,
404,
294,
374,
1769,
202,
2463,
981,
31,
1377,
289,
1377,
368,
4076,
326,
1651,
981,
16039,
364,
640,
17,
24228,
1516,
1377,
309,
261,
4482,
1676,
2574,
480,
446,
13,
202,
710,
2
] |
public static void queryItems ( OPCItemIO itemIO, String ...items) throws JIException | public static void queryItems ( OPCItemIO itemIO, String ...items ) throws JIException | public static void queryItems ( OPCItemIO itemIO, String ...items) throws JIException { List<IORequest> requests = new LinkedList<IORequest> (); for ( String item : items ) { requests.add ( new IORequest ( item, 0 ) ); } itemIO.read ( requests.toArray ( new IORequest[0] ) ); } | 16131 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/16131/93fae2f1670ae246750ca58386f6eb591d202fda/Test1.java/clean/opc/src/org/openscada/opc/da/test/Test1.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
843,
3126,
261,
531,
3513,
1180,
4294,
761,
4294,
16,
514,
1372,
3319,
262,
1216,
804,
45,
503,
565,
288,
3639,
987,
32,
4294,
691,
34,
3285,
273,
394,
10688,
32,
4294,
691,
34,
261,
1769,
3639,
364,
261,
514,
761,
294,
1516,
262,
3639,
288,
5411,
3285,
18,
1289,
261,
394,
1665,
691,
261,
761,
16,
374,
262,
11272,
3639,
289,
3639,
761,
4294,
18,
896,
261,
3285,
18,
31447,
261,
394,
1665,
691,
63,
20,
65,
262,
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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,
691,
34,
3285,
273,
394,
10688,
32,
4294,
691,
34,
261,
1769,
3639,
364,
261,
514,
761,
294,
1516,
262,
3639,
288,
5411,
3285,
18,
1289,
261,
394,
1665,
691,
261,
761,
16,
374,
262,
11272,
3639,
289,
3639,
761,
4294,
18,
896,
261,
3285,
18,
31447,
261,
394,
1665,
691,
63,
20,
65,
262,
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
] |
SetOfAtomContainers som = new SetOfAtomContainers(); AtomContainer ac1 = new org.openscience.cdk.AtomContainer(); AtomContainer ac2 = new org.openscience.cdk.AtomContainer(); | SetOfAtomContainers som = builder.newSetOfAtomContainers(); AtomContainer ac1 = builder.newAtomContainer(); AtomContainer ac2 = builder.newAtomContainer(); | public void testRemoveAtomContainer_int() { SetOfAtomContainers som = new SetOfAtomContainers(); AtomContainer ac1 = new org.openscience.cdk.AtomContainer(); AtomContainer ac2 = new org.openscience.cdk.AtomContainer(); som.addAtomContainer(ac1); som.addAtomContainer(ac2); som.removeAtomContainer(0); assertEquals(1, som.getAtomContainerCount()); assertEquals(ac2, som.getAtomContainer(0)); } | 1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/67261c8143759a6ee4feb79dc1687d6dcfa25f40/SetOfAtomContainersTest.java/clean/src/org/openscience/cdk/test/SetOfAtomContainersTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3288,
3641,
2170,
67,
474,
1435,
288,
3639,
1000,
951,
3641,
11177,
4737,
273,
394,
1000,
951,
3641,
11177,
5621,
3639,
7149,
2170,
1721,
21,
273,
394,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
3641,
2170,
5621,
3639,
7149,
2170,
1721,
22,
273,
394,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
3641,
2170,
5621,
3639,
4737,
18,
1289,
3641,
2170,
12,
1077,
21,
1769,
3639,
4737,
18,
1289,
3641,
2170,
12,
1077,
22,
1769,
3639,
4737,
18,
4479,
3641,
2170,
12,
20,
1769,
3639,
1815,
8867,
12,
21,
16,
4737,
18,
588,
3641,
2170,
1380,
10663,
3639,
1815,
8867,
12,
1077,
22,
16,
4737,
18,
588,
3641,
2170,
12,
20,
10019,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3288,
3641,
2170,
67,
474,
1435,
288,
3639,
1000,
951,
3641,
11177,
4737,
273,
394,
1000,
951,
3641,
11177,
5621,
3639,
7149,
2170,
1721,
21,
273,
394,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
3641,
2170,
5621,
3639,
7149,
2170,
1721,
22,
273,
394,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
3641,
2170,
5621,
3639,
4737,
18,
1289,
3641,
2170,
12,
1077,
21,
1769,
3639,
4737,
18,
1289,
3641,
2170,
12,
1077,
22,
1769,
3639,
4737,
18,
4479,
3641,
2170,
12,
20,
1769,
3639,
1815,
8867,
12,
21,
16,
4737,
18,
588,
3641,
2170,
1380,
10663,
3639,
1815,
8867,
12,
1077,
22,
16,
4737,
18,
588,
3641,
2170,
12,
20,
10019,
2
] |
return new CASTDeclarationStatement(); } | return new CASTDeclarationStatement(); } | protected IASTDeclarationStatement createDeclarationStatement() { return new CASTDeclarationStatement(); } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/bcedb9a5c16dd4d172f27f0519a31f2ee9b1d68d/GNUCSourceParser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/intern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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,
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,
467,
9053,
6094,
3406,
752,
6094,
3406,
1435,
288,
202,
202,
2463,
394,
6425,
882,
6094,
3406,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public int getAccessFlags() { return accessFlags; } | public int getAccessFlags() { return accessFlags; } | public int getAccessFlags() { return accessFlags; } | 11369 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11369/f5d84c890b70def694dbd2904f1e6d2f7f1b70e3/ClassFile.java/buggy/src/main/javassist/bytecode/ClassFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
21909,
5094,
1435,
288,
3639,
327,
2006,
5094,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
21909,
5094,
1435,
288,
3639,
327,
2006,
5094,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
String workPlace = userBusiness.getUserJob(user); | String workPlace = userBusiness.getUserWorkPlace(user); | public void initFieldContents() { try { IWContext context = getEventIWContext(); UserBusiness userBusiness = getUserBusiness(context); User user = getUser(); Phone[] phones = userBusiness.getUserPhones(user); Email mail = userBusiness.getUserMail(user); String job = userBusiness.getUserJob(user); String workPlace = userBusiness.getUserJob(user); for (int a = 0; a < phones.length; a++) { if (a == 0) { fieldValues.put( this.homePhoneMenuName, (phones[a].getPhoneTypeId() != -1) ? Integer.toString(phones[a].getPhoneTypeId()) : ""); fieldValues.put( this.homePhoneFieldName, (phones[a].getNumber() != null) ? phones[a].getNumber() : ""); } else if (a == 1) { fieldValues.put( this.workPhoneMenuName, (phones[a].getPhoneTypeId() != -1) ? Integer.toString(phones[a].getPhoneTypeId()) : ""); fieldValues.put( this.workPhoneFieldName, (phones[a].getNumber() != null) ? phones[a].getNumber() : ""); } else if (a == 2) { fieldValues.put( this.mobilePhoneMenuName, (phones[a].getPhoneTypeId() != -1) ? Integer.toString(phones[a].getPhoneTypeId()) : ""); fieldValues.put( this.mobilePhoneFieldName, (phones[a].getNumber() != null) ? phones[a].getNumber() : ""); } else if (a == 3) { fieldValues.put( this.faxPhoneMenuName, (phones[a].getPhoneTypeId() != -1) ? Integer.toString(phones[a].getPhoneTypeId()) : ""); fieldValues.put( this.faxPhoneFieldName, (phones[a].getNumber() != null) ? phones[a].getNumber() : ""); } } if (mail != null) fieldValues.put( this.emailFieldName, (mail.getEmailAddress() != null) ? mail.getEmailAddress() : ""); fieldValues.put(jobFieldName, (job == null) ? "" : job); fieldValues.put(workPlaceFieldName, (workPlace == null) ? "" : workPlace); this.updateFieldsDisplayStatus(); } catch (Exception e) { System.err.println( "UserPhoneTab error initFieldContents, userId : " + getUserId()); } } | 52002 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52002/d0aace5439194cfab96bb3351239128a8ae30463/UserPhoneTab.java/buggy/src/java/com/idega/user/presentation/UserPhoneTab.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1208,
974,
6323,
1435,
288,
202,
202,
698,
288,
1377,
467,
59,
1042,
819,
273,
9832,
45,
59,
1042,
5621,
1377,
2177,
13423,
729,
13423,
273,
4735,
13423,
12,
2472,
1769,
1377,
2177,
729,
273,
4735,
5621,
1082,
202,
9451,
8526,
1844,
5322,
273,
9506,
202,
1355,
13423,
18,
588,
1299,
3731,
5322,
12,
1355,
1769,
1082,
202,
4134,
4791,
273,
9506,
202,
1355,
13423,
18,
588,
1299,
6759,
12,
1355,
1769,
1377,
514,
1719,
273,
3639,
729,
13423,
18,
588,
1299,
2278,
12,
1355,
1769,
1377,
514,
1440,
6029,
273,
729,
13423,
18,
588,
1299,
2421,
6029,
12,
1355,
1769,
4202,
1082,
202,
1884,
261,
474,
279,
273,
374,
31,
279,
411,
1844,
5322,
18,
2469,
31,
279,
27245,
288,
9506,
202,
430,
261,
69,
422,
374,
13,
288,
6862,
202,
1518,
1972,
18,
458,
12,
25083,
202,
2211,
18,
8712,
9451,
4599,
461,
16,
25083,
202,
12,
844,
5322,
63,
69,
8009,
588,
9451,
11731,
1435,
480,
300,
21,
13,
6862,
1082,
202,
35,
2144,
18,
10492,
12,
844,
5322,
63,
69,
8009,
588,
9451,
11731,
10756,
6862,
1082,
202,
30,
1408,
1769,
6862,
202,
1518,
1972,
18,
458,
12,
25083,
202,
2211,
18,
8712,
9451,
7287,
16,
25083,
202,
12,
844,
5322,
63,
69,
8009,
588,
1854,
1435,
480,
446,
13,
692,
1844,
5322,
63,
69,
8009,
588,
1854,
1435,
294,
1408,
1769,
9506,
202,
97,
9506,
202,
12107,
309,
261,
69,
422,
404,
13,
288,
6862,
202,
1518,
1972,
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,
1208,
974,
6323,
1435,
288,
202,
202,
698,
288,
1377,
467,
59,
1042,
819,
273,
9832,
45,
59,
1042,
5621,
1377,
2177,
13423,
729,
13423,
273,
4735,
13423,
12,
2472,
1769,
1377,
2177,
729,
273,
4735,
5621,
1082,
202,
9451,
8526,
1844,
5322,
273,
9506,
202,
1355,
13423,
18,
588,
1299,
3731,
5322,
12,
1355,
1769,
1082,
202,
4134,
4791,
273,
9506,
202,
1355,
13423,
18,
588,
1299,
6759,
12,
1355,
1769,
1377,
514,
1719,
273,
3639,
729,
13423,
18,
588,
1299,
2278,
12,
1355,
1769,
1377,
514,
1440,
6029,
273,
729,
13423,
18,
588,
1299,
2421,
6029,
12,
1355,
1769,
4202,
1082,
202,
1884,
261,
474,
279,
273,
374,
31,
279,
411,
1844,
5322,
2
] |
while(path.startsWith("../")) { path = path.substring(3); trim(); | if (path.startsWith(" elements.clear(); path = path.substring(1); } else { while(path.startsWith("../")) { path = path.substring(3); trim(); } if (!path.startsWith("/")) path = "/" + path; | public XPathParts addRelative(String path) { while(path.startsWith("../")) { path = path.substring(3); trim(); } if (!path.startsWith("/")) path = "/" + path; return setInternal(path); } | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/3e914d0777b303f026bf0f3b5dfd7dc84a72bb0a/XPathParts.java/buggy/tools/java/org/unicode/cldr/util/XPathParts.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
10172,
4305,
527,
8574,
12,
780,
589,
13,
288,
202,
202,
17523,
12,
803,
18,
17514,
1190,
2932,
838,
4898,
3719,
288,
1082,
202,
803,
273,
589,
18,
28023,
12,
23,
1769,
1082,
202,
5290,
5621,
202,
202,
97,
202,
202,
430,
16051,
803,
18,
17514,
1190,
2932,
4898,
3719,
589,
273,
4016,
397,
589,
31,
202,
202,
2463,
444,
3061,
12,
803,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
10172,
4305,
527,
8574,
12,
780,
589,
13,
288,
202,
202,
17523,
12,
803,
18,
17514,
1190,
2932,
838,
4898,
3719,
288,
1082,
202,
803,
273,
589,
18,
28023,
12,
23,
1769,
1082,
202,
5290,
5621,
202,
202,
97,
202,
202,
430,
16051,
803,
18,
17514,
1190,
2932,
4898,
3719,
589,
273,
4016,
397,
589,
31,
202,
202,
2463,
444,
3061,
12,
803,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return nodeSetCompare(getRight(), getLeft(), docs, context, node); | return nodeSetCompare(getRight(), getLeft(), context, docs, contextSet); | public Value eval(DocumentSet docs, NodeSet context, NodeProxy node) { if (getLeft().returnsType() == Constants.TYPE_NODELIST) return nodeSetCompare(getLeft(), getRight(), docs, context, node); else if (getRight().returnsType() == Constants.TYPE_NODELIST) { switchOperands(); return nodeSetCompare(getRight(), getLeft(), docs, context, node); } else if (getLeft().returnsType() == Constants.TYPE_NUM) return numberCompare(getLeft(), getRight(), docs, context, node); else if (getRight().returnsType() == Constants.TYPE_NUM) return numberCompare(getRight(), getLeft(), docs, context, node); else if (getLeft().returnsType() == Constants.TYPE_STRING) return stringCompare(getLeft(), getRight(), docs, context, node); else if (getLeft().returnsType() == Constants.TYPE_BOOL) return booleanCompare(getLeft(), getRight(), docs, context, node); else if (getRight().returnsType() == Constants.TYPE_BOOL) return booleanCompare(getRight(), getLeft(), docs, context, node); throw new RuntimeException("syntax error"); } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/32e91f543a4cc859a507386b6fc4459018aeb3c6/OpEquals.java/clean/src/org/exist/xpath/OpEquals.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1445,
5302,
12,
2519,
694,
3270,
16,
2029,
694,
819,
16,
2029,
3886,
756,
13,
288,
202,
202,
430,
261,
588,
3910,
7675,
6154,
559,
1435,
422,
5245,
18,
2399,
67,
8744,
7085,
13,
1082,
202,
2463,
756,
694,
8583,
12,
588,
3910,
9334,
16609,
9334,
3270,
16,
819,
16,
756,
1769,
202,
202,
12107,
309,
261,
588,
4726,
7675,
6154,
559,
1435,
422,
5245,
18,
2399,
67,
8744,
7085,
13,
288,
1082,
202,
9610,
3542,
5708,
5621,
1082,
202,
2463,
756,
694,
8583,
12,
588,
4726,
9334,
15930,
9334,
3270,
16,
819,
16,
756,
1769,
202,
202,
97,
469,
309,
261,
588,
3910,
7675,
6154,
559,
1435,
422,
5245,
18,
2399,
67,
6069,
13,
1082,
202,
2463,
1300,
8583,
12,
588,
3910,
9334,
16609,
9334,
3270,
16,
819,
16,
756,
1769,
202,
202,
12107,
309,
261,
588,
4726,
7675,
6154,
559,
1435,
422,
5245,
18,
2399,
67,
6069,
13,
1082,
202,
2463,
1300,
8583,
12,
588,
4726,
9334,
15930,
9334,
3270,
16,
819,
16,
756,
1769,
202,
202,
12107,
309,
261,
588,
3910,
7675,
6154,
559,
1435,
422,
5245,
18,
2399,
67,
5804,
13,
1082,
202,
2463,
533,
8583,
12,
588,
3910,
9334,
16609,
9334,
3270,
16,
819,
16,
756,
1769,
202,
202,
12107,
309,
261,
588,
3910,
7675,
6154,
559,
1435,
422,
5245,
18,
2399,
67,
19040,
13,
1082,
202,
2463,
1250,
8583,
12,
588,
3910,
9334,
16609,
9334,
3270,
16,
819,
16,
756,
1769,
202,
202,
12107,
309,
261,
588,
4726,
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,
1445,
5302,
12,
2519,
694,
3270,
16,
2029,
694,
819,
16,
2029,
3886,
756,
13,
288,
202,
202,
430,
261,
588,
3910,
7675,
6154,
559,
1435,
422,
5245,
18,
2399,
67,
8744,
7085,
13,
1082,
202,
2463,
756,
694,
8583,
12,
588,
3910,
9334,
16609,
9334,
3270,
16,
819,
16,
756,
1769,
202,
202,
12107,
309,
261,
588,
4726,
7675,
6154,
559,
1435,
422,
5245,
18,
2399,
67,
8744,
7085,
13,
288,
1082,
202,
9610,
3542,
5708,
5621,
1082,
202,
2463,
756,
694,
8583,
12,
588,
4726,
9334,
15930,
9334,
3270,
16,
819,
16,
756,
1769,
202,
202,
97,
469,
309,
261,
588,
3910,
7675,
6154,
559,
1435,
422,
5245,
18,
2399,
67,
6069,
13,
1082,
2
] |
_videoName = (String) _availableVideos.getSelectedValue(); if (_videoName == null){ Client.err.println("You must select an active video session or "); Client.err.println("select a new video session and set the date and time"); } else { Client.out.println("selected video: " + _videoName); String[] info = _videoName.split(","); if (info.length > 1){ if (_dateField.getText().trim().length() > 0 || _timeField.getText().trim().length() > 0){ Client.err.println("Warning, date and time settings are ignored for active videos"); } _client.loadVideo(_videoName); | _videoName = (String) _availableVideos.getSelectedValue(); | public void actionPerformed(ActionEvent evt) { _videoName = (String) _availableVideos.getSelectedValue(); if (_videoName == null){ Client.err.println("You must select an active video session or "); Client.err.println("select a new video session and set the date and time"); } else { Client.out.println("selected video: " + _videoName); String[] info = _videoName.split(","); if (info.length > 1){ if (_dateField.getText().trim().length() > 0 || _timeField.getText().trim().length() > 0){ Client.err.println("Warning, date and time settings are ignored for active videos"); } _client.loadVideo(_videoName); } else if (_dateField.getText().trim().length() > 0 && _timeField.getText().trim().length() > 0){ _date = _dateField.getText(); _time = _timeField.getText(); _client.loadVideo(_videoName +","+ _date +";"+ _time); } else { // this is the case that they selected a new video but didn't set a date and time Client.err.println("Error, you must set a date and time."); } } } | 14573 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14573/cdfc48fd9917cf95da696e390a28f0e4279e238e/LoginHandler.java/buggy/client/LoginHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
225,
1071,
918,
26100,
12,
1803,
1133,
6324,
13,
288,
202,
565,
389,
9115,
461,
273,
261,
780,
13,
389,
5699,
58,
19871,
18,
588,
7416,
620,
5621,
202,
377,
202,
565,
309,
261,
67,
9115,
461,
422,
446,
15329,
202,
1377,
2445,
18,
370,
18,
8222,
2932,
6225,
1297,
2027,
392,
2695,
6191,
1339,
578,
315,
1769,
202,
1377,
2445,
18,
370,
18,
8222,
2932,
4025,
279,
394,
6191,
1339,
471,
444,
326,
1509,
471,
813,
8863,
202,
565,
289,
469,
288,
202,
377,
202,
1377,
2445,
18,
659,
18,
8222,
2932,
8109,
6191,
30,
315,
397,
389,
9115,
461,
1769,
202,
1377,
514,
8526,
1123,
273,
389,
9115,
461,
18,
4939,
2932,
16,
8863,
202,
1377,
309,
261,
1376,
18,
2469,
405,
404,
15329,
202,
202,
430,
261,
67,
712,
974,
18,
588,
1528,
7675,
5290,
7675,
2469,
1435,
405,
374,
747,
1082,
565,
389,
957,
974,
18,
588,
1528,
7675,
5290,
7675,
2469,
1435,
405,
374,
15329,
1082,
225,
2445,
18,
370,
18,
8222,
2932,
6210,
16,
1509,
471,
813,
1947,
854,
5455,
364,
2695,
24752,
8863,
202,
202,
97,
202,
202,
67,
2625,
18,
945,
10083,
24899,
9115,
461,
1769,
202,
1377,
289,
469,
309,
261,
67,
712,
974,
18,
588,
1528,
7675,
5290,
7675,
2469,
1435,
405,
374,
597,
9506,
389,
957,
974,
18,
588,
1528,
7675,
5290,
7675,
2469,
1435,
405,
374,
15329,
9506,
202,
67,
712,
273,
389,
712,
974,
18,
588,
1528,
5621,
202,
202,
67,
957,
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,
3196,
225,
1071,
918,
26100,
12,
1803,
1133,
6324,
13,
288,
202,
565,
389,
9115,
461,
273,
261,
780,
13,
389,
5699,
58,
19871,
18,
588,
7416,
620,
5621,
202,
377,
202,
565,
309,
261,
67,
9115,
461,
422,
446,
15329,
202,
1377,
2445,
18,
370,
18,
8222,
2932,
6225,
1297,
2027,
392,
2695,
6191,
1339,
578,
315,
1769,
202,
1377,
2445,
18,
370,
18,
8222,
2932,
4025,
279,
394,
6191,
1339,
471,
444,
326,
1509,
471,
813,
8863,
202,
565,
289,
469,
288,
202,
377,
202,
1377,
2445,
18,
659,
18,
8222,
2932,
8109,
6191,
30,
315,
397,
389,
9115,
461,
1769,
202,
1377,
514,
8526,
1123,
273,
389,
9115,
461,
18,
4939,
2932,
16,
8863,
202,
1377,
2
] |
{ "o=4855 13760799956958020 13760799956958020 IN IP4 166.35.224.216\r\n", | { "o=- 4322650003578 0 IN IP4 192.53.18.122\r\n", "o=4855 13760799956958020 13760799956958020 IN IP4 166.35.224.216\n", | public static void main(String[] args) throws ParseException { String origin[] = { "o=4855 13760799956958020 13760799956958020 IN IP4 166.35.224.216\r\n", "o=mh/andley 2890844526 2890842807 IN IP4 126.16.64.4\n", "o=UserB 2890844527 2890844527 IN IP4 everywhere.com\n", "o=UserA 2890844526 2890844526 IN IP4 here.com\n", "o=IFAXTERMINAL01 2890844527 2890844527 IN IP4 ift.here.com\n", "o=GATEWAY1 2890844527 2890844527 IN IP4 gatewayone.wcom.com\n", "o=- 2890844527 2890844527 IN IP4 gatewayone.wcom.com\n" }; for (int i = 0; i < origin.length; i++) { OriginFieldParser originFieldParser = new OriginFieldParser(origin[i]); OriginField originField = originFieldParser.originField(); System.out.println("toParse :" + origin[i]); System.out.println("encoded: " + originField.encode()); } } | 7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/d3bce65e49e71ee7df15bd72fd338535d4501bc1/OriginFieldParser.java/clean/trunk/src/gov/nist/javax/sdp/parser/OriginFieldParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
10616,
288,
202,
202,
780,
4026,
8526,
273,
1082,
202,
95,
9506,
202,
6,
83,
33,
8875,
2539,
5958,
27,
4848,
27,
11984,
4313,
29,
8204,
3103,
20,
5958,
27,
4848,
27,
11984,
4313,
29,
8204,
3103,
20,
2120,
2971,
24,
2872,
26,
18,
4763,
18,
23622,
18,
22,
2313,
64,
86,
64,
82,
3113,
9506,
202,
6,
83,
33,
81,
76,
19,
464,
30678,
576,
6675,
20,
5193,
7950,
5558,
576,
6675,
20,
5193,
22,
3672,
27,
2120,
2971,
24,
28245,
18,
2313,
18,
1105,
18,
24,
64,
82,
3113,
9506,
202,
6,
83,
33,
1299,
38,
576,
6675,
20,
5193,
7950,
5324,
576,
6675,
20,
5193,
7950,
5324,
2120,
2971,
24,
3614,
6051,
18,
832,
64,
82,
3113,
9506,
202,
6,
83,
33,
1299,
37,
576,
6675,
20,
5193,
7950,
5558,
576,
6675,
20,
5193,
7950,
5558,
2120,
2971,
24,
2674,
18,
832,
64,
82,
3113,
9506,
202,
6,
83,
33,
45,
2046,
60,
29516,
1013,
1611,
576,
6675,
20,
5193,
7950,
5324,
576,
6675,
20,
5193,
7950,
5324,
2120,
2971,
24,
309,
88,
18,
14852,
18,
832,
64,
82,
3113,
9506,
202,
6,
83,
33,
26316,
18098,
21,
576,
6675,
20,
5193,
7950,
5324,
576,
6675,
20,
5193,
7950,
5324,
2120,
2971,
24,
6878,
476,
18,
91,
832,
18,
832,
64,
82,
3113,
9506,
202,
6,
83,
29711,
576,
6675,
20,
5193,
7950,
5324,
576,
6675,
20,
5193,
7950,
5324,
2120,
2971,
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,
2774,
12,
780,
8526,
833,
13,
1216,
10616,
288,
202,
202,
780,
4026,
8526,
273,
1082,
202,
95,
9506,
202,
6,
83,
33,
8875,
2539,
5958,
27,
4848,
27,
11984,
4313,
29,
8204,
3103,
20,
5958,
27,
4848,
27,
11984,
4313,
29,
8204,
3103,
20,
2120,
2971,
24,
2872,
26,
18,
4763,
18,
23622,
18,
22,
2313,
64,
86,
64,
82,
3113,
9506,
202,
6,
83,
33,
81,
76,
19,
464,
30678,
576,
6675,
20,
5193,
7950,
5558,
576,
6675,
20,
5193,
22,
3672,
27,
2120,
2971,
24,
28245,
18,
2313,
18,
1105,
18,
24,
64,
82,
3113,
9506,
202,
6,
83,
33,
1299,
38,
576,
6675,
20,
5193,
7950,
5324,
576,
6675,
20,
2
] |
public NamespaceSupport2 getNamespaceSupport() { | public NamespaceSupport3 getNamespaceSupport() { | public NamespaceSupport2 getNamespaceSupport() { return namespaceSupport; } | 57229 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57229/4815b907b90527af06e12476cfece46be4870d75/ElementHandlerController.java/buggy/src/java/org/orbeon/oxf/xml/ElementHandlerController.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6005,
6289,
23,
11153,
6289,
1435,
288,
3639,
327,
1981,
6289,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6005,
6289,
23,
11153,
6289,
1435,
288,
3639,
327,
1981,
6289,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public Trigger[] selectTriggersForCalendar(Connection conn, String calName) throws SQLException, ClassNotFoundException, IOException; | Trigger[] selectTriggersForCalendar(Connection conn, String calName) throws SQLException, ClassNotFoundException, IOException; | public Trigger[] selectTriggersForCalendar(Connection conn, String calName) throws SQLException, ClassNotFoundException, IOException; | 15562 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15562/f6eeea5a952e67d6b7fc8b54ae64d0b9e7098a98/DriverDelegate.java/clean/src/java/org/quartz/impl/jdbcjobstore/DriverDelegate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
11321,
8526,
2027,
15114,
1290,
7335,
12,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
11321,
8526,
2027,
15114,
1290,
7335,
12,
1952,
1487,
16,
514,
1443,
461,
13,
5411,
1216,
6483,
16,
10403,
16,
1860,
31,
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
] |
lisBoardsSelected.replaceItem(newVar + ": " + name, newVar); | ((DefaultListModel) lisBoardsSelected.getModel()).setElementAt(newVar + ": " + name, newVar); | private void change(String board) { int[] selected = lisBoardsSelected.getSelectedIndexes(); for (final int newVar : selected) { String name = board; if (!MapSettings.BOARD_RANDOM.equals(name) && !MapSettings.BOARD_SURPRISE.equals(name) && chkRotateBoard.isSelected()) { name = Board.BOARD_REQUEST_ROTATION + name; } lisBoardsSelected.replaceItem(newVar + ": " + name, newVar); //$NON-NLS-1$ mapSettings.getBoardsSelectedVector().setElementAt(name, newVar); lisBoardsSelected.select(newVar); } } | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/e532dfd86976d2632c3951cc8f69e2c8f2da9fa1/BoardSelectionDialog.java/clean/megamek/src/megamek/client/ui/swing/BoardSelectionDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2549,
12,
780,
11094,
13,
288,
3639,
509,
8526,
3170,
273,
328,
291,
13809,
14727,
7416,
18,
588,
7416,
8639,
5621,
3639,
364,
261,
6385,
509,
394,
1537,
294,
3170,
13,
288,
5411,
514,
508,
273,
11094,
31,
5411,
309,
16051,
863,
2628,
18,
5315,
8085,
67,
54,
28159,
18,
14963,
12,
529,
13,
597,
10792,
401,
863,
2628,
18,
5315,
8085,
67,
26397,
24263,
18,
14963,
12,
529,
13,
597,
10792,
15000,
16357,
22233,
18,
291,
7416,
10756,
288,
7734,
508,
273,
17980,
1060,
18,
5315,
8085,
67,
5519,
67,
1457,
56,
2689,
397,
508,
31,
5411,
289,
5411,
14015,
1868,
682,
1488,
13,
328,
291,
13809,
14727,
7416,
18,
588,
1488,
1435,
2934,
542,
1046,
861,
12,
2704,
1537,
397,
6398,
315,
397,
508,
16,
394,
1537,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
5411,
852,
2628,
18,
588,
13809,
14727,
7416,
5018,
7675,
542,
1046,
861,
12,
529,
16,
394,
1537,
1769,
5411,
328,
291,
13809,
14727,
7416,
18,
4025,
12,
2704,
1537,
1769,
3639,
289,
565,
289,
2,
0,
0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,
12,
780,
11094,
13,
288,
3639,
509,
8526,
3170,
273,
328,
291,
13809,
14727,
7416,
18,
588,
7416,
8639,
5621,
3639,
364,
261,
6385,
509,
394,
1537,
294,
3170,
13,
288,
5411,
514,
508,
273,
11094,
31,
5411,
309,
16051,
863,
2628,
18,
5315,
8085,
67,
54,
28159,
18,
14963,
12,
529,
13,
597,
10792,
401,
863,
2628,
18,
5315,
8085,
67,
26397,
24263,
18,
14963,
12,
529,
13,
597,
10792,
15000,
16357,
22233,
18,
291,
7416,
10756,
288,
7734,
508,
273,
17980,
1060,
18,
5315,
8085,
67,
5519,
67,
1457,
56,
2689,
397,
508,
31,
5411,
289,
5411,
14015,
1868,
682,
1488,
13,
328,
291,
13809,
14727,
7416,
18,
588,
1488,
1435,
2934,
542,
2
] |
private boolean validateNoNameCollisions( IContainer destination, List sourceResources, IProgressMonitor monitor) { | private boolean validateNoNameCollisions(IContainer destination, List sourceResources, IProgressMonitor monitor) { | private boolean validateNoNameCollisions( IContainer destination, List sourceResources, IProgressMonitor monitor) { List deleteItems = new ArrayList(); IWorkspaceRoot workspaceRoot = destination.getWorkspace().getRoot(); Iterator sourcesEnum = sourceResources.iterator(); while (sourcesEnum.hasNext()) { final IResource currentResource = (IResource) sourcesEnum.next(); final IPath currentPath = destination.getFullPath().append(currentResource.getName()); IResource newResource = workspaceRoot.findMember(currentPath); if (newResource != null) { // Check to see if we would be overwriting a parent folder if (currentPath.isPrefixOf(currentResource.getFullPath())) { //Run it inside of a runnable to make sure we get to parent off of the shell as we are not //in the UI thread. Runnable notice = new Runnable() { public void run() { MessageDialog.openError( getShell(), WorkbenchMessages.getString("CopyResourceAction.overwriteProblemTitle"), //$NON-NLS-1$ WorkbenchMessages.format("CopyResourceAction.overwriteProblem", new Object[] {currentPath, currentResource.getFullPath()})); //$NON-NLS-1$ } }; getShell().getDisplay().syncExec(notice); canceled = true; return false; } else { if (checkOverwrite(getShell(), newResource)) { deleteItems.add(newResource); } else { canceled = true; return false; } } } } //No overwrite issues if (deleteItems.size() == 0) return true; //Now try deletions IResource[] deleteResources = new IResource[deleteItems.size()]; deleteItems.toArray(deleteResources); try { monitor.subTask(WorkbenchMessages.getString("CopyResourceAction.deletingCollision")); //$NON-NLS-1$ destination.getWorkspace().delete( deleteResources, IResource.KEEP_HISTORY, new SubProgressMonitor(monitor, 25)); } catch (CoreException exception) { recordError(exception); return false; } return true;} | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/bf752ac27dbe2a869d9900197181599a8561dc6a/CopyResourceAction.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/actions/CopyResourceAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
1250,
1954,
2279,
461,
13535,
12682,
12,
202,
45,
2170,
2929,
16,
202,
682,
1084,
3805,
16,
202,
45,
5491,
7187,
6438,
13,
288,
202,
682,
1430,
3126,
273,
394,
2407,
5621,
202,
45,
8241,
2375,
6003,
2375,
273,
2929,
18,
588,
8241,
7675,
588,
2375,
5621,
202,
3198,
5550,
3572,
273,
1084,
3805,
18,
9838,
5621,
202,
17523,
261,
10141,
3572,
18,
5332,
2134,
10756,
288,
202,
202,
6385,
467,
1420,
783,
1420,
273,
261,
45,
1420,
13,
5550,
3572,
18,
4285,
5621,
202,
202,
6385,
467,
743,
18027,
273,
2929,
18,
588,
24173,
7675,
6923,
12,
2972,
1420,
18,
17994,
10663,
202,
202,
45,
1420,
31757,
273,
6003,
2375,
18,
4720,
4419,
12,
2972,
743,
1769,
202,
202,
430,
261,
2704,
1420,
480,
446,
13,
288,
1082,
202,
759,
2073,
358,
2621,
309,
732,
4102,
506,
23492,
279,
982,
3009,
1082,
202,
430,
261,
2972,
743,
18,
291,
2244,
951,
12,
2972,
1420,
18,
588,
24173,
1435,
3719,
288,
9506,
202,
759,
1997,
518,
4832,
434,
279,
14685,
358,
1221,
3071,
732,
336,
358,
982,
3397,
434,
326,
5972,
487,
732,
854,
486,
9506,
202,
759,
267,
326,
6484,
2650,
18,
9506,
202,
20013,
11690,
273,
394,
10254,
1435,
288,
6862,
202,
482,
918,
1086,
1435,
288,
25083,
202,
1079,
6353,
18,
3190,
668,
12,
6862,
1082,
202,
588,
13220,
9334,
6862,
1082,
202,
2421,
22144,
5058,
18,
588,
780,
2932,
2951,
1420,
1803,
18,
19274,
13719,
4247,
6,
3631,
4329,
3993,
17,
5106,
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,
3238,
1250,
1954,
2279,
461,
13535,
12682,
12,
202,
45,
2170,
2929,
16,
202,
682,
1084,
3805,
16,
202,
45,
5491,
7187,
6438,
13,
288,
202,
682,
1430,
3126,
273,
394,
2407,
5621,
202,
45,
8241,
2375,
6003,
2375,
273,
2929,
18,
588,
8241,
7675,
588,
2375,
5621,
202,
3198,
5550,
3572,
273,
1084,
3805,
18,
9838,
5621,
202,
17523,
261,
10141,
3572,
18,
5332,
2134,
10756,
288,
202,
202,
6385,
467,
1420,
783,
1420,
273,
261,
45,
1420,
13,
5550,
3572,
18,
4285,
5621,
202,
202,
6385,
467,
743,
18027,
273,
2929,
18,
588,
24173,
7675,
6923,
12,
2972,
1420,
18,
17994,
10663,
202,
202,
45,
1420,
31757,
273,
6003,
2375,
18,
4720,
4419,
12,
2972,
743,
1769,
2
] |
public void visitXStrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitXStrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitXStrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
60,
1585,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
19574,
12,
77,
30019,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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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,
225,
202,
482,
918,
3757,
60,
1585,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
19574,
12,
77,
30019,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} | setItemValue(date); } | public final void setDate(Object date) { setItemValue(date); } | 6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/DateItemComponent.java/buggy/org.rcfaces.core/src/org/rcfaces/core/component/DateItemComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
17604,
12,
921,
1509,
13,
288,
3639,
18718,
620,
12,
712,
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,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
17604,
12,
921,
1509,
13,
288,
3639,
18718,
620,
12,
712,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
buf.append(((RubyString)tmp).getValue()); | buf.append(((RubyString)tmp).toString()); | public RubyString join(RubyString sep) { StringBuffer buf = new StringBuffer(); int length = getLength(); if (length == 0) { getRuntime().newString(""); } boolean taint = isTaint() || sep.isTaint(); RubyString str; IRubyObject tmp = null; for (long i = 0; i < length; i++) { tmp = entry(i); taint |= tmp.isTaint(); if (tmp instanceof RubyString) { // do nothing } else if (tmp instanceof RubyArray) { tmp = ((RubyArray) tmp).join(sep); } else { tmp = RubyString.objAsString(tmp); } if (i > 0 && !sep.isNil()) { buf.append(sep.getValue()); } buf.append(((RubyString)tmp).getValue()); } str = RubyString.newString(getRuntime(), buf.toString()); str.setTaint(taint); return str; } | 52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/9f2efc63a858fa0507245b207025eab027840a04/RubyArray.java/clean/src/org/jruby/RubyArray.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
780,
1233,
12,
54,
10340,
780,
5478,
13,
288,
3639,
6674,
1681,
273,
394,
6674,
5621,
3639,
509,
769,
273,
9888,
5621,
3639,
309,
261,
2469,
422,
374,
13,
288,
5411,
18814,
7675,
2704,
780,
2932,
8863,
3639,
289,
3639,
1250,
22664,
273,
353,
29048,
1435,
747,
5478,
18,
291,
29048,
5621,
3639,
19817,
780,
609,
31,
3639,
15908,
10340,
921,
1853,
273,
446,
31,
3639,
364,
261,
5748,
277,
273,
374,
31,
277,
411,
769,
31,
277,
27245,
288,
5411,
1853,
273,
1241,
12,
77,
1769,
5411,
22664,
5626,
1853,
18,
291,
29048,
5621,
5411,
309,
261,
5645,
1276,
19817,
780,
13,
288,
7734,
368,
741,
5083,
5411,
289,
469,
309,
261,
5645,
1276,
19817,
1076,
13,
288,
7734,
1853,
273,
14015,
54,
10340,
1076,
13,
1853,
2934,
5701,
12,
10814,
1769,
5411,
289,
469,
288,
7734,
1853,
273,
19817,
780,
18,
2603,
8092,
12,
5645,
1769,
5411,
289,
13491,
309,
261,
77,
405,
374,
597,
401,
10814,
18,
291,
12616,
10756,
288,
7734,
1681,
18,
6923,
12,
10814,
18,
24805,
10663,
5411,
289,
5411,
1681,
18,
6923,
12443,
12,
54,
10340,
780,
13,
5645,
2934,
10492,
10663,
3639,
289,
3639,
609,
273,
19817,
780,
18,
2704,
780,
12,
588,
5576,
9334,
1681,
18,
10492,
10663,
3639,
609,
18,
542,
29048,
12,
88,
1598,
1769,
3639,
327,
609,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
780,
1233,
12,
54,
10340,
780,
5478,
13,
288,
3639,
6674,
1681,
273,
394,
6674,
5621,
3639,
509,
769,
273,
9888,
5621,
3639,
309,
261,
2469,
422,
374,
13,
288,
5411,
18814,
7675,
2704,
780,
2932,
8863,
3639,
289,
3639,
1250,
22664,
273,
353,
29048,
1435,
747,
5478,
18,
291,
29048,
5621,
3639,
19817,
780,
609,
31,
3639,
15908,
10340,
921,
1853,
273,
446,
31,
3639,
364,
261,
5748,
277,
273,
374,
31,
277,
411,
769,
31,
277,
27245,
288,
5411,
1853,
273,
1241,
12,
77,
1769,
5411,
22664,
5626,
1853,
18,
291,
29048,
5621,
5411,
309,
261,
5645,
1276,
19817,
780,
13,
288,
7734,
368,
741,
5083,
5411,
289,
469,
309,
261,
5645,
1276,
19817,
2
] |
addLabelTextField(labForestSpots, texMinForestSpots, texMaxForestSpots, "-"); addLabelTextField(labForestSize, texMinForestSize, texMaxForestSize, "-"); | addLabelTextField(labForestSpots, texMinForestSpots, texMaxForestSpots, "-"); addLabelTextField(labForestSize, texMinForestSize, texMaxForestSize, "-"); | private void setupOptions() { panOptions.removeAll(); addLabelTextField(labBoardSize, texBoardWidth, texBoardHeight, "x"); texBoardWidth.requestFocus(); if (!advanced) { addSeparator(slBoardSize); addOption(labElevation, choElevation, slElevation); addOption(labWoods, choWoods, slWoods); addOption(labRough, choRough, slRough); addOption(labRoads, choRoads, slRoads); addOption(labLakes, choLakes, slLakes); addOption(labRivers, choRivers, slRivers); } else { addSeparator(slBoardSizeAd); addLabelTextField(labHilliness, texHilliness); addLabelTextField(labRange, texRange); addLabelTextField(labProbInvert, texProbInvert); addLabelTextField(labAlgorithmToUse, texAlgorithmToUse); addSeparator(slElevationAd); addLabelTextField(labForestSpots, texMinForestSpots, texMaxForestSpots, "-"); addLabelTextField(labForestSize, texMinForestSize, texMaxForestSize, "-"); addLabelTextField(labProbHeavy, texProbHeavy); addSeparator(slWoodsAd); addLabelTextField(labRoughSpots, texMinRoughSpots, texMaxRoughSpots, "-"); addLabelTextField(labRoughSize, texMinRoughSize, texMaxRoughSize, "-"); addSeparator(slRoughAd); addLabelTextField(labProbRoad, texProbRoad); addSeparator(slRoadsAd); addLabelTextField(labWaterSpots, texMinWaterSpots, texMaxWaterSpots, "-"); addLabelTextField(labWaterSize, texMinWaterSize, texMaxWaterSize, "-"); addLabelTextField(labProbDeep, texProbDeep); addSeparator(slLakesAd); addLabelTextField(labProbRiver, texProbRiver); addSeparator(slRiversAd); addLabelTextField(labProbCrater, texProbCrater); addLabelTextField(labMaxCraters, texMinCraters, texMaxCraters, "-"); addLabelTextField(labRadius, texMinRadius, texMaxRadius, "-"); addSeparator(slCratersAd); } if (initiated) { pack(); setLocation(getParent().getLocation().x + getParent().getSize().width/2 - getSize().width/2, getParent().getLocation().y + getParent().getSize().height/2 - getSize().height/2); } } | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/18ec0036f3c5df3d8fbef60e9dd53cc153fc889e/RandomMapDialog.java/buggy/megamek/src/megamek/client/ui/AWT/RandomMapDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3875,
1320,
1435,
288,
377,
202,
7355,
1320,
18,
4479,
1595,
5621,
202,
202,
1289,
2224,
16157,
12,
7411,
22233,
1225,
16,
16573,
22233,
2384,
16,
16573,
22233,
2686,
16,
315,
92,
8863,
202,
202,
21763,
22233,
2384,
18,
2293,
9233,
5621,
202,
202,
430,
16051,
27080,
13,
288,
25083,
202,
1289,
6581,
12,
2069,
22233,
1225,
1769,
1082,
202,
1289,
1895,
12,
7411,
17274,
7112,
16,
5011,
17274,
7112,
16,
2020,
17274,
7112,
1769,
1082,
202,
1289,
1895,
12,
7411,
59,
4773,
87,
16,
5011,
59,
4773,
87,
16,
2020,
59,
4773,
87,
1769,
1082,
202,
1289,
1895,
12,
7411,
54,
4966,
16,
5011,
54,
4966,
16,
2020,
54,
4966,
1769,
1082,
202,
1289,
1895,
12,
7411,
54,
6189,
87,
16,
5011,
54,
6189,
87,
16,
2020,
54,
6189,
87,
1769,
1082,
202,
1289,
1895,
12,
7411,
48,
3223,
16,
5011,
48,
3223,
16,
2020,
48,
3223,
1769,
1082,
202,
1289,
1895,
12,
7411,
54,
6760,
16,
5011,
54,
6760,
16,
2020,
54,
6760,
1769,
202,
202,
97,
469,
288,
1082,
202,
1289,
6581,
12,
2069,
22233,
1225,
1871,
1769,
1082,
202,
1289,
2224,
16157,
12,
7411,
44,
737,
6336,
16,
16573,
44,
737,
6336,
1769,
1082,
202,
1289,
2224,
16157,
12,
7411,
2655,
16,
16573,
2655,
1769,
1082,
202,
1289,
2224,
16157,
12,
7411,
9152,
382,
1097,
16,
16573,
9152,
382,
1097,
1769,
1082,
202,
1289,
2224,
16157,
12,
7411,
6801,
18762,
16,
16573,
6801,
18762,
1769,
1082,
202,
1289,
6581,
12,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3875,
1320,
1435,
288,
377,
202,
7355,
1320,
18,
4479,
1595,
5621,
202,
202,
1289,
2224,
16157,
12,
7411,
22233,
1225,
16,
16573,
22233,
2384,
16,
16573,
22233,
2686,
16,
315,
92,
8863,
202,
202,
21763,
22233,
2384,
18,
2293,
9233,
5621,
202,
202,
430,
16051,
27080,
13,
288,
25083,
202,
1289,
6581,
12,
2069,
22233,
1225,
1769,
1082,
202,
1289,
1895,
12,
7411,
17274,
7112,
16,
5011,
17274,
7112,
16,
2020,
17274,
7112,
1769,
1082,
202,
1289,
1895,
12,
7411,
59,
4773,
87,
16,
5011,
59,
4773,
87,
16,
2020,
59,
4773,
87,
1769,
1082,
202,
1289,
1895,
12,
7411,
54,
4966,
16,
5011,
54,
4966,
16,
2020,
54,
4966,
1769,
1082,
202,
1289,
1895,
2
] |
public void prolog() throws RecognitionException { String name = null; String packageName = ""; try { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:258:17: ( opt_eol (name= package_statement )? ( extra_statement | expander )* opt_eol ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:258:17: opt_eol (name= package_statement )? ( extra_statement | expander )* opt_eol { following.push(FOLLOW_opt_eol_in_prolog115); opt_eol(); following.pop(); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:259:17: (name= package_statement )? int alt3=2; int LA3_0 = input.LA(1); if ( LA3_0==16 ) { alt3=1; } else if ( LA3_0==-1||LA3_0==EOL||LA3_0==15||(LA3_0>=17 && LA3_0<=20)||LA3_0==26||LA3_0==28 ) { alt3=2; } else { NoViableAltException nvae = new NoViableAltException("259:17: (name= package_statement )?", 3, 0, input); throw nvae; } switch (alt3) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:259:19: name= package_statement { following.push(FOLLOW_package_statement_in_prolog123); name=package_statement(); following.pop(); packageName = name; } break; } this.packageDescr = new PackageDescr( name ); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:263:17: ( extra_statement | expander )* loop4: do { int alt4=3; alt4 = dfa4.predict(input); switch (alt4) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:263:25: extra_statement { following.push(FOLLOW_extra_statement_in_prolog138); extra_statement(); following.pop(); } break; case 2 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:264:25: expander { following.push(FOLLOW_expander_in_prolog144); expander(); following.pop(); } break; default : break loop4; } } while (true); following.push(FOLLOW_opt_eol_in_prolog156); opt_eol(); following.pop(); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } | 31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/7f81b86a0f548bd02b09afc74b46454cdf158154/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
450,
1330,
1435,
1216,
9539,
288,
6647,
514,
508,
273,
446,
31,
1171,
202,
202,
780,
9929,
273,
1408,
31,
540,
202,
3639,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
2947,
28,
30,
4033,
30,
261,
2153,
67,
30951,
261,
529,
33,
2181,
67,
11516,
7851,
261,
2870,
67,
11516,
571,
4542,
264,
8618,
2153,
67,
30951,
262,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
2947,
28,
30,
4033,
30,
2153,
67,
30951,
261,
529,
33,
2181,
67,
11516,
7851,
261,
2870,
67,
11516,
571,
4542,
264,
8618,
2153,
67,
30951,
5411,
288,
5411,
3751,
18,
6206,
12,
29890,
67,
3838,
67,
30951,
67,
267,
67,
685,
1330,
22062,
1769,
5411,
2153,
67,
30951,
5621,
5411,
3751,
18,
5120,
5621,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
2947,
29,
30,
4033,
30,
261,
529,
33,
2181,
67,
11516,
7851,
5411,
509,
3770,
23,
33,
22,
31,
5411,
509,
2928,
23,
67,
20,
273,
810,
18,
2534,
12,
21,
1769,
5411,
309,
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,
450,
1330,
1435,
1216,
9539,
288,
6647,
514,
508,
273,
446,
31,
1171,
202,
202,
780,
9929,
273,
1408,
31,
540,
202,
3639,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
2947,
28,
30,
4033,
30,
261,
2153,
67,
30951,
261,
529,
33,
2181,
67,
11516,
7851,
261,
2870,
67,
11516,
571,
4542,
264,
8618,
2153,
67,
30951,
262,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
2
] |
||
folder.requestMissingFiles(true, false, false); | getController().getFolderRepository().getFileRequestor() .requestMissingFiles(folder, true, false, false); | public Object construct() { // Force scan on folder (=send) if (optionModel.getValue() == SEND_OPTION || optionModel.getValue() == SEND_RECEIVE_OPTION) { log().info(folder + ": Performing send/scan"); folder.scanLocalFiles(true); } if (optionModel.getValue() == RECEIVE_OPTION || optionModel.getValue() == SEND_RECEIVE_OPTION) { log().info(folder + ": Performing receive"); // Perform remote deltions folder.handleRemoteDeletedFiles(true); // Request ALL files now modified by friends folder.requestMissingFiles(true, false, false); } return null; } | 51438 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51438/6ffb3bbd4a8353a779a19a63f49334a547200d27/SyncFolderPanel.java/clean/src/main/de/dal33t/powerfolder/ui/dialog/SyncFolderPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
4872,
1435,
5411,
288,
7734,
368,
11889,
4135,
603,
3009,
261,
33,
4661,
13,
7734,
309,
261,
3482,
1488,
18,
24805,
1435,
422,
31434,
67,
7425,
10792,
747,
1456,
1488,
18,
24805,
1435,
422,
31434,
67,
27086,
5354,
67,
7425,
13,
7734,
288,
10792,
613,
7675,
1376,
12,
5609,
397,
6398,
11217,
310,
1366,
19,
9871,
8863,
10792,
3009,
18,
9871,
2042,
2697,
12,
3767,
1769,
7734,
289,
7734,
309,
261,
3482,
1488,
18,
24805,
1435,
422,
2438,
1441,
5354,
67,
7425,
10792,
747,
1456,
1488,
18,
24805,
1435,
422,
31434,
67,
27086,
5354,
67,
7425,
13,
7734,
288,
10792,
613,
7675,
1376,
12,
5609,
397,
6398,
11217,
310,
6798,
8863,
10792,
368,
11217,
2632,
1464,
88,
1115,
10792,
3009,
18,
4110,
5169,
7977,
2697,
12,
3767,
1769,
10792,
368,
1567,
8061,
1390,
2037,
4358,
635,
284,
22259,
10792,
13455,
7675,
588,
3899,
3305,
7675,
29925,
691,
280,
1435,
263,
2293,
4841,
2697,
12,
5609,
16,
638,
16,
629,
16,
629,
1769,
7734,
289,
7734,
327,
446,
31,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
4872,
1435,
5411,
288,
7734,
368,
11889,
4135,
603,
3009,
261,
33,
4661,
13,
7734,
309,
261,
3482,
1488,
18,
24805,
1435,
422,
31434,
67,
7425,
10792,
747,
1456,
1488,
18,
24805,
1435,
422,
31434,
67,
27086,
5354,
67,
7425,
13,
7734,
288,
10792,
613,
7675,
1376,
12,
5609,
397,
6398,
11217,
310,
1366,
19,
9871,
8863,
10792,
3009,
18,
9871,
2042,
2697,
12,
3767,
1769,
7734,
289,
7734,
309,
261,
3482,
1488,
18,
24805,
1435,
422,
2438,
1441,
5354,
67,
7425,
10792,
747,
1456,
1488,
18,
24805,
1435,
422,
31434,
67,
27086,
5354,
67,
7425,
13,
7734,
288,
10792,
613,
7675,
1376,
12,
5609,
397,
6398,
11217,
310,
6798,
8863,
10792,
368,
11217,
2632,
1464,
2
] |
public void storePatch(Patch p, int bankNum, int patchNum) { | public void storePatch(IPatch p, int bankNum, int patchNum) { | public void storePatch(Patch p, int bankNum, int patchNum) { setBankNum(bankNum); // must set bank - sysex patch dump always stored in current bank setPatchNum(patchNum); // must send program change to make bank change take effect sendPatch(p, bankNum + 1, patchNum + 99); setPatchNum(patchNum); // send another program change to get new sound in edit buffer } | 7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/b6e99a36d447b749f8ec1622f6d2477fcd586fcb/NLDrumSingleDriver.java/buggy/JSynthLib/synthdrivers/NordLead/NLDrumSingleDriver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1707,
7332,
12,
2579,
505,
293,
16,
509,
11218,
2578,
16,
509,
4729,
2578,
13,
288,
565,
15268,
2304,
2578,
12,
10546,
2578,
1769,
368,
1297,
444,
11218,
300,
1393,
20909,
4729,
4657,
3712,
4041,
316,
783,
11218,
565,
444,
7332,
2578,
12,
2272,
2578,
1769,
368,
1297,
1366,
5402,
2549,
358,
1221,
11218,
2549,
4862,
5426,
565,
1366,
7332,
12,
84,
16,
11218,
2578,
397,
404,
16,
4729,
2578,
397,
14605,
1769,
565,
444,
7332,
2578,
12,
2272,
2578,
1769,
368,
1366,
4042,
5402,
2549,
358,
336,
394,
14190,
316,
3874,
1613,
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,
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578,
13,
288,
565,
15268,
2304,
2578,
12,
10546,
2578,
1769,
368,
1297,
444,
11218,
300,
1393,
20909,
4729,
4657,
3712,
4041,
316,
783,
11218,
565,
444,
7332,
2578,
12,
2272,
2578,
1769,
368,
1297,
1366,
5402,
2549,
358,
1221,
11218,
2549,
4862,
5426,
565,
1366,
7332,
12,
84,
16,
11218,
2578,
397,
404,
16,
4729,
2578,
397,
14605,
1769,
565,
444,
7332,
2578,
12,
2272,
2578,
1769,
368,
1366,
4042,
5402,
2549,
358,
336,
394,
14190,
316,
3874,
1613,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
boolean forCreate) | boolean forCreate, String defaultPartStat) | private String processPartStat(Invite invite, MimeMessage mmInv, boolean forCreate) throws ServiceException { Mailbox mbox = getMailbox(); OperationContext octxt = mbox.getOperationContext(); CreateAppointmentPlayer player = octxt != null ? (CreateAppointmentPlayer) octxt.getPlayer() : null; Account account = getMailbox().getAccount(); Locale lc; Account organizer = invite.getOrganizerAccount(); if (organizer != null) lc = organizer.getLocale(); else lc = account.getLocale(); String partStat = IcalXmlStrMap.PARTSTAT_NEEDS_ACTION; if (player != null) { String p = player.getAppointmentPartStat(); if (p != null) partStat = p; } RedoLogProvider redoProvider = RedoLogProvider.getInstance(); boolean needResourceAutoReply = redoProvider.isMaster() && (player == null || redoProvider.getRedoLogManager().getInCrashRecovery()) && !ICalTok.CANCEL.toString().equals(invite.getMethod()); if (invite.thisAcctIsOrganizer(account)) { // Organizer always accepts. partStat = IcalXmlStrMap.PARTSTAT_ACCEPTED; } else if (account instanceof CalendarResource && needResourceAutoReply) { CalendarResource resource = (CalendarResource) account; if (resource.autoAcceptDecline()) { partStat = IcalXmlStrMap.PARTSTAT_ACCEPTED; if (isRecurring() && resource.autoDeclineRecurring()) { partStat = IcalXmlStrMap.PARTSTAT_DECLINED; if (invite.hasOrganizer()) { String reason = L10nUtil.getMessage(MsgKey.calendarResourceDeclineReasonRecurring, lc); CalendarMailSender.sendReply( octxt, mbox, false, CalendarMailSender.VERB_DECLINE, reason + "\r\n", this, invite, mmInv); } } else if (resource.autoDeclineIfBusy()) { List<Availability> avail = checkAvailability(); if (!Availability.isAvailable(avail)) { partStat = IcalXmlStrMap.PARTSTAT_DECLINED; if (invite.hasOrganizer()) { String msg = L10nUtil.getMessage(MsgKey.calendarResourceDeclineReasonConflict, lc) + "\r\n\r\n" + Availability.getBusyTimesString(avail, invite.getStartTime().getTimeZone(), lc); CalendarMailSender.sendReply( octxt, mbox, false, CalendarMailSender.VERB_DECLINE, msg, this, invite, mmInv); } } } if (IcalXmlStrMap.PARTSTAT_ACCEPTED.equals(partStat)) { if (invite.hasOrganizer()) { CalendarMailSender.sendReply( octxt, mbox, false, CalendarMailSender.VERB_ACCEPT, null, this, invite, mmInv); } } } } CreateAppointmentRecorder recorder = (CreateAppointmentRecorder) mbox.getRedoRecorder(); recorder.setAppointmentPartStat(partStat); invite.updateMyPartStat(account, partStat); if (forCreate) { Invite defaultInvite = getDefaultInvite(); assert(defaultInvite != null); if (!defaultInvite.equals(invite) && !partStat.equals(defaultInvite.getPartStat())) { defaultInvite.updateMyPartStat(account, partStat); saveMetadata(); } } return partStat; } | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/976fc3b63c90de79d4a6b58a4abc875bd667fc4f/Appointment.java/buggy/ZimbraServer/src/java/com/zimbra/cs/mailbox/Appointment.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
1207,
1988,
5000,
12,
22730,
19035,
16,
4766,
282,
22059,
1079,
9740,
3605,
16,
4766,
282,
1250,
364,
1684,
16,
514,
805,
1988,
5000,
13,
565,
1216,
16489,
288,
3639,
11542,
2147,
312,
2147,
273,
31991,
2147,
5621,
3639,
4189,
1042,
320,
20364,
273,
312,
2147,
18,
588,
2988,
1042,
5621,
3639,
1788,
1294,
29815,
12148,
7291,
273,
5411,
320,
20364,
480,
446,
692,
261,
1684,
1294,
29815,
12148,
13,
320,
20364,
18,
588,
12148,
1435,
294,
446,
31,
3639,
6590,
2236,
273,
31991,
2147,
7675,
588,
3032,
5621,
3639,
6458,
9109,
31,
3639,
6590,
15501,
1824,
273,
19035,
18,
588,
6001,
304,
1824,
3032,
5621,
3639,
309,
261,
22543,
1824,
480,
446,
13,
5411,
9109,
273,
15501,
1824,
18,
588,
3916,
5621,
3639,
469,
5411,
9109,
273,
2236,
18,
588,
3916,
5621,
3639,
514,
1087,
5000,
273,
467,
771,
4432,
1585,
863,
18,
15055,
28549,
67,
5407,
2056,
55,
67,
12249,
31,
3639,
309,
261,
14872,
480,
446,
13,
288,
5411,
514,
293,
273,
7291,
18,
588,
1294,
29815,
1988,
5000,
5621,
5411,
309,
261,
84,
480,
446,
13,
1087,
5000,
273,
293,
31,
3639,
289,
3639,
4621,
83,
1343,
2249,
24524,
2249,
273,
4621,
83,
1343,
2249,
18,
588,
1442,
5621,
3639,
1250,
1608,
1420,
4965,
7817,
273,
5411,
24524,
2249,
18,
291,
7786,
1435,
597,
5411,
261,
14872,
422,
446,
747,
24524,
2249,
18,
588,
3715,
83,
1343,
1318,
7675,
588,
382,
12893,
961,
11548,
10756,
597,
5411,
401,
2871,
287,
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,
514,
1207,
1988,
5000,
12,
22730,
19035,
16,
4766,
282,
22059,
1079,
9740,
3605,
16,
4766,
282,
1250,
364,
1684,
16,
514,
805,
1988,
5000,
13,
565,
1216,
16489,
288,
3639,
11542,
2147,
312,
2147,
273,
31991,
2147,
5621,
3639,
4189,
1042,
320,
20364,
273,
312,
2147,
18,
588,
2988,
1042,
5621,
3639,
1788,
1294,
29815,
12148,
7291,
273,
5411,
320,
20364,
480,
446,
692,
261,
1684,
1294,
29815,
12148,
13,
320,
20364,
18,
588,
12148,
1435,
294,
446,
31,
3639,
6590,
2236,
273,
31991,
2147,
7675,
588,
3032,
5621,
3639,
6458,
9109,
31,
3639,
6590,
15501,
1824,
273,
19035,
18,
588,
6001,
304,
1824,
3032,
5621,
3639,
309,
261,
22543,
1824,
480,
446,
13,
5411,
9109,
2
] |
} catch (java.io.IOException e) { if(this.isConnected()) | } catch (final java.io.IOException e) { if(isConnected()) | public String readLine() { /* SECURITY */ if(this.rawBytesWaiting > 0) { Logger.error(this, "RAW BYTES STILL WAITING ON SOCKET. THIS IS ABNORMAL."); Logger.error(this, "Will drop them."); while(this.rawBytesWaiting > 0) { int to_read = 1024; if(to_read > this.rawBytesWaiting) to_read = (int)this.rawBytesWaiting; byte[] read = new byte[to_read]; this.read(to_read, read); this.rawBytesWaiting = this.rawBytesWaiting - to_read; } } String result; if(this.in != null && this.reader != null && this.socket != null && this.socket.isConnected()) { try { for(int i = 0; i < this.recvBytes.length ; i++) this.recvBytes[i] = 0; result = ""; int c = 0; int i = 0; /* position in recvBytes */ while(c != '\n' && i < this.recvBytes.length) { c = this.reader.read(); if(c == -1) { if(this.isConnected()) Logger.error(this, "Unable to read but still connected"); else Logger.notice(this, "Disconnected"); this.disconnect(); /* will warn everybody */ return null; } if(c == '\n') break; //result = result + new String(new byte[] { (byte)c }); this.recvBytes[i] = (byte)c; i++; } result = new String(this.recvBytes, 0, i, "UTF-8"); if(DEBUG_MODE) { if(result.matches("[\\-\\ \\?.a-zA-Z0-9\\,~%@/_=\\[\\]\\(\\)]*")) Logger.asIt(this, "Thaw <<< Node : "+result); else Logger.asIt(this, "Thaw <<< Node : Unknow chars in message. Not displayed"); } return result; } catch (java.io.IOException e) { if(this.isConnected()) Logger.error(this, "IOException while reading but still connected, wtf? : "+e.toString()+ " ; "+e.getMessage() ); else Logger.notice(this, "IOException. Disconnected. : "+e.toString() + " ; "+e.getMessage()); this.disconnect(); return null; } } else { Logger.warning(this, "Cannot read if disconnected => null"); } return null; } | 47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/0458430a0dc8a713aa2b4d64f000cbbaaeb4adea/FCPConnection.java/buggy/src/thaw/fcp/FCPConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
12273,
1435,
288,
202,
202,
20308,
27713,
1195,
202,
202,
430,
12,
2211,
18,
1899,
2160,
15946,
405,
374,
13,
288,
1082,
202,
3328,
18,
1636,
12,
2211,
16,
315,
10821,
26214,
2347,
15125,
26859,
1360,
6229,
7460,
14984,
18,
20676,
4437,
10336,
15480,
1199,
1769,
1082,
202,
3328,
18,
1636,
12,
2211,
16,
315,
13670,
3640,
2182,
1199,
1769,
1082,
202,
17523,
12,
2211,
18,
1899,
2160,
15946,
405,
374,
13,
288,
9506,
202,
474,
358,
67,
896,
273,
6250,
31,
9506,
202,
430,
12,
869,
67,
896,
405,
333,
18,
1899,
2160,
15946,
13,
6862,
202,
869,
67,
896,
273,
261,
474,
13,
2211,
18,
1899,
2160,
15946,
31,
9506,
202,
7229,
8526,
855,
273,
394,
1160,
63,
869,
67,
896,
15533,
9506,
202,
2211,
18,
896,
12,
869,
67,
896,
16,
855,
1769,
9506,
202,
2211,
18,
1899,
2160,
15946,
273,
333,
18,
1899,
2160,
15946,
300,
358,
67,
896,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
780,
563,
31,
202,
202,
430,
12,
2211,
18,
267,
480,
446,
597,
333,
18,
10530,
480,
446,
597,
333,
18,
7814,
480,
446,
597,
333,
18,
7814,
18,
291,
8932,
10756,
288,
1082,
202,
698,
288,
9506,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
411,
333,
18,
18334,
2160,
18,
2469,
274,
277,
27245,
6862,
202,
2211,
18,
18334,
2160,
63,
77,
65,
273,
374,
31,
9506,
202,
2088,
273,
1408,
31,
9506,
202,
474,
276,
273,
374,
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,
514,
12273,
1435,
288,
202,
202,
20308,
27713,
1195,
202,
202,
430,
12,
2211,
18,
1899,
2160,
15946,
405,
374,
13,
288,
1082,
202,
3328,
18,
1636,
12,
2211,
16,
315,
10821,
26214,
2347,
15125,
26859,
1360,
6229,
7460,
14984,
18,
20676,
4437,
10336,
15480,
1199,
1769,
1082,
202,
3328,
18,
1636,
12,
2211,
16,
315,
13670,
3640,
2182,
1199,
1769,
1082,
202,
17523,
12,
2211,
18,
1899,
2160,
15946,
405,
374,
13,
288,
9506,
202,
474,
358,
67,
896,
273,
6250,
31,
9506,
202,
430,
12,
869,
67,
896,
405,
333,
18,
1899,
2160,
15946,
13,
6862,
202,
869,
67,
896,
273,
261,
474,
13,
2211,
18,
1899,
2160,
15946,
31,
9506,
202,
7229,
8526,
2
] |
protected Record createExtendedFormat(int id) { // we'll need multiple editions ExtendedFormatRecord retval = new ExtendedFormatRecord(); switch (id) { case 0 : retval.setFontIndex(( short ) 0); retval.setFormatIndex(( short ) 0); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 1 : retval.setFontIndex(( short ) 1); retval.setFormatIndex(( short ) 0); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff400); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 2 : retval.setFontIndex(( short ) 1); retval.setFormatIndex(( short ) 0); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff400); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 3 : retval.setFontIndex(( short ) 2); retval.setFormatIndex(( short ) 0); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff400); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 4 : retval.setFontIndex(( short ) 2); retval.setFormatIndex(( short ) 0); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff400); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 5 : retval.setFontIndex(( short ) 0); retval.setFormatIndex(( short ) 0); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff400); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 6 : retval.setFontIndex(( short ) 0); retval.setFormatIndex(( short ) 0); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff400); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 7 : retval.setFontIndex(( short ) 0); retval.setFormatIndex(( short ) 0); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff400); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 8 : retval.setFontIndex(( short ) 0); retval.setFormatIndex(( short ) 0); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff400); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 9 : retval.setFontIndex(( short ) 0); retval.setFormatIndex(( short ) 0); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff400); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 10 : retval.setFontIndex(( short ) 0); retval.setFormatIndex(( short ) 0); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff400); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 11 : retval.setFontIndex(( short ) 0); retval.setFormatIndex(( short ) 0); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff400); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 12 : retval.setFontIndex(( short ) 0); retval.setFormatIndex(( short ) 0); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff400); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 13 : retval.setFontIndex(( short ) 0); retval.setFormatIndex(( short ) 0); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff400); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 14 : retval.setFontIndex(( short ) 0); retval.setFormatIndex(( short ) 0); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff400); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; // cell records case 15 : retval.setFontIndex(( short ) 0); retval.setFormatIndex(( short ) 0); retval.setCellOptions(( short ) 0x1); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0x0); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; // style case 16 : retval.setFontIndex(( short ) 1); retval.setFormatIndex(( short ) 0x2b); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff800); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 17 : retval.setFontIndex(( short ) 1); retval.setFormatIndex(( short ) 0x29); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff800); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 18 : retval.setFontIndex(( short ) 1); retval.setFormatIndex(( short ) 0x2c); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff800); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 19 : retval.setFontIndex(( short ) 1); retval.setFormatIndex(( short ) 0x2a); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff800); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 20 : retval.setFontIndex(( short ) 1); retval.setFormatIndex(( short ) 0x9); retval.setCellOptions(( short ) 0xfffffff5); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0xfffff800); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; // unused from this point down case 21 : retval.setFontIndex(( short ) 5); retval.setFormatIndex(( short ) 0x0); retval.setCellOptions(( short ) 0x1); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0x800); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 22 : retval.setFontIndex(( short ) 6); retval.setFormatIndex(( short ) 0x0); retval.setCellOptions(( short ) 0x1); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0x5c00); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 23 : retval.setFontIndex(( short ) 0); retval.setFormatIndex(( short ) 0x31); retval.setCellOptions(( short ) 0x1); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0x5c00); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 24 : retval.setFontIndex(( short ) 0); retval.setFormatIndex(( short ) 0x8); retval.setCellOptions(( short ) 0x1); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0x5c00); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; case 25 : retval.setFontIndex(( short ) 6); retval.setFormatIndex(( short ) 0x8); retval.setCellOptions(( short ) 0x1); retval.setAlignmentOptions(( short ) 0x20); retval.setIndentionOptions(( short ) 0x5c00); retval.setBorderOptions(( short ) 0); retval.setPaletteOptions(( short ) 0); retval.setAdtlPaletteOptions(( short ) 0); retval.setFillPaletteOptions(( short ) 0x20c0); break; } return retval; } | 509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/e88c85e6c97e6f38e249833f7a5058beeefac538/Workbook.java/clean/src/java/org/apache/poi/hssf/model/Workbook.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
5059,
752,
11456,
1630,
12,
474,
612,
13,
565,
288,
282,
368,
732,
5614,
1608,
3229,
1675,
5029,
3639,
14094,
1630,
2115,
5221,
273,
394,
14094,
1630,
2115,
5621,
3639,
1620,
261,
350,
13,
3639,
288,
5411,
648,
374,
294,
7734,
5221,
18,
542,
5711,
1016,
12443,
3025,
262,
374,
1769,
7734,
5221,
18,
542,
1630,
1016,
12443,
3025,
262,
374,
1769,
7734,
5221,
18,
542,
4020,
1320,
12443,
3025,
262,
374,
5297,
9460,
74,
25,
1769,
7734,
5221,
18,
542,
11535,
1320,
12443,
3025,
262,
374,
92,
3462,
1769,
7734,
5221,
18,
542,
3866,
5054,
1320,
12443,
3025,
262,
374,
1769,
7734,
5221,
18,
542,
8107,
1320,
12443,
3025,
262,
374,
1769,
7734,
5221,
18,
542,
25863,
1320,
12443,
3025,
262,
374,
1769,
7734,
5221,
18,
542,
1871,
6172,
25863,
1320,
12443,
3025,
262,
374,
1769,
7734,
5221,
18,
542,
8026,
25863,
1320,
12443,
3025,
262,
374,
92,
3462,
71,
20,
1769,
7734,
898,
31,
5411,
648,
404,
294,
7734,
5221,
18,
542,
5711,
1016,
12443,
3025,
262,
404,
1769,
7734,
5221,
18,
542,
1630,
1016,
12443,
3025,
262,
374,
1769,
7734,
5221,
18,
542,
4020,
1320,
12443,
3025,
262,
374,
5297,
9460,
74,
25,
1769,
7734,
5221,
18,
542,
11535,
1320,
12443,
3025,
262,
374,
92,
3462,
1769,
7734,
5221,
18,
542,
3866,
5054,
1320,
12443,
3025,
262,
374,
20431,
74,
16010,
1769,
7734,
5221,
18,
542,
8107,
1320,
12443,
3025,
262,
374,
1769,
7734,
5221,
18,
542,
25863,
1320,
12443,
3025,
262,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
5059,
752,
11456,
1630,
12,
474,
612,
13,
565,
288,
282,
368,
732,
5614,
1608,
3229,
1675,
5029,
3639,
14094,
1630,
2115,
5221,
273,
394,
14094,
1630,
2115,
5621,
3639,
1620,
261,
350,
13,
3639,
288,
5411,
648,
374,
294,
7734,
5221,
18,
542,
5711,
1016,
12443,
3025,
262,
374,
1769,
7734,
5221,
18,
542,
1630,
1016,
12443,
3025,
262,
374,
1769,
7734,
5221,
18,
542,
4020,
1320,
12443,
3025,
262,
374,
5297,
9460,
74,
25,
1769,
7734,
5221,
18,
542,
11535,
1320,
12443,
3025,
262,
374,
92,
3462,
1769,
7734,
5221,
18,
542,
3866,
5054,
1320,
12443,
3025,
262,
374,
1769,
7734,
5221,
18,
542,
8107,
1320,
12443,
3025,
262,
374,
1769,
7734,
5221,
18,
542,
2
] |
||
shell.setSize( this.getSize( ).x, 150 ); | shell.setSize( shellWidth, 150 ); if ( ( getStyle( ) & SWT.RIGHT_TO_LEFT ) != 0 ) { iXLoc -= shellWidth; } | private void createDropDownComponent( int iXLoc, int iYLoc ) { if ( !bEnabled ) { return; } Shell shell = new Shell( this.getShell( ), SWT.NONE ); shell.setLayout( new FillLayout( ) ); shell.setSize( this.getSize( ).x, 150 ); shell.setLocation( iXLoc, iYLoc ); cmpDropDown = new Composite( shell, SWT.NONE ); FillLayout fillDropDown = new FillLayout( ); fillDropDown.type = SWT.VERTICAL; cmpDropDown.setLayout( fillDropDown ); cmpDropDown.addKeyListener( this ); cmpDropDown.addFocusListener( this ); for ( int iC = 0; iC < this.iLineStyles.length; iC++ ) { LineCanvas cnv = new LineCanvas( cmpDropDown, SWT.NONE, iLineStyles[iC], 1 ); cnv.setSize( cmpDropDown.getSize( ).x, cnvSelection.getSize( ).y ); cnv.addMouseListener( this ); } shell.layout( ); shell.open( ); } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/df0d8b739a8a9e4e6c043f6f629563bae9abc674/LineStyleChooserComposite.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/LineStyleChooserComposite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
7544,
4164,
1841,
12,
509,
277,
60,
1333,
16,
509,
277,
61,
1333,
262,
202,
95,
202,
202,
430,
261,
401,
70,
1526,
262,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
13220,
5972,
273,
394,
19433,
12,
333,
18,
588,
13220,
12,
262,
16,
348,
8588,
18,
9826,
11272,
202,
202,
10304,
18,
542,
3744,
12,
394,
14192,
3744,
12,
262,
11272,
202,
202,
10304,
18,
542,
1225,
12,
333,
18,
588,
1225,
12,
262,
18,
92,
16,
18478,
11272,
202,
202,
10304,
18,
542,
2735,
12,
277,
60,
1333,
16,
277,
61,
1333,
11272,
202,
202,
9625,
7544,
4164,
273,
394,
14728,
12,
5972,
16,
348,
8588,
18,
9826,
11272,
202,
202,
8026,
3744,
3636,
7544,
4164,
273,
394,
14192,
3744,
12,
11272,
202,
202,
5935,
7544,
4164,
18,
723,
273,
348,
8588,
18,
21654,
10109,
31,
202,
202,
9625,
7544,
4164,
18,
542,
3744,
12,
3636,
7544,
4164,
11272,
202,
202,
9625,
7544,
4164,
18,
1289,
653,
2223,
12,
333,
11272,
202,
202,
9625,
7544,
4164,
18,
1289,
9233,
2223,
12,
333,
11272,
202,
202,
1884,
261,
509,
277,
39,
273,
374,
31,
277,
39,
411,
333,
18,
77,
1670,
9725,
18,
2469,
31,
277,
39,
9904,
262,
202,
202,
95,
1082,
202,
1670,
12971,
6227,
90,
273,
394,
5377,
12971,
12,
9411,
7544,
4164,
16,
6862,
202,
55,
8588,
18,
9826,
16,
6862,
202,
77,
1670,
9725,
63,
77,
39,
6487,
6862,
202,
21,
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,
752,
7544,
4164,
1841,
12,
509,
277,
60,
1333,
16,
509,
277,
61,
1333,
262,
202,
95,
202,
202,
430,
261,
401,
70,
1526,
262,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
13220,
5972,
273,
394,
19433,
12,
333,
18,
588,
13220,
12,
262,
16,
348,
8588,
18,
9826,
11272,
202,
202,
10304,
18,
542,
3744,
12,
394,
14192,
3744,
12,
262,
11272,
202,
202,
10304,
18,
542,
1225,
12,
333,
18,
588,
1225,
12,
262,
18,
92,
16,
18478,
11272,
202,
202,
10304,
18,
542,
2735,
12,
277,
60,
1333,
16,
277,
61,
1333,
11272,
202,
202,
9625,
7544,
4164,
273,
394,
14728,
12,
5972,
16,
348,
8588,
18,
2
] |
amap.put(Provisioning.A_mail, newName); | newAttrs.put(Provisioning.A_mail, newName); | public void renameAccount(String zimbraId, String newName) throws ServiceException { DirContext ctxt = null; try { ctxt = LdapUtil.getDirContext(true); Account acc = getAccountById(zimbraId, ctxt); if (acc == null) throw AccountServiceException.NO_SUCH_ACCOUNT(zimbraId); String oldEmail = acc.getName(); newName = newName.toLowerCase().trim(); String[] parts = EmailUtil.getLocalPartAndDomain(newName); if (parts == null) throw ServiceException.INVALID_REQUEST("bad value for newName", null); String newLocal = parts[0]; String newDomain = parts[1]; Domain domain = getDomainByName(newDomain, ctxt); if (domain == null) throw AccountServiceException.NO_SUCH_DOMAIN(newDomain); String newDn = emailToDN(newLocal,domain.getName()); ctxt.rename(((LdapEntry)acc).getDN(), newDn); renameAddressInAllDistributionLists(oldEmail, newName); // doesn't throw exceptions, just logs // remove old account from cache sAccountCache.remove(acc); acc = getAccountById(zimbraId,ctxt); HashMap<String, Object> amap = new HashMap<String, Object>(); amap.put(Provisioning.A_zimbraMailDeliveryAddress, newName); String mail[] = acc.getMultiAttr(Provisioning.A_mail); if (mail.length == 0) { amap.put(Provisioning.A_mail, newName); } else { // not the most efficient, but renames dont' happen often mail = LdapUtil.removeMultiValue(mail, oldEmail); mail = addMultiValue(mail, newName); amap.put(Provisioning.A_mail, mail); } // this is non-atomic. i.e., rename could succeed and updating zimbraMailDeliveryAddress // could fail. So catch service exception here and log error try { modifyAttrsInternal(acc, ctxt, amap); } catch (ServiceException e) { ZimbraLog.account.error("account renamed to "+newName+ " but failed to update zimbraMailDeliveryAddress", e); throw ServiceException.FAILURE("unable to rename account: "+zimbraId, e); } } catch (NameAlreadyBoundException nabe) { throw AccountServiceException.ACCOUNT_EXISTS(newName); } catch (NamingException e) { throw ServiceException.FAILURE("unable to rename account: "+zimbraId, e); } finally { LdapUtil.closeContext(ctxt); } } | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/22d05363152bc1d67f5885caba5b457d854e4b40/LdapProvisioning.java/clean/ZimbraServer/src/java/com/zimbra/cs/account/ldap/LdapProvisioning.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
6472,
3032,
12,
780,
998,
381,
15397,
548,
16,
514,
13253,
13,
1216,
16489,
288,
7734,
8446,
1042,
14286,
273,
446,
31,
3639,
775,
288,
5411,
14286,
273,
18053,
1304,
18,
588,
1621,
1042,
12,
3767,
1769,
13491,
6590,
4078,
273,
23393,
5132,
12,
94,
381,
15397,
548,
16,
14286,
1769,
5411,
309,
261,
8981,
422,
446,
13,
7734,
604,
6590,
15133,
18,
3417,
67,
19958,
67,
21690,
12,
94,
381,
15397,
548,
1769,
5411,
514,
1592,
4134,
273,
4078,
18,
17994,
5621,
13491,
13253,
273,
13253,
18,
869,
5630,
7675,
5290,
5621,
5411,
514,
8526,
2140,
273,
8166,
1304,
18,
588,
2042,
1988,
1876,
3748,
12,
2704,
461,
1769,
5411,
309,
261,
6019,
422,
446,
13,
7734,
604,
16489,
18,
9347,
67,
5519,
2932,
8759,
460,
364,
13253,
3113,
446,
1769,
5411,
514,
394,
2042,
273,
2140,
63,
20,
15533,
5411,
514,
394,
3748,
273,
2140,
63,
21,
15533,
13491,
6648,
2461,
273,
15809,
5911,
12,
2704,
3748,
16,
14286,
1769,
5411,
309,
261,
4308,
422,
446,
13,
7734,
604,
6590,
15133,
18,
3417,
67,
19958,
67,
18192,
12,
2704,
3748,
1769,
13491,
514,
394,
19053,
273,
2699,
774,
8609,
12,
2704,
2042,
16,
4308,
18,
17994,
10663,
5411,
14286,
18,
18539,
12443,
12,
18437,
1622,
13,
8981,
2934,
588,
8609,
9334,
394,
19053,
1769,
5411,
6472,
1887,
382,
1595,
9003,
7432,
12,
1673,
4134,
16,
13253,
1769,
368,
3302,
1404,
604,
4798,
16,
2537,
5963,
13491,
368,
1206,
1592,
2236,
628,
1247,
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,
6472,
3032,
12,
780,
998,
381,
15397,
548,
16,
514,
13253,
13,
1216,
16489,
288,
7734,
8446,
1042,
14286,
273,
446,
31,
3639,
775,
288,
5411,
14286,
273,
18053,
1304,
18,
588,
1621,
1042,
12,
3767,
1769,
13491,
6590,
4078,
273,
23393,
5132,
12,
94,
381,
15397,
548,
16,
14286,
1769,
5411,
309,
261,
8981,
422,
446,
13,
7734,
604,
6590,
15133,
18,
3417,
67,
19958,
67,
21690,
12,
94,
381,
15397,
548,
1769,
5411,
514,
1592,
4134,
273,
4078,
18,
17994,
5621,
13491,
13253,
273,
13253,
18,
869,
5630,
7675,
5290,
5621,
5411,
514,
8526,
2140,
273,
8166,
1304,
18,
588,
2042,
1988,
1876,
3748,
12,
2704,
461,
1769,
5411,
309,
261,
6019,
422,
446,
2
] |
} else if (check && i < ((RubyArray)val).getLength()) { | } else if (check && i < ((RubyArray) val).getLength()) { | public RubyObject massign(Ruby ruby, RubyObject self, RubyObject val, boolean check) { if (val == null) { val = RubyArray.newArray(ruby); } else if (!(val instanceof RubyArray)) { // if ( rb_respond_to( val, to_ary ) ) { // val.funcall(getRuby().intern("to_a")); // } else { val = RubyArray.newArray(ruby, val); // } } Node list = getHeadNode(); int i = 0; for (; list != null && i < ((RubyArray)val).getLength(); i++) { ((AssignableNode)list.getHeadNode()).assign(ruby, self, ((RubyArray)val).entry(i), check); list = list.getNextNode(); } if (check && list != null) { // error } if (getArgsNode() != null) { if (getArgsNode() == MINUS_ONE) { } else if (list == null && i < ((RubyArray)val).getLength()) { ((AssignableNode)getArgsNode()).assign(ruby, self, ((RubyArray)val).subseq(((RubyArray)val).getLength() - i, i), check); } else { ((AssignableNode)getArgsNode()).assign(ruby, self, RubyArray.newArray(ruby), check); } } else if (check && i < ((RubyArray)val).getLength()) { // error } while (list != null) { i++; ((AssignableNode)list.getHeadNode()).assign(ruby, self, ruby.getNil(), check); list = list.getNextNode(); } return val; } | 47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/8140cac1b7c2375c549787852e38fa6c52b199df/MAsgnNode.java/buggy/org/jruby/nodes/MAsgnNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
312,
6145,
12,
54,
10340,
22155,
16,
19817,
921,
365,
16,
19817,
921,
1244,
16,
1250,
866,
13,
288,
3639,
309,
261,
1125,
422,
446,
13,
288,
5411,
1244,
273,
19817,
1076,
18,
2704,
1076,
12,
27768,
1769,
3639,
289,
469,
309,
16051,
12,
1125,
1276,
19817,
1076,
3719,
288,
5411,
368,
309,
261,
7138,
67,
17863,
67,
869,
12,
1244,
16,
358,
67,
814,
262,
262,
288,
5411,
368,
1244,
18,
644,
454,
12,
588,
54,
10340,
7675,
267,
798,
2932,
869,
67,
69,
7923,
1769,
5411,
368,
289,
469,
288,
5411,
1244,
273,
19817,
1076,
18,
2704,
1076,
12,
27768,
16,
1244,
1769,
5411,
368,
289,
3639,
289,
7734,
2029,
666,
273,
336,
1414,
907,
5621,
3639,
509,
277,
273,
374,
31,
3639,
364,
261,
31,
666,
480,
446,
597,
277,
411,
14015,
54,
10340,
1076,
13,
1125,
2934,
588,
1782,
5621,
277,
27245,
288,
5411,
14015,
7961,
907,
13,
1098,
18,
588,
1414,
907,
1435,
2934,
6145,
12,
27768,
16,
365,
16,
14015,
54,
10340,
1076,
13,
1125,
2934,
4099,
12,
77,
3631,
866,
1769,
5411,
666,
273,
666,
18,
588,
2134,
907,
5621,
3639,
289,
7734,
309,
261,
1893,
597,
666,
480,
446,
13,
288,
5411,
368,
555,
3639,
289,
7734,
309,
261,
588,
2615,
907,
1435,
480,
446,
13,
288,
5411,
309,
261,
588,
2615,
907,
1435,
422,
6989,
3378,
67,
5998,
13,
288,
5411,
289,
469,
309,
261,
1098,
422,
446,
597,
277,
411,
14015,
54,
10340,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
312,
6145,
12,
54,
10340,
22155,
16,
19817,
921,
365,
16,
19817,
921,
1244,
16,
1250,
866,
13,
288,
3639,
309,
261,
1125,
422,
446,
13,
288,
5411,
1244,
273,
19817,
1076,
18,
2704,
1076,
12,
27768,
1769,
3639,
289,
469,
309,
16051,
12,
1125,
1276,
19817,
1076,
3719,
288,
5411,
368,
309,
261,
7138,
67,
17863,
67,
869,
12,
1244,
16,
358,
67,
814,
262,
262,
288,
5411,
368,
1244,
18,
644,
454,
12,
588,
54,
10340,
7675,
267,
798,
2932,
869,
67,
69,
7923,
1769,
5411,
368,
289,
469,
288,
5411,
1244,
273,
19817,
1076,
18,
2704,
1076,
12,
27768,
16,
1244,
1769,
5411,
368,
289,
3639,
289,
7734,
2029,
666,
273,
336,
2
] |
buf.append(Integer.toString(rv.getNode().getBeginLine())).append(", "); | buf.append(Integer.toString(rv.getBeginLine())).append(", "); | public String render(Report report) { StringBuffer buf = new StringBuffer(); Iterator i; try { i = report.iterator(); } catch (NullPointerException npx) { throw new NullPointerException("ERROR in " + this.getClass().getName() + ".render: Parameter report is null."); } while (i.hasNext()) { RuleViolation rv = (RuleViolation) i.next(); //Filename buf.append(PMD.EOL).append(rv.getFilename() + "("); //Line number buf.append(Integer.toString(rv.getNode().getBeginLine())).append(", "); //Name of violated rule buf.append(rv.getRule().getName()).append("): "); //Specific violation message buf.append(rv.getDescription()); } return buf.toString(); } | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/04ab35e4ab798ef548e76adbea901c7ea75b12f2/TextPadRenderer.java/buggy/pmd/src/net/sourceforge/pmd/renderers/TextPadRenderer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1743,
12,
4820,
2605,
13,
288,
3639,
6674,
1681,
273,
394,
6674,
5621,
3639,
4498,
277,
31,
3639,
775,
288,
5411,
277,
273,
2605,
18,
9838,
5621,
3639,
289,
1044,
261,
2041,
9992,
1130,
92,
13,
288,
5411,
604,
394,
10108,
2932,
3589,
316,
315,
397,
333,
18,
588,
797,
7675,
17994,
1435,
397,
3552,
5902,
30,
225,
5498,
2605,
353,
446,
1199,
1769,
3639,
289,
3639,
1323,
261,
77,
18,
5332,
2134,
10756,
288,
5411,
6781,
11683,
5633,
273,
261,
2175,
11683,
13,
277,
18,
4285,
5621,
5411,
368,
5359,
5411,
1681,
18,
6923,
12,
52,
6188,
18,
5842,
2934,
6923,
12,
4962,
18,
588,
5359,
1435,
397,
12452,
1769,
5411,
368,
1670,
1300,
5411,
1681,
18,
6923,
12,
4522,
18,
10492,
12,
4962,
18,
588,
8149,
1670,
10756,
2934,
6923,
2932,
16,
225,
315,
1769,
5411,
368,
461,
434,
26889,
1720,
5411,
1681,
18,
6923,
12,
4962,
18,
588,
2175,
7675,
17994,
1435,
2934,
6923,
2932,
4672,
225,
315,
1769,
5411,
368,
9969,
17893,
883,
5411,
1681,
18,
6923,
12,
4962,
18,
588,
3291,
10663,
3639,
289,
3639,
327,
1681,
18,
10492,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1743,
12,
4820,
2605,
13,
288,
3639,
6674,
1681,
273,
394,
6674,
5621,
3639,
4498,
277,
31,
3639,
775,
288,
5411,
277,
273,
2605,
18,
9838,
5621,
3639,
289,
1044,
261,
2041,
9992,
1130,
92,
13,
288,
5411,
604,
394,
10108,
2932,
3589,
316,
315,
397,
333,
18,
588,
797,
7675,
17994,
1435,
397,
3552,
5902,
30,
225,
5498,
2605,
353,
446,
1199,
1769,
3639,
289,
3639,
1323,
261,
77,
18,
5332,
2134,
10756,
288,
5411,
6781,
11683,
5633,
273,
261,
2175,
11683,
13,
277,
18,
4285,
5621,
5411,
368,
5359,
5411,
1681,
18,
6923,
12,
52,
6188,
18,
5842,
2934,
6923,
12,
4962,
18,
588,
5359,
1435,
397,
12452,
1769,
5411,
368,
1670,
1300,
5411,
2
] |
Subsets and Splits