rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
sequencelengths 256
256
| attention_mask
sequencelengths 256
256
| labels
sequencelengths 128
128
|
---|---|---|---|---|---|---|
} }); break; case LENGTH_CHANGED: if (progressBar.isIndeterminate()) { progressBar.setIndeterminate(false); } SwingUtilities.invokeLater(new Runnable() { public void run() { progressBar.setMaximum(task.getLength()); } }); break; case STOPPED: afterStopped(); setVisible(false); dispose(); break; } } | }); break; case STOPPING: setVisible(false); dispose(); break; case STOPPED: afterStopped(value); break; } } } | public void update(Observable o, Object arg) { final ProgressBar pb = this; if (arg instanceof Task.Message) { Task.Message msg = (Task.Message)arg; logger.debug("Received message: "+msg); switch (msg) { case STARTING: SwingUtilities.invokeLater(new Runnable() { public void run() { setLocationRelativeTo(parent); setVisible(true); logger.debug("Progress bar visible"); } }); break; case POSITION_CHANGED: SwingUtilities.invokeLater(new Runnable() { public void run() { progressBar.setValue(task.getPosition()); } }); break; case MESSAGE_CHANGED: SwingUtilities.invokeLater(new Runnable() { public void run() { String text = task.getStatusMessage(); statusField.setText(text); progressBar.setString(text); int curWidth = statusField.getWidth(); if (text.length() > (curWidth/charSizeApprox)) { int newWidth = new Double(text.length()*charSizeApprox).intValue(); pb.setSize(pb.getWidth()+(newWidth-curWidth),pb.getHeight()); } } }); break; case LENGTH_CHANGED: if (progressBar.isIndeterminate()) { progressBar.setIndeterminate(false); } SwingUtilities.invokeLater(new Runnable() { public void run() { progressBar.setMaximum(task.getLength()); } }); break; case STOPPED: afterStopped(); setVisible(false); dispose(); break; } } if (arg instanceof Exception) { exceptionHandler((Exception)arg); } } | 57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/d31dbab586fd8bb367e8dc29ef0b94562105e331/ProgressBar.java/buggy/trunk/src/net/sf/plantlore/common/ProgressBar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1089,
12,
15279,
320,
16,
1033,
1501,
13,
288,
3639,
727,
27793,
6386,
273,
333,
31,
3639,
309,
261,
3175,
1276,
3837,
18,
1079,
13,
288,
5411,
3837,
18,
1079,
1234,
273,
261,
2174,
18,
1079,
13,
3175,
31,
5411,
1194,
18,
4148,
2932,
8872,
883,
30,
13773,
3576,
1769,
5411,
1620,
261,
3576,
13,
288,
7734,
648,
10485,
1360,
30,
10792,
26145,
11864,
18,
14407,
20607,
12,
2704,
10254,
1435,
288,
13491,
1071,
918,
1086,
1435,
288,
18701,
21751,
8574,
774,
12,
2938,
1769,
18701,
16697,
12,
3767,
1769,
18701,
1194,
18,
4148,
2932,
5491,
4653,
6021,
8863,
13491,
289,
10792,
15549,
10792,
898,
31,
7734,
648,
26808,
67,
24435,
30,
10792,
26145,
11864,
18,
14407,
20607,
12,
2704,
10254,
1435,
288,
13491,
1071,
918,
1086,
1435,
288,
18701,
29101,
18,
542,
620,
12,
4146,
18,
588,
2555,
10663,
13491,
289,
10792,
15549,
10792,
898,
31,
7734,
648,
9841,
67,
24435,
30,
10792,
26145,
11864,
18,
14407,
20607,
12,
2704,
10254,
1435,
288,
13491,
1071,
918,
1086,
1435,
288,
18701,
514,
977,
273,
1562,
18,
588,
1482,
1079,
5621,
18701,
1267,
974,
18,
542,
1528,
12,
955,
1769,
18701,
29101,
18,
542,
780,
12,
955,
1769,
18701,
509,
662,
2384,
273,
1267,
974,
18,
588,
2384,
5621,
18701,
309,
261,
955,
18,
2469,
1435,
405,
261,
1397,
2384,
19,
3001,
1225,
25789,
3719,
288,
27573,
509,
23542,
273,
394,
3698,
12,
955,
18,
2469,
1435,
14,
3001,
1225,
25789,
2934,
474,
620,
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,
1089,
12,
15279,
320,
16,
1033,
1501,
13,
288,
3639,
727,
27793,
6386,
273,
333,
31,
3639,
309,
261,
3175,
1276,
3837,
18,
1079,
13,
288,
5411,
3837,
18,
1079,
1234,
273,
261,
2174,
18,
1079,
13,
3175,
31,
5411,
1194,
18,
4148,
2932,
8872,
883,
30,
13773,
3576,
1769,
5411,
1620,
261,
3576,
13,
288,
7734,
648,
10485,
1360,
30,
10792,
26145,
11864,
18,
14407,
20607,
12,
2704,
10254,
1435,
288,
13491,
1071,
918,
1086,
1435,
288,
18701,
21751,
8574,
774,
12,
2938,
1769,
18701,
16697,
12,
3767,
1769,
18701,
1194,
18,
4148,
2932,
5491,
4653,
6021,
8863,
13491,
289,
10792,
15549,
10792,
898,
31,
7734,
648,
26808,
67,
24435,
30,
10792,
26145,
11864,
18,
2
] |
cfw.add(ByteCode.INVOKEVIRTUAL, | cfw.add(ByteCode.INVOKEINTERFACE, | private static void generateReturnResult(ClassFileWriter cfw, Class retType) { // wrap boolean values with java.lang.Boolean, convert all other // primitive values to java.lang.Double. if (retType.equals(Boolean.TYPE)) { cfw.add(ByteCode.INVOKESTATIC, "org/mozilla/javascript/Context", "toBoolean", "(Ljava/lang/Object;)", "Z"); cfw.add(ByteCode.IRETURN); } else if (retType.equals(Character.TYPE)) { // characters are represented as strings in JavaScript. // return the first character. // first convert the value to a string if possible. cfw.add(ByteCode.INVOKESTATIC, "org/mozilla/javascript/Context", "toString", "(Ljava/lang/Object;)", "Ljava/lang/String;"); cfw.add(ByteCode.ICONST_0); cfw.add(ByteCode.INVOKEVIRTUAL, "java/lang/String", "charAt", "(I)", "C"); cfw.add(ByteCode.IRETURN); } else if (retType.isPrimitive()) { cfw.add(ByteCode.INVOKESTATIC, "org/mozilla/javascript/Context", "toNumber", "(Ljava/lang/Object;)", "D"); String typeName = retType.getName(); switch (typeName.charAt(0)) { case 'b': case 's': case 'i': cfw.add(ByteCode.D2I); cfw.add(ByteCode.IRETURN); break; case 'l': cfw.add(ByteCode.D2L); cfw.add(ByteCode.LRETURN); break; case 'f': cfw.add(ByteCode.D2F); cfw.add(ByteCode.FRETURN); break; case 'd': cfw.add(ByteCode.DRETURN); break; default: throw new RuntimeException("Unexpected return type " + retType.toString()); } } else if (retType.equals(String.class)) { cfw.add(ByteCode.INVOKESTATIC, "org/mozilla/javascript/Context", "toString", "(Ljava/lang/Object;)", "Ljava/lang/String;"); cfw.add(ByteCode.ARETURN); } else if (retType.equals(Scriptable.class)) { cfw.add(ByteCode.ALOAD_0); // load 'this' to find scope from cfw.add(ByteCode.INVOKESTATIC, "org/mozilla/javascript/Context", "toObject", "(Ljava/lang/Object;" + "Lorg/mozilla/javascript/Scriptable;)", "Lorg/mozilla/javascript/Scriptable;"); cfw.add(ByteCode.ARETURN); } else { // If it is a wrapped type, cast to Wrapper and call unwrap() cfw.add(ByteCode.DUP); cfw.add(ByteCode.INSTANCEOF, "org/mozilla/javascript/Wrapper"); // skip 3 for IFEQ, 3 for CHECKCAST, and 3 for INVOKEVIRTUAL cfw.add(ByteCode.IFEQ, 9); cfw.add(ByteCode.CHECKCAST, "org/mozilla/javascript/Wrapper"); cfw.add(ByteCode.INVOKEVIRTUAL, "org/mozilla/javascript/Wrapper", "unwrap", "()", "Ljava/lang/Object;"); // Now cast to return type String retTypeStr = retType.getName().replace('.', '/'); cfw.add(ByteCode.CHECKCAST, retTypeStr); cfw.add(ByteCode.ARETURN); } } | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/1057414fef7dea2519e65ecdda7e454a93a53478/JavaAdapter.java/clean/js/rhino/src/org/mozilla/javascript/JavaAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
2103,
990,
1253,
12,
797,
812,
2289,
6080,
91,
16,
4766,
2868,
1659,
325,
559,
13,
377,
288,
3639,
368,
2193,
1250,
924,
598,
2252,
18,
4936,
18,
5507,
16,
1765,
777,
1308,
540,
368,
8225,
924,
358,
2252,
18,
4936,
18,
5265,
18,
3639,
309,
261,
1349,
559,
18,
14963,
12,
5507,
18,
2399,
3719,
288,
5411,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
706,
17691,
11027,
11781,
16,
5397,
315,
3341,
19,
8683,
15990,
19,
11242,
19,
1042,
3113,
5397,
315,
869,
5507,
3113,
7751,
21159,
19,
4936,
19,
921,
31,
2225,
16,
5397,
315,
62,
8863,
5411,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
45,
14033,
1769,
3639,
289,
469,
309,
261,
1349,
559,
18,
14963,
12,
7069,
18,
2399,
3719,
288,
7734,
368,
3949,
854,
10584,
487,
2064,
316,
11905,
18,
1171,
368,
327,
326,
1122,
3351,
18,
7734,
368,
1122,
1765,
326,
460,
358,
279,
533,
309,
3323,
18,
7734,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
706,
17691,
11027,
11781,
16,
7682,
315,
3341,
19,
8683,
15990,
19,
11242,
19,
1042,
3113,
7682,
315,
10492,
3113,
7751,
21159,
19,
4936,
19,
921,
31,
2225,
16,
7682,
315,
21159,
19,
4936,
19,
780,
4868,
1769,
7734,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
21745,
882,
67,
20,
1769,
7734,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
706,
17691,
41,
18865,
16,
315,
6290,
19,
4936,
19,
780,
3113,
315,
3001,
861,
3113,
7682,
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,
760,
918,
2103,
990,
1253,
12,
797,
812,
2289,
6080,
91,
16,
4766,
2868,
1659,
325,
559,
13,
377,
288,
3639,
368,
2193,
1250,
924,
598,
2252,
18,
4936,
18,
5507,
16,
1765,
777,
1308,
540,
368,
8225,
924,
358,
2252,
18,
4936,
18,
5265,
18,
3639,
309,
261,
1349,
559,
18,
14963,
12,
5507,
18,
2399,
3719,
288,
5411,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
706,
17691,
11027,
11781,
16,
5397,
315,
3341,
19,
8683,
15990,
19,
11242,
19,
1042,
3113,
5397,
315,
869,
5507,
3113,
7751,
21159,
19,
4936,
19,
921,
31,
2225,
16,
5397,
315,
62,
8863,
5411,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
45,
14033,
1769,
3639,
289,
469,
2
] |
return new ClasspathDomain(bundlefile.getBaseFile().toURL(), permissions); | Certificate[] certs = null; if (bundlefile instanceof CertificateVerifier) { CertificateChain[] chains = ((CertificateVerifier) bundlefile).getChains(); certs = chains == null || chains.length == 0 ? null : chains[0].getCertificates(); } return new ProtectionDomain(new CodeSource(bundlefile.getBaseFile().toURL(), certs), permissions); | public static ProtectionDomain createProtectionDomain(BundleFile bundlefile, ProtectionDomain baseDomain) { // create a protection domain which knows about the codesource for this classpath entry (bug 89904) try { // use the permissions supplied by the domain passed in from the framework PermissionCollection permissions; if (baseDomain != null) permissions = baseDomain.getPermissions(); else // no domain specified. Better use a collection that has all permissions // this is done just incase someone sets the security manager later permissions = ALLPERMISSIONS; return new ClasspathDomain(bundlefile.getBaseFile().toURL(), permissions); } catch (MalformedURLException e) { // Failed to create our own domain; just return the baseDomain return baseDomain; } } | 2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/c2efbe45e2731ee8183cd576d15061657911b102/DefaultClassLoader.java/buggy/bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1186,
9694,
3748,
752,
16938,
3748,
12,
3405,
812,
3440,
768,
16,
1186,
9694,
3748,
1026,
3748,
13,
288,
202,
202,
759,
752,
279,
17862,
2461,
1492,
21739,
2973,
326,
6198,
552,
364,
333,
10006,
1241,
261,
925,
1725,
2733,
3028,
13,
202,
202,
698,
288,
1082,
202,
759,
999,
326,
4371,
4580,
635,
326,
2461,
2275,
316,
628,
326,
8257,
1082,
202,
5041,
2532,
4371,
31,
1082,
202,
430,
261,
1969,
3748,
480,
446,
13,
9506,
202,
9612,
273,
1026,
3748,
18,
588,
6521,
5621,
1082,
202,
12107,
9506,
202,
759,
1158,
2461,
1269,
18,
225,
605,
11214,
999,
279,
1849,
716,
711,
777,
4371,
9506,
202,
759,
333,
353,
2731,
2537,
316,
3593,
18626,
1678,
326,
4373,
3301,
5137,
9506,
202,
9612,
273,
8061,
23330,
55,
31,
1082,
202,
2463,
394,
1659,
803,
3748,
12,
9991,
768,
18,
588,
2171,
812,
7675,
869,
1785,
9334,
4371,
1769,
202,
202,
97,
1044,
261,
18695,
20160,
425,
13,
288,
1082,
202,
759,
11175,
358,
752,
3134,
4953,
2461,
31,
2537,
327,
326,
1026,
3748,
1082,
202,
2463,
1026,
3748,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1186,
9694,
3748,
752,
16938,
3748,
12,
3405,
812,
3440,
768,
16,
1186,
9694,
3748,
1026,
3748,
13,
288,
202,
202,
759,
752,
279,
17862,
2461,
1492,
21739,
2973,
326,
6198,
552,
364,
333,
10006,
1241,
261,
925,
1725,
2733,
3028,
13,
202,
202,
698,
288,
1082,
202,
759,
999,
326,
4371,
4580,
635,
326,
2461,
2275,
316,
628,
326,
8257,
1082,
202,
5041,
2532,
4371,
31,
1082,
202,
430,
261,
1969,
3748,
480,
446,
13,
9506,
202,
9612,
273,
1026,
3748,
18,
588,
6521,
5621,
1082,
202,
12107,
9506,
202,
759,
1158,
2461,
1269,
18,
225,
605,
11214,
999,
279,
1849,
716,
711,
777,
4371,
9506,
202,
759,
333,
353,
2731,
2537,
316,
3593,
2
] |
vSubTypes.add( new DefaultChartSubTypeImpl( Messages.getString("AreaChart.Tooltip.Stacked"), imgStackedWithDepth, sStackedDescription ) ); | vSubTypes.add( new DefaultChartSubTypeImpl( STACKED_SUBTYPE_LITERAL , imgStackedWithDepth, sStackedDescription ) ); | public Collection getChartSubtypes( String sDimension, Orientation orientation ) { Vector vSubTypes = new Vector( ); if ( sDimension.equals( TWO_DIMENSION_TYPE ) || sDimension.equals( ChartDimension.TWO_DIMENSIONAL_LITERAL.getName( ) ) ) { if ( orientation.equals( Orientation.VERTICAL_LITERAL ) ) { imgStacked = UIHelper.getImage( "icons/wizban/stackedareachartimage.gif" ); //$NON-NLS-1$ imgPercentStacked = UIHelper.getImage( "icons/wizban/percentstackedareachartimage.gif" ); //$NON-NLS-1$ imgSideBySide = UIHelper.getImage( "icons/wizban/sidebysideareachartimage.gif" ); //$NON-NLS-1$ } else { imgStacked = UIHelper.getImage( "icons/wizban/horizontalstackedareachartimage.gif" ); //$NON-NLS-1$ imgPercentStacked = UIHelper.getImage( "icons/wizban/horizontalpercentstackedareachartimage.gif" ); //$NON-NLS-1$ imgSideBySide = UIHelper.getImage( "icons/wizban/horizontalsidebysideareachartimage.gif" ); //$NON-NLS-1$ } vSubTypes.add( new DefaultChartSubTypeImpl( Messages.getString("AreaChart.Tooltip.Stacked"), imgStacked, sStackedDescription ) ); //$NON-NLS-1$ vSubTypes.add( new DefaultChartSubTypeImpl( Messages.getString("AreaChart.Tooltip.PercentStacked"), imgPercentStacked, sPercentStackedDescription ) ); //$NON-NLS-1$ vSubTypes.add( new DefaultChartSubTypeImpl( Messages.getString("AreaChart.Tooltip.Overlay"), imgSideBySide, sOverlayDescription ) ); //$NON-NLS-1$ } else if ( sDimension.equals( TWO_DIMENSION_WITH_DEPTH_TYPE ) || sDimension.equals( ChartDimension.TWO_DIMENSIONAL_WITH_DEPTH_LITERAL.getName( ) ) ) { if ( orientation.equals( Orientation.VERTICAL_LITERAL ) ) { imgStackedWithDepth = UIHelper.getImage( "icons/wizban/stackedareachartwithdepthimage.gif" ); //$NON-NLS-1$ } else { imgStackedWithDepth = UIHelper.getImage( "icons/wizban/horizontalstackedareachartwithdepthimage.gif" ); //$NON-NLS-1$ } vSubTypes.add( new DefaultChartSubTypeImpl( Messages.getString("AreaChart.Tooltip.Stacked"), imgStackedWithDepth, sStackedDescription ) ); //$NON-NLS-1$ } else if ( sDimension.equals( THREE_DIMENSION_TYPE ) || sDimension.equals( ChartDimension.THREE_DIMENSIONAL_LITERAL.getName( ) ) ) { imgSideBySide3D = UIHelper.getImage( "icons/wizban/sidebysideareachart3dimage.gif" ); //$NON-NLS-1$ vSubTypes.add( new DefaultChartSubTypeImpl( Messages.getString("AreaChart.Tooltip.Overlay"), imgSideBySide3D, sOverlayDescription ) ); //$NON-NLS-1$ } return vSubTypes; } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/ae5c99c975d28a2277f3b75baa2207ddf1c0d0ae/AreaChart.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/AreaChart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2200,
336,
7984,
1676,
2352,
12,
514,
272,
8611,
16,
1082,
202,
14097,
9820,
262,
202,
95,
202,
202,
5018,
331,
1676,
2016,
273,
394,
5589,
12,
11272,
202,
202,
430,
261,
272,
8611,
18,
14963,
12,
24722,
51,
67,
2565,
958,
3156,
1146,
67,
2399,
262,
9506,
202,
20081,
272,
8611,
18,
14963,
12,
14804,
8611,
18,
18869,
51,
67,
2565,
958,
3156,
1146,
1013,
67,
23225,
18,
17994,
12,
262,
262,
262,
202,
202,
95,
1082,
202,
430,
261,
9820,
18,
14963,
12,
531,
12556,
18,
21654,
10109,
67,
23225,
262,
262,
1082,
202,
95,
9506,
202,
6081,
2624,
329,
273,
6484,
2276,
18,
588,
2040,
12,
315,
14516,
19,
91,
452,
21515,
19,
3772,
329,
834,
497,
485,
2730,
18,
13905,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
6081,
8410,
2624,
329,
273,
6484,
2276,
18,
588,
2040,
12,
315,
14516,
19,
91,
452,
21515,
19,
8849,
3772,
329,
834,
497,
485,
2730,
18,
13905,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
6081,
8895,
858,
8895,
273,
6484,
2276,
18,
588,
2040,
12,
315,
14516,
19,
91,
452,
21515,
19,
5564,
1637,
5564,
834,
497,
485,
2730,
18,
13905,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
1082,
202,
12107,
1082,
202,
95,
9506,
202,
6081,
2624,
329,
273,
6484,
2276,
18,
588,
2040,
12,
315,
14516,
19,
91,
452,
21515,
19,
18396,
3772,
329,
834,
497,
485,
2730,
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,
2200,
336,
7984,
1676,
2352,
12,
514,
272,
8611,
16,
1082,
202,
14097,
9820,
262,
202,
95,
202,
202,
5018,
331,
1676,
2016,
273,
394,
5589,
12,
11272,
202,
202,
430,
261,
272,
8611,
18,
14963,
12,
24722,
51,
67,
2565,
958,
3156,
1146,
67,
2399,
262,
9506,
202,
20081,
272,
8611,
18,
14963,
12,
14804,
8611,
18,
18869,
51,
67,
2565,
958,
3156,
1146,
1013,
67,
23225,
18,
17994,
12,
262,
262,
262,
202,
202,
95,
1082,
202,
430,
261,
9820,
18,
14963,
12,
531,
12556,
18,
21654,
10109,
67,
23225,
262,
262,
1082,
202,
95,
9506,
202,
6081,
2624,
329,
273,
6484,
2276,
18,
588,
2040,
12,
315,
14516,
19,
91,
452,
21515,
19,
2
] |
NNTPGroup group = null; | private void doLISTGROUP(String groupName) { // 9.5.1.1.1 NNTPGroup group = null; if (groupName==null) { if ( group == null ) writer.println("412 not currently in newsgroup"); } else { group = repo.getGroup(groupName); if ( group == null ) writer.println("411 no such newsgroup"); } if ( group != null ) { writer.println("211 list of article numbers follow"); for (Iterator iter = group.getArticles();iter.hasNext();) { NNTPArticle article = (NNTPArticle)iter.next(); writer.println(article.getArticleNumber()); } writer.println("."); this.group = group; group.setCurrentArticleNumber(group.getFirstArticleNumber()); } } | 47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/cc100f37ee536c71759c5c9fd585b8437c35e0e2/NNTPHandler.java/buggy/src/java/org/apache/james/nntpserver/NNTPHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
741,
7085,
8468,
12,
780,
11619,
13,
288,
3639,
368,
2468,
18,
25,
18,
21,
18,
21,
18,
21,
9079,
309,
261,
1655,
461,
631,
2011,
13,
288,
5411,
309,
261,
1041,
422,
446,
262,
7734,
2633,
18,
8222,
2932,
24,
2138,
486,
4551,
316,
394,
1055,
656,
8863,
3639,
289,
3639,
469,
288,
5411,
1041,
273,
3538,
18,
588,
1114,
12,
1655,
461,
1769,
5411,
309,
261,
1041,
422,
446,
262,
7734,
2633,
18,
8222,
2932,
24,
2499,
1158,
4123,
394,
1055,
656,
8863,
3639,
289,
3639,
309,
261,
1041,
480,
446,
262,
288,
5411,
2633,
18,
8222,
2932,
22,
2499,
666,
434,
7559,
5600,
2805,
8863,
5411,
364,
261,
3198,
1400,
273,
1041,
18,
588,
19001,
5621,
2165,
18,
5332,
2134,
5621,
13,
288,
7734,
423,
1784,
52,
7880,
7559,
273,
261,
50,
1784,
52,
7880,
13,
2165,
18,
4285,
5621,
7734,
2633,
18,
8222,
12,
11480,
18,
588,
7880,
1854,
10663,
5411,
289,
5411,
2633,
18,
8222,
2932,
1199,
1769,
5411,
333,
18,
1655,
273,
1041,
31,
5411,
1041,
18,
542,
3935,
7880,
1854,
12,
1655,
18,
588,
3759,
7880,
1854,
10663,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
741,
7085,
8468,
12,
780,
11619,
13,
288,
3639,
368,
2468,
18,
25,
18,
21,
18,
21,
18,
21,
9079,
309,
261,
1655,
461,
631,
2011,
13,
288,
5411,
309,
261,
1041,
422,
446,
262,
7734,
2633,
18,
8222,
2932,
24,
2138,
486,
4551,
316,
394,
1055,
656,
8863,
3639,
289,
3639,
469,
288,
5411,
1041,
273,
3538,
18,
588,
1114,
12,
1655,
461,
1769,
5411,
309,
261,
1041,
422,
446,
262,
7734,
2633,
18,
8222,
2932,
24,
2499,
1158,
4123,
394,
1055,
656,
8863,
3639,
289,
3639,
309,
261,
1041,
480,
446,
262,
288,
5411,
2633,
18,
8222,
2932,
22,
2499,
666,
434,
7559,
5600,
2805,
8863,
5411,
364,
261,
3198,
1400,
273,
1041,
18,
2
] |
|
public Map getParamValues() { | public Map getParamValues() { | public Map getParamValues() { return wcontext().getParamValues(); } | 48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/ef68ef66f0feb3bc08bb217fe9abcd99045ef301/WebActionContext.java/buggy/src/share/org/apache/struts/chain/contexts/WebActionContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1635,
9027,
1972,
1435,
565,
288,
3639,
327,
341,
2472,
7675,
588,
786,
1972,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1635,
9027,
1972,
1435,
565,
288,
3639,
327,
341,
2472,
7675,
588,
786,
1972,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
getNotifications().add(not); | notifications.add(not); | protected void disAssociateSource(String qualifiedName) { Notification not = getAdapterFactory().disAssociateSource(qualifiedName, false); if (not != null) getNotifications().add(not); } | 8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/7d45e9b1762d7b0eed96f268aa7abdf4720a51f6/JavaReflectionSynchronizer.java/buggy/plugins/org.eclipse.jem.workbench/workbench/org/eclipse/jem/internal/adapters/jdom/JavaReflectionSynchronizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1015,
23880,
1830,
12,
780,
24133,
13,
288,
202,
202,
4386,
486,
273,
16679,
1733,
7675,
2251,
23880,
1830,
12,
19724,
461,
16,
629,
1769,
202,
202,
430,
261,
902,
480,
446,
13,
1082,
202,
588,
14111,
7675,
1289,
12,
902,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1015,
23880,
1830,
12,
780,
24133,
13,
288,
202,
202,
4386,
486,
273,
16679,
1733,
7675,
2251,
23880,
1830,
12,
19724,
461,
16,
629,
1769,
202,
202,
430,
261,
902,
480,
446,
13,
1082,
202,
588,
14111,
7675,
1289,
12,
902,
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
] |
return Sequence.EMPTY_SEQUENCE; Sequence returnSeq = returnExpr.eval(docs, filtered, null); | return Sequence.EMPTY_SEQUENCE; Sequence returnSeq = null; if(orderSpecs == null) returnSeq = returnExpr.eval(docs, filtered, null); else { if(filtered != null) val = filtered; OrderedValueSequence ordered = new OrderedValueSequence(docs, orderSpecs, val.getLength()); ordered.addAll(val); returnSeq = returnExpr.eval(docs, ordered, null); } | public Sequence eval( DocumentSet docs, Sequence contextSequence, Item contextItem) throws XPathException { context.pushLocalContext(false); Variable var = new Variable(QName.parse(context, varName)); context.declareVariable(var); Sequence val = inputSequence.eval(docs, null, null); var.setValue(val); Sequence filtered = null; if(whereExpr != null) filtered = applyWhereExpression(context, docs, null); if(whereExpr != null && filtered.getLength() == 0) return Sequence.EMPTY_SEQUENCE; Sequence returnSeq = returnExpr.eval(docs, filtered, null); context.popLocalContext(); return returnSeq; } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/26f1996e17197f1d48e2c24034fa91c7c8b22ecd/LetExpr.java/buggy/src/org/exist/xpath/LetExpr.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8370,
5302,
12,
202,
202,
2519,
694,
3270,
16,
202,
202,
4021,
819,
4021,
16,
202,
202,
1180,
819,
1180,
13,
202,
202,
15069,
10172,
503,
288,
202,
202,
2472,
18,
6206,
2042,
1042,
12,
5743,
1769,
202,
202,
3092,
569,
273,
394,
7110,
12,
13688,
18,
2670,
12,
2472,
16,
13722,
10019,
202,
202,
2472,
18,
29554,
3092,
12,
1401,
1769,
202,
202,
4021,
1244,
273,
810,
4021,
18,
8622,
12,
8532,
16,
446,
16,
446,
1769,
202,
202,
1401,
18,
542,
620,
12,
1125,
1769,
9506,
202,
4021,
5105,
273,
446,
31,
202,
202,
430,
12,
6051,
4742,
480,
446,
13,
1082,
202,
12071,
273,
2230,
5262,
2300,
12,
2472,
16,
3270,
16,
446,
1769,
202,
202,
430,
12,
6051,
4742,
480,
446,
597,
5105,
18,
588,
1782,
1435,
422,
374,
13,
1082,
202,
2463,
8370,
18,
13625,
67,
25330,
31,
3196,
202,
4021,
327,
6926,
273,
327,
4742,
18,
8622,
12,
8532,
16,
5105,
16,
446,
1769,
202,
202,
2472,
18,
5120,
2042,
1042,
5621,
202,
202,
2463,
327,
6926,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8370,
5302,
12,
202,
202,
2519,
694,
3270,
16,
202,
202,
4021,
819,
4021,
16,
202,
202,
1180,
819,
1180,
13,
202,
202,
15069,
10172,
503,
288,
202,
202,
2472,
18,
6206,
2042,
1042,
12,
5743,
1769,
202,
202,
3092,
569,
273,
394,
7110,
12,
13688,
18,
2670,
12,
2472,
16,
13722,
10019,
202,
202,
2472,
18,
29554,
3092,
12,
1401,
1769,
202,
202,
4021,
1244,
273,
810,
4021,
18,
8622,
12,
8532,
16,
446,
16,
446,
1769,
202,
202,
1401,
18,
542,
620,
12,
1125,
1769,
9506,
202,
4021,
5105,
273,
446,
31,
202,
202,
430,
12,
6051,
4742,
480,
446,
13,
1082,
202,
12071,
273,
2230,
5262,
2300,
12,
2472,
16,
3270,
16,
446,
2
] |
public Trimmer(jq_Method method, Set initialClassSet) { this(initialClassSet); | public Trimmer(jq_Method method, Set initialClassSet, boolean addall) { this(initialClassSet, addall); | public Trimmer(jq_Method method, Set initialClassSet) { this(initialClassSet); addToWorklist(method); } | 3029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3029/8c36dff7220601bf5c27db768e12a5d33d5533b9/Trimmer.java/buggy/joeq_native/joeq/Compiler/BytecodeAnalysis/Trimmer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7105,
6592,
12,
78,
85,
67,
1305,
707,
16,
1000,
2172,
797,
694,
13,
288,
3639,
333,
12,
6769,
797,
694,
1769,
3639,
9604,
2421,
1098,
12,
2039,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7105,
6592,
12,
78,
85,
67,
1305,
707,
16,
1000,
2172,
797,
694,
13,
288,
3639,
333,
12,
6769,
797,
694,
1769,
3639,
9604,
2421,
1098,
12,
2039,
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
] |
private static boolean queryAdjacency(IBond a1, IBond b1, IBond a2, IBond b2) { IAtom atom1 = null; IAtom atom2 = null; if (a1.contains(b1.getAtomAt(0))) { atom1 = b1.getAtomAt(0); } else if (a1.contains(b1.getAtomAt(1))) { atom1 = b1.getAtomAt(1); } if (a2.contains(b2.getAtomAt(0))) { atom2 = b2.getAtomAt(0); } else if (a2.contains(b2.getAtomAt(1))) { atom2 = b2.getAtomAt(1); } if (atom1 != null && atom2 != null){ return ((IQueryAtom)atom2).matches(atom1); } else if (atom1 == null && atom2 == null) { return true; } else { return false; } } | 46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/56c201de67d3ab0b41150bdf3c9bae4980107820/UniversalIsomorphismTester.java/clean/src/org/openscience/cdk/isomorphism/UniversalIsomorphismTester.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
1250,
843,
17886,
1077,
2075,
12,
45,
9807,
279,
21,
16,
16178,
324,
21,
16,
16178,
279,
22,
16,
16178,
324,
22,
13,
288,
4202,
202,
225,
8831,
3179,
21,
273,
446,
31,
202,
225,
8831,
3179,
22,
273,
446,
31,
5411,
309,
261,
69,
21,
18,
12298,
12,
70,
21,
18,
588,
3641,
861,
12,
20,
20349,
288,
1850,
3179,
21,
273,
324,
21,
18,
588,
3641,
861,
12,
20,
1769,
1377,
289,
469,
309,
261,
69,
21,
18,
12298,
12,
70,
21,
18,
588,
3641,
861,
12,
21,
20349,
288,
1850,
3179,
21,
273,
324,
21,
18,
588,
3641,
861,
12,
21,
1769,
1377,
289,
5411,
309,
261,
69,
22,
18,
12298,
12,
70,
22,
18,
588,
3641,
861,
12,
20,
20349,
288,
1850,
3179,
22,
273,
324,
22,
18,
588,
3641,
861,
12,
20,
1769,
1377,
289,
469,
309,
261,
69,
22,
18,
12298,
12,
70,
22,
18,
588,
3641,
861,
12,
21,
20349,
288,
1850,
3179,
22,
273,
324,
22,
18,
588,
3641,
861,
12,
21,
1769,
1377,
289,
5411,
309,
261,
7466,
21,
480,
446,
597,
3179,
22,
480,
446,
15329,
1850,
327,
14015,
45,
1138,
3641,
13,
7466,
22,
2934,
8436,
12,
7466,
21,
1769,
1377,
289,
469,
309,
261,
7466,
21,
422,
446,
597,
3179,
22,
422,
446,
13,
288,
202,
1377,
327,
638,
31,
1377,
289,
469,
288,
202,
1377,
327,
629,
31,
1377,
289,
3639,
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,
282,
3238,
760,
1250,
843,
17886,
1077,
2075,
12,
45,
9807,
279,
21,
16,
16178,
324,
21,
16,
16178,
279,
22,
16,
16178,
324,
22,
13,
288,
4202,
202,
225,
8831,
3179,
21,
273,
446,
31,
202,
225,
8831,
3179,
22,
273,
446,
31,
5411,
309,
261,
69,
21,
18,
12298,
12,
70,
21,
18,
588,
3641,
861,
12,
20,
20349,
288,
1850,
3179,
21,
273,
324,
21,
18,
588,
3641,
861,
12,
20,
1769,
1377,
289,
469,
309,
261,
69,
21,
18,
12298,
12,
70,
21,
18,
588,
3641,
861,
12,
21,
20349,
288,
1850,
3179,
21,
273,
324,
21,
18,
588,
3641,
861,
12,
21,
1769,
1377,
289,
5411,
309,
261,
69,
22,
18,
12298,
12,
70,
2
] |
||
protected void unpackProperties(Properties info) throws SQLException { serverName = info.getProperty(Messages.get(Driver.SERVERNAME)); portNumber = parseIntegerProperty(info, Driver.PORTNUMBER); serverType = parseIntegerProperty(info, Driver.SERVERTYPE); databaseName = info.getProperty(Messages.get(Driver.DATABASENAME)); instanceName = info.getProperty(Messages.get(Driver.INSTANCE)); domainName = info.getProperty(Messages.get(Driver.DOMAIN)); user = info.getProperty(Messages.get(Driver.USER)); password = info.getProperty(Messages.get(Driver.PASSWORD)); macAddress = info.getProperty(Messages.get(Driver.MACADDRESS)); appName = info.getProperty(Messages.get(Driver.APPNAME)); progName = info.getProperty(Messages.get(Driver.PROGNAME)); serverCharset = info.getProperty(Messages.get(Driver.CHARSET)); language = info.getProperty(Messages.get(Driver.LANGUAGE)); prepareSql = parseIntegerProperty(info, Driver.PREPARESQL); lastUpdateCount = "true".equalsIgnoreCase( info.getProperty(Messages.get(Driver.LASTUPDATECOUNT))); useUnicode = "true".equalsIgnoreCase( info.getProperty(Messages.get(Driver.SENDSTRINGPARAMETERSASUNICODE))); namedPipe = "true".equalsIgnoreCase( info.getProperty(Messages.get(Driver.NAMEDPIPE))); tcpNoDelay = "true".equalsIgnoreCase( info.getProperty(Messages.get(Driver.TCPNODELAY))); xaEmulation = "true".equalsIgnoreCase( info.getProperty(Messages.get(Driver.XAEMULATION))); charsetSpecified = serverCharset.length() > 0; // Don't default serverCharset at this point; if none specified, // initialize to an empty String & discover value later// if (!charsetSpecified) {// serverCharset = "";// } Integer parsedTdsVersion = DefaultProperties.getTdsVersion(info.getProperty(Messages.get(Driver.TDS))); if (parsedTdsVersion == null) { throw new SQLException( Messages.get("error.connection.badprop", Messages.get(Driver.TDS)), "08001"); } tdsVersion = parsedTdsVersion.intValue(); packetSize = parseIntegerProperty(info, Driver.PACKETSIZE); if (packetSize < TdsCore.MIN_PKT_SIZE) { if (tdsVersion >= Driver.TDS70) { // Default of 0 means let the server specify packet size packetSize = (packetSize == 0) ? 0 : TdsCore.DEFAULT_MIN_PKT_SIZE_TDS70; } else { // Sensible minimum for all other versions of TDS packetSize = TdsCore.MIN_PKT_SIZE; } } if (packetSize > TdsCore.MAX_PKT_SIZE) { packetSize = TdsCore.MAX_PKT_SIZE; } packetSize = (packetSize / 512) * 512; loginTimeout = parseIntegerProperty(info, Driver.LOGINTIMEOUT); lobBuffer = parseLongProperty(info, Driver.LOBBUFFER); maxStatements = parseIntegerProperty(info, Driver.MAXSTATEMENTS); if (maxStatements <= 0) { statementCache = new NonCachingStatementCache(); } else if (maxStatements == Integer.MAX_VALUE) { statementCache = new FastStatementCache(); } else { statementCache = new DefaultStatementCache(maxStatements); } // The TdsCore.PREPEXEC method is only available with TDS 8.0+ (SQL // Server 2000+); downgrade to TdsCore.PREPARE if an invalid option // is selected. if (tdsVersion < Driver.TDS80 && prepareSql == TdsCore.PREPEXEC) { prepareSql = TdsCore.PREPARE; } // For SQL Server 6.5, only sp_executesql is available. if (tdsVersion < Driver.TDS70 && prepareSql == TdsCore.PREPARE) { prepareSql = TdsCore.EXECUTE_SQL; } } | 5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/202aea0df8a603f59ffa790b51f5ca8bc3a6d41a/ConnectionJDBC2.java/buggy/src/main/net/sourceforge/jtds/jdbc/ConnectionJDBC2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
6167,
2297,
12,
2297,
1123,
13,
15069,
6483,
288,
225,
10926,
273,
1123,
18,
588,
1396,
12,
5058,
18,
588,
12,
4668,
18,
4370,
1985,
10019,
225,
1756,
1854,
273,
1109,
4522,
1396,
12,
1376,
16,
9396,
18,
6354,
9931,
1769,
225,
1438,
559,
273,
1109,
4522,
1396,
12,
1376,
16,
9396,
18,
4370,
2399,
1769,
225,
15165,
273,
1123,
18,
588,
1396,
12,
5058,
18,
588,
12,
4668,
18,
22366,
1985,
10019,
225,
21090,
273,
1123,
18,
588,
1396,
12,
5058,
18,
588,
12,
4668,
18,
13341,
10019,
225,
21044,
273,
1123,
18,
588,
1396,
12,
5058,
18,
588,
12,
4668,
18,
18192,
10019,
225,
729,
273,
1123,
18,
588,
1396,
12,
5058,
18,
588,
12,
4668,
18,
4714,
10019,
225,
2201,
273,
1123,
18,
588,
1396,
12,
5058,
18,
588,
12,
4668,
18,
13784,
10019,
225,
5318,
1887,
273,
1123,
18,
588,
1396,
12,
5058,
18,
588,
12,
4668,
18,
10875,
15140,
10019,
225,
10236,
273,
1123,
18,
588,
1396,
12,
5058,
18,
588,
12,
4668,
18,
7215,
1985,
10019,
225,
11243,
461,
273,
1123,
18,
588,
1396,
12,
5058,
18,
588,
12,
4668,
18,
3373,
43,
1985,
10019,
225,
1438,
9652,
273,
1123,
18,
588,
1396,
12,
5058,
18,
588,
12,
4668,
18,
26977,
10019,
225,
2653,
273,
1123,
18,
588,
1396,
12,
5058,
18,
588,
12,
4668,
18,
15547,
10019,
225,
2911,
5101,
273,
1109,
4522,
1396,
12,
1376,
16,
9396,
18,
3670,
11713,
3997,
1769,
225,
1142,
1891,
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,
377,
4750,
918,
6167,
2297,
12,
2297,
1123,
13,
15069,
6483,
288,
225,
10926,
273,
1123,
18,
588,
1396,
12,
5058,
18,
588,
12,
4668,
18,
4370,
1985,
10019,
225,
1756,
1854,
273,
1109,
4522,
1396,
12,
1376,
16,
9396,
18,
6354,
9931,
1769,
225,
1438,
559,
273,
1109,
4522,
1396,
12,
1376,
16,
9396,
18,
4370,
2399,
1769,
225,
15165,
273,
1123,
18,
588,
1396,
12,
5058,
18,
588,
12,
4668,
18,
22366,
1985,
10019,
225,
21090,
273,
1123,
18,
588,
1396,
12,
5058,
18,
588,
12,
4668,
18,
13341,
10019,
225,
21044,
273,
1123,
18,
588,
1396,
12,
5058,
18,
588,
12,
4668,
18,
18192,
10019,
225,
729,
273,
1123,
18,
588,
1396,
12,
5058,
18,
588,
2
] |
||
return "jms: | return "axis:jms: | protected String getReceiveComplexCollectionEndpoint() { return "jms://mycomponent3?method=getPeople"; } | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/e210a622e29dd34feed9619d9da60bf69103c098/AxisConnectorJmsFunctionalTestCase.java/buggy/tests/integration/src/test/java/org/mule/test/integration/providers/soap/AxisConnectorJmsFunctionalTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
336,
11323,
12795,
2532,
3293,
1435,
288,
3639,
327,
315,
78,
959,
2207,
4811,
4652,
23,
35,
2039,
33,
588,
11227,
11763,
14432,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
336,
11323,
12795,
2532,
3293,
1435,
288,
3639,
327,
315,
78,
959,
2207,
4811,
4652,
23,
35,
2039,
33,
588,
11227,
11763,
14432,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if(priorityClass < RequestStarter.MAXIMUM_PRIORITY_CLASS || priorityClass > RequestStarter.MINIMUM_PRIORITY_CLASS) | if((priorityClass < RequestStarter.MAXIMUM_PRIORITY_CLASS) || (priorityClass > RequestStarter.MINIMUM_PRIORITY_CLASS)) | public ClientPutMessage(SimpleFieldSet fs) throws MessageInvalidException { identifier = fs.get("Identifier"); if(identifier == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No Identifier", null); try { String u = fs.get("URI"); if(u == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No URI", identifier); uri = new FreenetURI(fs.get("URI")); } catch (MalformedURLException e) { throw new MessageInvalidException(ProtocolErrorMessage.URI_PARSE_ERROR, e.getMessage(), identifier); } global = Fields.stringToBool(fs.get("Global"), false); String verbosityString = fs.get("Verbosity"); if(verbosityString == null) verbosity = 0; else { try { verbosity = Integer.parseInt(verbosityString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Verbosity field: "+e.getMessage(), identifier); } } contentType = fs.get("Metadata.ContentType"); String maxRetriesString = fs.get("MaxRetries"); if(maxRetriesString == null) // default to 0 maxRetries = 0; else { try { maxRetries = Integer.parseInt(maxRetriesString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing MaxSize field: "+e.getMessage(), identifier); } } getCHKOnly = Fields.stringToBool(fs.get("GetCHKOnly"), false); String priorityString = fs.get("PriorityClass"); if(priorityString == null) { // defaults to the one just below FProxy priorityClass = RequestStarter.IMMEDIATE_SPLITFILE_PRIORITY_CLASS; } else { try { priorityClass = Short.parseShort(priorityString, 10); if(priorityClass < RequestStarter.MAXIMUM_PRIORITY_CLASS || priorityClass > RequestStarter.MINIMUM_PRIORITY_CLASS) throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "Valid priorities are from "+RequestStarter.MAXIMUM_PRIORITY_CLASS+" to "+RequestStarter.MINIMUM_PRIORITY_CLASS, identifier); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing PriorityClass field: "+e.getMessage(), identifier); } } String uploadFrom = fs.get("UploadFrom"); if(uploadFrom == null || uploadFrom.equalsIgnoreCase("direct")) { uploadFromType = UPLOAD_FROM_DIRECT; String dataLengthString = fs.get("DataLength"); if(dataLengthString == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "Need DataLength on a ClientPut", identifier); try { dataLength = Long.parseLong(dataLengthString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing DataLength field: "+e.getMessage(), identifier); } this.origFilename = null; redirectTarget = null; } else if(uploadFrom.equalsIgnoreCase("disk")) { uploadFromType = UPLOAD_FROM_DISK; String filename = fs.get("Filename"); if(filename == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "Missing field Filename", identifier); File f = new File(filename); if(!(f.exists() && f.isFile() && f.canRead())) throw new MessageInvalidException(ProtocolErrorMessage.FILE_NOT_FOUND, null, identifier); dataLength = f.length(); FileBucket fileBucket = new FileBucket(f, true, false, false, false); this.bucket = fileBucket; this.origFilename = f; redirectTarget = null; } else if(uploadFrom.equalsIgnoreCase("redirect")) { uploadFromType = UPLOAD_FROM_REDIRECT; String target = fs.get("TargetURI"); if(target == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "TargetURI missing but UploadFrom=redirect", identifier); try { redirectTarget = new FreenetURI(target); } catch (MalformedURLException e) { throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "Invalid TargetURI: "+e, identifier); } dataLength = 0; origFilename = null; bucket = null; } else throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "UploadFrom invalid or unrecognized: "+uploadFrom, identifier); dontCompress = Fields.stringToBool(fs.get("DontCompress"), false); String persistenceString = fs.get("Persistence"); if(persistenceString == null || persistenceString.equalsIgnoreCase("connection")) { // Default: persists until connection loss. persistenceType = ClientRequest.PERSIST_CONNECTION; } else if(persistenceString.equalsIgnoreCase("reboot")) { // Reports to client by name; persists over connection loss. // Not saved to disk, so dies on reboot. persistenceType = ClientRequest.PERSIST_REBOOT; } else if(persistenceString.equalsIgnoreCase("forever")) { // Same as reboot but saved to disk, persists forever. persistenceType = ClientRequest.PERSIST_FOREVER; } else { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Persistence field: "+persistenceString, identifier); } clientToken = fs.get("ClientToken"); } | 50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/ClientPutMessage.java/buggy/src/freenet/node/fcp/ClientPutMessage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2445,
6426,
1079,
12,
5784,
974,
694,
2662,
13,
1216,
2350,
1941,
503,
288,
202,
202,
5644,
273,
2662,
18,
588,
2932,
3004,
8863,
202,
202,
430,
12,
5644,
422,
446,
13,
1082,
202,
12849,
394,
2350,
1941,
503,
12,
5752,
14935,
18,
19466,
67,
6776,
16,
315,
2279,
10333,
3113,
446,
1769,
202,
202,
698,
288,
1082,
202,
780,
582,
273,
2662,
18,
588,
2932,
3098,
8863,
1082,
202,
430,
12,
89,
422,
446,
13,
9506,
202,
12849,
394,
2350,
1941,
503,
12,
5752,
14935,
18,
19466,
67,
6776,
16,
315,
2279,
3699,
3113,
2756,
1769,
1082,
202,
1650,
273,
394,
478,
2842,
278,
3098,
12,
2556,
18,
588,
2932,
3098,
7923,
1769,
202,
202,
97,
1044,
261,
18695,
20160,
425,
13,
288,
1082,
202,
12849,
394,
2350,
1941,
503,
12,
5752,
14935,
18,
3098,
67,
21045,
67,
3589,
16,
425,
18,
24906,
9334,
2756,
1769,
202,
202,
97,
202,
202,
6347,
273,
7190,
18,
1080,
774,
7464,
12,
2556,
18,
588,
2932,
5160,
6,
3631,
629,
1769,
202,
202,
780,
11561,
780,
273,
2662,
18,
588,
2932,
30594,
8863,
202,
202,
430,
12,
16629,
8807,
780,
422,
446,
13,
1082,
202,
16629,
8807,
273,
374,
31,
202,
202,
12107,
288,
1082,
202,
698,
288,
9506,
202,
16629,
8807,
273,
2144,
18,
2670,
1702,
12,
16629,
8807,
780,
16,
1728,
1769,
1082,
202,
97,
1044,
261,
1854,
9291,
425,
13,
288,
9506,
202,
12849,
394,
2350,
1941,
503,
12,
5752,
14935,
18,
3589,
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,
2445,
6426,
1079,
12,
5784,
974,
694,
2662,
13,
1216,
2350,
1941,
503,
288,
202,
202,
5644,
273,
2662,
18,
588,
2932,
3004,
8863,
202,
202,
430,
12,
5644,
422,
446,
13,
1082,
202,
12849,
394,
2350,
1941,
503,
12,
5752,
14935,
18,
19466,
67,
6776,
16,
315,
2279,
10333,
3113,
446,
1769,
202,
202,
698,
288,
1082,
202,
780,
582,
273,
2662,
18,
588,
2932,
3098,
8863,
1082,
202,
430,
12,
89,
422,
446,
13,
9506,
202,
12849,
394,
2350,
1941,
503,
12,
5752,
14935,
18,
19466,
67,
6776,
16,
315,
2279,
3699,
3113,
2756,
1769,
1082,
202,
1650,
273,
394,
478,
2842,
278,
3098,
12,
2556,
18,
588,
2932,
3098,
7923,
1769,
202,
202,
2
] |
recv.callMethod("write", rs.toRubyObject()); | recv.callMethod("write", rs); | public static IRubyObject print(IRubyObject recv, IRubyObject args[]) { if (args.length == 0) { args = new IRubyObject[] { recv.getRuntime().getLastline()}; } IRubyObject fs = recv.getRuntime().getGlobalVar("$,"); IRubyObject rs = recv.getRuntime().getGlobalVar("$\\"); for (int i = 0; i < args.length; i++) { if (i > 0 && !fs.isNil()) { recv.callMethod("write", fs.toRubyObject()); } if (args[i].isNil()) { recv.callMethod("write", RubyString.newString(recv.getRuntime(), "nil")); } else { recv.callMethod("write", args[i]); } } if (!rs.isNil()) { recv.callMethod("write", rs.toRubyObject()); } return recv.getRuntime().getNil(); } | 1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/f235ab756f32ea9496f8f880066b46ad95ebb692/RubyIO.java/clean/org/jruby/RubyIO.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
1172,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
833,
63,
5717,
288,
3639,
309,
261,
1968,
18,
2469,
422,
374,
13,
288,
5411,
833,
273,
394,
15908,
10340,
921,
8526,
288,
10665,
18,
588,
5576,
7675,
588,
3024,
1369,
17767,
31,
3639,
289,
3639,
15908,
10340,
921,
2662,
273,
10665,
18,
588,
5576,
7675,
588,
5160,
1537,
2932,
8,
16,
8863,
3639,
15908,
10340,
921,
3597,
273,
10665,
18,
588,
5576,
7675,
588,
5160,
1537,
2932,
8,
1695,
8863,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
5411,
309,
261,
77,
405,
374,
597,
401,
2556,
18,
291,
12616,
10756,
288,
7734,
10665,
18,
1991,
1305,
2932,
2626,
3113,
2662,
18,
869,
54,
10340,
921,
10663,
5411,
289,
5411,
309,
261,
1968,
63,
77,
8009,
291,
12616,
10756,
288,
7734,
10665,
18,
1991,
1305,
2932,
2626,
3113,
19817,
780,
18,
2704,
780,
12,
18334,
18,
588,
5576,
9334,
315,
20154,
7923,
1769,
5411,
289,
469,
288,
7734,
10665,
18,
1991,
1305,
2932,
2626,
3113,
833,
63,
77,
19226,
5411,
289,
3639,
289,
3639,
309,
16051,
5453,
18,
291,
12616,
10756,
288,
5411,
10665,
18,
1991,
1305,
2932,
2626,
3113,
3597,
1769,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
1172,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
833,
63,
5717,
288,
3639,
309,
261,
1968,
18,
2469,
422,
374,
13,
288,
5411,
833,
273,
394,
15908,
10340,
921,
8526,
288,
10665,
18,
588,
5576,
7675,
588,
3024,
1369,
17767,
31,
3639,
289,
3639,
15908,
10340,
921,
2662,
273,
10665,
18,
588,
5576,
7675,
588,
5160,
1537,
2932,
8,
16,
8863,
3639,
15908,
10340,
921,
3597,
273,
10665,
18,
588,
5576,
7675,
588,
5160,
1537,
2932,
8,
1695,
8863,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
5411,
309,
261,
77,
405,
374,
597,
401,
2556,
18,
291,
12616,
10756,
288,
7734,
2
] |
public static void main(String[] args) throws Exception { Set flags = new HashSet(); flags.add("h"); flags.add("help"); flags.add("usage"); flags.add("license"); flags.add("version"); CommandLine cl = new CommandLine(args, flags, Arrays.asList(new String[] {"import", "out"})); if (cl.getOpt("h") != null || cl.getOpt("help") != null || cl.getOpt("usage") != null) { printUsage(); System.exit(0); return; } String[] badopts = cl.getBadOpts(); if (badopts.length > 0) { for (int i = 0; i < badopts.length; i++) System.out.println("Unrecognized option: " + badopts[i]); printUsage(); System.exit(0); return; } if (cl.getOpt("license") != null) { CommandLine.printLicense(); System.exit(0); return; } if (cl.getOpt("version") != null) { CommandLine.printVersion(); System.exit(0); return; } args = cl.args(); if (args.length != 1) { System.exit(0); return; } String commonName = cl.getOpt("import"); if (commonName == null) commonName = "common.xsd"; String out = cl.getOpt("out"); if (out == null) { System.out.println("Using output directory 'out'"); out = "out"; } File outdir = new File(out); File basedir = new File(args[0]); // first, parse all the schema files File[] files = cl.getFiles(); Map schemaDocs = new HashMap(); Set elementNames = new HashSet(); Set attributeNames = new HashSet(); Set typeNames = new HashSet(); Set modelGroupNames = new HashSet(); Set attrGroupNames = new HashSet(); Set dupeElementNames = new HashSet(); Set dupeAttributeNames = new HashSet(); Set dupeTypeNames = new HashSet(); Set dupeModelGroupNames = new HashSet(); Set dupeAttrGroupNames = new HashSet(); Set dupeNamespaces = new HashSet(); for (int i = 0; i < files.length; i++) { try { // load schema SchemaDocument doc = SchemaDocument.Factory.parse(files[i]); schemaDocs.put(doc, files[i]); // warn about for imports, includes if (doc.getSchema().sizeOfImportArray() > 0 || doc.getSchema().sizeOfIncludeArray() > 0) System.out.println("warning: " + files[i] + " contains imports or includes that are being ignored."); // collect together names String targetNamespace = doc.getSchema().getTargetNamespace(); if (targetNamespace == null) targetNamespace = ""; TopLevelComplexType ct[] = doc.getSchema().getComplexTypeArray(); for (int j = 0; j < ct.length; j++) noteName(ct[j].getName(), targetNamespace, typeNames, dupeTypeNames, dupeNamespaces); TopLevelSimpleType st[] = doc.getSchema().getSimpleTypeArray(); for (int j = 0; j < st.length; j++) noteName(st[j].getName(), targetNamespace, typeNames, dupeTypeNames, dupeNamespaces); TopLevelElement el[] = doc.getSchema().getElementArray(); for (int j = 0; j < el.length; j++) noteName(el[j].getName(), targetNamespace, elementNames, dupeElementNames, dupeNamespaces); TopLevelAttribute at[] = doc.getSchema().getAttributeArray(); for (int j = 0; j < at.length; j++) noteName(at[j].getName(), targetNamespace, attributeNames, dupeAttributeNames, dupeNamespaces); NamedGroup gr[] = doc.getSchema().getGroupArray(); for (int j = 0; j < gr.length; j++) noteName(gr[j].getName(), targetNamespace, modelGroupNames, dupeModelGroupNames, dupeNamespaces); NamedAttributeGroup ag[] = doc.getSchema().getAttributeGroupArray(); for (int j = 0; j < ag.length; j++) noteName(ag[j].getName(), targetNamespace, attrGroupNames, dupeAttrGroupNames, dupeNamespaces); } catch (XmlException e) { System.out.println("warning: " + files[i] + " is not a schema file - " + e.getError().toString()); } catch (IOException e) { System.err.println("Unable to load " + files[i] + " - " + e.getMessage()); System.exit(1); return; } } if (schemaDocs.size() == 0) { System.out.println("No schema files found."); System.exit(0); return; } if (dupeTypeNames.size() + dupeElementNames.size() + dupeAttributeNames.size() + dupeModelGroupNames.size() + dupeAttrGroupNames.size() == 0) { System.out.println("No duplicate names found."); System.exit(0); return; } // create a schema doc for each namespace to be imported Map commonDocs = new HashMap(); Map commonFiles = new HashMap(); int count = dupeNamespaces.size() == 1 ? 0 : 1; for (Iterator i = dupeNamespaces.iterator(); i.hasNext(); ) { String namespace = (String)i.next(); SchemaDocument commonDoc = SchemaDocument.Factory.parse( "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'/>" ); if (namespace.length() > 0) commonDoc.getSchema().setTargetNamespace(namespace); commonDoc.getSchema().setElementFormDefault(FormChoice.QUALIFIED); commonDocs.put(namespace, commonDoc); commonFiles.put(commonDoc, commonFileFor(commonName, namespace, count++, outdir)); } // pull out all the duplicate definitions and drop them into the file // we reuse the elementNames (etc) sets to keep track of which definitions // we have already inserted. for (Iterator i = schemaDocs.keySet().iterator(); i.hasNext(); ) { SchemaDocument doc = (SchemaDocument)i.next(); // collect together names String targetNamespace = doc.getSchema().getTargetNamespace(); if (targetNamespace == null) targetNamespace = ""; SchemaDocument commonDoc = (SchemaDocument)commonDocs.get(targetNamespace); boolean needImport = false; TopLevelComplexType ct[] = doc.getSchema().getComplexTypeArray(); for (int j = ct.length - 1; j >= 0; j--) { if (!isDuplicate(ct[j].getName(), targetNamespace, dupeTypeNames)) continue; if (isFirstDuplicate(ct[j].getName(), targetNamespace, typeNames, dupeTypeNames)) commonDoc.getSchema().addNewComplexType().set(ct[j]); needImport = true; doc.getSchema().removeComplexType(j); } TopLevelSimpleType st[] = doc.getSchema().getSimpleTypeArray(); for (int j = 0; j < st.length; j++) { if (!isDuplicate(st[j].getName(), targetNamespace, dupeTypeNames)) continue; if (isFirstDuplicate(st[j].getName(), targetNamespace, typeNames, dupeTypeNames)) commonDoc.getSchema().addNewSimpleType().set(st[j]); needImport = true; doc.getSchema().removeSimpleType(j); } TopLevelElement el[] = doc.getSchema().getElementArray(); for (int j = 0; j < el.length; j++) { if (!isDuplicate(el[j].getName(), targetNamespace, dupeElementNames)) continue; if (isFirstDuplicate(el[j].getName(), targetNamespace, elementNames, dupeElementNames)) commonDoc.getSchema().addNewElement().set(el[j]); needImport = true; doc.getSchema().removeElement(j); } TopLevelAttribute at[] = doc.getSchema().getAttributeArray(); for (int j = 0; j < at.length; j++) { if (!isDuplicate(at[j].getName(), targetNamespace, dupeAttributeNames)) continue; if (isFirstDuplicate(at[j].getName(), targetNamespace, attributeNames, dupeAttributeNames)) commonDoc.getSchema().addNewElement().set(at[j]); needImport = true; doc.getSchema().removeElement(j); } NamedGroup gr[] = doc.getSchema().getGroupArray(); for (int j = 0; j < gr.length; j++) { if (!isDuplicate(gr[j].getName(), targetNamespace, dupeModelGroupNames)) continue; if (isFirstDuplicate(gr[j].getName(), targetNamespace, modelGroupNames, dupeModelGroupNames)) commonDoc.getSchema().addNewElement().set(gr[j]); needImport = true; doc.getSchema().removeElement(j); } NamedAttributeGroup ag[] = doc.getSchema().getAttributeGroupArray(); for (int j = 0; j < ag.length; j++) { if (!isDuplicate(ag[j].getName(), targetNamespace, dupeAttrGroupNames)) continue; if (isFirstDuplicate(ag[j].getName(), targetNamespace, attrGroupNames, dupeAttrGroupNames)) commonDoc.getSchema().addNewElement().set(ag[j]); needImport = true; doc.getSchema().removeElement(j); } if (needImport) { IncludeDocument.Include newInclude = doc.getSchema().addNewInclude(); File inputFile = (File)schemaDocs.get(doc); File outputFile = outputFileFor(inputFile, basedir, outdir); File commonFile = (File)commonFiles.get(commonDoc); if (targetNamespace != null) newInclude.setSchemaLocation(relativeURIFor(outputFile, commonFile)); } } // make the directory for output if (!outdir.isDirectory() && !outdir.mkdirs()) { System.err.println("Unable to makedir " + outdir); System.exit(1); return; } // now write all those docs back out. for (Iterator i = schemaDocs.keySet().iterator(); i.hasNext(); ) { SchemaDocument doc = (SchemaDocument)i.next(); File inputFile = (File)schemaDocs.get(doc); File outputFile = outputFileFor(inputFile, basedir, outdir); if (outputFile == null) System.out.println("Cannot copy " + inputFile); else doc.save(outputFile, new XmlOptions().setSavePrettyPrint().setSaveAggresiveNamespaces()); } for (Iterator i = commonFiles.keySet().iterator(); i.hasNext(); ) { SchemaDocument doc = (SchemaDocument)i.next(); File outputFile = (File)commonFiles.get(doc); doc.save(outputFile, new XmlOptions().setSavePrettyPrint().setSaveAggresiveNamespaces()); } } | 3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/001aee1d328098a9a567f5df3cb355c8d26c1c2b/FactorImports.java/buggy/src/xmlcomp/org/apache/xmlbeans/impl/tool/FactorImports.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1185,
565,
288,
3639,
1000,
2943,
273,
394,
6847,
5621,
3639,
2943,
18,
1289,
2932,
76,
8863,
3639,
2943,
18,
1289,
2932,
5201,
8863,
3639,
2943,
18,
1289,
2932,
9167,
8863,
3639,
2943,
18,
1289,
2932,
12687,
8863,
3639,
2943,
18,
1289,
2932,
1589,
8863,
3639,
15893,
927,
273,
394,
15893,
12,
1968,
16,
2943,
16,
5647,
18,
345,
682,
12,
2704,
514,
8526,
12528,
5666,
3113,
315,
659,
6,
6792,
1769,
3639,
309,
261,
830,
18,
588,
6179,
2932,
76,
7923,
480,
446,
747,
927,
18,
588,
6179,
2932,
5201,
7923,
480,
446,
747,
927,
18,
588,
6179,
2932,
9167,
7923,
480,
446,
13,
3639,
288,
5411,
1172,
5357,
5621,
5411,
2332,
18,
8593,
12,
20,
1769,
5411,
327,
31,
3639,
289,
3639,
514,
8526,
5570,
4952,
273,
927,
18,
588,
6434,
5476,
5621,
3639,
309,
261,
8759,
4952,
18,
2469,
405,
374,
13,
3639,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
5570,
4952,
18,
2469,
31,
277,
27245,
7734,
2332,
18,
659,
18,
8222,
2932,
19648,
1456,
30,
315,
397,
5570,
4952,
63,
77,
19226,
5411,
1172,
5357,
5621,
5411,
2332,
18,
8593,
12,
20,
1769,
5411,
327,
31,
3639,
289,
3639,
309,
261,
830,
18,
588,
6179,
2932,
12687,
7923,
480,
446,
13,
3639,
288,
5411,
15893,
18,
1188,
13211,
5621,
5411,
2332,
18,
8593,
12,
20,
1769,
5411,
327,
31,
3639,
289,
3639,
309,
261,
830,
18,
588,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1185,
565,
288,
3639,
1000,
2943,
273,
394,
6847,
5621,
3639,
2943,
18,
1289,
2932,
76,
8863,
3639,
2943,
18,
1289,
2932,
5201,
8863,
3639,
2943,
18,
1289,
2932,
9167,
8863,
3639,
2943,
18,
1289,
2932,
12687,
8863,
3639,
2943,
18,
1289,
2932,
1589,
8863,
3639,
15893,
927,
273,
394,
15893,
12,
1968,
16,
2943,
16,
5647,
18,
345,
682,
12,
2704,
514,
8526,
12528,
5666,
3113,
315,
659,
6,
6792,
1769,
3639,
309,
261,
830,
18,
588,
6179,
2932,
76,
7923,
480,
446,
747,
927,
18,
588,
6179,
2932,
5201,
7923,
480,
446,
747,
927,
18,
588,
6179,
2932,
9167,
7923,
480,
446,
13,
3639,
288,
5411,
2
] |
||
public void setEnabled(boolean enabled); | void setEnabled(boolean enabled); | public void setEnabled(boolean enabled); | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ComponentPeer.java/buggy/core/src/classpath/java/java/awt/peer/ComponentPeer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
12888,
12,
6494,
3696,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
12888,
12,
6494,
3696,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public final boolean dispatchEvent(Event event) throws EventException { DomEvent e = (DomEvent) event; DomNode[] ancestors = null; int ancestorMax = 0; boolean haveDispatchDataLock = false; if (e.type == null) { throw new DomEventException(); } e.doDefault = true; e.target = this; // // Typical case: one nonrecursive dispatchEvent call at a time // for this class. If that's our case, we can avoid allocating // garbage, which is overall a big win. Even with advanced GCs // that deal well with short-lived garbage, and wayfast allocators, // it still helps. // // Remember -- EVERY mutation goes though here at least once. // // When populating a DOM tree, trying to send mutation events is // the primary cost; this dominates the critical path. // try { DomNode current; int index; boolean haveAncestorRegistrations = false; ListenerRecord[] notificationSet; int ancestorLen; synchronized (lockNode) { if (!dispatchDataLock) { haveDispatchDataLock = dispatchDataLock = true; notificationSet = DomNode.notificationSet; ancestors = DomNode.ancestors; } else { notificationSet = new ListenerRecord[NOTIFICATIONS_INIT]; ancestors = new DomNode[ANCESTORS_INIT]; } ancestorLen = ancestors.length; } // XXX autogrow ancestors ... based on statistics // Climb to the top of this subtree and handle capture, letting // each node (from the top down) capture until one stops it or // until we get to this one. for (index = 0, current = parent; current != null && index < ancestorLen; index++, current = current.parent) { if (current.nListeners != 0) { haveAncestorRegistrations = true; } ancestors [index] = current; } if (current != null) { throw new RuntimeException("dispatchEvent capture stack size"); } ancestorMax = index; e.stop = false; if (haveAncestorRegistrations) { e.eventPhase = Event.CAPTURING_PHASE; while (!e.stop && index-- > 0) { current = ancestors [index]; if (current.nListeners != 0) { notifyNode(e, current, true, notificationSet); } } } // Always deliver events to the target node (this) // unless stopPropagation was called. If we saw // no registrations yet (typical!), we never will. if (!e.stop && nListeners != 0) { e.eventPhase = Event.AT_TARGET; notifyNode (e, this, false, notificationSet); } else if (!haveAncestorRegistrations) { e.stop = true; } // If the event bubbles and propagation wasn't halted, // walk back up the ancestor list. Stop bubbling when // any bubbled event handler stops it. if (!e.stop && e.bubbles) { e.eventPhase = Event.BUBBLING_PHASE; for (index = 0; !e.stop && index < ancestorMax && (current = ancestors[index]) != null; index++) { if (current.nListeners != 0) { notifyNode(e, current, false, notificationSet); } } } e.eventPhase = 0; // Caller chooses whether to perform the default // action based on return from this method. return e.doDefault; } finally { if (haveDispatchDataLock) { // synchronize to force write ordering synchronized (lockNode) { // null out refs to ensure they'll be GC'd for (int i = 0; i < ancestorMax; i++) { ancestors [i] = null; } // notificationSet handled by notifyNode dispatchDataLock = false; } } } } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/DomNode.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
727,
1250,
15678,
12,
1133,
871,
13,
15069,
2587,
503,
95,
8832,
1133,
425,
273,
261,
8832,
1133,
13,
871,
31,
8832,
907,
8526,
14322,
273,
446,
31,
474,
9731,
2747,
273,
374,
31,
6494,
1240,
5325,
751,
2531,
273,
629,
31,
430,
261,
73,
18,
723,
422,
446,
15329,
12849,
394,
12965,
1133,
503,
5621,
97,
73,
18,
2896,
1868,
273,
638,
31,
73,
18,
3299,
273,
333,
31,
1307,
16973,
1706,
648,
30,
476,
1661,
10543,
15678,
745,
622,
279,
813,
759,
364,
333,
667,
18,
2047,
716,
1807,
3134,
648,
16,
732,
848,
4543,
4767,
1776,
759,
15340,
16,
1492,
353,
13914,
279,
5446,
5657,
18,
8321,
598,
16111,
611,
14272,
759,
716,
10490,
5492,
598,
3025,
17,
80,
2950,
15340,
16,
471,
4031,
8076,
4767,
3062,
16,
759,
518,
4859,
21814,
18,
1307,
23133,
1493,
512,
17529,
11934,
13998,
11376,
2674,
622,
4520,
3647,
18,
1307,
5203,
3650,
1776,
279,
4703,
2151,
16,
8374,
358,
1366,
11934,
2641,
353,
759,
326,
3354,
6991,
31,
333,
4092,
4174,
326,
11239,
589,
18,
759,
698,
95,
8832,
907,
783,
31,
474,
770,
31,
6494,
1240,
15637,
20175,
1012,
273,
629,
31,
2223,
2115,
8526,
3851,
694,
31,
474,
9731,
2891,
31,
22043,
261,
739,
907,
15329,
430,
16051,
10739,
751,
2531,
15329,
21516,
5325,
751,
2531,
273,
3435,
751,
2531,
273,
638,
31,
9927,
694,
273,
12965,
907,
18,
9927,
694,
31,
304,
11116,
273,
12965,
907,
18,
304,
11116,
31,
97,
12107,
95,
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,
727,
1250,
15678,
12,
1133,
871,
13,
15069,
2587,
503,
95,
8832,
1133,
425,
273,
261,
8832,
1133,
13,
871,
31,
8832,
907,
8526,
14322,
273,
446,
31,
474,
9731,
2747,
273,
374,
31,
6494,
1240,
5325,
751,
2531,
273,
629,
31,
430,
261,
73,
18,
723,
422,
446,
15329,
12849,
394,
12965,
1133,
503,
5621,
97,
73,
18,
2896,
1868,
273,
638,
31,
73,
18,
3299,
273,
333,
31,
1307,
16973,
1706,
648,
30,
476,
1661,
10543,
15678,
745,
622,
279,
813,
759,
364,
333,
667,
18,
2047,
716,
1807,
3134,
648,
16,
732,
848,
4543,
4767,
1776,
759,
15340,
16,
1492,
353,
13914,
279,
5446,
5657,
18,
8321,
598,
16111,
611,
14272,
759,
716,
10490,
5492,
2
] |
||
ArtifactResolutionResult distroProvidedResult = artifactResolver .resolveTransitively( dependencies, pluginArtifact, localRepository, remoteRepositories, metadataSource, distroProvidedFilter ); | List allResolved = new ArrayList( resolved.size() + unresolved.size() ); allResolved.addAll( resolved ); allResolved.addAll( unresolved ); | private void ensurePluginContainerIsComplete( PluginDescriptor pluginDescriptor, PlexusContainer pluginContainer, MavenProject project, MavenSession session ) throws PluginConfigurationException { // if the plugin's already been used once, don't re-do this step... // otherwise, we have to finish resolving the plugin's classpath and start the container. if ( pluginDescriptor.getArtifacts() != null && pluginDescriptor.getArtifacts().size() == 1 ) { Artifact pluginArtifact = (Artifact) pluginDescriptor.getArtifacts().get( 0 ); try { MavenMetadataSource metadataSource = new MavenMetadataSource( mavenProjectBuilder, artifactFactory ); List remoteRepositories = new ArrayList(); remoteRepositories.addAll( project.getRemoteArtifactRepositories() ); remoteRepositories.addAll( project.getPluginArtifactRepositories() ); ArtifactRepository localRepository = session.getLocalRepository(); ResolutionGroup resolutionGroup = metadataSource.retrieve( pluginArtifact, localRepository, project.getPluginArtifactRepositories() ); Set dependencies = resolutionGroup.getArtifacts(); ArtifactResolutionResult result = artifactResolver.resolveTransitively( dependencies, pluginArtifact, localRepository, remoteRepositories, metadataSource, artifactFilter ); Set resolved = result.getArtifacts(); for ( Iterator it = resolved.iterator(); it.hasNext(); ) { Artifact artifact = (Artifact) it.next(); if ( !artifact.equals( pluginArtifact ) ) { pluginContainer.addJarResource( artifact.getFile() ); } } pluginDescriptor.setClassRealm( pluginContainer.getContainerRealm() ); // TODO: this is probably overkill as it is rarely used - can we use a mojo tag to signal this will be // used or check its configuration? Also, when it is used, perhaps it is more effecient to resolve // everything at once and apply the exclusion filter when constructing the plugin container above. // Check this out with yourkit ArtifactFilter distroProvidedFilter = new InversionArtifactFilter( artifactFilter ); ArtifactResolutionResult distroProvidedResult = artifactResolver .resolveTransitively( dependencies, pluginArtifact, localRepository, remoteRepositories, metadataSource, distroProvidedFilter ); Set distroProvided = distroProvidedResult.getArtifacts(); List unfilteredArtifactList = new ArrayList( resolved.size() + distroProvided.size() ); unfilteredArtifactList.addAll( resolved ); unfilteredArtifactList.addAll( distroProvided ); pluginDescriptor.setArtifacts( unfilteredArtifactList ); } catch ( ArtifactResolutionException e ) { throw new PluginConfigurationException( "Cannot resolve plugin dependencies", e ); } catch ( PlexusContainerException e ) { throw new PluginConfigurationException( "Cannot start plugin container", e ); } catch ( ArtifactMetadataRetrievalException e ) { throw new PluginConfigurationException( "Cannot resolve plugin dependencies", e ); } } } | 1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/11082da5f4fafc00e6a133efa683b636ff92951e/DefaultPluginManager.java/clean/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3387,
3773,
2170,
2520,
6322,
12,
6258,
3187,
1909,
3187,
16,
453,
4149,
407,
2170,
1909,
2170,
16,
4766,
5375,
17176,
4109,
1984,
16,
17176,
2157,
1339,
262,
3639,
1216,
6258,
10737,
565,
288,
3639,
368,
309,
326,
1909,
1807,
1818,
2118,
1399,
3647,
16,
2727,
1404,
283,
17,
2896,
333,
2235,
2777,
3639,
368,
3541,
16,
732,
1240,
358,
4076,
17188,
326,
1909,
1807,
10006,
471,
787,
326,
1478,
18,
3639,
309,
261,
1909,
3187,
18,
588,
16981,
1435,
480,
446,
597,
1909,
3187,
18,
588,
16981,
7675,
1467,
1435,
422,
404,
262,
3639,
288,
5411,
14022,
1909,
7581,
273,
261,
7581,
13,
1909,
3187,
18,
588,
16981,
7675,
588,
12,
374,
11272,
5411,
775,
5411,
288,
7734,
17176,
2277,
1830,
1982,
1830,
273,
394,
17176,
2277,
1830,
12,
20499,
4109,
1263,
16,
6462,
1733,
11272,
7734,
987,
2632,
18429,
273,
394,
2407,
5621,
7734,
2632,
18429,
18,
1289,
1595,
12,
1984,
18,
588,
5169,
7581,
18429,
1435,
11272,
7734,
2632,
18429,
18,
1289,
1595,
12,
1984,
18,
588,
3773,
7581,
18429,
1435,
11272,
7734,
14022,
3305,
1191,
3305,
273,
1339,
18,
588,
2042,
3305,
5621,
7734,
24933,
1114,
7861,
1114,
273,
1982,
1830,
18,
17466,
12,
1909,
7581,
16,
1191,
3305,
16,
28524,
6647,
1984,
18,
588,
3773,
7581,
18429,
1435,
11272,
7734,
1000,
5030,
273,
7861,
1114,
18,
588,
16981,
5621,
7734,
14022,
11098,
1253,
563,
273,
6462,
4301,
18,
10828,
26164,
4492,
12,
5030,
16,
1909,
7581,
16,
28524,
13491,
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,
3387,
3773,
2170,
2520,
6322,
12,
6258,
3187,
1909,
3187,
16,
453,
4149,
407,
2170,
1909,
2170,
16,
4766,
5375,
17176,
4109,
1984,
16,
17176,
2157,
1339,
262,
3639,
1216,
6258,
10737,
565,
288,
3639,
368,
309,
326,
1909,
1807,
1818,
2118,
1399,
3647,
16,
2727,
1404,
283,
17,
2896,
333,
2235,
2777,
3639,
368,
3541,
16,
732,
1240,
358,
4076,
17188,
326,
1909,
1807,
10006,
471,
787,
326,
1478,
18,
3639,
309,
261,
1909,
3187,
18,
588,
16981,
1435,
480,
446,
597,
1909,
3187,
18,
588,
16981,
7675,
1467,
1435,
422,
404,
262,
3639,
288,
5411,
14022,
1909,
7581,
273,
261,
7581,
13,
1909,
3187,
18,
588,
16981,
7675,
588,
12,
374,
11272,
5411,
775,
2
] |
return tagify("B", null, null); | return tagify("b", null, null); | private String jsFunction_bold() { return tagify("B", null, null); } | 12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/e4c32e2c7bcbcebcd19b29115abbd924e9039485/NativeString.java/buggy/js/rhino/src/org/mozilla/javascript/NativeString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
3828,
2083,
67,
16390,
1435,
288,
3639,
327,
1047,
1164,
2932,
70,
3113,
446,
16,
446,
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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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
3828,
2083,
67,
16390,
1435,
288,
3639,
327,
1047,
1164,
2932,
70,
3113,
446,
16,
446,
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 org.quickfix.field.UnderlyingIssuer getUnderlyingIssuer() throws FieldNotFound { org.quickfix.field.UnderlyingIssuer value = new org.quickfix.field.UnderlyingIssuer(); | public quickfix.field.UnderlyingIssuer getUnderlyingIssuer() throws FieldNotFound { quickfix.field.UnderlyingIssuer value = new quickfix.field.UnderlyingIssuer(); | public org.quickfix.field.UnderlyingIssuer getUnderlyingIssuer() throws FieldNotFound { org.quickfix.field.UnderlyingIssuer value = new org.quickfix.field.UnderlyingIssuer(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderMassCancelReport.java/buggy/src/java/src/quickfix/fix43/OrderMassCancelReport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
16667,
10833,
765,
6291,
16667,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
16667,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
16667,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
int tmp_ret = instance.proxycall172(get_ReleaseDC(), tmp_0, param_1); | int tmp_ret = instance.proxycall182(get_ReleaseDC(), tmp_0, param_1); | public final int ReleaseDC(Win32.IDirectDrawSurface This, long param_1) { long tmp_0 = This == null ? 0 : This.longLockPointer(); int tmp_ret = instance.proxycall172(get_ReleaseDC(), 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,
10819,
5528,
12,
18049,
1578,
18,
734,
867,
6493,
11508,
1220,
16,
1525,
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,
28246,
12,
588,
67,
7391,
5528,
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,
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,
791,
18,
5656,
1991,
28246,
12,
588,
67,
7391,
5528,
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,
-100,
-100,
-100
] |
if (!name.startsWith(Action.APPLICATION_KEY)) { | if (!name.startsWith(Globals.MODULE_KEY)) { | public static String[] getApplicationPrefixes(ServletContext context) { String prefixes[] = (String[]) context.getAttribute(PREFIXES_KEY); if (prefixes != null) { return (prefixes); } ArrayList list = new ArrayList(); Enumeration names = context.getAttributeNames(); while (names.hasMoreElements()) { String name = (String) names.nextElement(); if (!name.startsWith(Action.APPLICATION_KEY)) { continue; } String prefix = name.substring(Action.APPLICATION_KEY.length()); if (prefix.length() > 0) { list.add(prefix); } } prefixes = (String[]) list.toArray(new String[list.size()]); context.setAttribute(PREFIXES_KEY, prefixes); return (prefixes); } | 54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/02d148b515a594d8daed79f607144d0aa2b9c42a/RequestUtils.java/buggy/src/share/org/apache/struts/util/RequestUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
8526,
9615,
11700,
12,
4745,
1042,
819,
13,
288,
3639,
514,
9419,
8526,
273,
261,
780,
63,
5717,
819,
18,
588,
1499,
12,
6307,
3991,
67,
3297,
1769,
3639,
309,
261,
17777,
480,
446,
13,
288,
5411,
327,
261,
17777,
1769,
3639,
289,
3639,
2407,
666,
273,
394,
2407,
5621,
3639,
13864,
1257,
273,
819,
18,
588,
26080,
5621,
3639,
1323,
261,
1973,
18,
5332,
7417,
3471,
10756,
288,
5411,
514,
508,
273,
261,
780,
13,
1257,
18,
4285,
1046,
5621,
5411,
309,
16051,
529,
18,
17514,
1190,
12,
19834,
18,
12194,
67,
3297,
3719,
288,
7734,
1324,
31,
5411,
289,
5411,
514,
1633,
273,
508,
18,
28023,
12,
1803,
18,
25039,
67,
3297,
18,
2469,
10663,
5411,
309,
261,
3239,
18,
2469,
1435,
405,
374,
13,
288,
7734,
666,
18,
1289,
12,
3239,
1769,
5411,
289,
3639,
289,
3639,
9419,
273,
261,
780,
63,
5717,
666,
18,
31447,
12,
2704,
514,
63,
1098,
18,
1467,
1435,
19226,
3639,
819,
18,
542,
1499,
12,
6307,
3991,
67,
3297,
16,
9419,
1769,
3639,
327,
261,
17777,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
8526,
9615,
11700,
12,
4745,
1042,
819,
13,
288,
3639,
514,
9419,
8526,
273,
261,
780,
63,
5717,
819,
18,
588,
1499,
12,
6307,
3991,
67,
3297,
1769,
3639,
309,
261,
17777,
480,
446,
13,
288,
5411,
327,
261,
17777,
1769,
3639,
289,
3639,
2407,
666,
273,
394,
2407,
5621,
3639,
13864,
1257,
273,
819,
18,
588,
26080,
5621,
3639,
1323,
261,
1973,
18,
5332,
7417,
3471,
10756,
288,
5411,
514,
508,
273,
261,
780,
13,
1257,
18,
4285,
1046,
5621,
5411,
309,
16051,
529,
18,
17514,
1190,
12,
19834,
18,
12194,
67,
3297,
3719,
288,
7734,
1324,
31,
5411,
289,
5411,
514,
1633,
273,
508,
18,
28023,
12,
1803,
18,
25039,
67,
3297,
18,
2
] |
public void handleFiles(List files) { try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.newDocument(); Element overviewRoot = Util.addChildElement(doc, "overview-frame", null); doc = db.newDocument(); Element allTagsRoot = Util.addChildElement(doc, "all-tags", null); Iterator iter = files.iterator(); while (iter.hasNext()) { File file = (File) iter.next(); if (!file.exists() || !file.canRead()) { continue; } Document xmlDoc = handleFile(file); if (xmlDoc != null) { String shortname = Util.getElementValue( xmlDoc.getDocumentElement(), "body/taglib/shortname"); Util.addChildElement(overviewRoot, "shortname", shortname); List tags = Util.getElements( xmlDoc.getDocumentElement(), "body/taglib/tag"); Iterator tagIter = tags.iterator(); while (tagIter.hasNext()) { Element tag = (Element) tagIter.next(); String tagname = Util.getElementValue(tag, "name"); tag = Util.addChildElement(allTagsRoot, "tag", null); Util.addChildElement(tag, "name", tagname); Util.addChildElement(tag, "taglib", shortname); } } } Source xml = new DOMSource(overviewRoot); Source xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibdoc/index.xsl")); Result out = new StreamResult(new File(destdir, "index.html")); TransformerFactory tf = TransformerFactory.newInstance(); Transformer t = tf.newTransformer(xsl); t.transform(xml, out); xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibdoc/overview-frame.xsl")); out = new StreamResult(new File(destdir, "overview-frame.html")); t = tf.newTransformer(xsl); t.transform(xml, out); xml = new DOMSource(allTagsRoot); xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibdoc/all-tags.xsl")); out = new StreamResult(new File(destdir, "all-tags.html")); t = tf.newTransformer(xsl); t.transform(xml, out); Util.copyFile( "/resources/taglibdoc/stylesheet.css", new File(destdir, "stylesheet.css")); } catch (Exception e) { e.printStackTrace(); } } | 2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/bcf54ee9560f4fd9a0ff083d3f0ea7c829a28aea/TaglibDoc.java/buggy/contrib/tag-doc/src/java/org/apache/struts/taskdefs/TaglibDoc.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
4110,
2697,
12,
682,
2354,
15329,
202,
202,
698,
95,
1082,
202,
2519,
20692,
1966,
74,
33,
2519,
20692,
18,
2704,
1442,
5621,
1082,
202,
2519,
1263,
1966,
33,
1966,
74,
18,
2704,
2519,
1263,
5621,
1082,
202,
2519,
2434,
33,
1966,
18,
2704,
2519,
5621,
1082,
202,
1046,
26081,
2375,
33,
9506,
202,
1304,
18,
1289,
1763,
1046,
12,
2434,
10837,
26081,
17,
3789,
3113,
2011,
1769,
1082,
202,
2434,
33,
1966,
18,
2704,
2519,
5621,
1082,
202,
1046,
454,
3453,
2375,
33,
1304,
18,
1289,
1763,
1046,
12,
2434,
10837,
454,
17,
4156,
3113,
2011,
1769,
1082,
202,
3198,
2165,
33,
2354,
18,
9838,
5621,
1082,
202,
17523,
12,
2165,
18,
5332,
2134,
10756,
95,
9506,
202,
812,
768,
28657,
812,
13,
2165,
18,
4285,
5621,
9506,
202,
430,
12,
5,
768,
18,
1808,
1435,
20081,
5,
768,
18,
4169,
1994,
10756,
95,
6862,
202,
17143,
31,
9506,
202,
97,
9506,
202,
2519,
2902,
1759,
33,
4110,
812,
12,
768,
1769,
9506,
202,
430,
12,
2902,
1759,
5,
33,
2011,
15329,
6862,
202,
780,
28650,
33,
25083,
202,
1304,
18,
21336,
620,
12,
6862,
1082,
202,
2902,
1759,
18,
588,
2519,
1046,
9334,
6862,
1082,
202,
6,
3432,
19,
2692,
2941,
19,
28650,
8863,
6862,
202,
1304,
18,
1289,
1763,
1046,
12,
26081,
2375,
10837,
28650,
3113,
28650,
1769,
6862,
202,
682,
4156,
33,
25083,
202,
1304,
18,
588,
3471,
12,
6862,
1082,
202,
2902,
1759,
18,
588,
2519,
1046,
9334,
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,
6459,
4110,
2697,
12,
682,
2354,
15329,
202,
202,
698,
95,
1082,
202,
2519,
20692,
1966,
74,
33,
2519,
20692,
18,
2704,
1442,
5621,
1082,
202,
2519,
1263,
1966,
33,
1966,
74,
18,
2704,
2519,
1263,
5621,
1082,
202,
2519,
2434,
33,
1966,
18,
2704,
2519,
5621,
1082,
202,
1046,
26081,
2375,
33,
9506,
202,
1304,
18,
1289,
1763,
1046,
12,
2434,
10837,
26081,
17,
3789,
3113,
2011,
1769,
1082,
202,
2434,
33,
1966,
18,
2704,
2519,
5621,
1082,
202,
1046,
454,
3453,
2375,
33,
1304,
18,
1289,
1763,
1046,
12,
2434,
10837,
454,
17,
4156,
3113,
2011,
1769,
1082,
202,
3198,
2165,
33,
2354,
18,
9838,
5621,
1082,
202,
17523,
12,
2165,
18,
5332,
2134,
2
] |
||
} case 861: break; case 432: case 489: case 541: { tokenType = yytext().substring(6).trim(); } case 862: break; case 591: case 635: { isExtending = yytext().substring(9).trim(); } case 863: break; case 639: case 675: { functionName = yytext().substring(10).trim(); } case 864: break; case 713: { return symbol(LOWERCLASS); } case 865: break; case 712: { return symbol(UPPERCLASS); } case 866: break; case 22: { states.insert(yytext(),inclusive_states); } case 867: break; case 54: { return symbol(OPENBRACKET); } case 868: break; case 566: { return symbol(DIGITCLASS); } case 869: break; case 606: { return symbol(LETTERCLASS); } case 870: break; case 124: { } case 871: break; case 94: { if (commentbalance > 0) commentbalance--; else yybegin(nextState); } case 872: break; case 90: case 177: { t.start(); | } case 220: break; case 127: { standalone = true; isInteger = true; } case 221: break; case 4: { throw new ScannerException(file,ErrorMessages.UNEXPECTED_CHAR, yyline, yycolumn); } case 222: break; case 47: { t.start(); | public Symbol next_token() throws java.io.IOException { int yy_input; int yy_action; int [] yytrans_l = yytrans; int [] yy_rowMap_l = yy_rowMap; byte [] yy_attr_l = YY_ATTRIBUTE; int yy_pushbackPos_l = yy_pushbackPos = -1; boolean yy_was_pushback; while (true) { // cached fields: int yy_currentPos_l; int yy_startRead_l; int yy_markedPos_l = yy_markedPos; int yy_endRead_l = yy_endRead; char [] yy_buffer_l = yy_buffer; char [] yycmap_l = yycmap; boolean yy_r = false; for (yy_currentPos_l = yy_startRead; yy_currentPos_l < yy_markedPos_l; yy_currentPos_l++) { switch (yy_buffer_l[yy_currentPos_l]) { case '\u000B': case '\u000C': case '\u0085': case '\u2028': case '\u2029': yyline++; yycolumn = 0; yy_r = false; break; case '\r': yyline++; yycolumn = 0; yy_r = true; break; case '\n': if (yy_r) yy_r = false; else { yyline++; yycolumn = 0; } break; default: yy_r = false; yycolumn++; } } if (yy_r) { // peek one character ahead if it is \n (if we have counted one line too much) boolean yy_peek; if (yy_markedPos_l < yy_endRead_l) yy_peek = yy_buffer_l[yy_markedPos_l] == '\n'; else if (yy_atEOF) yy_peek = false; else { boolean eof = yy_refill(); yy_markedPos_l = yy_markedPos; yy_buffer_l = yy_buffer; if (eof) yy_peek = false; else yy_peek = yy_buffer_l[yy_markedPos_l] == '\n'; } if (yy_peek) yyline--; } if (yy_markedPos_l > yy_startRead) { switch (yy_buffer_l[yy_markedPos_l-1]) { case '\n': case '\u000B': case '\u000C': case '\u0085': case '\u2028': case '\u2029': yy_atBOL = true; break; case '\r': if (yy_markedPos_l < yy_endRead_l) yy_atBOL = yy_buffer_l[yy_markedPos_l] != '\n'; else if (yy_atEOF) yy_atBOL = false; else { boolean eof = yy_refill(); yy_markedPos_l = yy_markedPos; yy_buffer_l = yy_buffer; if (eof) yy_atBOL = false; else yy_atBOL = yy_buffer_l[yy_markedPos_l] != '\n'; } break; default: yy_atBOL = false; } } yy_action = -1; yy_startRead_l = yy_currentPos_l = yy_currentPos = yy_startRead = yy_markedPos_l; if (yy_atBOL) yy_state = YY_LEXSTATE[yy_lexical_state+1]; else yy_state = YY_LEXSTATE[yy_lexical_state]; yy_was_pushback = false; yy_forAction: { while (true) { if (yy_currentPos_l < yy_endRead_l) yy_input = yy_buffer_l[yy_currentPos_l++]; else if (yy_atEOF) { yy_input = YYEOF; break yy_forAction; } else { // store back cached positions yy_currentPos = yy_currentPos_l; yy_markedPos = yy_markedPos_l; yy_pushbackPos = yy_pushbackPos_l; boolean eof = yy_refill(); // get translated positions and possibly new buffer yy_currentPos_l = yy_currentPos; yy_markedPos_l = yy_markedPos; yy_buffer_l = yy_buffer; yy_endRead_l = yy_endRead; yy_pushbackPos_l = yy_pushbackPos; if (eof) { yy_input = YYEOF; break yy_forAction; } else { yy_input = yy_buffer_l[yy_currentPos_l++]; } } int yy_next = yytrans_l[ yy_rowMap_l[yy_state] + yycmap_l[yy_input] ]; if (yy_next == -1) break yy_forAction; yy_state = yy_next; int yy_attributes = yy_attr_l[yy_state]; if ( (yy_attributes & 2) == 2 ) yy_pushbackPos_l = yy_currentPos_l; if ( (yy_attributes & 1) == 1 ) { yy_was_pushback = (yy_attributes & 4) == 4; yy_action = yy_state; yy_markedPos_l = yy_currentPos_l; if ( (yy_attributes & 8) == 8 ) break yy_forAction; } } } // store back cached position yy_markedPos = yy_markedPos_l; if (yy_was_pushback) yy_markedPos = yy_pushbackPos_l; switch (yy_action) { case 708: case 727: case 728: case 738: { lexThrow = concExc(lexThrow,yytext().substring(12).trim()); } case 745: break; case 539: case 589: case 590: case 633: { lexThrow = concExc(lexThrow,yytext().substring(8).trim()); } case 746: break; case 559: case 560: case 602: case 603: { bufferSize = Integer.parseInt(yytext().substring(8).trim()); } case 747: break; case 637: case 673: case 674: case 705: { eofThrow = concExc(eofThrow,yytext().substring(10).trim()); } case 748: break; case 670: case 703: case 704: case 725: { initThrow = concExc(initThrow,yytext().substring(11).trim()); } case 749: break; case 679: case 710: case 711: case 729: { scanErrorException = yytext().substring(11).trim(); } case 750: break; case 723: case 724: { lexThrow = concExc(lexThrow,string); yybegin(MACROS); } case 751: break; case 700: case 701: { initThrow = concExc(initThrow,string); yybegin(MACROS); } case 752: break; case 666: case 667: { eofThrow = concExc(eofThrow,string); yybegin(MACROS); } case 753: break; case 68: { yybegin(REGEXP); return symbol(MORETHAN); } case 754: break; case 375: { packed = false; useRowMap = true; } case 755: break; case 137: { actionText.setLength(0); yybegin(JAVA_CODE); action_line = yyline+1; return symbol(REGEXPEND); } case 756: break; case 88: { yybegin(REGEXP); return symbol(RBRACE); } case 757: break; case 32: { yybegin(REGEXP); return symbol(EQUALS); } case 758: break; case 45: { yybegin(CHARCLASS); return symbol(OPENCLASS); } case 759: break; case 418: case 419: { eofCode = conc(eofCode,string); yybegin(MACROS); } case 760: break; case 548: { isAbstract = true; } case 761: break; case 99: case 100: case 102: case 103: case 104: case 105: case 106: case 107: case 108: case 109: case 110: case 111: case 112: case 113: case 114: case 119: case 121: case 180: case 183: case 184: case 185: case 186: case 187: case 188: case 189: case 190: case 191: case 192: case 193: case 194: case 195: case 196: case 197: case 198: case 199: case 200: case 201: case 202: case 203: case 204: case 205: case 206: case 207: case 208: case 209: case 210: case 216: case 219: case 246: case 247: case 249: case 250: case 251: case 252: case 253: case 254: case 255: case 256: case 257: case 258: case 259: case 260: case 261: case 262: case 263: case 264: case 265: case 266: case 267: case 268: case 270: case 271: case 272: case 273: case 274: case 275: case 276: case 277: case 278: case 282: case 283: case 304: case 305: case 306: case 307: case 308: case 309: case 310: case 311: case 312: case 313: case 314: case 315: case 316: case 317: case 318: case 319: case 321: case 322: case 323: case 325: case 326: case 327: case 328: case 329: case 330: case 331: case 333: case 334: case 335: case 336: case 337: case 338: case 340: case 343: case 344: case 364: case 365: case 366: case 367: case 368: case 369: case 370: case 371: case 372: case 374: case 376: case 377: case 378: case 379: case 380: case 383: case 384: case 385: case 386: case 387: case 388: case 389: case 390: case 391: case 392: case 393: case 394: case 395: case 396: case 399: case 400: case 423: case 424: case 425: case 426: case 427: case 428: case 429: case 430: case 431: case 433: case 434: case 435: case 436: case 437: case 438: case 439: case 440: case 441: case 443: case 444: case 445: case 448: case 449: case 450: case 453: case 454: case 480: case 483: case 484: case 485: case 491: case 492: case 493: case 494: case 495: case 496: case 497: case 498: case 499: case 502: case 504: case 507: case 534: case 536: case 537: case 543: case 544: case 546: case 547: case 549: case 550: case 551: case 586: case 587: case 588: case 595: case 596: case 597: case 598: case 599: case 632: case 640: { throw new ScannerException(file,ErrorMessages.UNKNOWN_OPTION, yyline, yycolumn); } case 762: break; case 86: { throw new ScannerException(file,ErrorMessages.UNEXPECTED_NL, yyline, yycolumn); } case 763: break; case 76: { balance++; return symbol(OPENCLASS); } case 764: break; case 75: { throw new ScannerException(file,ErrorMessages.EOL_IN_CHARCLASS,yyline,yycolumn); } case 765: break; case 31: case 34: { throw new ScannerException(file,ErrorMessages.UNKNOWN_OPTION, yyline, yycolumn); } case 766: break; case 19: case 20: case 21: case 30: case 36: case 61: case 62: case 63: case 70: case 82: case 85: case 87: { throw new ScannerException(file,ErrorMessages.UNEXPECTED_CHAR, yyline, yycolumn); } case 767: break; case 214: case 215: { inclusive_states = false; yybegin(STATELIST); } case 768: break; case 223: case 286: case 346: { return symbol(CHAR, new Character( (char) Integer.parseInt(yytext().substring(2,yytext().length()), 16))); } case 769: break; case 240: { return symbol(MACROUSE, yytext().substring(1,yytext().length()-1)); } case 770: break; case 241: case 242: { classCode = conc(classCode,string); yybegin(MACROS); } case 771: break; case 285: { return symbol(CHAR, new Character( (char) Integer.parseInt(yytext().substring(2,yytext().length()), 16))); } case 772: break; case 339: { packed = true; useRowMap = true; } case 773: break; case 442: { packed = false; useRowMap = false; } case 774: break; case 503: case 556: { className = yytext().substring(7).trim(); } case 775: break; case 127: case 130: case 221: { return symbol(CHAR, new Character( (char) Integer.parseInt(yytext().substring(1,yytext().length()), 8))); } case 776: break; case 126: case 128: case 129: { return symbol(CHAR, new Character(yytext().charAt(1))); } case 777: break; case 74: case 79: { return symbol(CHAR, new Character(yytext().charAt(0))); } case 778: break; case 39: case 40: case 50: { return symbol(CHAR, new Character(yytext().charAt(0))); } case 779: break; case 49: { yybegin(REGEXPSTART); return symbol(LBRACE); } case 780: break; case 58: { lookAheadUsed = true; return symbol(DOLLAR); } case 781: break; case 175: { return symbol(REPEAT, new Integer(yytext().substring(1).trim())); } case 782: break; case 473: case 474: { initCode = conc(initCode,string); yybegin(MACROS); } case 783: break; case 487: case 488: case 538: case 540: { throw new ScannerException(file,ErrorMessages.QUIL_THROW, yyline); } case 784: break; case 500: case 501: case 552: case 554: { throw new ScannerException(file,ErrorMessages.QUIL_CUPSYM, yyline); } case 785: break; case 592: case 593: case 636: case 638: { throw new ScannerException(file,ErrorMessages.QUIL_EOFTHROW, yyline); } case 786: break; case 37: { return symbol_countUpdate(RBRACE, null); } case 787: break; case 676: case 677: case 707: case 709: { throw new ScannerException(file,ErrorMessages.QUIL_YYLEXTHROW, yyline); } case 788: break; case 1: case 18: { /* ignore */ } case 789: break; case 397: { debugOption = true; } case 790: break; case 505: case 506: case 558: case 561: { throw new ScannerException(file,ErrorMessages.NO_BUFFER_SIZE, yyline); } case 791: break; case 630: case 631: case 669: case 671: { throw new ScannerException(file,ErrorMessages.QUIL_INITTHROW, yyline); } case 792: break; case 643: case 644: case 678: case 680: { throw new ScannerException(file,ErrorMessages.QUIL_SCANERROR, yyline); } case 793: break; case 15: case 16: { userCode.append(yytext()); } case 794: break; case 446: { columnCount = true; } case 795: break; case 583: case 584: { eofVal = string.toString(); yybegin(MACROS); } case 796: break; case 80: { return symbol(HAT); } case 797: break; case 0: case 14: case 17: { return symbol(EOF); } case 798: break; case 51: { return symbol(BAR); } case 799: break; case 38: { yybegin(STATES); return symbol_countUpdate(LESSTHAN, null); } case 800: break; case 57: { return symbol(QUESTION); } case 801: break; case 398: case 479: { return symbol(UNICODE); } case 802: break; case 672: { isImplementing = concExc(isImplementing, yytext().substring(12).trim()); } case 803: break; case 77: { if (balance > 0) balance--; else yybegin(REGEXP); return symbol(CLOSECLASS); } case 804: break; case 545: { eofCode = conc(eofCode, " yyclose();"); eofThrow = concExc(eofThrow, "java.io.IOException"); } case 805: break; case 135: { return symbol(CHAR,new Character('\b')); } case 806: break; case 134: { return symbol(CHAR,new Character('\f')); } case 807: break; case 133: { return symbol(CHAR,new Character('\r')); } case 808: break; case 132: { return symbol(CHAR,new Character('\t')); } case 809: break; case 131: { return symbol(CHAR,new Character('\n')); } case 810: break; case 47: { lookAheadUsed = true; return symbol(LOOKAHEAD); } case 811: break; case 59: { bolUsed = true; return symbol(HAT); } case 812: break; case 60: case 232: case 408: case 409: case 462: case 466: case 515: case 522: case 568: case 569: case 574: case 575: case 609: case 612: case 613: case 618: case 621: case 622: case 652: case 653: case 654: case 655: case 659: case 660: case 661: case 662: case 688: case 689: case 690: case 696: case 697: case 698: case 718: case 722: case 734: case 737: { actionText.append(yytext()); } case 813: break; case 155: case 157: case 158: { string.append(yytext().charAt(1)); } case 814: break; case 156: case 159: case 237: { string.append( (char) Integer.parseInt(yytext().substring(1,yytext().length()), 8)); } case 815: break; case 160: { string.append('\"'); } case 816: break; case 161: { string.append('\n'); } case 817: break; case 162: { string.append('\t'); } case 818: break; case 163: { string.append('\r'); } case 819: break; case 164: { string.append('\f'); } case 820: break; case 165: { string.append('\b'); } case 821: break; case 217: case 218: { inclusive_states = true; yybegin(STATELIST); } case 822: break; case 239: case 300: case 358: { string.append( (char) Integer.parseInt(yytext().substring(2,yytext().length()), 16)); } case 823: break; case 299: { string.append( (char) Integer.parseInt(yytext().substring(2,yytext().length()), 16)); } case 824: break; case 461: { throw new ScannerException(file,ErrorMessages.EOF_WO_ACTION); } case 825: break; case 83: case 84: { string.append(yytext()); } case 826: break; case 69: { string.append(yytext()); } case 827: break; case 567: { actionText.setLength(0); yybegin(JAVA_CODE); action_line = yyline+1; return symbol(EOFRULE); } case 828: break; case 81: { return symbol(DASH); } case 829: break; case 73: { yybegin(nextState); return symbol(STRING, string.toString()); } case 830: break; case 67: { return symbol(COMMA); } case 831: break; case 44: { return symbol(POINT); } case 832: break; case 46: { return symbol(STAR); } case 833: break; case 52: { return symbol(BANG); } case 834: break; case 53: { return symbol(TILDE); } case 835: break; case 56: { return symbol(PLUS); } case 836: break; case 320: case 341: { return symbol(FULL); } case 837: break; case 95: { commentbalance++; } case 838: break; case 71: case 72: { throw new ScannerException(file,ErrorMessages.UNTERMINATED_STR, yyline, yycolumn); } case 839: break; case 65: { balance++; actionText.append('{'); } case 840: break; case 123: { nextState = REGEXPSTART; yybegin(COMMENT); } case 841: break; case 89: { yybegin(REGEXP); } case 842: break; case 35: { yybegin(REGEXP); } case 843: break; case 24: case 25: { yybegin(MACROS); } case 844: break; case 650: { return symbol(JLETTERCLASS); } case 845: break; case 140: { yybegin(REPEATEXP); return symbol(REPEAT, new Integer(yytext().trim().substring(1).trim())); } case 846: break; case 78: { string.setLength(0); nextState = CHARCLASS; yybegin(STRING_CONTENT); } case 847: break; case 743: { return symbol(JLETTERDIGITCLASS); } case 848: break; case 120: { macroDefinition = false; yybegin(REGEXPSTART); return symbol(DELIMITER); } case 849: break; case 27: { return symbol(IDENT, yytext()); } case 850: break; case 42: case 43: { if (macroDefinition) { yybegin(MACROS); } return symbol(REGEXPEND); } case 851: break; case 55: { return symbol(CLOSEBRACKET); } case 852: break; case 169: { yypushback(1); yycolumn--; return symbol(CHAR, new Character(yytext().charAt(0))); } case 853: break; case 118: { Out.warning(ErrorMessages.NOT_AT_BOL, yyline); yypushback(1); } case 854: break; case 229: { return symbol_countUpdate(MACROUSE, makeMacroIdent()); } case 855: break; case 382: { isYYEOF = true; } case 856: break; case 486: { notUnix = true; } case 857: break; case 139: { nextState = REGEXP; yybegin(COMMENT); } case 858: break; case 97: { nextState = MACROS; yybegin(COMMENT); } case 859: break; case 181: case 182: { string.setLength(0); yybegin(COPY); } case 860: break; case 269: { cupCompatible = true; isImplementing = concExc(isImplementing, "java_cup.runtime.Scanner"); if (functionName == null) functionName = "next_token"; if (tokenType == null) tokenType = "java_cup.runtime.Symbol"; if (eofVal == null) eofVal = "return new java_cup.runtime.Symbol("+cupSymbol+".EOF);"; eofCode = conc(eofCode, " yyclose();"); eofThrow = concExc(eofThrow, "java.io.IOException"); } case 861: break; case 432: case 489: case 541: { tokenType = yytext().substring(6).trim(); } case 862: break; case 591: case 635: { isExtending = yytext().substring(9).trim(); } case 863: break; case 639: case 675: { functionName = yytext().substring(10).trim(); } case 864: break; case 713: { return symbol(LOWERCLASS); } case 865: break; case 712: { return symbol(UPPERCLASS); } case 866: break; case 22: { states.insert(yytext(),inclusive_states); } case 867: break; case 54: { return symbol(OPENBRACKET); } case 868: break; case 566: { return symbol(DIGITCLASS); } case 869: break; case 606: { return symbol(LETTERCLASS); } case 870: break; case 124: { } case 871: break; case 94: { if (commentbalance > 0) commentbalance--; else yybegin(nextState); } case 872: break; case 90: case 177: { t.start(); yybegin(MACROS); macroDefinition = true; return symbol(USERCODE,userCode); } case 873: break; case 66: { } case 874: break; case 41: { } case 875: break; case 29: { } case 876: break; case 28: case 33: { } case 877: break; case 23: case 26: { } case 878: break; case 48: { string.setLength(0); nextState = REGEXP; yybegin(STRING_CONTENT); } case 879: break; case 64: { if (balance > 0) { balance--; actionText.append('}'); } else { yybegin(REGEXPSTART); Action a = new Action(actionText.toString(), action_line); actions.addElement(a); return symbol(ACTION, a); } } case 880: break; case 145: case 146: { if (macroDefinition) { yybegin(EATWSPNL); return symbol(BAR); } else { yybegin(REGEXPSTART); return symbol(NOACTION); } } case 881: break; case 178: case 179: { } case 882: break; case 248: case 482: { isInteger = true; } case 883: break; case 324: { lineCount = true; } case 884: break; case 332: { charCount = true; } case 885: break; case 381: { isFinal = true; } case 886: break; case 451: { isInteger = true; if (eofVal == null) eofVal = "return 0;"; eofCode = conc(eofCode, " yyclose();"); eofThrow = concExc(eofThrow, "java.io.IOException"); } case 887: break; case 452: { isPublic = true; } case 888: break; case 481: { isIntWrap = true; } case 889: break; case 508: { actionText.setLength(0); yybegin(JAVA_CODE); action_line = yyline+1; return symbol_countUpdate(EOFRULE, null); } case 890: break; case 535: { File f = new File(yytext().substring(9).trim()); if ( !f.canRead() ) throw new ScannerException(file,ErrorMessages.NOT_READABLE, yyline); // check for cycle if (files.search(f) > 0) throw new ScannerException(file,ErrorMessages.FILE_CYCLE, yyline); try { yypushStream( new FileReader(f) ); files.push(file); file = f; Out.println("Including \""+file+"\""); } catch (FileNotFoundException e) { throw new ScannerException(file,ErrorMessages.NOT_READABLE, yyline); } } case 891: break; case 553: case 600: case 601: case 645: { cupSymbol = yytext().substring(8).trim(); if (cupCompatible) Out.warning(ErrorMessages.CUPSYM_AFTER_CUP, yyline); } case 892: break; case 555: { cupDebug = true; } case 893: break; case 557: { caseless = true; } case 894: break; case 641: { visibility = "private"; Skeleton.makePrivate(); } case 895: break; case 642: { standalone = true; isInteger = true; } case 896: break; default: if (yy_input == YYEOF && yy_startRead == yy_currentPos) { yy_atEOF = true; yy_do_eof(); switch (yy_lexical_state) { case STRING_CONTENT: { throw new ScannerException(file,ErrorMessages.EOF_IN_STRING); } case 745: break; case MACROS: { if ( yymoreStreams() ) { file = (File) files.pop(); yypopStream(); } else throw new ScannerException(file,ErrorMessages.EOF_IN_MACROS); } case 746: break; case STATELIST: { throw new ScannerException(file,ErrorMessages.EOF_IN_MACROS); } case 747: break; case CHARCLASS: { throw new ScannerException(file,ErrorMessages.EOF_IN_REGEXP); } case 748: break; case JAVA_CODE: { throw new ScannerException(file,ErrorMessages.EOF_IN_ACTION, action_line-1); } case 749: break; case REPEATEXP: { throw new ScannerException(file,ErrorMessages.EOF_IN_REGEXP); } case 750: break; case COMMENT: { throw new ScannerException(file,ErrorMessages.EOF_IN_COMMENT); } case 751: break; case STATES: { throw new ScannerException(file,ErrorMessages.EOF_IN_STATES); } case 752: break; case COPY: { throw new ScannerException(file,ErrorMessages.EOF_IN_MACROS); } case 753: break; default: { if ( yymoreStreams() ) { file = (File) files.pop(); yypopStream(); } else return symbol(EOF); } } } else { yy_ScanError(YY_NO_MATCH); } } } } | 45285 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45285/c5b664099369e6ab7a60ec6354a7dd4322f53873/LexScan.java/buggy/jflex/src/JFlex/LexScan.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8565,
1024,
67,
2316,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
509,
9016,
67,
2630,
31,
565,
509,
9016,
67,
1128,
31,
565,
509,
5378,
9016,
2338,
67,
80,
273,
9016,
2338,
31,
565,
509,
5378,
9016,
67,
492,
863,
67,
80,
273,
9016,
67,
492,
863,
31,
565,
1160,
5378,
9016,
67,
1747,
67,
80,
273,
1624,
61,
67,
11616,
31,
565,
509,
9016,
67,
6206,
823,
1616,
67,
80,
273,
9016,
67,
6206,
823,
1616,
273,
300,
21,
31,
565,
1250,
9016,
67,
17416,
67,
6206,
823,
31,
565,
1323,
261,
3767,
13,
288,
1377,
368,
3472,
1466,
30,
1377,
509,
9016,
67,
2972,
1616,
67,
80,
31,
1377,
509,
9016,
67,
1937,
1994,
67,
80,
31,
1377,
509,
9016,
67,
3355,
329,
1616,
67,
80,
273,
9016,
67,
3355,
329,
1616,
31,
1377,
509,
9016,
67,
409,
1994,
67,
80,
273,
9016,
67,
409,
1994,
31,
1377,
1149,
5378,
9016,
67,
4106,
67,
80,
273,
9016,
67,
4106,
31,
1377,
1149,
5378,
9016,
22738,
67,
80,
273,
9016,
22738,
31,
1377,
1250,
9016,
67,
86,
273,
629,
31,
1377,
364,
261,
6795,
67,
2972,
1616,
67,
80,
273,
9016,
67,
1937,
1994,
31,
9016,
67,
2972,
1616,
67,
80,
411,
9016,
67,
3355,
329,
1616,
67,
80,
31,
4766,
11794,
9016,
67,
2972,
1616,
67,
80,
27245,
288,
3639,
1620,
261,
6795,
67,
4106,
67,
80,
63,
6795,
67,
2972,
1616,
67,
80,
5717,
288,
3639,
648,
2337,
89,
3784,
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,
8565,
1024,
67,
2316,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
509,
9016,
67,
2630,
31,
565,
509,
9016,
67,
1128,
31,
565,
509,
5378,
9016,
2338,
67,
80,
273,
9016,
2338,
31,
565,
509,
5378,
9016,
67,
492,
863,
67,
80,
273,
9016,
67,
492,
863,
31,
565,
1160,
5378,
9016,
67,
1747,
67,
80,
273,
1624,
61,
67,
11616,
31,
565,
509,
9016,
67,
6206,
823,
1616,
67,
80,
273,
9016,
67,
6206,
823,
1616,
273,
300,
21,
31,
565,
1250,
9016,
67,
17416,
67,
6206,
823,
31,
565,
1323,
261,
3767,
13,
288,
1377,
368,
3472,
1466,
30,
1377,
509,
9016,
67,
2972,
1616,
67,
80,
31,
1377,
509,
9016,
67,
1937,
2
] |
children = newChildren; if (folderNode != null) folderNode.loadChildren(); | public void updateChildren() { try { if ((getFolder().getType() & Folder.HOLDS_FOLDERS) == 0) { return; } } catch (MessagingException me) { } Vector newChildren = new Vector(); StringTokenizer tokens = new StringTokenizer(Pooka.getProperty(getFolderProperty() + ".folderList", "INBOX"), ":"); String newFolderName; for (int i = 0 ; tokens.hasMoreTokens() ; i++) { newFolderName = (String)tokens.nextToken(); FolderInfo childFolder = getChild(newFolderName); if (childFolder == null) { childFolder = new FolderInfo(this, newFolderName); newChildren.add(childFolder); } else { newChildren.add(childFolder); } } children = newChildren; if (folderNode != null) folderNode.loadChildren(); } | 967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/7f48c7a241b88036c073696c7920af0f3ee38ee0/FolderInfo.java/buggy/net/suberic/pooka/FolderInfo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1089,
4212,
1435,
288,
202,
698,
288,
202,
565,
309,
14015,
588,
3899,
7675,
588,
559,
1435,
473,
12623,
18,
44,
1741,
3948,
67,
17357,
55,
13,
422,
374,
13,
288,
202,
202,
2463,
31,
202,
565,
289,
202,
97,
1044,
261,
23389,
503,
1791,
13,
288,
289,
202,
5018,
394,
4212,
273,
394,
5589,
5621,
202,
780,
10524,
2430,
273,
394,
16370,
12,
52,
1184,
69,
18,
588,
1396,
12,
588,
3899,
1396,
1435,
397,
3552,
5609,
682,
3113,
315,
706,
16876,
6,
3631,
6153,
1769,
202,
202,
780,
394,
26169,
31,
202,
1884,
261,
474,
277,
273,
374,
274,
2430,
18,
5332,
7417,
5157,
1435,
274,
277,
27245,
288,
202,
565,
394,
26169,
273,
261,
780,
13,
7860,
18,
4285,
1345,
5621,
202,
565,
12623,
966,
1151,
3899,
273,
8154,
12,
2704,
26169,
1769,
202,
565,
309,
261,
3624,
3899,
422,
446,
13,
288,
202,
202,
3624,
3899,
273,
394,
12623,
966,
12,
2211,
16,
394,
26169,
1769,
202,
202,
2704,
4212,
18,
1289,
12,
3624,
3899,
1769,
202,
565,
289,
469,
288,
202,
202,
2704,
4212,
18,
1289,
12,
3624,
3899,
1769,
202,
565,
289,
202,
97,
202,
202,
5906,
273,
394,
4212,
31,
202,
202,
430,
261,
5609,
907,
480,
446,
13,
3196,
565,
3009,
907,
18,
945,
4212,
5621,
202,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
1089,
4212,
1435,
288,
202,
698,
288,
202,
565,
309,
14015,
588,
3899,
7675,
588,
559,
1435,
473,
12623,
18,
44,
1741,
3948,
67,
17357,
55,
13,
422,
374,
13,
288,
202,
202,
2463,
31,
202,
565,
289,
202,
97,
1044,
261,
23389,
503,
1791,
13,
288,
289,
202,
5018,
394,
4212,
273,
394,
5589,
5621,
202,
780,
10524,
2430,
273,
394,
16370,
12,
52,
1184,
69,
18,
588,
1396,
12,
588,
3899,
1396,
1435,
397,
3552,
5609,
682,
3113,
315,
706,
16876,
6,
3631,
6153,
1769,
202,
202,
780,
394,
26169,
31,
202,
1884,
261,
474,
277,
273,
374,
274,
2430,
18,
5332,
7417,
5157,
1435,
274,
277,
27245,
288,
202,
565,
394,
26169,
273,
2
] |
|
org.intermine.web.LogMe.log("i", " fieldName: " + fieldName); | protected void createAttributeIndexes(ClassDescriptor cld) throws SQLException, MetaDataException { org.intermine.web.LogMe.log("i", "examining: " + cld); org.intermine.web.LogMe.log("i", "examining: " + cld.getName()); Map primaryKeys = DataLoaderHelper.getPrimaryKeys(cld); String tableName = DatabaseUtil.getTableName(cld); ATTRIBUTE: for (Iterator attributeIter = cld.getAllAttributeDescriptors().iterator(); attributeIter.hasNext();) { AttributeDescriptor att = (AttributeDescriptor) attributeIter.next(); org.intermine.web.LogMe.log("i", " got att: " + att); if (att.getName().equals("id")) { org.intermine.web.LogMe.log("i", " -skipping id"); continue; } String fieldName = DatabaseUtil.getColumnName(att); org.intermine.web.LogMe.log("i", " fieldName: " + fieldName); for (Iterator primaryKeyIter = primaryKeys.entrySet().iterator(); primaryKeyIter.hasNext();) { Map.Entry primaryKeyEntry = (Map.Entry) primaryKeyIter.next(); String keyName = (String) primaryKeyEntry.getKey(); PrimaryKey key = (PrimaryKey) primaryKeyEntry.getValue(); org.intermine.web.LogMe.log("i", " entry: " + primaryKeyEntry); String firstKeyField = (String) ((Set) key.getFieldNames()).iterator().next(); org.intermine.web.LogMe.log("i", " firstKeyField: " + firstKeyField); if (firstKeyField.equals(att.getName())) { org.intermine.web.LogMe.log("i", " -skipping: " + att.getName()); continue ATTRIBUTE; } } dropIndex(tableName + "__" + att.getName()); createIndex(tableName + "__" + att.getName(), tableName, fieldName + ", id"); } } | 7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/7e5efefe9647289db6f4a068611497d3224a031f/CreateIndexesTask.java/clean/intermine/src/java/org/intermine/task/CreateIndexesTask.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
752,
1499,
8639,
12,
797,
3187,
23451,
13,
3639,
1216,
6483,
16,
6565,
22480,
288,
3639,
2358,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
338,
301,
10008,
30,
315,
397,
23451,
1769,
3639,
2358,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
338,
301,
10008,
30,
315,
397,
23451,
18,
17994,
10663,
7734,
1635,
31629,
273,
1910,
2886,
2276,
18,
588,
6793,
2396,
12,
830,
72,
1769,
3639,
514,
4775,
273,
5130,
1304,
18,
588,
7147,
12,
830,
72,
1769,
2868,
15941,
30,
364,
261,
3198,
1566,
2360,
273,
23451,
18,
588,
1595,
1499,
12705,
7675,
9838,
5621,
8227,
1566,
2360,
18,
5332,
2134,
5621,
13,
288,
5411,
3601,
3187,
2403,
273,
261,
1499,
3187,
13,
1566,
2360,
18,
4285,
5621,
13491,
2358,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
2363,
2403,
30,
315,
397,
2403,
1769,
5411,
309,
261,
4558,
18,
17994,
7675,
14963,
2932,
350,
6,
3719,
288,
7734,
2358,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
300,
7457,
1382,
612,
8863,
7734,
1324,
31,
5411,
289,
13491,
514,
4289,
273,
5130,
1304,
18,
588,
8516,
12,
4558,
1769,
8227,
364,
261,
3198,
8841,
2360,
273,
31629,
18,
4099,
694,
7675,
9838,
5621,
1171,
8841,
2360,
18,
5332,
2134,
5621,
13,
288,
7734,
1635,
18,
1622,
8841,
1622,
273,
261,
863,
18,
1622,
13,
8841,
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,
752,
1499,
8639,
12,
797,
3187,
23451,
13,
3639,
1216,
6483,
16,
6565,
22480,
288,
3639,
2358,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
338,
301,
10008,
30,
315,
397,
23451,
1769,
3639,
2358,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
338,
301,
10008,
30,
315,
397,
23451,
18,
17994,
10663,
7734,
1635,
31629,
273,
1910,
2886,
2276,
18,
588,
6793,
2396,
12,
830,
72,
1769,
3639,
514,
4775,
273,
5130,
1304,
18,
588,
7147,
12,
830,
72,
1769,
2868,
15941,
30,
364,
261,
3198,
1566,
2360,
273,
23451,
18,
588,
1595,
1499,
12705,
7675,
9838,
5621,
8227,
1566,
2360,
18,
5332,
2
] |
|
if(delegate != null) return delegate.loadClass(className, remoteCodebase, loader); else throw new ClassNotFoundException(className + ": delegate == null"); | return delegate.loadClass(className, remoteCodebase, loader); | public static Class loadClass(String className, String remoteCodebase, ClassLoader loader) throws ClassNotFoundException { if(delegate != null) return delegate.loadClass(className, remoteCodebase, loader); else throw new ClassNotFoundException(className + ": delegate == null"); } | 47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/1ae69e4e117f16a6f054d25da0de26f83fe5b43e/Util.java/buggy/javax/rmi/CORBA/Util.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1659,
16038,
12,
780,
2658,
16,
514,
2632,
1085,
1969,
16,
9403,
4088,
13,
565,
1216,
10403,
225,
288,
565,
309,
12,
22216,
480,
446,
13,
1377,
327,
7152,
18,
945,
797,
12,
12434,
16,
2632,
1085,
1969,
16,
4088,
1769,
565,
469,
1377,
604,
394,
10403,
12,
12434,
397,
6398,
7152,
422,
446,
8863,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1659,
16038,
12,
780,
2658,
16,
514,
2632,
1085,
1969,
16,
9403,
4088,
13,
565,
1216,
10403,
225,
288,
565,
309,
12,
22216,
480,
446,
13,
1377,
327,
7152,
18,
945,
797,
12,
12434,
16,
2632,
1085,
1969,
16,
4088,
1769,
565,
469,
1377,
604,
394,
10403,
12,
12434,
397,
6398,
7152,
422,
446,
8863,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
flowManager.addFLow(flowKey, flow); | flowManager.addFLow(flowKey, flow,ClientTransferAction.class.getName()); | protected void setUp() throws Exception { super.setUp(); try { setServletConfigFile(ResourceLoader.getURI("WEB-INF/web.xml") .getPath()); setConfigFile(ResourceLoader.getURI( "org/mifos/application/customer/client/struts-config.xml") .getPath()); } catch (URISyntaxException e) { e.printStackTrace(); } UserContext userContext = TestObjectFactory.getContext(); request.getSession().setAttribute(Constants.USERCONTEXT, userContext); addRequestParameter("recordLoanOfficerId", "1"); addRequestParameter("recordOfficeId", "1"); request.getSession(false).setAttribute("ActivityContext", TestObjectFactory.getActivityContext()); Flow flow = new Flow(); flowKey = String.valueOf(System.currentTimeMillis()); FlowManager flowManager = new FlowManager(); flowManager.addFLow(flowKey, flow); request.getSession(false).setAttribute(Constants.FLOWMANAGER, flowManager); } | 45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/2ad3938ddf5827b09ecc08cedee11b66453e1078/ClientTransferActionTest.java/clean/mifos/test/org/mifos/application/customer/client/struts/action/ClientTransferActionTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
24292,
1435,
1216,
1185,
288,
202,
202,
9565,
18,
542,
1211,
5621,
202,
202,
698,
288,
1082,
202,
542,
4745,
13705,
12,
1420,
2886,
18,
588,
3098,
2932,
14778,
17,
19212,
19,
4875,
18,
2902,
7923,
6862,
202,
18,
588,
743,
10663,
1082,
202,
542,
13705,
12,
1420,
2886,
18,
588,
3098,
12,
6862,
202,
6,
3341,
19,
81,
430,
538,
19,
3685,
19,
10061,
19,
2625,
19,
701,
12940,
17,
1425,
18,
2902,
7923,
6862,
202,
18,
588,
743,
10663,
202,
202,
97,
1044,
261,
3098,
14714,
425,
13,
288,
1082,
202,
73,
18,
1188,
6332,
5621,
202,
202,
97,
202,
202,
1299,
1042,
729,
1042,
273,
7766,
921,
1733,
18,
29120,
5621,
202,
202,
2293,
18,
588,
2157,
7675,
542,
1499,
12,
2918,
18,
4714,
13181,
16,
729,
1042,
1769,
202,
202,
1289,
691,
1662,
2932,
3366,
1504,
304,
7210,
21349,
548,
3113,
315,
21,
8863,
202,
202,
1289,
691,
1662,
2932,
3366,
30126,
548,
3113,
315,
21,
8863,
202,
202,
2293,
18,
588,
2157,
12,
5743,
2934,
542,
1499,
2932,
6193,
1042,
3113,
7766,
921,
1733,
18,
588,
6193,
1042,
10663,
9506,
202,
5249,
4693,
273,
394,
9473,
5621,
202,
202,
2426,
653,
273,
514,
18,
1132,
951,
12,
3163,
18,
2972,
28512,
10663,
202,
202,
5249,
1318,
4693,
1318,
273,
394,
9473,
1318,
5621,
202,
202,
2426,
1318,
18,
1289,
42,
10520,
12,
2426,
653,
16,
4693,
1769,
202,
202,
2293,
18,
588,
2157,
12,
5743,
2934,
542,
1499,
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,
24292,
1435,
1216,
1185,
288,
202,
202,
9565,
18,
542,
1211,
5621,
202,
202,
698,
288,
1082,
202,
542,
4745,
13705,
12,
1420,
2886,
18,
588,
3098,
2932,
14778,
17,
19212,
19,
4875,
18,
2902,
7923,
6862,
202,
18,
588,
743,
10663,
1082,
202,
542,
13705,
12,
1420,
2886,
18,
588,
3098,
12,
6862,
202,
6,
3341,
19,
81,
430,
538,
19,
3685,
19,
10061,
19,
2625,
19,
701,
12940,
17,
1425,
18,
2902,
7923,
6862,
202,
18,
588,
743,
10663,
202,
202,
97,
1044,
261,
3098,
14714,
425,
13,
288,
1082,
202,
73,
18,
1188,
6332,
5621,
202,
202,
97,
202,
202,
1299,
1042,
729,
1042,
273,
7766,
921,
1733,
18,
29120,
5621,
202,
2
] |
if (findPerspectiveWithLabel(label) != null) | } if (findPerspectiveWithLabel(label) != 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/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/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,
225,
202,
482,
453,
414,
16772,
3187,
752,
14781,
16772,
12,
780,
1433,
16,
1082,
202,
14781,
16772,
3187,
2282,
3187,
13,
288,
202,
202,
759,
23123,
866,
358,
4543,
2057,
578,
6751,
3249,
18,
202,
202,
430,
16051,
5662,
2224,
12,
1925,
3719,
1082,
202,
2463,
446,
31,
202,
202,
430,
261,
4720,
14781,
16772,
1190,
2224,
12,
1925,
13,
480,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
759,
9029,
1599,
18,
202,
202,
780,
612,
273,
1433,
18,
2079,
2668,
2265,
4427,
1769,
202,
202,
350,
273,
612,
18,
5290,
5621,
202,
202,
759,
1788,
4950,
18,
202,
202,
14781,
16772,
3187,
3044,
273,
394,
453,
414,
16772,
3187,
12,
350,
16,
1433,
16,
9506,
202,
8830,
3187,
1769,
202,
202,
1289,
12,
5569,
1769,
202,
202,
2463,
3044,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
453,
414,
16772,
3187,
752,
14781,
16772,
12,
780,
1433,
16,
1082,
202,
14781,
16772,
3187,
2282,
3187,
13,
288,
202,
202,
759,
23123,
866,
358,
4543,
2057,
578,
6751,
3249,
18,
202,
202,
430,
16051,
5662,
2224,
12,
1925,
3719,
1082,
202,
2463,
446,
31,
202,
202,
430,
261,
4720,
14781,
16772,
1190,
2224,
12,
1925,
13,
480,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
759,
9029,
1599,
18,
202,
202,
780,
612,
273,
1433,
18,
2079,
2668,
2265,
4427,
1769,
202,
202,
350,
273,
612,
18,
5290,
5621,
202,
202,
759,
1788,
4950,
18,
202,
202,
14781,
16772,
3187,
3044,
273,
394,
453,
414,
16772,
3187,
12,
350,
16,
1433,
16,
9506,
2
] |
assertEquals("before1 # C after1 ", m_logString); | assertEquals("before1 C after1 ", m_logString); | public void test_OR() { m_logString = ""; B(); assertEquals("before1 # B after1 ", m_logString); m_logString = ""; C(); assertEquals("before1 # C after1 ", m_logString); } | 7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/a4954bc086440ee1724b840d06c4279c27d6d1c7/PointcutExpressionTest.java/clean/aspectwerkz/src/test/test/PointcutExpressionTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
67,
916,
1435,
288,
3639,
312,
67,
1330,
780,
273,
1408,
31,
3639,
605,
5621,
3639,
1815,
8867,
2932,
5771,
21,
468,
605,
1839,
21,
3104,
312,
67,
1330,
780,
1769,
3639,
312,
67,
1330,
780,
273,
1408,
31,
3639,
385,
5621,
3639,
1815,
8867,
2932,
5771,
21,
385,
1839,
21,
3104,
312,
67,
1330,
780,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
1071,
918,
1842,
67,
916,
1435,
288,
3639,
312,
67,
1330,
780,
273,
1408,
31,
3639,
605,
5621,
3639,
1815,
8867,
2932,
5771,
21,
468,
605,
1839,
21,
3104,
312,
67,
1330,
780,
1769,
3639,
312,
67,
1330,
780,
273,
1408,
31,
3639,
385,
5621,
3639,
1815,
8867,
2932,
5771,
21,
385,
1839,
21,
3104,
312,
67,
1330,
780,
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
] |
SimpleFieldSet sfs = new SimpleFieldSet(); | SimpleFieldSet sfs = new SimpleFieldSet(false); | public SimpleFieldSet getFieldSet() { SimpleFieldSet sfs = new SimpleFieldSet(); sfs.put("URI", uri.toString()); sfs.put("Identifier", identifier); sfs.put("DataLength", Long.toString(dataLength)); sfs.put("Verbosity", Integer.toString(verbosity)); sfs.put("MaxRetries", Integer.toString(maxRetries)); sfs.put("Metadata.ContentType", contentType); return sfs; } | 50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/2d2b5012400f5bab60d65d3d26d67efa9cf7d1d6/ClientPutMessage.java/buggy/src/freenet/node/fcp/ClientPutMessage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4477,
974,
694,
5031,
694,
1435,
288,
202,
202,
5784,
974,
694,
272,
2556,
273,
394,
4477,
974,
694,
5621,
202,
202,
87,
2556,
18,
458,
2932,
3098,
3113,
2003,
18,
10492,
10663,
202,
202,
87,
2556,
18,
458,
2932,
3004,
3113,
2756,
1769,
202,
202,
87,
2556,
18,
458,
2932,
751,
1782,
3113,
3407,
18,
10492,
12,
892,
1782,
10019,
202,
202,
87,
2556,
18,
458,
2932,
30594,
3113,
2144,
18,
10492,
12,
16629,
8807,
10019,
202,
202,
87,
2556,
18,
458,
2932,
2747,
13656,
3113,
2144,
18,
10492,
12,
1896,
13656,
10019,
202,
202,
87,
2556,
18,
458,
2932,
2277,
18,
8046,
3113,
5064,
1769,
202,
202,
2463,
272,
2556,
31,
202,
97,
2,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4477,
974,
694,
5031,
694,
1435,
288,
202,
202,
5784,
974,
694,
272,
2556,
273,
394,
4477,
974,
694,
5621,
202,
202,
87,
2556,
18,
458,
2932,
3098,
3113,
2003,
18,
10492,
10663,
202,
202,
87,
2556,
18,
458,
2932,
3004,
3113,
2756,
1769,
202,
202,
87,
2556,
18,
458,
2932,
751,
1782,
3113,
3407,
18,
10492,
12,
892,
1782,
10019,
202,
202,
87,
2556,
18,
458,
2932,
30594,
3113,
2144,
18,
10492,
12,
16629,
8807,
10019,
202,
202,
87,
2556,
18,
458,
2932,
2747,
13656,
3113,
2144,
18,
10492,
12,
1896,
13656,
10019,
202,
202,
87,
2556,
18,
458,
2932,
2277,
18,
8046,
3113,
5064,
1769,
202,
202,
2463,
272,
2556,
31,
202,
97,
2,
-100
] |
{"First_Day",new java.lang.Integer(2),}, | {"First_Day",java.lang.Integer.valueOf(2),}, | protected Object[][] getContents() { Object[][] contents = { {"First_Day",new java.lang.Integer(2),}, {"LocalPatternChars","GanjkHmsSEDFwWxhKzZ",}, {"ampm",new String[]{"\u03c0\u03bc","\u03bc\u03bc",},}, {"months",new String[]{"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2","\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2","\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2","\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2","\u039c\u03ac\u03ca\u03bf\u03c2","\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2","\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2","\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2","\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2","\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2","\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2","\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2","",},}, {"shortMonths",new String[]{"\u0399\u03b1\u03bd","\u03a6\u03b5\u03b2","\u039c\u03b1\u03c1","\u0391\u03c0\u03c1","\u039c\u03b1\u03ca","\u0399\u03bf\u03c5\u03bd","\u0399\u03bf\u03c5\u03bb","\u0391\u03c5\u03b3","\u03a3\u03b5\u03c0","\u039f\u03ba\u03c4","\u039d\u03bf\u03b5","\u0394\u03b5\u03ba","",},}, {"weekdays",new String[]{"","\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae","\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1","\u03a4\u03c1\u03af\u03c4\u03b7","\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7","\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7","\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae","\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf",},}, {"shortWeekdays",new String[]{"","\u039a\u03c5\u03c1","\u0394\u03b5\u03c5","\u03a4\u03c1\u03b9","\u03a4\u03b5\u03c4","\u03a0\u03b5\u03bc","\u03a0\u03b1\u03c1","\u03a3\u03b1\u03b2",},}, {"Date_SHORT","d/M/yyyy",}, {"Date_MEDIUM","d MMM yyyy",}, {"Date_LONG","d MMMM yyyy",}, {"Date_FULL","EEEE, d MMMM yyyy",}, {"DecimalPatternChars","0#,.;%\u2030E,-",}, };return contents;} | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/4cd556f6bcafbcc4bb2142e05523342b18bd2dda/Locale_el.java/buggy/modules/luni/src/main/java/org/apache/harmony/luni/internal/locale/Locale_el.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
1033,
63,
6362,
65,
15015,
1435,
288,
202,
921,
63,
6362,
65,
2939,
273,
288,
202,
202,
16711,
3759,
67,
4245,
3113,
2704,
2252,
18,
4936,
18,
4522,
12,
22,
3631,
5779,
202,
202,
16711,
2042,
3234,
7803,
15937,
43,
304,
26921,
44,
959,
1090,
4577,
91,
59,
92,
76,
47,
94,
62,
3113,
5779,
202,
202,
16711,
931,
81,
3113,
2704,
514,
63,
7073,
12691,
89,
4630,
71,
20,
64,
89,
4630,
13459,
3113,
12691,
89,
4630,
13459,
64,
89,
4630,
13459,
3113,
5779,
5779,
202,
202,
16711,
27584,
3113,
2704,
514,
63,
7073,
12691,
89,
4630,
2733,
64,
89,
4630,
70,
21,
64,
89,
4630,
16410,
64,
89,
4630,
17156,
64,
89,
4630,
71,
25,
64,
89,
4630,
1077,
64,
89,
4630,
71,
21,
64,
89,
4630,
70,
29,
64,
89,
4630,
17156,
64,
89,
4630,
71,
22,
3113,
12691,
89,
4630,
69,
26,
64,
89,
4630,
70,
25,
64,
89,
4630,
70,
22,
64,
89,
4630,
71,
21,
64,
89,
4630,
17156,
64,
89,
4630,
71,
25,
64,
89,
4630,
1077,
64,
89,
4630,
71,
21,
64,
89,
4630,
70,
29,
64,
89,
4630,
17156,
64,
89,
4630,
71,
22,
3113,
12691,
89,
4630,
29,
71,
64,
89,
4630,
1077,
64,
89,
4630,
71,
21,
64,
89,
4630,
71,
24,
64,
89,
4630,
70,
29,
64,
89,
4630,
17156,
64,
89,
4630,
71,
22,
3113,
12691,
89,
4630,
12416,
64,
89,
4630,
71,
20,
64,
89,
4630,
71,
21,
64,
89,
4630,
1727,
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,
1033,
63,
6362,
65,
15015,
1435,
288,
202,
921,
63,
6362,
65,
2939,
273,
288,
202,
202,
16711,
3759,
67,
4245,
3113,
2704,
2252,
18,
4936,
18,
4522,
12,
22,
3631,
5779,
202,
202,
16711,
2042,
3234,
7803,
15937,
43,
304,
26921,
44,
959,
1090,
4577,
91,
59,
92,
76,
47,
94,
62,
3113,
5779,
202,
202,
16711,
931,
81,
3113,
2704,
514,
63,
7073,
12691,
89,
4630,
71,
20,
64,
89,
4630,
13459,
3113,
12691,
89,
4630,
13459,
64,
89,
4630,
13459,
3113,
5779,
5779,
202,
202,
16711,
27584,
3113,
2704,
514,
63,
7073,
12691,
89,
4630,
2733,
64,
89,
4630,
70,
21,
64,
89,
4630,
16410,
64,
89,
4630,
17156,
64,
89,
4630,
71,
25,
64,
2
] |
public void testSynchronization() throws Exception { SOAPConnectionFactory scFactory = SOAPConnectionFactory.newInstance(); SOAPConnection con = scFactory.createConnection(); MessageFactory factory = MessageFactory.newInstance(); SOAPMessage message = factory.createMessage(); String requestEncoding = "UTF-16"; message.setProperty(SOAPMessage.CHARACTER_SET_ENCODING, requestEncoding); SOAPEnvelope envelope = message.getSOAPPart().getEnvelope(); SOAPBody body = envelope.getBody(); Name bodyName = envelope.createName("echo"); SOAPBodyElement bodyElement = body.addBodyElement(bodyName); Name name = envelope.createName("arg0"); SOAPElement symbol = bodyElement.addChildElement(name); symbol.addTextNode("Hello"); URLEndpoint endpoint = new URLEndpoint("http://localhost:5678/axis/EchoHeaders.jws"); SOAPMessage response = con.call(message, endpoint); String responseEncoding = (String) response.getProperty(SOAPMessage.CHARACTER_SET_ENCODING); assertEquals(requestEncoding.toLowerCase(), responseEncoding.toLowerCase()); } | 12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/6da3db3dc7a79b2e979479ec52e14f102f056977/EchoHeadersTest.java/clean/modules/axis/src/test/org/apache/geronimo/axis/EchoHeadersTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
3813,
30196,
1435,
15069,
503,
95,
27952,
18749,
1017,
1733,
33,
27952,
18749,
18,
2704,
1442,
5621,
27952,
1952,
591,
33,
1017,
1733,
18,
2640,
1952,
5621,
1079,
1733,
6848,
33,
1079,
1733,
18,
2704,
1442,
5621,
27952,
49,
403,
346,
351,
615,
33,
6848,
18,
2640,
1079,
5621,
780,
2293,
4705,
1546,
5159,
17,
2313,
14432,
2150,
18,
542,
1396,
12,
27952,
1079,
18,
27858,
67,
4043,
67,
14672,
16,
2293,
4705,
1769,
27952,
10862,
30290,
33,
2150,
18,
588,
27952,
1988,
7675,
588,
10862,
5621,
27952,
2250,
3432,
33,
30290,
18,
588,
2250,
5621,
461,
3432,
461,
33,
30290,
18,
2640,
461,
2932,
12946,
8863,
27952,
2250,
1046,
3432,
1046,
33,
3432,
18,
1289,
2250,
1046,
12,
3432,
461,
1769,
50,
301,
1069,
33,
30290,
18,
2640,
461,
2932,
3175,
20,
8863,
27952,
3471,
3284,
33,
3432,
1046,
18,
1289,
1763,
1046,
12,
529,
1769,
7175,
18,
1289,
17299,
2932,
18601,
8863,
1785,
3293,
8003,
33,
2704,
1785,
3293,
2932,
2505,
2207,
13014,
30,
4313,
8285,
19,
4890,
19,
19704,
3121,
18,
78,
4749,
8863,
27952,
49,
403,
6817,
281,
575,
33,
591,
18,
1991,
12,
2150,
16,
8003,
1769,
780,
2740,
4705,
28657,
780,
13,
2740,
18,
588,
1396,
12,
27952,
1079,
18,
27858,
67,
4043,
67,
14672,
1769,
11231,
8867,
12,
2293,
4705,
18,
869,
5630,
9334,
2740,
4705,
18,
869,
5630,
10663,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
3813,
30196,
1435,
15069,
503,
95,
27952,
18749,
1017,
1733,
33,
27952,
18749,
18,
2704,
1442,
5621,
27952,
1952,
591,
33,
1017,
1733,
18,
2640,
1952,
5621,
1079,
1733,
6848,
33,
1079,
1733,
18,
2704,
1442,
5621,
27952,
49,
403,
346,
351,
615,
33,
6848,
18,
2640,
1079,
5621,
780,
2293,
4705,
1546,
5159,
17,
2313,
14432,
2150,
18,
542,
1396,
12,
27952,
1079,
18,
27858,
67,
4043,
67,
14672,
16,
2293,
4705,
1769,
27952,
10862,
30290,
33,
2150,
18,
588,
27952,
1988,
7675,
588,
10862,
5621,
27952,
2250,
3432,
33,
30290,
18,
588,
2250,
5621,
461,
3432,
461,
33,
30290,
18,
2640,
461,
2932,
12946,
8863,
27952,
2250,
1046,
3432,
1046,
33,
3432,
18,
1289,
2250,
2
] |
||
private void render() { | private void render() { if (this.engineVector.size() == 0) { allLog("No engines ... contact the dispatcher"); return; } | private void render() { // Checks there are some engines usde if (li_enginesUsed.getItems().length == 0) { showMessageAll("No engines ... contact the dispatcher"); return; } // Toggles the rendering flag.. b_render = true; // Benchmarking stuff... startTime = System.currentTimeMillis(); Interval interval; String keys[] = li_enginesUsed.getItems(); engines = keys.length; log("Creating " + intervals + " intervals"); intervals = 3 * keys.length; intheight = height / intervals; /* Sets the number of intervals not yet calculated to 'all' */ i_left = intervals; /* Creates the interval stack */ int_stack = new Stack(); for (int i = 0; i < intervals; i++) { // log("Creating inter : "+i); Interval newint = new Interval( i, width, height, i * intheight, (i + 1) * intheight, intervals); int_stack.push(newint); } engine = null; engine = new C3DRenderingEngine[keys.length]; C3DRenderingEngine tmp; if (keys != null) { for (int e = 0; e < keys.length; e++) { /* Assigns one initial interval to each engine */ if (!int_stack.empty()) { interval = (Interval) int_stack.pop(); tmp = (C3DRenderingEngine) h_engines.get(keys[e]); if (tmp != null) { tmp.setScene(scene); engine[e] = tmp; /* Triggers the calculation of this interval on engine e */ tmp.render(e, interval); log( "Interval " + interval.number + " assigned to engine " + keys[e] + "[" + e + "]"); } else { log( "Failed to assign an interval to engine " + keys[e]); h_engines.get(keys[e]); } } } } else b_render = false; } | 23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/80a90996a87b23c561b5cc820ea57e1356c218b2/C3DDispatcher.java/clean/src/org/objectweb/proactive/examples/c3d/C3DDispatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1743,
1435,
202,
95,
202,
202,
759,
13074,
1915,
854,
2690,
20504,
584,
323,
202,
202,
430,
261,
549,
67,
275,
14660,
6668,
18,
588,
3126,
7675,
2469,
422,
374,
13,
202,
202,
95,
1082,
202,
4500,
1079,
1595,
2932,
2279,
20504,
1372,
5388,
326,
7393,
8863,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
759,
399,
23972,
1040,
326,
9782,
2982,
838,
202,
202,
70,
67,
5902,
273,
638,
31,
202,
202,
759,
21854,
310,
10769,
2777,
202,
202,
1937,
950,
273,
2332,
18,
2972,
28512,
5621,
202,
202,
4006,
3673,
31,
202,
202,
780,
1311,
8526,
273,
4501,
67,
275,
14660,
6668,
18,
588,
3126,
5621,
202,
202,
275,
14660,
273,
1311,
18,
2469,
31,
202,
202,
1330,
2932,
11092,
315,
397,
10389,
397,
315,
10389,
8863,
202,
202,
19812,
273,
890,
380,
1311,
18,
2469,
31,
202,
202,
267,
451,
1274,
273,
2072,
342,
10389,
31,
202,
202,
20308,
11511,
326,
1300,
434,
10389,
486,
4671,
8894,
358,
296,
454,
11,
1195,
202,
202,
77,
67,
4482,
273,
10389,
31,
202,
202,
20308,
10210,
326,
3673,
2110,
1195,
202,
202,
474,
67,
3772,
273,
394,
7283,
5621,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
10389,
31,
277,
27245,
202,
202,
95,
1082,
202,
759,
1377,
613,
2932,
11092,
1554,
294,
13773,
77,
1769,
1082,
202,
4006,
394,
474,
273,
9506,
202,
2704,
10803,
12,
6862,
202,
77,
16,
6862,
202,
2819,
16,
6862,
202,
4210,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1743,
1435,
202,
95,
202,
202,
759,
13074,
1915,
854,
2690,
20504,
584,
323,
202,
202,
430,
261,
549,
67,
275,
14660,
6668,
18,
588,
3126,
7675,
2469,
422,
374,
13,
202,
202,
95,
1082,
202,
4500,
1079,
1595,
2932,
2279,
20504,
1372,
5388,
326,
7393,
8863,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
759,
399,
23972,
1040,
326,
9782,
2982,
838,
202,
202,
70,
67,
5902,
273,
638,
31,
202,
202,
759,
21854,
310,
10769,
2777,
202,
202,
1937,
950,
273,
2332,
18,
2972,
28512,
5621,
202,
202,
4006,
3673,
31,
202,
202,
780,
1311,
8526,
273,
4501,
67,
275,
14660,
6668,
18,
588,
3126,
5621,
202,
202,
275,
14660,
273,
1311,
2
] |
List allowedWindowStates = appConfig.getAllowedWindowStates(); windowStates = new String[allowedWindowStates.size()]; for (int i = 0; i < allowedWindowStates.size(); i++) { PortletWindow.State state = (PortletWindow.State)allowedWindowStates.get(i); windowStates[i] = state.toString(); } | allowedWindowStates = appConfig.getAllowedWindowStates(); | protected void doConfig() { PortletRegistry registryManager = PortletRegistry.getInstance(); String appID = registryManager.getApplicationPortletID(portletClass); ApplicationPortlet appPortlet = registryManager.getApplicationPortlet(appID); if (appPortlet != null) { ApplicationPortletConfig appConfig = appPortlet.getApplicationPortletConfig(); // get supported modes from application portlet config List supportedModes = appConfig.getSupportedModes(); portletModes = new String[supportedModes.size()]; for (int i = 0; i < supportedModes.size(); i++) { Portlet.Mode mode = (Portlet.Mode)supportedModes.get(i); portletModes[i] = mode.toString(); } ConcretePortlet concPortlet = appPortlet.getConcretePortlet(portletClass); settings = concPortlet.getPortletSettings(); // get window states from application portlet config List allowedWindowStates = appConfig.getAllowedWindowStates(); windowStates = new String[allowedWindowStates.size()]; for (int i = 0; i < allowedWindowStates.size(); i++) { PortletWindow.State state = (PortletWindow.State)allowedWindowStates.get(i); windowStates[i] = state.toString(); } } } | 49343 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49343/4a73adddfedc05843450521dfaa7d0a6af1f5a3a/PortletTitleBar.java/buggy/src/org/gridlab/gridsphere/layout/PortletTitleBar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
809,
1435,
288,
3639,
21305,
4243,
4023,
1318,
273,
21305,
4243,
18,
588,
1442,
5621,
3639,
514,
24411,
273,
4023,
1318,
18,
588,
3208,
18566,
734,
12,
655,
1810,
797,
1769,
3639,
4257,
18566,
595,
18566,
273,
4023,
1318,
18,
588,
3208,
18566,
12,
2910,
734,
1769,
3639,
309,
261,
2910,
18566,
480,
446,
13,
288,
5411,
4257,
18566,
809,
20782,
273,
595,
18566,
18,
588,
3208,
18566,
809,
5621,
5411,
368,
336,
3260,
12382,
628,
2521,
13114,
642,
5411,
987,
3260,
18868,
273,
20782,
18,
588,
7223,
18868,
5621,
5411,
13114,
18868,
273,
394,
514,
63,
4127,
18868,
18,
1467,
1435,
15533,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
3260,
18868,
18,
1467,
5621,
277,
27245,
288,
7734,
21305,
18,
2309,
1965,
273,
261,
18566,
18,
2309,
13,
4127,
18868,
18,
588,
12,
77,
1769,
7734,
13114,
18868,
63,
77,
65,
273,
1965,
18,
10492,
5621,
5411,
289,
5411,
735,
6883,
18566,
20570,
18566,
273,
595,
18566,
18,
588,
25845,
18566,
12,
655,
1810,
797,
1769,
5411,
1947,
273,
20570,
18566,
18,
588,
18566,
2628,
5621,
5411,
368,
336,
2742,
5493,
628,
2521,
13114,
642,
5411,
987,
2935,
3829,
7629,
273,
20782,
18,
588,
5042,
3829,
7629,
5621,
5411,
2742,
7629,
273,
394,
514,
63,
8151,
3829,
7629,
18,
1467,
1435,
15533,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2935,
3829,
7629,
18,
1467,
5621,
277,
27245,
288,
7734,
21305,
3829,
18,
1119,
919,
273,
261,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
809,
1435,
288,
3639,
21305,
4243,
4023,
1318,
273,
21305,
4243,
18,
588,
1442,
5621,
3639,
514,
24411,
273,
4023,
1318,
18,
588,
3208,
18566,
734,
12,
655,
1810,
797,
1769,
3639,
4257,
18566,
595,
18566,
273,
4023,
1318,
18,
588,
3208,
18566,
12,
2910,
734,
1769,
3639,
309,
261,
2910,
18566,
480,
446,
13,
288,
5411,
4257,
18566,
809,
20782,
273,
595,
18566,
18,
588,
3208,
18566,
809,
5621,
5411,
368,
336,
3260,
12382,
628,
2521,
13114,
642,
5411,
987,
3260,
18868,
273,
20782,
18,
588,
7223,
18868,
5621,
5411,
13114,
18868,
273,
394,
514,
63,
4127,
18868,
18,
1467,
1435,
15533,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
3260,
18868,
2
] |
System.out.println(": " + node.getName()); | RubyPlugin.log(": " + node.getName()); | public void visitFCallNode(FCallNode node) { visitNode(node); System.out.println(": " + node.getName()); } | 13291 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13291/f0d2d3f9a041e8e3a638a130b978aa15445aac51/JRubyParser.java/clean/src/org/jedit/ruby/JRubyParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
42,
1477,
907,
12,
42,
1477,
907,
756,
13,
288,
5411,
3757,
907,
12,
2159,
1769,
5411,
19817,
3773,
18,
1330,
2932,
30,
315,
397,
756,
18,
17994,
10663,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
42,
1477,
907,
12,
42,
1477,
907,
756,
13,
288,
5411,
3757,
907,
12,
2159,
1769,
5411,
19817,
3773,
18,
1330,
2932,
30,
315,
397,
756,
18,
17994,
10663,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return stripe; | protected Stripe makeStripeForJavaMember(IJavaElement member){ Stripe stripe = new Stripe(); IMylarElement memberContextNode = MylarPlugin.getContextManager().getElement(member.getHandleIdentifier()); if (memberContextNode != null){ int stripeDepth = 1; if (member instanceof IMethod){ stripeDepth = Util.getLength((IMethod)member); } stripe.setDepth(stripeDepth); int offset = 0; if (member instanceof ISourceReference){ try { offset = JDTUtils.getLineNumber(Util.getCompilationUnit(member), ((ISourceReference)member).getSourceRange().getOffset()); } catch (JavaModelException e) { MylarPlugin.fail(e, "could not get member line number",false); } } stripe.setOffset(offset); List<IMarkupKind> kindList = new ArrayList<IMarkupKind>(); if (memberContextNode.getDegreeOfInterest().isLandmark()){ kindList.add(landmarkKind); } else if(memberContextNode.getDegreeOfInterest().isInteresting()){ kindList.add(interestingKind); } stripe.setKinds(kindList); } return stripe; } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/75a7af17198a7839c562452f3c20b50b76b5b894/JavaContextMarkupProvider.java/clean/sandbox/org.eclipse.mylyn.viz/src/org/eclipse/mylyn/viz/seesoft/JavaContextMarkupProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
21566,
1221,
18275,
1290,
5852,
4419,
12,
45,
5852,
1046,
3140,
15329,
202,
202,
18275,
14268,
273,
394,
21566,
5621,
202,
202,
3445,
93,
7901,
1046,
3140,
1042,
907,
273,
8005,
7901,
3773,
18,
29120,
1318,
7675,
21336,
12,
5990,
18,
588,
3259,
3004,
10663,
202,
202,
430,
261,
5990,
1042,
907,
480,
446,
15329,
25083,
202,
474,
14268,
6148,
273,
404,
31,
1082,
202,
430,
261,
5990,
1276,
467,
1305,
15329,
9506,
202,
26991,
6148,
273,
3564,
18,
588,
1782,
12443,
45,
1305,
13,
5990,
1769,
1082,
202,
97,
1082,
202,
26991,
18,
542,
6148,
12,
26991,
6148,
1769,
25083,
202,
474,
1384,
273,
374,
31,
1082,
202,
430,
261,
5990,
1276,
467,
1830,
2404,
15329,
9506,
202,
698,
288,
6862,
202,
3348,
273,
804,
9081,
1989,
18,
588,
31063,
12,
1304,
18,
588,
19184,
2802,
12,
5990,
3631,
225,
14015,
45,
1830,
2404,
13,
5990,
2934,
588,
1830,
2655,
7675,
588,
2335,
10663,
9506,
202,
97,
1044,
261,
5852,
1488,
503,
425,
13,
288,
6862,
202,
12062,
7901,
3773,
18,
6870,
12,
73,
16,
315,
15195,
486,
336,
3140,
980,
1300,
3113,
5743,
1769,
9506,
202,
97,
1082,
202,
97,
1082,
202,
26991,
18,
542,
2335,
12,
3348,
1769,
25083,
202,
682,
32,
3445,
1313,
416,
5677,
34,
3846,
682,
273,
394,
2407,
32,
3445,
1313,
416,
5677,
34,
5621,
1082,
202,
430,
261,
5990,
1042,
907,
18,
588,
22885,
951,
29281,
7675,
291,
29398,
3355,
10756,
95,
9506,
202,
9224,
682,
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,
21566,
1221,
18275,
1290,
5852,
4419,
12,
45,
5852,
1046,
3140,
15329,
202,
202,
18275,
14268,
273,
394,
21566,
5621,
202,
202,
3445,
93,
7901,
1046,
3140,
1042,
907,
273,
8005,
7901,
3773,
18,
29120,
1318,
7675,
21336,
12,
5990,
18,
588,
3259,
3004,
10663,
202,
202,
430,
261,
5990,
1042,
907,
480,
446,
15329,
25083,
202,
474,
14268,
6148,
273,
404,
31,
1082,
202,
430,
261,
5990,
1276,
467,
1305,
15329,
9506,
202,
26991,
6148,
273,
3564,
18,
588,
1782,
12443,
45,
1305,
13,
5990,
1769,
1082,
202,
97,
1082,
202,
26991,
18,
542,
6148,
12,
26991,
6148,
1769,
25083,
202,
474,
1384,
273,
374,
31,
1082,
202,
430,
261,
5990,
1276,
467,
1830,
2404,
2
] |
|
return ( (ReportDesign) module ).collectPropValues( BODY_SLOT, | List tocs = ( (ReportDesign) module ).collectPropValues( BODY_SLOT, | public List getAllTocs( ) { return ( (ReportDesign) module ).collectPropValues( BODY_SLOT, IReportItemModel.TOC_PROP ); } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/8529bccfd675ca4ba8b0642f4a2b0f94ae7c57ae/ReportDesignHandle.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ReportDesignHandle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
987,
5514,
56,
22280,
12,
262,
202,
95,
202,
202,
2463,
261,
261,
4820,
15478,
13,
1605,
262,
18,
14676,
4658,
1972,
12,
30580,
67,
55,
1502,
56,
16,
9506,
202,
45,
4820,
1180,
1488,
18,
4296,
39,
67,
15811,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
95,
202,
202,
2463,
261,
261,
4820,
15478,
13,
1605,
262,
18,
14676,
4658,
1972,
12,
30580,
67,
55,
1502,
56,
16,
9506,
202,
45,
4820,
1180,
1488,
18,
4296,
39,
67,
15811,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public static boolean copyFile(String resPath, File dstFile) { try { BufferedInputStream bis = new BufferedInputStream( Util.class.getResourceAsStream(resPath)); FileOutputStream fos = new FileOutputStream(dstFile); int offset = 0, len = 0; byte[] buffer = new byte[2 * 1024]; while ((len = bis.read(buffer, 0, buffer.length)) != -1) { fos.write(buffer, 0, len); offset += len; } bis.close(); fos.flush(); fos.close(); return true; } catch (Exception e) { e.printStackTrace(); } return false; } | 8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/6c6a574b8da6a8f7989e99ea78e4db5cb63abe6b/Util.java/buggy/tag-doc/src/java/org/apache/struts/taskdefs/Util.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3845,
6494,
3530,
812,
12,
780,
455,
743,
16,
812,
11057,
812,
15329,
202,
202,
698,
95,
1082,
202,
17947,
4348,
70,
291,
33,
9506,
202,
2704,
17947,
4348,
12,
6862,
202,
1304,
18,
1106,
18,
588,
1420,
17052,
12,
455,
743,
10019,
1082,
202,
812,
4632,
5075,
33,
2704,
812,
4632,
12,
11057,
812,
1769,
1082,
202,
474,
3348,
33,
20,
16,
1897,
33,
20,
31,
1082,
202,
7229,
8526,
4106,
33,
2704,
7229,
63,
22,
14,
2163,
3247,
15533,
1082,
202,
17523,
12443,
1897,
33,
70,
291,
18,
896,
12,
4106,
16,
20,
16,
4106,
18,
2469,
3719,
5,
29711,
21,
15329,
9506,
202,
5075,
18,
2626,
12,
4106,
16,
20,
16,
1897,
1769,
9506,
202,
3348,
15,
33,
1897,
31,
1082,
202,
97,
1082,
202,
70,
291,
18,
4412,
5621,
1082,
202,
5075,
18,
11330,
5621,
1082,
202,
5075,
18,
4412,
5621,
1082,
202,
2463,
3767,
31,
202,
202,
97,
14683,
12,
503,
73,
15329,
1082,
202,
73,
18,
1188,
6332,
5621,
202,
202,
97,
202,
202,
2463,
5743,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3845,
6494,
3530,
812,
12,
780,
455,
743,
16,
812,
11057,
812,
15329,
202,
202,
698,
95,
1082,
202,
17947,
4348,
70,
291,
33,
9506,
202,
2704,
17947,
4348,
12,
6862,
202,
1304,
18,
1106,
18,
588,
1420,
17052,
12,
455,
743,
10019,
1082,
202,
812,
4632,
5075,
33,
2704,
812,
4632,
12,
11057,
812,
1769,
1082,
202,
474,
3348,
33,
20,
16,
1897,
33,
20,
31,
1082,
202,
7229,
8526,
4106,
33,
2704,
7229,
63,
22,
14,
2163,
3247,
15533,
1082,
202,
17523,
12443,
1897,
33,
70,
291,
18,
896,
12,
4106,
16,
20,
16,
4106,
18,
2469,
3719,
5,
29711,
21,
15329,
9506,
202,
5075,
18,
2626,
12,
4106,
16,
20,
16,
1897,
1769,
2
] |
||
myIsClosed = true; synchronized(myEvents) { myEvents.notifyAll(); | finally { myLock.unlock(); | public void close(){ if (LOG.isDebugEnabled()) { LOG.debug("events closed"); } myIsClosed = true; synchronized(myEvents) { myEvents.notifyAll(); } } | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/cd5bc138fc1fbe0ffe6958108bcd4095f94cb67b/EventQueue.java/buggy/debugger/impl/com/intellij/debugger/impl/EventQueue.java | [
1,
8585,
326,
22398,
316,
326,
981,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1746,
1435,
95,
565,
309,
261,
4842,
18,
291,
2829,
1526,
10756,
288,
1377,
2018,
18,
4148,
2932,
5989,
4375,
8863,
565,
289,
565,
3399,
2520,
7395,
273,
638,
31,
565,
3852,
12,
4811,
3783,
13,
288,
1377,
3399,
3783,
18,
12336,
1595,
5621,
565,
289,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 (curLine.controls.size() > 0) | if (curLine.controls.size() > 0) { | private List computeWrappedTrim(TrimArea trimArea, int majorHint) { boolean horizontal = trimArea.orientation == SWT.TOP || trimArea.orientation == SWT.BOTTOM; // Return a list of 'lines' to tile the control into... List lines = new ArrayList(); TrimLine curLine = new TrimLine(); lines.add(curLine); curLine.minorMax = trimArea.defaultMinor; // Init the tilePos to force a 'new' line int tilePos = 0; for (Iterator iter = trimArea.trimContents.iterator(); iter.hasNext();) { Control control = (Control) iter.next(); TrimLayoutData td = (TrimLayoutData) control.getLayoutData(); Point prefSize; if (horizontal) prefSize = control.computeSize(majorHint, SWT.DEFAULT); else prefSize = control.computeSize(SWT.DEFAULT, majorHint); // Will this control fit onto the current line? int curTileSize = horizontal ? prefSize.x : prefSize.y; // every control except the first one needs to include the 'spacing' // in the calc if (curLine.controls.size() > 0) curTileSize += spacing; // If the control can be re-positioned then we have to add a drag // handle to it // we have to include the space that it'll occupy in the calcs if (td.listener != null) curTileSize += horizontal ? horizontalHandleSize : verticalHandleSize; // Place the control into the 'current' line if it'll fit (or if // it's the // -first- control (this handles the case where a control is too // large to // fit into the current TrimArea's 'major' size. if ((tilePos + curTileSize) <= majorHint || curLine.controls.size() == 0) { curLine.controls.add(control); // Cache the maximum amount of 'minor' space needed int minorSize = horizontal ? prefSize.y : prefSize.x; if (minorSize > curLine.minorMax) curLine.minorMax = minorSize; tilePos += curTileSize; } else { // Remember how much space was left on the current line curLine.extraSpace = majorHint - tilePos; // We need a new line... curLine = new TrimLine(); lines.add(curLine); curLine.controls.add(control); // Cache the maximum amount of 'minor' space needed int minorSize = horizontal ? prefSize.y : prefSize.x; if (minorSize > curLine.minorMax) curLine.minorMax = minorSize; tilePos = curTileSize; } // Count how many 'resizable' controls there are if ((td.flags & TrimLayoutData.GROWABLE) != 0) curLine.resizableCount++; } // Remember how much space was left on the current line curLine.extraSpace = majorHint - tilePos; return lines; } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/WorkbenchLayout.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
987,
3671,
17665,
14795,
12,
14795,
5484,
2209,
5484,
16,
509,
7888,
7002,
13,
288,
202,
202,
6494,
10300,
273,
2209,
5484,
18,
19235,
422,
348,
8588,
18,
10462,
9506,
202,
20081,
2209,
5484,
18,
19235,
422,
348,
8588,
18,
28891,
31,
202,
202,
759,
2000,
279,
666,
434,
296,
3548,
11,
358,
4769,
326,
3325,
1368,
2777,
202,
202,
682,
2362,
273,
394,
2407,
5621,
202,
202,
14795,
1670,
662,
1670,
273,
394,
7105,
1670,
5621,
202,
202,
3548,
18,
1289,
12,
1397,
1670,
1769,
202,
202,
1397,
1670,
18,
17364,
2747,
273,
2209,
5484,
18,
1886,
19549,
31,
202,
202,
759,
4378,
326,
4769,
1616,
358,
2944,
279,
296,
2704,
11,
980,
202,
202,
474,
4769,
1616,
273,
374,
31,
202,
202,
1884,
261,
3198,
1400,
273,
2209,
5484,
18,
5290,
6323,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
1082,
202,
3367,
3325,
273,
261,
3367,
13,
1400,
18,
4285,
5621,
1082,
202,
14795,
3744,
751,
6655,
273,
261,
14795,
3744,
751,
13,
3325,
18,
588,
3744,
751,
5621,
1082,
202,
2148,
11307,
1225,
31,
1082,
202,
430,
261,
18396,
13,
9506,
202,
25724,
1225,
273,
3325,
18,
9200,
1225,
12,
14019,
7002,
16,
348,
8588,
18,
5280,
1769,
1082,
202,
12107,
9506,
202,
25724,
1225,
273,
3325,
18,
9200,
1225,
12,
55,
8588,
18,
5280,
16,
7888,
7002,
1769,
1082,
202,
759,
9980,
333,
3325,
4845,
10170,
326,
783,
980,
35,
1082,
202,
474,
662,
9337,
1225,
273,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
987,
3671,
17665,
14795,
12,
14795,
5484,
2209,
5484,
16,
509,
7888,
7002,
13,
288,
202,
202,
6494,
10300,
273,
2209,
5484,
18,
19235,
422,
348,
8588,
18,
10462,
9506,
202,
20081,
2209,
5484,
18,
19235,
422,
348,
8588,
18,
28891,
31,
202,
202,
759,
2000,
279,
666,
434,
296,
3548,
11,
358,
4769,
326,
3325,
1368,
2777,
202,
202,
682,
2362,
273,
394,
2407,
5621,
202,
202,
14795,
1670,
662,
1670,
273,
394,
7105,
1670,
5621,
202,
202,
3548,
18,
1289,
12,
1397,
1670,
1769,
202,
202,
1397,
1670,
18,
17364,
2747,
273,
2209,
5484,
18,
1886,
19549,
31,
202,
202,
759,
4378,
326,
4769,
1616,
358,
2944,
279,
296,
2704,
11,
980,
202,
202,
2
] |
SimpleParticleInfluenceFactory.createBasicDrag(1f)); | SimpleParticleInfluenceFactory.createBasicGravity( new Vector3f(Vector3f.ZERO))); | public void actionPerformed(ActionEvent e) { particleMesh.addInfluence( SimpleParticleInfluenceFactory.createBasicDrag(1f)); int idx = particleMesh.getInfluences().size() - 1; influenceModel.fireIntervalAdded(idx, idx); influenceList.setSelectedIndex(idx); } | 8059 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8059/f32ea71a9e345e9061f008ac4d925c767c9bce1a/RenParticleEditor.java/buggy/projects/pseditor/src/java/jmetest/effects/RenParticleEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
7734,
20036,
16748,
18,
1289,
27040,
23209,
12,
10792,
4477,
1988,
3711,
27040,
23209,
1733,
18,
2640,
8252,
14571,
16438,
12,
394,
5589,
23,
74,
12,
5018,
23,
74,
18,
24968,
3719,
1769,
7734,
509,
2067,
273,
20036,
16748,
18,
588,
27040,
89,
2369,
7675,
1467,
1435,
300,
404,
31,
7734,
13947,
23209,
1488,
18,
12179,
4006,
8602,
12,
3465,
16,
2067,
1769,
7734,
13947,
23209,
682,
18,
542,
7416,
1016,
12,
3465,
1769,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
7734,
20036,
16748,
18,
1289,
27040,
23209,
12,
10792,
4477,
1988,
3711,
27040,
23209,
1733,
18,
2640,
8252,
14571,
16438,
12,
394,
5589,
23,
74,
12,
5018,
23,
74,
18,
24968,
3719,
1769,
7734,
509,
2067,
273,
20036,
16748,
18,
588,
27040,
89,
2369,
7675,
1467,
1435,
300,
404,
31,
7734,
13947,
23209,
1488,
18,
12179,
4006,
8602,
12,
3465,
16,
2067,
1769,
7734,
13947,
23209,
682,
18,
542,
7416,
1016,
12,
3465,
1769,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public DefaultGrailsDomainClass(Class clazz) { super(clazz, ""); PropertyDescriptor[] propertyDescriptors = getReference().getPropertyDescriptors(); if(!clazz.getSuperclass().equals( GroovyObject.class ) && !clazz.getSuperclass().equals(Object.class) && !Modifier.isAbstract(clazz.getSuperclass().getModifiers())) { this.root = false; } this.propertyMap = new HashMap(); this.relationshipMap = getAssociationMap(); // get mapped by setting if(getPropertyOrStaticPropertyOrFieldValue(GrailsDomainClassProperty.MAPPED_BY, String.class) != null) this.mappedBy = (String)getPropertyOrStaticPropertyOrFieldValue(GrailsDomainClassProperty.MAPPED_BY, String.class); Class belongsTo = (Class)getPropertyOrStaticPropertyOrFieldValue(GrailsDomainClassProperty.BELONGS_TO, Class.class); if(belongsTo == null) { List ownersProp = (List)getPropertyOrStaticPropertyOrFieldValue(GrailsDomainClassProperty.BELONGS_TO, List.class); if(ownersProp != null) { this.owners = ownersProp; } } else { this.owners = new ArrayList(); this.owners.add(belongsTo); } // First go through the properties of the class and create domain properties // populating into a map for(int i = 0; i < propertyDescriptors.length; i++) { PropertyDescriptor descriptor = propertyDescriptors[i]; // ignore certain properties if(isNotConfigurational(descriptor) ) { GrailsDomainClassProperty property = new DefaultGrailsDomainClassProperty(this, descriptor); this.propertyMap.put(property.getName(), property); if(property.isIdentity()) { this.identifier = property; } else if(property.getName().equals( GrailsDomainClassProperty.VERSION )) { this.version = property; } } } // if no identifier property throw exception if(this.identifier == null) { throw new GrailsDomainException("Identity property not found, but required in domain class ["+getFullName()+"]" ); } // if no version property throw exception if(this.version == null) { throw new GrailsDomainException("Version property not found, but required in domain class ["+getFullName()+"]" ); } // set properties from map values this.properties = (GrailsDomainClassProperty[])this.propertyMap.values().toArray( new GrailsDomainClassProperty[this.propertyMap.size()] ); // establish relationships establishRelationships(); // set persistant properties Collection tempList = new ArrayList(); for(Iterator i = this.propertyMap.values().iterator();i.hasNext();) { GrailsDomainClassProperty currentProp = (GrailsDomainClassProperty)i.next(); if(currentProp.isPersistent() && !currentProp.isIdentity() && !currentProp.getName().equals( GrailsDomainClassProperty.VERSION )) { tempList.add(currentProp); } } this.persistantProperties = (GrailsDomainClassProperty[])tempList.toArray( new GrailsDomainClassProperty[tempList.size()]); // process the constraints evaluateConstraints(); } | 50670 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50670/6c47cbe485713fe8d2b500632651590033abed59/DefaultGrailsDomainClass.java/clean/src/commons/org/codehaus/groovy/grails/commons/DefaultGrailsDomainClass.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
2989,
14571,
14573,
3748,
797,
12,
797,
4003,
13,
288,
9565,
12,
830,
3638,
16,
1408,
1769,
1396,
3187,
8526,
1272,
12705,
273,
13223,
7675,
588,
1396,
12705,
5621,
430,
12,
5,
830,
3638,
18,
588,
28471,
7675,
14963,
12,
20841,
921,
18,
1106,
262,
597,
401,
830,
3638,
18,
588,
28471,
7675,
14963,
12,
921,
18,
1106,
13,
597,
401,
9829,
18,
291,
7469,
12,
830,
3638,
18,
588,
28471,
7675,
588,
11948,
1435,
3719,
288,
2211,
18,
3085,
273,
629,
31,
97,
2211,
18,
4468,
863,
273,
394,
4317,
5621,
2211,
18,
12873,
863,
273,
29403,
863,
5621,
759,
336,
5525,
635,
3637,
430,
12,
588,
1396,
1162,
5788,
1396,
1162,
13559,
12,
14571,
14573,
3748,
797,
1396,
18,
8352,
12120,
67,
6486,
16,
514,
18,
1106,
13,
480,
446,
13,
2211,
18,
13654,
858,
273,
261,
780,
13,
588,
1396,
1162,
5788,
1396,
1162,
13559,
12,
14571,
14573,
3748,
797,
1396,
18,
8352,
12120,
67,
6486,
16,
514,
18,
1106,
1769,
797,
11081,
774,
273,
261,
797,
13,
588,
1396,
1162,
5788,
1396,
1162,
13559,
12,
14571,
14573,
3748,
797,
1396,
18,
38,
2247,
7390,
55,
67,
4296,
16,
1659,
18,
1106,
1769,
430,
12,
13285,
27192,
422,
446,
13,
288,
682,
25937,
4658,
273,
261,
682,
13,
588,
1396,
1162,
5788,
1396,
1162,
13559,
12,
14571,
14573,
3748,
797,
1396,
18,
38,
2247,
7390,
55,
67,
4296,
16,
987,
18,
1106,
1769,
430,
12,
995,
414,
4658,
480,
446,
13,
288,
2211,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
2989,
14571,
14573,
3748,
797,
12,
797,
4003,
13,
288,
9565,
12,
830,
3638,
16,
1408,
1769,
1396,
3187,
8526,
1272,
12705,
273,
13223,
7675,
588,
1396,
12705,
5621,
430,
12,
5,
830,
3638,
18,
588,
28471,
7675,
14963,
12,
20841,
921,
18,
1106,
262,
597,
401,
830,
3638,
18,
588,
28471,
7675,
14963,
12,
921,
18,
1106,
13,
597,
401,
9829,
18,
291,
7469,
12,
830,
3638,
18,
588,
28471,
7675,
588,
11948,
1435,
3719,
288,
2211,
18,
3085,
273,
629,
31,
97,
2211,
18,
4468,
863,
273,
394,
4317,
5621,
2211,
18,
12873,
863,
273,
29403,
863,
5621,
759,
336,
5525,
635,
3637,
430,
12,
588,
1396,
1162,
5788,
1396,
1162,
13559,
12,
14571,
14573,
3748,
2
] |
||
} if ( debugOut == null ) debugOut = new PrintWriter(System.out, true); } } } | } if ( debugOut == null ) debugOut = new PrintWriter(System.out, true); } } } | public static void checkTracing() { if ( debugOut == null ) { int trace = MondrianProperties.instance().getTraceLevel(); if (trace > 0) { String debugOutFile = MondrianProperties.instance().getProperty(MondrianProperties.DebugOutFile); if ( debugOutFile != null ) { File f; try { f = new File(debugOutFile); debugOut = new PrintWriter(new FileOutputStream(f), true); } catch (Exception e) { // don't care, use System.out } } if ( debugOut == null ) debugOut = new PrintWriter(System.out, true); } } } | 51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/b5b5168edc3af09cb74945a80b0c36e6630ed502/RolapUtil.java/clean/src/main/mondrian/rolap/RolapUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
866,
3403,
1435,
288,
202,
202,
430,
261,
1198,
1182,
422,
446,
262,
288,
1082,
202,
474,
2606,
273,
490,
1434,
566,
304,
2297,
18,
1336,
7675,
588,
3448,
2355,
5621,
1082,
202,
430,
261,
5129,
405,
374,
13,
288,
9506,
202,
780,
1198,
1182,
812,
273,
6862,
225,
490,
1434,
566,
304,
2297,
18,
1336,
7675,
588,
1396,
12,
49,
1434,
566,
304,
2297,
18,
2829,
1182,
812,
1769,
9506,
202,
430,
261,
1198,
1182,
812,
480,
446,
262,
288,
6862,
202,
812,
284,
31,
1850,
775,
288,
25083,
202,
74,
273,
394,
1387,
12,
4148,
1182,
812,
1769,
25083,
202,
4148,
1182,
273,
394,
14071,
12,
2704,
12942,
12,
74,
3631,
638,
1769,
1850,
289,
1044,
261,
503,
425,
13,
288,
5411,
368,
2727,
1404,
7671,
16,
999,
2332,
18,
659,
1850,
289,
9506,
202,
97,
9506,
202,
430,
261,
1198,
1182,
422,
446,
262,
282,
9506,
202,
4148,
1182,
273,
394,
14071,
12,
3163,
18,
659,
16,
638,
1769,
1082,
202,
97,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
866,
3403,
1435,
288,
202,
202,
430,
261,
1198,
1182,
422,
446,
262,
288,
1082,
202,
474,
2606,
273,
490,
1434,
566,
304,
2297,
18,
1336,
7675,
588,
3448,
2355,
5621,
1082,
202,
430,
261,
5129,
405,
374,
13,
288,
9506,
202,
780,
1198,
1182,
812,
273,
6862,
225,
490,
1434,
566,
304,
2297,
18,
1336,
7675,
588,
1396,
12,
49,
1434,
566,
304,
2297,
18,
2829,
1182,
812,
1769,
9506,
202,
430,
261,
1198,
1182,
812,
480,
446,
262,
288,
6862,
202,
812,
284,
31,
1850,
775,
288,
25083,
202,
74,
273,
394,
1387,
12,
4148,
1182,
812,
1769,
25083,
202,
4148,
1182,
273,
394,
14071,
12,
2704,
12942,
12,
74,
3631,
638,
2
] |
printLine( text.replaceAll( "<br>", LINE_BREAK ).replaceAll( "<(p|blockquote)>", LINE_BREAK + LINE_BREAK ).replaceAll( LINE_BREAK + "(" + LINE_BREAK + ")+", LINE_BREAK + LINE_BREAK ).replaceAll( "<.*?>", "" ).replaceAll( " ", " " ).replaceAll( "™", " [tm]" ).replaceAll( "ñ", "n" ).replaceAll( """, "" ) ); | String displayText = text.replaceAll( "<br>", "\n" ).replaceAll( "<(p|blockquote)>", "\n\n" ); displayText = Pattern.compile( "<.*?>", Pattern.DOTALL ).matcher( displayText ).replaceAll( "" ); displayText = displayText.replaceAll( " ", " " ).replaceAll( "™", " [tm]" ).replaceAll( "ñ", "n" ).replaceAll( """, "" ); displayText = displayText.replaceAll( "[\r\n]", "\n" ).replaceAll( "\n\\s+", "\n\n" ); displayText = displayText.replaceAll( "\n\n\n+", "\n\n" ).replaceAll( "\n", LINE_BREAK ); printLine( displayText.trim() ); | public void showHTML( String text, String title ) { printLine( text.replaceAll( "<br>", LINE_BREAK ).replaceAll( "<(p|blockquote)>", LINE_BREAK + LINE_BREAK ).replaceAll( LINE_BREAK + "(" + LINE_BREAK + ")+", LINE_BREAK + LINE_BREAK ).replaceAll( "<.*?>", "" ).replaceAll( " ", " " ).replaceAll( "™", " [tm]" ).replaceAll( "ñ", "n" ).replaceAll( """, "" ) ); } | 50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/9e70c52814631c9a31c99c280d8ad4968c6540fc/KoLmafiaCLI.java/clean/src/net/sourceforge/kolmafia/KoLmafiaCLI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2405,
4870,
12,
514,
977,
16,
514,
2077,
262,
202,
95,
202,
202,
1188,
1670,
12,
977,
18,
2079,
1595,
12,
3532,
2848,
2984,
16,
14340,
67,
27960,
262,
18,
2079,
1595,
12,
3532,
12,
84,
96,
2629,
6889,
13,
2984,
16,
14340,
67,
27960,
397,
14340,
67,
27960,
262,
18,
2079,
1595,
12,
1082,
202,
5997,
67,
27960,
397,
12452,
397,
14340,
67,
27960,
397,
9369,
15,
3113,
14340,
67,
27960,
397,
14340,
67,
27960,
262,
18,
2079,
1595,
12,
3532,
23498,
2984,
16,
1408,
262,
18,
2079,
1595,
12,
7830,
10600,
31,
3113,
315,
315,
262,
18,
2079,
1595,
12,
1082,
202,
6,
10,
20077,
31,
3113,
315,
306,
16925,
4279,
262,
18,
2079,
1595,
12,
7830,
9018,
323,
31,
3113,
315,
82,
6,
262,
18,
2079,
1595,
12,
7830,
9270,
31,
3113,
1408,
262,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2405,
4870,
12,
514,
977,
16,
514,
2077,
262,
202,
95,
202,
202,
1188,
1670,
12,
977,
18,
2079,
1595,
12,
3532,
2848,
2984,
16,
14340,
67,
27960,
262,
18,
2079,
1595,
12,
3532,
12,
84,
96,
2629,
6889,
13,
2984,
16,
14340,
67,
27960,
397,
14340,
67,
27960,
262,
18,
2079,
1595,
12,
1082,
202,
5997,
67,
27960,
397,
12452,
397,
14340,
67,
27960,
397,
9369,
15,
3113,
14340,
67,
27960,
397,
14340,
67,
27960,
262,
18,
2079,
1595,
12,
3532,
23498,
2984,
16,
1408,
262,
18,
2079,
1595,
12,
7830,
10600,
31,
3113,
315,
315,
262,
18,
2079,
1595,
12,
1082,
202,
6,
10,
20077,
31,
3113,
315,
306,
16925,
4279,
262,
18,
2
] |
this.index = index; | index = -1; | PathQuery(String path, int type, int index) { if (path == null) { throw new NullPointerException("path"); } if (type < PathQueryNode.TYPE_EXACT || type > PathQueryNode.TYPE_DESCENDANT) { throw new IllegalArgumentException("type: " + type); } if (index < 1) { throw new IllegalArgumentException("index: " + index); } this.path = path; this.type = type; this.index = index; } | 48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/06e4b9f6c32e55c8a398ee9f50e20ac6d16c78f3/PathQuery.java/buggy/src/java/org/apache/jackrabbit/core/search/lucene/PathQuery.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
2666,
1138,
12,
780,
589,
16,
509,
618,
16,
509,
770,
13,
288,
202,
430,
261,
803,
422,
446,
13,
288,
202,
565,
604,
394,
10108,
2932,
803,
8863,
202,
97,
202,
430,
261,
723,
411,
2666,
1138,
907,
18,
2399,
67,
2294,
6526,
747,
618,
405,
2666,
1138,
907,
18,
2399,
67,
10964,
4415,
6856,
13,
288,
202,
565,
604,
394,
2754,
2932,
723,
30,
315,
397,
618,
1769,
202,
97,
202,
430,
261,
1615,
411,
404,
13,
288,
202,
565,
604,
394,
2754,
2932,
1615,
30,
315,
397,
770,
1769,
202,
97,
202,
2211,
18,
803,
273,
589,
31,
202,
2211,
18,
723,
273,
618,
31,
202,
1615,
273,
300,
21,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
2666,
1138,
12,
780,
589,
16,
509,
618,
16,
509,
770,
13,
288,
202,
430,
261,
803,
422,
446,
13,
288,
202,
565,
604,
394,
10108,
2932,
803,
8863,
202,
97,
202,
430,
261,
723,
411,
2666,
1138,
907,
18,
2399,
67,
2294,
6526,
747,
618,
405,
2666,
1138,
907,
18,
2399,
67,
10964,
4415,
6856,
13,
288,
202,
565,
604,
394,
2754,
2932,
723,
30,
315,
397,
618,
1769,
202,
97,
202,
430,
261,
1615,
411,
404,
13,
288,
202,
565,
604,
394,
2754,
2932,
1615,
30,
315,
397,
770,
1769,
202,
97,
202,
2211,
18,
803,
273,
589,
31,
202,
2211,
18,
723,
273,
618,
31,
202,
1615,
273,
300,
21,
31,
565,
289,
2,
-100,
-100
] |
VM_Statics.setSlotContents(offset >>> LOG_BYTES_IN_INT, value ); | VM_Statics.setSlotContents(getOffset(), value ); | private void put32(Object obj, int value) { if (isStatic()) { VM_Statics.setSlotContents(offset >>> LOG_BYTES_IN_INT, value ); } else { VM_Magic.setIntAtOffset(obj, getOffset(), value); } } | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/d1d1434574eb350f48cb1d82f04917a27eea9bdc/VM_Field.java/clean/rvm/src/vm/classLoader/VM_Field.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1378,
1578,
12,
921,
1081,
16,
509,
460,
13,
288,
565,
309,
261,
291,
5788,
10756,
288,
1377,
8251,
67,
5000,
2102,
18,
542,
8764,
6323,
12,
588,
2335,
9334,
460,
11272,
565,
289,
469,
288,
1377,
8251,
67,
19289,
18,
542,
1702,
861,
2335,
12,
2603,
16,
13386,
9334,
460,
1769,
565,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
5788,
10756,
288,
1377,
8251,
67,
5000,
2102,
18,
542,
8764,
6323,
12,
588,
2335,
9334,
460,
11272,
565,
289,
469,
288,
1377,
8251,
67,
19289,
18,
542,
1702,
861,
2335,
12,
2603,
16,
13386,
9334,
460,
1769,
565,
289,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
queryHash = qArgs.buildQueryHash(request); Iterator i = queryHash.keySet().iterator(); while(i.hasNext()) | queryHash = qArgs.buildQueryHash(request); Iterator i = queryHash.keySet().iterator(); while(i.hasNext()) | protected void doDSGet(Context context, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException { // Get the query String query = request.getParameter("query"); int start = UIUtil.getIntParameter(request, "start"); String advanced = request.getParameter("advanced"); String fromAdvanced = request.getParameter("from_advanced"); String advancedQuery = ""; HashMap queryHash = new HashMap(); // can't start earlier than 0 in the results! if( start < 0 ) { start = 0; } List itemHandles = new ArrayList(); List collectionHandles = new ArrayList(); List communityHandles = new ArrayList(); Item [] resultsItems; Collection [] resultsCollections; Community [] resultsCommunities; QueryResults qResults = null; QueryArgs qArgs = new QueryArgs(); // if the "advanced" flag is set, build the query string from the // multiple query fields if (advanced != null) { query = qArgs.buildQuery(request); advancedQuery = qArgs.buildHTTPQuery(request); } // Ensure the query is non-null if (query == null) { query = ""; } // Get the location parameter, if any String location = request.getParameter("location"); String newURL; // If there is a location parameter, we should redirect to // do the search with the correct location. if (location != null && !location.equals("")) { String url = ""; if (!location.equals("/")) { // Location is a Handle url = "/handle/" + location; } // Encode the query query = URLEncoder.encode(query); if (advancedQuery.length() > 0) { query = query + "&from_advanced=true&" + advancedQuery; } // Do the redirect response.sendRedirect(response.encodeRedirectURL( request.getContextPath() + url + "/simple-search?query=" + query)); return; } // Build log information String logInfo = ""; // Get our location Community community = UIUtil.getCommunityLocation(request); Collection collection = UIUtil.getCollectionLocation(request); // get the start of the query results page // List resultObjects = null; qArgs.setQuery( query ); qArgs.setStart( start ); // Perform the search try { if (collection != null) { logInfo = "collection_id=" + collection.getID() + ","; // Values for drop-down box request.setAttribute("community", community ); request.setAttribute("collection", collection); qResults = DSQuery.doQuery(context, qArgs, collection); } else if (community != null) { logInfo = "community_id=" + community.getID() + ","; request.setAttribute("community", community); // Get the collections within the community for the dropdown box request.setAttribute("collection.array", community.getCollections()); qResults = DSQuery.doQuery(context, qArgs, community); } else { // Get all communities for dropdown box Community[] communities = Community.findAll(context); request.setAttribute("community.array", communities); qResults = DSQuery.doQuery(context, qArgs); } // now instantiate the results and put them in their buckets for( int i = 0; i < qResults.getHitHandles().size(); i++ ) { String myHandle = (String )qResults.getHitHandles().get(i); Integer myType = (Integer)qResults.getHitTypes().get(i); // add the handle to the appropriate lists switch( myType.intValue() ) { case Constants.ITEM: itemHandles.add( myHandle ); break; case Constants.COLLECTION: collectionHandles.add( myHandle ); break; case Constants.COMMUNITY: communityHandles.add( myHandle ); break; } } int numCommunities = communityHandles.size(); int numCollections = collectionHandles.size(); int numItems = itemHandles.size(); // Make objects from the handles - make arrays, fill them out resultsCommunities = new Community [numCommunities]; resultsCollections = new Collection[numCollections]; resultsItems = new Item [numItems ]; for (int i = 0; i < numItems; i++) { String myhandle = (String) itemHandles.get(i); Object o = HandleManager.resolveToObject(context, myhandle); resultsItems[i] = (Item)o; if (resultsItems[i] == null) { throw new SQLException("Query \"" + query + "\" returned unresolvable handle: " + myhandle); } } for (int i = 0; i < collectionHandles.size(); i++) { String myhandle = (String) collectionHandles.get(i); Object o = HandleManager.resolveToObject(context, myhandle); resultsCollections[i] = (Collection)o; if (resultsCollections[i] == null) { throw new SQLException("Query \"" + query + "\" returned unresolvable handle: " + myhandle); } } for (int i = 0; i < communityHandles.size(); i++) { String myhandle = (String) communityHandles.get(i); Object o = HandleManager.resolveToObject(context, myhandle); resultsCommunities[i] = (Community)o; if (resultsCommunities[i] == null) { throw new SQLException("Query \"" + query + "\" returned unresolvable handle: " + myhandle); } } // Log log.info(LogManager.getHeader(context, "search", logInfo + "query=\"" + query + "\",results=(" + resultsCommunities.length + "," + resultsCollections.length + "," + resultsItems.length + ")")); } catch (ParseException pe) { /* * A parse exception means there were some weird characters in * the query we couldn't resolve. We'll pretend the search went * OK but with no results for the user, but log the error, since * this shouldn't really happen. */ log.warn(LogManager.getHeader(context, "search_exception", logInfo + "query=\"" + query + "\""), pe); // Empty results resultsItems = new Item [0]; resultsCommunities = new Community [0]; resultsCollections = new Collection[0]; } catch (TokenMgrError tme) { // Similar to parse exception log.warn(LogManager.getHeader(context, "search_exception", logInfo + "query=\"" + query + "\""), tme); // Empty results resultsItems = new Item [0]; resultsCommunities = new Community [0]; resultsCollections = new Collection[0]; } // Pass in some page qualities // total number of pages int pageTotal = 1 + (qResults.getHitCount() - 1)/qResults.getPageSize(); // current page being displayed int pageCurrent= 1 + (qResults.getStart()/qResults.getPageSize()); // pageLast = min(pageCurrent+9,pageTotal) int pageLast = (pageCurrent + 9) > pageTotal ? pageTotal : (pageCurrent+9); // pageFirst = max(1,pageCurrent-9) int pageFirst = (pageCurrent - 9) > 1 ? (pageCurrent - 9) : 1; // Pass the results to the display JSP request.setAttribute("items", resultsItems ); request.setAttribute("communities", resultsCommunities); request.setAttribute("collections", resultsCollections); request.setAttribute("pagetotal", new Integer(pageTotal ) ); request.setAttribute("pagecurrent", new Integer(pageCurrent) ); request.setAttribute("pagelast", new Integer(pageLast ) ); request.setAttribute("pagefirst", new Integer(pageFirst ) ); request.setAttribute("queryresults", qResults ); // And the original query string request.setAttribute("query", query); if ((fromAdvanced != null) && (qResults.getHitCount() == 0)) { // send back to advanced form if no results Community[] communities = Community.findAll(context); request.setAttribute("communities", communities); request.setAttribute("no_results", "yes"); queryHash = qArgs.buildQueryHash(request); Iterator i = queryHash.keySet().iterator(); while(i.hasNext()) { String key = (String)i.next(); String value = (String)queryHash.get(key); request.setAttribute(key, value); } JSPManager.showJSP(request, response, "/search/advanced.jsp"); } else { JSPManager.showJSP(request, response, "/search/results.jsp"); } } | 31338 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31338/2d4d8c52c85a4e3ae8a0730741d5c00415955b7e/SimpleSearchServlet.java/clean/dspace/src/org/dspace/app/webui/servlet/SimpleSearchServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
3948,
967,
12,
1042,
819,
16,
3639,
9984,
590,
16,
3639,
12446,
766,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
503,
565,
288,
3639,
368,
968,
326,
843,
3639,
514,
843,
3196,
225,
273,
590,
18,
588,
1662,
2932,
2271,
8863,
3639,
509,
565,
787,
3196,
225,
273,
6484,
1304,
18,
588,
1702,
1662,
12,
2293,
16,
315,
1937,
8863,
3639,
514,
16111,
282,
273,
590,
18,
588,
1662,
2932,
27080,
8863,
3639,
514,
628,
23618,
282,
273,
590,
18,
588,
1662,
2932,
2080,
67,
27080,
8863,
3639,
514,
16111,
1138,
273,
1408,
31,
3639,
4317,
843,
2310,
273,
394,
4317,
5621,
7734,
368,
848,
1404,
787,
13805,
2353,
374,
316,
326,
1686,
5,
3639,
309,
12,
787,
411,
374,
262,
288,
787,
273,
374,
31,
289,
7734,
987,
761,
8788,
4202,
273,
394,
2407,
5621,
3639,
987,
1849,
8788,
273,
394,
2407,
5621,
3639,
987,
19833,
8788,
225,
273,
394,
2407,
5621,
3639,
4342,
4202,
5378,
1686,
3126,
31,
3639,
2200,
5378,
1686,
15150,
31,
3639,
16854,
13352,
225,
5378,
1686,
12136,
318,
1961,
31,
3639,
2770,
3447,
1043,
3447,
273,
446,
31,
3639,
2770,
2615,
565,
1043,
2615,
565,
273,
394,
2770,
2615,
5621,
202,
202,
759,
309,
326,
315,
27080,
6,
2982,
353,
444,
16,
1361,
326,
843,
533,
628,
326,
3196,
202,
759,
3229,
843,
1466,
3639,
309,
261,
27080,
480,
446,
13,
540,
288,
540,
202,
2271,
273,
1043,
2615,
18,
3510,
1138,
12,
2293,
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,
3948,
967,
12,
1042,
819,
16,
3639,
9984,
590,
16,
3639,
12446,
766,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
503,
565,
288,
3639,
368,
968,
326,
843,
3639,
514,
843,
3196,
225,
273,
590,
18,
588,
1662,
2932,
2271,
8863,
3639,
509,
565,
787,
3196,
225,
273,
6484,
1304,
18,
588,
1702,
1662,
12,
2293,
16,
315,
1937,
8863,
3639,
514,
16111,
282,
273,
590,
18,
588,
1662,
2932,
27080,
8863,
3639,
514,
628,
23618,
282,
273,
590,
18,
588,
1662,
2932,
2080,
67,
27080,
8863,
3639,
514,
16111,
1138,
273,
1408,
31,
3639,
4317,
843,
2310,
273,
394,
4317,
5621,
7734,
368,
848,
1404,
787,
13805,
2353,
374,
316,
326,
2
] |
addByteCode(ByteCode.GOTO, targetLabel); | cfw.add(ByteCode.GOTO, targetLabel); | private void visitGOTO(Node node, int type, Node child) { Node target = (Node)(node.getProp(Node.TARGET_PROP)); int targetLabel = target.getIntProp(Node.LABEL_PROP, -1); if (targetLabel == -1) { targetLabel = acquireLabel(); target.putIntProp(Node.LABEL_PROP, targetLabel); } int fallThruLabel = acquireLabel(); if ((type == Token.IFEQ) || (type == Token.IFNE)) { if (child == null) { // can have a null child from visitSwitch which // has already generated the code for the child // and just needs the GOTO code emitted addScriptRuntimeInvoke("toBoolean", "(Ljava/lang/Object;)Z"); if (type == Token.IFEQ) addByteCode(ByteCode.IFNE, targetLabel); else addByteCode(ByteCode.IFEQ, targetLabel); } else { if (type == Token.IFEQ) generateIfJump(child, node, targetLabel, fallThruLabel); else generateIfJump(child, node, fallThruLabel, targetLabel); } } else { while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } if (type == Token.JSR) addByteCode(ByteCode.JSR, targetLabel); else addByteCode(ByteCode.GOTO, targetLabel); } markLabel(fallThruLabel); } | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/bd2594e6ebd6d8099b587934641c8f7650d87761/Codegen.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
43,
27019,
12,
907,
756,
16,
509,
618,
16,
2029,
1151,
13,
565,
288,
3639,
2029,
1018,
273,
261,
907,
21433,
2159,
18,
588,
4658,
12,
907,
18,
16374,
67,
15811,
10019,
3639,
509,
1018,
2224,
273,
1018,
18,
588,
1702,
4658,
12,
907,
18,
13545,
67,
15811,
16,
300,
21,
1769,
3639,
309,
261,
3299,
2224,
422,
300,
21,
13,
288,
5411,
1018,
2224,
273,
10533,
2224,
5621,
5411,
1018,
18,
458,
1702,
4658,
12,
907,
18,
13545,
67,
15811,
16,
1018,
2224,
1769,
3639,
289,
3639,
509,
4159,
1315,
8653,
2224,
273,
10533,
2224,
5621,
3639,
309,
14015,
723,
422,
3155,
18,
5501,
27247,
13,
747,
261,
723,
422,
3155,
18,
5501,
5407,
3719,
288,
5411,
309,
261,
3624,
422,
446,
13,
288,
7734,
368,
848,
1240,
279,
446,
1151,
628,
3757,
10200,
1492,
7734,
368,
711,
1818,
4374,
326,
981,
364,
326,
1151,
7734,
368,
471,
2537,
4260,
326,
611,
27019,
981,
17826,
7734,
527,
3651,
5576,
10969,
2932,
869,
5507,
3113,
4766,
4202,
7751,
21159,
19,
4936,
19,
921,
30943,
62,
8863,
7734,
309,
261,
723,
422,
3155,
18,
5501,
27247,
13,
10792,
527,
3216,
1085,
12,
3216,
1085,
18,
5501,
5407,
16,
1018,
2224,
1769,
7734,
469,
10792,
527,
3216,
1085,
12,
3216,
1085,
18,
5501,
27247,
16,
1018,
2224,
1769,
5411,
289,
5411,
469,
288,
7734,
309,
261,
723,
422,
3155,
18,
5501,
27247,
13,
10792,
2103,
2047,
26743,
12,
3624,
16,
756,
16,
1018,
2224,
16,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
43,
27019,
12,
907,
756,
16,
509,
618,
16,
2029,
1151,
13,
565,
288,
3639,
2029,
1018,
273,
261,
907,
21433,
2159,
18,
588,
4658,
12,
907,
18,
16374,
67,
15811,
10019,
3639,
509,
1018,
2224,
273,
1018,
18,
588,
1702,
4658,
12,
907,
18,
13545,
67,
15811,
16,
300,
21,
1769,
3639,
309,
261,
3299,
2224,
422,
300,
21,
13,
288,
5411,
1018,
2224,
273,
10533,
2224,
5621,
5411,
1018,
18,
458,
1702,
4658,
12,
907,
18,
13545,
67,
15811,
16,
1018,
2224,
1769,
3639,
289,
3639,
509,
4159,
1315,
8653,
2224,
273,
10533,
2224,
5621,
3639,
309,
14015,
723,
422,
3155,
18,
5501,
27247,
13,
747,
261,
723,
422,
3155,
18,
5501,
5407,
2
] |
try { spiceframe.showStatus("Loading...Wait...",Color.red); DAS_PDBFeeder pdb_f = new DAS_PDBFeeder(spiceframe.getConfiguration()) ; pdb_f.loadPDB(pdb_file); structure = pdb_f.getStructure() ; structure.setPDBCode(pdb_file); spiceframe.setStructure(structure); spiceframe.showStatus(pdb_file +" loaded"); finished = true ; notifyAll(); } catch (Exception e){ e.printStackTrace(); finished = true ; StructureImpl n = new StructureImpl(); spiceframe.setStructure(n); } | try { spiceframe.showStatus("Loading...Wait...",Color.red); DAS_PDBFeeder pdb_f = new DAS_PDBFeeder(spiceframe.getConfiguration()) ; pdb_f.loadPDB(pdb_file); structure = pdb_f.getStructure() ; structure.setPDBCode(pdb_file); spiceframe.setStructure(structure); spiceframe.showStatus(pdb_file +" loaded"); finished = true ; notifyAll(); } catch (Exception e){ e.printStackTrace(); finished = true ; StructureImpl n = new StructureImpl(); spiceframe.setStructure(n); } | public synchronized void loadCompound() { try { //String dassequencecommand = spiceframe.getSequenceServer() + "sequence?segment="; //String dasalignmentcommand = dasalignmentcommand = getAlignmentServer() + "alignment?query=" ; spiceframe.showStatus("Loading...Wait...",Color.red); //DAS_PDBFeeder pdb_f = new DAS_PDBFeeder(structureURL,dassequencecommand,dasalignmentcommand) ; DAS_PDBFeeder pdb_f = new DAS_PDBFeeder(spiceframe.getConfiguration()) ; //System.out.println("pdb_f.loadPDB"); pdb_f.loadPDB(pdb_file); //System.out.println("pdb_f.getStructure"); structure = pdb_f.getStructure() ; structure.setPDBCode(pdb_file); // System.out.println("set Structure"); spiceframe.setStructure(structure); spiceframe.showStatus(pdb_file +" loaded"); //System.out.println("LoadStructureThread finished"); finished = true ; notifyAll(); } catch (Exception e){ // at some point raise some IO exception, which should be defined by the Inferface e.printStackTrace(); finished = true ; StructureImpl n = new StructureImpl(); spiceframe.setStructure(n); } } | 52521 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52521/13ff30867f5275c13414003254ec2adce26901d7/LoadStructureThread.java/clean/src/org/biojava/spice/LoadStructureThread.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
1262,
16835,
1435,
288,
202,
202,
698,
288,
1082,
565,
368,
780,
30255,
6178,
3076,
225,
273,
1694,
1812,
3789,
18,
588,
4021,
2081,
1435,
225,
397,
315,
6178,
35,
9273,
1546,
31,
202,
565,
368,
780,
30255,
14409,
3076,
273,
30255,
14409,
3076,
273,
336,
11535,
2081,
1435,
397,
315,
14409,
35,
2271,
1546,
274,
202,
565,
202,
565,
1694,
1812,
3789,
18,
4500,
1482,
2932,
10515,
2777,
5480,
7070,
16,
2957,
18,
1118,
1769,
202,
565,
368,
40,
3033,
67,
52,
2290,
8141,
264,
10892,
67,
74,
273,
225,
394,
463,
3033,
67,
52,
2290,
8141,
264,
12,
7627,
1785,
16,
28831,
6178,
3076,
16,
28831,
14409,
3076,
13,
274,
202,
565,
463,
3033,
67,
52,
2290,
8141,
264,
10892,
67,
74,
273,
225,
394,
463,
3033,
67,
52,
2290,
8141,
264,
12,
28679,
3789,
18,
588,
1750,
10756,
274,
202,
565,
368,
3163,
18,
659,
18,
8222,
2932,
17414,
67,
74,
18,
945,
52,
2290,
8863,
202,
565,
10892,
67,
74,
18,
945,
52,
2290,
12,
17414,
67,
768,
1769,
202,
565,
368,
3163,
18,
659,
18,
8222,
2932,
17414,
67,
74,
18,
588,
6999,
8863,
202,
377,
202,
565,
3695,
273,
10892,
67,
74,
18,
588,
6999,
1435,
274,
202,
565,
3695,
18,
542,
52,
2290,
1085,
12,
17414,
67,
768,
1769,
202,
565,
368,
2332,
18,
659,
18,
8222,
2932,
542,
13348,
8863,
202,
377,
202,
565,
1694,
1812,
3789,
18,
542,
6999,
12,
7627,
1769,
202,
565,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
1262,
16835,
1435,
288,
202,
202,
698,
288,
1082,
565,
368,
780,
30255,
6178,
3076,
225,
273,
1694,
1812,
3789,
18,
588,
4021,
2081,
1435,
225,
397,
315,
6178,
35,
9273,
1546,
31,
202,
565,
368,
780,
30255,
14409,
3076,
273,
30255,
14409,
3076,
273,
336,
11535,
2081,
1435,
397,
315,
14409,
35,
2271,
1546,
274,
202,
565,
202,
565,
1694,
1812,
3789,
18,
4500,
1482,
2932,
10515,
2777,
5480,
7070,
16,
2957,
18,
1118,
1769,
202,
565,
368,
40,
3033,
67,
52,
2290,
8141,
264,
10892,
67,
74,
273,
225,
394,
463,
3033,
67,
52,
2290,
8141,
264,
12,
7627,
1785,
16,
28831,
6178,
3076,
16,
28831,
14409,
3076,
13,
274,
202,
565,
463,
2
] |
/* JButton button = new JButton("Guess"); | JButton button = new JButton("Guess"); | public Box createTokensToIgnoreField() { Box box = Box.createHorizontalBox(); box.add(new JLabel("Ignore rules:")); box.add(Box.createHorizontalStrut(5)); tokensToIgnoreLabel = new JLabel(); tokensToIgnoreLabel.setFont(tokensToIgnoreLabel.getFont().deriveFont(Font.ITALIC)); box.add(tokensToIgnoreLabel);/* JButton button = new JButton("Guess"); button.setToolTipText("Find the name of all rules containing an action with channel=99"); button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { findTokensToIgnore(); } }); box.add(button); */ return box; } | 51505 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51505/21f189efd0dc560976d5ee501836c5849800a38c/EditorInterpreter.java/buggy/src/org/antlr/works/interpreter/EditorInterpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8549,
752,
5157,
774,
3777,
974,
1435,
288,
3639,
8549,
3919,
273,
8549,
18,
2640,
14457,
3514,
5621,
3639,
3919,
18,
1289,
12,
2704,
21403,
2932,
3777,
2931,
2773,
10019,
3639,
3919,
18,
1289,
12,
3514,
18,
2640,
14457,
1585,
322,
12,
25,
10019,
3639,
2430,
774,
3777,
2224,
273,
394,
21403,
5621,
3639,
2430,
774,
3777,
2224,
18,
542,
5711,
12,
7860,
774,
3777,
2224,
18,
588,
5711,
7675,
765,
688,
5711,
12,
5711,
18,
1285,
1013,
2871,
10019,
3639,
3919,
18,
1289,
12,
7860,
774,
3777,
2224,
1769,
46,
3616,
3568,
273,
394,
28804,
2932,
15977,
8863,
3639,
3568,
18,
542,
29250,
1528,
2932,
3125,
326,
508,
434,
777,
2931,
4191,
392,
1301,
598,
1904,
33,
2733,
8863,
3639,
3568,
18,
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,
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,
8549,
752,
5157,
774,
3777,
974,
1435,
288,
3639,
8549,
3919,
273,
8549,
18,
2640,
14457,
3514,
5621,
3639,
3919,
18,
1289,
12,
2704,
21403,
2932,
3777,
2931,
2773,
10019,
3639,
3919,
18,
1289,
12,
3514,
18,
2640,
14457,
1585,
322,
12,
25,
10019,
3639,
2430,
774,
3777,
2224,
273,
394,
21403,
5621,
3639,
2430,
774,
3777,
2224,
18,
542,
5711,
12,
7860,
774,
3777,
2224,
18,
588,
5711,
7675,
765,
688,
5711,
12,
5711,
18,
1285,
1013,
2871,
10019,
3639,
3919,
18,
1289,
12,
7860,
774,
3777,
2224,
1769,
46,
3616,
3568,
273,
394,
28804,
2932,
15977,
8863,
3639,
3568,
18,
542,
29250,
1528,
2932,
3125,
326,
508,
434,
777,
2931,
4191,
392,
1301,
598,
1904,
2
] |
return null; | public String getCurrentState(int instanceId) { String historyId = this.getParameter(PRM_HISTORY_ID); //System.err.println("in iwc.getCurrentState()"); if (historyId != null) { //System.err.println("historyId != null"); HttpSession s = this.getSession(); //System.err.println(" - from Session.hashCode() -> "+s.hashCode()); List historyList = (List) s.getAttribute(SESSION_OBJECT_STATE); //List historyList = (List)this.getSessionAttribute(BuilderLogic.SESSION_OBJECT_STATE); if (historyList != null && historyList.contains(historyId)) { int index = historyList.indexOf(historyId); //System.err.println("current state historyIndex = "+index + " for instance " + instanceId); Object ob = ((Hashtable) historyList.get(index + 1)).get(Integer.toString(instanceId)); //System.err.println("current state = "+ob); //System.err.println("iwc.getCurrentState() ends"); return (String) ob; } } //System.err.println("iwc.getCurrentState() ends"); return null; } | 52001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52001/143a1004ea568609581b67939539eda441461be3/IWContext.java/buggy/src/java/com/idega/presentation/IWContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
5175,
1119,
12,
474,
17608,
13,
288,
202,
202,
780,
4927,
548,
273,
333,
18,
588,
1662,
12,
8025,
49,
67,
31746,
67,
734,
1769,
202,
202,
759,
3163,
18,
370,
18,
8222,
2932,
267,
25522,
71,
18,
588,
3935,
1119,
1435,
8863,
202,
202,
430,
261,
8189,
548,
480,
446,
13,
288,
1082,
202,
759,
3163,
18,
370,
18,
8222,
2932,
8189,
548,
480,
446,
8863,
1082,
202,
2940,
2157,
272,
273,
333,
18,
588,
2157,
5621,
1082,
202,
759,
3163,
18,
370,
18,
8222,
2932,
300,
628,
3877,
18,
2816,
1085,
1435,
317,
13773,
87,
18,
2816,
1085,
10663,
1082,
202,
682,
4927,
682,
273,
261,
682,
13,
272,
18,
588,
1499,
12,
7042,
67,
9422,
67,
7998,
1769,
1082,
202,
759,
682,
4927,
682,
273,
261,
682,
13,
2211,
18,
588,
2157,
1499,
12,
1263,
20556,
18,
7042,
67,
9422,
67,
7998,
1769,
1082,
202,
430,
261,
8189,
682,
480,
446,
597,
4927,
682,
18,
12298,
12,
8189,
548,
3719,
288,
9506,
202,
474,
770,
273,
4927,
682,
18,
31806,
12,
8189,
548,
1769,
9506,
202,
759,
3163,
18,
370,
18,
8222,
2932,
2972,
919,
4927,
1016,
273,
13773,
1615,
397,
315,
364,
791,
315,
397,
17608,
1769,
9506,
202,
921,
3768,
273,
14015,
5582,
14544,
13,
4927,
682,
18,
588,
12,
1615,
397,
404,
13,
2934,
588,
12,
4522,
18,
10492,
12,
1336,
548,
10019,
9506,
202,
759,
3163,
18,
370,
18,
8222,
2932,
2972,
919,
273,
13773,
947,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
5175,
1119,
12,
474,
17608,
13,
288,
202,
202,
780,
4927,
548,
273,
333,
18,
588,
1662,
12,
8025,
49,
67,
31746,
67,
734,
1769,
202,
202,
759,
3163,
18,
370,
18,
8222,
2932,
267,
25522,
71,
18,
588,
3935,
1119,
1435,
8863,
202,
202,
430,
261,
8189,
548,
480,
446,
13,
288,
1082,
202,
759,
3163,
18,
370,
18,
8222,
2932,
8189,
548,
480,
446,
8863,
1082,
202,
2940,
2157,
272,
273,
333,
18,
588,
2157,
5621,
1082,
202,
759,
3163,
18,
370,
18,
8222,
2932,
300,
628,
3877,
18,
2816,
1085,
1435,
317,
13773,
87,
18,
2816,
1085,
10663,
1082,
202,
682,
4927,
682,
273,
261,
682,
13,
272,
18,
588,
1499,
12,
2
] |
|
this.templateParameterTypes = templateParameterTypes; | fTemplate.setTemplateParameterTypes(templateParameterTypes); | public void setTemplateParameterTypes(String[] templateParameterTypes) { this.templateParameterTypes = templateParameterTypes; } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/dd2d2f9a52db3f3bdb4053be6286f0e185ffad86/FunctionTemplate.java/clean/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/FunctionTemplate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
21334,
1662,
2016,
12,
780,
8526,
1542,
1662,
2016,
13,
288,
202,
202,
2211,
18,
3202,
1662,
2016,
273,
1542,
1662,
2016,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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
] |
public ComponentsImageMeasure(ImageMeasure measure) { | public ComponentsImageMeasure(ImageMeasure measure, int[] indices) { | public ComponentsImageMeasure(ImageMeasure measure) { if (measure == null) throw new NullPointerException("measure == null"); this.measure = measure; } | 13378 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13378/8c17d99cd03b8aaf44f4598313596d8c3328b0f4/ComponentsImageMeasure.java/clean/Imilarity/de/berlios/imilarity/measures/ComponentsImageMeasure.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
25286,
2040,
7197,
12,
2040,
7197,
6649,
13,
288,
202,
202,
430,
261,
10772,
422,
446,
13,
1082,
202,
12849,
394,
10108,
2932,
10772,
422,
446,
8863,
202,
202,
2211,
18,
10772,
273,
6649,
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,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
25286,
2040,
7197,
12,
2040,
7197,
6649,
13,
288,
202,
202,
430,
261,
10772,
422,
446,
13,
1082,
202,
12849,
394,
10108,
2932,
10772,
422,
446,
8863,
202,
202,
2211,
18,
10772,
273,
6649,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
switch (currentToken) { | switch (this.currentToken) { | public void recoveryTokenCheck() { switch (currentToken) { case TokenNameLBRACE : RecoveredElement newElement = null; if(!ignoreNextOpeningBrace) { newElement = currentElement.updateOnOpeningBrace(scanner.startPosition - 1, scanner.currentPosition - 1); } lastCheckPoint = scanner.currentPosition; if (newElement != null){ // null means nothing happened restartRecovery = true; // opening brace detected currentElement = newElement; } break; case TokenNameRBRACE : this.rBraceStart = scanner.startPosition - 1; this.rBraceEnd = scanner.currentPosition - 1; endPosition = this.flushCommentsDefinedPriorTo(this.rBraceEnd); newElement = currentElement.updateOnClosingBrace(scanner.startPosition, this.rBraceEnd); lastCheckPoint = scanner.currentPosition; if (newElement != currentElement){ currentElement = newElement; } break; case TokenNameSEMICOLON : endStatementPosition = scanner.currentPosition - 1; endPosition = scanner.startPosition - 1; // fall through default : { if (this.rBraceEnd > this.rBraceSuccessorStart && scanner.currentPosition != scanner.startPosition){ this.rBraceSuccessorStart = scanner.startPosition; } break; } } ignoreNextOpeningBrace = false;} | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/72d09911302484497c2776b017dc226fd10250ec/Parser.java/clean/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
11044,
1345,
1564,
1435,
288,
202,
9610,
261,
2972,
1345,
13,
288,
202,
202,
3593,
3155,
461,
12995,
9254,
294,
1875,
202,
426,
16810,
1046,
31308,
273,
446,
31,
1082,
202,
430,
12,
5,
6185,
2134,
21378,
21965,
13,
288,
9506,
202,
2704,
1046,
273,
22993,
18,
2725,
1398,
21378,
21965,
12,
26842,
18,
1937,
2555,
300,
404,
16,
7683,
18,
2972,
2555,
300,
404,
1769,
1082,
202,
97,
1082,
202,
2722,
1564,
2148,
273,
7683,
18,
2972,
2555,
31,
6862,
1082,
202,
430,
261,
2704,
1046,
480,
446,
15329,
368,
446,
4696,
5083,
17497,
9506,
202,
19164,
11548,
273,
638,
31,
368,
10890,
22500,
8316,
9506,
202,
2972,
1046,
273,
31308,
31,
1082,
202,
97,
1082,
202,
8820,
31,
9506,
202,
3593,
3155,
461,
19437,
9254,
294,
1875,
202,
2211,
18,
86,
21965,
1685,
273,
7683,
18,
1937,
2555,
300,
404,
31,
1082,
202,
2211,
18,
86,
21965,
1638,
273,
7683,
18,
2972,
2555,
300,
404,
31,
1082,
202,
409,
2555,
273,
333,
18,
11330,
9051,
8116,
25355,
774,
12,
2211,
18,
86,
21965,
1638,
1769,
1082,
202,
2704,
1046,
273,
9506,
202,
2972,
1046,
18,
2725,
1398,
15745,
21965,
12,
26842,
18,
1937,
2555,
16,
333,
18,
86,
21965,
1638,
1769,
9506,
202,
2722,
1564,
2148,
273,
7683,
18,
2972,
2555,
31,
1082,
202,
430,
261,
2704,
1046,
480,
22993,
15329,
9506,
202,
2972,
1046,
273,
31308,
31,
1082,
202,
97,
1082,
202,
8820,
31,
202,
202,
3593,
3155,
461,
1090,
22972,
1741,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
11044,
1345,
1564,
1435,
288,
202,
9610,
261,
2972,
1345,
13,
288,
202,
202,
3593,
3155,
461,
12995,
9254,
294,
1875,
202,
426,
16810,
1046,
31308,
273,
446,
31,
1082,
202,
430,
12,
5,
6185,
2134,
21378,
21965,
13,
288,
9506,
202,
2704,
1046,
273,
22993,
18,
2725,
1398,
21378,
21965,
12,
26842,
18,
1937,
2555,
300,
404,
16,
7683,
18,
2972,
2555,
300,
404,
1769,
1082,
202,
97,
1082,
202,
2722,
1564,
2148,
273,
7683,
18,
2972,
2555,
31,
6862,
1082,
202,
430,
261,
2704,
1046,
480,
446,
15329,
368,
446,
4696,
5083,
17497,
9506,
202,
19164,
11548,
273,
638,
31,
368,
10890,
22500,
8316,
9506,
202,
2972,
1046,
273,
31308,
31,
1082,
202,
97,
1082,
2
] |
Class uninitializedClass = Class.forName(externalName, false, loader); if (iface.isAssignableFrom(uninitializedClass) ) { Class<T> type = iface.getClass().cast( Class.forName(externalName) ); impls.add(type); | Class type = loader.loadClass(externalName); if (iface.isAssignableFrom(type) ) { impls.add( (Class<T>) type); | static <T> void addIfImplements(Set<Class<T>> impls, Class<T> iface, String name) { try { log.trace("Checking to see if class '", name, "' implements ", iface.getName()); ClassLoader loader = Thread.currentThread().getContextClassLoader(); String externalName = name.substring(0, name.indexOf('.')).replace('/', '.'); Class uninitializedClass = Class.forName(externalName, false, loader); if (iface.isAssignableFrom(uninitializedClass) ) { Class<T> type = iface.getClass().cast( Class.forName(externalName) ); impls.add(type); } } catch (Throwable t) { log.warn(t, "Could not examine class '", name, "'"); } } | 9306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9306/f0eac7a348346ecad1d455e9f8685e479fa1dce5/ResolverUtil.java/buggy/stripes/src/net/sourceforge/stripes/util/ResolverUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
411,
56,
34,
918,
527,
2047,
17516,
12,
694,
32,
797,
32,
56,
9778,
9380,
87,
16,
1659,
32,
56,
34,
9751,
16,
514,
508,
13,
288,
3639,
775,
288,
5411,
613,
18,
5129,
2932,
14294,
358,
2621,
309,
667,
19197,
508,
16,
2491,
4792,
3104,
9751,
18,
17994,
10663,
5411,
9403,
4088,
273,
4884,
18,
2972,
3830,
7675,
29120,
7805,
5621,
5411,
514,
3903,
461,
273,
508,
18,
28023,
12,
20,
16,
508,
18,
31806,
2668,
1093,
13,
2934,
2079,
2668,
19,
2187,
2611,
1769,
5411,
1659,
640,
13227,
797,
273,
1659,
18,
1884,
461,
12,
9375,
461,
16,
629,
16,
4088,
1769,
5411,
309,
261,
31479,
18,
291,
7961,
1265,
12,
318,
13227,
797,
13,
262,
288,
7734,
1659,
32,
56,
34,
618,
273,
9751,
18,
588,
797,
7675,
4155,
12,
1659,
18,
1884,
461,
12,
9375,
461,
13,
11272,
7734,
9380,
87,
18,
1289,
12,
723,
1769,
5411,
289,
3639,
289,
3639,
1044,
261,
15155,
268,
13,
288,
5411,
613,
18,
8935,
12,
88,
16,
315,
4445,
486,
19707,
558,
667,
19197,
508,
16,
5862,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
411,
56,
34,
918,
527,
2047,
17516,
12,
694,
32,
797,
32,
56,
9778,
9380,
87,
16,
1659,
32,
56,
34,
9751,
16,
514,
508,
13,
288,
3639,
775,
288,
5411,
613,
18,
5129,
2932,
14294,
358,
2621,
309,
667,
19197,
508,
16,
2491,
4792,
3104,
9751,
18,
17994,
10663,
5411,
9403,
4088,
273,
4884,
18,
2972,
3830,
7675,
29120,
7805,
5621,
5411,
514,
3903,
461,
273,
508,
18,
28023,
12,
20,
16,
508,
18,
31806,
2668,
1093,
13,
2934,
2079,
2668,
19,
2187,
2611,
1769,
5411,
1659,
640,
13227,
797,
273,
1659,
18,
1884,
461,
12,
9375,
461,
16,
629,
16,
4088,
1769,
5411,
309,
261,
31479,
18,
291,
7961,
1265,
12,
318,
13227,
797,
13,
2
] |
rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); | try { rwl.writeLock().lock(); errorIfInvalidState(); | public void setActive(int w, boolean active) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); cb[w].setActive(Boolean.valueOf(active)); } rwl.writeLock().unlock(); } | 55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/1a80ae364d5a13aebca07b0ae7349d79247ded75/RenderingEngineImpl.java/clean/components/rendering/src/omeis/providers/re/RenderingEngineImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20669,
12,
474,
341,
16,
1250,
2695,
13,
565,
288,
3639,
7985,
80,
18,
2626,
2531,
7675,
739,
5621,
3639,
288,
5411,
309,
261,
14374,
422,
446,
13,
7734,
604,
394,
5477,
12,
8560,
67,
25230,
654,
1769,
13491,
5307,
5250,
8526,
2875,
273,
5690,
18,
588,
2909,
10497,
5621,
5411,
2875,
63,
91,
8009,
542,
3896,
12,
5507,
18,
1132,
951,
12,
3535,
10019,
3639,
289,
3639,
7985,
80,
18,
2626,
2531,
7675,
26226,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20669,
12,
474,
341,
16,
1250,
2695,
13,
565,
288,
3639,
7985,
80,
18,
2626,
2531,
7675,
739,
5621,
3639,
288,
5411,
309,
261,
14374,
422,
446,
13,
7734,
604,
394,
5477,
12,
8560,
67,
25230,
654,
1769,
13491,
5307,
5250,
8526,
2875,
273,
5690,
18,
588,
2909,
10497,
5621,
5411,
2875,
63,
91,
8009,
542,
3896,
12,
5507,
18,
1132,
951,
12,
3535,
10019,
3639,
289,
3639,
7985,
80,
18,
2626,
2531,
7675,
26226,
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
] |
case T_EXPR: | case T_EXPR : | Object processValue(StylesheetHandler handler, String uri, String name, String rawName, String value) throws SAXException { int type = getType(); Object processedValue = null; switch(type) { case T_AVT: processedValue = processAVT(handler, uri, name, rawName, value); break; case T_CDATA: processedValue = processCDATA(handler, uri, name, rawName, value); break; case T_CHAR: processedValue = processCHAR(handler, uri, name, rawName, value); break; case T_ENUM: processedValue = processENUM(handler, uri, name, rawName, value); break; case T_EXPR: processedValue = processEXPR(handler, uri, name, rawName, value); break; case T_NMTOKEN: processedValue = processNMTOKEN(handler, uri, name, rawName, value); break; case T_PATTERN: processedValue = processPATTERN(handler, uri, name, rawName, value); break; case T_PRIORITY: processedValue = processPRIORITY(handler, uri, name, rawName, value); break; case T_QNAME: processedValue = processQNAME(handler, uri, name, rawName, value); break; case T_QNAMES: processedValue = processQNAMES(handler, uri, name, rawName, value); break; case T_SIMPLEPATTERNLIST: processedValue = processSIMPLEPATTERNLIST(handler, uri, name, rawName, value); break; case T_URL: processedValue = processURL(handler, uri, name, rawName, value); break; case T_YESNO: processedValue = processYESNO(handler, uri, name, rawName, value); break; case T_STRINGLIST: processedValue = processSTRINGLIST(handler, uri, name, rawName, value); break; case T_PREFIX_URLLIST: processedValue = processPREFIX_URLLIST(handler, uri, name, rawName, value); break; default: } return processedValue; } | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/6fbfc5b396871b2ddb731ea98fccffe88307b5d3/XSLTAttributeDef.java/clean/src/org/apache/xalan/processor/XSLTAttributeDef.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1033,
1207,
620,
12,
24656,
1503,
1838,
16,
8227,
514,
2003,
16,
514,
508,
16,
8227,
514,
1831,
461,
16,
514,
460,
13,
565,
1216,
14366,
225,
288,
565,
509,
618,
273,
3130,
5621,
565,
1033,
5204,
620,
273,
446,
31,
565,
1620,
12,
723,
13,
565,
288,
565,
648,
399,
67,
5856,
56,
30,
1377,
5204,
620,
273,
1207,
5856,
56,
12,
4176,
16,
2003,
16,
508,
16,
1831,
461,
16,
460,
1769,
1377,
898,
31,
565,
648,
399,
67,
18375,
30,
1377,
5204,
620,
273,
1207,
18375,
12,
4176,
16,
2003,
16,
508,
16,
1831,
461,
16,
460,
1769,
1377,
898,
31,
565,
648,
399,
67,
7305,
30,
1377,
5204,
620,
273,
1207,
7305,
12,
4176,
16,
2003,
16,
508,
16,
1831,
461,
16,
460,
1769,
1377,
898,
31,
565,
648,
399,
67,
16509,
30,
1377,
5204,
620,
273,
1207,
16509,
12,
4176,
16,
2003,
16,
508,
16,
1831,
461,
16,
460,
1769,
1377,
898,
31,
565,
648,
399,
67,
2294,
8025,
294,
1377,
5204,
620,
273,
1207,
2294,
8025,
12,
4176,
16,
2003,
16,
508,
16,
1831,
461,
16,
460,
1769,
1377,
898,
31,
565,
648,
399,
67,
50,
6152,
6239,
30,
1377,
5204,
620,
273,
1207,
50,
6152,
6239,
12,
4176,
16,
2003,
16,
508,
16,
1831,
461,
16,
460,
1769,
1377,
898,
31,
565,
648,
399,
67,
10831,
30,
1377,
5204,
620,
273,
1207,
10831,
12,
4176,
16,
2003,
16,
508,
16,
1831,
461,
16,
460,
1769,
1377,
898,
31,
565,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1033,
1207,
620,
12,
24656,
1503,
1838,
16,
8227,
514,
2003,
16,
514,
508,
16,
8227,
514,
1831,
461,
16,
514,
460,
13,
565,
1216,
14366,
225,
288,
565,
509,
618,
273,
3130,
5621,
565,
1033,
5204,
620,
273,
446,
31,
565,
1620,
12,
723,
13,
565,
288,
565,
648,
399,
67,
5856,
56,
30,
1377,
5204,
620,
273,
1207,
5856,
56,
12,
4176,
16,
2003,
16,
508,
16,
1831,
461,
16,
460,
1769,
1377,
898,
31,
565,
648,
399,
67,
18375,
30,
1377,
5204,
620,
273,
1207,
18375,
12,
4176,
16,
2003,
16,
508,
16,
1831,
461,
16,
460,
1769,
1377,
898,
31,
565,
648,
399,
67,
7305,
30,
1377,
5204,
620,
273,
1207,
7305,
12,
4176,
2
] |
if (pid > 0) { CLITargetAttach attach = factory.createCLITargetAttach(pid); session.postCommand(attach); MIInfo info = attach.getMIInfo(); if (info == null) { throw new MIException(getResourceString("src.common.No_answer")); } session.getMIInferior().setInferiorPID(pid); session.getMIInferior().setConnected(); } } catch (MIException e) { pgdb.destroy(); throw e; | public Session createCSession(String gdb, String miVersion, File program, int pid, String[] targetParams, File cwd, String gdbinit, IProgressMonitor monitor) throws IOException, MIException { if (gdb == null || gdb.length() == 0) { gdb = GDB; } String commandFile = (gdbinit != null && gdbinit.length() > 0) ? "--command="+gdbinit : "--nx"; //$NON-NLS-1$ //$NON-NLS-2$ if (monitor == null) { monitor = new NullProgressMonitor(); } String[] args; if (program == null) { args = new String[] {gdb, "--cd="+cwd.getAbsolutePath(), commandFile, "--quiet", "-nw", "-i", miVersion}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } else { args = new String[] {gdb, "--cd="+cwd.getAbsolutePath(), commandFile, "--quiet", "-nw", "-i", miVersion, program.getAbsolutePath()}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } int launchTimeout = MIPlugin.getDefault().getPluginPreferences().getInt(IMIConstants.PREF_REQUEST_LAUNCH_TIMEOUT); MIProcess pgdb = new MIProcessAdapter(args, launchTimeout, monitor); if (MIPlugin.getDefault().isDebugging()) { StringBuffer sb = new StringBuffer(); for (int i = 0; i < args.length; ++i) { sb.append(args[i]); sb.append(' '); } MIPlugin.getDefault().debugLog(sb.toString()); } MISession session; try { session = createMISession(pgdb, null, MISession.ATTACH, miVersion, monitor); } catch (MIException e) { pgdb.destroy(); throw e; } CommandFactory factory = session.getCommandFactory(); try { if (targetParams != null && targetParams.length > 0) { MITargetSelect target = factory.createMITargetSelect(targetParams); session.postCommand(target); MIInfo info = target.getMIInfo(); if (info == null) { throw new MIException(getResourceString("src.common.No_answer")); //$NON-NLS-1$ } } if (pid > 0) { CLITargetAttach attach = factory.createCLITargetAttach(pid); session.postCommand(attach); MIInfo info = attach.getMIInfo(); if (info == null) { throw new MIException(getResourceString("src.common.No_answer")); //$NON-NLS-1$ } session.getMIInferior().setInferiorPID(pid); // @@@ for attach we nee to manually set the connected state // attach does not send the ^connected ack session.getMIInferior().setConnected(); } } catch (MIException e) { pgdb.destroy(); throw e; } //@@@ We have to manually set the suspended state when we attach session.getMIInferior().setSuspended(); session.getMIInferior().update(); return new Session(session, true); } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/17464c08f4d94cc47098c0d0ca9a1f7ddc481fe8/MIPlugin.java/buggy/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/MIPlugin.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3877,
752,
39,
2157,
12,
780,
314,
1966,
16,
514,
12837,
1444,
16,
1387,
5402,
16,
509,
4231,
16,
514,
8526,
1018,
1370,
16,
1387,
7239,
16,
514,
314,
1966,
2738,
16,
467,
5491,
7187,
6438,
13,
1216,
1860,
16,
20806,
503,
288,
202,
202,
430,
261,
75,
1966,
422,
446,
747,
314,
1966,
18,
2469,
1435,
422,
374,
13,
288,
1082,
202,
75,
1966,
273,
225,
611,
2290,
31,
202,
202,
97,
202,
202,
780,
1296,
812,
273,
261,
75,
1966,
2738,
480,
446,
597,
314,
1966,
2738,
18,
2469,
1435,
405,
374,
13,
692,
5238,
3076,
1546,
15,
75,
1966,
2738,
294,
5238,
16769,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
202,
202,
430,
261,
10259,
422,
446,
13,
288,
1082,
202,
10259,
273,
394,
4112,
5491,
7187,
5621,
202,
202,
97,
202,
202,
780,
8526,
833,
31,
202,
202,
430,
261,
12890,
422,
446,
13,
288,
1082,
202,
1968,
273,
394,
514,
8526,
288,
75,
1966,
16,
5238,
4315,
1546,
15,
11089,
18,
588,
10368,
743,
9334,
1296,
812,
16,
5238,
20380,
3113,
3701,
82,
91,
3113,
3701,
77,
3113,
12837,
1444,
20451,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
4329,
3993,
17,
5106,
17,
23,
8,
4329,
3993,
17,
5106,
17,
24,
8,
202,
202,
97,
469,
288,
1082,
202,
1968,
273,
394,
514,
8526,
288,
75,
1966,
16,
5238,
4315,
1546,
15,
11089,
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,
482,
3877,
752,
39,
2157,
12,
780,
314,
1966,
16,
514,
12837,
1444,
16,
1387,
5402,
16,
509,
4231,
16,
514,
8526,
1018,
1370,
16,
1387,
7239,
16,
514,
314,
1966,
2738,
16,
467,
5491,
7187,
6438,
13,
1216,
1860,
16,
20806,
503,
288,
202,
202,
430,
261,
75,
1966,
422,
446,
747,
314,
1966,
18,
2469,
1435,
422,
374,
13,
288,
1082,
202,
75,
1966,
273,
225,
611,
2290,
31,
202,
202,
97,
202,
202,
780,
1296,
812,
273,
261,
75,
1966,
2738,
480,
446,
597,
314,
1966,
2738,
18,
2469,
1435,
405,
374,
13,
692,
5238,
3076,
1546,
15,
75,
1966,
2738,
294,
5238,
16769,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
2
] |
|
ContainerGenerator generator = new ContainerGenerator(destination); generator.generateContainer(new SubProgressMonitor(monitor, 10)); IProgressMonitor subMonitor = new SubProgressMonitor(monitor, 75); subMonitor.beginTask(getOperationTitle(), resources.length); | private boolean performCopyWithAutoRename(IResource[] resources, IPath destination, IProgressMonitor monitor) { IWorkspace workspace = resources[0].getWorkspace(); try { ContainerGenerator generator = new ContainerGenerator(destination); generator.generateContainer(new SubProgressMonitor(monitor, 10)); IProgressMonitor subMonitor = new SubProgressMonitor(monitor, 75); subMonitor.beginTask(getOperationTitle(), resources.length); for (int i = 0; i < resources.length; i++) { IResource source = resources[i]; IPath destinationPath = destination.append(source.getName()); if (workspace.getRoot().exists(destinationPath)) { destinationPath = getNewNameFor(destinationPath, workspace); } if (destinationPath != null) { try { source.copy(destinationPath, IResource.SHALLOW, new SubProgressMonitor(subMonitor, 0)); } catch (CoreException e) { recordError(e); // log error return false; } } subMonitor.worked(1); if (subMonitor.isCanceled()) { throw new OperationCanceledException(); } } } catch (CoreException e) { recordError(e); // log error return false; } finally { monitor.done(); } return true; } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/53cada7d6d0463cdcb3aed320ea380f4aae64087/CopyFilesAndFoldersOperation.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
3073,
2951,
1190,
4965,
16019,
12,
45,
1420,
8526,
2703,
16,
1082,
202,
45,
743,
2929,
16,
467,
5491,
7187,
6438,
13,
288,
202,
202,
45,
8241,
6003,
273,
2703,
63,
20,
8009,
588,
8241,
5621,
202,
202,
698,
288,
1082,
202,
2170,
3908,
4456,
273,
394,
4039,
3908,
12,
10590,
1769,
1082,
202,
8812,
18,
7163,
2170,
12,
2704,
2592,
5491,
7187,
12,
10259,
16,
1728,
10019,
1082,
202,
45,
5491,
7187,
720,
7187,
273,
394,
2592,
5491,
7187,
12,
10259,
16,
18821,
1769,
1082,
202,
1717,
7187,
18,
10086,
2174,
12,
588,
2988,
4247,
9334,
2703,
18,
2469,
1769,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
2703,
18,
2469,
31,
277,
27245,
288,
9506,
202,
45,
1420,
1084,
273,
2703,
63,
77,
15533,
9506,
202,
45,
743,
30617,
273,
2929,
18,
6923,
12,
3168,
18,
17994,
10663,
9506,
202,
430,
261,
14915,
18,
588,
2375,
7675,
1808,
12,
10590,
743,
3719,
288,
6862,
202,
10590,
743,
273,
12654,
461,
1290,
12,
10590,
743,
16,
6003,
1769,
9506,
202,
97,
9506,
202,
430,
261,
10590,
743,
480,
446,
13,
288,
6862,
202,
698,
288,
25083,
202,
3168,
18,
3530,
12,
10590,
743,
16,
467,
1420,
18,
2664,
13511,
16,
6862,
9506,
202,
2704,
2592,
5491,
7187,
12,
1717,
7187,
16,
374,
10019,
6862,
202,
97,
1044,
261,
25341,
425,
13,
288,
25083,
202,
3366,
668,
12,
73,
1769,
368,
613,
555,
25083,
202,
2463,
629,
31,
6862,
202,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
3073,
2951,
1190,
4965,
16019,
12,
45,
1420,
8526,
2703,
16,
1082,
202,
45,
743,
2929,
16,
467,
5491,
7187,
6438,
13,
288,
202,
202,
45,
8241,
6003,
273,
2703,
63,
20,
8009,
588,
8241,
5621,
202,
202,
698,
288,
1082,
202,
2170,
3908,
4456,
273,
394,
4039,
3908,
12,
10590,
1769,
1082,
202,
8812,
18,
7163,
2170,
12,
2704,
2592,
5491,
7187,
12,
10259,
16,
1728,
10019,
1082,
202,
45,
5491,
7187,
720,
7187,
273,
394,
2592,
5491,
7187,
12,
10259,
16,
18821,
1769,
1082,
202,
1717,
7187,
18,
10086,
2174,
12,
588,
2988,
4247,
9334,
2703,
18,
2469,
1769,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
2703,
18,
2469,
2
] |
|
boolean hasPegRevisions = false; | protected void init(String[] arguments) throws SVNException { myUnaryArguments = new HashSet(); myBinaryArguments = new HashMap(); myPaths = new ArrayList(); myURLs = new ArrayList(); myPathURLs = new ArrayList(); myPegRevisions = new ArrayList(); myPegPathRevisions = new ArrayList(); SVNArgument previousArgument = null; String previousArgumentName = null; for (int i = 0; i < arguments.length; i++) { String argument = arguments[i]; if (previousArgument != null) { // parse as value. if (argument.startsWith("--") || argument.startsWith("-")) { throw new SVNException("argument '" + previousArgumentName + "' requires value"); } Object value = previousArgument.parseValue(argument); myBinaryArguments.put(previousArgument, value); previousArgument = null; previousArgumentName = null; continue; } if (argument.startsWith("--")) { // long argument (--no-ignore) SVNArgument svnArgument = SVNArgument.findArgument(argument); if (svnArgument != null) { if (svnArgument.hasValue()) { previousArgument = svnArgument; previousArgumentName = argument; } else { myUnaryArguments.add(svnArgument); } } else { throw new SVNException("invalid argument '" + argument + "'"); } } else if (argument.startsWith("-")) { for (int j = 1; j < argument.length(); j++) { String name = "-" + argument.charAt(j); SVNArgument svnArgument = SVNArgument.findArgument(name); if (svnArgument != null) { if (svnArgument.hasValue()) { if (j + 1 < argument.length()) { String value = argument.substring(j + 1); Object argValue = svnArgument.parseValue(value); myBinaryArguments.put(svnArgument, argValue); } else { previousArgument = svnArgument; previousArgumentName = name; } j = argument.length(); } else { myUnaryArguments.add(svnArgument); } } else { throw new SVNException("invalid argument '" + name + "'"); } } } else { if (myCommandName == null) { myCommandName = argument; } else { String pegRevision = SVNRevision.UNDEFINED.toString(); if (argument.indexOf('@') > 0) { pegRevision = argument.substring(argument.lastIndexOf('@') + 1); argument = argument.substring(0, argument.lastIndexOf('@')); } myPathURLs.add(argument); if (argument.indexOf("://") >= 0) { myURLs.add(argument); myPegRevisions.add(pegRevision); } else { myPaths.add(argument); myPegPathRevisions.add(pegRevision); } } } } if (myCommandName == null) { throw new SVNException("no command name defined"); } if (myPathURLs.isEmpty()) { myPaths.add("."); myPegPathRevisions.add(SVNRevision.UNDEFINED.toString()); myPathURLs.add("."); } } | 2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/70f921244e8ccf34d5043817d6c06e57579c824f/SVNCommandLine.java/buggy/javasvn/src/org/tmatesoft/svn/cli/SVNCommandLine.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1250,
711,
52,
1332,
21208,
273,
629,
31,
225,
1250,
711,
52,
1332,
21208,
273,
629,
31,
225,
1250,
711,
52,
1332,
21208,
273,
629,
31,
225,
1250,
711,
52,
1332,
21208,
273,
629,
31,
225,
4750,
6494,
711,
52,
1332,
21208,
273,
629,
31,
225,
918,
6494,
711,
52,
1332,
21208,
273,
629,
31,
225,
1208,
12,
780,
8526,
6494,
711,
52,
1332,
21208,
273,
629,
31,
225,
1775,
13,
6494,
711,
52,
1332,
21208,
273,
629,
31,
225,
1216,
6494,
711,
52,
1332,
21208,
273,
629,
31,
225,
29537,
50,
503,
6494,
711,
52,
1332,
21208,
273,
629,
31,
225,
288,
6494,
711,
52,
1332,
21208,
273,
629,
31,
225,
1250,
711,
52,
1332,
21208,
273,
629,
31,
225,
1250,
711,
52,
1332,
21208,
273,
629,
31,
225,
1250,
711,
52,
1332,
21208,
273,
629,
31,
225,
1250,
711,
52,
1332,
21208,
273,
629,
31,
225,
1250,
711,
52,
1332,
21208,
273,
629,
31,
225,
1250,
711,
52,
1332,
21208,
273,
629,
31,
225,
1250,
711,
52,
1332,
21208,
273,
629,
31,
225,
3399,
15972,
4628,
6494,
711,
52,
1332,
21208,
273,
629,
31,
225,
273,
6494,
711,
52,
1332,
21208,
273,
629,
31,
225,
394,
6494,
711,
52,
1332,
21208,
273,
629,
31,
225,
6847,
5621,
6494,
711,
52,
1332,
21208,
273,
629,
31,
225,
1250,
711,
52,
1332,
21208,
273,
629,
31,
225,
1250,
711,
52,
1332,
21208,
273,
629,
31,
225,
1250,
711,
52,
1332,
21208,
273,
629,
31,
225,
1250,
711,
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,
1250,
711,
52,
1332,
21208,
273,
629,
31,
225,
1250,
711,
52,
1332,
21208,
273,
629,
31,
225,
1250,
711,
52,
1332,
21208,
273,
629,
31,
225,
1250,
711,
52,
1332,
21208,
273,
629,
31,
225,
4750,
6494,
711,
52,
1332,
21208,
273,
629,
31,
225,
918,
6494,
711,
52,
1332,
21208,
273,
629,
31,
225,
1208,
12,
780,
8526,
6494,
711,
52,
1332,
21208,
273,
629,
31,
225,
1775,
13,
6494,
711,
52,
1332,
21208,
273,
629,
31,
225,
1216,
6494,
711,
52,
1332,
21208,
273,
629,
31,
225,
29537,
50,
503,
6494,
711,
52,
1332,
21208,
273,
629,
31,
225,
288,
6494,
711,
52,
1332,
21208,
273,
629,
31,
225,
1250,
711,
52,
1332,
21208,
273,
629,
2
] |
|
if (buffer[offset] == c) { offset++; return true; | for (;;) { if (end == offset && !fill()) return false; int c = buffer[offset]; if (test == c) { ++offset; return true; } if (c < 128 || !formatChar(c)) { return false; } skipFormatChar(); | boolean match(char c) throws IOException { if (end == offset && !fill()) return false; // This'd be a place where we'd need to map '\r' to '\n' and // do other updates, but TokenStream never looks ahead for // '\n', so we don't bother. if (buffer[offset] == c) { offset++; return true; } return false; } | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/b5141d614d4ae3c0a7455df83312be1a30e1b2e6/LineBuffer.java/buggy/js/rhino/src/org/mozilla/javascript/LineBuffer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1250,
845,
12,
3001,
276,
13,
1216,
1860,
288,
3639,
309,
261,
409,
422,
1384,
597,
401,
5935,
10756,
5411,
327,
629,
31,
3639,
368,
1220,
14271,
506,
279,
3166,
1625,
732,
14271,
1608,
358,
852,
2337,
86,
11,
358,
2337,
82,
11,
471,
3639,
368,
741,
1308,
4533,
16,
1496,
3155,
1228,
5903,
10192,
17510,
364,
3639,
368,
2337,
82,
2187,
1427,
732,
2727,
1404,
23440,
18,
3639,
309,
261,
4106,
63,
3348,
65,
422,
276,
13,
288,
5411,
1384,
9904,
31,
5411,
327,
638,
31,
3639,
289,
3639,
327,
629,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
316,
326,
981,
30,
377,
1250,
845,
12,
3001,
276,
13,
1216,
1860,
288,
3639,
309,
261,
409,
422,
1384,
597,
401,
5935,
10756,
5411,
327,
629,
31,
3639,
368,
1220,
14271,
506,
279,
3166,
1625,
732,
14271,
1608,
358,
852,
2337,
86,
11,
358,
2337,
82,
11,
471,
3639,
368,
741,
1308,
4533,
16,
1496,
3155,
1228,
5903,
10192,
17510,
364,
3639,
368,
2337,
82,
2187,
1427,
732,
2727,
1404,
23440,
18,
3639,
309,
261,
4106,
63,
3348,
65,
422,
276,
13,
288,
5411,
1384,
9904,
31,
5411,
327,
638,
31,
3639,
289,
3639,
327,
629,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return Category.getInstance((String)m_tgCategory.get()); | cat = Category.getInstance(prefix + "." + c.getName()); | public static Category getInstance() { if ((String)m_tgCategory.get() != null) { return Category.getInstance((String)m_tgCategory.get()); } else { // Use the default category anywhere that ThreadCategory // is instantiated without a prefix, classname, or user- // specified string return Category.getInstance("UNCATEGORIZED"); } } | 47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/b3612967cb053036bdb295ee74cb2e369c6ca18d/ThreadCategory.java/buggy/src/core/org/opennms/core/utils/ThreadCategory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
9856,
3694,
1435,
202,
95,
202,
202,
430,
14015,
780,
13,
81,
67,
88,
75,
4457,
18,
588,
1435,
480,
446,
13,
202,
202,
95,
1082,
202,
2463,
9856,
18,
588,
1442,
12443,
780,
13,
81,
67,
88,
75,
4457,
18,
588,
10663,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
759,
2672,
326,
805,
3150,
25651,
716,
4884,
4457,
1082,
202,
759,
353,
17651,
2887,
279,
1633,
16,
7479,
16,
578,
729,
17,
1082,
202,
759,
1269,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
9856,
3694,
1435,
202,
95,
202,
202,
430,
14015,
780,
13,
81,
67,
88,
75,
4457,
18,
588,
1435,
480,
446,
13,
202,
202,
95,
1082,
202,
2463,
9856,
18,
588,
1442,
12443,
780,
13,
81,
67,
88,
75,
4457,
18,
588,
10663,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
759,
2672,
326,
805,
3150,
25651,
716,
4884,
4457,
1082,
202,
759,
353,
17651,
2887,
279,
1633,
16,
7479,
16,
578,
729,
17,
1082,
202,
759,
1269,
533,
1082,
202,
2463,
9856,
18,
588,
1442,
2932,
2124,
13000,
43,
11581,
2056,
8863,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (dataSource == null) { | public Connection getConnection() throws SQLException { if (dataSource == null) { try { // load driver //System.out.println ("lodading ..."+jdbcDriverClassName); Class.forName(jdbcDriverClassName).newInstance(); dataSource = new DriverManagerDataSource( jdbcDriverClassName, connectionString, user, password); // Wrap data source in connection pool PoolingAlgorithmDataSource tmp = new PoolingAlgorithmDataSource(dataSource); DefaultPoolingAlgorithm poolAlgorithm = new DefaultPoolingAlgorithm(); poolAlgorithm.setPoolMax(maxPoolSize); tmp.setPoolingAlgorithm(poolAlgorithm); dataSource = tmp; } catch (InstantiationException e) { e.printStackTrace(); throw new SQLException( "Failed to initialise database connection pool " + "(is the connection pool jar available?) : "); } catch (ClassNotFoundException e) { e.printStackTrace(); throw new SQLException( "Failed to initialise database connection pool for " + jdbcDriverClassName + " (is the connection pool jar available?) : "); } catch (IllegalAccessException e) { e.printStackTrace(); throw new SQLException( "Failed to initialise database connection pool " + "(is the connection pool jar available?) : "); } catch (NoClassDefFoundError e) { e.printStackTrace(); throw new SQLException( "Failed to initialise database connection pool " + "(is the connection pool jar available?) : "); } } Connection conn; String version = null; try { conn = dataSource.getConnection(); ResultSet vr = conn.getMetaData().getTables(conn.getCatalog(), this.schema, "meta_version__version__main", null); //expect at most one result, if no results, tcheck will remain null String tcheck = null; if (vr.next()) tcheck = vr.getString(3); vr.close(); if (tcheck == null) {// don't check databases with no version table yet return conn; } String[] schemas = null; if(getDatabaseType().equals("oracle")) schemas = getSchema().toUpperCase().split(";"); else schemas = getSchema().split(";"); PreparedStatement ps = conn.prepareStatement("select version from "+schemas[0]+".meta_version__version__main"); ResultSet rs = ps.executeQuery(); rs.next(); version = rs.getString(1); rs.close(); if (!version.equals(VERSION)){ throw new SQLException("Database version "+version+" and software version "+VERSION+" do not match"); } return conn; } catch (SQLException e) { JOptionPane.showMessageDialog(null,"Include a correct meta_version__version__main table entry:" + e); //return null; //e.printStackTrace(); throw new SQLException(""); } //return dataSource.getConnection(); } | 2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/61a1624f451efa0797697fc2773e27a304c46993/DetailedDataSource.java/buggy/src/java/org/ensembl/mart/lib/DetailedDataSource.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4050,
6742,
1435,
1216,
6483,
288,
202,
430,
261,
892,
1830,
422,
446,
13,
288,
202,
225,
775,
288,
202,
202,
759,
1262,
3419,
540,
202,
202,
759,
3163,
18,
659,
18,
8222,
7566,
80,
369,
14968,
18483,
15,
24687,
4668,
3834,
1769,
202,
202,
797,
18,
1884,
461,
12,
24687,
4668,
3834,
2934,
2704,
1442,
5621,
202,
202,
892,
1830,
273,
1082,
225,
394,
9396,
1318,
8597,
12,
1082,
202,
24687,
4668,
3834,
16,
1082,
202,
4071,
780,
16,
1082,
202,
1355,
16,
1082,
202,
3664,
1769,
202,
202,
759,
4266,
501,
1084,
316,
1459,
2845,
202,
202,
2864,
310,
6801,
8597,
1853,
273,
1082,
225,
394,
8828,
310,
6801,
8597,
12,
892,
1830,
1769,
202,
202,
1868,
2864,
310,
6801,
2845,
6801,
273,
394,
2989,
2864,
310,
6801,
5621,
202,
202,
6011,
6801,
18,
542,
2864,
2747,
12,
1896,
18834,
1769,
202,
202,
5645,
18,
542,
2864,
310,
6801,
12,
6011,
6801,
1769,
202,
202,
892,
1830,
273,
1853,
31,
202,
225,
289,
1044,
261,
10675,
7072,
503,
425,
13,
288,
202,
202,
73,
18,
1188,
6332,
5621,
202,
202,
12849,
394,
6483,
12,
1082,
225,
315,
2925,
358,
21301,
2063,
1459,
2845,
315,
1082,
202,
15,
7751,
291,
326,
1459,
2845,
7334,
2319,
8535,
294,
315,
1769,
202,
225,
289,
1044,
261,
797,
3990,
425,
13,
288,
202,
202,
73,
18,
1188,
6332,
5621,
202,
202,
12849,
394,
6483,
12,
1082,
225,
315,
2925,
358,
21301,
2063,
1459,
2845,
364,
315,
1082,
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,
4050,
6742,
1435,
1216,
6483,
288,
202,
430,
261,
892,
1830,
422,
446,
13,
288,
202,
225,
775,
288,
202,
202,
759,
1262,
3419,
540,
202,
202,
759,
3163,
18,
659,
18,
8222,
7566,
80,
369,
14968,
18483,
15,
24687,
4668,
3834,
1769,
202,
202,
797,
18,
1884,
461,
12,
24687,
4668,
3834,
2934,
2704,
1442,
5621,
202,
202,
892,
1830,
273,
1082,
225,
394,
9396,
1318,
8597,
12,
1082,
202,
24687,
4668,
3834,
16,
1082,
202,
4071,
780,
16,
1082,
202,
1355,
16,
1082,
202,
3664,
1769,
202,
202,
759,
4266,
501,
1084,
316,
1459,
2845,
202,
202,
2864,
310,
6801,
8597,
1853,
273,
1082,
225,
394,
8828,
310,
6801,
8597,
12,
892,
1830,
1769,
202,
2
] |
|
private void dload(short local) { | private void dload(short local) { | private void dload(short local) { xop(ByteCode.DLOAD_0, ByteCode.DLOAD, local); } | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/9d6bb8957ead2c95a3562b84a47b63afc8cfc761/Codegen.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
302,
945,
12,
6620,
1191,
13,
288,
3639,
619,
556,
12,
3216,
1085,
18,
40,
7783,
67,
20,
16,
3506,
1085,
18,
40,
7783,
16,
1191,
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
] |
this.forceThread = new Thread( this ); | this.forceThread = new Thread( this, "vrpn ForceDeviceRemote" ); | public ForceDeviceRemote( String name, String localInLogfileName, String localOutLogfileName, String remoteInLogfileName, String remoteOutLogfileName ) throws InstantiationException { try { synchronized( downInVrpnLock ) { this.init( name, localInLogfileName, localOutLogfileName, remoteInLogfileName, remoteOutLogfileName ); } } catch( java.lang.UnsatisfiedLinkError e ) { System.out.println( "Error initializing remote forece device " + name + "." ); System.out.println( " -- Unable to find the right functions. This may be a version problem." ); throw new InstantiationException( e.getMessage( ) ); } this.forceThread = new Thread( this ); this.forceThread.start( ); } | 11788 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11788/1365506f71a60451a885e204fe6327636461a9b9/ForceDeviceRemote.java/clean/java_vrpn/ForceDeviceRemote.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
11889,
3654,
5169,
12,
514,
508,
16,
514,
1191,
382,
1343,
17812,
16,
514,
1191,
1182,
1343,
17812,
16,
6862,
1082,
225,
514,
2632,
382,
1343,
17812,
16,
514,
2632,
1182,
1343,
17812,
262,
3196,
202,
15069,
19248,
202,
95,
202,
202,
698,
1082,
202,
95,
26924,
202,
22043,
12,
2588,
382,
58,
86,
7449,
2531,
262,
1082,
202,
95,
9506,
202,
2211,
18,
2738,
12,
508,
16,
1191,
382,
1343,
17812,
16,
1191,
1182,
1343,
17812,
16,
15106,
282,
2632,
382,
1343,
17812,
16,
2632,
1182,
1343,
17812,
11272,
26924,
202,
97,
202,
202,
97,
202,
202,
14683,
12,
2252,
18,
4936,
18,
984,
12973,
21501,
2098,
668,
425,
262,
202,
202,
95,
26924,
202,
3163,
18,
659,
18,
8222,
12,
315,
668,
22584,
2632,
895,
311,
2346,
315,
397,
508,
397,
4585,
11272,
1082,
202,
3163,
18,
659,
18,
8222,
12,
315,
1493,
18640,
358,
1104,
326,
2145,
4186,
18,
225,
1220,
2026,
506,
279,
1177,
6199,
1199,
11272,
1082,
202,
12849,
394,
19248,
12,
425,
18,
24906,
12,
262,
11272,
202,
202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,
202,
482,
11889,
3654,
5169,
12,
514,
508,
16,
514,
1191,
382,
1343,
17812,
16,
514,
1191,
1182,
1343,
17812,
16,
6862,
1082,
225,
514,
2632,
382,
1343,
17812,
16,
514,
2632,
1182,
1343,
17812,
262,
3196,
202,
15069,
19248,
202,
95,
202,
202,
698,
1082,
202,
95,
26924,
202,
22043,
12,
2588,
382,
58,
86,
7449,
2531,
262,
1082,
202,
95,
9506,
202,
2211,
18,
2738,
12,
508,
16,
1191,
382,
1343,
17812,
16,
1191,
1182,
1343,
17812,
16,
15106,
282,
2632,
382,
1343,
17812,
16,
2632,
1182,
1343,
17812,
11272,
26924,
202,
97,
202,
202,
97,
202,
202,
14683,
12,
2252,
18,
4936,
18,
984,
12973,
21501,
2098,
668,
425,
262,
202,
202,
95,
26924,
202,
2
] |
case 1: pixelType[0] = FormatReader.INT8; break; case 2: pixelType[0] = FormatReader.INT16; break; case 3: pixelType[0] = FormatReader.INT8; break; case 4: pixelType[0] = FormatReader.INT32; break; | case 1: pixelType[0] = FormatReader.INT8; break; case 2: pixelType[0] = FormatReader.INT16; break; case 3: pixelType[0] = FormatReader.INT8; break; case 4: pixelType[0] = FormatReader.INT32; break; | protected void initFile(String id) throws FormatException, IOException { super.initFile(id); in = new RandomAccessFile(id, "r"); spork = true; offsets = new Vector(); chunkSizes = new Vector(); parse(0, 0, in.length()); numImages = offsets.size(); //String pixelType = "int"; int bytesPerPixel = bitsPerPixel / 8; bytesPerPixel %= 4; switch (bytesPerPixel) { case 0: case 1: pixelType[0] = FormatReader.INT8; break; case 2: pixelType[0] = FormatReader.INT16; break; case 3: pixelType[0] = FormatReader.INT8; break; case 4: pixelType[0] = FormatReader.INT32; break; default: throw new RuntimeException( "Unknown matching for pixel byte width of: " + bytesPerPixel); } sizeX[0] = width; sizeY[0] = height; sizeZ[0] = numImages; sizeC[0] = isRGB(id) ? 3 : 1; sizeT[0] = 1; currentOrder[0] = "XYCZT"; // The metadata store we're working with. MetadataStore store = getMetadataStore(id); store.setPixels( new Integer(width), new Integer(height), new Integer(numImages), new Integer(bitsPerPixel < 40 ? 3 : 1), new Integer(1), new Integer(pixelType[0]), new Boolean(!little), "XYCZT", null); // this handles the case where the data and resource forks have been // separated if (spork) { // first we want to check if there is a resource fork present // the resource fork will generally have the same name as the data fork, // but will have either the prefix "._" or the suffix ".qtr" // (or <filename>/rsrc on a Mac) String base = null; if (id.indexOf(".") != -1) { base = id.substring(0, id.lastIndexOf(".")); } else base = id; File f = new File(base + ".qtr"); if (f.exists()) { in = new RandomAccessFile(f.getAbsolutePath(), "r"); stripHeader(); parse(0, 0, in.length()); numImages = offsets.size(); return; } else { f = new File(base.substring(0, base.lastIndexOf(File.separator) + 1) + "._" + base.substring(base.lastIndexOf(File.separator) + 1)); if (f.exists()) { in = new RandomAccessFile(f.getAbsolutePath(), "r"); stripHeader(); parse(0, 0, in.length()); numImages = offsets.size(); return; } else { f = new File(base + "/rsrc"); if (f.exists()) { in = new RandomAccessFile(f.getAbsolutePath(), "r"); stripHeader(); parse(0, 0, in.length()); numImages = offsets.size(); return; } } } throw new FormatException("QuickTime resource fork not found. " + " To avoid this issue, please flatten your QuickTime movies " + "before importing with Bio-Formats."); /* TODO // If we didn't find the resource fork, we can check to see if the file // uses a JPEG-compatible codec. In this case, we can do some guesswork // to read the file; otherwise we will fail gracefully. if (DEBUG) { System.out.println("Failed to find the QuickTime resource fork. " + "Attempting to proceed using only the data fork."); } // read through the file looking for occurences of the codec string numImages = 0; String codecString = new String(pixels, 4, 4); if (codecString.equals("mjpg")) codec = "mjpb"; else codec = codecString; if (codec.equals("mjpb") || codec.equals("jpeg")) { // grab the width, height, and bits per pixel from the first plane } else { throw new FormatException("Sorry, this QuickTime movie does not " + "contain a Resource Fork. Support for this case will be improved " + "as time permits. To avoid this issue, please flatten your " + "QuickTime movies before importing with Bio-Formats."); } boolean canAdd = true; for (int i=0; i<pixels.length-5; i++) { if (codecString.equals(new String(pixels, i, 4))) { if (canAdd) { offsets.add(new Integer(i - 4)); numImages++; canAdd = false; } else { canAdd = true; } i += 1000; } } */ } } | 49800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49800/eeb7d180f005e6ae2fd86935cddb27bf8758f621/QTReader.java/buggy/loci/formats/in/QTReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
316,
273,
394,
8072,
26933,
12,
350,
16,
315,
86,
8863,
565,
1694,
778,
273,
638,
31,
565,
8738,
273,
394,
5589,
5621,
565,
2441,
11923,
273,
394,
5589,
5621,
565,
1109,
12,
20,
16,
374,
16,
316,
18,
2469,
10663,
565,
818,
8946,
273,
8738,
18,
1467,
5621,
565,
368,
780,
4957,
559,
273,
315,
474,
14432,
565,
509,
31148,
9037,
273,
4125,
2173,
9037,
342,
1725,
31,
565,
31148,
9037,
30582,
1059,
31,
565,
1620,
261,
3890,
2173,
9037,
13,
288,
1377,
648,
374,
30,
1377,
648,
404,
30,
4957,
559,
63,
20,
65,
273,
4077,
2514,
18,
3217,
28,
31,
898,
31,
1377,
648,
576,
30,
4957,
559,
63,
20,
65,
273,
4077,
2514,
18,
3217,
2313,
31,
898,
31,
1377,
648,
890,
30,
4957,
559,
63,
20,
65,
273,
4077,
2514,
18,
3217,
28,
31,
898,
31,
1377,
648,
1059,
30,
4957,
559,
63,
20,
65,
273,
4077,
2514,
18,
3217,
1578,
31,
898,
31,
1377,
805,
30,
3639,
604,
394,
3235,
12,
1850,
315,
4874,
3607,
364,
4957,
1160,
1835,
434,
30,
315,
397,
31148,
9037,
1769,
565,
289,
565,
963,
60,
63,
20,
65,
273,
1835,
31,
565,
963,
61,
63,
20,
65,
273,
2072,
31,
565,
963,
62,
63,
20,
65,
273,
818,
8946,
31,
565,
963,
39,
63,
20,
65,
273,
353,
11343,
12,
350,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
316,
273,
394,
8072,
26933,
12,
350,
16,
315,
86,
8863,
565,
1694,
778,
273,
638,
31,
565,
8738,
273,
394,
5589,
5621,
565,
2441,
11923,
273,
394,
5589,
5621,
565,
1109,
12,
20,
16,
374,
16,
316,
18,
2469,
10663,
565,
818,
8946,
273,
8738,
18,
1467,
5621,
565,
368,
780,
4957,
559,
273,
315,
474,
14432,
565,
509,
31148,
9037,
273,
4125,
2173,
9037,
342,
1725,
31,
565,
31148,
9037,
30582,
1059,
31,
565,
1620,
261,
3890,
2173,
9037,
13,
288,
1377,
648,
374,
30,
1377,
648,
404,
30,
4957,
559,
63,
20,
2
] |
if (!quiet && !f.delete()) { | if (!f.delete() && !quiet) { | protected void removeFiles(File d, String[] files) { if (files.length > 0) { log("Deleting " + files.length + " files from " + d.getAbsolutePath()); for (int j=0; j<files.length; j++) { File f = new File(d, files[j]); log("Deleting " + f.getAbsolutePath(), verbosity); if (!quiet && !f.delete()) { throw new BuildException("Unable to delete file " + f.getAbsolutePath()); } } } } | 17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/4909034a29b548bee04703ade13f20f0a5fd3143/Delete.java/clean/src/main/org/apache/tools/ant/taskdefs/Delete.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1206,
2697,
12,
812,
302,
16,
514,
8526,
1390,
13,
288,
3639,
309,
261,
2354,
18,
2469,
405,
374,
13,
288,
5411,
613,
2932,
20433,
315,
397,
1390,
18,
2469,
397,
315,
1390,
628,
315,
397,
302,
18,
588,
10368,
743,
10663,
5411,
364,
261,
474,
525,
33,
20,
31,
525,
32,
2354,
18,
2469,
31,
525,
27245,
288,
7734,
1387,
284,
273,
394,
1387,
12,
72,
16,
1390,
63,
78,
19226,
7734,
613,
2932,
20433,
315,
397,
284,
18,
588,
10368,
743,
9334,
11561,
1769,
7734,
309,
16051,
74,
18,
3733,
1435,
597,
401,
20380,
13,
288,
10792,
604,
394,
18463,
2932,
3370,
358,
1430,
585,
315,
397,
284,
18,
588,
10368,
743,
10663,
7734,
289,
5411,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
316,
326,
981,
30,
377,
4750,
918,
1206,
2697,
12,
812,
302,
16,
514,
8526,
1390,
13,
288,
3639,
309,
261,
2354,
18,
2469,
405,
374,
13,
288,
5411,
613,
2932,
20433,
315,
397,
1390,
18,
2469,
397,
315,
1390,
628,
315,
397,
302,
18,
588,
10368,
743,
10663,
5411,
364,
261,
474,
525,
33,
20,
31,
525,
32,
2354,
18,
2469,
31,
525,
27245,
288,
7734,
1387,
284,
273,
394,
1387,
12,
72,
16,
1390,
63,
78,
19226,
7734,
613,
2932,
20433,
315,
397,
284,
18,
588,
10368,
743,
9334,
11561,
1769,
7734,
309,
16051,
74,
18,
3733,
1435,
597,
401,
20380,
13,
288,
10792,
604,
394,
18463,
2932,
3370,
358,
1430,
585,
315,
397,
284,
18,
588,
10368,
743,
10663,
7734,
2
] |
this.clientPort = PortMatcher.MATCHER_PING; this.serverPort = PortMatcher.MATCHER_PING; } else if ( this.clientPort.equals( PortMatcher.MATCHER_PING ) || this.serverPort.equals( PortMatcher.MATCHER_PING )) { | this.clientPort = pingMatcher; this.serverPort = pingMatcher; } else if ( this.clientPort.equals( pingMatcher ) || this.serverPort.equals( pingMatcher )) { | public void fixPing() throws ParseException { if ( this.protocol.equals( ProtocolMatcher.MATCHER_PING )) { this.clientPort = PortMatcher.MATCHER_PING; this.serverPort = PortMatcher.MATCHER_PING; } else if ( this.clientPort.equals( PortMatcher.MATCHER_PING ) || this.serverPort.equals( PortMatcher.MATCHER_PING )) { throw new ParseException( "Invalid port for a non-ping traffic type" ); } } | 49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/f195f519648c05c4a5317cfd8293b1d4f20c13eb/UserPolicyRule.java/clean/mvvm/main/com/metavize/mvvm/policy/UserPolicyRule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2917,
17223,
1435,
1216,
10616,
565,
288,
3639,
309,
261,
333,
18,
8373,
18,
14963,
12,
4547,
6286,
18,
11793,
654,
67,
20002,
8623,
288,
5411,
333,
18,
2625,
2617,
273,
6008,
6286,
18,
11793,
654,
67,
20002,
31,
5411,
333,
18,
3567,
2617,
273,
6008,
6286,
18,
11793,
654,
67,
20002,
31,
3639,
289,
469,
309,
261,
333,
18,
2625,
2617,
18,
14963,
12,
6008,
6286,
18,
11793,
654,
67,
20002,
262,
747,
10792,
333,
18,
3567,
2617,
18,
14963,
12,
6008,
6286,
18,
11793,
654,
67,
20002,
8623,
288,
5411,
604,
394,
10616,
12,
315,
1941,
1756,
364,
279,
1661,
17,
1382,
16301,
618,
6,
11272,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2917,
17223,
1435,
1216,
10616,
565,
288,
3639,
309,
261,
333,
18,
8373,
18,
14963,
12,
4547,
6286,
18,
11793,
654,
67,
20002,
8623,
288,
5411,
333,
18,
2625,
2617,
273,
6008,
6286,
18,
11793,
654,
67,
20002,
31,
5411,
333,
18,
3567,
2617,
273,
6008,
6286,
18,
11793,
654,
67,
20002,
31,
3639,
289,
469,
309,
261,
333,
18,
2625,
2617,
18,
14963,
12,
6008,
6286,
18,
11793,
654,
67,
20002,
262,
747,
10792,
333,
18,
3567,
2617,
18,
14963,
12,
6008,
6286,
18,
11793,
654,
67,
20002,
8623,
288,
5411,
604,
394,
10616,
12,
315,
1941,
1756,
364,
279,
1661,
17,
1382,
16301,
618,
6,
11272,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100
] |
this.enabler = new SelectionEnabler(configElement); | enabler = new SelectionEnabler(configElement); | public PluginAction(IConfigurationElement actionElement, String runAttribute,String definitionId) { super(); // Create unique action id. setId("PluginAction." + Integer.toString(actionCount)); //$NON-NLS-1$ ++actionCount; setActionDefinitionId(definitionId); // Store arguments. this.configElement = actionElement; this.runAttribute = runAttribute; // Read enablement declaration. if (configElement.getAttribute(PluginActionBuilder.ATT_ENABLES_FOR) != null) this.enabler = new SelectionEnabler(configElement); else { IConfigurationElement [] kids = configElement.getChildren(PluginActionBuilder.TAG_ENABLEMENT); if (kids.length > 0) this.enabler = new SelectionEnabler(configElement); } // Give enabler or delegate a chance to adjust enable state selectionChanged(new StructuredSelection()); } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/3113adf073596bfd0c0770703963de0f288cda77/PluginAction.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PluginAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6258,
1803,
12,
45,
1750,
1046,
1301,
1046,
16,
514,
1086,
1499,
16,
780,
2379,
548,
13,
288,
202,
202,
9565,
5621,
202,
202,
759,
1788,
3089,
1301,
612,
18,
202,
202,
542,
548,
2932,
3773,
1803,
1199,
397,
2144,
18,
10492,
12,
1128,
1380,
10019,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
9904,
1128,
1380,
31,
202,
202,
542,
1803,
21768,
12,
6907,
548,
1769,
25083,
202,
759,
4994,
1775,
18,
202,
202,
2211,
18,
1425,
1046,
273,
1301,
1046,
31,
202,
202,
2211,
18,
2681,
1499,
273,
1086,
1499,
31,
9506,
202,
759,
2720,
4237,
475,
8266,
18,
202,
202,
430,
261,
1425,
1046,
18,
588,
1499,
12,
3773,
1803,
1263,
18,
789,
56,
67,
29377,
55,
67,
7473,
13,
480,
446,
13,
1082,
202,
2211,
18,
275,
27371,
273,
394,
12977,
664,
27371,
12,
1425,
1046,
1769,
202,
202,
12107,
288,
1082,
202,
45,
1750,
1046,
5378,
417,
2232,
273,
642,
1046,
18,
588,
4212,
12,
3773,
1803,
1263,
18,
7927,
67,
29377,
3212,
1769,
1082,
202,
430,
261,
79,
2232,
18,
2469,
405,
374,
13,
9506,
202,
2211,
18,
275,
27371,
273,
394,
12977,
664,
27371,
12,
1425,
1046,
1769,
202,
202,
97,
202,
202,
759,
22374,
570,
27371,
578,
7152,
279,
17920,
358,
5765,
4237,
919,
202,
202,
10705,
5033,
12,
2704,
7362,
2862,
6233,
10663,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6258,
1803,
12,
45,
1750,
1046,
1301,
1046,
16,
514,
1086,
1499,
16,
780,
2379,
548,
13,
288,
202,
202,
9565,
5621,
202,
202,
759,
1788,
3089,
1301,
612,
18,
202,
202,
542,
548,
2932,
3773,
1803,
1199,
397,
2144,
18,
10492,
12,
1128,
1380,
10019,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
9904,
1128,
1380,
31,
202,
202,
542,
1803,
21768,
12,
6907,
548,
1769,
25083,
202,
759,
4994,
1775,
18,
202,
202,
2211,
18,
1425,
1046,
273,
1301,
1046,
31,
202,
202,
2211,
18,
2681,
1499,
273,
1086,
1499,
31,
9506,
202,
759,
2720,
4237,
475,
8266,
18,
202,
202,
430,
261,
1425,
1046,
18,
588,
1499,
12,
3773,
1803,
1263,
18,
2
] |
System.err.println("cl add decl:"+decl+ " defs:"+defs); | public boolean scanForDefinitions (Pair st, java.util.Vector forms, ScopeExp defs, Translator tr) { Pair p; if (! (st.cdr instanceof Pair) || ! ((p = (Pair) st.cdr).car instanceof String)) return super.scanForDefinitions(st, forms, defs, tr); String name = (String) p.car; Declaration decl = new Declaration(name); ClassExp oexp = new ClassExp(); decl.noteValue(oexp); if (isSimple) decl.setFlag(Declaration.STATIC_SPECIFIED); decl.setFlag(Declaration.IS_CONSTANT); decl.setType(Compilation.typeClassType); if (defs instanceof ModuleExp) { tr.mustCompileHere(); tr.mustCompileHere(); tr.push(decl); System.err.println("def_class rewrite push "+decl); } Pair declForm = tr.makePair(p, decl, p.cdr); if (declForm instanceof PairWithPosition) { PairWithPosition declPos = (PairWithPosition) declForm; decl.setFile(declPos.getFile()); decl.setLine(declPos.getLine(), declPos.getColumn()); } System.err.println("cl add decl:"+decl+ " defs:"+defs); defs.addDeclaration(decl); st = tr.makePair(st, this, declForm); forms.addElement (st); return true; } | 41089 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41089/2e8c9e19890c6a8b8c6fb458d3c33cce97e9c405/define_class.java/buggy/kawa/standard/define_class.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
4135,
1290,
7130,
261,
4154,
384,
16,
2252,
18,
1367,
18,
5018,
10138,
16,
19694,
5468,
2966,
17588,
16,
18669,
433,
13,
225,
288,
565,
8599,
293,
31,
565,
309,
16051,
261,
334,
18,
71,
3069,
1276,
8599,
13,
3639,
747,
401,
14015,
84,
273,
261,
4154,
13,
384,
18,
71,
3069,
2934,
9815,
1276,
514,
3719,
1377,
327,
2240,
18,
9871,
1290,
7130,
12,
334,
16,
10138,
16,
17588,
16,
433,
1769,
565,
514,
508,
273,
261,
780,
13,
293,
18,
9815,
31,
565,
16110,
4302,
3496,
273,
394,
16110,
4302,
12,
529,
1769,
565,
1659,
2966,
320,
2749,
273,
394,
1659,
2966,
5621,
565,
3496,
18,
7652,
620,
12,
83,
2749,
1769,
565,
309,
261,
291,
5784,
13,
1377,
3496,
18,
542,
4678,
12,
6094,
18,
22741,
67,
13847,
13519,
1769,
565,
3496,
18,
542,
4678,
12,
6094,
18,
5127,
67,
25878,
1769,
565,
3496,
18,
542,
559,
12,
19184,
18,
723,
18328,
1769,
565,
309,
261,
12537,
1276,
5924,
2966,
13,
1377,
288,
3639,
433,
18,
11926,
9937,
26715,
5621,
3639,
433,
18,
11926,
9937,
26715,
5621,
3639,
433,
18,
6206,
12,
8840,
1769,
3639,
2332,
18,
370,
18,
8222,
2932,
536,
67,
1106,
10738,
1817,
13773,
8840,
1769,
1377,
289,
565,
8599,
3496,
1204,
273,
433,
18,
6540,
4154,
12,
84,
16,
3496,
16,
293,
18,
71,
3069,
1769,
565,
309,
261,
8840,
1204,
1276,
8599,
1190,
2555,
13,
1377,
288,
3639,
8599,
1190,
2555,
3496,
1616,
273,
261,
4154,
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,
1250,
4135,
1290,
7130,
261,
4154,
384,
16,
2252,
18,
1367,
18,
5018,
10138,
16,
19694,
5468,
2966,
17588,
16,
18669,
433,
13,
225,
288,
565,
8599,
293,
31,
565,
309,
16051,
261,
334,
18,
71,
3069,
1276,
8599,
13,
3639,
747,
401,
14015,
84,
273,
261,
4154,
13,
384,
18,
71,
3069,
2934,
9815,
1276,
514,
3719,
1377,
327,
2240,
18,
9871,
1290,
7130,
12,
334,
16,
10138,
16,
17588,
16,
433,
1769,
565,
514,
508,
273,
261,
780,
13,
293,
18,
9815,
31,
565,
16110,
4302,
3496,
273,
394,
16110,
4302,
12,
529,
1769,
565,
1659,
2966,
320,
2749,
273,
394,
1659,
2966,
5621,
565,
3496,
18,
7652,
620,
12,
83,
2749,
1769,
565,
309,
2
] |
|
final PsiFile file = documentManager.getPsiFile(document); if (file == null) return; | PsiFile file = getRoot(documentManager.getPsiFile(document), editor); | public void executeWriteAction(Editor editor, DataContext dataContext) { final Project project = editor.getProject(); final PsiDocumentManager documentManager = PsiDocumentManager.getInstance(project); final Document document = editor.getDocument(); final PsiFile file = documentManager.getPsiFile(document); if (file == null) return; final Mover mover = getSuitableMover(editor, file); mover.move(editor,file); } | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/5f8d0b26ed8be9b4fedc6526accda87c29dd092a/MoveStatementHandler.java/buggy/source/com/intellij/openapi/editor/actions/moveUpDown/MoveStatementHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1836,
3067,
1803,
12,
6946,
4858,
16,
1910,
1042,
501,
1042,
13,
288,
565,
727,
5420,
1984,
273,
4858,
18,
588,
4109,
5621,
565,
727,
453,
7722,
2519,
1318,
1668,
1318,
273,
453,
7722,
2519,
1318,
18,
588,
1442,
12,
4406,
1769,
565,
727,
4319,
1668,
273,
4858,
18,
588,
2519,
5621,
565,
727,
453,
7722,
812,
585,
273,
1668,
1318,
18,
588,
52,
7722,
812,
12,
5457,
1769,
565,
309,
261,
768,
422,
446,
13,
327,
31,
565,
727,
490,
1643,
312,
1643,
273,
1322,
89,
9085,
49,
1643,
12,
9177,
16,
585,
1769,
565,
312,
1643,
18,
8501,
12,
9177,
16,
768,
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,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1042,
501,
1042,
13,
288,
565,
727,
5420,
1984,
273,
4858,
18,
588,
4109,
5621,
565,
727,
453,
7722,
2519,
1318,
1668,
1318,
273,
453,
7722,
2519,
1318,
18,
588,
1442,
12,
4406,
1769,
565,
727,
4319,
1668,
273,
4858,
18,
588,
2519,
5621,
565,
727,
453,
7722,
812,
585,
273,
1668,
1318,
18,
588,
52,
7722,
812,
12,
5457,
1769,
565,
309,
261,
768,
422,
446,
13,
327,
31,
565,
727,
490,
1643,
312,
1643,
273,
1322,
89,
9085,
49,
1643,
12,
9177,
16,
585,
1769,
565,
312,
1643,
18,
8501,
12,
9177,
16,
768,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public String getInitParameter(String name) { try { String result = null; final Configuration[] values = configuration.getChildren( name ); for ( int i = 0; i < values.length; i++ ) { if (result == null) { result = ""; } else { result += ","; } Configuration conf = values[i]; result += conf.getValue(); } return result; //return params.getProperty(name); } catch (ConfigurationException ce) { throw new RuntimeException("Embedded configuration exception was: " + ce.getMessage()); } } | 47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/52148e6ed9b39f76c481e06c3d073f4e7092d765/MailetConfigImpl.java/buggy/branches/branch_2_1_fcs/src/java/org/apache/james/core/MailetConfigImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
780,
588,
2570,
1662,
12,
780,
529,
15329,
698,
95,
780,
2088,
33,
2011,
31,
6385,
1750,
8526,
2372,
33,
7025,
18,
588,
4212,
12,
529,
1769,
1884,
12,
474,
77,
33,
20,
31,
77,
32,
2372,
18,
2469,
31,
77,
27245,
95,
430,
12,
2088,
631,
2011,
15329,
2088,
1546,
14432,
97,
12107,
95,
2088,
15,
1546,
10837,
31,
97,
1750,
3923,
33,
2372,
63,
77,
15533,
2088,
15,
33,
3923,
18,
24805,
5621,
97,
2463,
2088,
31,
759,
2463,
2010,
18,
588,
1396,
12,
529,
1769,
97,
14683,
12,
10737,
311,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
780,
588,
2570,
1662,
12,
780,
529,
15329,
698,
95,
780,
2088,
33,
2011,
31,
6385,
1750,
8526,
2372,
33,
7025,
18,
588,
4212,
12,
529,
1769,
1884,
12,
474,
77,
33,
20,
31,
77,
32,
2372,
18,
2469,
31,
77,
27245,
95,
430,
12,
2088,
631,
2011,
15329,
2088,
1546,
14432,
97,
12107,
95,
2088,
15,
1546,
10837,
31,
97,
1750,
3923,
33,
2372,
63,
77,
15533,
2088,
15,
33,
3923,
18,
24805,
5621,
97,
2463,
2088,
31,
759,
2463,
2010,
18,
588,
1396,
12,
529,
1769,
97,
14683,
12,
10737,
311,
15329,
12849,
2704,
11949,
2932,
14980,
7025,
4064,
17416,
2773,
15,
311,
18,
24906,
10663,
9090,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
javax.xml.transform.TransformerFactory.newInstance().newTransformer().transform( new javax.xml.transform.dom.DOMSource(node), | javax.xml.transform.TransformerFactory.newInstance().newTransformer().transform(new javax.xml.transform.dom.DOMSource(node), | private void displayDOM(org.w3c.dom.Node node, java.io.OutputStream ostream) { try { System.out.println("\n====\n"); javax.xml.transform.TransformerFactory.newInstance().newTransformer().transform( new javax.xml.transform.dom.DOMSource(node), new javax.xml.transform.stream.StreamResult(ostream)); System.out.println("\n====\n"); } catch (Exception e) { e.printStackTrace(); } } | 9667 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9667/543f6dfce170197a352cd5f3ea9285b93c22ead1/DispatchXMLDecoder.java/clean/jaxws-ri/rt/src/com/sun/xml/ws/client/dispatch/impl/encoding/DispatchXMLDecoder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
3238,
918,
2562,
8168,
12,
3341,
18,
91,
23,
71,
18,
9859,
18,
907,
756,
16,
2252,
18,
1594,
18,
4632,
320,
3256,
13,
288,
3639,
775,
288,
5411,
2332,
18,
659,
18,
8222,
31458,
82,
894,
64,
82,
8863,
5411,
6863,
18,
2902,
18,
6547,
18,
8319,
1733,
18,
2704,
1442,
7675,
2704,
8319,
7675,
6547,
12,
7734,
394,
6863,
18,
2902,
18,
6547,
18,
9859,
18,
8168,
1830,
12,
2159,
3631,
7734,
394,
6863,
18,
2902,
18,
6547,
18,
3256,
18,
1228,
1253,
12,
669,
793,
10019,
5411,
2332,
18,
659,
18,
8222,
31458,
82,
894,
64,
82,
8863,
3639,
289,
3639,
1044,
261,
503,
425,
13,
288,
5411,
425,
18,
1188,
6332,
5621,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
3238,
918,
2562,
8168,
12,
3341,
18,
91,
23,
71,
18,
9859,
18,
907,
756,
16,
2252,
18,
1594,
18,
4632,
320,
3256,
13,
288,
3639,
775,
288,
5411,
2332,
18,
659,
18,
8222,
31458,
82,
894,
64,
82,
8863,
5411,
6863,
18,
2902,
18,
6547,
18,
8319,
1733,
18,
2704,
1442,
7675,
2704,
8319,
7675,
6547,
12,
7734,
394,
6863,
18,
2902,
18,
6547,
18,
9859,
18,
8168,
1830,
12,
2159,
3631,
7734,
394,
6863,
18,
2902,
18,
6547,
18,
3256,
18,
1228,
1253,
12,
669,
793,
10019,
5411,
2332,
18,
659,
18,
8222,
31458,
82,
894,
64,
82,
8863,
3639,
289,
3639,
1044,
261,
503,
425,
13,
288,
5411,
425,
18,
1188,
6332,
5621,
3639,
289,
2
] |
int size = messages.size(); Message info; for( int i = 0; i < size; i++ ) { info = (Message)messages.elementAt(i); | try { Message info = (Message)messages.findMessageById( msgid); | public boolean isComplete() { int size = messages.size(); Message info; for( int i = 0; i < size; i++ ) { info = (Message)messages.elementAt(i); if( ! info.isComplete()) { return false; } } return true; } | 9947 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9947/e0e56ec15f3a68cf477652f4b04c182908443b30/MessageAgent.java/buggy/com/novell/ldap/client/MessageAgent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
6322,
1435,
202,
95,
3639,
509,
963,
273,
2743,
18,
1467,
5621,
3639,
2350,
1123,
31,
3639,
364,
12,
509,
277,
273,
374,
31,
277,
411,
963,
31,
277,
9904,
262,
288,
5411,
1123,
273,
261,
1079,
13,
6833,
18,
2956,
861,
12,
77,
1769,
5411,
309,
12,
401,
1123,
18,
291,
6322,
10756,
288,
7734,
327,
629,
31,
5411,
289,
3639,
289,
3639,
327,
638,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
261,
1079,
13,
6833,
18,
2956,
861,
12,
77,
1769,
5411,
309,
12,
401,
1123,
18,
291,
6322,
10756,
288,
7734,
327,
629,
31,
5411,
289,
3639,
289,
3639,
327,
638,
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
] |
public org.quickfix.field.TradingSessionID getTradingSessionID() throws FieldNotFound { org.quickfix.field.TradingSessionID value = new org.quickfix.field.TradingSessionID(); | public quickfix.field.TradingSessionID getTradingSessionID() throws FieldNotFound { quickfix.field.TradingSessionID value = new quickfix.field.TradingSessionID(); | public org.quickfix.field.TradingSessionID getTradingSessionID() throws FieldNotFound { org.quickfix.field.TradingSessionID value = new org.quickfix.field.TradingSessionID(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderSingle.java/clean/src/java/src/quickfix/fix42/NewOrderSingle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
1609,
7459,
2157,
734,
336,
1609,
7459,
2157,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
1609,
7459,
2157,
734,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
1609,
7459,
2157,
734,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
1609,
7459,
2157,
734,
336,
1609,
7459,
2157,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
1609,
7459,
2157,
734,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
1609,
7459,
2157,
734,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
logger.debug("min:("+minx+","+miny+"),max:("+maxx+","+maxy+")"); | public Dimension getPreferredSize() { Rectangle cbounds = null; //int minx = Integer.MAX_VALUE, miny = Integer.MAX_VALUE, maxx = 0, maxy = 0; int minx = 0, miny = 0, maxx = 0, maxy = 0; for (int i = 0; i < contentPane.getComponentCount(); i++) { Component c = contentPane.getComponent(i); if (c.isVisible()) { cbounds = c.getBounds(cbounds); logger.debug("bounds: " + cbounds); minx = Math.min(cbounds.x, minx); miny = Math.min(cbounds.y, miny); maxx = Math.max(cbounds.x + cbounds.width , maxx); maxy = Math.max(cbounds.y + cbounds.height, maxy); logger.debug("min:("+minx+","+miny+"),max:("+maxx+","+maxy+")"); } } Dimension min = getMinimumSize(); Dimension userDim = new Dimension(maxx-minx,maxy-miny); logger.debug("userDim is: " + userDim); Dimension usedSpace = new Dimension((int) ((double) Math.max(maxx - minx, min.width) * zoom), (int) ((double) Math.max(maxy - miny, min.height) * zoom)); logger.debug("zoom="+zoom+",usedSpace size is viewport size: " + usedSpace); // but, make sure we return a preferred size that is at least as big as the Viewport Dimension vpSize = getViewportSize(); if (vpSize != null) { if (vpSize.width > usedSpace.width && vpSize.height > usedSpace.height) { logger.debug("preferered size is viewport?: " + vpSize); return vpSize; } } // default logger.debug("preferred size is usedSpace?: " + usedSpace); return usedSpace; } | 53257 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53257/b9d7c4bc0386ed149dd2715da9f999285c1a2fac/PlayPen.java/clean/src/ca/sqlpower/architect/swingui/PlayPen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
13037,
12822,
4193,
1225,
1435,
288,
202,
202,
19463,
2875,
9284,
273,
446,
31,
202,
202,
759,
474,
31407,
273,
2144,
18,
6694,
67,
4051,
16,
1131,
93,
273,
2144,
18,
6694,
67,
4051,
16,
943,
92,
273,
374,
16,
943,
93,
273,
374,
31,
202,
202,
474,
31407,
273,
374,
16,
1131,
93,
273,
374,
16,
943,
92,
273,
374,
16,
943,
93,
273,
374,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
913,
8485,
18,
588,
1841,
1380,
5621,
277,
27245,
288,
1082,
202,
1841,
276,
273,
913,
8485,
18,
588,
1841,
12,
77,
1769,
1082,
202,
430,
261,
71,
18,
291,
6207,
10756,
288,
9506,
202,
71,
10576,
273,
276,
18,
588,
5694,
12,
71,
10576,
1769,
9506,
202,
4901,
18,
4148,
2932,
10576,
30,
315,
397,
2875,
9284,
1769,
9506,
202,
1154,
92,
273,
2361,
18,
1154,
12,
71,
10576,
18,
92,
16,
31407,
1769,
9506,
202,
1154,
93,
273,
2361,
18,
1154,
12,
71,
10576,
18,
93,
16,
1131,
93,
1769,
9506,
202,
1896,
92,
273,
2361,
18,
1896,
12,
71,
10576,
18,
92,
397,
2875,
9284,
18,
2819,
269,
943,
92,
1769,
9506,
202,
1896,
93,
273,
2361,
18,
1896,
12,
71,
10576,
18,
93,
397,
2875,
9284,
18,
4210,
16,
943,
93,
1769,
9506,
202,
4901,
18,
4148,
2932,
1154,
30,
2932,
15,
1154,
92,
15,
15937,
15,
1154,
93,
9078,
3631,
1896,
30,
2932,
15,
1896,
92,
15,
15937,
15,
1896,
93,
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,
13037,
12822,
4193,
1225,
1435,
288,
202,
202,
19463,
2875,
9284,
273,
446,
31,
202,
202,
759,
474,
31407,
273,
2144,
18,
6694,
67,
4051,
16,
1131,
93,
273,
2144,
18,
6694,
67,
4051,
16,
943,
92,
273,
374,
16,
943,
93,
273,
374,
31,
202,
202,
474,
31407,
273,
374,
16,
1131,
93,
273,
374,
16,
943,
92,
273,
374,
16,
943,
93,
273,
374,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
913,
8485,
18,
588,
1841,
1380,
5621,
277,
27245,
288,
1082,
202,
1841,
276,
273,
913,
8485,
18,
588,
1841,
12,
77,
1769,
1082,
202,
430,
261,
71,
18,
291,
6207,
10756,
288,
9506,
202,
71,
10576,
273,
2
] |
|
label.setText("&Bold:"); | label.setText(PreferencesMessages.getString("CEditorPreferencePage.colorPage.bold")); | private Control createColorPage(Composite parent) { Composite colorComposite = new Composite(parent, SWT.NULL); colorComposite.setLayout(new GridLayout()); Composite backgroundComposite = new Composite(colorComposite, SWT.NULL); GridLayout layout = new GridLayout(); layout.marginHeight = 0; layout.marginWidth = 0; layout.numColumns = 2; backgroundComposite.setLayout(layout); Label label = new Label(backgroundComposite, SWT.NULL); label.setText("Bac&kground Color:"); GridData gd = new GridData(); gd.horizontalSpan = 2; label.setLayoutData(gd); SelectionListener backgroundSelectionListener = new SelectionListener() { public void widgetSelected(SelectionEvent e) { boolean custom = fBackgroundCustomRadioButton.getSelection(); fBackgroundColorButton.setEnabled(custom); fOverlayStore.setValue(CEditor.PREFERENCE_COLOR_BACKGROUND_SYSTEM_DEFAULT, !custom); } public void widgetDefaultSelected(SelectionEvent e) { } }; fBackgroundDefaultRadioButton = new Button(backgroundComposite, SWT.RADIO | SWT.LEFT); fBackgroundDefaultRadioButton.setText("S&ystem Default"); gd = new GridData(); gd.horizontalSpan = 2; fBackgroundDefaultRadioButton.setLayoutData(gd); fBackgroundDefaultRadioButton.addSelectionListener(backgroundSelectionListener); fBackgroundCustomRadioButton = new Button(backgroundComposite, SWT.RADIO | SWT.LEFT); fBackgroundCustomRadioButton.setText("C&ustom"); fBackgroundCustomRadioButton.addSelectionListener(backgroundSelectionListener); fBackgroundColorEditor = new ColorEditor(backgroundComposite); fBackgroundColorButton = fBackgroundColorEditor.getButton(); gd = new GridData(GridData.FILL_HORIZONTAL); gd.horizontalAlignment = GridData.BEGINNING; fBackgroundColorButton.setLayoutData(gd); label = new Label(colorComposite, SWT.LEFT); label.setText("Fo®round:"); label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); Composite editorComposite = new Composite(colorComposite, SWT.NULL); layout = new GridLayout(); layout.numColumns = 2; layout.marginHeight = 0; layout.marginWidth = 0; editorComposite.setLayout(layout); gd = new GridData(GridData.FILL_BOTH); editorComposite.setLayoutData(gd); fList = new List(editorComposite, SWT.SINGLE | SWT.V_SCROLL); gd = new GridData(GridData.FILL_BOTH); gd.heightHint = convertHeightInCharsToPixels(5); fList.setLayoutData(gd); Composite stylesComposite = new Composite(editorComposite, SWT.NULL); layout = new GridLayout(); layout.marginHeight = 0; layout.marginWidth = 0; layout.numColumns = 2; stylesComposite.setLayout(layout); stylesComposite.setLayoutData(new GridData(GridData.FILL_BOTH)); label = new Label(stylesComposite, SWT.LEFT); label.setText("C&olor:"); gd = new GridData(); gd.horizontalAlignment = GridData.BEGINNING; label.setLayoutData(gd); fForegroundColorEditor = new ColorEditor(stylesComposite); Button foregroundColorButton = fForegroundColorEditor.getButton(); gd = new GridData(GridData.FILL_HORIZONTAL); gd.horizontalAlignment = GridData.BEGINNING; foregroundColorButton.setLayoutData(gd); label = new Label(stylesComposite, SWT.LEFT); label.setText("&Bold:"); gd = new GridData(); gd.horizontalAlignment = GridData.BEGINNING; label.setLayoutData(gd); fBoldCheckBox = new Button(stylesComposite, SWT.CHECK); gd = new GridData(GridData.FILL_HORIZONTAL); gd.horizontalAlignment = GridData.BEGINNING; fBoldCheckBox.setLayoutData(gd); label = new Label(colorComposite, SWT.LEFT); label.setText("Preview:"); label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); Control previewer = createPreviewer(colorComposite); gd = new GridData(GridData.FILL_BOTH); gd.widthHint = convertWidthInCharsToPixels(80); gd.heightHint = convertHeightInCharsToPixels(15); previewer.setLayoutData(gd); fList.addSelectionListener(new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { // do nothing } public void widgetSelected(SelectionEvent e) { handleListSelection(); } }); foregroundColorButton.addSelectionListener(new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { // do nothing } public void widgetSelected(SelectionEvent e) { int i = fList.getSelectionIndex(); String key = fListModel[i][1]; PreferenceConverter.setValue(fOverlayStore, key, fForegroundColorEditor.getColorValue()); } }); fBackgroundColorButton.addSelectionListener(new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { // do nothing } public void widgetSelected(SelectionEvent e) { PreferenceConverter.setValue( fOverlayStore, CEditor.PREFERENCE_COLOR_BACKGROUND, fBackgroundColorEditor.getColorValue()); } }); fBoldCheckBox.addSelectionListener(new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { // do nothing } public void widgetSelected(SelectionEvent e) { int i = fList.getSelectionIndex(); String key = fListModel[i][1]; fOverlayStore.setValue(key + "_bold", fBoldCheckBox.getSelection()); } }); WorkbenchHelp.setHelp(colorComposite, ICHelpContextIds.C_EDITOR_COLORS_PREF_PAGE); return colorComposite; } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/1738ff26440cb838b4d42f49cb8d29c4cc9babdf/CEditorPreferencePage.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/CEditorPreferencePage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
8888,
752,
2957,
1964,
12,
9400,
982,
13,
288,
202,
202,
9400,
2036,
9400,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
8560,
1769,
202,
202,
3266,
9400,
18,
542,
3744,
12,
2704,
7145,
3744,
10663,
202,
202,
9400,
5412,
9400,
273,
394,
14728,
12,
3266,
9400,
16,
348,
8588,
18,
8560,
1769,
202,
202,
6313,
3744,
3511,
273,
394,
7145,
3744,
5621,
202,
202,
6741,
18,
10107,
2686,
273,
374,
31,
202,
202,
6741,
18,
10107,
2384,
273,
374,
31,
202,
202,
6741,
18,
2107,
3380,
273,
576,
31,
202,
202,
9342,
9400,
18,
542,
3744,
12,
6741,
1769,
202,
202,
2224,
1433,
273,
394,
5287,
12,
9342,
9400,
16,
348,
8588,
18,
8560,
1769,
202,
202,
1925,
18,
542,
1528,
2932,
38,
1077,
10,
79,
2915,
5563,
2773,
1769,
202,
202,
6313,
751,
15551,
273,
394,
7145,
751,
5621,
202,
202,
19016,
18,
18396,
6952,
273,
576,
31,
202,
202,
1925,
18,
542,
3744,
751,
12,
19016,
1769,
202,
202,
6233,
2223,
5412,
6233,
2223,
273,
394,
12977,
2223,
1435,
288,
1082,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
9506,
202,
6494,
1679,
273,
284,
8199,
3802,
19984,
3616,
18,
588,
6233,
5621,
9506,
202,
74,
21699,
3616,
18,
542,
1526,
12,
3662,
1769,
9506,
202,
74,
11627,
2257,
18,
542,
620,
12,
1441,
72,
1811,
18,
3670,
10830,
67,
10989,
67,
8720,
20166,
67,
14318,
67,
5280,
16,
401,
3662,
1769,
1082,
202,
97,
1082,
202,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
8888,
752,
2957,
1964,
12,
9400,
982,
13,
288,
202,
202,
9400,
2036,
9400,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
8560,
1769,
202,
202,
3266,
9400,
18,
542,
3744,
12,
2704,
7145,
3744,
10663,
202,
202,
9400,
5412,
9400,
273,
394,
14728,
12,
3266,
9400,
16,
348,
8588,
18,
8560,
1769,
202,
202,
6313,
3744,
3511,
273,
394,
7145,
3744,
5621,
202,
202,
6741,
18,
10107,
2686,
273,
374,
31,
202,
202,
6741,
18,
10107,
2384,
273,
374,
31,
202,
202,
6741,
18,
2107,
3380,
273,
576,
31,
202,
202,
9342,
9400,
18,
542,
3744,
12,
6741,
1769,
202,
202,
2224,
1433,
273,
394,
5287,
12,
9342,
9400,
16,
348,
8588,
18,
8560,
2
] |
private static boolean isIterator(PsiClass aClass) { | public static boolean isIterator(PsiClass aClass){ | private static boolean isIterator(PsiClass aClass) { final String className = aClass.getQualifiedName(); if("java.util.Iterator".equals(className)){ return true; } final PsiManager psiManager = aClass.getManager(); final Project project = aClass.getProject(); final GlobalSearchScope scope = GlobalSearchScope.allScope(project); final PsiClass iterator = psiManager.findClass("java.util.Iterator", scope); return aClass.isInheritor(iterator, true); } | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/0aedf33c7dff54890b2ed798d21d9e8cb91dcf1a/IteratorNextDoesNotThrowNoSuchElementExceptionInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/bugs/IteratorNextDoesNotThrowNoSuchElementExceptionInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
353,
3198,
12,
52,
7722,
797,
20148,
13,
565,
288,
3639,
727,
514,
2658,
273,
20148,
18,
588,
12345,
5621,
3639,
309,
2932,
6290,
18,
1367,
18,
3198,
9654,
14963,
12,
12434,
3719,
95,
5411,
327,
638,
31,
3639,
289,
3639,
727,
453,
7722,
1318,
23921,
1318,
273,
20148,
18,
588,
1318,
5621,
3639,
727,
5420,
1984,
273,
20148,
18,
588,
4109,
5621,
3639,
727,
8510,
2979,
3876,
2146,
273,
8510,
2979,
3876,
18,
454,
3876,
12,
4406,
1769,
3639,
727,
453,
7722,
797,
2775,
273,
7734,
23921,
1318,
18,
4720,
797,
2932,
6290,
18,
1367,
18,
3198,
3113,
2146,
1769,
3639,
327,
20148,
18,
291,
382,
1614,
1811,
12,
9838,
16,
638,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
12,
12434,
3719,
95,
5411,
327,
638,
31,
3639,
289,
3639,
727,
453,
7722,
1318,
23921,
1318,
273,
20148,
18,
588,
1318,
5621,
3639,
727,
5420,
1984,
273,
20148,
18,
588,
4109,
5621,
3639,
727,
8510,
2979,
3876,
2146,
273,
8510,
2979,
3876,
18,
454,
3876,
12,
4406,
1769,
3639,
727,
453,
7722,
797,
2775,
273,
7734,
23921,
1318,
18,
4720,
797,
2932,
6290,
18,
1367,
18,
3198,
3113,
2146,
1769,
3639,
327,
20148,
18,
291,
382,
1614,
1811,
12,
9838,
16,
638,
1769,
565,
2
] |
if ( StringUtil.isBlank( value ) ) return; | if ( value == null ) return; | public void end( ) throws SAXException { String value = text.toString( ); if ( StringUtil.isBlank( value ) ) return; String newColumnName = setupBoundDataColumn( value, value ); // set the property for the result set column property of DataItem. doEnd( newColumnName ); } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e25130736a1421b789d0e6852d66cd1143ac5f0d/CompatibleDataValueExprState.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/CompatibleDataValueExprState.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
679,
12,
262,
1216,
14366,
202,
95,
202,
202,
780,
460,
273,
977,
18,
10492,
12,
11272,
202,
202,
430,
261,
14205,
18,
291,
7796,
12,
460,
262,
262,
1082,
202,
2463,
31,
9506,
202,
780,
394,
8516,
273,
3875,
3499,
751,
1494,
12,
460,
16,
460,
11272,
202,
202,
759,
444,
326,
1272,
364,
326,
563,
444,
1057,
1272,
434,
1910,
1180,
18,
202,
202,
2896,
1638,
12,
394,
8516,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
679,
12,
262,
1216,
14366,
202,
95,
202,
202,
780,
460,
273,
977,
18,
10492,
12,
11272,
202,
202,
430,
261,
14205,
18,
291,
7796,
12,
460,
262,
262,
1082,
202,
2463,
31,
9506,
202,
780,
394,
8516,
273,
3875,
3499,
751,
1494,
12,
460,
16,
460,
11272,
202,
202,
759,
444,
326,
1272,
364,
326,
563,
444,
1057,
1272,
434,
1910,
1180,
18,
202,
202,
2896,
1638,
12,
394,
8516,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if( name.endsWith( ".class" ) ) | String lowerName = name.toLowerCase(); if( lowerName.endsWith( ".class" ) ) | public synchronized Class loadClass( String name ) throws ClassNotFoundException { Main.debug( dbgID + "loadClass, class name = " + name ); //We need to be able to handle foo.class, so strip off the suffix String fixed_name = name; if( name.endsWith( ".class" ) ) { fixed_name = name.substring( 0, name.lastIndexOf( ".class" ) ); } else if( name.endsWith( ".java" ) ) { // be smart, some applets specify code=XyzClass.java fixed_name = name.substring( 0, name.lastIndexOf( ".java" ) ); } Object o = loadedClasses.get(fixed_name); if (o != null) { Main.debug("already loaded: " + o); return (Class)o; } Class cl = findClass(fixed_name); //Class cl = super.loadClass(fixed_name); Main.debug(dbgID + " returns class " + cl.getName() + " Classloader=" + cl.getClassLoader()); return cl; } | 1818 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1818/6d2b8e85de7502abf79309a16bf57441d96a6787/KJASAppletClassLoader.java/buggy/khtml/java/org/kde/kjas/server/KJASAppletClassLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
1659,
16038,
12,
514,
508,
262,
1216,
10403,
565,
288,
3639,
12740,
18,
4148,
12,
28966,
734,
397,
315,
945,
797,
16,
667,
508,
273,
315,
397,
508,
11272,
3639,
368,
3218,
1608,
358,
506,
7752,
358,
1640,
8431,
18,
1106,
16,
1427,
2569,
3397,
326,
3758,
3639,
514,
5499,
67,
529,
273,
508,
31,
6647,
514,
2612,
461,
273,
508,
18,
869,
5630,
5621,
309,
12,
2612,
461,
18,
5839,
1190,
12,
3552,
1106,
6,
262,
262,
3639,
288,
5411,
5499,
67,
529,
273,
508,
18,
28023,
12,
374,
16,
508,
18,
2722,
31985,
12,
3552,
1106,
6,
262,
11272,
3639,
289,
3639,
469,
309,
12,
508,
18,
5839,
1190,
12,
3552,
6290,
6,
262,
262,
3639,
288,
5411,
368,
506,
13706,
16,
2690,
513,
20773,
4800,
981,
33,
60,
93,
94,
797,
18,
6290,
5411,
5499,
67,
529,
273,
508,
18,
28023,
12,
374,
16,
508,
18,
2722,
31985,
12,
3552,
6290,
6,
262,
11272,
3639,
289,
3639,
1033,
320,
273,
4203,
4818,
18,
588,
12,
12429,
67,
529,
1769,
3639,
309,
261,
83,
480,
446,
13,
288,
5411,
12740,
18,
4148,
2932,
17583,
4203,
30,
315,
397,
320,
1769,
5411,
327,
261,
797,
13,
83,
31,
3639,
289,
3639,
1659,
927,
273,
1104,
797,
12,
12429,
67,
529,
1769,
3639,
368,
797,
927,
273,
2240,
18,
945,
797,
12,
12429,
67,
529,
1769,
3639,
12740,
18,
4148,
12,
1966,
75,
734,
397,
315,
1135,
667,
315,
397,
927,
18,
17994,
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,
3852,
1659,
16038,
12,
514,
508,
262,
1216,
10403,
565,
288,
3639,
12740,
18,
4148,
12,
28966,
734,
397,
315,
945,
797,
16,
667,
508,
273,
315,
397,
508,
11272,
3639,
368,
3218,
1608,
358,
506,
7752,
358,
1640,
8431,
18,
1106,
16,
1427,
2569,
3397,
326,
3758,
3639,
514,
5499,
67,
529,
273,
508,
31,
6647,
514,
2612,
461,
273,
508,
18,
869,
5630,
5621,
309,
12,
2612,
461,
18,
5839,
1190,
12,
3552,
1106,
6,
262,
262,
3639,
288,
5411,
5499,
67,
529,
273,
508,
18,
28023,
12,
374,
16,
508,
18,
2722,
31985,
12,
3552,
1106,
6,
262,
11272,
3639,
289,
3639,
469,
309,
12,
508,
18,
5839,
1190,
12,
3552,
6290,
6,
262,
2
] |
int i; for (i = 0; i < MAX_PRECISION - 1; i++) { sqrtLutFixed[i] = (int)(Math.sqrt(i*sqStepFloat)); } sqrtLutFixed[i] = sqrtLutFixed[i-1]; | int i; for (i = 0; i < MAX_PRECISION - 1; i++) { sqrtLutFixed[i] = (int)(Math.sqrt(i*sqStepFloat)); } sqrtLutFixed[i] = sqrtLutFixed[i-1]; | private void calculateFixedPointSqrtLookupTable() { sqStepFloat = (fastGradientArraySize * fastGradientArraySize) / (MAX_PRECISION - 2); // The last two values are the same so that linear square root // interpolation can happen on the maximum reachable element in the // lookup table (precision-2) int i; for (i = 0; i < MAX_PRECISION - 1; i++) { sqrtLutFixed[i] = (int)(Math.sqrt(i*sqStepFloat)); } sqrtLutFixed[i] = sqrtLutFixed[i-1]; } | 46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/c26e5ec22b4d94b781d4557388c4ecfa235ae876/RadialGradientPaintContext.java/clean/sources/org/apache/batik/ext/awt/RadialGradientPaintContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
4604,
7505,
2148,
19643,
3797,
6609,
1388,
1435,
288,
202,
4202,
202,
11410,
4160,
4723,
273,
261,
8076,
15651,
1076,
1225,
225,
380,
4797,
15651,
1076,
1225,
13,
3196,
565,
342,
261,
6694,
67,
3670,
26913,
300,
576,
1769,
202,
202,
759,
1021,
1142,
2795,
924,
854,
326,
1967,
1427,
716,
9103,
8576,
1365,
225,
202,
759,
12851,
848,
5865,
603,
326,
4207,
19234,
930,
316,
326,
225,
202,
759,
3689,
1014,
261,
14548,
17,
22,
13,
202,
474,
277,
31,
202,
1884,
261,
77,
273,
374,
31,
277,
411,
4552,
67,
3670,
26913,
300,
404,
31,
277,
27245,
288,
202,
565,
5700,
48,
322,
7505,
63,
77,
65,
273,
261,
474,
21433,
10477,
18,
24492,
12,
77,
14,
11410,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
4604,
7505,
2148,
19643,
3797,
6609,
1388,
1435,
288,
202,
4202,
202,
11410,
4160,
4723,
273,
261,
8076,
15651,
1076,
1225,
225,
380,
4797,
15651,
1076,
1225,
13,
3196,
565,
342,
261,
6694,
67,
3670,
26913,
300,
576,
1769,
202,
202,
759,
1021,
1142,
2795,
924,
854,
326,
1967,
1427,
716,
9103,
8576,
1365,
225,
202,
759,
12851,
848,
5865,
603,
326,
4207,
19234,
930,
316,
326,
225,
202,
759,
3689,
1014,
261,
14548,
17,
22,
13,
202,
474,
277,
31,
202,
1884,
261,
77,
273,
374,
31,
277,
411,
4552,
67,
3670,
26913,
300,
404,
31,
277,
27245,
288,
202,
565,
5700,
48,
322,
7505,
63,
77,
65,
273,
261,
474,
21433,
10477,
18,
24492,
2
] |
ResultSet rs = null; String itemName=null, endDate=null, startDate=null, description=null, sellerName=null; float maxBid=0, initialPrice=0, buyNow=0, reservePrice=0; int qty=0, sellerId=-1, nbOfBids=0; String firstBid=null; | ResultSet rs = null; String itemName = null, endDate = null, startDate = null, description = null, sellerName = null; float maxBid = 0, initialPrice = 0, buyNow = 0, reservePrice = 0; int qty = 0, sellerId = -1, nbOfBids = 0; String firstBid = null; | public String getItemDescription(Integer itemId, int userId) throws RemoteException { StringBuffer html = new StringBuffer(); Connection conn = null; PreparedStatement stmt = null; ResultSet rs = null; String itemName=null, endDate=null, startDate=null, description=null, sellerName=null; float maxBid=0, initialPrice=0, buyNow=0, reservePrice=0; int qty=0, sellerId=-1, nbOfBids=0; String firstBid=null; try { conn = dataSource.getConnection(); conn.setAutoCommit(false); stmt = conn.prepareStatement("SELECT * FROM items WHERE id=?"); stmt.setInt(1, itemId.intValue()); rs = stmt.executeQuery(); } catch (SQLException e) { try { if (stmt != null) stmt.close(); if (conn != null) conn.close(); } catch (Exception ignore) { } throw new RemoteException("Failed to get the item: " +e); } try { if (!rs.first()) { stmt = conn.prepareStatement("SELECT * FROM old_items WHERE id=?"); stmt.setInt(1, itemId.intValue()); rs = stmt.executeQuery(); } } catch (SQLException e) { try { if (stmt != null) stmt.close(); if (conn != null) conn.close(); } catch (Exception ignore) { } throw new RemoteException("Failed to get the item from old items: " +e); } try { if (rs.first()) { itemName = rs.getString("name"); description = rs.getString("description"); endDate = rs.getString("end_date"); startDate = rs.getString("start_date"); initialPrice = rs.getFloat("initial_price"); reservePrice = rs.getFloat("reserve_price"); qty = rs.getInt("quantity"); sellerId = rs.getInt("seller"); maxBid = rs.getFloat("max_bid"); // current price nbOfBids = rs.getInt("nb_of_bids"); PreparedStatement sellerStmt = null; ResultSet sellerResult = null; try { sellerStmt = conn.prepareStatement("SELECT nickname FROM users WHERE id=?"); sellerStmt.setInt(1, sellerId); sellerResult = sellerStmt.executeQuery(); // Get the seller's name if (sellerResult.first()) sellerName = sellerResult.getString("nickname"); sellerStmt.close(); // close statement } catch (SQLException e) { try { if (sellerStmt != null) sellerStmt.close(); // close statement if (conn != null) conn.close(); } catch (Exception ignore) { } throw new RemoteException("Failed to execute Query for seller: " +e); } } if (maxBid == 0) { firstBid = "none"; // current bid maxBid = initialPrice; // current price buyNow = rs.getFloat("buy_now"); } else { // current bid = current price for the specified quantity if (qty > 1) { PreparedStatement bidStmt = null; ResultSet bidResult = null; try { /* Get the qty max first bids and parse bids in this order until qty is reached. The bid that reaches qty is the current minimum bid. */ bidStmt = conn.prepareStatement("SELECT bids.id, bids.qty, bids.bid FROM bids WHERE item_id=? ORDER BY bid DESC LIMIT ?"); bidStmt.setInt(1, itemId.intValue()); bidStmt.setInt(2, qty); bidResult = bidStmt.executeQuery(); bidStmt.close(); // close statement } catch (SQLException e) { try { if (bidStmt != null) bidStmt.close(); // close statement if (conn != null) conn.close(); } catch (Exception ignore) { } } try { float bidValue; int numberOfItems = 0; while (bidResult.next()) { bidValue = bidResult.getFloat("bid"); numberOfItems += bidResult.getInt("qty"); if (numberOfItems >= qty) { maxBid = bidValue; break; } } } catch (Exception e) { try { if (stmt != null) stmt.close(); if (conn != null) conn.close(); } catch (Exception ignore) { } throw new RemoteException("Problem while computing current bid: "+e+"<br>"); } Float foo = new Float(maxBid); firstBid = foo.toString(); } else { // qty <= 1, current bid is maxBid Float foo = new Float(maxBid); firstBid = foo.toString(); } } if (stmt != null) stmt.close(); if (conn != null) conn.close(); if (userId>0) { html.append(printHTMLHighlighted("You are ready to bid on: "+itemName)); } else { html.append(printHTMLHighlighted(itemName)); } html.append("<TABLE>\n"+ "<TR><TD>Currently<TD><b><BIG>"+maxBid+"</BIG></b>\n"); // Check if the reservePrice has been met (if any) if (reservePrice > 0) { // Has the reserve price been met ? if (maxBid >= reservePrice) html.append("(The reserve price has been met)\n"); else html.append("(The reserve price has NOT been met)\n"); } html.append("<TR><TD>Quantity<TD><b><BIG>"+qty+"</BIG></b>\n"+ "<TR><TD>First bid<TD><b><BIG>"+firstBid+"</BIG></b>\n"+ "<TR><TD># of bids<TD><b><BIG>"+nbOfBids+"</BIG></b> (<a href=\"/servlet/edu.rice.rubis.beans.servlets.ViewBidHistory?itemId="+itemId+"\">bid history</a>)\n"+ "<TR><TD>Seller<TD><a href=\"/servlet/edu.rice.rubis.beans.servlets.ViewUserInfo?userId="+sellerId+"\">"+sellerName+"</a> (<a href=\"/servlet/edu.rice.rubis.beans.servlets.PutCommentAuth?to="+sellerId+"&itemId="+itemId+"\">Leave a comment on this user</a>)\n"+ "<TR><TD>Started<TD>"+startDate+"\n"+ "<TR><TD>Ends<TD>"+endDate+"\n"+ "</TABLE>"); // Can the user buy this item now ? if (buyNow > 0) html.append("<p><a href=\"/servlet/edu.rice.rubis.beans.servlets.BuyNowAuth?itemId="+itemId+"\">"+ "<IMG SRC=\"/EJB_HTML/buy_it_now.jpg\" height=22 width=150></a>"+ " <BIG><b>You can buy this item right now for only $"+buyNow+"</b></BIG><br><p>\n"); if (userId<=0) { html.append("<a href=\"/servlet/edu.rice.rubis.beans.servlets.PutBidAuth?itemId="+itemId+"\"><IMG SRC=\"/EJB_HTML/bid_now.jpg\" height=22 width=90> on this item</a>\n"); } html.append(printHTMLHighlighted("Item description")); html.append(description); html.append("<br><p>\n"); if (userId>0) { html.append(printHTMLHighlighted("Bidding")); float minBid = maxBid+1; html.append("<form action=\"/servlet/edu.rice.rubis.beans.servlets.StoreBid\" method=POST>\n"+ "<input type=hidden name=minBid value="+minBid+">\n"+ "<input type=hidden name=userId value="+userId+">\n"+ "<input type=hidden name=itemId value="+itemId+">\n"+ "<input type=hidden name=maxQty value="+qty+">\n"+ "<center><table>\n"+ "<tr><td>Your bid (minimum bid is "+minBid+"):</td>\n"+ "<td><input type=text size=10 name=bid></td></tr>\n"+ "<tr><td>Your maximum bid:</td>\n"+ "<td><input type=text size=10 name=maxBid></td></tr>\n"); if (qty > 1) html.append("<tr><td>Quantity:</td>\n"+ "<td><input type=text size=5 name=qty></td></tr>\n"); else html.append("<input type=hidden name=qty value=1>\n"); html.append("</table><p><input type=submit value=\"Bid now!\"></center><p>\n"); } } catch (Exception e) { throw new RemoteException("Unable to print Item description (exception: "+e+")<br>\n"); } return html.toString(); } | 5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/ae0c40f7e168dda45fa4267b28f35853fc325320/SB_ViewItemBean.java/clean/EJB_SessionBean/edu/rice/rubis/beans/SB_ViewItemBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
8143,
3291,
12,
4522,
18424,
16,
509,
6249,
13,
1216,
18361,
225,
288,
565,
6674,
1729,
273,
394,
6674,
5621,
565,
4050,
3639,
1487,
273,
446,
31,
565,
16913,
3480,
273,
446,
31,
565,
10842,
3597,
6647,
273,
446,
31,
377,
514,
23488,
33,
2011,
16,
13202,
33,
2011,
16,
12572,
33,
2011,
16,
2477,
33,
2011,
16,
29804,
461,
33,
2011,
31,
565,
1431,
943,
17763,
33,
20,
16,
2172,
5147,
33,
20,
16,
30143,
8674,
33,
20,
16,
20501,
5147,
33,
20,
31,
565,
509,
26667,
33,
20,
16,
29804,
548,
29711,
21,
16,
4264,
951,
38,
2232,
33,
20,
31,
565,
514,
225,
1122,
17763,
33,
2011,
31,
565,
775,
565,
288,
1377,
1487,
273,
10233,
18,
588,
1952,
5621,
1377,
1487,
18,
542,
4965,
5580,
12,
5743,
1769,
1377,
3480,
273,
1487,
18,
9366,
3406,
2932,
4803,
380,
4571,
1516,
4852,
612,
25501,
1769,
1377,
3480,
18,
542,
1702,
12,
21,
16,
18424,
18,
474,
620,
10663,
1377,
3597,
273,
3480,
18,
8837,
1138,
5621,
565,
289,
565,
1044,
261,
23116,
425,
13,
565,
288,
1377,
775,
1377,
288,
3639,
309,
261,
10589,
480,
446,
13,
3480,
18,
4412,
5621,
3639,
309,
261,
4646,
480,
446,
13,
1487,
18,
4412,
5621,
1377,
289,
1377,
1044,
261,
503,
2305,
13,
1377,
288,
1377,
289,
1377,
604,
394,
18361,
2932,
2925,
358,
336,
326,
761,
30,
315,
397,
73,
1769,
565,
289,
565,
775,
377,
288,
1377,
309,
16051,
5453,
18,
3645,
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,
514,
8143,
3291,
12,
4522,
18424,
16,
509,
6249,
13,
1216,
18361,
225,
288,
565,
6674,
1729,
273,
394,
6674,
5621,
565,
4050,
3639,
1487,
273,
446,
31,
565,
16913,
3480,
273,
446,
31,
565,
10842,
3597,
6647,
273,
446,
31,
377,
514,
23488,
33,
2011,
16,
13202,
33,
2011,
16,
12572,
33,
2011,
16,
2477,
33,
2011,
16,
29804,
461,
33,
2011,
31,
565,
1431,
943,
17763,
33,
20,
16,
2172,
5147,
33,
20,
16,
30143,
8674,
33,
20,
16,
20501,
5147,
33,
20,
31,
565,
509,
26667,
33,
20,
16,
29804,
548,
29711,
21,
16,
4264,
951,
38,
2232,
33,
20,
31,
565,
514,
225,
1122,
17763,
33,
2011,
31,
565,
775,
565,
288,
1377,
2
] |
exceptionTypes, factory); | exceptionTypes); | private static void calculateExceptionsThrown(PsiExpression exp, Set exceptionTypes, PsiElementFactory factory){ if(exp == null){ return; } if(exp instanceof PsiThisExpression || exp instanceof PsiLiteralExpression || exp instanceof PsiSuperExpression || exp instanceof PsiClassObjectAccessExpression){ } else if(exp instanceof PsiTypeCastExpression){ calculateExceptionsThrownForTypeCast((PsiTypeCastExpression) exp, exceptionTypes, factory); } else if(exp instanceof PsiInstanceOfExpression){ calculateExceptionsThrownForInstanceOf((PsiInstanceOfExpression) exp, exceptionTypes, factory); } else if(exp instanceof PsiReferenceExpression){ final PsiReferenceExpression refExp = (PsiReferenceExpression) exp; final PsiExpression qualifier = refExp.getQualifierExpression(); if(qualifier != null){ calculateExceptionsThrown(qualifier, exceptionTypes, factory); } } else if(exp instanceof PsiMethodCallExpression){ calculateExceptionsThrownForMethodCall((PsiMethodCallExpression) exp, exceptionTypes, factory); } else if(exp instanceof PsiNewExpression){ calculateExceptionsThrownForNewExpression((PsiNewExpression) exp, exceptionTypes, factory); } else if(exp instanceof PsiArrayInitializerExpression){ calculateExceptionsThrownForArrayInitializerExpression((PsiArrayInitializerExpression) exp, exceptionTypes, factory); } else if(exp instanceof PsiArrayAccessExpression){ calculateExceptionsThrownForArrayAccessExpression((PsiArrayAccessExpression) exp, exceptionTypes, factory); } else if(exp instanceof PsiPrefixExpression){ calculateExceptionsThrownForPrefixException((PsiPrefixExpression) exp, exceptionTypes, factory); } else if(exp instanceof PsiPostfixExpression){ calculateExceptionsThrownForPostixExpression((PsiPostfixExpression) exp, exceptionTypes, factory); } else if(exp instanceof PsiBinaryExpression){ calculateExceptionsThrownForBinaryExpression((PsiBinaryExpression) exp, exceptionTypes, factory); } else if(exp instanceof PsiConditionalExpression){ calculateExceptionsThrownForConditionalExcpression((PsiConditionalExpression) exp, exceptionTypes, factory); } } | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/3837c95856454e21e9059f3aa91174a1e2c65526/ExceptionUtils.java/clean/plugins/IntentionPowerPak/src/com/siyeh/ipp/exceptions/ExceptionUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
4604,
11416,
29591,
12,
52,
7722,
2300,
1329,
16,
4766,
5375,
1000,
1520,
2016,
16,
4766,
5375,
453,
7722,
1046,
1733,
3272,
15329,
3639,
309,
12,
2749,
422,
446,
15329,
5411,
327,
31,
3639,
289,
3639,
309,
12,
2749,
1276,
453,
7722,
2503,
2300,
747,
27573,
1329,
1276,
453,
7722,
6177,
2300,
747,
27573,
1329,
1276,
453,
7722,
8051,
2300,
747,
27573,
1329,
1276,
453,
7722,
797,
921,
1862,
2300,
15329,
3639,
289,
469,
309,
12,
2749,
1276,
453,
7722,
559,
9735,
2300,
15329,
5411,
4604,
11416,
29591,
22405,
9735,
12443,
52,
7722,
559,
9735,
2300,
13,
1329,
16,
4766,
1171,
1520,
2016,
1769,
3639,
289,
469,
309,
12,
2749,
1276,
453,
7722,
1442,
951,
2300,
15329,
5411,
4604,
11416,
29591,
1290,
1442,
951,
12443,
52,
7722,
1442,
951,
2300,
13,
1329,
16,
4766,
10402,
1520,
2016,
1769,
3639,
289,
469,
309,
12,
2749,
1276,
453,
7722,
2404,
2300,
15329,
5411,
727,
453,
7722,
2404,
2300,
1278,
2966,
273,
261,
52,
7722,
2404,
2300,
13,
1329,
31,
5411,
727,
453,
7722,
2300,
12327,
273,
1278,
2966,
18,
588,
16185,
2300,
5621,
5411,
309,
12,
28157,
480,
446,
15329,
7734,
4604,
11416,
29591,
12,
28157,
16,
1520,
2016,
1769,
5411,
289,
3639,
289,
469,
309,
12,
2749,
1276,
453,
7722,
12592,
2300,
15329,
5411,
4604,
11416,
29591,
1290,
12592,
12443,
52,
7722,
12592,
2300,
13,
1329,
16,
4766,
10402,
1520,
2016,
1769,
3639,
289,
469,
309,
12,
2749,
1276,
453,
7722,
1908,
2300,
15329,
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,
760,
918,
4604,
11416,
29591,
12,
52,
7722,
2300,
1329,
16,
4766,
5375,
1000,
1520,
2016,
16,
4766,
5375,
453,
7722,
1046,
1733,
3272,
15329,
3639,
309,
12,
2749,
422,
446,
15329,
5411,
327,
31,
3639,
289,
3639,
309,
12,
2749,
1276,
453,
7722,
2503,
2300,
747,
27573,
1329,
1276,
453,
7722,
6177,
2300,
747,
27573,
1329,
1276,
453,
7722,
8051,
2300,
747,
27573,
1329,
1276,
453,
7722,
797,
921,
1862,
2300,
15329,
3639,
289,
469,
309,
12,
2749,
1276,
453,
7722,
559,
9735,
2300,
15329,
5411,
4604,
11416,
29591,
22405,
9735,
12443,
52,
7722,
559,
9735,
2300,
13,
1329,
16,
4766,
1171,
1520,
2016,
1769,
3639,
289,
469,
309,
12,
2749,
1276,
453,
7722,
1442,
951,
2
] |
getRunTimeContext( ).getLocale( ) ) ); | getRunTimeContext( ).getULocale( ) ) ); | private final void renderMarkerRanges( OneAxis[] oaxa, Bounds boPlotClientArea ) throws ChartException { Axis ax; EList el; int iRangeCount, iAxisCount = oaxa.length; MarkerRange mr; RectangleRenderEvent rre; DataElement deStart, deEnd; AutoScale asc; double dMin = 0, dMax = 0; int iOrientation, iCompare = IConstants.EQUAL; final Bounds bo = BoundsImpl.create( 0, 0, 0, 0 ); final IDeviceRenderer idr = getDevice( ); final ScriptHandler sh = getRunTimeContext( ).getScriptHandler( ); final boolean bTransposed = ( (ChartWithAxes) getModel( ) ).isTransposed( ); final PlotWithAxes pwa = (PlotWithAxes) getComputations( ); final StringBuffer sb = new StringBuffer( ); Bounds boText = BoundsImpl.create( 0, 0, 0, 0 ); Anchor anc = null; Label la = null; TextRenderEvent tre; Orientation or; double dOriginalAngle = 0; for ( int i = 0; i < iAxisCount; i++ ) { ax = oaxa[i].getModelAxis( ); iOrientation = ax.getOrientation( ).getValue( ); if ( bTransposed ) // TOGGLE ORIENTATION { iOrientation = ( iOrientation == Orientation.HORIZONTAL ) ? Orientation.VERTICAL : Orientation.HORIZONTAL; } asc = oaxa[i].getScale( ); el = ax.getMarkerRanges( ); iRangeCount = el.size( ); for ( int j = 0; j < iRangeCount; j++ ) { mr = (MarkerRange) el.get( j ); ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_MARKER_RANGE, ax, mr, getRunTimeContext( ).getScriptContext( ) ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_MARKER_RANGE, mr ); deStart = mr.getStartValue( ); deEnd = mr.getEndValue( ); try { iCompare = compare( deStart, deEnd ); } catch ( ChartException dfex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.RENDERING, dfex ); } // IF OUT OF ORDER, SWAP if ( iCompare == IConstants.MORE ) { final DataElement deTemp = deStart; deStart = deEnd; deEnd = deTemp; } if ( isDimension3D( ) ) { // TODO render 3D marker range return; } // COMPUTE THE START BOUND try { dMin = ( deStart == null ) ? ( ( iOrientation == Orientation.HORIZONTAL ) ? boPlotClientArea.getLeft( ) : boPlotClientArea.getTop( ) + boPlotClientArea.getHeight( ) ) : PlotWith2DAxes.getLocation( asc, deStart ); } catch ( Exception ex ) { logger.log( ILogger.WARNING, Messages.getString( "exception.cannot.locate.start.marker.range", //$NON-NLS-1$ new Object[]{ deStart, mr }, getRunTimeContext( ).getLocale( ) ) ); continue; // TRY NEXT MARKER RANGE } // COMPUTE THE END BOUND try { dMax = ( deEnd == null ) ? ( ( iOrientation == Orientation.HORIZONTAL ) ? boPlotClientArea.getLeft( ) + boPlotClientArea.getWidth( ) : boPlotClientArea.getTop( ) ) : PlotWith2DAxes.getLocation( asc, deEnd ); } catch ( Exception ex ) { logger.log( ILogger.WARNING, Messages.getString( "exception.cannot.locate.end.marker.range", //$NON-NLS-1$ new Object[]{ deEnd, mr }, getRunTimeContext( ).getLocale( ) ) ); continue; // TRY NEXT MARKER RANGE } rre = (RectangleRenderEvent) ( (EventObjectCache) idr ).getEventObject( StructureSource.createMarkerRange( mr ), RectangleRenderEvent.class ); if ( iOrientation == Orientation.HORIZONTAL ) { // RESTRICT RIGHT EDGE if ( dMax > boPlotClientArea.getLeft( ) + boPlotClientArea.getWidth( ) ) { dMax = boPlotClientArea.getLeft( ) + boPlotClientArea.getWidth( ); } // RESTRICT LEFT EDGE if ( dMin < boPlotClientArea.getLeft( ) ) { dMax = boPlotClientArea.getLeft( ); } bo.set( dMin, boPlotClientArea.getTop( ), dMax - dMin, boPlotClientArea.getHeight( ) ); } else { // RESTRICT TOP EDGE if ( dMax < boPlotClientArea.getTop( ) ) { dMax = boPlotClientArea.getTop( ); } // RESTRICT BOTTOM EDGE if ( dMin > boPlotClientArea.getTop( ) + boPlotClientArea.getHeight( ) ) { dMin = boPlotClientArea.getTop( ) + boPlotClientArea.getHeight( ); } bo.set( boPlotClientArea.getLeft( ), dMax, boPlotClientArea.getWidth( ), dMin - dMax ); } if ( pwa.getDimension( ) == IConstants.TWO_5_D ) { if ( iOrientation == Orientation.HORIZONTAL ) { bo.translate( pwa.getSeriesThickness( ), 0 ); } else { bo.translate( 0, -pwa.getSeriesThickness( ) ); } } // DRAW THE MARKER RANGE (RECTANGULAR AREA) rre.setBounds( bo ); rre.setOutline( mr.getOutline( ) ); rre.setBackground( mr.getFill( ) ); idr.fillRectangle( rre ); idr.drawRectangle( rre ); la = LabelImpl.copyInstance( mr.getLabel( ) ); if ( la.isVisible( ) ) { if ( la.getCaption( ).getValue( ) != null && !IConstants.UNDEFINED_STRING.equals( la.getCaption( ) .getValue( ) ) && la.getCaption( ).getValue( ).length( ) > 0 ) { la.getCaption( ).setValue( oaxa[i].getRunTimeContext( ) .externalizedMessage( la.getCaption( ) .getValue( ) ) ); } else { try { sb.delete( 0, sb.length( ) ); sb.append( Messages.getString( "prefix.marker.range.caption", //$NON-NLS-1$ getRunTimeContext( ).getLocale( ) ) ); sb.append( ValueFormatter.format( deStart, mr.getFormatSpecifier( ), oaxa[i].getRunTimeContext( ).getLocale( ), null ) ); sb.append( Messages.getString( "separator.marker.range.caption", //$NON-NLS-1$ getRunTimeContext( ).getLocale( ) ) ); sb.append( ValueFormatter.format( deEnd, mr.getFormatSpecifier( ), oaxa[i].getRunTimeContext( ).getLocale( ), null ) ); sb.append( Messages.getString( "suffix.marker.range.caption", //$NON-NLS-1$ getRunTimeContext( ).getLocale( ) ) ); la.getCaption( ).setValue( sb.toString( ) ); } catch ( ChartException dfex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.RENDERING, dfex ); } } // DETERMINE THE LABEL ANCHOR (TRANSPOSE IF NEEDED) anc = switchAnchor( mr.getLabelAnchor( ) ); if ( bTransposed ) { or = ax.getOrientation( ) == Orientation.HORIZONTAL_LITERAL ? Orientation.VERTICAL_LITERAL : Orientation.HORIZONTAL_LITERAL; dOriginalAngle = la.getCaption( ) .getFont( ) .getRotation( ); try { la.getCaption( ) .getFont( ) .setRotation( pwa.getTransposedAngle( dOriginalAngle ) ); anc = pwa.transposedAnchor( or, anc ); } catch ( IllegalArgumentException uiex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.RENDERING, uiex ); } } BoundingBox bb = null; try { bb = Methods.computeBox( idr.getDisplayServer( ), IConstants.LEFT, la, 0, 0 ); } catch ( IllegalArgumentException uiex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.RENDERING, uiex ); } boText.set( 0, 0, bb.getWidth( ), bb.getHeight( ) ); // NOW THAT WE COMPUTED THE BOUNDS, RENDER THE ACTUAL TEXT tre = (TextRenderEvent) ( (EventObjectCache) idr ).getEventObject( StructureSource.createMarkerRange( mr ), TextRenderEvent.class ); tre.setBlockBounds( bo ); tre.setBlockAlignment( anchorToAlignment( anc ) ); tre.setLabel( la ); tre.setAction( TextRenderEvent.RENDER_TEXT_IN_BLOCK ); idr.drawText( tre ); } if ( isInteractivityEnabled( ) ) { Trigger tg; EList elTriggers = mr.getTriggers( ); if ( !elTriggers.isEmpty( ) ) { final InteractionEvent iev = (InteractionEvent) ( (EventObjectCache) idr ).getEventObject( StructureSource.createMarkerRange( mr ), InteractionEvent.class ); for ( int t = 0; t < elTriggers.size( ); t++ ) { tg = TriggerImpl.copyInstance( (Trigger) elTriggers.get( t ) ); processTrigger( tg, StructureSource.createMarkerRange( mr ) ); iev.addTrigger( tg ); } iev.setHotSpot( rre ); idr.enableInteraction( iev ); } } ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_MARKER_RANGE, ax, mr, getRunTimeContext( ).getScriptContext( ) ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_MARKER_RANGE, mr ); } } } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/ae8909f5c697c610266e491d0af9a02eed14e2e4/AxesRenderer.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/AxesRenderer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
727,
918,
1743,
7078,
9932,
12,
6942,
6558,
8526,
320,
651,
69,
16,
1082,
202,
5694,
800,
11532,
1227,
5484,
262,
1216,
14804,
503,
202,
95,
202,
202,
6558,
1740,
31,
202,
202,
41,
682,
415,
31,
202,
202,
474,
277,
2655,
1380,
16,
277,
6558,
1380,
273,
320,
651,
69,
18,
2469,
31,
202,
202,
7078,
2655,
9752,
31,
202,
202,
19463,
3420,
1133,
436,
266,
31,
202,
202,
751,
1046,
443,
1685,
16,
443,
1638,
31,
202,
202,
4965,
5587,
6972,
31,
202,
202,
9056,
302,
2930,
273,
374,
16,
302,
2747,
273,
374,
31,
202,
202,
474,
277,
14097,
16,
277,
8583,
273,
467,
2918,
18,
12853,
31,
202,
202,
6385,
20382,
800,
273,
20382,
2828,
18,
2640,
12,
374,
16,
374,
16,
374,
16,
374,
11272,
202,
202,
6385,
467,
3654,
6747,
612,
86,
273,
19512,
12,
11272,
202,
202,
6385,
7739,
1503,
699,
273,
336,
1997,
950,
1042,
12,
262,
18,
588,
3651,
1503,
12,
11272,
202,
202,
6385,
1250,
324,
1429,
7423,
273,
261,
261,
7984,
1190,
26494,
13,
7454,
12,
262,
262,
18,
291,
1429,
7423,
12,
11272,
202,
202,
6385,
15211,
1190,
26494,
8772,
69,
273,
261,
11532,
1190,
26494,
13,
336,
7703,
1012,
12,
11272,
202,
202,
6385,
6674,
2393,
273,
394,
6674,
12,
11272,
202,
202,
5694,
800,
1528,
273,
20382,
2828,
18,
2640,
12,
374,
16,
374,
16,
374,
16,
374,
11272,
202,
202,
11605,
392,
71,
273,
446,
31,
202,
202,
2224,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
727,
918,
1743,
7078,
9932,
12,
6942,
6558,
8526,
320,
651,
69,
16,
1082,
202,
5694,
800,
11532,
1227,
5484,
262,
1216,
14804,
503,
202,
95,
202,
202,
6558,
1740,
31,
202,
202,
41,
682,
415,
31,
202,
202,
474,
277,
2655,
1380,
16,
277,
6558,
1380,
273,
320,
651,
69,
18,
2469,
31,
202,
202,
7078,
2655,
9752,
31,
202,
202,
19463,
3420,
1133,
436,
266,
31,
202,
202,
751,
1046,
443,
1685,
16,
443,
1638,
31,
202,
202,
4965,
5587,
6972,
31,
202,
202,
9056,
302,
2930,
273,
374,
16,
302,
2747,
273,
374,
31,
202,
202,
474,
277,
14097,
16,
277,
8583,
273,
467,
2918,
18,
12853,
31,
202,
202,
6385,
20382,
800,
2
] |
configVar.setName( paramName + "_" + parameter.getID( ) ); | configVar .setName( paramName + "_" + parameter.getID( ) ); | protected void __execute( ) throws RemoteException { ViewerAttributeBean attrBean = (ViewerAttributeBean) context.getBean( ); assert attrBean != null; try { // get design file name String reportDesignName = attrBean.getReportDesignName( ); // get design config file name String configFileName = ParameterAccessor .getConfigFileName( reportDesignName ); if (configFileName == null) { handleUpdate( ); return; } // Generate the session handle SessionHandle sessionHandle = DesignEngine.newSession( ULocale.US ); File configFile = new File( configFileName ); // if config file existed, then delete it if ( configFile != null && configFile.exists( ) && configFile.isFile( ) ) { configFile.delete( ); } // create a new config file ReportDesignHandle handle = sessionHandle.createDesign( ); // get parameters from operation Oprand[] op = this.operation.getOprand( ); if ( op != null ) { for ( int i = 0; i < op.length; i++ ) { ConfigVariable configVar = new ConfigVariable( ); String paramName = op[i].getName( ); String paramValue = op[i].getValue( ); // find the parameter ScalarParameterHandle parameter = (ScalarParameterHandle) attrBean .findParameter( paramName ); // convert the parameter from current locale to default // locale format if ( paramValue != null && parameter != null ) { try { Object paramValueObj = ParameterValidationUtil .validate( parameter.getDataType( ), parameter.getPattern( ), paramValue, attrBean.getLocale( ) ); paramValue = ParameterValidationUtil .getDisplayValue( parameter.getDataType( ), parameter.getPattern( ), paramValueObj, ULocale.US ); } catch ( Exception err ) { paramValue = op[i].getValue( ); } // add parameter to config file configVar.setName( paramName + "_" + parameter.getID( ) ); //$NON-NLS-1$ configVar.setValue( paramValue ); handle.addConfigVariable( configVar ); } } } // save config file handle.saveAs( configFileName ); handle.close( ); handleUpdate( ); } catch ( Exception e ) { AxisFault fault = new AxisFault( e.getLocalizedMessage( ) ); fault.setFaultCode( new QName( "BirtCacheParameterActionHandler.__execute( )" ) ); //$NON-NLS-1$ fault.setFaultReason( e.getLocalizedMessage( ) ); throw fault; } } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/663e473c5349712c54b9729e27543a44deac7a02/BirtCacheParameterActionHandler.java/clean/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/BirtCacheParameterActionHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1001,
8837,
12,
262,
1216,
18361,
202,
95,
202,
202,
18415,
1499,
3381,
1604,
3381,
273,
261,
18415,
1499,
3381,
13,
819,
18,
588,
3381,
12,
11272,
202,
202,
11231,
1604,
3381,
480,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
759,
336,
8281,
585,
508,
1082,
202,
780,
2605,
15478,
461,
273,
1604,
3381,
18,
588,
4820,
15478,
461,
12,
11272,
1082,
202,
759,
336,
8281,
642,
585,
508,
1082,
202,
780,
642,
4771,
273,
5498,
8235,
6862,
202,
18,
588,
809,
4771,
12,
2605,
15478,
461,
11272,
25083,
202,
430,
261,
1425,
4771,
422,
446,
13,
1082,
202,
95,
9506,
202,
4110,
1891,
12,
11272,
9506,
202,
2463,
31,
1082,
202,
97,
1082,
202,
759,
6654,
326,
1339,
1640,
1082,
202,
2157,
3259,
1339,
3259,
273,
29703,
4410,
18,
2704,
2157,
12,
29145,
18,
3378,
11272,
1082,
202,
812,
12247,
273,
394,
1387,
12,
642,
4771,
11272,
1082,
202,
759,
309,
642,
585,
20419,
16,
1508,
1430,
518,
1082,
202,
430,
261,
12247,
480,
446,
597,
12247,
18,
1808,
12,
262,
6862,
202,
10,
10,
12247,
18,
291,
812,
12,
262,
262,
1082,
202,
95,
9506,
202,
1425,
812,
18,
3733,
12,
11272,
1082,
202,
97,
1082,
202,
759,
752,
279,
394,
642,
585,
1082,
202,
4820,
15478,
3259,
1640,
273,
1339,
3259,
18,
2640,
15478,
12,
11272,
1082,
202,
759,
336,
1472,
628,
1674,
1082,
202,
51,
683,
464,
8526,
1061,
273,
333,
18,
7624,
18,
588,
51,
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,
1001,
8837,
12,
262,
1216,
18361,
202,
95,
202,
202,
18415,
1499,
3381,
1604,
3381,
273,
261,
18415,
1499,
3381,
13,
819,
18,
588,
3381,
12,
11272,
202,
202,
11231,
1604,
3381,
480,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
759,
336,
8281,
585,
508,
1082,
202,
780,
2605,
15478,
461,
273,
1604,
3381,
18,
588,
4820,
15478,
461,
12,
11272,
1082,
202,
759,
336,
8281,
642,
585,
508,
1082,
202,
780,
642,
4771,
273,
5498,
8235,
6862,
202,
18,
588,
809,
4771,
12,
2605,
15478,
461,
11272,
25083,
202,
430,
261,
1425,
4771,
422,
446,
13,
1082,
202,
95,
9506,
202,
4110,
1891,
12,
11272,
9506,
202,
2463,
31,
1082,
202,
2
] |
return m_roles; | Collection roles = m_groupManager.getRoles(); List webRoles = new ArrayList(roles.size()); for (Iterator it = roles.iterator(); it.hasNext();) { Role role = (Role) it.next(); webRoles.add(new ManagedRole(role)); } return webRoles; | public Collection getRoles() { return m_roles; } | 25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/706ae9a9c41b58e508fa716d64e3d6f6ca56ee0e/WebRoleManager.java/clean/src/web/src/org/opennms/web/admin/roles/WebRoleManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2200,
21787,
1435,
288,
3639,
2200,
4900,
273,
312,
67,
1655,
1318,
18,
588,
6898,
5621,
987,
3311,
6898,
273,
394,
2407,
12,
7774,
18,
1467,
10663,
364,
261,
3198,
518,
273,
4900,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
13,
288,
6204,
2478,
273,
261,
2996,
13,
518,
18,
4285,
5621,
3311,
6898,
18,
1289,
12,
2704,
10024,
2996,
12,
4615,
10019,
289,
327,
3311,
6898,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
364,
261,
3198,
518,
273,
4900,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
13,
288,
6204,
2478,
273,
261,
2996,
13,
518,
18,
4285,
5621,
3311,
6898,
18,
1289,
12,
2704,
10024,
2996,
12,
4615,
10019,
289,
327,
3311,
6898,
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
] |
setHref(null); | 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 { setHref((String) evalAttr("href", getHref(), String.class)); } catch (NullAttributeException ex) { setHref(null); } try { setName((String) evalAttr("name", getName(), String.class)); } catch (NullAttributeException ex) { setName(null); } 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 { setTransaction(((Boolean) evalAttr("transaction", getTransactionExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setTransaction(false); } } | 8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/2dbb705eab3659c5c2ceb6398f2eec56e1f6994d/ELRewriteTag.java/clean/struts-el/src/share/org/apache/strutsel/taglib/html/ELRewriteTag.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,
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,
10402,
289,
3639,
775,
288,
5411,
6788,
12443,
780,
13,
5302,
3843,
2932,
529,
3113,
1723,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
6788,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
18663,
12443,
780,
13,
5302,
3843,
2932,
2433,
3113,
8957,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
18663,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
22911,
548,
12443,
780,
13,
5302,
3843,
2932,
891,
548,
3113,
9027,
548,
9334,
29159,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
22911,
548,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
22911,
461,
12443,
780,
13,
5302,
3843,
2932,
891,
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,
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,
2
] |
|
public org.quickfix.field.SolicitedFlag getSolicitedFlag() throws FieldNotFound { org.quickfix.field.SolicitedFlag value = new org.quickfix.field.SolicitedFlag(); | public quickfix.field.SolicitedFlag getSolicitedFlag() throws FieldNotFound { quickfix.field.SolicitedFlag value = new quickfix.field.SolicitedFlag(); | public org.quickfix.field.SolicitedFlag getSolicitedFlag() throws FieldNotFound { org.quickfix.field.SolicitedFlag value = new org.quickfix.field.SolicitedFlag(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/ExecutionReport.java/buggy/src/java/src/quickfix/fix44/ExecutionReport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
55,
1415,
16261,
4678,
1322,
1415,
16261,
4678,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
55,
1415,
16261,
4678,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
55,
1415,
16261,
4678,
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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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,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
55,
1415,
16261,
4678,
1322,
1415,
16261,
4678,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
55,
1415,
16261,
4678,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
55,
1415,
16261,
4678,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
switch ( eDerivedStructuralFeatureID( eFeature ) ) | switch ( featureID ) | public void eSet( EStructuralFeature eFeature, Object newValue ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case AttributePackage.LOCATION3_D__X : setX( ( (Double) newValue ).doubleValue( ) ); return; case AttributePackage.LOCATION3_D__Y : setY( ( (Double) newValue ).doubleValue( ) ); return; case AttributePackage.LOCATION3_D__Z : setZ( ( (Double) newValue ).doubleValue( ) ); return; } eDynamicSet( eFeature, newValue ); } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/036e8c78765730b146e5854b9d6c397a296fed86/Location3DImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/Location3DImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
20199,
12,
512,
14372,
4595,
425,
4595,
16,
1033,
6129,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
3601,
2261,
18,
15277,
23,
67,
40,
972,
60,
294,
9506,
202,
542,
60,
12,
261,
261,
5265,
13,
6129,
262,
18,
9056,
620,
12,
262,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
3601,
2261,
18,
15277,
23,
67,
40,
972,
61,
294,
9506,
202,
542,
61,
12,
261,
261,
5265,
13,
6129,
262,
18,
9056,
620,
12,
262,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
3601,
2261,
18,
15277,
23,
67,
40,
972,
62,
294,
9506,
202,
542,
62,
12,
261,
261,
5265,
13,
6129,
262,
18,
9056,
620,
12,
262,
11272,
9506,
202,
2463,
31,
202,
202,
97,
202,
202,
73,
9791,
694,
12,
425,
4595,
16,
6129,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
918,
20199,
12,
512,
14372,
4595,
425,
4595,
16,
1033,
6129,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
3601,
2261,
18,
15277,
23,
67,
40,
972,
60,
294,
9506,
202,
542,
60,
12,
261,
261,
5265,
13,
6129,
262,
18,
9056,
620,
12,
262,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
3601,
2261,
18,
15277,
23,
67,
40,
972,
61,
294,
9506,
202,
542,
61,
12,
261,
261,
5265,
13,
6129,
262,
18,
9056,
620,
12,
262,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
3601,
2261,
18,
15277,
23,
67,
40,
972,
62,
294,
9506,
202,
542,
62,
2
] |
scaledWidth=800; | scaledWidth=PageSize.A4.width(); | private void processParameters() throws BadElementException, IOException { type = IMGTEMPLATE; originalType = ORIGINAL_PS; InputStream is = null; try { if (rawData == null) { is = url.openStream(); } else { is = new java.io.ByteArrayInputStream(rawData); } String boundingbox=null; Reader r = new BufferedReader(new InputStreamReader(is)); // StreamTokenizer st = new StreamTokenizer(r); while (r.ready()) { char c; StringBuffer sb = new StringBuffer(); while ( (c = ( (char) r.read())) != '\n'&&c!='\r') { sb.append(c); } //System.out.println("<<" + sb.toString() + ">>"); if (sb.toString().startsWith("%%BoundingBox:")) { boundingbox = sb.toString(); } if (sb.toString().startsWith("%%TemplateBox:")) { boundingbox = sb.toString(); } if (sb.toString().startsWith("%%EndComments")) { break; } } if(boundingbox==null){ scaledHeight=800; setTop(scaledHeight); scaledWidth=800; setRight(scaledWidth); return; } StringTokenizer st=new StringTokenizer(boundingbox,": \r\n"); st.nextElement(); String xx1=st.nextToken(); String yy1=st.nextToken(); String xx2=st.nextToken(); String yy2=st.nextToken(); int left = Integer.parseInt(xx1); int top = Integer.parseInt(yy1); int right = Integer.parseInt(xx2); int bottom = Integer.parseInt(yy2); int inch = 1; dpiX = 72; dpiY = 72; scaledHeight = (float) (bottom - top) / inch *1f; scaledHeight=800; setTop(scaledHeight); scaledWidth = (float) (right - left) / inch * 1f; scaledWidth=800; setRight(scaledWidth); } finally { if (is != null) { is.close(); } plainWidth = width(); plainHeight = height(); } } | 6653 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6653/a70285238d45643e095fbf1c5a17749c92b693e7/ImgPostscript.java/clean/src/com/lowagie/text/ImgPostscript.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
2402,
1435,
1216,
6107,
20826,
16,
1860,
288,
3639,
618,
273,
26582,
12205,
31,
3639,
2282,
559,
273,
24069,
7702,
1013,
67,
5857,
31,
3639,
5037,
353,
273,
446,
31,
3639,
775,
288,
5411,
309,
261,
1899,
751,
422,
446,
13,
288,
7734,
353,
273,
880,
18,
3190,
1228,
5621,
5411,
289,
5411,
469,
288,
7734,
353,
273,
394,
2252,
18,
1594,
18,
8826,
4348,
12,
1899,
751,
1769,
5411,
289,
5411,
514,
12638,
33,
2011,
31,
5411,
5393,
436,
273,
394,
10633,
12,
2704,
15322,
12,
291,
10019,
5411,
368,
225,
3961,
10524,
384,
273,
394,
3961,
10524,
12,
86,
1769,
5411,
1323,
261,
86,
18,
1672,
10756,
288,
7734,
1149,
276,
31,
7734,
6674,
2393,
273,
394,
6674,
5621,
7734,
1323,
261,
261,
71,
273,
261,
261,
3001,
13,
436,
18,
896,
1435,
3719,
480,
2337,
82,
11,
10,
10,
71,
5,
2218,
64,
86,
6134,
288,
10792,
2393,
18,
6923,
12,
71,
1769,
7734,
289,
7734,
368,
3163,
18,
659,
18,
8222,
2932,
17685,
6,
397,
2393,
18,
10492,
1435,
397,
14402,
2984,
1769,
7734,
309,
261,
18366,
18,
10492,
7675,
17514,
1190,
2932,
11438,
19020,
2773,
3719,
288,
10792,
12638,
273,
2393,
18,
10492,
5621,
7734,
289,
7734,
309,
261,
18366,
18,
10492,
7675,
17514,
1190,
2932,
11438,
2283,
3514,
2773,
3719,
288,
10792,
12638,
273,
2393,
18,
10492,
5621,
7734,
289,
7734,
309,
261,
18366,
18,
10492,
7675,
17514,
1190,
2932,
11438,
1638,
9051,
6,
3719,
288,
10792,
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,
1207,
2402,
1435,
1216,
6107,
20826,
16,
1860,
288,
3639,
618,
273,
26582,
12205,
31,
3639,
2282,
559,
273,
24069,
7702,
1013,
67,
5857,
31,
3639,
5037,
353,
273,
446,
31,
3639,
775,
288,
5411,
309,
261,
1899,
751,
422,
446,
13,
288,
7734,
353,
273,
880,
18,
3190,
1228,
5621,
5411,
289,
5411,
469,
288,
7734,
353,
273,
394,
2252,
18,
1594,
18,
8826,
4348,
12,
1899,
751,
1769,
5411,
289,
5411,
514,
12638,
33,
2011,
31,
5411,
5393,
436,
273,
394,
10633,
12,
2704,
15322,
12,
291,
10019,
5411,
368,
225,
3961,
10524,
384,
273,
394,
3961,
10524,
12,
86,
1769,
5411,
1323,
261,
86,
18,
1672,
10756,
288,
7734,
1149,
276,
31,
7734,
2
] |
} else { if (paramSize == 0) { result = "@" + myprefix; } | public String generateTests(String prefix) { String result = new String(); String myprefix = prefix + "_" + name.toLowerCase(); int paramSize = (paramFilters != null) ? paramFilters.size() : 0; if (useTimeRange) { String key = myprefix + TextCalendarTextFilter.TIME_RANGE_FIELD_SUFFIX_LOWERCASE; String value = generatePeriods(timeRange); result = "jcr:timerange(@" + key + ", '" + value + "')"; } else if (useTextMatch) { result = "jcr:contains(@" + myprefix + ", '*" + textMatch + "*')"; } else { // is-defined if (paramSize == 0) { // If there are no parameter filters then we must // explicitly test for this component result = "@" + myprefix; } } if (paramSize != 0) { result = generateOrList(paramFilters, myprefix, result); } return result; } | 47226 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47226/41608041a8ffd9856c89f7485d0037b620a26516/QueryFilter.java/clean/src/main/java/org/osaf/cosmo/dav/report/caldav/QueryFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
514,
2103,
14650,
12,
780,
1633,
13,
288,
5411,
514,
563,
273,
394,
514,
5621,
5411,
514,
312,
879,
266,
904,
273,
1633,
397,
8802,
397,
508,
18,
869,
5630,
5621,
5411,
509,
579,
1225,
273,
261,
891,
5422,
480,
446,
13,
692,
579,
5422,
18,
1467,
1435,
294,
374,
31,
5411,
309,
261,
1202,
950,
2655,
13,
288,
7734,
514,
498,
273,
312,
879,
266,
904,
13491,
397,
3867,
7335,
1528,
1586,
18,
4684,
67,
15928,
67,
6776,
67,
14964,
67,
23085,
13415,
31,
7734,
514,
460,
273,
2103,
30807,
12,
957,
2655,
1769,
7734,
563,
273,
315,
78,
3353,
30,
12542,
726,
26964,
6,
397,
498,
397,
3104,
2119,
397,
460,
397,
2491,
2225,
31,
5411,
289,
469,
309,
261,
1202,
1528,
2060,
13,
288,
7734,
563,
273,
315,
78,
3353,
30,
12298,
26964,
6,
397,
312,
879,
266,
904,
397,
3104,
296,
7388,
397,
977,
2060,
13491,
397,
315,
4035,
2225,
31,
5411,
289,
469,
288,
368,
353,
17,
2178,
7734,
309,
261,
891,
1225,
422,
374,
13,
288,
10792,
368,
971,
1915,
854,
1158,
1569,
3415,
1508,
732,
1297,
10792,
368,
8122,
1842,
364,
333,
1794,
10792,
563,
273,
18265,
397,
312,
879,
266,
904,
31,
7734,
289,
5411,
289,
5411,
309,
261,
891,
1225,
480,
374,
13,
288,
7734,
563,
273,
2103,
1162,
682,
12,
891,
5422,
16,
312,
879,
266,
904,
16,
563,
1769,
5411,
289,
5411,
327,
563,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
514,
2103,
14650,
12,
780,
1633,
13,
288,
5411,
514,
563,
273,
394,
514,
5621,
5411,
514,
312,
879,
266,
904,
273,
1633,
397,
8802,
397,
508,
18,
869,
5630,
5621,
5411,
509,
579,
1225,
273,
261,
891,
5422,
480,
446,
13,
692,
579,
5422,
18,
1467,
1435,
294,
374,
31,
5411,
309,
261,
1202,
950,
2655,
13,
288,
7734,
514,
498,
273,
312,
879,
266,
904,
13491,
397,
3867,
7335,
1528,
1586,
18,
4684,
67,
15928,
67,
6776,
67,
14964,
67,
23085,
13415,
31,
7734,
514,
460,
273,
2103,
30807,
12,
957,
2655,
1769,
7734,
563,
273,
315,
78,
3353,
30,
12542,
726,
26964,
6,
397,
498,
397,
3104,
2119,
397,
460,
397,
2491,
2225,
31,
2
] |
|
protected synchronized void playEvents() { debugger.playEvents(getCurrentEvents()); | protected synchronized void playEvents(boolean reset) { debugger.playEvents(getCurrentEvents(), reset); | protected synchronized void playEvents() { debugger.playEvents(getCurrentEvents()); } | 51505 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51505/bc4088ea842f6870771e9c97ca5d590b23671f89/DebuggerRecorder.java/clean/src/org/antlr/works/debugger/DebuggerRecorder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3852,
918,
6599,
3783,
1435,
288,
3639,
19977,
18,
1601,
3783,
12,
588,
3935,
3783,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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,
22398,
316,
326,
981,
30,
377,
4750,
3852,
918,
6599,
3783,
1435,
288,
3639,
19977,
18,
1601,
3783,
12,
588,
3935,
3783,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
StackFrame(Context cx, Main db, DebuggableScript fnOrScript) | StackFrame(Context cx, Main db, FunctionSource fsource) | StackFrame(Context cx, Main db, DebuggableScript fnOrScript) { this.db = db; this.contextData = ContextData.get(cx); this.fnOrScript = fnOrScript; FunctionSource item = db.getFunctionSource(fnOrScript); if (item != null) { this.sourceInfo = item.sourceInfo(); this.lineNumber = item.firstLine(); } contextData.pushFrame(this); } | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/e2031a639690d05ffedb08d225af2e6b3282ad1e/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
7283,
3219,
12,
1042,
9494,
16,
12740,
1319,
16,
4284,
1830,
2662,
552,
13,
3639,
288,
5411,
333,
18,
1966,
273,
1319,
31,
5411,
333,
18,
2472,
751,
273,
1772,
751,
18,
588,
12,
71,
92,
1769,
5411,
333,
18,
4293,
1162,
3651,
273,
2295,
1162,
3651,
31,
5411,
4284,
1830,
761,
273,
1319,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
7283,
3219,
12,
1042,
9494,
16,
12740,
1319,
16,
4284,
1830,
2662,
552,
13,
3639,
288,
5411,
333,
18,
1966,
273,
1319,
31,
5411,
333,
18,
2472,
751,
273,
1772,
751,
18,
588,
12,
71,
92,
1769,
5411,
333,
18,
4293,
1162,
3651,
273,
2295,
1162,
3651,
31,
5411,
4284,
1830,
761,
273,
1319,
18,
588,
2083,
1830,
12,
4293,
1162,
3651,
1769,
5411,
309,
261,
1726,
480,
446,
13,
288,
7734,
333,
18,
3168,
966,
273,
761,
18,
3168,
966,
5621,
7734,
333,
18,
1369,
1854,
273,
761,
18,
3645,
1670,
5621,
5411,
289,
5411,
819,
751,
18,
6206,
3219,
12,
2211,
1769,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
layout.numColumns = 2; | protected Control createContents(Composite parent) { Composite composite = new Composite(parent, SWT.NONE); GridLayout layout = new GridLayout(); layout.numColumns = 2; composite.setLayout(layout); GridData data = new GridData(GridData.FILL); composite.setLayoutData(data); addFirstSection(composite); addSeparator(composite); addSecondSection(composite); return composite; } | 6016 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6016/dea4e4b7dd0682d5d73aeb25f9ed3f933e5e051a/SVNPropertyPage.java/buggy/ui/src/org/tigris/subversion/subclipse/ui/properties/SVNPropertyPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
8888,
752,
6323,
12,
9400,
982,
13,
288,
3639,
14728,
9635,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
3639,
7145,
3744,
3511,
273,
394,
7145,
3744,
5621,
9079,
9635,
18,
542,
3744,
12,
6741,
1769,
3639,
7145,
751,
501,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
1769,
3639,
9635,
18,
542,
3744,
751,
12,
892,
1769,
3639,
527,
3759,
5285,
12,
27676,
1769,
3639,
527,
6581,
12,
27676,
1769,
3639,
527,
8211,
5285,
12,
27676,
1769,
3639,
327,
9635,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
8888,
752,
6323,
12,
9400,
982,
13,
288,
3639,
14728,
9635,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
3639,
7145,
3744,
3511,
273,
394,
7145,
3744,
5621,
9079,
9635,
18,
542,
3744,
12,
6741,
1769,
3639,
7145,
751,
501,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
1769,
3639,
9635,
18,
542,
3744,
751,
12,
892,
1769,
3639,
527,
3759,
5285,
12,
27676,
1769,
3639,
527,
6581,
12,
27676,
1769,
3639,
527,
8211,
5285,
12,
27676,
1769,
3639,
327,
9635,
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
] |
|
int ix = children.indexOf(childElements[cc]); if (ix < 0) continue; Item[] ch = getChildren(widget); if (ch.length + 1 == children.size()) { createTreeItem(widget, childElements[cc], ix); if (ch.length == 0) { tree.setRedraw(false); tree.setRedraw(true); } continue; } refresh(parentElement); return; } } | public void add(Object parentElement, Object[] childElements) { Assert.isNotNull(parentElement); Assert.isNotNull(childElements); Widget widget = findItem(parentElement); // If parent hasn't been realized yet, just ignore the add. if (widget == null) return; Control tree = getControl(); // optimization! // if the widget is not expanded we just invalidate the subtree if (widget instanceof Item) { Item ti = (Item) widget; if (!getExpanded(ti)) { boolean needDummy = isExpandable(parentElement); boolean haveDummy = false; // remove all children Item[] items = getItems(ti); for (int i = 0; i < items.length; i++) { if (items[i].getData() != null) { disassociate(items[i]); items[i].dispose(); } else { if (needDummy && !haveDummy) { haveDummy = true; } else { items[i].dispose(); } } } // append a dummy if necessary if (needDummy && !haveDummy) { newItem(ti, SWT.NULL, -1); } else { // XXX: Workaround (PR missing) tree.redraw(); } return; } } if (childElements.length > 0) { List children = Arrays.asList(getSortedChildren(parentElement)); for (int cc = 0; cc < childElements.length; cc++) { int ix = children.indexOf(childElements[cc]); if (ix < 0) // child not found: ignore continue; Item[] ch = getChildren(widget); if (ch.length + 1 == children.size()) { createTreeItem(widget, childElements[cc], ix); // insert child at position if (ch.length == 0) { //System.out.println("WORKAROUND setRedraw"); tree.setRedraw(false); // WORKAROUND tree.setRedraw(true); // WORKAROUND } continue; } // couldn't handle this child: // skip other children and do general case // call refresh rather than internalRefresh to preserve selection refresh(parentElement); return; } } } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/1c8f382d49c8e2e5d13694225cce93f4fac936ee/AbstractTreeViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
527,
12,
921,
30363,
16,
1033,
8526,
1151,
3471,
13,
288,
202,
202,
8213,
18,
291,
5962,
12,
2938,
1046,
1769,
202,
202,
8213,
18,
291,
5962,
12,
3624,
3471,
1769,
202,
202,
4609,
3604,
273,
1104,
1180,
12,
2938,
1046,
1769,
202,
202,
759,
971,
982,
13342,
1404,
2118,
2863,
1235,
4671,
16,
2537,
2305,
326,
527,
18,
202,
202,
430,
261,
6587,
422,
446,
13,
1082,
202,
2463,
31,
202,
202,
3367,
2151,
273,
27174,
5621,
202,
202,
759,
14850,
5,
202,
202,
759,
309,
326,
3604,
353,
486,
8406,
732,
2537,
11587,
326,
12773,
202,
202,
430,
261,
6587,
1276,
4342,
13,
288,
1082,
202,
1180,
11374,
273,
261,
1180,
13,
3604,
31,
1082,
202,
430,
16051,
588,
17957,
12,
9096,
3719,
288,
9506,
202,
6494,
1608,
20094,
273,
353,
12271,
429,
12,
2938,
1046,
1769,
9506,
202,
6494,
1240,
20094,
273,
629,
31,
9506,
202,
759,
1206,
777,
2325,
9506,
202,
1180,
8526,
1516,
273,
15515,
12,
9096,
1769,
9506,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1516,
18,
2469,
31,
277,
27245,
288,
6862,
202,
430,
261,
3319,
63,
77,
8009,
588,
751,
1435,
480,
446,
13,
288,
25083,
202,
2251,
11577,
12,
3319,
63,
77,
19226,
25083,
202,
3319,
63,
77,
8009,
2251,
4150,
5621,
6862,
202,
97,
469,
288,
25083,
202,
430,
261,
14891,
20094,
597,
401,
21516,
20094,
13,
288,
6862,
1082,
202,
21516,
20094,
273,
638,
31,
25083,
202,
97,
469,
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,
527,
12,
921,
30363,
16,
1033,
8526,
1151,
3471,
13,
288,
202,
202,
8213,
18,
291,
5962,
12,
2938,
1046,
1769,
202,
202,
8213,
18,
291,
5962,
12,
3624,
3471,
1769,
202,
202,
4609,
3604,
273,
1104,
1180,
12,
2938,
1046,
1769,
202,
202,
759,
971,
982,
13342,
1404,
2118,
2863,
1235,
4671,
16,
2537,
2305,
326,
527,
18,
202,
202,
430,
261,
6587,
422,
446,
13,
1082,
202,
2463,
31,
202,
202,
3367,
2151,
273,
27174,
5621,
202,
202,
759,
14850,
5,
202,
202,
759,
309,
326,
3604,
353,
486,
8406,
732,
2537,
11587,
326,
12773,
202,
202,
430,
261,
6587,
1276,
4342,
13,
288,
1082,
202,
1180,
11374,
273,
261,
1180,
13,
3604,
2
] |
|
private void limit ( int len ) { if ( len <= 0 ) throw new IllegalArgumentException ( "len <= 0, shouldn't happen" ); buffer.limit ( buffer.position() + len ); } | private void limit(int len) { if (len <= 0) throw new IllegalArgumentException ("len <= 0, shouldn't happen"); buffer.limit(buffer.position() + len); } | private void limit ( int len ) { if ( len <= 0 ) throw new IllegalArgumentException ( "len <= 0, shouldn't happen" ); buffer.limit ( buffer.position() + len ); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63b8a00eb4a060a1688070c40c709ac44fefbeac/BlockAlignmentSupport.java/buggy/fs/src/driver/org/jnode/driver/block/BlockAlignmentSupport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1800,
261,
509,
562,
262,
288,
202,
565,
309,
261,
562,
1648,
374,
225,
262,
202,
202,
12849,
394,
2754,
1082,
565,
261,
315,
1897,
1648,
374,
16,
12044,
1404,
5865,
6,
11272,
9506,
565,
1613,
18,
3595,
261,
1613,
18,
3276,
1435,
397,
562,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
374,
16,
12044,
1404,
5865,
6,
11272,
9506,
565,
1613,
18,
3595,
261,
1613,
18,
3276,
1435,
397,
562,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public Path getQPath(ItemId id) throws ItemNotFoundException, RepositoryException { if (id.equals(rootNodeId)) { return Path.ROOT; } | public Path getQPath(ItemState itemState) throws ItemNotFoundException, RepositoryException { | public Path getQPath(ItemId id) throws ItemNotFoundException, RepositoryException { // shortcut if (id.equals(rootNodeId)) { return Path.ROOT; } Path.PathBuilder builder = new Path.PathBuilder(); try { buildPath(builder, getItemState(id)); return builder.getPath(); } catch (NoSuchItemStateException nsise) { String msg = "failed to build path of " + id; log.debug(msg); throw new ItemNotFoundException(msg, nsise); } catch (ItemStateException ise) { String msg = "failed to build path of " + id; log.debug(msg); throw new RepositoryException(msg, ise); } catch (MalformedPathException e) { String msg = "failed to build path of " + id; throw new RepositoryException(msg, e); } } | 49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/225b0a8914928975a7c9c42574c1fa2778136c47/HierarchyManagerImpl.java/buggy/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/HierarchyManagerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2666,
23413,
743,
12,
17673,
612,
13,
5411,
1216,
4342,
3990,
16,
13367,
288,
3639,
368,
10995,
3639,
309,
261,
350,
18,
14963,
12,
3085,
15883,
3719,
288,
5411,
327,
2666,
18,
9185,
31,
3639,
289,
3639,
2666,
18,
743,
1263,
2089,
273,
394,
2666,
18,
743,
1263,
5621,
3639,
775,
288,
5411,
1361,
743,
12,
9574,
16,
8143,
1119,
12,
350,
10019,
5411,
327,
2089,
18,
588,
743,
5621,
3639,
289,
1044,
261,
28341,
1180,
5060,
3153,
784,
13,
288,
5411,
514,
1234,
273,
315,
7307,
358,
1361,
589,
434,
315,
397,
612,
31,
5411,
613,
18,
4148,
12,
3576,
1769,
5411,
604,
394,
4342,
3990,
12,
3576,
16,
3153,
784,
1769,
3639,
289,
1044,
261,
1180,
5060,
31248,
13,
288,
5411,
514,
1234,
273,
315,
7307,
358,
1361,
589,
434,
315,
397,
612,
31,
5411,
613,
18,
4148,
12,
3576,
1769,
5411,
604,
394,
13367,
12,
3576,
16,
31248,
1769,
3639,
289,
1044,
261,
18695,
743,
503,
425,
13,
288,
5411,
514,
1234,
273,
315,
7307,
358,
1361,
589,
434,
315,
397,
612,
31,
5411,
604,
394,
13367,
12,
3576,
16,
425,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2666,
23413,
743,
12,
17673,
612,
13,
5411,
1216,
4342,
3990,
16,
13367,
288,
3639,
368,
10995,
3639,
309,
261,
350,
18,
14963,
12,
3085,
15883,
3719,
288,
5411,
327,
2666,
18,
9185,
31,
3639,
289,
3639,
2666,
18,
743,
1263,
2089,
273,
394,
2666,
18,
743,
1263,
5621,
3639,
775,
288,
5411,
1361,
743,
12,
9574,
16,
8143,
1119,
12,
350,
10019,
5411,
327,
2089,
18,
588,
743,
5621,
3639,
289,
1044,
261,
28341,
1180,
5060,
3153,
784,
13,
288,
5411,
514,
1234,
273,
315,
7307,
358,
1361,
589,
434,
315,
397,
612,
31,
5411,
613,
18,
4148,
12,
3576,
1769,
5411,
604,
394,
4342,
3990,
12,
3576,
16,
3153,
784,
1769,
3639,
289,
1044,
261,
2
] |
Logger.error(this,"Unmatchable packet from "+peer); | if(opn != null && !opn.isConnected()) Logger.minor(this,"Unmatchable packet from "+peer); else Logger.error(this,"Unmatchable packet from "+peer); | public void process(byte[] buf, int offset, int length, Peer peer) { node.random.acceptTimerEntropy(fnpTimingSource, 0.25); Logger.minor(this, "Packet length "+length+" from "+peer); /** * Look up the Peer. * If we know it, check the packet with that key. * Otherwise try all of them (on the theory that nodes * occasionally change their IP addresses). */ PeerNode opn = pm.getByPeer(peer); PeerNode pn; if(length > HASH_LENGTH + RANDOM_BYTES_LENGTH + 4 + 6) { if(opn != null) { if(tryProcess(buf, offset, length, opn.getCurrentKeyTracker())) return; // Try with old key if(tryProcess(buf, offset, length, opn.getPreviousKeyTracker())) return; // Might be an auth packet if(tryProcessAuth(buf, offset, length, opn, peer)) return; } for(int i=0;i<pm.connectedPeers.length;i++) { pn = pm.myPeers[i]; if(pn == opn) continue; if(tryProcess(buf, offset, length, pn.getCurrentKeyTracker())) { // IP address change pn.changedIP(peer); return; } if(tryProcess(buf, offset, length, pn.getPreviousKeyTracker())) return; if(tryProcessAuth(buf, offset, length, pn, peer)) return; } } Logger.error(this,"Unmatchable packet from "+peer); } | 48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/d5644cba6a7150afb4bc68c0f80caf3c62e5c960/FNPPacketMangler.java/clean/src/freenet/node/FNPPacketMangler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1207,
12,
7229,
8526,
1681,
16,
509,
1384,
16,
509,
769,
16,
10669,
4261,
13,
288,
3639,
756,
18,
9188,
18,
9436,
6777,
28727,
12,
4293,
84,
25377,
1830,
16,
374,
18,
2947,
1769,
3639,
4242,
18,
17364,
12,
2211,
16,
315,
6667,
769,
13773,
2469,
9078,
628,
13773,
12210,
1769,
3639,
1783,
540,
380,
10176,
731,
326,
10669,
18,
540,
380,
971,
732,
5055,
518,
16,
866,
326,
4414,
598,
716,
498,
18,
540,
380,
5272,
775,
777,
434,
2182,
261,
265,
326,
326,
630,
716,
2199,
1850,
380,
9145,
345,
285,
1230,
2549,
3675,
2971,
6138,
2934,
540,
1195,
3639,
10669,
907,
1061,
82,
273,
7430,
18,
588,
858,
6813,
12,
12210,
1769,
3639,
10669,
907,
11059,
31,
7734,
309,
12,
2469,
405,
20857,
67,
7096,
397,
534,
28159,
67,
13718,
67,
7096,
397,
1059,
397,
1666,
13,
288,
13491,
309,
12,
556,
82,
480,
446,
13,
288,
7734,
309,
12,
698,
2227,
12,
4385,
16,
1384,
16,
769,
16,
1061,
82,
18,
588,
3935,
653,
8135,
1435,
3719,
327,
31,
7734,
368,
6161,
598,
1592,
498,
7734,
309,
12,
698,
2227,
12,
4385,
16,
1384,
16,
769,
16,
1061,
82,
18,
588,
8351,
653,
8135,
1435,
3719,
327,
31,
7734,
368,
490,
750,
506,
392,
1357,
4414,
7734,
309,
12,
698,
2227,
1730,
12,
4385,
16,
1384,
16,
769,
16,
1061,
82,
16,
4261,
3719,
327,
31,
5411,
289,
5411,
364,
12,
474,
277,
33,
20,
31,
77,
32,
7755,
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,
1207,
12,
7229,
8526,
1681,
16,
509,
1384,
16,
509,
769,
16,
10669,
4261,
13,
288,
3639,
756,
18,
9188,
18,
9436,
6777,
28727,
12,
4293,
84,
25377,
1830,
16,
374,
18,
2947,
1769,
3639,
4242,
18,
17364,
12,
2211,
16,
315,
6667,
769,
13773,
2469,
9078,
628,
13773,
12210,
1769,
3639,
1783,
540,
380,
10176,
731,
326,
10669,
18,
540,
380,
971,
732,
5055,
518,
16,
866,
326,
4414,
598,
716,
498,
18,
540,
380,
5272,
775,
777,
434,
2182,
261,
265,
326,
326,
630,
716,
2199,
1850,
380,
9145,
345,
285,
1230,
2549,
3675,
2971,
6138,
2934,
540,
1195,
3639,
10669,
907,
1061,
82,
273,
7430,
18,
588,
858,
6813,
12,
12210,
1769,
3639,
2
] |
{ int w = view.getDomainPane().getWavelengths().getSelectedIndex(); return (int) eventManager.getGlobalChannelWindowStart(w); } | { int w = view.getDomainPane().getWavelengths().getSelectedIndex(); return (int) eventManager.getGlobalChannelWindowStart(w); } | int getGlobalMinimum() { int w = view.getDomainPane().getWavelengths().getSelectedIndex(); return (int) eventManager.getGlobalChannelWindowStart(w); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/1722ebf9ac60fc8e45cdc8d0049e85db5b86715c/QuantumPaneManager.java/buggy/SRC/org/openmicroscopy/shoola/agents/rnd/pane/QuantumPaneManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
474,
20591,
13042,
1435,
202,
95,
202,
202,
474,
341,
273,
1476,
18,
588,
3748,
8485,
7675,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
474,
20591,
13042,
1435,
202,
95,
202,
202,
474,
341,
273,
1476,
18,
588,
3748,
8485,
7675,
588,
59,
16775,
87,
7675,
588,
7416,
1016,
5621,
202,
202,
2463,
261,
474,
13,
23040,
18,
588,
5160,
2909,
3829,
1685,
12,
91,
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
] |
Subsets and Splits