rem
stringlengths 1
53.3k
| add
stringlengths 0
80.5k
| context
stringlengths 6
326k
| meta
stringlengths 141
403
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
int magicNumber = new java.util.Random().nextInt(999); prefix = "gen" + magicNumber; schema_ns.put(namespace, prefix);
|
if (Constants.XMLNS_URI.equals(namespace)) { prefix = Constants.XMLNS_PREFIX; } else { int magicNumber = 0; Collection prefixes = schema_ns.values(); while(prefixes.contains("ns" + magicNumber)){ magicNumber++; } prefix = "ns" + magicNumber; schema_ns.put(namespace, prefix);
|
private String resolveQName(QName names, XmlSchema schemaObj) { String namespace = names.getNamespaceURI(); String type[] = getParts(names.getLocalPart()); String typeName = (type.length > 1) ? type[1] : type[0]; String prefixStr; // If the namespace is "" then the prefix is also "" Object prefix = ("".equals(namespace)) ? "" : schema_ns.get(namespace); if (prefix == null) { int magicNumber = new java.util.Random().nextInt(999); prefix = "gen" + magicNumber; schema_ns.put(namespace, prefix); //setting xmlns in schema schemaElement.setAttributeNS(XMLNS_NAMESPACE_URI, "xmlns:" + prefix.toString(), namespace); } prefixStr = prefix.toString(); prefixStr = (prefixStr.trim().length() > 0) ? prefixStr + ":" : ""; return prefixStr + typeName; }
|
58536 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58536/d423c31276307d2b661f6d6c83bd5491951c472f/XmlSchemaSerializer.java/buggy/src/main/java/org/apache/ws/commons/schema/XmlSchemaSerializer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
2245,
13688,
12,
13688,
1257,
16,
27573,
5714,
3078,
1963,
2675,
13,
288,
3639,
514,
1981,
273,
1257,
18,
588,
3402,
3098,
5621,
3639,
514,
618,
8526,
273,
13657,
87,
12,
1973,
18,
588,
2042,
1988,
10663,
3639,
514,
8173,
273,
261,
723,
18,
2469,
405,
404,
13,
692,
618,
63,
21,
65,
294,
618,
63,
20,
15533,
3639,
514,
1633,
1585,
31,
3639,
368,
971,
326,
1981,
353,
1408,
1508,
326,
1633,
353,
2546,
1408,
3639,
1033,
1633,
273,
261,
3660,
18,
14963,
12,
4937,
3719,
692,
1408,
294,
1963,
67,
2387,
18,
588,
12,
4937,
1769,
3639,
309,
261,
3239,
422,
446,
13,
288,
5411,
509,
8146,
1854,
273,
394,
2252,
18,
1367,
18,
8529,
7675,
4285,
1702,
12,
11984,
1769,
5411,
1633,
273,
315,
4507,
6,
397,
8146,
1854,
31,
5411,
1963,
67,
2387,
18,
458,
12,
4937,
16,
1633,
1769,
5411,
368,
8920,
12302,
316,
1963,
5411,
1963,
1046,
18,
542,
1499,
3156,
12,
4201,
3156,
67,
11368,
67,
3098,
16,
10792,
315,
16741,
2773,
397,
1633,
18,
10492,
9334,
1981,
1769,
3639,
289,
3639,
1633,
1585,
273,
1633,
18,
10492,
5621,
3639,
1633,
1585,
273,
261,
3239,
1585,
18,
5290,
7675,
2469,
1435,
405,
374,
13,
692,
1633,
1585,
397,
6153,
294,
1408,
31,
3639,
327,
1633,
1585,
397,
8173,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
2245,
13688,
12,
13688,
1257,
16,
27573,
5714,
3078,
1963,
2675,
13,
288,
3639,
514,
1981,
273,
1257,
18,
588,
3402,
3098,
5621,
3639,
514,
618,
8526,
273,
13657,
87,
12,
1973,
18,
588,
2042,
1988,
10663,
3639,
514,
8173,
273,
261,
723,
18,
2469,
405,
404,
13,
692,
618,
63,
21,
65,
294,
618,
63,
20,
15533,
3639,
514,
1633,
1585,
31,
3639,
368,
971,
326,
1981,
353,
1408,
1508,
326,
1633,
353,
2546,
1408,
3639,
1033,
1633,
273,
261,
3660,
18,
14963,
12,
4937,
3719,
692,
1408,
294,
1963,
67,
2387,
18,
588,
12,
4937,
1769,
3639,
309,
261,
3239,
422,
446,
13,
288,
5411,
509,
8146,
1854,
273,
394,
2252,
18,
1367,
18,
2
] |
throw runtime.newLoadError("No such file to load -- " + file);
|
throw runtime.newLoadError("no such file to load -- " + file);
|
public void smartLoad(String file) { Library library = null; String loadName = file; // nothing yet, try suffixes for (int i = 0; i < suffixes.length; i++) { library = findLibrary(file + suffixes[i]); if (library != null) { loadName = file + suffixes[i]; break; } } if(library == null) { library = findLibrary(file); if(library != null) { loadName = file; } } library = tryLoadExtension(library,file); if (library == null) { throw runtime.newLoadError("No such file to load -- " + file); } try { loadedFeaturesInternal.add(file); loadedFeatures.add(runtime.newString(loadName)); library.load(runtime); } catch (IOException e) { loadedFeaturesInternal.remove(file); loadedFeatures.remove(runtime.newString(loadName)); throw runtime.newLoadError("IO error -- " + file); } }
|
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/fe11f82bc6236dc6746a228a50d4bac6d467618e/LoadService.java/clean/src/org/jruby/runtime/load/LoadService.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13706,
2563,
12,
780,
585,
13,
288,
3639,
18694,
5313,
273,
446,
31,
3639,
514,
1262,
461,
273,
585,
31,
7734,
368,
5083,
4671,
16,
775,
18333,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
18333,
18,
2469,
31,
277,
27245,
288,
5411,
5313,
273,
1104,
9313,
12,
768,
397,
18333,
63,
77,
19226,
5411,
309,
261,
12083,
480,
446,
13,
288,
7734,
1262,
461,
273,
585,
397,
18333,
63,
77,
15533,
7734,
898,
31,
5411,
289,
3639,
289,
3639,
309,
12,
12083,
422,
446,
13,
288,
5411,
5313,
273,
1104,
9313,
12,
768,
1769,
5411,
309,
12,
12083,
480,
446,
13,
288,
7734,
1262,
461,
273,
585,
31,
5411,
289,
3639,
289,
3639,
5313,
273,
775,
2563,
3625,
12,
12083,
16,
768,
1769,
3639,
309,
261,
12083,
422,
446,
13,
288,
5411,
604,
3099,
18,
2704,
2563,
668,
2932,
2135,
4123,
585,
358,
1262,
1493,
315,
397,
585,
1769,
3639,
289,
3639,
775,
288,
5411,
4203,
8696,
3061,
18,
1289,
12,
768,
1769,
5411,
4203,
8696,
18,
1289,
12,
9448,
18,
2704,
780,
12,
945,
461,
10019,
5411,
5313,
18,
945,
12,
9448,
1769,
3639,
289,
1044,
261,
14106,
425,
13,
288,
5411,
4203,
8696,
3061,
18,
4479,
12,
768,
1769,
5411,
4203,
8696,
18,
4479,
12,
9448,
18,
2704,
780,
12,
945,
461,
10019,
5411,
604,
3099,
18,
2704,
2563,
668,
2932,
4294,
555,
1493,
315,
397,
585,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13706,
2563,
12,
780,
585,
13,
288,
3639,
18694,
5313,
273,
446,
31,
3639,
514,
1262,
461,
273,
585,
31,
7734,
368,
5083,
4671,
16,
775,
18333,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
18333,
18,
2469,
31,
277,
27245,
288,
5411,
5313,
273,
1104,
9313,
12,
768,
397,
18333,
63,
77,
19226,
5411,
309,
261,
12083,
480,
446,
13,
288,
7734,
1262,
461,
273,
585,
397,
18333,
63,
77,
15533,
7734,
898,
31,
5411,
289,
3639,
289,
3639,
309,
12,
12083,
422,
446,
13,
288,
5411,
5313,
273,
1104,
9313,
12,
768,
1769,
5411,
309,
12,
12083,
480,
446,
13,
288,
7734,
1262,
461,
273,
585,
31,
5411,
289,
3639,
289,
3639,
2
] |
public Enumeration getEquipment() { return equipmentList.elements();
|
public ArrayList<Mounted> getEquipment() { return equipmentList;
|
public Enumeration getEquipment() { return equipmentList.elements(); }
|
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/c2a90fca192b338ebf5162499c52b535aed6382b/Entity.java/clean/megamek/src/megamek/common/Entity.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13864,
4774,
372,
11568,
1435,
288,
3639,
327,
1298,
11568,
682,
18,
6274,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13864,
4774,
372,
11568,
1435,
288,
3639,
327,
1298,
11568,
682,
18,
6274,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
static public DataObject adaptLoadedPDIHierarchy(Class rootNodeType, Object result) { if (null == result) { return null; } if (null == rootNodeType) { throw new IllegalArgumentException( "Class parameter may not be null."); } if (rootNodeType.equals(Project.class)) { return PojoAdapterUtils.go((Project) result, newCache()); } else if (rootNodeType.equals(Dataset.class)) { return PojoAdapterUtils.go((Dataset) result, newCache()); } else { throw new IllegalArgumentException( "Method only takes Project and Dataset as argument."); } }
|
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/3bd3722f6e7f763bd9c8fc55babb13ca54367f29/PojoAdapterUtils.java/clean/components/shoola-adapter/src/org/openmicroscopy/omero/shoolaadapter/PojoAdapterUtils.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
1071,
18914,
5855,
8835,
52,
2565,
12074,
12,
797,
10181,
559,
16,
1082,
202,
921,
563,
13,
288,
202,
202,
430,
261,
2011,
422,
563,
13,
288,
1082,
202,
2463,
446,
31,
202,
202,
97,
202,
202,
430,
261,
2011,
422,
10181,
559,
13,
288,
1082,
202,
12849,
394,
2754,
12,
6862,
202,
6,
797,
1569,
2026,
486,
506,
446,
1199,
1769,
202,
202,
97,
202,
202,
430,
261,
3085,
15101,
18,
14963,
12,
4109,
18,
1106,
3719,
288,
1082,
202,
2463,
453,
10007,
4216,
1989,
18,
3240,
12443,
4109,
13,
563,
16,
394,
1649,
10663,
202,
202,
97,
469,
309,
261,
3085,
15101,
18,
14963,
12,
10656,
18,
1106,
3719,
288,
1082,
202,
2463,
453,
10007,
4216,
1989,
18,
3240,
12443,
10656,
13,
563,
16,
394,
1649,
10663,
202,
202,
97,
469,
288,
1082,
202,
12849,
394,
2754,
12,
6862,
202,
6,
1305,
1338,
5530,
5420,
471,
10778,
487,
1237,
1199,
1769,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
1071,
18914,
5855,
8835,
52,
2565,
12074,
12,
797,
10181,
559,
16,
1082,
202,
921,
563,
13,
288,
202,
202,
430,
261,
2011,
422,
563,
13,
288,
1082,
202,
2463,
446,
31,
202,
202,
97,
202,
202,
430,
261,
2011,
422,
10181,
559,
13,
288,
1082,
202,
12849,
394,
2754,
12,
6862,
202,
6,
797,
1569,
2026,
486,
506,
446,
1199,
1769,
202,
202,
97,
202,
202,
430,
261,
3085,
15101,
18,
14963,
12,
4109,
18,
1106,
3719,
288,
1082,
202,
2463,
453,
10007,
4216,
1989,
18,
3240,
12443,
4109,
13,
563,
16,
394,
1649,
10663,
202,
202,
97,
469,
309,
261,
3085,
15101,
18,
14963,
12,
10656,
18,
1106,
3719,
288,
1082,
202,
2463,
453,
2
] |
||
l.setPercentBase(LengthBase.CONTAINING_BOX);
|
l.setPercentBase(LengthBase.CONTAINING_BLOCK_WIDTH);
|
private void createAreaDimensionProperties() { PropertyMaker m; LengthProperty.Maker l; DimensionPropertyMaker pdim; CorrespondingPropertyMaker corr; // block-progression-dimension m = new LengthRangeProperty.Maker(PR_BLOCK_PROGRESSION_DIMENSION); m.setInherited(false); m.setPercentBase(LengthBase.BLOCK_HEIGHT); l = new LengthProperty.Maker(CP_MINIMUM); l.setDefault("auto"); l.addEnum("auto", getEnumProperty(EN_AUTO, "AUTO")); l.setPercentBase(LengthBase.CONTAINING_BOX); l.setByShorthand(true); m.addSubpropMaker(l); l = new LengthProperty.Maker(CP_OPTIMUM); l.setDefault("auto"); l.addEnum("auto", getEnumProperty(EN_AUTO, "AUTO")); l.setPercentBase(LengthBase.CONTAINING_BOX); l.setByShorthand(true); m.addSubpropMaker(l); l = new LengthProperty.Maker(CP_MAXIMUM); l.addEnum("auto", getEnumProperty(EN_AUTO, "AUTO")); l.setDefault("auto"); l.setPercentBase(LengthBase.CONTAINING_BOX); l.setByShorthand(true); m.addSubpropMaker(l); pdim = new DimensionPropertyMaker(m); pdim.setCorresponding(PR_HEIGHT, PR_HEIGHT, PR_WIDTH); pdim.setExtraCorresponding(new int[][] { {PR_MIN_HEIGHT, PR_MIN_HEIGHT, PR_MIN_WIDTH, }, {PR_MAX_HEIGHT, PR_MAX_HEIGHT, PR_MAX_WIDTH, } }); pdim.setRelative(true); m.setCorresponding(pdim); addPropertyMaker("block-progression-dimension", m); // content-height l = new LengthProperty.Maker(PR_CONTENT_HEIGHT); l.setInherited(false); l.addEnum("auto", getEnumProperty(EN_AUTO, "AUTO")); l.addEnum("scale-to-fit", getEnumProperty(EN_SCALE_TO_FIT, "SCALE_TO_FIT")); l.setDefault("auto"); l.setPercentBase(LengthBase.IMAGE_INTRINSIC_HEIGHT); addPropertyMaker("content-height", l); // content-width l = new LengthProperty.Maker(PR_CONTENT_WIDTH); l.setInherited(false); l.addEnum("auto", getEnumProperty(EN_AUTO, "AUTO")); l.addEnum("scale-to-fit", getEnumProperty(EN_SCALE_TO_FIT, "SCALE_TO_FIT")); l.setDefault("auto"); l.setPercentBase(LengthBase.IMAGE_INTRINSIC_WIDTH); addPropertyMaker("content-width", l); // height l = new LengthProperty.Maker(PR_HEIGHT); l.setInherited(false); l.addEnum("auto", getEnumProperty(EN_AUTO, "AUTO")); l.setPercentBase(LengthBase.BLOCK_HEIGHT); l.setDefault("auto"); addPropertyMaker("height", l); // inline-progression-dimension m = new LengthRangeProperty.Maker(PR_INLINE_PROGRESSION_DIMENSION); m.setInherited(false); m.setPercentBase(LengthBase.BLOCK_WIDTH); l = new LengthProperty.Maker(CP_MINIMUM); l.setDefault("auto"); l.addEnum("auto", getEnumProperty(EN_AUTO, "AUTO")); l.setPercentBase(LengthBase.CONTAINING_BOX); l.setByShorthand(true); m.addSubpropMaker(l); l = new LengthProperty.Maker(CP_OPTIMUM); l.setDefault("auto"); l.addEnum("auto", getEnumProperty(EN_AUTO, "AUTO")); l.setPercentBase(LengthBase.CONTAINING_BOX); l.setByShorthand(true); m.addSubpropMaker(l); l = new LengthProperty.Maker(CP_MAXIMUM); l.addEnum("auto", getEnumProperty(EN_AUTO, "AUTO")); l.setDefault("auto"); l.setPercentBase(LengthBase.CONTAINING_BOX); l.setByShorthand(true); m.addSubpropMaker(l); pdim = new DimensionPropertyMaker(m); pdim.setRelative(true); pdim.setCorresponding(PR_WIDTH, PR_WIDTH, PR_HEIGHT); pdim.setExtraCorresponding(new int[][] { {PR_MIN_WIDTH, PR_MIN_WIDTH, PR_MIN_HEIGHT, }, {PR_MAX_WIDTH, PR_MAX_WIDTH, PR_MAX_HEIGHT, } }); m.setCorresponding(pdim); addPropertyMaker("inline-progression-dimension", m); // max-height m = new ToBeImplementedProperty.Maker(PR_MAX_HEIGHT); m.setInherited(false); m.setDefault("0pt"); addPropertyMaker("max-height", m); // max-width m = new ToBeImplementedProperty.Maker(PR_MAX_WIDTH); m.setInherited(false); m.setDefault("none"); addPropertyMaker("max-width", m); // min-height m = new ToBeImplementedProperty.Maker(PR_MIN_HEIGHT); m.setInherited(false); m.setDefault("0pt"); addPropertyMaker("min-height", m); // min-width m = new ToBeImplementedProperty.Maker(PR_MIN_WIDTH); m.setInherited(false); m.setDefault(""); addPropertyMaker("min-width", m); // scaling m = new EnumProperty.Maker(PR_SCALING); m.setInherited(true); m.addEnum("uniform", getEnumProperty(EN_UNIFORM, "UNIFORM")); m.addEnum("non-uniform", getEnumProperty(EN_NON_UNIFORM, "NON_UNIFORM")); m.setDefault("uniform"); addPropertyMaker("scaling", m); // scaling-method m = new EnumProperty.Maker(PR_SCALING_METHOD); m.setInherited(false); m.addEnum("auto", getEnumProperty(EN_AUTO, "AUTO")); m.addEnum("integer-pixels", getEnumProperty(EN_INTEGER_PIXELS, "INTEGER_PIXELS")); m.addEnum("resample-any-method", getEnumProperty(EN_RESAMPLE_ANY_METHOD, "RESAMPLE_ANY_METHOD")); m.setDefault("auto"); addPropertyMaker("scaling-method", m); // width l = new LengthProperty.Maker(PR_WIDTH); l.setInherited(false); l.addEnum("auto", getEnumProperty(EN_AUTO, "AUTO")); l.setPercentBase(LengthBase.BLOCK_WIDTH); l.setDefault("auto"); addPropertyMaker("width", l);/*LF*/ // block-progression-unit (**CUSTOM EXTENSION**)/*LF*/ l = new LengthProperty.Maker(PR_X_BLOCK_PROGRESSION_UNIT);/*LF*/ l.setInherited(false);/*LF*/ l.setDefault("0pt");/*LF*/ addPropertyMaker("block-progression-unit", l); }
|
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/8cad88a3e360b7c05118fb66275f45b090f51c97/FOPropertyMapping.java/buggy/src/java/org/apache/fop/fo/FOPropertyMapping.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
5484,
8611,
2297,
1435,
288,
3639,
4276,
12373,
312,
31,
3639,
11311,
1396,
18,
12373,
328,
31,
3639,
13037,
1396,
12373,
293,
3509,
31,
3639,
9557,
17863,
310,
1396,
12373,
19480,
31,
3639,
368,
1203,
17,
8298,
285,
17,
11808,
3639,
312,
273,
394,
11311,
2655,
1396,
18,
12373,
12,
8025,
67,
11403,
67,
3373,
43,
862,
4475,
67,
2565,
958,
3156,
1146,
1769,
3639,
312,
18,
542,
29078,
12,
5743,
1769,
3639,
312,
18,
542,
8410,
2171,
12,
1782,
2171,
18,
11403,
67,
14595,
1769,
3639,
328,
273,
394,
11311,
1396,
18,
12373,
12,
4258,
67,
6236,
18605,
1769,
3639,
328,
18,
542,
1868,
2932,
6079,
8863,
3639,
328,
18,
1289,
3572,
2932,
6079,
3113,
26813,
1396,
12,
1157,
67,
18909,
16,
315,
18909,
7923,
1769,
3639,
328,
18,
542,
8410,
2171,
12,
1782,
2171,
18,
6067,
6964,
1360,
67,
11403,
67,
10023,
1769,
3639,
328,
18,
542,
858,
1555,
15830,
12,
3767,
1769,
3639,
312,
18,
1289,
1676,
5986,
12373,
12,
80,
1769,
3639,
328,
273,
394,
11311,
1396,
18,
12373,
12,
4258,
67,
15620,
18605,
1769,
3639,
328,
18,
542,
1868,
2932,
6079,
8863,
3639,
328,
18,
1289,
3572,
2932,
6079,
3113,
26813,
1396,
12,
1157,
67,
18909,
16,
315,
18909,
7923,
1769,
3639,
328,
18,
542,
8410,
2171,
12,
1782,
2171,
18,
6067,
6964,
1360,
67,
11403,
67,
10023,
1769,
3639,
328,
18,
542,
858,
1555,
15830,
12,
3767,
1769,
3639,
312,
18,
1289,
1676,
5986,
12373,
12,
80,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
5484,
8611,
2297,
1435,
288,
3639,
4276,
12373,
312,
31,
3639,
11311,
1396,
18,
12373,
328,
31,
3639,
13037,
1396,
12373,
293,
3509,
31,
3639,
9557,
17863,
310,
1396,
12373,
19480,
31,
3639,
368,
1203,
17,
8298,
285,
17,
11808,
3639,
312,
273,
394,
11311,
2655,
1396,
18,
12373,
12,
8025,
67,
11403,
67,
3373,
43,
862,
4475,
67,
2565,
958,
3156,
1146,
1769,
3639,
312,
18,
542,
29078,
12,
5743,
1769,
3639,
312,
18,
542,
8410,
2171,
12,
1782,
2171,
18,
11403,
67,
14595,
1769,
3639,
328,
273,
394,
11311,
1396,
18,
12373,
12,
4258,
67,
6236,
18605,
1769,
3639,
328,
18,
542,
1868,
2932,
6079,
8863,
3639,
328,
18,
1289,
3572,
2932,
6079,
2
] |
void setSelection(StructuredSelection selection, boolean b) {
|
void setSelection(IStructuredSelection selection, boolean b) {
|
void setSelection(StructuredSelection selection, boolean b) { TreeViewer.this.setSelection(selection, b); }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/5c5335d54b997d8fa81bd201af9f644316877cbd/TreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TreeViewer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
6459,
444,
6233,
12,
30733,
6233,
4421,
16,
1250,
324,
13,
288,
9506,
202,
2471,
18415,
18,
2211,
18,
542,
6233,
12,
10705,
16,
324,
1769,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
6459,
444,
6233,
12,
30733,
6233,
4421,
16,
1250,
324,
13,
288,
9506,
202,
2471,
18415,
18,
2211,
18,
542,
6233,
12,
10705,
16,
324,
1769,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return new IncludedModuleWrapper(getRuntime(), superClazz, this);
|
IncludedModuleWrapper includedModule = new IncludedModuleWrapper(getRuntime(), superClazz, this); if (getSuperClass() != null) { includedModule.includeModule(getSuperClass()); } return includedModule;
|
public IncludedModuleWrapper newIncludeClass(RubyClass superClazz) { return new IncludedModuleWrapper(getRuntime(), superClazz, this); }
|
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/a1b8fc1d456e3d5c6e01579b88773383068aa85c/RubyModule.java/buggy/src/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
657,
7908,
3120,
3611,
394,
8752,
797,
12,
54,
10340,
797,
2240,
14616,
13,
288,
3639,
657,
7908,
3120,
3611,
5849,
3120,
273,
394,
657,
7908,
3120,
3611,
12,
588,
5576,
9334,
2240,
14616,
16,
333,
1769,
282,
309,
261,
588,
8051,
797,
1435,
480,
446,
13,
288,
5849,
3120,
18,
6702,
3120,
12,
588,
8051,
797,
10663,
289,
225,
327,
5849,
3120,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
657,
7908,
3120,
3611,
394,
8752,
797,
12,
54,
10340,
797,
2240,
14616,
13,
288,
3639,
657,
7908,
3120,
3611,
5849,
3120,
273,
394,
657,
7908,
3120,
3611,
12,
588,
5576,
9334,
2240,
14616,
16,
333,
1769,
282,
309,
261,
588,
8051,
797,
1435,
480,
446,
13,
288,
5849,
3120,
18,
6702,
3120,
12,
588,
8051,
797,
10663,
289,
225,
327,
5849,
3120,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (items.length > 0) updateInfoArea((AboutBundleGroupData) items[0].getData());
|
if (items.length > 0) { updateInfoArea((AboutBundleGroupData) items[0].getData()); }
|
protected void createInfoArea(Composite parent) { Font font = parent.getFont(); infoArea = new Composite(parent, SWT.NULL); GridData data = new GridData(GridData.FILL, GridData.FILL, true, true); // need to provide space for arbitrary feature infos, not just the // one selected by default data.heightHint = convertVerticalDLUsToPixels(INFO_HEIGHT); infoArea.setLayoutData(data); GridLayout layout = new GridLayout(); layout.numColumns = 2; infoArea.setLayout(layout); imageLabel = new Label(infoArea, SWT.NONE); data = new GridData(GridData.FILL, GridData.BEGINNING, false, false); data.widthHint = 32; data.heightHint = 32; imageLabel.setLayoutData(data); imageLabel.setFont(font); // text on the right text = new StyledText(infoArea, SWT.MULTI | SWT.READ_ONLY); text.setCaret(null); text.setFont(parent.getFont()); data = new GridData(GridData.FILL, GridData.FILL, true, true); text.setLayoutData(data); text.setFont(font); text.setCursor(null); text.setBackground(infoArea.getBackground()); addListeners(text); TableItem[] items = table.getSelection(); if (items.length > 0) updateInfoArea((AboutBundleGroupData) items[0].getData()); }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/AboutFeaturesDialog.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/AboutFeaturesDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
752,
966,
5484,
12,
9400,
982,
13,
288,
3639,
10063,
3512,
273,
982,
18,
588,
5711,
5621,
3639,
1123,
5484,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
8560,
1769,
3639,
7145,
751,
501,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
16,
7145,
751,
18,
29818,
16,
638,
16,
638,
1769,
3639,
368,
1608,
358,
5615,
3476,
364,
11078,
2572,
10626,
16,
486,
2537,
326,
3639,
368,
1245,
3170,
635,
805,
3639,
501,
18,
4210,
7002,
273,
1765,
15704,
8914,
3477,
774,
18079,
12,
5923,
67,
14595,
1769,
3639,
1123,
5484,
18,
542,
3744,
751,
12,
892,
1769,
3639,
7145,
3744,
3511,
273,
394,
7145,
3744,
5621,
3639,
3511,
18,
2107,
3380,
273,
576,
31,
3639,
1123,
5484,
18,
542,
3744,
12,
6741,
1769,
3639,
1316,
2224,
273,
394,
5287,
12,
1376,
5484,
16,
348,
8588,
18,
9826,
1769,
3639,
501,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
16,
7145,
751,
18,
16061,
15870,
16,
629,
16,
629,
1769,
3639,
501,
18,
2819,
7002,
273,
3847,
31,
3639,
501,
18,
4210,
7002,
273,
3847,
31,
3639,
1316,
2224,
18,
542,
3744,
751,
12,
892,
1769,
3639,
1316,
2224,
18,
542,
5711,
12,
5776,
1769,
3639,
368,
977,
603,
326,
2145,
3639,
977,
273,
394,
934,
93,
1259,
1528,
12,
1376,
5484,
16,
348,
8588,
18,
26588,
571,
348,
8588,
18,
6949,
67,
10857,
1769,
3639,
977,
18,
542,
39,
20731,
12,
2011,
1769,
3639,
977,
18,
542,
5711,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
752,
966,
5484,
12,
9400,
982,
13,
288,
3639,
10063,
3512,
273,
982,
18,
588,
5711,
5621,
3639,
1123,
5484,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
8560,
1769,
3639,
7145,
751,
501,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
16,
7145,
751,
18,
29818,
16,
638,
16,
638,
1769,
3639,
368,
1608,
358,
5615,
3476,
364,
11078,
2572,
10626,
16,
486,
2537,
326,
3639,
368,
1245,
3170,
635,
805,
3639,
501,
18,
4210,
7002,
273,
1765,
15704,
8914,
3477,
774,
18079,
12,
5923,
67,
14595,
1769,
3639,
1123,
5484,
18,
542,
3744,
751,
12,
892,
1769,
3639,
7145,
3744,
3511,
273,
394,
7145,
3744,
5621,
3639,
3511,
18,
2107,
3380,
273,
2
] |
return false;
|
return artifact.getFile() != null && artifact.getFile().exists();
|
public boolean exists() { return false; }
|
11530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11530/0db2b646d23049f80b0beb13c4c45740172fcab7/ProjectMetadata.java/clean/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/artifact/metadata/ProjectMetadata.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1704,
1435,
565,
288,
3639,
327,
6462,
18,
29925,
1435,
480,
446,
597,
6462,
18,
29925,
7675,
1808,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1704,
1435,
565,
288,
3639,
327,
6462,
18,
29925,
1435,
480,
446,
597,
6462,
18,
29925,
7675,
1808,
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
] |
destPath = URLDecoder.decode(desturl.getPath(), "UTF-8");
|
destPath = desturl.getPath();
|
public static void main(String[] args) throws IOException { Configuration conf = new Configuration(); String srcPath = null; String destPath = null; for (int idx = 0; idx < args.length; idx++) { if ("-dfs".equals(args[idx])) { if (idx == (args.length-1)) { System.out.println(usage); return; } conf.set("fs.default.name", args[++idx]); } else if ("-jt".equals(args[idx])) { if (idx == (args.length-1)) { System.out.println(usage); return; } conf.set("mapred.job.tracker", args[++idx]); } else if ("-config".equals(args[idx])) { if (idx == (args.length-1)) { System.out.println(usage); return; } conf.addFinalResource(new Path(args[++idx])); } else { if (srcPath == null) { srcPath = args[idx]; } else if (destPath == null) { destPath = args[idx]; } else { System.out.println(usage); return; } } } // mandatory command-line parameters if (srcPath == null || destPath == null) { System.out.println(usage); return; } URI srcurl = null; URI desturl = null; try { srcurl = new URI(URLEncoder.encode(srcPath, "UTF-8")); desturl = new URI(URLEncoder.encode(destPath, "UTF-8")); } catch (URISyntaxException ex) { throw new RuntimeException("URL syntax error.", ex); } JobConf jobConf = new JobConf(conf, CopyFiles.class); jobConf.setJobName("copy-files"); String srcFileSysName = getFileSysName(srcurl); String destFileSysName = getFileSysName(desturl); jobConf.set("copy.src.fs", srcFileSysName); jobConf.set("copy.dest.fs", destFileSysName); FileSystem srcfs; srcfs = FileSystem.getNamed(srcFileSysName, conf); FileSystem destfs = FileSystem.getNamed(destFileSysName, conf); srcPath = URLDecoder.decode(srcurl.getPath(), "UTF-8"); if ("".equals(srcPath)) { srcPath = "/"; } destPath = URLDecoder.decode(desturl.getPath(), "UTF-8"); if ("".equals(destPath)) { destPath = "/"; } boolean isFile = false; Path tmpPath = new Path(srcPath); Path rootPath = new Path(srcPath); if (srcfs.isFile(tmpPath)) { isFile = true; tmpPath = tmpPath.getParent(); rootPath = rootPath.getParent(); jobConf.set("copy.src.path", tmpPath.toString()); } else { jobConf.set("copy.src.path", srcPath); } jobConf.set("copy.dest.path", destPath); if (!srcfs.exists(tmpPath)) { System.out.println(srcPath+" does not exist."); return; } // turn off speculative execution, because DFS doesn't handle // multiple writers to the same file. jobConf.setSpeculativeExecution(false); jobConf.setInputKeyClass(UTF8.class); jobConf.setInputValueClass(UTF8.class); jobConf.setInputFormat(SequenceFileInputFormat.class); jobConf.setOutputKeyClass(UTF8.class); jobConf.setOutputValueClass(UTF8.class); jobConf.setOutputFormat(SequenceFileOutputFormat.class); jobConf.setMapperClass(CopyFilesMapper.class); jobConf.setReducerClass(CopyFiles.class); jobConf.setNumReduceTasks(1); Path tmpDir = new Path("copy-files"); Path inDir = new Path(tmpDir, "in"); Path fakeOutDir = new Path(tmpDir, "out"); FileSystem fileSys = FileSystem.get(jobConf); fileSys.delete(tmpDir); fileSys.mkdirs(inDir); jobConf.setInputPath(inDir); jobConf.setOutputPath(fakeOutDir); // create new sequence-files for holding paths ArrayList pathList = new ArrayList(); ArrayList finalPathList = new ArrayList(); pathList.add(new Path(srcPath)); long totalBytes = 0; int part = 0; while(!pathList.isEmpty()) { Path top = (Path) pathList.remove(0); if (srcfs.isFile(top)) { totalBytes += srcfs.getLength(top); top = makeRelative(rootPath, top); finalPathList.add(top.toString()); } else { Path[] paths = srcfs.listPaths(top); for (int idx = 0; idx < paths.length; idx++) { pathList.add(paths[idx]); } } } // ideal number of maps is one per file (if the map-launching overhead // were 0. It is limited by jobtrackers handling capacity, which lets say // is MAX_NUM_MAPS. It is also limited by MAX_MAPS_PER_NODE. Also for small // files it is better to determine number of maps by amount of data per map. int nFiles = finalPathList.size(); int numMaps = nFiles; if (numMaps > MAX_NUM_MAPS) { numMaps = MAX_NUM_MAPS; } if (numMaps > (int) (totalBytes / MIN_BYTES_PER_MAP)) { numMaps = (int) (totalBytes / MIN_BYTES_PER_MAP); } JobClient client = new JobClient(jobConf); ClusterStatus cluster = client.getClusterStatus(); int tmpMaps = cluster.getTaskTrackers() * MAX_MAPS_PER_NODE; if (numMaps > tmpMaps) { numMaps = tmpMaps; } if (numMaps == 0) { numMaps = 1; } jobConf.setNumMapTasks(numMaps); for(int idx=0; idx < numMaps; ++idx) { Path file = new Path(inDir, "part"+idx); SequenceFile.Writer writer = new SequenceFile.Writer(fileSys, file, UTF8.class, UTF8.class); for (int ipath = idx; ipath < nFiles; ipath += numMaps) { String path = (String) finalPathList.get(ipath); writer.append(new UTF8(path), new UTF8("")); } writer.close(); } finalPathList = null; try { JobClient.runJob(jobConf); } finally { fileSys.delete(tmpDir); } }
|
55137 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55137/bd4f40779c2f4edce0b9d24fc8d188e48c59daeb/CopyFiles.java/buggy/src/java/org/apache/hadoop/util/CopyFiles.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1860,
288,
565,
4659,
2195,
273,
394,
4659,
5621,
565,
514,
19497,
273,
446,
31,
565,
514,
22459,
273,
446,
31,
3639,
364,
261,
474,
2067,
273,
374,
31,
2067,
411,
833,
18,
2469,
31,
2067,
27245,
288,
3639,
309,
7566,
17,
12381,
9654,
14963,
12,
1968,
63,
3465,
22643,
288,
5411,
309,
261,
3465,
422,
261,
1968,
18,
2469,
17,
21,
3719,
288,
7734,
2332,
18,
659,
18,
8222,
12,
9167,
1769,
7734,
327,
31,
5411,
289,
5411,
2195,
18,
542,
2932,
2556,
18,
1886,
18,
529,
3113,
833,
63,
9904,
3465,
19226,
3639,
289,
469,
309,
7566,
17,
78,
88,
9654,
14963,
12,
1968,
63,
3465,
22643,
288,
5411,
309,
261,
3465,
422,
261,
1968,
18,
2469,
17,
21,
3719,
288,
7734,
2332,
18,
659,
18,
8222,
12,
9167,
1769,
7734,
327,
31,
5411,
289,
5411,
2195,
18,
542,
2932,
1458,
1118,
18,
4688,
18,
16543,
3113,
833,
63,
9904,
3465,
19226,
3639,
289,
469,
309,
7566,
17,
1425,
9654,
14963,
12,
1968,
63,
3465,
22643,
288,
5411,
309,
261,
3465,
422,
261,
1968,
18,
2469,
17,
21,
3719,
288,
7734,
2332,
18,
659,
18,
8222,
12,
9167,
1769,
7734,
327,
31,
5411,
289,
5411,
2195,
18,
1289,
7951,
1420,
12,
2704,
2666,
12,
1968,
63,
9904,
3465,
5717,
1769,
3639,
289,
469,
288,
5411,
309,
261,
4816,
743,
422,
446,
13,
288,
7734,
19497,
273,
833,
63,
3465,
15533,
5411,
289,
469,
309,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1860,
288,
565,
4659,
2195,
273,
394,
4659,
5621,
565,
514,
19497,
273,
446,
31,
565,
514,
22459,
273,
446,
31,
3639,
364,
261,
474,
2067,
273,
374,
31,
2067,
411,
833,
18,
2469,
31,
2067,
27245,
288,
3639,
309,
7566,
17,
12381,
9654,
14963,
12,
1968,
63,
3465,
22643,
288,
5411,
309,
261,
3465,
422,
261,
1968,
18,
2469,
17,
21,
3719,
288,
7734,
2332,
18,
659,
18,
8222,
12,
9167,
1769,
7734,
327,
31,
5411,
289,
5411,
2195,
18,
542,
2932,
2556,
18,
1886,
18,
529,
3113,
833,
63,
9904,
3465,
19226,
3639,
289,
469,
309,
7566,
17,
78,
88,
9654,
14963,
12,
1968,
63,
3465,
2
] |
return transient_ != TRANSIENT_EDEFAULT;
|
return ((eFlags & TRANSIENT_EFLAG) != 0) != TRANSIENT_EDEFAULT;
|
public boolean eIsSet(EStructuralFeature eFeature) { switch (eDerivedStructuralFeatureID(eFeature.getFeatureID(), eFeature.getContainerClass())) { case DTDPackage.DTD_ATTRIBUTE__EANNOTATIONS : return eAnnotations != null && !getEAnnotations().isEmpty(); case DTDPackage.DTD_ATTRIBUTE__NAME : return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); case DTDPackage.DTD_ATTRIBUTE__ETYPE : return eType != null; case DTDPackage.DTD_ATTRIBUTE__CHANGEABLE : return changeable != CHANGEABLE_EDEFAULT; case DTDPackage.DTD_ATTRIBUTE__VOLATILE : return volatile_ != VOLATILE_EDEFAULT; case DTDPackage.DTD_ATTRIBUTE__TRANSIENT : return transient_ != TRANSIENT_EDEFAULT; case DTDPackage.DTD_ATTRIBUTE__UNIQUE : return unique != UNIQUE_EDEFAULT; case DTDPackage.DTD_ATTRIBUTE__DEFAULT_VALUE_LITERAL : return DEFAULT_VALUE_LITERAL_EDEFAULT == null ? defaultValueLiteral != null : !DEFAULT_VALUE_LITERAL_EDEFAULT.equals(defaultValueLiteral); case DTDPackage.DTD_ATTRIBUTE__DEFAULT_VALUE : return getDefaultValue() != null; case DTDPackage.DTD_ATTRIBUTE__LOWER_BOUND : return lowerBound != LOWER_BOUND_EDEFAULT; case DTDPackage.DTD_ATTRIBUTE__UPPER_BOUND : return upperBound != UPPER_BOUND_EDEFAULT; case DTDPackage.DTD_ATTRIBUTE__MANY : return isMany() != false; case DTDPackage.DTD_ATTRIBUTE__REQUIRED : return isRequired() != false; case DTDPackage.DTD_ATTRIBUTE__ECONTAINING_CLASS : return getEContainingClass() != null; case DTDPackage.DTD_ATTRIBUTE__UNSETTABLE : return unsettable != UNSETTABLE_EDEFAULT; case DTDPackage.DTD_ATTRIBUTE__ID : return iD != ID_EDEFAULT; case DTDPackage.DTD_ATTRIBUTE__EATTRIBUTE_TYPE : return basicGetEAttributeType() != null; case DTDPackage.DTD_ATTRIBUTE__COMMENT : return COMMENT_EDEFAULT == null ? comment != null : !COMMENT_EDEFAULT.equals(comment); case DTDPackage.DTD_ATTRIBUTE__DEFAULT_KIND : return defaultKind != DEFAULT_KIND_EDEFAULT; case DTDPackage.DTD_ATTRIBUTE__DEFAULT_VALUE_STRING : return DEFAULT_VALUE_STRING_EDEFAULT == null ? defaultValueString != null : !DEFAULT_VALUE_STRING_EDEFAULT.equals(defaultValueString); case DTDPackage.DTD_ATTRIBUTE__ATTRIBUTE_NAME_REFERENCED_ENTITY : return attributeNameReferencedEntity != null; case DTDPackage.DTD_ATTRIBUTE__ATTRIBUTE_TYPE_REFERENCED_ENTITY : return attributeTypeReferencedEntity != null; case DTDPackage.DTD_ATTRIBUTE__DTD_ELEMENT : return getDTDElement() != null; } return eDynamicIsSet(eFeature); }
|
13989 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13989/a55c66c7e7342eb8cf757012799d1f83d30bd1bd/DTDAttributeImpl.java/buggy/bundles/org.eclipse.wst.dtd.core/emfmodel/org/eclipse/wst/dtd/core/internal/emf/impl/DTDAttributeImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
20372,
12,
41,
14372,
4595,
425,
4595,
13,
288,
202,
202,
9610,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
18,
588,
4595,
734,
9334,
425,
4595,
18,
588,
2170,
797,
1435,
3719,
288,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
41,
16791,
15297,
294,
9506,
202,
2463,
425,
5655,
480,
446,
597,
401,
588,
41,
5655,
7675,
291,
1921,
5621,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
1985,
294,
9506,
202,
2463,
6048,
67,
11236,
422,
446,
692,
508,
480,
446,
294,
401,
1985,
67,
11236,
18,
14963,
12,
529,
1769,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
27062,
294,
9506,
202,
2463,
425,
559,
480,
446,
31,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
30854,
294,
9506,
202,
2463,
2549,
429,
480,
26267,
2782,
67,
11236,
31,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
29439,
294,
9506,
202,
2463,
31548,
67,
480,
776,
1741,
27405,
67,
11236,
31,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
28412,
294,
9506,
202,
2463,
12315,
67,
480,
14996,
24937,
67,
11236,
31,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
16879,
294,
9506,
202,
2463,
3089,
480,
26623,
67,
11236,
31,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
5280,
67,
4051,
67,
23225,
294,
9506,
202,
2463,
3331,
67,
4051,
67,
23225,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
20372,
12,
41,
14372,
4595,
425,
4595,
13,
288,
202,
202,
9610,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
18,
588,
4595,
734,
9334,
425,
4595,
18,
588,
2170,
797,
1435,
3719,
288,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
41,
16791,
15297,
294,
9506,
202,
2463,
425,
5655,
480,
446,
597,
401,
588,
41,
5655,
7675,
291,
1921,
5621,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
1985,
294,
9506,
202,
2463,
6048,
67,
11236,
422,
446,
692,
508,
480,
446,
294,
401,
1985,
67,
11236,
18,
14963,
12,
529,
1769,
1082,
202,
3593,
10696,
40,
2261,
18,
25728,
67,
11616,
972,
27062,
294,
9506,
2
] |
public String getErrorParserIds(IConfiguration config) {
|
public String getErrorParserIds() {
|
public String getErrorParserIds(IConfiguration config) { String ids = errorParserIds; if (ids == null) { // If I have a superClass, ask it if (superClass != null) { ids = superClass.getErrorParserIds(config); } } if (ids == null) { // Collect the error parsers from my children if (builder != null) { ids = builder.getErrorParserIds(); } ITool[] tools = config.getFilteredTools(); for (int i = 0; i < tools.length; i++) { ITool tool = tools[i]; String toolIds = tool.getErrorParserIds(); if (toolIds != null && toolIds.length() > 0) { if (ids != null) { ids += ";"; //$NON-NLS-1$ ids += toolIds; } else { ids = toolIds; } } } } return ids; }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/0119b876950a205bdddabaad5e05a45b2a4dc387/ToolChain.java/buggy/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/ToolChain.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
7926,
2678,
2673,
12,
45,
1750,
642,
13,
288,
202,
202,
780,
3258,
273,
555,
2678,
2673,
31,
202,
202,
430,
261,
2232,
422,
446,
13,
288,
1082,
202,
759,
971,
467,
1240,
279,
18846,
16,
6827,
518,
1082,
202,
430,
261,
9565,
797,
480,
446,
13,
288,
9506,
202,
2232,
273,
18846,
18,
588,
668,
2678,
2673,
12,
1425,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
430,
261,
2232,
422,
446,
13,
288,
1082,
202,
759,
9302,
326,
555,
14212,
628,
3399,
2325,
1082,
565,
309,
261,
9574,
480,
446,
13,
288,
1082,
3639,
3258,
273,
2089,
18,
588,
668,
2678,
2673,
5621,
1082,
565,
289,
1082,
202,
45,
6364,
8526,
8513,
273,
642,
18,
588,
14478,
10348,
5621,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
8513,
18,
2469,
31,
277,
27245,
288,
9506,
202,
45,
6364,
5226,
273,
8513,
63,
77,
15533,
9506,
202,
780,
5226,
2673,
273,
5226,
18,
588,
668,
2678,
2673,
5621,
4697,
202,
430,
261,
6738,
2673,
480,
446,
597,
5226,
2673,
18,
2469,
1435,
405,
374,
13,
288,
6862,
202,
430,
261,
2232,
480,
446,
13,
288,
25083,
202,
2232,
1011,
11430,
31,
4329,
3993,
17,
5106,
17,
21,
8,
25083,
202,
2232,
1011,
5226,
2673,
31,
6862,
202,
97,
469,
288,
25083,
202,
2232,
273,
5226,
2673,
31,
6862,
202,
97,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
3258,
31,
202,
97,
2,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
7926,
2678,
2673,
12,
45,
1750,
642,
13,
288,
202,
202,
780,
3258,
273,
555,
2678,
2673,
31,
202,
202,
430,
261,
2232,
422,
446,
13,
288,
1082,
202,
759,
971,
467,
1240,
279,
18846,
16,
6827,
518,
1082,
202,
430,
261,
9565,
797,
480,
446,
13,
288,
9506,
202,
2232,
273,
18846,
18,
588,
668,
2678,
2673,
12,
1425,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
430,
261,
2232,
422,
446,
13,
288,
1082,
202,
759,
9302,
326,
555,
14212,
628,
3399,
2325,
1082,
565,
309,
261,
9574,
480,
446,
13,
288,
1082,
3639,
3258,
273,
2089,
18,
588,
668,
2678,
2673,
5621,
1082,
565,
289,
1082,
202,
45,
6364,
8526,
8513,
2
] |
public ActionForward prepareEditAttendsSetMembers(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws FenixActionException, FenixFilterException { HttpSession session = request.getSession(false); IUserView userView = (IUserView) session.getAttribute(SessionConstants.U_VIEW); String groupPropertiesCodeString = request.getParameter("groupPropertiesCode"); Integer groupPropertiesCode = new Integer(groupPropertiesCodeString); String attendsSetCodeString = request.getParameter("attendsSetCode"); Integer attendsSetCode = new Integer(attendsSetCodeString); Integer objectCode = getObjectCode(request); ISiteComponent viewAttendsSet = new InfoSiteAttendsSet(); TeacherAdministrationSiteView siteView = (TeacherAdministrationSiteView) readSiteView(request, viewAttendsSet, null, attendsSetCode, null); InfoSiteAttendsSet component = (InfoSiteAttendsSet) siteView.getComponent(); if (component.getInfoAttendsSet() == null) { ActionErrors actionErrors = new ActionErrors(); ActionError error = null; error = new ActionError("error.noAttendsSet"); actionErrors.add("error.noAttendsSet", error); saveErrors(request, actionErrors); return prepareViewExecutionCourseProjects(mapping, form, request, response); } Object args[] = {objectCode, groupPropertiesCode, attendsSetCode}; List infoStudentList = null; try { infoStudentList = (List) ServiceManagerServiceFactory.executeService(userView, "PrepareEditAttendsSetMembers", args); } catch (FenixServiceException e) { throw new FenixActionException(e); } Collections.sort(infoStudentList, new BeanComparator("number")); request.setAttribute("infoStudentList", infoStudentList); return mapping.findForward("editAttendsSetMembers"); }
|
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/51b6ac2293210675b11702dcd353d11f8f6541bc/TeacherAdministrationViewerDispatchAction.java/clean/src/net/sourceforge/fenixedu/presentationTier/Action/teacher/TeacherAdministrationViewerDispatchAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4382,
8514,
2911,
4666,
3075,
5839,
694,
6918,
12,
1803,
3233,
2874,
16,
4382,
1204,
646,
16,
5411,
9984,
590,
16,
12446,
766,
13,
565,
1216,
478,
275,
697,
1803,
503,
16,
478,
275,
697,
1586,
503,
565,
288,
7734,
26166,
1339,
273,
590,
18,
588,
2157,
12,
5743,
1769,
7734,
467,
1299,
1767,
729,
1767,
273,
261,
45,
1299,
1767,
13,
1339,
18,
588,
1499,
12,
2157,
2918,
18,
57,
67,
12145,
1769,
7734,
514,
1041,
2297,
1085,
780,
273,
590,
18,
588,
1662,
2932,
1655,
2297,
1085,
8863,
3639,
2144,
1041,
2297,
1085,
273,
394,
2144,
12,
1655,
2297,
1085,
780,
1769,
7734,
514,
2403,
5839,
694,
1085,
780,
273,
590,
18,
588,
1662,
2932,
4558,
5839,
694,
1085,
8863,
3639,
2144,
2403,
5839,
694,
1085,
273,
394,
2144,
12,
4558,
5839,
694,
1085,
780,
1769,
7734,
2144,
733,
1085,
273,
6455,
1085,
12,
2293,
1769,
7734,
4437,
1137,
1841,
1476,
3075,
5839,
694,
273,
394,
3807,
4956,
3075,
5839,
694,
5621,
3639,
399,
13798,
264,
4446,
4218,
4956,
1767,
2834,
1767,
273,
261,
56,
13798,
264,
4446,
4218,
4956,
1767,
13,
855,
4956,
1767,
12,
2293,
16,
7734,
1476,
3075,
5839,
694,
16,
446,
16,
2403,
5839,
694,
1085,
16,
446,
1769,
3639,
3807,
4956,
3075,
5839,
694,
1794,
273,
261,
966,
4956,
3075,
5839,
694,
13,
2834,
1767,
18,
588,
1841,
5621,
7734,
309,
261,
4652,
18,
588,
966,
3075,
5839,
694,
1435,
422,
446,
13,
3639,
288,
5411,
4382,
4229,
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,
4382,
8514,
2911,
4666,
3075,
5839,
694,
6918,
12,
1803,
3233,
2874,
16,
4382,
1204,
646,
16,
5411,
9984,
590,
16,
12446,
766,
13,
565,
1216,
478,
275,
697,
1803,
503,
16,
478,
275,
697,
1586,
503,
565,
288,
7734,
26166,
1339,
273,
590,
18,
588,
2157,
12,
5743,
1769,
7734,
467,
1299,
1767,
729,
1767,
273,
261,
45,
1299,
1767,
13,
1339,
18,
588,
1499,
12,
2157,
2918,
18,
57,
67,
12145,
1769,
7734,
514,
1041,
2297,
1085,
780,
273,
590,
18,
588,
1662,
2932,
1655,
2297,
1085,
8863,
3639,
2144,
1041,
2297,
1085,
273,
394,
2144,
12,
1655,
2297,
1085,
780,
1769,
7734,
514,
2403,
5839,
694,
1085,
780,
273,
590,
18,
588,
1662,
2932,
2
] |
||
System.out.println("Extracting param " + paramClass + " from " + omchild);
|
__log.debug("Extracting param " + paramClass + " from " + omchild);
|
private static Object[] extractParams(Method method, OMElement omElmt) throws AxisFault { Class[] paramTypes = method.getParameterTypes(); Object[] params = new Object[method.getParameterTypes().length]; Iterator omChildren = omElmt.getChildElements(); int paramIdx = 0; for (Class<?> paramClass : paramTypes) { OMElement omchild = (OMElement) omChildren.next(); System.out.println("Extracting param " + paramClass + " from " + omchild); params[paramIdx++] = convertFromOM(paramClass, omchild); } return params; }
|
47044 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47044/1fd736a9a52d43f82beb7d5c05bd1e735737264b/ManagementService.java/clean/axis2/src/main/java/org/apache/ode/axis2/service/ManagementService.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1033,
8526,
2608,
1370,
12,
1305,
707,
16,
531,
12310,
8068,
4958,
1010,
13,
1216,
15509,
7083,
288,
3639,
1659,
8526,
21265,
273,
707,
18,
588,
1662,
2016,
5621,
3639,
1033,
8526,
859,
273,
394,
1033,
63,
2039,
18,
588,
1662,
2016,
7675,
2469,
15533,
3639,
4498,
8068,
4212,
273,
8068,
4958,
1010,
18,
588,
1763,
3471,
5621,
3639,
509,
579,
4223,
273,
374,
31,
3639,
364,
261,
797,
12880,
34,
579,
797,
294,
21265,
13,
288,
5411,
531,
12310,
8068,
3624,
273,
261,
51,
12310,
13,
8068,
4212,
18,
4285,
5621,
5411,
1001,
1330,
18,
4148,
2932,
4976,
310,
579,
315,
397,
579,
797,
397,
315,
628,
315,
397,
8068,
3624,
1769,
5411,
859,
63,
891,
4223,
9904,
65,
273,
1765,
1265,
1872,
12,
891,
797,
16,
8068,
3624,
1769,
3639,
289,
3639,
327,
859,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1033,
8526,
2608,
1370,
12,
1305,
707,
16,
531,
12310,
8068,
4958,
1010,
13,
1216,
15509,
7083,
288,
3639,
1659,
8526,
21265,
273,
707,
18,
588,
1662,
2016,
5621,
3639,
1033,
8526,
859,
273,
394,
1033,
63,
2039,
18,
588,
1662,
2016,
7675,
2469,
15533,
3639,
4498,
8068,
4212,
273,
8068,
4958,
1010,
18,
588,
1763,
3471,
5621,
3639,
509,
579,
4223,
273,
374,
31,
3639,
364,
261,
797,
12880,
34,
579,
797,
294,
21265,
13,
288,
5411,
531,
12310,
8068,
3624,
273,
261,
51,
12310,
13,
8068,
4212,
18,
4285,
5621,
5411,
1001,
1330,
18,
4148,
2932,
4976,
310,
579,
315,
397,
579,
797,
397,
315,
628,
315,
397,
8068,
3624,
1769,
5411,
859,
63,
2
] |
picturesList.setModel( new Album() );
|
jPicturesList.setModel( new Album() );
|
private void updatePicturesList( Album album ) { mAlbum = album; if (mAlbum == null) { // fake empty album to clear the list picturesList.setModel( new Album() ); } else { picturesList.setModel( mAlbum ); mAlbum.setListSelectionModel(picturesList.getSelectionModel()); picturesList.getModel().addListDataListener( this ); pictureInspector.setPictures( null ); } }
|
5431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5431/8b582799d13cfda553d8b02457082277726c6467/MainFrame.java/clean/gallery_remote/com/gallery/GalleryRemote/MainFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1089,
52,
28636,
682,
12,
2262,
10293,
14844,
262,
288,
202,
202,
81,
30330,
273,
14844,
31,
202,
202,
430,
261,
81,
30330,
422,
446,
13,
288,
1082,
202,
759,
10517,
1008,
14844,
358,
2424,
326,
666,
1082,
202,
84,
28636,
682,
18,
542,
1488,
12,
394,
2262,
10293,
1435,
11272,
202,
202,
97,
469,
288,
1082,
202,
84,
28636,
682,
18,
542,
1488,
12,
312,
30330,
11272,
1082,
202,
81,
30330,
18,
542,
682,
6233,
1488,
12,
84,
28636,
682,
18,
588,
6233,
1488,
10663,
1082,
202,
84,
28636,
682,
18,
588,
1488,
7675,
1289,
682,
751,
2223,
12,
333,
11272,
1082,
202,
21126,
19443,
18,
542,
52,
28636,
12,
446,
11272,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1089,
52,
28636,
682,
12,
2262,
10293,
14844,
262,
288,
202,
202,
81,
30330,
273,
14844,
31,
202,
202,
430,
261,
81,
30330,
422,
446,
13,
288,
1082,
202,
759,
10517,
1008,
14844,
358,
2424,
326,
666,
1082,
202,
84,
28636,
682,
18,
542,
1488,
12,
394,
2262,
10293,
1435,
11272,
202,
202,
97,
469,
288,
1082,
202,
84,
28636,
682,
18,
542,
1488,
12,
312,
30330,
11272,
1082,
202,
81,
30330,
18,
542,
682,
6233,
1488,
12,
84,
28636,
682,
18,
588,
6233,
1488,
10663,
1082,
202,
84,
28636,
682,
18,
588,
1488,
7675,
1289,
682,
751,
2223,
12,
333,
11272,
1082,
202,
21126,
19443,
18,
542,
52,
28636,
12,
446,
11272,
202,
202,
2
] |
put("Overlay", DataTools.read4SignedBytes(in, little));
|
put("Overlay", in.readInt());
|
protected void initStandardMetadata() { try { Hashtable ifd = ifds[0]; super.initStandardMetadata(); Integer obj = new Integer(0); int offset; Integer k = new Integer(UIC4TAG); long[] temp = (long[]) ifd.get(k); Long[] q = new Long[temp.length]; for (int i=0; i<q.length; i++) q[i] = new Long(temp[i]); if (q == null) offset = -1; Integer w = new Integer(q[1].intValue()); if (w == null) offset = -1; else offset = w.intValue(); if (offset < 0) throw new FormatException("UIC4TAG not found"); in.seek(offset); int currentcode = -1; byte[] toread; TiffRational[] temp2 = (TiffRational[]) ifd.get(new Integer(METAMORPH_ID)); Long[] v = new Long[temp2.length]; for (int i=0; i<v.length; i++) v[i] = new Long(temp2[i].longValue()); if (v == null) throw new FormatException("Metamorph ID not found"); int planes = v[1].intValue(); boolean little = TiffTools.isLittleEndian(ifd); while ((currentcode < 66) && ((in.length() - in.getFilePointer()) > 2)) { currentcode = DataTools.read2SignedBytes(in, little); // variable declarations, because switch is dumb int num, denom; int xnum, xdenom, ynum, ydenom; double xpos, ypos; String thedate, thetime; switch (currentcode) { case 0: String autoscale = DataTools.read4SignedBytes(in, little) == 0 ? "no auto-scaling" : "16-bit to 8-bit scaling"; put("AutoScale", autoscale); break; case 1: put("MinScale", DataTools.read4SignedBytes(in, little)); break; case 2: put("MaxScale", DataTools.read4SignedBytes(in, little)); break; case 3: int calib = DataTools.read4SignedBytes(in, little); String calibration = calib == 0 ? "on" : "off"; put("Spatial Calibration", calibration); break; case 4: num = DataTools.read4SignedBytes(in, little); denom = DataTools.read4SignedBytes(in, little); put("XCalibration", new TiffRational(num, denom)); break; case 5: num = DataTools.read4SignedBytes(in, little); denom = DataTools.read4SignedBytes(in, little); put("YCalibration", new TiffRational(num, denom)); break; case 6: num = DataTools.read4SignedBytes(in, little); toread = new byte[num]; in.read(toread); put("CalibrationUnits", new String(toread)); break; case 7: num = DataTools.read4SignedBytes(in, little); toread = new byte[num]; in.read(toread); String name = new String(toread); put("Name", name); imageName = name; break; case 8: int thresh = DataTools.read4SignedBytes(in, little); String threshState = "off"; if (thresh == 1) threshState = "inside"; else if (thresh == 2) threshState = "outside"; put("ThreshState", threshState); break; case 9: put("ThreshStateRed", DataTools.read4SignedBytes(in, little)); break; // there is no 10 case 11: put("ThreshStateGreen", DataTools.read4SignedBytes(in, little)); break; case 12: put("ThreshStateBlue", DataTools.read4SignedBytes(in, little)); break; case 13: put("ThreshStateLo", DataTools.read4SignedBytes(in, little)); break; case 14: put("ThreshStateHi", DataTools.read4SignedBytes(in, little)); break; case 15: int zoom = DataTools.read4SignedBytes(in, little); put("Zoom", zoom);// OMETools.setAttribute(ome, "DisplayOptions", "Zoom", "" + zoom); break; case 16: // oh how we hate you Julian format... thedate = decodeDate(DataTools.read4SignedBytes(in, little)); thetime = decodeTime(DataTools.read4SignedBytes(in, little)); put("DateTime", thedate + " " + thetime); imageCreationDate = thedate + " " + thetime; break; case 17: thedate = decodeDate(DataTools.read4SignedBytes(in, little)); thetime = decodeTime(DataTools.read4SignedBytes(in, little)); put("LastSavedTime", thedate + " " + thetime); break; case 18: put("currentBuffer", DataTools.read4SignedBytes(in, little)); break; case 19: put("grayFit", DataTools.read4SignedBytes(in, little)); break; case 20: put("grayPointCount", DataTools.read4SignedBytes(in, little)); break; case 21: num = DataTools.read4SignedBytes(in, little); denom = DataTools.read4SignedBytes(in, little); put("grayX", new TiffRational(num, denom)); break; case 22: num = DataTools.read4SignedBytes(in, little); denom = DataTools.read4SignedBytes(in, little); put("gray", new TiffRational(num, denom)); break; case 23: num = DataTools.read4SignedBytes(in, little); denom = DataTools.read4SignedBytes(in, little); put("grayMin", new TiffRational(num, denom)); break; case 24: num = DataTools.read4SignedBytes(in, little); denom = DataTools.read4SignedBytes(in, little); put("grayMax", new TiffRational(num, denom)); break; case 25: num = DataTools.read4SignedBytes(in, little); toread = new byte[num]; in.read(toread); put("grayUnitName", new String(toread)); break; case 26: int standardLUT = DataTools.read4SignedBytes(in, little); String standLUT; switch (standardLUT) { case 0: standLUT = "monochrome"; break; case 1: standLUT = "pseudocolor"; break; case 2: standLUT = "Red"; break; case 3: standLUT = "Green"; break; case 4: standLUT = "Blue"; break; case 5: standLUT = "user-defined"; break; default: standLUT = "monochrome"; break; } put("StandardLUT", standLUT); break; case 27: put("Wavelength", DataTools.read4SignedBytes(in, little)); break; case 28: for (int i = 0; i < planes; i++) { xnum = DataTools.read4SignedBytes(in, little); xdenom = DataTools.read4SignedBytes(in, little); ynum = DataTools.read4SignedBytes(in, little); ydenom = DataTools.read4SignedBytes(in, little); xpos = xnum / xdenom; ypos = ynum / ydenom; put("Stage Position Plane " + i, "(" + xpos + ", " + ypos + ")"); } break; case 29: for (int i = 0; i < planes; i++) { xnum = DataTools.read4SignedBytes(in, little); xdenom = DataTools.read4SignedBytes(in, little); ynum = DataTools.read4SignedBytes(in, little); ydenom = DataTools.read4SignedBytes(in, little); xpos = xnum / xdenom; ypos = ynum / ydenom; put("Camera Offset Plane " + i, "(" + xpos + ", " + ypos + ")"); } break; case 30: put("OverlayMask", DataTools.read4SignedBytes(in, little)); break; case 31: put("OverlayCompress", DataTools.read4SignedBytes(in, little)); break; case 32: put("Overlay", DataTools.read4SignedBytes(in, little)); break; case 33: put("SpecialOverlayMask", DataTools.read4SignedBytes(in, little)); break; case 34: put("SpecialOverlayCompress", DataTools.read4SignedBytes(in, little)); break; case 35: put("SpecialOverlay", DataTools.read4SignedBytes(in, little)); break; case 36: put("ImageProperty", DataTools.read4SignedBytes(in, little)); break; case 37: for (int i = 0; i<planes; i++) { num = DataTools.read4SignedBytes(in, little); toread = new byte[num]; in.read(toread); String s = new String(toread); put("StageLabel Plane " + i, s); } break; case 38: num = DataTools.read4SignedBytes(in, little); denom = DataTools.read4SignedBytes(in, little); put("AutoScaleLoInfo", new TiffRational(num, denom)); break; case 39: num = DataTools.read4SignedBytes(in, little); denom = DataTools.read4SignedBytes(in, little); put("AutoScaleHiInfo", new TiffRational(num, denom)); break; case 40: for (int i=0;i<planes;i++) { num = DataTools.read4SignedBytes(in, little); denom = DataTools.read4SignedBytes(in, little); put("AbsoluteZ Plane " + i, new TiffRational(num, denom)); } break; case 41: for (int i=0; i<planes; i++) { put("AbsoluteZValid Plane " + i, DataTools.read4SignedBytes(in, little)); } break; case 42: put("Gamma", DataTools.read4SignedBytes(in, little)); break; case 43: put("GammaRed", DataTools.read4SignedBytes(in, little)); break; case 44: put("GammaGreen", DataTools.read4SignedBytes(in, little)); break; case 45: put("GammaBlue", DataTools.read4SignedBytes(in, little)); break; } // end switch } } catch (NullPointerException n) { n.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } catch (FormatException e) { e.printStackTrace(); } try { super.initStandardMetadata(); } catch (Throwable t) { t.printStackTrace(); } // parse (mangle) TIFF comment String descr = (String) metadata.get("Comment"); if (descr != null) { StringTokenizer st = new StringTokenizer(descr, "\n"); StringBuffer sb = new StringBuffer(); boolean first = true; while (st.hasMoreTokens()) { String line = st.nextToken(); int colon = line.indexOf(": "); if (colon < 0) { // normal line (not a key/value pair) if (line.trim().length() > 0) { // not a blank line sb.append(line); if (!line.endsWith(".")) sb.append("."); sb.append(" "); } first = false; continue; } if (first) { // first line could be mangled; make a reasonable guess int dot = line.lastIndexOf(".", colon); if (dot >= 0) { String s = line.substring(0, dot + 1); sb.append(s); if (!s.endsWith(".")) sb.append("."); sb.append(" "); } line = line.substring(dot + 1); colon -= dot + 1; first = false; } // add key/value pair embedded in comment as separate metadata String key = line.substring(0, colon); String value = line.substring(colon + 2); put(key, value); } // replace comment with trimmed version descr = sb.toString().trim(); if (descr.equals("")) metadata.remove("Comment"); else put("Comment", descr); } }
|
49800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49800/2df09d33bfdc966378aae0cc09cb503afb983bc2/MetamorphReader.java/buggy/loci/formats/in/MetamorphReader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
8336,
2277,
1435,
288,
565,
775,
288,
1377,
18559,
309,
72,
273,
309,
2377,
63,
20,
15533,
1377,
2240,
18,
2738,
8336,
2277,
5621,
1377,
2144,
1081,
273,
394,
2144,
12,
20,
1769,
1377,
509,
1384,
31,
1377,
2144,
417,
273,
394,
2144,
12,
57,
2871,
24,
7927,
1769,
1377,
1525,
8526,
1906,
273,
261,
5748,
63,
5717,
309,
72,
18,
588,
12,
79,
1769,
1377,
3407,
8526,
1043,
273,
394,
3407,
63,
5814,
18,
2469,
15533,
1377,
364,
261,
474,
277,
33,
20,
31,
277,
32,
85,
18,
2469,
31,
277,
27245,
1043,
63,
77,
65,
273,
394,
3407,
12,
5814,
63,
77,
19226,
1377,
309,
261,
85,
422,
446,
13,
1384,
273,
300,
21,
31,
1377,
2144,
341,
273,
394,
2144,
12,
85,
63,
21,
8009,
474,
620,
10663,
1377,
309,
261,
91,
422,
446,
13,
1384,
273,
300,
21,
31,
1377,
469,
1384,
273,
225,
341,
18,
474,
620,
5621,
1377,
309,
261,
3348,
411,
374,
13,
604,
394,
4077,
503,
2932,
57,
2871,
24,
7927,
486,
1392,
8863,
1377,
316,
18,
16508,
12,
3348,
1769,
1377,
509,
783,
710,
273,
300,
21,
31,
1377,
1160,
8526,
358,
896,
31,
1377,
399,
3048,
54,
8371,
8526,
1906,
22,
273,
261,
56,
3048,
54,
8371,
63,
5717,
3639,
309,
72,
18,
588,
12,
2704,
2144,
12,
18315,
2192,
916,
8939,
67,
734,
10019,
1377,
3407,
8526,
331,
273,
394,
3407,
63,
5814,
22,
18,
2469,
15533,
1377,
364,
261,
474,
277,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
8336,
2277,
1435,
288,
565,
775,
288,
1377,
18559,
309,
72,
273,
309,
2377,
63,
20,
15533,
1377,
2240,
18,
2738,
8336,
2277,
5621,
1377,
2144,
1081,
273,
394,
2144,
12,
20,
1769,
1377,
509,
1384,
31,
1377,
2144,
417,
273,
394,
2144,
12,
57,
2871,
24,
7927,
1769,
1377,
1525,
8526,
1906,
273,
261,
5748,
63,
5717,
309,
72,
18,
588,
12,
79,
1769,
1377,
3407,
8526,
1043,
273,
394,
3407,
63,
5814,
18,
2469,
15533,
1377,
364,
261,
474,
277,
33,
20,
31,
277,
32,
85,
18,
2469,
31,
277,
27245,
1043,
63,
77,
65,
273,
394,
3407,
12,
5814,
63,
77,
19226,
1377,
309,
261,
85,
422,
446,
13,
1384,
273,
300,
2
] |
put ((byte) ((((long) value) & 0xff00000000000000L) >> 56)); put ((byte) ((((long) value) & 0x00ff000000000000L) >> 48)); put ((byte) ((((long) value) & 0x0000ff0000000000L) >> 40)); put ((byte) ((((long) value) & 0x000000ff00000000L) >> 32)); put ((byte) ((((long) value) & 0x00000000ff000000L) >> 24)); put ((byte) ((((long) value) & 0x0000000000ff0000L) >> 16)); put ((byte) ((((long) value) & 0x000000000000ff00L) >> 8)); put ((byte) (((long) value) & 0x00000000000000ffL)); return this;
|
return ByteBufferHelper.putDouble (this, value);
|
final public ByteBuffer putDouble (double value) { // FIXME: this handles big endian only put ((byte) ((((long) value) & 0xff00000000000000L) >> 56)); put ((byte) ((((long) value) & 0x00ff000000000000L) >> 48)); put ((byte) ((((long) value) & 0x0000ff0000000000L) >> 40)); put ((byte) ((((long) value) & 0x000000ff00000000L) >> 32)); put ((byte) ((((long) value) & 0x00000000ff000000L) >> 24)); put ((byte) ((((long) value) & 0x0000000000ff0000L) >> 16)); put ((byte) ((((long) value) & 0x000000000000ff00L) >> 8)); put ((byte) (((long) value) & 0x00000000000000ffL)); return this; }
|
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/8e2b4977fae8ee9492e65363b6439bde6376b518/ByteBufferImpl.java/buggy/java/nio/ByteBufferImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
7400,
1378,
5265,
261,
9056,
460,
13,
225,
288,
565,
368,
9852,
30,
333,
7372,
5446,
14759,
1338,
565,
1378,
14015,
7229,
13,
261,
12443,
12,
5748,
13,
460,
13,
473,
374,
5297,
12648,
9449,
48,
13,
1671,
13850,
10019,
565,
1378,
14015,
7229,
13,
261,
12443,
12,
5748,
13,
460,
13,
473,
374,
92,
713,
1403,
12648,
2787,
48,
13,
1671,
9934,
10019,
565,
1378,
14015,
7229,
13,
261,
12443,
12,
5748,
13,
460,
13,
473,
374,
92,
2787,
1403,
2787,
9449,
48,
13,
1671,
8063,
10019,
565,
1378,
14015,
7229,
13,
261,
12443,
12,
5748,
13,
460,
13,
473,
374,
92,
9449,
1403,
12648,
48,
13,
1671,
3847,
10019,
565,
1378,
14015,
7229,
13,
261,
12443,
12,
5748,
13,
460,
13,
473,
374,
92,
12648,
1403,
9449,
48,
13,
1671,
4248,
10019,
565,
1378,
14015,
7229,
13,
261,
12443,
12,
5748,
13,
460,
13,
473,
374,
92,
2787,
9449,
1403,
2787,
48,
13,
1671,
2872,
10019,
565,
1378,
14015,
7229,
13,
261,
12443,
12,
5748,
13,
460,
13,
473,
374,
92,
12648,
2787,
1403,
713,
48,
13,
1671,
1725,
10019,
565,
1378,
14015,
7229,
13,
261,
12443,
5748,
13,
460,
13,
473,
374,
92,
12648,
9449,
1403,
48,
10019,
565,
327,
333,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
7400,
1378,
5265,
261,
9056,
460,
13,
225,
288,
565,
368,
9852,
30,
333,
7372,
5446,
14759,
1338,
565,
1378,
14015,
7229,
13,
261,
12443,
12,
5748,
13,
460,
13,
473,
374,
5297,
12648,
9449,
48,
13,
1671,
13850,
10019,
565,
1378,
14015,
7229,
13,
261,
12443,
12,
5748,
13,
460,
13,
473,
374,
92,
713,
1403,
12648,
2787,
48,
13,
1671,
9934,
10019,
565,
1378,
14015,
7229,
13,
261,
12443,
12,
5748,
13,
460,
13,
473,
374,
92,
2787,
1403,
2787,
9449,
48,
13,
1671,
8063,
10019,
565,
1378,
14015,
7229,
13,
261,
12443,
12,
5748,
13,
460,
13,
473,
374,
92,
9449,
1403,
12648,
48,
13,
1671,
3847,
10019,
565,
1378,
14015,
7229,
13,
2
] |
if(fileName != null && !fileName.equals("<stdin>")) {
|
if (fileName != null && !fileName.equals("<stdin>")) {
|
void interrupted(Context cx) { synchronized(swingMonitor) { if(java.awt.EventQueue.isDispatchThread()) { dispatcherIsWaiting++; if(nonDispatcherWaiting) { // Another thread is stopped in the debugger // process events until it resumes and we // can enter java.awt.EventQueue eventQ = java.awt.Toolkit.getDefaultToolkit().getSystemEventQueue(); while(nonDispatcherWaiting) { try { AWTEvent event = eventQ.getNextEvent(); if(event instanceof ActiveEvent) { ((ActiveEvent)event).dispatch(); } else { Object source = event.getSource(); if(source instanceof Component) { Component comp = (Component)source; // Suppress Window/InputEvent's that aren't // directed to the Debugger // if(!(event instanceof InputEvent || //event instanceof WindowEvent)|| //shouldDispatchTo(comp)) { comp.dispatchEvent(event); //} } else if(source instanceof MenuComponent) { ((MenuComponent)source).dispatchEvent(event); } } if(this.returnValue == EXIT) { return; } swingMonitor.wait(1); } catch(InterruptedException exc) { return; } } } } else { while(isInterrupted || dispatcherIsWaiting > 0) { try { swingMonitor.wait(); } catch(InterruptedException exc) { return; } } nonDispatcherWaiting = true; } isInterrupted = true; } do { currentContext = cx; DebuggableEngine engine = cx.getDebuggableEngine(); Thread thread = Thread.currentThread(); statusBar.setText("Thread: " + thread.toString()); ThreadState state = (ThreadState)threadState.get(thread); int stopAtFrameDepth = -1; if(state != null) { stopAtFrameDepth = state.stopAtFrameDepth; } if(runToCursorFile != null && thread == runToCursorThread) { int frameCount = engine.getFrameCount(); if(frameCount > 0) { DebugFrame frame = engine.getFrame(0); String sourceName = frame.getSourceName(); if(sourceName != null) { if(sourceName.equals(runToCursorFile)) { int lineNumber = frame.getLineNumber(); if(lineNumber == runToCursorLine) { stopAtFrameDepth = -1; runToCursorFile = null; } else { FileWindow w = getFileWindow(sourceName); if(w == null || !w.isBreakPoint(lineNumber)) { return; } else { runToCursorFile = null; } } } } } else { } } if(stopAtFrameDepth > 0) { if (engine.getFrameCount() > stopAtFrameDepth) { break; } } if(state != null) { state.stopAtFrameDepth = -1; } threadState.remove(thread); int frameCount = engine.getFrameCount(); this.frameIndex = frameCount -1; int line = 0; if(frameCount == 0) { break; } DebugFrame frame = engine.getFrame(0); String fileName = frame.getSourceName(); engine.setBreakNextLine(false); line = frame.getLineNumber(); int enterCount = 0; boolean isDispatchThread = java.awt.EventQueue.isDispatchThread(); if(!isDispatchThread) { // detach cx from its thread so the debugger (in the awt // dispatcher thread) can enter it if necessary cx.exit(); while(Context.getCurrentContext() != null) { Context.exit(); enterCount++; } } if(fileName != null && !fileName.equals("<stdin>")) { FileWindow w = (FileWindow)getFileWindow(fileName); if(w != null) { SetFilePosition action = new SetFilePosition(this, w, line); swingInvoke(action); } else { Vector v = (Vector)sourceNames.get(fileName); String source = ((SourceEntry)v.elementAt(0)).source.toString(); CreateFileWindow action = new CreateFileWindow(this, fileName, source, line); swingInvoke(action); } } else { if(console.isVisible()) { final JSInternalConsole finalConsole = console; swingInvoke(new Runnable() { public void run() { finalConsole.show(); } }); } } swingInvoke(new EnterInterrupt(this, cx)); swingInvoke(new UpdateContext(this, cx)); int returnValue; if(!isDispatchThread) { synchronized(monitor) { this.returnValue = -1; try { while(this.returnValue == -1) { monitor.wait(); } returnValue = this.returnValue; } catch(InterruptedException exc) { break; } } } else { java.awt.EventQueue eventQ = java.awt.Toolkit.getDefaultToolkit().getSystemEventQueue(); this.returnValue = -1; while(this.returnValue == -1) { try { AWTEvent event = eventQ.getNextEvent(); if(event instanceof ActiveEvent) { ((ActiveEvent)event).dispatch(); } else { Object source = event.getSource(); if(source instanceof Component) { Component comp = (Component)source; // Suppress Window/InputEvent's that aren't // directed to the Debugger // if(!(event instanceof InputEvent || //event instanceof WindowEvent)|| // shouldDispatchTo(comp)) { //comp.dispatchEvent(event); //} comp.dispatchEvent(event); } else if(source instanceof MenuComponent) { ((MenuComponent)source).dispatchEvent(event); } } } catch(InterruptedException exc) { } } returnValue = this.returnValue; } swingInvoke(new ExitInterrupt(this)); if(!isDispatchThread) { // reattach cx to its thread Context current; if((current = Context.enter(cx)) != cx) { System.out.println("debugger error: cx = " + cx + " current = " + current); } while(enterCount > 0) { Context.enter(); enterCount--; } } switch(returnValue) { case STEP_OVER: engine.setBreakNextLine(true); stopAtFrameDepth = engine.getFrameCount(); if(state == null) { state = new ThreadState(); } state.stopAtFrameDepth = stopAtFrameDepth; threadState.put(thread, state); break; case STEP_INTO: engine.setBreakNextLine(true); if(state != null) { state.stopAtFrameDepth = -1; } break; case STEP_OUT: stopAtFrameDepth = engine.getFrameCount() -1; if(stopAtFrameDepth > 0) { engine.setBreakNextLine(true); if(state == null) { state = new ThreadState(); } state.stopAtFrameDepth = stopAtFrameDepth; threadState.put(thread, state); } break; case RUN_TO_CURSOR: engine.setBreakNextLine(true); if(state != null) { state.stopAtFrameDepth = -1; } break; } } while(false); synchronized(swingMonitor) { isInterrupted = false; if(java.awt.EventQueue.isDispatchThread()) { dispatcherIsWaiting--; } else { nonDispatcherWaiting = false; } swingMonitor.notifyAll(); } }
|
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/b9766e81693411fa600b26b9a0763dcf621b2770/Main.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
15711,
12,
1042,
9494,
13,
288,
3639,
3852,
12,
5328,
310,
7187,
13,
288,
5411,
309,
12,
6290,
18,
2219,
88,
18,
1133,
3183,
18,
291,
5325,
3830,
10756,
288,
7734,
7393,
2520,
15946,
9904,
31,
7734,
309,
12,
5836,
6681,
15946,
13,
288,
10792,
368,
432,
24413,
2650,
353,
9627,
316,
326,
19977,
10792,
368,
1207,
2641,
3180,
518,
400,
6411,
471,
732,
10792,
368,
848,
6103,
10792,
2252,
18,
2219,
88,
18,
1133,
3183,
871,
53,
225,
273,
13491,
2252,
18,
2219,
88,
18,
6364,
8691,
18,
588,
1868,
6364,
8691,
7675,
588,
3163,
1133,
3183,
5621,
10792,
1323,
12,
5836,
6681,
15946,
13,
288,
13491,
775,
288,
18701,
432,
8588,
1133,
871,
273,
871,
53,
18,
588,
2134,
1133,
5621,
18701,
309,
12,
2575,
1276,
8857,
1133,
13,
288,
27573,
14015,
3896,
1133,
13,
2575,
2934,
10739,
5621,
18701,
289,
469,
288,
27573,
1033,
1084,
273,
871,
18,
588,
1830,
5621,
27573,
309,
12,
3168,
1276,
5435,
13,
288,
4766,
565,
5435,
1161,
273,
261,
1841,
13,
3168,
31,
27573,
368,
4598,
6076,
19,
1210,
1133,
1807,
716,
11526,
1404,
27573,
368,
20830,
358,
326,
28645,
4766,
565,
368,
309,
12,
5,
12,
2575,
1276,
2741,
1133,
747,
4766,
565,
368,
2575,
1276,
6076,
1133,
14047,
96,
4766,
565,
368,
13139,
5325,
774,
12,
2919,
3719,
288,
4766,
565,
1161,
18,
10739,
1133,
12,
2575,
1769,
27573,
19363,
27573,
289,
469,
309,
12,
3168,
1276,
9809,
1841,
13,
288,
4766,
565,
14015,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
15711,
12,
1042,
9494,
13,
288,
3639,
3852,
12,
5328,
310,
7187,
13,
288,
5411,
309,
12,
6290,
18,
2219,
88,
18,
1133,
3183,
18,
291,
5325,
3830,
10756,
288,
7734,
7393,
2520,
15946,
9904,
31,
7734,
309,
12,
5836,
6681,
15946,
13,
288,
10792,
368,
432,
24413,
2650,
353,
9627,
316,
326,
19977,
10792,
368,
1207,
2641,
3180,
518,
400,
6411,
471,
732,
10792,
368,
848,
6103,
10792,
2252,
18,
2219,
88,
18,
1133,
3183,
871,
53,
225,
273,
13491,
2252,
18,
2219,
88,
18,
6364,
8691,
18,
588,
1868,
6364,
8691,
7675,
588,
3163,
1133,
3183,
5621,
10792,
1323,
12,
5836,
6681,
15946,
13,
288,
13491,
775,
288,
18701,
432,
8588,
1133,
871,
273,
871,
2
] |
case 237 : if (DEBUG) { System.out.println("PushRealModifiers ::="); }
|
case 238 : if (DEBUG) { System.out.println("PushRealModifiers ::="); }
|
protected void consumeRule(int act) { switch ( act ) { case 27 : if (DEBUG) { System.out.println("Type ::= PrimitiveType"); } //$NON-NLS-1$ consumePrimitiveType(); break; case 41 : if (DEBUG) { System.out.println("ReferenceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeReferenceType(); break; case 45 : if (DEBUG) { System.out.println("ClassOrInterface ::= Name"); } //$NON-NLS-1$ consumeClassOrInterfaceName(); break; case 46 : if (DEBUG) { System.out.println("ClassOrInterface ::= GenericType DOT Name"); } //$NON-NLS-1$ consumeClassOrInterface(); break; case 47 : if (DEBUG) { System.out.println("GenericType ::= ClassOrInterface TypeArguments"); } //$NON-NLS-1$ consumeGenericType(); break; case 48 : if (DEBUG) { System.out.println("ArrayTypeWithTypeArgumentsName ::= GenericType DOT Name"); } //$NON-NLS-1$ consumeArrayTypeWithTypeArgumentsName(); break; case 49 : if (DEBUG) { System.out.println("ArrayType ::= PrimitiveType Dims"); } //$NON-NLS-1$ consumePrimitiveArrayType(); break; case 50 : if (DEBUG) { System.out.println("ArrayType ::= Name Dims"); } //$NON-NLS-1$ consumeNameArrayType(); break; case 51 : if (DEBUG) { System.out.println("ArrayType ::= ArrayTypeWithTypeArgumentsName Dims"); } //$NON-NLS-1$ consumeGenericTypeNameArrayType(); break; case 52 : if (DEBUG) { System.out.println("ArrayType ::= GenericType Dims"); } //$NON-NLS-1$ consumeGenericTypeArrayType(); break; case 57 : if (DEBUG) { System.out.println("QualifiedName ::= Name DOT SimpleName"); } //$NON-NLS-1$ consumeQualifiedName(); break; case 58 : if (DEBUG) { System.out.println("CompilationUnit ::= EnterCompilationUnit..."); } //$NON-NLS-1$ consumeCompilationUnit(); break; case 59 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration"); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 60 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 61 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 62 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 63 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 64 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= TypeDeclarations"); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 65 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 66 : if (DEBUG) { System.out.println("InternalCompilationUnit ::="); } //$NON-NLS-1$ consumeEmptyInternalCompilationUnit(); break; case 67 : if (DEBUG) { System.out.println("ReduceImports ::="); } //$NON-NLS-1$ consumeReduceImports(); break; case 68 : if (DEBUG) { System.out.println("EnterCompilationUnit ::="); } //$NON-NLS-1$ consumeEnterCompilationUnit(); break; case 83 : if (DEBUG) { System.out.println("CatchHeader ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeCatchHeader(); break; case 85 : if (DEBUG) { System.out.println("ImportDeclarations ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeImportDeclarations(); break; case 87 : if (DEBUG) { System.out.println("TypeDeclarations ::= TypeDeclarations TypeDeclaration"); } //$NON-NLS-1$ consumeTypeDeclarations(); break; case 88 : if (DEBUG) { System.out.println("PackageDeclaration ::= PackageDeclarationName SEMICOLON"); } //$NON-NLS-1$ consumePackageDeclaration(); break; case 89 : if (DEBUG) { System.out.println("PackageDeclarationName ::= Modifiers package..."); } //$NON-NLS-1$ consumePackageDeclarationNameWithModifiers(); break; case 90 : if (DEBUG) { System.out.println("PackageDeclarationName ::= package Name"); } //$NON-NLS-1$ consumePackageDeclarationName(); break; case 95 : if (DEBUG) { System.out.println("SingleTypeImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 96 : if (DEBUG) { System.out.println("SingleTypeImportDeclarationName ::= import Name"); } //$NON-NLS-1$ consumeSingleTypeImportDeclarationName(); break; case 97 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 98 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclarationName ::= import Name DOT..."); } //$NON-NLS-1$ consumeTypeImportOnDemandDeclarationName(); break; case 101 : if (DEBUG) { System.out.println("TypeDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyTypeDeclaration(); break; case 105 : if (DEBUG) { System.out.println("Modifiers ::= Modifiers Modifier"); } //$NON-NLS-1$ consumeModifiers2(); break; case 117 : if (DEBUG) { System.out.println("Modifier ::= Annotation"); } //$NON-NLS-1$ consumeAnnotationAsModifier(); break; case 118 : if (DEBUG) { System.out.println("ClassDeclaration ::= ClassHeader ClassBody"); } //$NON-NLS-1$ consumeClassDeclaration(); break; case 119 : if (DEBUG) { System.out.println("ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt..."); } //$NON-NLS-1$ consumeClassHeader(); break; case 120 : if (DEBUG) { System.out.println("ClassHeaderName ::= ClassHeaderName1 TypeParameters"); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 122 : if (DEBUG) { System.out.println("ClassHeaderName1 ::= Modifiersopt class Identifier"); } //$NON-NLS-1$ consumeClassHeaderName1(); break; case 123 : if (DEBUG) { System.out.println("ClassHeaderExtends ::= extends ClassType"); } //$NON-NLS-1$ consumeClassHeaderExtends(); break; case 124 : if (DEBUG) { System.out.println("ClassHeaderImplements ::= implements InterfaceTypeList"); } //$NON-NLS-1$ consumeClassHeaderImplements(); break; case 126 : if (DEBUG) { System.out.println("InterfaceTypeList ::= InterfaceTypeList COMMA..."); } //$NON-NLS-1$ consumeInterfaceTypeList(); break; case 127 : if (DEBUG) { System.out.println("InterfaceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeInterfaceType(); break; case 130 : if (DEBUG) { System.out.println("ClassBodyDeclarations ::= ClassBodyDeclarations..."); } //$NON-NLS-1$ consumeClassBodyDeclarations(); break; case 134 : if (DEBUG) { System.out.println("ClassBodyDeclaration ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 135 : if (DEBUG) { System.out.println("Diet ::="); } //$NON-NLS-1$ consumeDiet(); break; case 136 : if (DEBUG) { System.out.println("Initializer ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 143 : if (DEBUG) { System.out.println("ClassMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyClassMemberDeclaration(); break; case 146 : if (DEBUG) { System.out.println("FieldDeclaration ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFieldDeclaration(); break; case 148 : if (DEBUG) { System.out.println("VariableDeclarators ::= VariableDeclarators COMMA..."); } //$NON-NLS-1$ consumeVariableDeclarators(); break; case 151 : if (DEBUG) { System.out.println("EnterVariable ::="); } //$NON-NLS-1$ consumeEnterVariable(); break; case 152 : if (DEBUG) { System.out.println("ExitVariableWithInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithInitialization(); break; case 153 : if (DEBUG) { System.out.println("ExitVariableWithoutInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithoutInitialization(); break; case 154 : if (DEBUG) { System.out.println("ForceNoDiet ::="); } //$NON-NLS-1$ consumeForceNoDiet(); break; case 155 : if (DEBUG) { System.out.println("RestoreDiet ::="); } //$NON-NLS-1$ consumeRestoreDiet(); break; case 160 : if (DEBUG) { System.out.println("MethodDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ // set to true to consume a method with a body consumeMethodDeclaration(true); break; case 161 : if (DEBUG) { System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); } //$NON-NLS-1$ // set to false to consume a method without body consumeMethodDeclaration(false); break; case 162 : if (DEBUG) { System.out.println("MethodHeader ::= MethodHeaderName FormalParameterListopt"); } //$NON-NLS-1$ consumeMethodHeader(); break; case 163 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt TypeParameters Type..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(); break; case 164 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt Type Identifier LPAREN"); } //$NON-NLS-1$ consumeMethodHeaderName(); break; case 165 : if (DEBUG) { System.out.println("MethodHeaderRightParen ::= RPAREN"); } //$NON-NLS-1$ consumeMethodHeaderRightParen(); break; case 166 : if (DEBUG) { System.out.println("MethodHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeMethodHeaderExtendedDims(); break; case 167 : if (DEBUG) { System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); } //$NON-NLS-1$ consumeMethodHeaderThrowsClause(); break; case 168 : if (DEBUG) { System.out.println("ConstructorHeader ::= ConstructorHeaderName..."); } //$NON-NLS-1$ consumeConstructorHeader(); break; case 169 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt TypeParameters..."); } //$NON-NLS-1$ consumeConstructorHeaderNameWithTypeParameters(); break; case 170 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); } //$NON-NLS-1$ consumeConstructorHeaderName(); break; case 172 : if (DEBUG) { System.out.println("FormalParameterList ::= FormalParameterList COMMA..."); } //$NON-NLS-1$ consumeFormalParameterList(); break; case 173 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFormalParameter(false); break; case 174 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type ELLIPSIS..."); } //$NON-NLS-1$ consumeFormalParameter(true); break; case 176 : if (DEBUG) { System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); } //$NON-NLS-1$ consumeClassTypeList(); break; case 177 : if (DEBUG) { System.out.println("ClassTypeElt ::= ClassType"); } //$NON-NLS-1$ consumeClassTypeElt(); break; case 178 : if (DEBUG) { System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt..."); } //$NON-NLS-1$ consumeMethodBody(); break; case 179 : if (DEBUG) { System.out.println("NestedMethod ::="); } //$NON-NLS-1$ consumeNestedMethod(); break; case 180 : if (DEBUG) { System.out.println("StaticInitializer ::= StaticOnly Block"); } //$NON-NLS-1$ consumeStaticInitializer(); break; case 181 : if (DEBUG) { System.out.println("StaticOnly ::= static"); } //$NON-NLS-1$ consumeStaticOnly(); break; case 182 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader MethodBody"); } //$NON-NLS-1$ consumeConstructorDeclaration() ; break; case 183 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration() ; break; case 184 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= this LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0, THIS_CALL); break; case 185 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments this"); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,THIS_CALL); break; case 186 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= super LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0,SUPER_CALL); break; case 187 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,SUPER_CALL); break; case 188 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT super..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, SUPER_CALL); break; case 189 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, SUPER_CALL); break; case 190 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, SUPER_CALL); break; case 191 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, SUPER_CALL); break; case 192 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT this..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, THIS_CALL); break; case 193 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, THIS_CALL); break; case 194 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, THIS_CALL); break; case 195 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, THIS_CALL); break; case 196 : if (DEBUG) { System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); } //$NON-NLS-1$ consumeInterfaceDeclaration(); break; case 197 : if (DEBUG) { System.out.println("InterfaceHeader ::= InterfaceHeaderName..."); } //$NON-NLS-1$ consumeInterfaceHeader(); break; case 198 : if (DEBUG) { System.out.println("InterfaceHeaderName ::= InterfaceHeaderName1..."); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 200 : if (DEBUG) { System.out.println("InterfaceHeaderName1 ::= Modifiersopt interface..."); } //$NON-NLS-1$ consumeInterfaceHeaderName1(); break; case 202 : if (DEBUG) { System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); } //$NON-NLS-1$ consumeInterfaceHeaderExtends(); break; case 205 : if (DEBUG) { System.out.println("InterfaceMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarations(); break; case 206 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclaration(); break; case 209 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= InvalidMethodDeclaration"); } //$NON-NLS-1$ ignoreMethodBody(); break; case 210 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ ignoreInvalidConstructorDeclaration(true); break; case 211 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ ignoreInvalidConstructorDeclaration(false); break; case 218 : if (DEBUG) { System.out.println("PushLeftBrace ::="); } //$NON-NLS-1$ consumePushLeftBrace(); break; case 219 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace ,opt RBRACE"); } //$NON-NLS-1$ consumeEmptyArrayInitializer(); break; case 220 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 221 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 223 : if (DEBUG) { System.out.println("VariableInitializers ::= VariableInitializers COMMA..."); } //$NON-NLS-1$ consumeVariableInitializers(); break; case 224 : if (DEBUG) { System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); } //$NON-NLS-1$ consumeBlock(); break; case 225 : if (DEBUG) { System.out.println("OpenBlock ::="); } //$NON-NLS-1$ consumeOpenBlock() ; break; case 227 : if (DEBUG) { System.out.println("BlockStatements ::= BlockStatements BlockStatement"); } //$NON-NLS-1$ consumeBlockStatements() ; break; case 231 : if (DEBUG) { System.out.println("BlockStatement ::= InvalidInterfaceDeclaration"); } //$NON-NLS-1$ ignoreInterfaceDeclaration(); break; case 232 : if (DEBUG) { System.out.println("LocalVariableDeclarationStatement ::=..."); } //$NON-NLS-1$ consumeLocalVariableDeclarationStatement(); break; case 233 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Type PushModifiers..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 234 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Modifiers Type..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 235 : if (DEBUG) { System.out.println("PushModifiers ::="); } //$NON-NLS-1$ consumePushModifiers(); break; case 236 : if (DEBUG) { System.out.println("PushModifiersForHeader ::="); } //$NON-NLS-1$ consumePushModifiersForHeader(); break; case 237 : if (DEBUG) { System.out.println("PushRealModifiers ::="); } //$NON-NLS-1$ consumePushRealModifiers(); break; case 263 : if (DEBUG) { System.out.println("EmptyStatement ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyStatement(); break; case 264 : if (DEBUG) { System.out.println("LabeledStatement ::= Identifier COLON Statement"); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 265 : if (DEBUG) { System.out.println("LabeledStatementNoShortIf ::= Identifier COLON..."); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 266 : if (DEBUG) { System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); } //$NON-NLS-1$ consumeExpressionStatement(); break; case 275 : if (DEBUG) { System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfNoElse(); break; case 276 : if (DEBUG) { System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 277 : if (DEBUG) { System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 278 : if (DEBUG) { System.out.println("SwitchStatement ::= switch LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementSwitch() ; break; case 279 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE RBRACE"); } //$NON-NLS-1$ consumeEmptySwitchBlock() ; break; case 282 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlock() ; break; case 284 : if (DEBUG) { System.out.println("SwitchBlockStatements ::= SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlockStatements() ; break; case 285 : if (DEBUG) { System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); } //$NON-NLS-1$ consumeSwitchBlockStatement() ; break; case 287 : if (DEBUG) { System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); } //$NON-NLS-1$ consumeSwitchLabels() ; break; case 288 : if (DEBUG) { System.out.println("SwitchLabel ::= case ConstantExpression COLON"); } //$NON-NLS-1$ consumeCaseLabel(); break; case 289 : if (DEBUG) { System.out.println("SwitchLabel ::= default COLON"); } //$NON-NLS-1$ consumeDefaultLabel(); break; case 290 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 291 : if (DEBUG) { System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 292 : if (DEBUG) { System.out.println("DoStatement ::= do Statement while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementDo() ; break; case 293 : if (DEBUG) { System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 294 : if (DEBUG) { System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 295 : if (DEBUG) { System.out.println("ForInit ::= StatementExpressionList"); } //$NON-NLS-1$ consumeForInit() ; break; case 299 : if (DEBUG) { System.out.println("StatementExpressionList ::= StatementExpressionList..."); } //$NON-NLS-1$ consumeStatementExpressionList() ; break; case 300 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression SEMICOLON"); } //$NON-NLS-1$ consumeSimpleAssertStatement() ; break; case 301 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression COLON Expression"); } //$NON-NLS-1$ consumeAssertStatement() ; break; case 302 : if (DEBUG) { System.out.println("BreakStatement ::= break SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreak() ; break; case 303 : if (DEBUG) { System.out.println("BreakStatement ::= break Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreakWithLabel() ; break; case 304 : if (DEBUG) { System.out.println("ContinueStatement ::= continue SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinue() ; break; case 305 : if (DEBUG) { System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinueWithLabel() ; break; case 306 : if (DEBUG) { System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); } //$NON-NLS-1$ consumeStatementReturn() ; break; case 307 : if (DEBUG) { System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); } //$NON-NLS-1$ consumeStatementThrow(); break; case 308 : if (DEBUG) { System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN..."); } //$NON-NLS-1$ consumeStatementSynchronized(); break; case 309 : if (DEBUG) { System.out.println("OnlySynchronized ::= synchronized"); } //$NON-NLS-1$ consumeOnlySynchronized(); break; case 310 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catches"); } //$NON-NLS-1$ consumeStatementTry(false); break; case 311 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catchesopt Finally"); } //$NON-NLS-1$ consumeStatementTry(true); break; case 313 : if (DEBUG) { System.out.println("ExitTryBlock ::="); } //$NON-NLS-1$ consumeExitTryBlock(); break; case 315 : if (DEBUG) { System.out.println("Catches ::= Catches CatchClause"); } //$NON-NLS-1$ consumeCatches(); break; case 316 : if (DEBUG) { System.out.println("CatchClause ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeStatementCatch() ; break; case 318 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); } //$NON-NLS-1$ consumeLeftParen(); break; case 319 : if (DEBUG) { System.out.println("PushRPAREN ::= RPAREN"); } //$NON-NLS-1$ consumeRightParen(); break; case 324 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayThis(); break; case 325 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression_NotName..."); } //$NON-NLS-1$ consumePrimaryNoNewArray(); break; case 326 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Name PushRPAREN"); } //$NON-NLS-1$ consumePrimaryNoNewArrayWithName(); break; case 329 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameThis(); break; case 330 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT super"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameSuper(); break; case 331 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayName(); break; case 332 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayArrayType(); break; case 333 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveArrayType(); break; case 334 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveType(); break; case 337 : if (DEBUG) { System.out.println("AllocationHeader ::= new ClassType LPAREN..."); } //$NON-NLS-1$ consumeAllocationHeader(); break; case 338 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionWithTypeArguments(); break; case 339 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new ClassType LPAREN"); } //$NON-NLS-1$ consumeClassInstanceCreationExpression(); break; case 340 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 341 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 342 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 343 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 344 : if (DEBUG) { System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionName() ; break; case 345 : if (DEBUG) { System.out.println("ClassBodyopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 347 : if (DEBUG) { System.out.println("ClassBodySimpleNameopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 349 : if (DEBUG) { System.out.println("EnterAnonymousClassBodySimpleName ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBodySimpleName(); break; case 350 : if (DEBUG) { System.out.println("EnterAnonymousClassBody ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBody(); break; case 352 : if (DEBUG) { System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); } //$NON-NLS-1$ consumeArgumentList(); break; case 353 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new PrimitiveType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 354 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 355 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 356 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new PrimitiveType"); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 357 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 358 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 360 : if (DEBUG) { System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs..."); } //$NON-NLS-1$ consumeDimWithOrWithOutExprs(); break; case 362 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeDimWithOrWithOutExpr(); break; case 363 : if (DEBUG) { System.out.println("Dims ::= DimsLoop"); } //$NON-NLS-1$ consumeDims(); break; case 366 : if (DEBUG) { System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeOneDimLoop(); break; case 367 : if (DEBUG) { System.out.println("FieldAccess ::= Primary DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(false); break; case 368 : if (DEBUG) { System.out.println("FieldAccess ::= super DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(true); break; case 369 : if (DEBUG) { System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeMethodInvocationName(); break; case 370 : if (DEBUG) { System.out.println("MethodInvocation ::= Name DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationNameWithTypeArguments(); break; case 371 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationPrimaryWithTypeArguments(); break; case 372 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationPrimary(); break; case 373 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationSuperWithTypeArguments(); break; case 374 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationSuper(); break; case 375 : if (DEBUG) { System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); } //$NON-NLS-1$ consumeArrayAccess(true); break; case 376 : if (DEBUG) { System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 377 : if (DEBUG) { System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 379 : if (DEBUG) { System.out.println("PostfixExpression ::= Name"); } //$NON-NLS-1$ consumePostfixExpression(); break; case 382 : if (DEBUG) { System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,true); break; case 383 : if (DEBUG) { System.out.println("PostDecrementExpression ::= PostfixExpression..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,true); break; case 384 : if (DEBUG) { System.out.println("PushPosition ::="); } //$NON-NLS-1$ consumePushPosition(); break; case 387 : if (DEBUG) { System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 388 : if (DEBUG) { System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 390 : if (DEBUG) { System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,false); break; case 391 : if (DEBUG) { System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,false); break; case 393 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 394 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 396 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt..."); } //$NON-NLS-1$ consumeCastExpressionWithPrimitiveType(); break; case 397 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithGenericsArray(); break; case 398 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithQualifiedGenericsArray(); break; case 399 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionLL1(); break; case 400 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name Dims PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionWithNameArray(); break; case 401 : if (DEBUG) { System.out.println("OnlyTypeArgumentsForCastExpression ::= OnlyTypeArguments"); } //$NON-NLS-1$ consumeOnlyTypeArgumentsForCastExpression(); break; case 402 : if (DEBUG) { System.out.println("InsideCastExpression ::="); } //$NON-NLS-1$ consumeInsideCastExpression(); break; case 403 : if (DEBUG) { System.out.println("InsideCastExpressionLL1 ::="); } //$NON-NLS-1$ consumeInsideCastExpressionLL1(); break; case 404 : if (DEBUG) { System.out.println("InsideCastExpressionWithQualifiedGenerics ::="); } //$NON-NLS-1$ consumeInsideCastExpressionWithQualifiedGenerics(); break; case 406 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 407 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 408 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 410 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression PLUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 411 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression MINUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 413 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 414 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 415 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 417 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 418 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression GREATER..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 419 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 420 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 422 : if (DEBUG) { System.out.println("InstanceofExpression ::= InstanceofExpression instanceof"); } //$NON-NLS-1$ consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break; case 424 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 425 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 427 : if (DEBUG) { System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 429 : if (DEBUG) { System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 431 : if (DEBUG) { System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 433 : if (DEBUG) { System.out.println("ConditionalAndExpression ::= ConditionalAndExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 435 : if (DEBUG) { System.out.println("ConditionalOrExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 437 : if (DEBUG) { System.out.println("ConditionalExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 440 : if (DEBUG) { System.out.println("Assignment ::= PostfixExpression AssignmentOperator..."); } //$NON-NLS-1$ consumeAssignment(); break; case 442 : if (DEBUG) { System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); } //$NON-NLS-1$ ignoreExpressionAssignment(); break; case 443 : if (DEBUG) { System.out.println("AssignmentOperator ::= EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(EQUAL); break; case 444 : if (DEBUG) { System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MULTIPLY); break; case 445 : if (DEBUG) { System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(DIVIDE); break; case 446 : if (DEBUG) { System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(REMAINDER); break; case 447 : if (DEBUG) { System.out.println("AssignmentOperator ::= PLUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(PLUS); break; case 448 : if (DEBUG) { System.out.println("AssignmentOperator ::= MINUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MINUS); break; case 449 : if (DEBUG) { System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(LEFT_SHIFT); break; case 450 : if (DEBUG) { System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(RIGHT_SHIFT); break; case 451 : if (DEBUG) { System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); break; case 452 : if (DEBUG) { System.out.println("AssignmentOperator ::= AND_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(AND); break; case 453 : if (DEBUG) { System.out.println("AssignmentOperator ::= XOR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(XOR); break; case 454 : if (DEBUG) { System.out.println("AssignmentOperator ::= OR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(OR); break; case 458 : if (DEBUG) { System.out.println("Expressionopt ::="); } //$NON-NLS-1$ consumeEmptyExpression(); break; case 463 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyClassBodyDeclarationsopt(); break; case 464 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeClassBodyDeclarationsopt(); break; case 465 : if (DEBUG) { System.out.println("Modifiersopt ::="); } //$NON-NLS-1$ consumeDefaultModifiers(); break; case 466 : if (DEBUG) { System.out.println("Modifiersopt ::= Modifiers"); } //$NON-NLS-1$ consumeModifiers(); break; case 467 : if (DEBUG) { System.out.println("BlockStatementsopt ::="); } //$NON-NLS-1$ consumeEmptyBlockStatementsopt(); break; case 469 : if (DEBUG) { System.out.println("Dimsopt ::="); } //$NON-NLS-1$ consumeEmptyDimsopt(); break; case 471 : if (DEBUG) { System.out.println("ArgumentListopt ::="); } //$NON-NLS-1$ consumeEmptyArgumentListopt(); break; case 475 : if (DEBUG) { System.out.println("FormalParameterListopt ::="); } //$NON-NLS-1$ consumeFormalParameterListopt(); break; case 479 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclarationsopt(); break; case 480 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarationsopt(); break; case 481 : if (DEBUG) { System.out.println("NestedType ::="); } //$NON-NLS-1$ consumeNestedType(); break; case 482 : if (DEBUG) { System.out.println("ForInitopt ::="); } //$NON-NLS-1$ consumeEmptyForInitopt(); break; case 484 : if (DEBUG) { System.out.println("ForUpdateopt ::="); } //$NON-NLS-1$ consumeEmptyForUpdateopt(); break; case 488 : if (DEBUG) { System.out.println("Catchesopt ::="); } //$NON-NLS-1$ consumeEmptyCatchesopt(); break; case 490 : if (DEBUG) { System.out.println("EnumDeclaration ::= EnumHeader EnumBody"); } //$NON-NLS-1$ consumeEnumDeclaration(); break; case 491 : if (DEBUG) { System.out.println("EnumHeader ::= EnumHeaderName ClassHeaderImplementsopt"); } //$NON-NLS-1$ consumeEnumHeader(); break; case 492 : if (DEBUG) { System.out.println("EnumHeaderName ::= Modifiersopt enum Identifier"); } //$NON-NLS-1$ consumeEnumHeaderName(); break; case 493 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumBodyDeclarationsopt RBRACE"); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 494 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE COMMA EnumBodyDeclarationsopt..."); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 495 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants COMMA..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 496 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 498 : if (DEBUG) { System.out.println("EnumConstants ::= EnumConstants COMMA EnumConstant"); } //$NON-NLS-1$ consumeEnumConstants(); break; case 499 : if (DEBUG) { System.out.println("EnumConstantHeaderName ::= Modifiersopt Identifier"); } //$NON-NLS-1$ consumeEnumConstantHeaderName(); break; case 500 : if (DEBUG) { System.out.println("EnumConstantHeader ::= EnumConstantHeaderName..."); } //$NON-NLS-1$ consumeEnumConstantHeader(); break; case 501 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader ForceNoDiet..."); } //$NON-NLS-1$ consumeEnumConstantWithClassBody(); break; case 502 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader"); } //$NON-NLS-1$ consumeEnumConstantNoClassBody(); break; case 503 : if (DEBUG) { System.out.println("Arguments ::= LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeArguments(); break; case 504 : if (DEBUG) { System.out.println("Argumentsopt ::="); } //$NON-NLS-1$ consumeEmptyArguments(); break; case 506 : if (DEBUG) { System.out.println("EnumDeclarations ::= SEMICOLON ClassBodyDeclarationsopt"); } //$NON-NLS-1$ consumeEnumDeclarations(); break; case 507 : if (DEBUG) { System.out.println("EnumBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyEnumDeclarations(); break; case 509 : if (DEBUG) { System.out.println("EnhancedForStatement ::= EnhancedForStatementHeader..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 510 : if (DEBUG) { System.out.println("EnhancedForStatementNoShortIf ::=..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 511 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Type..."); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(false); break; case 512 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Modifiers Type"); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(true); break; case 513 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 514 : if (DEBUG) { System.out.println("SingleStaticImportDeclarationName ::= import static Name"); } //$NON-NLS-1$ consumeSingleStaticImportDeclarationName(); break; case 515 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 516 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclarationName ::= import static..."); } //$NON-NLS-1$ consumeStaticImportOnDemandDeclarationName(); break; case 517 : if (DEBUG) { System.out.println("TypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeTypeArguments(); break; case 518 : if (DEBUG) { System.out.println("OnlyTypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeOnlyTypeArguments(); break; case 520 : if (DEBUG) { System.out.println("TypeArgumentList1 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList1(); break; case 522 : if (DEBUG) { System.out.println("TypeArgumentList ::= TypeArgumentList COMMA TypeArgument"); } //$NON-NLS-1$ consumeTypeArgumentList(); break; case 523 : if (DEBUG) { System.out.println("TypeArgument ::= ReferenceType"); } //$NON-NLS-1$ consumeTypeArgument(); break; case 527 : if (DEBUG) { System.out.println("ReferenceType1 ::= ReferenceType GREATER"); } //$NON-NLS-1$ consumeReferenceType1(); break; case 528 : if (DEBUG) { System.out.println("ReferenceType1 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType1(); break; case 530 : if (DEBUG) { System.out.println("TypeArgumentList2 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList2(); break; case 533 : if (DEBUG) { System.out.println("ReferenceType2 ::= ReferenceType RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType2(); break; case 534 : if (DEBUG) { System.out.println("ReferenceType2 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType2(); break; case 536 : if (DEBUG) { System.out.println("TypeArgumentList3 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList3(); break; case 539 : if (DEBUG) { System.out.println("ReferenceType3 ::= ReferenceType UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType3(); break; case 540 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION"); } //$NON-NLS-1$ consumeWildcard(); break; case 541 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION WildcardBounds"); } //$NON-NLS-1$ consumeWildcardWithBounds(); break; case 542 : if (DEBUG) { System.out.println("WildcardBounds ::= extends ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsExtends(); break; case 543 : if (DEBUG) { System.out.println("WildcardBounds ::= super ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsSuper(); break; case 544 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION GREATER"); } //$NON-NLS-1$ consumeWildcard1(); break; case 545 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION WildcardBounds1"); } //$NON-NLS-1$ consumeWildcard1WithBounds(); break; case 546 : if (DEBUG) { System.out.println("WildcardBounds1 ::= extends ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Extends(); break; case 547 : if (DEBUG) { System.out.println("WildcardBounds1 ::= super ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Super(); break; case 548 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard2(); break; case 549 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); } //$NON-NLS-1$ consumeWildcard2WithBounds(); break; case 550 : if (DEBUG) { System.out.println("WildcardBounds2 ::= extends ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Extends(); break; case 551 : if (DEBUG) { System.out.println("WildcardBounds2 ::= super ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Super(); break; case 552 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard3(); break; case 553 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION WildcardBounds3"); } //$NON-NLS-1$ consumeWildcard3WithBounds(); break; case 554 : if (DEBUG) { System.out.println("WildcardBounds3 ::= extends ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Extends(); break; case 555 : if (DEBUG) { System.out.println("WildcardBounds3 ::= super ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Super(); break; case 556 : if (DEBUG) { System.out.println("TypeParameterHeader ::= Identifier"); } //$NON-NLS-1$ consumeTypeParameterHeader(); break; case 557 : if (DEBUG) { System.out.println("TypeParameters ::= LESS TypeParameterList1"); } //$NON-NLS-1$ consumeTypeParameters(); break; case 559 : if (DEBUG) { System.out.println("TypeParameterList ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList(); break; case 561 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtends(); break; case 562 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtendsAndBounds(); break; case 564 : if (DEBUG) { System.out.println("AdditionalBoundList ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList(); break; case 565 : if (DEBUG) { System.out.println("AdditionalBound ::= AND ReferenceType"); } //$NON-NLS-1$ consumeAdditionalBound(); break; case 567 : if (DEBUG) { System.out.println("TypeParameterList1 ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList1(); break; case 568 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader GREATER"); } //$NON-NLS-1$ consumeTypeParameter1(); break; case 569 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtends(); break; case 570 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtendsAndBounds(); break; case 572 : if (DEBUG) { System.out.println("AdditionalBoundList1 ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList1(); break; case 573 : if (DEBUG) { System.out.println("AdditionalBound1 ::= AND ReferenceType1"); } //$NON-NLS-1$ consumeAdditionalBound1(); break; case 579 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 580 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 583 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= TWIDDLE..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 584 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= NOT PushPosition"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 587 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 588 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name MULTIPLY..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); break; case 589 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 590 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name DIVIDE..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.DIVIDE); break; case 591 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 592 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name REMAINDER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.REMAINDER); break; case 594 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 595 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name PLUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.PLUS); break; case 596 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 597 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name MINUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MINUS); break; case 599 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 600 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); break; case 601 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 602 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); break; case 603 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 604 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name UNSIGNED_RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 606 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 607 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS); break; case 608 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 609 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER); break; case 610 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 611 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); break; case 612 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 613 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); break; case 615 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::= Name instanceof..."); } //$NON-NLS-1$ consumeInstanceOfExpressionWithName(OperatorIds.INSTANCEOF); break; case 616 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::=..."); } //$NON-NLS-1$ consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break; case 618 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 619 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); break; case 620 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 621 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); break; case 623 : if (DEBUG) { System.out.println("AndExpression_NotName ::= AndExpression_NotName AND..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 624 : if (DEBUG) { System.out.println("AndExpression_NotName ::= Name AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND); break; case 626 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 627 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::= Name XOR AndExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.XOR); break; case 629 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 630 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::= Name OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR); break; case 632 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 633 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::= Name AND_AND..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND_AND); break; case 635 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 636 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::= Name OR_OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR_OR); break; case 638 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 639 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::= Name QUESTION..."); } //$NON-NLS-1$ consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; break; case 643 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::= Modifiers AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 644 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::= AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 645 : if (DEBUG) { System.out.println("AnnotationTypeDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclaration() ; break; case 647 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyAnnotationTypeMemberDeclarationsopt() ; break; case 650 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarations() ; break; case 651 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationHeader ::= Modifiersopt"); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarationHeader() ; break; case 652 : if (DEBUG) { System.out.println("AnnotationTypeMemberHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeAnnotationTypeMemberHeaderExtendedDims() ; break; case 653 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclaration() ; break; case 656 : if (DEBUG) { System.out.println("DefaultValueopt ::="); } //$NON-NLS-1$ consumeEmptyDefaultValue() ; break; case 662 : if (DEBUG) { System.out.println("NormalAnnotation ::= AT Name LPAREN MemberValuePairsopt"); } //$NON-NLS-1$ consumeNormalAnnotation() ; break; case 663 : if (DEBUG) { System.out.println("MemberValuePairsopt ::="); } //$NON-NLS-1$ consumeEmptyMemberValuePairsopt() ; break; case 666 : if (DEBUG) { System.out.println("MemberValuePairs ::= MemberValuePairs COMMA..."); } //$NON-NLS-1$ consumeMemberValuePairs() ; break; case 667 : if (DEBUG) { System.out.println("MemberValuePair ::= SimpleName EQUAL MemberValue"); } //$NON-NLS-1$ consumeMemberValuePair() ; break; case 669 : if (DEBUG) { System.out.println("MemberValue ::= Name"); } //$NON-NLS-1$ consumeMemberValueAsName() ; break; case 672 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 673 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 674 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 675 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 677 : if (DEBUG) { System.out.println("MemberValues ::= MemberValues COMMA MemberValue"); } //$NON-NLS-1$ consumeMemberValues() ; break; case 678 : if (DEBUG) { System.out.println("MarkerAnnotation ::= AT Name"); } //$NON-NLS-1$ consumeMarkerAnnotation() ; break; case 679 : if (DEBUG) { System.out.println("SingleMemberAnnotation ::= AT Name LPAREN MemberValue..."); } //$NON-NLS-1$ consumeSingleMemberAnnotation() ; break; }}
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/836fef68856b7e7f6b208deb388901eeda69de4b/Parser.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
7865,
2175,
12,
474,
1328,
13,
288,
225,
1620,
261,
1328,
262,
288,
565,
648,
12732,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
559,
493,
33,
14488,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
9840,
559,
5621,
26924,
202,
8820,
31,
377,
648,
20170,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
2404,
559,
493,
33,
1659,
1162,
1358,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
2404,
559,
5621,
565,
1082,
202,
8820,
31,
377,
648,
12292,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
1770,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
797,
1162,
24730,
5621,
565,
1082,
202,
8820,
31,
377,
648,
17077,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
7928,
559,
15772,
1770,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
797,
1162,
1358,
5621,
565,
1082,
202,
8820,
31,
377,
648,
17495,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
30982,
493,
33,
1659,
1162,
1358,
1412,
4628,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
30982,
5621,
565,
1082,
202,
8820,
31,
377,
648,
9934,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
27182,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
7865,
2175,
12,
474,
1328,
13,
288,
225,
1620,
261,
1328,
262,
288,
565,
648,
12732,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
559,
493,
33,
14488,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
9840,
559,
5621,
26924,
202,
8820,
31,
377,
648,
20170,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
2404,
559,
493,
33,
1659,
1162,
1358,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
2404,
559,
5621,
565,
1082,
202,
8820,
31,
377,
648,
12292,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
2
] |
return reportError("-cssUser", "myStylesheet.css", c.getUserStylesheet());
|
return reportError("-lang", "fr", c.getLanguage());
|
public TestReport validate(SVGConverter c){ if("myStylesheet.css".equals(c.getUserStylesheet())){ return reportSuccess(); } else { return reportError("-cssUser", "myStylesheet.css", c.getUserStylesheet()); } }
|
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/f44163b2f232bc13b6c186e8f1458afbc0ad2d83/MainTest.java/buggy/test-sources/org/apache/batik/apps/rasterizer/MainTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
7766,
4820,
1954,
12,
26531,
5072,
276,
15329,
10792,
309,
2932,
4811,
24656,
18,
5212,
9654,
14963,
12,
71,
18,
588,
1299,
24656,
1435,
3719,
95,
13491,
327,
2605,
4510,
5621,
10792,
289,
469,
288,
13491,
327,
17887,
2932,
17,
4936,
3113,
315,
4840,
3113,
276,
18,
588,
3779,
10663,
10792,
289,
7734,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
7766,
4820,
1954,
12,
26531,
5072,
276,
15329,
10792,
309,
2932,
4811,
24656,
18,
5212,
9654,
14963,
12,
71,
18,
588,
1299,
24656,
1435,
3719,
95,
13491,
327,
2605,
4510,
5621,
10792,
289,
469,
288,
13491,
327,
17887,
2932,
17,
4936,
3113,
315,
4840,
3113,
276,
18,
588,
3779,
10663,
10792,
289,
7734,
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
] |
final File homeDir = getHomeDir();
|
checkHomeDir();
|
private void execute( final String[] args ) throws Exception { setupDefaultParameters(); if( !parseCommandLineOptions( args ) ) { return; } prepareLogging(); final File homeDir = getHomeDir(); final File buildFile = getBuildFile(); //getLogger().debug( "Ant Bin Directory: " + m_binDir ); //getLogger().debug( "Ant Lib Directory: " + m_libDir ); //getLogger().debug( "Ant Task Lib Directory: " + m_taskLibDir ); if( m_dryRun ) { m_parameters.setParameter( Executor.ROLE, "org.apache.myrmidon.components.executor.PrintingExecutor" ); } final Embeddor embeddor = prepareEmbeddor(); final ProjectListener listener = prepareListener( embeddor ); //create the project final Project project = embeddor.createProject( buildFile.toString(), null, m_builderParameters ); //loop over build if we are in incremental mode.. final boolean incremental = m_parameters.getParameterAsBoolean( "incremental", false ); if( !incremental ) { executeBuild( embeddor, project, listener ); } else { executeIncrementalBuild( embeddor, project, listener ); } shutdownEmbeddor( embeddor ); }
|
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/5b87919be6a8db15efe30f2de6e617aba31ef619/CLIMain.java/buggy/proposal/myrmidon/src/java/org/apache/myrmidon/frontends/CLIMain.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1836,
12,
727,
514,
8526,
833,
262,
3639,
1216,
1185,
565,
288,
3639,
3875,
1868,
2402,
5621,
3639,
309,
12,
401,
2670,
21391,
1320,
12,
833,
262,
262,
3639,
288,
5411,
327,
31,
3639,
289,
3639,
2911,
7735,
5621,
3639,
866,
8684,
1621,
5621,
3639,
727,
1387,
1361,
812,
273,
21122,
812,
5621,
3639,
368,
588,
3328,
7675,
4148,
12,
315,
14925,
16827,
8930,
30,
315,
397,
312,
67,
4757,
1621,
11272,
3639,
368,
588,
3328,
7675,
4148,
12,
315,
14925,
10560,
8930,
30,
315,
397,
312,
67,
2941,
1621,
11272,
3639,
368,
588,
3328,
7675,
4148,
12,
315,
14925,
3837,
10560,
8930,
30,
315,
397,
312,
67,
4146,
5664,
1621,
11272,
3639,
309,
12,
312,
67,
72,
15721,
262,
3639,
288,
5411,
312,
67,
3977,
18,
542,
1662,
12,
13146,
18,
16256,
16,
4766,
4202,
315,
3341,
18,
19211,
18,
4811,
8864,
350,
265,
18,
8119,
18,
21097,
18,
5108,
310,
6325,
6,
11272,
3639,
289,
3639,
727,
14564,
72,
280,
4724,
72,
280,
273,
2911,
9538,
72,
280,
5621,
3639,
727,
5420,
2223,
2991,
273,
2911,
2223,
12,
4724,
72,
280,
11272,
3639,
368,
2640,
326,
1984,
3639,
727,
5420,
1984,
273,
5411,
4724,
72,
280,
18,
2640,
4109,
12,
1361,
812,
18,
10492,
9334,
446,
16,
312,
67,
9574,
2402,
11272,
3639,
368,
6498,
1879,
1361,
309,
732,
854,
316,
20649,
1965,
838,
3639,
727,
1250,
20649,
273,
312,
67,
3977,
18,
588,
1662,
1463,
5507,
12,
315,
15016,
287,
3113,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1836,
12,
727,
514,
8526,
833,
262,
3639,
1216,
1185,
565,
288,
3639,
3875,
1868,
2402,
5621,
3639,
309,
12,
401,
2670,
21391,
1320,
12,
833,
262,
262,
3639,
288,
5411,
327,
31,
3639,
289,
3639,
2911,
7735,
5621,
3639,
866,
8684,
1621,
5621,
3639,
727,
1387,
1361,
812,
273,
21122,
812,
5621,
3639,
368,
588,
3328,
7675,
4148,
12,
315,
14925,
16827,
8930,
30,
315,
397,
312,
67,
4757,
1621,
11272,
3639,
368,
588,
3328,
7675,
4148,
12,
315,
14925,
10560,
8930,
30,
315,
397,
312,
67,
2941,
1621,
11272,
3639,
368,
588,
3328,
7675,
4148,
12,
315,
14925,
3837,
10560,
8930,
30,
315,
397,
312,
67,
4146,
5664,
1621,
11272,
3639,
309,
12,
312,
2
] |
public void initIO() { this.streamInput = input; this.streamOutput = output; }
|
public void initIO() { streamInput = input; streamOutput = output; }
|
public void init(final int N, final int W) { this.add(new SplitJoin() { public void init() { this.setSplitter(WEIGHTED_ROUND_ROBIN(N, N)); this.add(new Filter() { Channel input = new Channel(Float.TYPE, 1); Channel output = new Channel(Float.TYPE, 1); float weights[] = new float[W]; int curr; public void init() { for (int i=0; i<W; i++) weights[i] = calcWeight(i, N, W); curr = 0; } public void initIO() { this.streamInput = input; this.streamOutput = output; } private float calcWeight(int a, int b, int c) { return 1; } public void work() { output.pushFloat(input.popFloat()* weights[curr++]); if(curr>= W) curr = 0; } }); this.add(new Identity()); this.setJoiner(ROUND_ROBIN()); }}); this.add(new SplitJoin() { public void init() { this.setSplitter(DUPLICATE()); this.add(new Filter() { Channel input = new Channel(Float.TYPE, 2); Channel output = new Channel(Float.TYPE, 1); public void work() { output.pushFloat(input.popFloat() - input.popFloat()); } }); this.add(new Filter() { Channel input = new Channel(Float.TYPE, 2); Channel output = new Channel(Float.TYPE, 1); public void work() { output.pushFloat(input.popFloat() + input.popFloat()); } }); setJoiner(WEIGHTED_ROUND_ROBIN(N, N)); }}); }}
|
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/df8ae86da26aa24b8307170214d499fae7747e7c/FFT.java/clean/streams/apps/benchmarks/fft/streamit/FFT.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
12,
6385,
509,
423,
16,
727,
509,
678,
13,
288,
202,
2211,
18,
1289,
12,
2704,
5385,
4572,
1435,
288,
202,
202,
482,
918,
1208,
1435,
288,
1082,
565,
333,
18,
542,
26738,
12,
6950,
16055,
6404,
67,
15092,
67,
1457,
12615,
12,
50,
16,
423,
10019,
1082,
565,
333,
18,
1289,
12,
2704,
4008,
1435,
288,
9506,
565,
5307,
810,
273,
394,
5307,
12,
4723,
18,
2399,
16,
404,
1769,
9506,
565,
5307,
876,
273,
394,
5307,
12,
4723,
18,
2399,
16,
404,
1769,
9506,
565,
1431,
5376,
8526,
273,
394,
1431,
63,
59,
15533,
9506,
565,
509,
4306,
31,
9506,
565,
1071,
918,
1208,
1435,
288,
9506,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
59,
31,
277,
27245,
6862,
565,
5376,
63,
77,
65,
273,
7029,
6544,
12,
77,
16,
423,
16,
678,
1769,
9506,
202,
17016,
273,
374,
31,
9506,
565,
289,
9506,
565,
1071,
918,
1208,
4294,
1435,
288,
9506,
202,
2211,
18,
3256,
1210,
273,
810,
31,
9506,
202,
2211,
18,
3256,
1447,
273,
876,
31,
9506,
565,
289,
9506,
565,
3238,
1431,
7029,
6544,
12,
474,
279,
16,
509,
324,
16,
509,
276,
13,
288,
9506,
202,
2463,
404,
31,
9506,
565,
289,
9506,
565,
1071,
918,
1440,
1435,
288,
9506,
202,
2844,
18,
6206,
4723,
12,
2630,
18,
5120,
4723,
1435,
14,
6862,
1082,
5376,
63,
17016,
9904,
19226,
9506,
202,
430,
12,
17016,
34,
33,
678,
13,
4306,
273,
374,
31,
9506,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
12,
6385,
509,
423,
16,
727,
509,
678,
13,
288,
202,
2211,
18,
1289,
12,
2704,
5385,
4572,
1435,
288,
202,
202,
482,
918,
1208,
1435,
288,
1082,
565,
333,
18,
542,
26738,
12,
6950,
16055,
6404,
67,
15092,
67,
1457,
12615,
12,
50,
16,
423,
10019,
1082,
565,
333,
18,
1289,
12,
2704,
4008,
1435,
288,
9506,
565,
5307,
810,
273,
394,
5307,
12,
4723,
18,
2399,
16,
404,
1769,
9506,
565,
5307,
876,
273,
394,
5307,
12,
4723,
18,
2399,
16,
404,
1769,
9506,
565,
1431,
5376,
8526,
273,
394,
1431,
63,
59,
15533,
9506,
565,
509,
4306,
31,
9506,
565,
1071,
918,
1208,
1435,
288,
9506,
202,
1884,
261,
474,
277,
33,
2
] |
"Type safety: The cast from Class<capture#2-of ? extends X.ObjectFormUI> to Class<? extends X.ObjectFormUI<T>> is actually checking against the erased type Class\n" +
|
"Type safety: Unchecked cast from Class<capture#2-of ? extends X.ObjectFormUI> to Class<? extends X.ObjectFormUI<T>>\n" +
|
public void test0875() { this.runNegativeTest( new String[] { "X.java", // ================= "import java.util.*;\n" + "public class X {\n" + "\n" + " public static class DatabaseObject {}\n" + " public static class ObjectFormUI<T extends DatabaseObject> {}\n" + " private static final Map<Class<? extends DatabaseObject>, Class<? extends ObjectFormUI>> uiMap = new HashMap<Class<? extends DatabaseObject>, Class<? extends ObjectFormUI>>();\n" + "\n" + " public static <T extends DatabaseObject> Class<? extends ObjectFormUI<T>> getUI(\n" + " Class<T> persistentClass) {\n" + " return null != null \n" + " ? uiMap.get(persistentClass)\n" + " : (Class<? extends ObjectFormUI<T>>) uiMap.get(persistentClass);\n" + " }\n" + "}\n", }, "----------\n" + "1. WARNING in X.java (at line 6)\n" + " private static final Map<Class<? extends DatabaseObject>, Class<? extends ObjectFormUI>> uiMap = new HashMap<Class<? extends DatabaseObject>, Class<? extends ObjectFormUI>>();\n" + " ^^^^^^^^^^^^\n" + "X.ObjectFormUI is a raw type. References to generic type X.ObjectFormUI<T> should be parameterized\n" + "----------\n" + "2. WARNING in X.java (at line 6)\n" + " private static final Map<Class<? extends DatabaseObject>, Class<? extends ObjectFormUI>> uiMap = new HashMap<Class<? extends DatabaseObject>, Class<? extends ObjectFormUI>>();\n" + " ^^^^^^^^^^^^\n" + "X.ObjectFormUI is a raw type. References to generic type X.ObjectFormUI<T> should be parameterized\n" + "----------\n" + "3. ERROR in X.java (at line 10)\n" + " return null != null \n" + " ? uiMap.get(persistentClass)\n" + " : (Class<? extends ObjectFormUI<T>>) uiMap.get(persistentClass);\n" + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n" + "Type mismatch: cannot convert from Class<capture#4-of ? extends X.ObjectFormUI> to Class<? extends X.ObjectFormUI<T>>\n" + "----------\n" + "4. WARNING in X.java (at line 12)\n" + " : (Class<? extends ObjectFormUI<T>>) uiMap.get(persistentClass);\n" + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n" + "Type safety: The cast from Class<capture#2-of ? extends X.ObjectFormUI> to Class<? extends X.ObjectFormUI<T>> is actually checking against the erased type Class\n" + "----------\n");}
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/89847a0c1a06590b3bbeee9528d77f57e2f8453c/GenericTypeTest.java/buggy/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1842,
6840,
5877,
1435,
288,
202,
2211,
18,
2681,
14959,
4709,
12,
202,
202,
2704,
514,
8526,
288,
1082,
202,
6,
60,
18,
6290,
3113,
368,
422,
14468,
12275,
1082,
202,
6,
5666,
2252,
18,
1367,
4509,
9747,
82,
6,
397,
1875,
202,
6,
482,
667,
1139,
18890,
82,
6,
397,
1875,
202,
12691,
82,
6,
397,
1875,
202,
6,
202,
482,
760,
667,
5130,
921,
21164,
82,
6,
397,
1875,
202,
6,
202,
482,
760,
667,
1033,
1204,
5370,
32,
56,
3231,
5130,
921,
34,
21164,
82,
6,
397,
1875,
202,
6,
202,
1152,
760,
727,
1635,
32,
797,
12880,
3231,
5130,
921,
20401,
1659,
12880,
3231,
1033,
1204,
5370,
9778,
5915,
863,
273,
394,
4317,
32,
797,
12880,
3231,
5130,
921,
20401,
1659,
12880,
3231,
1033,
1204,
5370,
9778,
5621,
64,
82,
6,
397,
1875,
202,
12691,
82,
6,
397,
1875,
202,
6,
202,
482,
760,
411,
56,
3231,
5130,
921,
34,
1659,
12880,
3231,
1033,
1204,
5370,
32,
56,
9778,
336,
5370,
4713,
82,
6,
397,
1875,
202,
6,
1082,
202,
797,
32,
56,
34,
9195,
797,
13,
18890,
82,
6,
397,
1875,
202,
6,
202,
202,
2463,
446,
480,
446,
521,
82,
6,
397,
1875,
202,
6,
1082,
202,
35,
5915,
863,
18,
588,
12,
19393,
797,
5153,
82,
6,
397,
1875,
202,
6,
1082,
202,
30,
261,
797,
12880,
3231,
1033,
1204,
5370,
32,
56,
9778,
13,
5915,
863,
18,
588,
12,
19393,
797,
20472,
82,
6,
397,
1875,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1842,
6840,
5877,
1435,
288,
202,
2211,
18,
2681,
14959,
4709,
12,
202,
202,
2704,
514,
8526,
288,
1082,
202,
6,
60,
18,
6290,
3113,
368,
422,
14468,
12275,
1082,
202,
6,
5666,
2252,
18,
1367,
4509,
9747,
82,
6,
397,
1875,
202,
6,
482,
667,
1139,
18890,
82,
6,
397,
1875,
202,
12691,
82,
6,
397,
1875,
202,
6,
202,
482,
760,
667,
5130,
921,
21164,
82,
6,
397,
1875,
202,
6,
202,
482,
760,
667,
1033,
1204,
5370,
32,
56,
3231,
5130,
921,
34,
21164,
82,
6,
397,
1875,
202,
6,
202,
1152,
760,
727,
1635,
32,
797,
12880,
3231,
5130,
921,
20401,
1659,
12880,
3231,
1033,
1204,
5370,
9778,
5915,
863,
273,
394,
4317,
2
] |
device.write("-".getBytes());
|
device.print("-");
|
private void writeTreeNode(STree component, Device device, int row, int depth) throws IOException { boolean childSelectorWorkaround = !component.getSession().getUserAgent().supportsCssChildSelector(); final TreePath path = component.getPathForRow(row); final int nodeIndentDepth = component.getNodeIndentDepth(); final Object node = path.getLastPathComponent(); final STreeCellRenderer cellRenderer = component.getCellRenderer(); final boolean isLeaf = component.getModel().isLeaf(node); final boolean isExpanded = component.isExpanded(path); final boolean isSelected = component.isPathSelected(path); final boolean isSelectable = (component.getSelectionModel() != SDefaultTreeSelectionModel.NO_SELECTION_MODEL); SComponent cellComp = cellRenderer.getTreeCellRendererComponent(component, node, isSelected, isExpanded, isLeaf, row, false); device.write("<tr height=\"1\">".getBytes()); /* * fill the indented area. */ for (int i = ((component.isRootVisible()) ? 0 : 1); i < path.getPathCount() - 1; ++i) { device.write("<td indent=\"true\"".getBytes()); org.wings.plaf.Utils.optAttribute(device, "width", nodeIndentDepth); if (hashMark != null && !isLastChild(component.getModel(), path, i)) { device.write(" style=\"background-image:url(".getBytes()); org.wings.plaf.Utils.write(device, hashMark.getURL()); device.write(")\"".getBytes()); } if (childSelectorWorkaround) Utils.childSelectorWorkaround(device, "indent"); device.write(">".getBytes()); if (emptyFillIcon != null) { writeIcon(device, emptyFillIcon, nodeIndentDepth, 1); } else { for (int n = nodeIndentDepth; n > 0; --n) { device.write(" ".getBytes()); } } device.write("</td>".getBytes()); } /* * now, write the component. */ device.write("<td".getBytes()); org.wings.plaf.Utils.optAttribute(device, "colspan", depth - (path.getPathCount() - 1)); if (isSelected) { device.print(" selected=\"true\""); if (childSelectorWorkaround) Utils.childSelectorWorkaround(device, "selected"); } device.write(">".getBytes()); /* * in most applications, the is no need to render a control icon for a * leaf. So in that case, we can avoid writing the sourrounding * table, that will speed up things in browsers. */ final boolean renderControlIcon = !(isLeaf && leafControlIcon == null); if (renderControlIcon) { device.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td>".getBytes()); if (isLeaf) { writeIcon(device, leafControlIcon, false); } else { if (component.getShowAsFormComponent()) { device.print("<button type=\"submit\" name=\""); org.wings.plaf.Utils.write(device, Utils.event(component)); device.print("\" value=\""); org.wings.plaf.Utils.write(device, component.getExpansionParameter(row, false)); device.print("\""); } else { RequestURL selectionAddr = component.getRequestURL(); selectionAddr.addParameter(org.wings.plaf.css.Utils.event(component), component.getExpansionParameter(row, false)); device.write("<a href=\"".getBytes()); org.wings.plaf.Utils.write(device, selectionAddr.toString()); device.write("\"".getBytes()); } device.print("\">"); if (isExpanded) { if (collapseControlIcon == null) { device.write("-".getBytes()); } else { writeIcon(device, collapseControlIcon, true); } } else { if (expandControlIcon == null) { device.write("+".getBytes()); } else { writeIcon(device, expandControlIcon, true); } } if (component.getShowAsFormComponent()) device.print("</button>"); else device.print("</a>"); } device.write("</td><td>".getBytes()); } SCellRendererPane rendererPane = component.getCellRendererPane(); if (isSelectable) { if (component.getShowAsFormComponent()) { device.print("<button type=\"submit\" name=\""); org.wings.plaf.Utils.write(device, Utils.event(component)); device.print("\" value=\""); org.wings.plaf.Utils.write(device, component.getSelectionParameter(row, false)); device.print("\""); } else { RequestURL selectionAddr = component.getRequestURL(); selectionAddr.addParameter(org.wings.plaf.css.Utils.event(component), component.getSelectionParameter(row, false)); device.write("<a href=\"".getBytes()); org.wings.plaf.Utils.write(device, selectionAddr.toString()); device.write("\"".getBytes()); } org.wings.plaf.Utils.optAttribute(device, "tabindex", component.getFocusTraversalIndex()); Utils.writeEvents(device, component); device.print(">"); rendererPane.writeComponent(device, cellComp, component); if (component.getShowAsFormComponent()) device.print("</button>"); else device.print("</a>"); } else { rendererPane.writeComponent(device, cellComp, component); } if (renderControlIcon) device.write("</td></tr></table>".getBytes()); device.write("</td><td width=\"100%\"></td></tr>\n".getBytes()); }
|
3911 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3911/49177f429a4513c3098d45a9fe8be3cd90b51ffa/TreeCG.java/clean/wings2/src/java/org/wings/plaf/css/TreeCG.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1045,
12513,
12,
882,
992,
1794,
16,
6077,
2346,
16,
509,
1027,
16,
509,
3598,
13,
5411,
1216,
1860,
288,
3639,
1250,
1151,
4320,
2421,
12716,
273,
401,
4652,
18,
588,
2157,
7675,
588,
12276,
7675,
28064,
7359,
1763,
4320,
5621,
3639,
727,
4902,
743,
589,
273,
1794,
18,
588,
743,
1290,
1999,
12,
492,
1769,
3639,
727,
509,
756,
7790,
6148,
273,
1794,
18,
588,
907,
7790,
6148,
5621,
3639,
727,
1033,
756,
273,
589,
18,
588,
3024,
743,
1841,
5621,
3639,
727,
2347,
992,
4020,
6747,
2484,
6747,
273,
1794,
18,
588,
4020,
6747,
5621,
3639,
727,
1250,
31356,
273,
1794,
18,
588,
1488,
7675,
291,
9858,
12,
2159,
1769,
3639,
727,
1250,
353,
17957,
273,
1794,
18,
291,
17957,
12,
803,
1769,
3639,
727,
1250,
20956,
273,
1794,
18,
291,
743,
7416,
12,
803,
1769,
3639,
727,
1250,
353,
31544,
273,
261,
4652,
18,
588,
6233,
1488,
1435,
480,
348,
1868,
2471,
6233,
1488,
18,
3417,
67,
1090,
15445,
67,
17391,
1769,
3639,
348,
1841,
2484,
2945,
273,
2484,
6747,
18,
588,
2471,
4020,
6747,
1841,
12,
4652,
16,
756,
16,
7734,
20956,
16,
7734,
353,
17957,
16,
7734,
31356,
16,
1027,
16,
7734,
629,
1769,
3639,
2346,
18,
2626,
2932,
32,
313,
2072,
5189,
21,
21121,
18,
588,
2160,
10663,
3639,
1748,
3639,
380,
3636,
326,
23786,
5091,
18,
3639,
1195,
3639,
364,
261,
474,
277,
273,
14015,
4652,
18,
291,
2375,
6207,
10756,
692,
374,
294,
404,
1769,
277,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1045,
12513,
12,
882,
992,
1794,
16,
6077,
2346,
16,
509,
1027,
16,
509,
3598,
13,
5411,
1216,
1860,
288,
3639,
1250,
1151,
4320,
2421,
12716,
273,
401,
4652,
18,
588,
2157,
7675,
588,
12276,
7675,
28064,
7359,
1763,
4320,
5621,
3639,
727,
4902,
743,
589,
273,
1794,
18,
588,
743,
1290,
1999,
12,
492,
1769,
3639,
727,
509,
756,
7790,
6148,
273,
1794,
18,
588,
907,
7790,
6148,
5621,
3639,
727,
1033,
756,
273,
589,
18,
588,
3024,
743,
1841,
5621,
3639,
727,
2347,
992,
4020,
6747,
2484,
6747,
273,
1794,
18,
588,
4020,
6747,
5621,
3639,
727,
1250,
31356,
273,
1794,
18,
588,
1488,
7675,
291,
9858,
12,
2159,
1769,
3639,
727,
1250,
353,
2
] |
return value ? "true" : "false";
|
return b ? "true" : "false";
|
public String toString() { return value ? "true" : "false"; }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/96bb13b20acb9b1b945579443d6dc3abdf207214/Boolean.java/buggy/core/src/classpath/5.0/java/lang/Boolean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
1762,
1435,
225,
288,
565,
327,
324,
692,
315,
3767,
6,
294,
315,
5743,
14432,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
1762,
1435,
225,
288,
565,
327,
324,
692,
315,
3767,
6,
294,
315,
5743,
14432,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
switch (area.getAlign()) {
|
switch (area.getAlign()) {
|
public void renderForeignObjectArea(ForeignObjectArea area) { // if necessary need to scale and align the content this.currentXPosition = this.currentXPosition + area.getXOffset(); this.currentYPosition = this.currentYPosition; switch (area.getAlign()) { case TextAlign.START: break; case TextAlign.END: break; case TextAlign.CENTER: case TextAlign.JUSTIFY: break; } switch (area.getVerticalAlign()) { case VerticalAlign.BASELINE: break; case VerticalAlign.MIDDLE: break; case VerticalAlign.SUB: break; case VerticalAlign.SUPER: break; case VerticalAlign.TEXT_TOP: break; case VerticalAlign.TEXT_BOTTOM: break; case VerticalAlign.TOP: break; case VerticalAlign.BOTTOM: break; } // in general the content will not be text // align and scale switch (area.scalingMethod()) { case Scaling.UNIFORM: break; case Scaling.NON_UNIFORM: break; } // if the overflow is auto (default), scroll or visible // then the contents should not be clipped, since this // is considered a printing medium. switch (area.getOverflow()) { case Overflow.VISIBLE: case Overflow.SCROLL: case Overflow.AUTO: break; case Overflow.HIDDEN: break; } area.getObject().render(this); this.currentXPosition += area.getEffectiveWidth(); // this.currentYPosition -= area.getEffectiveHeight(); }
|
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/cd264ba6a67a155375a4ba85cdb6dc35503ef593/PCLRenderer.java/buggy/src/org/apache/fop/render/pcl/PCLRenderer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1743,
7816,
921,
5484,
12,
7816,
921,
5484,
5091,
13,
565,
288,
3639,
368,
309,
4573,
1608,
358,
3159,
471,
5689,
326,
913,
3639,
333,
18,
2972,
60,
2555,
273,
333,
18,
2972,
60,
2555,
397,
5091,
18,
588,
60,
2335,
5621,
3639,
333,
18,
2972,
61,
2555,
273,
333,
18,
2972,
61,
2555,
31,
3639,
1620,
261,
5036,
18,
588,
10044,
10756,
3639,
288,
5411,
648,
3867,
10044,
18,
7570,
30,
7734,
898,
31,
5411,
648,
3867,
10044,
18,
4415,
30,
7734,
898,
31,
5411,
648,
3867,
10044,
18,
19835,
30,
5411,
648,
3867,
10044,
18,
46,
5996,
12096,
30,
7734,
898,
31,
3639,
289,
3639,
1620,
261,
5036,
18,
588,
15704,
10044,
10756,
3639,
288,
5411,
648,
27394,
10044,
18,
8369,
5997,
30,
7734,
898,
31,
5411,
648,
27394,
10044,
18,
49,
25578,
30,
7734,
898,
31,
5411,
648,
27394,
10044,
18,
8362,
30,
7734,
898,
31,
5411,
648,
27394,
10044,
18,
13272,
654,
30,
7734,
898,
31,
5411,
648,
27394,
10044,
18,
5151,
67,
10462,
30,
7734,
898,
31,
5411,
648,
27394,
10044,
18,
5151,
67,
28891,
30,
7734,
898,
31,
5411,
648,
27394,
10044,
18,
10462,
30,
7734,
898,
31,
5411,
648,
27394,
10044,
18,
28891,
30,
7734,
898,
31,
3639,
289,
3639,
368,
316,
7470,
326,
913,
903,
486,
506,
977,
3639,
368,
5689,
471,
3159,
3639,
1620,
261,
5036,
18,
24576,
1305,
10756,
3639,
288,
5411,
648,
17536,
18,
19404,
30,
7734,
898,
31,
5411,
648,
17536,
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,
1743,
7816,
921,
5484,
12,
7816,
921,
5484,
5091,
13,
565,
288,
3639,
368,
309,
4573,
1608,
358,
3159,
471,
5689,
326,
913,
3639,
333,
18,
2972,
60,
2555,
273,
333,
18,
2972,
60,
2555,
397,
5091,
18,
588,
60,
2335,
5621,
3639,
333,
18,
2972,
61,
2555,
273,
333,
18,
2972,
61,
2555,
31,
3639,
1620,
261,
5036,
18,
588,
10044,
10756,
3639,
288,
5411,
648,
3867,
10044,
18,
7570,
30,
7734,
898,
31,
5411,
648,
3867,
10044,
18,
4415,
30,
7734,
898,
31,
5411,
648,
3867,
10044,
18,
19835,
30,
5411,
648,
3867,
10044,
18,
46,
5996,
12096,
30,
7734,
898,
31,
3639,
289,
3639,
1620,
261,
5036,
18,
588,
15704,
10044,
10756,
3639,
2
] |
public Call[] getCalls(QName qName) throws ServiceException { return delegate.getCalls(qName);
|
public Call[] getCalls(QName portName) throws ServiceException { if (portName == null) throw new ServiceException("Portname cannot be null"); SEIFactory factory = (SEIFactory) portToImplementationMap.get(portName.getLocalPart()); if( factory == null ) throw new ServiceException("No port for portname: " + portName); OperationInfo[] operationInfos = factory.getOperationInfos(); javax.xml.rpc.Call[] array = new javax.xml.rpc.Call[operationInfos.length]; for (int i = 0; i < operationInfos.length; i++) { OperationInfo operation = operationInfos[i]; array[i] = delegate.createCall(factory.getPortQName(), operation.getOperationName()); } return array;
|
public Call[] getCalls(QName qName) throws ServiceException { return delegate.getCalls(qName); }
|
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/9a405700c98df026b85bfc4227d4251e14274d37/ServiceImpl.java/clean/modules/axis/src/java/org/apache/geronimo/axis/client/ServiceImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3049,
8526,
336,
10125,
12,
13688,
22914,
13,
1216,
16489,
288,
3639,
327,
7152,
18,
588,
10125,
12,
85,
461,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3049,
8526,
336,
10125,
12,
13688,
22914,
13,
1216,
16489,
288,
3639,
327,
7152,
18,
588,
10125,
12,
85,
461,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
RequestSender rs = new RequestSender(key, htl, uid, this, source); requestSenders.put(kh, rs); return rs;
|
sender = new RequestSender(key, htl, uid, this, source); requestSenders.put(kh, sender); Logger.minor(this, "Created new sender: "+sender); return sender;
|
public synchronized Object makeRequestSender(NodeCHK key, short htl, long uid, NodePeer source) { // In store? CHKBlock chk = null; try { chk = datastore.fetch(key); } catch (IOException e) { Logger.error(this, "Error accessing store: "+e, e); } if(chk != null) return null; // Transfer coalescing - match key only as HTL irrelevant RequestSender sender = (RequestSender) transferringRequestSenders.get(key); if(sender != null) return sender; // HTL == 0 => Don't search further if(htl == 0) return null; // Request coalescing KeyHTLPair kh = new KeyHTLPair(key, htl); sender = (RequestSender) requestSenders.get(kh); if(sender != null) return sender; RequestSender rs = new RequestSender(key, htl, uid, this, source); requestSenders.put(kh, rs); return rs; }
|
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/27f407d086a1dbf43da0232680fb0f61503732d4/Node.java/buggy/src/freenet/node/Node.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
1033,
23009,
12021,
12,
907,
1792,
47,
498,
16,
3025,
366,
6172,
16,
1525,
4555,
16,
2029,
6813,
1084,
13,
288,
3639,
368,
657,
1707,
35,
3639,
6469,
47,
1768,
15000,
273,
446,
31,
3639,
775,
288,
5411,
15000,
273,
9290,
18,
5754,
12,
856,
1769,
3639,
289,
1044,
261,
14106,
425,
13,
288,
5411,
4242,
18,
1636,
12,
2211,
16,
315,
668,
19531,
1707,
30,
13773,
73,
16,
425,
1769,
3639,
289,
3639,
309,
12,
27038,
480,
446,
13,
327,
446,
31,
7734,
368,
12279,
1825,
287,
742,
310,
300,
845,
498,
1338,
487,
25052,
9482,
27719,
3639,
1567,
12021,
5793,
273,
261,
691,
12021,
13,
906,
74,
20245,
691,
3826,
414,
18,
588,
12,
856,
1769,
3639,
309,
12,
15330,
480,
446,
13,
327,
5793,
31,
3639,
368,
25052,
422,
374,
516,
7615,
1404,
1623,
9271,
3639,
309,
12,
647,
80,
422,
374,
13,
327,
446,
31,
7734,
368,
1567,
1825,
287,
742,
310,
3639,
1929,
5062,
48,
4154,
417,
76,
273,
394,
1929,
5062,
48,
4154,
12,
856,
16,
366,
6172,
1769,
3639,
5793,
273,
261,
691,
12021,
13,
590,
3826,
414,
18,
588,
12,
79,
76,
1769,
3639,
309,
12,
15330,
480,
446,
13,
327,
5793,
31,
7734,
1567,
12021,
3597,
273,
394,
1567,
12021,
12,
856,
16,
366,
6172,
16,
4555,
16,
333,
16,
1084,
1769,
3639,
590,
3826,
414,
18,
458,
12,
79,
76,
16,
3597,
1769,
3639,
327,
3597,
31,
565,
289,
2,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
1033,
23009,
12021,
12,
907,
1792,
47,
498,
16,
3025,
366,
6172,
16,
1525,
4555,
16,
2029,
6813,
1084,
13,
288,
3639,
368,
657,
1707,
35,
3639,
6469,
47,
1768,
15000,
273,
446,
31,
3639,
775,
288,
5411,
15000,
273,
9290,
18,
5754,
12,
856,
1769,
3639,
289,
1044,
261,
14106,
425,
13,
288,
5411,
4242,
18,
1636,
12,
2211,
16,
315,
668,
19531,
1707,
30,
13773,
73,
16,
425,
1769,
3639,
289,
3639,
309,
12,
27038,
480,
446,
13,
327,
446,
31,
7734,
368,
12279,
1825,
287,
742,
310,
300,
845,
498,
1338,
487,
25052,
9482,
27719,
3639,
1567,
12021,
5793,
273,
261,
691,
12021,
13,
906,
74,
20245,
691,
3826,
414,
18,
588,
12,
2
] |
QuickFixAction.registerQuickFixAction(highlightInfo, QUICK_FIX_FACTORY.createModifierListFix(modifierList, modifier, false, false), null);
|
QuickFixAction.registerQuickFixAction(highlightInfo, QUICK_FIX_FACTORY.createModifierListFix(modifierList, modifier, false, false));
|
public static HighlightInfo checkNotAllowedModifier(PsiKeyword keyword, PsiModifierList modifierList) { PsiElement modifierOwner = modifierList.getParent(); if (modifierOwner == null) return null; if (PsiUtil.hasErrorElementChild(modifierOwner)) return null; String modifier = keyword.getText(); final Map<String, Set<String>> incompatibleModifierMap = getIncompatibleModifierMap(modifierList); if(incompatibleModifierMap == null) return null; Set<String> incompatibles = incompatibleModifierMap.get(modifier); boolean isAllowed = true; PsiElement modifierOwnerParent = modifierOwner.getParent(); if (modifierOwner instanceof PsiClass) { PsiClass aClass = (PsiClass)modifierOwner; if (aClass.isInterface()) { if (PsiModifier.STATIC.equals(modifier) || PsiModifier.PRIVATE.equals(modifier) || PsiModifier.PROTECTED.equals(modifier) || PsiModifier.PACKAGE_LOCAL.equals(modifier)) { isAllowed = modifierOwnerParent instanceof PsiClass; } } else { if (PsiModifier.PUBLIC.equals(modifier)) { isAllowed = modifierOwnerParent instanceof PsiJavaFile || modifierOwnerParent instanceof PsiClass; } else if (PsiModifier.STATIC.equals(modifier) || PsiModifier.PRIVATE.equals(modifier) || PsiModifier.PROTECTED.equals(modifier) || PsiModifier.PACKAGE_LOCAL.equals(modifier)) { isAllowed = modifierOwnerParent instanceof PsiClass; } if (aClass.isEnum()) { isAllowed &= !(PsiModifier.FINAL.equals(modifier) || PsiModifier.ABSTRACT.equals(modifier)); } } } else if (modifierOwner instanceof PsiMethod) { PsiMethod method = (PsiMethod)modifierOwner; isAllowed = !(method.isConstructor() && ourConstructorNotAllowedModifiers.contains(modifier)); if ((method.hasModifierProperty(PsiModifier.PUBLIC) || method.hasModifierProperty(PsiModifier.PROTECTED)) && method.isConstructor() && method.getContainingClass() != null && method.getContainingClass().isEnum()) { isAllowed = false; } if (PsiModifier.PRIVATE.equals(modifier) || PsiModifier.PROTECTED.equals(modifier) || PsiModifier.TRANSIENT.equals(modifier) || PsiModifier.STRICTFP.equals(modifier) || PsiModifier.SYNCHRONIZED.equals(modifier) ) { boolean notInterface = modifierOwnerParent instanceof PsiClass && !((PsiClass)modifierOwnerParent).isInterface(); isAllowed &= notInterface; } } else if (modifierOwner instanceof PsiField) { if (PsiModifier.PRIVATE.equals(modifier) || PsiModifier.PROTECTED.equals(modifier) || PsiModifier.TRANSIENT.equals(modifier) || PsiModifier.STRICTFP.equals(modifier) || PsiModifier.SYNCHRONIZED.equals(modifier) ) { boolean isInterface = modifierOwnerParent instanceof PsiClass && !((PsiClass)modifierOwnerParent).isInterface(); isAllowed = isInterface; } } else if (modifierOwner instanceof PsiClassInitializer) { isAllowed = PsiModifier.STATIC.equals(modifier); } else if (modifierOwner instanceof PsiLocalVariable || modifierOwner instanceof PsiParameter) { isAllowed = PsiModifier.FINAL.equals(modifier); } isAllowed &= incompatibles != null; if (!isAllowed) { String message = JavaErrorMessages.message("modifier.not.allowed", modifier); HighlightInfo highlightInfo = HighlightInfo.createHighlightInfo(HighlightInfoType.ERROR, keyword, message); QuickFixAction.registerQuickFixAction(highlightInfo, QUICK_FIX_FACTORY.createModifierListFix(modifierList, modifier, false, false), null); return highlightInfo; } return null; }
|
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/dee9b62fe1ee40a1d6ca8afc95e5e1eca32dd11f/HighlightUtil.java/buggy/codeInsight/impl/com/intellij/codeInsight/daemon/impl/analysis/HighlightUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
31386,
966,
866,
19354,
9829,
12,
52,
7722,
8736,
4932,
16,
453,
7722,
9829,
682,
9606,
682,
13,
288,
565,
453,
7722,
1046,
9606,
5541,
273,
9606,
682,
18,
588,
3054,
5621,
565,
309,
261,
20597,
5541,
422,
446,
13,
327,
446,
31,
565,
309,
261,
52,
7722,
1304,
18,
5332,
668,
1046,
1763,
12,
20597,
5541,
3719,
327,
446,
31,
565,
514,
9606,
273,
4932,
18,
588,
1528,
5621,
565,
727,
1635,
32,
780,
16,
1000,
32,
780,
9778,
24430,
9829,
863,
273,
7854,
10943,
9829,
863,
12,
20597,
682,
1769,
565,
309,
12,
267,
10943,
9829,
863,
422,
446,
13,
327,
446,
31,
565,
1000,
32,
780,
34,
316,
16239,
495,
1040,
273,
24430,
9829,
863,
18,
588,
12,
20597,
1769,
565,
1250,
21956,
273,
638,
31,
565,
453,
7722,
1046,
9606,
5541,
3054,
273,
9606,
5541,
18,
588,
3054,
5621,
565,
309,
261,
20597,
5541,
1276,
453,
7722,
797,
13,
288,
1377,
453,
7722,
797,
20148,
273,
261,
52,
7722,
797,
13,
20597,
5541,
31,
1377,
309,
261,
69,
797,
18,
291,
1358,
10756,
288,
3639,
309,
261,
52,
7722,
9829,
18,
22741,
18,
14963,
12,
20597,
13,
5411,
747,
453,
7722,
9829,
18,
20055,
18,
14963,
12,
20597,
13,
5411,
747,
453,
7722,
9829,
18,
3373,
26729,
18,
14963,
12,
20597,
13,
5411,
747,
453,
7722,
9829,
18,
19077,
67,
14922,
18,
14963,
12,
20597,
3719,
288,
1850,
21956,
273,
9606,
5541,
3054,
1276,
453,
7722,
797,
31,
3639,
289,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
31386,
966,
866,
19354,
9829,
12,
52,
7722,
8736,
4932,
16,
453,
7722,
9829,
682,
9606,
682,
13,
288,
565,
453,
7722,
1046,
9606,
5541,
273,
9606,
682,
18,
588,
3054,
5621,
565,
309,
261,
20597,
5541,
422,
446,
13,
327,
446,
31,
565,
309,
261,
52,
7722,
1304,
18,
5332,
668,
1046,
1763,
12,
20597,
5541,
3719,
327,
446,
31,
565,
514,
9606,
273,
4932,
18,
588,
1528,
5621,
565,
727,
1635,
32,
780,
16,
1000,
32,
780,
9778,
24430,
9829,
863,
273,
7854,
10943,
9829,
863,
12,
20597,
682,
1769,
565,
309,
12,
267,
10943,
9829,
863,
422,
446,
13,
327,
446,
31,
565,
1000,
32,
780,
34,
316,
16239,
495,
1040,
273,
24430,
2
] |
ResourceBundle bundle= MIUIPlugin.getDefault().getResourceBundle();
|
public static String getResourceString(String key) { ResourceBundle bundle= MIUIPlugin.getDefault().getResourceBundle(); try { return bundle.getString(key); } catch (MissingResourceException e) { return key; } }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/ea9c35588917a0214a5924a0d7080932ed7fc249/MIUIPlugin.java/buggy/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/MIUIPlugin.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
5070,
780,
12,
780,
498,
13,
288,
202,
202,
18731,
3440,
33,
20806,
5370,
3773,
18,
588,
1868,
7675,
588,
18731,
5621,
202,
202,
698,
288,
1082,
202,
2463,
3440,
18,
588,
780,
12,
856,
1769,
202,
202,
97,
1044,
261,
4841,
14785,
425,
13,
288,
1082,
202,
2463,
498,
31,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
514,
5070,
780,
12,
780,
498,
13,
288,
202,
202,
18731,
3440,
33,
20806,
5370,
3773,
18,
588,
1868,
7675,
588,
18731,
5621,
202,
202,
698,
288,
1082,
202,
2463,
3440,
18,
588,
780,
12,
856,
1769,
202,
202,
97,
1044,
261,
4841,
14785,
425,
13,
288,
1082,
202,
2463,
498,
31,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
((IAdvancedUndoableOperation)triggeringOperation).aboutToNotify(event);
|
((IAdvancedUndoableOperation) triggeringOperation) .aboutToNotify(event);
|
public void aboutToNotify(OperationHistoryEvent event) { if (triggeringOperation instanceof IAdvancedUndoableOperation) { ((IAdvancedUndoableOperation)triggeringOperation).aboutToNotify(event); } }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/730be32555397520f5e2223a4937ebb5d910a8c5/TriggeredOperations.java/clean/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/TriggeredOperations.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2973,
774,
9168,
12,
2988,
5623,
1133,
871,
13,
288,
202,
202,
430,
261,
10668,
310,
2988,
1276,
467,
23618,
31224,
429,
2988,
13,
288,
1082,
202,
12443,
45,
23618,
31224,
429,
2988,
13,
10668,
310,
2988,
2934,
21071,
774,
9168,
12,
2575,
1769,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2973,
774,
9168,
12,
2988,
5623,
1133,
871,
13,
288,
202,
202,
430,
261,
10668,
310,
2988,
1276,
467,
23618,
31224,
429,
2988,
13,
288,
1082,
202,
12443,
45,
23618,
31224,
429,
2988,
13,
10668,
310,
2988,
2934,
21071,
774,
9168,
12,
2575,
1769,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 m_paramCopymode;
|
return m_paramCopymode;
|
public String getParamCopymode() { return m_paramCopymode; }
|
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/2fa0efcae8f9aa5971c7763269a3b033e9256d4b/CmsCopy.java/buggy/src/org/opencms/workplace/commons/CmsCopy.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
9027,
2951,
3188,
1435,
288,
540,
327,
312,
67,
891,
2951,
3188,
31,
4202,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
9027,
2951,
3188,
1435,
288,
540,
327,
312,
67,
891,
2951,
3188,
31,
4202,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
refinePartitions(tview);
|
for(IntSet otherCol : otherColumns) { refinePartitions(otherCol, arity-1, range2domain); }
|
private void refinePartitions(TupleSet tupleSet) { IntSet tview = tupleSet.indexView(); final Map<IntSet, IntSet> range2domain = tupleSet.arity()==1 ? null : new HashMap<IntSet, IntSet>((usize*2) / 3); for(int c = tupleSet.arity() - 1; c > 0; c--) { int firstColFactor = (int) StrictMath.pow(usize, c); IntSet firstCol = Ints.bestSet(usize); for(IntIterator rbIter = tview.iterator(); rbIter.hasNext(); ) { firstCol.add(rbIter.nextInt() / firstColFactor); } refinePartitions(firstCol); IntSet otherCols = Ints.bestSet(firstColFactor); int idenFactor = usize==1 ? 1 : (1 - firstColFactor) / (1 - usize); for(ListIterator<IntSet> partsIter = parts.listIterator(); partsIter.hasNext(); ) { IntSet part = partsIter.next(); if (firstCol.contains(part.min())) { // contains one, contains them all for(IntIterator atoms = part.iterator(); atoms.hasNext(); ) { int atom = atoms.nextInt(); IntSet atomRange = Ints.bestSet(firstColFactor); for(IntIterator rbIter = tview.iterator(atom*firstColFactor, (atom+1)*firstColFactor - 1); rbIter.hasNext(); ) { atomRange.add(rbIter.nextInt() % firstColFactor); } IntSet atomDomain = range2domain.get(atomRange); if (atomDomain != null) atomDomain.add(atom); else range2domain.put(atomRange, oneOf(usize, atom)); } partsIter.remove(); IntSet idenPartition = Ints.bestSet(usize); for(Iterator<Map.Entry<IntSet, IntSet>> entries = range2domain.entrySet().iterator(); entries.hasNext(); ) { Map.Entry<IntSet, IntSet> entry = entries.next(); if (entry.getValue().size()==1 && entry.getKey().size()==1 && entry.getKey().min() == entry.getValue().min() * idenFactor) { idenPartition.add(entry.getValue().min()); } else { otherCols.addAll(entry.getKey()); partsIter.add(entry.getValue()); } entries.remove(); } if (!idenPartition.isEmpty()) partsIter.add(idenPartition); } } tview = otherCols; } // refine partitions using the final column of the upper bound of r refinePartitions(tview); }
|
47852 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47852/e82de2a5c4fd8a7c819b3dcde24d61ec580a16c8/BoundsOptimizer.java/clean/src/kodkod/engine/fol2sat/BoundsOptimizer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
30446,
13738,
12,
9038,
694,
3193,
694,
13,
288,
202,
202,
1702,
694,
268,
1945,
273,
3193,
694,
18,
1615,
1767,
5621,
202,
202,
6385,
1635,
32,
1702,
694,
16,
3094,
694,
34,
1048,
22,
4308,
273,
3193,
694,
18,
20498,
1435,
631,
21,
692,
446,
294,
394,
4317,
32,
1702,
694,
16,
3094,
694,
34,
12443,
407,
554,
14,
22,
13,
342,
890,
1769,
202,
202,
1884,
12,
474,
276,
273,
3193,
694,
18,
20498,
1435,
300,
404,
31,
276,
405,
374,
31,
276,
413,
13,
288,
9506,
202,
474,
1122,
914,
6837,
273,
261,
474,
13,
22307,
10477,
18,
23509,
12,
407,
554,
16,
276,
1769,
1082,
202,
1702,
694,
1122,
914,
273,
3094,
87,
18,
12729,
694,
12,
407,
554,
1769,
1082,
202,
1884,
12,
1702,
3198,
7138,
2360,
273,
268,
1945,
18,
9838,
5621,
7138,
2360,
18,
5332,
2134,
5621,
262,
288,
9506,
202,
3645,
914,
18,
1289,
12,
6731,
2360,
18,
4285,
1702,
1435,
342,
1122,
914,
6837,
1769,
1082,
202,
97,
1082,
202,
1734,
558,
13738,
12,
3645,
914,
1769,
1082,
202,
1702,
694,
1308,
8011,
273,
3094,
87,
18,
12729,
694,
12,
3645,
914,
6837,
1769,
1082,
202,
474,
612,
275,
6837,
273,
584,
554,
631,
21,
692,
404,
294,
261,
21,
300,
1122,
914,
6837,
13,
342,
261,
21,
300,
584,
554,
1769,
1082,
202,
1884,
12,
682,
3198,
32,
1702,
694,
34,
2140,
2360,
273,
2140,
18,
1098,
3198,
5621,
2140,
2360,
18,
5332,
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,
30446,
13738,
12,
9038,
694,
3193,
694,
13,
288,
202,
202,
1702,
694,
268,
1945,
273,
3193,
694,
18,
1615,
1767,
5621,
202,
202,
6385,
1635,
32,
1702,
694,
16,
3094,
694,
34,
1048,
22,
4308,
273,
3193,
694,
18,
20498,
1435,
631,
21,
692,
446,
294,
394,
4317,
32,
1702,
694,
16,
3094,
694,
34,
12443,
407,
554,
14,
22,
13,
342,
890,
1769,
202,
202,
1884,
12,
474,
276,
273,
3193,
694,
18,
20498,
1435,
300,
404,
31,
276,
405,
374,
31,
276,
413,
13,
288,
9506,
202,
474,
1122,
914,
6837,
273,
261,
474,
13,
22307,
10477,
18,
23509,
12,
407,
554,
16,
276,
1769,
1082,
202,
1702,
694,
1122,
914,
273,
2
] |
new NoViableAltException("302:2: ( import_statement | function_import_statement | global | function | t= template | r= rule | q= query )", 4, 1, input);
|
new NoViableAltException("303:2: ( ( import_statement )=> import_statement | ( function_import_statement )=> function_import_statement | ( global )=> global | ( function )=> function | ( template )=>t= template | ( rule )=>r= rule | q= query )", 4, 1, input);
|
public void statement() throws RecognitionException { FactTemplateDescr t = null; RuleDescr r = null; QueryDescr q = null; try { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:302:2: ( ( import_statement | function_import_statement | global | function | t= template | r= rule | q= query ) ) // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:302:2: ( import_statement | function_import_statement | global | function | t= template | r= rule | q= query ) { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:302:2: ( import_statement | function_import_statement | global | function | t= template | r= rule | q= query ) int alt4=7; switch ( input.LA(1) ) { case 29: int LA4_1 = input.LA(2); if ( (LA4_1==30) ) { alt4=2; } else if ( (LA4_1==ID) ) { alt4=1; } else { NoViableAltException nvae = new NoViableAltException("302:2: ( import_statement | function_import_statement | global | function | t= template | r= rule | q= query )", 4, 1, input); throw nvae; } break; case 33: alt4=3; break; case 30: alt4=4; break; case 37: alt4=5; break; case 38: alt4=6; break; case 35: alt4=7; break; default: NoViableAltException nvae = new NoViableAltException("302:2: ( import_statement | function_import_statement | global | function | t= template | r= rule | q= query )", 4, 0, input); throw nvae; } switch (alt4) { case 1 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:302:4: import_statement { pushFollow(FOLLOW_import_statement_in_statement107); import_statement(); _fsp--; } break; case 2 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:303:10: function_import_statement { pushFollow(FOLLOW_function_import_statement_in_statement118); function_import_statement(); _fsp--; } break; case 3 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:304:4: global { pushFollow(FOLLOW_global_in_statement123); global(); _fsp--; } break; case 4 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:305:4: function { pushFollow(FOLLOW_function_in_statement128); function(); _fsp--; } break; case 5 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:306:10: t= template { pushFollow(FOLLOW_template_in_statement141); t=template(); _fsp--; this.packageDescr.addFactTemplate( t ); } break; case 6 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:307:4: r= rule { pushFollow(FOLLOW_rule_in_statement150); r=rule(); _fsp--; this.packageDescr.addRule( r ); } break; case 7 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:308:4: q= query { pushFollow(FOLLOW_query_in_statement160); q=query(); _fsp--; this.packageDescr.addRule( q ); } break; } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; }
|
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/6b34eb3854fdc06f31034567ebdf72ff28c6c11a/DRLParser.java/clean/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3021,
1435,
1216,
9539,
288,
6647,
29057,
2283,
16198,
268,
273,
446,
31,
3639,
6781,
16198,
436,
273,
446,
31,
3639,
2770,
16198,
1043,
273,
446,
31,
3639,
775,
288,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
23,
3103,
30,
22,
30,
261,
261,
1930,
67,
11516,
571,
445,
67,
5666,
67,
11516,
571,
2552,
571,
445,
571,
268,
33,
1542,
571,
436,
33,
1720,
571,
1043,
33,
843,
262,
262,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
23,
3103,
30,
22,
30,
261,
1930,
67,
11516,
571,
445,
67,
5666,
67,
11516,
571,
2552,
571,
445,
571,
268,
33,
1542,
571,
436,
33,
1720,
571,
1043,
33,
843,
262,
5411,
288,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
23,
3103,
30,
22,
30,
261,
1930,
67,
11516,
571,
445,
67,
5666,
67,
11516,
571,
2552,
571,
445,
571,
268,
33,
1542,
571,
436,
33,
1720,
571,
1043,
33,
843,
262,
5411,
509,
3770,
24,
33,
27,
31,
5411,
1620,
261,
810,
18,
2534,
12,
21,
13,
262,
288,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3021,
1435,
1216,
9539,
288,
6647,
29057,
2283,
16198,
268,
273,
446,
31,
3639,
6781,
16198,
436,
273,
446,
31,
3639,
2770,
16198,
1043,
273,
446,
31,
3639,
775,
288,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
23,
3103,
30,
22,
30,
261,
261,
1930,
67,
11516,
571,
445,
67,
5666,
67,
11516,
571,
2552,
571,
445,
571,
268,
33,
1542,
571,
436,
33,
1720,
571,
1043,
33,
843,
262,
262,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
2
] |
buildSemosTempleArea((StendhalRPZone)world.getRPZone(new IRPZone.ID("int_semos_temple")));
|
buildSemosLibraryArea((StendhalRPZone) world.getRPZone(new IRPZone.ID( "int_semos_library")));
|
public Semos(StendhalRPWorld world) throws org.xml.sax.SAXException, java.io.IOException { this.npcs=NPCList.get(); this.shops=ShopList.get(); this.world=world; buildSemosCityArea((StendhalRPZone)world.getRPZone(new IRPZone.ID("0_semos_city"))); buildSemosVillageArea((StendhalRPZone)world.getRPZone(new IRPZone.ID("0_semos_village_w"))); buildSemosSouthPlainsArea((StendhalRPZone)world.getRPZone(new IRPZone.ID("0_semos_plains_s"))); buildSemosTavernArea(); buildSemosBlacksmithArea((StendhalRPZone)world.getRPZone(new IRPZone.ID("int_semos_blacksmith"))); buildSemosTempleArea((StendhalRPZone)world.getRPZone(new IRPZone.ID("int_semos_temple"))); buildSemosLibraryArea((StendhalRPZone)world.getRPZone(new IRPZone.ID("int_semos_library"))); buildSemosStorageArea(); buildSemosBankArea((StendhalRPZone)world.getRPZone(new IRPZone.ID("int_semos_bank"))); buildSemosTownhallArea((StendhalRPZone)world.getRPZone(new IRPZone.ID("int_semos_townhall"))); }
|
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/d512245d8e26069d9f1c5a15fba078b322c3b0ac/Semos.java/buggy/src/games/stendhal/server/maps/Semos.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
15661,
538,
12,
510,
409,
22314,
54,
52,
18071,
9117,
13,
1216,
2358,
18,
2902,
18,
87,
651,
18,
55,
2501,
503,
16,
2252,
18,
1594,
18,
14106,
565,
288,
565,
333,
18,
6782,
2143,
33,
50,
3513,
682,
18,
588,
5621,
565,
333,
18,
674,
4473,
33,
7189,
682,
18,
588,
5621,
565,
333,
18,
18179,
33,
18179,
31,
565,
1361,
13185,
538,
22236,
5484,
12443,
510,
409,
22314,
54,
52,
4226,
13,
18179,
18,
588,
54,
52,
4226,
12,
2704,
15908,
52,
4226,
18,
734,
2932,
20,
67,
12000,
538,
67,
14240,
6,
3719,
1769,
565,
1361,
13185,
538,
58,
737,
410,
5484,
12443,
510,
409,
22314,
54,
52,
4226,
13,
18179,
18,
588,
54,
52,
4226,
12,
2704,
15908,
52,
4226,
18,
734,
2932,
20,
67,
12000,
538,
67,
90,
737,
410,
67,
91,
6,
3719,
1769,
565,
1361,
13185,
538,
55,
15347,
1749,
4167,
5484,
12443,
510,
409,
22314,
54,
52,
4226,
13,
18179,
18,
588,
54,
52,
4226,
12,
2704,
15908,
52,
4226,
18,
734,
2932,
20,
67,
12000,
538,
67,
412,
4167,
67,
87,
6,
3719,
1769,
565,
1361,
13185,
538,
56,
21851,
82,
5484,
5621,
565,
1361,
13185,
538,
13155,
4808,
483,
5484,
12443,
510,
409,
22314,
54,
52,
4226,
13,
18179,
18,
588,
54,
52,
4226,
12,
2704,
15908,
52,
4226,
18,
734,
2932,
474,
67,
12000,
538,
67,
11223,
4808,
483,
6,
3719,
1769,
565,
1361,
13185,
538,
9313,
5484,
12443,
510,
409,
22314,
54,
52,
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,
15661,
538,
12,
510,
409,
22314,
54,
52,
18071,
9117,
13,
1216,
2358,
18,
2902,
18,
87,
651,
18,
55,
2501,
503,
16,
2252,
18,
1594,
18,
14106,
565,
288,
565,
333,
18,
6782,
2143,
33,
50,
3513,
682,
18,
588,
5621,
565,
333,
18,
674,
4473,
33,
7189,
682,
18,
588,
5621,
565,
333,
18,
18179,
33,
18179,
31,
565,
1361,
13185,
538,
22236,
5484,
12443,
510,
409,
22314,
54,
52,
4226,
13,
18179,
18,
588,
54,
52,
4226,
12,
2704,
15908,
52,
4226,
18,
734,
2932,
20,
67,
12000,
538,
67,
14240,
6,
3719,
1769,
565,
1361,
13185,
538,
58,
737,
410,
5484,
12443,
510,
409,
22314,
54,
52,
4226,
13,
18179,
18,
588,
54,
2
] |
this.constraint = constraint; }
|
this.constraint = constraint; }
|
public IsNot( Constraint constraint ) { this.constraint = constraint; }
|
54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/IsNot.java/clean/jmock/core/src/org/jmock/core/constraint/IsNot.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2585,
1248,
12,
10770,
4954,
262,
288,
202,
202,
2211,
18,
13364,
273,
4954,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2585,
1248,
12,
10770,
4954,
262,
288,
202,
202,
2211,
18,
13364,
273,
4954,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
next.insertRejectedOverload();
|
if(next != null) next.insertRejectedOverload();
|
private void finish(int code, PeerNode next) { Logger.minor(this, "Finished: "+code+" on "+this, new Exception("debug")); if(status != NOT_FINISHED) throw new IllegalStateException("finish() called with "+code+" when was already "+status); status = code; if(senderThread != null) { while(senderThread.isAlive()) { try { senderThread.join(); } catch (InterruptedException e) { // Ignore } } } if(status == REJECTED_OVERLOAD) { node.getInsertThrottle().requestRejectedOverload(); next.insertRejectedOverload(); } else if(status == SUCCESS || status == ROUTE_NOT_FOUND) { node.getInsertThrottle().requestCompleted(System.currentTimeMillis() - startTime); next.insertDidNotRejectOverload(); } synchronized(this) { notifyAll(); } }
|
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/239cf9eec535f10703e5c9a4e3d2fe1146552d5e/InsertSender.java/buggy/src/freenet/node/InsertSender.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
4076,
12,
474,
981,
16,
10669,
907,
1024,
13,
288,
3639,
4242,
18,
17364,
12,
2211,
16,
315,
10577,
30,
13773,
710,
9078,
603,
13773,
2211,
16,
394,
1185,
2932,
4148,
7923,
1769,
3639,
309,
12,
2327,
480,
4269,
67,
23259,
2056,
13,
540,
202,
12849,
394,
5477,
2932,
13749,
1435,
2566,
598,
13773,
710,
9078,
1347,
1703,
1818,
13773,
2327,
1769,
3639,
1267,
273,
981,
31,
7734,
309,
12,
15330,
3830,
480,
446,
13,
288,
540,
202,
17523,
12,
15330,
3830,
18,
291,
10608,
10756,
288,
540,
202,
202,
698,
288,
540,
1082,
202,
15330,
3830,
18,
5701,
5621,
540,
202,
202,
97,
1044,
261,
24485,
503,
425,
13,
288,
540,
1082,
202,
759,
8049,
540,
202,
202,
97,
540,
202,
97,
3639,
289,
7734,
309,
12,
2327,
422,
2438,
5304,
2056,
67,
12959,
7783,
13,
288,
540,
202,
2159,
18,
588,
4600,
27636,
7675,
2293,
19902,
4851,
945,
5621,
540,
202,
430,
12,
4285,
480,
446,
13,
1024,
18,
6387,
19902,
4851,
945,
5621,
3639,
289,
469,
309,
12,
2327,
422,
16561,
747,
1267,
422,
6525,
9099,
67,
4400,
67,
9294,
13,
288,
540,
202,
2159,
18,
588,
4600,
27636,
7675,
2293,
9556,
12,
3163,
18,
2972,
28512,
1435,
300,
8657,
1769,
540,
202,
4285,
18,
6387,
18250,
1248,
21705,
4851,
945,
5621,
3639,
289,
7734,
3852,
12,
2211,
13,
288,
5411,
5066,
1595,
5621,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
4076,
12,
474,
981,
16,
10669,
907,
1024,
13,
288,
3639,
4242,
18,
17364,
12,
2211,
16,
315,
10577,
30,
13773,
710,
9078,
603,
13773,
2211,
16,
394,
1185,
2932,
4148,
7923,
1769,
3639,
309,
12,
2327,
480,
4269,
67,
23259,
2056,
13,
540,
202,
12849,
394,
5477,
2932,
13749,
1435,
2566,
598,
13773,
710,
9078,
1347,
1703,
1818,
13773,
2327,
1769,
3639,
1267,
273,
981,
31,
7734,
309,
12,
15330,
3830,
480,
446,
13,
288,
540,
202,
17523,
12,
15330,
3830,
18,
291,
10608,
10756,
288,
540,
202,
202,
698,
288,
540,
1082,
202,
15330,
3830,
18,
5701,
5621,
540,
202,
202,
97,
1044,
261,
24485,
503,
425,
13,
288,
540,
1082,
202,
759,
8049,
2
] |
int evaluateCombat(LegionInfo attacker, LegionInfo defender, MasterHex hex) { if (attacker.getPlayerName().equals(defender.getPlayerName())) { return 0; } final int defenderPointValue = defender.getPointValue(); final int attackerPointValue = attacker.getPointValue(); final BattleResults result = estimateBattleResults(attacker, defender, hex); int value = (int)result.getExpectedValue(); if (!I_HATE_HUMANS) { // In rational AI mode do not reward early titan attacks if (client.getTurnNumber() < 5) { return value - 100; } } boolean defenderTitan = defender.hasTitan(); if (result.getExpectedValue() > 0) { if (attacker.hasTitan()) { // unless we can win the game with this attack if (defenderTitan) { if (I_HATE_HUMANS) { // do it and win the game, there is only 1 human value = 1000 + (int)result.getExpectedValue() * 1000; } else if (client.getNumLivingPlayers() == 2 && (attackerPointValue - result.getAttackerDead()) > TITAN_SURVIVAL) { // do it and win the game value = 1000 + (int)result.getExpectedValue() * 1000; } else if (result.getAttackerDead() < attackerPointValue / 2 && (attackerPointValue - result.getAttackerDead()) > TITAN_SURVIVAL) { // our titan stack will be badly damaged // but it is worth it value = 100 + (int)result.getExpectedValue() * 100; } else { // ack! we'll fuck up our titan group // use metric below so that if we have no choice // but to attack we pick the least losing battle value = (int)result.getAttackerDead() * -100; } } else if (result.getAttackerDead() > attackerPointValue / 2) // (1/4) will usually be about 3 pieces since titan // will be large part of value { // ack! we'll fuck up our titan group // use metric below so that if we have no choice but to // attack we pick the least losing battle value = -100 + (int)result.getAttackerDead() * -100; } else // win with minimal loss { // value = result.getExpectedValue(); // default value } } else if (defenderTitan) { value = (1000 + (int)result.getExpectedValue() * 1000) / client.getNumLivingPlayers(); } } else // we expect to lose on this battle. // but if the enemy is a titan stack it may be worth it { if (!attacker.hasTitan() && defenderTitan) { // gun for the titan stack if we can knock out // more than 80% of the value if (result.getDefenderDead() > defenderPointValue * .5) { // value should be proportional to amount of Titan stack // killed since we may be able to attack with more // than one legion value = result.getDefenderDead() * 100 / client.getNumLivingPlayers() / 2; } } else if (attacker.hasTitan()) { // ack! we'll kill our titan group // use metric below so that if we have no choice but to attack // we pick the least losing battle value = (-1000 + (int)result.getExpectedValue() * 1000) / client.getNumLivingPlayers(); } } // apply penalty to attacks if we have few legions // Don't reward titan attacks with few stacks int attackerLegions = attacker.getPlayerInfo().getNumLegions(); if (attackerLegions < 5 && !I_HATE_HUMANS) { return value - (result.getAttackerDead() / attackerPointValue) * 1000; } return value; }
|
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/ebf54439529469978860d7d4e7076aac7caf5fbf/RationalAI.java/clean/Colossus/net/sf/colossus/client/RationalAI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
509,
5956,
11328,
270,
12,
8329,
285,
966,
13843,
264,
16,
17167,
285,
966,
1652,
2345,
16,
13453,
7037,
3827,
13,
565,
288,
3639,
309,
261,
4558,
484,
264,
18,
588,
12148,
461,
7675,
14963,
12,
536,
2345,
18,
588,
12148,
461,
1435,
3719,
3639,
288,
5411,
327,
374,
31,
3639,
289,
3639,
727,
509,
1652,
2345,
2148,
620,
273,
1652,
2345,
18,
588,
2148,
620,
5621,
3639,
727,
509,
13843,
264,
2148,
620,
273,
13843,
264,
18,
588,
2148,
620,
5621,
3639,
727,
605,
4558,
298,
3447,
563,
273,
11108,
38,
4558,
298,
3447,
12,
4558,
484,
264,
16,
1652,
2345,
16,
5411,
3827,
1769,
3639,
509,
460,
273,
261,
474,
13,
2088,
18,
588,
6861,
620,
5621,
7734,
309,
16051,
45,
67,
44,
1777,
67,
44,
2799,
11607,
13,
3639,
288,
5411,
368,
657,
436,
8371,
432,
45,
1965,
741,
486,
19890,
11646,
268,
305,
304,
28444,
5411,
309,
261,
2625,
18,
588,
15858,
1854,
1435,
411,
1381,
13,
5411,
288,
7734,
327,
460,
300,
2130,
31,
5411,
289,
3639,
289,
7734,
1250,
1652,
2345,
56,
305,
304,
273,
1652,
2345,
18,
5332,
56,
305,
304,
5621,
7734,
309,
261,
2088,
18,
588,
6861,
620,
1435,
405,
374,
13,
3639,
288,
5411,
309,
261,
4558,
484,
264,
18,
5332,
56,
305,
304,
10756,
5411,
288,
7734,
368,
3308,
732,
848,
5657,
326,
7920,
598,
333,
13843,
7734,
309,
261,
536,
2345,
56,
305,
304,
13,
7734,
288,
10792,
309,
261,
45,
67,
44,
1777,
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,
509,
5956,
11328,
270,
12,
8329,
285,
966,
13843,
264,
16,
17167,
285,
966,
1652,
2345,
16,
13453,
7037,
3827,
13,
565,
288,
3639,
309,
261,
4558,
484,
264,
18,
588,
12148,
461,
7675,
14963,
12,
536,
2345,
18,
588,
12148,
461,
1435,
3719,
3639,
288,
5411,
327,
374,
31,
3639,
289,
3639,
727,
509,
1652,
2345,
2148,
620,
273,
1652,
2345,
18,
588,
2148,
620,
5621,
3639,
727,
509,
13843,
264,
2148,
620,
273,
13843,
264,
18,
588,
2148,
620,
5621,
3639,
727,
605,
4558,
298,
3447,
563,
273,
11108,
38,
4558,
298,
3447,
12,
4558,
484,
264,
16,
1652,
2345,
16,
5411,
3827,
1769,
3639,
509,
460,
273,
261,
474,
13,
2088,
18,
588,
6861,
620,
2
] |
||
this.mode=mode; }
|
this.mode=mode; }
|
SleeperThread(int mode) { this.mode=mode; }
|
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/71d1a8f8cae34adf83ab37b3564bb1511c06a198/InterruptTest.java/clean/tests/junit/org/jgroups/tests/InterruptTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
55,
11182,
457,
3830,
12,
474,
1965,
13,
288,
202,
565,
333,
18,
3188,
33,
3188,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
55,
11182,
457,
3830,
12,
474,
1965,
13,
288,
202,
565,
333,
18,
3188,
33,
3188,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
println(" public aterm.ATermList concat(aterm.ATermList peer) {"); println(" " + buildUnsupportedOperationException("concat", "ATermList")); println(" }"); println(); }
|
println(" public aterm.ATermList concat(aterm.ATermList peer) {"); println(" " + buildUnsupportedOperationException("concat", "ATermList")); println(" }"); println(); }
|
private void genOverrideConcatMethod() { println(" public aterm.ATermList concat(aterm.ATermList peer) {"); println(" " + buildUnsupportedOperationException("concat", "ATermList")); println(" }"); println(); }
|
3664 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3664/dfc73e34bff6e386ff1bb2959e83fe3849358bb0/SeparatedListTypeGenerator.java/buggy/apigen/src/apigen/gen/java/SeparatedListTypeGenerator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3157,
6618,
15113,
1305,
1435,
288,
3639,
3785,
2932,
225,
1071,
622,
1035,
18,
789,
1035,
682,
3835,
12,
270,
1035,
18,
789,
1035,
682,
4261,
13,
288,
8863,
3639,
3785,
2932,
565,
315,
397,
1361,
8544,
10602,
2932,
16426,
3113,
315,
789,
1035,
682,
7923,
1769,
3639,
3785,
2932,
225,
289,
8863,
3639,
3785,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3157,
6618,
15113,
1305,
1435,
288,
3639,
3785,
2932,
225,
1071,
622,
1035,
18,
789,
1035,
682,
3835,
12,
270,
1035,
18,
789,
1035,
682,
4261,
13,
288,
8863,
3639,
3785,
2932,
565,
315,
397,
1361,
8544,
10602,
2932,
16426,
3113,
315,
789,
1035,
682,
7923,
1769,
3639,
3785,
2932,
225,
289,
8863,
3639,
3785,
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
] |
SearchBuilderItem sbi = (SearchBuilderItem) tditer.next(); if (SearchBuilderItem.STATE_COMPLETED.equals(sbi.getSearchstate())) { if (SearchBuilderItem.ACTION_DELETE.equals(sbi.getSearchaction()))
|
SearchBuilderItem sbi = (SearchBuilderItem) tditer .next(); if (SearchBuilderItem.STATE_COMPLETED.equals(sbi .getSearchstate())) { if (SearchBuilderItem.ACTION_DELETE.equals(sbi .getSearchaction()))
|
public void processToDoListTransaction(SearchIndexBuilderWorker worker) { Connection connection = null; try { connection = dataSource.getConnection(); long startTime = System.currentTimeMillis(); int totalDocs = 0; IndexWriter indexWrite = null; // Load the list List runtimeToDo = findPending(indexBatchSize, connection); totalDocs = runtimeToDo.size(); log.debug("Processing " + totalDocs + " documents"); if (totalDocs > 0) { try { indexStorage.doPreIndexUpdate(); if (indexStorage.indexExists()) { IndexReader indexReader = null; try { indexReader = indexStorage.getIndexReader(); // Open the index for (Iterator tditer = runtimeToDo.iterator(); worker.isRunning() && tditer.hasNext();) { SearchBuilderItem sbi = (SearchBuilderItem) tditer.next(); if (!SearchBuilderItem.STATE_PENDING.equals(sbi.getSearchstate())) { // should only be getting pending // items log.warn(" Found Item that was not pending " + sbi.getName()); continue; } if (SearchBuilderItem.ACTION_UNKNOWN.equals(sbi.getSearchaction())) { sbi.setSearchstate(SearchBuilderItem.STATE_COMPLETED); updateOrSave(connection,sbi); connection.commit(); continue; } // remove document // if this is mult segment it might not work. try { indexReader.deleteDocuments(new Term(SearchService.FIELD_REFERENCE, sbi.getName())); if (SearchBuilderItem.ACTION_DELETE.equals(sbi.getSearchaction())) { sbi.setSearchstate(SearchBuilderItem.STATE_COMPLETED); updateOrSave(connection,sbi); connection.commit(); } else { sbi.setSearchstate(SearchBuilderItem.STATE_PENDING_2); } } catch (IOException ex) { log.warn("Failed to delete Page ", ex); } } } finally { if (indexReader != null) { indexReader.close(); indexReader = null; } } if (worker.isRunning()) { indexWrite = indexStorage.getIndexWriter(false); } } else { // create for update if (worker.isRunning()) { indexWrite = indexStorage.getIndexWriter(true); } } for (Iterator tditer = runtimeToDo.iterator(); worker.isRunning() && tditer.hasNext();) { Reader contentReader = null; try { SearchBuilderItem sbi = (SearchBuilderItem) tditer.next(); // only add adds, that have been deleted // sucessfully if (!SearchBuilderItem.STATE_PENDING_2.equals(sbi.getSearchstate())) { continue; } Reference ref = entityManager.newReference(sbi.getName()); if (ref == null) { log.error("Unrecognised trigger object presented to index builder " + sbi); } long startDocIndex = System.currentTimeMillis(); worker.setStartDocIndex(startDocIndex); worker.setNowIndexing(ref.getReference()); try { try { Entity entity = ref.getEntity(); EntityContentProducer sep = searchIndexBuilder.newEntityContentProducer(ref); if (sep != null && sep.isForIndex(ref) && ref.getContext() != null) { Document doc = new Document(); String container = ref.getContainer(); if (container == null) container = ""; doc.add(new Field(SearchService.DATE_STAMP, String.valueOf(System.currentTimeMillis()), Field.Store.YES, Field.Index.UN_TOKENIZED)); doc.add(new Field(SearchService.FIELD_CONTAINER, container, Field.Store.YES, Field.Index.UN_TOKENIZED)); doc.add(new Field(SearchService.FIELD_ID, ref.getId(), Field.Store.YES, Field.Index.NO)); doc.add(new Field(SearchService.FIELD_TYPE, ref.getType(), Field.Store.YES, Field.Index.UN_TOKENIZED)); doc.add(new Field(SearchService.FIELD_SUBTYPE, ref.getSubType(), Field.Store.YES, Field.Index.UN_TOKENIZED)); doc.add(new Field(SearchService.FIELD_REFERENCE, ref.getReference(), Field.Store.YES, Field.Index.UN_TOKENIZED)); doc.add(new Field(SearchService.FIELD_CONTEXT, sep.getSiteId(ref), Field.Store.YES, Field.Index.UN_TOKENIZED)); if (sep.isContentFromReader(entity)) { contentReader = sep.getContentReader(entity); doc.add(new Field(SearchService.FIELD_CONTENTS, contentReader, Field.TermVector.YES)); } else { doc.add(new Field(SearchService.FIELD_CONTENTS, sep.getContent(entity), Field.Store.YES, Field.Index.TOKENIZED, Field.TermVector.YES)); } doc.add(new Field(SearchService.FIELD_TITLE, sep.getTitle(entity), Field.Store.YES, Field.Index.TOKENIZED, Field.TermVector.YES)); doc.add(new Field(SearchService.FIELD_TOOL, sep.getTool(), Field.Store.YES, Field.Index.UN_TOKENIZED)); doc.add(new Field(SearchService.FIELD_URL, sep.getUrl(entity), Field.Store.YES, Field.Index.UN_TOKENIZED)); doc.add(new Field(SearchService.FIELD_SITEID, sep.getSiteId(ref), Field.Store.YES, Field.Index.UN_TOKENIZED)); // add the custom properties Map m = sep.getCustomProperties(); if (m != null) { for (Iterator cprops = m.keySet().iterator(); cprops.hasNext();) { String key = (String) cprops.next(); Object value = m.get(key); String[] values = null; if (value instanceof String) { values = new String[1]; values[0] = (String) value; } if (value instanceof String[]) { values = (String[]) value; } if (values == null) { log.info("Null Custom Properties value has been suppled by " + sep + " in index " + key); } else { for (int i = 0; i < values.length; i++) { doc.add(new Field(key, values[i], Field.Store.YES, Field.Index.UN_TOKENIZED)); } } } } log.debug("Indexing Document " + doc); indexWrite.addDocument(doc); log.debug("Done Indexing Document " + doc); processRDF(sep); } else { log.debug("Ignored Document " + ref.getId()); } } catch (Exception e1) { log.info(" Failed to index document cause: " + e1.getMessage()); } sbi.setSearchstate(SearchBuilderItem.STATE_COMPLETED); updateOrSave(connection,sbi); connection.commit(); } catch (Exception e1) { log.debug(" Failed to index document cause: " + e1.getMessage()); } long endDocIndex = System.currentTimeMillis(); worker.setLastIndex(endDocIndex - startDocIndex); if ((endDocIndex - startDocIndex) > 60000L) { log.warn("Slow index operation " + String.valueOf((endDocIndex - startDocIndex) / 1000) + " seconds to index " + ref.getReference()); } // update this node lock to indicate its // still alove, no document should // take more than 2 mins to process if ( !worker.getLockTransaction(15L * 60L * 1000L,true) ) { throw new Exception("Transaction Lock Expired while indexing "+ref.getReference()); } } finally { if (contentReader != null) { try { contentReader.close(); } catch (IOException ioex) { } } } } worker.setStartDocIndex(System.currentTimeMillis()); worker.setNowIndexing("-idle-"); } finally { if (indexWrite != null) { indexWrite.close(); indexWrite = null; } } totalDocs = 0; try { for (Iterator tditer = runtimeToDo.iterator(); worker.isRunning() && tditer.hasNext();) { SearchBuilderItem sbi = (SearchBuilderItem) tditer.next(); if (SearchBuilderItem.STATE_COMPLETED.equals(sbi.getSearchstate())) { if (SearchBuilderItem.ACTION_DELETE.equals(sbi.getSearchaction())) { delete(connection, sbi); connection.commit(); } else { updateOrSave(connection, sbi); connection.commit(); } } } totalDocs = runtimeToDo.size(); } catch (Exception ex) { log.warn("Failed to update state in database due to " + ex.getMessage() + " this will be corrected on the next run of the IndexBuilder, no cause for alarm"); } } try { indexStorage.doPostIndexUpdate(); } catch (IOException e) { log.error("Failed to do Post Index Update", e); } if (worker.isRunning()) { eventTrackingService.post(eventTrackingService.newEvent(SearchService.EVENT_TRIGGER_INDEX_RELOAD, "/searchindexreload", true, NotificationService.PREF_IMMEDIATE)); long endTime = System.currentTimeMillis(); float totalTime = endTime - startTime; float ndocs = totalDocs; if (totalDocs > 0) { float docspersec = 1000 * ndocs / totalTime; log.info("Completed Process List of " + totalDocs + " at " + docspersec + " documents/per second"); } } } catch (Exception ex) { log.warn("Failed to perform index cycle " + ex.getMessage()); log.debug("Traceback is ", ex); } finally { try { connection.close(); } catch (Exception ex) { } } }
|
51480 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51480/a418d47d9cb811d8e8fb60f720be9c5a34ea00c5/SearchIndexBuilderWorkerDaoJdbcImpl.java/buggy/search-impl/impl/src/java/org/sakaiproject/search/component/dao/impl/SearchIndexBuilderWorkerDaoJdbcImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1207,
774,
3244,
682,
3342,
12,
2979,
1016,
1263,
6671,
4322,
13,
202,
95,
202,
202,
1952,
1459,
273,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
4071,
273,
10233,
18,
588,
1952,
5621,
1082,
202,
5748,
8657,
273,
2332,
18,
2972,
28512,
5621,
1082,
202,
474,
2078,
12656,
273,
374,
31,
1082,
202,
1016,
2289,
770,
3067,
273,
446,
31,
1082,
202,
759,
4444,
326,
666,
1082,
202,
682,
3099,
774,
3244,
273,
1104,
8579,
12,
1615,
23304,
16,
1459,
1769,
1082,
202,
4963,
12656,
273,
3099,
774,
3244,
18,
1467,
5621,
1082,
202,
1330,
18,
4148,
2932,
7798,
315,
397,
2078,
12656,
397,
315,
7429,
8863,
1082,
202,
430,
261,
4963,
12656,
405,
374,
13,
1082,
202,
95,
9506,
202,
698,
9506,
202,
95,
6862,
202,
1615,
3245,
18,
2896,
1386,
1016,
1891,
5621,
6862,
202,
430,
261,
1615,
3245,
18,
1615,
4002,
10756,
6862,
202,
95,
25083,
202,
1016,
2514,
770,
2514,
273,
446,
31,
25083,
202,
698,
25083,
202,
95,
6862,
1082,
202,
1615,
2514,
273,
770,
3245,
18,
588,
1016,
2514,
5621,
6862,
1082,
202,
759,
3502,
326,
770,
6862,
1082,
202,
1884,
261,
3198,
6655,
2165,
273,
3099,
774,
3244,
18,
9838,
5621,
4322,
18,
291,
7051,
1435,
597,
6655,
2165,
18,
5332,
2134,
5621,
13,
6862,
1082,
202,
95,
6862,
9506,
202,
2979,
1263,
1180,
2393,
77,
273,
261,
2979,
1263,
1180,
13,
6655,
2165,
18,
4285,
5621,
6862,
9506,
202,
430,
16051,
2979,
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,
1207,
774,
3244,
682,
3342,
12,
2979,
1016,
1263,
6671,
4322,
13,
202,
95,
202,
202,
1952,
1459,
273,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
4071,
273,
10233,
18,
588,
1952,
5621,
1082,
202,
5748,
8657,
273,
2332,
18,
2972,
28512,
5621,
1082,
202,
474,
2078,
12656,
273,
374,
31,
1082,
202,
1016,
2289,
770,
3067,
273,
446,
31,
1082,
202,
759,
4444,
326,
666,
1082,
202,
682,
3099,
774,
3244,
273,
1104,
8579,
12,
1615,
23304,
16,
1459,
1769,
1082,
202,
4963,
12656,
273,
3099,
774,
3244,
18,
1467,
5621,
1082,
202,
1330,
18,
4148,
2932,
7798,
315,
397,
2078,
12656,
397,
315,
7429,
8863,
1082,
202,
430,
261,
4963,
2
] |
return new StringBuffer(XML_DECLARATION)
|
StringBuffer result = new StringBuffer(XML_DECLARATION)
|
private StringBuffer getXSLTBase() { return new StringBuffer(XML_DECLARATION) .append(XSLT_START); }
|
8367 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8367/3bdd3a3b81be7d5eb7106026472d1d5494de51aa/SimpleXpathEngine.java/clean/xmlunit/src/java/org/custommonkey/xmlunit/SimpleXpathEngine.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
6674,
6538,
4559,
56,
2171,
1435,
288,
3639,
6674,
563,
273,
394,
6674,
12,
4201,
67,
23956,
985,
2689,
13,
5411,
263,
6923,
12,
60,
4559,
56,
67,
7570,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
6674,
6538,
4559,
56,
2171,
1435,
288,
3639,
6674,
563,
273,
394,
6674,
12,
4201,
67,
23956,
985,
2689,
13,
5411,
263,
6923,
12,
60,
4559,
56,
67,
7570,
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
] |
.setModifiedStatus(true);
|
.getMartBuilder().showStackTrace(t);
|
public void run() { // Reinstate the tab for the individual schema. SchemaTabSet.this.addSchemaTab(schema); // If the group is now empty, remove the tab for it. if (schemaGroup.getSchemas().size() == 0) SchemaTabSet.this.removeSchemaTab(schemaGroup); // Recalculate the overview diagram. SchemaTabSet.this.recalculateOverviewDiagram(); // Set the dataset tabset status as modified. SchemaTabSet.this.martTab.getMartTabSet() .setModifiedStatus(true); }
|
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/c76d481210454f27e1173655b5a81de5e759e689/SchemaTabSet.java/clean/src/java/org/biomart/builder/view/gui/SchemaTabSet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
9944,
202,
482,
918,
1086,
1435,
288,
6862,
1082,
202,
759,
868,
267,
2019,
326,
3246,
364,
326,
7327,
1963,
18,
6862,
1082,
202,
3078,
5661,
694,
18,
2211,
18,
1289,
3078,
5661,
12,
4821,
1769,
6862,
1082,
202,
759,
971,
326,
1041,
353,
2037,
1008,
16,
1206,
326,
3246,
364,
518,
18,
6862,
1082,
202,
430,
261,
4821,
1114,
18,
588,
16749,
7675,
1467,
1435,
422,
374,
13,
6862,
9506,
202,
3078,
5661,
694,
18,
2211,
18,
4479,
3078,
5661,
12,
4821,
1114,
1769,
6862,
1082,
202,
759,
868,
11162,
326,
18471,
19750,
18,
6862,
1082,
202,
3078,
5661,
694,
18,
2211,
18,
266,
11162,
26648,
14058,
1940,
5621,
6862,
1082,
202,
759,
1000,
326,
3709,
3246,
542,
1267,
487,
4358,
18,
6862,
1082,
202,
3078,
5661,
694,
18,
2211,
18,
81,
485,
5661,
18,
588,
49,
485,
5661,
694,
1435,
6862,
6862,
202,
18,
542,
4575,
1482,
12,
3767,
1769,
25083,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
9944,
202,
482,
918,
1086,
1435,
288,
6862,
1082,
202,
759,
868,
267,
2019,
326,
3246,
364,
326,
7327,
1963,
18,
6862,
1082,
202,
3078,
5661,
694,
18,
2211,
18,
1289,
3078,
5661,
12,
4821,
1769,
6862,
1082,
202,
759,
971,
326,
1041,
353,
2037,
1008,
16,
1206,
326,
3246,
364,
518,
18,
6862,
1082,
202,
430,
261,
4821,
1114,
18,
588,
16749,
7675,
1467,
1435,
422,
374,
13,
6862,
9506,
202,
3078,
5661,
694,
18,
2211,
18,
4479,
3078,
5661,
12,
4821,
1114,
1769,
6862,
1082,
202,
759,
868,
11162,
326,
18471,
19750,
18,
6862,
1082,
202,
3078,
5661,
694,
18,
2211,
18,
266,
11162,
26648,
14058,
1940,
5621,
6862,
1082,
202,
759,
1000,
326,
3709,
3246,
542,
2
] |
public void printPackageDeclaration(JSourceWriter jsw) {
|
public final void printPackageDeclaration(final JSourceWriter jsw) {
|
public void printPackageDeclaration(JSourceWriter jsw) { if (jsw == null) { throw new IllegalArgumentException("argument 'jsw' should not be null."); } //-- print package name if ((packageName != null) && (packageName.length() > 0)) { jsw.write("package "); jsw.write(packageName); jsw.writeln(';'); jsw.writeln(); } jsw.flush(); } //-- printPackageDeclaration
|
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/34c708e3c0e8dd4b42534f5834f9a280e0c9968b/JStructure.java/buggy/castor/trunk/src/main/java/org/exolab/javasource/JStructure.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
1172,
2261,
6094,
12,
6385,
804,
1830,
2289,
3828,
91,
13,
288,
3639,
309,
261,
2924,
91,
422,
446,
13,
288,
5411,
604,
394,
2754,
2932,
3446,
296,
2924,
91,
11,
1410,
486,
506,
446,
1199,
1769,
3639,
289,
7734,
368,
413,
1172,
2181,
508,
3639,
309,
14015,
5610,
461,
480,
446,
13,
597,
261,
5610,
461,
18,
2469,
1435,
405,
374,
3719,
288,
5411,
3828,
91,
18,
2626,
2932,
5610,
315,
1769,
5411,
3828,
91,
18,
2626,
12,
5610,
461,
1769,
5411,
3828,
91,
18,
5363,
292,
82,
2668,
4359,
1769,
5411,
3828,
91,
18,
5363,
292,
82,
5621,
3639,
289,
3639,
3828,
91,
18,
11330,
5621,
565,
289,
368,
413,
1172,
2261,
6094,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
1172,
2261,
6094,
12,
6385,
804,
1830,
2289,
3828,
91,
13,
288,
3639,
309,
261,
2924,
91,
422,
446,
13,
288,
5411,
604,
394,
2754,
2932,
3446,
296,
2924,
91,
11,
1410,
486,
506,
446,
1199,
1769,
3639,
289,
7734,
368,
413,
1172,
2181,
508,
3639,
309,
14015,
5610,
461,
480,
446,
13,
597,
261,
5610,
461,
18,
2469,
1435,
405,
374,
3719,
288,
5411,
3828,
91,
18,
2626,
2932,
5610,
315,
1769,
5411,
3828,
91,
18,
2626,
12,
5610,
461,
1769,
5411,
3828,
91,
18,
5363,
292,
82,
2668,
4359,
1769,
5411,
3828,
91,
18,
5363,
292,
82,
5621,
3639,
289,
3639,
3828,
91,
18,
11330,
5621,
565,
289,
368,
413,
1172,
2261,
6094,
2
] |
public UndoableEditSupport() { }
|
public UndoableEditSupport() { realSource = this; }
|
public UndoableEditSupport() { // TODO } // UndoableEditSupport()
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f03053e30bf23122f89e48e88064677b27fdd7c/UndoableEditSupport.java/buggy/core/src/classpath/javax/javax/swing/undo/UndoableEditSupport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1351,
2896,
429,
4666,
6289,
1435,
288,
202,
202,
759,
2660,
202,
97,
368,
1351,
2896,
429,
4666,
6289,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1351,
2896,
429,
4666,
6289,
1435,
288,
202,
202,
759,
2660,
202,
97,
368,
1351,
2896,
429,
4666,
6289,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
calcRect.height -= tabAreaInsets.top + tabAreaInsets.bottom; max = calcRect.height + tabAreaInsets.top; int height = 0; start = tabAreaInsets.top + insets.top; int runHeight = start; int fontHeight = fm.getHeight(); top = insets.left + tabAreaInsets.left; for (int i = 0; i < tabCount; i++) { height = calculateTabHeight(tabPlacement, i, fontHeight); rects[i] = new Rectangle(top, runHeight, maxWidth, height); runHeight += height; } tabAreaRect.width = runs * maxTabWidth - (runs - 1) * tabRunOverlay + tabAreaInsets.left + tabAreaInsets.right; tabAreaRect.height = tabPane.getHeight() - insets.top - insets.bottom; tabAreaRect.y = insets.top; contentRect.width = tabPane.getWidth() - insets.left - insets.right - tabAreaRect.width; contentRect.height = tabAreaRect.height; contentRect.y = insets.top; if (tabPlacement == SwingConstants.LEFT) { tabAreaRect.x = insets.left; contentRect.x = tabAreaRect.x + tabAreaRect.width; } else { contentRect.x = insets.left; tabAreaRect.x = contentRect.x + contentRect.width; }
|
calcRect.height -= tabAreaInsets.top + tabAreaInsets.bottom; max = calcRect.height + tabAreaInsets.top; int height = 0; start = tabAreaInsets.top + insets.top; int runHeight = start; int fontHeight = fm.getHeight(); top = insets.left + tabAreaInsets.left; for (int i = 0; i < tabCount; i++) { height = calculateTabHeight(tabPlacement, i, fontHeight); rects[i] = new Rectangle(top, runHeight, maxWidth, height); runHeight += height; } tabAreaRect.width = runs * maxTabWidth - (runs - 1) * tabRunOverlay + tabAreaInsets.left + tabAreaInsets.right; tabAreaRect.height = tabPane.getHeight() - insets.top - insets.bottom; tabAreaRect.y = insets.top; contentRect.width = tabPane.getWidth() - insets.left - insets.right - tabAreaRect.width; contentRect.height = tabAreaRect.height; contentRect.y = insets.top; if (tabPlacement == SwingConstants.LEFT) { tabAreaRect.x = insets.left; contentRect.x = tabAreaRect.x + tabAreaRect.width; } else { contentRect.x = insets.left; tabAreaRect.x = contentRect.x + contentRect.width; }
|
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; assureRectsCreated(tabCount); FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); int max = 0; int runs = 1; int start = 0; int top = 0; if (tabPlacement == SwingConstants.TOP || tabPlacement == SwingConstants.BOTTOM) { int maxHeight = calculateMaxTabHeight(tabPlacement); calcRect.width -= tabAreaInsets.left + tabAreaInsets.right; max = calcRect.width + tabAreaInsets.left + insets.left; start = tabAreaInsets.left + insets.left; int width = 0; int runWidth = start; top = insets.top + tabAreaInsets.top; for (int i = 0; i < tabCount; i++) { width = calculateTabWidth(tabPlacement, i, fm); rects[i] = new Rectangle(runWidth, top, width, maxHeight); runWidth += width; } tabAreaRect.width = tabPane.getWidth() - insets.left - insets.right; tabAreaRect.height = runs * maxTabHeight - (runs - 1) * tabRunOverlay + tabAreaInsets.top + tabAreaInsets.bottom; contentRect.width = tabAreaRect.width; contentRect.height = tabPane.getHeight() - insets.top - insets.bottom - tabAreaRect.height; contentRect.x = insets.left; tabAreaRect.x = insets.left; if (tabPlacement == SwingConstants.BOTTOM) { contentRect.y = insets.top; tabAreaRect.y = contentRect.y + contentRect.height; } else { tabAreaRect.y = insets.top; contentRect.y = tabAreaRect.y + tabAreaRect.height; } } else { int maxWidth = calculateMaxTabWidth(tabPlacement); calcRect.height -= tabAreaInsets.top + tabAreaInsets.bottom; max = calcRect.height + tabAreaInsets.top; int height = 0; start = tabAreaInsets.top + insets.top; int runHeight = start; int fontHeight = fm.getHeight(); top = insets.left + tabAreaInsets.left; for (int i = 0; i < tabCount; i++) { height = calculateTabHeight(tabPlacement, i, fontHeight); rects[i] = new Rectangle(top, runHeight, maxWidth, height); runHeight += height; } tabAreaRect.width = runs * maxTabWidth - (runs - 1) * tabRunOverlay + tabAreaInsets.left + tabAreaInsets.right; tabAreaRect.height = tabPane.getHeight() - insets.top - insets.bottom; tabAreaRect.y = insets.top; contentRect.width = tabPane.getWidth() - insets.left - insets.right - tabAreaRect.width; contentRect.height = tabAreaRect.height; contentRect.y = insets.top; if (tabPlacement == SwingConstants.LEFT) { tabAreaRect.x = insets.left; contentRect.x = tabAreaRect.x + tabAreaRect.width; } else { contentRect.x = insets.left; tabAreaRect.x = contentRect.x + contentRect.width; } } runCount = runs; padSelectedTab(tabPlacement, tabPane.getSelectedIndex()); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4604,
5661,
6120,
87,
12,
474,
3246,
12420,
16,
509,
3246,
1380,
13,
565,
288,
1377,
309,
261,
7032,
1380,
422,
374,
13,
202,
2463,
31,
1377,
1551,
594,
6120,
87,
6119,
12,
7032,
1380,
1769,
1377,
10063,
5653,
10940,
273,
18776,
5653,
5621,
1377,
26145,
11864,
18,
11162,
2857,
5484,
12,
7032,
8485,
16,
7029,
6120,
1769,
1377,
22300,
3246,
5484,
382,
4424,
273,
3181,
378,
5484,
382,
4424,
12,
7032,
12420,
1769,
1377,
22300,
23576,
273,
3246,
8485,
18,
588,
382,
4424,
5621,
1377,
509,
943,
273,
374,
31,
1377,
509,
7597,
273,
404,
31,
1377,
509,
787,
273,
374,
31,
1377,
509,
1760,
273,
374,
31,
1377,
309,
261,
7032,
12420,
422,
26145,
2918,
18,
10462,
1850,
747,
3246,
12420,
422,
26145,
2918,
18,
28891,
13,
3639,
288,
202,
225,
509,
23185,
273,
4604,
2747,
5661,
2686,
12,
7032,
12420,
1769,
202,
225,
7029,
6120,
18,
2819,
3947,
3246,
5484,
382,
4424,
18,
4482,
397,
3246,
5484,
382,
4424,
18,
4083,
31,
202,
225,
943,
273,
7029,
6120,
18,
2819,
397,
3246,
5484,
382,
4424,
18,
4482,
397,
23576,
18,
4482,
31,
202,
225,
787,
273,
3246,
5484,
382,
4424,
18,
4482,
397,
23576,
18,
4482,
31,
202,
225,
509,
1835,
273,
374,
31,
202,
225,
509,
1086,
2384,
273,
787,
31,
202,
225,
1760,
273,
23576,
18,
3669,
397,
3246,
5484,
382,
4424,
18,
3669,
31,
202,
225,
364,
261,
474,
277,
273,
374,
31,
277,
411,
3246,
1380,
31,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4604,
5661,
6120,
87,
12,
474,
3246,
12420,
16,
509,
3246,
1380,
13,
565,
288,
1377,
309,
261,
7032,
1380,
422,
374,
13,
202,
2463,
31,
1377,
1551,
594,
6120,
87,
6119,
12,
7032,
1380,
1769,
1377,
10063,
5653,
10940,
273,
18776,
5653,
5621,
1377,
26145,
11864,
18,
11162,
2857,
5484,
12,
7032,
8485,
16,
7029,
6120,
1769,
1377,
22300,
3246,
5484,
382,
4424,
273,
3181,
378,
5484,
382,
4424,
12,
7032,
12420,
1769,
1377,
22300,
23576,
273,
3246,
8485,
18,
588,
382,
4424,
5621,
1377,
509,
943,
273,
374,
31,
1377,
509,
7597,
273,
404,
31,
1377,
509,
787,
273,
374,
31,
1377,
509,
1760,
273,
374,
31,
1377,
309,
261,
7032,
12420,
422,
26145,
2
] |
public int compare(Object a, Object b) { String as = a.toString(); String bs = b.toString(); return BioStore.STRING_CASE_SENSITIVE_ORDER.compare(as, bs); }
|
50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/8c859899318b2f7c9b731215c4a1de11f39e2f13/SecondaryFileAsList.java/buggy/src/org/biojava/bio/program/indexdb/SecondaryFileAsList.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
3400,
12,
921,
279,
16,
1033,
324,
13,
288,
1377,
514,
487,
273,
279,
18,
10492,
5621,
1377,
514,
7081,
273,
324,
18,
10492,
5621,
5411,
327,
21209,
2257,
18,
5804,
67,
13415,
67,
26753,
16325,
67,
7954,
18,
9877,
12,
345,
16,
7081,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
3400,
12,
921,
279,
16,
1033,
324,
13,
288,
1377,
514,
487,
273,
279,
18,
10492,
5621,
1377,
514,
7081,
273,
324,
18,
10492,
5621,
5411,
327,
21209,
2257,
18,
5804,
67,
13415,
67,
26753,
16325,
67,
7954,
18,
9877,
12,
345,
16,
7081,
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
] |
||
String newId = null; if (newPart != null) newId = newPart.getSite().getId();
|
String newId = newPart.getSite().getId();
|
public void updateActivePart(IWorkbenchPart newPart) { if (activePart == newPart) return; boolean isNewPartAnEditor = newPart instanceof IEditorPart; if (isNewPartAnEditor) { String oldId = null; if (topEditor != null) oldId = topEditor.getSite().getId(); String newId = null; if (newPart != null) newId = newPart.getSite().getId(); // remove the contributions of the old editor if (oldId != null && !oldId.equals(newId)) deactivateContributions(topEditor, true); // show the contributions of the new editor activateContributions(newPart, true); // if a view was the active part, disable its contributions if (activePart != null && activePart != topEditor) deactivateContributions(activePart, true); } else { // new active part is a view or null if (activePart != null) deactivateContributions(activePart, activePart instanceof IViewPart); if (newPart != null) activateContributions(newPart, true); } ArrayList newActionSets = null; if (isNewPartAnEditor) newActionSets = calculateActionSets(newPart, null); else newActionSets = calculateActionSets(newPart, topEditor); if (!updateActionSets(newActionSets)); updateActionBars(); activePart = newPart; if (isNewPartAnEditor) topEditor = (IEditorPart)newPart; }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/686c4616f9a914bdf7210a54803a9e230244084e/WorkbenchPage.java/clean/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1089,
3896,
1988,
12,
45,
2421,
22144,
1988,
394,
1988,
13,
288,
1082,
202,
430,
261,
3535,
1988,
422,
394,
1988,
13,
9506,
202,
2463,
31,
6862,
1082,
202,
6494,
10783,
1988,
979,
6946,
273,
394,
1988,
1276,
467,
6946,
1988,
31,
1082,
202,
430,
261,
291,
1908,
1988,
979,
6946,
13,
288,
9506,
202,
780,
1592,
548,
273,
446,
31,
9506,
202,
430,
261,
3669,
6946,
480,
446,
13,
6862,
202,
1673,
548,
273,
1760,
6946,
18,
588,
4956,
7675,
26321,
5621,
9506,
202,
780,
27598,
273,
446,
31,
9506,
202,
430,
261,
2704,
1988,
480,
446,
13,
6862,
202,
2704,
548,
273,
394,
1988,
18,
588,
4956,
7675,
26321,
5621,
6862,
9506,
202,
759,
1206,
326,
225,
13608,
6170,
434,
326,
1592,
4858,
9506,
202,
430,
261,
1673,
548,
480,
446,
597,
401,
1673,
548,
18,
14963,
12,
2704,
548,
3719,
4405,
202,
323,
10014,
442,
15326,
12,
3669,
6946,
16,
638,
1769,
6862,
6862,
202,
759,
2405,
326,
13608,
6170,
434,
326,
394,
4858,
9506,
202,
10014,
442,
15326,
12,
2704,
1988,
16,
638,
1769,
6862,
9506,
202,
759,
309,
279,
1476,
1703,
326,
2695,
1087,
16,
4056,
2097,
13608,
6170,
9506,
202,
430,
261,
3535,
1988,
480,
446,
597,
2695,
1988,
480,
1760,
6946,
13,
6862,
202,
323,
10014,
442,
15326,
12,
3535,
1988,
16,
638,
1769,
1082,
202,
97,
469,
288,
9506,
202,
759,
394,
2695,
1087,
353,
279,
1476,
578,
446,
9506,
202,
430,
261,
3535,
1988,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1089,
3896,
1988,
12,
45,
2421,
22144,
1988,
394,
1988,
13,
288,
1082,
202,
430,
261,
3535,
1988,
422,
394,
1988,
13,
9506,
202,
2463,
31,
6862,
1082,
202,
6494,
10783,
1988,
979,
6946,
273,
394,
1988,
1276,
467,
6946,
1988,
31,
1082,
202,
430,
261,
291,
1908,
1988,
979,
6946,
13,
288,
9506,
202,
780,
1592,
548,
273,
446,
31,
9506,
202,
430,
261,
3669,
6946,
480,
446,
13,
6862,
202,
1673,
548,
273,
1760,
6946,
18,
588,
4956,
7675,
26321,
5621,
9506,
202,
780,
27598,
273,
446,
31,
9506,
202,
430,
261,
2704,
1988,
480,
446,
13,
6862,
202,
2704,
548,
273,
394,
1988,
18,
588,
4956,
7675,
26321,
5621,
6862,
9506,
202,
2
] |
String jndiProperties = cfg.getInitParameter(JNDI_PROPERTIES_KEY); String jndiAddress = cfg.getInitParameter(JNDI_ADDRESS_KEY); this.user = cfg.getInitParameter(USER_KEY); this.password = cfg.getInitParameter(PASSWORD_KEY);
|
String jndiProperties = cfg.getInitParameter(JNDI_PROPERTIES_KEY); String jndiAddress = cfg.getInitParameter(JNDI_ADDRESS_KEY); this.user = cfg.getInitParameter(USER_KEY); this.password = cfg.getInitParameter(PASSWORD_KEY); this.successMessageKey = cfg.getInitParameter(SUCCESS_MESSAGE_KEY);
|
public void init(ServletConfig cfg) throws ServletException { super.init(cfg); String jndiProperties = cfg.getInitParameter(JNDI_PROPERTIES_KEY); String jndiAddress = cfg.getInitParameter(JNDI_ADDRESS_KEY); this.user = cfg.getInitParameter(USER_KEY); this.password = cfg.getInitParameter(PASSWORD_KEY); try { // parse catalog ConfigParser parser = new ConfigParser(); parser.parse(JcrCommandServlet.class.getClassLoader().getResource( cfg.getInitParameter(CATALOG_KEY))); catalog = CatalogFactoryBase.getInstance().getCatalog(); // get repository InputStream is = new ByteArrayInputStream(jndiProperties .getBytes("UTF-8")); Properties props = new Properties(); props.load(is); InitialContext ctx = new InitialContext(props); this.repository = (Repository) ctx.lookup(jndiAddress); } catch (Exception e) { String msg = "unable to get repository through jndi"; log.error(msg, e); throw new ServletException(msg, e); } }
|
49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/816bd895f60b69e0318496dbce31bfa4b115029d/JcrCommandServlet.java/clean/contrib/jcr-commands/src/java/org/apache/jackrabbit/command/web/JcrCommandServlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1208,
12,
4745,
809,
2776,
13,
1216,
16517,
288,
202,
202,
9565,
18,
2738,
12,
7066,
1769,
202,
202,
780,
525,
16564,
2297,
273,
2776,
18,
588,
2570,
1662,
12,
46,
24513,
67,
17421,
67,
3297,
1769,
202,
202,
780,
525,
16564,
1887,
273,
2776,
18,
588,
2570,
1662,
12,
46,
24513,
67,
15140,
67,
3297,
1769,
202,
202,
2211,
18,
1355,
273,
2776,
18,
588,
2570,
1662,
12,
4714,
67,
3297,
1769,
202,
202,
2211,
18,
3664,
273,
2776,
18,
588,
2570,
1662,
12,
13784,
67,
3297,
1769,
202,
202,
698,
288,
1082,
202,
759,
1109,
6222,
1082,
202,
809,
2678,
2082,
273,
394,
25076,
5621,
1082,
202,
4288,
18,
2670,
12,
46,
3353,
2189,
4745,
18,
1106,
18,
588,
7805,
7675,
588,
1420,
12,
6862,
202,
7066,
18,
588,
2570,
1662,
12,
14130,
18683,
67,
3297,
3719,
1769,
1082,
202,
7199,
273,
14953,
1733,
2171,
18,
588,
1442,
7675,
588,
9769,
5621,
1082,
202,
759,
336,
3352,
1082,
202,
4348,
353,
273,
394,
16180,
12,
78,
16564,
2297,
6862,
202,
18,
588,
2160,
2932,
5159,
17,
28,
7923,
1769,
1082,
202,
2297,
3458,
273,
394,
6183,
5621,
1082,
202,
9693,
18,
945,
12,
291,
1769,
1082,
202,
4435,
1042,
1103,
273,
394,
10188,
1042,
12,
9693,
1769,
1082,
202,
2211,
18,
9071,
273,
261,
3305,
13,
1103,
18,
8664,
12,
78,
16564,
1887,
1769,
202,
202,
97,
1044,
261,
503,
425,
13,
288,
1082,
202,
780,
1234,
273,
315,
18828,
358,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1208,
12,
4745,
809,
2776,
13,
1216,
16517,
288,
202,
202,
9565,
18,
2738,
12,
7066,
1769,
202,
202,
780,
525,
16564,
2297,
273,
2776,
18,
588,
2570,
1662,
12,
46,
24513,
67,
17421,
67,
3297,
1769,
202,
202,
780,
525,
16564,
1887,
273,
2776,
18,
588,
2570,
1662,
12,
46,
24513,
67,
15140,
67,
3297,
1769,
202,
202,
2211,
18,
1355,
273,
2776,
18,
588,
2570,
1662,
12,
4714,
67,
3297,
1769,
202,
202,
2211,
18,
3664,
273,
2776,
18,
588,
2570,
1662,
12,
13784,
67,
3297,
1769,
202,
202,
698,
288,
1082,
202,
759,
1109,
6222,
1082,
202,
809,
2678,
2082,
273,
394,
25076,
5621,
1082,
202,
4288,
18,
2670,
12,
46,
3353,
2
] |
fCurrentSchemaURI = -1;
|
fCurrentSchemaURI = StringPool.EMPTY_STRING;
|
private void resetCommon(StringPool stringPool) throws Exception { fStringPool = stringPool; fValidating = fValidationEnabled; fValidationEnabledByDynamic = false; fDynamicDisabledByValidation = false; poolReset(); fCalledStartDocument = false; fStandaloneReader = -1; fElementChildrenLength = 0; fElementDepth = -1; fSeenRootElement = false; fSeenDoctypeDecl = false; fNamespacesScope = null; fNamespacesPrefix = -1; fRootElement.clear(); fAttrListHandle = -1; fCheckedForSchema = false; fCurrentScope = TOP_LEVEL_SCOPE; fCurrentSchemaURI = -1; fEmptyURI = StringPool.EMPTY_STRING; fXsiPrefix = - 1; fXsiTypeValidator = null; fGrammar = null; fGrammarNameSpaceIndex = StringPool.EMPTY_STRING; //fGrammarResolver = null; if (fGrammarResolver != null) { fGrammarResolver.clearGrammarResolver(); //This also clears the Datatype registry } fGrammarIsDTDGrammar = false; fGrammarIsSchemaGrammar = false; //Normalization fCurrentDV = null; fFirstChunk = true; fTrailing = false; fWhiteSpace = DatatypeValidator.COLLAPSE; fMatcherStack.clear(); init(); } // resetCommon(StringPool)
|
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/d840ff3f0b756725e48caa1dea239866560fb116/XMLValidator.java/buggy/src/org/apache/xerces/validators/common/XMLValidator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
918,
2715,
6517,
12,
780,
2864,
533,
2864,
13,
1216,
1185,
288,
1377,
284,
780,
2864,
273,
533,
2864,
31,
1377,
284,
31496,
273,
284,
4354,
1526,
31,
1377,
284,
4354,
1526,
858,
9791,
273,
629,
31,
1377,
284,
9791,
8853,
858,
4354,
273,
629,
31,
1377,
2845,
7013,
5621,
1377,
284,
8185,
1685,
2519,
273,
629,
31,
1377,
284,
20612,
12451,
2514,
273,
300,
21,
31,
1377,
284,
1046,
4212,
1782,
273,
374,
31,
1377,
284,
1046,
6148,
273,
300,
21,
31,
1377,
284,
15160,
2375,
1046,
273,
629,
31,
1377,
284,
15160,
3244,
12387,
3456,
273,
629,
31,
1377,
284,
13180,
3876,
273,
446,
31,
1377,
284,
13180,
2244,
273,
300,
21,
31,
1377,
284,
2375,
1046,
18,
8507,
5621,
1377,
284,
3843,
682,
3259,
273,
300,
21,
31,
1377,
284,
11454,
1290,
3078,
273,
629,
31,
1377,
284,
3935,
3876,
273,
18680,
67,
10398,
67,
19444,
31,
1377,
284,
3935,
3078,
3098,
273,
514,
2864,
18,
13625,
67,
5804,
31,
1377,
284,
1921,
3098,
273,
514,
2864,
18,
13625,
67,
5804,
31,
4202,
284,
60,
7722,
2244,
273,
300,
404,
31,
1377,
284,
60,
7722,
559,
5126,
273,
446,
31,
1377,
284,
18576,
273,
446,
31,
1377,
284,
18576,
26857,
1016,
273,
514,
2864,
18,
13625,
67,
5804,
31,
1377,
368,
74,
18576,
4301,
273,
446,
31,
1377,
309,
261,
74,
18576,
4301,
480,
446,
13,
288,
540,
284,
18576,
4301,
18,
8507,
18576,
4301,
5621,
368,
2503,
2546,
22655,
326,
21168,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
918,
2715,
6517,
12,
780,
2864,
533,
2864,
13,
1216,
1185,
288,
1377,
284,
780,
2864,
273,
533,
2864,
31,
1377,
284,
31496,
273,
284,
4354,
1526,
31,
1377,
284,
4354,
1526,
858,
9791,
273,
629,
31,
1377,
284,
9791,
8853,
858,
4354,
273,
629,
31,
1377,
2845,
7013,
5621,
1377,
284,
8185,
1685,
2519,
273,
629,
31,
1377,
284,
20612,
12451,
2514,
273,
300,
21,
31,
1377,
284,
1046,
4212,
1782,
273,
374,
31,
1377,
284,
1046,
6148,
273,
300,
21,
31,
1377,
284,
15160,
2375,
1046,
273,
629,
31,
1377,
284,
15160,
3244,
12387,
3456,
273,
629,
31,
1377,
284,
13180,
3876,
273,
446,
31,
1377,
284,
13180,
2244,
273,
300,
21,
31,
1377,
284,
2
] |
this.resultTreeModel = results.getTreeModel(); this.resultTreeRoot = (DefaultMutableTreeNode)resultTreeModel .getRoot();
|
this.searchString = SearchAndReplace.getSearchString(); this.rootSearchNode = new DefaultMutableTreeNode(searchString);
|
public HyperSearchRequest(View view, SearchMatcher matcher, HyperSearchResults results, Selection[] selection) { this.view = view; this.matcher = matcher; this.results = results; this.resultTreeModel = results.getTreeModel(); this.resultTreeRoot = (DefaultMutableTreeNode)resultTreeModel .getRoot(); this.selection = selection; } //}}}
|
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/382bbfe1d5b5bb1a8d3ad0f2d76a2f93cf3a1d1f/HyperSearchRequest.java/clean/org/gjt/sp/jedit/search/HyperSearchRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
18274,
2979,
691,
12,
1767,
1476,
16,
5167,
6286,
4546,
16,
202,
202,
15996,
2979,
3447,
1686,
16,
12977,
8526,
4421,
13,
202,
95,
202,
202,
2211,
18,
1945,
273,
1476,
31,
202,
202,
2211,
18,
22761,
273,
4546,
31,
202,
202,
2211,
18,
4717,
273,
1686,
31,
202,
202,
2211,
18,
2088,
2471,
1488,
273,
1686,
18,
588,
2471,
1488,
5621,
202,
202,
2211,
18,
2088,
2471,
2375,
273,
261,
1868,
19536,
12513,
13,
2088,
2471,
1488,
1082,
202,
18,
588,
2375,
5621,
202,
202,
2211,
18,
10705,
273,
4421,
31,
202,
97,
368,
9090,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
18274,
2979,
691,
12,
1767,
1476,
16,
5167,
6286,
4546,
16,
202,
202,
15996,
2979,
3447,
1686,
16,
12977,
8526,
4421,
13,
202,
95,
202,
202,
2211,
18,
1945,
273,
1476,
31,
202,
202,
2211,
18,
22761,
273,
4546,
31,
202,
202,
2211,
18,
4717,
273,
1686,
31,
202,
202,
2211,
18,
2088,
2471,
1488,
273,
1686,
18,
588,
2471,
1488,
5621,
202,
202,
2211,
18,
2088,
2471,
2375,
273,
261,
1868,
19536,
12513,
13,
2088,
2471,
1488,
1082,
202,
18,
588,
2375,
5621,
202,
202,
2211,
18,
10705,
273,
4421,
31,
202,
97,
368,
9090,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
constraints.gridheight =
|
constraints.gridheight =
|
protected GridBagConstraints buildConstraints(Element current) { GridBagConstraints constraints = new GridBagConstraints(); CustomInsets inset = new CustomInsets(current.getAttribute("insets")); constraints.weightx = parseWeightConstant(current.getAttribute("weightx")); constraints.weighty = parseWeightConstant(current.getAttribute("weighty")); // fill constraints.fill = parseFillConstant(current.getAttribute("fill")); constraints.gridwidth = parseGridConstant(current.getAttribute("gridwidth")); constraints.gridheight = parseGridConstant(current.getAttribute("gridheight")); constraints.insets = inset; return constraints; }
|
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/3cd6e9d81112e3ab17a910eaef36b9e56b2a8b6a/XMLPageBuilder.java/buggy/grendel/sources/grendel/ui/XMLPageBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
13075,
1361,
4878,
12,
1046,
783,
13,
288,
565,
13075,
6237,
273,
394,
13075,
5621,
565,
6082,
382,
4424,
316,
542,
273,
4202,
394,
6082,
382,
4424,
12,
2972,
18,
588,
1499,
2932,
267,
4424,
7923,
1769,
565,
6237,
18,
4865,
92,
273,
4202,
1109,
6544,
6902,
12,
2972,
18,
588,
1499,
2932,
4865,
92,
7923,
1769,
3639,
6237,
18,
4865,
93,
273,
4202,
1109,
6544,
6902,
12,
2972,
18,
588,
1499,
2932,
4865,
93,
7923,
1769,
3639,
368,
3636,
565,
6237,
18,
5935,
273,
1109,
8026,
6902,
12,
2972,
18,
588,
1499,
2932,
5935,
7923,
1769,
3639,
6237,
18,
5222,
2819,
273,
4202,
1109,
6313,
6902,
12,
2972,
18,
588,
1499,
2932,
5222,
2819,
7923,
1769,
3639,
6237,
18,
5222,
4210,
273,
4202,
1109,
6313,
6902,
12,
2972,
18,
588,
1499,
2932,
5222,
4210,
7923,
1769,
3639,
6237,
18,
267,
4424,
273,
316,
542,
31,
3639,
327,
6237,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
13075,
1361,
4878,
12,
1046,
783,
13,
288,
565,
13075,
6237,
273,
394,
13075,
5621,
565,
6082,
382,
4424,
316,
542,
273,
4202,
394,
6082,
382,
4424,
12,
2972,
18,
588,
1499,
2932,
267,
4424,
7923,
1769,
565,
6237,
18,
4865,
92,
273,
4202,
1109,
6544,
6902,
12,
2972,
18,
588,
1499,
2932,
4865,
92,
7923,
1769,
3639,
6237,
18,
4865,
93,
273,
4202,
1109,
6544,
6902,
12,
2972,
18,
588,
1499,
2932,
4865,
93,
7923,
1769,
3639,
368,
3636,
565,
6237,
18,
5935,
273,
1109,
8026,
6902,
12,
2972,
18,
588,
1499,
2932,
5935,
7923,
1769,
3639,
6237,
18,
5222,
2819,
273,
4202,
1109,
6313,
6902,
12,
2972,
18,
588,
1499,
2932,
5222,
2819,
7923,
1769,
2
] |
options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_WITHIN_MESSAGE_SEND, JavaCore.INSERT);
|
options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_MESSAGE_SEND, JavaCore.INSERT); options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_MESSAGE_SEND, JavaCore.INSERT);
|
public void test421() { Map options = DefaultCodeFormatterConstants.getDefaultSettings(); options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_WITHIN_MESSAGE_SEND, JavaCore.INSERT); options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_MESSAGESEND_ARGUMENTS, JavaCore.DO_NOT_INSERT); options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_ARGUMENTS, JavaCore.DO_NOT_INSERT); DefaultCodeFormatterOptions preferences = new DefaultCodeFormatterOptions(options); DefaultCodeFormatter codeFormatter = new DefaultCodeFormatter(preferences); runTest(codeFormatter, "test421", "A.java", CodeFormatter.K_COMPILATION_UNIT);//$NON-NLS-1$ //$NON-NLS-2$ }
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/47b4b871bf6d388352229c39f2d0357c2b36e470/FormatterRegressionTests.java/buggy/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/formatter/FormatterRegressionTests.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
24,
5340,
1435,
288,
202,
202,
863,
702,
273,
2989,
1085,
5074,
2918,
18,
588,
1868,
2628,
5621,
202,
202,
2116,
18,
458,
12,
1868,
1085,
5074,
2918,
18,
7254,
2560,
67,
11356,
67,
6616,
67,
9147,
706,
67,
8723,
67,
21675,
16,
5110,
4670,
18,
11356,
1769,
202,
202,
2116,
18,
458,
12,
1868,
1085,
5074,
2918,
18,
7254,
2560,
67,
11356,
67,
6616,
67,
38,
19311,
67,
13625,
67,
8723,
21675,
67,
18311,
55,
16,
5110,
4670,
18,
3191,
67,
4400,
67,
11356,
1769,
202,
202,
2116,
18,
458,
12,
1868,
1085,
5074,
2918,
18,
7254,
2560,
67,
11356,
67,
6616,
67,
38,
19311,
67,
13625,
67,
18311,
55,
16,
5110,
4670,
18,
3191,
67,
4400,
67,
11356,
1769,
202,
202,
1868,
1085,
5074,
1320,
12750,
273,
394,
2989,
1085,
5074,
1320,
12,
2116,
1769,
202,
202,
1868,
1085,
5074,
981,
5074,
273,
394,
2989,
1085,
5074,
12,
23219,
1769,
202,
202,
2681,
4709,
12,
710,
5074,
16,
315,
3813,
24,
5340,
3113,
315,
37,
18,
6290,
3113,
3356,
5074,
18,
47,
67,
31075,
48,
2689,
67,
15736,
1769,
759,
8,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
24,
5340,
1435,
288,
202,
202,
863,
702,
273,
2989,
1085,
5074,
2918,
18,
588,
1868,
2628,
5621,
202,
202,
2116,
18,
458,
12,
1868,
1085,
5074,
2918,
18,
7254,
2560,
67,
11356,
67,
6616,
67,
9147,
706,
67,
8723,
67,
21675,
16,
5110,
4670,
18,
11356,
1769,
202,
202,
2116,
18,
458,
12,
1868,
1085,
5074,
2918,
18,
7254,
2560,
67,
11356,
67,
6616,
67,
38,
19311,
67,
13625,
67,
8723,
21675,
67,
18311,
55,
16,
5110,
4670,
18,
3191,
67,
4400,
67,
11356,
1769,
202,
202,
2116,
18,
458,
12,
1868,
1085,
5074,
2918,
18,
7254,
2560,
67,
11356,
67,
6616,
67,
38,
19311,
67,
13625,
67,
18311,
55,
16,
5110,
4670,
2
] |
CALL_BACK_HANDLER_SUFFIX,
|
CALL_BACK_HANDLER_SUFFIX,
|
protected Document createDOMDocumentForSkeleton(WSDLBinding binding) { WSDLInterface boundInterface = binding.getBoundInterface(); Document doc = getEmptyDocument();; Element rootElement = doc.createElement("interface"); addAttribute(doc, "package", configuration.getPackageName(), rootElement); addAttribute(doc, "name", boundInterface.getName().getLocalPart() + SERVICE_CLASS_SUFFIX, rootElement); addAttribute(doc, "callbackname", boundInterface.getName().getLocalPart() + CALL_BACK_HANDLER_SUFFIX, rootElement); fillSyncAttributes(doc, rootElement); loadOperations(boundInterface, doc, rootElement); doc.appendChild(rootElement); return doc; }
|
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/75a39e698ad064999b536c0847ee45b2f0a756cd/MultiLanguageClientEmitter.java/buggy/modules/wsdl/src/org/apache/axis2/wsdl/codegen/emitter/MultiLanguageClientEmitter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
4319,
752,
8168,
2519,
1290,
28070,
12,
2651,
8914,
5250,
5085,
13,
288,
3639,
30567,
1358,
2489,
1358,
273,
5085,
18,
588,
3499,
1358,
5621,
3639,
4319,
997,
273,
30824,
2519,
5621,
31,
3639,
3010,
27575,
273,
997,
18,
2640,
1046,
2932,
5831,
8863,
3639,
10759,
12,
2434,
16,
7734,
315,
5610,
3113,
7734,
1664,
18,
588,
18308,
9334,
7734,
27575,
1769,
3639,
10759,
12,
2434,
16,
7734,
315,
529,
3113,
7734,
2489,
1358,
18,
17994,
7675,
588,
2042,
1988,
1435,
397,
12828,
67,
5237,
67,
14964,
16,
7734,
27575,
1769,
3639,
10759,
12,
2434,
16,
7734,
315,
3394,
529,
3113,
7734,
2489,
1358,
18,
17994,
7675,
588,
2042,
1988,
1435,
397,
7734,
22753,
67,
8720,
67,
19937,
67,
14964,
16,
7734,
27575,
1769,
3639,
3636,
4047,
2498,
12,
2434,
16,
27575,
1769,
3639,
1262,
9343,
12,
3653,
1358,
16,
997,
16,
27575,
1769,
3639,
997,
18,
6923,
1763,
12,
3085,
1046,
1769,
3639,
327,
997,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
4319,
752,
8168,
2519,
1290,
28070,
12,
2651,
8914,
5250,
5085,
13,
288,
3639,
30567,
1358,
2489,
1358,
273,
5085,
18,
588,
3499,
1358,
5621,
3639,
4319,
997,
273,
30824,
2519,
5621,
31,
3639,
3010,
27575,
273,
997,
18,
2640,
1046,
2932,
5831,
8863,
3639,
10759,
12,
2434,
16,
7734,
315,
5610,
3113,
7734,
1664,
18,
588,
18308,
9334,
7734,
27575,
1769,
3639,
10759,
12,
2434,
16,
7734,
315,
529,
3113,
7734,
2489,
1358,
18,
17994,
7675,
588,
2042,
1988,
1435,
397,
12828,
67,
5237,
67,
14964,
16,
7734,
27575,
1769,
3639,
10759,
12,
2434,
16,
7734,
315,
3394,
529,
3113,
7734,
2489,
1358,
18,
17994,
7675,
588,
2042,
1988,
1435,
397,
7734,
22753,
67,
8720,
67,
2
] |
this.targetURI = message.redirectTarget;
|
this.targetURI = redirectTarget;
|
public ClientPut(FCPConnectionHandler handler, ClientPutMessage message) throws IdentifierCollisionException { super(message.uri, message.identifier, message.verbosity, handler, message.priorityClass, message.persistenceType, message.clientToken, message.global, message.getCHKOnly, message.dontCompress, message.maxRetries); this.uploadFrom = message.uploadFromType; this.origFilename = message.origFilename; // Now go through the fields one at a time String mimeType = message.contentType; clientToken = message.clientToken; if(persistenceType != PERSIST_CONNECTION) client.register(this, false); Bucket tempData = message.bucket; ClientMetadata cm = new ClientMetadata(mimeType); boolean isMetadata = false; Logger.minor(this, "data = "+tempData+", uploadFrom = "+ClientPutMessage.uploadFromString(uploadFrom)); if(uploadFrom == ClientPutMessage.UPLOAD_FROM_REDIRECT) { this.targetURI = message.redirectTarget; Metadata m = new Metadata(Metadata.SIMPLE_REDIRECT, targetURI, cm); cm = null; byte[] d; try { d = m.writeToByteArray(); } catch (MetadataUnresolvedException e) { // Impossible Logger.error(this, "Impossible: "+e, e); onFailure(new InserterException(InserterException.INTERNAL_ERROR, "Impossible: "+e+" in ClientPut", null), null); this.data = null; clientMetadata = null; inserter = null; return; } tempData = new SimpleReadOnlyArrayBucket(d); isMetadata = true; } else targetURI = null; this.data = tempData; this.clientMetadata = cm; Logger.minor(this, "data = "+data+", uploadFrom = "+ClientPutMessage.uploadFromString(uploadFrom)); inserter = new ClientPutter(this, data, uri, cm, ctx, client.node.chkPutScheduler, client.node.sskPutScheduler, priorityClass, getCHKOnly, isMetadata, client, null); if(persistenceType != PERSIST_CONNECTION) { FCPMessage msg = persistentTagMessage(); client.queueClientRequestMessage(msg, 0); if(handler != null && (!handler.isGlobalSubscribed())) handler.outputHandler.queue(msg); } }
|
45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/a2c799232c5ddad097bc15ac69d6259528050f65/ClientPut.java/buggy/src/freenet/node/fcp/ClientPut.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2445,
6426,
12,
42,
4258,
1952,
1503,
1838,
16,
2445,
6426,
1079,
883,
13,
1216,
10333,
13535,
1951,
503,
288,
202,
202,
9565,
12,
2150,
18,
1650,
16,
883,
18,
5644,
16,
883,
18,
16629,
8807,
16,
1838,
16,
4697,
202,
2150,
18,
8457,
797,
16,
883,
18,
24854,
559,
16,
883,
18,
2625,
1345,
16,
883,
18,
6347,
16,
9506,
202,
2150,
18,
588,
1792,
47,
3386,
16,
883,
18,
72,
1580,
16552,
16,
883,
18,
1896,
13656,
1769,
202,
202,
2211,
18,
6327,
1265,
273,
883,
18,
6327,
1265,
559,
31,
202,
202,
2211,
18,
4949,
5359,
273,
883,
18,
4949,
5359,
31,
202,
202,
759,
4494,
1960,
3059,
326,
1466,
1245,
622,
279,
813,
202,
202,
780,
10707,
273,
883,
18,
22194,
31,
202,
202,
2625,
1345,
273,
883,
18,
2625,
1345,
31,
202,
202,
430,
12,
24854,
559,
480,
10950,
18732,
67,
15461,
13,
1082,
202,
2625,
18,
4861,
12,
2211,
16,
629,
1769,
202,
202,
4103,
1906,
751,
273,
883,
18,
7242,
31,
202,
202,
1227,
2277,
5003,
273,
394,
2445,
2277,
12,
19176,
1769,
202,
202,
6494,
353,
2277,
273,
629,
31,
202,
202,
3328,
18,
17364,
12,
2211,
16,
315,
892,
273,
13773,
5814,
751,
15,
3113,
3617,
1265,
273,
13773,
1227,
6426,
1079,
18,
6327,
9193,
12,
6327,
1265,
10019,
202,
202,
430,
12,
6327,
1265,
422,
2445,
6426,
1079,
18,
23347,
67,
11249,
67,
25103,
13,
288,
1082,
202,
2211,
18,
3299,
3098,
273,
883,
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,
12,
42,
4258,
1952,
1503,
1838,
16,
2445,
6426,
1079,
883,
13,
1216,
10333,
13535,
1951,
503,
288,
202,
202,
9565,
12,
2150,
18,
1650,
16,
883,
18,
5644,
16,
883,
18,
16629,
8807,
16,
1838,
16,
4697,
202,
2150,
18,
8457,
797,
16,
883,
18,
24854,
559,
16,
883,
18,
2625,
1345,
16,
883,
18,
6347,
16,
9506,
202,
2150,
18,
588,
1792,
47,
3386,
16,
883,
18,
72,
1580,
16552,
16,
883,
18,
1896,
13656,
1769,
202,
202,
2211,
18,
6327,
1265,
273,
883,
18,
6327,
1265,
559,
31,
202,
202,
2211,
18,
4949,
5359,
273,
883,
18,
4949,
5359,
31,
202,
202,
759,
4494,
1960,
3059,
326,
1466,
1245,
622,
279,
2
] |
hostResolver.initFromFile(hostResolverFile);
|
if(hostResolverFile != null && !"".equals(hostResolverFile)) { hostResolver.initFromFile(hostResolverFile); }
|
public FetcherMain(int nrThreads, String hostResolverFile) throws Exception { // to make things clear, this method is commented a bit better than // the rest of the program... // this is the main message queue. handlers are registered with // the queue, and whenever a message is put in it, the message is passed to the // filters in a "chain of responibility" manner. Every listener can decide // to throw the message away messageHandler = new MessageHandler(); // the storage is the class which saves a WebDocument somewhere, no // matter how it does it, whether it's in a file, in a database or // whatever // example for the (very slow) SQL Server storage: // this.storage = new SQLServerStorage("sun.jdbc.odbc.JdbcOdbcDriver","jdbc:odbc:search","sa","...",nrThreads); // the LogStorage used here does extensive logging. It logs all links and // document information. // it also saves all documents to page files. File logsDir = new File("logs"); logsDir.mkdir(); // ensure log directory exists // in this experimental implementation, the crawler is pretty verbose // the SimpleLogger, however, is a FlyWeight logger which is buffered and // not thread safe by default SimpleLogger storeLog = new SimpleLogger("store", /* add date/time? */ false); SimpleLogger visitedLog = new SimpleLogger("URLVisitedFilter", /* add date/time? */ false); SimpleLogger scopeLog = new SimpleLogger("URLScopeFilter", /* add date/time? */ false); SimpleLogger pathsLog = new SimpleLogger("KnownPathsFilter", /* add date/time? */ false); SimpleLogger linksLog = new SimpleLogger("links", /* add date/time? */ false); SimpleLogger lengthLog = new SimpleLogger("length", /* add date/time? */ false); StoragePipeline storage = new StoragePipeline(); // in the default configuration, the crawler will only save the document // information to store.log and the link information to links.log // The contents of the files are _not_ saved. If you set // "save in page files" to "true", they will be saved in "page files", // binary files each containing a set of documents. Here, the // maximum file size is ~50 MB (crawled files won't be split up into different // files). The logs/store.log file contains pointers to these files: a page // file number, the offset within that file, and the document's length // FIXME: default constructor for all storages + bean access methods storage.addDocStorage(new LogStorage(storeLog, /* save in page files? */ false, /* page file prefix */ "logs/pagefile")); storage.addLinkStorage(new LinkLogStorage(linksLog)); storage.addLinkStorage(messageHandler); /* // experimental Lucene storage. will slow the crawler down *a lot* LuceneStorage luceneStorage = new LuceneStorage(); luceneStorage.setAnalyzer(new org.apache.lucene.analysis.de.GermanAnalyzer()); luceneStorage.setCreate(true); // FIXME: index name and path need to be configurable luceneStorage.setIndexName("luceneIndex"); // the field names come from URLMessage.java and WebDocument.java. See // LuceneStorage source for details luceneStorage.setFieldInfo("url", LuceneStorage.INDEX | LuceneStorage.STORE); luceneStorage.setFieldInfo("content", LuceneStorage.INDEX | LuceneStorage.STORE | LuceneStorage.TOKEN); storage.addDocStorage(luceneStorage); */ storage.open(); //storage.addStorage(new JMSStorage(...)); // create the filters and add them to the message queue urlScopeFilter = new URLScopeFilter(scopeLog); // dnsResolver = new DNSResolver(); hostManager = new HostManager(1000); hostResolver = new HostResolver(); hostResolver.initFromFile(hostResolverFile); hostManager.setHostResolver(hostResolver);// hostManager.addSynonym("www.fachsprachen.uni-muenchen.de", "www.fremdsprachen.uni-muenchen.de");// hostManager.addSynonym("www.uni-muenchen.de", "www.lmu.de");// hostManager.addSynonym("www.uni-muenchen.de", "uni-muenchen.de");// hostManager.addSynonym("webinfo.uni-muenchen.de", "www.webinfo.uni-muenchen.de");// hostManager.addSynonym("webinfo.uni-muenchen.de", "webinfo.campus.lmu.de");// hostManager.addSynonym("www.s-a.uni-muenchen.de", "s-a.uni-muenchen.de"); reFilter = new RobotExclusionFilter(hostManager); fetcher = new Fetcher(nrThreads, storage, storage, hostManager); // prevent message box popups HTTPConnection.setDefaultAllowUserInteraction(false); // prevent GZipped files from being decoded HTTPConnection.removeDefaultModule(HTTPClient.ContentEncodingModule.class); urlVisitedFilter = new URLVisitedFilter(visitedLog, 100000); // initialize the threads fetcher.init(); // the thread monitor watches the thread pool. monitor = new ThreadMonitor(urlLengthFilter, urlVisitedFilter, urlScopeFilter, /*dnsResolver,*/ reFilter, messageHandler, fetcher.getThreadPool(), hostManager, 5000 // wake up every 5 seconds ); // add all filters to the handler. messageHandler.addListener(urlLengthFilter); messageHandler.addListener(urlScopeFilter); messageHandler.addListener(reFilter); messageHandler.addListener(urlVisitedFilter); messageHandler.addListener(knownPathsFilter); messageHandler.addListener(fetcher); //uncomment this to enable HTTPClient logging /* try { HTTPClient.Log.setLogWriter(new java.io.OutputStreamWriter(System.out) //new java.io.FileWriter("logs/HttpClient.log") ,false); HTTPClient.Log.setLogging(HTTPClient.Log.ALL, true); } catch (Exception e) { e.printStackTrace(); } */ }
|
1514 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1514/61aa56d778a14699dd0d842073076972770bf693/FetcherMain.java/clean/sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/fetcher/FetcherMain.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8065,
264,
6376,
12,
474,
9884,
13233,
16,
514,
1479,
4301,
812,
13,
1216,
1185,
565,
288,
3639,
368,
358,
1221,
9198,
2424,
16,
333,
707,
353,
31813,
279,
2831,
7844,
2353,
3639,
368,
326,
3127,
434,
326,
5402,
2777,
3639,
368,
333,
353,
326,
2774,
883,
2389,
18,
4919,
854,
4104,
598,
3639,
368,
326,
2389,
16,
471,
17334,
279,
883,
353,
1378,
316,
518,
16,
326,
883,
353,
2275,
358,
326,
3639,
368,
3415,
316,
279,
315,
5639,
434,
7899,
3628,
6,
21296,
18,
16420,
2991,
848,
16288,
3639,
368,
358,
604,
326,
883,
10804,
3639,
883,
1503,
273,
394,
2350,
1503,
5621,
3639,
368,
326,
2502,
353,
326,
667,
1492,
14649,
279,
2999,
2519,
22234,
16,
1158,
3639,
368,
15177,
3661,
518,
1552,
518,
16,
2856,
518,
1807,
316,
279,
585,
16,
316,
279,
2063,
578,
3639,
368,
15098,
3639,
368,
3454,
364,
326,
261,
3242,
11816,
13,
3063,
3224,
2502,
30,
3639,
368,
333,
18,
5697,
273,
394,
3063,
2081,
3245,
2932,
16924,
18,
24687,
18,
10605,
71,
18,
25316,
51,
9137,
4668,
15937,
24687,
30,
10605,
71,
30,
3072,
15937,
13098,
15937,
7070,
16,
11611,
13233,
1769,
3639,
368,
326,
1827,
3245,
1399,
2674,
1552,
1110,
14315,
2907,
18,
2597,
5963,
777,
4716,
471,
3639,
368,
1668,
1779,
18,
3639,
368,
518,
2546,
14649,
777,
7429,
358,
1363,
1390,
18,
3639,
1387,
5963,
1621,
273,
394,
1387,
2932,
10011,
8863,
3639,
5963,
1621,
18,
26686,
5621,
565,
368,
3387,
613,
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,
8065,
264,
6376,
12,
474,
9884,
13233,
16,
514,
1479,
4301,
812,
13,
1216,
1185,
565,
288,
3639,
368,
358,
1221,
9198,
2424,
16,
333,
707,
353,
31813,
279,
2831,
7844,
2353,
3639,
368,
326,
3127,
434,
326,
5402,
2777,
3639,
368,
333,
353,
326,
2774,
883,
2389,
18,
4919,
854,
4104,
598,
3639,
368,
326,
2389,
16,
471,
17334,
279,
883,
353,
1378,
316,
518,
16,
326,
883,
353,
2275,
358,
326,
3639,
368,
3415,
316,
279,
315,
5639,
434,
7899,
3628,
6,
21296,
18,
16420,
2991,
848,
16288,
3639,
368,
358,
604,
326,
883,
10804,
3639,
883,
1503,
273,
394,
2350,
1503,
5621,
3639,
368,
326,
2502,
353,
326,
667,
1492,
14649,
279,
2999,
2519,
2
] |
Collection<Record> cache = new HashSet<Record>(rows);
|
Map<Record, Record> cache = new Hashtable<Record, Record>(rows);
|
public Object task() throws Exception { SelectQuery q = null; boolean transactionInProgress = false; logger.info("Import into "+table+" begins..."); setLength( parser.getNumberOfRecords() ); try { q = db.createQuery(table); int resultId = db.executeQuery( q ), rows = db.getNumRows( resultId ); Collection<Record> cache = new HashSet<Record>(rows); for(int i = 0; i < rows; i++) { Object[] pulp = db.more(resultId, i, i); cache.add( (Record)((Object[])(pulp[0]))[0] ); } db.closeQuery( q ); q = null; transactionInProgress = db.beginTransaction(); if( ! transactionInProgress ) throw new ImportException(L10n.getString("Error.TransactionRaceConditions")); while( !isCanceled() && parser.hasNext() ) { DataHolder data = null; try { count++; setPosition( count ); data = parser.getNext(); } catch( ParserException pe ) { logger.warn("The record is corrupted. " + pe); logger.info("Skipping the record No. " + count); setStatusMessage(L10n.getFormattedString("Import.CompletelyCorruptedRecord", count)); continue; } if( data.record == null || !data.record.areAllNNSet() || (data.action == TableParser.Action.UPDATE && (data.replacement == null || !data.replacement.areAllNNSet())) ) { logger.info("Rejecting the record No. "+count+"! Some of the not-null values are not specified!"); setStatusMessage(L10n.getFormattedString("Import.IncompleteRecord", count)); } logger.debug(data.action+" "+data.record + ((data.action == Action.UPDATE) ? " ==> " + data.replacement : "")); // Take action. try { switch(data.action) { case INSERT: if( !cache.contains(data.record) ) { insert( data.record ); cache.add( data.record ); } inserted++; break; case DELETE: if( cache.contains(data.record) ) { delete( data.record ); cache.remove( data.record ); } deleted++; break; case UPDATE: if( !cache.contains(data.replacement) ) if( !cache.remove(data.record) ) { insert( data.replacement ); cache.add( data.replacement ); } else { update( data.record, data.replacement ); cache.add( data.replacement ); } updated ++; break; } } catch(ImportException ie) { logger.error("The import of the record No. " + count + " was unsuccessful! " + ie); setStatusMessage( ie.getMessage() ); } catch(DBLayerException de) { logger.error("Delete/update/insert failed! " + de); setStatusMessage( L10n.getFormattedString("Error.UnableToProcess", count) + " " + ((de.getMessage() == null) ? L10n.getString("Import.UnknownReason") : de.getMessage()) ); } } if( !isCanceled() ) { transactionInProgress = ! db.commitTransaction(); logger.info("Import completed. "+count+" records processed ("+ inserted+" inserted, "+updated+" updated, "+deleted+" deleted)."); setStatusMessage(L10n.getString("Import.Completed")); } else { transactionInProgress = ! db.rollbackTransaction(); logger.info("Import aborted. Nothing will be stored in the database."); setStatusMessage(L10n.getString("Import.Aborted")); } } catch(Exception e) { // Nothing can leave undetected. try { if(q != null) db.closeQuery( q ); if(transactionInProgress) transactionInProgress = ! db.rollbackTransaction(); } catch(Exception re) {} logger.fatal("Import ended prematurely. "+count+" records processed ("+ inserted+" inserted, "+updated+" updated, "+deleted+" deleted)."); setStatusMessage(L10n.getString("Import.Failed")); // This is a serious exception, the User should see it. throw e; } fireStopped(null); return null; }
|
57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/adae16a333ebf1826a50233bbe936b33394c019b/TableImportTask.java/clean/trunk/src/net/sf/plantlore/client/imports/table/TableImportTask.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
1562,
1435,
1216,
1185,
288,
202,
202,
3391,
1138,
1043,
273,
446,
31,
202,
202,
6494,
2492,
13434,
273,
225,
629,
31,
9506,
202,
4901,
18,
1376,
2932,
5010,
1368,
13773,
2121,
9078,
17874,
7070,
1769,
9506,
202,
542,
1782,
12,
2082,
18,
588,
9226,
6499,
1435,
11272,
25083,
202,
698,
288,
25083,
202,
85,
273,
1319,
18,
2640,
1138,
12,
2121,
1769,
1082,
202,
474,
563,
548,
273,
1319,
18,
8837,
1138,
12,
1043,
262,
16,
1082,
202,
3870,
273,
1319,
18,
588,
2578,
4300,
12,
563,
548,
11272,
25083,
202,
2532,
32,
2115,
34,
1247,
273,
394,
6847,
32,
2115,
34,
12,
3870,
1769,
25083,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
411,
2595,
31,
277,
27245,
288,
9506,
202,
921,
8526,
293,
14290,
273,
1319,
18,
10161,
12,
2088,
548,
16,
277,
16,
277,
1769,
9506,
202,
2493,
18,
1289,
12,
261,
2115,
13,
12443,
921,
63,
5717,
12,
84,
14290,
63,
20,
22643,
63,
20,
65,
11272,
1082,
202,
97,
25083,
202,
1966,
18,
4412,
1138,
12,
1043,
11272,
1082,
202,
85,
273,
446,
31,
25083,
202,
7958,
13434,
273,
1319,
18,
10086,
3342,
5621,
1082,
202,
430,
12,
401,
2492,
13434,
262,
9506,
202,
12849,
394,
6164,
503,
12,
48,
2163,
82,
18,
588,
780,
2932,
668,
18,
3342,
54,
623,
8545,
7923,
1769,
6862,
6862,
202,
17523,
12,
401,
291,
23163,
1435,
597,
2082,
18,
5332,
2134,
1435,
262,
288,
9506,
202,
751,
6064,
501,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
1562,
1435,
1216,
1185,
288,
202,
202,
3391,
1138,
1043,
273,
446,
31,
202,
202,
6494,
2492,
13434,
273,
225,
629,
31,
9506,
202,
4901,
18,
1376,
2932,
5010,
1368,
13773,
2121,
9078,
17874,
7070,
1769,
9506,
202,
542,
1782,
12,
2082,
18,
588,
9226,
6499,
1435,
11272,
25083,
202,
698,
288,
25083,
202,
85,
273,
1319,
18,
2640,
1138,
12,
2121,
1769,
1082,
202,
474,
563,
548,
273,
1319,
18,
8837,
1138,
12,
1043,
262,
16,
1082,
202,
3870,
273,
1319,
18,
588,
2578,
4300,
12,
563,
548,
11272,
25083,
202,
2532,
32,
2115,
34,
1247,
273,
394,
6847,
32,
2115,
34,
12,
3870,
1769,
25083,
202,
1884,
12,
474,
277,
273,
374,
31,
2
] |
bddnodes = new int[bddnodesize*__node_size];
|
table = new int[bddnodesize*__node_size];
|
protected void initialize(int initnodesize, int cs) { int n; if (bddrunning) throw new JavaBDDException(BDD_RUNNING); bddnodesize = bdd_prime_gte(initnodesize); bddnodes = new int[bddnodesize*__node_size]; bddresized = false; for (n = 0; n < bddnodesize; n++) { SETLOW(n, INVALID_BDD); SETNEXT(n, n+1); } SETNEXT(bddnodesize-1, 0); SETMAXREF(0); SETMAXREF(1); SETLOW(0, 0); SETHIGH(0, 0); SETLOW(1, 1); SETHIGH(1, 1); bdd_operator_init(cs); bddfreepos = 2; bddfreenum = bddnodesize - 2; bddrunning = true; bddvarnum = 0; gbcollectnum = 0; gbcclock = 0; cachesize = cs; usednodes_nextreorder = bddnodesize; bddmaxnodeincrease = DEFAULTMAXNODEINC; bdderrorcond = 0; bdd_pairs_init(); bdd_reorder_init(); return; }
|
5661 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5661/7148f48ea2faa85833a6051b36762dedb67ccd78/MicroFactory.java/buggy/JavaBDD/net/sf/javabdd/MicroFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4046,
12,
474,
1208,
4690,
554,
16,
509,
2873,
13,
288,
3639,
509,
290,
31,
3639,
309,
261,
70,
449,
8704,
13,
5411,
604,
394,
5110,
38,
5698,
503,
12,
38,
5698,
67,
29358,
1769,
3639,
324,
449,
4690,
554,
273,
324,
449,
67,
16382,
67,
27225,
12,
2738,
4690,
554,
1769,
3639,
1014,
273,
394,
509,
63,
70,
449,
4690,
554,
14,
972,
2159,
67,
1467,
15533,
3639,
324,
449,
455,
1235,
273,
629,
31,
3639,
364,
261,
82,
273,
374,
31,
290,
411,
324,
449,
4690,
554,
31,
290,
27245,
288,
5411,
7855,
4130,
12,
82,
16,
10071,
67,
38,
5698,
1769,
5411,
7855,
25539,
12,
82,
16,
290,
15,
21,
1769,
3639,
289,
3639,
7855,
25539,
12,
70,
449,
4690,
554,
17,
21,
16,
374,
1769,
3639,
7855,
6694,
10771,
12,
20,
1769,
3639,
7855,
6694,
10771,
12,
21,
1769,
3639,
7855,
4130,
12,
20,
16,
374,
1769,
7855,
29996,
12,
20,
16,
374,
1769,
3639,
7855,
4130,
12,
21,
16,
404,
1769,
7855,
29996,
12,
21,
16,
404,
1769,
3639,
324,
449,
67,
9497,
67,
2738,
12,
2143,
1769,
3639,
324,
449,
74,
266,
881,
538,
273,
576,
31,
3639,
324,
449,
74,
2842,
379,
273,
324,
449,
4690,
554,
300,
576,
31,
3639,
324,
449,
8704,
273,
638,
31,
3639,
324,
449,
90,
1303,
379,
273,
374,
31,
3639,
21649,
14676,
2107,
273,
374,
31,
3639,
21649,
952,
739,
273,
374,
31,
3639,
12535,
554,
273,
2873,
31,
3639,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4046,
12,
474,
1208,
4690,
554,
16,
509,
2873,
13,
288,
3639,
509,
290,
31,
3639,
309,
261,
70,
449,
8704,
13,
5411,
604,
394,
5110,
38,
5698,
503,
12,
38,
5698,
67,
29358,
1769,
3639,
324,
449,
4690,
554,
273,
324,
449,
67,
16382,
67,
27225,
12,
2738,
4690,
554,
1769,
3639,
1014,
273,
394,
509,
63,
70,
449,
4690,
554,
14,
972,
2159,
67,
1467,
15533,
3639,
324,
449,
455,
1235,
273,
629,
31,
3639,
364,
261,
82,
273,
374,
31,
290,
411,
324,
449,
4690,
554,
31,
290,
27245,
288,
5411,
7855,
4130,
12,
82,
16,
10071,
67,
38,
5698,
1769,
5411,
7855,
25539,
12,
82,
16,
290,
15,
21,
1769,
3639,
289,
2
] |
adaptor.initialize(null,null);
|
adaptor.initialize(loader,context);
|
public void testGetBundleIdFromURL() { URLClassLoader loader = new URLClassLoader(new URL[] {},null); IWeavingContext context = new TestWeavingContext(loader) { public String getBundleIdFromURL(URL url) { throw new UnsupportedOperationException(); } }; ClassLoaderWeavingAdaptor adaptor = new ClassLoaderWeavingAdaptor(loader,context); try { adaptor.initialize(null,null); } catch (UnsupportedOperationException ex) { fail("IWeavingContect.getBundleIdFromURL() is deprecated"); } }
|
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/52c25536d8f9d8ad1438921e0542c259906a3793/WeavingContextTest.java/buggy/loadtime/testsrc/org/aspectj/weaver/loadtime/WeavingContextTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
967,
3405,
548,
1265,
1785,
1435,
288,
202,
202,
1785,
7805,
4088,
273,
394,
1976,
7805,
12,
2704,
1976,
8526,
10615,
2011,
1769,
202,
202,
45,
3218,
5339,
1042,
819,
273,
394,
7766,
3218,
5339,
1042,
12,
6714,
13,
288,
1082,
202,
482,
514,
10946,
548,
1265,
1785,
12,
1785,
880,
13,
288,
9506,
202,
12849,
394,
13172,
5621,
1082,
202,
97,
6862,
202,
20451,
202,
202,
7805,
3218,
5339,
29888,
9087,
273,
394,
9403,
3218,
5339,
29888,
12,
6714,
16,
2472,
1769,
202,
202,
698,
288,
1082,
202,
19195,
280,
18,
11160,
12,
2011,
16,
2011,
1769,
202,
202,
97,
202,
202,
14683,
261,
8544,
10602,
431,
13,
288,
1082,
202,
6870,
2932,
45,
3218,
5339,
660,
386,
18,
588,
3405,
548,
1265,
1785,
1435,
353,
6849,
8863,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
967,
3405,
548,
1265,
1785,
1435,
288,
202,
202,
1785,
7805,
4088,
273,
394,
1976,
7805,
12,
2704,
1976,
8526,
10615,
2011,
1769,
202,
202,
45,
3218,
5339,
1042,
819,
273,
394,
7766,
3218,
5339,
1042,
12,
6714,
13,
288,
1082,
202,
482,
514,
10946,
548,
1265,
1785,
12,
1785,
880,
13,
288,
9506,
202,
12849,
394,
13172,
5621,
1082,
202,
97,
6862,
202,
20451,
202,
202,
7805,
3218,
5339,
29888,
9087,
273,
394,
9403,
3218,
5339,
29888,
12,
6714,
16,
2472,
1769,
202,
202,
698,
288,
1082,
202,
19195,
280,
18,
11160,
12,
2011,
16,
2011,
1769,
202,
202,
97,
202,
202,
14683,
261,
8544,
10602,
431,
13,
288,
1082,
202,
6870,
2932,
2
] |
dwMicroSecPerFrame = DataTools.read4SignedBytes(in, little); dwMaxBytesPerSec = DataTools.read4SignedBytes(in, little); dwReserved1 = DataTools.read4SignedBytes(in, little); dwFlags = DataTools.read4SignedBytes(in, little); dwTotalFrames = DataTools.read4SignedBytes(in, little); dwInitialFrames = DataTools.read4SignedBytes(in, little); dwStreams = DataTools.read4SignedBytes(in, little); dwSuggestedBufferSize = DataTools.read4SignedBytes(in, little); dwWidth = DataTools.read4SignedBytes(in, little); dwHeight = DataTools.read4SignedBytes(in, little); dwScale = DataTools.read4SignedBytes(in, little); dwRate = DataTools.read4SignedBytes(in, little); dwStart = DataTools.read4SignedBytes(in, little); dwLength = DataTools.read4SignedBytes(in, little);
|
dwMicroSecPerFrame = in.readInt(); dwMaxBytesPerSec = in.readInt(); dwReserved1 = in.readInt(); dwFlags = in.readInt(); dwTotalFrames = in.readInt(); dwInitialFrames = in.readInt(); dwStreams = in.readInt(); dwSuggestedBufferSize = in.readInt(); dwWidth = in.readInt(); dwHeight = in.readInt(); dwScale= in.readInt(); dwRate = in.readInt(); dwStart = in.readInt(); dwLength = in.readInt();
|
protected void initFile(String id) throws FormatException, IOException { super.initFile(id); in = new RandomAccessStream(id); offsets = new Vector(); byte[] list = new byte[4]; String listString; type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); fcc = readStringBytes(); if (type.equals("RIFF")) { bigChunkSize = size; if (!fcc.equals("AVI ")) { whine("Sorry, AVI RIFF format not found."); } } else { whine("Not an AVI file"); } pos = in.getFilePointer(); long spos = pos; while (in.read(list) == 4) { in.seek(pos); listString = new String(list); if (listString.equals("JUNK")) { type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); if (type.equals("JUNK")) { in.skipBytes(size); } } else if (listString.equals("LIST")) { spos = in.getFilePointer(); type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); fcc = readStringBytes(); in.seek(spos); if (fcc.equals("hdrl")) { type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); fcc = readStringBytes(); if (type.equals("LIST")) { if (fcc.equals("hdrl")) { type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); if (type.equals("avih")) { spos = in.getFilePointer(); dwMicroSecPerFrame = DataTools.read4SignedBytes(in, little); dwMaxBytesPerSec = DataTools.read4SignedBytes(in, little); dwReserved1 = DataTools.read4SignedBytes(in, little); dwFlags = DataTools.read4SignedBytes(in, little); dwTotalFrames = DataTools.read4SignedBytes(in, little); dwInitialFrames = DataTools.read4SignedBytes(in, little); dwStreams = DataTools.read4SignedBytes(in, little); dwSuggestedBufferSize = DataTools.read4SignedBytes(in, little); dwWidth = DataTools.read4SignedBytes(in, little); dwHeight = DataTools.read4SignedBytes(in, little); dwScale = DataTools.read4SignedBytes(in, little); dwRate = DataTools.read4SignedBytes(in, little); dwStart = DataTools.read4SignedBytes(in, little); dwLength = DataTools.read4SignedBytes(in, little); metadata.put("Microseconds per frame", new Integer(dwMicroSecPerFrame)); metadata.put("Max. bytes per second", new Integer(dwMaxBytesPerSec)); metadata.put("Total frames", new Integer(dwTotalFrames)); metadata.put("Initial frames", new Integer(dwInitialFrames)); metadata.put("Frame width", new Integer(dwWidth)); metadata.put("Frame height", new Integer(dwHeight)); metadata.put("Scale factor", new Integer(dwScale)); metadata.put("Frame rate", new Integer(dwRate)); metadata.put("Start time", new Integer(dwStart)); metadata.put("Length", new Integer(dwLength)); in.seek(spos + size); } } } } else if (fcc.equals("strl")) { long startPos = in.getFilePointer(); long streamSize = size; type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); fcc = readStringBytes(); if (type.equals("LIST")) { if (fcc.equals("strl")) { type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); if (type.equals("strh")) { spos = in.getFilePointer(); String fccStreamTypeOld = fccStreamType; fccStreamType = readStringBytes(); if (!fccStreamType.equals("vids")) { fccStreamType = fccStreamTypeOld; } fccStreamHandler = readStringBytes(); dwStreamFlags = DataTools.read4SignedBytes(in, little); dwStreamReserved1 = DataTools.read4SignedBytes(in, little); dwStreamInitialFrames = DataTools.read4SignedBytes(in, little); dwStreamScale = DataTools.read4SignedBytes(in, little); dwStreamRate = DataTools.read4SignedBytes(in, little); dwStreamStart = DataTools.read4SignedBytes(in, little); dwStreamLength = DataTools.read4SignedBytes(in, little); dwStreamSuggestedBufferSize = DataTools.read4SignedBytes(in, little); dwStreamQuality = DataTools.read4SignedBytes(in, little); dwStreamSampleSize = DataTools.read4SignedBytes(in, little); metadata.put("Stream quality", new Integer(dwStreamQuality)); metadata.put("Stream sample size", new Integer(dwStreamSampleSize)); in.seek(spos + size); } type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); if (type.equals("strf")) { spos = in.getFilePointer(); bmpSize = DataTools.read4SignedBytes(in, little); bmpWidth = DataTools.read4SignedBytes(in, little); bmpHeight = DataTools.read4SignedBytes(in, little); bmpPlanes = DataTools.read2SignedBytes(in, little); bmpBitsPerPixel = DataTools.read2SignedBytes(in, little); bmpCompression = DataTools.read4SignedBytes(in, little); bmpSizeOfBitmap = DataTools.read4SignedBytes(in, little); bmpHorzResolution = DataTools.read4SignedBytes(in, little); bmpVertResolution = DataTools.read4SignedBytes(in, little); bmpColorsUsed = DataTools.read4SignedBytes(in, little); bmpColorsImportant = DataTools.read4SignedBytes(in, little); bmpTopDown = (bmpHeight < 0); bmpNoOfPixels = bmpWidth * bmpHeight; metadata.put("Bitmap compression value", new Integer(bmpCompression)); metadata.put("Horizontal resolution", new Integer(bmpHorzResolution)); metadata.put("Vertical resolution", new Integer(bmpVertResolution)); metadata.put("Number of colors used", new Integer(bmpColorsUsed)); metadata.put("Bits per pixel", new Integer(bmpBitsPerPixel)); // scan line is padded with zeros to be a multiple of 4 bytes int npad = bmpWidth % 4; if (npad > 0) npad = 4 - npad; bmpScanLineSize = (bmpWidth + npad) * (bmpBitsPerPixel / 8); if (bmpSizeOfBitmap != 0) { bmpActualSize = bmpSizeOfBitmap; } else { // a value of 0 doesn't mean 0 -- it means we have // to calculate it bmpActualSize = bmpScanLineSize * bmpHeight; } if (bmpColorsUsed != 0) { bmpActualColorsUsed = bmpColorsUsed; } else { // a value of 0 means we determine this based on the // bits per pixel if (bmpBitsPerPixel < 16) { bmpActualColorsUsed = 1 << bmpBitsPerPixel; } else { // no palette bmpActualColorsUsed = 0; } } if (bmpCompression != 0) { whine("Sorry, compressed AVI files not supported."); } if (!(bmpBitsPerPixel == 8 || bmpBitsPerPixel == 24 || bmpBitsPerPixel == 32)) { whine("Sorry, " + bmpBitsPerPixel + " bits per pixel not " + "supported"); } if (bmpActualColorsUsed != 0) { // read the palette pr = new byte[bmpColorsUsed]; pg = new byte[bmpColorsUsed]; pb = new byte[bmpColorsUsed]; for (int i=0; i<bmpColorsUsed; i++) { pb[i] = (byte) in.read(); pg[i] = (byte) in.read(); pr[i] = (byte) in.read(); in.read(); } } in.seek(spos + size); } } spos = in.getFilePointer(); type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); if (type.equals("strd")) { in.skipBytes(size); } else { in.seek(spos); } spos = in.getFilePointer(); type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); if (type.equals("strn")) { in.skipBytes(size); } else { in.seek(spos); } } in.seek((int) (startPos + 8 + streamSize)); } else if (fcc.equals("movi")) { type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); fcc = readStringBytes(); if (type.equals("LIST")) { if (fcc.equals("movi")) { spos = in.getFilePointer(); type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); fcc = readStringBytes(); if (!(type.equals("LIST") && fcc.equals("rec "))) { in.seek(spos); } spos = in.getFilePointer(); type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); while (type.substring(2).equals("db") || type.substring(2).equals("dc") || type.substring(2).equals("wb")) { if (type.substring(2).equals("db") || type.substring(2).equals("dc")) { offsets.add(new Long(in.getFilePointer())); in.skipBytes(bmpHeight * bmpScanLineSize); } spos = in.getFilePointer(); type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); if (type.equals("JUNK")) { in.skipBytes(size); spos = in.getFilePointer(); type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); } } in.seek(spos); } } } else { // skipping unknown block in.skipBytes(8 + size); } } else { // skipping unknown block type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); in.skipBytes(size); } pos = in.getFilePointer(); } numImages = offsets.size(); initOMEMetadata(); }
|
49800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49800/2df09d33bfdc966378aae0cc09cb503afb983bc2/AVIReader.java/buggy/loci/formats/in/AVIReader.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,
1862,
1228,
12,
350,
1769,
565,
8738,
273,
394,
5589,
5621,
565,
1160,
8526,
666,
273,
394,
1160,
63,
24,
15533,
565,
514,
666,
780,
31,
565,
618,
273,
18646,
2160,
5621,
565,
963,
273,
1910,
10348,
18,
896,
24,
12294,
2160,
12,
267,
16,
12720,
1769,
565,
284,
952,
273,
18646,
2160,
5621,
565,
309,
261,
723,
18,
14963,
2932,
2259,
2246,
6,
3719,
288,
1377,
5446,
26307,
273,
963,
31,
1377,
309,
16051,
74,
952,
18,
14963,
2932,
37,
4136,
315,
3719,
288,
3639,
600,
558,
2932,
28898,
16,
432,
4136,
534,
16962,
740,
486,
1392,
1199,
1769,
1377,
289,
565,
289,
565,
469,
288,
1377,
600,
558,
2932,
1248,
392,
432,
4136,
585,
8863,
565,
289,
565,
949,
273,
316,
18,
29925,
4926,
5621,
565,
1525,
272,
917,
273,
949,
31,
565,
1323,
261,
267,
18,
896,
12,
1098,
13,
422,
1059,
13,
288,
1377,
316,
18,
16508,
12,
917,
1769,
1377,
666,
780,
273,
394,
514,
12,
1098,
1769,
1377,
309,
261,
1098,
780,
18,
14963,
2932,
46,
16141,
6,
3719,
288,
3639,
618,
273,
18646,
2160,
5621,
3639,
963,
273,
1910,
10348,
18,
896,
24,
12294,
2160,
12,
267,
16,
12720,
1769,
3639,
309,
261,
723,
18,
14963,
2932,
46,
16141,
6,
3719,
288,
1850,
316,
18,
7457,
2160,
12,
1467,
1769,
3639,
289,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
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,
1862,
1228,
12,
350,
1769,
565,
8738,
273,
394,
5589,
5621,
565,
1160,
8526,
666,
273,
394,
1160,
63,
24,
15533,
565,
514,
666,
780,
31,
565,
618,
273,
18646,
2160,
5621,
565,
963,
273,
1910,
10348,
18,
896,
24,
12294,
2160,
12,
267,
16,
12720,
1769,
565,
284,
952,
273,
18646,
2160,
5621,
565,
309,
261,
723,
18,
14963,
2932,
2259,
2246,
6,
3719,
288,
1377,
5446,
26307,
273,
963,
31,
1377,
309,
16051,
74,
952,
18,
14963,
2932,
37,
4136,
315,
3719,
288,
3639,
600,
558,
2932,
28898,
16,
2
] |
LOG.info("Tracking URL: " + StreamUtil.qualifyHost(running_.getTrackingURL()));
|
LOG.info("Tracking URL: " + StreamUtil.qualifyHost(running_.getTrackingURL()));
|
protected void jobInfo() { if(isLocalHadoop()) { LOG.info("Job running in-process (local Hadoop)"); } else { String hp = getJobTrackerHostPort(); LOG.info("To kill this job, run:"); LOG.info(getHadoopClientHome() + "/bin/hadoop job -Dmapred.job.tracker=" + hp + " -kill " + jobId_); //LOG.info("Job file: " + running_.getJobFile() ); LOG.info("Tracking URL: " + StreamUtil.qualifyHost(running_.getTrackingURL())); } }
|
50370 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50370/e10b40e8014547113799b2653164e8c990d41209/StreamJob.java/clean/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamJob.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1719,
966,
1435,
225,
288,
565,
309,
12,
291,
2042,
44,
12460,
10756,
288,
1377,
2018,
18,
1376,
2932,
2278,
3549,
316,
17,
2567,
261,
3729,
23471,
2225,
1769,
565,
289,
469,
288,
1377,
514,
16460,
273,
13024,
8135,
16688,
5621,
1377,
2018,
18,
1376,
2932,
774,
8673,
333,
1719,
16,
1086,
2773,
1769,
1377,
2018,
18,
1376,
12,
588,
44,
12460,
1227,
8684,
1435,
397,
2206,
4757,
19,
76,
12460,
1719,
225,
300,
40,
1458,
1118,
18,
4688,
18,
16543,
1546,
397,
16460,
397,
315,
300,
16418,
315,
397,
13845,
67,
1769,
1377,
368,
4842,
18,
1376,
2932,
2278,
585,
30,
315,
397,
3549,
27799,
588,
2278,
812,
1435,
11272,
1377,
2018,
18,
1376,
2932,
12642,
1976,
30,
315,
397,
3961,
1304,
18,
3369,
1164,
2594,
12,
8704,
27799,
588,
12642,
1785,
1435,
10019,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1719,
966,
1435,
225,
288,
565,
309,
12,
291,
2042,
44,
12460,
10756,
288,
1377,
2018,
18,
1376,
2932,
2278,
3549,
316,
17,
2567,
261,
3729,
23471,
2225,
1769,
565,
289,
469,
288,
1377,
514,
16460,
273,
13024,
8135,
16688,
5621,
1377,
2018,
18,
1376,
2932,
774,
8673,
333,
1719,
16,
1086,
2773,
1769,
1377,
2018,
18,
1376,
12,
588,
44,
12460,
1227,
8684,
1435,
397,
2206,
4757,
19,
76,
12460,
1719,
225,
300,
40,
1458,
1118,
18,
4688,
18,
16543,
1546,
397,
16460,
397,
315,
300,
16418,
315,
397,
13845,
67,
1769,
1377,
368,
4842,
18,
1376,
2932,
2278,
585,
30,
315,
397,
3549,
27799,
588,
2278,
812,
1435,
11272,
1377,
2018,
18,
1376,
2932,
2
] |
ArrayList targetSchemaList = new ArrayList(); ArrayList schemaObjectList = new ArrayList(); if(schemaList!=null)
|
ArrayList schemaObjectList = new ArrayList( ); if ( schemaList != null )
|
protected void populateSchemaList() { if ( rootNode != null ) { removeTreeItem( rootNode ); } getAvailableSchema(); // If the schemaCombo have not be initialized yet. if ( schemaCombo.getItemCount() < 1) { schemaCombo.add( JdbcPlugin.getResourceString("tablepage.text.All") ); schemaCombo.select( 0 ); if( schemaList != null){ Iterator it = schemaList.iterator( ); while ( it.hasNext( ) ) schemaCombo.add( it.next( ).toString( ) ); } } ArrayList targetSchemaList = new ArrayList(); ArrayList schemaObjectList = new ArrayList(); if(schemaList!=null) { int numberOfSchema = 0; Preferences preferences = JdbcPlugin.getDefault( ) .getPluginPreferences( ); if ( preferences.contains( DateSetPreferencePage.USER_MAX_NUM_OF_SCHEMA ) ) { numberOfSchema = preferences.getInt( DateSetPreferencePage.USER_MAX_NUM_OF_SCHEMA ); } else { numberOfSchema = DateSetPreferencePage.DEFAULT_MAX_NUM_OF_SCHEMA; preferences.setValue( DateSetPreferencePage.USER_MAX_NUM_OF_SCHEMA, numberOfSchema ); } cachedSchemaComboIndex = schemaCombo.getSelectionIndex(); if ( schemaCombo.getSelectionIndex() == 0) { targetSchemaList = schemaList; } else { targetSchemaList.add( schemaCombo.getItem( schemaCombo.getSelectionIndex() )); numberOfSchema = 1; } for ( int i = 0; i < targetSchemaList.size( ) && i < numberOfSchema; i++ ) { String schemaName = (String) targetSchemaList.get( i ); DbObject schemaObj = new DbObject( schemaName, schemaName, DbObject.SCHEMA_TYPE, schemaImage ); schemaObjectList.add( schemaObj ); } TreeItem[] items = Utility.createTreeItems( rootNode, schemaObjectList, SWT.NONE, schemaImage ); if ( items != null && items.length > 0 ) { availableDbObjectsTree.showItem( items[0] ); } } }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/8887f296b0d9adc032ae9020f3349938893f43a3/SQLDataSetEditorPage.java/clean/data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
6490,
3078,
682,
1435,
202,
95,
202,
202,
430,
261,
10181,
480,
446,
262,
202,
202,
95,
1082,
202,
4479,
2471,
1180,
12,
10181,
11272,
202,
202,
97,
202,
202,
588,
5268,
3078,
5621,
202,
202,
759,
971,
326,
1963,
16156,
1240,
486,
506,
6454,
4671,
18,
202,
202,
430,
261,
1963,
16156,
18,
588,
30687,
1435,
411,
404,
13,
202,
202,
95,
1082,
202,
4821,
16156,
18,
1289,
12,
24209,
3773,
18,
588,
1420,
780,
2932,
2121,
2433,
18,
955,
18,
1595,
7923,
11272,
1082,
202,
4821,
16156,
18,
4025,
12,
374,
11272,
1082,
202,
430,
12,
1963,
682,
480,
446,
15329,
9506,
202,
3198,
518,
273,
1963,
682,
18,
9838,
12,
11272,
9506,
202,
17523,
261,
518,
18,
5332,
2134,
12,
262,
262,
6862,
202,
4821,
16156,
18,
1289,
12,
518,
18,
4285,
12,
262,
18,
10492,
12,
262,
11272,
1082,
202,
97,
202,
202,
97,
202,
202,
19558,
1018,
3078,
682,
273,
394,
2407,
5621,
1082,
202,
19558,
1963,
25979,
273,
394,
2407,
5621,
202,
202,
430,
12,
4821,
682,
5,
33,
2011,
13,
202,
202,
95,
1082,
202,
474,
7922,
3078,
273,
374,
31,
1082,
202,
12377,
12750,
273,
24209,
3773,
18,
588,
1868,
12,
262,
6862,
202,
18,
588,
3773,
12377,
12,
11272,
1082,
202,
430,
261,
12750,
18,
12298,
12,
2167,
694,
9624,
1964,
18,
4714,
67,
6694,
67,
6069,
67,
3932,
67,
14233,
262,
262,
1082,
202,
95,
9506,
202,
2696,
951,
3078,
273,
12750,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
6490,
3078,
682,
1435,
202,
95,
202,
202,
430,
261,
10181,
480,
446,
262,
202,
202,
95,
1082,
202,
4479,
2471,
1180,
12,
10181,
11272,
202,
202,
97,
202,
202,
588,
5268,
3078,
5621,
202,
202,
759,
971,
326,
1963,
16156,
1240,
486,
506,
6454,
4671,
18,
202,
202,
430,
261,
1963,
16156,
18,
588,
30687,
1435,
411,
404,
13,
202,
202,
95,
1082,
202,
4821,
16156,
18,
1289,
12,
24209,
3773,
18,
588,
1420,
780,
2932,
2121,
2433,
18,
955,
18,
1595,
7923,
11272,
1082,
202,
4821,
16156,
18,
4025,
12,
374,
11272,
1082,
202,
430,
12,
1963,
682,
480,
446,
15329,
9506,
202,
3198,
518,
273,
1963,
682,
18,
9838,
12,
11272,
9506,
2
] |
for (int i = 0; i < 215; i++) jj_la1[i] = -1;
|
for (int i = 0; i < 219; i++) jj_la1[i] = -1;
|
public Parser(java.io.InputStream stream) { jj_input_stream = new JavaCharStream(stream, 1, 1); token_source = new ParserTokenManager(jj_input_stream); token = new Token(); jj_ntk = -1; jj_gen = 0; for (int i = 0; i < 215; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/9aa0c6bec51662a685ea4b86bc02a52c9e593d8a/Parser.java/clean/dynamicjava/src/koala/dynamicjava/parser/Parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
6783,
12,
6290,
18,
1594,
18,
4348,
1407,
13,
288,
565,
10684,
67,
2630,
67,
3256,
273,
394,
5110,
2156,
1228,
12,
3256,
16,
404,
16,
404,
1769,
565,
1147,
67,
3168,
273,
394,
6783,
1345,
1318,
12,
78,
78,
67,
2630,
67,
3256,
1769,
565,
1147,
273,
394,
3155,
5621,
565,
10684,
67,
496,
79,
273,
300,
21,
31,
565,
10684,
67,
4507,
273,
374,
31,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
576,
3657,
31,
277,
27245,
10684,
67,
11821,
21,
63,
77,
65,
273,
300,
21,
31,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
10684,
67,
22,
67,
3797,
2387,
18,
2469,
31,
277,
27245,
10684,
67,
22,
67,
3797,
2387,
63,
77,
65,
273,
394,
804,
46,
10125,
5621,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
6783,
12,
6290,
18,
1594,
18,
4348,
1407,
13,
288,
565,
10684,
67,
2630,
67,
3256,
273,
394,
5110,
2156,
1228,
12,
3256,
16,
404,
16,
404,
1769,
565,
1147,
67,
3168,
273,
394,
6783,
1345,
1318,
12,
78,
78,
67,
2630,
67,
3256,
1769,
565,
1147,
273,
394,
3155,
5621,
565,
10684,
67,
496,
79,
273,
300,
21,
31,
565,
10684,
67,
4507,
273,
374,
31,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
576,
3657,
31,
277,
27245,
10684,
67,
11821,
21,
63,
77,
65,
273,
300,
21,
31,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
10684,
67,
22,
67,
3797,
2387,
18,
2469,
31,
277,
27245,
10684,
67,
22,
2
] |
List<ITask> activeTasks = MylarTaskListPlugin.getTaskListManager().getTaskList().getActiveTasks();
|
List<ITask> activeTasks = MylarTaskListPlugin .getTaskListManager().getTaskList().getActiveTasks();
|
void expandToActiveTasks() { final IWorkbench workbench = PlatformUI.getWorkbench(); workbench.getDisplay().asyncExec(new Runnable() { public void run() { List<ITask> activeTasks = MylarTaskListPlugin.getTaskListManager().getTaskList().getActiveTasks(); for (ITask t : activeTasks) { getViewer().expandToLevel(t, 0); } } }); }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/832f772c9bfbe1db8eeb7662bd96232584598cee/TaskListView.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskListView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
4542,
774,
3896,
6685,
1435,
288,
202,
202,
6385,
467,
2421,
22144,
1440,
22144,
273,
11810,
5370,
18,
588,
2421,
22144,
5621,
202,
202,
1252,
22144,
18,
588,
4236,
7675,
3810,
1905,
12,
2704,
10254,
1435,
288,
1082,
202,
482,
918,
1086,
1435,
288,
9506,
202,
682,
32,
1285,
835,
34,
2695,
6685,
273,
8005,
7901,
2174,
682,
3773,
18,
588,
2174,
682,
1318,
7675,
588,
2174,
682,
7675,
588,
3896,
6685,
5621,
9506,
202,
1884,
261,
1285,
835,
268,
294,
2695,
6685,
13,
288,
6862,
202,
588,
18415,
7675,
12320,
774,
2355,
12,
88,
16,
374,
1769,
9506,
202,
97,
1082,
202,
97,
202,
202,
22938,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
4542,
774,
3896,
6685,
1435,
288,
202,
202,
6385,
467,
2421,
22144,
1440,
22144,
273,
11810,
5370,
18,
588,
2421,
22144,
5621,
202,
202,
1252,
22144,
18,
588,
4236,
7675,
3810,
1905,
12,
2704,
10254,
1435,
288,
1082,
202,
482,
918,
1086,
1435,
288,
9506,
202,
682,
32,
1285,
835,
34,
2695,
6685,
273,
8005,
7901,
2174,
682,
3773,
18,
588,
2174,
682,
1318,
7675,
588,
2174,
682,
7675,
588,
3896,
6685,
5621,
9506,
202,
1884,
261,
1285,
835,
268,
294,
2695,
6685,
13,
288,
6862,
202,
588,
18415,
7675,
12320,
774,
2355,
12,
88,
16,
374,
1769,
9506,
202,
97,
1082,
202,
97,
202,
202,
22938,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
CGraphFeatureSelectionControl featureSelectionControl = new CGraphFeatureSelectionControl(); featureSelectionControl.setBorder( BorderFactory.createTitledBorder("Graph Features")); chart.setGraphFeatureSelectionControl(featureSelectionControl);
|
legend.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 0)); chart.setLegend(legend);
|
private void createComponents() { DefaultMutableTreeNode root = DBInterface.metricTree; CTreeButton metricTreeButton = new CTreeButton(root, (DefaultMutableTreeNode)root.getChildAt(0)); metricTreeButton.setRootVisible(false); metricTreeButton.expandFirstLevel(); //root = DBInterface.createTree(DBInterface.getTableName("item")); root = DBInterface.itemTree; CTreeButton itemTreeButton = new CTreeButton(root, root); //root = DBInterface.createTree(DBInterface.getTableName("org")); root = DBInterface.orgTree; CTreeButton orgTreeButton = new CTreeButton(root, root); CRangeButton rangeButton = new CRangeButton("C", DBInterface.minTimeRange, DBInterface.maxTimeRange, plaf); // demo kludge rangeButton.setSelectedItem(new RangeModel(-15, 50)); orgTreeButton.setSelectedItem("3-69-ARBN"); itemTreeButton.setSelectedItem("MEAL READY-TO-EAT"); //rangeButton.roundAndSetSliderRange(DBInterface.minTimeRange, // DBInterface.maxTimeRange); VariableModel[] variables = { new VariableModel("Metric", /*new JComboBox(TestDataSource.metrics)*/ metricTreeButton, true, VariableModel.Y_AXIS, true, 0), new VariableModel("Time", rangeButton, false, VariableModel.X_AXIS, true, 0), new VariableModel("Item", itemTreeButton, true, VariableModel.FIXED, true, 0), new VariableModel("Org", orgTreeButton, true, VariableModel.FIXED, true, 0) /*, new VariableModel("Location", new JTreeButton(), true), new VariableModel("Pat Cond", new JTreeButton(), true) */ }; Border emptyBorder = BorderFactory.createEmptyBorder(spacing, spacing, spacing, spacing); // create a new query generator to update databaseTableModel based // on (and triggered by) changes to variable controls. queryGenerator = new QueryGenerator(databaseTableModel); queryGenerator.setAggregateItems(true); // always on in this UI variableManager = new VariableInterfaceManager(variables, useMenuButtons); variableManager.addVariableListener( new VariableInterfaceManager.VariableListener() { public void variableChanged(VariableModel vm) { updateView(); } public void variablesSwapped(VariableModel vm1, VariableModel vm2) { // Special case for metrics control, if control is not a // independent variable, it must be set to a leaf node. // (because we don't support aggregation across different // metrics) fixVariableValue(vm1); fixVariableValue(vm2); updateView(); } }); // Fixed Variables JPanel fixedVariablesPanel = new JPanel(); fixedVariablesPanel.setBorder( BorderFactory.createTitledBorder("Fixed Parameters")); Box fvBox = new Box(BoxLayout.X_AXIS); fvBox.add(variableManager.getDescriptor("Item").getControl()); fvBox.add(Box.createHorizontalStrut(spacing * 2)); fvBox.add(variableManager.getDescriptor("Org").getControl()); fixedVariablesPanel.add(fvBox); // Independent Variables JPanel independentVariablesPanel = new JPanel(); independentVariablesPanel.setBorder( BorderFactory.createTitledBorder("Independent Parameters")); Box ivBox = new Box(BoxLayout.X_AXIS); ivBox.add(new JLabel("X Axis: ")); ivBox.add(((VariableModel)variableManager. getDescriptors(VariableModel.X_AXIS).nextElement()). getControl()); ivBox.add(Box.createHorizontalStrut(spacing * 2)); ivBox.add(new JLabel("Y Axis: ")); ivBox.add(((VariableModel)variableManager. getDescriptors(VariableModel.Y_AXIS).nextElement()). getControl()); independentVariablesPanel.add(ivBox); // Graph Feature Selection Control CGraphFeatureSelectionControl featureSelectionControl = new CGraphFeatureSelectionControl(); featureSelectionControl.setBorder( BorderFactory.createTitledBorder("Graph Features")); chart.setGraphFeatureSelectionControl(featureSelectionControl); // line plot panel //chart.getXAxis().setTitleText("Time (C+)"); JPanel linePlotPanel = new JPanel(new BorderLayout()); JPanel xAxisPanel = new JPanel(); xAxisPanel.add(variableManager.getXAxisLabel()); //xAxisPanel.add(((VariableModel)variableManager. // getDescriptors(VariableModel.X_AXIS).nextElement()). // getControl(), BorderLayout.SOUTH); JPanel yAxisPanel = new JPanel(new GridBagLayout()); CRLabel yAxisLabel = variableManager.getYAxisLabel(); yAxisLabel.setOrientation(CRLabel.DOWN_UP); yAxisPanel.add(yAxisLabel); linePlotPanel.add(chart, BorderLayout.CENTER); linePlotPanel.add(yAxisPanel, BorderLayout.WEST); linePlotPanel.add(xAxisPanel, BorderLayout.SOUTH); titledBorder = BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), variableManager.toString()); titledBorder.setTitleJustification(TitledBorder.CENTER); titledBorder.setTitleFont(MetalLookAndFeel.getWindowTitleFont()); linePlotPanel.setBorder(titledBorder); // generate initial query based on initial variable settings updateView(); // table panel JPanel tablePanel = new JPanel(new BorderLayout()); TableSorter sorter = new TableSorter(databaseTableModel); JTable table = new CRowHeaderTable(sorter); sorter.addMouseListenerToHeaderInTable(table); JScrollPane scrolledTable = new JScrollPane(table); tablePanel.add(scrolledTable, BorderLayout.CENTER); tablePanel.setMinimumSize(new Dimension(0, 0)); // high level layout GridBagLayout gbl = new GridBagLayout(); GridBagConstraints gbc = new GridBagConstraints(); gbc.weightx=1; gbc.weighty=1; JPanel controlPanel = new JPanel(gbl); gbc.fill=GridBagConstraints.BOTH; gbl.setConstraints(fixedVariablesPanel, gbc); controlPanel.add(fixedVariablesPanel); gbc.weightx=0; gbc.weighty=0; gbl.setConstraints(independentVariablesPanel, gbc); controlPanel.add(independentVariablesPanel); independentVariablesPanel.setPreferredSize(new Dimension(0, 0)); gbl.setConstraints(featureSelectionControl, gbc); controlPanel.add(featureSelectionControl); final JSplitPane chartPanel = new JSplitPane(JSplitPane.VERTICAL_SPLIT, linePlotPanel, tablePanel); chartPanel.setOneTouchExpandable(true); chartPanel.setDividerLocation(Integer.MAX_VALUE); add(chartPanel, BorderLayout.CENTER); add(controlPanel, BorderLayout.SOUTH); if (usingJdk13orGreater()) { try { // Without using reflection, the following line is: // chartPanel.setResizeWeight(1); // Will not compile under jdk1.2.2 (thus the use of reflection) chartPanel.getClass(). getMethod("setResizeWeight", new Class[]{double.class}). invoke(chartPanel, new Object[]{new Double(1)}); } catch(Exception e) {e.printStackTrace();} } else { // jdk 1.2 chartPanel.addComponentListener(new ComponentAdapter() { public void componentResized(ComponentEvent e) { chartPanel.setDividerLocation( chartPanel.getSize().height - chartPanel.getDividerSize()); } }); } }
|
7169 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7169/79eee7680d9471f004bd7d9705ac91339e963552/LinePlotPanel.java/clean/uiframework/src/mil/darpa/log/alpine/blackjack/assessui/client/LinePlotPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
7171,
1435,
565,
288,
3639,
2989,
19536,
12513,
1365,
273,
2383,
1358,
18,
6899,
2471,
31,
3639,
385,
2471,
3616,
3999,
2471,
3616,
273,
5411,
394,
385,
2471,
3616,
12,
3085,
16,
18701,
261,
1868,
19536,
12513,
13,
3085,
18,
588,
1763,
861,
12,
20,
10019,
3639,
3999,
2471,
3616,
18,
542,
2375,
6207,
12,
5743,
1769,
3639,
3999,
2471,
3616,
18,
12320,
3759,
2355,
5621,
3639,
368,
3085,
273,
2383,
1358,
18,
2640,
2471,
12,
2290,
1358,
18,
588,
7147,
2932,
1726,
7923,
1769,
3639,
1365,
273,
2383,
1358,
18,
1726,
2471,
31,
3639,
385,
2471,
3616,
761,
2471,
3616,
273,
394,
385,
2471,
3616,
12,
3085,
16,
1365,
1769,
3639,
368,
3085,
273,
2383,
1358,
18,
2640,
2471,
12,
2290,
1358,
18,
588,
7147,
2932,
3341,
7923,
1769,
3639,
1365,
273,
2383,
1358,
18,
3341,
2471,
31,
3639,
385,
2471,
3616,
2358,
2471,
3616,
273,
394,
385,
2471,
3616,
12,
3085,
16,
1365,
1769,
3639,
385,
2655,
3616,
1048,
3616,
273,
5411,
394,
385,
2655,
3616,
2932,
39,
3113,
2383,
1358,
18,
1154,
950,
2655,
16,
11794,
2383,
1358,
18,
1896,
950,
2655,
16,
886,
1727,
1769,
3639,
368,
21477,
15290,
27110,
3639,
1048,
3616,
18,
542,
7416,
1180,
12,
2704,
8086,
1488,
19236,
3600,
16,
6437,
10019,
3639,
2358,
2471,
3616,
18,
542,
7416,
1180,
2932,
23,
17,
8148,
17,
985,
15388,
8863,
3639,
761,
2471,
3616,
18,
542,
7416,
1180,
2932,
958,
1013,
10746,
61,
17,
4296,
17,
41,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
7171,
1435,
565,
288,
3639,
2989,
19536,
12513,
1365,
273,
2383,
1358,
18,
6899,
2471,
31,
3639,
385,
2471,
3616,
3999,
2471,
3616,
273,
5411,
394,
385,
2471,
3616,
12,
3085,
16,
18701,
261,
1868,
19536,
12513,
13,
3085,
18,
588,
1763,
861,
12,
20,
10019,
3639,
3999,
2471,
3616,
18,
542,
2375,
6207,
12,
5743,
1769,
3639,
3999,
2471,
3616,
18,
12320,
3759,
2355,
5621,
3639,
368,
3085,
273,
2383,
1358,
18,
2640,
2471,
12,
2290,
1358,
18,
588,
7147,
2932,
1726,
7923,
1769,
3639,
1365,
273,
2383,
1358,
18,
1726,
2471,
31,
3639,
385,
2471,
3616,
761,
2471,
3616,
273,
394,
385,
2471,
3616,
12,
3085,
16,
1365,
1769,
3639,
368,
3085,
273,
2
] |
super( ValueType.DOUBLE_TYPE,
|
super( ValueType.PDOUBLE_TYPE,
|
private DoubleLessOrEqualEvaluator() { super( ValueType.DOUBLE_TYPE, Operator.LESS_OR_EQUAL ); }
|
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/0a76f888ef55c8d5cf806f1c9e6a6e27fa7f4faf/DoubleFactory.java/clean/drools-core/src/main/java/org/drools/base/evaluators/DoubleFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
3698,
15313,
22376,
15876,
1435,
288,
5411,
2240,
12,
31718,
18,
14625,
10622,
67,
2399,
16,
10402,
11097,
18,
26005,
67,
916,
67,
12853,
11272,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
3698,
15313,
22376,
15876,
1435,
288,
5411,
2240,
12,
31718,
18,
14625,
10622,
67,
2399,
16,
10402,
11097,
18,
26005,
67,
916,
67,
12853,
11272,
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,
-100,
-100,
-100,
-100,
-100,
-100
] |
Token xsp; xsp = jj_scanpos; if (jj_3R_237()) { jj_scanpos = xsp; if (jj_3R_238()) { jj_scanpos = xsp; if (jj_3R_239()) { jj_scanpos = xsp; if (jj_3R_240()) { jj_scanpos = xsp; if (jj_3R_241()) { jj_scanpos = xsp; if (jj_3R_242()) { jj_scanpos = xsp; if (jj_3R_243()) { jj_scanpos = xsp; if (jj_3R_244()) { jj_scanpos = xsp; if (jj_3R_245()) { jj_scanpos = xsp; if (jj_3R_246()) { jj_scanpos = xsp; if (jj_3R_247()) { jj_scanpos = xsp; if (jj_3R_248()) return true; } } } } } } } } } } }
|
if (jj_scan_token(STARASSIGN)) return true;
|
final private boolean jj_3R_225() { Token xsp; xsp = jj_scanpos; if (jj_3R_237()) { jj_scanpos = xsp; if (jj_3R_238()) { jj_scanpos = xsp; if (jj_3R_239()) { jj_scanpos = xsp; if (jj_3R_240()) { jj_scanpos = xsp; if (jj_3R_241()) { jj_scanpos = xsp; if (jj_3R_242()) { jj_scanpos = xsp; if (jj_3R_243()) { jj_scanpos = xsp; if (jj_3R_244()) { jj_scanpos = xsp; if (jj_3R_245()) { jj_scanpos = xsp; if (jj_3R_246()) { jj_scanpos = xsp; if (jj_3R_247()) { jj_scanpos = xsp; if (jj_3R_248()) return true; } } } } } } } } } } } return false; }
|
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/2c4cc3303f04cdb3883f34b25cfe841b0bdf1fb5/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
22,
2947,
1435,
288,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
4366,
27,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
4366,
28,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
4366,
29,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
28784,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
3247,
21,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
3247,
22,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
3247,
23,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
3247,
24,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
3247,
25,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
3247,
26,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
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,
727,
3238,
1250,
10684,
67,
23,
54,
67,
22,
2947,
1435,
288,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
4366,
27,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
4366,
28,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
4366,
29,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
28784,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
2
] |
return new ResultSetDataSet( this, new int[]{ iColumnIndex }, 0, getRowCount( ) );
|
return new ResultSetDataSet( this, new int[]{ ( (Integer) htLookup.get( sExpressionKey ) ).intValue( ) }, ( iGroupIndex <= 0 ) ? 0 : iaGroupBreaks[iGroupIndex - 1], ( iGroupIndex >= iaGroupBreaks.length - 1 ) ? getRowCount( ) : iaGroupBreaks[iGroupIndex] );
|
public ResultSetDataSet getSubset( int iColumnIndex ) { return new ResultSetDataSet( this, new int[]{ iColumnIndex }, 0, getRowCount( ) ); }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/084c50326d35815e4788e99c3d01208013e2a8c1/ResultSetWrapper.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/internal/datafeed/ResultSetWrapper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
10842,
13676,
7040,
542,
12,
509,
277,
21689,
262,
202,
95,
202,
202,
2463,
394,
10842,
13676,
12,
333,
16,
394,
509,
63,
7073,
1082,
202,
77,
21689,
202,
202,
5779,
374,
16,
11835,
1380,
12,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
10842,
13676,
7040,
542,
12,
509,
277,
21689,
262,
202,
95,
202,
202,
2463,
394,
10842,
13676,
12,
333,
16,
394,
509,
63,
7073,
1082,
202,
77,
21689,
202,
202,
5779,
374,
16,
11835,
1380,
12,
262,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
int expectedMin = (byteCount * 10) / SystemMetrics.DEFAULT_HASH_TEST_BYTE_STEP;
|
public void testHashEstimation() throws IOException { int byteCount = SystemMetrics.DEFAULT_HASH_TEST_BYTE_STEP * 10; int estimate = byteCount; long duration; while (true) { MockCachedUrlSetHasher hasher = new MockCachedUrlSetHasher(byteCount); hasher.setHashStepDelay(10); long startTime = TimeBase.nowMs(); estimate = metrics.getBytesPerMsHashEstimate(hasher, new MockMessageDigest()); duration = TimeBase.msSince(startTime); if (estimate!=byteCount) { // non-zero hash time break; } else { // if hash time is 0, estimate equals # of bytes // we want to run until hashing takes actual time // increase byte count and try again byteCount *= 10; } } assertTrue(estimate < byteCount); // minimum amount of time would be delay * number of hash steps int expectedMin = (byteCount * 10) / SystemMetrics.DEFAULT_HASH_TEST_BYTE_STEP; assertTrue(duration > expectedMin); }
|
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/10445cc8a28761d1cb73c5e9526d15a5a84f99aa/TestSystemMetrics.java/clean/test/src/org/lockss/daemon/TestSystemMetrics.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
2310,
9122,
5115,
1435,
1216,
1860,
288,
565,
509,
30179,
273,
2332,
5653,
18,
5280,
67,
15920,
67,
16961,
67,
15377,
67,
26951,
380,
1728,
31,
565,
509,
11108,
273,
30179,
31,
565,
1525,
3734,
31,
565,
1323,
261,
3767,
13,
288,
1377,
7867,
9839,
1489,
694,
2310,
264,
15764,
273,
394,
7867,
9839,
1489,
694,
2310,
264,
12,
7229,
1380,
1769,
1377,
15764,
18,
542,
2310,
4160,
6763,
12,
2163,
1769,
1377,
1525,
8657,
273,
2647,
2171,
18,
3338,
6947,
5621,
1377,
11108,
273,
4309,
18,
588,
2160,
2173,
6947,
2310,
13638,
12,
2816,
264,
16,
540,
394,
7867,
1079,
9568,
10663,
1377,
3734,
273,
2647,
2171,
18,
959,
9673,
12,
1937,
950,
1769,
1377,
309,
261,
23562,
5,
33,
7229,
1380,
13,
288,
3639,
368,
1661,
17,
7124,
1651,
813,
3639,
898,
31,
1377,
289,
469,
288,
3639,
368,
309,
1651,
813,
353,
374,
16,
11108,
1606,
468,
434,
1731,
3639,
368,
732,
2545,
358,
1086,
3180,
24641,
5530,
3214,
813,
3639,
368,
10929,
1160,
1056,
471,
775,
3382,
3639,
30179,
6413,
1728,
31,
1377,
289,
565,
289,
565,
1815,
5510,
12,
23562,
411,
30179,
1769,
565,
368,
5224,
3844,
434,
813,
4102,
506,
4624,
380,
1300,
434,
1651,
6075,
565,
509,
2665,
2930,
273,
4202,
261,
7229,
1380,
380,
1728,
13,
342,
2332,
5653,
18,
5280,
67,
15920,
67,
16961,
67,
15377,
67,
26951,
31,
565,
1815,
5510,
12,
8760,
405,
2665,
2930,
1769,
225,
289,
2,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
2310,
9122,
5115,
1435,
1216,
1860,
288,
565,
509,
30179,
273,
2332,
5653,
18,
5280,
67,
15920,
67,
16961,
67,
15377,
67,
26951,
380,
1728,
31,
565,
509,
11108,
273,
30179,
31,
565,
1525,
3734,
31,
565,
1323,
261,
3767,
13,
288,
1377,
7867,
9839,
1489,
694,
2310,
264,
15764,
273,
394,
7867,
9839,
1489,
694,
2310,
264,
12,
7229,
1380,
1769,
1377,
15764,
18,
542,
2310,
4160,
6763,
12,
2163,
1769,
1377,
1525,
8657,
273,
2647,
2171,
18,
3338,
6947,
5621,
1377,
11108,
273,
4309,
18,
588,
2160,
2173,
6947,
2310,
13638,
12,
2816,
264,
16,
540,
394,
7867,
1079,
9568,
10663,
1377,
3734,
273,
2647,
2171,
18,
959,
9673,
12,
1937,
950,
1769,
2
] |
|
buffer.append(")");
|
buffer.append(')');
|
public String toString() { StringBuffer buffer = new StringBuffer(); buffer.append("Ring("); buffer.append(super.toString()); buffer.append(")"); return buffer.toString(); }
|
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/b35703c55343be9e1780756711f8f8cb630300f2/Ring.java/clean/src/org/openscience/cdk/Ring.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1762,
1435,
288,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
202,
202,
4106,
18,
6923,
2932,
10369,
2932,
1769,
202,
202,
4106,
18,
6923,
12,
9565,
18,
10492,
10663,
202,
202,
4106,
18,
6923,
2932,
2225,
1769,
202,
202,
2463,
1613,
18,
10492,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1762,
1435,
288,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
202,
202,
4106,
18,
6923,
2932,
10369,
2932,
1769,
202,
202,
4106,
18,
6923,
12,
9565,
18,
10492,
10663,
202,
202,
4106,
18,
6923,
2932,
2225,
1769,
202,
202,
2463,
1613,
18,
10492,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
private IStatus validateFileType(File linkTargetFile) { if (type == IResource.FILE && linkTargetFile.isFile() == false) { return createStatus( IStatus.ERROR, WorkbenchMessages.getString("CreateLinkedResourceGroup.linkTargetNotFile")); //$NON-NLS-1$ } else if (type == IResource.FOLDER && linkTargetFile.isDirectory() == false) { return createStatus( IStatus.ERROR, WorkbenchMessages.getString("CreateLinkedResourceGroup.linkTargetNotFolder")); //$NON-NLS-1$ } return createStatus(IStatus.OK, "");}
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/8f19d32ab675587f9292e51d958ac4edc0f9dca7/CreateLinkedResourceGroup.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/CreateLinkedResourceGroup.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
45,
1482,
5662,
28941,
12,
25579,
27269,
2326,
812,
15329,
202,
202,
430,
12,
723,
631,
45,
1420,
18,
3776,
10,
10,
1232,
2326,
812,
18,
291,
812,
1435,
631,
5743,
15329,
202,
202,
2463,
2640,
1482,
12,
1082,
202,
45,
1482,
18,
3589,
16,
1082,
202,
2421,
22144,
5058,
18,
588,
780,
2932,
1684,
13174,
18860,
18,
1232,
2326,
1248,
812,
7923,
1769,
202,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
97,
202,
12107,
202,
430,
12,
723,
631,
45,
1420,
18,
17357,
10,
10,
1232,
2326,
812,
18,
291,
2853,
1435,
631,
5743,
15329,
202,
202,
2463,
2640,
1482,
12,
1082,
202,
45,
1482,
18,
3589,
16,
1082,
202,
2421,
22144,
5058,
18,
588,
780,
2932,
1684,
13174,
18860,
18,
1232,
2326,
1248,
3899,
7923,
1769,
202,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
97,
202,
2463,
2640,
1482,
12,
45,
1482,
18,
3141,
16,
3660,
1769,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
45,
1482,
5662,
28941,
12,
25579,
27269,
2326,
812,
15329,
202,
202,
430,
12,
723,
631,
45,
1420,
18,
3776,
10,
10,
1232,
2326,
812,
18,
291,
812,
1435,
631,
5743,
15329,
202,
202,
2463,
2640,
1482,
12,
1082,
202,
45,
1482,
18,
3589,
16,
1082,
202,
2421,
22144,
5058,
18,
588,
780,
2932,
1684,
13174,
18860,
18,
1232,
2326,
1248,
812,
7923,
1769,
202,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
97,
202,
12107,
202,
430,
12,
723,
631,
45,
1420,
18,
17357,
10,
10,
1232,
2326,
812,
18,
291,
2853,
1435,
631,
5743,
15329,
202,
202,
2463,
2640,
1482,
12,
1082,
202,
45,
1482,
18,
3589,
16,
1082,
202,
2421,
22144,
5058,
18,
588,
2
] |
||
public static FloatBuffer createVector2Buffer(FloatBuffer buf, int vertices) { if (buf != null && buf.capacity() == 2 * vertices) { buf.rewind(); return buf; } else return createFloatBuffer(2 * vertices);
|
public static FloatBuffer createVector2Buffer(int vertices) { FloatBuffer vBuff = createFloatBuffer(2 * vertices); return vBuff;
|
public static FloatBuffer createVector2Buffer(FloatBuffer buf, int vertices) { if (buf != null && buf.capacity() == 2 * vertices) { buf.rewind(); return buf; } else return createFloatBuffer(2 * vertices); }
|
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/b74c301fa77691292df19d51213a7797b40854e9/BufferUtils.java/buggy/src/com/jme/util/geom/BufferUtils.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
5450,
1892,
752,
5018,
22,
1892,
12,
4723,
1892,
1681,
16,
509,
6928,
13,
288,
3639,
309,
261,
4385,
480,
446,
597,
1681,
18,
16017,
1435,
422,
576,
380,
6928,
13,
288,
5411,
1681,
18,
266,
10094,
5621,
5411,
327,
1681,
31,
3639,
289,
469,
327,
752,
4723,
1892,
12,
22,
380,
6928,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
5450,
1892,
752,
5018,
22,
1892,
12,
4723,
1892,
1681,
16,
509,
6928,
13,
288,
3639,
309,
261,
4385,
480,
446,
597,
1681,
18,
16017,
1435,
422,
576,
380,
6928,
13,
288,
5411,
1681,
18,
266,
10094,
5621,
5411,
327,
1681,
31,
3639,
289,
469,
327,
752,
4723,
1892,
12,
22,
380,
6928,
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
] |
return groupCount; }
|
return groupCount; }
|
protected int getGroupCount() { return groupCount; }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4fe0410e3d1e4dea160852289195cd6981c0f456/Ext2FileSystem.java/buggy/fs/src/fs/org/jnode/fs/ext2/Ext2FileSystem.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
509,
11751,
1380,
1435,
288,
202,
202,
2463,
1041,
1380,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
509,
11751,
1380,
1435,
288,
202,
202,
2463,
1041,
1380,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (!this.getClass().equals(other.getClass())) return false; SIPHeaderList that = (SIPHeaderList) other; if (this.hlist == that.hlist)
|
if (other == this)
|
public boolean equals(Object other) { if (!this.getClass().equals(other.getClass())) return false; SIPHeaderList that = (SIPHeaderList) other; if (this.hlist == that.hlist) return true; else if (this.hlist == null) return false; return this.hlist.equals(that.hlist); }
|
3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/68c0ca844a7d5fe4a7744cbf9898184966ce0680/SIPHeaderList.java/buggy/src/gov/nist/javax/sip/header/SIPHeaderList.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1606,
12,
921,
1308,
13,
288,
202,
202,
430,
16051,
2211,
18,
588,
797,
7675,
14963,
12,
3011,
18,
588,
797,
1435,
3719,
1082,
202,
2463,
629,
31,
202,
202,
17739,
1864,
682,
716,
273,
261,
17739,
1864,
682,
13,
1308,
31,
202,
202,
430,
261,
2211,
18,
76,
1098,
422,
716,
18,
76,
1098,
13,
1082,
202,
2463,
638,
31,
202,
202,
12107,
309,
261,
2211,
18,
76,
1098,
422,
446,
13,
1082,
202,
2463,
629,
31,
202,
202,
2463,
333,
18,
76,
1098,
18,
14963,
12,
19056,
18,
76,
1098,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1606,
12,
921,
1308,
13,
288,
202,
202,
430,
16051,
2211,
18,
588,
797,
7675,
14963,
12,
3011,
18,
588,
797,
1435,
3719,
1082,
202,
2463,
629,
31,
202,
202,
17739,
1864,
682,
716,
273,
261,
17739,
1864,
682,
13,
1308,
31,
202,
202,
430,
261,
2211,
18,
76,
1098,
422,
716,
18,
76,
1098,
13,
1082,
202,
2463,
638,
31,
202,
202,
12107,
309,
261,
2211,
18,
76,
1098,
422,
446,
13,
1082,
202,
2463,
629,
31,
202,
202,
2463,
333,
18,
76,
1098,
18,
14963,
12,
19056,
18,
76,
1098,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (lastColumnChosen == column) reverseSort = !reverseSort; else {
|
if (lastColumnChosen == column) { reverseSort = !reverseSort; } else {
|
private void sort(int column) { if (lastColumnChosen == column) reverseSort = !reverseSort; else { reverseSort = false; lastColumnChosen = column; } if (table.getItemCount() <= 1) return; // Remember the last selection int sel = table.getSelectionIndex(); if (sel != -1) lastSelection = bundleGroupInfos[sel]; switch (column) { case 0: AboutData.sortByProvider(reverseSort, bundleGroupInfos); break; case 1: AboutData.sortByName(reverseSort, bundleGroupInfos); break; case 2: AboutData.sortByVersion(reverseSort, bundleGroupInfos); break; case 3: AboutData.sortById(reverseSort, bundleGroupInfos); break; } refreshTable(); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/AboutFeaturesDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/AboutFeaturesDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1524,
12,
474,
1057,
13,
288,
3639,
309,
261,
2722,
1494,
782,
8918,
422,
1057,
13,
5411,
4219,
4416,
273,
401,
9845,
4416,
31,
3639,
469,
288,
5411,
4219,
4416,
273,
629,
31,
5411,
1142,
1494,
782,
8918,
273,
1057,
31,
3639,
289,
3639,
309,
261,
2121,
18,
588,
30687,
1435,
1648,
404,
13,
5411,
327,
31,
3639,
368,
23133,
326,
1142,
4421,
3639,
509,
357,
273,
1014,
18,
588,
6233,
1016,
5621,
3639,
309,
261,
1786,
480,
300,
21,
13,
5411,
1142,
6233,
273,
3440,
1114,
7655,
63,
1786,
15533,
3639,
1620,
261,
2827,
13,
288,
3639,
648,
374,
30,
5411,
9771,
659,
751,
18,
3804,
858,
2249,
12,
9845,
4416,
16,
3440,
1114,
7655,
1769,
5411,
898,
31,
3639,
648,
404,
30,
5411,
9771,
659,
751,
18,
3804,
5911,
12,
9845,
4416,
16,
3440,
1114,
7655,
1769,
5411,
898,
31,
3639,
648,
576,
30,
5411,
9771,
659,
751,
18,
3804,
858,
1444,
12,
9845,
4416,
16,
3440,
1114,
7655,
1769,
5411,
898,
31,
3639,
648,
890,
30,
5411,
9771,
659,
751,
18,
3804,
5132,
12,
9845,
4416,
16,
3440,
1114,
7655,
1769,
5411,
898,
31,
3639,
289,
3639,
4460,
1388,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1524,
12,
474,
1057,
13,
288,
3639,
309,
261,
2722,
1494,
782,
8918,
422,
1057,
13,
5411,
4219,
4416,
273,
401,
9845,
4416,
31,
3639,
469,
288,
5411,
4219,
4416,
273,
629,
31,
5411,
1142,
1494,
782,
8918,
273,
1057,
31,
3639,
289,
3639,
309,
261,
2121,
18,
588,
30687,
1435,
1648,
404,
13,
5411,
327,
31,
3639,
368,
23133,
326,
1142,
4421,
3639,
509,
357,
273,
1014,
18,
588,
6233,
1016,
5621,
3639,
309,
261,
1786,
480,
300,
21,
13,
5411,
1142,
6233,
273,
3440,
1114,
7655,
63,
1786,
15533,
3639,
1620,
261,
2827,
13,
288,
3639,
648,
374,
30,
5411,
9771,
659,
751,
18,
3804,
858,
2249,
12,
9845,
4416,
16,
3440,
1114,
7655,
2
] |
AST tmp1830_AST_in = (AST)_t;
|
AST tmp1842_AST_in = (AST)_t;
|
public final void compilestate(AST _t) throws RecognitionException { AST compilestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1717 = _t; AST tmp1827_AST_in = (AST)_t; match(_t,COMPILE); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; { _loop1766: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ATTRSPACE: { AST __t1719 = _t; AST tmp1828_AST_in = (AST)_t; match(_t,ATTRSPACE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { AST __t1721 = _t; AST tmp1829_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1721; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1719; _t = _t.getNextSibling(); break; } case NOATTRSPACE: { AST tmp1830_AST_in = (AST)_t; match(_t,NOATTRSPACE); _t = _t.getNextSibling(); break; } case SAVE: { AST __t1722 = _t; AST tmp1831_AST_in = (AST)_t; match(_t,SAVE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { AST __t1724 = _t; AST tmp1832_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1724; _t = _t.getNextSibling(); break; } case 3: case INTO: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case INTO: { AST __t1726 = _t; AST tmp1833_AST_in = (AST)_t; match(_t,INTO); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; _t = __t1726; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1722; _t = _t.getNextSibling(); break; } case LISTING: { AST __t1727 = _t; AST tmp1834_AST_in = (AST)_t; match(_t,LISTING); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; { _loop1731: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case APPEND: { compile_append(_t); _t = _retTree; break; } case PAGESIZE_KW: { AST __t1729 = _t; AST tmp1835_AST_in = (AST)_t; match(_t,PAGESIZE_KW); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1729; _t = _t.getNextSibling(); break; } case PAGEWIDTH: { AST __t1730 = _t; AST tmp1836_AST_in = (AST)_t; match(_t,PAGEWIDTH); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1730; _t = _t.getNextSibling(); break; } default: { break _loop1731; } } } while (true); } _t = __t1727; _t = _t.getNextSibling(); break; } case XCODE: { AST __t1732 = _t; AST tmp1837_AST_in = (AST)_t; match(_t,XCODE); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1732; _t = _t.getNextSibling(); break; } case XREF: { AST __t1733 = _t; AST tmp1838_AST_in = (AST)_t; match(_t,XREF); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case APPEND: { compile_append(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1733; _t = _t.getNextSibling(); break; } case STRINGXREF: { AST __t1735 = _t; AST tmp1839_AST_in = (AST)_t; match(_t,STRINGXREF); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case APPEND: { compile_append(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1735; _t = _t.getNextSibling(); break; } case STREAMIO: { AST __t1737 = _t; AST tmp1840_AST_in = (AST)_t; match(_t,STREAMIO); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { AST __t1739 = _t; AST tmp1841_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1739; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1737; _t = _t.getNextSibling(); break; } case MINSIZE: { AST __t1740 = _t; AST tmp1842_AST_in = (AST)_t; match(_t,MINSIZE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { AST __t1742 = _t; AST tmp1843_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1742; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1740; _t = _t.getNextSibling(); break; } case LANGUAGES: { AST __t1743 = _t; AST tmp1844_AST_in = (AST)_t; match(_t,LANGUAGES); _t = _t.getFirstChild(); AST tmp1845_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case VALUE: case TYPELESS_TOKEN: { compile_lang(_t); _t = _retTree; { _loop1746: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp1846_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); compile_lang(_t); _t = _retTree; } else { break _loop1746; } } while (true); } break; } case RIGHTPAREN: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1847_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); _t = __t1743; _t = _t.getNextSibling(); break; } case TEXTSEGGROW: { AST __t1747 = _t; AST tmp1848_AST_in = (AST)_t; match(_t,TEXTSEGGROW); _t = _t.getFirstChild(); AST __t1748 = _t; AST tmp1849_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1748; _t = _t.getNextSibling(); _t = __t1747; _t = _t.getNextSibling(); break; } case DEBUGLIST: { AST __t1749 = _t; AST tmp1850_AST_in = (AST)_t; match(_t,DEBUGLIST); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; _t = __t1749; _t = _t.getNextSibling(); break; } case DEFAULTNOXLATE: { AST __t1750 = _t; AST tmp1851_AST_in = (AST)_t; match(_t,DEFAULTNOXLATE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { AST __t1752 = _t; AST tmp1852_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1752; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1750; _t = _t.getNextSibling(); break; } case GENERATEMD5: { AST __t1753 = _t; AST tmp1853_AST_in = (AST)_t; match(_t,GENERATEMD5); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { AST __t1755 = _t; AST tmp1854_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1755; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1753; _t = _t.getNextSibling(); break; } case PREPROCESS: { AST __t1756 = _t; AST tmp1855_AST_in = (AST)_t; match(_t,PREPROCESS); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; _t = __t1756; _t = _t.getNextSibling(); break; } case USEREVVIDEO: { AST __t1757 = _t; AST tmp1856_AST_in = (AST)_t; match(_t,USEREVVIDEO); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { AST __t1759 = _t; AST tmp1857_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1759; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1757; _t = _t.getNextSibling(); break; } case USEUNDERLINE: { AST __t1760 = _t; AST tmp1858_AST_in = (AST)_t; match(_t,USEUNDERLINE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { AST __t1762 = _t; AST tmp1859_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1762; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1760; _t = _t.getNextSibling(); break; } case V6FRAME: { AST __t1763 = _t; AST tmp1860_AST_in = (AST)_t; match(_t,V6FRAME); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { AST __t1765 = _t; AST tmp1861_AST_in = (AST)_t; match(_t,EQUAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1765; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1763; _t = _t.getNextSibling(); break; } case NOERROR_KW: { AST tmp1862_AST_in = (AST)_t; match(_t,NOERROR_KW); _t = _t.getNextSibling(); break; } default: { break _loop1766; } } } while (true); } state_end(_t); _t = _retTree; _t = __t1717; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1161,
14849,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1161,
14849,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
4033,
4033,
273,
389,
88,
31,
202,
202,
9053,
1853,
2643,
5324,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
31075,
900,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
3459,
280,
1132,
24899,
88,
1769,
202,
202,
67,
88,
273,
389,
1349,
2471,
31,
202,
202,
95,
202,
202,
67,
6498,
4033,
6028,
30,
202,
202,
2896,
288,
1082,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
1082,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
1082,
202,
3593,
12759,
6616,
30,
1082,
202,
95,
9506,
202,
9053,
1001,
88,
4033,
3657,
273,
389,
88,
31,
9506,
202,
9053,
1853,
2643,
6030,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
9506,
202,
1916,
24899,
88,
16,
12043,
6616,
1769,
9506,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
9506,
202,
95,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
9506,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
9506,
202,
3593,
18231,
30,
9506,
202,
95,
6862,
202,
9053,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1161,
14849,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1161,
14849,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
4033,
4033,
273,
389,
88,
31,
202,
202,
9053,
1853,
2643,
5324,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
31075,
900,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
3459,
280,
1132,
24899,
88,
1769,
202,
202,
67,
88,
273,
389,
1349,
2471,
31,
202,
202,
95,
202,
202,
67,
6498,
4033,
6028,
30,
2
] |
boolean obfuscate = this.buildSetting.doObfuscate();
|
public void execute() throws BuildException { System.out.println("J2ME Polish " + VERSION ); if (!isActive()) { return; } try { checkSettings(); initProject(); selectDevices(); int numberOfDevices = this.devices.length; if (numberOfDevices > 1) { System.out.println("Processing [" + numberOfDevices + "] devices..."); } boolean obfuscate = this.buildSetting.doObfuscate(); for ( int i=0; i<numberOfDevices; i++) { Device device = this.devices[i]; preprocess( device ); compile( device ); if (obfuscate) { obfuscate( device ); } preverify( device ); jar( device ); jad( device ); } test(); deploy(); finishProject(); if (numberOfDevices > 1) { System.out.println("Successfully processed [" + numberOfDevices + "] devices."); } } catch (BuildException e) { throw e; } catch (Exception e) { e.printStackTrace(); throw new BuildException("Unable to execute J2ME Polish task: " + e.toString(), e ); } }
|
9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/76edfdf99b685c95146d768c09ebf16d04eb5c0f/PolishTask.java/buggy/enough-polish-build/source/src/de/enough/polish/ant/PolishTask.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1836,
1435,
1216,
18463,
288,
202,
202,
3163,
18,
659,
18,
8222,
2932,
46,
22,
958,
6730,
1468,
315,
397,
8456,
11272,
202,
202,
430,
16051,
291,
3896,
10756,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
698,
288,
1082,
202,
1893,
2628,
5621,
1082,
202,
2738,
4109,
5621,
1082,
202,
4025,
10053,
5621,
1082,
202,
474,
7922,
10053,
273,
333,
18,
12506,
18,
2469,
31,
1082,
202,
430,
261,
2696,
951,
10053,
405,
404,
13,
288,
9506,
202,
3163,
18,
659,
18,
8222,
2932,
7798,
8247,
397,
7922,
10053,
397,
9850,
7166,
7070,
1769,
1082,
202,
97,
1082,
202,
6494,
29004,
340,
273,
333,
18,
3510,
5568,
18,
2896,
10516,
21935,
340,
5621,
1082,
202,
1884,
261,
509,
277,
33,
20,
31,
277,
32,
2696,
951,
10053,
31,
277,
27245,
288,
9506,
202,
3654,
2346,
273,
333,
18,
12506,
63,
77,
15533,
9506,
202,
27545,
12,
2346,
11272,
9506,
202,
11100,
12,
2346,
11272,
9506,
202,
430,
261,
947,
21935,
340,
13,
288,
6862,
202,
947,
21935,
340,
12,
2346,
11272,
9506,
202,
97,
9506,
202,
1484,
8705,
12,
2346,
11272,
9506,
202,
11930,
12,
2346,
11272,
9506,
202,
78,
361,
12,
2346,
11272,
1082,
202,
97,
1082,
202,
3813,
5621,
1082,
202,
12411,
5621,
1082,
202,
13749,
4109,
5621,
1082,
202,
430,
261,
2696,
951,
10053,
405,
404,
13,
288,
9506,
202,
3163,
18,
659,
18,
8222,
2932,
18303,
5204,
8247,
397,
7922,
10053,
397,
9850,
7166,
1199,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1836,
1435,
1216,
18463,
288,
202,
202,
3163,
18,
659,
18,
8222,
2932,
46,
22,
958,
6730,
1468,
315,
397,
8456,
11272,
202,
202,
430,
16051,
291,
3896,
10756,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
698,
288,
1082,
202,
1893,
2628,
5621,
1082,
202,
2738,
4109,
5621,
1082,
202,
4025,
10053,
5621,
1082,
202,
474,
7922,
10053,
273,
333,
18,
12506,
18,
2469,
31,
1082,
202,
430,
261,
2696,
951,
10053,
405,
404,
13,
288,
9506,
202,
3163,
18,
659,
18,
8222,
2932,
7798,
8247,
397,
7922,
10053,
397,
9850,
7166,
7070,
1769,
1082,
202,
97,
1082,
202,
6494,
29004,
340,
273,
333,
18,
3510,
5568,
18,
2896,
10516,
21935,
340,
2
] |
|
runtime.defineReadonlyVariable("$FILENAME", RubyString.newString(runtime, "-"));
|
getRuntime().defineReadonlyVariable("$FILENAME", getRuntime().newString("-"));
|
public void initArgsFile() { extendObject(runtime.getModule("Enumerable")); runtime.defineReadonlyVariable("$<", this); runtime.defineGlobalConstant("ARGF", this); defineSingletonMethod("each", callbackFactory().getOptMethod(RubyArgsFile.class, "each_line")); defineSingletonMethod("each_line", callbackFactory().getOptMethod(RubyArgsFile.class, "each_line")); defineSingletonMethod("filename", callbackFactory().getMethod(RubyArgsFile.class, "filename"));// defineSingletonMethod("gets", callbackFactory().getOptSingletonMethod(RubyGlobal.class, "gets"));// defineSingletonMethod("readline", callbackFactory().getOptSingletonMethod(RubyGlobal.class, "readline")); //defineSingletonMethod("readlines", callbackFactory().getOptSingletonMethod(RubyGlobal.class, "readlines")); // defineSingletonMethod("to_a", callbackFactory().getOptSingletonMethod(RubyGlobal.class, "readlines")); defineSingletonMethod("to_s", callbackFactory().getMethod(RubyArgsFile.class, "filename")); runtime.defineReadonlyVariable("$FILENAME", RubyString.newString(runtime, "-")); // This is ugly. nextArgsFile both checks existence of another // file and the setup of any files. On top of that it handles // the logic for figuring out stdin versus a list of files. // I hacked this to make a null currentFile indicate that things // have not been set up yet. This seems fragile, but it at least // it passes tests now. //currentFile = (RubyIO) runtime.getGlobalVariables().get("$stdin"); }
|
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyArgsFile.java/clean/src/org/jruby/RubyArgsFile.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
2615,
812,
1435,
288,
3639,
2133,
921,
12,
9448,
18,
588,
3120,
2932,
3572,
25121,
7923,
1769,
7734,
3099,
18,
11255,
1994,
3700,
3092,
2932,
8,
32,
3113,
333,
1769,
3639,
3099,
18,
11255,
5160,
6902,
2932,
10973,
42,
3113,
333,
1769,
7734,
4426,
19571,
1305,
2932,
13798,
3113,
1348,
1733,
7675,
588,
6179,
1305,
12,
54,
10340,
2615,
812,
18,
1106,
16,
315,
13798,
67,
1369,
7923,
1769,
3639,
4426,
19571,
1305,
2932,
13798,
67,
1369,
3113,
1348,
1733,
7675,
588,
6179,
1305,
12,
54,
10340,
2615,
812,
18,
1106,
16,
315,
13798,
67,
1369,
7923,
1769,
202,
202,
11255,
19571,
1305,
2932,
3459,
3113,
1348,
1733,
7675,
588,
1305,
12,
54,
10340,
2615,
812,
18,
1106,
16,
315,
3459,
7923,
1769,
759,
202,
202,
11255,
19571,
1305,
2932,
14665,
3113,
1348,
1733,
7675,
588,
6179,
19571,
1305,
12,
54,
10340,
5160,
18,
1106,
16,
315,
14665,
7923,
1769,
759,
202,
202,
11255,
19571,
1305,
2932,
896,
1369,
3113,
1348,
1733,
7675,
588,
6179,
19571,
1305,
12,
54,
10340,
5160,
18,
1106,
16,
315,
896,
1369,
7923,
1769,
202,
202,
759,
11255,
19571,
1305,
2932,
896,
3548,
3113,
1348,
1733,
7675,
588,
6179,
19571,
1305,
12,
54,
10340,
5160,
18,
1106,
16,
315,
896,
3548,
7923,
1769,
202,
202,
759,
202,
202,
11255,
19571,
1305,
2932,
869,
67,
69,
3113,
1348,
1733,
7675,
588,
6179,
19571,
1305,
12,
54,
10340,
5160,
18,
1106,
16,
315,
896,
3548,
7923,
1769,
202,
202,
11255,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
2615,
812,
1435,
288,
3639,
2133,
921,
12,
9448,
18,
588,
3120,
2932,
3572,
25121,
7923,
1769,
7734,
3099,
18,
11255,
1994,
3700,
3092,
2932,
8,
32,
3113,
333,
1769,
3639,
3099,
18,
11255,
5160,
6902,
2932,
10973,
42,
3113,
333,
1769,
7734,
4426,
19571,
1305,
2932,
13798,
3113,
1348,
1733,
7675,
588,
6179,
1305,
12,
54,
10340,
2615,
812,
18,
1106,
16,
315,
13798,
67,
1369,
7923,
1769,
3639,
4426,
19571,
1305,
2932,
13798,
67,
1369,
3113,
1348,
1733,
7675,
588,
6179,
1305,
12,
54,
10340,
2615,
812,
18,
1106,
16,
315,
13798,
67,
1369,
7923,
1769,
202,
202,
11255,
19571,
1305,
2932,
3459,
3113,
1348,
1733,
7675,
588,
1305,
12,
54,
10340,
2615,
2
] |
maxY = Math.max(NWVariance.getMaxY(), SEVariance.getMaxY()); minY = Math.min(NWVariance.getMinY(), SEVariance.getMinY()); NWTree.baseNeighbour = SETree; SETree.baseNeighbour = NWTree; if(westPatchNeighbour!=null) { NWTree.leftNeighbour = westPatchNeighbour.SETree; westPatchNeighbour.SETree.leftNeighbour = NWTree; } if(southPatchNeighbour!=null) { SETree.rightNeighbour = southPatchNeighbour.NWTree; southPatchNeighbour.NWTree.rightNeighbour = SETree; }
|
double x_step = terrainData.getGridXStep(); double y_step = terrainData.getGridYStep();
|
Patch(TerrainData terrainData, int patchSize, int xOrig, int yOrig, Appearance app, ViewFrustum landscapeView, Patch westPatchNeighbour, Patch southPatchNeighbour) { int height = yOrig + patchSize; int width = xOrig + patchSize; this.xOrig = xOrig; this.yOrig = yOrig; this.PATCH_SIZE = patchSize; this.terrainData = terrainData; this.westPatchNeighbour = westPatchNeighbour; this.southPatchNeighbour = southPatchNeighbour; boolean has_texture = terrainData.hasTexture(); boolean has_color = terrainData.hasColor(); vertexData = new VertexData(PATCH_SIZE, has_texture, has_color); int format = TriangleArray.COORDINATES | TriangleArray.BY_REFERENCE; if(has_texture) format |= TriangleArray.TEXTURE_COORDINATE_2; if(has_color) format |= TriangleArray.COLOR_3; geom = new TriangleArray(PATCH_SIZE * PATCH_SIZE * 2 * 3, format); geom.setCapability(TriangleArray.ALLOW_REF_DATA_WRITE); geom.setCapability(TriangleArray.ALLOW_COUNT_WRITE); geom.setCoordRefFloat(vertexData.getCoords()); if(has_texture) geom.setTexCoordRefFloat(0, vertexData.getTextureCoords()); if(has_color) geom.setColorRefByte(vertexData.getColors()); NWVariance = new VarianceTree(terrainData, PATCH_SIZE, xOrig, yOrig, width, height, xOrig, height); NWTree = new TreeNode(xOrig, yOrig, // Left X, Y width, height, // Right X, Y xOrig, height, // Apex X, Y 1, terrainData, landscapeView, TreeNode.UNDEFINED, 1, NWVariance); SEVariance = new VarianceTree(terrainData, PATCH_SIZE, width, height, // Left X, Y xOrig, yOrig, // Right X, Y width, yOrig); // Apex X, Y SETree = new TreeNode(width, height, // Left X, Y xOrig, yOrig, // Right X, Y width, yOrig, // Apex X, Y 1, terrainData, landscapeView, TreeNode.UNDEFINED, 1, SEVariance); maxY = Math.max(NWVariance.getMaxY(), SEVariance.getMaxY()); minY = Math.min(NWVariance.getMinY(), SEVariance.getMinY()); NWTree.baseNeighbour = SETree; SETree.baseNeighbour = NWTree; if(westPatchNeighbour!=null) { NWTree.leftNeighbour = westPatchNeighbour.SETree; westPatchNeighbour.SETree.leftNeighbour = NWTree; } if(southPatchNeighbour!=null) { SETree.rightNeighbour = southPatchNeighbour.NWTree; southPatchNeighbour.NWTree.rightNeighbour = SETree; } Point3d min_bounds = new Point3d(xOrig * terrainData.getGridXStep(), minY, -(yOrig + height) * terrainData.getGridYStep()); Point3d max_bounds = new Point3d((xOrig + width) * terrainData.getGridXStep(), maxY, -yOrig * terrainData.getGridYStep()); shape3D = new Shape3D(geom, app); shape3D.setBoundsAutoCompute(false); shape3D.setBounds(new BoundingBox(min_bounds, max_bounds)); // Just as a failsafe, always set the terrain data in the user // data section of the node so that terrain code will find it // again, even if the top user is stupid. shape3D.setUserData(terrainData); }
|
46075 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46075/a20f5f88a952fd61789f0d11f56af9fe531b2cfa/Patch.java/buggy/src/java/org/j3d/terrain/roam/Patch.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
12042,
12,
56,
264,
7596,
751,
19272,
7596,
751,
16,
1850,
509,
4729,
1225,
16,
1850,
509,
619,
4741,
16,
1850,
509,
677,
4741,
16,
1850,
1716,
27668,
595,
16,
1850,
4441,
7167,
31801,
19193,
12476,
1767,
16,
1850,
12042,
27697,
7332,
13577,
477,
16,
1850,
12042,
24516,
7332,
13577,
477,
13,
565,
288,
3639,
509,
2072,
273,
677,
4741,
397,
4729,
1225,
31,
3639,
509,
1835,
273,
619,
4741,
397,
4729,
1225,
31,
3639,
333,
18,
92,
4741,
273,
619,
4741,
31,
3639,
333,
18,
93,
4741,
273,
677,
4741,
31,
3639,
333,
18,
20366,
67,
4574,
273,
4729,
1225,
31,
3639,
333,
18,
387,
7596,
751,
273,
19272,
7596,
751,
31,
3639,
333,
18,
31092,
7332,
13577,
477,
273,
27697,
7332,
13577,
477,
31,
3639,
333,
18,
87,
15347,
7332,
13577,
477,
273,
24516,
7332,
13577,
477,
31,
3639,
1250,
711,
67,
955,
594,
273,
19272,
7596,
751,
18,
5332,
10967,
5621,
3639,
1250,
711,
67,
3266,
273,
19272,
7596,
751,
18,
5332,
2957,
5621,
3639,
5253,
751,
273,
394,
12541,
751,
12,
20366,
67,
4574,
16,
4766,
565,
711,
67,
955,
594,
16,
4766,
565,
711,
67,
3266,
1769,
3639,
509,
740,
273,
10000,
4341,
1076,
18,
27237,
21329,
1777,
55,
571,
5397,
10000,
4341,
1076,
18,
6486,
67,
14617,
31,
3639,
309,
12,
5332,
67,
955,
594,
13,
5411,
740,
5626,
10000,
4341,
1076,
18,
24652,
67,
27237,
21329,
1777,
67,
22,
31,
3639,
309,
12,
5332,
67,
3266,
13,
5411,
740,
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,
12042,
12,
56,
264,
7596,
751,
19272,
7596,
751,
16,
1850,
509,
4729,
1225,
16,
1850,
509,
619,
4741,
16,
1850,
509,
677,
4741,
16,
1850,
1716,
27668,
595,
16,
1850,
4441,
7167,
31801,
19193,
12476,
1767,
16,
1850,
12042,
27697,
7332,
13577,
477,
16,
1850,
12042,
24516,
7332,
13577,
477,
13,
565,
288,
3639,
509,
2072,
273,
677,
4741,
397,
4729,
1225,
31,
3639,
509,
1835,
273,
619,
4741,
397,
4729,
1225,
31,
3639,
333,
18,
92,
4741,
273,
619,
4741,
31,
3639,
333,
18,
93,
4741,
273,
677,
4741,
31,
3639,
333,
18,
20366,
67,
4574,
273,
4729,
1225,
31,
3639,
333,
18,
387,
7596,
751,
273,
19272,
7596,
751,
31,
3639,
333,
18,
31092,
7332,
2
] |
sysContext.getAxisConfiguration().addService(axisService);
|
private static ServiceContext assumeServiceContext(String repo) throws AxisFault { ConfigurationContext sysContext = null; if (ListenerManager.configurationContext == null) { ConfigurationContextFactory efac = new ConfigurationContextFactory(); sysContext = efac.buildClientConfigurationContext(repo); } else { sysContext = ListenerManager.configurationContext; } //create new service QName assumedServiceName = new QName("AnonymousService"); ServiceDescription axisService = new ServiceDescription(assumedServiceName); sysContext.getAxisConfiguration().addService(axisService); ServiceGroupContext serviceGroupContext = axisService.getParent().getServiceGroupContext(sysContext); //we will assume a Service and operations// operationTemplate = new OperationDescription(new QName("TemplateOperation")); OperationDescription operationTemplate = new OutInOperationDescription(new QName("TemplateOperation")); PhasesInfo info =((AxisConfigurationImpl)sysContext.getAxisConfiguration()).getPhasesinfo(); //to set the operation flows if(info != null){ info.setOperationPhases(operationTemplate); } axisService.addOperation(operationTemplate); sysContext.getAxisConfiguration().addService(axisService); return serviceGroupContext.getServiceContext(assumedServiceName.getLocalPart()); }
|
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/3d75b84dc99d7027442067c5b46584814fe7c3fe/MessageSender.java/clean/modules/core/src/org/apache/axis2/clientapi/MessageSender.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1956,
1042,
6750,
1179,
1042,
12,
780,
3538,
13,
1216,
15509,
7083,
288,
3639,
4659,
1042,
2589,
1042,
273,
446,
31,
3639,
309,
261,
2223,
1318,
18,
7025,
1042,
422,
446,
13,
288,
5411,
4659,
29871,
425,
11639,
273,
394,
4659,
29871,
5621,
5411,
2589,
1042,
273,
425,
11639,
18,
3510,
1227,
1750,
1042,
12,
7422,
1769,
3639,
289,
469,
288,
5411,
2589,
1042,
273,
10652,
1318,
18,
7025,
1042,
31,
3639,
289,
3639,
368,
2640,
394,
1156,
3639,
16723,
12034,
16789,
273,
394,
16723,
2932,
18792,
1179,
8863,
3639,
1956,
3291,
2654,
1179,
273,
394,
1956,
3291,
12,
428,
379,
329,
16789,
1769,
2868,
1956,
1114,
1042,
1156,
1114,
1042,
273,
2654,
1179,
18,
588,
3054,
7675,
588,
1179,
1114,
1042,
12,
9499,
1042,
1769,
540,
368,
1814,
903,
6750,
279,
1956,
471,
5295,
759,
3639,
1674,
2283,
273,
394,
4189,
3291,
12,
2704,
16723,
2932,
2283,
2988,
7923,
1769,
4202,
4189,
3291,
1674,
2283,
273,
394,
282,
2976,
382,
2988,
3291,
12,
2704,
16723,
2932,
2283,
2988,
7923,
1769,
3639,
4360,
3304,
966,
1123,
273,
12443,
6558,
1750,
2828,
13,
9499,
1042,
18,
588,
6558,
1750,
1435,
2934,
588,
3731,
3304,
1376,
5621,
3639,
368,
869,
444,
326,
1674,
22465,
3639,
309,
12,
1376,
480,
446,
15329,
5411,
1123,
18,
542,
2988,
3731,
3304,
12,
7624,
2283,
1769,
3639,
289,
3639,
2654,
1179,
18,
1289,
2988,
12,
7624,
2283,
1769,
8227,
327,
1156,
1114,
1042,
18,
588,
1179,
1042,
12,
428,
379,
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,
1956,
1042,
6750,
1179,
1042,
12,
780,
3538,
13,
1216,
15509,
7083,
288,
3639,
4659,
1042,
2589,
1042,
273,
446,
31,
3639,
309,
261,
2223,
1318,
18,
7025,
1042,
422,
446,
13,
288,
5411,
4659,
29871,
425,
11639,
273,
394,
4659,
29871,
5621,
5411,
2589,
1042,
273,
425,
11639,
18,
3510,
1227,
1750,
1042,
12,
7422,
1769,
3639,
289,
469,
288,
5411,
2589,
1042,
273,
10652,
1318,
18,
7025,
1042,
31,
3639,
289,
3639,
368,
2640,
394,
1156,
3639,
16723,
12034,
16789,
273,
394,
16723,
2932,
18792,
1179,
8863,
3639,
1956,
3291,
2654,
1179,
273,
394,
1956,
3291,
12,
428,
379,
329,
16789,
1769,
2868,
1956,
1114,
1042,
1156,
1114,
1042,
273,
2654,
1179,
18,
588,
2
] |
|
System.out.println("debug: edburns: entry url: " +
|
System.out.println("debug: edburns: entry url: " +
|
public EMWindow (String title, String binDir, String url, int winnum, EmbeddedMozilla Creator) { super(title); popup = new PopupMenu(); creator = Creator; currentURL = url; winNum = winnum; myBinDir = binDir; System.out.println("constructed with binDir: " + binDir + " url: " + url); setSize(defaultWidth, defaultHeight); // Create the Menu Bar menuBar = new MenuBar(); this.setMenuBar(menuBar); Menu fileMenu = new Menu("File"); Menu viewMenu = new Menu("View"); Menu searchMenu = new Menu("Search"); Menu editMenu = new Menu("Edit"); MenuItem newItem = new MenuItem("New Window"); MenuItem closeItem = new MenuItem("Close"); MenuItem findItem = new MenuItem("Find"); MenuItem findNextItem = new MenuItem("Find Next"); MenuItem sourceItem = new MenuItem("View Page Source as String"); MenuItem pageInfoItem = new MenuItem("View Page Info"); MenuItem selectAllItem = new MenuItem("Select All"); MenuItem copyItem = new MenuItem("Copy"); menuBar.add(fileMenu); menuBar.add(viewMenu); menuBar.add(searchMenu); menuBar.add(editMenu); fileMenu.add(newItem); newItem.addActionListener(this); fileMenu.add(closeItem); closeItem.addActionListener(this); searchMenu.add(findItem); findItem.addActionListener(this); searchMenu.add(findNextItem); findNextItem.addActionListener(this); historyMenu = new Menu("History"); backMenuItem = new MenuItem("Back"); backMenuItem.addActionListener(this); historyMenu.add(backMenuItem); forwardMenuItem = new MenuItem("Forward"); forwardMenuItem.addActionListener(this); historyMenu.add(forwardMenuItem); menuBar.add(historyMenu); bookmarksMenu = new Menu("Bookmarks"); MenuItem addBookmark = new MenuItem("Add Current Page"); addBookmark.addActionListener(this); bookmarksMenu.add(addBookmark); addBookmark = new MenuItem("Add Current Page In New Folder"); addBookmark.addActionListener(this); bookmarksMenu.add(addBookmark); MenuItem manageBookmarks = new MenuItem("Manage Bookmarks..."); manageBookmarks.addActionListener(this); bookmarksMenu.add(manageBookmarks); menuBar.add(bookmarksMenu); Menu streamMenu = new Menu("Stream"); MenuItem streamFromFile = new MenuItem("Load Stream From File..."); streamFromFile.addActionListener(this); streamMenu.add(streamFromFile); MenuItem randomStream = new MenuItem("Load Random HTML InputStream"); randomStream.addActionListener(this); streamMenu.add(randomStream); menuBar.add(streamMenu); viewMenu.add(sourceItem); sourceItem.addActionListener(this); viewMenu.add(pageInfoItem); pageInfoItem.addActionListener(this); editMenu.add(selectAllItem); selectAllItem.addActionListener(this); editMenu.add(copyItem); copyItem.addActionListener(this); // Create the URL field urlField = new TextField("", 30); urlField.addActionListener(this); urlField.setText(url); // Create the buttons sub panel buttonsPanel = new Panel(); buttonsPanel.setLayout(new GridBagLayout()); // Add the buttons backButton = makeItem(buttonsPanel, "Back", 0, 0, 1, 1, 0.0, 0.0); backButton.setEnabled(false); forwardButton = makeItem(buttonsPanel, "Forward", 1, 0, 1, 1, 0.0, 0.0); forwardButton.setEnabled(false); stopButton = makeItem(buttonsPanel, "Stop", 2, 0, 1, 1, 0.0, 0.0); stopButton.setEnabled(false); refreshButton = makeItem(buttonsPanel, "Refresh", 3, 0, 1, 1, 0.0, 0.0); refreshButton.setEnabled(false); makeItem(buttonsPanel, "DOMViewer", 4, 0, 1, 1, 0.0, 0.0); makeItem(buttonsPanel, "POST", 5, 0, 1, 1, 0.0, 0.0); // Create the control panel controlPanel = new Panel(); controlPanel.setLayout(new BorderLayout()); // Add the URL field, and the buttons panel Panel centerPanel = new Panel(); centerPanel.setLayout(new BorderLayout()); centerPanel.add(urlField, BorderLayout.NORTH); // controlPanel.add(urlField, BorderLayout.CENTER); controlPanel.add(centerPanel, BorderLayout.CENTER); controlPanel.add(buttonsPanel, BorderLayout.WEST); // create the status panel statusPanel = new Panel(); statusPanel.setLayout(new BorderLayout()); // create and add the statusLabel and the urlStatusLabel statusLabel = new Label("", Label.LEFT); statusLabel.setBackground(Color.lightGray); urlStatusLabel = new Label("", Label.LEFT); urlStatusLabel.setBackground(Color.lightGray); Panel tPanel = new Panel(); tPanel.setLayout(new BorderLayout()); tPanel.add(statusLabel, BorderLayout.NORTH); tPanel.add(urlStatusLabel, BorderLayout.SOUTH); statusPanel.add(tPanel, BorderLayout.CENTER); // Create the browser try { BrowserControlFactory.setAppData(binDir); browserControl = BrowserControlFactory.newBrowserControl(); browserCanvas = (BrowserControlCanvas) browserControl.queryInterface(BrowserControl.BROWSER_CONTROL_CANVAS_NAME); } catch(Exception e) { System.out.println("Can't create BrowserControl: " + e.getMessage()); } Assert.assert_it(null != browserCanvas); browserCanvas.setSize(defaultWidth, defaultHeight); // Add the control panel and the browserCanvas add(controlPanel, BorderLayout.NORTH); add(browserCanvas, BorderLayout.CENTER); add(statusPanel, BorderLayout.SOUTH); addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { System.out.println("Got windowClosing"); System.out.println("destroying the BrowserControl"); EMWindow.this.delete(); // should close the BrowserControlCanvas creator.DestroyEMWindow(winNum); } public void windowClosed(WindowEvent e) { System.out.println("Got windowClosed"); } }); // Create the Context Menus add(popup); popup.add(popup_ViewSource = new MenuItem("View Source as ByteArray")); popup.add(popup_SelectAll = new MenuItem("Select All")); popup.add(popup_ViewSelection = new MenuItem("View Selection")); contextListener = new PopupActionListener(); popup_ViewSource.addActionListener (contextListener); popup_SelectAll.addActionListener (contextListener); popup_ViewSelection.addActionListener (contextListener); show(); toFront(); try { navigation = (Navigation2) browserControl.queryInterface(BrowserControl.NAVIGATION_NAME); navigation.setPrompt(this); currentPage = (CurrentPage2) browserControl.queryInterface(BrowserControl.CURRENT_PAGE_NAME); history = (History) browserControl.queryInterface(BrowserControl.HISTORY_NAME); prefs = (Preferences) browserControl.queryInterface(BrowserControl.PREFERENCES_NAME); prefs.registerPrefChangedCallback(this, "network.cookie.warnAboutCookies", "This IS the Closure!"); prefs.setPref("network.cookie.warnAboutCookies", "true"); prefs.setPref("browser.cache.disk_cache_size", "0"); // pull out the proxies, and make java aware of them Properties prefsProps = prefs.getPrefs(); String proxyHost = (String) prefsProps.get("network.proxy.http"); String proxyPort = (String) prefsProps.get("network.proxy.http_port"); if (null != proxyHost && null != proxyPort) { System.setProperty("http.proxyHost", proxyHost); System.setProperty("http.proxyPort", proxyPort); } //prefsProps = prefs.getPrefs(); //prefsProps.list(System.out); // This works, try it! } catch (Exception e) { System.out.println(e.toString()); } try { EventRegistration eventRegistration = (EventRegistration) browserControl.queryInterface(BrowserControl.EVENT_REGISTRATION_NAME); eventRegistration.addDocumentLoadListener(this); eventRegistration.addMouseListener(this); // PENDING(edburns): test code, replace with production code bookmarks = (Bookmarks) browserControl.queryInterface(BrowserControl.BOOKMARKS_NAME); System.out.println("debug: edburns: got Bookmarks instance"); bookmarksTree = bookmarks.getBookmarks(); /********* TreeNode bookmarksRoot = (TreeNode) bookmarksTree.getRoot(); System.out.println("debug: edburns: testing the Enumeration"); int childCount = bookmarksRoot.getChildCount(); System.out.println("debug: edburns: root has " + childCount + " children."); Enumeration rootChildren = bookmarksRoot.children(); TreeNode currentChild; int i = 0, childIndex; while (rootChildren.hasMoreElements()) { currentChild = (TreeNode) rootChildren.nextElement(); System.out.println("debug: edburns: bookmarks root has children! child: " + i + " name: " + currentChild.toString()); i++; } System.out.println("debug: edburns: testing getChildAt(" + --i + "): "); currentChild = bookmarksRoot.getChildAt(i); System.out.println("debug: edburns: testing getIndex(Child " + i + "): index should be " + i + "."); childIndex = bookmarksRoot.getIndex(currentChild); System.out.println("debug: edburns: index is: " + childIndex); *****/ /********** System.out.println("debug: edburns: got new entry"); Properties entryProps = entry.getProperties(); System.out.println("debug: edburns: entry url: " + entryProps.getProperty(BookmarkEntry.URL)); bookmarks.addBookmark(folder, entry); **********/ } catch (Exception e) { System.out.println(e.toString()); } if (null != navigation) { navigation.loadURL(url); } } // EMWindow() ctor
|
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/afee19ff581e3d13844917014bf035cd25e515ae/EMWindow.java/clean/java/webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7141,
3829,
261,
780,
2077,
16,
514,
4158,
1621,
16,
514,
880,
16,
509,
5657,
2107,
16,
21829,
49,
11142,
10745,
29525,
13,
377,
288,
202,
9565,
12,
2649,
1769,
565,
10431,
273,
394,
10264,
416,
4599,
5621,
202,
20394,
273,
29525,
31,
565,
783,
1785,
273,
880,
31,
202,
8082,
2578,
273,
5657,
2107,
31,
565,
3399,
9913,
1621,
273,
4158,
1621,
31,
3639,
2332,
18,
659,
18,
8222,
2932,
10062,
329,
598,
4158,
1621,
30,
315,
397,
4158,
1621,
397,
315,
880,
30,
315,
397,
18701,
880,
1769,
202,
202,
542,
1225,
12,
1886,
2384,
16,
805,
2686,
1769,
1082,
202,
759,
1788,
326,
9809,
16654,
202,
202,
5414,
5190,
273,
394,
9809,
5190,
5621,
202,
202,
2211,
18,
542,
4599,
5190,
12,
5414,
5190,
1769,
3639,
202,
202,
4599,
585,
4599,
273,
394,
9809,
2932,
812,
8863,
202,
202,
4599,
1476,
4599,
273,
394,
9809,
2932,
1767,
8863,
3639,
202,
202,
4599,
1623,
4599,
273,
394,
9809,
2932,
2979,
8863,
202,
202,
4599,
3874,
4599,
273,
394,
9809,
2932,
4666,
8863,
3639,
202,
202,
12958,
26536,
273,
394,
25085,
2932,
1908,
6076,
8863,
3639,
202,
202,
12958,
1746,
1180,
273,
394,
25085,
2932,
4605,
8863,
3639,
202,
202,
12958,
1104,
1180,
273,
394,
25085,
2932,
3125,
8863,
3639,
202,
202,
12958,
19429,
1180,
273,
394,
25085,
2932,
3125,
4804,
8863,
202,
202,
12958,
1084,
1180,
273,
394,
25085,
2932,
1767,
3460,
4998,
487,
514,
8863,
202,
202,
12958,
1363,
966,
1180,
273,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7141,
3829,
261,
780,
2077,
16,
514,
4158,
1621,
16,
514,
880,
16,
509,
5657,
2107,
16,
21829,
49,
11142,
10745,
29525,
13,
377,
288,
202,
9565,
12,
2649,
1769,
565,
10431,
273,
394,
10264,
416,
4599,
5621,
202,
20394,
273,
29525,
31,
565,
783,
1785,
273,
880,
31,
202,
8082,
2578,
273,
5657,
2107,
31,
565,
3399,
9913,
1621,
273,
4158,
1621,
31,
3639,
2332,
18,
659,
18,
8222,
2932,
10062,
329,
598,
4158,
1621,
30,
315,
397,
4158,
1621,
397,
315,
880,
30,
315,
397,
18701,
880,
1769,
202,
202,
542,
1225,
12,
1886,
2384,
16,
805,
2686,
1769,
1082,
202,
759,
1788,
326,
9809,
16654,
202,
202,
5414,
5190,
273,
394,
9809,
5190,
5621,
2
] |
XSModelGroupImpl group; if (fParent[i] instanceof XSComplexTypeDecl) group = (XSModelGroupImpl)((XSComplexTypeDecl)fParent[i]).getParticle().getTerm(); else
|
XSModelGroupImpl group = null; if (fParent[i] instanceof XSComplexTypeDecl) { XSParticle p = ((XSComplexTypeDecl)fParent[i]).getParticle(); if (p != null) group = (XSModelGroupImpl)p.getTerm(); } else {
|
void traverseLocalElements() { fElementTraverser.fDeferTraversingLocalElements = false; for (int i = 0; i < fLocalElemStackPos; i++) { Element currElem = fLocalElementDecl[i]; XSDocumentInfo currSchema = (XSDocumentInfo)fDoc2XSDocumentMap.get(DOMUtil.getDocument(currElem)); SchemaGrammar currGrammar = fGrammarBucket.getGrammar(currSchema.fTargetNamespace); fElementTraverser.traverseLocal (fParticle[i], currElem, currSchema, currGrammar, fAllContext[i], fParent[i]); // If it's an empty particle, remove it from the containing component. if (fParticle[i].fType == XSParticleDecl.PARTICLE_EMPTY) { XSModelGroupImpl group; if (fParent[i] instanceof XSComplexTypeDecl) group = (XSModelGroupImpl)((XSComplexTypeDecl)fParent[i]).getParticle().getTerm(); else group = ((XSGroupDecl)fParent[i]).fModelGroup; removeParticle(group, fParticle[i]); } } }
|
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/824513f9279b62485bd5e7ef6236029f1a49e949/XSDHandler.java/clean/src/org/apache/xerces/impl/xs/traversers/XSDHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
10080,
2042,
3471,
1435,
288,
3639,
284,
1046,
15844,
264,
18,
74,
758,
586,
15844,
310,
2042,
3471,
273,
629,
31,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
284,
2042,
7498,
2624,
1616,
31,
277,
27245,
288,
5411,
3010,
4306,
7498,
273,
284,
2042,
1046,
3456,
63,
77,
15533,
5411,
1139,
55,
2519,
966,
4306,
3078,
273,
261,
60,
55,
2519,
966,
13,
74,
1759,
22,
60,
55,
2519,
863,
18,
588,
12,
8168,
1304,
18,
588,
2519,
12,
17016,
7498,
10019,
5411,
4611,
18576,
4306,
18576,
273,
284,
18576,
4103,
18,
588,
18576,
12,
17016,
3078,
18,
74,
2326,
3402,
1769,
5411,
284,
1046,
15844,
264,
18,
2033,
2476,
2042,
261,
74,
1988,
3711,
63,
77,
6487,
4306,
7498,
16,
4306,
3078,
16,
4306,
18576,
16,
284,
1595,
1042,
63,
77,
6487,
284,
3054,
63,
77,
19226,
5411,
368,
971,
518,
1807,
392,
1008,
20036,
16,
1206,
518,
628,
326,
4191,
1794,
18,
5411,
309,
261,
74,
1988,
3711,
63,
77,
8009,
74,
559,
422,
1139,
55,
1988,
3711,
3456,
18,
15055,
2871,
900,
67,
13625,
13,
288,
7734,
1139,
55,
1488,
1114,
2828,
1041,
31,
7734,
309,
261,
74,
3054,
63,
77,
65,
1276,
1139,
55,
12795,
559,
3456,
13,
10792,
1041,
273,
261,
60,
55,
1488,
1114,
2828,
13,
12443,
60,
55,
12795,
559,
3456,
13,
74,
3054,
63,
77,
65,
2934,
588,
1988,
3711,
7675,
588,
4065,
5621,
7734,
469,
10792,
1041,
273,
14015,
60,
55,
1114,
3456,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
10080,
2042,
3471,
1435,
288,
3639,
284,
1046,
15844,
264,
18,
74,
758,
586,
15844,
310,
2042,
3471,
273,
629,
31,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
284,
2042,
7498,
2624,
1616,
31,
277,
27245,
288,
5411,
3010,
4306,
7498,
273,
284,
2042,
1046,
3456,
63,
77,
15533,
5411,
1139,
55,
2519,
966,
4306,
3078,
273,
261,
60,
55,
2519,
966,
13,
74,
1759,
22,
60,
55,
2519,
863,
18,
588,
12,
8168,
1304,
18,
588,
2519,
12,
17016,
7498,
10019,
5411,
4611,
18576,
4306,
18576,
273,
284,
18576,
4103,
18,
588,
18576,
12,
17016,
3078,
18,
74,
2326,
3402,
1769,
5411,
284,
1046,
15844,
264,
18,
2033,
2476,
2042,
261,
74,
1988,
2
] |
this.enableCorrelation = ENABLE_CORREATION_NEVER;
|
this.enableCorrelation = ENABLE_CORRELATION_NEVER;
|
public void setEnableCorrelationAsString(String enableCorrelation) { if (enableCorrelation != null) { if (enableCorrelation.equals("ALWAYS")) { this.enableCorrelation = ENABLE_CORREATION_ALWAYS; } else if (enableCorrelation.equals("NEVER")) { this.enableCorrelation = ENABLE_CORREATION_NEVER; } else if (enableCorrelation.equals("IF_NOT_SET")) { this.enableCorrelation = ENABLE_CORREATION_IF_NOT_SET; } else { throw new IllegalArgumentException("Value for enableCorrelation not recognised: " + enableCorrelation); } } }
|
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/ae3f76e3f49223d642e920cfaf75c4810823d9a5/AbstractOutboundRouter.java/clean/mule/src/java/org/mule/routing/outbound/AbstractOutboundRouter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
8317,
31685,
8092,
12,
780,
4237,
31685,
13,
565,
288,
3639,
309,
261,
7589,
31685,
480,
446,
13,
288,
5411,
309,
261,
7589,
31685,
18,
14963,
2932,
1013,
29295,
6,
3719,
288,
7734,
333,
18,
7589,
31685,
273,
6693,
2782,
67,
9428,
862,
2689,
67,
1013,
29295,
31,
5411,
289,
469,
309,
261,
7589,
31685,
18,
14963,
2932,
5407,
2204,
6,
3719,
288,
7734,
333,
18,
7589,
31685,
273,
6693,
2782,
67,
9428,
27822,
67,
5407,
2204,
31,
5411,
289,
469,
309,
261,
7589,
31685,
18,
14963,
2932,
5501,
67,
4400,
67,
4043,
6,
3719,
288,
7734,
333,
18,
7589,
31685,
273,
6693,
2782,
67,
9428,
862,
2689,
67,
5501,
67,
4400,
67,
4043,
31,
5411,
289,
469,
288,
7734,
604,
394,
2754,
2932,
620,
364,
4237,
31685,
486,
14603,
5918,
30,
315,
397,
4237,
31685,
1769,
5411,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
8317,
31685,
8092,
12,
780,
4237,
31685,
13,
565,
288,
3639,
309,
261,
7589,
31685,
480,
446,
13,
288,
5411,
309,
261,
7589,
31685,
18,
14963,
2932,
1013,
29295,
6,
3719,
288,
7734,
333,
18,
7589,
31685,
273,
6693,
2782,
67,
9428,
862,
2689,
67,
1013,
29295,
31,
5411,
289,
469,
309,
261,
7589,
31685,
18,
14963,
2932,
5407,
2204,
6,
3719,
288,
7734,
333,
18,
7589,
31685,
273,
6693,
2782,
67,
9428,
27822,
67,
5407,
2204,
31,
5411,
289,
469,
309,
261,
7589,
31685,
18,
14963,
2932,
5501,
67,
4400,
67,
4043,
6,
3719,
288,
7734,
333,
18,
7589,
31685,
273,
6693,
2782,
67,
9428,
862,
2689,
67,
5501,
67,
4400,
67,
4043,
31,
2
] |
/* Pruning options. */ options[current++] = "-K"; options[current++] = "" + m_best; options[current++] = "-F"; options[current++] = "" + m_frequencyThreshold; options[current++] = "-C"; options[current++] = "" + m_confirmationThreshold; options[current++] = "-N"; options[current++] = "" + m_noiseThreshold;
|
if (m_confirmationThreshold > 0) { result.add("-C"); result.add("" + m_confirmationThreshold); } result.add("-N"); result.add("" + m_noiseThreshold);
|
public String [] getOptions() { String [] options = new String [24]; int current = 0; /* Pruning options. */ options[current++] = "-K"; options[current++] = "" + m_best; options[current++] = "-F"; options[current++] = "" + m_frequencyThreshold; options[current++] = "-C"; options[current++] = "" + m_confirmationThreshold; options[current++] = "-N"; options[current++] = "" + m_noiseThreshold; /* Search space and language bias options. */ if (m_repeat) { options[current++] = "-R"; } options[current++] = "-L"; options[current++] = "" + m_numLiterals; options[current++] = "-G"; options[current++] = "" + m_negation; if (m_classification) { options[current++] = "-S"; } options[current++] = "-c"; options[current++] = "" + m_classIndex; if (m_horn) { options[current++] = "-H"; } /* Subsumption tests options. */ if (!m_equivalent) { options[current++] = "-E"; } if (!m_sameClause) { options[current++] = "-M"; } if (!m_subsumption) { options[current++] = "-T"; } /* Missing values options. */ options[current++] = "-I"; options[current++] = "" + m_missing; /* ROC analysis. */ if (m_roc) { options[current++] = "-O"; } /* Individual-based learning. */ options[current++] = "-p"; options[current++] = "" + m_partsString; /* Values output. */ options[current++] = "-P"; options[current++] = "" + m_printValues; while (current < options.length) { options[current++] = ""; } return options; }
|
4773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4773/43c807e9cf37ee0211acf32fdf2623f5b3ddd5aa/Tertius.java/buggy/weka/associations/Tertius.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
5378,
9849,
1435,
288,
3639,
514,
5378,
702,
273,
394,
514,
306,
3247,
15533,
565,
509,
783,
273,
374,
31,
3639,
1748,
2301,
13036,
702,
18,
1195,
565,
702,
63,
2972,
9904,
65,
273,
3701,
47,
14432,
702,
63,
2972,
9904,
65,
273,
1408,
397,
312,
67,
12729,
31,
565,
702,
63,
2972,
9904,
65,
273,
3701,
42,
14432,
702,
63,
2972,
9904,
65,
273,
1408,
397,
312,
67,
14092,
7614,
31,
565,
702,
63,
2972,
9904,
65,
273,
3701,
39,
14432,
702,
63,
2972,
9904,
65,
273,
1408,
397,
312,
67,
22275,
7614,
31,
565,
702,
63,
2972,
9904,
65,
273,
3701,
50,
14432,
702,
63,
2972,
9904,
65,
273,
1408,
397,
312,
67,
17814,
7614,
31,
565,
1748,
5167,
3476,
471,
2653,
12005,
702,
18,
1195,
565,
309,
261,
81,
67,
9374,
13,
288,
1377,
702,
63,
2972,
9904,
65,
273,
3701,
54,
14432,
565,
289,
565,
702,
63,
2972,
9904,
65,
273,
3701,
48,
14432,
702,
63,
2972,
9904,
65,
273,
1408,
397,
312,
67,
2107,
48,
11235,
31,
565,
702,
63,
2972,
9904,
65,
273,
3701,
43,
14432,
702,
63,
2972,
9904,
65,
273,
1408,
397,
312,
67,
14518,
367,
31,
565,
309,
261,
81,
67,
20251,
13,
288,
1377,
702,
63,
2972,
9904,
65,
273,
3701,
55,
14432,
565,
289,
565,
702,
63,
2972,
9904,
65,
273,
3701,
71,
14432,
702,
63,
2972,
9904,
65,
273,
1408,
397,
312,
67,
1106,
1016,
31,
565,
309,
261,
81,
67,
76,
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,
5378,
9849,
1435,
288,
3639,
514,
5378,
702,
273,
394,
514,
306,
3247,
15533,
565,
509,
783,
273,
374,
31,
3639,
1748,
2301,
13036,
702,
18,
1195,
565,
702,
63,
2972,
9904,
65,
273,
3701,
47,
14432,
702,
63,
2972,
9904,
65,
273,
1408,
397,
312,
67,
12729,
31,
565,
702,
63,
2972,
9904,
65,
273,
3701,
42,
14432,
702,
63,
2972,
9904,
65,
273,
1408,
397,
312,
67,
14092,
7614,
31,
565,
702,
63,
2972,
9904,
65,
273,
3701,
39,
14432,
702,
63,
2972,
9904,
65,
273,
1408,
397,
312,
67,
22275,
7614,
31,
565,
702,
63,
2972,
9904,
65,
273,
3701,
50,
14432,
702,
63,
2972,
9904,
65,
273,
1408,
397,
312,
67,
17814,
2
] |
IFile originalFile = input.getFile();
|
IFile originalFile = ((IFileEditorInput) input).getFile();
|
public void doSave(IProgressMonitor _monitor) { //MessageDialog.openInformation(Display.getCurrent().getActiveShell(), "Not Yet", "Yeah, it can, but I'm not going to let you. It's safer for all of us at the moment."); /**/ try { EOModelEditorInput input = (EOModelEditorInput) getEditorInput(); if (input != null) { EOModel model = input.getModel(); Set failures = new HashSet(); model.verify(failures); handleModelErrors(failures); IFile originalFile = input.getFile(); IContainer originalFolder = originalFile.getParent(); model.saveToFolder(originalFolder.getParent().getLocation().toFile()); model.setDirty(false); originalFolder.refreshLocal(IResource.DEPTH_INFINITE, _monitor); } } catch (IOException e) { e.printStackTrace(); } catch (CoreException e) { e.printStackTrace(); } /**/ }
|
47899 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47899/c4b8489f8965a2412bb213dc1b2edc049bdddf53/EOModelEditor.java/clean/wolips/plugins/org.objectstyle.wolips.eomodeler/java/org/objectstyle/wolips/eomodeler/editors/EOModelEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
741,
4755,
12,
45,
5491,
7187,
389,
10259,
13,
288,
565,
368,
1079,
6353,
18,
3190,
5369,
12,
4236,
18,
588,
3935,
7675,
588,
3896,
13220,
9334,
315,
1248,
1624,
278,
3113,
315,
61,
73,
9795,
16,
518,
848,
16,
1496,
467,
17784,
486,
8554,
358,
2231,
1846,
18,
2597,
1807,
7864,
586,
364,
777,
434,
584,
622,
326,
10382,
1199,
1769,
565,
1783,
19,
565,
775,
288,
1377,
512,
51,
1488,
6946,
1210,
810,
273,
261,
41,
51,
1488,
6946,
1210,
13,
336,
6946,
1210,
5621,
1377,
309,
261,
2630,
480,
446,
13,
288,
3639,
512,
51,
1488,
938,
273,
810,
18,
588,
1488,
5621,
3639,
1000,
11720,
273,
394,
6847,
5621,
3639,
938,
18,
8705,
12,
26268,
1769,
3639,
1640,
1488,
4229,
12,
26268,
1769,
3639,
467,
812,
2282,
812,
273,
14015,
45,
812,
6946,
1210,
13,
810,
2934,
29925,
5621,
3639,
467,
2170,
2282,
3899,
273,
2282,
812,
18,
588,
3054,
5621,
3639,
938,
18,
5688,
774,
3899,
12,
8830,
3899,
18,
588,
3054,
7675,
588,
2735,
7675,
869,
812,
10663,
3639,
938,
18,
542,
10785,
12,
5743,
1769,
3639,
2282,
3899,
18,
9144,
2042,
12,
45,
1420,
18,
27479,
67,
706,
7263,
5398,
16,
389,
10259,
1769,
1377,
289,
565,
289,
565,
1044,
261,
14106,
425,
13,
288,
1377,
425,
18,
1188,
6332,
5621,
565,
289,
565,
1044,
261,
25341,
425,
13,
288,
1377,
425,
18,
1188,
6332,
5621,
565,
289,
565,
1783,
19,
225,
289,
2,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
741,
4755,
12,
45,
5491,
7187,
389,
10259,
13,
288,
565,
368,
1079,
6353,
18,
3190,
5369,
12,
4236,
18,
588,
3935,
7675,
588,
3896,
13220,
9334,
315,
1248,
1624,
278,
3113,
315,
61,
73,
9795,
16,
518,
848,
16,
1496,
467,
17784,
486,
8554,
358,
2231,
1846,
18,
2597,
1807,
7864,
586,
364,
777,
434,
584,
622,
326,
10382,
1199,
1769,
565,
1783,
19,
565,
775,
288,
1377,
512,
51,
1488,
6946,
1210,
810,
273,
261,
41,
51,
1488,
6946,
1210,
13,
336,
6946,
1210,
5621,
1377,
309,
261,
2630,
480,
446,
13,
288,
3639,
512,
51,
1488,
938,
273,
810,
18,
588,
1488,
5621,
3639,
1000,
11720,
273,
394,
6847,
5621,
3639,
938,
18,
2
] |
AST __t241 = _t;
|
AST __t243 = _t;
|
public final void xpointer(AST _t, PathExpr path ) throws RecognitionException { org.exist.xquery.parser.XQueryAST xpointer_AST_in = (_t == ASTNULL) ? null : (org.exist.xquery.parser.XQueryAST)_t; org.exist.xquery.parser.XQueryAST nc = null; Expression step = null; try { // for error handling if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case XPOINTER: { AST __t240 = _t; org.exist.xquery.parser.XQueryAST tmp1_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,XPOINTER); _t = _t.getFirstChild(); step=expr(_t,path); _t = _retTree; _t = __t240; _t = _t.getNextSibling(); break; } case XPOINTER_ID: { AST __t241 = _t; org.exist.xquery.parser.XQueryAST tmp2_AST_in = (org.exist.xquery.parser.XQueryAST)_t; match(_t,XPOINTER_ID); _t = _t.getFirstChild(); nc = (org.exist.xquery.parser.XQueryAST)_t; match(_t,NCNAME); _t = _t.getNextSibling(); _t = __t241; _t = _t.getNextSibling(); Function fun= new FunId(context); List params= new ArrayList(1); params.add(new LiteralValue(context, new StringValue(nc.getText()))); fun.setArguments(params); path.addPath(fun); break; } default: { throw new NoViableAltException(_t); } } } catch (RecognitionException e) { handleException(e); } catch (EXistException e) { handleException(e); } catch (PermissionDeniedException e) { handleException(e); } catch (XPathException e) { handleException(e); } _retTree = _t; }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ddc6ab496ae303f007a96cb80352f3352974cbcf/XQueryTreeParser.java/clean/src/org/exist/xquery/parser/XQueryTreeParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
619,
10437,
12,
9053,
389,
88,
16,
202,
202,
743,
4742,
589,
202,
13,
1216,
9539,
288,
9506,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
619,
10437,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
13,
67,
88,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
8194,
273,
446,
31,
202,
202,
2300,
2235,
273,
446,
31,
9506,
202,
698,
288,
1377,
368,
364,
555,
5057,
1082,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
1082,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
1082,
202,
3593,
1139,
2419,
9125,
30,
1082,
202,
95,
9506,
202,
9053,
1001,
88,
28784,
273,
389,
88,
31,
9506,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1853,
21,
67,
9053,
67,
267,
273,
261,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
13,
67,
88,
31,
9506,
202,
1916,
24899,
88,
16,
60,
2419,
9125,
1769,
9506,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
9506,
202,
4119,
33,
8638,
24899,
88,
16,
803,
1769,
9506,
202,
67,
88,
273,
389,
1349,
2471,
31,
9506,
202,
67,
88,
273,
1001,
88,
28784,
31,
9506,
202,
67,
88,
273,
389,
88,
18,
588,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
619,
10437,
12,
9053,
389,
88,
16,
202,
202,
743,
4742,
589,
202,
13,
1216,
9539,
288,
9506,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
619,
10437,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
13,
67,
88,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
8194,
273,
446,
31,
202,
202,
2300,
2235,
273,
446,
31,
9506,
202,
698,
288,
1377,
368,
364,
555,
5057,
1082,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
2
] |
searcherModel = new SearcherModel(); if (lastComplitedFilter != null && lastComplitedFilter.isSubFilter(filter)) { searchJob = new CachedResultSearchJob(lastCompletedResult, searcherModel, filter);
|
if (lastCompletedFilter != null && lastCompletedFilter.isSubFilter(filter)) { searchJob = new CachedResultSearchJob(contentProvider, lastCompletedResult);
|
private void scheduleSearchJob() { stop(); searcherModel = new SearcherModel(); if (lastComplitedFilter != null && lastComplitedFilter.isSubFilter(filter)) { searchJob = new CachedResultSearchJob(lastCompletedResult, searcherModel, filter); } else { lastComplitedFilter = null; lastCompletedResult = null; searchJob = new SearchJob(searcherModel, filter, searcherHistory); } searchJob.schedule(); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e33c1f7b0c1f9dbe66a73370c1b98e653087c2df/FilteredItemsSelectionDialog.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/FilteredItemsSelectionDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4788,
2979,
2278,
1435,
288,
202,
202,
5681,
5621,
202,
202,
3072,
264,
1488,
273,
394,
5167,
264,
1488,
5621,
202,
202,
430,
261,
2722,
799,
1127,
329,
1586,
480,
446,
9506,
202,
10,
10,
1142,
799,
1127,
329,
1586,
18,
291,
1676,
1586,
12,
2188,
3719,
288,
1082,
202,
3072,
2278,
273,
394,
15771,
1253,
2979,
2278,
12,
2722,
9556,
1253,
16,
6862,
202,
3072,
264,
1488,
16,
1034,
1769,
202,
202,
97,
469,
288,
1082,
202,
2722,
799,
1127,
329,
1586,
273,
446,
31,
1082,
202,
2722,
9556,
1253,
273,
446,
31,
1082,
202,
3072,
2278,
273,
394,
5167,
2278,
12,
3072,
264,
1488,
16,
1034,
16,
27349,
5623,
1769,
202,
202,
97,
202,
202,
3072,
2278,
18,
10676,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4788,
2979,
2278,
1435,
288,
202,
202,
5681,
5621,
202,
202,
3072,
264,
1488,
273,
394,
5167,
264,
1488,
5621,
202,
202,
430,
261,
2722,
799,
1127,
329,
1586,
480,
446,
9506,
202,
10,
10,
1142,
799,
1127,
329,
1586,
18,
291,
1676,
1586,
12,
2188,
3719,
288,
1082,
202,
3072,
2278,
273,
394,
15771,
1253,
2979,
2278,
12,
2722,
9556,
1253,
16,
6862,
202,
3072,
264,
1488,
16,
1034,
1769,
202,
202,
97,
469,
288,
1082,
202,
2722,
799,
1127,
329,
1586,
273,
446,
31,
1082,
202,
2722,
9556,
1253,
273,
446,
31,
1082,
202,
3072,
2278,
273,
394,
5167,
2278,
12,
3072,
264,
1488,
16,
1034,
16,
27349,
5623,
1769,
202,
202,
97,
2
] |
} finally {
|
} } finally { synchronized (Animator.this) {
|
public void run() { // Try to get OpenGL context optimization since we know we // will be rendering this one drawable continually from // this thread; make the context current once instead of // making it current and freeing it each frame. drawable.setRenderingThread(Thread.currentThread()); // Since setRenderingThread is currently advisory (because // of the poor JAWT implementation in the Motif AWT, which // performs excessive locking) we also prevent repaint(), // which is called from the AWT thread, from having an // effect for better multithreading behavior. This call is // not strictly necessary, but if end users write their // own animation loops which update multiple drawables per // tick then it may be necessary to enforce the order of // updates. drawable.setNoAutoRedrawMode(true); boolean noException = false; try { while (!shouldStop) { noException = false; drawable.display(); noException = true; } } finally { shouldStop = false; drawable.setNoAutoRedrawMode(false); if (noException) { try { drawable.setRenderingThread(null); } finally { thread = null; synchronized (Animator.this) { Animator.this.notify(); } } } } }
|
45742 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45742/e4c41409b1b9e108f80de50a1c2cc9830377c53c/Animator.java/buggy/src/net/java/games/jogl/Animator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
6647,
1071,
918,
1086,
1435,
288,
5411,
368,
6161,
358,
336,
3502,
11261,
819,
14850,
3241,
732,
5055,
732,
5411,
368,
903,
506,
9782,
333,
1245,
19021,
17545,
3452,
628,
5411,
368,
333,
2650,
31,
1221,
326,
819,
783,
3647,
3560,
434,
5411,
368,
10480,
518,
783,
471,
4843,
310,
518,
1517,
2623,
18,
5411,
19021,
18,
542,
14261,
3830,
12,
3830,
18,
2972,
3830,
10663,
5411,
368,
7897,
444,
14261,
3830,
353,
4551,
1261,
3516,
630,
261,
26274,
5411,
368,
434,
326,
8275,
280,
804,
37,
8588,
4471,
316,
326,
490,
352,
430,
432,
8588,
16,
1492,
5411,
368,
11199,
23183,
688,
18887,
13,
732,
2546,
5309,
24962,
9334,
5411,
368,
1492,
353,
2566,
628,
326,
432,
8588,
2650,
16,
628,
7999,
392,
5411,
368,
5426,
364,
7844,
1778,
483,
21803,
6885,
18,
1220,
745,
353,
5411,
368,
486,
23457,
4573,
16,
1496,
309,
679,
3677,
1045,
3675,
5411,
368,
4953,
8794,
14075,
1492,
1089,
3229,
3724,
1538,
1534,
5411,
368,
4024,
1508,
518,
2026,
506,
4573,
358,
12980,
326,
1353,
434,
5411,
368,
4533,
18,
5411,
19021,
18,
542,
2279,
4965,
3715,
1899,
2309,
12,
3767,
1769,
5411,
1250,
1158,
503,
273,
629,
31,
5411,
775,
288,
2868,
1323,
16051,
13139,
4947,
13,
288,
7734,
1158,
503,
273,
629,
31,
7734,
19021,
18,
5417,
5621,
7734,
1158,
503,
273,
638,
31,
2868,
289,
5411,
289,
289,
3095,
288,
3852,
261,
21915,
18,
2211,
13,
288,
2868,
1410,
4947,
273,
629,
31,
2868,
19021,
18,
542,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
6647,
1071,
918,
1086,
1435,
288,
5411,
368,
6161,
358,
336,
3502,
11261,
819,
14850,
3241,
732,
5055,
732,
5411,
368,
903,
506,
9782,
333,
1245,
19021,
17545,
3452,
628,
5411,
368,
333,
2650,
31,
1221,
326,
819,
783,
3647,
3560,
434,
5411,
368,
10480,
518,
783,
471,
4843,
310,
518,
1517,
2623,
18,
5411,
19021,
18,
542,
14261,
3830,
12,
3830,
18,
2972,
3830,
10663,
5411,
368,
7897,
444,
14261,
3830,
353,
4551,
1261,
3516,
630,
261,
26274,
5411,
368,
434,
326,
8275,
280,
804,
37,
8588,
4471,
316,
326,
490,
352,
430,
432,
8588,
16,
1492,
5411,
368,
11199,
23183,
688,
18887,
13,
732,
2546,
5309,
24962,
9334,
5411,
368,
1492,
353,
2566,
628,
326,
432,
8588,
2
] |
String groupName = group.getProperties().get("sharedRoster.displayName");
|
void addSharedUser(Group group, String addedUser) { boolean newItem = false; RosterItem item = null; JID jid = XMPPServer.getInstance().createJID(addedUser, ""); // Get the display name of the group String groupName = group.getProperties().get("sharedRoster.displayName"); try { // Get the RosterItem for the *local* user to add item = getRosterItem(jid); // Do nothing if the item already includes the shared group if (item.getSharedGroups().contains(groupName)) { return; } newItem = false; } catch (UserNotFoundException e) { try { // Create a new RosterItem for this new user User user = UserManager.getInstance().getUser(addedUser); String nickname = "".equals(user.getName()) ? jid.getNode() : user.getName(); item = new RosterItem(jid, RosterItem.SUB_BOTH, RosterItem.ASK_NONE, RosterItem.RECV_NONE, nickname, null); // Add the new item to the list of items rosterItems.put(item.getJid().toBareJID(), item); newItem = true; } catch (UserNotFoundException ex) { Log.error("Group (" + groupName + ") includes non-existent username (" + addedUser + ")"); } } // Update the subscription of the item **based on the item groups** if (newItem || item.isOnlyShared()) { Collection<Group> userGroups = null; Collection<Group> sharedGroups = new ArrayList<Group>(); try { User rosterUser = UserManager.getInstance().getUser(getUsername()); GroupManager groupManager = GroupManager.getInstance(); userGroups = groupManager.getGroups(rosterUser); for (String name : item.getSharedGroups()) { try { sharedGroups.add(groupManager.getGroup(name)); } catch (GroupNotFoundException e) { } } // Add the new group to the list of groups to check sharedGroups.add(groupManager.getGroup(groupName)); // Set subscription type to BOTH if the roster user belongs to a shared group // that is mutually visible with a shared group of the new roster item if (rosterManager.hasMutualVisibility(getUsername(), userGroups, jid.getNode(), sharedGroups)) { item.setSubStatus(RosterItem.SUB_BOTH); } // Update the subscription status depending on the group membership of the new // user and this user else if (group.isUser(addedUser) && !group.isUser(getUsername())) { item.setSubStatus(RosterItem.SUB_TO); } else if (!group.isUser(addedUser) && group.isUser(getUsername())) { item.setSubStatus(RosterItem.SUB_FROM); } } catch (UserNotFoundException e) { } catch (GroupNotFoundException e) { } } // Add the shared group to the list of shared groups if (item.getSubStatus() != RosterItem.SUB_FROM) { item.addSharedGroup(groupName); } else { item.addInvisibleSharedGroup(groupName); } // Brodcast to all the user resources of the updated roster item broadcast(item); // Probe the presence of the new group user if (item.getSubStatus() == RosterItem.SUB_BOTH || item.getSubStatus() == RosterItem.SUB_TO) { presenceManager.probePresence(username, item.getJid()); } }
|
6312 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6312/57c61c98681b47a288337cd9a794a120e4d25a1b/Roster.java/clean/src/java/org/jivesoftware/messenger/roster/Roster.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
527,
7887,
1299,
12,
1114,
1041,
16,
514,
3096,
1299,
13,
288,
3639,
1250,
26536,
273,
629,
31,
3639,
534,
29811,
1180,
761,
273,
446,
31,
3639,
804,
734,
14201,
273,
23216,
2081,
18,
588,
1442,
7675,
2640,
46,
734,
12,
9665,
1299,
16,
1408,
1769,
3639,
368,
968,
326,
2562,
508,
434,
326,
1041,
2868,
775,
288,
5411,
368,
968,
326,
534,
29811,
1180,
364,
326,
380,
3729,
14,
729,
358,
527,
5411,
761,
273,
4170,
29811,
1180,
12,
18252,
1769,
5411,
368,
2256,
5083,
309,
326,
761,
1818,
6104,
326,
5116,
1041,
5411,
309,
261,
1726,
18,
588,
7887,
3621,
7675,
12298,
12,
1655,
461,
3719,
288,
7734,
327,
31,
5411,
289,
5411,
26536,
273,
629,
31,
3639,
289,
3639,
1044,
261,
1299,
3990,
425,
13,
288,
5411,
775,
288,
7734,
368,
1788,
279,
394,
534,
29811,
1180,
364,
333,
394,
729,
7734,
2177,
729,
273,
2177,
1318,
18,
588,
1442,
7675,
588,
1299,
12,
9665,
1299,
1769,
7734,
514,
19570,
273,
1408,
18,
14963,
12,
1355,
18,
17994,
10756,
692,
14201,
18,
588,
907,
1435,
294,
729,
18,
17994,
5621,
7734,
761,
273,
13491,
394,
534,
29811,
1180,
12,
18252,
16,
534,
29811,
1180,
18,
8362,
67,
38,
18307,
16,
534,
29811,
1180,
18,
6971,
67,
9826,
16,
27573,
534,
29811,
1180,
18,
862,
22007,
67,
9826,
16,
19570,
16,
446,
1769,
7734,
368,
1436,
326,
394,
761,
358,
326,
666,
434,
1516,
7734,
721,
8190,
3126,
18,
458,
12,
1726,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
527,
7887,
1299,
12,
1114,
1041,
16,
514,
3096,
1299,
13,
288,
3639,
1250,
26536,
273,
629,
31,
3639,
534,
29811,
1180,
761,
273,
446,
31,
3639,
804,
734,
14201,
273,
23216,
2081,
18,
588,
1442,
7675,
2640,
46,
734,
12,
9665,
1299,
16,
1408,
1769,
3639,
368,
968,
326,
2562,
508,
434,
326,
1041,
2868,
775,
288,
5411,
368,
968,
326,
534,
29811,
1180,
364,
326,
380,
3729,
14,
729,
358,
527,
5411,
761,
273,
4170,
29811,
1180,
12,
18252,
1769,
5411,
368,
2256,
5083,
309,
326,
761,
1818,
6104,
326,
5116,
1041,
5411,
309,
261,
1726,
18,
588,
7887,
3621,
7675,
12298,
12,
1655,
461,
3719,
288,
7734,
327,
31,
5411,
289,
5411,
26536,
273,
2
] |
|
protected void makeRemoteDir( FTPClient ftp, String dir ) throws IOException, BuildException {
|
protected void makeRemoteDir(FTPClient ftp, String dir) throws IOException, BuildException {
|
protected void makeRemoteDir( FTPClient ftp, String dir ) throws IOException, BuildException { if (verbose) { log("creating directory: " + dir); } if( ! ftp.makeDirectory( dir ) ) { // codes 521, 550 and 553 can be produced by FTP Servers // to indicate that an attempt to create a directory has // failed because the directory already exists. int rc = ftp.getReplyCode(); if( !(ignoreNoncriticalErrors && (rc == 550 || rc == 553 || rc==521))) { throw new BuildException( "could not create directory: " + ftp.getReplyString() ); } if( verbose ) { log( "directory already exists" ); } } else { if( verbose ) { log( "directory created OK" ); } } }
|
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/0dab862ee09d706c3f373fc18bedbf17caf427b9/FTP.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1221,
5169,
1621,
12,
19324,
1227,
13487,
16,
514,
1577,
262,
3639,
1216,
1860,
16,
18463,
565,
288,
3639,
309,
261,
11369,
13,
288,
5411,
613,
2932,
23799,
1867,
30,
315,
397,
1577,
1769,
3639,
289,
3639,
309,
12,
401,
13487,
18,
6540,
2853,
12,
1577,
262,
262,
288,
5411,
368,
6198,
1381,
5340,
16,
1381,
3361,
471,
1381,
8643,
848,
506,
14929,
635,
19324,
26228,
5411,
368,
225,
358,
10768,
716,
392,
4395,
358,
752,
279,
1867,
711,
5411,
368,
225,
2535,
2724,
326,
1867,
1818,
1704,
18,
5411,
509,
4519,
273,
13487,
18,
588,
7817,
1085,
5621,
5411,
309,
12,
401,
12,
6185,
3989,
28000,
4229,
10402,
597,
261,
1310,
422,
1381,
3361,
747,
4519,
422,
1381,
8643,
747,
4519,
631,
25,
5340,
20349,
288,
7734,
604,
394,
18463,
12,
315,
15195,
486,
752,
1867,
30,
315,
397,
4766,
1850,
13487,
18,
588,
7817,
780,
1435,
11272,
5411,
289,
5411,
309,
12,
3988,
262,
288,
7734,
613,
12,
315,
5149,
1818,
1704,
6,
11272,
5411,
289,
3639,
289,
469,
288,
5411,
309,
12,
3988,
262,
288,
7734,
613,
12,
315,
5149,
2522,
7791,
6,
11272,
5411,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1221,
5169,
1621,
12,
19324,
1227,
13487,
16,
514,
1577,
262,
3639,
1216,
1860,
16,
18463,
565,
288,
3639,
309,
261,
11369,
13,
288,
5411,
613,
2932,
23799,
1867,
30,
315,
397,
1577,
1769,
3639,
289,
3639,
309,
12,
401,
13487,
18,
6540,
2853,
12,
1577,
262,
262,
288,
5411,
368,
6198,
1381,
5340,
16,
1381,
3361,
471,
1381,
8643,
848,
506,
14929,
635,
19324,
26228,
5411,
368,
225,
358,
10768,
716,
392,
4395,
358,
752,
279,
1867,
711,
5411,
368,
225,
2535,
2724,
326,
1867,
1818,
1704,
18,
5411,
509,
4519,
273,
13487,
18,
588,
7817,
1085,
5621,
5411,
309,
12,
401,
12,
6185,
3989,
28000,
4229,
10402,
597,
261,
1310,
422,
1381,
3361,
747,
2
] |
throw new ProcessingException("Unable to get transformer handler for " + src, se); }
|
throw new ProcessingException("Unable to get transformer handler for " + this.inputSource.getURI(), se); }
|
public void setup(SourceResolver resolver, Map objectModel, String src, Parameters par) throws SAXException, ProcessingException, IOException { if (src == null) { throw new ProcessingException("Stylesheet URI can't be null"); } this.par = par; this.objectModel = objectModel; this.resolver = resolver; try { this.inputSource = resolver.resolveURI(src); } catch (SourceException se) { throw SourceUtil.handle("Unable to resolve " + src, se); } _useParameters = par.getParameterAsBoolean("use-request-parameters", this.useParameters); _useCookies = par.getParameterAsBoolean("use-cookies", this.useCookies); _useSessionInfo = par.getParameterAsBoolean("use-session-info", this.useSessionInfo); if (getLogger().isDebugEnabled()) { getLogger().debug("Using stylesheet: '" + this.inputSource.getURI() + "' in " + this); } /** Get a Transformer Handler */ try { XSLTProcessor.TransformerHandlerAndValidity handlerAndValidity = this.xsltProcessor.getTransformerHandlerAndValidity(inputSource, null); this.transformerHandler = handlerAndValidity.getTransfomerHandler(); this.transformerValidity = handlerAndValidity.getTransfomerValidity(); } catch (XSLTProcessorException se) { throw new ProcessingException("Unable to get transformer handler for " + src, se); } }
|
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/5d717a209e4e27f236784a21884e247d44112925/TraxTransformer.java/buggy/src/java/org/apache/cocoon/transformation/TraxTransformer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3875,
12,
1830,
4301,
5039,
16,
1635,
733,
1488,
16,
514,
1705,
16,
7012,
779,
13,
565,
1216,
14366,
16,
19652,
503,
16,
1860,
288,
3639,
309,
261,
4816,
422,
446,
13,
288,
5411,
604,
394,
19652,
503,
2932,
24656,
3699,
848,
1404,
506,
446,
8863,
3639,
289,
3639,
333,
18,
1065,
273,
779,
31,
3639,
333,
18,
1612,
1488,
273,
733,
1488,
31,
3639,
333,
18,
14122,
273,
5039,
31,
3639,
775,
288,
5411,
333,
18,
2630,
1830,
273,
5039,
18,
10828,
3098,
12,
4816,
1769,
3639,
289,
1044,
261,
1830,
503,
695,
13,
288,
5411,
604,
4998,
1304,
18,
4110,
2932,
3370,
358,
2245,
315,
397,
1705,
16,
695,
1769,
3639,
289,
3639,
389,
1202,
2402,
273,
779,
18,
588,
1662,
1463,
5507,
2932,
1202,
17,
2293,
17,
3977,
3113,
333,
18,
1202,
2402,
1769,
3639,
389,
1202,
16089,
273,
779,
18,
588,
1662,
1463,
5507,
2932,
1202,
17,
16240,
3113,
333,
18,
1202,
16089,
1769,
3639,
389,
1202,
2157,
966,
273,
779,
18,
588,
1662,
1463,
5507,
2932,
1202,
17,
3184,
17,
1376,
3113,
333,
18,
1202,
2157,
966,
1769,
3639,
309,
261,
588,
3328,
7675,
291,
2829,
1526,
10756,
288,
5411,
7156,
7675,
4148,
2932,
7736,
13820,
30,
2119,
397,
333,
18,
2630,
1830,
18,
588,
3098,
1435,
397,
2491,
316,
315,
397,
333,
1769,
3639,
289,
3639,
1783,
968,
279,
11519,
4663,
1195,
3639,
775,
288,
5411,
20751,
5164,
18,
8319,
1503,
1876,
19678,
1838,
1876,
19678,
273,
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,
1071,
918,
3875,
12,
1830,
4301,
5039,
16,
1635,
733,
1488,
16,
514,
1705,
16,
7012,
779,
13,
565,
1216,
14366,
16,
19652,
503,
16,
1860,
288,
3639,
309,
261,
4816,
422,
446,
13,
288,
5411,
604,
394,
19652,
503,
2932,
24656,
3699,
848,
1404,
506,
446,
8863,
3639,
289,
3639,
333,
18,
1065,
273,
779,
31,
3639,
333,
18,
1612,
1488,
273,
733,
1488,
31,
3639,
333,
18,
14122,
273,
5039,
31,
3639,
775,
288,
5411,
333,
18,
2630,
1830,
273,
5039,
18,
10828,
3098,
12,
4816,
1769,
3639,
289,
1044,
261,
1830,
503,
695,
13,
288,
5411,
604,
4998,
1304,
18,
4110,
2932,
3370,
358,
2245,
315,
397,
1705,
16,
695,
1769,
3639,
289,
3639,
389,
2
] |
if (Util.isExcluded(res, rootInfo == null ? null : rootInfo.exclusionPatterns)) {
|
if (rootInfo == null || Util.isExcluded(res, rootInfo.exclusionPatterns)) {
|
private int elementType(IResource res, int kind, int flags, int parentType, RootInfo rootInfo) { switch (parentType) { case IJavaElement.JAVA_MODEL: if (kind != IResourceDelta.CHANGED) { // change on the project itself return IJavaElement.JAVA_PROJECT; } else if ((flags & IResourceDelta.OPEN) != 0) { // project is opened or closed return IJavaElement.JAVA_PROJECT; } else if ((flags & IResourceDelta.DESCRIPTION) != 0) { // project's description has changed: need to check if java nature has changed IProject proj = res.getProject(); boolean wasJavaProject = JavaModelManager.getJavaModelManager().getJavaModel().findJavaProject(proj) != null; boolean isJavaProject = JavaProject.hasJavaNature(proj); if (wasJavaProject != isJavaProject) { return IJavaElement.JAVA_PROJECT; } } // else see below case IJavaElement.JAVA_PROJECT: if (rootInfo == null) { rootInfo = this.rootInfo(res.getFullPath()); } if (rootInfo != null && (rootInfo.project.getProject().getFullPath().isPrefixOf(res.getFullPath()))) { return IJavaElement.PACKAGE_FRAGMENT_ROOT; } else { return IJavaElement.JAVA_PROJECT; // not yet in a package fragment root } case IJavaElement.PACKAGE_FRAGMENT_ROOT: case IJavaElement.PACKAGE_FRAGMENT: if (rootInfo == null) { rootInfo = this.rootInfo(res.getFullPath()); } if (Util.isExcluded(res, rootInfo == null ? null : rootInfo.exclusionPatterns)) { return NON_JAVA_RESOURCE; } if (res instanceof IFolder) { if (Util.isValidFolderNameForPackage(res.getName())) { return IJavaElement.PACKAGE_FRAGMENT; } else { return NON_JAVA_RESOURCE; } } else { String fileName = res.getName(); if (Util.isValidCompilationUnitName(fileName)) { return IJavaElement.COMPILATION_UNIT; } else if (Util.isValidClassFileName(fileName)) { return IJavaElement.CLASS_FILE; } else if (this.roots.get(res.getFullPath()) != null) { // case of proj=src=bin and resource is a jar file on the classpath return IJavaElement.PACKAGE_FRAGMENT_ROOT; } else { return NON_JAVA_RESOURCE; } } default: return NON_JAVA_RESOURCE; } }
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/dc2fc0f2389af0744ab2df30532a718855825fd4/DeltaProcessor.java/buggy/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
509,
21427,
12,
45,
1420,
400,
16,
509,
3846,
16,
509,
2943,
16,
509,
22822,
16,
7450,
966,
1365,
966,
13,
288,
202,
202,
9610,
261,
2938,
559,
13,
288,
1082,
202,
3593,
467,
5852,
1046,
18,
27264,
67,
17391,
30,
9506,
202,
430,
261,
9224,
480,
467,
1420,
9242,
18,
24435,
13,
288,
6862,
202,
759,
2549,
603,
326,
1984,
6174,
6862,
202,
2463,
467,
5852,
1046,
18,
27264,
67,
17147,
31,
9506,
202,
97,
469,
309,
14015,
7133,
473,
467,
1420,
9242,
18,
11437,
13,
480,
374,
13,
288,
6862,
202,
759,
1984,
353,
10191,
578,
4375,
6862,
202,
2463,
467,
5852,
1046,
18,
27264,
67,
17147,
31,
9506,
202,
97,
469,
309,
14015,
7133,
473,
467,
1420,
9242,
18,
15911,
13,
480,
374,
13,
288,
25083,
202,
759,
1984,
1807,
2477,
711,
3550,
30,
1608,
358,
866,
309,
2252,
28700,
711,
3550,
25083,
202,
45,
4109,
10296,
273,
400,
18,
588,
4109,
5621,
25083,
202,
6494,
1703,
5852,
4109,
273,
5110,
1488,
1318,
18,
588,
5852,
1488,
1318,
7675,
588,
5852,
1488,
7675,
4720,
5852,
4109,
12,
17995,
13,
480,
446,
31,
25083,
202,
6494,
353,
5852,
4109,
273,
5110,
4109,
18,
5332,
5852,
50,
1231,
12,
17995,
1769,
25083,
202,
430,
261,
17416,
5852,
4109,
480,
353,
5852,
4109,
13,
288,
6862,
1082,
202,
2463,
467,
5852,
1046,
18,
27264,
67,
17147,
31,
25083,
202,
97,
9506,
202,
97,
368,
469,
2621,
5712,
1082,
202,
3593,
467,
5852,
1046,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
509,
21427,
12,
45,
1420,
400,
16,
509,
3846,
16,
509,
2943,
16,
509,
22822,
16,
7450,
966,
1365,
966,
13,
288,
202,
202,
9610,
261,
2938,
559,
13,
288,
1082,
202,
3593,
467,
5852,
1046,
18,
27264,
67,
17391,
30,
9506,
202,
430,
261,
9224,
480,
467,
1420,
9242,
18,
24435,
13,
288,
6862,
202,
759,
2549,
603,
326,
1984,
6174,
6862,
202,
2463,
467,
5852,
1046,
18,
27264,
67,
17147,
31,
9506,
202,
97,
469,
309,
14015,
7133,
473,
467,
1420,
9242,
18,
11437,
13,
480,
374,
13,
288,
6862,
202,
759,
1984,
353,
10191,
578,
4375,
6862,
202,
2463,
467,
5852,
1046,
18,
27264,
67,
17147,
31,
9506,
202,
97,
469,
309,
14015,
2
] |
description = new Label( sh, SWT.NONE );
|
Composite cBottom = new Composite( shell, SWT.NONE ); cBottom.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); cBottom.setLayout( new RowLayout( ) ); description = new Label( shell, SWT.NONE );
|
public static void main( String[] args ) { JavaScriptViewer jsViewer = new JavaScriptViewer( ); Display d = Display.getDefault( ); Shell sh = new Shell( Display.getDefault( ) ); sh.setSize( 500, 400 ); sh.setLayout( new GridLayout( ) ); sh.setText( jsViewer.getClass( ).getName( ) + " [device="//$NON-NLS-1$ + jsViewer.idr.getClass( ).getName( ) + "]" );//$NON-NLS-1$ Canvas cCenter = new Canvas( sh, SWT.NONE ); cCenter.setLayoutData( new GridData( GridData.FILL_BOTH ) ); cCenter.addPaintListener( jsViewer ); description = new Label( sh, SWT.NONE ); description.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); description.setText( "beforeDrawAxisLabel( Axis, Label, IChartScriptContext )" //$NON-NLS-1$ + "\nbeforeDrawAxisTitle( Axis, Label, IChartScriptContext )" ); //$NON-NLS-1$ Composite choicePanel = new Composite( sh, SWT.NONE ); choicePanel.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); choicePanel.setLayout( new RowLayout( ) ); Label la = new Label( choicePanel, SWT.NONE ); la.setText( "Choose Scope: " );//$NON-NLS-1$ Combo cbType = new Combo( choicePanel, SWT.DROP_DOWN | SWT.READ_ONLY ); cbType.add( "Axis" );//$NON-NLS-1$ cbType.add( "DataPoints" );//$NON-NLS-1$ cbType.add( "Marker" );//$NON-NLS-1$ cbType.add( "Series" );//$NON-NLS-1$ cbType.add( "Series Title" ); //$NON-NLS-1$ cbType.add( "Block" );//$NON-NLS-1$ cbType.add( "Legend" ); //$NON-NLS-1$ cbType.select( 0 ); Button btn = new Button( choicePanel, SWT.NONE ); btn.setText( "Update" );//$NON-NLS-1$ btn.addSelectionListener( jsViewer ); jsViewer.cb = cbType; jsViewer.ca = cCenter; sh.open( ); while ( !sh.isDisposed( ) ) { if ( !d.readAndDispatch( ) ) { d.sleep( ); } } }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/ef9ad0cebcee59b4b447430acdbf2355afecf441/JavaScriptViewer.java/clean/chart/org.eclipse.birt.chart.examples/src/org/eclipse/birt/chart/examples/api/script/JavaScriptViewer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
514,
8526,
833,
262,
202,
95,
202,
202,
16634,
18415,
3828,
18415,
273,
394,
11905,
18415,
12,
11272,
202,
202,
4236,
302,
273,
9311,
18,
588,
1868,
12,
11272,
202,
202,
13220,
699,
273,
394,
19433,
12,
9311,
18,
588,
1868,
12,
262,
11272,
202,
202,
674,
18,
542,
1225,
12,
6604,
16,
7409,
11272,
202,
202,
674,
18,
542,
3744,
12,
394,
7145,
3744,
12,
262,
11272,
202,
202,
674,
18,
542,
1528,
12,
3828,
18415,
18,
588,
797,
12,
262,
18,
17994,
12,
262,
397,
315,
306,
5964,
1546,
759,
8,
3993,
17,
5106,
17,
21,
8,
9506,
202,
15,
3828,
18415,
18,
350,
86,
18,
588,
797,
12,
262,
18,
17994,
12,
262,
9506,
202,
15,
9870,
11272,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
202,
12971,
276,
8449,
273,
394,
20966,
12,
699,
16,
348,
8588,
18,
9826,
11272,
202,
202,
71,
8449,
18,
542,
3744,
751,
12,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
38,
18307,
262,
11272,
202,
202,
71,
8449,
18,
1289,
12699,
2223,
12,
3828,
18415,
11272,
202,
202,
3384,
273,
394,
5287,
12,
699,
16,
348,
8588,
18,
9826,
11272,
202,
202,
3384,
18,
542,
3744,
751,
12,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
44,
20344,
262,
11272,
202,
202,
3384,
18,
542,
1528,
12,
315,
5771,
6493,
6558,
2224,
12,
15509,
16,
5287,
16,
467,
7984,
3651,
1042,
28796,
4329,
3993,
17,
5106,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
514,
8526,
833,
262,
202,
95,
202,
202,
16634,
18415,
3828,
18415,
273,
394,
11905,
18415,
12,
11272,
202,
202,
4236,
302,
273,
9311,
18,
588,
1868,
12,
11272,
202,
202,
13220,
699,
273,
394,
19433,
12,
9311,
18,
588,
1868,
12,
262,
11272,
202,
202,
674,
18,
542,
1225,
12,
6604,
16,
7409,
11272,
202,
202,
674,
18,
542,
3744,
12,
394,
7145,
3744,
12,
262,
11272,
202,
202,
674,
18,
542,
1528,
12,
3828,
18415,
18,
588,
797,
12,
262,
18,
17994,
12,
262,
397,
315,
306,
5964,
1546,
759,
8,
3993,
17,
5106,
17,
21,
8,
9506,
202,
15,
3828,
18415,
18,
350,
86,
18,
588,
797,
12,
262,
2
] |
XRLog.exception("Can't load CSS from URI (not found): " + uri);
|
XRLog.exception("Can't load CSS from URI (not found): " + uri);
|
public CSSResource getCSSResource(String uri) { InputStream is = null; uri = resolveURI(uri); try { URLConnection uc = new URL(uri).openConnection(); uc.connect(); is = uc.getInputStream(); } catch (MalformedURLException e) { XRLog.exception("bad URL given: " + uri, e); } catch (FileNotFoundException e11) { XRLog.exception("Can't load CSS from URI (not found): " + uri); } catch (IOException e) { XRLog.exception("IO problem for " + uri, e); } return new CSSResource(is); }
|
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/9a4ed9a276ff3906598aa1c6aa55aeb8a2745a6e/PanelManager.java/buggy/demos/browser/src/java/org/xhtmlrenderer/demo/browser/PanelManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6765,
1420,
1927,
1260,
1420,
12,
780,
2003,
13,
288,
3639,
5037,
353,
273,
446,
31,
3639,
2003,
273,
2245,
3098,
12,
1650,
1769,
3639,
775,
288,
5411,
1976,
1952,
6232,
273,
394,
1976,
12,
1650,
2934,
3190,
1952,
5621,
5411,
6232,
18,
3612,
5621,
5411,
353,
273,
6232,
18,
588,
4348,
5621,
3639,
289,
1044,
261,
18695,
20160,
425,
13,
288,
5411,
1139,
54,
1343,
18,
4064,
2932,
8759,
1976,
864,
30,
315,
397,
2003,
16,
425,
1769,
3639,
289,
1044,
261,
812,
3990,
425,
2499,
13,
288,
7734,
1139,
54,
1343,
18,
4064,
2932,
2568,
1404,
1262,
6765,
628,
3699,
261,
902,
1392,
4672,
315,
397,
2003,
1769,
3639,
289,
1044,
261,
14106,
425,
13,
288,
5411,
1139,
54,
1343,
18,
4064,
2932,
4294,
6199,
364,
315,
397,
2003,
16,
425,
1769,
3639,
289,
3639,
327,
394,
6765,
1420,
12,
291,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6765,
1420,
1927,
1260,
1420,
12,
780,
2003,
13,
288,
3639,
5037,
353,
273,
446,
31,
3639,
2003,
273,
2245,
3098,
12,
1650,
1769,
3639,
775,
288,
5411,
1976,
1952,
6232,
273,
394,
1976,
12,
1650,
2934,
3190,
1952,
5621,
5411,
6232,
18,
3612,
5621,
5411,
353,
273,
6232,
18,
588,
4348,
5621,
3639,
289,
1044,
261,
18695,
20160,
425,
13,
288,
5411,
1139,
54,
1343,
18,
4064,
2932,
8759,
1976,
864,
30,
315,
397,
2003,
16,
425,
1769,
3639,
289,
1044,
261,
812,
3990,
425,
2499,
13,
288,
7734,
1139,
54,
1343,
18,
4064,
2932,
2568,
1404,
1262,
6765,
628,
3699,
261,
902,
1392,
4672,
315,
397,
2003,
1769,
3639,
289,
1044,
261,
14106,
425,
13,
2
] |
case TokenStream.NEW :
|
} case TokenStream.NEW : {
|
public static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, NativeFunction fnOrScript, InterpreterData theData) throws JavaScriptException { if (cx.interpreterSecurityDomain != theData.securityDomain) { // If securityDomain is different, update domain in Cotext // and call self under new domain Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = theData.securityDomain; try { return interpret(cx, scope, thisObj, args, fnOrScript, theData); } finally { cx.interpreterSecurityDomain = savedDomain; } } int i; Object lhs; final int maxStack = theData.itsMaxStack; final int maxVars = (fnOrScript.argNames == null) ? 0 : fnOrScript.argNames.length; final int maxLocals = theData.itsMaxLocals; final int maxTryDepth = theData.itsMaxTryDepth; final int VAR_SHFT = maxStack; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int TRY_SCOPE_SHFT = LOCAL_SHFT + maxLocals;// stack[0 <= i < VAR_SHFT]: stack data// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_SCOPE_SHFT]: used for newtemp/usetemp// stack[TRY_SCOPE_SHFT <= i]: try scopes// when 0 <= i < LOCAL_SHFT and stack[x] == DBL_MRK,// sDbl[i] gives the number value final Object DBL_MRK = Interpreter.DBL_MRK; Object[] stack = new Object[TRY_SCOPE_SHFT + maxTryDepth]; double[] sDbl = new double[TRY_SCOPE_SHFT]; int stackTop = -1; byte[] iCode = theData.itsICode; String[] strings = theData.itsStringTable; int pc = 0; int iCodeLength = theData.itsICodeTop; final Scriptable undefined = Undefined.instance; if (maxVars != 0) { int definedArgs = fnOrScript.argCount; if (definedArgs != 0) { if (definedArgs > args.length) { definedArgs = args.length; } for (i = 0; i != definedArgs; ++i) { stack[VAR_SHFT + i] = args[i]; } } for (i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } } if (theData.itsNestedFunctions != null) { for (i = 0; i < theData.itsNestedFunctions.length; i++) createFunctionObject(theData.itsNestedFunctions[i], scope); } Object id; Object rhs, val; double valDbl; boolean valBln; int count; int slot; String name = null; Object[] outArgs; int lIntValue; double lDbl; int rIntValue; double rDbl;// tryStack[2 * i]: starting pc of catch block// tryStack[2 * i + 1]: starting pc of finally block int[] tryStack = null; int tryStackTop = 0; InterpreterFrame frame = null; if (cx.debugger != null) { frame = new InterpreterFrame(scope, theData, fnOrScript); cx.pushFrame(frame); } Object result = undefined; int pcPrevBranch = pc; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; while (pc < iCodeLength) { try { switch (iCode[pc] & 0xff) { case TokenStream.ENDTRY : tryStackTop--; break; case TokenStream.TRY : if (tryStackTop == 0) { tryStack = new int[maxTryDepth * 2]; } i = getTarget(iCode, pc + 1); if (i == pc) i = 0; tryStack[tryStackTop * 2] = i; i = getTarget(iCode, pc + 3); if (i == (pc + 2)) i = 0; tryStack[tryStackTop * 2 + 1] = i; stack[TRY_SCOPE_SHFT + tryStackTop] = scope; ++tryStackTop; pc += 4; break; case TokenStream.GE : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl <= lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.LE : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl <= rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.GT : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl < lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.LT : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl < rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.IN : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.INSTANCEOF : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); valBln = ScriptRuntime.instanceOf(scope, lhs, rhs); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.EQ : --stackTop; valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.NE : --stackTop; valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.SHEQ : --stackTop; valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.SHNE : --stackTop; valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.IFNE : val = stack[stackTop]; if (val != DBL_MRK) { valBln = !ScriptRuntime.toBoolean(val); } else { valDbl = sDbl[stackTop]; valBln = !(valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount (instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.IFEQ : val = stack[stackTop]; if (val != DBL_MRK) { valBln = ScriptRuntime.toBoolean(val); } else { valDbl = sDbl[stackTop]; valBln = (valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount (instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.GOTO : if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.GOSUB : sDbl[++stackTop] = pc + 3; if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.RETSUB : slot = (iCode[pc + 1] & 0xFF); if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = (int)sDbl[LOCAL_SHFT + slot]; continue; case TokenStream.POP : stackTop--; break; case TokenStream.DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; break; case TokenStream.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break; case TokenStream.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; pc = getTarget(iCode, pc + 1); break; case TokenStream.BITNOT : rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; break; case TokenStream.BITAND : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; break; case TokenStream.BITOR : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; break; case TokenStream.BITXOR : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; break; case TokenStream.LSH : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; break; case TokenStream.RSH : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; break; case TokenStream.URSH : rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; break; case TokenStream.ADD : --stackTop; do_add(stack, sDbl, stackTop); break; case TokenStream.SUB : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; break; case TokenStream.NEG : rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; break; case TokenStream.POS : rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; break; case TokenStream.MUL : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; break; case TokenStream.DIV : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; break; case TokenStream.MOD : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; break; case TokenStream.BINDNAME : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.bind(scope, name); pc += 2; break; case TokenStream.GETBASE : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.getBase(scope, name); pc += 2; break; case TokenStream.SETNAME : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; // what about class cast exception here for lhs? stack[stackTop] = ScriptRuntime.setName ((Scriptable)lhs, rhs, scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.DELPROP : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(lhs, rhs); break; case TokenStream.GETPROP : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; case TokenStream.SETPROP : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; case TokenStream.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; break; case TokenStream.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; break; case TokenStream.PROPINC : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrement(lhs, name, scope); break; case TokenStream.PROPDEC : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrement(lhs, name, scope); break; case TokenStream.ELEMINC : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrementElem(lhs, rhs, scope); break; case TokenStream.ELEMDEC : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrementElem(lhs, rhs, scope); break; case TokenStream.GETTHIS : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getThis((Scriptable)lhs); break; case TokenStream.NEWTEMP : slot = (iCode[++pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; break; case TokenStream.USETEMP : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; break; case TokenStream.CALLSPECIAL : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int lineNum = getShort(iCode, pc + 1); name = strings[getShort(iCode, pc + 3)]; count = getShort(iCode, pc + 5); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, lhs, rhs, outArgs, thisObj, scope, name, lineNum); pc += 6; instructionCount = cx.instructionCount; break; case TokenStream.CALL : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } cx.instructionCount = instructionCount; count = getShort(iCode, pc + 3); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); if (lhs == undefined) { i = getShort(iCode, pc + 1); if (i != -1) lhs = strings[i]; } Scriptable calleeScope = scope; if (theData.itsNeedsActivation) { calleeScope = ScriptableObject. getTopLevelScope(scope); } stack[stackTop] = ScriptRuntime.call(cx, lhs, rhs, outArgs, calleeScope); pc += 4; instructionCount = cx.instructionCount; break; case TokenStream.NEW : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } count = getShort(iCode, pc + 3); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); if (lhs == undefined && getShort(iCode, pc + 1) != -1) { // special code for better error message for call // to undefined lhs = strings[getShort(iCode, pc + 1)]; } stack[stackTop] = ScriptRuntime.newObject(cx, lhs, outArgs, scope); pc += 4; instructionCount = cx.instructionCount; break; case TokenStream.TYPEOF : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); break; case TokenStream.TYPEOFNAME : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; case TokenStream.STRING : stack[++stackTop] = strings[getShort(iCode, pc + 1)]; pc += 2; break; case SHORTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc + 1); pc += 2; break; case INTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc + 1); pc += 4; break; case TokenStream.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = theData. itsDoubleTable[getShort(iCode, pc + 1)]; pc += 2; break; case TokenStream.NAME : stack[++stackTop] = ScriptRuntime.name (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.NAMEINC : stack[++stackTop] = ScriptRuntime.postIncrement (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.NAMEDEC : stack[++stackTop] = ScriptRuntime.postDecrement (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.SETVAR : slot = (iCode[++pc] & 0xFF); stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; break; case TokenStream.GETVAR : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; break; case TokenStream.VARINC : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) + 1.0; break; case TokenStream.VARDEC : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) - 1.0; break; case TokenStream.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; break; case TokenStream.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; break; case TokenStream.NULL : stack[++stackTop] = null; break; case TokenStream.THIS : stack[++stackTop] = thisObj; break; case TokenStream.THISFN : stack[++stackTop] = fnOrScript; break; case TokenStream.FALSE : stack[++stackTop] = Boolean.FALSE; break; case TokenStream.TRUE : stack[++stackTop] = Boolean.TRUE; break; case TokenStream.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case TokenStream.THROW : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; throw new JavaScriptException(result); case TokenStream.JTHROW : result = stack[stackTop]; // No need to check for DBL_MRK: result is Exception --stackTop; if (result instanceof JavaScriptException) throw (JavaScriptException)result; else throw (RuntimeException)result; case TokenStream.ENTERWITH : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); break; case TokenStream.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); break; case TokenStream.NEWSCOPE : stack[++stackTop] = ScriptRuntime.newScope(); break; case TokenStream.ENUMINIT : slot = (iCode[++pc] & 0xFF); lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.initEnum(lhs, scope); break; case TokenStream.ENUMNEXT : slot = (iCode[++pc] & 0xFF); val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = ScriptRuntime. nextEnum((Enumeration)val); break; case TokenStream.GETPROTO : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProto(lhs, scope); break; case TokenStream.GETPARENT : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs); break; case TokenStream.GETSCOPEPARENT : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs, scope); break; case TokenStream.SETPROTO : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProto(lhs, rhs, scope); break; case TokenStream.SETPARENT : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setParent(lhs, rhs, scope); break; case TokenStream.SCOPE : stack[++stackTop] = scope; break; case TokenStream.CLOSURE : i = getShort(iCode, pc + 1); stack[++stackTop] = new InterpretedFunction( theData.itsNestedFunctions[i], scope, cx); createFunctionObject( (InterpretedFunction)stack[stackTop], scope); pc += 2; break; case TokenStream.OBJECT : i = getShort(iCode, pc + 1); stack[++stackTop] = theData.itsRegExpLiterals[i]; pc += 2; break; case SOURCEFILE_ICODE : cx.interpreterSourceFile = theData.itsSourceFile; break; case LINE_ICODE : case BREAKPOINT_ICODE : i = getShort(iCode, pc + 1); cx.interpreterLine = i; if (frame != null) frame.setLineNumber(i); if ((iCode[pc] & 0xff) == BREAKPOINT_ICODE || cx.inLineStepMode) { cx.getDebuggableEngine(). getDebugger().handleBreakpointHit(cx); } pc += 2; break; default : dumpICode(theData); throw new RuntimeException("Unknown icode : " + (iCode[pc] & 0xff) + " @ pc : " + pc); } pc++; } catch (Throwable ex) { if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } } final int SCRIPT_THROW = 0, ECMA = 1, RUNTIME = 2, OTHER = 3; int exType; Object errObj; // Object seen by catch for (;;) { if (ex instanceof JavaScriptException) { errObj = ScriptRuntime. unwrapJavaScriptException((JavaScriptException)ex); exType = SCRIPT_THROW; } else if (ex instanceof EcmaError) { // an offical ECMA error object, errObj = ((EcmaError)ex).getErrorObject(); exType = ECMA; } else if (ex instanceof WrappedException) { Object w = ((WrappedException) ex).unwrap(); if (w instanceof Throwable) { ex = (Throwable) w; continue; } errObj = ex; exType = RUNTIME; } else if (ex instanceof RuntimeException) { errObj = ex; exType = RUNTIME; } else { errObj = ex; // Error instance exType = OTHER; } break; } if (exType != OTHER && cx.debugger != null) { cx.debugger.handleExceptionThrown(cx, errObj); } boolean rethrow = true; if (exType != OTHER && tryStackTop > 0) { --tryStackTop; if (exType == SCRIPT_THROW || exType == ECMA) { // Check for catch only for // JavaScriptException and EcmaError pc = tryStack[tryStackTop * 2]; if (pc != 0) { // Has catch block rethrow = false; } } if (rethrow) { pc = tryStack[tryStackTop * 2 + 1]; if (pc != 0) { // has finally block rethrow = false; errObj = ex; } } } if (rethrow) { if (frame != null) cx.popFrame(); if (exType == SCRIPT_THROW) throw (JavaScriptException)ex; if (exType == ECMA || exType == RUNTIME) throw (RuntimeException)ex; throw (Error)ex; } // We caught an exception, // Notify instruction observer if necessary // and point pcPrevBranch to start of catch/finally block if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { // Note: this can throw Error cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc; // prepare stack and restore this function's security domain. scope = (Scriptable)stack[TRY_SCOPE_SHFT + tryStackTop]; stackTop = 0; stack[0] = errObj; } } if (frame != null) cx.popFrame(); if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } return result; }
|
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/052726b68e684efc593535d50a73767571084837/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
282,
22780,
15261,
16,
1033,
8526,
833,
16,
4766,
282,
16717,
2083,
2295,
1162,
3651,
16,
4766,
282,
5294,
11599,
751,
326,
751,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
71,
92,
18,
2761,
11599,
4368,
3748,
480,
326,
751,
18,
7462,
3748,
13,
288,
6647,
368,
971,
4373,
3748,
353,
3775,
16,
1089,
2461,
316,
385,
352,
408,
6647,
368,
471,
745,
365,
3613,
394,
2461,
5411,
1033,
5198,
3748,
273,
9494,
18,
2761,
11599,
4368,
3748,
31,
5411,
9494,
18,
2761,
11599,
4368,
3748,
273,
326,
751,
18,
7462,
3748,
31,
5411,
775,
288,
7734,
327,
10634,
12,
71,
92,
16,
2146,
16,
15261,
16,
833,
16,
2295,
1162,
3651,
16,
326,
751,
1769,
5411,
289,
3095,
288,
7734,
9494,
18,
2761,
11599,
4368,
3748,
273,
5198,
3748,
31,
5411,
289,
3639,
289,
3639,
509,
277,
31,
3639,
1033,
8499,
31,
3639,
727,
509,
943,
2624,
273,
326,
751,
18,
1282,
2747,
2624,
31,
3639,
727,
509,
943,
5555,
273,
261,
4293,
1162,
3651,
18,
3175,
1557,
422,
446,
13,
18701,
692,
374,
294,
2295,
1162,
3651,
18,
3175,
1557,
18,
2469,
31,
3639,
727,
509,
943,
1333,
1031,
273,
326,
751,
18,
1282,
2747,
1333,
1031,
31,
3639,
727,
509,
943,
7833,
6148,
273,
326,
751,
18,
1282,
2747,
7833,
6148,
31,
3639,
727,
509,
8350,
67,
2664,
4464,
273,
943,
2624,
31,
3639,
727,
509,
15234,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
282,
22780,
15261,
16,
1033,
8526,
833,
16,
4766,
282,
16717,
2083,
2295,
1162,
3651,
16,
4766,
282,
5294,
11599,
751,
326,
751,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
71,
92,
18,
2761,
11599,
4368,
3748,
480,
326,
751,
18,
7462,
3748,
13,
288,
6647,
368,
971,
4373,
3748,
353,
3775,
16,
1089,
2461,
316,
385,
352,
408,
6647,
368,
471,
745,
365,
3613,
394,
2461,
5411,
1033,
5198,
3748,
273,
9494,
18,
2761,
11599,
4368,
3748,
31,
5411,
9494,
18,
2761,
11599,
4368,
3748,
273,
326,
751,
18,
7462,
3748,
31,
5411,
775,
288,
7734,
327,
10634,
12,
71,
92,
16,
2
] |
LinearPrinter.warn("Not yet implemented -- for loops are not handled yet."); return null;
|
LinearPrinter.warn("Not yet implemented -- for loops are not handled yet (use --unroll 100000)."); throw new NonLinearException("For loops are not implemented yet. Use --unroll 1000000 option.");
|
public Object visitForStatement(JForStatement self, JStatement init, JExpression cond, JStatement incr, JStatement body){ this.nonLinearFlag = true; LinearPrinter.warn("Not yet implemented -- for loops are not handled yet."); return null; }
|
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/c76604bb0e18d6b98f206f9b332148da47a33e3d/LinearFilterVisitor.java/buggy/streams/src/at/dms/kjc/sir/linear/LinearFilterVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
1071,
1033,
3757,
1290,
3406,
12,
46,
1290,
3406,
365,
16,
804,
3406,
1208,
16,
6862,
377,
804,
2300,
6941,
16,
804,
3406,
17633,
16,
804,
3406,
1417,
15329,
202,
333,
18,
5836,
15982,
4678,
273,
638,
31,
202,
13921,
12149,
18,
8935,
2932,
1248,
4671,
8249,
1493,
364,
14075,
854,
486,
7681,
4671,
1199,
1769,
202,
327,
446,
31,
377,
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,
1377,
1071,
1033,
3757,
1290,
3406,
12,
46,
1290,
3406,
365,
16,
804,
3406,
1208,
16,
6862,
377,
804,
2300,
6941,
16,
804,
3406,
17633,
16,
804,
3406,
1417,
15329,
202,
333,
18,
5836,
15982,
4678,
273,
638,
31,
202,
13921,
12149,
18,
8935,
2932,
1248,
4671,
8249,
1493,
364,
14075,
854,
486,
7681,
4671,
1199,
1769,
202,
327,
446,
31,
377,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
iVisited.accept(_Payload);
|
_Payload.visitZSuperNode(iVisited);
|
public void visitZSuperNode(ZSuperNode iVisited) { iVisited.accept(_Payload); }
|
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/043fa4419ad506aa6f8843684eb8114b226fe4b5/DefaultIteratorVisitor.java/clean/org/jruby/nodes/visitor/DefaultIteratorVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
62,
8051,
907,
12,
62,
8051,
907,
277,
30019,
13,
288,
202,
202,
77,
30019,
18,
9436,
24899,
6110,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
62,
8051,
907,
12,
62,
8051,
907,
277,
30019,
13,
288,
202,
202,
77,
30019,
18,
9436,
24899,
6110,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void visitLexicalPragma(LexicalPragma x) {
|
public void visitLexicalPragma(/*@non_null*/ LexicalPragma x) {
|
public void visitLexicalPragma(LexicalPragma x) { }
|
46634 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46634/95ace042c64a5f2e296b44bf47b1d9b53b361217/DefaultVisitor.java/clean/src/escjava/trunk/ESCTools/Javafe/java/javafe/ast/DefaultVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3757,
14756,
1706,
2050,
9454,
12,
20308,
36,
5836,
67,
2011,
5549,
15123,
1706,
2050,
9454,
619,
13,
288,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3757,
14756,
1706,
2050,
9454,
12,
20308,
36,
5836,
67,
2011,
5549,
15123,
1706,
2050,
9454,
619,
13,
288,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return false;
|
public boolean addChild(Area childArea) { if (curBlockArea != null) { curBlockArea.addBlock((Block) childArea); return false; } return false; }
|
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/a62f977d812bb273863a574255920ca141eec969/Item.java/buggy/src/org/apache/fop/layoutmgr/list/Item.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
7384,
12,
5484,
1151,
5484,
13,
288,
3639,
309,
261,
1397,
1768,
5484,
480,
446,
13,
288,
5411,
662,
1768,
5484,
18,
1289,
1768,
12443,
1768,
13,
1151,
5484,
1769,
10402,
289,
6647,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
7384,
12,
5484,
1151,
5484,
13,
288,
3639,
309,
261,
1397,
1768,
5484,
480,
446,
13,
288,
5411,
662,
1768,
5484,
18,
1289,
1768,
12443,
1768,
13,
1151,
5484,
1769,
10402,
289,
6647,
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
] |
|
m_whiteSpaceInfoList = new TemplateList(this);
|
m_whiteSpaceInfoList = new WhitespaceList(this);
|
void recomposeWhiteSpaceInfo() throws SAXException { m_whiteSpaceInfoList = new TemplateList(this); int nIncludes = getIncludeCountComposed(); for(int k = -1; k < nIncludes; k++) { Stylesheet included = (-1 == k) ? this : getIncludeComposed(k); int n = included.getStripSpaceCount(); for(int i = 0; i < n; i++) { XPath match = included.getStripSpace(i); m_whiteSpaceInfoList.setTemplate(new WhiteSpaceInfo(match, true)); } n = included.getPreserveSpaceCount(); for(int i = 0; i < n; i++) { XPath match = included.getPreserveSpace(i); m_whiteSpaceInfoList.setTemplate(new WhiteSpaceInfo(match, false)); } } }
|
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/86527113695dc225dd86bd2b480cbc614d8fe714/StylesheetComposed.java/buggy/src/org/apache/xalan/templates/StylesheetComposed.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
283,
23658,
23108,
966,
1435,
565,
1216,
14366,
225,
288,
565,
312,
67,
14739,
3819,
17914,
273,
394,
3497,
5211,
682,
12,
2211,
1769,
3639,
509,
290,
16815,
273,
7854,
1571,
1380,
799,
7423,
5621,
565,
364,
12,
474,
417,
273,
300,
21,
31,
417,
411,
290,
16815,
31,
417,
27245,
565,
288,
1377,
29483,
2963,
5849,
273,
24927,
21,
422,
417,
13,
692,
333,
294,
7854,
1571,
799,
7423,
12,
79,
1769,
5411,
509,
290,
273,
5849,
18,
588,
16632,
3819,
1380,
5621,
1377,
364,
12,
474,
277,
273,
374,
31,
277,
411,
290,
31,
277,
27245,
1377,
288,
3639,
10172,
845,
273,
5849,
18,
588,
16632,
3819,
12,
77,
1769,
3639,
312,
67,
14739,
3819,
17914,
18,
542,
2283,
12,
2704,
30233,
3819,
966,
12,
1916,
16,
638,
10019,
1377,
289,
1377,
290,
273,
5849,
18,
588,
12236,
6527,
3819,
1380,
5621,
1377,
364,
12,
474,
277,
273,
374,
31,
277,
411,
290,
31,
277,
27245,
1377,
288,
3639,
10172,
845,
273,
5849,
18,
588,
12236,
6527,
3819,
12,
77,
1769,
3639,
312,
67,
14739,
3819,
17914,
18,
542,
2283,
12,
2704,
30233,
3819,
966,
12,
1916,
16,
629,
10019,
1377,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
283,
23658,
23108,
966,
1435,
565,
1216,
14366,
225,
288,
565,
312,
67,
14739,
3819,
17914,
273,
394,
3497,
5211,
682,
12,
2211,
1769,
3639,
509,
290,
16815,
273,
7854,
1571,
1380,
799,
7423,
5621,
565,
364,
12,
474,
417,
273,
300,
21,
31,
417,
411,
290,
16815,
31,
417,
27245,
565,
288,
1377,
29483,
2963,
5849,
273,
24927,
21,
422,
417,
13,
692,
333,
294,
7854,
1571,
799,
7423,
12,
79,
1769,
5411,
509,
290,
273,
5849,
18,
588,
16632,
3819,
1380,
5621,
1377,
364,
12,
474,
277,
273,
374,
31,
277,
411,
290,
31,
277,
27245,
1377,
288,
3639,
10172,
845,
273,
5849,
18,
588,
16632,
3819,
12,
77,
1769,
3639,
312,
67,
14739,
3819,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.