rem stringlengths 1 226k | add stringlengths 0 227k | context stringlengths 6 326k | meta stringlengths 143 403 | input_ids listlengths 256 256 | attention_mask listlengths 256 256 | labels listlengths 128 128 |
|---|---|---|---|---|---|---|
if (aci.next() == AttributedCharacterIterator.DONE) | if (j >= charMap.length) | public int getGlyphIndex(int charIndex) { int numGlyphs = getGlyphCount(); aci.first(); for (int i = 0; i < numGlyphs; i++) { int count = getCharacterCount(i, i); for (int n=0; n<count; n++) { int glyphCharIndex = ((Integer)aci.getAttribute (GVTAttributedCharacterIterator.TextAttribute.CHAR_INDEX)).intValue(); if (charIndex == glyphCharIndex) return i; if (aci.next() == AttributedCharacterIterator.DONE) return -1; } } return -1; } | 45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/ec5c7e43ea8c69519830a03c30ca27a7c284ae65/TextLayoutAdapter.java/buggy/sources/org/apache/batik/gvt/text/TextLayoutAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
7162,
6451,
1016,
12,
474,
1149,
1016,
13,
288,
3639,
509,
818,
25399,
273,
7162,
6451,
1380,
5621,
3639,
1721,
77,
18,
3645,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
818,
25399,
31,
277,
27245,
288,
5411,
509,
1056,
273,
31306,
1380,
12,
77,
16,
277,
1769,
5411,
364,
261,
474,
290,
33,
20,
31,
290,
32,
1883,
31,
290,
27245,
288,
7734,
509,
9440,
2156,
1016,
273,
14015,
4522,
13,
1077,
77,
18,
588,
1499,
4766,
1377,
261,
25269,
56,
861,
11050,
7069,
3198,
18,
1528,
1499,
18,
7305,
67,
9199,
13,
2934,
474,
620,
5621,
7734,
309,
261,
3001,
1016,
422,
9440,
2156,
1016,
13,
5397,
327,
277,
31,
7734,
309,
261,
78,
1545,
1149,
863,
18,
2469,
13,
10792,
327,
300,
21,
31,
5411,
289,
3639,
289,
3639,
327,
300,
21,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
7162,
6451,
1016,
12,
474,
1149,
1016,
13,
288,
3639,
509,
818,
25399,
273,
7162,
6451,
1380,
5621,
3639,
1721,
77,
18,
3645,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
818,
25399,
31,
277,
27245,
288,
5411,
509,
1056,
273,
31306,
1380,
12,
77,
16,
277,
1769,
5411,
364,
261,
474,
290,
33,
20,
31,
290,
32,
1883,
31,
290,
27245,
288,
7734,
509,
9440,
2156,
1016,
273,
14015,
4522,
13,
1077,
77,
18,
588,
1499,
4766,
1377,
261,
25269,
56,
861,
11050,
7069,
3198,
18,
1528,
1499,
18,
7305,
67,
9199,
13,
2934,
474,
620,
5621,
7734,
309,
261,
3001,
1016,
422,
9440,
2156,
1016,
13,
5397,
327,
277,
31,
7734,
2
] |
JPanel replace = new JPanel( new BorderLayout() ); | protected JComponent createEditorContent() { JPanel result = new JPanel( new BorderLayout() ); Splitter p; result.add(BorderLayout.CENTER, p = new Splitter(true,0.5f)); p.setFirstComponent( super.createEditorContent() ); JPanel replace = new JPanel( new BorderLayout() ); replaceCriteriaEdit = createEditor(searchContext); replace.add(BorderLayout.NORTH,new JLabel(SSRBundle.message("replacement.template.label"))); replace.add(BorderLayout.CENTER, replaceCriteriaEdit.getComponent() ); replaceCriteriaEdit.getComponent().setMinimumSize(new Dimension(150,100)); p.setSecondComponent( replace ); return result; } | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/89cd11decad19ffa2b802c17af5bee9a564095a0/ReplaceDialog.java/clean/plugins/structuralsearch/source/com/intellij/structuralsearch/plugin/replace/ui/ReplaceDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
29058,
752,
6946,
1350,
1435,
288,
565,
24048,
563,
273,
394,
24048,
12,
394,
30814,
1435,
11272,
565,
5385,
387,
293,
31,
565,
563,
18,
1289,
12,
8107,
3744,
18,
19835,
16,
293,
273,
394,
5385,
387,
12,
3767,
16,
20,
18,
25,
74,
10019,
565,
293,
18,
542,
3759,
1841,
12,
2240,
18,
2640,
6946,
1350,
1435,
11272,
4202,
1453,
7231,
4666,
273,
752,
6946,
12,
3072,
1042,
1769,
565,
1453,
18,
1289,
12,
8107,
3744,
18,
50,
28212,
16,
2704,
21403,
12,
1260,
54,
3405,
18,
2150,
2932,
24394,
18,
3202,
18,
1925,
6,
3719,
1769,
565,
1453,
18,
1289,
12,
8107,
3744,
18,
19835,
16,
1453,
7231,
4666,
18,
588,
1841,
1435,
11272,
565,
1453,
7231,
4666,
18,
588,
1841,
7675,
542,
13042,
1225,
12,
2704,
13037,
12,
23014,
16,
6625,
10019,
565,
293,
18,
542,
8211,
1841,
12,
1453,
11272,
565,
327,
563,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4750,
29058,
752,
6946,
1350,
1435,
288,
565,
24048,
563,
273,
394,
24048,
12,
394,
30814,
1435,
11272,
565,
5385,
387,
293,
31,
565,
563,
18,
1289,
12,
8107,
3744,
18,
19835,
16,
293,
273,
394,
5385,
387,
12,
3767,
16,
20,
18,
25,
74,
10019,
565,
293,
18,
542,
3759,
1841,
12,
2240,
18,
2640,
6946,
1350,
1435,
11272,
4202,
1453,
7231,
4666,
273,
752,
6946,
12,
3072,
1042,
1769,
565,
1453,
18,
1289,
12,
8107,
3744,
18,
50,
28212,
16,
2704,
21403,
12,
1260,
54,
3405,
18,
2150,
2932,
24394,
18,
3202,
18,
1925,
6,
3719,
1769,
565,
1453,
18,
1289,
12,
8107,
3744,
18,
19835,
16,
1453,
7231,
4666,
18,
588,
1841,
1435,
11272,
565,
2
] | |
ftptask.setSeparator(ftpFileSep); remoteTmpDir = ftptask.resolveFile(tmpDir); | myFTPTask.setSeparator(ftpFileSep); remoteTmpDir = myFTPTask.resolveFile(tmpDir); | public void setUp() { configureProject("src/etc/testcases/taskdefs/optional/net/ftp.xml"); getProject().executeTarget("setup"); tmpDir = getProject().getProperty("tmp.dir"); ftp = new FTPClient(); ftptask = new FTP(); ftpFileSep = getProject().getProperty("ftp.filesep"); ftptask.setSeparator(ftpFileSep); remoteTmpDir = ftptask.resolveFile(tmpDir); String remoteHost = getProject().getProperty("ftp.host"); int port = Integer.parseInt(getProject().getProperty("ftp.port")); String remoteUser = getProject().getProperty("ftp.user"); String password = getProject().getProperty("ftp.password"); try { ftp.connect(remoteHost, port); } catch (Exception ex) { connectionSucceeded = false; loginSuceeded = false; System.out.println("could not connect to host " + remoteHost + " on port " + port); } if (connectionSucceeded) { try { ftp.login(remoteUser, password); } catch (IOException ioe) { loginSuceeded = false; System.out.println("could not log on to " + remoteHost + " as user " + remoteUser); } } } | 506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/225b9fd6f9a79cb911291774832c150523387e01/FTPTest.java/clean/src/testcases/org/apache/tools/ant/taskdefs/optional/net/FTPTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
24292,
1435,
288,
3639,
5068,
4109,
2932,
4816,
19,
14175,
19,
3813,
22186,
19,
4146,
12537,
19,
10444,
19,
2758,
19,
11727,
18,
2902,
8863,
3639,
11080,
7675,
8837,
2326,
2932,
8401,
8863,
3639,
22521,
273,
11080,
7675,
588,
1396,
2932,
5645,
18,
1214,
8863,
3639,
13487,
273,
394,
19324,
1227,
5621,
3639,
11038,
337,
835,
273,
394,
19324,
5621,
3639,
13487,
812,
5097,
273,
11080,
7675,
588,
1396,
2932,
11727,
18,
2354,
881,
8863,
3639,
11038,
337,
835,
18,
542,
6581,
12,
11727,
812,
5097,
1769,
3639,
2632,
9161,
1621,
273,
11038,
337,
835,
18,
10828,
812,
12,
5645,
1621,
1769,
3639,
514,
2632,
2594,
273,
11080,
7675,
588,
1396,
2932,
11727,
18,
2564,
8863,
3639,
509,
1756,
273,
2144,
18,
2670,
1702,
12,
588,
4109,
7675,
588,
1396,
2932,
11727,
18,
655,
7923,
1769,
3639,
514,
2632,
1299,
273,
11080,
7675,
588,
1396,
2932,
11727,
18,
1355,
8863,
3639,
514,
2201,
273,
11080,
7675,
588,
1396,
2932,
11727,
18,
3664,
8863,
3639,
775,
288,
5411,
13487,
18,
3612,
12,
7222,
2594,
16,
1756,
1769,
3639,
289,
1044,
261,
503,
431,
13,
288,
5411,
1459,
30500,
273,
629,
31,
5411,
3925,
55,
3965,
2830,
273,
629,
31,
5411,
2332,
18,
659,
18,
8222,
2932,
15195,
486,
3077,
358,
1479,
315,
397,
2632,
2594,
397,
315,
603,
1756,
315,
397,
1756,
1769,
3639,
289,
3639,
309,
261,
4071,
30500,
13,
288,
5411,
775,
288,
7734,
13487,
18,
5819,
12,
7222,
1299,
16,
2201,
1769,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
24292,
1435,
288,
3639,
5068,
4109,
2932,
4816,
19,
14175,
19,
3813,
22186,
19,
4146,
12537,
19,
10444,
19,
2758,
19,
11727,
18,
2902,
8863,
3639,
11080,
7675,
8837,
2326,
2932,
8401,
8863,
3639,
22521,
273,
11080,
7675,
588,
1396,
2932,
5645,
18,
1214,
8863,
3639,
13487,
273,
394,
19324,
1227,
5621,
3639,
11038,
337,
835,
273,
394,
19324,
5621,
3639,
13487,
812,
5097,
273,
11080,
7675,
588,
1396,
2932,
11727,
18,
2354,
881,
8863,
3639,
11038,
337,
835,
18,
542,
6581,
12,
11727,
812,
5097,
1769,
3639,
2632,
9161,
1621,
273,
11038,
337,
835,
18,
10828,
812,
12,
5645,
1621,
1769,
3639,
514,
2632,
2594,
273,
11080,
7675,
588,
1396,
2932,
11727,
18,
2564,
8863,
2
] |
ClassLoader originalClassLoader = Thread.currentThread().getContextClassLoader(); Thread.currentThread().setContextClassLoader(this.classLoader); Object returnValue = doInvokeInternal(clazz, methodName, arguments); Thread.currentThread().setContextClassLoader(originalClassLoader); return returnValue; | ClassLoader originalClassLoader = Thread.currentThread().getContextClassLoader(); try { Thread.currentThread().setContextClassLoader(this.classLoader); return doInvokeInternal(clazz, methodName, arguments); } finally { Thread.currentThread().setContextClassLoader(originalClassLoader); } | public Object invoke(Class clazz, String methodName, Object[] arguments) { ClassLoader originalClassLoader = Thread.currentThread().getContextClassLoader(); Thread.currentThread().setContextClassLoader(this.classLoader); Object returnValue = doInvokeInternal(clazz, methodName, arguments); Thread.currentThread().setContextClassLoader(originalClassLoader); return returnValue; } | 50129 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50129/19fd3a2d78bdfd2993d82b610221e3802ffcaf52/AbstractStaticPersistentMethod.java/buggy/src/persistence/org/codehaus/groovy/grails/orm/hibernate/metaclass/AbstractStaticPersistentMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
4356,
12,
797,
4003,
16,
514,
4918,
16,
1033,
8526,
1775,
13,
288,
202,
202,
7805,
2282,
7805,
273,
4884,
18,
2972,
3830,
7675,
29120,
7805,
5621,
202,
202,
3830,
18,
2972,
3830,
7675,
542,
1042,
7805,
12,
2211,
18,
1106,
2886,
1769,
202,
202,
921,
7750,
273,
741,
10969,
3061,
12,
830,
3638,
16,
4918,
16,
1775,
1769,
202,
202,
3830,
18,
2972,
3830,
7675,
542,
1042,
7805,
12,
8830,
7805,
1769,
202,
202,
2463,
7750,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
1033,
4356,
12,
797,
4003,
16,
514,
4918,
16,
1033,
8526,
1775,
13,
288,
202,
202,
7805,
2282,
7805,
273,
4884,
18,
2972,
3830,
7675,
29120,
7805,
5621,
202,
202,
3830,
18,
2972,
3830,
7675,
542,
1042,
7805,
12,
2211,
18,
1106,
2886,
1769,
202,
202,
921,
7750,
273,
741,
10969,
3061,
12,
830,
3638,
16,
4918,
16,
1775,
1769,
202,
202,
3830,
18,
2972,
3830,
7675,
542,
1042,
7805,
12,
8830,
7805,
1769,
202,
202,
2463,
7750,
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
] |
if(ErrorManager.doNotAttemptAnalysis()) | if(ErrorManager.doNotAttemptAnalysis()) { | public void analyze() throws Exception { createGrammars(); Grammar g = getANTLRGrammar(); if(g == null) return; List rules = g.checkAllRulesForLeftRecursion(); if(!rules.isEmpty()) { printLeftRecursionToConsole(rules); markLeftRecursiveRules(rules); } if(ErrorManager.doNotAttemptAnalysis()) return; if(!grammarAnalyzeDirty) return; ErrorManager.setErrorListener(ErrorListener.shared()); try { ErrorListener.shared().clear(); g.createLookaheadDFAs(); if(getType() == GrammarSyntaxName.COMBINED) { // If the grammar is combined, analyze also the lexer Grammar lexer = getLexerGrammar(); if(lexer != null) lexer.createLookaheadDFAs(); } buildNonDeterministicErrors(); markRulesWithWarningsOrErrors(); } finally { // ignore } if(SwingUtilities.isEventDispatchThread()) { editor.engineGrammarDidAnalyze(); } else { SwingUtilities.invokeLater(new Runnable() { public void run() { editor.engineGrammarDidAnalyze(); } }); } // Only reset the dirty flag when the grammar has no errors (otherwise the next time the grammar is checked // it will appear to be OK) if(!ErrorListener.shared().hasErrors()) { grammarAnalyzeDirty = false; } } | 51505 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51505/846c2ba962d7152501278defe4cbd5f2dc1d5621/EngineGrammar.java/clean/src/org/antlr/works/grammar/EngineGrammar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12375,
1435,
1216,
1185,
288,
3639,
752,
18576,
87,
5621,
3639,
27809,
314,
273,
336,
24222,
18576,
5621,
3639,
309,
12,
75,
422,
446,
13,
5411,
327,
31,
3639,
987,
2931,
273,
314,
18,
1893,
1595,
4478,
1290,
3910,
426,
10919,
5621,
3639,
309,
12,
5,
7482,
18,
291,
1921,
10756,
288,
5411,
1172,
3910,
426,
10919,
774,
10215,
12,
7482,
1769,
5411,
2267,
3910,
10483,
4478,
12,
7482,
1769,
3639,
289,
3639,
309,
12,
668,
1318,
18,
2896,
1248,
7744,
9418,
10756,
288,
5411,
327,
31,
3639,
309,
12,
5,
31628,
31984,
10785,
13,
5411,
327,
31,
3639,
1068,
1318,
18,
542,
668,
2223,
12,
668,
2223,
18,
11574,
10663,
3639,
775,
288,
5411,
1068,
2223,
18,
11574,
7675,
8507,
5621,
5411,
314,
18,
2640,
9794,
11617,
4577,
1463,
5621,
5411,
309,
12,
588,
559,
1435,
422,
27809,
8070,
461,
18,
4208,
12615,
2056,
13,
288,
7734,
368,
971,
326,
6473,
353,
8224,
16,
12375,
2546,
326,
8512,
7734,
27809,
8512,
273,
9014,
8913,
18576,
5621,
7734,
309,
12,
31731,
480,
446,
13,
10792,
8512,
18,
2640,
9794,
11617,
4577,
1463,
5621,
5411,
289,
5411,
1361,
3989,
9139,
5846,
4229,
5621,
5411,
2267,
4478,
1190,
4312,
1162,
4229,
5621,
3639,
289,
3095,
288,
5411,
368,
2305,
3639,
289,
3639,
309,
12,
6050,
310,
11864,
18,
291,
1133,
5325,
3830,
10756,
288,
5411,
4858,
18,
8944,
18576,
18250,
31984,
5621,
3639,
289,
469,
288,
5411,
26145,
11864,
18,
14407,
20607,
12,
2704,
10254,
1435,
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,
12375,
1435,
1216,
1185,
288,
3639,
752,
18576,
87,
5621,
3639,
27809,
314,
273,
336,
24222,
18576,
5621,
3639,
309,
12,
75,
422,
446,
13,
5411,
327,
31,
3639,
987,
2931,
273,
314,
18,
1893,
1595,
4478,
1290,
3910,
426,
10919,
5621,
3639,
309,
12,
5,
7482,
18,
291,
1921,
10756,
288,
5411,
1172,
3910,
426,
10919,
774,
10215,
12,
7482,
1769,
5411,
2267,
3910,
10483,
4478,
12,
7482,
1769,
3639,
289,
3639,
309,
12,
668,
1318,
18,
2896,
1248,
7744,
9418,
10756,
288,
5411,
327,
31,
3639,
309,
12,
5,
31628,
31984,
10785,
13,
5411,
327,
31,
3639,
1068,
1318,
18,
542,
668,
2223,
12,
668,
2223,
18,
11574,
10663,
3639,
775,
288,
5411,
1068,
2
] |
gauges.get(ecuData).updateValue(value); | Gauge gauge = gauges.get(ecuData); if (gauge != null) { gauge.updateValue(value); } | public void handleDataUpdate(EcuData ecuData, byte[] value, long timestamp) { gauges.get(ecuData).updateValue(value); } | 51906 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51906/498a971351a56548a8ee05278aa6181de1f75770/DashboardUpdateHandler.java/clean/src/enginuity/logger/ui/handler/DashboardUpdateHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1640,
751,
1891,
12,
41,
6319,
751,
425,
6319,
751,
16,
1160,
8526,
460,
16,
1525,
2858,
13,
288,
3639,
19766,
13335,
273,
314,
6480,
281,
18,
588,
12,
557,
89,
751,
1769,
309,
261,
75,
8305,
480,
446,
13,
288,
13335,
18,
2725,
620,
12,
1132,
1769,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1640,
751,
1891,
12,
41,
6319,
751,
425,
6319,
751,
16,
1160,
8526,
460,
16,
1525,
2858,
13,
288,
3639,
19766,
13335,
273,
314,
6480,
281,
18,
588,
12,
557,
89,
751,
1769,
309,
261,
75,
8305,
480,
446,
13,
288,
13335,
18,
2725,
620,
12,
1132,
1769,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
properties.setValue(name, value); | properties.setProperty(name, value); | public void addProperty(String name, String value) { properties.setValue(name, value); } | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/83d81b076b32acdf3f82077c7f4c2a2e160aa32f/MockRule.java/buggy/pmd/regress/test/net/sourceforge/pmd/MockRule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
14324,
12,
780,
508,
16,
514,
460,
13,
288,
3639,
1790,
18,
542,
1396,
12,
529,
16,
460,
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,
918,
14324,
12,
780,
508,
16,
514,
460,
13,
288,
3639,
1790,
18,
542,
1396,
12,
529,
16,
460,
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
] |
add(new ActionMenu(null, ActionPlaces.MAIN_MENU, (ActionGroup)action, myPresentationFactory)); | final ActionMenu menu = new ActionMenu(null, ActionPlaces.MAIN_MENU, (ActionGroup)action, myPresentationFactory); add(menu); background = menu.getBackground(); | void updateMenuActions() { myNewVisibleActions.clear(); final DataContext dataContext = ((DataManagerImpl)myDataManager).getDataContextTest(this); expandActionGroup(dataContext, myNewVisibleActions, myActionManager); if (!myNewVisibleActions.equals(myVisibleActions)) { // should rebuild UI final boolean changeBarVisibility = myNewVisibleActions.size() == 0 || myVisibleActions.size() == 0; final ArrayList temp = myVisibleActions; myVisibleActions = myNewVisibleActions; myNewVisibleActions = temp; removeAll(); for(int i=0;i<myVisibleActions.size();i++){ final AnAction action=(AnAction)myVisibleActions.get(i); add(new ActionMenu(null, ActionPlaces.MAIN_MENU, (ActionGroup)action, myPresentationFactory)); } updateMnemonicsVisibility(); validate(); if (changeBarVisibility) { invalidate(); final JFrame frame = (JFrame)SwingUtilities.getAncestorOfClass(JFrame.class, this); if (frame != null) { frame.validate(); } } } } | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/70b562f3a8a9e5a52254be4fe6805118b0d673e5/IdeMenuBar.java/buggy/source/com/intellij/openapi/wm/impl/IdeMenuBar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
1089,
4599,
6100,
1435,
288,
565,
3399,
1908,
6207,
6100,
18,
8507,
5621,
565,
727,
1910,
1042,
501,
1042,
273,
14015,
751,
1318,
2828,
13,
4811,
751,
1318,
2934,
588,
751,
1042,
4709,
12,
2211,
1769,
565,
4542,
1803,
1114,
12,
892,
1042,
16,
3399,
1908,
6207,
6100,
16,
3399,
1803,
1318,
1769,
565,
309,
16051,
4811,
1908,
6207,
6100,
18,
14963,
12,
4811,
6207,
6100,
3719,
288,
1377,
368,
1410,
13419,
6484,
1377,
727,
1250,
2549,
5190,
10135,
273,
3399,
1908,
6207,
6100,
18,
1467,
1435,
422,
374,
747,
3399,
6207,
6100,
18,
1467,
1435,
422,
374,
31,
1377,
727,
2407,
1906,
273,
3399,
6207,
6100,
31,
1377,
3399,
6207,
6100,
273,
3399,
1908,
6207,
6100,
31,
1377,
3399,
1908,
6207,
6100,
273,
1906,
31,
1377,
12787,
5621,
1377,
364,
12,
474,
277,
33,
20,
31,
77,
32,
4811,
6207,
6100,
18,
1467,
5621,
77,
27245,
95,
3639,
727,
1922,
1803,
1301,
28657,
979,
1803,
13,
4811,
6207,
6100,
18,
588,
12,
77,
1769,
3639,
727,
4382,
4599,
3824,
273,
394,
4382,
4599,
12,
2011,
16,
4382,
24791,
18,
19803,
67,
29227,
16,
261,
1803,
1114,
13,
1128,
16,
3399,
6351,
367,
1733,
1769,
527,
12,
5414,
1769,
5412,
273,
3824,
18,
588,
8199,
5621,
1377,
289,
1377,
1089,
29668,
4758,
2102,
10135,
5621,
1377,
1954,
5621,
1377,
309,
261,
3427,
5190,
10135,
13,
288,
3639,
11587,
5621,
3639,
727,
804,
3219,
2623,
273,
261,
46,
3219,
13,
6050,
310,
11864,
18,
588,
15637,
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,
918,
1089,
4599,
6100,
1435,
288,
565,
3399,
1908,
6207,
6100,
18,
8507,
5621,
565,
727,
1910,
1042,
501,
1042,
273,
14015,
751,
1318,
2828,
13,
4811,
751,
1318,
2934,
588,
751,
1042,
4709,
12,
2211,
1769,
565,
4542,
1803,
1114,
12,
892,
1042,
16,
3399,
1908,
6207,
6100,
16,
3399,
1803,
1318,
1769,
565,
309,
16051,
4811,
1908,
6207,
6100,
18,
14963,
12,
4811,
6207,
6100,
3719,
288,
1377,
368,
1410,
13419,
6484,
1377,
727,
1250,
2549,
5190,
10135,
273,
3399,
1908,
6207,
6100,
18,
1467,
1435,
422,
374,
747,
3399,
6207,
6100,
18,
1467,
1435,
422,
374,
31,
1377,
727,
2407,
1906,
273,
3399,
6207,
6100,
31,
1377,
3399,
6207,
6100,
273,
3399,
1908,
6207,
6100,
2
] |
fos.write(xml.getBytes()); | fos.write(xml.getBytes(context.getWiki().getEncoding())); | public void addToDir(XWikiDocument doc, File dir, boolean withVersions, XWikiContext context) throws XWikiException { try { filter(doc, context); File spacedir = new File(dir, doc.getWeb()); if (!spacedir.exists()) { if (!spacedir.mkdirs()) { Object[] args = new Object[1]; args[0] = dir.toString(); throw new XWikiException(XWikiException.MODULE_XWIKI ,XWikiException.ERROR_XWIKI_MKDIR, "Error creating directory {0}", null, args); } } String filename = doc.getName(); String language = doc.getLanguage(); if ((language!=null)&&(!language.equals(""))) filename += "." + language; File file = new File(spacedir, filename); String xml = doc.toXML(true, false, true, withVersions, context); FileOutputStream fos = new FileOutputStream(file); fos.write(xml.getBytes()); fos.flush(); fos.close(); } catch (ExcludeDocumentException e) { log.info("Skip the document " + doc.getFullName()); } catch (Exception e) { Object[] args = new Object[1]; args[0] = doc.getFullName(); throw new XWikiException(XWikiException.MODULE_XWIKI_DOC,XWikiException.ERROR_XWIKI_DOC_EXPORT, "Error creating file {0}", e, args); } } | 52380 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52380/e91d1e4def4be29cc939dbdd76676ab5cca59caa/Package.java/clean/src/main/java/com/xpn/xwiki/plugin/packaging/Package.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
9604,
1621,
12,
60,
25438,
2519,
997,
16,
1387,
1577,
16,
1250,
598,
5940,
16,
1139,
25438,
1042,
819,
13,
1216,
1139,
25438,
503,
288,
3639,
775,
225,
288,
5411,
1034,
12,
2434,
16,
819,
1769,
5411,
1387,
3476,
1214,
273,
394,
1387,
12,
1214,
16,
997,
18,
588,
4079,
10663,
5411,
309,
16051,
2981,
1214,
18,
1808,
10756,
288,
7734,
309,
16051,
2981,
1214,
18,
24816,
8291,
10756,
288,
10792,
1033,
8526,
833,
273,
394,
1033,
63,
21,
15533,
10792,
833,
63,
20,
65,
273,
1577,
18,
10492,
5621,
10792,
604,
394,
1139,
25438,
503,
12,
60,
25438,
503,
18,
12194,
67,
60,
23109,
47,
45,
269,
60,
25438,
503,
18,
3589,
67,
60,
23109,
47,
45,
67,
49,
47,
4537,
16,
315,
668,
4979,
1867,
288,
20,
1532,
16,
446,
16,
833,
1769,
7734,
289,
5411,
289,
5411,
514,
1544,
273,
997,
18,
17994,
5621,
5411,
514,
2653,
273,
997,
18,
588,
3779,
5621,
5411,
309,
14015,
4923,
5,
33,
2011,
13,
10,
10,
12,
5,
4923,
18,
14963,
2932,
6,
20349,
7734,
1544,
1011,
4585,
397,
2653,
31,
5411,
1387,
585,
273,
394,
1387,
12,
2981,
1214,
16,
1544,
1769,
5411,
514,
2025,
273,
997,
18,
869,
4201,
12,
3767,
16,
629,
16,
638,
16,
598,
5940,
16,
819,
1769,
5411,
12942,
17615,
273,
394,
12942,
12,
768,
1769,
5411,
17615,
18,
2626,
12,
2902,
18,
588,
2160,
12,
2472,
18,
588,
25438,
7675,
588,
4705,
1435,
10019,
5411,
17615,
18,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
9604,
1621,
12,
60,
25438,
2519,
997,
16,
1387,
1577,
16,
1250,
598,
5940,
16,
1139,
25438,
1042,
819,
13,
1216,
1139,
25438,
503,
288,
3639,
775,
225,
288,
5411,
1034,
12,
2434,
16,
819,
1769,
5411,
1387,
3476,
1214,
273,
394,
1387,
12,
1214,
16,
997,
18,
588,
4079,
10663,
5411,
309,
16051,
2981,
1214,
18,
1808,
10756,
288,
7734,
309,
16051,
2981,
1214,
18,
24816,
8291,
10756,
288,
10792,
1033,
8526,
833,
273,
394,
1033,
63,
21,
15533,
10792,
833,
63,
20,
65,
273,
1577,
18,
10492,
5621,
10792,
604,
394,
1139,
25438,
503,
12,
60,
25438,
503,
18,
12194,
67,
60,
23109,
47,
45,
269,
60,
25438,
503,
18,
3589,
67,
60,
23109,
2
] |
threadContext.callSuper(args); | result = threadContext.callSuper(args); | public void visitZSuperNode(ZSuperNode iVisited) { if (threadContext.getCurrentFrame().getLastClass() == null) { throw new NameError(runtime, "superclass method '" + runtime.getCurrentFrame().getLastFunc() + "' disabled"); } IRubyObject[] args = threadContext.getCurrentFrame().getArgs(); threadContext.callSuper(args); } | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/87cd159e65e50f4157091c667b2f04e958262442/EvaluateVisitor.java/buggy/src/org/jruby/evaluator/EvaluateVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
62,
8051,
907,
12,
62,
8051,
907,
277,
30019,
13,
288,
3639,
309,
261,
5930,
1042,
18,
588,
3935,
3219,
7675,
588,
3024,
797,
1435,
422,
446,
13,
288,
5411,
604,
394,
25473,
12,
9448,
16,
315,
9565,
1106,
707,
2119,
397,
3099,
18,
588,
3935,
3219,
7675,
588,
3024,
2622,
1435,
397,
2491,
5673,
8863,
3639,
289,
3639,
15908,
10340,
921,
8526,
833,
273,
2650,
1042,
18,
588,
3935,
3219,
7675,
588,
2615,
5621,
3639,
563,
273,
2650,
1042,
18,
1991,
8051,
12,
1968,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
62,
8051,
907,
12,
62,
8051,
907,
277,
30019,
13,
288,
3639,
309,
261,
5930,
1042,
18,
588,
3935,
3219,
7675,
588,
3024,
797,
1435,
422,
446,
13,
288,
5411,
604,
394,
25473,
12,
9448,
16,
315,
9565,
1106,
707,
2119,
397,
3099,
18,
588,
3935,
3219,
7675,
588,
3024,
2622,
1435,
397,
2491,
5673,
8863,
3639,
289,
3639,
15908,
10340,
921,
8526,
833,
273,
2650,
1042,
18,
588,
3935,
3219,
7675,
588,
2615,
5621,
3639,
563,
273,
2650,
1042,
18,
1991,
8051,
12,
1968,
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
] |
outBegIdx.value = startIdx; outNbElement.value = outIdx; | if( startIdx < lookbackTotal ) startIdx = lookbackTotal; | public TA_RetCode LINEARREG_ANGLE(int startIdx, int endIdx, double inReal[], int optInTimePeriod, MInteger outBegIdx, MInteger outNbElement, double outReal[]) { int outIdx; int today, lookbackTotal; double SumX, SumXY, SumY, SumXSqr, Divisor; double m; int i; double tempValue1; 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 < 2) || ((int) optInTimePeriod > 100000)) return TA_RetCode.TA_BAD_PARAM; lookbackTotal = LINEARREG_ANGLE_Lookback(optInTimePeriod); if (startIdx < lookbackTotal) startIdx = lookbackTotal; if (startIdx > endIdx) { outBegIdx.value = 0; outNbElement.value = 0; return TA_RetCode.TA_SUCCESS; } outIdx = 0; today = startIdx; SumX = optInTimePeriod * (optInTimePeriod - 1) * 0.5; SumXSqr = optInTimePeriod * (optInTimePeriod - 1) * (2 * optInTimePeriod - 1) / 6; Divisor = SumX * SumX - optInTimePeriod * SumXSqr; while (today <= endIdx) { SumXY = 0; SumY = 0; for (i = optInTimePeriod; i-- != 0;) { SumY += tempValue1 = inReal[today - i]; SumXY += (double) i * tempValue1; } m = (optInTimePeriod * SumXY - SumX * SumY) / Divisor; outReal[outIdx++] = m * (180.0 / 3.14159265358979323846); today++; } outBegIdx.value = startIdx; outNbElement.value = outIdx; return TA_RetCode.TA_SUCCESS; } | 7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/5df8081f2a7211016256c0f481213a987e02947a/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
399,
37,
67,
7055,
1085,
14340,
985,
5937,
67,
30978,
12,
474,
27108,
16,
509,
679,
4223,
16,
1082,
202,
9056,
316,
6955,
63,
6487,
509,
2153,
382,
26540,
16,
490,
4522,
596,
24059,
4223,
16,
1082,
202,
49,
4522,
596,
22816,
1046,
16,
1645,
29205,
63,
5717,
288,
202,
202,
474,
596,
4223,
31,
202,
202,
474,
10074,
16,
2324,
823,
5269,
31,
202,
202,
9056,
9352,
60,
16,
9352,
8546,
16,
9352,
61,
16,
9352,
60,
19643,
86,
16,
21411,
12385,
31,
202,
202,
9056,
312,
31,
202,
202,
474,
277,
31,
202,
202,
9056,
1906,
620,
21,
31,
202,
202,
430,
261,
1937,
4223,
411,
374,
13,
1082,
202,
2463,
399,
37,
67,
7055,
1085,
18,
9833,
67,
5069,
67,
3932,
67,
15928,
67,
7570,
67,
9199,
31,
202,
202,
430,
14015,
409,
4223,
411,
374,
13,
747,
261,
409,
4223,
411,
27108,
3719,
1082,
202,
2463,
399,
37,
67,
7055,
1085,
18,
9833,
67,
5069,
67,
3932,
67,
15928,
67,
4415,
67,
9199,
31,
202,
202,
430,
14015,
474,
13,
2153,
382,
26540,
422,
261,
4522,
18,
6236,
67,
4051,
8623,
1082,
202,
3838,
382,
26540,
273,
5045,
31,
202,
202,
12107,
309,
261,
12443,
474,
13,
2153,
382,
26540,
411,
576,
13,
9506,
202,
20081,
14015,
474,
13,
2153,
382,
26540,
405,
25259,
3719,
1082,
202,
2463,
399,
37,
67,
7055,
1085,
18,
9833,
67,
16234,
67,
8388,
31,
202,
202,
7330,
823,
5269,
273,
14340,
985,
5937,
67,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
399,
37,
67,
7055,
1085,
14340,
985,
5937,
67,
30978,
12,
474,
27108,
16,
509,
679,
4223,
16,
1082,
202,
9056,
316,
6955,
63,
6487,
509,
2153,
382,
26540,
16,
490,
4522,
596,
24059,
4223,
16,
1082,
202,
49,
4522,
596,
22816,
1046,
16,
1645,
29205,
63,
5717,
288,
202,
202,
474,
596,
4223,
31,
202,
202,
474,
10074,
16,
2324,
823,
5269,
31,
202,
202,
9056,
9352,
60,
16,
9352,
8546,
16,
9352,
61,
16,
9352,
60,
19643,
86,
16,
21411,
12385,
31,
202,
202,
9056,
312,
31,
202,
202,
474,
277,
31,
202,
202,
9056,
1906,
620,
21,
31,
202,
202,
430,
261,
1937,
4223,
411,
374,
13,
1082,
202,
2463,
399,
37,
67,
2
] |
setMode(); | setMode(); if(file != null) modTime = file.lastModified(); if(!getPath().equals(oldPath)) { jEdit.updatePosition(Buffer.this); setMode(); } | public void run() { if(rename) { if(autosaveFile != null) autosaveFile.delete(); saveUndo = undo.editToBeUndone(); if(oldPath.equals(getPath())) { setFlag(AUTOSAVE_DIRTY,false); setFlag(READ_ONLY,false); setFlag(NEW_FILE,false); setFlag(UNTITLED,false); setFlag(DIRTY,false); setFlag(IO,false); saveUndo = undo.editToBeUndone(); if(!getPath().equals(oldPath)) setMode(); if(file != null) modTime = file.lastModified(); } if(!getPath().equals(oldPath)) setMode(); if(file != null) modTime = file.lastModified(); } if(!getPath().equals(oldPath)) { if(rename) jEdit.updatePosition(Buffer.this); VFSManager.sendVFSUpdate(getVFS(),getPath(),true); } EditBus.send(new BufferUpdate(Buffer.this, BufferUpdate.DIRTY_CHANGED)); } | 6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/0ccaec2dceb7e61687dc6094fa6761613f0560ad/Buffer.java/clean/org/gjt/sp/jedit/Buffer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
1435,
1082,
202,
95,
9506,
202,
430,
12,
18539,
13,
9506,
202,
95,
6862,
202,
430,
12,
21996,
836,
812,
480,
446,
13,
25083,
202,
21996,
836,
812,
18,
3733,
5621,
6862,
202,
5688,
31224,
273,
15436,
18,
4619,
15360,
984,
8734,
5621,
6862,
202,
430,
12,
1673,
743,
18,
14963,
12,
588,
743,
1435,
3719,
6862,
202,
95,
25083,
202,
542,
4678,
12,
37,
1693,
4618,
26714,
67,
4537,
5538,
16,
5743,
1769,
25083,
202,
542,
4678,
12,
6949,
67,
10857,
16,
5743,
1769,
25083,
202,
542,
4678,
12,
12917,
67,
3776,
16,
5743,
1769,
25083,
202,
542,
4678,
12,
5321,
1285,
6687,
16,
5743,
1769,
25083,
202,
542,
4678,
12,
4537,
5538,
16,
5743,
1769,
25083,
202,
542,
4678,
12,
4294,
16,
5743,
1769,
25083,
202,
5688,
31224,
273,
15436,
18,
4619,
15360,
984,
8734,
5621,
25083,
202,
430,
12,
5,
588,
743,
7675,
14963,
12,
1673,
743,
3719,
6862,
1082,
202,
542,
2309,
5621,
25083,
202,
430,
12,
768,
480,
446,
13,
6862,
1082,
202,
1711,
950,
273,
585,
18,
2722,
4575,
5621,
6862,
202,
97,
6862,
202,
430,
12,
5,
588,
743,
7675,
14963,
12,
1673,
743,
3719,
6862,
202,
542,
2309,
5621,
6862,
202,
430,
12,
768,
480,
446,
13,
25083,
202,
1711,
950,
273,
585,
18,
2722,
4575,
5621,
9506,
202,
97,
9506,
202,
430,
12,
5,
588,
743,
7675,
14963,
12,
1673,
743,
3719,
9506,
202,
95,
6862,
202,
430,
12,
18539,
13,
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,
1875,
202,
482,
918,
1086,
1435,
1082,
202,
95,
9506,
202,
430,
12,
18539,
13,
9506,
202,
95,
6862,
202,
430,
12,
21996,
836,
812,
480,
446,
13,
25083,
202,
21996,
836,
812,
18,
3733,
5621,
6862,
202,
5688,
31224,
273,
15436,
18,
4619,
15360,
984,
8734,
5621,
6862,
202,
430,
12,
1673,
743,
18,
14963,
12,
588,
743,
1435,
3719,
6862,
202,
95,
25083,
202,
542,
4678,
12,
37,
1693,
4618,
26714,
67,
4537,
5538,
16,
5743,
1769,
25083,
202,
542,
4678,
12,
6949,
67,
10857,
16,
5743,
1769,
25083,
202,
542,
4678,
12,
12917,
67,
3776,
16,
5743,
1769,
25083,
202,
542,
4678,
12,
5321,
1285,
6687,
16,
5743,
1769,
25083,
202,
542,
4678,
12,
4537,
5538,
2
] |
recv.callMethod("write", RubyString.newString(recv.getRuntime(), "\n")); | recv.callMethod("write", recv.getRuntime().newString("\n")); | public static IRubyObject puts(IRubyObject recv, IRubyObject[] args) { if (args.length == 0) { recv.callMethod("write", RubyString.newString(recv.getRuntime(), "\n")); return recv.getRuntime().getNil(); } for (int i = 0; i < args.length; i++) { String line = null; if (args[i].isNil()) { line = "nil"; } else if (args[i] instanceof RubyArray) { puts(recv, ((RubyArray) args[i]).toJavaArray()); continue; } else { line = args[i].toString(); } recv.callMethod("write", RubyString.newString(recv.getRuntime(), line)); if (!line.endsWith("\n")) { recv.callMethod("write", RubyString.newString(recv.getRuntime(), "\n")); } } return recv.getRuntime().getNil(); } | 47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyIO.java/buggy/src/org/jruby/RubyIO.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
8200,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
309,
261,
1968,
18,
2469,
422,
374,
13,
288,
5411,
10665,
18,
1991,
1305,
2932,
2626,
3113,
10665,
18,
588,
5576,
7675,
2704,
780,
31458,
82,
7923,
1769,
5411,
327,
10665,
18,
588,
5576,
7675,
588,
12616,
5621,
3639,
289,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
5411,
514,
980,
273,
446,
31,
5411,
309,
261,
1968,
63,
77,
8009,
291,
12616,
10756,
288,
7734,
980,
273,
315,
20154,
14432,
5411,
289,
469,
309,
261,
1968,
63,
77,
65,
1276,
19817,
1076,
13,
288,
7734,
8200,
12,
18334,
16,
14015,
54,
10340,
1076,
13,
833,
63,
77,
65,
2934,
869,
5852,
1076,
10663,
7734,
1324,
31,
5411,
289,
469,
288,
7734,
980,
273,
833,
63,
77,
8009,
10492,
5621,
5411,
289,
5411,
10665,
18,
1991,
1305,
2932,
2626,
3113,
19817,
780,
18,
2704,
780,
12,
18334,
18,
588,
5576,
9334,
980,
10019,
5411,
309,
16051,
1369,
18,
5839,
1190,
31458,
82,
6,
3719,
288,
7734,
10665,
18,
1991,
1305,
2932,
2626,
3113,
10665,
18,
588,
5576,
7675,
2704,
780,
31458,
82,
7923,
1769,
5411,
289,
3639,
289,
3639,
327,
10665,
18,
588,
5576,
7675,
588,
12616,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
8200,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
309,
261,
1968,
18,
2469,
422,
374,
13,
288,
5411,
10665,
18,
1991,
1305,
2932,
2626,
3113,
10665,
18,
588,
5576,
7675,
2704,
780,
31458,
82,
7923,
1769,
5411,
327,
10665,
18,
588,
5576,
7675,
588,
12616,
5621,
3639,
289,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
5411,
514,
980,
273,
446,
31,
5411,
309,
261,
1968,
63,
77,
8009,
291,
12616,
10756,
288,
7734,
980,
273,
315,
20154,
14432,
5411,
289,
469,
309,
261,
1968,
63,
77,
65,
1276,
19817,
1076,
13,
288,
7734,
8200,
12,
18334,
2
] |
double alpha1old = alpha1; double alpha1starold = alpha1star; double alpha2old = alpha2; double alpha2starold = alpha2star; | private boolean takeStep(int i1, int i2) { //System.out.print("+"); if (i1 == i2) { return false; } double y1 = target[i1]; double y2 = target[i2]; double alpha1 = model.getAlpha(i1); double alpha2 = model.getAlpha(i2); double alpha1star = model.getAlphaStar(i1); double alpha2star = model.getAlphaStar(i2); double phi1 = getError(i1); double phi2 = getError(i2); System.out.println("y1=" + y1 + "\ty2=" + y2); System.out.println("alpha1=" + alpha1 + "\talpha2=" + alpha2); System.out.println("alpha1star=" + alpha1star + "\talpha2star=" + alpha2star); System.out.println("phi1=" + phi1 + "\tphi2=" + phi2); double k11 = model.getKernelValue(i1, i1); double k12 = model.getKernelValue(i1, i2); double k22 = model.getKernelValue(i2, i2); double eta = k11 + k22 - 2.0 * k12; // from improvement // double eta = 2.0 * k12 - k11 - k22; // from tutorial, but always gives negative eta System.out.println("k11=" + k11 + "\tk12=" + k12 + "\tk22=" + k22); System.out.println("eta=" + eta); boolean case1, case2, case3, case4, finnished, changed; double alpha1old = alpha1; double alpha1starold = alpha1star; double alpha2old = alpha2; double alpha2starold = alpha2star; double deltaphi = phi2 - phi1; case1 = case2 = case3 = case4 = finnished = changed = false; System.out.println("deltaphi=" + deltaphi); double L, H; double a1 = 0.0, a2 = 0.0; double gamma = alpha1 - alpha1star + alpha2 - alpha2star; System.out.println("gamma=" + gamma); System.out.println("epsilon=" + epsilon); if(eta <= 0) { System.out.println("Negative eta"); return false; } while (!finnished) { if(!case1 && (alpha1 > 0.0 || (alpha1star == 0.0 && deltaphi > 0.0)) && (alpha2 > 0.0 || (alpha2star == 0.0 && deltaphi < 0.0)) ) { L = Math.max(0.0, gamma - C); H = Math.min(C, gamma); System.out.println("L=" + L + "\tH=" + H); if (L < H) { a2 = alpha2 - deltaphi / eta; System.out.println("Ideal a2 = " + a2); a2 = Math.min(a2, H); a2 = Math.max(L, a2); a1 = alpha1 - (a2 - alpha2); System.out.println("a1=" + a1 + ", a2=" + a2); // updatae alpah1, alpha2 if change greater than some eps if(Math.abs(a2 - alpha2) > epsilon * (a2 + alpha2 + 1.0 + epsilon)) { model.setAlpha(i1, a1); model.setAlpha(i2, a2); alpha1 = a1; alpha2 = a2; System.out.println("case1 worked"); changed = true; } else { System.out.println("case1: change too small: " + (a2 - alpha2)); } } else { System.out.println("case1: L > H"); finnished = true; } case1 = true; } else if (!case2 && (alpha1 > 0.0 || (alpha1star == 0.0 && deltaphi > 2.0 * epsilon)) && (alpha2star > 0.0 || (alpha2 == 0.0 && deltaphi > 2.0 * epsilon)) ) { L = Math.max(0.0, gamma); H = Math.min(C, C + gamma); System.out.println("L=" + L + "\tH=" + H); if(L < H) { a2 = alpha2star + (deltaphi - 2.0 * epsilon) / eta; System.out.println("Ideal a2 = " + a2); a2 = Math.min(a2, H); a2 = Math.max(L, a2); a1 = alpha1 + (a2 - alpha2star); System.out.println("a1=" + a1 + ", a2=" + a2); // updatae alpah1, alpha2star if change greater than some eps if(Math.abs(a2 - alpha2star) > epsilon * (a2 + alpha2star + 1.0 + epsilon)) { model.setAlpha(i1, a1); model.setAlphaStar(i2, a2); alpha1 = a1; alpha2star = a2; System.out.println("case2 worked"); changed = true; } else { System.out.println("case2: change too small: " + (a2 - alpha2star)); } } else { System.out.println("case2: L > H"); finnished = true; } case2 = true; } else if (!case3 && (alpha1star > 0.0 || (alpha1 == 0.0 && deltaphi < 2.0 * epsilon)) && (alpha2 > 0.0 || (alpha2star == 0.0 && deltaphi < 2.0 * epsilon)) ) { L = Math.max(0.0, -gamma); H = Math.min(C, -gamma + C); System.out.println("L=" + L + "\tH=" + H); if(L < H) { a2 = alpha2 - (deltaphi + 2.0 * epsilon) / eta; // according to improvement //a2 = alpha2 - (deltaphi - 2.0 * epsilon) / eta; // according to tutorial System.out.println("Ideal a2 = " + a2); a2 = Math.min(a2, H); a2 = Math.max(L, a2); a1 = alpha1star + (a2 - alpha2); // according to improvement //a1 = alpha1star - (a2 - alpha2); // according to tutorial System.out.println("a1=" + a1 + ", a2=" + a2); // update alpha1star, alpha2 if change is greater than some eps if(Math.abs(a2 - alpha2) > epsilon * (a2 + alpha2 + 1.0 + epsilon)) { model.setAlphaStar(i1, a1); model.setAlpha(i2, a2); alpha1star = a1; alpha2 = a2; System.out.println("case3 worked"); changed = true; } else { System.out.println("case3: change too small: " + (a2 - alpha2)); } } else { System.out.println("case3: L > H"); finnished = true; } case3 = true; } else if(!case4 && (alpha1star > 0.0 || (alpha1 == 0 && deltaphi < 0.0)) && (alpha2star > 0.0 || (alpha2 == 0 && deltaphi > 0.0)) ) { L = Math.max(0.0, -gamma - C); H = Math.min(C, -gamma); System.out.println("L=" + L + "\tH=" + H); if(L < H) { a2 = alpha2star + deltaphi/eta; System.out.println("Ideal a2 = " + a2); a2 = Math.min(a2, H); a2 = Math.max(L, a2); a1 = alpha1star - (a2 - alpha2star); System.out.println("a1=" + a1 + ", a2=" + a2); // update alpha1star, alpha2star if change is larger than some eps if(Math.abs(a2 - alpha2star) > epsilon * (a2 + alpha2star + 1.0 + epsilon)) { model.setAlphaStar(i1, a1); model.setAlphaStar(i2, a2); alpha1star = a1; alpha2star = a2; System.out.println("case4 worked"); changed = true; } else { System.out.println("case4: change too small: " + (a2 - alpha2star)); } } else { System.out.println("case4: L > H"); finnished = true; } case4 = true; } else { finnished = true; } System.out.println("!!!Errors: " + getError(i1) + " " + getError(i2)); // update deltaphi /* deltaphi = phi2 - phi1 + eta * ( (alpha1 - alpha1star) + (alpha1old - alpha1starold) ); */ deltaphi = getError(i2) - getError(i1); System.out.println("deltaphi=" + deltaphi); } // Calculate new threshold double b; double bOld = model.getThreshold(); System.out.println("b was " + bOld); /* if(!isBound(alpha1)) { b = phi1 + y1*(alpha1 - alpha1old)*k11 + y2*(alpha2 - alpha2old)*k12 + bOld; } else if(!isBound(alpha2)) { b = phi2 + y1*(alpha1 - alpha1old)*k12 + y2*(alpha2 - alpha2old)*k22 + bOld; } else if(!isBound(alpha1star)) { b = phi1 + y1*(alpha1star - alpha1starold)*k11 + y2*(alpha2star - alpha2starold)*k12 + bOld; } else if(!isBound(alpha2star)) { b = phi2 + y1*(alpha1star - alpha1starold)*k12 + y2*(alpha2star - alpha2starold)*k22 + bOld; } else { // no suitable alpha found to infer b - take middle of allowed interval double b1 = phi1 + y1*(alpha1 - alpha1old)*k11 + y2*(alpha2 - alpha2old)*k12 + bOld; double b2 = phi2 + y1*(alpha1 - alpha1old)*k12 + y2*(alpha2 - alpha2old)*k22 + bOld; b = (b1 + b2) / 2.0; } model.setThreshold(b); System.out.println("b is " + b); */ // double bOld = model.getThreshold(); if (!isBound(alpha1)) { b = y1 - model.internalClassify(i1) + bOld - epsilon; } else if (!isBound(alpha1star)) { b = y1 - model.internalClassify(i1) + bOld - epsilon; } else { b = y1 - model.internalClassify(i1) + bOld; } model.setThreshold(b); // Update error cache/* E[i1] = 0; E[i2] = 0; for (int l = 0; l < E.length; ++l) { if (l==i1 || l==i2) { continue; } if (!(isBound(model.getAlpha(l)))) { E[l] += y1*(a1-alpha1)*model.getKernelValue(i1, l) + y2*(a2-alpha2)*model.getKernelValue(i2, l) + bOld - b; } }*/ if(changed) { System.out.println("Successfuly changed things"); return true; } else { System.out.println("Nothing changed"); return false; } } | 50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/dc62a0a7cf481c21c3be647214959067a3b98f61/SMORegressionTrainer.java/clean/src/org/biojava/stats/svm/SMORegressionTrainer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1250,
4862,
4160,
12,
474,
277,
21,
16,
509,
277,
22,
13,
288,
565,
368,
3163,
18,
659,
18,
1188,
2932,
15,
8863,
565,
309,
261,
77,
21,
422,
277,
22,
13,
288,
202,
565,
327,
629,
31,
565,
289,
3639,
1645,
677,
21,
273,
1018,
63,
77,
21,
15533,
565,
1645,
677,
22,
273,
1018,
63,
77,
22,
15533,
565,
1645,
4190,
21,
273,
938,
18,
588,
9690,
12,
77,
21,
1769,
565,
1645,
4190,
22,
273,
938,
18,
588,
9690,
12,
77,
22,
1769,
565,
1645,
4190,
21,
10983,
273,
938,
18,
588,
9690,
18379,
12,
77,
21,
1769,
565,
1645,
4190,
22,
10983,
273,
938,
18,
588,
9690,
18379,
12,
77,
22,
1769,
565,
1645,
7706,
21,
273,
7926,
12,
77,
21,
1769,
565,
1645,
7706,
22,
273,
7926,
12,
77,
22,
1769,
565,
2332,
18,
659,
18,
8222,
2932,
93,
21,
1546,
397,
677,
21,
397,
1548,
4098,
22,
1546,
397,
677,
22,
1769,
565,
2332,
18,
659,
18,
8222,
2932,
5429,
21,
1546,
397,
4190,
21,
397,
1548,
88,
5429,
22,
1546,
397,
4190,
22,
1769,
565,
2332,
18,
659,
18,
8222,
2932,
5429,
21,
10983,
1546,
397,
4190,
21,
10983,
397,
1548,
88,
5429,
22,
10983,
1546,
397,
4190,
22,
10983,
1769,
565,
2332,
18,
659,
18,
8222,
2932,
9973,
21,
1546,
397,
7706,
21,
397,
1548,
88,
9973,
22,
1546,
397,
7706,
22,
1769,
3639,
1645,
417,
2499,
273,
938,
18,
588,
11286,
620,
12,
77,
21,
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,
282,
3238,
1250,
4862,
4160,
12,
474,
277,
21,
16,
509,
277,
22,
13,
288,
565,
368,
3163,
18,
659,
18,
1188,
2932,
15,
8863,
565,
309,
261,
77,
21,
422,
277,
22,
13,
288,
202,
565,
327,
629,
31,
565,
289,
3639,
1645,
677,
21,
273,
1018,
63,
77,
21,
15533,
565,
1645,
677,
22,
273,
1018,
63,
77,
22,
15533,
565,
1645,
4190,
21,
273,
938,
18,
588,
9690,
12,
77,
21,
1769,
565,
1645,
4190,
22,
273,
938,
18,
588,
9690,
12,
77,
22,
1769,
565,
1645,
4190,
21,
10983,
273,
938,
18,
588,
9690,
18379,
12,
77,
21,
1769,
565,
1645,
4190,
22,
10983,
273,
938,
18,
588,
9690,
18379,
12,
77,
22,
1769,
565,
2
] | |
for (Enumeration i = getEquipment(); i.hasMoreElements();) { ((Mounted)i.nextElement()).newRound(roundNumber); | for (Mounted m : getEquipment()){ m.newRound(roundNumber); | public void newRound(int roundNumber) { unloadedThisTurn = false; done = false; delta_distance = 0; mpUsed = 0; if(assaultDropInProgress == 2) assaultDropInProgress = 0; moved = IEntityMovementType.MOVE_NONE; gotPavementBonus = false; hitThisRoundByAntiTSM = false; hitBySwarmsEntity = new Vector(); hitBySwarmsWeapon = new Vector(); setTaggedBy(-1); setLayingMines(false); setArmsFlipped(false); setDisplacementAttack(null); setFindingClub(false); setSpotting(false); setClearingMinefield(false); setUnjammingRAC(false); crew.setKoThisRound(false); m_lNarcedBy |= m_lPendingNarc; if (pendingINarcPods.size() > 0) { for (int j = 0;j < pendingINarcPods.size();j++) { iNarcPods.addElement(pendingINarcPods.elementAt(j)); } pendingINarcPods = new Vector(); } for (Enumeration i = getEquipment(); i.hasMoreElements();) { ((Mounted)i.nextElement()).newRound(roundNumber); } // Update the inferno tracker. this.infernos.newRound(roundNumber); } | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/cbe74d020e74a85c0e3b8ebf32d1ebc85c1ba62f/Entity.java/clean/megamek/src/megamek/common/Entity.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
394,
11066,
12,
474,
3643,
1854,
13,
288,
3639,
640,
4230,
2503,
15858,
273,
629,
31,
3639,
2731,
273,
629,
31,
3639,
3622,
67,
8969,
273,
374,
31,
3639,
6749,
6668,
273,
374,
31,
3639,
309,
12,
428,
3714,
7544,
13434,
422,
576,
13,
5411,
1551,
3714,
7544,
13434,
273,
374,
31,
3639,
10456,
273,
29202,
49,
26140,
559,
18,
16537,
67,
9826,
31,
3639,
2363,
52,
842,
820,
38,
22889,
273,
629,
31,
3639,
6800,
2503,
11066,
858,
14925,
77,
56,
7303,
273,
629,
31,
3639,
6800,
858,
55,
905,
959,
1943,
273,
394,
5589,
5621,
3639,
6800,
858,
55,
905,
959,
3218,
28629,
273,
394,
5589,
5621,
3639,
444,
18674,
858,
19236,
21,
1769,
3639,
444,
48,
528,
310,
49,
1465,
12,
5743,
1769,
3639,
444,
686,
959,
28535,
1845,
12,
5743,
1769,
3639,
444,
1669,
15917,
3075,
484,
12,
2011,
1769,
3639,
444,
21358,
2009,
373,
12,
5743,
1769,
3639,
444,
17292,
1787,
12,
5743,
1769,
3639,
444,
4756,
5968,
49,
558,
1518,
12,
5743,
1769,
3639,
444,
984,
78,
301,
11987,
54,
2226,
12,
5743,
1769,
3639,
1519,
91,
18,
542,
47,
83,
2503,
11066,
12,
5743,
1769,
3639,
312,
67,
80,
50,
297,
3263,
858,
5626,
312,
67,
80,
8579,
50,
11828,
31,
3639,
309,
261,
9561,
706,
11828,
16496,
18,
1467,
1435,
405,
374,
13,
288,
5411,
364,
261,
474,
525,
273,
374,
31,
78,
411,
4634,
706,
11828,
16496,
18,
1467,
5621,
78,
27245,
288,
7734,
277,
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,
394,
11066,
12,
474,
3643,
1854,
13,
288,
3639,
640,
4230,
2503,
15858,
273,
629,
31,
3639,
2731,
273,
629,
31,
3639,
3622,
67,
8969,
273,
374,
31,
3639,
6749,
6668,
273,
374,
31,
3639,
309,
12,
428,
3714,
7544,
13434,
422,
576,
13,
5411,
1551,
3714,
7544,
13434,
273,
374,
31,
3639,
10456,
273,
29202,
49,
26140,
559,
18,
16537,
67,
9826,
31,
3639,
2363,
52,
842,
820,
38,
22889,
273,
629,
31,
3639,
6800,
2503,
11066,
858,
14925,
77,
56,
7303,
273,
629,
31,
3639,
6800,
858,
55,
905,
959,
1943,
273,
394,
5589,
5621,
3639,
6800,
858,
55,
905,
959,
3218,
28629,
273,
394,
5589,
5621,
3639,
444,
18674,
858,
19236,
21,
1769,
2
] |
2, 2, matrix | 2, 2, matrix, scoreType | public DPMatrix forwardMatrix(SymbolList[] seqs) throws IllegalSymbolException, IllegalAlphabetException, IllegalTransitionException { if (seqs.length != 2) { throw new IllegalArgumentException("This DP object only runs on pairs."); } lockModel(); Forward f = new Forward(); PairDPMatrix matrix = new PairDPMatrix(this, seqs[0], seqs[1]); PairDPCursor cursor = new MatrixPairDPCursor( seqs[0], seqs[1], (CrossProductAlphabet) getModel().emissionAlphabet(), 2, 2, matrix ); double score = f.runForward(cursor); matrix.setScore(score); unlockModel(); return matrix; } | 50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/f34f99e864e9e8905fb53dcbad1bf1ae9678cc15/PairwiseDP.java/buggy/src/org/biojava/bio/dp/PairwiseDP.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
463,
52,
4635,
5104,
4635,
12,
5335,
682,
8526,
19472,
13,
282,
1216,
565,
2141,
5335,
503,
16,
565,
2141,
27316,
503,
16,
565,
2141,
8850,
503,
225,
288,
565,
309,
261,
22437,
18,
2469,
480,
576,
13,
288,
1377,
604,
394,
2754,
2932,
2503,
463,
52,
733,
1338,
7597,
603,
5574,
1199,
1769,
565,
289,
565,
2176,
1488,
5621,
565,
17206,
284,
273,
394,
17206,
5621,
565,
8599,
8640,
4635,
3148,
273,
394,
8599,
8640,
4635,
12,
2211,
16,
19472,
63,
20,
6487,
19472,
63,
21,
19226,
565,
8599,
8640,
6688,
3347,
273,
394,
7298,
4154,
8640,
6688,
12,
1377,
19472,
63,
20,
6487,
19472,
63,
21,
6487,
261,
13941,
4133,
27316,
13,
7454,
7675,
351,
19710,
27316,
9334,
1377,
576,
16,
576,
16,
3148,
16,
4462,
559,
565,
11272,
565,
1645,
4462,
273,
284,
18,
2681,
8514,
12,
9216,
1769,
565,
3148,
18,
542,
7295,
12,
6355,
1769,
565,
7186,
1488,
5621,
565,
327,
3148,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
463,
52,
4635,
5104,
4635,
12,
5335,
682,
8526,
19472,
13,
282,
1216,
565,
2141,
5335,
503,
16,
565,
2141,
27316,
503,
16,
565,
2141,
8850,
503,
225,
288,
565,
309,
261,
22437,
18,
2469,
480,
576,
13,
288,
1377,
604,
394,
2754,
2932,
2503,
463,
52,
733,
1338,
7597,
603,
5574,
1199,
1769,
565,
289,
565,
2176,
1488,
5621,
565,
17206,
284,
273,
394,
17206,
5621,
565,
8599,
8640,
4635,
3148,
273,
394,
8599,
8640,
4635,
12,
2211,
16,
19472,
63,
20,
6487,
19472,
63,
21,
19226,
565,
8599,
8640,
6688,
3347,
273,
394,
7298,
4154,
8640,
6688,
12,
1377,
19472,
63,
20,
6487,
19472,
63,
21,
6487,
261,
13941,
4133,
27316,
13,
7454,
7675,
351,
2
] |
int incrDecrType = node.getExistingIntProp(Node.INCRDECR_PROP); | int incrDecrMask = node.getExistingIntProp(Node.INCRDECR_PROP); | private int visitIncDec(Node node, Node child, int iCodeTop) { int incrDecrType = node.getExistingIntProp(Node.INCRDECR_PROP); int childType = child.getType(); switch (childType) { case Token.GETVAR : { String name = child.getString(); if (itsData.itsNeedsActivation) { iCodeTop = addIcode(Icode_SCOPE, iCodeTop); stackChange(1); iCodeTop = addStringOp(Icode_PROP_INC_DEC, name, iCodeTop); iCodeTop = addByte(incrDecrType, iCodeTop); } else { int i = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addVarOp(Icode_VAR_INC_DEC, i, iCodeTop); iCodeTop = addByte(incrDecrType, iCodeTop); stackChange(1); } break; } case Token.NAME : { String name = child.getString(); iCodeTop = addStringOp(Icode_NAME_INC_DEC, name, iCodeTop); iCodeTop = addByte(incrDecrType, iCodeTop); stackChange(1); break; } case Token.GETPROP : { Node object = child.getFirstChild(); iCodeTop = generateICode(object, iCodeTop); String property = object.getNext().getString(); iCodeTop = addStringOp(Icode_PROP_INC_DEC, property, iCodeTop); iCodeTop = addByte(incrDecrType, iCodeTop); break; } case Token.GETELEM : { Node object = child.getFirstChild(); iCodeTop = generateICode(object, iCodeTop); Node index = object.getNext(); iCodeTop = generateICode(index, iCodeTop); iCodeTop = addIcode(Icode_ELEM_INC_DEC, iCodeTop); iCodeTop = addByte(incrDecrType, iCodeTop); stackChange(-1); break; } case Token.GET_REF : { Node ref = child.getFirstChild(); iCodeTop = generateICode(ref, iCodeTop); iCodeTop = addIcode(Icode_REF_INC_DEC, iCodeTop); iCodeTop = addByte(incrDecrType, iCodeTop); break; } default : { throw badTree(node); } } return iCodeTop; } | 12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/a3039484fe39a3dbe840a19951dc87f44221e7eb/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
3757,
14559,
1799,
12,
907,
756,
16,
2029,
1151,
16,
509,
277,
1085,
3401,
13,
565,
288,
3639,
509,
17633,
1799,
86,
5796,
273,
756,
18,
588,
9895,
1702,
4658,
12,
907,
18,
706,
5093,
1639,
5093,
67,
15811,
1769,
3639,
509,
1151,
559,
273,
1151,
18,
588,
559,
5621,
3639,
1620,
261,
3624,
559,
13,
288,
1850,
648,
3155,
18,
3264,
7716,
294,
288,
5411,
514,
508,
273,
1151,
18,
588,
780,
5621,
5411,
309,
261,
1282,
751,
18,
1282,
26419,
14857,
13,
288,
7734,
277,
1085,
3401,
273,
527,
45,
710,
12,
45,
710,
67,
19444,
16,
277,
1085,
3401,
1769,
7734,
2110,
3043,
12,
21,
1769,
7734,
277,
1085,
3401,
273,
527,
780,
3817,
12,
45,
710,
67,
15811,
67,
23213,
67,
1639,
39,
16,
508,
16,
277,
1085,
3401,
1769,
7734,
277,
1085,
3401,
273,
527,
3216,
12,
267,
3353,
1799,
86,
559,
16,
277,
1085,
3401,
1769,
5411,
289,
469,
288,
7734,
509,
277,
273,
2728,
1162,
5372,
18,
588,
786,
1162,
1537,
1016,
12,
529,
1769,
7734,
277,
1085,
3401,
273,
527,
1537,
3817,
12,
45,
710,
67,
7716,
67,
23213,
67,
1639,
39,
16,
277,
16,
277,
1085,
3401,
1769,
7734,
277,
1085,
3401,
273,
527,
3216,
12,
267,
3353,
1799,
86,
559,
16,
277,
1085,
3401,
1769,
7734,
2110,
3043,
12,
21,
1769,
5411,
289,
5411,
898,
31,
1850,
289,
1850,
648,
3155,
18,
1985,
294,
288,
5411,
514,
508,
273,
1151,
18,
588,
780,
5621,
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,
509,
3757,
14559,
1799,
12,
907,
756,
16,
2029,
1151,
16,
509,
277,
1085,
3401,
13,
565,
288,
3639,
509,
17633,
1799,
86,
5796,
273,
756,
18,
588,
9895,
1702,
4658,
12,
907,
18,
706,
5093,
1639,
5093,
67,
15811,
1769,
3639,
509,
1151,
559,
273,
1151,
18,
588,
559,
5621,
3639,
1620,
261,
3624,
559,
13,
288,
1850,
648,
3155,
18,
3264,
7716,
294,
288,
5411,
514,
508,
273,
1151,
18,
588,
780,
5621,
5411,
309,
261,
1282,
751,
18,
1282,
26419,
14857,
13,
288,
7734,
277,
1085,
3401,
273,
527,
45,
710,
12,
45,
710,
67,
19444,
16,
277,
1085,
3401,
1769,
7734,
2110,
3043,
12,
21,
1769,
7734,
277,
1085,
3401,
273,
527,
780,
2
] |
throw new UnsupportedOperationException("Dimensions of a Table can't be calculated. See the FAQ."); | throw new UnsupportedOperationException("Dimensions of a Table can't be calculated. See the FAQ."); | public float top() { throw new UnsupportedOperationException("Dimensions of a Table can't be calculated. See the FAQ."); } | 3011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3011/ed86dfb474e6fa22e1797452482e751a297a7e1f/Table.java/clean/itext/src/com/lowagie/text/Table.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1431,
1760,
1435,
288,
3639,
604,
394,
13172,
2932,
10796,
434,
279,
3555,
848,
1404,
506,
8894,
18,
2164,
326,
15064,
53,
1199,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1431,
1760,
1435,
288,
3639,
604,
394,
13172,
2932,
10796,
434,
279,
3555,
848,
1404,
506,
8894,
18,
2164,
326,
15064,
53,
1199,
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
] |
int tmp_ret = instance.proxycall144(get_SetLOD(), tmp_0, param_1); | int tmp_ret = instance.proxycall154(get_SetLOD(), tmp_0, param_1); | public final int SetLOD(Win32.IDirectDrawSurface7 This, int param_1) { long tmp_0 = This == null ? 0 : This.longLockPointer(); int tmp_ret = instance.proxycall144(get_SetLOD(), tmp_0, param_1); if (This != null) { This.unlock(); } return tmp_ret; } | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/9b00f971bab2256d913aec1b141462a929f6e182/Win32.java/clean/modules/awt/src/main/java/windows/org/apache/harmony/awt/nativebridge/windows/Win32.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
727,
509,
1000,
48,
1212,
12,
18049,
1578,
18,
734,
867,
6493,
11508,
27,
1220,
16,
509,
579,
67,
21,
13,
288,
5411,
1525,
1853,
67,
20,
273,
1220,
422,
446,
692,
374,
294,
1220,
18,
5748,
2531,
4926,
5621,
5411,
509,
1853,
67,
1349,
273,
791,
18,
5656,
1991,
29003,
12,
588,
67,
694,
48,
1212,
9334,
1853,
67,
20,
16,
579,
67,
21,
1769,
5411,
309,
261,
2503,
480,
446,
13,
288,
7734,
1220,
18,
26226,
5621,
5411,
289,
5411,
327,
1853,
67,
1349,
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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,
20,
273,
1220,
422,
446,
692,
374,
294,
1220,
18,
5748,
2531,
4926,
5621,
5411,
509,
1853,
67,
1349,
273,
791,
18,
5656,
1991,
29003,
12,
588,
67,
694,
48,
1212,
9334,
1853,
67,
20,
16,
579,
67,
21,
1769,
5411,
309,
261,
2503,
480,
446,
13,
288,
7734,
1220,
18,
26226,
5621,
5411,
289,
5411,
327,
1853,
67,
1349,
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
] |
else if (name.equals(Constants.DOM_WELLFORMED)) { | else if (name.equalsIgnoreCase(Constants.DOM_WELLFORMED)) { | public Object getParameter(String name) throws DOMException { // REVISIT: Recognizes DOM L3 default features only. // Does not yet recognize Xerces features. if (name.equals(Constants.DOM_COMMENTS)) { return ((features & COMMENTS) != 0) ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.DOM_NAMESPACES)) { return (features & NAMESPACES) != 0 ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.DOM_DATATYPE_NORMALIZATION)) { // REVISIT: datatype-normalization only takes effect if validation is on return (features & DTNORMALIZATION) != 0 ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.DOM_CDATA_SECTIONS)) { return (features & CDATA) != 0 ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.DOM_ENTITIES)) { return (features & ENTITIES) != 0 ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.DOM_SPLIT_CDATA)) { return (features & SPLITCDATA) != 0 ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.DOM_VALIDATE)) { return (features & VALIDATE) != 0 ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.DOM_WELLFORMED)) { return (features & WELLFORMED) != 0 ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.DOM_INFOSET)) { return (features & INFOSET_MASK) == INFOSET_TRUE_PARAMS ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.DOM_NORMALIZE_CHARACTERS) || name.equals(Constants.DOM_CANONICAL_FORM) || name.equals(Constants.DOM_VALIDATE_IF_SCHEMA) || name.equals(Constants.DOM_CHECK_CHAR_NORMALIZATION) ) { return Boolean.FALSE; } else if (name.equals(SEND_PSVI)) { return Boolean.TRUE; } else if (name.equals(Constants.DOM_PSVI)) { return (features & PSVI) != 0 ? Boolean.TRUE : Boolean.FALSE; } else if ( name.equals(Constants.DOM_NAMESPACE_DECLARATIONS) || name.equals(Constants.DOM_ELEMENT_CONTENT_WHITESPACE)) { return Boolean.TRUE; } else if (name.equals(Constants.DOM_ERROR_HANDLER)) { return fErrorHandlerWrapper.getErrorHandler(); } else if (name.equals(Constants.DOM_RESOURCE_RESOLVER)) { XMLEntityResolver entityResolver = getEntityResolver(); if (entityResolver != null && entityResolver instanceof DOMEntityResolverWrapper) { return ((DOMEntityResolverWrapper) entityResolver).getEntityResolver(); } return null; } else if (name.equals(Constants.DOM_SCHEMA_TYPE)) { return getProperty(Constants.JAXP_PROPERTY_PREFIX + Constants.SCHEMA_LANGUAGE); } else if (name.equals(Constants.DOM_SCHEMA_LOCATION)) { return getProperty(Constants.JAXP_PROPERTY_PREFIX + Constants.SCHEMA_SOURCE); } else if (name.equals(SYMBOL_TABLE)){ return getProperty(SYMBOL_TABLE); } else if (name.equals(GRAMMAR_POOL)){ return getProperty(GRAMMAR_POOL); } else { String msg = DOMMessageFormatter.formatMessage( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_FOUND", new Object[] { name }); throw new DOMException(DOMException.NOT_FOUND_ERR, msg); } } | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/f00018a29b68d07b04fbc24df9c69aaca3f6bfc4/DOMConfigurationImpl.java/clean/src/org/apache/xerces/dom/DOMConfigurationImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
5575,
12,
780,
508,
13,
1216,
4703,
503,
288,
202,
202,
759,
2438,
26780,
1285,
30,
7776,
4198,
3128,
4703,
511,
23,
805,
4467,
1338,
18,
202,
202,
759,
1850,
9637,
486,
4671,
21431,
1139,
264,
764,
4467,
18,
202,
202,
430,
261,
529,
18,
14963,
12,
2918,
18,
8168,
67,
12200,
55,
3719,
288,
1082,
202,
2463,
14015,
7139,
473,
19400,
55,
13,
480,
374,
13,
692,
3411,
18,
18724,
294,
3411,
18,
21053,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
529,
18,
14963,
12,
2918,
18,
8168,
67,
11368,
55,
3719,
288,
1082,
202,
2463,
261,
7139,
473,
18494,
55,
13,
480,
374,
692,
3411,
18,
18724,
294,
3411,
18,
21053,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
529,
18,
14963,
12,
2918,
18,
8168,
67,
11102,
789,
1738,
67,
15480,
25084,
3719,
288,
1082,
202,
759,
2438,
26780,
1285,
30,
11172,
17,
6130,
1588,
1338,
5530,
5426,
309,
3379,
353,
603,
1082,
202,
2463,
261,
7139,
473,
10696,
15480,
25084,
13,
480,
374,
692,
3411,
18,
18724,
294,
3411,
18,
21053,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
529,
18,
14963,
12,
2918,
18,
8168,
67,
18375,
67,
19082,
55,
3719,
288,
1082,
202,
2463,
261,
7139,
473,
28294,
13,
480,
374,
692,
3411,
18,
18724,
294,
3411,
18,
21053,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
529,
18,
14963,
12,
2918,
18,
8168,
67,
2222,
25673,
3719,
288,
1082,
202,
2463,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
5575,
12,
780,
508,
13,
1216,
4703,
503,
288,
202,
202,
759,
2438,
26780,
1285,
30,
7776,
4198,
3128,
4703,
511,
23,
805,
4467,
1338,
18,
202,
202,
759,
1850,
9637,
486,
4671,
21431,
1139,
264,
764,
4467,
18,
202,
202,
430,
261,
529,
18,
14963,
12,
2918,
18,
8168,
67,
12200,
55,
3719,
288,
1082,
202,
2463,
14015,
7139,
473,
19400,
55,
13,
480,
374,
13,
692,
3411,
18,
18724,
294,
3411,
18,
21053,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
529,
18,
14963,
12,
2918,
18,
8168,
67,
11368,
55,
3719,
288,
1082,
202,
2463,
261,
7139,
473,
18494,
55,
13,
480,
374,
692,
3411,
18,
18724,
294,
3411,
18,
21053,
2
] |
public void mT51() throws RecognitionException { int T51_StartIndex = input.index(); try { int type = T51; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; if ( backtracking>0 && alreadyParsedRule(input, 37) ) { return ; } // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:42:7: ( '||' ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:42:7: '||' { match("||"); if (failed) return ; } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} } finally { if ( backtracking>0 ) { memoize(input, 37, T51_StartIndex); } } } | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/7f81b86a0f548bd02b09afc74b46454cdf158154/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
21115,
10593,
1435,
1216,
9539,
288,
3639,
509,
399,
10593,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
399,
10593,
31,
5411,
509,
787,
273,
23577,
1016,
5621,
5411,
509,
980,
273,
9851,
5621,
5411,
509,
1149,
2555,
273,
23577,
2555,
382,
1670,
5621,
5411,
509,
1904,
273,
3155,
18,
5280,
67,
15814,
31,
5411,
309,
261,
6888,
34,
20,
597,
1818,
11257,
2175,
12,
2630,
16,
18091,
13,
262,
288,
327,
274,
289,
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,
9452,
30,
27,
30,
261,
6699,
16637,
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,
9452,
30,
27,
30,
6699,
16637,
5411,
288,
5411,
845,
2932,
20081,
8863,
309,
261,
7307,
13,
327,
274,
5411,
289,
5411,
309,
261,
1147,
631,
2011,
262,
288,
18356,
12,
723,
16,
1369,
16,
3001,
2555,
16,
4327,
16,
1937,
16,
588,
2156,
1016,
1435,
17,
21,
1769,
97,
3639,
289,
3639,
3095,
288,
5411,
309,
261,
6888,
34,
20,
262,
288,
27820,
12,
2630,
16,
18091,
16,
399,
10593,
67,
16792,
1769,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
21115,
10593,
1435,
1216,
9539,
288,
3639,
509,
399,
10593,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
399,
10593,
31,
5411,
509,
787,
273,
23577,
1016,
5621,
5411,
509,
980,
273,
9851,
5621,
5411,
509,
1149,
2555,
273,
23577,
2555,
382,
1670,
5621,
5411,
509,
1904,
273,
3155,
18,
5280,
67,
15814,
31,
5411,
309,
261,
6888,
34,
20,
597,
1818,
11257,
2175,
12,
2630,
16,
18091,
13,
262,
288,
327,
274,
289,
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,
9452,
30,
2
] | ||
super(HandleTunnelMessageJob.this._context); | super(HandleTunnelMessageJob.this.getContext()); | public HandleGatewayMessageJob(I2NPMessage body, TunnelInfo tunnel, int length) { super(HandleTunnelMessageJob.this._context); _body = body; _length = length; _info = tunnel; } | 45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/e737e5c9507ed0d463dc9e45a8f63657f466b177/HandleTunnelMessageJob.java/clean/router/java/src/net/i2p/router/message/HandleTunnelMessageJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
5004,
5197,
1079,
2278,
12,
45,
22,
23430,
1079,
1417,
16,
399,
8564,
966,
14825,
16,
509,
769,
13,
288,
5411,
2240,
12,
3259,
20329,
1079,
2278,
18,
2211,
18,
29120,
10663,
5411,
389,
3432,
273,
1417,
31,
5411,
389,
2469,
273,
769,
31,
5411,
389,
1376,
273,
14825,
31,
3639,
289,
2,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
5004,
5197,
1079,
2278,
12,
45,
22,
23430,
1079,
1417,
16,
399,
8564,
966,
14825,
16,
509,
769,
13,
288,
5411,
2240,
12,
3259,
20329,
1079,
2278,
18,
2211,
18,
29120,
10663,
5411,
389,
3432,
273,
1417,
31,
5411,
389,
2469,
273,
769,
31,
5411,
389,
1376,
273,
14825,
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,
-100
] |
public boolean isApplicationClass(JavaClass cls) { return subtypes.isApplicationClass(cls); } | public abstract boolean isApplicationClass(JavaClass cls); | public boolean isApplicationClass(JavaClass cls) { return subtypes.isApplicationClass(cls); } | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/997c2d915e1856ef1e91dd0c00a79abea575fcfb/AnalysisContext.java/clean/findbugs/src/java/edu/umd/cs/findbugs/ba/AnalysisContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
3208,
797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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
3208,
797,
12,
5852,
797,
2028,
13,
288,
202,
202,
2463,
720,
2352,
18,
291,
3208,
797,
12,
6429,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (layout != null) | if (layout != null) { | protected void configureShell(Shell newShell) { // The single image version of this code had a comment related to bug // 46624, // and some code that did nothing if the stored image was already // disposed. // The equivalent in the multi-image version seems to be to remove the // disposed images from the array passed to the shell. if (defaultImages != null && defaultImages.length > 0) { ArrayList nonDisposedImages = new ArrayList(defaultImages.length); for (int i = 0; i < defaultImages.length; ++i) if (defaultImages[i] != null && !defaultImages[i].isDisposed()) nonDisposedImages.add(defaultImages[i]); if (nonDisposedImages.size() <= 0) System.err.println("Window.configureShell: images disposed"); //$NON-NLS-1$ else { Image[] array = new Image[nonDisposedImages.size()]; nonDisposedImages.toArray(array); newShell.setImages(array); } } Layout layout = getLayout(); if (layout != null) newShell.setLayout(layout); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/391f2606b4ea2c1fb5052d938ca90877ee7631f6/Window.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/window/Window.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
5068,
13220,
12,
13220,
394,
13220,
13,
288,
202,
202,
759,
1021,
2202,
1316,
1177,
434,
333,
981,
9323,
279,
2879,
3746,
358,
7934,
202,
202,
759,
1059,
6028,
3247,
16,
202,
202,
759,
471,
2690,
981,
716,
5061,
5083,
309,
326,
4041,
1316,
1703,
1818,
202,
202,
759,
1015,
7423,
18,
202,
202,
759,
1021,
7680,
316,
326,
3309,
17,
2730,
1177,
12001,
358,
506,
358,
1206,
326,
202,
202,
759,
1015,
7423,
4602,
628,
326,
526,
2275,
358,
326,
5972,
18,
202,
202,
430,
261,
1886,
8946,
480,
446,
597,
805,
8946,
18,
2469,
405,
374,
13,
288,
1082,
202,
19558,
1661,
1669,
7423,
8946,
273,
394,
2407,
12,
1886,
8946,
18,
2469,
1769,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
805,
8946,
18,
2469,
31,
965,
77,
13,
9506,
202,
430,
261,
1886,
8946,
63,
77,
65,
480,
446,
597,
401,
1886,
8946,
63,
77,
8009,
291,
1669,
7423,
10756,
6862,
202,
5836,
1669,
7423,
8946,
18,
1289,
12,
1886,
8946,
63,
77,
19226,
1082,
202,
430,
261,
5836,
1669,
7423,
8946,
18,
1467,
1435,
1648,
374,
13,
9506,
202,
3163,
18,
370,
18,
8222,
2932,
3829,
18,
14895,
13220,
30,
4602,
1015,
7423,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
12107,
288,
9506,
202,
2040,
8526,
526,
273,
394,
3421,
63,
5836,
1669,
7423,
8946,
18,
1467,
1435,
15533,
9506,
202,
5836,
1669,
7423,
8946,
18,
31447,
12,
1126,
1769,
9506,
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,
5068,
13220,
12,
13220,
394,
13220,
13,
288,
202,
202,
759,
1021,
2202,
1316,
1177,
434,
333,
981,
9323,
279,
2879,
3746,
358,
7934,
202,
202,
759,
1059,
6028,
3247,
16,
202,
202,
759,
471,
2690,
981,
716,
5061,
5083,
309,
326,
4041,
1316,
1703,
1818,
202,
202,
759,
1015,
7423,
18,
202,
202,
759,
1021,
7680,
316,
326,
3309,
17,
2730,
1177,
12001,
358,
506,
358,
1206,
326,
202,
202,
759,
1015,
7423,
4602,
628,
326,
526,
2275,
358,
326,
5972,
18,
202,
202,
430,
261,
1886,
8946,
480,
446,
597,
805,
8946,
18,
2469,
405,
374,
13,
288,
1082,
202,
19558,
1661,
1669,
7423,
8946,
273,
394,
2407,
12,
1886,
8946,
18,
2469,
2
] |
assertEquals("##SAfe0014", rsmd.getTableName(1)); | assertEquals("#SAfe0014", rsmd.getTableName(1)); | public void testPreparedAndCallableCursors0014() throws Exception { Statement stmt = con.createStatement(); stmt.executeUpdate("CREATE TABLE ##SAfe0014(id INT PRIMARY KEY)"); stmt.executeUpdate("INSERT INTO ##SAfe0014 VALUES (1)"); stmt.executeUpdate("CREATE PROCEDURE #sp_SAfe0014(@P1 INT, @P2 INT) AS " + "SELECT id, @P2 FROM ##SAfe0014 WHERE id=@P1"); stmt.close(); PreparedStatement ps = con.prepareStatement("SELECT id FROM ##SAfe0014", ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); ResultSet resultSet = ps.executeQuery(); // No warnings assertEquals(null, resultSet.getWarnings()); assertEquals(null, ps.getWarnings()); // Correct ResultSet assertTrue(resultSet.next()); assertEquals(1, resultSet.getInt(1)); assertTrue(!resultSet.next()); // Correct meta data ResultSetMetaData rsmd = resultSet.getMetaData(); assertEquals("id", rsmd.getColumnName(1)); assertEquals("##SAfe0014", rsmd.getTableName(1)); // Insert row resultSet.moveToInsertRow(); resultSet.updateInt(1, 2); resultSet.insertRow(); resultSet.moveToCurrentRow(); // Check correct row count resultSet.last(); assertEquals(2, resultSet.getRow()); resultSet.close(); ps.close(); ps = con.prepareStatement("SELECT id, ? FROM ##SAfe0014 WHERE id = ?", ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); ps.setInt(1, 5); ps.setInt(2, 1); resultSet = ps.executeQuery(); // No warnings assertEquals(null, resultSet.getWarnings()); assertEquals(null, ps.getWarnings()); // Correct ResultSet assertTrue(resultSet.next()); assertEquals(1, resultSet.getInt(1)); assertEquals(5, resultSet.getInt(2)); assertTrue(!resultSet.next()); // Correct meta data rsmd = resultSet.getMetaData(); assertEquals("id", rsmd.getColumnName(1)); assertEquals("##SAfe0014", rsmd.getTableName(1)); resultSet.close(); ps.close(); CallableStatement cs = con.prepareCall("{call #sp_SAfe0014(?,?)}", ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); cs.setInt(1, 1); cs.setInt(2, 3); resultSet = cs.executeQuery(); // No warnings assertEquals(null, resultSet.getWarnings()); assertEquals(null, cs.getWarnings()); // Correct ResultSet assertTrue(resultSet.next()); assertEquals(1, resultSet.getInt(1)); assertEquals(3, resultSet.getInt(2)); assertTrue(!resultSet.next()); // Correct meta data rsmd = resultSet.getMetaData(); assertEquals("id", rsmd.getColumnName(1)); assertEquals("##SAfe0014", rsmd.getTableName(1)); resultSet.close(); cs.close(); } | 439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/94384c8c0e9119cf0723288e9c58f679e0b99097/SAfeTest.java/buggy/trunk/jtds/src/test/net/sourceforge/jtds/test/SAfeTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
15464,
1876,
11452,
2408,
87,
1383,
713,
3461,
1435,
1216,
1185,
288,
3639,
8056,
3480,
273,
356,
18,
2640,
3406,
5621,
3639,
3480,
18,
8837,
1891,
2932,
9344,
7567,
7541,
5233,
3030,
713,
3461,
12,
350,
6137,
20058,
5311,
2225,
1769,
3639,
3480,
18,
8837,
1891,
2932,
11356,
12421,
7541,
5233,
3030,
713,
3461,
13477,
261,
21,
2225,
1769,
3639,
3480,
18,
8837,
1891,
2932,
9344,
4629,
23552,
4830,
468,
1752,
67,
5233,
3030,
713,
3461,
26964,
52,
21,
6137,
16,
632,
52,
22,
6137,
13,
5355,
315,
21821,
397,
315,
4803,
612,
16,
632,
52,
22,
4571,
7541,
5233,
3030,
713,
3461,
4852,
612,
33,
36,
52,
21,
8863,
3639,
3480,
18,
4412,
5621,
3639,
16913,
4250,
273,
356,
18,
9366,
3406,
2932,
4803,
612,
4571,
7541,
5233,
3030,
713,
3461,
3113,
4766,
10792,
10842,
18,
2399,
67,
2312,
14555,
67,
26753,
16325,
16,
4766,
10792,
10842,
18,
2248,
7509,
67,
3079,
11102,
2782,
1769,
3639,
10842,
12168,
273,
4250,
18,
8837,
1138,
5621,
3639,
368,
2631,
5599,
3639,
1815,
8867,
12,
2011,
16,
12168,
18,
588,
4312,
10663,
3639,
1815,
8867,
12,
2011,
16,
4250,
18,
588,
4312,
10663,
3639,
368,
30626,
10842,
3639,
1815,
5510,
12,
2088,
694,
18,
4285,
10663,
3639,
1815,
8867,
12,
21,
16,
12168,
18,
588,
1702,
12,
21,
10019,
3639,
1815,
5510,
12,
5,
2088,
694,
18,
4285,
10663,
3639,
368,
30626,
2191,
501,
3639,
10842,
6998,
3597,
1264,
273,
12168,
18,
588,
6998,
5621,
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,
15464,
1876,
11452,
2408,
87,
1383,
713,
3461,
1435,
1216,
1185,
288,
3639,
8056,
3480,
273,
356,
18,
2640,
3406,
5621,
3639,
3480,
18,
8837,
1891,
2932,
9344,
7567,
7541,
5233,
3030,
713,
3461,
12,
350,
6137,
20058,
5311,
2225,
1769,
3639,
3480,
18,
8837,
1891,
2932,
11356,
12421,
7541,
5233,
3030,
713,
3461,
13477,
261,
21,
2225,
1769,
3639,
3480,
18,
8837,
1891,
2932,
9344,
4629,
23552,
4830,
468,
1752,
67,
5233,
3030,
713,
3461,
26964,
52,
21,
6137,
16,
632,
52,
22,
6137,
13,
5355,
315,
21821,
397,
315,
4803,
612,
16,
632,
52,
22,
4571,
7541,
5233,
3030,
713,
3461,
4852,
612,
33,
36,
52,
21,
8863,
3639,
3480,
18,
4412,
5621,
2
] |
if (pchar == tchar) | if (pchar == tchar) { | protected boolean regExpRegionMatches(String text, int tStart, String p, int pStart, int plen) { while (plen-- > 0) { char tchar = text.charAt(tStart++); char pchar = p.charAt(pStart++); /* process wild cards */ if (!fIgnoreWildCards) { /* skip single wild cards */ if (pchar == fSingleWildCard) { continue; } } if (pchar == tchar) continue; if (fIgnoreCase) { if (Character.toUpperCase(tchar) == Character .toUpperCase(pchar)) continue; // comparing after converting to upper case doesn't handle all // cases; // also compare after converting to lower case if (Character.toLowerCase(tchar) == Character .toLowerCase(pchar)) continue; } return false; } return true; } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/StringMatcher.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/StringMatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
31223,
5165,
6869,
12,
780,
977,
16,
509,
268,
1685,
16,
514,
293,
16,
1082,
202,
474,
293,
1685,
16,
509,
886,
275,
13,
288,
202,
202,
17523,
261,
28907,
413,
405,
374,
13,
288,
1082,
202,
3001,
268,
3001,
273,
977,
18,
3001,
861,
12,
88,
1685,
9904,
1769,
1082,
202,
3001,
293,
3001,
273,
293,
18,
3001,
861,
12,
84,
1685,
9904,
1769,
1082,
202,
20308,
1207,
23578,
18122,
1195,
1082,
202,
430,
16051,
74,
3777,
59,
545,
30492,
13,
288,
9506,
202,
20308,
2488,
2202,
23578,
18122,
1195,
9506,
202,
430,
261,
84,
3001,
422,
284,
5281,
59,
545,
6415,
13,
288,
6862,
202,
17143,
31,
9506,
202,
97,
1082,
202,
97,
1082,
202,
430,
261,
84,
3001,
422,
268,
3001,
13,
9506,
202,
17143,
31,
1082,
202,
430,
261,
74,
5556,
13,
288,
9506,
202,
430,
261,
7069,
18,
869,
8915,
12,
88,
3001,
13,
422,
6577,
25083,
202,
18,
869,
8915,
12,
84,
3001,
3719,
6862,
202,
17143,
31,
9506,
202,
759,
17553,
1839,
14540,
358,
3854,
648,
3302,
1404,
1640,
777,
9506,
202,
759,
6088,
31,
9506,
202,
759,
2546,
3400,
1839,
14540,
358,
2612,
648,
9506,
202,
430,
261,
7069,
18,
869,
5630,
12,
88,
3001,
13,
422,
6577,
25083,
202,
18,
869,
5630,
12,
84,
3001,
3719,
6862,
202,
17143,
31,
1082,
202,
97,
1082,
202,
2463,
629,
31,
202,
202,
97,
202,
202,
2463,
638,
31,
202,
97,
2,
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,
1,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
31223,
5165,
6869,
12,
780,
977,
16,
509,
268,
1685,
16,
514,
293,
16,
1082,
202,
474,
293,
1685,
16,
509,
886,
275,
13,
288,
202,
202,
17523,
261,
28907,
413,
405,
374,
13,
288,
1082,
202,
3001,
268,
3001,
273,
977,
18,
3001,
861,
12,
88,
1685,
9904,
1769,
1082,
202,
3001,
293,
3001,
273,
293,
18,
3001,
861,
12,
84,
1685,
9904,
1769,
1082,
202,
20308,
1207,
23578,
18122,
1195,
1082,
202,
430,
16051,
74,
3777,
59,
545,
30492,
13,
288,
9506,
202,
20308,
2488,
2202,
23578,
18122,
1195,
9506,
202,
430,
261,
84,
3001,
422,
284,
5281,
59,
545,
6415,
13,
288,
6862,
202,
17143,
31,
9506,
202,
97,
1082,
202,
97,
2
] |
IWorkbenchPartReference ref = editorPresentation.getVisibleEditor(); if (ref instanceof WorkbenchPartReference) { WorkbenchPartReference concreteRef = (WorkbenchPartReference) ref; concreteRef.setPinned(concreteRef.isPinned()); } | IWorkbenchPartReference ref = editorPresentation .getVisibleEditor(); if (ref instanceof WorkbenchPartReference) { WorkbenchPartReference concreteRef = (WorkbenchPartReference) ref; concreteRef.setPinned(concreteRef.isPinned()); } | public final Object execute(final ExecutionEvent event) { // check if the "Close editors automatically" preference is // set if (WorkbenchPlugin.getDefault().getPreferenceStore() .getBoolean( IPreferenceConstants.REUSE_EDITORS_BOOLEAN)) { IWorkbenchPartReference ref = editorPresentation.getVisibleEditor(); if (ref instanceof WorkbenchPartReference) { WorkbenchPartReference concreteRef = (WorkbenchPartReference) ref; concreteRef.setPinned(concreteRef.isPinned()); } } return null; } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/f1c8b0aa355c00a6c82a289c808984de6778bfca/EditorManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditorManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
727,
1033,
1836,
12,
6385,
8687,
1133,
871,
13,
288,
6862,
202,
759,
866,
309,
326,
315,
4605,
29431,
6635,
6,
11555,
353,
6862,
202,
759,
444,
6862,
202,
430,
261,
2421,
22144,
3773,
18,
588,
1868,
7675,
588,
9624,
2257,
1435,
6862,
1082,
202,
18,
588,
5507,
12,
6862,
6862,
202,
45,
9624,
2918,
18,
862,
8001,
67,
13208,
55,
67,
17900,
3719,
288,
4766,
7734,
467,
2421,
22144,
1988,
2404,
1278,
273,
4858,
6351,
367,
18,
588,
6207,
6946,
5621,
13491,
309,
261,
1734,
1276,
4147,
22144,
1988,
2404,
13,
288,
18701,
4147,
22144,
1988,
2404,
12220,
1957,
273,
261,
2421,
22144,
1988,
2404,
13,
1278,
31,
4766,
13491,
12220,
1957,
18,
542,
12178,
11748,
12,
23470,
1957,
18,
291,
12178,
11748,
10663,
13491,
289,
6862,
202,
97,
6862,
202,
2463,
446,
31,
9506,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
727,
1033,
1836,
12,
6385,
8687,
1133,
871,
13,
288,
6862,
202,
759,
866,
309,
326,
315,
4605,
29431,
6635,
6,
11555,
353,
6862,
202,
759,
444,
6862,
202,
430,
261,
2421,
22144,
3773,
18,
588,
1868,
7675,
588,
9624,
2257,
1435,
6862,
1082,
202,
18,
588,
5507,
12,
6862,
6862,
202,
45,
9624,
2918,
18,
862,
8001,
67,
13208,
55,
67,
17900,
3719,
288,
4766,
7734,
467,
2421,
22144,
1988,
2404,
1278,
273,
4858,
6351,
367,
18,
588,
6207,
6946,
5621,
13491,
309,
261,
1734,
1276,
4147,
22144,
1988,
2404,
13,
288,
18701,
4147,
22144,
1988,
2404,
12220,
1957,
273,
261,
2421,
22144,
1988,
2404,
13,
1278,
31,
4766,
13491,
12220,
1957,
18,
542,
12178,
2
] |
patoken = (PAToken) data[0]; if (! (patoken.type == PAToken.KEY)) { throw new PainterException("where: wrong arguments"); } foundObject = context.findDictionary(patoken.value); if (foundObject != null) { context.operands.push(foundObject); context.operands.push(new Boolean(true)); } else { context.operands.push(new Boolean(false)); | catch (EmptyStackException e) { throw new PainterException("Dictionary stack is empty"); | public void execute(PAContext context) throws PainterException { Object data[], foundObject; PAToken patoken; data = context.popOperands(1); if (! (data[0] instanceof PAToken)) { throw new PainterException("where: wrong arguments"); } patoken = (PAToken) data[0]; if (! (patoken.type == PAToken.KEY)) { throw new PainterException("where: wrong arguments"); } foundObject = context.findDictionary(patoken.value); if (foundObject != null) { context.operands.push(foundObject); context.operands.push(new Boolean(true)); } else { context.operands.push(new Boolean(false)); } } | 6653 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6653/847947ee757ac47e8514ce31066d7b04585dcfbb/PAContext.java/buggy/src/com/lowagie/text/pdf/codec/postscript/PAContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1836,
12,
4066,
1042,
819,
13,
1216,
453,
11606,
503,
288,
3639,
1033,
501,
63,
6487,
1392,
921,
31,
3639,
17988,
969,
9670,
969,
31,
3639,
501,
273,
819,
18,
5120,
3542,
5708,
12,
21,
1769,
3639,
309,
16051,
261,
892,
63,
20,
65,
1276,
17988,
969,
3719,
288,
1850,
604,
394,
453,
11606,
503,
2932,
6051,
30,
7194,
1775,
8863,
3639,
289,
3639,
9670,
969,
273,
261,
8592,
969,
13,
501,
63,
20,
15533,
3639,
309,
16051,
261,
16330,
969,
18,
723,
422,
17988,
969,
18,
3297,
3719,
288,
1850,
604,
394,
453,
11606,
503,
2932,
6051,
30,
7194,
1775,
8863,
3639,
289,
3639,
1392,
921,
273,
819,
18,
4720,
10905,
12,
16330,
969,
18,
1132,
1769,
3639,
309,
261,
7015,
921,
480,
446,
13,
288,
1850,
819,
18,
4063,
5708,
18,
6206,
12,
7015,
921,
1769,
1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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1836,
12,
4066,
1042,
819,
13,
1216,
453,
11606,
503,
288,
3639,
1033,
501,
63,
6487,
1392,
921,
31,
3639,
17988,
969,
9670,
969,
31,
3639,
501,
273,
819,
18,
5120,
3542,
5708,
12,
21,
1769,
3639,
309,
16051,
261,
892,
63,
20,
65,
1276,
17988,
969,
3719,
288,
1850,
604,
394,
453,
11606,
503,
2932,
6051,
30,
7194,
1775,
8863,
3639,
289,
3639,
9670,
969,
273,
261,
8592,
969,
13,
501,
63,
20,
15533,
3639,
309,
16051,
261,
16330,
969,
18,
723,
422,
17988,
969,
18,
3297,
3719,
288,
1850,
604,
394,
453,
11606,
503,
2932,
6051,
30,
7194,
1775,
8863,
3639,
289,
3639,
1392,
921,
273,
819,
18,
4720,
10905,
12,
16330,
969,
18,
2
] |
private void verifyProjectFiltering( String groupId, String artifactId, String inclusionPattern, String exclusionPattern, List depTrail, boolean verifyInclusion ) { ProjectWithArtifactMockControl pmac = new ProjectWithArtifactMockControl( groupId, artifactId, depTrail ); mockManager.replayAll(); // make sure the mock is satisfied...you can't disable this expectation. pmac.mac.artifact.getDependencyConflictId(); Set projects = new HashSet(); projects.add( pmac ); List inclusions; if ( inclusionPattern != null ) { inclusions = Collections.singletonList( inclusionPattern ); } else { inclusions = Collections.EMPTY_LIST; } List exclusions; if ( exclusionPattern != null ) { exclusions = Collections.singletonList( exclusionPattern ); } else { exclusions = Collections.EMPTY_LIST; } Logger logger = new ConsoleLogger( Logger.LEVEL_DEBUG, "test" ); FilterUtils.filterProjects( projects, inclusions, exclusions, depTrail != null, logger ); if ( verifyInclusion ) { assertEquals( 1, projects.size() ); assertEquals( pmac.getId(), ((MavenProject) projects.iterator().next()).getId() ); } else { assertTrue( projects.isEmpty() ); } mockManager.verifyAll(); // get ready for multiple calls per test. mockManager.clear(); } | 7444 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7444/70d891a8e6f332fc2ed44b13fa0bcdf93310c57f/FilterUtilsTest.java/buggy/maven-assembly-plugin/src/test/java/org/apache/maven/plugin/assembly/utils/FilterUtilsTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3929,
4109,
30115,
12,
514,
6612,
16,
514,
25496,
16,
514,
26485,
3234,
16,
514,
21244,
3234,
16,
987,
5993,
18107,
16,
1250,
3929,
382,
15335,
262,
565,
288,
3639,
5420,
1190,
7581,
9865,
3367,
293,
5821,
273,
394,
5420,
1190,
7581,
9865,
3367,
12,
6612,
16,
25496,
16,
5993,
18107,
11272,
3639,
5416,
1318,
18,
266,
1601,
1595,
5621,
7734,
368,
1221,
3071,
326,
5416,
353,
18958,
2777,
19940,
848,
1404,
4056,
333,
17733,
18,
3639,
293,
5821,
18,
5821,
18,
17706,
18,
588,
7787,
10732,
548,
5621,
3639,
1000,
10137,
273,
394,
6847,
5621,
3639,
10137,
18,
1289,
12,
293,
5821,
11272,
3639,
987,
2823,
16377,
31,
3639,
309,
261,
26485,
3234,
480,
446,
262,
3639,
288,
5411,
2823,
16377,
273,
5737,
18,
24487,
682,
12,
26485,
3234,
11272,
3639,
289,
3639,
469,
3639,
288,
5411,
2823,
16377,
273,
5737,
18,
13625,
67,
7085,
31,
3639,
289,
3639,
987,
29523,
31,
3639,
309,
261,
21244,
3234,
480,
446,
262,
3639,
288,
5411,
29523,
273,
5737,
18,
24487,
682,
12,
21244,
3234,
11272,
3639,
289,
3639,
469,
3639,
288,
5411,
29523,
273,
5737,
18,
13625,
67,
7085,
31,
3639,
289,
3639,
4242,
1194,
273,
394,
9657,
3328,
12,
4242,
18,
10398,
67,
9394,
16,
315,
3813,
6,
11272,
7734,
4008,
1989,
18,
2188,
15298,
12,
10137,
16,
2823,
16377,
16,
29523,
16,
5993,
18107,
480,
446,
16,
1194,
11272,
3639,
309,
261,
3929,
382,
15335,
262,
3639,
288,
5411,
1815,
8867,
12,
404,
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,
3929,
4109,
30115,
12,
514,
6612,
16,
514,
25496,
16,
514,
26485,
3234,
16,
514,
21244,
3234,
16,
987,
5993,
18107,
16,
1250,
3929,
382,
15335,
262,
565,
288,
3639,
5420,
1190,
7581,
9865,
3367,
293,
5821,
273,
394,
5420,
1190,
7581,
9865,
3367,
12,
6612,
16,
25496,
16,
5993,
18107,
11272,
3639,
5416,
1318,
18,
266,
1601,
1595,
5621,
7734,
368,
1221,
3071,
326,
5416,
353,
18958,
2777,
19940,
848,
1404,
4056,
333,
17733,
18,
3639,
293,
5821,
18,
5821,
18,
17706,
18,
588,
7787,
10732,
548,
5621,
3639,
1000,
10137,
273,
394,
6847,
5621,
3639,
10137,
18,
1289,
12,
293,
5821,
11272,
3639,
987,
2823,
16377,
31,
3639,
309,
261,
26485,
3234,
480,
446,
2
] | ||
getTargetEditPart().showTargetFeedback(getSourceRequest()); | setFlag(FLAG_TARGET_FEEDBACK, true); getTargetEditPart().showTargetFeedback(getSourceRequest()); | protected void showTargetFeedback() { if (getTargetEditPart() != null) getTargetEditPart().showTargetFeedback(getSourceRequest());} | 11225 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11225/2fc4d68dee8215e7a6f42b2babda798c8f770c0f/ResizeTracker.java/buggy/org.eclipse.gef/src/org/eclipse/gef/tools/ResizeTracker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
2405,
2326,
15888,
1435,
288,
202,
430,
261,
588,
2326,
4666,
1988,
1435,
480,
446,
13,
202,
202,
588,
2326,
4666,
1988,
7675,
4500,
2326,
15888,
12,
588,
1830,
691,
10663,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
2405,
2326,
15888,
1435,
288,
202,
430,
261,
588,
2326,
4666,
1988,
1435,
480,
446,
13,
202,
202,
588,
2326,
4666,
1988,
7675,
4500,
2326,
15888,
12,
588,
1830,
691,
10663,
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
] |
updateIcon(null); | private synchronized void addImpl() { if (! nativePeerExists) //we only want to add this tray icon to the Status Bar once { //initialize all needed native resources nsStatusItemWrapperPointer = createStatusItem(); updateIcon(null); setTitleNative(nsStatusItemWrapperPointer, caption); setToolTipNative(nsStatusItemWrapperPointer, toolTipText); nativePeerExists = true; } } | 4416 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4416/fa0f18ad6aa85ba5d245f426c46cfda005cccd9e/MacTrayIconService.java/clean/src/jdic/src/mac_os_x/classes/org/jdesktop/jdic/tray/internal/impl/MacTrayIconService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
918,
527,
2828,
1435,
565,
288,
3639,
309,
16051,
6448,
6813,
4002,
13,
368,
1814,
1338,
2545,
358,
527,
333,
268,
435,
4126,
358,
326,
2685,
16654,
3647,
3639,
288,
5411,
368,
11160,
777,
3577,
6448,
2703,
5411,
3153,
1482,
1180,
3611,
4926,
273,
752,
1482,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
918,
527,
2828,
1435,
565,
288,
3639,
309,
16051,
6448,
6813,
4002,
13,
368,
1814,
1338,
2545,
358,
527,
333,
268,
435,
4126,
358,
326,
2685,
16654,
3647,
3639,
288,
5411,
368,
11160,
777,
3577,
6448,
2703,
5411,
3153,
1482,
1180,
3611,
4926,
273,
752,
1482,
1180,
5621,
13491,
14109,
9220,
12,
2387,
1482,
1180,
3611,
4926,
16,
11006,
1769,
5411,
444,
29250,
9220,
12,
2387,
1482,
1180,
3611,
4926,
16,
5226,
14189,
1528,
1769,
5411,
6448,
6813,
4002,
273,
638,
31,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] | |
{ LdapDN dn = new LdapDN( "a = b" ); LdapDN dn2 = new LdapDN(); dn.addAll( dn2 ); Assert.assertEquals( "a=b", dn.toString() ); Assert.assertEquals( "a = b", dn.getUpName() ); } | { LdapDN dn = new LdapDN( "a = b" ); LdapDN dn2 = new LdapDN(); dn.addAll( dn2 ); Assert.assertEquals( "a=b", dn.toString() ); Assert.assertEquals( "a = b", dn.getUpName() ); } | public void testLdapDNAddAllAddedNameEmpty() throws InvalidNameException { LdapDN dn = new LdapDN( "a = b" ); LdapDN dn2 = new LdapDN(); dn.addAll( dn2 ); Assert.assertEquals( "a=b", dn.toString() ); Assert.assertEquals( "a = b", dn.getUpName() ); } | 54578 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54578/34d16a3366af953bef4b3d5f4cf0e7c6bda29ba6/LdapDNTest.java/clean/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
18437,
8609,
986,
1595,
8602,
461,
1921,
1435,
1216,
1962,
26771,
565,
288,
3639,
18053,
8609,
8800,
273,
394,
18053,
8609,
12,
315,
69,
273,
324,
6,
11272,
3639,
18053,
8609,
8800,
22,
273,
394,
18053,
8609,
5621,
3639,
8800,
18,
1289,
1595,
12,
8800,
22,
11272,
3639,
5452,
18,
11231,
8867,
12,
315,
69,
33,
70,
3113,
8800,
18,
10492,
1435,
11272,
3639,
5452,
18,
11231,
8867,
12,
315,
69,
273,
324,
3113,
8800,
18,
588,
1211,
461,
1435,
11272,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
273,
394,
18053,
8609,
5621,
3639,
8800,
18,
1289,
1595,
12,
8800,
22,
11272,
3639,
5452,
18,
11231,
8867,
12,
315,
69,
33,
70,
3113,
8800,
18,
10492,
1435,
11272,
3639,
5452,
18,
11231,
8867,
12,
315,
69,
273,
324,
3113,
8800,
18,
588,
1211,
461,
1435,
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
] |
Object[] args = new Object [] {refAttr, DOMUtil.getLocalName(child)}; reportSchemaError("src-attribute_group", args, child); | Object[] args = new Object [] {refAttr.rawname, "(annotation?)", DOMUtil.getLocalName(child)}; reportSchemaError("s4s-elt-must-match.1", args, child); | XSAttributeGroupDecl traverseLocal(Element elmNode, XSDocumentInfo schemaDoc, SchemaGrammar grammar) { // General Attribute Checking for elmNode declared locally Object[] attrValues = fAttrChecker.checkAttributes(elmNode, false, schemaDoc); // get attribute QName refAttr = (QName) attrValues[XSAttributeChecker.ATTIDX_REF]; XSAttributeGroupDecl attrGrp = null; // ref should be here. if (refAttr == null) { reportSchemaError("s4s-att-must-appear", new Object[]{"attributeGroup (local)", "ref"}, elmNode); fAttrChecker.returnAttrArray(attrValues, schemaDoc); return null; } // get global decl attrGrp = (XSAttributeGroupDecl)fSchemaHandler.getGlobalDecl(schemaDoc, XSDHandler.ATTRIBUTEGROUP_TYPE, refAttr, elmNode); // no children are allowed here except annotation, which is optional. Element child = DOMUtil.getFirstChildElement(elmNode); if (child != null) { String childName = DOMUtil.getLocalName(child); if (childName.equals(SchemaSymbols.ELT_ANNOTATION)) { traverseAnnotationDecl(child, attrValues, false, schemaDoc); child = DOMUtil.getNextSiblingElement(child); } if (child != null) { Object[] args = new Object [] {refAttr, DOMUtil.getLocalName(child)}; reportSchemaError("src-attribute_group", args, child); } } // if fAttrChecker.returnAttrArray(attrValues, schemaDoc); return attrGrp; } // traverseLocal | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/08452497d5ddc107ce0c88dafa4af418a8162487/XSDAttributeGroupTraverser.java/buggy/src/org/apache/xerces/impl/xs/traversers/XSDAttributeGroupTraverser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1139,
55,
1499,
1114,
3456,
10080,
2042,
12,
1046,
12531,
907,
16,
4766,
4202,
1139,
55,
2519,
966,
1963,
1759,
16,
4766,
4202,
4611,
18576,
6473,
13,
288,
3639,
368,
9544,
3601,
24471,
364,
12531,
907,
7886,
13760,
3639,
1033,
8526,
1604,
1972,
273,
284,
3843,
8847,
18,
1893,
2498,
12,
19597,
907,
16,
629,
16,
1963,
1759,
1769,
3639,
368,
336,
1566,
3639,
16723,
282,
1278,
3843,
202,
33,
261,
13688,
13,
282,
1604,
1972,
63,
60,
55,
1499,
8847,
18,
789,
56,
25647,
67,
10771,
15533,
3639,
1139,
55,
1499,
1114,
3456,
1604,
43,
13832,
273,
446,
31,
3639,
368,
1278,
1410,
506,
2674,
18,
3639,
309,
261,
1734,
3843,
422,
446,
13,
288,
5411,
2605,
3078,
668,
2932,
87,
24,
87,
17,
4558,
17,
11926,
17,
438,
17964,
3113,
394,
1033,
63,
7073,
6,
4589,
1114,
261,
3729,
2225,
16,
315,
1734,
6,
5779,
12531,
907,
1769,
5411,
284,
3843,
8847,
18,
2463,
3843,
1076,
12,
1747,
1972,
16,
1963,
1759,
1769,
5411,
327,
446,
31,
3639,
289,
3639,
368,
336,
2552,
3496,
3639,
1604,
43,
13832,
273,
261,
60,
55,
1499,
1114,
3456,
13,
74,
3078,
1503,
18,
588,
5160,
3456,
12,
4821,
1759,
16,
26462,
1503,
18,
11616,
8468,
67,
2399,
16,
1278,
3843,
16,
12531,
907,
1769,
3639,
368,
1158,
2325,
854,
2935,
2674,
1335,
3204,
16,
1492,
353,
3129,
18,
3639,
3010,
1151,
273,
4703,
1304,
18,
588,
3759,
1763,
1046,
12,
19597,
907,
1769,
3639,
309,
261,
3624,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1139,
55,
1499,
1114,
3456,
10080,
2042,
12,
1046,
12531,
907,
16,
4766,
4202,
1139,
55,
2519,
966,
1963,
1759,
16,
4766,
4202,
4611,
18576,
6473,
13,
288,
3639,
368,
9544,
3601,
24471,
364,
12531,
907,
7886,
13760,
3639,
1033,
8526,
1604,
1972,
273,
284,
3843,
8847,
18,
1893,
2498,
12,
19597,
907,
16,
629,
16,
1963,
1759,
1769,
3639,
368,
336,
1566,
3639,
16723,
282,
1278,
3843,
202,
33,
261,
13688,
13,
282,
1604,
1972,
63,
60,
55,
1499,
8847,
18,
789,
56,
25647,
67,
10771,
15533,
3639,
1139,
55,
1499,
1114,
3456,
1604,
43,
13832,
273,
446,
31,
3639,
368,
1278,
1410,
506,
2674,
18,
3639,
309,
261,
1734,
3843,
422,
446,
13,
288,
5411,
2605,
2
] |
addTime = rep.getJobEntryAttributeBoolean(id_jobentry, "arg_time"); | addTime = rep.getJobEntryAttributeBoolean(id_jobentry, "add_time"); | public void loadRep(Repository rep, long id_jobentry, ArrayList databases) throws KettleException { try { super.loadRep(rep, id_jobentry, databases); long id_transformation = rep.getJobEntryAttributeInteger(id_jobentry, "id_transformation"); Row r = rep.getTransformation(id_transformation); if (r==null) { if (r==null) { transname = rep.getJobEntryAttributeString(id_jobentry, "name"); String dirPath = rep.getJobEntryAttributeString(id_jobentry, "dir_path"); directory = rep.getDirectoryTree().findDirectory(dirPath); } else { transname = r.getString("NAME", null); long id_directory = r.getInteger("ID_DIRECTORY", 0L); if (id_directory>0) { directory = rep.getDirectoryTree().findDirectory(id_directory); } else { directory = rep.getDirectoryTree(); } } System.out.println("Loading transformation in directory ["+directory+"]"); } filename = rep.getJobEntryAttributeString(id_jobentry, "filename"); argFromPrevious = rep.getJobEntryAttributeBoolean(id_jobentry, "arg_from_previous"); setLogfile = rep.getJobEntryAttributeBoolean(id_jobentry, "set_logfile"); addDate = rep.getJobEntryAttributeBoolean(id_jobentry, "add_date"); addTime = rep.getJobEntryAttributeBoolean(id_jobentry, "arg_time"); logfile = rep.getJobEntryAttributeString(id_jobentry, "logfile"); logext = rep.getJobEntryAttributeString(id_jobentry, "logext"); loglevel = LogWriter.getLogLevel( rep.getJobEntryAttributeString(id_jobentry, "loglevel") ); // How many arguments? int argnr = rep.countNrJobEntryAttributes(id_jobentry, "argument"); arguments = new String[argnr]; // Read them all... for (int a=0;a<argnr;a++) { arguments[a]= rep.getJobEntryAttributeString(id_jobentry, a, "argument"); } } catch(KettleDatabaseException dbe) { throw new KettleException("Unable to load job entry of type transMeta from the repository for id_jobentry="+id_jobentry, dbe); } } | 58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/295072eb8d592773f7c8702e41e63a036c8d6c74/JobEntryTrans.java/clean/kettle/src/be/ibridge/kettle/job/entry/trans/JobEntryTrans.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1262,
18933,
12,
3305,
2071,
16,
1525,
612,
67,
4688,
4099,
16,
2407,
16358,
13,
1216,
1475,
278,
5929,
503,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
9565,
18,
945,
18933,
12,
14462,
16,
612,
67,
4688,
4099,
16,
16358,
1769,
25083,
202,
5748,
612,
67,
2338,
1471,
273,
2071,
18,
588,
2278,
1622,
1499,
4522,
12,
350,
67,
4688,
4099,
16,
315,
350,
67,
2338,
1471,
8863,
1082,
202,
1999,
436,
273,
2071,
18,
588,
15292,
12,
350,
67,
2338,
1471,
1769,
1082,
202,
430,
261,
86,
631,
2011,
13,
1875,
202,
95,
7734,
309,
261,
86,
631,
2011,
13,
7734,
288,
10792,
906,
529,
273,
2071,
18,
588,
2278,
1622,
1499,
780,
12,
350,
67,
4688,
4099,
16,
315,
529,
8863,
10792,
514,
15891,
273,
2071,
18,
588,
2278,
1622,
1499,
780,
12,
350,
67,
4688,
4099,
16,
315,
1214,
67,
803,
8863,
10792,
1867,
273,
2071,
18,
588,
2853,
2471,
7675,
4720,
2853,
12,
1214,
743,
1769,
7734,
289,
7734,
469,
7734,
288,
377,
9506,
202,
2338,
529,
273,
436,
18,
588,
780,
2932,
1985,
3113,
446,
1769,
377,
9506,
202,
5748,
612,
67,
5149,
273,
225,
436,
18,
588,
4522,
2932,
734,
67,
17229,
3113,
374,
48,
1769,
377,
9506,
202,
430,
261,
350,
67,
5149,
34,
20,
13,
377,
9506,
202,
95,
377,
6862,
202,
5149,
273,
2071,
18,
588,
2853,
2471,
7675,
4720,
2853,
12,
350,
67,
5149,
1769,
377,
9506,
202,
97,
377,
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,
1262,
18933,
12,
3305,
2071,
16,
1525,
612,
67,
4688,
4099,
16,
2407,
16358,
13,
1216,
1475,
278,
5929,
503,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
9565,
18,
945,
18933,
12,
14462,
16,
612,
67,
4688,
4099,
16,
16358,
1769,
25083,
202,
5748,
612,
67,
2338,
1471,
273,
2071,
18,
588,
2278,
1622,
1499,
4522,
12,
350,
67,
4688,
4099,
16,
315,
350,
67,
2338,
1471,
8863,
1082,
202,
1999,
436,
273,
2071,
18,
588,
15292,
12,
350,
67,
2338,
1471,
1769,
1082,
202,
430,
261,
86,
631,
2011,
13,
1875,
202,
95,
7734,
309,
261,
86,
631,
2011,
13,
7734,
288,
10792,
906,
529,
273,
2071,
18,
588,
2278,
1622,
2
] |
JspTag from, Class klass) | JspTag from, Class<?> klass) | public static final JspTag findAncestorWithClass( JspTag from, Class klass) { boolean isInterface = false; if (from == null || klass == null || (!JspTag.class.isAssignableFrom(klass) && !(isInterface = klass.isInterface()))) { return null; } for (;;) { JspTag parent = null; if( from instanceof SimpleTag ) { parent = ((SimpleTag)from).getParent(); } else if( from instanceof Tag ) { parent = ((Tag)from).getParent(); } if (parent == null) { return null; } if (parent instanceof TagAdapter) { parent = ((TagAdapter) parent).getAdaptee(); } if ((isInterface && klass.isInstance(parent)) || klass.isAssignableFrom(parent.getClass())) { return parent; } from = parent; } } | 46196 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46196/423b950886cf6e10fa1f9b4e3acf983689d7d1f5/SimpleTagSupport.java/clean/java/javax/servlet/jsp/tagext/SimpleTagSupport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
727,
19300,
1805,
1104,
15637,
1190,
797,
12,
202,
21796,
1805,
628,
16,
1659,
12880,
34,
7352,
13,
377,
288,
202,
6494,
21456,
273,
629,
31,
202,
430,
261,
2080,
422,
446,
747,
7352,
422,
446,
202,
3639,
747,
16051,
21796,
1805,
18,
1106,
18,
291,
7961,
1265,
12,
22626,
13,
1082,
565,
597,
401,
12,
291,
1358,
273,
7352,
18,
291,
1358,
1435,
20349,
288,
202,
565,
327,
446,
31,
202,
97,
202,
1884,
261,
25708,
13,
288,
202,
565,
19300,
1805,
982,
273,
446,
31,
202,
565,
309,
12,
628,
1276,
4477,
1805,
262,
288,
202,
202,
2938,
273,
14015,
5784,
1805,
13,
2080,
2934,
588,
3054,
5621,
202,
565,
289,
202,
565,
469,
309,
12,
628,
1276,
4034,
262,
288,
202,
202,
2938,
273,
14015,
1805,
13,
2080,
2934,
588,
3054,
5621,
202,
565,
289,
202,
565,
309,
261,
2938,
422,
446,
13,
288,
202,
202,
2463,
446,
31,
202,
565,
289,
202,
565,
309,
261,
2938,
1276,
4034,
4216,
13,
288,
202,
202,
2938,
273,
14015,
1805,
4216,
13,
982,
2934,
588,
13716,
1340,
5621,
202,
565,
289,
202,
565,
309,
14015,
291,
1358,
597,
7352,
18,
291,
1442,
12,
2938,
3719,
1082,
565,
747,
7352,
18,
291,
7961,
1265,
12,
2938,
18,
588,
797,
1435,
3719,
288,
202,
202,
2463,
982,
31,
202,
565,
289,
202,
565,
628,
273,
982,
31,
202,
97,
565,
289,
377,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
727,
19300,
1805,
1104,
15637,
1190,
797,
12,
202,
21796,
1805,
628,
16,
1659,
12880,
34,
7352,
13,
377,
288,
202,
6494,
21456,
273,
629,
31,
202,
430,
261,
2080,
422,
446,
747,
7352,
422,
446,
202,
3639,
747,
16051,
21796,
1805,
18,
1106,
18,
291,
7961,
1265,
12,
22626,
13,
1082,
565,
597,
401,
12,
291,
1358,
273,
7352,
18,
291,
1358,
1435,
20349,
288,
202,
565,
327,
446,
31,
202,
97,
202,
1884,
261,
25708,
13,
288,
202,
565,
19300,
1805,
982,
273,
446,
31,
202,
565,
309,
12,
628,
1276,
4477,
1805,
262,
288,
202,
202,
2938,
273,
14015,
5784,
1805,
13,
2080,
2934,
588,
3054,
5621,
202,
565,
289,
202,
565,
469,
2
] |
rlistener.addSequenceProperty(getKeywordsTerm(), kws[i].trim()); | rlistener.addSequenceProperty(Terms.getKeywordsTerm(), kws[i].trim()); | public boolean readRichSequence(BufferedReader reader, SymbolTokenization symParser, RichSeqIOListener rlistener, Namespace ns) throws IllegalSymbolException, IOException, ParseException { String line; boolean hasAnotherSequence = true; boolean hasInternalWhitespace = false; rlistener.startSequence(); if (ns==null) ns=RichObjectFactory.getDefaultNamespace(); rlistener.setNamespace(ns); // Get an ordered list of key->value pairs in array-tuples String sectionKey = null; NCBITaxon tax = null; String organism = null; String accession = null; do { List section = this.readSection(reader); sectionKey = ((String[])section.get(0))[0]; if(sectionKey == null){ throw new ParseException("Section key was null. Accession:"+ accession == null ? "Not set" : accession); } // process section-by-section if (sectionKey.equals(LOCUS_TAG)) { // entryname dataclass; [circular] molecule; division; sequencelength BP. String loc = ((String[])section.get(0))[1]; String regex = "^(\\S+)\\s+standard;\\s+(circular)?\\s*(\\S+);\\s+(\\S+);\\s+\\d+\\s+BP\\.$"; Pattern p = Pattern.compile(regex); Matcher m = p.matcher(loc); if (m.matches()) { rlistener.setName(m.group(1)); rlistener.setDivision(m.group(4)); rlistener.addSequenceProperty(getMolTypeTerm(),m.group(3)); // Optional extras String circular = m.group(2); if (circular!=null) rlistener.setCircular(true); } else { throw new ParseException("Bad ID line found: "+loc); } } else if (sectionKey.equals(DEFINITION_TAG)) { rlistener.setDescription(((String[])section.get(0))[1]); } else if (sectionKey.equals(SOURCE_TAG)) { // IGNORE - can get from first feature in feature table } else if (sectionKey.equals(DATE_TAG)) { String date = ((String[])section.get(0))[1].trim().substring(0,11); rlistener.addSequenceProperty(getModificationTerm(), date); } else if (sectionKey.equals(ACCESSION_TAG)) { // if multiple accessions, store only first as accession, // and store rest in annotation String[] accs = ((String[])section.get(0))[1].split(";"); accession = accs[0].trim(); rlistener.setAccession(accession); for (int i = 1; i < accs.length; i++) { rlistener.addSequenceProperty(getAccessionTerm(),accs[i].trim()); } } else if (sectionKey.equals(VERSION_TAG)) { String ver = ((String[])section.get(0))[1]; String regex = "^(\\S+?)\\.(\\d+)$"; Pattern p = Pattern.compile(regex); Matcher m = p.matcher(ver); if (m.matches()) { rlistener.setVersion(Integer.parseInt(m.group(2))); } else { throw new ParseException("Bad version line found: "+ver); } } else if (sectionKey.equals(KEYWORDS_TAG)) { String[] kws = ((String[])section.get(0))[1].split(";"); for (int i = 1; i < kws.length; i++) { rlistener.addSequenceProperty(getKeywordsTerm(), kws[i].trim()); } } else if (sectionKey.equals(DATABASE_XREF_TAG)) { // database_identifier; primary_identifier; secondary_identifier. String[] refs = ((String[])section.get(0))[1].split("\\."); for (int i = 0 ; i < refs.length; i++) { if (refs[i].trim().length()==0) continue; String[] parts = refs[i].split(";"); // construct a DBXREF out of the dbname part[0] and accession part[1] CrossRef crossRef = new SimpleCrossRef(parts[0].trim(),parts[1].trim(),0); RankedCrossRef rcrossRef = new SimpleRankedCrossRef(crossRef, i+1); rlistener.setRankedCrossRef(rcrossRef); } } else if (sectionKey.equals(REFERENCE_TAG)) { // first line of section has rank and location String refrank = ((String[])section.get(0))[1]; int ref_rank = Integer.parseInt(refrank.substring(1,refrank.length()-1)); int ref_start = -999; int ref_end = -999; // rest can be in any order String authors = null; String title = null; String journal = null; String pubmed = null; String medline = null; String doi = null; String remark = null; for (int i = 1; i < section.size(); i++) { String key = ((String[])section.get(i))[0]; String val = ((String[])section.get(i))[1]; if (key.equals(AUTHORS_TAG)) authors = val; if (key.equals(TITLE_TAG)) title = val; if (key.equals(JOURNAL_TAG)) journal = val; if (key.equals(REFERENCE_XREF_TAG)) { // database_identifier; primary_identifier. String[] refs = val.split("\\."); for (int j = 0 ; j < refs.length; j++) { if (refs[j].trim().length()==0) continue; String[] parts = refs[j].split(";"); String db = parts[0].toUpperCase(); String ref = parts[1]; if (db.equals("PUBMED")) pubmed = ref; else if (db.equals("MEDLINE")) medline = ref; else if (db.equals("DOI")) doi = ref; } } if (key.equals(REMARK_TAG)) remark = val; if (key.equals(REFERENCE_POSITION_TAG)) { // only the first group is taken // if we have multiple lines, only the last line is taken String regex = "^(\\d+)(-(\\d+))?$"; Pattern p = Pattern.compile(regex); Matcher m = p.matcher(val); if (m.matches()) { ref_start = Integer.parseInt(m.group(1)); if(m.group(2) != null) ref_end = Integer.parseInt(m.group(3)); } else { throw new ParseException("Bad reference line found: "+val); } } } // create the pubmed crossref and assign to the bioentry CrossRef pcr = null; if (pubmed!=null) { pcr = (CrossRef)RichObjectFactory.getObject(SimpleCrossRef.class,new Object[]{"PUBMED", pubmed}); RankedCrossRef rpcr = new SimpleRankedCrossRef(pcr, 0); rlistener.setRankedCrossRef(rpcr); } // create the medline crossref and assign to the bioentry CrossRef mcr = null; if (medline!=null) { mcr = (CrossRef)RichObjectFactory.getObject(SimpleCrossRef.class,new Object[]{"MEDLINE", medline}); RankedCrossRef rmcr = new SimpleRankedCrossRef(mcr, 0); rlistener.setRankedCrossRef(rmcr); } // create the doi crossref and assign to the bioentry CrossRef dcr = null; if (doi!=null) { dcr = (CrossRef)RichObjectFactory.getObject(SimpleCrossRef.class,new Object[]{"DOI", doi}); RankedCrossRef rdcr = new SimpleRankedCrossRef(dcr, 0); rlistener.setRankedCrossRef(rdcr); } // create the docref object try { DocRef dr = (DocRef)RichObjectFactory.getObject(SimpleDocRef.class,new Object[]{authors,journal}); if (title!=null) dr.setTitle(title); // assign either the pubmed or medline to the docref - medline gets priority, then pubmed, then doi if (mcr!=null) dr.setCrossref(mcr); else if (pcr!=null) dr.setCrossref(pcr); else if (dcr!=null) dr.setCrossref(dcr); // assign the remarks dr.setRemark(remark); // assign the docref to the bioentry RankedDocRef rdr = new SimpleRankedDocRef(dr, (ref_start != -999 ? new Integer(ref_start) : null), (ref_end != -999 ? new Integer(ref_end) : null), ref_rank); rlistener.setRankedDocRef(rdr); } catch (ChangeVetoException e) { throw new ParseException(e); } } else if (sectionKey.equals(COMMENT_TAG)) { // Set up some comments rlistener.setComment(((String[])section.get(0))[1]); } else if (sectionKey.equals(FEATURE_TAG)) { // starting from second line of input, start a new feature whenever we come across // a key that does not start with / boolean seenAFeature = false; for (int i = 1 ; i < section.size(); i++) { String key = ((String[])section.get(i))[0]; String val = ((String[])section.get(i))[1]; if (key.startsWith("/")) { key = key.substring(1); // strip leading slash val = val.replaceAll("\"","").trim(); // strip quotes // parameter on old feature if (key.equals("db_xref")) { String regex = "^(\\S+?):(\\S+)$"; Pattern p = Pattern.compile(regex); Matcher m = p.matcher(val); if (m.matches()) { String dbname = m.group(1); String raccession = m.group(2); if (dbname.equals("taxon")) { // Set the Taxon instead of a dbxref tax = (NCBITaxon)RichObjectFactory.getObject(SimpleNCBITaxon.class, new Object[]{Integer.valueOf(raccession)}); rlistener.setTaxon(tax); try { if (organism!=null) tax.addName(NCBITaxon.SCIENTIFIC,organism); } catch (ChangeVetoException e) { throw new ParseException(e); } } else { try { CrossRef cr = (CrossRef)RichObjectFactory.getObject(SimpleCrossRef.class,new Object[]{dbname, raccession}); RankedCrossRef rcr = new SimpleRankedCrossRef(cr, 0); rlistener.getCurrentFeature().addRankedCrossRef(rcr); } catch (ChangeVetoException e) { throw new ParseException(e); } } } else { throw new ParseException("Bad dbxref found: "+val); } } else if (key.equals("organism")) { try { organism = val; if (tax!=null) tax.addName(NCBITaxon.SCIENTIFIC,organism); } catch (ChangeVetoException e) { throw new ParseException(e); } } else { if (key.equals("translation")) { // strip spaces from sequence val = val.replaceAll("\\s+",""); } rlistener.addFeatureProperty(RichObjectFactory.getDefaultOntology().getOrCreateTerm(key),val); } } else { // new feature! // end previous feature if (seenAFeature) rlistener.endFeature(); // start next one, with lots of lovely info in it RichFeature.Template templ = new RichFeature.Template(); templ.annotation = new SimpleRichAnnotation(); templ.sourceTerm = getEMBLTerm(); templ.typeTerm = RichObjectFactory.getDefaultOntology().getOrCreateTerm(key); templ.featureRelationshipSet = new TreeSet(); templ.rankedCrossRefs = new TreeSet(); String tidyLocStr = val.replaceAll("\\s+",""); templ.location = GenbankLocationParser.parseLocation(ns, accession, tidyLocStr); rlistener.startFeature(templ); seenAFeature = true; } } if (seenAFeature) rlistener.endFeature(); } else if (sectionKey.equals(START_SEQUENCE_TAG) && !this.elideSymbols) { // our first line is ignorable as it is the ORIGIN tag // the second line onwards conveniently have the number as // the [0] tuple, and sequence string as [1] so all we have // to do is concat the [1] parts and then strip out spaces, // and replace '.' and '~' with '-' for our parser. StringBuffer seq = new StringBuffer(); for (int i = 1 ; i < section.size(); i++) seq.append(((String[])section.get(i))[1]); try { SymbolList sl = new SimpleSymbolList(symParser, seq.toString().replaceAll("\\s+","").replaceAll("[\\.|~]","-")); rlistener.addSymbols(symParser.getAlphabet(), (Symbol[])(sl.toList().toArray(new Symbol[0])), 0, sl.length()); } catch (Exception e) { throw new ParseException(e); } } } while (!sectionKey.equals(END_SEQUENCE_TAG)); // Allows us to tolerate trailing whitespace without // thinking that there is another Sequence to follow while (true) { reader.mark(1); int c = reader.read(); if (c == -1) { hasAnotherSequence = false; break; } if (Character.isWhitespace((char) c)) { hasInternalWhitespace = true; continue; } if (hasInternalWhitespace) System.err.println("Warning: whitespace found between sequence entries"); reader.reset(); break; } // Finish up. rlistener.endSequence(); return hasAnotherSequence; } | 50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/69eb38be3563c2b80729626b15ffb8ceade2d315/EMBLFormat.java/buggy/src/org/biojavax/bio/seq/io/EMBLFormat.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
855,
22591,
4021,
12,
17947,
2514,
2949,
16,
5411,
8565,
1345,
1588,
5382,
2678,
16,
5411,
534,
1354,
6926,
4294,
2223,
436,
12757,
16,
5411,
6005,
3153,
13,
5411,
1216,
2141,
5335,
503,
16,
1860,
16,
10616,
288,
7734,
514,
980,
31,
3639,
1250,
711,
37,
24413,
4021,
273,
638,
31,
3639,
1250,
711,
3061,
9431,
273,
629,
31,
7734,
436,
12757,
18,
1937,
4021,
5621,
7734,
309,
261,
2387,
631,
2011,
13,
3153,
33,
22591,
921,
1733,
18,
588,
1868,
3402,
5621,
3639,
436,
12757,
18,
542,
3402,
12,
2387,
1769,
7734,
368,
968,
392,
5901,
666,
434,
498,
2122,
1132,
5574,
316,
526,
17,
17705,
3639,
514,
2442,
653,
273,
446,
31,
3639,
423,
8876,
1285,
651,
265,
5320,
273,
446,
31,
3639,
514,
15501,
6228,
273,
446,
31,
3639,
514,
2006,
285,
273,
446,
31,
3639,
741,
288,
5411,
987,
2442,
273,
333,
18,
896,
5285,
12,
10530,
1769,
5411,
2442,
653,
273,
14015,
780,
63,
5717,
3464,
18,
588,
12,
20,
3719,
63,
20,
15533,
5411,
309,
12,
3464,
653,
422,
446,
15329,
7734,
604,
394,
10616,
2932,
5285,
498,
1703,
446,
18,
5016,
285,
2773,
15,
13491,
2006,
285,
422,
446,
692,
315,
1248,
444,
6,
294,
2006,
285,
1769,
5411,
289,
5411,
368,
1207,
2442,
17,
1637,
17,
3464,
5411,
309,
261,
3464,
653,
18,
14963,
12,
29450,
3378,
67,
7927,
3719,
288,
7734,
368,
1241,
529,
225,
501,
1106,
31,
306,
11614,
9559,
65,
13661,
31,
16536,
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,
1250,
855,
22591,
4021,
12,
17947,
2514,
2949,
16,
5411,
8565,
1345,
1588,
5382,
2678,
16,
5411,
534,
1354,
6926,
4294,
2223,
436,
12757,
16,
5411,
6005,
3153,
13,
5411,
1216,
2141,
5335,
503,
16,
1860,
16,
10616,
288,
7734,
514,
980,
31,
3639,
1250,
711,
37,
24413,
4021,
273,
638,
31,
3639,
1250,
711,
3061,
9431,
273,
629,
31,
7734,
436,
12757,
18,
1937,
4021,
5621,
7734,
309,
261,
2387,
631,
2011,
13,
3153,
33,
22591,
921,
1733,
18,
588,
1868,
3402,
5621,
3639,
436,
12757,
18,
542,
3402,
12,
2387,
1769,
7734,
368,
968,
392,
5901,
666,
434,
498,
2122,
1132,
5574,
316,
526,
17,
17705,
3639,
514,
2442,
653,
273,
446,
31,
3639,
423,
2
] |
int type = T85; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; { match("threadsafe"); | try { int type = T85; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; { match("threadsafe"); | public void mT85() throws RecognitionException { int type = T85; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:26:7: ( 'threadsafe' ) // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.lexer.g:26:7: 'threadsafe' { match("threadsafe"); } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} } | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/7e425814ce563fcc662b266adb2a4dc8e1a95d19/JavaParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParserLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
21115,
7140,
1435,
1216,
9539,
288,
3639,
509,
618,
273,
399,
7140,
31,
3639,
509,
787,
273,
23577,
1016,
5621,
3639,
509,
980,
273,
9851,
5621,
3639,
509,
1149,
2555,
273,
23577,
2555,
382,
1670,
5621,
3639,
509,
1904,
273,
3155,
18,
5280,
67,
15814,
31,
3639,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
6290,
19,
3341,
19,
12215,
19,
18756,
19,
6290,
19,
4288,
19,
5852,
2678,
18,
31731,
18,
75,
30,
5558,
30,
27,
30,
261,
296,
5930,
4626,
11,
262,
3639,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
6290,
19,
3341,
19,
12215,
19,
18756,
19,
6290,
19,
4288,
19,
5852,
2678,
18,
31731,
18,
75,
30,
5558,
30,
27,
30,
296,
5930,
4626,
11,
3639,
288,
3639,
845,
2932,
5930,
4626,
8863,
3639,
289,
3639,
309,
261,
1147,
631,
2011,
262,
288,
18356,
12,
723,
16,
1369,
16,
3001,
2555,
16,
4327,
16,
1937,
16,
588,
2156,
1016,
1435,
17,
21,
1769,
97,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
21115,
7140,
1435,
1216,
9539,
288,
3639,
509,
618,
273,
399,
7140,
31,
3639,
509,
787,
273,
23577,
1016,
5621,
3639,
509,
980,
273,
9851,
5621,
3639,
509,
1149,
2555,
273,
23577,
2555,
382,
1670,
5621,
3639,
509,
1904,
273,
3155,
18,
5280,
67,
15814,
31,
3639,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
6290,
19,
3341,
19,
12215,
19,
18756,
19,
6290,
19,
4288,
19,
5852,
2678,
18,
31731,
18,
75,
30,
5558,
30,
27,
30,
261,
296,
5930,
4626,
11,
262,
3639,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
2
] |
return viewExecutionCourseProjects(mapping,form,request,response); | return viewExecutionCourseProjects(mapping, form, request, response); | public ActionForward prepareViewExecutionCourseProjects(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws FenixActionException, FenixFilterException { ISiteComponent viewProjectsComponent = new InfoSiteProjects(); readSiteView(request, viewProjectsComponent, null, null, null); return viewExecutionCourseProjects(mapping,form,request,response); } | 2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/51b6ac2293210675b11702dcd353d11f8f6541bc/TeacherAdministrationViewerDispatchAction.java/clean/src/net/sourceforge/fenixedu/presentationTier/Action/teacher/TeacherAdministrationViewerDispatchAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4382,
8514,
2911,
1767,
3210,
39,
3117,
15298,
12,
1803,
3233,
2874,
16,
4382,
1204,
646,
16,
5411,
9984,
590,
16,
12446,
766,
13,
565,
1216,
478,
275,
697,
1803,
503,
16,
478,
275,
697,
1586,
503,
565,
288,
3639,
4437,
1137,
1841,
1476,
15298,
1841,
273,
394,
3807,
4956,
15298,
5621,
3639,
855,
4956,
1767,
12,
2293,
16,
1476,
15298,
1841,
16,
446,
16,
446,
16,
446,
1769,
3639,
327,
1476,
3210,
39,
3117,
15298,
12,
6770,
16,
646,
16,
590,
16,
766,
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,
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874,
16,
4382,
1204,
646,
16,
5411,
9984,
590,
16,
12446,
766,
13,
565,
1216,
478,
275,
697,
1803,
503,
16,
478,
275,
697,
1586,
503,
565,
288,
3639,
4437,
1137,
1841,
1476,
15298,
1841,
273,
394,
3807,
4956,
15298,
5621,
3639,
855,
4956,
1767,
12,
2293,
16,
1476,
15298,
1841,
16,
446,
16,
446,
16,
446,
1769,
3639,
327,
1476,
3210,
39,
3117,
15298,
12,
6770,
16,
646,
16,
590,
16,
766,
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
] |
cost += getOriginalJumpMP()*getOriginalJumpMP()*weight*200; | public double getCost() { double cost=0; // For future reference, Enhanched-Imaging Cockpit is 400,000. if (getCockpitType() == Mech.COCKPIT_TORSO_MOUNTED) { cost += 750000; } else if (getCockpitType() == Mech.COCKPIT_SMALL) { cost += 175000; } else { cost += 200000; } if(hasEiCockpit()) cost += 200000; cost += 50000;//life support cost += weight*2000;//sensors int muscCost=this.hasTSM()? 16000 : 2000; cost+=muscCost*weight;//musculature int structureCost=400; if(hasEndo() || hasCompositeStructure()) { structureCost=1600; } if(hasReinforcedStructure()) { structureCost=6400; } cost+=structureCost*weight;//IS cost+=2*(150+80+120)*weight;//leg actuators; int numOfLowerArmActuators=0; int numOfHands=0; if ( hasSystem(Mech.ACTUATOR_HAND, Mech.LOC_LARM) ) { numOfHands++; } if ( hasSystem(Mech.ACTUATOR_LOWER_ARM, Mech.LOC_LARM) ) { numOfLowerArmActuators++; } if ( hasSystem(Mech.ACTUATOR_HAND, Mech.LOC_RARM) ) { numOfHands++; } if ( hasSystem(Mech.ACTUATOR_LOWER_ARM, Mech.LOC_RARM) ) { numOfLowerArmActuators++; } cost+=(2*100+numOfLowerArmActuators*50+numOfHands*80)*weight;//arm actuators int engineCost=5000; if(hasXL()) { engineCost=20000; } if(hasLightEngine()) { engineCost=15000; } cost+=(weight*getOriginalWalkMP()*weight*engineCost)/75;//(weight*walk=rating; rating*weight*cost factor = cost of engine. if (getGyroType() == Mech.GYRO_XL) { cost += 750000 * (int)Math.ceil(getOriginalWalkMP()*weight/100f) * 0.5; } else if (getGyroType() == Mech.GYRO_COMPACT) { cost += 400000 * (int)Math.ceil(getOriginalWalkMP()*weight/100f) * 1.5; } else if (getGyroType() == Mech.GYRO_HEAVY_DUTY) { cost += 500000 * (int)Math.ceil(getOriginalWalkMP()*weight/100f) * 2; } else { cost += 300000*(int)Math.ceil(getOriginalWalkMP()*weight/100f); } cost += getOriginalJumpMP()*getOriginalJumpMP()*weight*200; int freeSinks = hasDoubleHeatSinks()? 0 : 10;//num of sinks we don't pay for int sinkCost = hasDoubleHeatSinks()? 6000: 2000; cost += sinkCost*(heatSinks()-freeSinks);//cost of sinks cost += getArmorWeight()*EquipmentType.getArmorCost(armorType);//armor cost += getWeaponsAndEquipmentCost(); double omniCost = 0.0; if (isOmni()) { omniCost = cost*0.25f; } cost+=omniCost; cost*=(1+(weight/100f)); return Math.round(cost); } | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/172078b8adefbe88f7423178b650065ed6db8c6a/BipedMech.java/buggy/megamek/src/megamek/common/BipedMech.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1645,
1927,
669,
1435,
288,
3639,
1645,
6991,
33,
20,
31,
3639,
368,
2457,
3563,
2114,
16,
1374,
25842,
2049,
17,
1170,
5755,
385,
975,
84,
305,
353,
7409,
16,
3784,
18,
3639,
309,
261,
588,
39,
975,
84,
305,
559,
1435,
422,
7499,
343,
18,
3865,
3507,
1102,
56,
67,
56,
916,
3584,
67,
5980,
2124,
6404,
13,
288,
5411,
6991,
1011,
18821,
2787,
31,
3639,
289,
469,
309,
261,
588,
39,
975,
84,
305,
559,
1435,
422,
7499,
343,
18,
3865,
3507,
1102,
56,
67,
23882,
13,
288,
5411,
6991,
1011,
404,
5877,
3784,
31,
3639,
289,
469,
288,
5411,
6991,
1011,
576,
11706,
31,
3639,
289,
3639,
309,
12,
5332,
41,
77,
39,
975,
84,
305,
10756,
6991,
1011,
576,
11706,
31,
3639,
6991,
1011,
1381,
2787,
31,
759,
10256,
73,
2865,
3639,
6991,
1011,
3119,
14,
17172,
31,
759,
87,
12575,
3639,
509,
312,
19446,
8018,
33,
2211,
18,
5332,
56,
7303,
1435,
35,
2872,
3784,
294,
16291,
31,
3639,
6991,
15,
33,
81,
19446,
8018,
14,
4865,
31,
759,
81,
407,
1934,
1231,
3639,
509,
3695,
8018,
33,
16010,
31,
3639,
309,
12,
5332,
1638,
83,
1435,
747,
711,
9400,
6999,
10756,
288,
5411,
3695,
8018,
33,
2313,
713,
31,
3639,
289,
3639,
309,
12,
5332,
426,
267,
19778,
6999,
10756,
288,
5411,
3695,
8018,
33,
1105,
713,
31,
3639,
289,
3639,
6991,
15,
33,
7627,
8018,
14,
4865,
31,
759,
5127,
3639,
6991,
15,
33,
22,
21556,
23014,
15,
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,
1645,
1927,
669,
1435,
288,
3639,
1645,
6991,
33,
20,
31,
3639,
368,
2457,
3563,
2114,
16,
1374,
25842,
2049,
17,
1170,
5755,
385,
975,
84,
305,
353,
7409,
16,
3784,
18,
3639,
309,
261,
588,
39,
975,
84,
305,
559,
1435,
422,
7499,
343,
18,
3865,
3507,
1102,
56,
67,
56,
916,
3584,
67,
5980,
2124,
6404,
13,
288,
5411,
6991,
1011,
18821,
2787,
31,
3639,
289,
469,
309,
261,
588,
39,
975,
84,
305,
559,
1435,
422,
7499,
343,
18,
3865,
3507,
1102,
56,
67,
23882,
13,
288,
5411,
6991,
1011,
404,
5877,
3784,
31,
3639,
289,
469,
288,
5411,
6991,
1011,
576,
11706,
31,
3639,
289,
3639,
309,
12,
5332,
41,
77,
39,
975,
2
] | |
return value; | return value; | public int intValue() { return value; } | 52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyId.java/buggy/org/jruby/RubyId.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
9307,
1435,
288,
202,
2463,
460,
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,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
9307,
1435,
288,
202,
2463,
460,
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,
-100,
-100
] |
if (value.equals("yes")) | if ("yes".equals(value)) | protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf = null; if (installdata.guiPrefs.lookAndFeelMapping.containsKey(syskey)) { laf = (String) installdata.guiPrefs.lookAndFeelMapping.get(syskey); } // Let's use the system LAF // Resolve whether button icons should be used or not. boolean useButtonIcons = true; if (installdata.guiPrefs.modifier.containsKey("useButtonIcons") && ((String) installdata.guiPrefs.modifier.get("useButtonIcons")) .equalsIgnoreCase("no")) useButtonIcons = false; ButtonFactory.useButtonIcons(useButtonIcons); boolean useLabelIcons = true; if (installdata.guiPrefs.modifier.containsKey("useLabelIcons") && ((String) installdata.guiPrefs.modifier.get("useLabelIcons")) .equalsIgnoreCase("no")) useLabelIcons = false; LabelFactory.setUseLabelIcons(useLabelIcons); if (laf == null) { if (!syskey.equals("mac")) { String syslaf = UIManager.getSystemLookAndFeelClassName(); UIManager.setLookAndFeel(syslaf); if (UIManager.getLookAndFeel() instanceof MetalLookAndFeel) { MetalLookAndFeel.setCurrentTheme(new IzPackMetalTheme()); ButtonFactory.useHighlightButtons(); // Reset the use button icons state because // useHighlightButtons // make it always true. ButtonFactory.useButtonIcons(useButtonIcons); installdata.buttonsHColor = new Color(182, 182, 204); } } lnf = "swing"; return; } // Kunststoff (http://www.incors.org/) if (laf.equals("kunststoff")) { ButtonFactory.useHighlightButtons(); // Reset the use button icons state because useHighlightButtons // make it always true. ButtonFactory.useButtonIcons(useButtonIcons); installdata.buttonsHColor = new Color(255, 255, 255); Class lafClass = Class.forName("com.incors.plaf.kunststoff.KunststoffLookAndFeel"); Class mtheme = Class.forName("javax.swing.plaf.metal.MetalTheme"); Class[] params = { mtheme}; Class theme = Class.forName("com.izforge.izpack.gui.IzPackKMetalTheme"); Method setCurrentThemeMethod = lafClass.getMethod("setCurrentTheme", params); // We invoke and place Kunststoff as our L&F LookAndFeel kunststoff = (LookAndFeel) lafClass.newInstance(); MetalTheme ktheme = (MetalTheme) theme.newInstance(); Object[] kparams = { ktheme}; UIManager.setLookAndFeel(kunststoff); setCurrentThemeMethod.invoke(kunststoff, kparams); lnf = "kunststoff"; return; } // Liquid (http://liquidlnf.sourceforge.net/) if (laf.equals("liquid")) { UIManager.setLookAndFeel("com.birosoft.liquid.LiquidLookAndFeel"); lnf = "liquid"; Map params = (Map) installdata.guiPrefs.lookAndFeelParams.get(laf); if (params.containsKey("decorate.frames")) { String value = (String) params.get("decorate.frames"); if (value.equals("yes")) { JFrame.setDefaultLookAndFeelDecorated(true); } } if (params.containsKey("decorate.dialogs")) { String value = (String) params.get("decorate.dialogs"); if (value.equals("yes")) { JDialog.setDefaultLookAndFeelDecorated(true); } } return; } // Metouia (http://mlf.sourceforge.net/) if (laf.equals("metouia")) { UIManager.setLookAndFeel("net.sourceforge.mlf.metouia.MetouiaLookAndFeel"); lnf = "metouia"; return; } // JGoodies Looks (http://looks.dev.java.net/) if (laf.equals("looks")) { Map variants = new TreeMap(); variants.put("extwin", "com.jgoodies.plaf.windows.ExtWindowsLookAndFeel"); variants.put("plastic", "com.jgoodies.plaf.plastic.PlasticLookAndFeel"); variants.put("plastic3D", "com.jgoodies.plaf.plastic.Plastic3DLookAndFeel"); variants.put("plasticXP", "com.jgoodies.plaf.plastic.PlasticXPLookAndFeel"); String variant = (String) variants.get("plasticXP"); Map params = (Map) installdata.guiPrefs.lookAndFeelParams.get(laf); if (params.containsKey("variant")) { String param = (String) params.get("variant"); if (variants.containsKey(param)) { variant = (String) variants.get(param); } } UIManager.setLookAndFeel(variant); } } | 58440 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58440/98333eede78b9ac1131e72aef96a4d63b6ae031f/GUIInstaller.java/clean/izpack-src/trunk/src/lib/com/izforge/izpack/installer/GUIInstaller.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1262,
9794,
1876,
2954,
292,
1435,
1216,
1185,
565,
288,
3639,
368,
2256,
732,
1240,
1281,
11555,
364,
333,
5932,
692,
3639,
514,
2589,
856,
273,
315,
21136,
14432,
3639,
309,
261,
15112,
1444,
18,
5127,
67,
31874,
13,
3639,
288,
5411,
2589,
856,
273,
315,
13226,
14432,
3639,
289,
3639,
469,
309,
261,
15112,
1444,
18,
5127,
67,
4618,
60,
13,
3639,
288,
5411,
2589,
856,
273,
315,
5821,
14432,
3639,
289,
3639,
514,
328,
1727,
273,
446,
31,
3639,
309,
261,
5425,
892,
18,
20292,
1386,
2556,
18,
7330,
1876,
2954,
292,
3233,
18,
12298,
653,
12,
9499,
856,
3719,
3639,
288,
5411,
328,
1727,
273,
261,
780,
13,
3799,
892,
18,
20292,
1386,
2556,
18,
7330,
1876,
2954,
292,
3233,
18,
588,
12,
9499,
856,
1769,
3639,
289,
3639,
368,
10559,
1807,
999,
326,
2619,
2928,
42,
3639,
368,
9910,
2856,
3568,
17455,
1410,
506,
1399,
578,
486,
18,
3639,
1250,
999,
3616,
27510,
273,
638,
31,
3639,
309,
261,
5425,
892,
18,
20292,
1386,
2556,
18,
20597,
18,
12298,
653,
2932,
1202,
3616,
27510,
7923,
7734,
597,
14015,
780,
13,
3799,
892,
18,
20292,
1386,
2556,
18,
20597,
18,
588,
2932,
1202,
3616,
27510,
6,
3719,
13491,
263,
14963,
5556,
2932,
2135,
6,
3719,
999,
3616,
27510,
273,
629,
31,
3639,
12569,
1733,
18,
1202,
3616,
27510,
12,
1202,
3616,
27510,
1769,
3639,
1250,
999,
2224,
27510,
273,
638,
31,
3639,
309,
261,
5425,
892,
18,
20292,
1386,
2556,
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,
4750,
918,
1262,
9794,
1876,
2954,
292,
1435,
1216,
1185,
565,
288,
3639,
368,
2256,
732,
1240,
1281,
11555,
364,
333,
5932,
692,
3639,
514,
2589,
856,
273,
315,
21136,
14432,
3639,
309,
261,
15112,
1444,
18,
5127,
67,
31874,
13,
3639,
288,
5411,
2589,
856,
273,
315,
13226,
14432,
3639,
289,
3639,
469,
309,
261,
15112,
1444,
18,
5127,
67,
4618,
60,
13,
3639,
288,
5411,
2589,
856,
273,
315,
5821,
14432,
3639,
289,
3639,
514,
328,
1727,
273,
446,
31,
3639,
309,
261,
5425,
892,
18,
20292,
1386,
2556,
18,
7330,
1876,
2954,
292,
3233,
18,
12298,
653,
12,
9499,
856,
3719,
3639,
288,
5411,
328,
1727,
273,
261,
780,
13,
3799,
892,
18,
20292,
1386,
2
] |
org.openscience.cdk.interfaces.IAtomType[] atomTypes = getAtomTypeFactory(atom.getBuilder()).getAtomTypes(atom.getSymbol()); | IAtomType[] atomTypes = getAtomTypeFactory(atom.getBuilder()).getAtomTypes(atom.getSymbol()); | public int calculateNumberOfImplicitHydrogens(IAtom atom, double bondOrderSum, double maxBondOrder, int neighbourCount) throws CDKException { int missingHydrogens = 0; if (atom instanceof PseudoAtom) { logger.debug("don't figure it out... it simply does not lack H's"); return 0; } logger.debug("Calculating number of missing hydrogen atoms"); // get default atom org.openscience.cdk.interfaces.IAtomType[] atomTypes = getAtomTypeFactory(atom.getBuilder()).getAtomTypes(atom.getSymbol()); if (atomTypes.length == 0) { logger.warn("Element not found in configuration file: ", atom); return 0; } logger.debug("Found atomtypes: ", atomTypes.length); for (int f = 0; f < atomTypes.length; f++) { org.openscience.cdk.interfaces.IAtomType type = atomTypes[f]; if (couldMatchAtomType(atom, bondOrderSum, maxBondOrder, type)) { logger.debug("This type matches: ", type); int formalNeighbourCount = type.getFormalNeighbourCount(); if (type.getHybridization() == CDKConstants.HYBRIDIZATION_UNSET) { missingHydrogens = (int) (type.getBondOrderSum() - bondOrderSum); } else { switch (atom.getHybridization()) { case CDKConstants.HYBRIDIZATION_SP3: missingHydrogens = formalNeighbourCount - neighbourCount; break; case CDKConstants.HYBRIDIZATION_SP2: missingHydrogens = formalNeighbourCount - neighbourCount; break; case CDKConstants.HYBRIDIZATION_SP1: missingHydrogens = formalNeighbourCount - neighbourCount; break; default: missingHydrogens = (int) (type.getBondOrderSum() - bondOrderSum); } } break; } } logger.debug("missing hydrogens: ", missingHydrogens); return missingHydrogens; } | 46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/55b9d38ca1fa2f6755db09f806da82bf11665b4b/ValencyHybridChecker.java/clean/src/org/openscience/cdk/tools/ValencyHybridChecker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
4604,
9226,
15787,
17507,
9005,
23730,
12,
45,
3641,
3179,
16,
1645,
8427,
2448,
3495,
16,
1645,
943,
9807,
2448,
16,
509,
16497,
1380,
13,
540,
1216,
24570,
288,
3639,
509,
3315,
17507,
9005,
23730,
273,
374,
31,
3639,
309,
261,
7466,
1276,
453,
9091,
3641,
13,
288,
5411,
1194,
18,
4148,
2932,
19752,
1404,
7837,
518,
596,
2777,
518,
8616,
1552,
486,
30679,
670,
1807,
8863,
5411,
327,
374,
31,
3639,
289,
7734,
1194,
18,
4148,
2932,
30238,
1300,
434,
3315,
4855,
24096,
9006,
8863,
3639,
368,
336,
805,
3179,
3639,
8831,
559,
8526,
3179,
2016,
273,
12358,
559,
1733,
12,
7466,
18,
588,
1263,
1435,
2934,
588,
3641,
2016,
12,
7466,
18,
588,
5335,
10663,
3639,
309,
261,
7466,
2016,
18,
2469,
422,
374,
13,
288,
5411,
1194,
18,
8935,
2932,
1046,
486,
1392,
316,
1664,
585,
30,
3104,
3179,
1769,
5411,
327,
374,
31,
3639,
289,
3639,
1194,
18,
4148,
2932,
2043,
3179,
2352,
30,
3104,
3179,
2016,
18,
2469,
1769,
3639,
364,
261,
474,
284,
273,
374,
31,
284,
411,
3179,
2016,
18,
2469,
31,
284,
27245,
288,
5411,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
45,
3641,
559,
618,
273,
3179,
2016,
63,
74,
15533,
5411,
309,
261,
15195,
2060,
3641,
559,
12,
7466,
16,
8427,
2448,
3495,
16,
943,
9807,
2448,
16,
618,
3719,
288,
7734,
1194,
18,
4148,
2932,
2503,
618,
1885,
30,
3104,
618,
1769,
7734,
509,
25739,
13577,
477,
1380,
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,
509,
4604,
9226,
15787,
17507,
9005,
23730,
12,
45,
3641,
3179,
16,
1645,
8427,
2448,
3495,
16,
1645,
943,
9807,
2448,
16,
509,
16497,
1380,
13,
540,
1216,
24570,
288,
3639,
509,
3315,
17507,
9005,
23730,
273,
374,
31,
3639,
309,
261,
7466,
1276,
453,
9091,
3641,
13,
288,
5411,
1194,
18,
4148,
2932,
19752,
1404,
7837,
518,
596,
2777,
518,
8616,
1552,
486,
30679,
670,
1807,
8863,
5411,
327,
374,
31,
3639,
289,
7734,
1194,
18,
4148,
2932,
30238,
1300,
434,
3315,
4855,
24096,
9006,
8863,
3639,
368,
336,
805,
3179,
3639,
8831,
559,
8526,
3179,
2016,
273,
12358,
559,
1733,
12,
7466,
18,
588,
1263,
1435,
2934,
588,
3641,
2016,
12,
7466,
18,
588,
2
] |
{ } | { return false; } | public boolean supportsConvert() throws SQLException { // XXX-Not Implemented } | 45497 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45497/6a061da272f04e1463864065f87f1f3fd61d6162/DatabaseMetaData.java/cl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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,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
6146,
2723,
1435,
1216,
6483,
202,
95,
202,
202,
759,
11329,
17,
1248,
18788,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
XFormsUtils.fillNode(pipelineContext, node, newValue, null); | XFormsInstance.setValueForNode(pipelineContext, node, newValue, null); | public void run(PipelineContext pipelineContext, FunctionContext functionContext, String encryptionPassword, Document instance) { // Fill the instance String[] ids = nodeset.split(" "); try { String id = ids[0]; if (XFormsUtils.isNameEncryptionEnabled()) id = SecureUtils.decrypt(pipelineContext, encryptionPassword, id); Integer idInteger = new Integer(Integer.parseInt(id)); Node node = (Node) ((InstanceData) instance.getRootElement().getData()).getIdToNodeMap().get(idInteger); String newValue = value != null ? value : content == null ? "" : content; XFormsUtils.fillNode(pipelineContext, node, newValue, null); } catch (NumberFormatException e) { throw new OXFException("Invalid node-id in setvalue action", e); } } | 54445 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54445/2831e4e1e9d768448c66fe22d29db22228308e74/SetValue.java/clean/src/java/org/orbeon/oxf/processor/xforms/input/action/SetValue.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
12,
8798,
1042,
5873,
1042,
16,
4284,
1042,
445,
1042,
16,
514,
8731,
3913,
16,
4319,
791,
13,
288,
3639,
368,
14192,
326,
791,
3639,
514,
8526,
3258,
273,
2199,
278,
18,
4939,
2932,
315,
1769,
3639,
775,
288,
5411,
514,
612,
273,
3258,
63,
20,
15533,
5411,
309,
261,
60,
18529,
1989,
18,
291,
461,
7894,
1526,
10756,
7734,
612,
273,
15653,
1989,
18,
19790,
12,
14511,
1042,
16,
8731,
3913,
16,
612,
1769,
5411,
2144,
612,
4522,
273,
394,
2144,
12,
4522,
18,
2670,
1702,
12,
350,
10019,
5411,
2029,
756,
273,
261,
907,
13,
14015,
1442,
751,
13,
791,
18,
588,
2375,
1046,
7675,
588,
751,
1435,
2934,
26321,
31403,
863,
7675,
588,
12,
350,
4522,
1769,
5411,
514,
6129,
273,
460,
480,
446,
692,
460,
294,
913,
422,
446,
692,
1408,
294,
913,
31,
5411,
1139,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
12,
8798,
1042,
5873,
1042,
16,
4284,
1042,
445,
1042,
16,
514,
8731,
3913,
16,
4319,
791,
13,
288,
3639,
368,
14192,
326,
791,
3639,
514,
8526,
3258,
273,
2199,
278,
18,
4939,
2932,
315,
1769,
3639,
775,
288,
5411,
514,
612,
273,
3258,
63,
20,
15533,
5411,
309,
261,
60,
18529,
1989,
18,
291,
461,
7894,
1526,
10756,
7734,
612,
273,
15653,
1989,
18,
19790,
12,
14511,
1042,
16,
8731,
3913,
16,
612,
1769,
5411,
2144,
612,
4522,
273,
394,
2144,
12,
4522,
18,
2670,
1702,
12,
350,
10019,
5411,
2029,
756,
273,
261,
907,
13,
14015,
1442,
751,
13,
791,
18,
588,
2375,
1046,
7675,
588,
751,
1435,
2934,
26321,
31403,
863,
7675,
2
] |
assertTrue(e.getMessage().startsWith(Messages.get("rmi", RmiConnector.MSG_PARAM_SERVICE_METHOD_NOT_SET))); | assertTrue(e.getMessage().startsWith( Messages.get("rmi", RmiConnector.MSG_PARAM_SERVICE_METHOD_NOT_SET))); | public void testNoMethodSet() throws Exception { UMOImmutableEndpoint ep = new ImmutableMuleEndpoint("rmi://localhost/TestService", false); UMOMessageDispatcher dispatcher = rmiConnector.getDispatcher(ep); try { dispatcher.send(getTestEvent("hello", ep)); } catch (UMOException e) { assertTrue(e instanceof DispatchException); assertTrue(e.getMessage().startsWith(Messages.get("rmi", RmiConnector.MSG_PARAM_SERVICE_METHOD_NOT_SET))); } } | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/f22bcd2035487efd91d326568c482912217bbe55/RmiInvocationTestCase.java/buggy/transports/rmi/src/test/java/org/mule/providers/rmi/RmiInvocationTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2279,
1305,
694,
1435,
1216,
1185,
565,
288,
3639,
587,
5980,
16014,
3293,
5529,
273,
394,
7252,
49,
725,
3293,
2932,
8864,
77,
2207,
13014,
19,
4709,
1179,
3113,
629,
1769,
3639,
587,
5980,
1079,
6681,
7393,
273,
6692,
77,
7487,
18,
588,
6681,
12,
881,
1769,
3639,
775,
3639,
288,
5411,
7393,
18,
4661,
12,
588,
4709,
1133,
2932,
23711,
3113,
5529,
10019,
3639,
289,
1044,
261,
2799,
51,
503,
425,
13,
3639,
288,
5411,
1815,
5510,
12,
73,
1276,
11552,
503,
1769,
5411,
1815,
5510,
12,
73,
18,
24906,
7675,
17514,
1190,
12,
4838,
18,
588,
2932,
8864,
77,
3113,
534,
9197,
7487,
18,
11210,
67,
8388,
67,
12426,
67,
5327,
67,
4400,
67,
4043,
3719,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2279,
1305,
694,
1435,
1216,
1185,
565,
288,
3639,
587,
5980,
16014,
3293,
5529,
273,
394,
7252,
49,
725,
3293,
2932,
8864,
77,
2207,
13014,
19,
4709,
1179,
3113,
629,
1769,
3639,
587,
5980,
1079,
6681,
7393,
273,
6692,
77,
7487,
18,
588,
6681,
12,
881,
1769,
3639,
775,
3639,
288,
5411,
7393,
18,
4661,
12,
588,
4709,
1133,
2932,
23711,
3113,
5529,
10019,
3639,
289,
1044,
261,
2799,
51,
503,
425,
13,
3639,
288,
5411,
1815,
5510,
12,
73,
1276,
11552,
503,
1769,
5411,
1815,
5510,
12,
73,
18,
24906,
7675,
17514,
1190,
12,
4838,
18,
588,
2932,
8864,
77,
3113,
534,
9197,
7487,
18,
11210,
67,
8388,
67,
12426,
67,
5327,
67,
4400,
2
] |
if (!FileUtils.isReallyParent(_completeFile, f)) | if (!FileUtils.isReallyInParentPath(_completeFile, f)) | TorrentFileSystem(BTData data, int numHashes, long pieceLength, byte [] infoHash) throws IOException { // name of the torrent, also specifying the directory under which to save the torrents. _name = CommonUtils.convertFileName(data.getName()); // we need to check the name of the torrent, security risk! if (_name.length() == 0) throw new ValueException("bad torrent name"); _incompleteFile = new File(SharingSettings.INCOMPLETE_DIRECTORY.getValue(), Base32.encode(infoHash)+File.separator+_name); _completeFile = new File(SharingSettings.getSaveDirectory(), _name); if (!FileUtils.isReallyParent(SharingSettings.getSaveDirectory(), _completeFile)) throw new SaveLocationException(SaveLocationException.SECURITY_VIOLATION, _completeFile); if(data.getFiles() != null) { List<BTData.BTFileData> files = data.getFiles(); List<TorrentFile> torrents = new ArrayList<TorrentFile>(files.size()); for(BTData.BTFileData file : files) { TorrentFile f = new TorrentFile(file.getLength(), new File(_completeFile, file.getPath()).getAbsolutePath()); if (!FileUtils.isReallyParent(_completeFile, f)) throw new SaveLocationException(SaveLocationException.SECURITY_VIOLATION, f); torrents.add(f); } if (files.size() == 0) throw new ValueException("bad metainfo, no files!"); // add the beginning and ending chunks for each file. long position = 0; for (TorrentFile file : torrents) { file.setBegin((int) (position / pieceLength)); position += file.length(); file.setEnd((int) (position / pieceLength)); } _files = torrents; // add folders, for easier conflict checking later on for(String folderPath : data.getFolders()) _folders.add(new File(_completeFile, folderPath)); _folders.add(_completeFile); } else { TorrentFile f = new TorrentFile(data.getLength(), _completeFile.getAbsolutePath()); f.setBegin(0); f.setEnd(numHashes); _files = new ArrayList<TorrentFile>(1); _files.add(f); } _totalSize = calculateTotalSize(_files); } | 5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/c5fb70ffd5771b1350109cf209e77ecb2dffca4c/TorrentFileSystem.java/clean/components/gnutella-core/src/main/java/com/limegroup/bittorrent/TorrentFileSystem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
27266,
547,
11785,
12,
38,
56,
751,
501,
16,
509,
818,
14455,
16,
1525,
11151,
1782,
16,
1160,
5378,
1123,
2310,
13,
225,
202,
15069,
1860,
288,
202,
565,
368,
508,
434,
326,
17351,
16,
2546,
13664,
326,
1867,
3613,
1492,
358,
1923,
326,
17351,
87,
18,
202,
202,
67,
529,
273,
5658,
1989,
18,
6283,
4771,
12,
892,
18,
17994,
10663,
202,
202,
759,
732,
1608,
358,
866,
326,
508,
434,
326,
17351,
16,
4373,
18404,
5,
202,
202,
430,
261,
67,
529,
18,
2469,
1435,
422,
374,
13,
1082,
202,
12849,
394,
1445,
503,
2932,
8759,
17351,
508,
8863,
202,
202,
67,
17624,
812,
273,
394,
1387,
12,
22897,
2628,
18,
706,
15795,
67,
17229,
18,
24805,
9334,
4697,
202,
2171,
1578,
18,
3015,
12,
1376,
2310,
27921,
812,
18,
11287,
15,
67,
529,
1769,
202,
202,
67,
6226,
812,
273,
394,
1387,
12,
22897,
2628,
18,
588,
4755,
2853,
9334,
389,
529,
1769,
9506,
202,
430,
16051,
812,
1989,
18,
291,
426,
1230,
3054,
12,
22897,
2628,
18,
588,
4755,
2853,
9334,
389,
6226,
812,
3719,
1082,
604,
394,
7074,
2735,
503,
12,
4755,
2735,
503,
18,
29209,
67,
4136,
1741,
2689,
16,
389,
6226,
812,
1769,
1082,
3639,
309,
12,
892,
18,
588,
2697,
1435,
480,
446,
13,
288,
5411,
987,
32,
38,
56,
751,
18,
38,
56,
812,
751,
34,
1390,
273,
501,
18,
588,
2697,
5621,
5411,
987,
32,
27266,
547,
812,
34,
17351,
87,
273,
394,
2407,
32,
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,
27266,
547,
11785,
12,
38,
56,
751,
501,
16,
509,
818,
14455,
16,
1525,
11151,
1782,
16,
1160,
5378,
1123,
2310,
13,
225,
202,
15069,
1860,
288,
202,
565,
368,
508,
434,
326,
17351,
16,
2546,
13664,
326,
1867,
3613,
1492,
358,
1923,
326,
17351,
87,
18,
202,
202,
67,
529,
273,
5658,
1989,
18,
6283,
4771,
12,
892,
18,
17994,
10663,
202,
202,
759,
732,
1608,
358,
866,
326,
508,
434,
326,
17351,
16,
4373,
18404,
5,
202,
202,
430,
261,
67,
529,
18,
2469,
1435,
422,
374,
13,
1082,
202,
12849,
394,
1445,
503,
2932,
8759,
17351,
508,
8863,
202,
202,
67,
17624,
812,
273,
394,
1387,
12,
22897,
2628,
18,
706,
15795,
67,
17229,
2
] |
else if (month < Calendar.AUGUST) return 31 - (month & 1); | private int getDaysInMonth(int month, int year) { // Most of this is copied from GregorianCalendar.getActualMaximum() if (month == Calendar.FEBRUARY) { return ((year & 3) == 0 && (year % 100 != 0 || year % 400 == 0)) ? 29 : 28; } else if (month < Calendar.AUGUST) return 31 - (month & 1); else return 30 + (month & 1); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/53b78dd1e4587254262f4618d2aa7551de8e0cbf/SimpleTimeZone.java/clean/core/src/classpath/java/java/util/SimpleTimeZone.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
509,
2343,
8271,
382,
5445,
12,
474,
3138,
16,
509,
3286,
13,
225,
288,
565,
368,
22099,
434,
333,
353,
9268,
628,
28033,
18,
588,
11266,
13528,
1435,
565,
309,
261,
7496,
422,
5542,
18,
8090,
7192,
57,
6043,
13,
1377,
288,
202,
2463,
14015,
6874,
473,
890,
13,
422,
374,
597,
261,
6874,
738,
2130,
480,
374,
747,
3286,
738,
7409,
422,
374,
3719,
202,
225,
692,
12899,
294,
9131,
31,
1377,
289,
565,
469,
309,
261,
7496,
411,
5542,
18,
14237,
43,
5996,
13,
3639,
327,
8231,
300,
261,
7496,
473,
404,
1769,
565,
469,
1377,
327,
5196,
397,
261,
7496,
473,
404,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
509,
2343,
8271,
382,
5445,
12,
474,
3138,
16,
509,
3286,
13,
225,
288,
565,
368,
22099,
434,
333,
353,
9268,
628,
28033,
18,
588,
11266,
13528,
1435,
565,
309,
261,
7496,
422,
5542,
18,
8090,
7192,
57,
6043,
13,
1377,
288,
202,
2463,
14015,
6874,
473,
890,
13,
422,
374,
597,
261,
6874,
738,
2130,
480,
374,
747,
3286,
738,
7409,
422,
374,
3719,
202,
225,
692,
12899,
294,
9131,
31,
1377,
289,
565,
469,
309,
261,
7496,
411,
5542,
18,
14237,
43,
5996,
13,
3639,
327,
8231,
300,
261,
7496,
473,
404,
1769,
565,
469,
1377,
327,
5196,
397,
261,
7496,
473,
404,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] | |
iCodeTop = addStringOp(Token.STRING, name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addIcode(type == Token.INC ? Icode_PROPINC : Icode_PROPDEC, iCodeTop); itsStackDepth--; | stackChange(1); int op = (type == Token.INC) ? Icode_PROPINC : Icode_PROPDEC; iCodeTop = addStringOp(op, name, iCodeTop); | private int generateICode(Node node, int iCodeTop) { int type = node.getType(); Node child = node.getFirstChild(); Node firstChild = child; int savedStackDepth = itsStackDepth; int stackDelta = 0; // expected stack change for subtree code boolean stackShouldBeZero = false; switch (type) { case Token.FUNCTION : { int fnIndex = node.getExistingIntProp(Node.FUNCTION_PROP); FunctionNode fn = scriptOrFn.getFunctionNode(fnIndex); if (fn.getFunctionType() != FunctionNode.FUNCTION_STATEMENT) { stackDelta = 1; // Only function expressions or function expression // statements needs closure code creating new function // object on stack as function statements are initialized // at script/function start iCodeTop = addIndexOp(Icode_CLOSURE, fnIndex, iCodeTop); stackChange(1); } else { stackShouldBeZero = true; } break; } case Token.SCRIPT : stackShouldBeZero = true; iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { if (child.getType() != Token.FUNCTION) iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } break; case Token.CASE : // Skip case condition child = child.getNext(); // fallthrough case Token.LABEL : case Token.LOOP : case Token.DEFAULT : case Token.BLOCK : case Token.EMPTY : stackShouldBeZero = true; iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } break; case Token.WITH : ++itsWithDepth; stackShouldBeZero = true; iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } --itsWithDepth; break; case Token.LOCAL_BLOCK : stackShouldBeZero = true; if ((itsLocalTop & ~0xFF) != 0) { throw Context.reportRuntimeError( "Program too complex (out of locals)"); } node.putIntProp(Node.LOCAL_PROP, itsLocalTop); ++itsLocalTop; if (itsLocalTop > itsData.itsMaxLocals) { itsData.itsMaxLocals = itsLocalTop; } iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } --itsLocalTop; break; case Token.LOCAL_LOAD : { stackDelta = 1; int localIndex = getLocalBlockRef(node); iCodeTop = addIndexOp(Token.LOCAL_LOAD, localIndex, iCodeTop); stackChange(1); break; } case Token.COMMA : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); while (null != (child = child.getNext())) { if (1 != itsStackDepth - savedStackDepth) Kit.codeBug(); iCodeTop = addToken(Token.POP, iCodeTop); itsStackDepth--; iCodeTop = generateICode(child, iCodeTop); } break; case Token.INIT_LIST : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); while (null != (child = child.getNext())) { if (1 != itsStackDepth - savedStackDepth) Kit.codeBug(); iCodeTop = addIcode(Icode_DUP, iCodeTop); // No stack adjusting: USE_STACK in subtree will do it iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.POP, iCodeTop); itsStackDepth--; } break; case Token.USE_STACK: // Indicates that stack was modified externally, // like placed catch object stackDelta = 1; itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case Token.SWITCH : { stackShouldBeZero = true; Node.Jump switchNode = (Node.Jump)node; iCodeTop = updateLineNumber(switchNode, iCodeTop); iCodeTop = generateICode(child, iCodeTop); ObjArray cases = (ObjArray) switchNode.getProp(Node.CASES_PROP); for (int i = 0; i < cases.size(); i++) { Node thisCase = (Node)cases.get(i); Node first = thisCase.getFirstChild(); // the case expression is the firstmost child // the rest will be generated when the case // statements are encountered as siblings of // the switch statement. iCodeTop = generateICode(first, iCodeTop); iCodeTop = addIcode(Icode_DUPSECOND, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addToken(Token.SHEQ, iCodeTop); itsStackDepth--; Node.Target target = new Node.Target(); thisCase.addChildAfter(target, first); // If true, Icode_IFEQ_POP will jump and remove case value // from stack iCodeTop = addGoto(target, Icode_IFEQ_POP, iCodeTop); itsStackDepth--; } iCodeTop = addToken(Token.POP, iCodeTop); itsStackDepth--; Node defaultNode = (Node) switchNode.getProp(Node.DEFAULT_PROP); if (defaultNode != null) { Node.Target defaultTarget = new Node.Target(); defaultNode.getFirstChild(). addChildToFront(defaultTarget); iCodeTop = addGoto(defaultTarget, Token.GOTO, iCodeTop); } Node.Target breakTarget = switchNode.target; iCodeTop = addGoto(breakTarget, Token.GOTO, iCodeTop); break; } case Token.TARGET : stackShouldBeZero = true; markTargetLabel((Node.Target)node, iCodeTop); break; case Token.NEW : case Token.CALL : { stackDelta = 1; if (type == Token.NEW) { iCodeTop = generateICode(child, iCodeTop); } else { iCodeTop = generateCallFunAndThis(child, iCodeTop); if (itsStackDepth - savedStackDepth != 2) Kit.codeBug(); } int argCount = 0; while ((child = child.getNext()) != null) { iCodeTop = generateICode(child, iCodeTop); ++argCount; } int callType = node.getIntProp(Node.SPECIALCALL_PROP, Node.NON_SPECIALCALL); if (callType != Node.NON_SPECIALCALL) { // embed line number and source filename iCodeTop = addIndexOp(Icode_CALLSPECIAL, argCount, iCodeTop); iCodeTop = addByte(callType, iCodeTop); iCodeTop = addByte(type == Token.NEW ? 1 : 0, iCodeTop); iCodeTop = addShort(itsLineNumber, iCodeTop); } else { iCodeTop = addIndexOp(type, argCount, iCodeTop); } // adjust stack if (type == Token.NEW) { // f, args -> results itsStackDepth -= argCount; } else { // f, thisObj, args -> results itsStackDepth -= (argCount + 1); } if (argCount > itsData.itsMaxCalleeArgs) itsData.itsMaxCalleeArgs = argCount; break; } case Token.IFEQ : case Token.IFNE : iCodeTop = generateICode(child, iCodeTop); itsStackDepth--; // after the conditional GOTO, really // fall thru... case Token.GOTO : { stackShouldBeZero = true; Node.Target target = ((Node.Jump)node).target; iCodeTop = addGoto(target, (byte) type, iCodeTop); break; } case Token.JSR : { stackShouldBeZero = true; Node.Target target = ((Node.Jump)node).target; iCodeTop = addGoto(target, Icode_GOSUB, iCodeTop); break; } case Token.FINALLY : { stackShouldBeZero = true; // Account for incomming exception or GOTOSUB address ++itsStackDepth; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int finallyRegister = getLocalBlockRef(node); iCodeTop = addIndexOp(Token.LOCAL_SAVE, finallyRegister, iCodeTop); itsStackDepth--; while (child != null) { iCodeTop = generateICode(child, iCodeTop); if (itsStackDepth != 0) Kit.codeBug(); child = child.getNext(); } iCodeTop = addIndexOp(Icode_RETSUB, finallyRegister, iCodeTop); break; } case Token.AND : case Token.OR : { stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); iCodeTop = addIcode(Icode_DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int afterSecondJumpStart = iCodeTop; int jump = (type == Token.AND) ? Token.IFNE : Token.IFEQ; iCodeTop = addForwardGoto(jump, iCodeTop); itsStackDepth--; iCodeTop = addToken(Token.POP, iCodeTop); itsStackDepth--; child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); resolveForwardGoto(afterSecondJumpStart, iCodeTop); break; } case Token.HOOK : { stackDelta = 1; Node ifThen = child.getNext(); Node ifElse = ifThen.getNext(); iCodeTop = generateICode(child, iCodeTop); int elseJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.IFNE, iCodeTop); itsStackDepth--; iCodeTop = generateICode(ifThen, iCodeTop); int afterElseJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.GOTO, iCodeTop); resolveForwardGoto(elseJumpStart, iCodeTop); itsStackDepth = savedStackDepth; iCodeTop = generateICode(ifElse, iCodeTop); resolveForwardGoto(afterElseJumpStart, iCodeTop); break; } case Token.GETPROP : stackDelta = 1; iCodeTop = visitGetProp(iCodeTop, node, child, false); break; case Token.GETELEM : stackDelta = 1; iCodeTop = visitGetElem(iCodeTop, node, child, false); break; case Token.DELPROP : case Token.BITAND : case Token.BITOR : case Token.BITXOR : case Token.LSH : case Token.RSH : case Token.URSH : case Token.ADD : case Token.SUB : case Token.MOD : case Token.DIV : case Token.MUL : case Token.EQ: case Token.NE: case Token.SHEQ: case Token.SHNE: case Token.IN : case Token.INSTANCEOF : case Token.LE : case Token.LT : case Token.GE : case Token.GT : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(type, iCodeTop); itsStackDepth--; break; case Token.POS : case Token.NEG : case Token.NOT : case Token.BITNOT : case Token.TYPEOF : case Token.VOID : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); if (type == Token.VOID) { iCodeTop = addToken(Token.POP, iCodeTop); iCodeTop = addToken(Token.UNDEFINED, iCodeTop); } else { iCodeTop = addToken(type, iCodeTop); } break; case Token.SETPROP : case Token.SETPROP_OP : { stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); int special = node.getIntProp(Node.SPECIAL_PROP_PROP, 0); if (special != 0) { if (type == Token.SETPROP_OP) { iCodeTop = addIcode(Icode_DUP, iCodeTop); if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; if (special == Node.SPECIAL_PROP_PROTO) { iCodeTop = addIcode(Icode_GETPROTO, iCodeTop); } else if (special == Node.SPECIAL_PROP_PARENT) { iCodeTop = addIcode(Icode_GETSCOPEPARENT, iCodeTop); } else { throw badTree(node); } // Compensate for the following USE_STACK itsStackDepth--; } iCodeTop = generateICode(child, iCodeTop); if (special == Node.SPECIAL_PROP_PROTO) { iCodeTop = addIcode(Icode_SETPROTO, iCodeTop); } else if (special == Node.SPECIAL_PROP_PARENT) { iCodeTop = addIcode(Icode_SETPARENT, iCodeTop); } else { throw badTree(node); } itsStackDepth--; } else { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); if (type == Token.SETPROP_OP) { iCodeTop = addIcode(Icode_DUPSECOND, iCodeTop); iCodeTop = addIcode(Icode_DUPSECOND, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addToken(Token.GETPROP, iCodeTop); itsStackDepth--; // Compensate for the following USE_STACK itsStackDepth--; } iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.SETPROP, iCodeTop); itsStackDepth -= 2; } break; } case Token.SETELEM : case Token.SETELEM_OP : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); if (type == Token.SETELEM_OP) { iCodeTop = addIcode(Icode_DUPSECOND, iCodeTop); iCodeTop = addIcode(Icode_DUPSECOND, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addToken(Token.GETELEM, iCodeTop); itsStackDepth--; // Compensate for the following USE_STACK itsStackDepth--; } iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.SETELEM, iCodeTop); itsStackDepth -= 2; break; case Token.SETNAME : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addStringOp(Token.SETNAME, firstChild.getString(), iCodeTop); itsStackDepth--; break; case Token.TYPEOFNAME : { stackDelta = 1; String name = node.getString(); int index = -1; // use typeofname if an activation frame exists // since the vars all exist there instead of in jregs if (itsInFunctionFlag && !itsData.itsNeedsActivation) index = scriptOrFn.getParamOrVarIndex(name); if (index == -1) { iCodeTop = addStringOp(Icode_TYPEOFNAME, name, iCodeTop); stackChange(1); } else { iCodeTop = addToken(Token.GETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); stackChange(1); iCodeTop = addToken(Token.TYPEOF, iCodeTop); } break; } case Token.BINDNAME : case Token.NAME : case Token.STRING : stackDelta = 1; iCodeTop = addStringOp(type, node.getString(), iCodeTop); stackChange(1); break; case Token.INC : case Token.DEC : { stackDelta = 1; int childType = child.getType(); switch (childType) { case Token.GETVAR : { String name = child.getString(); if (itsData.itsNeedsActivation) { iCodeTop = addIcode(Icode_SCOPE, iCodeTop); iCodeTop = addStringOp(Token.STRING, name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addIcode(type == Token.INC ? Icode_PROPINC : Icode_PROPDEC, iCodeTop); itsStackDepth--; } else { int i = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addIcode(type == Token.INC ? Icode_VARINC : Icode_VARDEC, iCodeTop); iCodeTop = addByte(i, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } case Token.GETPROP : case Token.GETELEM : { Node getPropChild = child.getFirstChild(); iCodeTop = generateICode(getPropChild, iCodeTop); getPropChild = getPropChild.getNext(); iCodeTop = generateICode(getPropChild, iCodeTop); int icode; if (childType == Token.GETPROP) { icode = (type == Token.INC) ? Icode_PROPINC : Icode_PROPDEC; } else { icode = (type == Token.INC) ? Icode_ELEMINC : Icode_ELEMDEC; } iCodeTop = addIcode(icode, iCodeTop); itsStackDepth--; break; } default : { iCodeTop = addStringOp(type == Token.INC ? Icode_NAMEINC : Icode_NAMEDEC, child.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } } break; } case Token.NUMBER : { stackDelta = 1; double num = node.getDouble(); int inum = (int)num; if (inum == num) { if (inum == 0) { iCodeTop = addToken(Token.ZERO, iCodeTop); // Check for negative zero if (1.0 / num < 0.0) { iCodeTop = addToken(Token.NEG, iCodeTop); } } else if (inum == 1) { iCodeTop = addToken(Token.ONE, iCodeTop); } else if ((short)inum == inum) { iCodeTop = addIcode(Icode_SHORTNUMBER, iCodeTop); iCodeTop = addShort(inum, iCodeTop); } else { iCodeTop = addIcode(Icode_INTNUMBER, iCodeTop); iCodeTop = addInt(inum, iCodeTop); } } else { int index = getDoubleIndex(num); iCodeTop = addIndexOp(Token.NUMBER, index, iCodeTop); } stackChange(1); break; } case Token.POPV : stackShouldBeZero = true; // fallthrough case Token.POP : iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(type, iCodeTop); itsStackDepth--; break; case Token.ENTERWITH : stackShouldBeZero = true; iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.ENTERWITH, iCodeTop); itsStackDepth--; break; case Token.CATCH_SCOPE : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); iCodeTop = addStringOp(Token.CATCH_SCOPE, node.getString(), iCodeTop); break; case Token.LEAVEWITH : stackShouldBeZero = true; iCodeTop = addToken(Token.LEAVEWITH, iCodeTop); break; case Token.TRY : { stackShouldBeZero = true; Node.Jump tryNode = (Node.Jump)node; int exceptionObjectLocal = getLocalBlockRef(tryNode); Node catchTarget = tryNode.target; Node finallyTarget = tryNode.getFinally(); int tryStart = iCodeTop; int tryEnd = -1; int catchStart = -1; int finallyStart = -1; while (child != null) { boolean generated = false; if (child == catchTarget) { if (tryEnd >= 0) Kit.codeBug(); tryEnd = iCodeTop; catchStart = iCodeTop; markTargetLabel((Node.Target)child, iCodeTop); generated = true; } else if (child == finallyTarget) { if (tryEnd < 0) { tryEnd = iCodeTop; } finallyStart = iCodeTop; markTargetLabel((Node.Target)child, iCodeTop); generated = true; } if (!generated) { iCodeTop = generateICode(child, iCodeTop); } child = child.getNext(); } // [tryStart, tryEnd) contains GOSUB to call finally when it // presents at the end of try code and before return, break // continue that transfer control outside try. // After finally is executed the control will be // transfered back into [tryStart, tryEnd) and exception // handling assumes that the only code executed after // finally returns will be a jump outside try which could not // trigger exceptions. // It does not hold if instruction observer throws during // goto. Currently it may lead to double execution of finally. addExceptionHandler(tryStart, tryEnd, catchStart, finallyStart, itsWithDepth, exceptionObjectLocal); break; } case Token.THROW : stackShouldBeZero = true; iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.THROW, iCodeTop); iCodeTop = addShort(itsLineNumber, iCodeTop); itsStackDepth--; break; case Token.RETURN : stackShouldBeZero = true; iCodeTop = updateLineNumber(node, iCodeTop); if (child != null) { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.RETURN, iCodeTop); itsStackDepth--; } else { iCodeTop = addIcode(Icode_RETUNDEF, iCodeTop); } break; case Token.RETURN_POPV : stackShouldBeZero = true; iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = addToken(Token.RETURN_POPV, iCodeTop); break; case Token.GETVAR : { stackDelta = 1; String name = node.getString(); if (itsData.itsNeedsActivation) { // SETVAR handled this by turning into a SETPROP, but // we can't do that to a GETVAR without manufacturing // bogus children. Instead we use a special op to // push the current scope. iCodeTop = addIcode(Icode_SCOPE, iCodeTop); iCodeTop = addStringOp(Token.STRING, name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addToken(Token.GETPROP, iCodeTop); itsStackDepth--; } else { int index = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addToken(Token.GETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } case Token.SETVAR : { stackDelta = 1; if (itsData.itsNeedsActivation) { child.setType(Token.BINDNAME); node.setType(Token.SETNAME); iCodeTop = generateICode(node, iCodeTop); } else { String name = child.getString(); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); int index = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addToken(Token.SETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); } break; } case Token.NULL: case Token.THIS: case Token.THISFN: case Token.FALSE: case Token.TRUE: case Token.UNDEFINED: stackDelta = 1; iCodeTop = addToken(type, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case Token.ENUM_INIT : stackShouldBeZero = true; iCodeTop = generateICode(child, iCodeTop); iCodeTop = addIndexOp(Token.ENUM_INIT, getLocalBlockRef(node), iCodeTop); stackChange(-1); break; case Token.ENUM_NEXT : case Token.ENUM_ID : stackDelta = 1; iCodeTop = addIndexOp(type, getLocalBlockRef(node), iCodeTop); stackChange(1); break; case Token.REGEXP : { stackDelta = 1; int index = node.getExistingIntProp(Node.REGEXP_PROP); iCodeTop = addIndexOp(Token.REGEXP, index, iCodeTop); stackChange(1); break; } case Token.ARRAYLIT: case Token.OBJECTLIT: stackDelta = 1; iCodeTop = visitLiteral(iCodeTop, node, child); break; default : throw badTree(node); } if (stackDelta != itsStackDepth - savedStackDepth) { //System.out.println("Bad stack delta: type="+Token.name(type)+" expected="+stackDelta+" real="+ (itsStackDepth - savedStackDepth)); Kit.codeBug(); } if (stackShouldBeZero && !(stackDelta == 0 && itsStackDepth == 0)) { Kit.codeBug(); } return iCodeTop; } | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/03911d128e17ed128bb1934f6e59ce577eb60acc/Interpreter.java/clean/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
2103,
45,
1085,
12,
907,
756,
16,
509,
277,
1085,
3401,
13,
565,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
2029,
1151,
273,
756,
18,
588,
3759,
1763,
5621,
3639,
2029,
15070,
273,
1151,
31,
3639,
509,
5198,
2624,
6148,
273,
2097,
2624,
6148,
31,
3639,
509,
2110,
9242,
273,
374,
31,
368,
2665,
2110,
2549,
364,
12773,
981,
3639,
1250,
2110,
14309,
1919,
7170,
273,
629,
31,
3639,
1620,
261,
723,
13,
288,
5411,
648,
3155,
18,
7788,
294,
288,
7734,
509,
2295,
1016,
273,
756,
18,
588,
9895,
1702,
4658,
12,
907,
18,
7788,
67,
15811,
1769,
7734,
4284,
907,
2295,
273,
2728,
1162,
5372,
18,
588,
2083,
907,
12,
4293,
1016,
1769,
7734,
309,
261,
4293,
18,
588,
2083,
559,
1435,
480,
4284,
907,
18,
7788,
67,
28411,
13,
288,
10792,
2110,
9242,
273,
404,
31,
10792,
368,
5098,
445,
8041,
578,
445,
2652,
10792,
368,
6317,
4260,
7213,
981,
4979,
394,
445,
10792,
368,
733,
603,
2110,
487,
445,
6317,
854,
6454,
10792,
368,
622,
2728,
19,
915,
787,
10792,
277,
1085,
3401,
273,
26794,
3817,
12,
45,
710,
67,
22693,
55,
4830,
16,
2295,
1016,
16,
277,
1085,
3401,
1769,
10792,
2110,
3043,
12,
21,
1769,
7734,
289,
469,
288,
10792,
2110,
14309,
1919,
7170,
273,
638,
31,
7734,
289,
7734,
898,
31,
5411,
289,
5411,
648,
3155,
18,
10885,
294,
7734,
2110,
14309,
1919,
7170,
273,
638,
31,
7734,
277,
1085,
3401,
273,
1089,
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,
509,
2103,
45,
1085,
12,
907,
756,
16,
509,
277,
1085,
3401,
13,
565,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
2029,
1151,
273,
756,
18,
588,
3759,
1763,
5621,
3639,
2029,
15070,
273,
1151,
31,
3639,
509,
5198,
2624,
6148,
273,
2097,
2624,
6148,
31,
3639,
509,
2110,
9242,
273,
374,
31,
368,
2665,
2110,
2549,
364,
12773,
981,
3639,
1250,
2110,
14309,
1919,
7170,
273,
629,
31,
3639,
1620,
261,
723,
13,
288,
5411,
648,
3155,
18,
7788,
294,
288,
7734,
509,
2295,
1016,
273,
756,
18,
588,
9895,
1702,
4658,
12,
907,
18,
7788,
67,
15811,
1769,
7734,
4284,
907,
2295,
273,
2728,
1162,
5372,
18,
588,
2083,
907,
12,
2
] |
getColorAndFontCollector().setFontsAndColors(element); getColorAndFontCollector().applyFontsAndColors(ti); } } | getColorAndFontCollector().setFontsAndColors(element); getColorAndFontCollector().applyFontsAndColors(ti); } } | protected void doUpdateItem(Item item, Object element) { // update icon and label // Similar code in TableTreeViewer.doUpdateItem() IBaseLabelProvider prov = getLabelProvider(); ITableLabelProvider tprov = null; if (prov instanceof ITableLabelProvider) { tprov = (ITableLabelProvider) prov; } int columnCount = tableTree.getTable().getColumnCount(); TableTreeItem ti = (TableTreeItem) item; // Also enter loop if no columns added. See 1G9WWGZ: JFUIF:WINNT - TableViewer with 0 columns does not work for (int column = 0; column < columnCount || column == 0; column++) { String text = "";//$NON-NLS-1$ Image image = null; if (tprov != null) { text = tprov.getColumnText(element, column); image = tprov.getColumnImage(element, column); } else { if (column == 0) { ViewerLabel updateLabel = new ViewerLabel(item .getText(), item.getImage()); buildLabel(updateLabel,element); //As it is possible for user code to run the event //loop check here. if (item.isDisposed()) { unmapElement(element, item); return; } text = updateLabel.getText(); image = updateLabel.getImage(); } } //Avoid setting text to null if(text == null) { text = ""; //$NON-NLS-1$ } ti.setText(column, text); // Apparently a problem to setImage to null if already null if (ti.getImage(column) != image) { ti.setImage(column, image); } getColorAndFontCollector().setFontsAndColors(element); getColorAndFontCollector().applyFontsAndColors(ti); } } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/98f48f47b2fd4c2b264a8e2e689bcbe9c594c5d2/TableTreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableTreeViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
1891,
1180,
12,
1180,
761,
16,
1033,
930,
13,
288,
3639,
368,
1089,
4126,
471,
1433,
3639,
368,
22967,
981,
316,
3555,
2471,
18415,
18,
2896,
1891,
1180,
1435,
3639,
467,
2171,
2224,
2249,
17197,
273,
11237,
2249,
5621,
3639,
467,
1388,
2224,
2249,
268,
25529,
273,
446,
31,
13491,
309,
261,
25529,
1276,
467,
1388,
2224,
2249,
13,
288,
1082,
202,
88,
25529,
273,
261,
1285,
429,
2224,
2249,
13,
17197,
31,
202,
202,
97,
7734,
509,
22429,
273,
1014,
2471,
18,
588,
1388,
7675,
588,
1494,
1380,
5621,
3639,
3555,
2471,
1180,
11374,
273,
261,
1388,
2471,
1180,
13,
761,
31,
3639,
368,
8080,
6103,
2798,
309,
1158,
2168,
3096,
18,
225,
2164,
404,
43,
29,
19989,
43,
62,
30,
21091,
5370,
42,
30,
24572,
1784,
300,
3555,
18415,
598,
374,
2168,
1552,
486,
1440,
3639,
364,
261,
474,
1057,
273,
374,
31,
1057,
411,
22429,
747,
1057,
422,
374,
31,
1057,
27245,
288,
5411,
514,
977,
273,
1408,
31,
759,
8,
3993,
17,
5106,
17,
21,
8,
5411,
3421,
1316,
273,
446,
31,
5411,
309,
261,
88,
25529,
480,
446,
13,
288,
7734,
977,
273,
268,
25529,
18,
588,
1494,
1528,
12,
2956,
16,
1057,
1769,
7734,
1316,
273,
268,
25529,
18,
588,
1494,
2040,
12,
2956,
16,
1057,
1769,
5411,
289,
469,
288,
7734,
309,
261,
2827,
422,
374,
13,
288,
6862,
202,
18415,
2224,
1089,
2224,
273,
394,
4441,
264,
2224,
12,
1726,
6862,
1082,
202,
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,
4750,
918,
741,
1891,
1180,
12,
1180,
761,
16,
1033,
930,
13,
288,
3639,
368,
1089,
4126,
471,
1433,
3639,
368,
22967,
981,
316,
3555,
2471,
18415,
18,
2896,
1891,
1180,
1435,
3639,
467,
2171,
2224,
2249,
17197,
273,
11237,
2249,
5621,
3639,
467,
1388,
2224,
2249,
268,
25529,
273,
446,
31,
13491,
309,
261,
25529,
1276,
467,
1388,
2224,
2249,
13,
288,
1082,
202,
88,
25529,
273,
261,
1285,
429,
2224,
2249,
13,
17197,
31,
202,
202,
97,
7734,
509,
22429,
273,
1014,
2471,
18,
588,
1388,
7675,
588,
1494,
1380,
5621,
3639,
3555,
2471,
1180,
11374,
273,
261,
1388,
2471,
1180,
13,
761,
31,
3639,
368,
8080,
6103,
2798,
309,
1158,
2168,
3096,
18,
225,
2164,
2
] |
return iD != ID_EDEFAULT; | return ((eFlags & ID_EFLAG) != 0) != ID_EDEFAULT; | public boolean eIsSet(EStructuralFeature eFeature) { switch (eDerivedStructuralFeatureID(eFeature.getFeatureID(), eFeature.getContainerClass())) { case DTDPackage.DTD_ATTRIBUTE__EANNOTATIONS : return eAnnotations != null && !getEAnnotations().isEmpty(); case DTDPackage.DTD_ATTRIBUTE__NAME : return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); case DTDPackage.DTD_ATTRIBUTE__ETYPE : return eType != null; case DTDPackage.DTD_ATTRIBUTE__CHANGEABLE : return changeable != CHANGEABLE_EDEFAULT; case DTDPackage.DTD_ATTRIBUTE__VOLATILE : return volatile_ != VOLATILE_EDEFAULT; case DTDPackage.DTD_ATTRIBUTE__TRANSIENT : return transient_ != TRANSIENT_EDEFAULT; case DTDPackage.DTD_ATTRIBUTE__UNIQUE : return unique != UNIQUE_EDEFAULT; case DTDPackage.DTD_ATTRIBUTE__DEFAULT_VALUE_LITERAL : return DEFAULT_VALUE_LITERAL_EDEFAULT == null ? defaultValueLiteral != null : !DEFAULT_VALUE_LITERAL_EDEFAULT.equals(defaultValueLiteral); case DTDPackage.DTD_ATTRIBUTE__DEFAULT_VALUE : return getDefaultValue() != null; case DTDPackage.DTD_ATTRIBUTE__LOWER_BOUND : return lowerBound != LOWER_BOUND_EDEFAULT; case DTDPackage.DTD_ATTRIBUTE__UPPER_BOUND : return upperBound != UPPER_BOUND_EDEFAULT; case DTDPackage.DTD_ATTRIBUTE__MANY : return isMany() != false; case DTDPackage.DTD_ATTRIBUTE__REQUIRED : return isRequired() != false; case DTDPackage.DTD_ATTRIBUTE__ECONTAINING_CLASS : return getEContainingClass() != null; case DTDPackage.DTD_ATTRIBUTE__UNSETTABLE : return unsettable != UNSETTABLE_EDEFAULT; case DTDPackage.DTD_ATTRIBUTE__ID : return iD != ID_EDEFAULT; case DTDPackage.DTD_ATTRIBUTE__EATTRIBUTE_TYPE : return basicGetEAttributeType() != null; case DTDPackage.DTD_ATTRIBUTE__COMMENT : return COMMENT_EDEFAULT == null ? comment != null : !COMMENT_EDEFAULT.equals(comment); case DTDPackage.DTD_ATTRIBUTE__DEFAULT_KIND : return defaultKind != DEFAULT_KIND_EDEFAULT; case DTDPackage.DTD_ATTRIBUTE__DEFAULT_VALUE_STRING : return DEFAULT_VALUE_STRING_EDEFAULT == null ? defaultValueString != null : !DEFAULT_VALUE_STRING_EDEFAULT.equals(defaultValueString); case DTDPackage.DTD_ATTRIBUTE__ATTRIBUTE_NAME_REFERENCED_ENTITY : return attributeNameReferencedEntity != null; case DTDPackage.DTD_ATTRIBUTE__ATTRIBUTE_TYPE_REFERENCED_ENTITY : return attributeTypeReferencedEntity != null; case DTDPackage.DTD_ATTRIBUTE__DTD_ELEMENT : return getDTDElement() != null; } return eDynamicIsSet(eFeature); } | 13989 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13989/a55c66c7e7342eb8cf757012799d1f83d30bd1bd/DTDAttributeImpl.java/buggy/bundles/org.eclipse.wst.dtd.core/emfmodel/org/eclipse/wst/dtd/core/internal/emf/impl/DTDAttributeImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
20372,
12,
41,
14372,
4595,
425,
4595,
13,
288,
202,
202,
9610,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
18,
588,
4595,
734,
9334,
425,
4595,
18,
588,
2170,
797,
1435,
3719,
288,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
41,
16791,
15297,
294,
9506,
202,
2463,
425,
5655,
480,
446,
597,
401,
588,
41,
5655,
7675,
291,
1921,
5621,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
1985,
294,
9506,
202,
2463,
6048,
67,
11236,
422,
446,
692,
508,
480,
446,
294,
401,
1985,
67,
11236,
18,
14963,
12,
529,
1769,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
27062,
294,
9506,
202,
2463,
425,
559,
480,
446,
31,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
30854,
294,
9506,
202,
2463,
2549,
429,
480,
26267,
2782,
67,
11236,
31,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
29439,
294,
9506,
202,
2463,
31548,
67,
480,
776,
1741,
27405,
67,
11236,
31,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
28412,
294,
9506,
202,
2463,
12315,
67,
480,
14996,
24937,
67,
11236,
31,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
16879,
294,
9506,
202,
2463,
3089,
480,
26623,
67,
11236,
31,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
5280,
67,
4051,
67,
23225,
294,
9506,
202,
2463,
3331,
67,
4051,
67,
23225,
67,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
20372,
12,
41,
14372,
4595,
425,
4595,
13,
288,
202,
202,
9610,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
18,
588,
4595,
734,
9334,
425,
4595,
18,
588,
2170,
797,
1435,
3719,
288,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
41,
16791,
15297,
294,
9506,
202,
2463,
425,
5655,
480,
446,
597,
401,
588,
41,
5655,
7675,
291,
1921,
5621,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
1985,
294,
9506,
202,
2463,
6048,
67,
11236,
422,
446,
692,
508,
480,
446,
294,
401,
1985,
67,
11236,
18,
14963,
12,
529,
1769,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
27062,
294,
9506,
2
] |
mCustomUnitsField.setEnabled(enable); | mCustomUnitsEditor.setEnabled(enable); | public void propertyValueChanged(ConfigElementEvent evt) { if ( evt.getProperty().equals("device_units") ) { Object value = mElement.getProperty("device_units", 0); boolean enable = ((Number) value).floatValue() == 0.0; mCustomUnitsField.setEnabled(enable); } } | 7933 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7933/020c421e82dddaec4050dafdcc51328460d240e3/TransmitterTransformPanel.java/buggy/modules/vrjuggler/vrjconfig/commoneditors/org/vrjuggler/vrjconfig/commoneditors/TransmitterTransformPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
12337,
5033,
12,
809,
1046,
1133,
6324,
13,
1377,
288,
540,
309,
261,
6324,
18,
588,
1396,
7675,
14963,
2932,
5964,
67,
7705,
7923,
262,
540,
288,
5411,
1033,
460,
273,
312,
1046,
18,
588,
1396,
2932,
5964,
67,
7705,
3113,
374,
1769,
5411,
1250,
4237,
273,
14015,
1854,
13,
460,
2934,
5659,
620,
1435,
422,
374,
18,
20,
31,
5411,
312,
3802,
7537,
6946,
18,
542,
1526,
12,
7589,
1769,
540,
289,
1377,
289,
2,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
12337,
5033,
12,
809,
1046,
1133,
6324,
13,
1377,
288,
540,
309,
261,
6324,
18,
588,
1396,
7675,
14963,
2932,
5964,
67,
7705,
7923,
262,
540,
288,
5411,
1033,
460,
273,
312,
1046,
18,
588,
1396,
2932,
5964,
67,
7705,
3113,
374,
1769,
5411,
1250,
4237,
273,
14015,
1854,
13,
460,
2934,
5659,
620,
1435,
422,
374,
18,
20,
31,
5411,
312,
3802,
7537,
6946,
18,
542,
1526,
12,
7589,
1769,
540,
289,
1377,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public org.quickfix.field.TradSesMethod getTradSesMethod() throws FieldNotFound { org.quickfix.field.TradSesMethod value = new org.quickfix.field.TradSesMethod(); | public quickfix.field.TradSesMethod getTradSesMethod() throws FieldNotFound { quickfix.field.TradSesMethod value = new quickfix.field.TradSesMethod(); | public org.quickfix.field.TradSesMethod getTradSesMethod() throws FieldNotFound { org.quickfix.field.TradSesMethod value = new org.quickfix.field.TradSesMethod(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/TradingSessionStatus.java/buggy/src/java/src/quickfix/fix43/TradingSessionStatus.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
1609,
72,
55,
281,
1305,
336,
1609,
72,
55,
281,
1305,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
1609,
72,
55,
281,
1305,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
1609,
72,
55,
281,
1305,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
1609,
72,
55,
281,
1305,
336,
1609,
72,
55,
281,
1305,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
1609,
72,
55,
281,
1305,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
1609,
72,
55,
281,
1305,
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
] |
public void showMessageDialog(String pMessage, String pTitle) { final String message = pMessage; final String title = pTitle; Runnable runMe = new Runnable() { public void run() { JOptionPane.showInternalMessageDialog((JDesktopPane)Pooka.getMainPanel().getContentPanel(), message, title, JOptionPane.PLAIN_MESSAGE); } }; if (! SwingUtilities.isEventDispatchThread()) { try { SwingUtilities.invokeAndWait(runMe); } catch (Exception e) { } } else { runMe.run(); } } | 967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/538edc8a94ad8ef2062ef68f8ea643b251c1a947/MessageInternalFrame.java/clean/src/net/suberic/pooka/gui/MessageInternalFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2405,
1079,
6353,
12,
780,
293,
1079,
16,
514,
293,
4247,
13,
288,
565,
727,
514,
883,
273,
293,
1079,
31,
565,
727,
514,
2077,
273,
293,
4247,
31,
3639,
10254,
1086,
4667,
273,
394,
10254,
1435,
288,
202,
482,
918,
1086,
1435,
288,
202,
225,
804,
1895,
8485,
18,
4500,
3061,
1079,
6353,
12443,
46,
27583,
8485,
13,
52,
1184,
69,
18,
588,
6376,
5537,
7675,
588,
1350,
5537,
9334,
883,
16,
2077,
16,
804,
1895,
8485,
18,
26549,
67,
8723,
1769,
202,
97,
1377,
289,
31,
3639,
309,
16051,
26145,
11864,
18,
291,
1133,
5325,
3830,
10756,
288,
1377,
775,
288,
202,
6050,
310,
11864,
18,
14407,
1876,
5480,
12,
2681,
4667,
1769,
1377,
289,
1044,
261,
503,
425,
13,
288,
1377,
289,
565,
289,
469,
288,
1377,
1086,
4667,
18,
2681,
5621,
565,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
4667,
273,
394,
10254,
1435,
288,
202,
482,
918,
1086,
1435,
288,
202,
225,
804,
1895,
8485,
18,
4500,
3061,
1079,
6353,
12443,
46,
27583,
8485,
13,
52,
1184,
69,
18,
588,
6376,
5537,
7675,
588,
1350,
5537,
9334,
883,
16,
2077,
16,
804,
1895,
8485,
18,
26549,
67,
8723,
1769,
202,
97,
1377,
289,
31,
3639,
309,
16051,
26145,
11864,
18,
291,
1133,
5325,
3830,
10756,
288,
1377,
775,
288,
202,
6050,
310,
11864,
18,
14407,
1876,
5480,
12,
2681,
4667,
1769,
1377,
2
] | ||
/* if (path.isNil()) { | if (tmp.isNil()) { | public RubyString getClassname() { RubyString path = null; RubyModule rbModule = this; while (rbModule.isIncluded() || rbModule.isSingleton()) { rbModule = ((RubyClass)rbModule).getSuperClass(); } if (rbModule == null) { rbModule = getRuby().getObjectClass(); } path = (RubyString)getInstanceVariables().get("__classpath__"); if (path != null) { if (getInstanceVariables().get("__classid__") != null) { path = RubyString.m_newString(getRuby(), ((RubyId)getInstanceVariables().get("__classid__")).toName()); // todo: convert from symbol to string getInstanceVariables().put("__classpath__", path); getInstanceVariables().remove("__classid__"); } } if (path == null) { path = rbModule.findClassPath(); /* if (path.isNil()) { return null; }*/ return path; } /*if (!(path instanceof RubyString)) { throw new RubyBugException("class path is not set properly"); }*/ return path; } | 49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/12847c6fd28fea4e223d132ced46eb1b4cb9de9a/RubyModule.java/clean/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
780,
2900,
529,
1435,
288,
3639,
19817,
780,
589,
273,
446,
31,
7734,
19817,
3120,
7138,
3120,
273,
333,
31,
3639,
1323,
261,
6731,
3120,
18,
291,
19323,
1435,
747,
7138,
3120,
18,
291,
19571,
10756,
288,
5411,
7138,
3120,
273,
14015,
54,
10340,
797,
13,
6731,
3120,
2934,
588,
8051,
797,
5621,
3639,
289,
7734,
309,
261,
6731,
3120,
422,
446,
13,
288,
5411,
7138,
3120,
273,
4170,
10340,
7675,
588,
921,
797,
5621,
3639,
289,
7734,
589,
273,
261,
54,
10340,
780,
13,
588,
1442,
6158,
7675,
588,
2932,
972,
26302,
972,
8863,
3639,
309,
261,
803,
480,
446,
13,
288,
5411,
309,
261,
588,
1442,
6158,
7675,
588,
2932,
972,
1106,
350,
972,
7923,
480,
446,
13,
288,
7734,
589,
273,
19817,
780,
18,
81,
67,
2704,
780,
12,
588,
54,
10340,
9334,
14015,
54,
10340,
548,
13,
588,
1442,
6158,
7675,
588,
2932,
972,
1106,
350,
972,
7923,
2934,
869,
461,
10663,
368,
10621,
30,
1765,
628,
3273,
358,
533,
27573,
3694,
6158,
7675,
458,
2932,
972,
26302,
972,
3113,
589,
1769,
7734,
3694,
6158,
7675,
4479,
2932,
972,
1106,
350,
972,
8863,
5411,
289,
3639,
289,
7734,
309,
261,
803,
422,
446,
13,
288,
5411,
589,
273,
7138,
3120,
18,
4720,
22158,
5621,
13491,
309,
261,
5645,
18,
291,
12616,
10756,
288,
7734,
327,
446,
31,
5411,
289,
5549,
13491,
327,
589,
31,
3639,
289,
7734,
1748,
430,
16051,
12,
803,
1276,
19817,
780,
3719,
288,
5411,
604,
394,
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,
780,
2900,
529,
1435,
288,
3639,
19817,
780,
589,
273,
446,
31,
7734,
19817,
3120,
7138,
3120,
273,
333,
31,
3639,
1323,
261,
6731,
3120,
18,
291,
19323,
1435,
747,
7138,
3120,
18,
291,
19571,
10756,
288,
5411,
7138,
3120,
273,
14015,
54,
10340,
797,
13,
6731,
3120,
2934,
588,
8051,
797,
5621,
3639,
289,
7734,
309,
261,
6731,
3120,
422,
446,
13,
288,
5411,
7138,
3120,
273,
4170,
10340,
7675,
588,
921,
797,
5621,
3639,
289,
7734,
589,
273,
261,
54,
10340,
780,
13,
588,
1442,
6158,
7675,
588,
2932,
972,
26302,
972,
8863,
3639,
309,
261,
803,
480,
446,
13,
288,
5411,
309,
261,
588,
1442,
6158,
7675,
588,
2932,
972,
1106,
350,
972,
2
] |
gd.horizontalAlignment = gd.FILL; | gd.horizontalAlignment = GridData.FILL; | protected void doFillIntoGrid(Composite parent, int numColumns) { Control control = getLabelControl(parent); valueControl = getValueControl(parent); GridData gd = new GridData(GridData.FILL_HORIZONTAL); gd.horizontalSpan = numColumns - 2; valueControl.setLayoutData(gd); changeFontButton = getChangeControl(parent); gd = new GridData(); gd.horizontalAlignment = gd.FILL; gd.heightHint = convertVerticalDLUsToPixels(changeFontButton, IDialogConstants.BUTTON_HEIGHT); int widthHint = convertHorizontalDLUsToPixels(changeFontButton, IDialogConstants.BUTTON_WIDTH); gd.widthHint = Math.max(widthHint, changeFontButton.computeSize(SWT.DEFAULT, SWT.DEFAULT, true).x); changeFontButton.setLayoutData(gd); control = getPreviewControl(); if (control != null) { gd = new GridData(); gd.horizontalAlignment = gd.FILL; gd.horizontalSpan = numColumns; gd.heightHint = previewer.getPreferredHeight(); control.setLayoutData(gd); }} | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/02ba77e383bb608847bcbeec7cbb2c08f1e26a2a/FontFieldEditor.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/preference/FontFieldEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
741,
8026,
5952,
6313,
12,
9400,
982,
16,
509,
30109,
13,
288,
202,
3367,
3325,
273,
11237,
3367,
12,
2938,
1769,
202,
1132,
3367,
273,
2366,
3367,
12,
2938,
1769,
202,
6313,
751,
15551,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
1769,
202,
19016,
18,
18396,
6952,
273,
30109,
300,
576,
31,
202,
1132,
3367,
18,
542,
3744,
751,
12,
19016,
1769,
202,
3427,
5711,
3616,
273,
336,
3043,
3367,
12,
2938,
1769,
202,
19016,
273,
394,
7145,
751,
5621,
202,
19016,
18,
18396,
11535,
273,
15551,
18,
29818,
31,
202,
19016,
18,
4210,
7002,
273,
1765,
15704,
8914,
3477,
774,
18079,
12,
3427,
5711,
3616,
16,
1599,
3529,
2918,
18,
20068,
67,
14595,
1769,
202,
474,
1835,
7002,
273,
1765,
14457,
8914,
3477,
774,
18079,
12,
3427,
5711,
3616,
16,
1599,
3529,
2918,
18,
20068,
67,
10023,
1769,
202,
19016,
18,
2819,
7002,
273,
2361,
18,
1896,
12,
2819,
7002,
16,
2549,
5711,
3616,
18,
9200,
1225,
12,
55,
8588,
18,
5280,
16,
348,
8588,
18,
5280,
16,
638,
2934,
92,
1769,
202,
3427,
5711,
3616,
18,
542,
3744,
751,
12,
19016,
1769,
202,
7098,
273,
336,
11124,
3367,
5621,
202,
430,
261,
7098,
480,
446,
13,
288,
202,
202,
19016,
273,
394,
7145,
751,
5621,
202,
202,
19016,
18,
18396,
11535,
273,
15551,
18,
29818,
31,
202,
202,
19016,
18,
18396,
6952,
273,
30109,
31,
202,
202,
19016,
18,
4210,
7002,
273,
10143,
264,
18,
588,
16028,
2686,
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,
4750,
918,
741,
8026,
5952,
6313,
12,
9400,
982,
16,
509,
30109,
13,
288,
202,
3367,
3325,
273,
11237,
3367,
12,
2938,
1769,
202,
1132,
3367,
273,
2366,
3367,
12,
2938,
1769,
202,
6313,
751,
15551,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
1769,
202,
19016,
18,
18396,
6952,
273,
30109,
300,
576,
31,
202,
1132,
3367,
18,
542,
3744,
751,
12,
19016,
1769,
202,
3427,
5711,
3616,
273,
336,
3043,
3367,
12,
2938,
1769,
202,
19016,
273,
394,
7145,
751,
5621,
202,
19016,
18,
18396,
11535,
273,
15551,
18,
29818,
31,
202,
19016,
18,
4210,
7002,
273,
1765,
15704,
8914,
3477,
774,
18079,
12,
3427,
5711,
3616,
16,
1599,
3529,
2918,
18,
20068,
2
] |
throw new MessageInvalidException(ProtocolErrorMessage.INVALID_MESSAGE, "PersistentPut goes from server to client not the other way around", identifier); | throw new MessageInvalidException(ProtocolErrorMessage.INVALID_MESSAGE, "PersistentPut goes from server to client not the other way around", identifier, global); | public void run(FCPConnectionHandler handler, Node node) throws MessageInvalidException { throw new MessageInvalidException(ProtocolErrorMessage.INVALID_MESSAGE, "PersistentPut goes from server to client not the other way around", identifier); } | 51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/bbb3c23ec38ea1c7abb48040a17f5fc7932248bc/PersistentPutDir.java/clean/src/freenet/node/fcp/PersistentPutDir.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
12,
42,
4258,
1952,
1503,
1838,
16,
2029,
756,
13,
1082,
202,
15069,
2350,
1941,
503,
288,
202,
202,
12849,
394,
2350,
1941,
503,
12,
5752,
14935,
18,
9347,
67,
8723,
16,
315,
11906,
6426,
13998,
628,
1438,
358,
1004,
486,
326,
1308,
4031,
6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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
12,
42,
4258,
1952,
1503,
1838,
16,
2029,
756,
13,
1082,
202,
15069,
2350,
1941,
503,
288,
202,
202,
12849,
394,
2350,
1941,
503,
12,
5752,
14935,
18,
9347,
67,
8723,
16,
315,
11906,
6426,
13998,
628,
1438,
358,
1004,
486,
326,
1308,
4031,
6740,
3113,
2756,
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
] |
repaint(); | this.repaint(); | public void setSindex(int s) { if (s != m_sIndex) { m_shapePoints = null; m_createShape = false; } m_sIndex = s; repaint(); } | 4773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4773/dc64e78e5cb981247dcf5060d192c6dbdf43d5cd/VisualizePanel.java/buggy/weka/gui/explorer/VisualizePanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13928,
1615,
12,
474,
272,
13,
288,
1377,
309,
261,
87,
480,
312,
67,
87,
1016,
13,
288,
202,
81,
67,
4867,
5636,
273,
446,
31,
202,
81,
67,
2640,
8500,
273,
629,
31,
1377,
289,
1377,
312,
67,
87,
1016,
273,
272,
31,
1377,
333,
18,
14462,
1598,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13928,
1615,
12,
474,
272,
13,
288,
1377,
309,
261,
87,
480,
312,
67,
87,
1016,
13,
288,
202,
81,
67,
4867,
5636,
273,
446,
31,
202,
81,
67,
2640,
8500,
273,
629,
31,
1377,
289,
1377,
312,
67,
87,
1016,
273,
272,
31,
1377,
333,
18,
14462,
1598,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
this.stripWicketParamTag = settings.getStripWicketParamTag(); | this.stripWicketTag = settings.getStripWicketTag(); | public void configure(ApplicationSettings settings) { this.componentNameAttribute = settings.getComponentNameAttribute(); this.stripWicketParamTag = settings.getStripWicketParamTag(); this.stripComments = settings.getStripComments(); this.compressWhitespace = settings.getCompressWhitespace(); this.automaticLinking = settings.getAutomaticLinking(); this.stripWicketFromComponentTag = settings.getStripComponentNames(); } | 46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/5be84663c2eb913369fea8910ad1faa19158db62/MarkupParser.java/clean/wicket/src/java/wicket/markup/MarkupParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5068,
12,
3208,
2628,
1947,
13,
202,
95,
3639,
333,
18,
4652,
461,
1499,
273,
1947,
18,
588,
1841,
461,
1499,
5621,
3639,
333,
18,
6406,
59,
29378,
1805,
273,
1947,
18,
588,
16632,
59,
29378,
1805,
5621,
3639,
333,
18,
6406,
9051,
273,
1947,
18,
588,
16632,
9051,
5621,
3639,
333,
18,
14706,
9431,
273,
1947,
18,
588,
16552,
9431,
5621,
3639,
333,
18,
5854,
4941,
2098,
310,
273,
1947,
18,
588,
7150,
4941,
2098,
310,
5621,
3639,
333,
18,
6406,
59,
29378,
1265,
1841,
1805,
273,
1947,
18,
588,
16632,
1841,
1557,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
5621,
3639,
333,
18,
6406,
9051,
273,
1947,
18,
588,
16632,
9051,
5621,
3639,
333,
18,
14706,
9431,
273,
1947,
18,
588,
16552,
9431,
5621,
3639,
333,
18,
5854,
4941,
2098,
310,
273,
1947,
18,
588,
7150,
4941,
2098,
310,
5621,
3639,
333,
18,
6406,
59,
29378,
1265,
1841,
1805,
273,
1947,
18,
588,
16632,
1841,
1557,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public Collection prerequisiteGoals(Scheduler scheduler) { X10Scheduler x10Sched = (X10Scheduler) scheduler; List<Goal> l = new ArrayList<Goal>(); l.add(x10Sched.Disambiguated(job)); l.add(x10Sched.TypePropagated(job)); // l.add(x10sched.TypesElaboratedForJobs()); l.addAll(super.prerequisiteGoals(scheduler)); return l; } | 1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/f8e1720cd66996a6339b992bf154aa0d019240a3/ExtensionInfo.java/clean/x10.compiler/src/polyglot/ext/x10/ExtensionInfo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2200,
30328,
16608,
1137,
5741,
1031,
12,
11870,
8129,
13,
288,
202,
202,
60,
2163,
11870,
619,
2163,
55,
2049,
273,
261,
60,
2163,
11870,
13,
8129,
31,
202,
682,
32,
27716,
34,
328,
273,
394,
2407,
32,
27716,
34,
5621,
202,
80,
18,
1289,
12,
92,
2163,
55,
2049,
18,
1669,
26011,
690,
12,
4688,
10019,
202,
80,
18,
1289,
12,
92,
2163,
55,
2049,
18,
559,
11953,
690,
12,
4688,
10019,
1082,
368,
328,
18,
1289,
12,
92,
2163,
87,
2049,
18,
2016,
4958,
378,
280,
690,
1290,
7276,
10663,
202,
80,
18,
1289,
1595,
12,
9565,
18,
683,
822,
16608,
1137,
5741,
1031,
12,
19972,
10019,
202,
2463,
328,
31,
202,
97,
2,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2200,
30328,
16608,
1137,
5741,
1031,
12,
11870,
8129,
13,
288,
202,
202,
60,
2163,
11870,
619,
2163,
55,
2049,
273,
261,
60,
2163,
11870,
13,
8129,
31,
202,
682,
32,
27716,
34,
328,
273,
394,
2407,
32,
27716,
34,
5621,
202,
80,
18,
1289,
12,
92,
2163,
55,
2049,
18,
1669,
26011,
690,
12,
4688,
10019,
202,
80,
18,
1289,
12,
92,
2163,
55,
2049,
18,
559,
11953,
690,
12,
4688,
10019,
1082,
368,
328,
18,
1289,
12,
92,
2163,
87,
2049,
18,
2016,
4958,
378,
280,
690,
1290,
7276,
10663,
202,
80,
18,
1289,
1595,
12,
9565,
18,
683,
822,
16608,
1137,
5741,
1031,
12,
19972,
10019,
202,
2463,
328,
31,
202,
97,
2,
-100
] | ||
int size = this._valueList.size(); org.exolab.castor.tests.framework.testDescriptor.Value[] array = new org.exolab.castor.tests.framework.testDescriptor.Value[size]; for (int index = 0; index < size; index++){ array[index] = (org.exolab.castor.tests.framework.testDescriptor.Value) _valueList.get(index); | if (index < 0 || index >= this._valueList.size()) { throw new IndexOutOfBoundsException("getValue: Index value '" + index + "' not in range [0.." + (this._valueList.size() - 1) + "]"); | public org.exolab.castor.tests.framework.testDescriptor.Value[] getValue() { int size = this._valueList.size(); org.exolab.castor.tests.framework.testDescriptor.Value[] array = new org.exolab.castor.tests.framework.testDescriptor.Value[size]; for (int index = 0; index < size; index++){ array[index] = (org.exolab.castor.tests.framework.testDescriptor.Value) _valueList.get(index); } return array; } //-- org.exolab.castor.tests.framework.testDescriptor.Value[] getValue() | 57307 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57307/944d2a6307b12265358614111f0785d1668b34cc/CallMethod.java/buggy/src/tests/main/org/exolab/castor/tests/framework/testDescriptor/CallMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2358,
18,
338,
355,
378,
18,
4155,
280,
18,
16341,
18,
12303,
18,
3813,
3187,
18,
620,
8526,
2366,
1435,
565,
288,
3639,
509,
963,
273,
333,
6315,
1132,
682,
18,
1467,
5621,
3639,
2358,
18,
338,
355,
378,
18,
4155,
280,
18,
16341,
18,
12303,
18,
3813,
3187,
18,
620,
8526,
526,
273,
394,
2358,
18,
338,
355,
378,
18,
4155,
280,
18,
16341,
18,
12303,
18,
3813,
3187,
18,
620,
63,
1467,
15533,
3639,
364,
261,
474,
770,
273,
374,
31,
770,
411,
963,
31,
770,
27245,
95,
5411,
526,
63,
1615,
65,
273,
261,
3341,
18,
338,
355,
378,
18,
4155,
280,
18,
16341,
18,
12303,
18,
3813,
3187,
18,
620,
13,
389,
1132,
682,
18,
588,
12,
1615,
1769,
3639,
289,
7734,
327,
526,
31,
565,
289,
368,
413,
2358,
18,
338,
355,
378,
18,
4155,
280,
18,
16341,
18,
12303,
18,
3813,
3187,
18,
620,
8526,
2366,
1435,
225,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2358,
18,
338,
355,
378,
18,
4155,
280,
18,
16341,
18,
12303,
18,
3813,
3187,
18,
620,
8526,
2366,
1435,
565,
288,
3639,
509,
963,
273,
333,
6315,
1132,
682,
18,
1467,
5621,
3639,
2358,
18,
338,
355,
378,
18,
4155,
280,
18,
16341,
18,
12303,
18,
3813,
3187,
18,
620,
8526,
526,
273,
394,
2358,
18,
338,
355,
378,
18,
4155,
280,
18,
16341,
18,
12303,
18,
3813,
3187,
18,
620,
63,
1467,
15533,
3639,
364,
261,
474,
770,
273,
374,
31,
770,
411,
963,
31,
770,
27245,
95,
5411,
526,
63,
1615,
65,
273,
261,
3341,
18,
338,
355,
378,
18,
4155,
280,
18,
16341,
18,
12303,
18,
3813,
3187,
18,
620,
13,
389,
1132,
2
] |
TreePath parentPath = internalGetSorterParentPath(parent, sorter); | protected int indexForElement(Widget parent, Object element) { ViewerSorter sorter = getSorter(); Item[] items = getChildren(parent); int count = items.length; if (sorter == null) return count; int min = 0, max = count - 1; while (min <= max) { int mid = (min + max) / 2; Object data = items[mid].getData(); int compare = sorter.compare(this, data, element); if (compare == 0) { // find first item > element while (compare == 0) { ++mid; if (mid >= count) { break; } data = items[mid].getData(); compare = sorter.compare(this, data, element); } return mid; } if (compare < 0) min = mid + 1; else max = mid - 1; } return min; } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/990698bdd0a4b0271c66c276d567bcde732bfa70/AbstractTreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4902,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
4902,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
4902,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
4902,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
4750,
2471,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
509,
2471,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
770,
1290,
1046,
12,
4609,
2471,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
982,
16,
2471,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
1033,
2471,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
930,
13,
2471,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
288,
2471,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
4902,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
4902,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
4902,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
4902,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
4902,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
4902,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
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,
4902,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
4902,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
4902,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
4902,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
4750,
2471,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
509,
2471,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
770,
1290,
1046,
12,
4609,
2471,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
19867,
1769,
982,
16,
2471,
743,
17743,
273,
2713,
967,
24952,
3054,
743,
12,
2938,
16,
2
] | |
s = s.trim(); if("true".equals(s)) return TRUE; else if("false".equals(s)) return FALSE; else if(isInt(s)) | final Interpreter ip = new Interpreter(); try | Value evaluate(String s) { assert !file.repository.isBuildStage(); //System.out.println("--------------evaluate-"+name+"--"+s+"--"); s = s.trim(); if("true".equals(s)) return TRUE; else if("false".equals(s)) return FALSE; else if(isInt(s)) { try { return new Value(Integer.parseInt(s)); } catch(NumberFormatException e) { throw new RuntimeException(e); } } else if(isString(s)) { return new Value(s.substring(1, s.length()-1)); } else if(s.startsWith(NEW)) { s = s.substring(NEW.length()); final int openParent = s.indexOf('('); if(openParent<=0) throw new RuntimeException(s); final String newClassName = s.substring(0, openParent); // TODO make a function Class newClass; try { newClass = file.findType(newClassName.trim()); } catch(InjectorParseException e) { if(newClassName.endsWith("Hash")) newClass = AnyHash.class; else throw new RuntimeException(e); } if(!Feature.class.isAssignableFrom(newClass)) throw new RuntimeException(newClass.toString()); final int closeParent = s.lastIndexOf(')'); if(closeParent<=openParent) throw new RuntimeException(s); final Value[] arguments = evaluateArgumentList(s.substring(openParent+1, closeParent)); final Class insteadOfAny; if(newClass==EnumAttribute.class) insteadOfAny = EnumValue.class; else if(newClass==ItemAttribute.class) insteadOfAny = Item.class; else insteadOfAny = null; final Object[] argumentInstances = toInstances(arguments, insteadOfAny); final Class[] argumentClasses = toClasses(arguments); final Constructor constructor; try { constructor = findConstructor(newClass, argumentClasses); } catch(NoSuchMethodException e) { throw new RuntimeException(e); } try { return new Value(constructor.newInstance(argumentInstances), newClass); } catch(InstantiationException e) { throw new RuntimeException(e); } catch(InvocationTargetException e) { throw new RuntimeException(e.getTargetException()); } catch(IllegalAccessException e) { throw new RuntimeException(e); } } else if(getAttribute(s)!=null) { final JavaAttribute a = getAttribute(s); if((a.modifier & (Modifier.STATIC|Modifier.FINAL))!=(Modifier.STATIC|Modifier.FINAL)) throw new RuntimeException(a.toString()+'-'+Modifier.toString(a.modifier)); //System.out.println("----------"+feature.toString()); return a.evaluate(); } else if(s.endsWith(CLASS)) { final String className = s.substring(0, s.length()-CLASS.length()); try { return new Value(file.findType(className.trim()), Class.class); } catch(InjectorParseException e) { return ANY_CLASS; } } else { final int dot = s.indexOf('.'); if(dot>=0) { final String prefix = s.substring(0, dot); final String postfix = s.substring(dot+1); CopeType aClass = null; try { aClass = file.repository.getCopeType(prefix); } catch(RuntimeException e) { if(!e.getMessage().startsWith("no cope type for ")) // TODO better exception throw new RuntimeException("bad exception", e); } if(aClass!=null) { return aClass.javaClass.evaluate(postfix); } else { final Value left = evaluate(prefix); int openParent = postfix.indexOf('('); if(openParent<0) throw new RuntimeException(postfix); final String featureName = postfix.substring(0, openParent); final int closeParent = postfix.lastIndexOf(')'); if(closeParent<=openParent) throw new RuntimeException(s); final Value[] arguments = evaluateArgumentList(postfix.substring(openParent+1, closeParent)); final Object[] argumentInstances = toInstances(arguments, null); final Class[] argumentClasses = toClasses(arguments); final Method m; try { m = findMethod(left.clazz, featureName, argumentClasses); } catch(NoSuchMethodException e2) { throw new RuntimeException(e2); } try { return new Value(m.invoke(left.instance, argumentInstances), m.getReturnType()); } catch(IllegalAccessException e2) { throw new RuntimeException(e2); } catch(InvocationTargetException e2) { throw new RuntimeException(e2.getTargetException()); } } } else { int openParent = s.indexOf('('); if(openParent>=0) { final String methodName = s.substring(0, openParent); final int closeParent = s.lastIndexOf(')'); if(closeParent<=openParent) throw new RuntimeException(s); final Value[] arguments = evaluateArgumentList(s.substring(openParent+1, closeParent)); final Object[] argumentInstances = toInstances(arguments, null); final Class[] argumentClasses = toClasses(arguments); final Method m; try { m = findMethod(Item.class, methodName, argumentClasses); } catch(NoSuchMethodException e2) { throw new RuntimeException(e2); } try { return new Value(m.invoke(null, argumentInstances), m.getReturnType()); } catch(IllegalAccessException e2) { throw new RuntimeException(s, e2); } catch(InvocationTargetException e2) { throw new RuntimeException(s, e2.getTargetException()); } } else { try { final Field f = Item.class.getField(s); final int m = f.getModifiers(); if((m & (Modifier.STATIC|Modifier.FINAL))!=(Modifier.STATIC|Modifier.FINAL)) throw new RuntimeException(f.toString()+'-'+Modifier.toString(m)); //System.out.println("----------"+f.getName()); final Object value = f.get(null); //System.out.println("----------"+value.toString()); return new Value(value, f.getType()); } catch(NoSuchFieldException e) { throw new RuntimeException(s, e); } catch(IllegalAccessException e) { throw new RuntimeException(s, e); } } } } } | 50290 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50290/8f72cc50c038be129639e96b05da7c994236335b/JavaClass.java/clean/instrument/src/com/exedio/cope/instrument/JavaClass.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
620,
5956,
12,
780,
272,
13,
202,
95,
202,
202,
11231,
401,
768,
18,
9071,
18,
291,
3116,
8755,
5621,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
17908,
21024,
10951,
15,
529,
9078,
413,
6,
15,
87,
9078,
413,
8863,
202,
202,
87,
273,
272,
18,
5290,
5621,
202,
202,
430,
2932,
3767,
9654,
14963,
12,
87,
3719,
1082,
202,
2463,
5383,
31,
202,
202,
12107,
309,
2932,
5743,
9654,
14963,
12,
87,
3719,
1082,
202,
2463,
4934,
31,
202,
202,
12107,
309,
12,
291,
1702,
12,
87,
3719,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
9506,
202,
2463,
394,
1445,
12,
4522,
18,
2670,
1702,
12,
87,
10019,
1082,
202,
97,
1082,
202,
14683,
12,
1854,
9291,
425,
13,
1082,
202,
95,
9506,
202,
12849,
394,
3235,
12,
73,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
309,
12,
291,
780,
12,
87,
3719,
202,
202,
95,
1082,
202,
2463,
394,
1445,
12,
87,
18,
28023,
12,
21,
16,
272,
18,
2469,
1435,
17,
21,
10019,
202,
202,
97,
202,
202,
12107,
309,
12,
87,
18,
17514,
1190,
12,
12917,
3719,
202,
202,
95,
1082,
202,
87,
273,
272,
18,
28023,
12,
12917,
18,
2469,
10663,
1082,
202,
6385,
509,
1696,
3054,
273,
272,
18,
31806,
2668,
2668,
1769,
1082,
202,
430,
12,
3190,
3054,
32,
33,
20,
13,
9506,
202,
12849,
394,
3235,
12,
87,
1769,
1082,
202,
6385,
514,
394,
3834,
273,
272,
18,
28023,
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,
225,
202,
620,
5956,
12,
780,
272,
13,
202,
95,
202,
202,
11231,
401,
768,
18,
9071,
18,
291,
3116,
8755,
5621,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
17908,
21024,
10951,
15,
529,
9078,
413,
6,
15,
87,
9078,
413,
8863,
202,
202,
87,
273,
272,
18,
5290,
5621,
202,
202,
430,
2932,
3767,
9654,
14963,
12,
87,
3719,
1082,
202,
2463,
5383,
31,
202,
202,
12107,
309,
2932,
5743,
9654,
14963,
12,
87,
3719,
1082,
202,
2463,
4934,
31,
202,
202,
12107,
309,
12,
291,
1702,
12,
87,
3719,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
9506,
202,
2463,
394,
1445,
12,
4522,
18,
2670,
1702,
12,
87,
10019,
1082,
202,
97,
1082,
2
] |
long[] data = new long[8]; data[0]=-2593835568731268616L; | long[] data = new long[2048]; data[0]=-2593835568731268609L; | private static final long[] mk_tokenSet_0() { long[] data = new long[8]; data[0]=-2593835568731268616L; data[1]=-2L; for (int i = 2; i<=3; i++) { data[i]=-1L; } return data; } | 48756 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48756/5049f6eadb6eff8f7d24ae4a36bc564cb893e02c/PerlBaseLexer.java/clean/org.epic.debug/src/org/epic/debug/varparser/PerlBaseLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
727,
1525,
8526,
5028,
67,
2316,
694,
67,
20,
1435,
288,
202,
202,
5748,
8526,
501,
273,
394,
1525,
63,
28,
15533,
202,
202,
892,
63,
20,
65,
29711,
2947,
29,
7414,
23,
2539,
9470,
9036,
25452,
5292,
2313,
48,
31,
202,
202,
892,
63,
21,
65,
29711,
22,
48,
31,
202,
202,
1884,
261,
474,
277,
273,
576,
31,
277,
32,
33,
23,
31,
277,
27245,
288,
501,
63,
77,
65,
29711,
21,
48,
31,
289,
202,
202,
2463,
501,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
727,
1525,
8526,
5028,
67,
2316,
694,
67,
20,
1435,
288,
202,
202,
5748,
8526,
501,
273,
394,
1525,
63,
28,
15533,
202,
202,
892,
63,
20,
65,
29711,
2947,
29,
7414,
23,
2539,
9470,
9036,
25452,
5292,
2313,
48,
31,
202,
202,
892,
63,
21,
65,
29711,
22,
48,
31,
202,
202,
1884,
261,
474,
277,
273,
576,
31,
277,
32,
33,
23,
31,
277,
27245,
288,
501,
63,
77,
65,
29711,
21,
48,
31,
289,
202,
202,
2463,
501,
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
] |
case 114: return jjMoveStringLiteralDfa2_4(active0, 0x100000L); | private final int jjMoveStringLiteralDfa1_4(long active0){ try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(0, active0); return 1; } switch(curChar) { case 35: if ((active0 & 0x200L) != 0L) return jjStopAtPos(1, 9); break; case 42: if ((active0 & 0x800L) != 0L) return jjStartNfaWithStates_4(1, 11, 0); break; case 97: return jjMoveStringLiteralDfa2_4(active0, 0x200000L); case 114: return jjMoveStringLiteralDfa2_4(active0, 0x100000L); default : break; } return jjStartNfa_4(0, active0);} | 55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/983675edbbab0e381643fec9c2a3e765c2f88830/ParserTokenManager.java/buggy/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
28565,
40,
507,
21,
67,
24,
12,
5748,
2695,
20,
15329,
282,
775,
288,
662,
2156,
273,
810,
67,
3256,
18,
896,
2156,
5621,
289,
282,
1044,
12,
6290,
18,
1594,
18,
14106,
425,
13,
288,
1377,
10684,
4947,
28565,
40,
507,
67,
24,
12,
20,
16,
2695,
20,
1769,
1377,
327,
404,
31,
282,
289,
282,
1620,
12,
1397,
2156,
13,
282,
288,
1377,
648,
13191,
30,
540,
309,
14015,
3535,
20,
473,
374,
92,
6976,
48,
13,
480,
374,
48,
13,
5411,
327,
10684,
4947,
861,
1616,
12,
21,
16,
2468,
1769,
540,
898,
31,
1377,
648,
14856,
30,
540,
309,
14015,
3535,
20,
473,
374,
92,
17374,
48,
13,
480,
374,
48,
13,
5411,
327,
10684,
1685,
50,
507,
1190,
7629,
67,
24,
12,
21,
16,
4648,
16,
374,
1769,
540,
898,
31,
1377,
648,
16340,
30,
540,
327,
10684,
7607,
28565,
40,
507,
22,
67,
24,
12,
3535,
20,
16,
374,
92,
22,
11706,
48,
1769,
1377,
648,
21284,
30,
540,
327,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326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
28565,
40,
507,
21,
67,
24,
12,
5748,
2695,
20,
15329,
282,
775,
288,
662,
2156,
273,
810,
67,
3256,
18,
896,
2156,
5621,
289,
282,
1044,
12,
6290,
18,
1594,
18,
14106,
425,
13,
288,
1377,
10684,
4947,
28565,
40,
507,
67,
24,
12,
20,
16,
2695,
20,
1769,
1377,
327,
404,
31,
282,
289,
282,
1620,
12,
1397,
2156,
13,
282,
288,
1377,
648,
13191,
30,
540,
309,
14015,
3535,
20,
473,
374,
92,
6976,
48,
13,
480,
374,
48,
13,
5411,
327,
10684,
4947,
861,
1616,
12,
21,
16,
2468,
1769,
540,
898,
31,
1377,
648,
14856,
30,
540,
309,
14015,
3535,
20,
473,
374,
92,
17374,
48,
13,
480,
374,
2
] | |
if(leftDocked) { if(rightDocked) { | if (leftDocked) { if (rightDocked) { | void check(Component comp) { Component thisParent = finalThis.getParent(); if(thisParent == null) { return; } Component parent = finalT1.getParent(); boolean leftDocked = true; boolean rightDocked = true; boolean adjustVerticalSplit = false; if(parent != null) { if(parent != finalP1) { while(!(parent instanceof JFrame)) { parent = parent.getParent(); } JFrame frame = (JFrame)parent; finalDb.addTopLevel("Variables", frame); // We need the following hacks because: // - We want an undocked toolbar to be // resizable. // - We are using JToolbar as a container of a // JComboBox. Without this JComboBox's popup // can get left floating when the toolbar is // re-docked. // // We make the frame resizable and then // remove JToolbar's window listener // and insert one of our own that first ensures // the JComboBox's popup window is closed // and then calls JToolbar's window listener. if(!frame.isResizable()) { frame.setResizable(true); frame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE); final EventListener[] l = frame.getListeners(WindowListener.class); frame.removeWindowListener((WindowListener)l[0]); frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { context.hidePopup(); ((WindowListener)l[0]).windowClosing(e); } }); //adjustVerticalSplit = true; } leftDocked = false; } else { leftDocked = true; } } parent = finalT2.getParent(); if(parent != null) { if(parent != finalP2) { while(!(parent instanceof JFrame)) { parent = parent.getParent(); } JFrame frame = (JFrame)parent; finalDb.addTopLevel("Evaluate", frame); frame.setResizable(true); rightDocked = false; } else { rightDocked = true; } } if(leftDocked && t2Docked && rightDocked && t2Docked) { // no change return; } t1Docked = leftDocked; t2Docked = rightDocked; JSplitPane split = (JSplitPane)thisParent; if(leftDocked) { if(rightDocked) { finalSplit.setDividerLocation(0.5); } else { finalSplit.setDividerLocation(1.0); } if(adjustVerticalSplit) { split.setDividerLocation(0.66); } } else if(rightDocked) { finalSplit.setDividerLocation(0.0); split.setDividerLocation(0.66); } else { // both undocked split.setDividerLocation(1.0); } } | 12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/5b760bc86060749267746b7d77c0c8da1d3b9c1d/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
918,
866,
12,
1841,
1161,
13,
288,
10792,
5435,
333,
3054,
273,
727,
2503,
18,
588,
3054,
5621,
10792,
309,
12,
2211,
3054,
422,
446,
13,
288,
13491,
327,
31,
10792,
289,
10792,
5435,
982,
273,
727,
56,
21,
18,
588,
3054,
5621,
10792,
1250,
2002,
40,
975,
329,
273,
638,
31,
10792,
1250,
2145,
40,
975,
329,
273,
638,
31,
10792,
1250,
5765,
15704,
5521,
273,
629,
31,
10792,
309,
12,
2938,
480,
446,
13,
288,
13491,
309,
12,
2938,
480,
727,
52,
21,
13,
288,
18701,
1323,
12,
5,
12,
2938,
1276,
804,
3219,
3719,
288,
27573,
982,
273,
982,
18,
588,
3054,
5621,
18701,
289,
18701,
804,
3219,
2623,
273,
261,
46,
3219,
13,
2938,
31,
18701,
727,
4331,
18,
1289,
27046,
2932,
6158,
3113,
2623,
1769,
18701,
368,
1660,
1608,
326,
3751,
11769,
87,
2724,
30,
18701,
368,
300,
1660,
2545,
392,
22927,
975,
329,
12748,
358,
506,
18701,
368,
282,
400,
6934,
18,
18701,
368,
300,
1660,
854,
1450,
804,
17907,
487,
279,
1478,
434,
279,
18701,
368,
282,
804,
22199,
18,
27287,
333,
804,
22199,
1807,
10431,
18701,
368,
282,
848,
336,
2002,
13861,
1347,
326,
12748,
353,
18701,
368,
282,
283,
17,
72,
975,
329,
18,
18701,
368,
18701,
368,
1660,
1221,
326,
2623,
400,
6934,
471,
1508,
18701,
368,
1206,
804,
17907,
1807,
2742,
2991,
18701,
368,
471,
2243,
1245,
434,
3134,
4953,
716,
1122,
11932,
18701,
368,
326,
804,
22199,
1807,
10431,
2742,
353,
4375,
18701,
368,
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,
1171,
918,
866,
12,
1841,
1161,
13,
288,
10792,
5435,
333,
3054,
273,
727,
2503,
18,
588,
3054,
5621,
10792,
309,
12,
2211,
3054,
422,
446,
13,
288,
13491,
327,
31,
10792,
289,
10792,
5435,
982,
273,
727,
56,
21,
18,
588,
3054,
5621,
10792,
1250,
2002,
40,
975,
329,
273,
638,
31,
10792,
1250,
2145,
40,
975,
329,
273,
638,
31,
10792,
1250,
5765,
15704,
5521,
273,
629,
31,
10792,
309,
12,
2938,
480,
446,
13,
288,
13491,
309,
12,
2938,
480,
727,
52,
21,
13,
288,
18701,
1323,
12,
5,
12,
2938,
1276,
804,
3219,
3719,
288,
27573,
982,
273,
982,
18,
588,
3054,
5621,
18701,
289,
18701,
804,
3219,
2623,
273,
261,
46,
3219,
13,
2938,
2
] |
VM.sysWriteln("[ Back to printing stack trace # ", traceIndex, | VM.sysWriteln("[ Retrying printing stack trace # ", traceIndex, | public void print(PrintLN out, Throwable trigger) { boolean printed = false; try { VM.sysWriteln("VM_StackTrace.print(): Printing Stack Trace # ", traceIndex); print4Real(out, trigger); printed = true; } catch (OutOfMemoryError e) { trigger.tallyOutOfMemoryError(); VM.sysWriteln("VM_StackTrace.print(): OutOfMemoryError while printing stack trace # ", traceIndex); } catch (Throwable e) { trigger.tallyWeirdError(); VM.sysWriteln("VM_StackTrace.print(): *UNEXPECTED* Throwable while displaying stack trace # ", traceIndex); VM.sysWrite(" The Throwable was: "); e.sysWrite(); VM.sysWriteln("VM_StackTrace.print(): And its stack trace was:"); e.sysWriteStackTrace(); } finally { if (printed) return; // all is well if (out.isSysWrite()) { VM.sysWriteln("[ Aborting stack trace # ", traceIndex, " ; already was printing with sysWrite()]"); return; } VM.sysWriteln("[ Back to printing stack trace # ", traceIndex, "; using sysWrite(), this time ]"); print4Real(PrintContainer.readyPrinter, trigger); } } | 5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/a57c9e5dc0c4e2631bd519b4697249c7ba4f3d33/VM_StackTrace.java/buggy/rvm/src/vm/runtime/VM_StackTrace.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1172,
12,
5108,
48,
50,
596,
16,
4206,
3080,
13,
288,
565,
1250,
14099,
273,
629,
31,
565,
775,
288,
1377,
8251,
18,
9499,
4913,
292,
82,
2932,
7397,
67,
6332,
18,
1188,
13332,
3038,
310,
7283,
2677,
468,
3104,
2606,
1016,
1769,
1377,
1172,
24,
6955,
12,
659,
16,
3080,
1769,
1377,
14099,
273,
638,
31,
565,
289,
1044,
261,
11224,
6031,
668,
425,
13,
288,
1377,
3080,
18,
88,
1230,
11224,
6031,
668,
5621,
1377,
8251,
18,
9499,
4913,
292,
82,
2932,
7397,
67,
6332,
18,
1188,
13332,
18407,
6031,
668,
1323,
19171,
2110,
2606,
468,
3104,
2606,
1016,
1769,
565,
289,
1044,
261,
15155,
425,
13,
288,
1377,
3080,
18,
88,
1230,
3218,
6909,
668,
5621,
1377,
8251,
18,
9499,
4913,
292,
82,
2932,
7397,
67,
6332,
18,
1188,
13332,
380,
2124,
27409,
14,
4206,
1323,
23620,
2110,
2606,
468,
3104,
2606,
1016,
1769,
1377,
8251,
18,
9499,
3067,
2932,
565,
1021,
4206,
1703,
30,
315,
1769,
1377,
425,
18,
9499,
3067,
5621,
1377,
8251,
18,
9499,
4913,
292,
82,
2932,
7397,
67,
6332,
18,
1188,
13332,
7835,
2097,
2110,
2606,
1703,
2773,
1769,
1377,
425,
18,
9499,
3067,
6332,
5621,
565,
289,
3095,
288,
1377,
309,
261,
1188,
329,
13,
202,
2463,
31,
1082,
202,
759,
777,
353,
5492,
1377,
309,
261,
659,
18,
291,
12712,
3067,
10756,
288,
202,
7397,
18,
9499,
4913,
292,
82,
2932,
63,
14263,
310,
2110,
2606,
468,
3104,
225,
2606,
1016,
16,
315,
274,
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,
1172,
12,
5108,
48,
50,
596,
16,
4206,
3080,
13,
288,
565,
1250,
14099,
273,
629,
31,
565,
775,
288,
1377,
8251,
18,
9499,
4913,
292,
82,
2932,
7397,
67,
6332,
18,
1188,
13332,
3038,
310,
7283,
2677,
468,
3104,
2606,
1016,
1769,
1377,
1172,
24,
6955,
12,
659,
16,
3080,
1769,
1377,
14099,
273,
638,
31,
565,
289,
1044,
261,
11224,
6031,
668,
425,
13,
288,
1377,
3080,
18,
88,
1230,
11224,
6031,
668,
5621,
1377,
8251,
18,
9499,
4913,
292,
82,
2932,
7397,
67,
6332,
18,
1188,
13332,
18407,
6031,
668,
1323,
19171,
2110,
2606,
468,
3104,
2606,
1016,
1769,
565,
289,
1044,
261,
15155,
425,
13,
288,
1377,
3080,
18,
88,
1230,
3218,
2
] |
void setArray(int i, Array x) throws SQLException; | void setArray(int index, Array value) throws SQLException; | void setArray(int i, Array x) throws SQLException; | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/8e6a933c7311b8af73a149d26777089b7dc8bd68/PreparedStatement.java/buggy/core/src/classpath/java/java/sql/PreparedStatement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
444,
1076,
12,
474,
277,
16,
1510,
619,
13,
1216,
6483,
31,
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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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public static void setCachingEnabled(boolean cachingEnabled) { if (isCachingEnabled && !cachingEnabled) { JavaMembers.classTable = new Hashtable(); } isCachingEnabled = cachingEnabled; FunctionObject.setCachingEnabled(cachingEnabled); | public static void setCachingEnabled(boolean cachingEnabled) { | public static void setCachingEnabled(boolean cachingEnabled) { if (isCachingEnabled && !cachingEnabled) { // Caching is being turned off. Empty caches. JavaMembers.classTable = new Hashtable(); } isCachingEnabled = cachingEnabled; FunctionObject.setCachingEnabled(cachingEnabled); } | 12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/54563952a0c0ed41e6d682175eedff353d9d4352/Context.java/clean/js/rhino/src/org/mozilla/javascript/Context.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
444,
17712,
1526,
12,
6494,
11393,
1526,
13,
288,
3639,
309,
261,
291,
17712,
1526,
597,
401,
17703,
310,
1526,
13,
288,
5411,
368,
23782,
310,
353,
3832,
21826,
3397,
18,
8953,
12535,
18,
5411,
5110,
6918,
18,
1106,
1388,
273,
394,
18559,
5621,
3639,
289,
3639,
353,
17712,
1526,
273,
11393,
1526,
31,
3639,
4284,
921,
18,
542,
17712,
1526,
12,
17703,
310,
1526,
1769,
565,
289,
2,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
444,
17712,
1526,
12,
6494,
11393,
1526,
13,
288,
3639,
309,
261,
291,
17712,
1526,
597,
401,
17703,
310,
1526,
13,
288,
5411,
368,
23782,
310,
353,
3832,
21826,
3397,
18,
8953,
12535,
18,
5411,
5110,
6918,
18,
1106,
1388,
273,
394,
18559,
5621,
3639,
289,
3639,
353,
17712,
1526,
273,
11393,
1526,
31,
3639,
4284,
921,
18,
542,
17712,
1526,
12,
17703,
310,
1526,
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
] |
case 140: | case 142: | public final Expression expr(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException,XPathException { Expression step; org.exist.xquery.parser.XQueryAST expr_AST_in = (_t == ASTNULL) ? null : (org.exist.xquery.parser.XQueryAST)_t; org.exist.xquery.parser.XQueryAST c = null; org.exist.xquery.parser.XQueryAST astIf = null; org.exist.xquery.parser.XQueryAST someVarName = null; org.exist.xquery.parser.XQueryAST everyVarName = null; org.exist.xquery.parser.XQueryAST r = null; org.exist.xquery.parser.XQueryAST f = null; org.exist.xquery.parser.XQueryAST varName = null; org.exist.xquery.parser.XQueryAST posVar = null; org.exist.xquery.parser.XQueryAST l = null; org.exist.xquery.parser.XQueryAST letVarName = null; org.exist.xquery.parser.XQueryAST w = null; org.exist.xquery.parser.XQueryAST collURI = null; step= null; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_castable: case LITERAL_cast: { step=typeCastExpr(_t,path); _t = _retTree; break; } case COMMA: { AST __t59 = _t; c = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,COMMA); _t = _t.getFirstChild(); PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; SequenceConstructor sc= new SequenceConstructor(context); sc.setASTNode(c); sc.addPath(left); sc.addPath(right); path.addPath(sc); step = sc; _t = __t59; _t = _t.getNextSibling(); break; } case LITERAL_if: { AST __t60 = _t; astIf = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_if); _t = _t.getFirstChild(); PathExpr testExpr= new PathExpr(context); PathExpr thenExpr= new PathExpr(context); PathExpr elseExpr= new PathExpr(context); step=expr(_t,testExpr); _t = _retTree; step=expr(_t,thenExpr); _t = _retTree; step=expr(_t,elseExpr); _t = _retTree; ConditionalExpression cond= new ConditionalExpression(context, testExpr, thenExpr, elseExpr); cond.setASTNode(astIf); path.add(cond); step = cond; _t = __t60; _t = _t.getNextSibling(); break; } case LITERAL_some: { AST __t61 = _t; org.exist.xquery.parser.XQueryAST tmp3_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_some); _t = _t.getFirstChild(); List clauses= new ArrayList(); PathExpr satisfiesExpr = new PathExpr(context); { _loop66: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VARIABLE_BINDING)) { AST __t63 = _t; someVarName = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,VARIABLE_BINDING); _t = _t.getFirstChild(); ForLetClause clause= new ForLetClause(); PathExpr inputSequence = new PathExpr(context); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_as: { AST __t65 = _t; org.exist.xquery.parser.XQueryAST tmp4_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_as); _t = _t.getFirstChild(); sequenceType(_t,clause.sequenceType); _t = _retTree; _t = __t65; _t = _t.getNextSibling(); break; } 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 ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: 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_instance: case LITERAL_castable: 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 LITERAL_attribute: case LITERAL_comment: case 140: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 152: case 153: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 157: case 158: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } step=expr(_t,inputSequence); _t = _retTree; clause.varName= someVarName.getText(); clause.inputSequence= inputSequence; clauses.add(clause); _t = __t63; _t = _t.getNextSibling(); } else { break _loop66; } } while (true); } step=expr(_t,satisfiesExpr); _t = _retTree; Expression action = satisfiesExpr; for (int i= clauses.size() - 1; i >= 0; i--) { ForLetClause clause= (ForLetClause) clauses.get(i); BindingExpression expr = new QuantifiedExpression(context, QuantifiedExpression.SOME); expr.setVariable(clause.varName); expr.setSequenceType(clause.sequenceType); expr.setInputSequence(clause.inputSequence); expr.setReturnExpression(action); satisfiesExpr= null; action= expr; } path.add(action); step = action; _t = __t61; _t = _t.getNextSibling(); break; } case LITERAL_every: { AST __t67 = _t; org.exist.xquery.parser.XQueryAST tmp5_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_every); _t = _t.getFirstChild(); List clauses= new ArrayList(); PathExpr satisfiesExpr = new PathExpr(context); { _loop72: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VARIABLE_BINDING)) { AST __t69 = _t; everyVarName = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,VARIABLE_BINDING); _t = _t.getFirstChild(); ForLetClause clause= new ForLetClause(); PathExpr inputSequence = new PathExpr(context); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_as: { AST __t71 = _t; org.exist.xquery.parser.XQueryAST tmp6_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_as); _t = _t.getFirstChild(); sequenceType(_t,clause.sequenceType); _t = _retTree; _t = __t71; _t = _t.getNextSibling(); break; } 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 ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: 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_instance: case LITERAL_castable: 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 LITERAL_attribute: case LITERAL_comment: case 140: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 152: case 153: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 157: case 158: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } step=expr(_t,inputSequence); _t = _retTree; clause.varName= everyVarName.getText(); clause.inputSequence= inputSequence; clauses.add(clause); _t = __t69; _t = _t.getNextSibling(); } else { break _loop72; } } while (true); } step=expr(_t,satisfiesExpr); _t = _retTree; Expression action = satisfiesExpr; for (int i= clauses.size() - 1; i >= 0; i--) { ForLetClause clause= (ForLetClause) clauses.get(i); BindingExpression expr = new QuantifiedExpression(context, QuantifiedExpression.EVERY); expr.setVariable(clause.varName); expr.setSequenceType(clause.sequenceType); expr.setInputSequence(clause.inputSequence); expr.setReturnExpression(action); satisfiesExpr= null; action= expr; } path.add(action); step = action; _t = __t67; _t = _t.getNextSibling(); break; } case LITERAL_return: { AST __t73 = _t; r = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_return); _t = _t.getFirstChild(); List clauses= new ArrayList(); Expression action= new PathExpr(context); action.setASTNode(r); PathExpr whereExpr= null; List orderBy= null; { int _cnt88=0; _loop88: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_for: { AST __t75 = _t; f = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_for); _t = _t.getFirstChild(); { int _cnt81=0; _loop81: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VARIABLE_BINDING)) { AST __t77 = _t; varName = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,VARIABLE_BINDING); _t = _t.getFirstChild(); ForLetClause clause= new ForLetClause(); clause.ast = f; PathExpr inputSequence= new PathExpr(context); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_as: { AST __t79 = _t; org.exist.xquery.parser.XQueryAST tmp7_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_as); _t = _t.getFirstChild(); clause.sequenceType= new SequenceType(); sequenceType(_t,clause.sequenceType); _t = _retTree; _t = __t79; _t = _t.getNextSibling(); break; } 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 POSITIONAL_VAR: case BEFORE: case AFTER: case ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: 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_instance: case LITERAL_castable: 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 LITERAL_attribute: case LITERAL_comment: case 140: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 152: case 153: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 157: case 158: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case POSITIONAL_VAR: { posVar = (org.exist.xquery.parser.XQueryAST)_t; match(_t,POSITIONAL_VAR); _t = _t.getNextSibling(); clause.posVar= posVar.getText(); break; } 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 ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: 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_instance: case LITERAL_castable: 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 LITERAL_attribute: case LITERAL_comment: case 140: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 152: case 153: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 157: case 158: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } step=expr(_t,inputSequence); _t = _retTree; clause.varName= varName.getText(); clause.inputSequence= inputSequence; clauses.add(clause); _t = __t77; _t = _t.getNextSibling(); } else { if ( _cnt81>=1 ) { break _loop81; } else {throw new NoViableAltException(_t);} } _cnt81++; } while (true); } _t = __t75; _t = _t.getNextSibling(); break; } case LITERAL_let: { AST __t82 = _t; l = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_let); _t = _t.getFirstChild(); { int _cnt87=0; _loop87: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VARIABLE_BINDING)) { AST __t84 = _t; letVarName = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,VARIABLE_BINDING); _t = _t.getFirstChild(); ForLetClause clause= new ForLetClause(); clause.ast = l; clause.isForClause= false; PathExpr inputSequence= new PathExpr(context); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_as: { AST __t86 = _t; org.exist.xquery.parser.XQueryAST tmp8_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_as); _t = _t.getFirstChild(); clause.sequenceType= new SequenceType(); sequenceType(_t,clause.sequenceType); _t = _retTree; _t = __t86; _t = _t.getNextSibling(); break; } 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 ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: 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_instance: case LITERAL_castable: 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 LITERAL_attribute: case LITERAL_comment: case 140: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 152: case 153: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 157: case 158: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } step=expr(_t,inputSequence); _t = _retTree; clause.varName= letVarName.getText(); clause.inputSequence= inputSequence; clauses.add(clause); _t = __t84; _t = _t.getNextSibling(); } else { if ( _cnt87>=1 ) { break _loop87; } else {throw new NoViableAltException(_t);} } _cnt87++; } while (true); } _t = __t82; _t = _t.getNextSibling(); break; } default: { if ( _cnt88>=1 ) { break _loop88; } else {throw new NoViableAltException(_t);} } } _cnt88++; } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_where: { w = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_where); _t = _t.getNextSibling(); whereExpr= new PathExpr(context); whereExpr.setASTNode(w); step=expr(_t,whereExpr); _t = _retTree; break; } 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 ORDER_BY: case BEFORE: case AFTER: case ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: 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_instance: case LITERAL_castable: 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 LITERAL_attribute: case LITERAL_comment: case 140: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 152: case 153: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 157: case 158: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ORDER_BY: { AST __t91 = _t; org.exist.xquery.parser.XQueryAST tmp9_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,ORDER_BY); _t = _t.getFirstChild(); orderBy= new ArrayList(3); { int _cnt98=0; _loop98: do { if (_t==null) _t=ASTNULL; if ((_tokenSet_0.member(_t.getType()))) { PathExpr orderSpecExpr= new PathExpr(context); step=expr(_t,orderSpecExpr); _t = _retTree; OrderSpec orderSpec= new OrderSpec(context, orderSpecExpr); int modifiers= 0; orderBy.add(orderSpec); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_ascending: case LITERAL_descending: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_ascending: { org.exist.xquery.parser.XQueryAST tmp10_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_ascending); _t = _t.getNextSibling(); break; } case LITERAL_descending: { org.exist.xquery.parser.XQueryAST tmp11_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_descending); _t = _t.getNextSibling(); modifiers= OrderSpec.DESCENDING_ORDER; orderSpec.setModifiers(modifiers); break; } default: { throw new NoViableAltException(_t); } } } break; } case 3: 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 ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_collation: case LITERAL_element: case LCURLY: case COMMA: case LITERAL_empty: case STAR: case PLUS: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_instance: case LITERAL_castable: 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 LITERAL_attribute: case LITERAL_comment: case 140: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 152: case 153: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 157: case 158: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_empty: { org.exist.xquery.parser.XQueryAST tmp12_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_empty); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_greatest: { org.exist.xquery.parser.XQueryAST tmp13_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_greatest); _t = _t.getNextSibling(); break; } case LITERAL_least: { org.exist.xquery.parser.XQueryAST tmp14_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_least); _t = _t.getNextSibling(); modifiers |= OrderSpec.EMPTY_LEAST; orderSpec.setModifiers(modifiers); break; } default: { throw new NoViableAltException(_t); } } } break; } case 3: 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 ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_collation: case LITERAL_element: 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_instance: case LITERAL_castable: 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 LITERAL_attribute: case LITERAL_comment: case 140: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 152: case 153: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 157: case 158: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_collation: { org.exist.xquery.parser.XQueryAST tmp15_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_collation); _t = _t.getNextSibling(); collURI = (org.exist.xquery.parser.XQueryAST)_t; match(_t,STRING_LITERAL); _t = _t.getNextSibling(); orderSpec.setCollation(collURI.getText()); break; } case 3: 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 ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: 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_instance: case LITERAL_castable: 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 LITERAL_attribute: case LITERAL_comment: case 140: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 152: case 153: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 157: case 158: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } } else { if ( _cnt98>=1 ) { break _loop98; } else {throw new NoViableAltException(_t);} } _cnt98++; } while (true); } _t = __t91; _t = _t.getNextSibling(); break; } 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 ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: 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_instance: case LITERAL_castable: 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 LITERAL_attribute: case LITERAL_comment: case 140: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 152: case 153: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 157: case 158: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { break; } default: { throw new NoViableAltException(_t); } } } step=expr(_t,(PathExpr) action); _t = _retTree; for (int i= clauses.size() - 1; i >= 0; i--) { ForLetClause clause= (ForLetClause) clauses.get(i); BindingExpression expr; if (clause.isForClause) expr= new ForExpr(context); else expr= new LetExpr(context); expr.setASTNode(clause.ast); expr.setVariable(clause.varName); expr.setSequenceType(clause.sequenceType); expr.setInputSequence(clause.inputSequence); expr.setReturnExpression(action); if (clause.isForClause) ((ForExpr) expr).setPositionalVariable(clause.posVar); if (whereExpr != null) { expr.setWhereExpression(whereExpr); whereExpr= null; } action= expr; } if (orderBy != null) { OrderSpec orderSpecs[]= new OrderSpec[orderBy.size()]; int k= 0; for (Iterator j= orderBy.iterator(); j.hasNext(); k++) { OrderSpec orderSpec= (OrderSpec) j.next(); orderSpecs[k]= orderSpec; } ((BindingExpression)action).setOrderSpecs(orderSpecs); } path.add(action); step = action; _t = __t73; _t = _t.getNextSibling(); break; } case LITERAL_instance: { AST __t99 = _t; org.exist.xquery.parser.XQueryAST tmp16_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_instance); _t = _t.getFirstChild(); PathExpr expr = new PathExpr(context); SequenceType type= new SequenceType(); step=expr(_t,expr); _t = _retTree; sequenceType(_t,type); _t = _retTree; step = new InstanceOfExpression(context, expr, type); path.add(step); _t = __t99; _t = _t.getNextSibling(); break; } case LITERAL_or: { AST __t100 = _t; org.exist.xquery.parser.XQueryAST tmp17_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_or); _t = _t.getFirstChild(); PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t100; _t = _t.getNextSibling(); OpOr or= new OpOr(context); or.addPath(left); or.addPath(right); path.addPath(or); step = or; break; } case LITERAL_and: { AST __t101 = _t; org.exist.xquery.parser.XQueryAST tmp18_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_and); _t = _t.getFirstChild(); PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t101; _t = _t.getNextSibling(); OpAnd and= new OpAnd(context); and.addPath(left); and.addPath(right); path.addPath(and); step = and; break; } case UNION: { AST __t102 = _t; org.exist.xquery.parser.XQueryAST tmp19_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,UNION); _t = _t.getFirstChild(); PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t102; _t = _t.getNextSibling(); Union union= new Union(context, left, right); path.add(union); step = union; break; } case LITERAL_intersect: { AST __t103 = _t; org.exist.xquery.parser.XQueryAST tmp20_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_intersect); _t = _t.getFirstChild(); PathExpr left = new PathExpr(context); PathExpr right = new PathExpr(context); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t103; _t = _t.getNextSibling(); Intersection intersect = new Intersection(context, left, right); path.add(intersect); step = intersect; break; } case LITERAL_except: { AST __t104 = _t; org.exist.xquery.parser.XQueryAST tmp21_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_except); _t = _t.getFirstChild(); PathExpr left = new PathExpr(context); PathExpr right = new PathExpr(context); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t104; _t = _t.getNextSibling(); Except intersect = new Except(context, left, right); path.add(intersect); step = intersect; break; } case ABSOLUTE_SLASH: { AST __t105 = _t; org.exist.xquery.parser.XQueryAST tmp22_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,ABSOLUTE_SLASH); _t = _t.getFirstChild(); RootNode root= new RootNode(context); path.add(root); { 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 ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: 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_instance: case LITERAL_castable: 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 LITERAL_attribute: case LITERAL_comment: case 140: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 152: case 153: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 157: case 158: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { step=expr(_t,path); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t105; _t = _t.getNextSibling(); break; } case ABSOLUTE_DSLASH: { AST __t107 = _t; org.exist.xquery.parser.XQueryAST tmp23_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,ABSOLUTE_DSLASH); _t = _t.getFirstChild(); RootNode root= new RootNode(context); path.add(root); { 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 ATTRIBUTE_TEST: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case NCNAME: case EQ: case STRING_LITERAL: case LITERAL_element: 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_instance: case LITERAL_castable: 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 LITERAL_attribute: case LITERAL_comment: case 140: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 152: case 153: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 157: case 158: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: case LITERAL_preceding: { step=expr(_t,path); _t = _retTree; if (step instanceof LocationStep) { LocationStep s= (LocationStep) step; if (s.getAxis() == Constants.ATTRIBUTE_AXIS) // combines descendant-or-self::node()/attribute:* s.setAxis(Constants.DESCENDANT_ATTRIBUTE_AXIS); else s.setAxis(Constants.DESCENDANT_SELF_AXIS); } else step.setPrimaryAxis(Constants.DESCENDANT_SELF_AXIS); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t107; _t = _t.getNextSibling(); break; } case LITERAL_to: { AST __t109 = _t; org.exist.xquery.parser.XQueryAST tmp24_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_to); _t = _t.getFirstChild(); PathExpr start= new PathExpr(context); PathExpr end= new PathExpr(context); List args= new ArrayList(2); args.add(start); args.add(end); step=expr(_t,start); _t = _retTree; step=expr(_t,end); _t = _retTree; RangeExpression range= new RangeExpression(context); range.setArguments(args); path.addPath(range); step = range; _t = __t109; _t = _t.getNextSibling(); break; } case EQ: case LT: case GT: case NEQ: case GTEQ: case LTEQ: { step=generalComp(_t,path); _t = _retTree; break; } case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: { step=valueComp(_t,path); _t = _retTree; break; } case BEFORE: case AFTER: case LITERAL_is: case LITERAL_isnot: { step=nodeComp(_t,path); _t = _retTree; break; } case ANDEQ: case OREQ: { step=fulltextComp(_t,path); _t = _retTree; break; } case PARENTHESIZED: case FUNCTION: case VARIABLE_REF: case ELEMENT: case TEXT: case COMP_ELEM_CONSTRUCTOR: case COMP_ATTR_CONSTRUCTOR: case COMP_TEXT_CONSTRUCTOR: case COMP_COMMENT_CONSTRUCTOR: case COMP_PI_CONSTRUCTOR: case COMP_DOC_CONSTRUCTOR: case STRING_LITERAL: case LCURLY: case XML_COMMENT: case XML_PI: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_CDATA: { step=primaryExpr(_t,path); _t = _retTree; break; } case QNAME: case WILDCARD: case PREFIX_WILDCARD: case ATTRIBUTE_TEST: case NCNAME: case LITERAL_element: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case LITERAL_attribute: case LITERAL_comment: case 140: case SELF: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 152: case 153: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 157: case 158: case LITERAL_preceding: { step=pathExpr(_t,path); _t = _retTree; break; } case UNARY_MINUS: case UNARY_PLUS: case STAR: case PLUS: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: { step=numericExpr(_t,path); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; return step; } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/9aec85412cf9f86cb609358133dd23628306f44a/XQueryTreeParser.java/clean/src/org/exist/xquery/parser/XQueryTreeParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
5371,
225,
3065,
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,
3065,
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,
276,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
3364,
2047,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
2690,
18129,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
3614,
18129,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
436,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
284,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
13722,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
949,
1537,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
328,
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,
3065,
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,
3065,
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,
276,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
3364,
2047,
273,
2
] |
"/* \n" + " * Version (target 1.2) \n" + " * - magic: CAFEBABE\n" + " * - minor: 0\n" + " * - major: 46\n" + " */\n" + " "public class A extends java.lang.Object {\n" + " \n" + " /* Method descriptor #6 ()V */\n" + " public A();\n" + " /* Stack: 1, Locals: 1 */\n" + " Code attribute:\n" + " 0 aload_0\n" + " 1 invokespecial #9 <Constructor java.lang.Object()>\n" + " 4 return\n" + "\n" + " Line number attribute:\n" + " [pc: 0, line: 1]\n" + " Local variable table attribute:\n" + " [pc: 0, pc: 5] local: this index: 0 type: A\n" + " \n" + | public void test017() { String source = "public class A {\n" + " public static void main(String[] args) {\n" + " boolean b = false;\n" + " if (true\n" + " == !b) { \n" + " System.out.println();\n" + " }\n" + " }\n" + "}"; String expectedOutput = "/* \n" + " * Version (target 1.2) \n" + " * - magic: CAFEBABE\n" + " * - minor: 0\n" + " * - major: 46\n" + " */\n" + "// Compiled from A.java\n" + "public class A extends java.lang.Object {\n" + " \n" + " /* Method descriptor #6 ()V */\n" + " public A();\n" + " /* Stack: 1, Locals: 1 */\n" + " Code attribute:\n" + " 0 aload_0\n" + " 1 invokespecial #9 <Constructor java.lang.Object()>\n" + " 4 return\n" + "\n" + " Line number attribute:\n" + " [pc: 0, line: 1]\n" + " Local variable table attribute:\n" + " [pc: 0, pc: 5] local: this index: 0 type: A\n" + " \n" + " /* Method descriptor #15 ([Ljava/lang/String;)V */\n" + " public static void main(String[] args);\n" + " /* Stack: 1, Locals: 2 */\n" + " Code attribute:\n" + " 0 iconst_0\n" + " 1 istore_1\n" + " 2 iload_1\n" + " 3 ifne 12\n" + " 6 getstatic #21 <Field java.lang.System#out java.io.PrintStream>\n" + " 9 invokevirtual #26 <Method java.io.PrintStream#println() void>\n" + " 12 return\n" + "\n" + " Line number attribute:\n" + " [pc: 0, line: 3]\n" + " [pc: 2, line: 5]\n" + " [pc: 6, line: 6]\n" + " [pc: 12, line: 8]\n" + " Local variable table attribute:\n" + " [pc: 0, pc: 13] local: args index: 0 type: java/lang/String[]\n" + " [pc: 2, pc: 13] local: b index: 1 type: boolean\n" + " \n" + "}"; checkClassFile("A", source, expectedOutput); } | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/33954bbbcb57410dd9650c66d085059854f2f0c2/ClassFileReaderTest.java/clean/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/ClassFileReaderTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
1611,
27,
1435,
288,
202,
202,
780,
1084,
273,
1082,
202,
6,
482,
667,
432,
18890,
82,
6,
397,
1082,
202,
6,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
18890,
82,
6,
397,
1082,
202,
6,
202,
202,
6494,
324,
273,
629,
9747,
82,
6,
397,
1082,
202,
6,
202,
202,
430,
261,
3767,
64,
82,
6,
397,
1082,
202,
6,
1082,
282,
422,
401,
70,
13,
288,
565,
202,
64,
82,
6,
397,
1082,
202,
6,
1082,
565,
202,
3163,
18,
659,
18,
8222,
5621,
64,
82,
6,
397,
1082,
202,
6,
1082,
282,
289,
64,
82,
6,
397,
1082,
202,
6,
202,
6280,
82,
6,
397,
1082,
202,
6,
1532,
31,
202,
202,
780,
2665,
1447,
273,
1082,
202,
6,
20308,
521,
82,
6,
397,
1875,
202,
6,
380,
4049,
261,
3299,
404,
18,
22,
13,
521,
82,
6,
397,
1875,
202,
6,
380,
300,
8146,
30,
6425,
8090,
38,
2090,
41,
64,
82,
6,
397,
1875,
202,
6,
380,
300,
8439,
30,
374,
64,
82,
6,
397,
1875,
202,
6,
380,
300,
7888,
30,
17077,
64,
82,
6,
397,
1875,
202,
6,
1195,
64,
82,
6,
397,
1875,
202,
6,
759,
25854,
628,
432,
18,
6290,
64,
82,
6,
397,
1875,
202,
6,
482,
667,
432,
3231,
2252,
18,
4936,
18,
921,
18890,
82,
6,
397,
1875,
202,
6,
225,
521,
82,
6,
397,
1875,
202,
6,
225,
1748,
225,
2985,
4950,
225,
468,
26,
1832,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
1611,
27,
1435,
288,
202,
202,
780,
1084,
273,
1082,
202,
6,
482,
667,
432,
18890,
82,
6,
397,
1082,
202,
6,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
18890,
82,
6,
397,
1082,
202,
6,
202,
202,
6494,
324,
273,
629,
9747,
82,
6,
397,
1082,
202,
6,
202,
202,
430,
261,
3767,
64,
82,
6,
397,
1082,
202,
6,
1082,
282,
422,
401,
70,
13,
288,
565,
202,
64,
82,
6,
397,
1082,
202,
6,
1082,
565,
202,
3163,
18,
659,
18,
8222,
5621,
64,
82,
6,
397,
1082,
202,
6,
1082,
282,
289,
64,
82,
6,
397,
1082,
202,
6,
202,
6280,
82,
6,
397,
1082,
202,
6,
2
] | |
PerspectiveDescriptor originalDescriptor) { if (!validateLabel(label)) return null; if (findPerspectiveWithLabel(label) != null) return null; | PerspectiveDescriptor originalDescriptor) { if (!validateLabel(label)) return null; if (findPerspectiveWithLabel(label) != null) return null; | public PerspectiveDescriptor createPerspective(String label, PerspectiveDescriptor originalDescriptor) { // Sanity check to avoid invalid or duplicate labels. if (!validateLabel(label)) return null; if (findPerspectiveWithLabel(label) != null) return null; // Calculate ID. String id = label.replace(' ', '_'); id = id.trim(); // Create descriptor. PerspectiveDescriptor desc = new PerspectiveDescriptor(id, label, originalDescriptor); add(desc); return desc; } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/0707a6aff6dbd240f7c0b2dae47e64da2f4fd627/PerspectiveRegistry.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/PerspectiveRegistry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
453,
414,
16772,
3187,
752,
14781,
16772,
12,
780,
1433,
16,
5411,
453,
414,
16772,
3187,
2282,
3187,
13,
288,
3639,
368,
23123,
866,
358,
4543,
2057,
578,
6751,
3249,
18,
3639,
309,
16051,
5662,
2224,
12,
1925,
3719,
5411,
327,
446,
31,
3639,
309,
261,
4720,
14781,
16772,
1190,
2224,
12,
1925,
13,
480,
446,
13,
5411,
327,
446,
31,
3639,
368,
9029,
1599,
18,
3639,
514,
612,
273,
1433,
18,
2079,
2668,
2265,
4427,
1769,
3639,
612,
273,
612,
18,
5290,
5621,
3639,
368,
1788,
4950,
18,
3639,
453,
414,
16772,
3187,
3044,
273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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
453,
414,
16772,
3187,
752,
14781,
16772,
12,
780,
1433,
16,
5411,
453,
414,
16772,
3187,
2282,
3187,
13,
288,
3639,
368,
23123,
866,
358,
4543,
2057,
578,
6751,
3249,
18,
3639,
309,
16051,
5662,
2224,
12,
1925,
3719,
5411,
327,
446,
31,
3639,
309,
261,
4720,
14781,
16772,
1190,
2224,
12,
1925,
13,
480,
446,
13,
5411,
327,
446,
31,
3639,
368,
9029,
1599,
18,
3639,
514,
612,
273,
1433,
18,
2079,
2668,
2265,
4427,
1769,
3639,
612,
273,
612,
18,
5290,
5621,
3639,
368,
1788,
4950,
18,
3639,
453,
414,
16772,
3187,
3044,
273,
394,
453,
414,
16772,
3187,
12,
350,
16,
1433,
16,
7734,
2282,
3187,
1769,
3639,
527,
12,
5569,
1769,
3639,
327,
2
] |
container.dispose(); toolBarManager.dispose(); toolBarManager.removeAll(); toolBarManager = null; container = null; if (bg != null) bg.dispose(); if (fg != null) fg.dispose(); if (handleImage != null) { handleImage.dispose(); handleImage = null; } } | container.dispose(); toolBarManager.dispose(); toolBarManager.removeAll(); toolBarManager = null; container = null; if (bg != null) bg.dispose(); if (fg != null) fg.dispose(); if (handleImage != null) { handleImage.dispose(); handleImage = null; } } | public void dispose() { container.dispose(); toolBarManager.dispose(); toolBarManager.removeAll(); toolBarManager = null; container = null; if (bg != null) bg.dispose(); if (fg != null) fg.dispose(); if (handleImage != null) { handleImage.dispose(); handleImage = null; } } | 13822 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13822/1b18c4111a9bdd6d059092d4cb5971693a9544b2/IntroLaunchBar.java/clean/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/presentations/IntroLaunchBar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
15825,
1435,
288,
202,
202,
3782,
18,
2251,
4150,
5621,
202,
202,
6738,
5190,
1318,
18,
2251,
4150,
5621,
202,
202,
6738,
5190,
1318,
18,
4479,
1595,
5621,
202,
202,
6738,
5190,
1318,
273,
446,
31,
202,
202,
3782,
273,
446,
31,
202,
202,
430,
261,
12370,
480,
446,
13,
1082,
202,
12370,
18,
2251,
4150,
5621,
202,
202,
430,
261,
2137,
480,
446,
13,
1082,
202,
2137,
18,
2251,
4150,
5621,
202,
202,
430,
261,
4110,
2040,
480,
446,
13,
288,
1082,
202,
4110,
2040,
18,
2251,
4150,
5621,
1082,
202,
4110,
2040,
273,
446,
31,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
15825,
1435,
288,
202,
202,
3782,
18,
2251,
4150,
5621,
202,
202,
6738,
5190,
1318,
18,
2251,
4150,
5621,
202,
202,
6738,
5190,
1318,
18,
4479,
1595,
5621,
202,
202,
6738,
5190,
1318,
273,
446,
31,
202,
202,
3782,
273,
446,
31,
202,
202,
430,
261,
12370,
480,
446,
13,
1082,
202,
12370,
18,
2251,
4150,
5621,
202,
202,
430,
261,
2137,
480,
446,
13,
1082,
202,
2137,
18,
2251,
4150,
5621,
202,
202,
430,
261,
4110,
2040,
480,
446,
13,
288,
1082,
202,
4110,
2040,
18,
2251,
4150,
5621,
1082,
202,
4110,
2040,
273,
446,
31,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
DocumentBuilder documentBuilder = null; | DocumentBuilder documentBuilder; | public void process(String request, Writer response) { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setNamespaceAware(true); DocumentBuilder documentBuilder = null; try { documentBuilder = factory.newDocumentBuilder(); } catch (ParserConfigurationException e) { throw Util.newError(e, "Error processing '" + request + "'"); } Document document = null; try { document = documentBuilder.parse(new InputSource(new StringReader(request))); } catch (SAXException e) { throw Util.newError(e, "Error processing '" + request + "'"); } catch (IOException e) { throw Util.newError(e, "Error processing '" + request + "'"); } Element documentElement = document.getDocumentElement(); try { process(documentElement, new SAXHandler(new SAXWriter(response))); } catch (SAXException e) { if (LOGGER.isDebugEnabled()) { LOGGER.debug("Request " + request + " failed", e); } } } | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/6a0bccf4b2f4db71715c51cb88065a65f97acd80/XmlaMediator.java/clean/src/main/mondrian/xmla/XmlaMediator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1207,
12,
780,
590,
16,
5497,
766,
13,
288,
3639,
30236,
3272,
273,
30236,
18,
2704,
1442,
5621,
3639,
3272,
18,
542,
3402,
10155,
12,
3767,
1769,
3639,
4319,
1263,
1668,
1263,
31,
3639,
775,
288,
5411,
1668,
1263,
273,
3272,
18,
2704,
2519,
1263,
5621,
3639,
289,
1044,
261,
2678,
10737,
425,
13,
288,
5411,
604,
3564,
18,
2704,
668,
12,
73,
16,
315,
668,
4929,
2119,
397,
590,
397,
5862,
1769,
3639,
289,
3639,
4319,
1668,
273,
446,
31,
3639,
775,
288,
5411,
1668,
273,
1668,
1263,
18,
2670,
12,
2704,
23699,
12,
2704,
26227,
12,
2293,
3719,
1769,
3639,
289,
1044,
261,
55,
2501,
503,
425,
13,
288,
5411,
604,
3564,
18,
2704,
668,
12,
73,
16,
315,
668,
4929,
2119,
397,
590,
397,
5862,
1769,
3639,
289,
1044,
261,
14106,
425,
13,
288,
5411,
604,
3564,
18,
2704,
668,
12,
73,
16,
315,
668,
4929,
2119,
397,
590,
397,
5862,
1769,
3639,
289,
3639,
3010,
16722,
273,
1668,
18,
588,
2519,
1046,
5621,
3639,
775,
288,
5411,
1207,
12,
5457,
1046,
16,
394,
10168,
1503,
12,
2704,
10168,
2289,
12,
2740,
3719,
1769,
3639,
289,
1044,
261,
55,
2501,
503,
425,
13,
288,
5411,
309,
261,
8757,
18,
291,
2829,
1526,
10756,
288,
7734,
4145,
18,
4148,
2932,
691,
315,
397,
590,
397,
315,
2535,
3113,
425,
1769,
5411,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1207,
12,
780,
590,
16,
5497,
766,
13,
288,
3639,
30236,
3272,
273,
30236,
18,
2704,
1442,
5621,
3639,
3272,
18,
542,
3402,
10155,
12,
3767,
1769,
3639,
4319,
1263,
1668,
1263,
31,
3639,
775,
288,
5411,
1668,
1263,
273,
3272,
18,
2704,
2519,
1263,
5621,
3639,
289,
1044,
261,
2678,
10737,
425,
13,
288,
5411,
604,
3564,
18,
2704,
668,
12,
73,
16,
315,
668,
4929,
2119,
397,
590,
397,
5862,
1769,
3639,
289,
3639,
4319,
1668,
273,
446,
31,
3639,
775,
288,
5411,
1668,
273,
1668,
1263,
18,
2670,
12,
2704,
23699,
12,
2704,
26227,
12,
2293,
3719,
1769,
3639,
289,
1044,
261,
55,
2501,
503,
425,
13,
288,
5411,
604,
3564,
18,
2704,
2
] |
DatabaseStoreMessage msg = new DatabaseStoreMessage(_context); | DatabaseStoreMessage msg = new DatabaseStoreMessage(getContext()); | private void sendData(Hash key, DataStructure data, Hash toPeer, TunnelId replyTunnel) { if (_log.shouldLog(Log.DEBUG)) _log.debug("Sending data matching key key " + key.toBase64() + " to peer " + toPeer.toBase64() + " tunnel " + replyTunnel); DatabaseStoreMessage msg = new DatabaseStoreMessage(_context); msg.setKey(key); if (data instanceof LeaseSet) { msg.setLeaseSet((LeaseSet)data); msg.setValueType(DatabaseStoreMessage.KEY_TYPE_LEASESET); } else if (data instanceof RouterInfo) { msg.setRouterInfo((RouterInfo)data); msg.setValueType(DatabaseStoreMessage.KEY_TYPE_ROUTERINFO); } _context.statManager().addRateData("netDb.lookupsMatched", 1, 0); _context.statManager().addRateData("netDb.lookupsHandled", 1, 0); sendMessage(msg, toPeer, replyTunnel); } | 45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/e737e5c9507ed0d463dc9e45a8f63657f466b177/HandleDatabaseLookupMessageJob.java/clean/router/java/src/net/i2p/router/networkdb/HandleDatabaseLookupMessageJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1366,
751,
12,
2310,
498,
16,
1910,
6999,
501,
16,
2474,
358,
6813,
16,
399,
8564,
548,
4332,
20329,
13,
288,
3639,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
9394,
3719,
5411,
389,
1330,
18,
4148,
2932,
16322,
501,
3607,
498,
498,
315,
397,
498,
18,
869,
2171,
1105,
1435,
397,
315,
358,
4261,
315,
397,
358,
6813,
18,
869,
2171,
1105,
1435,
13491,
397,
315,
14825,
315,
397,
4332,
20329,
1769,
3639,
5130,
2257,
1079,
1234,
273,
394,
5130,
2257,
1079,
12,
29120,
10663,
3639,
1234,
18,
542,
653,
12,
856,
1769,
3639,
309,
261,
892,
1276,
23175,
694,
13,
288,
5411,
1234,
18,
542,
17746,
694,
12443,
17746,
694,
13,
892,
1769,
5411,
1234,
18,
542,
17930,
12,
4254,
2257,
1079,
18,
3297,
67,
2399,
67,
22357,
4043,
1769,
3639,
289,
469,
309,
261,
892,
1276,
9703,
966,
13,
288,
5411,
1234,
18,
542,
8259,
966,
12443,
8259,
966,
13,
892,
1769,
5411,
1234,
18,
542,
17930,
12,
4254,
2257,
1079,
18,
3297,
67,
2399,
67,
1457,
1693,
654,
5923,
1769,
3639,
289,
3639,
389,
2472,
18,
5642,
1318,
7675,
1289,
4727,
751,
2932,
2758,
4331,
18,
8664,
87,
15400,
3113,
404,
16,
374,
1769,
3639,
389,
2472,
18,
5642,
1318,
7675,
1289,
4727,
751,
2932,
2758,
4331,
18,
8664,
87,
23186,
3113,
404,
16,
374,
1769,
3639,
15399,
12,
3576,
16,
358,
6813,
16,
4332,
20329,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1366,
751,
12,
2310,
498,
16,
1910,
6999,
501,
16,
2474,
358,
6813,
16,
399,
8564,
548,
4332,
20329,
13,
288,
3639,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
9394,
3719,
5411,
389,
1330,
18,
4148,
2932,
16322,
501,
3607,
498,
498,
315,
397,
498,
18,
869,
2171,
1105,
1435,
397,
315,
358,
4261,
315,
397,
358,
6813,
18,
869,
2171,
1105,
1435,
13491,
397,
315,
14825,
315,
397,
4332,
20329,
1769,
3639,
5130,
2257,
1079,
1234,
273,
394,
5130,
2257,
1079,
12,
29120,
10663,
3639,
1234,
18,
542,
653,
12,
856,
1769,
3639,
309,
261,
892,
1276,
23175,
694,
13,
288,
5411,
1234,
18,
542,
17746,
694,
12443,
17746,
694,
13,
892,
2
] |
private String processDate(Date date) throws FenixFilterException, FenixServiceException { | private String processDate(Date date) throws FenixFilterException, FenixServiceException { | private String processDate(Date date) throws FenixFilterException, FenixServiceException { return DateFormatUtil.format("dd/MM/yyyy", date); } | 2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/1eab5569eea9b71f208c0d25e856d5bdea5a3e8c/OrganizationalStructureBackingBean.java/clean/src/net/sourceforge/fenixedu/presentationTier/backBeans/manager/organizationalStructureManagement/OrganizationalStructureBackingBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
1207,
1626,
12,
1626,
1509,
13,
1216,
478,
275,
697,
1586,
503,
16,
478,
275,
697,
15133,
288,
202,
202,
2463,
18371,
1304,
18,
2139,
2932,
449,
19,
8206,
19,
17722,
3113,
1509,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
1207,
1626,
12,
1626,
1509,
13,
1216,
478,
275,
697,
1586,
503,
16,
478,
275,
697,
15133,
288,
202,
202,
2463,
18371,
1304,
18,
2139,
2932,
449,
19,
8206,
19,
17722,
3113,
1509,
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
] |
{ return true; } | { return true; } | public boolean canSave(String[] message) { return true; } | 8339 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8339/85b2c993d0d0d60c5fc0f7ab1ca0a68a7ddba9f5/InitializationDelegate.java/clean/src/games/strategy/triplea/delegate/InitializationDelegate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
848,
4755,
12,
780,
8526,
883,
13,
225,
288,
565,
327,
638,
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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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
848,
4755,
12,
780,
8526,
883,
13,
225,
288,
565,
327,
638,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
reset(); | reset(); | public void up(Event evt) { Message msg; //System.out.println("UP: " + evt); Object temp_obj; // used for type checking before performing casts switch( evt.getType() ) { case Event.SET_LOCAL_ADDRESS: temp_obj = evt.getArg(); if ( temp_obj instanceof Address ) { local_addr = (Address) temp_obj; } else { log.error( "Error: Total.up() - could not cast local address to an Address object" ); } break; case Event.MSG: // get the message and the header for the TOTAL_OLD layer temp_obj = evt.getArg(); if ( temp_obj instanceof Message ) { msg = (Message) temp_obj; temp_obj = msg.removeHeader(getName()); if ( temp_obj instanceof TotalHeader ) { TotalHeader hdr = (TotalHeader) temp_obj; // switch on the "command" defined by the header switch( hdr.total_header_type ) { case TotalHeader.TOTAL_UNICAST: // don't process this message, just pass it up (TotalHeader header already removed) passUp(evt); return; case TotalHeader.TOTAL_BCAST: handleBCastMessage( msg, hdr.seq_id ); break; case TotalHeader.TOTAL_REQUEST: // if we are the sequencer, respond to this request if ( isSequencer() ) { handleRequestMessage( msg ); } break; case TotalHeader.TOTAL_NEW_VIEW: // store the sequence id that we should expect next next_seq_id = hdr.seq_id; // TODO: need to send some sort of ACK or something to the sequencer (maybe) break; case TotalHeader.TOTAL_CUM_SEQ_ACK: // if we are the sequencer, update state if ( isSequencer() ) { temp_obj = msg.getSrc(); if ( temp_obj instanceof Address ) { ack_history.setSeq( (Address) temp_obj, hdr.seq_id ); } else { log.error( "Error: TOTAL_OLD.Up() - could not cast source of message to an Address object (case TotalHeader.TOTAL_CUM_SEQ_ACK)" ); } } break; case TotalHeader.TOTAL_RESEND: // if we are the sequencer, respond to this request if ( isSequencer() ) { handleResendRequest( msg, hdr.seq_id ); } break; default: // unrecognized header type - discard message log.error( "Error: TOTAL_OLD.up() - unrecognized TotalHeader in message - " + hdr.toString() ); return; // don't let it call passUp() } // switch( hdr.total_header_type ) } else { log.error( "Error: TOTAL_OLD.up() - could not cast message header to TotalHeader (case Event.MSG)" ); } // if ( temp_obj instanceof TotalHeader ) } else { log.error( "Error: TOTAL_OLD.up() - could not cast argument of Event to a Message (case Event.MSG)" ); } // if ( temp_obj instanceof Address ) //System.out.println("The message is " + msg); return; // don't blindly pass up messages immediately (if at all) // begin mms21 /* case Event.BECOME_SERVER: System.out.println( "Become Server event passed up to TOTAL_OLD (debug - mms21)" ); break; */ case Event.TMP_VIEW: // TODO: this may be temporary case Event.VIEW_CHANGE: System.out.println( "View Change event passed up to TOTAL_OLD (debug - mms21)" ); View new_view = (View) evt.getArg(); members = new_view.getMembers(); { // print the members of this new view System.out.println( "New view members (printed in TOTAL_OLD):" ); int view_size = members.size(); for( int i=0; i<view_size; i++ ) { System.out.println( " " + members.elementAt(i).toString() ); } } // reset the state for total ordering for this new view reset(); // if we are the sequencer in this new view, send a new // TOTAL_NEW_VIEW message to the group if ( isSequencer() ) { // we are the sequencer in this new view log.error( "TOTAL_OLD.up() - I am the sequencer of this new view" ); // we need to keep track of acknowledgements messages ack_history = new MessageAcks( members ); // start assigning messages with this sequence id next_seq_id_to_assign = INIT_SEQ_ID; // send a message to the group with the initial sequence id to expect Message new_view_msg = new Message( null, local_addr, null ); new_view_msg.putHeader(getName(), new TotalHeader( TotalHeader.TOTAL_NEW_VIEW, next_seq_id_to_assign ) ); passDown( new Event( Event.MSG, new_view_msg ) ); } break; // end mms21 default: break; } // switch( evt.getType() ) passUp(evt); // Pass up to the layer above us } | 48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/13de68466e3cf7fde6ee0bde0cee09a33e837e89/TOTAL_OLD.java/buggy/src/org/jgroups/protocols/TOTAL_OLD.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
731,
12,
1133,
6324,
13,
288,
3639,
2350,
1234,
31,
3639,
368,
3163,
18,
659,
18,
8222,
2932,
3079,
30,
315,
397,
6324,
1769,
202,
921,
1906,
67,
2603,
31,
225,
368,
1399,
364,
618,
6728,
1865,
14928,
4812,
87,
3639,
1620,
12,
6324,
18,
588,
559,
1435,
262,
288,
202,
3593,
2587,
18,
4043,
67,
14922,
67,
15140,
30,
202,
565,
1906,
67,
2603,
273,
6324,
18,
588,
4117,
5621,
202,
565,
309,
261,
1906,
67,
2603,
1276,
5267,
262,
288,
202,
202,
3729,
67,
4793,
273,
261,
1887,
13,
1906,
67,
2603,
31,
202,
565,
289,
469,
288,
202,
202,
1330,
18,
1636,
12,
315,
668,
30,
10710,
18,
416,
1435,
300,
3377,
486,
4812,
1191,
1758,
358,
392,
5267,
733,
6,
11272,
202,
565,
289,
202,
565,
898,
31,
3639,
648,
2587,
18,
11210,
30,
202,
565,
368,
336,
326,
883,
471,
326,
1446,
364,
326,
399,
19851,
67,
11846,
3018,
202,
565,
1906,
67,
2603,
273,
6324,
18,
588,
4117,
5621,
202,
565,
309,
261,
1906,
67,
2603,
1276,
2350,
262,
288,
202,
202,
3576,
273,
261,
1079,
13,
1906,
67,
2603,
31,
202,
202,
5814,
67,
2603,
273,
1234,
18,
4479,
1864,
12,
17994,
10663,
202,
202,
430,
261,
1906,
67,
2603,
1276,
10710,
1864,
262,
288,
1082,
565,
10710,
1864,
7723,
273,
261,
5269,
1864,
13,
1906,
67,
2603,
31,
1082,
565,
368,
1620,
603,
326,
315,
3076,
6,
2553,
635,
326,
1446,
1082,
565,
1620,
12,
7723,
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,
731,
12,
1133,
6324,
13,
288,
3639,
2350,
1234,
31,
3639,
368,
3163,
18,
659,
18,
8222,
2932,
3079,
30,
315,
397,
6324,
1769,
202,
921,
1906,
67,
2603,
31,
225,
368,
1399,
364,
618,
6728,
1865,
14928,
4812,
87,
3639,
1620,
12,
6324,
18,
588,
559,
1435,
262,
288,
202,
3593,
2587,
18,
4043,
67,
14922,
67,
15140,
30,
202,
565,
1906,
67,
2603,
273,
6324,
18,
588,
4117,
5621,
202,
565,
309,
261,
1906,
67,
2603,
1276,
5267,
262,
288,
202,
202,
3729,
67,
4793,
273,
261,
1887,
13,
1906,
67,
2603,
31,
202,
565,
289,
469,
288,
202,
202,
1330,
18,
1636,
12,
315,
668,
30,
10710,
18,
416,
1435,
300,
3377,
486,
2
] |
PyType self_type = getType(); PyObject impl = self_type.lookup("__rmul__"); if (impl != null) { PyObject res = impl.__get__(this, self_type).__call__(other); if (res == Py.NotImplemented) | PyType self_type=getType(); PyObject impl=self_type.lookup("__rmul__"); if (impl!=null) { PyObject res=impl.__get__(this,self_type).__call__(other); if (res==Py.NotImplemented) | public PyObject __rmul__(PyObject other) { PyType self_type = getType(); PyObject impl = self_type.lookup("__rmul__"); if (impl != null) { PyObject res = impl.__get__(this, self_type).__call__(other); if (res == Py.NotImplemented) return null; return res; } return super.__rmul__(other); } | 6527 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6527/f9070a6bddff5a2a46bf38e7d12db571f23826e9/PyDictionaryDerived.java/buggy/src/org/python/core/PyDictionaryDerived.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4707,
921,
1001,
8864,
332,
972,
12,
9413,
921,
1308,
13,
288,
3639,
4707,
559,
365,
67,
723,
273,
3130,
5621,
3639,
4707,
921,
9380,
273,
365,
67,
723,
18,
8664,
2932,
972,
8864,
332,
972,
8863,
3639,
309,
261,
11299,
480,
446,
13,
288,
5411,
4707,
921,
400,
273,
9380,
16186,
588,
972,
12,
2211,
16,
365,
67,
723,
2934,
972,
1991,
972,
12,
3011,
1769,
5411,
309,
261,
455,
422,
4707,
18,
1248,
8644,
13,
7734,
327,
446,
31,
5411,
327,
400,
31,
3639,
289,
3639,
327,
2240,
16186,
8864,
332,
972,
12,
3011,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4707,
921,
1001,
8864,
332,
972,
12,
9413,
921,
1308,
13,
288,
3639,
4707,
559,
365,
67,
723,
273,
3130,
5621,
3639,
4707,
921,
9380,
273,
365,
67,
723,
18,
8664,
2932,
972,
8864,
332,
972,
8863,
3639,
309,
261,
11299,
480,
446,
13,
288,
5411,
4707,
921,
400,
273,
9380,
16186,
588,
972,
12,
2211,
16,
365,
67,
723,
2934,
972,
1991,
972,
12,
3011,
1769,
5411,
309,
261,
455,
422,
4707,
18,
1248,
8644,
13,
7734,
327,
446,
31,
5411,
327,
400,
31,
3639,
289,
3639,
327,
2240,
16186,
8864,
332,
972,
12,
3011,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return new StringContains(substring); } | return new StringContains(substring); } | public StringContains stringContains( String substring ) { return new StringContains(substring); } | 54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/4aaf60d8fa76687c3492c508dd98678fbbd3d935/MockObjectSupportTestCase.java/buggy/jmock/core/src/org/jmock/core/MockObjectSupportTestCase.java | [
1,
8585,
326,
22398,
316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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
10846,
533,
10846,
12,
514,
3019,
262,
288,
377,
202,
2463,
394,
514,
10846,
12,
28023,
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
] |
public TopDocs optimize(BooleanQuery original, Searcher searcher, int numHits, String sortField, boolean reverse) throws IOException { BooleanQuery query = new BooleanQuery(); BooleanQuery cacheQuery = new BooleanQuery(); BooleanQuery filterQuery = new BooleanQuery(); ArrayList filters = new ArrayList(); BooleanClause[] clauses = original.getClauses(); for (int i = 0; i < clauses.length; i++) { BooleanClause c = clauses[i]; if (c.required // required && c.query.getBoost() == 0.0f) { // boost is zero if (c.query instanceof TermQuery // TermQuery && (searcher.docFreq(((TermQuery)c.query).getTerm()) / (float)searcher.maxDoc()) < threshold) { // beneath threshold query.add(c); // don't filterize continue; } if (c.query instanceof RangeQuery) { // RangeQuery RangeQuery range = (RangeQuery)c.query; boolean inclusive = range.isInclusive();// convert to RangeFilter Term lower = range.getLowerTerm(); Term upper = range.getUpperTerm(); filters.add(new RangeFilter(lower!=null?lower.field():upper.field(), lower != null ? lower.text() : null, upper != null ? upper.text() : null, inclusive, inclusive)); cacheQuery.add(c.query, true, false); // cache it continue; } // all other query types filterQuery.add(c.query, true, false); // filter it cacheQuery.add(c.query, true, false); // cache it continue; } query.add(c); // query it } Filter filter = null; if (cacheQuery.getClauses().length != 0) { synchronized (cache) { // check cache filter = (Filter)cache.get(cacheQuery); } if (filter == null) { // miss if (filterQuery.getClauses().length != 0) // add filterQuery to filters filters.add(new QueryFilter(filterQuery)); if (filters.size() == 1) { // convert filters to filter filter = (Filter)filters.get(0); } else { filter = new ChainedFilter((Filter[])filters.toArray (new Filter[filters.size()]), ChainedFilter.AND); } if (!(filter instanceof QueryFilter)) // make sure bits are cached filter = new CachingWrapperFilter(filter); synchronized (cache) { cache.put(cacheQuery, filter); // cache the filter } } } if (sortField == null && !reverse) { // no hit limit if (MAX_HITS <= 0) { return searcher.search(query, filter, numHits); } // hits limited -- use a LimitedCollector LimitedCollector collector = new LimitedCollector(numHits, MAX_HITS); LimitExceeded exceeded = null; try { searcher.search(query, filter, collector); } catch (LimitExceeded le) { exceeded = le; } TopDocs results = collector.topDocs(); if (exceeded != null) { // limit was exceeded results.totalHits = (int) // must estimate totalHits (results.totalHits*(searcher.maxDoc()/(float)exceeded.maxDoc)); } return results; } else { return searcher.search(query, filter, numHits, new Sort(sortField, reverse)); } } | 46828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46828/329ff64e9d7295aff108f85e9a8103f5e5f8f398/LuceneQueryOptimizer.java/clean/src/java/org/apache/nutch/searcher/LuceneQueryOptimizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3401,
1759,
2048,
337,
10153,
12,
5507,
1138,
8830,
16,
2979,
264,
3072,
264,
16,
474,
2107,
20950,
16,
780,
3804,
974,
16,
6494,
9845,
13,
15069,
14106,
95,
5507,
1138,
2271,
33,
2704,
5507,
1138,
5621,
5507,
1138,
2493,
1138,
33,
2704,
5507,
1138,
5621,
5507,
1138,
2188,
1138,
33,
2704,
5507,
1138,
5621,
19558,
6348,
33,
2704,
19558,
5621,
5507,
7044,
8526,
830,
9608,
33,
8830,
18,
588,
22434,
5621,
1884,
12,
474,
77,
33,
20,
31,
77,
32,
830,
9608,
18,
2469,
31,
77,
27245,
95,
5507,
7044,
71,
33,
830,
9608,
63,
77,
15533,
430,
12,
71,
18,
4718,
759,
4718,
10,
10,
71,
18,
2271,
18,
588,
26653,
1435,
631,
20,
18,
20,
74,
15329,
759,
25018,
291,
7124,
430,
12,
71,
18,
2271,
1336,
792,
4065,
1138,
759,
4065,
1138,
10,
10,
12,
3072,
264,
18,
2434,
14485,
12443,
12,
4065,
1138,
13,
71,
18,
2271,
2934,
588,
4065,
10756,
19,
12,
5659,
13,
3072,
264,
18,
1896,
1759,
10756,
32,
8699,
15329,
759,
70,
4009,
421,
8699,
2271,
18,
1289,
12,
71,
1769,
759,
19752,
1404,
2188,
554,
17143,
31,
97,
430,
12,
71,
18,
2271,
1336,
792,
2655,
1138,
15329,
759,
2655,
1138,
2655,
1138,
3676,
28657,
2655,
1138,
13,
71,
18,
2271,
31,
6494,
267,
9173,
33,
3676,
18,
291,
19146,
5621,
759,
591,
502,
748,
83,
2655,
1586,
4065,
8167,
33,
3676,
18,
588,
4070,
4065,
5621,
4065,
5797,
33,
3676,
18,
588,
5988,
4065,
5621,
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,
3401,
1759,
2048,
337,
10153,
12,
5507,
1138,
8830,
16,
2979,
264,
3072,
264,
16,
474,
2107,
20950,
16,
780,
3804,
974,
16,
6494,
9845,
13,
15069,
14106,
95,
5507,
1138,
2271,
33,
2704,
5507,
1138,
5621,
5507,
1138,
2493,
1138,
33,
2704,
5507,
1138,
5621,
5507,
1138,
2188,
1138,
33,
2704,
5507,
1138,
5621,
19558,
6348,
33,
2704,
19558,
5621,
5507,
7044,
8526,
830,
9608,
33,
8830,
18,
588,
22434,
5621,
1884,
12,
474,
77,
33,
20,
31,
77,
32,
830,
9608,
18,
2469,
31,
77,
27245,
95,
5507,
7044,
71,
33,
830,
9608,
63,
77,
15533,
430,
12,
71,
18,
4718,
759,
4718,
10,
10,
71,
18,
2271,
18,
588,
26653,
1435,
631,
20,
18,
20,
2
] | ||
private static void addClassPathEntries(final IJavaProject project, final Set projects, final List paths) throws JavaModelException { Assert.isNotNull(project); Assert.isNotNull(projects); Assert.isNotNull(paths); projects.add(project); final IClasspathEntry[] entries= project.getResolvedClasspath(true); final IWorkspaceRoot root= ResourcesPlugin.getWorkspace().getRoot(); int kind= 0; IClasspathEntry entry= null; IPath path= null; IProject resource= null; IJavaProject reference= null; for (int index= 0; index < entries.length; index++) { entry= entries[index]; kind= entry.getEntryKind(); if (kind == IClasspathEntry.CPE_LIBRARY) addClassPathEntry(paths, entry.getPath().toString()); else if (kind == IClasspathEntry.CPE_SOURCE) addClassPathEntry(paths, project.getProject().getLocation().makeAbsolute().toString() + project.getOutputLocation().removeFirstSegments(1).makeAbsolute().toFile().toString() + PATH_SEPARATOR); else if (kind == IClasspathEntry.CPE_PROJECT) { path= entry.getPath(); resource= root.getProject(path.toString()); if (resource != null && resource.exists()) { reference= JavaCore.create(resource); if (reference != null && !projects.contains(reference)) addClassPathEntries(reference, projects, paths); } } else Assert.isTrue(false); } } | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/512d9961d80f7dfb4d518e60a05f9c4c4f41729c/SerialVersionHashProposal.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionHashProposal.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
11365,
270,
395,
2126,
6459,
1289,
22158,
5400,
12,
6385,
45,
5852,
4109,
4406,
16,
6385,
694,
13582,
16,
6385,
682,
4481,
13,
15069,
5852,
1488,
503,
95,
202,
202,
8213,
18,
291,
5962,
12,
4406,
1769,
202,
202,
8213,
18,
291,
5962,
12,
13582,
1769,
202,
202,
8213,
18,
291,
5962,
12,
4481,
1769,
202,
202,
13582,
18,
1289,
12,
4406,
1769,
202,
202,
6385,
45,
17461,
1622,
8526,
8219,
33,
4406,
18,
588,
12793,
17461,
12,
3767,
1769,
202,
202,
6385,
45,
8241,
2375,
3085,
33,
3805,
3773,
18,
588,
8241,
7675,
588,
2375,
5621,
202,
202,
474,
9224,
33,
20,
31,
202,
202,
45,
17461,
1622,
4099,
33,
2011,
31,
202,
202,
45,
743,
803,
33,
2011,
31,
202,
202,
45,
4109,
3146,
33,
2011,
31,
202,
202,
45,
5852,
4109,
6180,
33,
2011,
31,
202,
202,
1884,
12,
474,
1615,
33,
20,
31,
1615,
32,
8219,
18,
2469,
31,
1615,
27245,
95,
1082,
202,
4099,
33,
8219,
63,
1615,
15533,
1082,
202,
9224,
33,
4099,
18,
588,
1622,
5677,
5621,
1082,
202,
430,
12,
9224,
631,
45,
17461,
1622,
18,
39,
1423,
67,
2053,
28254,
13,
9506,
202,
1289,
22158,
1622,
12,
4481,
16,
4099,
18,
588,
743,
7675,
10492,
10663,
1082,
202,
12107,
430,
12,
9224,
631,
45,
17461,
1622,
18,
39,
1423,
67,
6537,
13,
9506,
202,
1289,
22158,
1622,
12,
4481,
16,
4406,
18,
588,
4109,
7675,
588,
2735,
7675,
6540,
10368,
7675,
10492,
1435,
15,
4406,
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,
11365,
270,
395,
2126,
6459,
1289,
22158,
5400,
12,
6385,
45,
5852,
4109,
4406,
16,
6385,
694,
13582,
16,
6385,
682,
4481,
13,
15069,
5852,
1488,
503,
95,
202,
202,
8213,
18,
291,
5962,
12,
4406,
1769,
202,
202,
8213,
18,
291,
5962,
12,
13582,
1769,
202,
202,
8213,
18,
291,
5962,
12,
4481,
1769,
202,
202,
13582,
18,
1289,
12,
4406,
1769,
202,
202,
6385,
45,
17461,
1622,
8526,
8219,
33,
4406,
18,
588,
12793,
17461,
12,
3767,
1769,
202,
202,
6385,
45,
8241,
2375,
3085,
33,
3805,
3773,
18,
588,
8241,
7675,
588,
2375,
5621,
202,
202,
474,
9224,
33,
20,
31,
202,
202,
45,
17461,
1622,
4099,
33,
2011,
31,
202,
202,
45,
743,
2
] | ||
public Object clone() { | public Object clone() throws CloneNotSupportedException { | public Object clone() { IAtomContainer clone = null; IElectronContainer electronContainer = null; IElectronContainer newEC = null; IAtom[] natoms; IAtom[] newAtoms; try { clone = (AtomContainer) super.clone(); } catch (Exception e) { e.printStackTrace(System.err); } // start from scratch clone.removeAllElements(); // clone all atoms for (int f = 0; f < getAtomCount(); f++) { clone.addAtom((Atom) getAtomAt(f).clone()); } // clone the electronContainer for (int f = 0; f < getElectronContainerCount(); f++) { electronContainer = this.getElectronContainerAt(f); newEC = getBuilder().newElectronContainer(); if (electronContainer instanceof IBond) { IBond bond = (IBond) electronContainer; newEC = (IElectronContainer)bond.clone(); natoms = bond.getAtoms(); newAtoms = new IAtom[natoms.length]; for (int g = 0; g < natoms.length; g++) { try { newAtoms[g] = clone.getAtomAt(getAtomNumber(natoms[g])); } catch (Exception exc) { exc.printStackTrace(); } } ((IBond) newEC).setAtoms(newAtoms); } else if (electronContainer instanceof ILonePair) { IAtom atom = ((ILonePair) electronContainer).getAtom(); newEC = (ILonePair)electronContainer.clone(); ((ILonePair) newEC).setAtom(clone.getAtomAt(getAtomNumber(atom))); } else if (electronContainer instanceof ISingleElectron) { IAtom atom = ((ISingleElectron) electronContainer).getAtom(); newEC = (ISingleElectron)electronContainer.clone(); ((ISingleElectron) newEC).setAtom(clone.getAtomAt(getAtomNumber(atom))); } else { //System.out.println("Expecting EC, got: " + electronContainer.getClass().getName()); newEC = (IElectronContainer) electronContainer.clone(); } clone.addElectronContainer(newEC); } return clone; } | 1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/2b55a607674535cd8492e3539d8f3dce16fc3b92/AtomContainer.java/clean/src/org/openscience/cdk/AtomContainer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
3236,
1435,
288,
202,
202,
45,
3641,
2170,
3236,
273,
446,
31,
202,
202,
8732,
1582,
1949,
2170,
27484,
2170,
273,
446,
31,
202,
202,
8732,
1582,
1949,
2170,
394,
7228,
273,
446,
31,
202,
202,
45,
3641,
8526,
290,
14937,
31,
202,
202,
45,
3641,
8526,
394,
14280,
31,
202,
202,
698,
288,
1082,
202,
14056,
273,
261,
3641,
2170,
13,
2240,
18,
14056,
5621,
202,
202,
97,
1044,
261,
503,
425,
13,
288,
1082,
202,
73,
18,
1188,
6332,
12,
3163,
18,
370,
1769,
202,
202,
97,
3639,
368,
787,
628,
15289,
202,
202,
14056,
18,
4479,
1595,
3471,
5621,
3639,
368,
3236,
777,
9006,
202,
202,
1884,
261,
474,
284,
273,
374,
31,
284,
411,
29593,
5621,
284,
27245,
288,
1082,
202,
14056,
18,
1289,
3641,
12443,
3641,
13,
12358,
861,
12,
74,
2934,
14056,
10663,
202,
202,
97,
3639,
368,
3236,
326,
27484,
2170,
202,
202,
1884,
261,
474,
284,
273,
374,
31,
284,
411,
4774,
1582,
1949,
2170,
1380,
5621,
284,
27245,
288,
1082,
202,
13759,
1949,
2170,
273,
333,
18,
588,
28621,
2170,
861,
12,
74,
1769,
1082,
202,
2704,
7228,
273,
23314,
7675,
2704,
28621,
2170,
5621,
1082,
202,
430,
261,
13759,
1949,
2170,
1276,
16178,
13,
288,
9506,
202,
45,
9807,
8427,
273,
261,
45,
9807,
13,
27484,
2170,
31,
9506,
202,
2704,
7228,
273,
261,
8732,
1582,
1949,
2170,
13,
26425,
18,
14056,
5621,
9506,
202,
82,
14937,
273,
8427,
18,
588,
14280,
5621,
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,
3236,
1435,
288,
202,
202,
45,
3641,
2170,
3236,
273,
446,
31,
202,
202,
8732,
1582,
1949,
2170,
27484,
2170,
273,
446,
31,
202,
202,
8732,
1582,
1949,
2170,
394,
7228,
273,
446,
31,
202,
202,
45,
3641,
8526,
290,
14937,
31,
202,
202,
45,
3641,
8526,
394,
14280,
31,
202,
202,
698,
288,
1082,
202,
14056,
273,
261,
3641,
2170,
13,
2240,
18,
14056,
5621,
202,
202,
97,
1044,
261,
503,
425,
13,
288,
1082,
202,
73,
18,
1188,
6332,
12,
3163,
18,
370,
1769,
202,
202,
97,
3639,
368,
787,
628,
15289,
202,
202,
14056,
18,
4479,
1595,
3471,
5621,
3639,
368,
3236,
777,
9006,
202,
202,
1884,
261,
474,
284,
273,
374,
2
] |
success = getModelRoot().setCurrentPageId( getCurrentLocation()); | success = getModel().setCurrentPageId(getCurrentLocation()); | public boolean navigateForward() { boolean success = false; if (getModelRoot().isDynamic()) { // dynamic case. Uses navigation history. if (canNavigateForward()) { navigateHistoryForward(); if (isURL(getCurrentLocation())) { success = browser.setUrl(getCurrentLocation()); } else // we need to regen HTML. Set current page, and this // will triger regen. success = getModelRoot().setCurrentPageId( getCurrentLocation()); } else success = false; } else // static HTML case. use browser real Forward. success = browser.forward(); updateNavigationActionsState(); return success; } | 13822 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13822/cb77b765539cf049025dc6b23290a38c6212d7d5/BrowserIntroPartImplementation.java/buggy/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/presentations/BrowserIntroPartImplementation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
28479,
8514,
1435,
288,
3639,
1250,
2216,
273,
629,
31,
3639,
309,
261,
588,
1488,
2375,
7675,
291,
9791,
10756,
288,
5411,
368,
5976,
648,
18,
14854,
10394,
4927,
18,
5411,
309,
261,
4169,
50,
20698,
8514,
10756,
288,
7734,
28479,
5623,
8514,
5621,
7734,
309,
261,
291,
1785,
12,
588,
3935,
2735,
1435,
3719,
288,
10792,
2216,
273,
4748,
18,
542,
1489,
12,
588,
3935,
2735,
10663,
7734,
289,
469,
10792,
368,
732,
1608,
358,
960,
275,
3982,
18,
1000,
783,
1363,
16,
471,
333,
10792,
368,
903,
23142,
264,
960,
275,
18,
10792,
2216,
273,
7454,
2375,
7675,
542,
3935,
23053,
12,
18701,
5175,
2735,
10663,
5411,
289,
469,
7734,
2216,
273,
629,
31,
3639,
289,
469,
5411,
368,
760,
3982,
648,
18,
999,
4748,
2863,
17206,
18,
5411,
2216,
273,
4748,
18,
11565,
5621,
3639,
1089,
14301,
6100,
1119,
5621,
3639,
327,
2216,
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,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791,
10756,
288,
5411,
368,
5976,
648,
18,
14854,
10394,
4927,
18,
5411,
309,
261,
4169,
50,
20698,
8514,
10756,
288,
7734,
28479,
5623,
8514,
5621,
7734,
309,
261,
291,
1785,
12,
588,
3935,
2735,
1435,
3719,
288,
10792,
2216,
273,
4748,
18,
542,
1489,
12,
588,
3935,
2735,
10663,
7734,
289,
469,
10792,
368,
732,
1608,
358,
960,
275,
3982,
18,
1000,
783,
1363,
16,
471,
333,
10792,
368,
903,
23142,
264,
960,
275,
18,
10792,
2216,
273,
7454,
2375,
7675,
542,
3935,
23053,
12,
18701,
5175,
2735,
10663,
5411,
289,
469,
7734,
2216,
273,
629,
31,
2
] |
protected List getFeatList(PlayerCharacter pc) | protected List<Ability> getFeatList(PlayerCharacter pc) | protected List getFeatList(PlayerCharacter pc) { List ret = new ArrayList(); ret.addAll(pc.getRealFeatsList()); ret.addAll(pc.featAutoList()); ret.addAll(pc.getVirtualFeatList()); return ret; } | 48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/746f9fbe7d3bb98c609b2f38fbc5ffad4e685726/DFeatAllToken.java/clean/code/src/java/plugin/exporttokens/DFeatAllToken.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
987,
13683,
270,
682,
12,
12148,
7069,
6125,
13,
202,
95,
202,
202,
682,
325,
273,
394,
2407,
5621,
202,
202,
1349,
18,
1289,
1595,
12,
2436,
18,
588,
6955,
2954,
2323,
682,
10663,
202,
202,
1349,
18,
1289,
1595,
12,
2436,
18,
29735,
4965,
682,
10663,
202,
202,
1349,
18,
1289,
1595,
12,
2436,
18,
588,
6466,
11667,
682,
10663,
202,
202,
2463,
325,
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,
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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,
1117,
987,
13683,
270,
682,
12,
12148,
7069,
6125,
13,
202,
95,
202,
202,
682,
325,
273,
394,
2407,
5621,
202,
202,
1349,
18,
1289,
1595,
12,
2436,
18,
588,
6955,
2954,
2323,
682,
10663,
202,
202,
1349,
18,
1289,
1595,
12,
2436,
18,
29735,
4965,
682,
10663,
202,
202,
1349,
18,
1289,
1595,
12,
2436,
18,
588,
6466,
11667,
682,
10663,
202,
202,
2463,
325,
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
] |
layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); Point lp = layeredPane.getLocationOnScreen(); Point r = SwingUtilities.getRoot(invoker).getLocationOnScreen(); int px = locationX - (lp.x - r.x); int py = locationY - (lp.y - r.y); popup.show(px, py, size.width, size.height); | layeredPane = SwingUtilities.getRootPane(invoker) .getLayeredPane(); Point p = new Point(popupLocation.x, popupLocation.y); SwingUtilities.convertPointFromScreen(p, layeredPane); popup.show(p.x, p.y, size.width, size.height); } else { if (rootContainer.contains(popupLocation)) { Insets insets = rootContainer.getInsets(); popup.show(popupLocation.x - insets.left, popupLocation.y - insets.top, size.width, size.height); | public void setVisible(boolean visible) { super.setVisible(visible); firePopupMenuWillBecomeVisible(); if (visible) { Container rootContainer = (Container) SwingUtilities.getRoot(invoker); boolean fit = true; Dimension size; // Determine the size of the popup menu if (this.getSize().width == 0 && this.getSize().width == 0) size = this.getPreferredSize(); else size = this.getSize(); if ((size.width > (rootContainer.getWidth() - locationX)) || (size.height > (rootContainer.getHeight() - locationY))) fit = false; if (lightWeightPopupEnabled && fit) popup = new LightWeightPopup(this); else { if (fit) popup = new MediumWeightPopup(this); else popup = new HeavyWeightPopup(this); } if (popup instanceof LightWeightPopup || popup instanceof MediumWeightPopup) { JLayeredPane layeredPane; layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); Point lp = layeredPane.getLocationOnScreen(); Point r = SwingUtilities.getRoot(invoker).getLocationOnScreen(); int px = locationX - (lp.x - r.x); int py = locationY - (lp.y - r.y); popup.show(px, py, size.width, size.height); } else popup.show(locationX, locationY, size.width, size.height); } else { firePopupMenuWillBecomeInvisible(); popup.hide(); } } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JPopupMenu.java/buggy/core/src/classpath/javax/javax/swing/JPopupMenu.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
16697,
12,
6494,
6021,
13,
225,
288,
565,
2240,
18,
542,
6207,
12,
8613,
1769,
565,
4452,
13770,
4599,
13670,
38,
557,
1742,
6207,
5621,
565,
309,
261,
8613,
13,
1377,
288,
202,
2170,
1365,
2170,
273,
261,
2170,
13,
26145,
11864,
18,
588,
2375,
12,
5768,
601,
264,
1769,
202,
6494,
4845,
273,
638,
31,
202,
8611,
963,
31,
202,
759,
10229,
326,
963,
434,
326,
10431,
3824,
202,
430,
261,
2211,
18,
588,
1225,
7675,
2819,
422,
374,
597,
333,
18,
588,
1225,
7675,
2819,
422,
374,
13,
202,
225,
963,
273,
333,
18,
588,
16028,
1225,
5621,
202,
12107,
202,
225,
963,
273,
333,
18,
588,
1225,
5621,
202,
430,
14015,
1467,
18,
2819,
405,
261,
3085,
2170,
18,
588,
2384,
1435,
300,
2117,
60,
3719,
202,
565,
747,
261,
1467,
18,
4210,
405,
261,
3085,
2170,
18,
588,
2686,
1435,
300,
2117,
61,
20349,
202,
225,
4845,
273,
629,
31,
202,
430,
261,
5099,
6544,
13770,
1526,
597,
4845,
13,
202,
225,
10431,
273,
394,
15992,
6544,
13770,
12,
2211,
1769,
202,
12107,
202,
225,
288,
202,
565,
309,
261,
7216,
13,
202,
1377,
10431,
273,
394,
20158,
5077,
6544,
13770,
12,
2211,
1769,
202,
565,
469,
202,
1377,
10431,
273,
394,
8264,
23935,
6544,
13770,
12,
2211,
1769,
202,
225,
289,
202,
3639,
309,
261,
16086,
1276,
15992,
6544,
13770,
2398,
747,
10431,
1276,
20158,
5077,
6544,
13770,
13,
1850,
288,
5411,
804,
4576,
329,
8485,
3018,
329,
8485,
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,
16697,
12,
6494,
6021,
13,
225,
288,
565,
2240,
18,
542,
6207,
12,
8613,
1769,
565,
4452,
13770,
4599,
13670,
38,
557,
1742,
6207,
5621,
565,
309,
261,
8613,
13,
1377,
288,
202,
2170,
1365,
2170,
273,
261,
2170,
13,
26145,
11864,
18,
588,
2375,
12,
5768,
601,
264,
1769,
202,
6494,
4845,
273,
638,
31,
202,
8611,
963,
31,
202,
759,
10229,
326,
963,
434,
326,
10431,
3824,
202,
430,
261,
2211,
18,
588,
1225,
7675,
2819,
422,
374,
597,
333,
18,
588,
1225,
7675,
2819,
422,
374,
13,
202,
225,
963,
273,
333,
18,
588,
16028,
1225,
5621,
202,
12107,
202,
225,
963,
273,
333,
18,
588,
1225,
5621,
202,
430,
14015,
1467,
18,
2
] |
cellspacing = value; | cellspacing = value; | public void setCellpadding(float value) { cellspacing = value; } | 3506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3506/ed86dfb474e6fa22e1797452482e751a297a7e1f/Table.java/clean/itext/src/com/lowagie/text/Table.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
4020,
9598,
12,
5659,
460,
13,
288,
3639,
2484,
14080,
273,
460,
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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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
4020,
9598,
12,
5659,
460,
13,
288,
3639,
2484,
14080,
273,
460,
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
] |
osversion.addElement(Version.parseVersion(value)); | osversion.addElement(new VersionRange(value)); | protected synchronized void addAttribute(String key, String value) { if (key.equals(Constants.BUNDLE_NATIVECODE_PROCESSOR)) { if (processor == null) { processor = new Attribute(); } processor.addElement(aliasMapper.aliasProcessor(value)); return; } if (key.equals(Constants.BUNDLE_NATIVECODE_OSNAME)) { if (osname == null) { osname = new Attribute(); } osname.addElement(aliasMapper.aliasOSName(value)); return; } if (key.equals(Constants.BUNDLE_NATIVECODE_OSVERSION)) { if (osversion == null) { osversion = new Attribute(); } osversion.addElement(Version.parseVersion(value)); return; } if (key.equals(Constants.SELECTION_FILTER_ATTRIBUTE)) { if (filterString == null) { filterString = value; } return; } if (key.equals(Constants.BUNDLE_NATIVECODE_LANGUAGE)) { if (language == null) { language = new Attribute(); } language.addElement(value.toLowerCase()); return; } } | 2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/69c7acc1170a0cdbba49398c072e44e0c2e156f0/BundleNativeCode.java/buggy/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/BundleNativeCode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
3852,
918,
10759,
12,
780,
498,
16,
514,
460,
13,
288,
202,
202,
430,
261,
856,
18,
14963,
12,
2918,
18,
30245,
67,
50,
12992,
5572,
67,
16560,
916,
3719,
288,
1082,
202,
430,
261,
8700,
422,
446,
13,
288,
9506,
202,
8700,
273,
394,
3601,
5621,
1082,
202,
97,
1082,
202,
8700,
18,
1289,
1046,
12,
4930,
4597,
18,
4930,
5164,
12,
1132,
10019,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
430,
261,
856,
18,
14963,
12,
2918,
18,
30245,
67,
50,
12992,
5572,
67,
4618,
1985,
3719,
288,
1082,
202,
430,
261,
538,
529,
422,
446,
13,
288,
9506,
202,
538,
529,
273,
394,
3601,
5621,
1082,
202,
97,
1082,
202,
538,
529,
18,
1289,
1046,
12,
4930,
4597,
18,
4930,
4618,
461,
12,
1132,
10019,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
430,
261,
856,
18,
14963,
12,
2918,
18,
30245,
67,
50,
12992,
5572,
67,
4618,
5757,
3719,
288,
1082,
202,
430,
261,
538,
1589,
422,
446,
13,
288,
9506,
202,
538,
1589,
273,
394,
3601,
5621,
1082,
202,
97,
1082,
202,
538,
1589,
18,
1289,
1046,
12,
1444,
18,
2670,
1444,
12,
1132,
10019,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
430,
261,
856,
18,
14963,
12,
2918,
18,
1090,
15445,
67,
11126,
67,
11616,
3719,
288,
1082,
202,
430,
261,
2188,
780,
422,
446,
13,
288,
9506,
202,
2188,
780,
273,
460,
31,
1082,
202,
97,
1082,
202,
2463,
31,
202,
202,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
3852,
918,
10759,
12,
780,
498,
16,
514,
460,
13,
288,
202,
202,
430,
261,
856,
18,
14963,
12,
2918,
18,
30245,
67,
50,
12992,
5572,
67,
16560,
916,
3719,
288,
1082,
202,
430,
261,
8700,
422,
446,
13,
288,
9506,
202,
8700,
273,
394,
3601,
5621,
1082,
202,
97,
1082,
202,
8700,
18,
1289,
1046,
12,
4930,
4597,
18,
4930,
5164,
12,
1132,
10019,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
430,
261,
856,
18,
14963,
12,
2918,
18,
30245,
67,
50,
12992,
5572,
67,
4618,
1985,
3719,
288,
1082,
202,
430,
261,
538,
529,
422,
446,
13,
288,
9506,
202,
538,
529,
273,
394,
3601,
5621,
1082,
202,
97,
1082,
202,
538,
2
] |
ruby_iter = iter; | rubyIter = new Iter(); | public void init() { // FRAME frame = new FRAME(); iter iter = new iter(); int state; if (initialized) { return; } initialized = true; topFrame = getRubyFrame(); ruby_iter = iter; // rb_origenviron = environ; // Init_stack(0); // Init_heap(); // PUSH_SCOPE(); getRuby().rubyScope.setLocalVars(null); getRuby().rubyScope.setLocalVars(null); // top_scope = getRuby().ruby_scope; /* default visibility is private at toplevel */ // SET_SCOPE(SCOPE_PRIVATE); // PUSH_TAG( PROT_NONE ); // if ((state = EXEC_TAG()) == 0) { // rb_call_inits(); ruby_class = getRuby().getObjectClass(); // ruby_frame.self = ruby_top_self; // top_cref = new NODE(NODE_CREF, getRuby().getObjectClass(), null, null); // ruby_cref = top_cref; rubyFrame.setCbase((VALUE)ruby_cref); // rb_define_global_const( "TOPLEVEL_BINDING", rb_f_binding( ruby_top_self ) ); // ruby_prog_init(); // } // POP_TAG(); // if (state != 0) { // error_print(); // } // POP_SCOPE(); // ruby_scope = top_scope; } | 45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/f1e2c45b99e6f9a2be3f15f5fd7ad91c7e086a2c/RubyInterpreter.java/clean/org/jruby/interpreter/RubyInterpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
1435,
288,
3639,
368,
20183,
2623,
273,
394,
20183,
5621,
3639,
1400,
1400,
273,
394,
1400,
5621,
3639,
509,
919,
31,
3639,
309,
261,
13227,
13,
288,
5411,
327,
31,
3639,
289,
3639,
6454,
273,
638,
31,
3639,
1760,
3219,
273,
4170,
10340,
3219,
5621,
3639,
22155,
2360,
273,
394,
3016,
5621,
3639,
368,
7138,
67,
4949,
28684,
273,
5473,
31,
3639,
368,
4378,
67,
3772,
12,
20,
1769,
3639,
368,
4378,
67,
25506,
5621,
10792,
368,
28591,
67,
19444,
5621,
3639,
4170,
10340,
7675,
27768,
3876,
18,
542,
2042,
5555,
12,
2011,
1769,
3639,
4170,
10340,
7675,
27768,
3876,
18,
542,
2042,
5555,
12,
2011,
1769,
3639,
368,
1760,
67,
4887,
273,
4170,
10340,
7675,
27768,
67,
4887,
31,
10792,
1748,
805,
9478,
353,
3238,
622,
28999,
1195,
3639,
368,
7855,
67,
19444,
12,
19444,
67,
20055,
1769,
3639,
368,
28591,
67,
7927,
12,
4629,
56,
67,
9826,
11272,
3639,
368,
309,
14015,
2019,
273,
24508,
67,
7927,
10756,
422,
374,
13,
288,
5411,
368,
7138,
67,
1991,
67,
267,
1282,
5621,
5411,
22155,
67,
1106,
273,
4170,
10340,
7675,
588,
921,
797,
5621,
5411,
368,
22155,
67,
3789,
18,
2890,
273,
22155,
67,
3669,
67,
2890,
31,
5411,
368,
1760,
67,
71,
1734,
273,
394,
11922,
12,
8744,
67,
5458,
42,
16,
4170,
10340,
7675,
588,
921,
797,
9334,
446,
16,
446,
1769,
5411,
368,
22155,
67,
71,
1734,
273,
1760,
67,
71,
1734,
31,
5411,
22155,
3219,
18,
542,
39,
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,
1208,
1435,
288,
3639,
368,
20183,
2623,
273,
394,
20183,
5621,
3639,
1400,
1400,
273,
394,
1400,
5621,
3639,
509,
919,
31,
3639,
309,
261,
13227,
13,
288,
5411,
327,
31,
3639,
289,
3639,
6454,
273,
638,
31,
3639,
1760,
3219,
273,
4170,
10340,
3219,
5621,
3639,
22155,
2360,
273,
394,
3016,
5621,
3639,
368,
7138,
67,
4949,
28684,
273,
5473,
31,
3639,
368,
4378,
67,
3772,
12,
20,
1769,
3639,
368,
4378,
67,
25506,
5621,
10792,
368,
28591,
67,
19444,
5621,
3639,
4170,
10340,
7675,
27768,
3876,
18,
542,
2042,
5555,
12,
2011,
1769,
3639,
4170,
10340,
7675,
27768,
3876,
18,
542,
2042,
5555,
12,
2011,
1769,
3639,
368,
1760,
67,
4887,
273,
4170,
10340,
2
] |
"ldap.sslEnabled")).booleanValue(); | "ldap.sslEnabled")); | private LdapManager() { this.host = JiveGlobals.getXMLProperty("ldap.host"); String portStr = JiveGlobals.getXMLProperty("ldap.port"); if (portStr != null) { try { this.port = Integer.parseInt(portStr); } catch (NumberFormatException nfe) { } } if (JiveGlobals.getXMLProperty("ldap.usernameField") != null) { this.usernameField = JiveGlobals.getXMLProperty("ldap.usernameField"); } if (JiveGlobals.getXMLProperty("ldap.baseDN") != null) { this.baseDN = JiveGlobals.getXMLProperty("ldap.baseDN"); } if (JiveGlobals.getXMLProperty("ldap.alternateBaseDN") != null) { this.alternateBaseDN = JiveGlobals.getXMLProperty("ldap.alternateBaseDN"); } if (JiveGlobals.getXMLProperty("ldap.nameField") != null) { this.nameField = JiveGlobals.getXMLProperty("ldap.nameField"); } if (JiveGlobals.getXMLProperty("ldap.emailField") != null) { this.emailField = JiveGlobals.getXMLProperty("ldap.emailField"); } if (JiveGlobals.getXMLProperty("ldap.connectionPoolEnabled") != null) { this.connectionPoolEnabled = Boolean.valueOf( JiveGlobals.getXMLProperty("ldap.connectionPoolEnabled")).booleanValue(); } if (JiveGlobals.getXMLProperty("ldap.searchFilter") != null) { this.searchFilter = JiveGlobals.getXMLProperty("ldap.searchFilter"); } else { StringBuilder filter = new StringBuilder(); filter.append("(").append(usernameField).append("={0})"); this.searchFilter = filter.toString(); } if (JiveGlobals.getXMLProperty("ldap.groupNameField") != null) { this.groupNameField = JiveGlobals.getXMLProperty("ldap.groupNameField"); } if (JiveGlobals.getXMLProperty("ldap.groupMemberField") != null) { this.groupMemberField = JiveGlobals.getXMLProperty("ldap.groupMemberField"); } if (JiveGlobals.getXMLProperty("ldap.groupDescriptionField") != null) { this.groupDescriptionField = JiveGlobals.getXMLProperty("ldap.groupDescriptionField"); } if (JiveGlobals.getXMLProperty("ldap.posixMode") != null) { this.posixMode = Boolean.valueOf(JiveGlobals.getXMLProperty("ldap.posixMode")); } if (JiveGlobals.getXMLProperty("ldap.groupSearchFilter") != null) { this.groupSearchFilter = JiveGlobals.getXMLProperty("ldap.groupSearchFilter"); } else { this.groupSearchFilter = "("+groupMemberField+"={0})"; } this.adminDN = JiveGlobals.getXMLProperty("ldap.adminDN"); if (adminDN != null && adminDN.trim().equals("")) { adminDN = null; } this.adminPassword = JiveGlobals.getXMLProperty("ldap.adminPassword"); this.ldapDebugEnabled = Boolean.valueOf(JiveGlobals.getXMLProperty( "ldap.debugEnabled")).booleanValue(); this.sslEnabled = Boolean.valueOf(JiveGlobals.getXMLProperty( "ldap.sslEnabled")).booleanValue(); this.followReferrals = Boolean.valueOf(JiveGlobals.getXMLProperty( "ldap.autoFollowReferrals")).booleanValue(); this.initialContextFactory = JiveGlobals.getXMLProperty("ldap.initialContextFactory"); if (initialContextFactory != null) { try { Class.forName(initialContextFactory); } catch (ClassNotFoundException cnfe) { Log.error("Initial context factory class failed to load: " + initialContextFactory + ". Using default initial context factory class instead."); initialContextFactory = "com.sun.jndi.ldap.LdapCtxFactory"; } } // Use default value if none was set. else { initialContextFactory = "com.sun.jndi.ldap.LdapCtxFactory"; } if (Log.isDebugEnabled()) { Log.debug("Created new LdapManager() instance, fields:"); Log.debug("\t host: " + host); Log.debug("\t port: " + port); Log.debug("\t usernamefield: " + usernameField); Log.debug("\t baseDN: " + baseDN); Log.debug("\t alternateBaseDN: " + alternateBaseDN); Log.debug("\t nameField: " + nameField); Log.debug("\t emailField: " + emailField); Log.debug("\t adminDN: " + adminDN); Log.debug("\t adminPassword: " + adminPassword); Log.debug("\t searchFilter: " + searchFilter); Log.debug("\t ldapDebugEnabled: " + ldapDebugEnabled); Log.debug("\t sslEnabled: " + sslEnabled); Log.debug("\t initialContextFactory: " + initialContextFactory); Log.debug("\t connectionPoolEnabled: " + connectionPoolEnabled); Log.debug("\t autoFollowReferrals: " + followReferrals); Log.debug("\t groupNameField: " + groupNameField); Log.debug("\t groupMemberField: " + groupMemberField); Log.debug("\t groupDescriptionField: " + groupDescriptionField); Log.debug("\t posixMode: " + posixMode); Log.debug("\t groupSearchFilter: " + groupSearchFilter); } } | 6161 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6161/26da5404f91ae0c0102986671c82e45825d3148e/LdapManager.java/buggy/src/java/org/jivesoftware/wildfire/ldap/LdapManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
18053,
1318,
1435,
288,
3639,
333,
18,
2564,
273,
804,
688,
19834,
18,
588,
4201,
1396,
2932,
14394,
18,
2564,
8863,
3639,
514,
1756,
1585,
273,
804,
688,
19834,
18,
588,
4201,
1396,
2932,
14394,
18,
655,
8863,
3639,
309,
261,
655,
1585,
480,
446,
13,
288,
5411,
775,
288,
7734,
333,
18,
655,
273,
2144,
18,
2670,
1702,
12,
655,
1585,
1769,
5411,
289,
5411,
1044,
261,
1854,
9291,
25386,
13,
288,
289,
3639,
289,
3639,
309,
261,
46,
688,
19834,
18,
588,
4201,
1396,
2932,
14394,
18,
5053,
974,
7923,
480,
446,
13,
288,
5411,
333,
18,
5053,
974,
273,
804,
688,
19834,
18,
588,
4201,
1396,
2932,
14394,
18,
5053,
974,
8863,
3639,
289,
3639,
309,
261,
46,
688,
19834,
18,
588,
4201,
1396,
2932,
14394,
18,
1969,
8609,
7923,
480,
446,
13,
288,
5411,
333,
18,
1969,
8609,
273,
804,
688,
19834,
18,
588,
4201,
1396,
2932,
14394,
18,
1969,
8609,
8863,
3639,
289,
3639,
309,
261,
46,
688,
19834,
18,
588,
4201,
1396,
2932,
14394,
18,
16025,
340,
2171,
8609,
7923,
480,
446,
13,
288,
5411,
333,
18,
16025,
340,
2171,
8609,
273,
804,
688,
19834,
18,
588,
4201,
1396,
2932,
14394,
18,
16025,
340,
2171,
8609,
8863,
3639,
289,
3639,
309,
261,
46,
688,
19834,
18,
588,
4201,
1396,
2932,
14394,
18,
529,
974,
7923,
480,
446,
13,
288,
5411,
333,
18,
529,
974,
273,
804,
688,
19834,
18,
588,
4201,
1396,
2932,
14394,
18,
529,
974,
8863,
3639,
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,
18053,
1318,
1435,
288,
3639,
333,
18,
2564,
273,
804,
688,
19834,
18,
588,
4201,
1396,
2932,
14394,
18,
2564,
8863,
3639,
514,
1756,
1585,
273,
804,
688,
19834,
18,
588,
4201,
1396,
2932,
14394,
18,
655,
8863,
3639,
309,
261,
655,
1585,
480,
446,
13,
288,
5411,
775,
288,
7734,
333,
18,
655,
273,
2144,
18,
2670,
1702,
12,
655,
1585,
1769,
5411,
289,
5411,
1044,
261,
1854,
9291,
25386,
13,
288,
289,
3639,
289,
3639,
309,
261,
46,
688,
19834,
18,
588,
4201,
1396,
2932,
14394,
18,
5053,
974,
7923,
480,
446,
13,
288,
5411,
333,
18,
5053,
974,
273,
804,
688,
19834,
18,
588,
4201,
1396,
2932,
14394,
18,
5053,
974,
8863,
3639,
289,
2
] |
public void executeTest(String type) throws Exception { String queryString = (String) queries.get(type); Query q = new Query(queryString); BestQueryStorer bestQuery = new BestQueryStorer(); Set precompsSet = PrecomputedTableManager.getInstance(getDatabase()).getPrecomputedTables(); QueryOptimiser.recursiveOptimise(precompsSet, q, bestQuery, q); Set optimisedQueries = bestQuery.getQueries(); // optimisedQueries now contains the set of queries we need to see all give the same results Iterator queriesIter = optimisedQueries.iterator(); while (queriesIter.hasNext()) { Query optimisedQuery = (Query) queriesIter.next(); checkResultsForQueries(q, optimisedQuery); } System.out.println(type + "(" + optimisedQueries.size() + " choices)"); // Now try the optimise() method. We don't know which of the // set of queries we are actually going to get back, but we // can check that it takes less time than the original query. String optimisedQuery = QueryOptimiser.optimise(queryString, getDatabase()); if (queryString.equals(optimisedQuery)) { System.out.println(": ORIGINAL "); } else { System.out.println(": OPTIMISED "); } checkResultsForQueries(q, new Query(optimisedQuery)); } | 7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/719b76dd14f2f3126e764a6597240e50b7004c4f/QueryOptimiserFunctionalTest.java/buggy/intermine/src/test/org/intermine/sql/precompute/QueryOptimiserFunctionalTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
90,
11359,
561,
557,
624,
4709,
12,
780,
723,
13,
15069,
503,
95,
780,
2271,
780,
28657,
780,
13,
13748,
18,
588,
12,
723,
1769,
1138,
85,
33,
2704,
1138,
12,
2271,
780,
1769,
14173,
1138,
510,
8922,
12729,
1138,
33,
2704,
14173,
1138,
510,
8922,
5621,
694,
1484,
31532,
694,
33,
1386,
20307,
1388,
1318,
18,
588,
1442,
12,
588,
4254,
1435,
2934,
588,
1386,
20307,
6905,
5621,
1138,
13930,
15914,
18,
10543,
13930,
784,
12,
1484,
31532,
694,
16,
85,
16,
12729,
1138,
16,
85,
1769,
694,
16689,
5918,
9592,
33,
12729,
1138,
18,
588,
9592,
5621,
759,
16689,
5918,
9592,
3338,
28744,
20244,
281,
278,
792,
13748,
91,
4009,
329,
869,
5946,
454,
75,
427,
546,
281,
301,
11737,
406,
87,
3198,
13748,
2360,
33,
16689,
5918,
9592,
18,
9838,
5621,
17523,
12,
13748,
2360,
18,
5332,
2134,
10756,
95,
1138,
16689,
5918,
1138,
28657,
1138,
13,
13748,
2360,
18,
4285,
5621,
1893,
3447,
1290,
9592,
12,
85,
16,
16689,
5918,
1138,
1769,
97,
3163,
18,
659,
18,
8222,
12,
723,
9078,
2932,
15,
16689,
5918,
9592,
18,
1467,
1435,
9078,
11937,
2225,
1769,
759,
8674,
698,
5787,
16689,
784,
1435,
2039,
18,
59,
329,
265,
1404,
79,
3338,
12784,
792,
5787,
759,
542,
792,
13748,
1814,
834,
621,
3452,
8162,
869,
588,
823,
16,
12885,
1814,
759,
4169,
1893,
19056,
305,
88,
3223,
1040,
334,
381,
546,
304,
5787,
8830,
2271,
18,
780,
16689,
5918,
1138,
33,
1138,
13930,
15914,
18,
16689,
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,
90,
11359,
561,
557,
624,
4709,
12,
780,
723,
13,
15069,
503,
95,
780,
2271,
780,
28657,
780,
13,
13748,
18,
588,
12,
723,
1769,
1138,
85,
33,
2704,
1138,
12,
2271,
780,
1769,
14173,
1138,
510,
8922,
12729,
1138,
33,
2704,
14173,
1138,
510,
8922,
5621,
694,
1484,
31532,
694,
33,
1386,
20307,
1388,
1318,
18,
588,
1442,
12,
588,
4254,
1435,
2934,
588,
1386,
20307,
6905,
5621,
1138,
13930,
15914,
18,
10543,
13930,
784,
12,
1484,
31532,
694,
16,
85,
16,
12729,
1138,
16,
85,
1769,
694,
16689,
5918,
9592,
33,
12729,
1138,
18,
588,
9592,
5621,
759,
16689,
5918,
9592,
3338,
28744,
20244,
281,
278,
792,
13748,
91,
4009,
329,
869,
5946,
454,
75,
427,
2
] | ||
if (ct.method.equals(Request.SUBSCRIBE) | if (this.isLoggingEnabled()) { logWriter.logDebug("ct.fromTag = " + fromTag); logWriter.logDebug("thisToTag = " + thisToTag); logWriter.logDebug("hisEvent = " + hisEvent); logWriter.logDebug("eventHdr " + eventHdr); } if (listeningPoint.getPort() == port && listeningPoint.getIPAddress().equals(host) | public SIPClientTransaction findSubscribeTransaction( SIPRequest notifyMessage) { synchronized (clientTransactions) { Iterator it = clientTransactions.iterator(); String thisToTag = notifyMessage.getTo().getTag(); if (thisToTag == null) return null; Event eventHdr = (Event) notifyMessage.getHeader(EventHeader.NAME); if (eventHdr == null) return null; while (it.hasNext()) { SIPClientTransaction ct = (SIPClientTransaction) it.next(); //SIPRequest sipRequest = ct.getOriginalRequest(); String fromTag = ct.from.getTag(); Event hisEvent = ct.event; // Event header is mandatory but some slopply clients // dont include it. if (hisEvent == null) continue; if (ct.method.equals(Request.SUBSCRIBE) && fromTag.equalsIgnoreCase(thisToTag) && hisEvent != null && eventHdr.match(hisEvent) && notifyMessage.getCallId().getCallId() .equalsIgnoreCase(ct.callId.getCallId())) return ct; } } return null; } | 7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/d3bce65e49e71ee7df15bd72fd338535d4501bc1/SIPTransactionStack.java/buggy/trunk/src/gov/nist/javax/sip/stack/SIPTransactionStack.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
348,
2579,
1227,
3342,
1104,
16352,
3342,
12,
1082,
202,
17739,
691,
5066,
1079,
13,
288,
202,
202,
22043,
261,
2625,
14186,
13,
288,
1082,
202,
3198,
518,
273,
1004,
14186,
18,
9838,
5621,
1082,
202,
780,
333,
774,
1805,
273,
5066,
1079,
18,
588,
774,
7675,
588,
1805,
5621,
1082,
202,
430,
261,
2211,
774,
1805,
422,
446,
13,
9506,
202,
2463,
446,
31,
1082,
202,
1133,
871,
14659,
273,
261,
1133,
13,
5066,
1079,
18,
588,
1864,
12,
1133,
1864,
18,
1985,
1769,
1082,
202,
430,
261,
2575,
14659,
422,
446,
13,
9506,
202,
2463,
446,
31,
1082,
202,
17523,
261,
305,
18,
5332,
2134,
10756,
288,
9506,
202,
17739,
1227,
3342,
5691,
273,
261,
17739,
1227,
3342,
13,
518,
18,
4285,
5621,
9506,
202,
759,
17739,
691,
10341,
691,
273,
5691,
18,
588,
8176,
691,
5621,
9506,
202,
780,
628,
1805,
273,
5691,
18,
2080,
18,
588,
1805,
5621,
9506,
202,
1133,
18423,
1133,
273,
5691,
18,
2575,
31,
9506,
202,
759,
2587,
1446,
353,
11791,
1496,
2690,
30748,
1283,
7712,
9506,
202,
759,
14046,
2341,
518,
18,
9506,
202,
430,
261,
76,
291,
1133,
422,
446,
13,
6862,
202,
17143,
31,
9506,
202,
430,
261,
299,
18,
2039,
18,
14963,
12,
691,
18,
8362,
26469,
13,
25083,
202,
10,
10,
628,
1805,
18,
14963,
5556,
12,
2211,
774,
1805,
13,
25083,
202,
10,
10,
18423,
1133,
480,
446,
25083,
202,
10,
10,
871,
14659,
18,
1916,
12,
76,
291,
1133,
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,
348,
2579,
1227,
3342,
1104,
16352,
3342,
12,
1082,
202,
17739,
691,
5066,
1079,
13,
288,
202,
202,
22043,
261,
2625,
14186,
13,
288,
1082,
202,
3198,
518,
273,
1004,
14186,
18,
9838,
5621,
1082,
202,
780,
333,
774,
1805,
273,
5066,
1079,
18,
588,
774,
7675,
588,
1805,
5621,
1082,
202,
430,
261,
2211,
774,
1805,
422,
446,
13,
9506,
202,
2463,
446,
31,
1082,
202,
1133,
871,
14659,
273,
261,
1133,
13,
5066,
1079,
18,
588,
1864,
12,
1133,
1864,
18,
1985,
1769,
1082,
202,
430,
261,
2575,
14659,
422,
446,
13,
9506,
202,
2463,
446,
31,
1082,
202,
17523,
261,
305,
18,
5332,
2134,
10756,
288,
9506,
202,
17739,
1227,
3342,
5691,
273,
2
] |
input.mark(rl); } | input.mark(rl); } | public void mark(int rl) { input.mark(rl); } | 5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/4e5fe60cb9134363e50dbd8da5c5e82e3c6e9afc/SVGReader.java/buggy/src/org/apache/fop/image/analyser/SVGReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
7682,
1071,
918,
2267,
12,
474,
11618,
13,
288,
18701,
810,
18,
3355,
12,
1321,
1769,
13491,
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,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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,
7682,
1071,
918,
2267,
12,
474,
11618,
13,
288,
18701,
810,
18,
3355,
12,
1321,
1769,
13491,
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
] |
m_ops.m_opMap[matchTypePos] = OpCodes.MATCH_ANY_ANCESTOR; | m_ops.setOp(matchTypePos, OpCodes.MATCH_ANY_ANCESTOR); | protected boolean AbbreviatedNodeTestStep(boolean isLeadingSlashPermitted) throws javax.xml.transform.TransformerException { int opPos = m_ops.m_opMap[OpMap.MAPINDEX_LENGTH]; int axesType; // The next blocks guarantee that a MATCH_XXX will be added. int matchTypePos = -1; if (tokenIs('@')) { axesType = OpCodes.MATCH_ATTRIBUTE; appendOp(2, axesType); nextToken(); } else if (this.lookahead("::", 1)) { if (tokenIs("attribute")) { axesType = OpCodes.MATCH_ATTRIBUTE; appendOp(2, axesType); } else if (tokenIs("child")) { matchTypePos = m_ops.m_opMap[OpMap.MAPINDEX_LENGTH]; axesType = OpCodes.MATCH_IMMEDIATE_ANCESTOR; appendOp(2, axesType); } else { axesType = -1; this.error(XPATHErrorResources.ER_AXES_NOT_ALLOWED, new Object[]{ this.m_token }); } nextToken(); nextToken(); } else if (tokenIs('/')) { if (!isLeadingSlashPermitted) { // "A step was expected in the pattern, but '/' was encountered." error(XPATHErrorResources.ER_EXPECTED_STEP_PATTERN, null); } axesType = OpCodes.MATCH_ANY_ANCESTOR; appendOp(2, axesType); nextToken(); } else { matchTypePos = m_ops.m_opMap[OpMap.MAPINDEX_LENGTH]; axesType = OpCodes.MATCH_IMMEDIATE_ANCESTOR; appendOp(2, axesType); } // Make room for telling how long the step is without the predicate m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] += 1; NodeTest(axesType); // Tell how long the step is without the predicate m_ops.m_opMap[opPos + OpMap.MAPINDEX_LENGTH + 1] = m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] - opPos; while (tokenIs('[')) { Predicate(); } boolean trailingSlashConsumed; // For "a//b", where "a" is current step, we need to mark operation of // current step as "MATCH_ANY_ANCESTOR". Then we'll consume the first // slash and subsequent step will be treated as a MATCH_IMMEDIATE_ANCESTOR // (unless it too is followed by '//'.) // // %REVIEW% Following is what happens today, but I'm not sure that's // %REVIEW% correct behaviour. Perhaps no valid case could be constructed // %REVIEW% where it would matter? // // If current step is on the attribute axis (e.g., "@x//b"), we won't // change the current step, and let following step be marked as // MATCH_ANY_ANCESTOR on next call instead. if ((matchTypePos > -1) && tokenIs('/') && lookahead('/', 1)) { m_ops.m_opMap[matchTypePos] = OpCodes.MATCH_ANY_ANCESTOR; nextToken(); trailingSlashConsumed = true; } else { trailingSlashConsumed = false; } // Tell how long the entire step is. m_ops.m_opMap[opPos + OpMap.MAPINDEX_LENGTH] = m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] - opPos; return trailingSlashConsumed; } | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/f136f83081069756bcd71950054569f3ad4d2ce5/XPathParser.java/buggy/src/org/apache/xpath/compiler/XPathParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1250,
9771,
9854,
907,
4709,
4160,
12,
6494,
353,
19112,
11033,
31465,
13,
5411,
1216,
6863,
18,
2902,
18,
6547,
18,
8319,
503,
225,
288,
565,
509,
1061,
1616,
273,
312,
67,
4473,
18,
81,
67,
556,
863,
63,
3817,
863,
18,
8352,
9199,
67,
7096,
15533,
565,
509,
6515,
559,
31,
565,
368,
1021,
1024,
4398,
18779,
716,
279,
16585,
67,
15639,
903,
506,
3096,
18,
565,
509,
845,
559,
1616,
273,
300,
21,
31,
565,
309,
261,
2316,
2520,
2668,
20887,
3719,
565,
288,
1377,
6515,
559,
273,
6066,
6295,
18,
11793,
67,
11616,
31,
1377,
714,
3817,
12,
22,
16,
6515,
559,
1769,
1377,
9617,
5621,
565,
289,
565,
469,
309,
261,
2211,
18,
7330,
11617,
2932,
30,
2773,
16,
404,
3719,
565,
288,
1377,
309,
261,
2316,
2520,
2932,
4589,
6,
3719,
1377,
288,
3639,
6515,
559,
273,
6066,
6295,
18,
11793,
67,
11616,
31,
3639,
714,
3817,
12,
22,
16,
6515,
559,
1769,
1377,
289,
1377,
469,
309,
261,
2316,
2520,
2932,
3624,
6,
3719,
1377,
288,
3639,
845,
559,
1616,
273,
312,
67,
4473,
18,
81,
67,
556,
863,
63,
3817,
863,
18,
8352,
9199,
67,
7096,
15533,
3639,
6515,
559,
273,
6066,
6295,
18,
11793,
67,
3445,
15971,
1777,
67,
4722,
882,
916,
31,
3639,
714,
3817,
12,
22,
16,
6515,
559,
1769,
1377,
289,
1377,
469,
1377,
288,
3639,
6515,
559,
273,
300,
21,
31,
3639,
333,
18,
1636,
12,
60,
4211,
668,
3805,
18,
654,
67,
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,
1250,
9771,
9854,
907,
4709,
4160,
12,
6494,
353,
19112,
11033,
31465,
13,
5411,
1216,
6863,
18,
2902,
18,
6547,
18,
8319,
503,
225,
288,
565,
509,
1061,
1616,
273,
312,
67,
4473,
18,
81,
67,
556,
863,
63,
3817,
863,
18,
8352,
9199,
67,
7096,
15533,
565,
509,
6515,
559,
31,
565,
368,
1021,
1024,
4398,
18779,
716,
279,
16585,
67,
15639,
903,
506,
3096,
18,
565,
509,
845,
559,
1616,
273,
300,
21,
31,
565,
309,
261,
2316,
2520,
2668,
20887,
3719,
565,
288,
1377,
6515,
559,
273,
6066,
6295,
18,
11793,
67,
11616,
31,
1377,
714,
3817,
12,
22,
16,
6515,
559,
1769,
1377,
9617,
5621,
565,
289,
565,
469,
309,
261,
2211,
18,
2
] |
public Point getRight() {return new Point(right(), y+height/2);} | public Point getRight() { return new Point(right(), y + height / 2); } | public Point getRight() {return new Point(right(), y+height/2);} | 11225 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11225/fcca3c0c8061d4598950ea2edd5c108d6ddf60f4/Rectangle.java/buggy/org.eclipse.draw2d/src/org/eclipse/draw2d/geometry/Rectangle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
4686,
202,
588,
4726,
1435,
202,
288,
2463,
394,
4686,
12,
4083,
9334,
677,
15,
4210,
19,
22,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (element instanceof ITaskCategory || element instanceof IQuery) { | if (element instanceof ITaskCategory || element instanceof ITaskQuery) { | public String getColumnText(Object obj, int columnIndex) { if (obj instanceof ITaskListElement) { ITaskListElement element = (ITaskListElement) obj; switch (columnIndex) { case 0: return null; case 1: return null; case 2: if (element instanceof ITaskCategory || element instanceof IQuery) { return null; } return element.getPriority(); case 3: return element.getDescription(false); } } return null; } | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/de4b42dba8b1b8b770b413f9f9d24bdc30fccd38/TasklistLabelProvider.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TasklistLabelProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
6716,
1528,
12,
921,
1081,
16,
509,
14882,
13,
288,
377,
202,
430,
261,
2603,
1276,
467,
2174,
682,
1046,
13,
288,
1082,
202,
1285,
835,
682,
1046,
930,
273,
261,
1285,
835,
682,
1046,
13,
1081,
31,
1082,
202,
9610,
261,
2827,
1016,
13,
288,
1082,
202,
3593,
374,
30,
9506,
202,
2463,
446,
31,
1082,
202,
3593,
404,
30,
9506,
202,
2463,
446,
31,
1082,
202,
3593,
576,
30,
9506,
202,
430,
261,
2956,
1276,
467,
2174,
4457,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
6716,
1528,
12,
921,
1081,
16,
509,
14882,
13,
288,
377,
202,
430,
261,
2603,
1276,
467,
2174,
682,
1046,
13,
288,
1082,
202,
1285,
835,
682,
1046,
930,
273,
261,
1285,
835,
682,
1046,
13,
1081,
31,
1082,
202,
9610,
261,
2827,
1016,
13,
288,
1082,
202,
3593,
374,
30,
9506,
202,
2463,
446,
31,
1082,
202,
3593,
404,
30,
9506,
202,
2463,
446,
31,
1082,
202,
3593,
576,
30,
9506,
202,
430,
261,
2956,
1276,
467,
2174,
4457,
747,
930,
1276,
467,
1138,
13,
288,
6862,
202,
2463,
446,
31,
9506,
202,
97,
9506,
202,
2463,
930,
18,
588,
8183,
5621,
1082,
202,
3593,
890,
30,
9506,
202,
2463,
930,
18,
588,
3291,
12,
2
] |
String from = ((InternetAddress) getMessageIn().getFrom()[0]).getAddress().trim(); | String from = "FETCHMAIL-SERVICE"; try { from = ((InternetAddress) getMessageIn().getFrom()[0]).getAddress().trim(); } catch (Exception _) { getLogger().info("Could not identify sender -- using default value"); } | protected MailAddress getSender() throws MessagingException { String from = ((InternetAddress) getMessageIn().getFrom()[0]).getAddress().trim(); InternetAddress internetAddress = null; // Check for domain part, add default if missing if (from.indexOf('@') < 0) { StringBuffer fromBuffer = new StringBuffer(from); fromBuffer.append('@'); fromBuffer.append(getDefaultDomainName()); internetAddress = new InternetAddress(fromBuffer.toString()); } else internetAddress = new InternetAddress(from); return new MailAddress(internetAddress); } | 47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/f28846d04b7c2a6eef59240b53d3f6d66c3bd676/MessageProcessor.java/clean/branches/branch_2_1_fcs/src/java/org/apache/james/fetchmail/MessageProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
11542,
1887,
1322,
2345,
1435,
1216,
23794,
503,
565,
288,
3639,
514,
628,
273,
5411,
14015,
26562,
1887,
13,
2381,
382,
7675,
588,
1265,
1435,
63,
20,
65,
2934,
588,
1887,
7675,
5290,
5621,
3639,
21352,
1887,
24264,
1887,
273,
446,
31,
3639,
368,
2073,
364,
2461,
1087,
16,
527,
805,
309,
3315,
3639,
309,
261,
2080,
18,
31806,
2668,
36,
6134,
411,
374,
13,
3639,
288,
5411,
6674,
628,
1892,
273,
394,
6674,
12,
2080,
1769,
5411,
628,
1892,
18,
6923,
2668,
36,
8284,
5411,
628,
1892,
18,
6923,
12,
588,
1868,
20144,
10663,
5411,
24264,
1887,
273,
394,
21352,
1887,
12,
2080,
1892,
18,
10492,
10663,
3639,
289,
3639,
469,
5411,
24264,
1887,
273,
394,
21352,
1887,
12,
2080,
1769,
3639,
327,
394,
11542,
1887,
12,
267,
14726,
1887,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
11542,
1887,
1322,
2345,
1435,
1216,
23794,
503,
565,
288,
3639,
514,
628,
273,
5411,
14015,
26562,
1887,
13,
2381,
382,
7675,
588,
1265,
1435,
63,
20,
65,
2934,
588,
1887,
7675,
5290,
5621,
3639,
21352,
1887,
24264,
1887,
273,
446,
31,
3639,
368,
2073,
364,
2461,
1087,
16,
527,
805,
309,
3315,
3639,
309,
261,
2080,
18,
31806,
2668,
36,
6134,
411,
374,
13,
3639,
288,
5411,
6674,
628,
1892,
273,
394,
6674,
12,
2080,
1769,
5411,
628,
1892,
18,
6923,
2668,
36,
8284,
5411,
628,
1892,
18,
6923,
12,
588,
1868,
20144,
10663,
5411,
24264,
1887,
273,
394,
21352,
1887,
12,
2080,
1892,
18,
10492,
10663,
3639,
289,
3639,
469,
5411,
24264,
1887,
273,
394,
2
] |
public void testHeloEnforcement() throws Exception, SMTPException { | public void testHeloEnforcement() throws Exception { | public void testHeloEnforcement() throws Exception, SMTPException { finishSetUp(m_testConfiguration); SMTPProtocol smtpProtocol1 = new SMTPProtocol("127.0.0.1", m_smtpListenerPort); smtpProtocol1.openPort(); assertEquals("first connection taken", 1, smtpProtocol1.getState()); // no message there, yet assertNull("no mail received by mail server", m_mailServer.getLastMail()); String sender1 = "mail_sender1@localhost"; try { smtpProtocol1.mail(new Address(sender1)); fail("helo not enforced"); } catch (SMTPException e) { assertEquals("expected 503 error", 503, e.getCode()); } smtpProtocol1.helo(InetAddress.getLocalHost()); smtpProtocol1.mail(new Address(sender1)); smtpProtocol1.quit(); } | 47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/36ca715b2ae7da1381d09c7859e92ec192618503/SMTPServerTest.java/clean/src/test/org/apache/james/smtpserver/SMTPServerTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
44,
24214,
664,
5734,
475,
1435,
1216,
1185,
288,
3639,
4076,
694,
1211,
12,
81,
67,
3813,
1750,
1769,
3639,
18102,
5752,
17660,
5752,
21,
273,
394,
18102,
5752,
2932,
14260,
18,
20,
18,
20,
18,
21,
3113,
312,
67,
20278,
2223,
2617,
1769,
3639,
17660,
5752,
21,
18,
3190,
2617,
5621,
3639,
1815,
8867,
2932,
3645,
1459,
9830,
3113,
404,
16,
17660,
5752,
21,
18,
588,
1119,
10663,
3639,
368,
1158,
883,
1915,
16,
4671,
3639,
1815,
2041,
2932,
2135,
4791,
5079,
635,
4791,
1438,
3113,
312,
67,
4408,
2081,
18,
588,
3024,
6759,
10663,
3639,
514,
5793,
21,
273,
315,
4408,
67,
15330,
21,
36,
13014,
14432,
3639,
775,
288,
5411,
17660,
5752,
21,
18,
4408,
12,
2704,
5267,
12,
15330,
21,
10019,
5411,
2321,
2932,
76,
24214,
486,
570,
19778,
8863,
3639,
289,
1044,
261,
55,
14636,
503,
425,
13,
288,
5411,
1815,
8867,
2932,
3825,
26819,
555,
3113,
26819,
16,
425,
18,
588,
1085,
10663,
3639,
289,
7734,
17660,
5752,
21,
18,
76,
24214,
12,
382,
278,
1887,
18,
588,
2042,
2594,
10663,
7734,
17660,
5752,
21,
18,
4408,
12,
2704,
5267,
12,
15330,
21,
10019,
7734,
17660,
5752,
21,
18,
27176,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
44,
24214,
664,
5734,
475,
1435,
1216,
1185,
288,
3639,
4076,
694,
1211,
12,
81,
67,
3813,
1750,
1769,
3639,
18102,
5752,
17660,
5752,
21,
273,
394,
18102,
5752,
2932,
14260,
18,
20,
18,
20,
18,
21,
3113,
312,
67,
20278,
2223,
2617,
1769,
3639,
17660,
5752,
21,
18,
3190,
2617,
5621,
3639,
1815,
8867,
2932,
3645,
1459,
9830,
3113,
404,
16,
17660,
5752,
21,
18,
588,
1119,
10663,
3639,
368,
1158,
883,
1915,
16,
4671,
3639,
1815,
2041,
2932,
2135,
4791,
5079,
635,
4791,
1438,
3113,
312,
67,
4408,
2081,
18,
588,
3024,
6759,
10663,
3639,
514,
5793,
21,
273,
315,
4408,
67,
15330,
21,
36,
13014,
14432,
3639,
775,
288,
5411,
17660,
5752,
2
] |
if (this.bEnableWidths) { lblWidth.setEnabled(bState & bEnableUI); cmbWidth.setEnabled(bState & bEnableUI); | if ( this.bEnableWidths ) { lblWidth.setEnabled( bState & bEnableUI ); cmbWidth.setEnabled( bState & bEnableUI ); | public void setEnabled(boolean bState) { boolean bEnableUI = true; if (this.bEnableVisibility) { cbVisible.setEnabled(bState); bEnableUI = cbVisible.getSelection(); } if (this.bEnableStyles) { lblStyle.setEnabled(bState & bEnableUI); cmbStyle.setEnabled(bState & bEnableUI); } if (this.bEnableWidths) { lblWidth.setEnabled(bState & bEnableUI); cmbWidth.setEnabled(bState & bEnableUI); } if (this.bEnableColor) { lblColor.setEnabled(bState & bEnableUI); cmbColor.setEnabled(bState & bEnableUI); } this.bEnabled = bState; } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/c60a4815037b62e9358af2625eb6236e7c979d0f/LineAttributesComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/LineAttributesComposite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
12888,
12,
6494,
324,
1119,
13,
288,
202,
202,
6494,
324,
8317,
5370,
273,
638,
31,
202,
202,
430,
261,
2211,
18,
70,
8317,
10135,
13,
288,
1082,
202,
7358,
6207,
18,
542,
1526,
12,
70,
1119,
1769,
1082,
202,
70,
8317,
5370,
273,
2875,
6207,
18,
588,
6233,
5621,
202,
202,
97,
202,
202,
430,
261,
2211,
18,
70,
8317,
9725,
13,
288,
1082,
202,
31885,
2885,
18,
542,
1526,
12,
70,
1119,
473,
324,
8317,
5370,
1769,
1082,
202,
71,
1627,
2885,
18,
542,
1526,
12,
70,
1119,
473,
324,
8317,
5370,
1769,
202,
202,
97,
202,
202,
430,
261,
2211,
18,
70,
8317,
22407,
13,
288,
1082,
202,
31885,
2384,
18,
542,
1526,
12,
70,
1119,
473,
324,
8317,
5370,
1769,
1082,
202,
71,
1627,
2384,
18,
542,
1526,
12,
70,
1119,
473,
324,
8317,
5370,
1769,
202,
202,
97,
202,
202,
430,
261,
2211,
18,
70,
8317,
2957,
13,
288,
202,
202,
31885,
2957,
18,
542,
1526,
12,
70,
1119,
473,
324,
8317,
5370,
1769,
202,
202,
71,
1627,
2957,
18,
542,
1526,
12,
70,
1119,
473,
324,
8317,
5370,
1769,
202,
202,
97,
202,
202,
2211,
18,
70,
1526,
273,
324,
1119,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
12888,
12,
6494,
324,
1119,
13,
288,
202,
202,
6494,
324,
8317,
5370,
273,
638,
31,
202,
202,
430,
261,
2211,
18,
70,
8317,
10135,
13,
288,
1082,
202,
7358,
6207,
18,
542,
1526,
12,
70,
1119,
1769,
1082,
202,
70,
8317,
5370,
273,
2875,
6207,
18,
588,
6233,
5621,
202,
202,
97,
202,
202,
430,
261,
2211,
18,
70,
8317,
9725,
13,
288,
1082,
202,
31885,
2885,
18,
542,
1526,
12,
70,
1119,
473,
324,
8317,
5370,
1769,
1082,
202,
71,
1627,
2885,
18,
542,
1526,
12,
70,
1119,
473,
324,
8317,
5370,
1769,
202,
202,
97,
202,
202,
430,
261,
2211,
18,
70,
8317,
22407,
13,
288,
1082,
202,
31885,
2384,
18,
542,
2
] |
setMarginwidth(0); | private void evaluateExpressions() throws JspException { try { setAnchor((String) evalAttr("anchor", getAnchor(), String.class)); } catch (NullAttributeException ex) { setAnchor(null); } try { setForward((String) evalAttr("forward", getForward(), String.class)); } catch (NullAttributeException ex) { setForward(null); } try { setFrameborder((String) evalAttr("frameborder", getFrameborder(), String.class)); } catch (NullAttributeException ex) { setFrameborder(null); } try { setFrameName((String) evalAttr("frameName", getFrameName(), String.class)); } catch (NullAttributeException ex) { setFrameName(null); } try { setHref((String) evalAttr("href", getHref(), String.class)); } catch (NullAttributeException ex) { setHref(null); } try { setLongdesc((String) evalAttr("longdesc", getLongdesc(), String.class)); } catch (NullAttributeException ex) { setLongdesc(null); } try { setMarginheight(((Integer) evalAttr("marginheight", getMarginheightExpr(), Integer.class)). intValue()); } catch (NullAttributeException ex) { setMarginheight(0); } try { setMarginwidth(((Integer) evalAttr("marginwidth", getMarginwidthExpr(), Integer.class)). intValue()); } catch (NullAttributeException ex) { setMarginwidth(0); } try { setName((String) evalAttr("name", getName(), String.class)); } catch (NullAttributeException ex) { setName(null); } try { setNoresize(((Boolean) evalAttr("noresize", getNoresizeExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setNoresize(false); } try { setPage((String) evalAttr("page", getPage(), String.class)); } catch (NullAttributeException ex) { setPage(null); } try { setParamId((String) evalAttr("paramId", getParamId(), String.class)); } catch (NullAttributeException ex) { setParamId(null); } try { setParamName((String) evalAttr("paramName", getParamName(), String.class)); } catch (NullAttributeException ex) { setParamName(null); } try { setParamProperty((String) evalAttr("paramProperty", getParamProperty(), String.class)); } catch (NullAttributeException ex) { setParamProperty(null); } try { setParamScope((String) evalAttr("paramScope", getParamScope(), String.class)); } catch (NullAttributeException ex) { setParamScope(null); } try { setProperty((String) evalAttr("property", getProperty(), String.class)); } catch (NullAttributeException ex) { setProperty(null); } try { setScope((String) evalAttr("scope", getScope(), String.class)); } catch (NullAttributeException ex) { setScope(null); } try { setScrolling((String) evalAttr("scrolling", getScrolling(), String.class)); } catch (NullAttributeException ex) { setScrolling(null); } try { setStyle((String) evalAttr("style", getStyle(), String.class)); } catch (NullAttributeException ex) { setStyle(null); } try { setStyleClass((String) evalAttr("styleClass", getStyleClass(), String.class)); } catch (NullAttributeException ex) { setStyleClass(null); } try { setStyleId((String) evalAttr("styleId", getStyleId(), String.class)); } catch (NullAttributeException ex) { setStyleId(null); } try { setTitle((String) evalAttr("title", getTitle(), String.class)); } catch (NullAttributeException ex) { setTitle(null); } try { setTitleKey((String) evalAttr("titleKey", getTitleKey(), String.class)); } catch (NullAttributeException ex) { setTitleKey(null); } try { setTransaction(((Boolean) evalAttr("transaction", getTransactionExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setTransaction(false); } } | 48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/db064e19656421b94aaf753550935d95f44bd5f9/ELFrameTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELFrameTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
11605,
12443,
780,
13,
5302,
3843,
2932,
16215,
3113,
336,
11605,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
11605,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
8514,
12443,
780,
13,
5302,
3843,
2932,
11565,
3113,
336,
8514,
9334,
29159,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
8514,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
3219,
8815,
12443,
780,
13,
5302,
3843,
2932,
3789,
8815,
3113,
25396,
8815,
9334,
4766,
2398,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
3219,
8815,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
3219,
461,
12443,
780,
13,
5302,
3843,
2932,
3789,
461,
3113,
25396,
461,
9334,
4766,
6647,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
3219,
461,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
15962,
12443,
780,
13,
5302,
3843,
2932,
7547,
3113,
7628,
1734,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
15962,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
3708,
5569,
12443,
780,
13,
5302,
3843,
2932,
5748,
5569,
3113,
11105,
5569,
9334,
4766,
1850,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
11605,
12443,
780,
13,
5302,
3843,
2932,
16215,
3113,
336,
11605,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
11605,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
8514,
12443,
780,
13,
5302,
3843,
2932,
11565,
3113,
336,
8514,
9334,
29159,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
8514,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
3219,
8815,
12443,
780,
13,
5302,
3843,
2932,
3789,
8815,
3113,
25396,
8815,
9334,
4766,
2398,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
2
] | |
Collection<EvsResult> nameResult = vc.getNameResult(); | public ValidationItems validate() { module = new EvsModule(UserPreferences.getInstance().getPreTBox()?"PRE_NCI_Thesaurus":"NCI_Thesaurus"); List<Concept> concepts = ElementsLists.getInstance(). getElements(DomainObjectFactory.newConcept()); final ExecutorService executor = Executors.newFixedThreadPool(10); final BlockingQueue<Future> futures = new LinkedBlockingQueue<Future>(); final Map<Future,Concept> futureConceptMap = new HashMap<Future,Concept>(); for(final Concept concept : concepts) { Future<ValidatedConcept> future = executor.submit(new Callable<ValidatedConcept>() { public ValidatedConcept call() throws Exception { EvsResult result = module.findByConceptCode(concept.getPreferredName(), false); Collection<EvsResult> nameResult = module.findByPreferredName(concept.getLongName(), false); return new ValidatedConcept(concept, nameResult, result); } }); futures.add(future); futureConceptMap.put(future, concept); } int pStatus = 0; // wait for each future to complete for(Future<ValidatedConcept> future : futures) { final Concept con = futureConceptMap.get(future); if(progressListener != null) { ProgressEvent event = new ProgressEvent(); event.setMessage("Validating " + con.getLongName()); event.setStatus(pStatus++); progressListener.newProgressEvent(event); } ValidatedConcept vc = null; try { // block until the future is ready vc = future.get(); } catch (Exception e) { e.printStackTrace(); } EvsResult result = vc.getResult(); if(result != null) { if(con.getLongName() == null || !con.getLongName().equals(result.getConcept().getLongName())) { items.addItem(new ValidationError( PropertyAccessor.getProperty( "mismatch.name.by.code", con.getLongName()), new ConceptMismatchWrapper(1,result.getConcept(),con))); //highlightDifferentNameByCode.add(result.getConcept()); //errorList.put(con, result.getConcept()); } if(con.getPreferredDefinition() == null || !con.getPreferredDefinition().trim().equals( result.getConcept().getPreferredDefinition().trim())) { items.addItem(new MismatchDefByCodeError( PropertyAccessor.getProperty( "mismatch.def.by.code", con.getLongName()),new ConceptMismatchWrapper(2,result.getConcept(),con))); //highlightDifferentDefByCode.add(result.getConcept()); //errorList.put(con, result.getConcept()); } } Collection<EvsResult> nameResult = vc.getNameResult(); if(nameResult != null && nameResult.size() == 1) { for(EvsResult name : nameResult) { if(con.getPreferredName() == null || !con.getPreferredName().equals( name.getConcept().getPreferredName())) { items.addItem(new ValidationError( PropertyAccessor.getProperty( "mismatch.code.by.name", con.getLongName()), new ConceptMismatchWrapper(3,name.getConcept(),con))); //highlightDifferentCodeByName.add(name.getConcept()); //errorNameList.put(con, name.getConcept()); } if(con.getPreferredDefinition() == null || !con.getPreferredDefinition().trim().equals( name.getConcept().getPreferredDefinition().trim())) { items.addItem(new ValidationError( PropertyAccessor.getProperty( "mismatch.def.by.name", con.getLongName()), new ConceptMismatchWrapper(4,name.getConcept(),con))); //highlightDifferentDefByName.add(name.getConcept()); //errorNameList.put(con, name.getConcept()); } } } // a slight delay so that we can see the progress in the UI, since the // futures tend to complete in batches try { Thread.sleep(20); } catch (InterruptedException e) { e.printStackTrace(); } } return items; } | 55019 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55019/ffeeea09f111a2a8643fd34245a7b47244637a56/ConceptValidator.java/buggy/src/gov/nih/nci/ncicb/cadsr/loader/validator/ConceptValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5684,
3126,
1954,
1435,
288,
565,
1605,
273,
394,
512,
6904,
3120,
12,
1299,
12377,
18,
588,
1442,
7675,
588,
1386,
56,
3514,
1435,
7225,
3670,
67,
50,
7266,
67,
1315,
281,
28659,
407,
15563,
50,
7266,
67,
1315,
281,
28659,
407,
8863,
565,
987,
32,
15433,
34,
28415,
273,
17219,
7432,
18,
588,
1442,
7675,
5411,
8886,
12,
3748,
921,
1733,
18,
2704,
15433,
10663,
3639,
727,
27299,
6601,
273,
3889,
13595,
18,
2704,
7505,
20621,
12,
2163,
1769,
565,
727,
27551,
3183,
32,
4118,
34,
15583,
273,
394,
6546,
8728,
3183,
32,
4118,
34,
5621,
565,
727,
1635,
32,
4118,
16,
15433,
34,
3563,
15433,
863,
273,
394,
4317,
32,
4118,
16,
15433,
34,
5621,
3639,
364,
12,
6385,
27842,
12402,
294,
28415,
13,
377,
288,
1377,
9108,
32,
24258,
15433,
34,
3563,
273,
6601,
18,
9297,
12,
2704,
10464,
32,
24258,
15433,
34,
1435,
288,
1850,
1071,
2364,
690,
15433,
745,
1435,
1216,
1185,
288,
5411,
512,
6904,
1253,
563,
273,
1605,
18,
4720,
858,
15433,
1085,
12,
25770,
18,
588,
16028,
461,
9334,
629,
1769,
5411,
2200,
32,
41,
6904,
1253,
34,
508,
1253,
273,
1171,
1605,
18,
4720,
858,
16028,
461,
12,
25770,
18,
588,
3708,
461,
9334,
629,
1769,
5411,
327,
394,
2364,
690,
15433,
12,
25770,
16,
508,
1253,
16,
563,
1769,
1850,
289,
1377,
15549,
5411,
15583,
18,
1289,
12,
14343,
1769,
1377,
3563,
15433,
863,
18,
458,
12,
14343,
16,
12402,
1769,
565,
289,
565,
509,
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,
5684,
3126,
1954,
1435,
288,
565,
1605,
273,
394,
512,
6904,
3120,
12,
1299,
12377,
18,
588,
1442,
7675,
588,
1386,
56,
3514,
1435,
7225,
3670,
67,
50,
7266,
67,
1315,
281,
28659,
407,
15563,
50,
7266,
67,
1315,
281,
28659,
407,
8863,
565,
987,
32,
15433,
34,
28415,
273,
17219,
7432,
18,
588,
1442,
7675,
5411,
8886,
12,
3748,
921,
1733,
18,
2704,
15433,
10663,
3639,
727,
27299,
6601,
273,
3889,
13595,
18,
2704,
7505,
20621,
12,
2163,
1769,
565,
727,
27551,
3183,
32,
4118,
34,
15583,
273,
394,
6546,
8728,
3183,
32,
4118,
34,
5621,
565,
727,
1635,
32,
4118,
16,
15433,
34,
3563,
15433,
863,
273,
394,
4317,
32,
4118,
16,
15433,
34,
5621,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.