rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
listlengths 256
256
| attention_mask
listlengths 256
256
| labels
listlengths 128
128
|
|---|---|---|---|---|---|---|
changeListenerList.remove(ChangeListener.class, listener);
|
listenerList.remove(ChangeListener.class, listener);
|
public void removeChangeListener(ChangeListener listener) { changeListenerList.remove(ChangeListener.class, listener); }
|
56365 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56365/14511e3ad21013e92c6399b2bd2ec09a8263e33a/JSlider.java/buggy/libjava/javax/swing/JSlider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1206,
15744,
12,
15744,
2991,
13,
225,
288,
565,
2991,
682,
18,
4479,
12,
15744,
18,
1106,
16,
2991,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
System.err.println("no luck - moving on");
|
System.err.println(depth + ":" + "no luck - moving on");
|
public final static FeatureFilter optimize(FeatureFilter filter) { System.err.println("Optimizing " + filter); if(filter instanceof FeatureFilter.And) { System.err.println("is AND"); List filters = new ArrayList(); expandAnd(filter, filters); System.err.println("as list: " + filters); // get all children of this AND, and of all AND children for(int i = 0; i < filters.size(); i++) { filters.set(i, (FeatureFilter) filters.get(i)); } // now scan this list for all OR children List ors = new ArrayList(); for(int i = 0; i < filters.size(); i++) { FeatureFilter f = (FeatureFilter) filters.get(i); if(f instanceof FeatureFilter.Or) { filters.remove(i); ors.add(f); i--; } } // optimize all simple filters for(int i = 1; i < filters.size(); i++) { System.err.println("i: " + i); FeatureFilter a = (FeatureFilter) filters.get(i); for(int j = 0; j < i; j++) { System.err.println("j: " + j); FeatureFilter b = (FeatureFilter) filters.get(j); System.err.println("Comparing " + a + ", " + b + " of " + filters); if(areDisjoint(a, b)) { // a n b = E System.err.println("Disjoint"); return none(); } else if(areProperSubset(a, b)) { System.err.println("a < b"); // if a < b then a n b = a filters.remove(j); j--; i--; } else if(areProperSubset(b, a)) { System.err.println("a > b"); // if a > b then a n b = b filters.remove(i); i--; break; } else { System.err.println("Attempting to calculate intersection"); FeatureFilter intersect = intersection(a, b); if(intersect != null) { System.err.println("got intersection: " + intersect); filters.set(i, intersect); filters.remove(j); j--; i--; } else { System.err.println("no luck - moving on"); } } } } System.err.println("Reduced to: " + filters); if(filters.isEmpty()) { System.err.println("empty filter set"); return none(); } else { FeatureFilter ands = and((FeatureFilter[]) filters.toArray(new FeatureFilter[] {})); if(ors.isEmpty()) { System.err.println("No ors, just returning anded values: " + ands); return ands; } else { System.err.println("Mixing in ors: " + ors); System.err.println("to: " + ands); List combs = new ArrayList(); combs.add(ands); for(int i = 0; i < ors.size(); i++) { List newCombs = new ArrayList(); FeatureFilter.Or or = (FeatureFilter.Or) ors.get(i); for(int j = 0; j < combs.size(); j++) { FeatureFilter f = (FeatureFilter) combs.get(j); newCombs.add(and(f, or.getChild1())); newCombs.add(and(f, or.getChild2())); } combs = newCombs; } return optimize(or((FeatureFilter[]) combs.toArray(new FeatureFilter[] {}))); } } } else if(filter instanceof FeatureFilter.Or) { System.err.println("is OR"); List filters = new ArrayList(); expandOr(filter, filters); System.err.println("as list: " + filters); for(int i = 0; i < filters.size(); i++) { filters.set(i, optimize((FeatureFilter) filters.get(i))); } // now scan this list for all OR children List ands = new ArrayList(); for(int i = 0; i < filters.size(); i++) { FeatureFilter f = (FeatureFilter) filters.get(i); if(f instanceof FeatureFilter.And) { filters.remove(i); ands.add(f); i--; } } for(int i = 1; i < filters.size(); i++) { System.err.println("i: " + i); FeatureFilter a = (FeatureFilter) filters.get(i); for(int j = 0; j < i; j++) { System.err.println("j: " + j); FeatureFilter b = (FeatureFilter) filters.get(j); System.err.println("Comparing " + a + ", " + b + " of " + filters); if(a == all() || b == all()) { System.err.println("Found an all"); return all(); } else if(areProperSubset(a, b)) { System.err.println("a < b"); filters.remove(i); i--; } else if(areProperSubset(b, a)) { System.err.println("a > b"); filters.remove(j); j--; i--; } else { System.err.println("Trying to calculate union"); FeatureFilter union = union(a, b); if(union != null) { System.err.println("Got union: " + union); filters.set(i, union); filters.remove(j); j--; i--; } else { System.err.println("no luck - moving on"); } } } } FeatureFilter ors = or((FeatureFilter[]) filters.toArray(new FeatureFilter[] {})); if(ands.isEmpty()) { System.err.println("no ands, returning ors: " + ors); return ors; } else { System.err.println("Mixing in ands: " + ands); System.err.println("to: " + ors); List combs = new ArrayList(); combs.add(ors); for(int i = 0; i < ands.size(); i++) { List newCombs = new ArrayList(); FeatureFilter.And and = (FeatureFilter.And) ands.get(i); for(int j = 0; j < combs.size(); j++) { FeatureFilter f = (FeatureFilter) combs.get(j); newCombs.add(or(f, and.getChild1())); newCombs.add(or(f, and.getChild2())); } } return optimize(and((FeatureFilter[]) combs.toArray(new FeatureFilter[] {}))); } } else if(filter instanceof FeatureFilter.Not) { FeatureFilter.Not not = (FeatureFilter.Not) filter; return not(optimize(not.getChild())); } else { return filter; } }
|
50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/7e35756d6acc4e7db8b3eec8a8305a95ce838b70/FilterUtils.java/buggy/src/org/biojava/bio/seq/FilterUtils.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
760,
7881,
1586,
10979,
12,
4595,
1586,
1034,
13,
288,
565,
2332,
18,
370,
18,
8222,
2932,
13930,
6894,
315,
397,
1034,
1769,
3639,
309,
12,
2188,
1276,
7881,
1586,
18,
1876,
13,
288,
1377,
2332,
18,
370,
18,
8222,
2932,
291,
4116,
8863,
5411,
987,
3415,
273,
394,
2407,
5621,
1377,
4542,
1876,
12,
2188,
16,
3415,
1769,
1377,
2332,
18,
370,
18,
8222,
2932,
345,
666,
30,
315,
397,
3415,
1769,
5411,
368,
336,
777,
2325,
434,
333,
4116,
16,
471,
434,
777,
4116,
2325,
1377,
364,
12,
474,
277,
273,
374,
31,
277,
411,
3415,
18,
1467,
5621,
277,
27245,
288,
3639,
3415,
18,
542,
12,
77,
16,
261,
4595,
1586,
13,
3415,
18,
588,
12,
77,
10019,
1377,
289,
5411,
368,
2037,
4135,
333,
666,
364,
777,
4869,
2325,
1377,
987,
578,
87,
273,
394,
2407,
5621,
1377,
364,
12,
474,
277,
273,
374,
31,
277,
411,
3415,
18,
1467,
5621,
277,
27245,
288,
3639,
7881,
1586,
284,
273,
261,
4595,
1586,
13,
3415,
18,
588,
12,
77,
1769,
3639,
309,
12,
74,
1276,
7881,
1586,
18,
1162,
13,
288,
1850,
3415,
18,
4479,
12,
77,
1769,
1850,
578,
87,
18,
1289,
12,
74,
1769,
1850,
277,
413,
31,
3639,
289,
1377,
289,
1377,
368,
10979,
777,
4143,
3415,
1377,
364,
12,
474,
277,
273,
404,
31,
277,
411,
3415,
18,
1467,
5621,
277,
27245,
288,
3639,
2332,
18,
370,
18,
8222,
2932,
77,
30,
315,
397,
277,
1769,
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,
282,
1071,
727,
760,
7881,
1586,
10979,
12,
4595,
1586,
1034,
13,
288,
565,
2332,
18,
370,
18,
8222,
2932,
13930,
6894,
315,
397,
1034,
1769,
3639,
309,
12,
2188,
1276,
7881,
1586,
18,
1876,
13,
288,
1377,
2332,
18,
370,
18,
8222,
2932,
291,
4116,
8863,
5411,
987,
3415,
273,
394,
2407,
5621,
1377,
4542,
1876,
12,
2188,
16,
3415,
1769,
1377,
2332,
18,
370,
18,
8222,
2932,
345,
666,
30,
315,
397,
3415,
1769,
5411,
368,
336,
777,
2325,
434,
333,
4116,
16,
471,
434,
777,
4116,
2325,
1377,
364,
12,
474,
277,
273,
374,
31,
277,
411,
3415,
18,
1467,
5621,
277,
27245,
288,
3639,
3415,
18,
542,
12,
77,
16,
261,
4595,
1586,
13,
3415,
2
] |
if (!isOpen) { throw new BadDescriptorException(); } if (!modes.isWriteable()) { throw new IOException("not opened for writing"); }
|
checkWritable();
|
protected void checkWriteable() throws IOException, BadDescriptorException { if (!isOpen) { throw new BadDescriptorException(); } if (!modes.isWriteable()) { throw new IOException("not opened for writing"); } }
|
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/54e6b8da799629e0b7db879c45149399878f5f84/IOHandler.java/buggy/src/org/jruby/util/IOHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
866,
3067,
429,
1435,
1216,
1860,
16,
6107,
3187,
503,
288,
3639,
309,
16051,
291,
3678,
13,
288,
5411,
604,
394,
6107,
3187,
503,
5621,
3639,
289,
7734,
309,
16051,
19282,
18,
291,
3067,
429,
10756,
288,
5411,
604,
394,
1860,
2932,
902,
10191,
364,
7410,
8863,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
866,
3067,
429,
1435,
1216,
1860,
16,
6107,
3187,
503,
288,
3639,
309,
16051,
291,
3678,
13,
288,
5411,
604,
394,
6107,
3187,
503,
5621,
3639,
289,
7734,
309,
16051,
19282,
18,
291,
3067,
429,
10756,
288,
5411,
604,
394,
1860,
2932,
902,
10191,
364,
7410,
8863,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
stringClass.defineMethod("to_s", CallbackFactory.getSelfMethod()); stringClass.defineMethod("to_str", CallbackFactory.getSelfMethod());
|
stringClass.defineMethod("to_s", CallbackFactory.getSelfMethod(0)); stringClass.defineMethod("to_str", CallbackFactory.getSelfMethod(0));
|
public static RubyClass createStringClass(Ruby ruby) { RubyClass stringClass = ruby.defineClass("String", ruby.getClasses().getObjectClass()); stringClass.includeModule(ruby.getClasses().getComparableModule()); stringClass.includeModule(ruby.getClasses().getEnumerableModule()); stringClass.defineSingletonMethod("new", CallbackFactory.getOptSingletonMethod(RubyString.class, "newInstance")); stringClass.defineMethod("initialize", CallbackFactory.getMethod(RubyString.class, "replace", RubyObject.class)); stringClass.defineMethod("clone", CallbackFactory.getMethod(RubyString.class, "rbClone")); stringClass.defineMethod("dup", CallbackFactory.getMethod(RubyString.class, "dup")); stringClass.defineMethod("<=>", CallbackFactory.getMethod(RubyString.class, "op_cmp", RubyObject.class)); stringClass.defineMethod("==", CallbackFactory.getMethod(RubyString.class, "equal", RubyObject.class)); stringClass.defineMethod("===", CallbackFactory.getMethod(RubyString.class, "equal", RubyObject.class)); stringClass.defineMethod("eql?", CallbackFactory.getMethod(RubyString.class, "equal", RubyObject.class)); stringClass.defineMethod("hash", CallbackFactory.getMethod(RubyString.class, "hash")); stringClass.defineMethod("+", CallbackFactory.getMethod(RubyString.class, "op_plus", RubyObject.class)); stringClass.defineMethod("*", CallbackFactory.getMethod(RubyString.class, "op_mul", RubyInteger.class)); stringClass.defineMethod("%", CallbackFactory.getMethod(RubyString.class, "format", RubyObject.class)); stringClass.defineMethod("[]", CallbackFactory.getOptMethod(RubyString.class, "aref")); stringClass.defineMethod("[]=", CallbackFactory.getOptMethod(RubyString.class, "aset")); stringClass.defineMethod("length", CallbackFactory.getMethod(RubyString.class, "length")); stringClass.defineMethod("size", CallbackFactory.getMethod(RubyString.class, "length")); stringClass.defineMethod("empty?", CallbackFactory.getMethod(RubyString.class, "empty")); stringClass.defineMethod("=~", CallbackFactory.getMethod(RubyString.class, "match", RubyObject.class)); stringClass.defineMethod("~", CallbackFactory.getMethod(RubyString.class, "match2")); stringClass.defineMethod("succ", CallbackFactory.getMethod(RubyString.class, "succ")); stringClass.defineMethod("succ!", CallbackFactory.getMethod(RubyString.class, "succ_bang")); stringClass.defineMethod("next", CallbackFactory.getMethod(RubyString.class, "succ")); stringClass.defineMethod("next!", CallbackFactory.getMethod(RubyString.class, "succ_bang")); stringClass.defineMethod("upto", CallbackFactory.getMethod(RubyString.class, "upto", RubyObject.class)); stringClass.defineMethod("index", CallbackFactory.getOptMethod(RubyString.class, "index")); stringClass.defineMethod("rindex", CallbackFactory.getOptMethod(RubyString.class, "rindex")); stringClass.defineMethod("replace", CallbackFactory.getMethod(RubyString.class, "replace", RubyObject.class)); stringClass.defineMethod("to_i", CallbackFactory.getMethod(RubyString.class, "to_i")); stringClass.defineMethod("to_f", CallbackFactory.getMethod(RubyString.class, "to_f")); stringClass.defineMethod("to_s", CallbackFactory.getSelfMethod()); stringClass.defineMethod("to_str", CallbackFactory.getSelfMethod()); stringClass.defineMethod("inspect", CallbackFactory.getMethod(RubyString.class, "inspect")); stringClass.defineMethod("dump", CallbackFactory.getMethod(RubyString.class, "dump")); stringClass.defineMethod("upcase", CallbackFactory.getMethod(RubyString.class, "upcase")); stringClass.defineMethod("downcase", CallbackFactory.getMethod(RubyString.class, "downcase")); stringClass.defineMethod("capitalize", CallbackFactory.getMethod(RubyString.class, "capitalize")); stringClass.defineMethod("swapcase", CallbackFactory.getMethod(RubyString.class, "swapcase")); stringClass.defineMethod("upcase!", CallbackFactory.getMethod(RubyString.class, "upcase_bang")); stringClass.defineMethod("downcase!", CallbackFactory.getMethod(RubyString.class, "downcase_bang")); stringClass.defineMethod("capitalize!", CallbackFactory.getMethod(RubyString.class, "capitalize_bang")); stringClass.defineMethod("swapcase!", CallbackFactory.getMethod(RubyString.class, "swapcase_bang")); stringClass.defineMethod("hex", CallbackFactory.getMethod(RubyString.class, "hex")); stringClass.defineMethod("oct", CallbackFactory.getMethod(RubyString.class, "oct")); stringClass.defineMethod("split", CallbackFactory.getOptMethod(RubyString.class, "split")); stringClass.defineMethod("reverse", CallbackFactory.getMethod(RubyString.class, "reverse")); stringClass.defineMethod("reverse!", CallbackFactory.getMethod(RubyString.class, "reverse_bang")); stringClass.defineMethod("concat", CallbackFactory.getMethod(RubyString.class, "concat", RubyObject.class)); stringClass.defineMethod("<<", CallbackFactory.getMethod(RubyString.class, "concat", RubyObject.class)); // rb_define_method(rb_cString, "crypt", rb_str_crypt, 1); stringClass.defineMethod("intern", CallbackFactory.getMethod(RubyString.class, "intern")); stringClass.defineMethod("include?", CallbackFactory.getMethod(RubyString.class, "include", RubyObject.class)); stringClass.defineMethod("scan", CallbackFactory.getMethod(RubyString.class, "scan", RubyObject.class)); stringClass.defineMethod("ljust", CallbackFactory.getMethod(RubyString.class, "ljust", RubyObject.class)); stringClass.defineMethod("rjust", CallbackFactory.getMethod(RubyString.class, "rjust", RubyObject.class)); stringClass.defineMethod("center", CallbackFactory.getMethod(RubyString.class, "center", RubyObject.class)); stringClass.defineMethod("sub", CallbackFactory.getOptMethod(RubyString.class, "sub")); stringClass.defineMethod("gsub", CallbackFactory.getOptMethod(RubyString.class, "gsub")); stringClass.defineMethod("chop", CallbackFactory.getMethod(RubyString.class, "chop")); stringClass.defineMethod("chomp", CallbackFactory.getOptMethod(RubyString.class, "chomp")); stringClass.defineMethod("strip", CallbackFactory.getMethod(RubyString.class, "strip")); stringClass.defineMethod("sub!", CallbackFactory.getOptMethod(RubyString.class, "sub_bang")); stringClass.defineMethod("gsub!", CallbackFactory.getOptMethod(RubyString.class, "gsub_bang")); stringClass.defineMethod("chop!", CallbackFactory.getMethod(RubyString.class, "chop_bang")); stringClass.defineMethod("chomp!", CallbackFactory.getOptMethod(RubyString.class, "chomp_bang")); stringClass.defineMethod("strip!", CallbackFactory.getMethod(RubyString.class, "strip_bang")); stringClass.defineMethod("tr", CallbackFactory.getOptMethod(RubyString.class, "tr")); stringClass.defineMethod("tr_s", CallbackFactory.getOptMethod(RubyString.class, "tr_s")); stringClass.defineMethod("delete", CallbackFactory.getOptMethod(RubyString.class, "delete")); stringClass.defineMethod("squeeze", CallbackFactory.getOptMethod(RubyString.class, "squeeze")); stringClass.defineMethod("count", CallbackFactory.getOptMethod(RubyString.class, "count")); stringClass.defineMethod("tr!", CallbackFactory.getOptMethod(RubyString.class, "tr_bang")); stringClass.defineMethod("tr_s!", CallbackFactory.getOptMethod(RubyString.class, "tr_s_bang")); stringClass.defineMethod("delete!", CallbackFactory.getOptMethod(RubyString.class, "delete_bang")); stringClass.defineMethod("squeeze!", CallbackFactory.getOptMethod(RubyString.class, "squeeze_bang")); stringClass.defineMethod("each_line", CallbackFactory.getOptMethod(RubyString.class, "each_line")); stringClass.defineMethod("each", CallbackFactory.getOptMethod(RubyString.class, "each_line")); stringClass.defineMethod("each_byte", CallbackFactory.getMethod(RubyString.class, "each_byte")); // rb_define_method(rb_cString, "sum", rb_str_sum, -1); stringClass.defineMethod("slice", CallbackFactory.getOptMethod(RubyString.class, "aref")); stringClass.defineMethod("slice!", CallbackFactory.getOptMethod(RubyString.class, "slice_bang")); // id_to_s = rb_intern("to_s"); // rb_fs = Qnil; // rb_define_hooked_variable("$;", &rb_fs, 0, rb_str_setter); // rb_define_hooked_variable("$-F", &rb_fs, 0, rb_str_setter); stringClass.defineMethod("unpack", CallbackFactory.getMethod(RubyString.class, "unpack", RubyString.class)); return stringClass; }
|
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/6076c5ab87d25a488469aa1a32f1d2c9c9e470b2/RubyString.java/buggy/org/jruby/RubyString.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
19817,
797,
752,
780,
797,
12,
54,
10340,
22155,
13,
288,
202,
202,
54,
10340,
797,
533,
797,
273,
22155,
18,
11255,
797,
2932,
780,
3113,
22155,
18,
588,
4818,
7675,
588,
921,
797,
10663,
202,
202,
1080,
797,
18,
6702,
3120,
12,
27768,
18,
588,
4818,
7675,
588,
799,
10207,
3120,
10663,
202,
202,
1080,
797,
18,
6702,
3120,
12,
27768,
18,
588,
4818,
7675,
588,
3572,
25121,
3120,
10663,
202,
202,
1080,
797,
18,
11255,
19571,
1305,
2932,
2704,
3113,
8444,
1733,
18,
588,
6179,
19571,
1305,
12,
54,
10340,
780,
18,
1106,
16,
315,
2704,
1442,
7923,
1769,
202,
202,
1080,
797,
18,
11255,
1305,
2932,
11160,
3113,
8444,
1733,
18,
588,
1305,
12,
54,
10340,
780,
18,
1106,
16,
315,
2079,
3113,
19817,
921,
18,
1106,
10019,
202,
202,
1080,
797,
18,
11255,
1305,
2932,
14056,
3113,
8444,
1733,
18,
588,
1305,
12,
54,
10340,
780,
18,
1106,
16,
315,
6731,
10930,
7923,
1769,
202,
202,
1080,
797,
18,
11255,
1305,
2932,
26427,
3113,
8444,
1733,
18,
588,
1305,
12,
54,
10340,
780,
18,
1106,
16,
315,
26427,
7923,
1769,
202,
202,
1080,
797,
18,
11255,
1305,
2932,
32,
33,
2984,
16,
8444,
1733,
18,
588,
1305,
12,
54,
10340,
780,
18,
1106,
16,
315,
556,
67,
9625,
3113,
19817,
921,
18,
1106,
10019,
202,
202,
1080,
797,
18,
11255,
1305,
2932,
631,
3113,
8444,
1733,
18,
588,
1305,
12,
54,
10340,
780,
18,
1106,
16,
315,
9729,
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,
225,
202,
482,
760,
19817,
797,
752,
780,
797,
12,
54,
10340,
22155,
13,
288,
202,
202,
54,
10340,
797,
533,
797,
273,
22155,
18,
11255,
797,
2932,
780,
3113,
22155,
18,
588,
4818,
7675,
588,
921,
797,
10663,
202,
202,
1080,
797,
18,
6702,
3120,
12,
27768,
18,
588,
4818,
7675,
588,
799,
10207,
3120,
10663,
202,
202,
1080,
797,
18,
6702,
3120,
12,
27768,
18,
588,
4818,
7675,
588,
3572,
25121,
3120,
10663,
202,
202,
1080,
797,
18,
11255,
19571,
1305,
2932,
2704,
3113,
8444,
1733,
18,
588,
6179,
19571,
1305,
12,
54,
10340,
780,
18,
1106,
16,
315,
2704,
1442,
7923,
1769,
202,
202,
1080,
797,
18,
11255,
1305,
2932,
11160,
3113,
8444,
1733,
18,
588,
2
] |
public MTransformJPanel(TransformContext transformContext) { this.transformContext = transformContext; this.mackageDesc = transformContext.getMackageDesc(); // INIT GUI initComponents(); // DYNAMICALLY LOAD DISPLAY try{ Class mTransformDisplayJPanelClass = Class.forName(this.getClass().getPackage().getName() + ".MTransformDisplayJPanel", true, Util.getClassLoader() ); Constructor mTransformDisplayJPanelConstructor = mTransformDisplayJPanelClass.getConstructor(new Class[]{this.getClass()}); mTransformDisplayJPanel = (MTransformDisplayJPanel) mTransformDisplayJPanelConstructor.newInstance(new Object[]{this}); } catch(Exception e){ mTransformDisplayJPanel = new MTransformDisplayJPanel(this); Util.handleExceptionNoRestart("Error adding display panel", e); } this.add(mTransformDisplayJPanel, new org.netbeans.lib.awtextra.AbsoluteConstraints(104, 5, 498, 90), 0); // DYNAMICALLY LOAD CONFIG try{ Class mTransformControlsJPanelClass = Class.forName(this.getClass().getPackage().getName() + ".MTransformControlsJPanel", true, Util.getClassLoader() ); Constructor mTransformControlsJPanelConstructor = mTransformControlsJPanelClass.getConstructor(new Class[]{this.getClass()}); mTransformControlsJPanel = (MTransformControlsJPanel) mTransformControlsJPanelConstructor.newInstance(new Object[]{this}); } catch(Exception e){ mTransformControlsJPanel = new MTransformControlsJPanel(this); Util.handleExceptionNoRestart("Error adding control panel", e); } mTransformControlsJPanel.postInit(); // DYNAMICALLY LOAD ICONS String name = null; try{ name = getMackageDesc().getName(); name = name.substring(0, name.indexOf('-')); descriptionIconJLabel.setIcon(new javax.swing.ImageIcon( Util.getClassLoader().getResource("com/metavize/tran/" + name + "/gui/IconDesc42x42.png"))); organizationIconJLabel.setIcon(new javax.swing.ImageIcon( Util.getClassLoader().getResource("com/metavize/tran/" + name + "/gui/IconOrg42x42.png"))); } catch(Exception e){ Util.handleExceptionNoRestart("Error adding icons: " + name , e); } // SIZES if(maxDimension == null) maxDimension = new Dimension((int)this.getPreferredSize().getWidth(), (int)(this.getPreferredSize().getHeight() + mTransformControlsJPanel.getPreferredSize().getHeight())); if(minDimension == null) minDimension = new Dimension((int)this.getPreferredSize().getWidth(), (int)(this.getPreferredSize().getHeight())); setPreferredSize(minDimension); setMinimumSize(minDimension); setMaximumSize(minDimension); // ADD CONFIG PANEL add(mTransformControlsJPanel, new org.netbeans.lib.awtextra.AbsoluteConstraints(46, 100, 596, 380), 0); setMinimumSize(minDimension); setMaximumSize(maxDimension); //mTransformControlsJPanel.setVisible(false); setPreferredSize(minDimension); // SETUP COLORS and name descriptionTextJLabel.setText( getMackageDesc().getDisplayName() ); // SETUP STATE mStateMachine = new MStateMachine(this); powerJToggleButton.addActionListener(mStateMachine); mTransformControlsJPanel.saveJButton().addActionListener(mStateMachine); mTransformControlsJPanel.reloadJButton().addActionListener(mStateMachine); mTransformControlsJPanel.removeJButton().addActionListener(mStateMachine); }
|
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/1c703eb1cf3ed9abe7727de96665b66b410b93ab/MTransformJPanel.java/buggy/gui/main/com/metavize/gui/transform/MTransformJPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
490,
4059,
46,
5537,
12,
4059,
1042,
2510,
1042,
13,
288,
565,
333,
18,
6547,
1042,
273,
2510,
1042,
31,
202,
2211,
18,
81,
1270,
4217,
273,
2510,
1042,
18,
588,
49,
1270,
4217,
5621,
565,
368,
12584,
10978,
565,
1208,
7171,
5621,
565,
368,
463,
25145,
4685,
61,
24089,
25214,
565,
775,
95,
1377,
1659,
312,
4059,
4236,
46,
5537,
797,
273,
1659,
18,
1884,
461,
12,
2211,
18,
588,
797,
7675,
588,
2261,
7675,
17994,
1435,
397,
3552,
49,
4059,
4236,
46,
5537,
3113,
5375,
638,
16,
3564,
18,
588,
7805,
1435,
11272,
1377,
11417,
312,
4059,
4236,
46,
5537,
6293,
273,
312,
4059,
4236,
46,
5537,
797,
18,
588,
6293,
12,
2704,
1659,
63,
7073,
2211,
18,
588,
797,
17767,
1769,
1377,
312,
4059,
4236,
46,
5537,
273,
261,
49,
4059,
4236,
46,
5537,
13,
312,
4059,
4236,
46,
5537,
6293,
18,
2704,
1442,
12,
2704,
1033,
63,
7073,
2211,
22938,
565,
289,
565,
1044,
12,
503,
425,
15329,
1377,
312,
4059,
4236,
46,
5537,
273,
394,
490,
4059,
4236,
46,
5537,
12,
2211,
1769,
1377,
3564,
18,
4110,
503,
2279,
15057,
2932,
668,
6534,
2562,
6594,
3113,
425,
1769,
565,
289,
565,
333,
18,
1289,
12,
81,
4059,
4236,
46,
5537,
16,
394,
2358,
18,
2758,
2196,
634,
18,
2941,
18,
2219,
88,
7763,
18,
10368,
4878,
12,
21869,
16,
1381,
16,
1059,
10689,
16,
8566,
3631,
374,
1769,
565,
368,
463,
25145,
4685,
61,
24089,
9128,
565,
775,
95,
1377,
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,
490,
4059,
46,
5537,
12,
4059,
1042,
2510,
1042,
13,
288,
565,
333,
18,
6547,
1042,
273,
2510,
1042,
31,
202,
2211,
18,
81,
1270,
4217,
273,
2510,
1042,
18,
588,
49,
1270,
4217,
5621,
565,
368,
12584,
10978,
565,
1208,
7171,
5621,
565,
368,
463,
25145,
4685,
61,
24089,
25214,
565,
775,
95,
1377,
1659,
312,
4059,
4236,
46,
5537,
797,
273,
1659,
18,
1884,
461,
12,
2211,
18,
588,
797,
7675,
588,
2261,
7675,
17994,
1435,
397,
3552,
49,
4059,
4236,
46,
5537,
3113,
5375,
638,
16,
3564,
18,
588,
7805,
1435,
11272,
1377,
11417,
312,
4059,
4236,
46,
5537,
6293,
273,
312,
4059,
4236,
46,
5537,
797,
18,
588,
6293,
12,
2704,
1659,
63,
2
] |
||
public void buildClassifier(Instances data) throws Exception { int i; m_rr = new Random(1); m_theInstances = data; m_disTransform = new DiscretizeFilter(); if (m_theInstances.classAttribute().isNumeric()) { m_classIsNominal = false; // use binned discretisation if the class is numeric m_disTransform.setUseMDL(false); m_disTransform.setBins(10); m_disTransform.setInvertSelection(true); // Discretize all attributes EXCEPT the class String rangeList = ""; rangeList+=(m_theInstances.classIndex()+1); System.out.println("The class col: "+m_theInstances.classIndex()); m_disTransform.setAttributeIndices(rangeList); } else { m_disTransform.setUseBetterEncoding(true); m_classIsNominal = true; } m_disTransform.inputFormat(m_theInstances); m_theInstances = Filter.useFilter(m_theInstances, m_disTransform); m_numAttributes = m_theInstances.numAttributes(); m_numInstances = m_theInstances.numInstances(); m_majority = m_theInstances.meanOrMode(m_theInstances.classAttribute()); best_first(); // reduce instances to selected features m_delTransform = new DeleteFilter(); m_delTransform.setInvertSelection(true); // set features to keep m_delTransform.setAttributeIndicesArray(m_decisionFeatures); m_delTransform.inputFormat(m_theInstances); m_theInstances = Filter.useFilter(m_theInstances, m_delTransform); // reset the number of attributes m_numAttributes = m_theInstances.numAttributes(); // create hash table m_entries = new Hashtable((int)(m_theInstances.numInstances() * 1.5)); // insert instances into the hash table for (i=0;i<m_numInstances;i++) { Instance inst = m_theInstances.instance(i); insertIntoTable(inst, null); } // Replace the global table majority with nearest neighbour? if (m_useIBk) { m_ibk = new IBk(); m_ibk.buildClassifier(m_theInstances); } // Save memory m_theInstances = new Instances(m_theInstances, 0); }
|
4773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4773/9e72041e2204a61830b9cccfa8173a6ed2c39eb5/DecisionTable.java/clean/weka/classifiers/rules/DecisionTable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1071,
918,
1361,
13860,
12,
5361,
501,
13,
1216,
1185,
288,
225,
509,
277,
31,
225,
312,
67,
523,
273,
394,
8072,
12,
21,
1769,
225,
312,
67,
5787,
5361,
273,
501,
31,
565,
312,
67,
2251,
4059,
273,
394,
3035,
71,
1349,
554,
1586,
5621,
225,
309,
261,
81,
67,
5787,
5361,
18,
1106,
1499,
7675,
291,
9902,
10756,
225,
288,
282,
312,
67,
1106,
2520,
26685,
1490,
273,
629,
31,
282,
368,
999,
4158,
11748,
19169,
1349,
10742,
309,
326,
667,
353,
6389,
282,
312,
67,
2251,
4059,
18,
542,
3727,
6188,
48,
12,
5743,
1769,
282,
312,
67,
2251,
4059,
18,
542,
38,
2679,
12,
2163,
1769,
282,
312,
67,
2251,
4059,
18,
542,
382,
1097,
6233,
12,
3767,
1769,
4202,
368,
3035,
71,
1349,
554,
777,
1677,
5675,
14514,
326,
667,
565,
514,
1048,
682,
273,
1408,
31,
282,
1048,
682,
15,
28657,
81,
67,
5787,
5361,
18,
1106,
1016,
1435,
15,
21,
1769,
282,
2332,
18,
659,
18,
8222,
2932,
1986,
667,
645,
30,
13773,
81,
67,
5787,
5361,
18,
1106,
1016,
10663,
4202,
312,
67,
2251,
4059,
18,
542,
1499,
8776,
12,
3676,
682,
1769,
225,
289,
225,
469,
225,
288,
282,
312,
67,
2251,
4059,
18,
542,
3727,
38,
11214,
4705,
12,
3767,
1769,
282,
312,
67,
1106,
2520,
26685,
1490,
273,
638,
31,
225,
289,
225,
312,
67,
2251,
4059,
18,
2630,
1630,
12,
81,
67,
5787,
5361,
1769,
225,
312,
67,
5787,
5361,
273,
4008,
18,
1202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1071,
918,
1361,
13860,
12,
5361,
501,
13,
1216,
1185,
288,
225,
509,
277,
31,
225,
312,
67,
523,
273,
394,
8072,
12,
21,
1769,
225,
312,
67,
5787,
5361,
273,
501,
31,
565,
312,
67,
2251,
4059,
273,
394,
3035,
71,
1349,
554,
1586,
5621,
225,
309,
261,
81,
67,
5787,
5361,
18,
1106,
1499,
7675,
291,
9902,
10756,
225,
288,
282,
312,
67,
1106,
2520,
26685,
1490,
273,
629,
31,
282,
368,
999,
4158,
11748,
19169,
1349,
10742,
309,
326,
667,
353,
6389,
282,
312,
67,
2251,
4059,
18,
542,
3727,
6188,
48,
12,
5743,
1769,
282,
312,
67,
2251,
4059,
18,
542,
38,
2679,
12,
2163,
1769,
282,
312,
67,
2251,
4059,
18,
542,
382,
2
] |
||
getModel( ).close( );
|
if(getModel()!=null) { getModel( ).close( ); }
|
public void dispose( ) { //dispose page List list = new ArrayList(pages); int size = list.size( ); for (int i=0; i<size; i++) { Object obj =list.get( i ); if (obj instanceof IReportEditorPage) { ((IReportEditorPage)obj).dispose( ); pages.remove( obj ); } } // getSite( ).getWorkbenchWindow( ) // .getPartService( ) // .removePartListener( this ); if ( fPalettePage != null ) { fPalettePage.dispose( ); } if ( outlinePage != null ) { outlinePage.dispose( ); } if ( dataPage != null ) { dataPage.dispose( ); } getSite( ).setSelectionProvider(null ); // remove the mediator listener SessionHandleAdapter.getInstance( ).getMediator( ) .removeGlobalColleague( this ); getModel( ).close( ); super.dispose( ); }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/6f2bf55f121981dcb9b70c8145124efef6d7ada0/MultiPageReportEditor.java/buggy/UI/org.eclipse.birt.report.designer.ui.editors/src/org/eclipse/birt/report/designer/ui/editors/MultiPageReportEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
15825,
12,
262,
202,
95,
202,
202,
759,
2251,
4150,
1363,
202,
202,
682,
666,
273,
394,
2407,
12,
7267,
1769,
202,
202,
474,
963,
273,
666,
18,
1467,
12,
11272,
202,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
1467,
31,
277,
27245,
202,
202,
95,
1082,
202,
921,
1081,
273,
1098,
18,
588,
12,
277,
11272,
1082,
202,
430,
261,
2603,
1276,
467,
4820,
6946,
1964,
13,
1082,
202,
95,
9506,
202,
12443,
45,
4820,
6946,
1964,
13,
2603,
2934,
2251,
4150,
12,
11272,
9506,
202,
7267,
18,
4479,
12,
1081,
11272,
1082,
202,
97,
202,
202,
97,
9506,
202,
759,
11021,
12,
262,
18,
588,
2421,
22144,
3829,
12,
262,
202,
202,
759,
263,
588,
1988,
1179,
12,
262,
202,
202,
759,
263,
4479,
1988,
2223,
12,
333,
11272,
202,
202,
430,
261,
284,
25863,
1964,
480,
446,
262,
202,
202,
95,
1082,
202,
74,
25863,
1964,
18,
2251,
4150,
12,
11272,
202,
202,
97,
202,
202,
430,
261,
16363,
1964,
480,
446,
262,
202,
202,
95,
1082,
202,
25134,
1964,
18,
2251,
4150,
12,
11272,
202,
202,
97,
202,
202,
430,
261,
501,
1964,
480,
446,
262,
202,
202,
95,
1082,
202,
892,
1964,
18,
2251,
4150,
12,
11272,
202,
202,
97,
202,
202,
588,
4956,
12,
262,
18,
542,
6233,
2249,
12,
2011,
11272,
202,
202,
759,
1206,
326,
6735,
10620,
2991,
202,
202,
2157,
3259,
4216,
18,
588,
1442,
12,
262,
18,
588,
13265,
10620,
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,
15825,
12,
262,
202,
95,
202,
202,
759,
2251,
4150,
1363,
202,
202,
682,
666,
273,
394,
2407,
12,
7267,
1769,
202,
202,
474,
963,
273,
666,
18,
1467,
12,
11272,
202,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
1467,
31,
277,
27245,
202,
202,
95,
1082,
202,
921,
1081,
273,
1098,
18,
588,
12,
277,
11272,
1082,
202,
430,
261,
2603,
1276,
467,
4820,
6946,
1964,
13,
1082,
202,
95,
9506,
202,
12443,
45,
4820,
6946,
1964,
13,
2603,
2934,
2251,
4150,
12,
11272,
9506,
202,
7267,
18,
4479,
12,
1081,
11272,
1082,
202,
97,
202,
202,
97,
9506,
202,
759,
11021,
12,
262,
18,
588,
2421,
22144,
3829,
12,
262,
2
] |
components.put(currentProduct.toString(), compURIs);
|
components.put(currentProduct, compURIs);
|
private void parseResource(Attributes attributes) { switch (state) { case IN_PRODUCTS | IN_LI | IN_COMPONENTS | IN_LI_LI: if (attributes != null) { String compURI = attributes.getValue(ATTRIBUTE_RESOURCE); if (compURI != null && currentProduct.length() > 0) { List<String> compURIs = components.get(currentProduct.toString()); if (compURIs == null) { compURIs = new ArrayList<String>(); components.put(currentProduct.toString(), compURIs); } compURIs.add(compURI); } } break; case IN_PRODUCTS | IN_LI | IN_VERSIONS | IN_LI_LI: if (attributes != null) { String resourceURI = attributes.getValue(ATTRIBUTE_RESOURCE); if (resourceURI != null && currentProduct.length() > 0) { List<String> versionUris = versions.get(currentProduct.toString()); if (versionUris == null) { versionUris = new ArrayList<String>(); versions.put(currentProduct.toString(), versionUris); } versionUris.add(resourceURI); } } break; case IN_PRODUCTS | IN_LI | IN_TARGET_MILESTONES | IN_LI_LI: if (attributes != null) { String resourceURI = attributes.getValue(ATTRIBUTE_RESOURCE); if (resourceURI != null) { List<String> milestoneUris = milestones.get(currentProduct.toString()); if (milestoneUris == null) { milestoneUris = new ArrayList<String>(); milestones.put(currentProduct.toString(), milestoneUris); } milestoneUris.add(resourceURI); } } break; case IN_COMPONENTS | IN_LI | IN_COMPONENT: if (attributes != null) { about = attributes.getValue(ATTRIBUTE_RDF_ABOUT); } break; case IN_VERSIONS | IN_LI | IN_VERSION: if (attributes != null) { about = attributes.getValue(ATTRIBUTE_RDF_ABOUT); } break; case IN_TARGET_MILESTONES | IN_LI | IN_TARGET_MILESTONE: if (attributes != null) { about = attributes.getValue(ATTRIBUTE_RDF_ABOUT); } break; } }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/4c4f8d873a6dd772a76cc748a522b8e7d726cee8/SaxConfigurationContentHandler.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/SaxConfigurationContentHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1109,
1420,
12,
2498,
1677,
13,
288,
202,
202,
9610,
261,
2019,
13,
288,
202,
202,
3593,
2120,
67,
25883,
55,
571,
2120,
67,
2053,
571,
2120,
67,
22922,
55,
571,
2120,
67,
2053,
67,
2053,
30,
1082,
202,
430,
261,
4350,
480,
446,
13,
288,
9506,
202,
780,
1161,
3098,
273,
1677,
18,
24805,
12,
11616,
67,
11395,
1769,
9506,
202,
430,
261,
2919,
3098,
480,
446,
597,
783,
4133,
18,
2469,
1435,
405,
374,
13,
288,
6862,
202,
682,
32,
780,
34,
1161,
1099,
2520,
273,
4085,
18,
588,
12,
2972,
4133,
18,
10492,
10663,
6862,
202,
430,
261,
2919,
1099,
2520,
422,
446,
13,
288,
25083,
202,
2919,
1099,
2520,
273,
394,
2407,
32,
780,
34,
5621,
25083,
202,
8119,
18,
458,
12,
2972,
4133,
18,
10492,
9334,
1161,
1099,
2520,
1769,
6862,
202,
97,
6862,
202,
2919,
1099,
2520,
18,
1289,
12,
2919,
3098,
1769,
9506,
202,
97,
1082,
202,
97,
1082,
202,
8820,
31,
202,
202,
3593,
2120,
67,
25883,
55,
571,
2120,
67,
2053,
571,
2120,
67,
5757,
55,
571,
2120,
67,
2053,
67,
2053,
30,
1082,
202,
430,
261,
4350,
480,
446,
13,
288,
9506,
202,
780,
1058,
3098,
273,
1677,
18,
24805,
12,
11616,
67,
11395,
1769,
9506,
202,
430,
261,
3146,
3098,
480,
446,
597,
783,
4133,
18,
2469,
1435,
405,
374,
13,
288,
6862,
202,
682,
32,
780,
34,
1177,
23900,
273,
5244,
18,
588,
12,
2972,
4133,
18,
10492,
10663,
6862,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1109,
1420,
12,
2498,
1677,
13,
288,
202,
202,
9610,
261,
2019,
13,
288,
202,
202,
3593,
2120,
67,
25883,
55,
571,
2120,
67,
2053,
571,
2120,
67,
22922,
55,
571,
2120,
67,
2053,
67,
2053,
30,
1082,
202,
430,
261,
4350,
480,
446,
13,
288,
9506,
202,
780,
1161,
3098,
273,
1677,
18,
24805,
12,
11616,
67,
11395,
1769,
9506,
202,
430,
261,
2919,
3098,
480,
446,
597,
783,
4133,
18,
2469,
1435,
405,
374,
13,
288,
6862,
202,
682,
32,
780,
34,
1161,
1099,
2520,
273,
4085,
18,
588,
12,
2972,
4133,
18,
10492,
10663,
6862,
202,
430,
261,
2919,
1099,
2520,
422,
446,
13,
288,
25083,
202,
2919,
1099,
2520,
273,
394,
2
] |
parentMgr.setRemoveAllWhenShown(removeAll);
|
Assert.isTrue(false, "Should not be called on submenu manager");
|
public void setRemoveAllWhenShown(boolean removeAll) { parentMgr.setRemoveAllWhenShown(removeAll);}
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/930a6362859ee5a9beff4cd3fafc57a2e8128db4/SubMenuManager.java/clean/bundles/org.eclipse.ui/Eclipse JFace/org/eclipse/jface/action/SubMenuManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
444,
3288,
1595,
9434,
27042,
12,
6494,
12787,
13,
288,
202,
2938,
9455,
18,
542,
3288,
1595,
9434,
27042,
12,
4479,
1595,
1769,
97,
2,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
444,
3288,
1595,
9434,
27042,
12,
6494,
12787,
13,
288,
202,
2938,
9455,
18,
542,
3288,
1595,
9434,
27042,
12,
4479,
1595,
1769,
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
] |
thisObj, scope, name, i);
|
thisObj, scope, name, lineNum);
|
public static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Scriptable fnOrScript, InterpreterData theData) throws JavaScriptException { Object lhs; Object[] stack = new Object[theData.itsMaxStack]; int stackTop = -1; byte[] iCode = theData.itsICode; int pc = 0; int iCodeLength = theData.itsICodeTop; Object[] local = null; // used for newtemp/usetemp etc. if (theData.itsMaxLocals > 0) local = new Object[theData.itsMaxLocals]; Object[] vars = null; final Scriptable undefined = Undefined.instance; int i = theData.itsVariableTable.size(); if (i > 0) { vars = new Object[i]; for (i = 0; i < theData.itsVariableTable.getParameterCount(); i++) { if (i >= args.length) vars[i] = undefined; else vars[i] = args[i]; } for ( ; i < vars.length; i++) vars[i] = undefined; } if (theData.itsNestedFunctions != null) { for (i = 0; i < theData.itsNestedFunctions.length; i++) createFunctionObject(theData.itsNestedFunctions[i], scope); } Object id; Object rhs; int count; int slot; String name = null; Object[] outArgs; int lIntValue; long lLongValue; int rIntValue; int[] catchStack = null; int[] finallyStack = null; Scriptable[] scopeStack = null; int tryStackTop = 0; InterpreterFrame frame = null; if (cx.debugger != null) { frame = new InterpreterFrame(scope, theData, fnOrScript); cx.pushFrame(frame); } if (theData.itsMaxTryDepth > 0) { catchStack = new int[theData.itsMaxTryDepth]; finallyStack = new int[theData.itsMaxTryDepth]; scopeStack = new Scriptable[theData.itsMaxTryDepth]; } /* Save the security domain. Must restore upon normal exit. * If we exit the interpreter loop by throwing an exception, * set cx.interpreterSecurityDomain to null, and require the * catching function to restore it. */ Object savedSecurityDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = theData.securityDomain; Object result = undefined; while (pc < iCodeLength) { try { switch ((int)(iCode[pc] & 0xff)) { case TokenStream.ENDTRY : tryStackTop--; break; case TokenStream.TRY : i = getTarget(iCode, pc + 1); if (i == pc) i = 0; catchStack[tryStackTop] = i; i = getTarget(iCode, pc + 3); if (i == (pc + 2)) i = 0; finallyStack[tryStackTop] = i; scopeStack[tryStackTop++] = scope; pc += 4; break; case TokenStream.GE : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.cmp_LEB(rhs, lhs); break; case TokenStream.LE : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.cmp_LEB(lhs, rhs); break; case TokenStream.GT : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.cmp_LTB(rhs, lhs); break; case TokenStream.LT : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.cmp_LTB(lhs, rhs); break; case TokenStream.IN : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = new Boolean(ScriptRuntime.in(lhs, rhs, scope)); break; case TokenStream.INSTANCEOF : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = new Boolean( ScriptRuntime.instanceOf(scope, lhs, rhs)); break; case TokenStream.EQ : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.eqB(lhs, rhs); break; case TokenStream.NE : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.neB(lhs, rhs); break; case TokenStream.SHEQ : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.seqB(lhs, rhs); break; case TokenStream.SHNE : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.sneB(lhs, rhs); break; case TokenStream.IFNE : if (!ScriptRuntime.toBoolean(stack[stackTop--])) { pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.IFEQ : if (ScriptRuntime.toBoolean(stack[stackTop--])) { pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.GOTO : pc = getTarget(iCode, pc + 1); continue; case TokenStream.GOSUB : stack[++stackTop] = new Integer(pc + 3); pc = getTarget(iCode, pc + 1); continue; case TokenStream.RETSUB : slot = (iCode[++pc] & 0xFF); pc = ((Integer)local[slot]).intValue(); continue; case TokenStream.POP : stackTop--; break; case TokenStream.DUP : stack[stackTop + 1] = stack[stackTop]; stackTop++; break; case TokenStream.POPV : result = stack[stackTop--]; break; case TokenStream.RETURN : result = stack[stackTop--]; pc = getTarget(iCode, pc + 1); break; case TokenStream.BITNOT : rIntValue = ScriptRuntime.toInt32(stack[stackTop]); stack[stackTop] = new Double(~rIntValue); break; case TokenStream.BITAND : rIntValue = ScriptRuntime.toInt32(stack[stackTop--]); lIntValue = ScriptRuntime.toInt32(stack[stackTop]); stack[stackTop] = new Double(lIntValue & rIntValue); break; case TokenStream.BITOR : rIntValue = ScriptRuntime.toInt32(stack[stackTop--]); lIntValue = ScriptRuntime.toInt32(stack[stackTop]); stack[stackTop] = new Double(lIntValue | rIntValue); break; case TokenStream.BITXOR : rIntValue = ScriptRuntime.toInt32(stack[stackTop--]); lIntValue = ScriptRuntime.toInt32(stack[stackTop]); stack[stackTop] = new Double(lIntValue ^ rIntValue); break; case TokenStream.LSH : rIntValue = ScriptRuntime.toInt32(stack[stackTop--]); lIntValue = ScriptRuntime.toInt32(stack[stackTop]); stack[stackTop] = new Double(lIntValue << rIntValue); break; case TokenStream.RSH : rIntValue = ScriptRuntime.toInt32(stack[stackTop--]); lIntValue = ScriptRuntime.toInt32(stack[stackTop]); stack[stackTop] = new Double(lIntValue >> rIntValue); break; case TokenStream.URSH : rIntValue = (ScriptRuntime.toInt32(stack[stackTop--]) & 0x1F); lLongValue = ScriptRuntime.toUint32(stack[stackTop]); stack[stackTop] = new Double(lLongValue >>> rIntValue); break; case TokenStream.ADD : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.add(lhs, rhs); break; case TokenStream.SUB : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = new Double(ScriptRuntime.toNumber(lhs) - ScriptRuntime.toNumber(rhs)); break; case TokenStream.NEG : rhs = stack[stackTop]; stack[stackTop] = new Double(-ScriptRuntime.toNumber(rhs)); break; case TokenStream.POS : rhs = stack[stackTop]; stack[stackTop] = new Double(ScriptRuntime.toNumber(rhs)); break; case TokenStream.MUL : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = new Double(ScriptRuntime.toNumber(lhs) * ScriptRuntime.toNumber(rhs)); break; case TokenStream.DIV : rhs = stack[stackTop--]; lhs = stack[stackTop]; // Detect the divide by zero or let Java do it ? stack[stackTop] = new Double(ScriptRuntime.toNumber(lhs) / ScriptRuntime.toNumber(rhs)); break; case TokenStream.MOD : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = new Double(ScriptRuntime.toNumber(lhs) % ScriptRuntime.toNumber(rhs)); break; case TokenStream.BINDNAME : stack[++stackTop] = ScriptRuntime.bind(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.GETBASE : stack[++stackTop] = ScriptRuntime.getBase(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.SETNAME : rhs = stack[stackTop--]; lhs = stack[stackTop]; // what about class cast exception here ? stack[stackTop] = ScriptRuntime.setName((Scriptable)lhs, rhs, scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.DELPROP : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.delete(lhs, rhs); break; case TokenStream.GETPROP : name = (String)stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; case TokenStream.SETPROP : rhs = stack[stackTop--]; name = (String)stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; case TokenStream.GETELEM : id = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.getElem(lhs, id, scope); break; case TokenStream.SETELEM : rhs = stack[stackTop--]; id = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.setElem(lhs, id, rhs, scope); break; case TokenStream.PROPINC : name = (String)stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.postIncrement(lhs, name, scope); break; case TokenStream.PROPDEC : name = (String)stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.postDecrement(lhs, name, scope); break; case TokenStream.ELEMINC : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.postIncrementElem(lhs, rhs, scope); break; case TokenStream.ELEMDEC : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.postDecrementElem(lhs, rhs, scope); break; case TokenStream.GETTHIS : lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.getThis((Scriptable)lhs); break; case TokenStream.NEWTEMP : lhs = stack[stackTop]; slot = (iCode[++pc] & 0xFF); local[slot] = lhs; break; case TokenStream.USETEMP : slot = (iCode[++pc] & 0xFF); stack[++stackTop] = local[slot]; break; case TokenStream.CALLSPECIAL : i = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); name = getString(theData.itsStringTable, iCode, pc + 3); count = (iCode[pc + 5] << 8) | (iCode[pc + 6] & 0xFF); outArgs = new Object[count]; for (i = count - 1; i >= 0; i--) outArgs[i] = stack[stackTop--]; rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.callSpecial( cx, lhs, rhs, outArgs, thisObj, scope, name, i); pc += 6; break; case TokenStream.CALL : count = (iCode[pc + 3] << 8) | (iCode[pc + 4] & 0xFF); outArgs = new Object[count]; for (i = count - 1; i >= 0; i--) outArgs[i] = stack[stackTop--]; rhs = stack[stackTop--]; lhs = stack[stackTop]; if (lhs == undefined) { lhs = getString(theData.itsStringTable, iCode, pc + 1); } Scriptable calleeScope = scope; if (theData.itsNeedsActivation) { calleeScope = ScriptableObject.getTopLevelScope(scope); } stack[stackTop] = ScriptRuntime.call(cx, lhs, rhs, outArgs, calleeScope); pc += 4; break; case TokenStream.NEW : count = (iCode[pc + 3] << 8) | (iCode[pc + 4] & 0xFF); outArgs = new Object[count]; for (i = count - 1; i >= 0; i--) outArgs[i] = stack[stackTop--]; lhs = stack[stackTop]; if (lhs == undefined && (iCode[pc+1] << 8) + (iCode[pc+2] & 0xFF) != -1) { // special code for better error message for call // to undefined lhs = getString(theData.itsStringTable, iCode, pc + 1); } stack[stackTop] = ScriptRuntime.newObject(cx, lhs, outArgs, scope); pc += 4; break; case TokenStream.TYPEOF : lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.typeof(lhs); break; case TokenStream.TYPEOFNAME : name = getString(theData.itsStringTable, iCode, pc + 1); stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; case TokenStream.STRING : stack[++stackTop] = getString(theData.itsStringTable, iCode, pc + 1); pc += 2; break; case TokenStream.NUMBER : stack[++stackTop] = getNumber(theData.itsNumberTable, iCode, pc + 1); pc += 2; break; case TokenStream.NAME : stack[++stackTop] = ScriptRuntime.name(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.NAMEINC : stack[++stackTop] = ScriptRuntime.postIncrement(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.NAMEDEC : stack[++stackTop] = ScriptRuntime.postDecrement(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.SETVAR : lhs = stack[stackTop]; slot = (iCode[++pc] & 0xFF); vars[slot] = lhs; break; case TokenStream.GETVAR : slot = (iCode[++pc] & 0xFF); stack[++stackTop] = vars[slot]; break; case TokenStream.VARINC : slot = (iCode[++pc] & 0xFF); stack[++stackTop] = vars[slot]; vars[slot] = ScriptRuntime.postIncrement(vars[slot]); break; case TokenStream.VARDEC : slot = (iCode[++pc] & 0xFF); stack[++stackTop] = vars[slot]; vars[slot] = ScriptRuntime.postDecrement(vars[slot]); break; case TokenStream.ZERO : stack[++stackTop] = zero; break; case TokenStream.ONE : stack[++stackTop] = one; 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 : cx.interpreterSecurityDomain = null; throw new JavaScriptException(stack[stackTop--]); case TokenStream.JTHROW : cx.interpreterSecurityDomain = null; lhs = stack[stackTop--]; if (lhs instanceof JavaScriptException) throw (JavaScriptException)lhs; else throw (RuntimeException)lhs; case TokenStream.ENTERWITH : lhs = stack[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--]; local[slot] = ScriptRuntime.initEnum(lhs, scope); break; case TokenStream.ENUMNEXT : slot = (iCode[++pc] & 0xFF); stack[++stackTop] = ScriptRuntime.nextEnum((Enumeration)local[slot]); break; case TokenStream.GETPROTO : lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.getProto(lhs, scope); break; case TokenStream.GETPARENT : lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.getParent(lhs); break; case TokenStream.GETSCOPEPARENT : lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.getParent(lhs, scope); break; case TokenStream.SETPROTO : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.setProto(lhs, rhs, scope); break; case TokenStream.SETPARENT : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.setParent(lhs, rhs, scope); break; case TokenStream.SCOPE : stack[++stackTop] = scope; break; case TokenStream.CLOSURE : i = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); stack[++stackTop] = new InterpretedFunction( theData.itsNestedFunctions[i], scope, cx); createFunctionObject( (InterpretedFunction)stack[stackTop], scope); pc += 2; break; case TokenStream.OBJECT : i = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); stack[++stackTop] = theData.itsRegExpLiterals[i]; pc += 2; break; case TokenStream.SOURCEFILE : cx.interpreterSourceFile = theData.itsSourceFile; break; case TokenStream.LINE : case TokenStream.BREAKPOINT : i = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); cx.interpreterLine = i; if (frame != null) frame.setLineNumber(i); if ((iCode[pc] & 0xff) == TokenStream.BREAKPOINT || 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 (EcmaError ee) { if (cx.debugger != null) cx.debugger.handleExceptionThrown(cx, ee.getErrorObject()); // an offical ECMA error object, // handle as if it were a JavaScriptException stackTop = 0; cx.interpreterSecurityDomain = null; if (tryStackTop > 0) { pc = catchStack[--tryStackTop]; scope = scopeStack[tryStackTop]; if (pc == 0) { pc = finallyStack[tryStackTop]; if (pc == 0) { if (frame != null) cx.popFrame(); throw ee; } } stack[0] = ee.getErrorObject(); } else { if (frame != null) cx.popFrame(); throw ee; } // We caught an exception; restore this function's // security domain. cx.interpreterSecurityDomain = theData.securityDomain; } catch (JavaScriptException jsx) { if (cx.debugger != null) { cx.debugger.handleExceptionThrown(cx, ScriptRuntime.unwrapJavaScriptException(jsx)); } stackTop = 0; cx.interpreterSecurityDomain = null; if (tryStackTop > 0) { pc = catchStack[--tryStackTop]; scope = scopeStack[tryStackTop]; if (pc == 0) { pc = finallyStack[tryStackTop]; if (pc == 0) { if (frame != null) cx.popFrame(); throw jsx; } stack[0] = jsx; } else { stack[0] = ScriptRuntime.unwrapJavaScriptException(jsx); } } else { if (frame != null) cx.popFrame(); throw jsx; } // We caught an exception; restore this function's // security domain. cx.interpreterSecurityDomain = theData.securityDomain; } catch (RuntimeException jx) { if (cx.debugger != null) cx.debugger.handleExceptionThrown(cx, jx); cx.interpreterSecurityDomain = null; if (tryStackTop > 0) { stackTop = 0; stack[0] = jx; pc = finallyStack[--tryStackTop]; scope = scopeStack[tryStackTop]; if (pc == 0) { if (frame != null) cx.popFrame(); throw jx; } } else { if (frame != null) cx.popFrame(); throw jx; } // We caught an exception; restore this function's // security domain. cx.interpreterSecurityDomain = theData.securityDomain; } } cx.interpreterSecurityDomain = savedSecurityDomain; if (frame != null) cx.popFrame(); return result; }
|
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/83d7acfbb701ab90beff9bc5f6199d85e7611dee/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,
565,
22780,
15261,
16,
1033,
8526,
833,
16,
4766,
565,
22780,
2295,
1162,
3651,
16,
4766,
282,
5294,
11599,
751,
326,
751,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1033,
8499,
31,
3639,
1033,
8526,
2110,
273,
394,
1033,
63,
5787,
751,
18,
1282,
2747,
2624,
15533,
3639,
509,
2110,
3401,
273,
300,
21,
31,
3639,
1160,
8526,
277,
1085,
273,
326,
751,
18,
1282,
45,
1085,
31,
7734,
509,
6125,
273,
374,
31,
3639,
509,
277,
1085,
1782,
273,
326,
751,
18,
1282,
45,
1085,
3401,
31,
7734,
1033,
8526,
1191,
273,
446,
31,
3639,
368,
1399,
364,
394,
5814,
19,
407,
278,
30752,
5527,
18,
3639,
309,
261,
5787,
751,
18,
1282,
2747,
1333,
1031,
405,
374,
13,
5411,
1191,
273,
394,
1033,
63,
5787,
751,
18,
1282,
2747,
1333,
1031,
15533,
18701,
1033,
8526,
4153,
273,
446,
31,
3639,
727,
22780,
3109,
273,
22243,
18,
1336,
31,
3639,
509,
277,
273,
326,
751,
18,
1282,
3092,
1388,
18,
1467,
5621,
3639,
309,
261,
77,
405,
374,
13,
288,
5411,
4153,
273,
394,
1033,
63,
77,
15533,
5411,
364,
261,
77,
273,
374,
31,
277,
411,
326,
751,
18,
1282,
3092,
1388,
18,
588,
1662,
1380,
5621,
277,
27245,
288,
7734,
309,
261,
77,
1545,
833,
18,
2469,
13,
10792,
4153,
63,
77,
65,
273,
3109,
31,
7734,
469,
4766,
565,
4153,
63,
77,
65,
273,
833,
63,
77,
15533,
7734,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
565,
22780,
15261,
16,
1033,
8526,
833,
16,
4766,
565,
22780,
2295,
1162,
3651,
16,
4766,
282,
5294,
11599,
751,
326,
751,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1033,
8499,
31,
3639,
1033,
8526,
2110,
273,
394,
1033,
63,
5787,
751,
18,
1282,
2747,
2624,
15533,
3639,
509,
2110,
3401,
273,
300,
21,
31,
3639,
1160,
8526,
277,
1085,
273,
326,
751,
18,
1282,
45,
1085,
31,
7734,
509,
6125,
273,
374,
31,
3639,
509,
277,
1085,
1782,
273,
326,
751,
18,
1282,
45,
1085,
3401,
31,
7734,
1033,
8526,
1191,
273,
446,
31,
3639,
368,
1399,
364,
394,
5814,
19,
407,
278,
30752,
2
] |
resource.setID(ejbJar, ArchiveConstants.EJBJAR_ID);
|
resource.setID(ejbJar, J2EEConstants.EJBJAR_ID);
|
public org.eclipse.emf.ecore.EObject makeDeploymentDescriptor(XMLResource resource) { EJBJar ejbJar = ((EjbPackage) EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI)).getEjbFactory().createEJBJar(); resource.setID(ejbJar, ArchiveConstants.EJBJAR_ID); setDeploymentDescriptorGen(ejbJar); resource.getContents().add(ejbJar); return ejbJar; }
|
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/18a2a3b489fef7cefb688b690beaeaf64c4480fd/EJBJarFileImpl.java/buggy/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/EJBJarFileImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2358,
18,
20416,
18,
351,
74,
18,
557,
479,
18,
8029,
1221,
6733,
3187,
12,
4201,
1420,
1058,
13,
288,
202,
202,
22719,
10813,
18024,
10813,
273,
14015,
41,
10649,
2261,
13,
10682,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
41,
10649,
2261,
18,
73,
3156,
67,
3098,
13,
2934,
588,
41,
10649,
1733,
7675,
2640,
22719,
10813,
5621,
202,
202,
3146,
18,
542,
734,
12,
73,
10649,
10813,
16,
13124,
2918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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2358,
18,
20416,
18,
351,
74,
18,
557,
479,
18,
8029,
1221,
6733,
3187,
12,
4201,
1420,
1058,
13,
288,
202,
202,
22719,
10813,
18024,
10813,
273,
14015,
41,
10649,
2261,
13,
10682,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
41,
10649,
2261,
18,
73,
3156,
67,
3098,
13,
2934,
588,
41,
10649,
1733,
7675,
2640,
22719,
10813,
5621,
202,
202,
3146,
18,
542,
734,
12,
73,
10649,
10813,
16,
13124,
2918,
18,
22719,
46,
985,
67,
734,
1769,
202,
202,
542,
6733,
3187,
7642,
12,
73,
10649,
10813,
1769,
202,
202,
3146,
18,
588,
6323,
7675,
1289,
12,
73,
10649,
10813,
1769,
202,
202,
2463,
18024,
10813,
31,
202,
97,
2,
-100,
-100,
-100
] |
cancelShowConsoleViewDefaultJob(); fShowConsoleViewJob.setup(console, activate); fShowConsoleViewJob.schedule(100);
|
fShowConsoleViewJob.schedule(console, activate);
|
public synchronized void showConsole(NIConsole console, boolean activate) { cancelShowConsoleViewDefaultJob(); fShowConsoleViewJob.setup(console, activate); fShowConsoleViewJob.schedule(100); }
|
47575 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47575/d3bba4266f35b585495a603d2b7a2630e87ff6c4/PageRegistry.java/clean/de.walware.statet.nico.ui/src/de/walware/statet/nico/ui/internal/PageRegistry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
2405,
10215,
12,
50,
45,
10215,
2983,
16,
1250,
10235,
13,
288,
9506,
202,
10996,
5706,
10215,
1767,
1868,
2278,
5621,
202,
202,
74,
5706,
10215,
1767,
2278,
18,
8401,
12,
8698,
16,
10235,
1769,
202,
202,
74,
5706,
10215,
1767,
2278,
18,
10676,
12,
6625,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
2405,
10215,
12,
50,
45,
10215,
2983,
16,
1250,
10235,
13,
288,
9506,
202,
10996,
5706,
10215,
1767,
1868,
2278,
5621,
202,
202,
74,
5706,
10215,
1767,
2278,
18,
8401,
12,
8698,
16,
10235,
1769,
202,
202,
74,
5706,
10215,
1767,
2278,
18,
10676,
12,
6625,
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
] |
private void expand() { int i; if (isCompact) { char[] tempArray; tempArray = new char[UNICODECOUNT]; for (i = 0; i < UNICODECOUNT; ++i) { tempArray[i] = elementAt((char)i); } for (i = 0; i < INDEXCOUNT; ++i) { indices[i] = (char)(i<<BLOCKSHIFT); } values = null; values = tempArray; isCompact = false; } }
|
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/e87b31606f688d97d1580bcab4c7589a7d24935d/CompactCharArray.java/buggy/icu4j/src/com/ibm/icu/util/CompactCharArray.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
90,
11359,
561,
84,
464,
1435,
95,
474,
77,
31,
430,
12,
291,
16863,
15329,
3001,
8526,
5814,
1076,
31,
5814,
1076,
33,
2704,
3001,
63,
26642,
7240,
15533,
1884,
12,
77,
33,
20,
31,
77,
32,
26642,
7240,
31,
9904,
77,
15329,
5814,
1076,
63,
77,
65,
33,
2956,
861,
12443,
3001,
13,
77,
1769,
97,
1884,
12,
77,
33,
20,
31,
77,
32,
9199,
7240,
31,
9904,
77,
15329,
6836,
63,
77,
65,
28657,
3001,
21433,
77,
17685,
11403,
23191,
1769,
97,
2372,
33,
2011,
31,
2372,
33,
5814,
1076,
31,
291,
16863,
33,
5743,
31,
9090,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
77,
15329,
5814,
1076,
63,
77,
65,
33,
2956,
861,
12443,
3001,
13,
77,
1769,
97,
1884,
12,
77,
33,
20,
31,
77,
32,
9199,
7240,
31,
9904,
77,
15329,
6836,
63,
77,
65,
28657,
3001,
21433,
77,
17685,
11403,
23191,
1769,
97,
2372,
33,
2011,
31,
2372,
33,
5814,
1076,
31,
291,
16863,
33,
5743,
31,
9090,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
if (singleton == null) {
|
if (singleton == null) {
|
public static ProgressManager getInstance() { if (singleton == null) { singleton = new ProgressManager(); } return singleton; }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/82e45bfb168fa5c37a8ced4976d2cc8fef6ce0f2/ProgressManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
10980,
1318,
3694,
1435,
288,
202,
202,
430,
261,
24487,
422,
446,
13,
288,
1082,
202,
24487,
273,
394,
10980,
1318,
5621,
202,
202,
97,
202,
202,
2463,
6396,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
10980,
1318,
3694,
1435,
288,
202,
202,
430,
261,
24487,
422,
446,
13,
288,
1082,
202,
24487,
273,
394,
10980,
1318,
5621,
202,
202,
97,
202,
202,
2463,
6396,
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
] |
match(input,ID,FOLLOW_ID_in_dotted_name2245);
|
match(input,ID,FOLLOW_ID_in_dotted_name2210);
|
public String dotted_name() throws RecognitionException { String name; Token id=null; name = null; try { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:676:17: (id= ID ( '.' id= ID )* ) // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:676:17: id= ID ( '.' id= ID )* { id=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_dotted_name2245); name=id.getText(); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:676:46: ( '.' id= ID )* loop52: do { int alt52=2; int LA52_0 = input.LA(1); if ( LA52_0==53 ) { alt52=1; } switch (alt52) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:676:48: '.' id= ID { match(input,53,FOLLOW_53_in_dotted_name2251); id=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_dotted_name2255); name = name + "." + id.getText(); } break; default : break loop52; } } while (true); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return name; }
|
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/61acd40072560afada3f7897673309e5b51b402d/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
20965,
67,
529,
1435,
1216,
9539,
288,
6647,
514,
508,
31,
3639,
3155,
612,
33,
2011,
31,
1171,
202,
202,
529,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
26,
6669,
30,
4033,
30,
261,
350,
33,
1599,
261,
2611,
612,
33,
1599,
8618,
262,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
26,
6669,
30,
4033,
30,
612,
33,
1599,
261,
2611,
612,
33,
1599,
8618,
5411,
288,
5411,
612,
28657,
1345,
13,
2630,
18,
12050,
12,
21,
1769,
5411,
845,
12,
2630,
16,
734,
16,
29890,
67,
734,
67,
267,
67,
9811,
2344,
67,
529,
3787,
2163,
1769,
2868,
508,
33,
350,
18,
588,
1528,
5621,
2398,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
26,
6669,
30,
8749,
30,
261,
2611,
612,
33,
1599,
8618,
5411,
2798,
9401,
30,
5411,
741,
288,
7734,
509,
3770,
9401,
33,
22,
31,
7734,
509,
2928,
9401,
67,
20,
273,
810,
18,
2534,
12,
21,
1769,
7734,
309,
261,
2928,
9401,
67,
20,
631,
8643,
262,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
20965,
67,
529,
1435,
1216,
9539,
288,
6647,
514,
508,
31,
3639,
3155,
612,
33,
2011,
31,
1171,
202,
202,
529,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
26,
6669,
30,
4033,
30,
261,
350,
33,
1599,
261,
2611,
612,
33,
1599,
8618,
262,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
26,
6669,
30,
4033,
30,
612,
33,
2
] |
}
|
}
|
public void initializeFinished() { // create the module manager with the configured modules m_moduleManager = new CmsModuleManager(m_modules); if (CmsLog.INIT.isInfoEnabled()) { CmsLog.INIT.info(Messages.get().key(Messages.INIT_MODULE_CONFIG_FINISHED_0)); } }
|
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/ffc41838b2d111ebeb91e9a4f240187165ad24d5/CmsModuleConfiguration.java/buggy/src/org/opencms/configuration/CmsModuleConfiguration.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4046,
10577,
1435,
288,
3639,
368,
752,
326,
1605,
3301,
598,
326,
4351,
4381,
3639,
312,
67,
2978,
1318,
273,
394,
2149,
3120,
1318,
12,
81,
67,
6400,
1769,
3639,
309,
261,
4747,
1343,
18,
12919,
18,
291,
966,
1526,
10756,
288,
5411,
29037,
18,
12919,
18,
1376,
12,
5058,
18,
588,
7675,
856,
12,
5058,
18,
12919,
67,
12194,
67,
7203,
67,
23259,
2056,
67,
20,
10019,
3639,
289,
7734,
289,
3639,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
918,
4046,
10577,
1435,
288,
3639,
368,
752,
326,
1605,
3301,
598,
326,
4351,
4381,
3639,
312,
67,
2978,
1318,
273,
394,
2149,
3120,
1318,
12,
81,
67,
6400,
1769,
3639,
309,
261,
4747,
1343,
18,
12919,
18,
291,
966,
1526,
10756,
288,
5411,
29037,
18,
12919,
18,
1376,
12,
5058,
18,
588,
7675,
856,
12,
5058,
18,
12919,
67,
12194,
67,
7203,
67,
23259,
2056,
67,
20,
10019,
3639,
289,
7734,
289,
3639,
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
] |
this.logFile = CCorePlugin.getDefault().getStateLocation().append(".log").toFile();
|
this.logFile = CCorePlugin.getDefault().getStateLocation().append(".log").toFile();
|
public CDTLogWriter(File log) { this.logFile = log; if(log.length() > MAXLOG_SIZE){ log.delete(); this.logFile = CCorePlugin.getDefault().getStateLocation().append(".log").toFile(); } openLogFile(); }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/74206bb9c0adfac164644b684d089bbdf8757013/CDTLogWriter.java/clean/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/CDTLogWriter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
385,
9081,
1343,
2289,
12,
812,
613,
13,
288,
202,
202,
2211,
18,
1330,
812,
273,
613,
31,
202,
202,
430,
12,
1330,
18,
2469,
1435,
405,
4552,
4842,
67,
4574,
15329,
1082,
225,
613,
18,
3733,
5621,
1082,
225,
333,
18,
1330,
812,
273,
385,
4670,
3773,
18,
588,
1868,
7675,
588,
1119,
2735,
7675,
6923,
2932,
18,
1330,
20387,
869,
812,
5621,
202,
202,
97,
202,
202,
3190,
19103,
5621,
202,
97,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
385,
9081,
1343,
2289,
12,
812,
613,
13,
288,
202,
202,
2211,
18,
1330,
812,
273,
613,
31,
202,
202,
430,
12,
1330,
18,
2469,
1435,
405,
4552,
4842,
67,
4574,
15329,
1082,
225,
613,
18,
3733,
5621,
1082,
225,
333,
18,
1330,
812,
273,
385,
4670,
3773,
18,
588,
1868,
7675,
588,
1119,
2735,
7675,
6923,
2932,
18,
1330,
20387,
869,
812,
5621,
202,
202,
97,
202,
202,
3190,
19103,
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
] |
throw new ParseException( "Invalid Day-of-Week value: '" + sub + "'", i);
|
throw new ParseException( "Invalid Day-of-Week value: '" + sub + "'", i); if (sval > eval) throw new ParseException( "Invalid Day-of-Week sequence: " + sval + " > " + eval, i);
|
protected int storeExpressionVals(int pos, String s, int type) throws ParseException { int incr = 0; int i = skipWhiteSpace(pos, s); if (i >= s.length()) return i; char c = s.charAt(i); if ((c >= 'A') && (c <= 'Z') && (!s.equals("L")) && (!s.equals("LW"))) { String sub = s.substring(i, i + 3); int sval = -1; int eval = -1; if (type == MONTH) { sval = getMonthNumber(sub) + 1; if (sval < 0) throw new ParseException("Invalid Month value: '" + sub + "'", i); if (s.length() > i + 3) { c = s.charAt(i + 3); if (c == '-') { i += 4; sub = s.substring(i, i + 3); eval = getMonthNumber(sub) + 1; if (eval < 0) throw new ParseException( "Invalid Month value: '" + sub + "'", i); } } } else if (type == DAY_OF_WEEK) { sval = getDayOfWeekNumber(sub); if (sval < 0) throw new ParseException("Invalid Day-of-Week value: '" + sub + "'", i); if (s.length() > i + 3) { c = s.charAt(i + 3); if (c == '-') { i += 4; sub = s.substring(i, i + 3); eval = getDayOfWeekNumber(sub); if (eval < 0) throw new ParseException( "Invalid Day-of-Week value: '" + sub + "'", i); } else if (c == '#') { try { i += 4; nthdayOfWeek = Integer.parseInt(s.substring(i)); if (nthdayOfWeek < 1 || nthdayOfWeek > 5) throw new Exception(); } catch (Exception e) { throw new ParseException( "A numeric value between 1 and 5 must follow the '#' option", i); } } else if (c == 'L') { lastdayOfWeek = true; i++; } } } else { throw new ParseException( "Illegal characters for this position: '" + sub + "'", i); } if (eval != -1) incr = 1; addToSet(sval, eval, incr, type); return (i + 3); } if (c == '?') { i++; if ((i + 1) < s.length() && (s.charAt(i) != ' ' && s.charAt(i + 1) != '\t')) throw new ParseException("Illegal character after '?': " + s.charAt(i), i); if (type != DAY_OF_WEEK && type != DAY_OF_MONTH) throw new ParseException( "'?' can only be specfied for Day-of-Month or Day-of-Week.", i); if (type == DAY_OF_WEEK && !lastdayOfMonth) { int val = ((Integer) daysOfMonth.last()).intValue(); if (val == NO_SPEC_INT) throw new ParseException( "'?' can only be specfied for Day-of-Month -OR- Day-of-Week.", i); } addToSet(NO_SPEC_INT, -1, 0, type); return i; } if (c == '*' || c == '/') { if (c == '*' && (i + 1) >= s.length()) { addToSet(ALL_SPEC_INT, -1, incr, type); return i + 1; } else if (c == '/' && ((i + 1) >= s.length() || s.charAt(i + 1) == ' ' || s .charAt(i + 1) == '\t')) throw new ParseException( "'/' must be followed by an integer.", i); else if (c == '*') i++; c = s.charAt(i); if (c == '/') { // is an increment specified? i++; if (i >= s.length()) throw new ParseException("Unexpected end of string.", i); incr = getNumericValue(s, i); i++; if (incr > 10) i++; if (incr > 59 && (type == SECOND || type == MINUTE)) throw new ParseException( "Increment > 60 : " + incr, i); else if (incr > 23 && (type == HOUR)) throw new ParseException( "Increment > 24 : " + incr, i); else if (incr > 31 && (type == DAY_OF_MONTH)) throw new ParseException( "Increment > 31 : " + incr, i); else if (incr > 7 && (type == DAY_OF_WEEK)) throw new ParseException( "Increment > 7 : " + incr, i); else if (incr > 12 && (type == MONTH)) throw new ParseException("Increment > 12 : " + incr, i); } else incr = 1; addToSet(ALL_SPEC_INT, -1, incr, type); return i; } else if (c == 'L') { i++; if (type == DAY_OF_MONTH) lastdayOfMonth = true; if (type == DAY_OF_WEEK) addToSet(7, 7, 0, type); if(type == DAY_OF_MONTH && s.length() > i) { c = s.charAt(i); if(c == 'W') { nearestWeekday = true; i++; } } return i; } else if (c >= '0' && c <= '9') { int val = Integer.parseInt(String.valueOf(c)); i++; if (i >= s.length()) addToSet(val, -1, -1, type); else { c = s.charAt(i); if (c >= '0' && c <= '9') { ValueSet vs = getValue(val, s, i); val = vs.value; i = vs.pos; } i = checkNext(i, s, val, type); return i; } } else throw new ParseException("Unexpected character: " + c, i); return i; }
|
15562 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15562/24da29528c2ca836944a1956233d72fceecf913c/CronTrigger.java/buggy/src/java/org/quartz/CronTrigger.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
1707,
2300,
13169,
12,
474,
949,
16,
514,
272,
16,
509,
618,
13,
5411,
1216,
10616,
288,
3639,
509,
17633,
273,
374,
31,
3639,
509,
277,
273,
2488,
23108,
12,
917,
16,
272,
1769,
3639,
309,
261,
77,
1545,
272,
18,
2469,
10756,
327,
277,
31,
3639,
1149,
276,
273,
272,
18,
3001,
861,
12,
77,
1769,
3639,
309,
14015,
71,
1545,
296,
37,
6134,
597,
261,
71,
1648,
296,
62,
6134,
597,
16051,
87,
18,
14963,
2932,
48,
6,
3719,
597,
16051,
87,
18,
14963,
2932,
48,
59,
6,
20349,
288,
5411,
514,
720,
273,
272,
18,
28023,
12,
77,
16,
277,
397,
890,
1769,
5411,
509,
272,
1125,
273,
300,
21,
31,
5411,
509,
5302,
273,
300,
21,
31,
5411,
309,
261,
723,
422,
15813,
13,
288,
7734,
272,
1125,
273,
19627,
1854,
12,
1717,
13,
397,
404,
31,
7734,
309,
261,
87,
1125,
411,
374,
13,
13491,
604,
394,
10616,
2932,
1941,
10337,
460,
30,
2119,
397,
720,
27573,
397,
2491,
3113,
277,
1769,
7734,
309,
261,
87,
18,
2469,
1435,
405,
277,
397,
890,
13,
288,
10792,
276,
273,
272,
18,
3001,
861,
12,
77,
397,
890,
1769,
10792,
309,
261,
71,
422,
4014,
13,
288,
13491,
277,
1011,
1059,
31,
13491,
720,
273,
272,
18,
28023,
12,
77,
16,
277,
397,
890,
1769,
13491,
5302,
273,
19627,
1854,
12,
1717,
13,
397,
404,
31,
13491,
309,
261,
8622,
411,
374,
13,
27573,
604,
394,
10616,
12,
4766,
3639,
315,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
1707,
2300,
13169,
12,
474,
949,
16,
514,
272,
16,
509,
618,
13,
5411,
1216,
10616,
288,
3639,
509,
17633,
273,
374,
31,
3639,
509,
277,
273,
2488,
23108,
12,
917,
16,
272,
1769,
3639,
309,
261,
77,
1545,
272,
18,
2469,
10756,
327,
277,
31,
3639,
1149,
276,
273,
272,
18,
3001,
861,
12,
77,
1769,
3639,
309,
14015,
71,
1545,
296,
37,
6134,
597,
261,
71,
1648,
296,
62,
6134,
597,
16051,
87,
18,
14963,
2932,
48,
6,
3719,
597,
16051,
87,
18,
14963,
2932,
48,
59,
6,
20349,
288,
5411,
514,
720,
273,
272,
18,
28023,
12,
77,
16,
277,
397,
890,
1769,
5411,
509,
272,
1125,
273,
300,
21,
31,
5411,
509,
2
] |
ta.setFont(new Font("Monospaced", Font.PLAIN, 12));
|
ta.setFont(new Font("Monospaced", Font.PLAIN, 12));
|
public void mechReadout() { if (lisEntities.getSelectedIndex() == -1) { return; } Entity entity = client.game.getEntity(entityCorrespondance[lisEntities.getSelectedIndex()]); MechView mechView = new MechView(entity); TextArea ta = new TextArea(); ta.setEditable(false); ta.setFont(new Font("Monospaced", Font.PLAIN, 12)); ta.setText(mechView.getMechReadout()); final Dialog dialog = new Dialog(clientgui.frame, "Unit Quick View", false); Button btn = new Button("Ok"); dialog.add("South", btn); btn.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { dialog.setVisible(false); } }); dialog.addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosing(WindowEvent e) { dialog.setVisible(false); } }); dialog.add("Center", ta); // Preview image of the Mech... BufferedPanel panPreview = new BufferedPanel(); panPreview.setPreferredSize(84, 72); clientgui.loadPreviewImage(panPreview, entity); dialog.add("North", panPreview); dialog.setLocation( clientgui.frame.getLocation().x + clientgui.frame.getSize().width / 2 - dialog.getSize().width / 2, clientgui.frame.getLocation().y + clientgui.frame.getSize().height / 5 - dialog.getSize().height / 2); dialog.setSize(300, 450); dialog.validate(); dialog.show(); }
|
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/18ec0036f3c5df3d8fbef60e9dd53cc153fc889e/ChatLounge.java/clean/megamek/src/megamek/client/ui/AWT/ChatLounge.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1791,
343,
1994,
659,
1435,
288,
3639,
309,
261,
80,
291,
8108,
18,
588,
7416,
1016,
1435,
422,
300,
21,
13,
288,
5411,
327,
31,
3639,
289,
3639,
3887,
1522,
273,
1004,
18,
13957,
18,
588,
1943,
12,
1096,
6217,
17863,
1359,
63,
80,
291,
8108,
18,
588,
7416,
1016,
1435,
19226,
3639,
7499,
343,
1767,
1791,
343,
1767,
273,
394,
7499,
343,
1767,
12,
1096,
1769,
3639,
3867,
5484,
13561,
273,
394,
3867,
5484,
5621,
3639,
13561,
18,
542,
15470,
12,
5743,
1769,
3639,
13561,
18,
542,
5711,
12,
2704,
10063,
2932,
11415,
538,
909,
72,
3113,
10063,
18,
26549,
16,
2593,
10019,
3639,
13561,
18,
542,
1528,
12,
3501,
343,
1767,
18,
588,
4667,
343,
1994,
659,
10663,
3639,
727,
17242,
6176,
273,
394,
17242,
12,
2625,
20292,
18,
3789,
16,
315,
2802,
19884,
4441,
3113,
629,
1769,
3639,
12569,
10638,
273,
394,
12569,
2932,
8809,
8863,
3639,
6176,
18,
1289,
2932,
55,
15347,
3113,
10638,
1769,
3639,
10638,
18,
1289,
1803,
2223,
12,
2704,
2252,
18,
2219,
88,
18,
2575,
18,
1803,
2223,
1435,
288,
5411,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
7734,
6176,
18,
542,
6207,
12,
5743,
1769,
5411,
289,
3639,
15549,
3639,
6176,
18,
1289,
3829,
2223,
12,
2704,
2252,
18,
2219,
88,
18,
2575,
18,
3829,
4216,
1435,
288,
5411,
1071,
918,
2742,
15745,
12,
3829,
1133,
425,
13,
288,
7734,
6176,
18,
542,
6207,
12,
5743,
1769,
5411,
289,
3639,
15549,
3639,
6176,
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,
1791,
343,
1994,
659,
1435,
288,
3639,
309,
261,
80,
291,
8108,
18,
588,
7416,
1016,
1435,
422,
300,
21,
13,
288,
5411,
327,
31,
3639,
289,
3639,
3887,
1522,
273,
1004,
18,
13957,
18,
588,
1943,
12,
1096,
6217,
17863,
1359,
63,
80,
291,
8108,
18,
588,
7416,
1016,
1435,
19226,
3639,
7499,
343,
1767,
1791,
343,
1767,
273,
394,
7499,
343,
1767,
12,
1096,
1769,
3639,
3867,
5484,
13561,
273,
394,
3867,
5484,
5621,
3639,
13561,
18,
542,
15470,
12,
5743,
1769,
3639,
13561,
18,
542,
5711,
12,
2704,
10063,
2932,
11415,
538,
909,
72,
3113,
10063,
18,
26549,
16,
2593,
10019,
3639,
13561,
18,
542,
1528,
12,
3501,
343,
1767,
18,
588,
4667,
2
] |
this.preferences.line_delimiter = lineSeparator;
|
if (lineSeparator != null) { this.preferences.line_delimiter = lineSeparator; }
|
private String formatExpression(String source, int indentationLevel, int[] positions, String lineSeparator, Map options) { Expression expression = parseExpression(source.toCharArray(), options); if (expression == null) { // a problem occured while parsing the source return source; } this.preferences.line_delimiter = lineSeparator; this.preferences.initial_indentation_level = indentationLevel; this.newCodeFormatter = new CodeFormatterVisitor(this.preferences, options); String result = this.newCodeFormatter.format(source, positions, expression); if (positions != null) { System.arraycopy(this.newCodeFormatter.scribe.mappedPositions, 0, positions, 0, positions.length); } return result; }
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/2bcb3d0c9fa104ef6edd7e53ba16f8b7aff57348/DefaultCodeFormatter.java/buggy/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
740,
2300,
12,
780,
1084,
16,
509,
12018,
2355,
16,
509,
8526,
6865,
16,
514,
31053,
16,
1635,
702,
13,
288,
202,
202,
2300,
2652,
273,
30838,
12,
3168,
18,
869,
15936,
9334,
702,
1769,
9506,
202,
430,
261,
8692,
422,
446,
13,
288,
1082,
202,
759,
279,
6199,
16206,
1323,
5811,
326,
1084,
1082,
202,
2463,
1084,
31,
202,
202,
97,
202,
202,
2211,
18,
23219,
18,
1369,
67,
15751,
273,
31053,
31,
202,
202,
2211,
18,
23219,
18,
6769,
67,
9355,
367,
67,
2815,
273,
12018,
2355,
31,
202,
202,
2211,
18,
2704,
1085,
5074,
273,
394,
3356,
5074,
7413,
12,
2211,
18,
23219,
16,
702,
1769,
9506,
202,
780,
563,
273,
333,
18,
2704,
1085,
5074,
18,
2139,
12,
3168,
16,
6865,
16,
2652,
1769,
202,
202,
430,
261,
12388,
480,
446,
13,
288,
1082,
202,
3163,
18,
1126,
3530,
12,
2211,
18,
2704,
1085,
5074,
18,
4989,
18,
13654,
11024,
16,
374,
16,
6865,
16,
374,
16,
6865,
18,
2469,
1769,
202,
202,
97,
202,
202,
2463,
563,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
740,
2300,
12,
780,
1084,
16,
509,
12018,
2355,
16,
509,
8526,
6865,
16,
514,
31053,
16,
1635,
702,
13,
288,
202,
202,
2300,
2652,
273,
30838,
12,
3168,
18,
869,
15936,
9334,
702,
1769,
9506,
202,
430,
261,
8692,
422,
446,
13,
288,
1082,
202,
759,
279,
6199,
16206,
1323,
5811,
326,
1084,
1082,
202,
2463,
1084,
31,
202,
202,
97,
202,
202,
2211,
18,
23219,
18,
1369,
67,
15751,
273,
31053,
31,
202,
202,
2211,
18,
23219,
18,
6769,
67,
9355,
367,
67,
2815,
273,
12018,
2355,
31,
202,
202,
2211,
18,
2704,
1085,
5074,
273,
394,
3356,
5074,
7413,
12,
2211,
18,
23219,
16,
702,
1769,
9506,
202,
780,
563,
273,
333,
2
] |
return getList_counter();
|
return list_counter;
|
public int getListCounter() { return getList_counter(); }
|
53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/0bcb35d367c0f0b2a89eb6aabedfe9807525ad3a/ContextImpl.java/buggy/src/java/org/xhtmlrenderer/layout/ContextImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
10033,
4789,
1435,
288,
3639,
327,
666,
67,
7476,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
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,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
10033,
4789,
1435,
288,
3639,
327,
666,
67,
7476,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
}
|
}
|
public void testServiceOutagesClosedOnDelete() { MockService element = m_network.getService(1, "192.168.1.1", "SMTP"); testOutagesClosedOnDelete(element); }
|
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/e3db1312e8cc2636034eb4d7b29db88850613e3b/PollerTest.java/clean/opennms-services/src/test/java/org/opennms/netmgt/poller/PollerTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1179,
1182,
1023,
7395,
1398,
2613,
1435,
288,
3639,
7867,
1179,
930,
273,
312,
67,
5185,
18,
588,
1179,
12,
21,
16,
315,
15561,
18,
23329,
18,
21,
18,
21,
3113,
315,
55,
14636,
8863,
3639,
1842,
1182,
1023,
7395,
1398,
2613,
12,
2956,
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,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,
18,
588,
1179,
12,
21,
16,
315,
15561,
18,
23329,
18,
21,
18,
21,
3113,
315,
55,
14636,
8863,
3639,
1842,
1182,
1023,
7395,
1398,
2613,
12,
2956,
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
] |
getCurrentFrame().getEvalState().setSelf(runtime.getTopSelf());
|
public void preAdoptThread() { setNoBlock(); pushFrameNoBlock(); getCurrentFrame().newScope(null); pushRubyClass(runtime.getObject()); pushCRef(runtime.getObject()); getCurrentFrame().setSelf(runtime.getTopSelf()); getCurrentFrame().getEvalState().setSelf(runtime.getTopSelf()); }
|
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/6e15491217631472c05c6928672f9c7064a978b3/ThreadContext.java/clean/src/org/jruby/runtime/ThreadContext.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
675,
1871,
3838,
3830,
1435,
288,
3639,
444,
2279,
1768,
5621,
3639,
1817,
3219,
2279,
1768,
5621,
3639,
5175,
3219,
7675,
2704,
3876,
12,
2011,
1769,
3639,
1817,
54,
10340,
797,
12,
9448,
18,
588,
921,
10663,
3639,
1817,
39,
1957,
12,
9448,
18,
588,
921,
10663,
3639,
5175,
3219,
7675,
542,
10084,
12,
9448,
18,
588,
3401,
10084,
10663,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
675,
1871,
3838,
3830,
1435,
288,
3639,
444,
2279,
1768,
5621,
3639,
1817,
3219,
2279,
1768,
5621,
3639,
5175,
3219,
7675,
2704,
3876,
12,
2011,
1769,
3639,
1817,
54,
10340,
797,
12,
9448,
18,
588,
921,
10663,
3639,
1817,
39,
1957,
12,
9448,
18,
588,
921,
10663,
3639,
5175,
3219,
7675,
542,
10084,
12,
9448,
18,
588,
3401,
10084,
10663,
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
] |
|
((UMLPlainTextDocument)getDocument()).removed(e);
|
((UMLPlainTextDocument) getDocument()).removed(e);
|
public void removed(MElementEvent e) { ((UMLPlainTextDocument)getDocument()).removed(e); }
|
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/UMLTextArea2.java/clean/src_new/org/argouml/uml/ui/UMLTextArea2.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3723,
12,
12310,
1133,
425,
13,
288,
3639,
14015,
57,
1495,
13360,
1528,
2519,
13,
9956,
1435,
2934,
14923,
12,
73,
1769,
540,
289,
2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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3723,
12,
12310,
1133,
425,
13,
288,
3639,
14015,
57,
1495,
13360,
1528,
2519,
13,
9956,
1435,
2934,
14923,
12,
73,
1769,
540,
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
] |
AST __t2013 = _t; AST tmp2343_AST_in = (AST)_t;
|
AST __t2016 = _t; AST tmp2346_AST_in = (AST)_t;
|
public final void selectionlistphrase(AST _t) throws RecognitionException { AST selectionlistphrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2005 = _t; AST tmp2333_AST_in = (AST)_t; match(_t,SELECTIONLIST); _t = _t.getFirstChild(); { _loop2015: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case SINGLE: { AST tmp2334_AST_in = (AST)_t; match(_t,SINGLE); _t = _t.getNextSibling(); break; } case MULTIPLE: { AST tmp2335_AST_in = (AST)_t; match(_t,MULTIPLE); _t = _t.getNextSibling(); break; } case NODRAG: { AST tmp2336_AST_in = (AST)_t; match(_t,NODRAG); _t = _t.getNextSibling(); break; } case LISTITEMS: { AST __t2007 = _t; AST tmp2337_AST_in = (AST)_t; match(_t,LISTITEMS); _t = _t.getFirstChild(); constant(_t); _t = _retTree; { _loop2009: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp2338_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); constant(_t); _t = _retTree; } else { break _loop2009; } } while (true); } _t = __t2007; _t = _t.getNextSibling(); break; } case LISTITEMPAIRS: { AST __t2010 = _t; AST tmp2339_AST_in = (AST)_t; match(_t,LISTITEMPAIRS); _t = _t.getFirstChild(); constant(_t); _t = _retTree; { _loop2012: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp2340_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); constant(_t); _t = _retTree; } else { break _loop2012; } } while (true); } _t = __t2010; _t = _t.getNextSibling(); break; } case SCROLLBARHORIZONTAL: { AST tmp2341_AST_in = (AST)_t; match(_t,SCROLLBARHORIZONTAL); _t = _t.getNextSibling(); break; } case SCROLLBARVERTICAL: { AST tmp2342_AST_in = (AST)_t; match(_t,SCROLLBARVERTICAL); _t = _t.getNextSibling(); break; } case INNERCHARS: { AST __t2013 = _t; AST tmp2343_AST_in = (AST)_t; match(_t,INNERCHARS); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2013; _t = _t.getNextSibling(); break; } case INNERLINES: { AST __t2014 = _t; AST tmp2344_AST_in = (AST)_t; match(_t,INNERLINES); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2014; _t = _t.getNextSibling(); break; } case SORT: { AST tmp2345_AST_in = (AST)_t; match(_t,SORT); _t = _t.getNextSibling(); break; } case TOOLTIP: { tooltip_expr(_t); _t = _retTree; break; } case SIZE: case SIZECHARS: case SIZEPIXELS: { sizephrase(_t); _t = _retTree; break; } default: { break _loop2015; } } } while (true); } _t = __t2005; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
4421,
1098,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
4421,
1098,
9429,
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,
6976,
25,
273,
389,
88,
31,
202,
202,
9053,
1853,
31026,
23,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
1090,
15445,
7085,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
67,
6498,
26709,
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,
15915,
30,
1082,
202,
95,
9506,
202,
9053,
1853,
31026,
24,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
9506,
202,
1916,
24899,
88,
16,
20184,
1769,
9506,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
9506,
202,
8820,
31,
1082,
202,
97,
1082,
202,
3593,
31385,
900,
30,
1082,
202,
95,
9506,
202,
9053,
1853,
31026,
25,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
9506,
202,
1916,
24899,
88,
16,
24683,
900,
1769,
9506,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
9506,
202,
8820,
31,
1082,
202,
97,
1082,
202,
3593,
423,
1212,
54,
1781,
30,
1082,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
4421,
1098,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
4421,
1098,
9429,
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,
6976,
25,
273,
389,
88,
31,
202,
202,
9053,
1853,
31026,
23,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
1090,
15445,
7085,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
67,
6498,
26709,
30,
202,
202,
2896,
288,
1082,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
2
] |
return isMethodBound(symbol.toId(), 1) ? getRuby().getTrue() : getRuby().getFalse(); }
|
return isMethodBound(symbol.toId(), 1) ? getRuby().getTrue() : getRuby().getFalse(); }
|
public RubyObject m_method_defined(RubyObject symbol) { return isMethodBound(symbol.toId(), 1) ? getRuby().getTrue() : getRuby().getFalse(); }
|
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/clean/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
921,
312,
67,
2039,
67,
2178,
12,
54,
10340,
921,
3273,
13,
288,
202,
202,
2463,
27969,
3499,
12,
7175,
18,
869,
548,
9334,
404,
13,
1082,
202,
35,
4170,
10340,
7675,
588,
5510,
1435,
1082,
202,
30,
4170,
10340,
7675,
588,
8381,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
921,
312,
67,
2039,
67,
2178,
12,
54,
10340,
921,
3273,
13,
288,
202,
202,
2463,
27969,
3499,
12,
7175,
18,
869,
548,
9334,
404,
13,
1082,
202,
35,
4170,
10340,
7675,
588,
5510,
1435,
1082,
202,
30,
4170,
10340,
7675,
588,
8381,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public Icon getOpenIcon() {
|
public Icon getOpenIcon() {
|
public Icon getOpenIcon() { return openIcon; }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65fc7899e6a31f0880fa2d7c7f5bd6905d251de4/DefaultTreeCellRenderer.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellRenderer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
16011,
29607,
5554,
1435,
288,
1850,
327,
1696,
5554,
31,
202,
97,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
16011,
29607,
5554,
1435,
288,
1850,
327,
1696,
5554,
31,
202,
97,
225,
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
] |
AST tmp1618_AST_in = (AST)_t;
|
AST tmp1620_AST_in = (AST)_t;
|
public final void sql_col_def(AST _t) throws RecognitionException { AST sql_col_def_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2457 = _t; AST tmp1613_AST_in = (AST)_t; match(_t,ID); _t = _t.getFirstChild(); AST tmp1614_AST_in = (AST)_t; if ( _t==null ) throw new MismatchedTokenException(); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PRECISION: { AST tmp1615_AST_in = (AST)_t; match(_t,PRECISION); _t = _t.getNextSibling(); break; } case 3: case CASESENSITIVE: case COLUMNLABEL: case DEFAULT: case FORMAT: case LABEL: case LEFTPAREN: case Not_casesens: case Not_null: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LEFTPAREN: { AST tmp1616_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); AST tmp1617_AST_in = (AST)_t; match(_t,NUMBER); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COMMA: { AST tmp1618_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); AST tmp1619_AST_in = (AST)_t; match(_t,NUMBER); _t = _t.getNextSibling(); break; } case RIGHTPAREN: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1620_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); break; } case 3: case CASESENSITIVE: case COLUMNLABEL: case DEFAULT: case FORMAT: case LABEL: case Not_casesens: case Not_null: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Not_null: { AST __t2462 = _t; AST tmp1621_AST_in = (AST)_t; match(_t,Not_null); _t = _t.getFirstChild(); AST tmp1622_AST_in = (AST)_t; match(_t,NOT); _t = _t.getNextSibling(); AST tmp1623_AST_in = (AST)_t; match(_t,NULL_KW); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case UNIQUE: { AST tmp1624_AST_in = (AST)_t; match(_t,UNIQUE); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t2462; _t = _t.getNextSibling(); break; } case 3: case CASESENSITIVE: case COLUMNLABEL: case DEFAULT: case FORMAT: case LABEL: case Not_casesens: { break; } default: { throw new NoViableAltException(_t); } } } { _loop2467: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case DEFAULT: { AST __t2465 = _t; AST tmp1625_AST_in = (AST)_t; match(_t,DEFAULT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2465; _t = _t.getNextSibling(); break; } case FORMAT: { AST __t2466 = _t; AST tmp1626_AST_in = (AST)_t; match(_t,FORMAT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2466; _t = _t.getNextSibling(); break; } case CASESENSITIVE: case Not_casesens: { casesens_or_not(_t); _t = _retTree; break; } default: { break _loop2467; } } } while (true); } _t = __t2457; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1847,
67,
1293,
67,
536,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1847,
67,
1293,
67,
536,
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,
3247,
10321,
273,
389,
88,
31,
202,
202,
9053,
1853,
2313,
3437,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
734,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
9053,
1853,
2313,
3461,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
430,
261,
389,
88,
631,
2011,
262,
604,
394,
26454,
1345,
503,
5621,
202,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
7071,
26913,
30,
202,
202,
95,
1082,
202,
9053,
1853,
2313,
3600,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
3670,
26913,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
890,
30,
202,
202,
3593,
18403,
26753,
16325,
30,
202,
202,
3593,
13473,
13545,
30,
202,
202,
3593,
3331,
30,
202,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1847,
67,
1293,
67,
536,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1847,
67,
1293,
67,
536,
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,
3247,
10321,
273,
389,
88,
31,
202,
202,
9053,
1853,
2313,
3437,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
734,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
9053,
1853,
2313,
3461,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
430,
261,
389,
88,
631,
2
] |
if((e.keyCode & SWT.SHIFT) != 0) {
|
if(e.keyCode == SWT.SHIFT) {
|
public void keyReleased(KeyEvent e) { if((e.keyCode & SWT.SHIFT) != 0) { forward = true; } else if(((e.keyCode & SWT.ALT) != 0) || ((e.keyCode & SWT.CTRL) != 0)) { ok(dialog, table); } }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/2674f77faeef32aafb0925d86279381f5cb628c2/CyclePartAction.java/clean/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/CyclePartAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
498,
26363,
12,
653,
1133,
425,
13,
288,
1082,
202,
430,
12443,
73,
18,
856,
1085,
473,
348,
8588,
18,
23191,
13,
480,
374,
13,
288,
9506,
202,
11565,
273,
638,
31,
1082,
202,
97,
469,
309,
12443,
12,
73,
18,
856,
1085,
473,
348,
8588,
18,
18255,
13,
480,
374,
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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
498,
26363,
12,
653,
1133,
425,
13,
288,
1082,
202,
430,
12443,
73,
18,
856,
1085,
473,
348,
8588,
18,
23191,
13,
480,
374,
13,
288,
9506,
202,
11565,
273,
638,
31,
1082,
202,
97,
469,
309,
12443,
12,
73,
18,
856,
1085,
473,
348,
8588,
18,
18255,
13,
480,
374,
13,
747,
14015,
73,
18,
856,
1085,
473,
348,
8588,
18,
23876,
48,
13,
480,
374,
3719,
288,
9506,
202,
601,
12,
12730,
16,
1014,
1769,
1082,
202,
97,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (lTasks.next != null) { printError("Expecting only one DetermineReqs Task! ignoring the others"); } handleDetermineRequirementsTask(lTasks.task);
|
protected void watchDueDetermineRequirementsTasks(Link lTasks) { if (lTasks == null) { // no tasks to add return; } if (lTasks.next != null) { // should be only one determine requirements task printError("Expecting only one DetermineReqs Task! ignoring the others"); } handleDetermineRequirementsTask(lTasks.task); }
|
7171 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7171/95dfc8a396783e60231cf77d419c7ec6518319ff/StrategicTransportProjectorPlugIn.java/buggy/glm/src/org/cougaar/mlm/plugin/sample/StrategicTransportProjectorPlugIn.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
4267,
30023,
8519,
15465,
6685,
12,
2098,
328,
6685,
13,
288,
565,
309,
261,
80,
6685,
422,
446,
13,
288,
1377,
368,
1158,
4592,
358,
527,
1377,
327,
31,
565,
289,
565,
309,
261,
80,
6685,
18,
4285,
480,
446,
13,
288,
1377,
368,
1410,
506,
1338,
1245,
4199,
8433,
1562,
1377,
1172,
668,
2932,
24439,
1338,
1245,
10229,
6113,
87,
3837,
5,
14398,
326,
10654,
8863,
565,
289,
565,
1640,
8519,
15465,
2174,
12,
80,
6685,
18,
4146,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
4267,
30023,
8519,
15465,
6685,
12,
2098,
328,
6685,
13,
288,
565,
309,
261,
80,
6685,
422,
446,
13,
288,
1377,
368,
1158,
4592,
358,
527,
1377,
327,
31,
565,
289,
565,
309,
261,
80,
6685,
18,
4285,
480,
446,
13,
288,
1377,
368,
1410,
506,
1338,
1245,
4199,
8433,
1562,
1377,
1172,
668,
2932,
24439,
1338,
1245,
10229,
6113,
87,
3837,
5,
14398,
326,
10654,
8863,
565,
289,
565,
1640,
8519,
15465,
2174,
12,
80,
6685,
18,
4146,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
if (jj_3R_359()) return true;
|
if (jj_3R_358()) return true;
|
final private boolean jj_3R_352() { if (jj_3R_359()) return true; return false; }
|
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/a180e9b19197c7613f1e73c6ec8a574a17011e5e/JavaParser.java/buggy/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,
4763,
22,
1435,
288,
565,
309,
261,
78,
78,
67,
23,
54,
67,
4763,
28,
10756,
327,
638,
31,
565,
327,
629,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
4763,
22,
1435,
288,
565,
309,
261,
78,
78,
67,
23,
54,
67,
4763,
28,
10756,
327,
638,
31,
565,
327,
629,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
GrailsControllerClass[] controllerClasses = application.getControllers(); for (int i = 0; i < controllerClasses.length; i++) { GrailsControllerClass controllerClass = controllerClasses[i]; if(controllerClass.isScaffolding()) { try { GrailsScaffolder gs = (GrailsScaffolder)webContext.getBean(controllerClass.getFullName() + "Scaffolder"); if(gs != null) { ScaffoldDomain sd = gs.getScaffoldRequestHandler() .getScaffoldDomain(); GrailsDomainClass dc = application.getGrailsDomainClass(sd.getPersistentClass().getName()); if(dc != null) { sd.setIdentityPropertyName(dc.getIdentifier().getName()); sd.setValidator(dc.getValidator()); } } } catch (NoSuchBeanDefinitionException e) { } } }
|
GrailsConfigUtils.configureScaffolders(application, webContext);
|
protected WebApplicationContext createWebApplicationContext(WebApplicationContext parent) throws BeansException { // use config file locations if available getServletContext().setAttribute(GrailsApplicationAttributes.PARENT_APPLICATION_CONTEXT,parent); ApplicationContext grailsContext = (ApplicationContext)getServletContext().getAttribute(GrailsApplicationAttributes.APPLICATION_CONTEXT); GrailsApplication application; WebApplicationContext webContext; if(grailsContext != null) { XmlWebApplicationContext xmlContext = new XmlWebApplicationContext(); xmlContext.setParent(grailsContext); webContext = xmlContext; application = (GrailsApplication) webContext.getBean(GrailsApplication.APPLICATION_ID, GrailsApplication.class); } else { String[] locations = null; if (null != getContextConfigLocation()) { locations = StringUtils.tokenizeToStringArray( getContextConfigLocation(), ConfigurableWebApplicationContext.CONFIG_LOCATION_DELIMITERS); } // construct the SpringConfig for the container managed application application = (GrailsApplication) parent.getBean(GrailsApplication.APPLICATION_ID, GrailsApplication.class); SpringConfig springConfig = new SpringConfig(application); // return a context that obeys grails' settings webContext = new XmlWebApplicationContextDriver().getWebApplicationContext( springConfig.getBeanReferences(), parent, getServletContext(), getNamespace(), locations); getServletContext().setAttribute(GrailsApplicationAttributes.APPLICATION_CONTEXT,webContext ); } // configure scaffolders GrailsControllerClass[] controllerClasses = application.getControllers(); for (int i = 0; i < controllerClasses.length; i++) { GrailsControllerClass controllerClass = controllerClasses[i]; if(controllerClass.isScaffolding()) { try { GrailsScaffolder gs = (GrailsScaffolder)webContext.getBean(controllerClass.getFullName() + "Scaffolder"); if(gs != null) { ScaffoldDomain sd = gs.getScaffoldRequestHandler() .getScaffoldDomain(); GrailsDomainClass dc = application.getGrailsDomainClass(sd.getPersistentClass().getName()); if(dc != null) { sd.setIdentityPropertyName(dc.getIdentifier().getName()); sd.setValidator(dc.getValidator()); } } } catch (NoSuchBeanDefinitionException e) { // ignore } } } SessionFactory sessionFactory = (SessionFactory)webContext.getBean("sessionFactory"); if(sessionFactory != null) { Session session = null; boolean participate = false; // single session mode if (TransactionSynchronizationManager.hasResource(sessionFactory)) { // Do not modify the Session: just set the participate flag. participate = true; } else { logger.debug("Opening single Hibernate session in GrailsDispatcherServlet"); session = SessionFactoryUtils.getSession(sessionFactory,true); session.setFlushMode(FlushMode.AUTO); TransactionSynchronizationManager.bindResource(sessionFactory, new SessionHolder(session)); } // init the Grails application try { GrailsBootstrapClass[] bootstraps = application.getGrailsBootstrapClasses(); for (int i = 0; i < bootstraps.length; i++) { bootstraps[i].callInit( getServletContext() ); } } finally { if (!participate) { // single session mode TransactionSynchronizationManager.unbindResource(sessionFactory); logger.debug("Closing single Hibernate session in GrailsDispatcherServlet"); try { SessionFactoryUtils.releaseSession(session, sessionFactory); } catch (RuntimeException ex) { logger.error("Unexpected exception on closing Hibernate Session", ex); } } } } return webContext; }
|
50670 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50670/04f193f0e66f9c5be193bfb55dedb30f64a85620/GrailsDispatcherServlet.java/buggy/src/web/org/codehaus/groovy/grails/web/servlet/GrailsDispatcherServlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
25555,
1042,
752,
4079,
28278,
12,
4079,
28278,
982,
13,
1216,
4823,
634,
503,
288,
3639,
368,
999,
642,
585,
7838,
309,
2319,
3639,
29015,
7675,
542,
1499,
12,
14571,
14573,
3208,
2498,
18,
14943,
67,
25039,
67,
13181,
16,
2938,
1769,
3639,
4257,
1042,
3087,
14573,
1042,
273,
261,
28278,
13,
588,
4745,
1042,
7675,
588,
1499,
12,
14571,
14573,
3208,
2498,
18,
25039,
67,
13181,
1769,
3639,
10812,
14573,
3208,
2521,
31,
3639,
25555,
1042,
3311,
1042,
31,
3639,
309,
12,
2752,
14573,
1042,
480,
446,
13,
288,
5411,
5714,
4079,
28278,
2025,
1042,
273,
394,
5714,
4079,
28278,
5621,
5411,
2025,
1042,
18,
542,
3054,
12,
2752,
14573,
1042,
1769,
5411,
3311,
1042,
273,
2025,
1042,
31,
5411,
2521,
273,
261,
14571,
14573,
3208,
13,
3311,
1042,
18,
588,
3381,
12,
14571,
14573,
3208,
18,
25039,
67,
734,
16,
10812,
14573,
3208,
18,
1106,
1769,
3639,
289,
3639,
469,
288,
5411,
514,
8526,
7838,
273,
446,
31,
5411,
309,
261,
2011,
480,
6474,
809,
2735,
10756,
288,
7734,
7838,
273,
5778,
18,
2316,
554,
5808,
1076,
12,
13491,
6474,
809,
2735,
9334,
13491,
29312,
4079,
28278,
18,
7203,
67,
15277,
67,
1639,
8283,
11367,
1769,
5411,
289,
5411,
368,
4872,
326,
22751,
809,
364,
326,
1478,
7016,
2521,
5411,
2521,
273,
261,
14571,
14573,
3208,
13,
982,
18,
588,
3381,
12,
14571,
14573,
3208,
18,
25039,
67,
734,
16,
10812,
14573,
3208,
18,
1106,
1769,
5411,
22751,
809,
25974,
809,
273,
394,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
25555,
1042,
752,
4079,
28278,
12,
4079,
28278,
982,
13,
1216,
4823,
634,
503,
288,
3639,
368,
999,
642,
585,
7838,
309,
2319,
3639,
29015,
7675,
542,
1499,
12,
14571,
14573,
3208,
2498,
18,
14943,
67,
25039,
67,
13181,
16,
2938,
1769,
3639,
4257,
1042,
3087,
14573,
1042,
273,
261,
28278,
13,
588,
4745,
1042,
7675,
588,
1499,
12,
14571,
14573,
3208,
2498,
18,
25039,
67,
13181,
1769,
3639,
10812,
14573,
3208,
2521,
31,
3639,
25555,
1042,
3311,
1042,
31,
3639,
309,
12,
2752,
14573,
1042,
480,
446,
13,
288,
5411,
5714,
4079,
28278,
2025,
1042,
273,
394,
5714,
4079,
28278,
5621,
5411,
2025,
1042,
18,
542,
3054,
12,
2752,
14573,
1042,
1769,
5411,
3311,
1042,
273,
2
] |
startTimerTaskToTimeOutSGCtxt();
|
public ConfigurationContext(AxisConfiguration axisConfiguration) { super(null); this.axisConfiguration = axisConfiguration; startTimerTaskToTimeOutSGCtxt(); }
|
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/4b372d275040f7c1650985ea8bcf6dfe89022b7f/ConfigurationContext.java/clean/modules/core/src/org/apache/axis2/context/ConfigurationContext.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4659,
1042,
12,
6558,
1750,
2654,
1750,
13,
288,
3639,
2240,
12,
2011,
1769,
3639,
333,
18,
4890,
1750,
273,
2654,
1750,
31,
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,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3639,
333,
18,
4890,
1750,
273,
2654,
1750,
31,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
return _idField;
|
return _identity;
|
public FieldDesc getIdentityField() { return _idField; }
|
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/b710d52e192b175ba901cb44c36d6ad5701f66e6/ObjectDesc.java/clean/trunk/castor-2002/castor/src/main/org/exolab/castor/mapping/ObjectDesc.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2286,
4217,
20066,
974,
1435,
565,
288,
202,
2463,
389,
10781,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2286,
4217,
20066,
974,
1435,
565,
288,
202,
2463,
389,
10781,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public static void log(String bundleId, Throwable exception) { Bundle bundle = Platform.getBundle(bundleId); if (bundle == null) return; IStatus status = new Status(IStatus.ERROR, bundleId, IStatus.ERROR, exception.getMessage() == null ? "" : exception.getMessage(), //$NON-NLS-1$ exception); Platform.getLog(bundle).log(status); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/f94aefa74aecdb7fc7f8197cf849f8d8940f1f49/BundleUtility.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/util/BundleUtility.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
6459,
1330,
12,
780,
9991,
548,
16,
15155,
4064,
15329,
3405,
9991,
33,
8201,
18,
588,
3405,
12,
9991,
548,
1769,
430,
12,
9991,
631,
2011,
13,
2463,
31,
45,
1482,
2327,
33,
2704,
1482,
12,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
6459,
1330,
12,
780,
9991,
548,
16,
15155,
4064,
15329,
3405,
9991,
33,
8201,
18,
588,
3405,
12,
9991,
548,
1769,
430,
12,
9991,
631,
2011,
13,
2463,
31,
45,
1482,
2327,
33,
2704,
1482,
12,
45,
1482,
18,
3589,
16,
9991,
548,
16,
45,
1482,
18,
3589,
16,
4064,
18,
24906,
1435,
631,
2011,
35,
3660,
30,
4064,
18,
24906,
9334,
759,
8,
3993,
17,
5106,
17,
21,
8,
4064,
1769,
8201,
18,
588,
1343,
12,
9991,
2934,
1330,
12,
2327,
1769,
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
] |
||
if (showIdParam != null) showId = showIdParam.equalsIgnoreCase("true");
|
if (showIdParam != null) { if(showIdParam.equals("element")) showId = EXIST_ID_ELEMENT; else if(showIdParam.equals("all")) showId = EXIST_ID_ALL; else showId = EXIST_ID_NONE; }
|
public NativeSerializer(DBBroker broker, Configuration config) { super(broker, config); String showIdParam = (String) config.getProperty("serialization.add-exist-id"); if (showIdParam != null) showId = showIdParam.equalsIgnoreCase("true"); }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/bd6906f52069c6612f3a61229c258c275e3c12f1/NativeSerializer.java/buggy/src/org/exist/storage/serializers/NativeSerializer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
16717,
6306,
12,
2290,
11194,
8625,
16,
4659,
642,
13,
288,
202,
202,
9565,
12,
21722,
16,
642,
1769,
202,
202,
780,
2405,
548,
786,
273,
1082,
202,
12,
780,
13,
642,
18,
588,
1396,
2932,
8818,
1588,
18,
1289,
17,
7398,
17,
350,
8863,
202,
202,
430,
261,
4500,
548,
786,
480,
446,
13,
1082,
202,
4500,
548,
273,
2405,
548,
786,
18,
14963,
5556,
2932,
3767,
8863,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
16717,
6306,
12,
2290,
11194,
8625,
16,
4659,
642,
13,
288,
202,
202,
9565,
12,
21722,
16,
642,
1769,
202,
202,
780,
2405,
548,
786,
273,
1082,
202,
12,
780,
13,
642,
18,
588,
1396,
2932,
8818,
1588,
18,
1289,
17,
7398,
17,
350,
8863,
202,
202,
430,
261,
4500,
548,
786,
480,
446,
13,
1082,
202,
4500,
548,
273,
2405,
548,
786,
18,
14963,
5556,
2932,
3767,
8863,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (doneSteps >= steps && item.colSpan != 1) {
|
if (doneSteps >= steps && item.colSpan != 1 && i != this.focusedIndex) {
|
protected Item shiftFocus(boolean forwardFocus, int steps, Item[] items) { //#if polish.css.colspan int i = this.focusedIndex; if (steps != 0) { //System.out.println("ShiftFocus: steps=" + steps + ", forward=" + forwardFocus); int doneSteps = 0; steps = Math.abs( steps ) + 1; Item item = this.parentContainer.items[i]; while( doneSteps <= steps) { doneSteps += item.colSpan; if (doneSteps >= steps) { //System.out.println("bailing out at too many steps: focusedIndex=" + this.focusedIndex + ", startIndex=" + i + ", steps=" + steps + ", doneSteps=" + doneSteps); break; } if (forwardFocus) { i++; if (i == items.length - 1 ) { i = items.length - 2; break; } else if (i == items.length) { i = items.length - 1; break; } } else { i--; if (i < 0) { i = 1; break; } } item = items[i]; //System.out.println("focusedIndex=" + this.focusedIndex + ", startIndex=" + i + ", steps=" + steps + ", doneSteps=" + doneSteps); } if (doneSteps >= steps && item.colSpan != 1) { if (forwardFocus) { i--; if (i < 0) { i = items.length - 1; } //System.out.println("forward: Adjusting startIndex to " + i ); } else { i = (i + 1) % items.length; //System.out.println("backward: Adjusting startIndex to " + i ); } } } //#else //# int i = this.focusedIndex + steps; if (i > this.parentContainer.items.length) { i = this.parentContainer.items.length - 2; } if (i < 0) { i = 1; } //#endif //TODO check how to integrate cycling in containers // //#if polish.Container.allowCycling != false // boolean allowCycle = this.enableScrolling && this.allowCycling; // if (allowCycle) { // //#if polish.css.scroll-mode // if (!this.scrollSmooth) { // if (forwardFocus) { // // when you scroll to the bottom and // // there is still space, do // // scroll first before cycling to the // // first item: // allowCycle = (this.yOffset + this.itemHeight <= this.yBottom); // } else { // // when you scroll to the top and // // there is still space, do // // scroll first before cycling to the // // last item: // allowCycle = (this.yOffset == 0); // } // } else { // //#endif // if (forwardFocus) { // // when you scroll to the bottom and // // there is still space, do // // scroll first before cycling to the // // first item: // allowCycle = (this.targetYOffset + this.itemHeight <= this.yBottom); // } else { // // when you scroll to the top and // // there is still space, do // // scroll first before cycling to the // // last item: // allowCycle = (this.targetYOffset == 0); // } // //#if polish.css.scroll-mode // } // //#endif // //#debug // System.out.println("shiftFocus: allowCycl=" + allowCycle + ", isFoward=" + forwardFocus + ", targetYOffset=" + this.targetYOffset + ", yOffset=" + this.yOffset ); // } // //#endif boolean allowCycle = true; Item nextItem = null; while (true) { if (forwardFocus) { i++; if (i >= items.length) { //#if polish.Container.allowCycling != false if (allowCycle) { allowCycle = false; i = 0; } else { break; } //#else break; //#endif } } else { i--; if (i < 0) { //#if polish.Container.allowCycling != false if (allowCycle) { allowCycle = false; i = items.length - 1; } else { break; } //#else break; //#endif } } nextItem = items[i]; if (nextItem.appearanceMode != Item.PLAIN) { break; } } if (nextItem == null || nextItem.appearanceMode == Item.PLAIN || nextItem == this.focusedItem) { return null; } int direction = Canvas.UP; if (forwardFocus) { direction = Canvas.DOWN; } focusItem(i, nextItem ); return nextItem; }
|
9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/5f670e7fa8df34bb7576a059f1bd00fd04553fa3/ContainerView.java/buggy/j2me/source/src/de/enough/polish/ui/ContainerView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
4342,
4654,
9233,
12,
6494,
5104,
9233,
16,
509,
6075,
16,
4342,
8526,
1516,
13,
288,
202,
202,
759,
7,
430,
2952,
1468,
18,
5212,
18,
1293,
3969,
1082,
202,
474,
277,
273,
333,
18,
74,
14569,
1016,
31,
1082,
202,
430,
261,
8986,
480,
374,
13,
288,
9506,
202,
759,
3163,
18,
659,
18,
8222,
2932,
10544,
9233,
30,
6075,
1546,
397,
6075,
397,
3104,
5104,
1546,
397,
5104,
9233,
1769,
9506,
202,
474,
2731,
11811,
273,
374,
31,
9506,
202,
8986,
273,
2361,
18,
5113,
12,
6075,
262,
397,
404,
31,
9506,
202,
1180,
761,
273,
333,
18,
2938,
2170,
18,
3319,
63,
77,
15533,
9506,
202,
17523,
12,
2731,
11811,
1648,
6075,
13,
288,
6862,
202,
8734,
11811,
1011,
761,
18,
1293,
6952,
31,
6862,
202,
430,
261,
8734,
11811,
1545,
6075,
13,
288,
25083,
202,
759,
3163,
18,
659,
18,
8222,
2932,
70,
671,
310,
596,
622,
4885,
4906,
6075,
30,
22397,
1016,
1546,
397,
333,
18,
74,
14569,
1016,
397,
3104,
10588,
1546,
397,
277,
397,
3104,
6075,
1546,
397,
6075,
397,
3104,
2731,
11811,
1546,
397,
2731,
11811,
1769,
25083,
202,
8820,
31,
6862,
202,
97,
6862,
202,
430,
261,
11565,
9233,
13,
288,
25083,
202,
77,
9904,
31,
25083,
202,
430,
261,
77,
422,
1516,
18,
2469,
300,
404,
262,
288,
6862,
1082,
202,
77,
273,
1516,
18,
2469,
300,
576,
31,
6862,
1082,
202,
8820,
31,
25083,
202,
97,
469,
309,
261,
77,
422,
1516,
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,
4342,
4654,
9233,
12,
6494,
5104,
9233,
16,
509,
6075,
16,
4342,
8526,
1516,
13,
288,
202,
202,
759,
7,
430,
2952,
1468,
18,
5212,
18,
1293,
3969,
1082,
202,
474,
277,
273,
333,
18,
74,
14569,
1016,
31,
1082,
202,
430,
261,
8986,
480,
374,
13,
288,
9506,
202,
759,
3163,
18,
659,
18,
8222,
2932,
10544,
9233,
30,
6075,
1546,
397,
6075,
397,
3104,
5104,
1546,
397,
5104,
9233,
1769,
9506,
202,
474,
2731,
11811,
273,
374,
31,
9506,
202,
8986,
273,
2361,
18,
5113,
12,
6075,
262,
397,
404,
31,
9506,
202,
1180,
761,
273,
333,
18,
2938,
2170,
18,
3319,
63,
77,
15533,
9506,
202,
17523,
12,
2731,
11811,
1648,
6075,
13,
2
] |
_name.setBounds( x + ((newW - nameSize.width) / 2), y + vPadding, nameSize.width, nameSize.height);
|
_name.setBounds(x + ((newW - nameSize.width) / 2), y + vPadding, nameSize.width, nameSize.height);
|
public void setExtensionPointVisible(boolean isVisible) { // Record our current bounds for later use Rectangle oldBounds = getBounds(); // First case is where the extension points are currently displayed and // we are asked to turn them off. if (_epVec.isDisplayed() & (!isVisible)) { // Tell GEF that we are starting to make a change. Loop through the // epVec marking each element as not visible. startTrans(); Enumeration enum = _epVec.getFigs().elements(); while (enum.hasMoreElements()) { ((Fig) (enum.nextElement())).setDisplayed(false); } // Mark the vector itself and the separator as not displayed _epVec.setDisplayed(false); _epSep.setDisplayed(false); // Redo the bounds and then tell GEF the change has finished setBounds( oldBounds.x, oldBounds.y, oldBounds.width, oldBounds.height); endTrans(); } // Second case is where the extension points are not currently // displayed and we are asked to turn them on. else if ((!_epVec.isDisplayed()) & isVisible) { // Tell GEF that we are starting to make a change. Loop through the // epVec marking each element as visible. startTrans(); Enumeration enum = _epVec.getFigs().elements(); while (enum.hasMoreElements()) { ((Fig) (enum.nextElement())).setDisplayed(true); } // Mark the vector itself and the separator as displayed _epVec.setDisplayed(true); _epSep.setDisplayed(true); // Redo the bounds and then tell GEF the change has finished setBounds( oldBounds.x, oldBounds.y, oldBounds.width, oldBounds.height); endTrans(); } } /** * <p>Creates a set of handles for dragging generalization/specializations * or associations.</p> * * @return The new selection object (a GEF entity). */ public Selection makeSelection() { return new SelectionUseCase(this); } /** * <p>Associate this fig with a particular NSUML object.</p> * * <p>Associates the node with the "bigPort" that is the whole of this * object.</p> * * <p>Must be public, since called directly, e.g. by the load routines.</p> * * @param node The NSUML object to associate with this fig. */ public void setOwner(Object node) { super.setOwner(node); bindPort(node, _bigPort); } /** * <p>Compute the minimum acceptable size of the use case.</p> * * <p>We work out the minimum size of the text box, and from that the radii * of the enclosing ellipse.</p> * * @return The dimensions of the smallest size bounding box of the use * case. */ public Dimension getMinimumSize() { Dimension textSize = _getTextSize(); Dimension _size = _calcEllipse(textSize, _MIN_VERT_PADDING); return new Dimension( Math.max(_size.width, 100), Math.max(_size.height, 60)); } /** * <p>A private utility routine to calculate the minimum size of the * rectangle to hold the name and extension points (if displayed).</p> * * @return The dimensions of the rectangle */ private Dimension _getTextSize() { Dimension minSize = _name.getMinimumSize(); // Now allow for the extension points, if they are displayed if (_epVec.isDisplayed()) { // Allow for a separator (spacer each side + 1 pixel width line) minSize.height += 2 * _SPACER + 1; // Loop through all the extension points, to find the widest // (remember the first fig is the box for the whole lot, so ignore // it). Enumeration enum = _epVec.getFigs().elements(); enum.nextElement(); // ignore while (enum.hasMoreElements()) { int elemWidth = ((FigText) enum.nextElement()).getMinimumSize().width; minSize.width = Math.max(minSize.width, elemWidth); } // Height allows one row for each extension point (remember to // ignore the first element, which is the box for the lot), subject // to there always being space for at least one extension point. minSize.height += ROWHEIGHT * Math.max(1, _epVec.getFigs().size() - 1); } return minSize; } /** * <p>A private utility to calculate the bounding oval for the given * rectangular text box.</p> * * <p>To sufficiently constrain the problem, we define that there is a gap * given by the parameter <code>vertPadding</code> above the top of the * box to the top of the oval.</p> * * <p>All computations are done in double, and then converted to integer at * the end.</p> * * @param rectSize The dimensions of the rectangle to be bounded * * @param vertPadding The padding between the top of the box and the top * of the ellipse. * * @return The dimensions of the required oval */ private Dimension _calcEllipse(Dimension rectSize, int vertPadding) { // Work out the radii of the ellipse, a and b. The top right corner of // the ellipse (Cartesian coordinates, centred on the origin) will be // at (x,y) double a; double b = ((double) rectSize.height) / 2.0 + (double) vertPadding; double x = ((double) rectSize.width) / 2.0; double y = ((double) rectSize.height) / 2.0; // Formula for a is described in the overall class description. a = (x * b) / Math.sqrt(b * b - y * y); // Result as integers, rounded up. We ensure that the radii are // integers for convenience. return new Dimension( ((int) (Math.ceil(a)) * 2), ((int) (Math.ceil(b)) * 2)); } /** * <p>Change the boundary of the use case.</p> * * <p>If we are called with less than the minimum size, we impose the * minimum size.</p> * * <p>We place the name and extension points at the centre of the * rectangle.</p> * * <p>Set the bounds of all components of the Fig.</p> * * @param x X coordinate of upper left corner * * @param y Y coordinate of upper left corner * * @param w width of bounding box * * @param h height of bounding box */ public void setBounds(int x, int y, int w, int h) { // Remember where we are at present, so we can tell GEF later. Then // check we are as big as the minimum size Rectangle oldBounds = getBounds(); Dimension minSize = getMinimumSize(); int newW = (minSize.width > w) ? minSize.width : w; int newH = (minSize.height > h) ? minSize.height : h; // Work out the size of the name and extension point rectangle, and // hence the vertical padding Dimension textSize = _getTextSize(); int vPadding = (newH - textSize.height) / 2; // Adjust the alignment of the name. Dimension nameSize = _name.getMinimumSize(); _name.setBounds( x + ((newW - nameSize.width) / 2), y + vPadding, nameSize.width, nameSize.height); // Place extension points if they are showing if (_epVec.isDisplayed()) { // currY tracks the current vertical position of each element. The // separator is _SPACER pixels below the name. Its length is // calculated from the formula for an ellipse. int currY = y + vPadding + nameSize.height + _SPACER; int sepLen = 2 * (int) (_calcX(((double) newW) / 2.0, ((double) newH) / 2.0, ((double) newH) / 2.0 - ((double) (currY - y)))); _epSep.setShape( x + (newW - sepLen) / 2, currY, x + (newW + sepLen) / 2, currY); // Extension points are 1 pixel for the line and _SPACER gap below // the separator currY += 1 + _SPACER; // Use the utility routine getUpdatedSize to move the extension // point figures. We can discard the result of this routine. For // now we assume that extension points are the width of the overall // text rectangle (true unless the name is wider than any EP). Dimension epSize = getUpdatedSize( _epVec, x + ((newW - textSize.width) / 2), currY, textSize.width, textSize.height - nameSize.height - _SPACER * 2 - 1); } // Set the bounds of the bigPort and cover _bigPort.setBounds(x, y, newW, newH); _cover.setBounds(x, y, newW, newH); // Record the changes in the instance variables of our parent, tell GEF // and trigger the edges to reconsider themselves. _x = x; _y = y; _w = newW; _h = newH; firePropChange("bounds", oldBounds, getBounds()); updateEdges(); } /** * <p>Private utility routine to work out the (positive) x coordinate of a * point on an oval, given the radii and y coordinate.</p> * * @param a radius in X direction * * @param b radius in Y direction * * @param y Y coordinate * * @return Positive X coordinate for the given Y coordinate */ private double _calcX(double a, double b, double y) { return (a * Math.sqrt(b * b - y * y)) / b; } /** * <p>Set the line colour for the use case oval.</p> * * <p>This involves setting the _cover oval, not the bigPort.</p> * * @param col The colour desired. */ public void setLineColor(Color col) { _cover.setLineColor(col); } /** * <p>Get the line colour for the use case oval.</p> * * <p>This involves getting the _cover oval colour, not the bigPort.</p> * * @return The colour in use. */ public Color getLineColor() { return _cover.getLineColor(); } /** * <p>Set the fill colour for the use case oval.</p> * * <p>This involves setting the _cover oval, not the bigPort.</p> * * @param col The colour desired. */ public void setFillColor(Color col) { _cover.setFillColor(col); } /** * <p>Get the line colour for the use case oval.</p> * * <p>This involves getting the _cover oval colour, not the bigPort.</p> * * @return The colour in use. */ public Color getFillColor() { return _cover.getFillColor(); } /** * <p>Set whether the use case oval is to be filled.</p> * * <p>This involves setting the _cover oval, not the bigPort.</p> * * @param f <code>true</code> if the oval is to be filled, * <code>false</code> if not. */ public void setFilled(boolean f) { _cover.setFilled(f); } /** * <p>Get whether the use case oval is to be filled.</p> * * <p>This involves getting the _cover oval, not the bigPort.</p> * * @return <code>true</code> if the oval is to be filled, * <code>false</code> if not. */ public boolean getFilled() { return _cover.getFilled(); } /** * <p>Set the line width for the use case oval.</p> * * <p>This involves setting the _cover oval, not the bigPort.</p> * * @param w The line width desired. */ public void setLineWidth(int w) { _cover.setLineWidth(w); } /** * <p>Get the line width for the use case oval.</p> * * <p>This involves getting the _cover oval colour, not the bigPort.</p> * * @return The line width set. */ public int getLineWidth() { return _cover.getLineWidth(); } /** * <p>FigMyCircle is a FigCircle with corrected connectionPoint method: * this methods calculates where a connected edge ends.</p> */ public class FigMyCircle extends FigCircle { protected Category cat = Category.getInstance(FigMyCircle.class); /** * <p>Constructor just invokes the parent constructor.</p> * * @param x X coordinate of the upper left corner of the bounding * box. * * @param y Y coordinate of the upper left corner of the bounding * box. * * @param w Width of the bounding box. * * @param h Height of the bounding box. * * @param lColor Line colour of the fig. * * @param fColor Fill colour of the fig. */ public FigMyCircle( int x, int y, int w, int h, Color lColor, Color fColor) { super(x, y, w, h, lColor, fColor); } /** * <p>Compute the border point of the elipse that is on the edge * between the stored upper left corner and the given parameter.</p> * * @param anotherPt The remote point to which an edge is drawn. * * @return The connection point on the boundary of the * elipse. */ public Point connectionPoint(Point anotherPt) { double rx = _w / 2; double ry = _h / 2; double dx = anotherPt.x - _x; double dy = anotherPt.y - _y; double dd = ry * ry * dx * dx + rx * rx * dy * dy; double mu = rx * ry / Math.sqrt(dd); Point res = new Point((int) (mu * dx + _x + rx), (int) (mu * dy + _y + ry)); cat.debug(" returns " + res.x + ',' + res.y + ')'); return res; } } /////////////////////////////////////////////////////////////////////////// // // Event handlers // /////////////////////////////////////////////////////////////////////////// /** * <p>React to a mouse key being pressed.</p> * * @param me The mouse action that caused us to be invoked. */ public void mousePressed(MouseEvent me) { // Deal with anything from the parent first super.mousePressed(me); // If we are currently selected, turn off the draggable buttons at each // side, and unhighlight any currently selected extension points. Editor ce = Globals.curEditor(); Selection sel = ce.getSelectionManager().findSelectionFor(this); if (sel instanceof SelectionUseCase) { ((SelectionUseCase) sel).hideButtons(); } unhighlight(); // Display extension point properties if necessary. Look to see if the // mouse (2x2 pixels) hit the extension point compartment. Use a flag // to track this. Rectangle r = new Rectangle(me.getX() - 1, me.getY() - 1, 2, 2); Fig f = hitFig(r); boolean targetIsSet = false; if (f == _epVec) { // Work out which extension point this corresponds to. Each EP // takes ROWHEIGHT pixels, so take the difference between the // centre of the mouse (me.getY() - 1) and the top of the epVec // (f.getY()) and integer divide by ROWHEIGHT. Vector v = _epVec.getFigs(); int i = (me.getY() - f.getY() - 1) / ROWHEIGHT; // If we are in the range of the EP list size (avoids any nasty // boundary overflows), we can select that EP entry. Make this // entry the target Fig, and note that we do have a // target. Remember that the first entry in the vector is the // bigPort itself. if ((i >= 0) && (i < (v.size() - 1))) { targetIsSet = true; f = (Fig) v.elementAt(i + 1); _highlightedFigText = (CompartmentFigText) f; _highlightedFigText.setHighlighted(true); } } // If we didn't get the EP compartment, we just select ourself. if (!targetIsSet) { ProjectBrowser.TheInstance.setTarget(getOwner()); } } /** * <p>Deal with the mouse leaving the fig. Unhighlight the fig.</p> * * @param me The mouse action that caused us to be invoked. */ public void mouseExited(MouseEvent me) { super.mouseExited(me); unhighlight(); } /** * <p>Deal with a key being pressed.</p> * * <p>We deal with UP and DOWN, and use these to move through the list * of selected extension points. We deal with ENTER and use that to start * the text editor.</p> * * @param ke The key event that caused us to be invoked. */ public void keyPressed(KeyEvent ke) { int key = ke.getKeyCode(); // For UP and DOWN cycle through the extension points. if ((key == KeyEvent.VK_UP) || (key == KeyEvent.VK_DOWN)) { // Find the currently highlighted EP (if any) and unhighlight it CompartmentFigText ft = unhighlight(); if (ft != null) { int i = _epVec.getFigs().indexOf(ft); // If we found one of the current EP's move forward or // backwards as appopriate, and set a newly selected EP as // highlighted if (i != -1) { if (key == KeyEvent.VK_UP) { ft = getPreviousVisibleFeature(_epVec, i); } else { ft = getNextVisibleFeature(_epVec, i); } if (ft != null) { ft.setHighlighted(true); _highlightedFigText = ft; return; } } } } // For ENTER start editing any text that is highlighted, remembering to // consume the ENTER event. else if ((key == KeyEvent.VK_ENTER) && (_highlightedFigText != null)) { _highlightedFigText.startTextEditor(ke); ke.consume(); return; } // Anything else defer to our parent. else { super.keyPressed(ke); } } /////////////////////////////////////////////////////////////////////////// // // Internal methods // /////////////////////////////////////////////////////////////////////////// /** * <p>Invoked when text has been edited.</p> * * <p>We check that it is one of the extension point compartments and then * parse accordingly.</p> * * @param ft The text that has been edited. */ protected void textEdited(FigText ft) throws PropertyVetoException { // Let the parent do anything it wants first super.textEdited(ft); // Only works if we have an owner MUseCase useCase = (MUseCase) getOwner(); if (useCase == null) { return; } // Give up if we are not one of the extension points int i = _epVec.getFigs().indexOf(ft); if (i == -1) { return; } // Mark the text as highlighted, then parse it CompartmentFigText highlightedFigText = (CompartmentFigText) ft; highlightedFigText.setHighlighted(true); MExtensionPoint ep = (MExtensionPoint) (highlightedFigText.getOwner()); String text = highlightedFigText.getText().trim(); ParserDisplay.SINGLETON.parseExtensionPointFig(useCase, ep, text); return; } /** * <p>Private method to find the previous visible feature to highlight.</p> * * <p>We're passed in a group (which will be the extension point vector) * and the currently highlighted fig (a member of that vector).</p> * * @param fgVec A fig group (invariably the extension point vector) in * which to seek the previous visible feature. * * @param i The index of the currently selected entry in * <code>fgVec</code>. * * @return The new fig to use. */ private CompartmentFigText getPreviousVisibleFeature( FigGroup fgVec, int i) { // Give up if the index we don't have a vector, or the index is less // than 1 (the 0th entry is the bigPort surrounding all entries) if ((fgVec == null) || (i < 1)) { return null; } // Give up if we are off the top of the vector, or the indentified // element is not displayed Vector v = fgVec.getFigs(); if ((i >= v.size()) || (!((FigText) v.elementAt(i)).isDisplayed())) { return null; } // Loop backwards through until we find an entry that is displayed. We // know this will terminate, since the current element is displayed CompartmentFigText cft = null; do { i = (i <= 1) ? i - 1 : v.size() - 1; cft = (CompartmentFigText) v.elementAt(i); } while (!cft.isDisplayed()); return cft; } /** * <p>Private method to find the next visible feature to highlight.</p> * * <p>We're passed in a group (which will be the extension point vector) * and the currently highlighted fig (a member of that vector).</p> * * @param fgVec A fig group (invariably the extension point vector) in * which to seek the next visible feature. * * @param i The index of the currently selected entry in * <code>fgVec</code>. * * @return The new fig to use. */ private CompartmentFigText getNextVisibleFeature(FigGroup fgVec, int i) { // Give up if the index we don't have a vector, or the index is less // than 1 (the 0th entry is the bigPort surrounding all entries) if ((fgVec == null) || (i < 1)) { return null; } // Give up if we are off the top of the vector, or the indentified // element is not displayed Vector v = fgVec.getFigs(); if ((i >= v.size()) || (!((FigText) v.elementAt(i)).isDisplayed())) { return null; } // Loop forwards through until we find an entry that is displayed. We // know this will terminate, since the current element is displayed CompartmentFigText cft = null; do { i = (i >= (v.size() - 1)) ? 1 : i + 1; cft = (CompartmentFigText) v.elementAt(i); } while (!cft.isDisplayed()); return cft; } /** * <p>Create a new "feature" (extension point) in the use case fig.</p> * * <p>Extension points are not strictly features, but that is a historical * accident of naming. This creates a new entry in the extension point * vector.</p> * * @param fg The fig group to which this applies (which must be the * extension point vector). * * @param ie The input event that triggered us. In the current * implementation a mouse double click. */ protected void createFeatureIn(FigGroup fg, InputEvent ie) { // Give up if we don't have an owner if (getOwner() == null) { return; } // Invoke the relevant action method to create an empty extension // point, then start the editor, assuming we successfully created an // extension point. ActionAddExtensionPoint.singleton().actionPerformed(null); CompartmentFigText ft = (CompartmentFigText) fg.getFigs().lastElement(); if (ft != null) { ft.startTextEditor(ie); ft.setHighlighted(true); _highlightedFigText = ft; } } /** * <p>Private utility to unhighlight any currently selected extension * point.</p> * * @return The extension point that was unhighlighted. */ private CompartmentFigText unhighlight() { // Loop through the vector of extension points, until we find a // highlighted one. Vector v = _epVec.getFigs(); int i; for (i = 1; i < v.size(); i++) { CompartmentFigText ft = (CompartmentFigText) v.elementAt(i); if (ft.isHighlighted()) { ft.setHighlighted(false); _highlightedFigText = null; return ft; } } // None were highlighted return null; } /** * <p>Adjust the fig in the light of some change to the model.</p> * * <p>Called both when there has been a change to notation, and when there * has been an NSUML event.</p> */ protected void modelChanged(MElementEvent mee) { // Let our superclass sort itself out first super.modelChanged(mee); if (mee == null || mee.getName().equals("extensionPoint") || mee.getSource() instanceof MExtensionPoint) { updateExtensionPoint(); return; } if (mee == null || mee.getName().equals("isAbstract")) { updateNameText(); } } /** * Updates the extensionpoints in the fig */ protected void updateExtensionPoint() { // Give up if we have no owner MUseCase useCase = (MUseCase) getOwner(); if (useCase == null) { return; } // Note our current bounds Rectangle oldBounds = getBounds(); // Loop through all the extension points. epCount keeps track of the // fig's index as we go through the extension points. Collection eps = UmlHelper.getHelper().getUseCases().getExtensionPoints(useCase); int epCount = 1; if (eps != null) { int xpos = _epBigPort.getX(); int ypos = _epBigPort.getY(); // Take each EP and its corresponding fig in turn Iterator iter = eps.iterator(); Vector figs = _epVec.getFigs(); while (iter.hasNext()) { CompartmentFigText epFig; MExtensionPoint ep = (MExtensionPoint) iter.next(); // If we don't have a fig for this EP, we'll need to add // one. We set the bounds, but they will be reset later. if (figs.size() <= epCount) { epFig = new CompartmentFigText( xpos, ypos + (epCount - 1) * ROWHEIGHT, 0, ROWHEIGHT, _epBigPort); epFig.setFilled(false); epFig.setLineWidth(0); epFig.setFont(LABEL_FONT); epFig.setTextColor(Color.black); epFig.setJustification(FigText.JUSTIFY_LEFT); epFig.setMultiLine(false); _epVec.addFig(epFig); } else { epFig = (CompartmentFigText) figs.elementAt(epCount); } // Now put the text in // We must handle the case where the text is null String epText = Notation.generate(this, ep); if (epText == null) { epText = ""; } epFig.setText(epText); epFig.setOwner(ep); epCount++; } // Remove any spare figs we have if there are now fewer extension // points than figs if (figs.size() > epCount) { for (int i = figs.size() - 1; i >= epCount; i--) { _epVec.removeFig((Fig) figs.elementAt(i)); } }
|
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/74386f3b9b69b740769ab0d20156aed6261144ec/FigUseCase.java/clean/src_new/org/argouml/uml/diagram/use_case/ui/FigUseCase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
3625,
2148,
6207,
12,
6494,
20453,
13,
288,
3639,
368,
5059,
3134,
783,
4972,
364,
5137,
999,
3639,
13264,
1592,
5694,
273,
22107,
5621,
3639,
368,
5783,
648,
353,
1625,
326,
2710,
3143,
854,
4551,
10453,
471,
3639,
368,
732,
854,
19279,
358,
7005,
2182,
3397,
18,
3639,
309,
261,
67,
881,
12991,
18,
291,
4236,
329,
1435,
473,
16051,
291,
6207,
3719,
288,
5411,
368,
29860,
17788,
42,
716,
732,
854,
5023,
358,
1221,
279,
2549,
18,
9720,
3059,
326,
5411,
368,
5529,
12991,
24073,
1517,
930,
487,
486,
6021,
18,
5411,
787,
1429,
5621,
5411,
13864,
2792,
273,
389,
881,
12991,
18,
588,
42,
360,
87,
7675,
6274,
5621,
5411,
1323,
261,
7924,
18,
5332,
7417,
3471,
10756,
288,
7734,
14015,
42,
360,
13,
261,
7924,
18,
4285,
1046,
10756,
2934,
542,
4236,
329,
12,
5743,
1769,
5411,
289,
5411,
368,
6622,
326,
3806,
6174,
471,
326,
4182,
487,
486,
10453,
5411,
389,
881,
12991,
18,
542,
4236,
329,
12,
5743,
1769,
5411,
389,
881,
5097,
18,
542,
4236,
329,
12,
5743,
1769,
5411,
368,
4621,
83,
326,
4972,
471,
1508,
9276,
17788,
42,
326,
2549,
711,
6708,
5411,
444,
5694,
12,
7734,
1592,
5694,
18,
92,
16,
7734,
1592,
5694,
18,
93,
16,
7734,
1592,
5694,
18,
2819,
16,
7734,
1592,
5694,
18,
4210,
1769,
5411,
679,
1429,
5621,
3639,
289,
3639,
368,
7631,
648,
353,
1625,
326,
2710,
3143,
854,
486,
4551,
3639,
368,
10453,
471,
732,
854,
19279,
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,
444,
3625,
2148,
6207,
12,
6494,
20453,
13,
288,
3639,
368,
5059,
3134,
783,
4972,
364,
5137,
999,
3639,
13264,
1592,
5694,
273,
22107,
5621,
3639,
368,
5783,
648,
353,
1625,
326,
2710,
3143,
854,
4551,
10453,
471,
3639,
368,
732,
854,
19279,
358,
7005,
2182,
3397,
18,
3639,
309,
261,
67,
881,
12991,
18,
291,
4236,
329,
1435,
473,
16051,
291,
6207,
3719,
288,
5411,
368,
29860,
17788,
42,
716,
732,
854,
5023,
358,
1221,
279,
2549,
18,
9720,
3059,
326,
5411,
368,
5529,
12991,
24073,
1517,
930,
487,
486,
6021,
18,
5411,
787,
1429,
5621,
5411,
13864,
2792,
273,
389,
881,
12991,
18,
588,
42,
360,
87,
7675,
6274,
5621,
5411,
1323,
261,
7924,
2
] |
public org.quickfix.field.TradingSessionSubID getTradingSessionSubID() throws FieldNotFound { org.quickfix.field.TradingSessionSubID value = new org.quickfix.field.TradingSessionSubID();
|
public quickfix.field.TradingSessionSubID getTradingSessionSubID() throws FieldNotFound { quickfix.field.TradingSessionSubID value = new quickfix.field.TradingSessionSubID();
|
public org.quickfix.field.TradingSessionSubID getTradingSessionSubID() throws FieldNotFound { org.quickfix.field.TradingSessionSubID value = new org.quickfix.field.TradingSessionSubID(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityTypeRequest.java/clean/src/java/src/quickfix/fix44/SecurityTypeRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
1609,
7459,
2157,
1676,
734,
336,
1609,
7459,
2157,
1676,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
1609,
7459,
2157,
1676,
734,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
1609,
7459,
2157,
1676,
734,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
1609,
7459,
2157,
1676,
734,
336,
1609,
7459,
2157,
1676,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
1609,
7459,
2157,
1676,
734,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
1609,
7459,
2157,
1676,
734,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
handleSelection();
|
handleSelect();
|
public void createControl(Composite parent) { Composite container = new Composite(parent, SWT.NULL); GridLayout layout = new GridLayout(); layout.numColumns=3; container.setLayout(layout); selectionLabel= new Label(container,SWT.NULL); selectionLabel.setText(ServiceArchiver.getResourceString("page5.selectwsdl.caption")); GridData gd = new GridData(GridData.FILL_HORIZONTAL); wsdlTextBox = new Text(container,SWT.BORDER); wsdlTextBox.setLayoutData(gd); wsdlTextBox.setText(settings.get(PREF_WSDL_FILE_NAME)); wsdlTextBox.addModifyListener(new ModifyListener(){ public void modifyText(ModifyEvent e){ handleModify(); } }); browseButton = new Button(container,SWT.PUSH); browseButton.setText(ServiceArchiver.getResourceString("general.browse")); browseButton.addMouseListener(new MouseAdapter(){ public void mouseUp(MouseEvent e) { handleBrowse(); } }); gd = new GridData(); gd.horizontalSpan = 2; autoGenerateWSDLCheckButton = new Button(container,SWT.CHECK); autoGenerateWSDLCheckButton.setLayoutData(gd); autoGenerateWSDLCheckButton.setText(ServiceArchiver.getResourceString("page5.generateauto.caption")); autoGenerateWSDLCheckButton.setSelection(settings.getBoolean(PREF_CHECK_WSDL_GENERATE)); autoGenerateWSDLCheckButton.addSelectionListener(new SelectionListener(){ public void widgetSelected(SelectionEvent e){ handleSelection(); } public void widgetDefaultSelected(SelectionEvent e){} }); autoGenerateWSDLCheckButton.setToolTipText(ServiceArchiver.getResourceString("page5.autogen.tooltip")); //////////////////////////////////////// // enable the automatic generation box autoGenerateWSDLCheckButton.setEnabled(true); /////////////////////////////////////// //add an empty lable new Label(container,SWT.NONE); gd = new GridData(); gd.horizontalSpan = 2; skipWSDLCheckButton = new Button(container,SWT.CHECK); skipWSDLCheckButton.setText(ServiceArchiver.getResourceString("page5.skipWSDL.caption")); skipWSDLCheckButton.setLayoutData(gd); skipWSDLCheckButton.setSelection(settings.getBoolean(PREF_CHECK_SKIP_WSDL)); //////////////////////////////////////// // enable the skip check box skipWSDLCheckButton.setEnabled(true); /////////////////////////////////////// skipWSDLCheckButton.addSelectionListener(new SelectionListener(){ public void widgetSelected(SelectionEvent e){ handleSkip(); } public void widgetDefaultSelected(SelectionEvent e){} }); setControl(container); if (restoredFromPreviousSettings){ handleSkip(); if (!skipWSDLCheckButton.getSelection()){ handleSelection(); } } }
|
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/409a33aa4f0313961be7b0a141802123ddde18bf/WSDLFileSelectionPage.java/clean/modules/tool/axis2-eclipse-service-plugin/src/main/java/org/apache/axis2/tool/service/eclipse/ui/WSDLFileSelectionPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
752,
3367,
12,
9400,
982,
13,
288,
3639,
14728,
1478,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
8560,
1769,
3639,
7145,
3744,
3511,
273,
394,
7145,
3744,
5621,
3639,
3511,
18,
2107,
3380,
33,
23,
31,
3639,
1478,
18,
542,
3744,
12,
6741,
1769,
15604,
4421,
2224,
33,
394,
5287,
12,
3782,
16,
55,
8588,
18,
8560,
1769,
3639,
4421,
2224,
18,
542,
1528,
12,
1179,
12269,
1667,
18,
588,
1420,
780,
2932,
2433,
25,
18,
4025,
4749,
5761,
18,
15386,
7923,
1769,
1082,
3639,
7145,
751,
15551,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
1769,
3639,
17642,
1528,
3514,
273,
394,
3867,
12,
3782,
16,
55,
8588,
18,
38,
7954,
1769,
3639,
17642,
1528,
3514,
18,
542,
3744,
751,
12,
19016,
1769,
3639,
17642,
1528,
3514,
18,
542,
1528,
12,
4272,
18,
588,
12,
3670,
42,
67,
2651,
8914,
67,
3776,
67,
1985,
10019,
3639,
17642,
1528,
3514,
18,
1289,
11047,
2223,
12,
2704,
9518,
2223,
1435,
95,
1082,
565,
1071,
918,
5612,
1528,
12,
11047,
1133,
425,
15329,
1082,
3639,
1640,
11047,
5621,
1082,
565,
289,
202,
202,
22938,
9506,
202,
25731,
3616,
273,
394,
12569,
12,
3782,
16,
55,
8588,
18,
30348,
1769,
202,
202,
25731,
3616,
18,
542,
1528,
12,
1179,
12269,
1667,
18,
588,
1420,
780,
2932,
12259,
18,
25731,
7923,
1769,
202,
202,
25731,
3616,
18,
1289,
9186,
2223,
12,
2704,
17013,
4216,
1435,
95,
1082,
565,
1071,
918,
7644,
1211,
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,
752,
3367,
12,
9400,
982,
13,
288,
3639,
14728,
1478,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
8560,
1769,
3639,
7145,
3744,
3511,
273,
394,
7145,
3744,
5621,
3639,
3511,
18,
2107,
3380,
33,
23,
31,
3639,
1478,
18,
542,
3744,
12,
6741,
1769,
15604,
4421,
2224,
33,
394,
5287,
12,
3782,
16,
55,
8588,
18,
8560,
1769,
3639,
4421,
2224,
18,
542,
1528,
12,
1179,
12269,
1667,
18,
588,
1420,
780,
2932,
2433,
25,
18,
4025,
4749,
5761,
18,
15386,
7923,
1769,
1082,
3639,
7145,
751,
15551,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
1769,
3639,
17642,
1528,
3514,
273,
394,
3867,
12,
3782,
16,
55,
8588,
18,
2
] |
System.err.println("[WARNING] " + message);
|
ruby.getRuntime().getErrorStream().println("[WARNING] " + message);
|
public void rb_warning(String message) { System.err.println("[WARNING] " + message); }
|
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/2c6d31ae5651a0a0c68c2bb382ab68cea34c67d7/ParserHelper.java/buggy/org/jruby/parser/ParserHelper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7138,
67,
8551,
12,
780,
883,
13,
288,
3639,
22155,
18,
588,
5576,
7675,
588,
668,
1228,
7675,
8222,
2932,
63,
9511,
65,
315,
397,
883,
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,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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public Component add(Component arg0)
|
public Component add(Component c)
|
public Component add(Component arg0) { return subPanel.add(arg0); }
|
50179 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50179/b3d69009f0ae3b98fd54dc5eda4cf92b9ec7aab6/VerticalPanel.java/clean/src/core/org/apache/jmeter/gui/util/VerticalPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5435,
527,
12,
1841,
276,
13,
565,
288,
3639,
327,
720,
5537,
18,
1289,
12,
3175,
20,
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,
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,
326,
22398,
316,
326,
981,
30,
377,
1071,
5435,
527,
12,
1841,
276,
13,
565,
288,
3639,
327,
720,
5537,
18,
1289,
12,
3175,
20,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return "02.05.06.00";
|
return "02.05.07.00";
|
public static String getBuild() { // (major) (minor) (<99 = preX, 99 = final) (bug fix) return "02.05.06.00"; }
|
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/9b7d117e7192b57d5d7aedee24105e9940a01aa4/jEdit.java/clean/org/gjt/sp/jedit/jEdit.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
21122,
1435,
202,
95,
202,
202,
759,
261,
14019,
13,
261,
17364,
13,
261,
32,
2733,
273,
675,
60,
16,
14605,
273,
727,
13,
261,
925,
2917,
13,
202,
202,
2463,
315,
3103,
18,
6260,
18,
7677,
18,
713,
14432,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
21122,
1435,
202,
95,
202,
202,
759,
261,
14019,
13,
261,
17364,
13,
261,
32,
2733,
273,
675,
60,
16,
14605,
273,
727,
13,
261,
925,
2917,
13,
202,
202,
2463,
315,
3103,
18,
6260,
18,
7677,
18,
713,
14432,
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
] |
getFixDeprecationProposals(context, coveringNode, resultingCollections);
|
public IJavaCompletionProposal[] getAssists(IInvocationContext context, IProblemLocation[] locations) throws CoreException { ASTNode coveringNode= context.getCoveringNode(); if (coveringNode != null) { ArrayList resultingCollections= new ArrayList(); boolean noErrorsAtLocation= noErrorsAtLocation(locations); // quick assists that show up also if there is an error/warning getRenameLocalProposals(context, coveringNode, locations, noErrorsAtLocation, resultingCollections); if (noErrorsAtLocation) { getCatchClauseToThrowsProposals(context, coveringNode, resultingCollections); getAssignToVariableProposals(context, coveringNode, resultingCollections); getAssignParamToFieldProposals(context, coveringNode, resultingCollections); getUnWrapProposals(context, coveringNode, resultingCollections); getSplitVariableProposals(context, coveringNode, resultingCollections); getJoinVariableProposals(context, coveringNode, resultingCollections); getAddFinallyProposals(context, coveringNode, resultingCollections); getAddElseProposals(context, coveringNode, resultingCollections); getAddBlockProposals(context, coveringNode, resultingCollections); getInvertEqualsProposal(context, coveringNode, resultingCollections); getArrayInitializerToArrayCreation(context, coveringNode, resultingCollections); getCreateInSuperClassProposals(context, coveringNode, resultingCollections); getExtractLocalProposal(context, coveringNode, resultingCollections); if (!getConvertForLoopProposal(context, coveringNode, resultingCollections)) getConvertIterableLoopProposal(context, coveringNode, resultingCollections); getSurroundWithRunnableProposal(context, coveringNode, resultingCollections); getRemoveBlockProposals(context, coveringNode, resultingCollections); getFixDeprecationProposals(context, coveringNode, resultingCollections); getMakeVariableDeclarationFinalProposals(context, coveringNode, resultingCollections); } return (IJavaCompletionProposal[]) resultingCollections.toArray(new IJavaCompletionProposal[resultingCollections.size()]); } return null; }
|
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/412e5a102621d2071804c682d598c21813c57214/QuickAssistProcessor.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
5852,
11238,
14592,
8526,
336,
2610,
1486,
12,
45,
9267,
1042,
819,
16,
467,
13719,
2735,
8526,
7838,
13,
1216,
30015,
288,
202,
202,
9053,
907,
5590,
310,
907,
33,
819,
18,
588,
8084,
310,
907,
5621,
202,
202,
430,
261,
3165,
310,
907,
480,
446,
13,
288,
1082,
202,
19558,
8156,
15150,
33,
394,
2407,
5621,
1082,
202,
6494,
1158,
4229,
861,
2735,
33,
1158,
4229,
861,
2735,
12,
12352,
1769,
25083,
202,
759,
9549,
1551,
1486,
716,
2405,
731,
2546,
309,
1915,
353,
392,
555,
19,
8551,
1082,
202,
588,
16019,
2042,
626,
22536,
12,
2472,
16,
5590,
310,
907,
16,
7838,
16,
1158,
4229,
861,
2735,
16,
8156,
15150,
1769,
1082,
202,
430,
261,
2135,
4229,
861,
2735,
13,
288,
9506,
202,
588,
14842,
7044,
774,
21845,
626,
22536,
12,
2472,
16,
5590,
310,
907,
16,
8156,
15150,
1769,
9506,
202,
588,
4910,
774,
3092,
626,
22536,
12,
2472,
16,
5590,
310,
907,
16,
8156,
15150,
1769,
9506,
202,
588,
4910,
786,
774,
974,
626,
22536,
12,
2472,
16,
5590,
310,
907,
16,
8156,
15150,
1769,
9506,
202,
588,
984,
2964,
626,
22536,
12,
2472,
16,
5590,
310,
907,
16,
8156,
15150,
1769,
9506,
202,
588,
5521,
3092,
626,
22536,
12,
2472,
16,
5590,
310,
907,
16,
8156,
15150,
1769,
9506,
202,
588,
4572,
3092,
626,
22536,
12,
2472,
16,
5590,
310,
907,
16,
8156,
15150,
1769,
9506,
202,
588,
986,
29987,
626,
22536,
12,
2472,
16,
5590,
310,
907,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
5852,
11238,
14592,
8526,
336,
2610,
1486,
12,
45,
9267,
1042,
819,
16,
467,
13719,
2735,
8526,
7838,
13,
1216,
30015,
288,
202,
202,
9053,
907,
5590,
310,
907,
33,
819,
18,
588,
8084,
310,
907,
5621,
202,
202,
430,
261,
3165,
310,
907,
480,
446,
13,
288,
1082,
202,
19558,
8156,
15150,
33,
394,
2407,
5621,
1082,
202,
6494,
1158,
4229,
861,
2735,
33,
1158,
4229,
861,
2735,
12,
12352,
1769,
25083,
202,
759,
9549,
1551,
1486,
716,
2405,
731,
2546,
309,
1915,
353,
392,
555,
19,
8551,
1082,
202,
588,
16019,
2042,
626,
22536,
12,
2472,
16,
5590,
310,
907,
16,
7838,
16,
1158,
4229,
861,
2735,
16,
8156,
15150,
1769,
1082,
202,
2
] |
|
assertEquals("2.1",0,rm.getStateAtCurrent());
|
assertEquals("2.1", 0, rm.getStateAtCurrent());
|
public void testInsertToDoc() { try { defModel.insertString(0,"a/*bc */\"\\{}()",null); assertEquals("#0.0",defModel.getText(0,8),"a/*bc */"); assertEquals("#0.1",14,defModel._currentLocation); defModel.insertString(0,"Start:",null); assertEquals("#1.0",defModel.getText(0,14),"Start:a/*bc */"); assertEquals("#1.1",6,defModel._currentLocation); // document is: // Start:=>a/*bc */"\\{}() BraceReduction rm = defModel._reduced; assertEquals("2.1",0,rm.getStateAtCurrent()); rm.move(2); // document is: // Start:a/=>*bc */"\\{}() assertEquals("2.3","/*",rm.currentToken().getType()); rm.move(2); // document is: // Start:a/*b=>c */"\\{}() assertEquals("2.4",true,rm.currentToken().isGap()); assertEquals("2.5", ReducedToken.INSIDE_BLOCK_COMMENT, rm.currentToken().getState()); rm.move(2); // document is: // Start:a/*bc =>*/"\{}() assertEquals("2.6","*/",rm.currentToken().getType()); rm.move(2); // document is: // Start:a/*bc */=>"\{}() assertEquals("2.7","\"",rm.currentToken().getType()); rm.move(1); // document is: // Start:a/*bc */"=>\{}() assertEquals("2.8","\\",rm.currentToken().getType()); rm.move(1); // document is: // Start:a/*bc */"\=>{}() assertEquals("2.9","{",rm.currentToken().getType()); rm.move(1); // document is: // Start:a/*bc */"\{=>}() assertEquals("2.91","}",rm.currentToken().getType()); rm.move(1); // document is: // Start:a/*bc */"\{}=>() assertEquals("2.92","(",rm.currentToken().getType()); rm.move(1); // document is: // Start:a/*bc */"\\{}(=>) assertEquals("2.93",")",rm.currentToken().getType()); } catch( javax.swing.text.BadLocationException e) { System.out.println("EXCEPTION"); } }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/7be13fcc2c0b7d44e976f39092577be8a7dfb680/DefinitionsDocumentTest.java/clean/drjava/src/edu/rice/cs/drjava/DefinitionsDocumentTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
4600,
774,
1759,
1435,
225,
288,
565,
775,
288,
1377,
1652,
1488,
18,
6387,
780,
12,
20,
10837,
69,
20308,
13459,
1195,
2412,
1695,
2916,
1435,
3113,
2011,
1769,
1377,
1815,
8867,
2932,
7,
20,
18,
20,
3113,
536,
1488,
18,
588,
1528,
12,
20,
16,
28,
3631,
6,
69,
20308,
13459,
1195,
8863,
1377,
1815,
8867,
2932,
7,
20,
18,
21,
3113,
3461,
16,
536,
1488,
6315,
2972,
2735,
1769,
1377,
1652,
1488,
18,
6387,
780,
12,
20,
10837,
1685,
2773,
16,
2011,
1769,
1377,
1815,
8867,
2932,
7,
21,
18,
20,
3113,
536,
1488,
18,
588,
1528,
12,
20,
16,
3461,
3631,
6,
1685,
30,
69,
20308,
13459,
1195,
8863,
1377,
1815,
8867,
2932,
7,
21,
18,
21,
3113,
26,
16,
536,
1488,
6315,
2972,
2735,
1769,
1377,
368,
1668,
353,
30,
1377,
368,
3603,
30,
9207,
69,
20308,
13459,
1195,
6,
1695,
2916,
1435,
1377,
605,
9963,
3715,
4062,
6692,
273,
1652,
1488,
6315,
1118,
26372,
31,
1377,
1815,
8867,
2932,
22,
18,
21,
3113,
374,
16,
6692,
18,
588,
1119,
861,
3935,
10663,
1377,
6692,
18,
8501,
12,
22,
1769,
1377,
368,
1668,
353,
30,
1377,
368,
3603,
30,
69,
19,
9207,
14,
13459,
1195,
6,
1695,
2916,
1435,
1377,
1815,
8867,
2932,
22,
18,
23,
15937,
20308,
3113,
8864,
18,
2972,
1345,
7675,
588,
559,
10663,
1377,
6692,
18,
8501,
12,
22,
1769,
1377,
368,
1668,
353,
30,
1377,
368,
3603,
30,
69,
20308,
70,
9207,
71,
1195,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
4600,
774,
1759,
1435,
225,
288,
565,
775,
288,
1377,
1652,
1488,
18,
6387,
780,
12,
20,
10837,
69,
20308,
13459,
1195,
2412,
1695,
2916,
1435,
3113,
2011,
1769,
1377,
1815,
8867,
2932,
7,
20,
18,
20,
3113,
536,
1488,
18,
588,
1528,
12,
20,
16,
28,
3631,
6,
69,
20308,
13459,
1195,
8863,
1377,
1815,
8867,
2932,
7,
20,
18,
21,
3113,
3461,
16,
536,
1488,
6315,
2972,
2735,
1769,
1377,
1652,
1488,
18,
6387,
780,
12,
20,
10837,
1685,
2773,
16,
2011,
1769,
1377,
1815,
8867,
2932,
7,
21,
18,
20,
3113,
536,
1488,
18,
588,
1528,
12,
20,
16,
3461,
3631,
6,
1685,
30,
69,
20308,
13459,
1195,
8863,
1377,
1815,
8867,
2
] |
} else
|
} } else {
|
protected void focusSelectionChanged(IWorkbenchPart part, ISelection selection) { List selectedElements = new ArrayList(); if (part instanceof IEditorPart) { IEditorPart editor = (IEditorPart) part; IFile file = ResourceUtil.getFile(editor.getEditorInput()); if (file == null) { IEditorInput editorInput = editor.getEditorInput(); if (editorInput != null) { Object mapping = editorInput .getAdapter(ResourceMapping.class); if (mapping != null) selectedElements.add(mapping); } } else { selectedElements.add(file); } } else { if (selection instanceof IStructuredSelection) { for (Iterator iterator = ((IStructuredSelection) selection) .iterator(); iterator.hasNext();) { Object object = iterator.next(); if (object instanceof IAdaptable) { ITaskListResourceAdapter taskListResourceAdapter; Object adapter = ((IAdaptable) object) .getAdapter(ITaskListResourceAdapter.class); if (adapter != null && adapter instanceof ITaskListResourceAdapter) { taskListResourceAdapter = (ITaskListResourceAdapter) adapter; } else { taskListResourceAdapter = DefaultMarkerResourceAdapter .getDefault(); } IResource resource = taskListResourceAdapter .getAffectedResource((IAdaptable) object); if (resource == null) { Object mapping = ((IAdaptable) object) .getAdapter(ResourceMapping.class); if (mapping != null) selectedElements.add(mapping); } else selectedElements.add(resource); } } } } updateFocusMarkers(selectedElements.toArray()); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/MarkerView.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
7155,
6233,
5033,
12,
45,
2421,
22144,
1988,
1087,
16,
1082,
202,
45,
6233,
4421,
13,
288,
202,
202,
682,
3170,
3471,
273,
394,
2407,
5621,
202,
202,
430,
261,
2680,
1276,
467,
6946,
1988,
13,
288,
1082,
202,
45,
6946,
1988,
4858,
273,
261,
45,
6946,
1988,
13,
1087,
31,
1082,
202,
45,
812,
585,
273,
2591,
1304,
18,
29925,
12,
9177,
18,
588,
6946,
1210,
10663,
1082,
202,
430,
261,
768,
422,
446,
13,
288,
9506,
202,
45,
6946,
1210,
4858,
1210,
273,
4858,
18,
588,
6946,
1210,
5621,
9506,
202,
430,
261,
9177,
1210,
480,
446,
13,
288,
6862,
202,
921,
2874,
273,
4858,
1210,
6862,
1082,
202,
18,
588,
4216,
12,
1420,
3233,
18,
1106,
1769,
6862,
202,
430,
261,
6770,
480,
446,
13,
25083,
202,
8109,
3471,
18,
1289,
12,
6770,
1769,
9506,
202,
97,
1082,
202,
97,
289,
469,
288,
288,
9506,
202,
8109,
3471,
18,
1289,
12,
768,
1769,
1082,
202,
97,
202,
202,
97,
289,
469,
288,
288,
1082,
202,
430,
261,
10705,
1276,
467,
30733,
6233,
13,
288,
9506,
202,
1884,
261,
3198,
2775,
273,
14015,
45,
30733,
6233,
13,
4421,
13,
25083,
202,
18,
9838,
5621,
2775,
18,
5332,
2134,
5621,
13,
288,
6862,
202,
921,
733,
273,
2775,
18,
4285,
5621,
6862,
202,
430,
261,
1612,
1276,
467,
13716,
429,
13,
288,
25083,
202,
1285,
835,
682,
1420,
4216,
1562,
682,
1420,
4216,
31,
25083,
202,
921,
4516,
273,
14015,
45,
13716,
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,
7155,
6233,
5033,
12,
45,
2421,
22144,
1988,
1087,
16,
1082,
202,
45,
6233,
4421,
13,
288,
202,
202,
682,
3170,
3471,
273,
394,
2407,
5621,
202,
202,
430,
261,
2680,
1276,
467,
6946,
1988,
13,
288,
1082,
202,
45,
6946,
1988,
4858,
273,
261,
45,
6946,
1988,
13,
1087,
31,
1082,
202,
45,
812,
585,
273,
2591,
1304,
18,
29925,
12,
9177,
18,
588,
6946,
1210,
10663,
1082,
202,
430,
261,
768,
422,
446,
13,
288,
9506,
202,
45,
6946,
1210,
4858,
1210,
273,
4858,
18,
588,
6946,
1210,
5621,
9506,
202,
430,
261,
9177,
1210,
480,
446,
13,
288,
6862,
202,
921,
2874,
273,
4858,
1210,
6862,
1082,
202,
18,
588,
4216,
12,
2
] |
&& event.getJob().getResult().getMessage() != null) {
|
&& event.getJob().getResult().getMessage() != null) {
|
public void done(final IJobChangeEvent event) { PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() { public void run() { if (event.getJob().getResult().getCode() == Status.OK && event.getJob().getResult().getMessage() != null) {// // Attach context if (getAttachContext()) { IWorkbench wb = PlatformUI.getWorkbench(); IProgressService ps = wb.getProgressService(); try { ps.busyCursorWhile(new IRunnableWithProgress() { public void run(IProgressMonitor pm) { try { bugzillaRepositoryConnector.attachContext(repository, modifiedTask, ""); } catch (Exception e) { MylarStatusHandler.fail(e, "Failed to attach task context.\n\n" + e.getMessage(), true); } } }); } catch (InvocationTargetException e1) { MylarStatusHandler.fail(e1.getCause(), "Failed to attach task context.\n\n" + e1.getMessage(), true); } catch (InterruptedException e1) { // ignore } } if (modifiedTask != null) { // TODO: This is set to null in order for update // to bypass // ui override check with user // Need to change how this is achieved. modifiedTask.setTaskData(null); TasksUiPlugin.getSynchronizationManager().synchronize(connector, modifiedTask, true, new JobChangeAdapter() { @Override public void done(IJobChangeEvent event) { close(); TaskUiUtil.openEditor(modifiedTask, false); } }); Set<AbstractRepositoryQuery> queriesWithHandle = TasksUiPlugin.getTaskListManager() .getTaskList().getQueriesForHandle(modifiedTask.getHandleIdentifier()); // Sync Queries that have this task TasksUiPlugin.getSynchronizationManager().synchronize(connector, queriesWithHandle, null, Job.SHORT, 0, false); // Sync any tasks that might have changed as a // result of this action // TODO: removed since we don't have a way to // exclude currently submitted task // and others will be synched later by // background sync anyway (or manual sync) // TasksUiPlugin.getSynchronizationManager().synchronizeChanged(connector, // repository); } else { TaskUiUtil.openRepositoryTask(repository.getUrl(), BugzillaTaskEditor.this .getRepositoryTaskData().getId(), repository.getUrl() + IBugzillaConstants.URL_GET_SHOW_BUG + BugzillaTaskEditor.this.getRepositoryTaskData().getId()); close(); } return; } else if (event.getJob().getResult().getCode() == Status.INFO) { WebBrowserDialog.openAcceptAgreement(null, IBugzillaConstants.REPORT_SUBMIT_ERROR, event .getJob().getResult().getMessage(), event.getJob().getResult().getException() .getMessage()); submitButton.setEnabled(true); BugzillaTaskEditor.this.showBusy(false); } else if (event.getJob().getResult().getCode() == Status.ERROR) { MylarStatusHandler.fail(event.getJob().getResult().getException(), IBugzillaConstants.REPORT_SUBMIT_ERROR + ": Changes may not have successfully committed.\n" + event.getJob().getResult().getMessage(), true); if (!BugzillaTaskEditor.this.isDisposed() && !submitButton.isDisposed()) { submitButton.setEnabled(true); BugzillaTaskEditor.this.showBusy(false); } } } }); }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/15bee97fa54783888e332a741cd410300b3027fd/BugzillaTaskEditor.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
2731,
12,
6385,
467,
2278,
20930,
871,
13,
288,
9506,
202,
8201,
5370,
18,
588,
2421,
22144,
7675,
588,
4236,
7675,
3810,
1905,
12,
2704,
10254,
1435,
288,
6862,
202,
482,
918,
1086,
1435,
288,
25083,
202,
430,
261,
2575,
18,
588,
2278,
7675,
588,
1253,
7675,
588,
1085,
1435,
422,
2685,
18,
3141,
6862,
9506,
202,
10,
10,
871,
18,
588,
2278,
7675,
588,
1253,
7675,
24906,
1435,
480,
446,
13,
288,
759,
6862,
1082,
202,
759,
8659,
819,
6862,
1082,
202,
430,
261,
588,
4761,
1042,
10756,
288,
6862,
9506,
202,
45,
2421,
22144,
17298,
273,
11810,
5370,
18,
588,
2421,
22144,
5621,
6862,
9506,
202,
45,
5491,
1179,
4250,
273,
17298,
18,
588,
5491,
1179,
5621,
6862,
9506,
202,
698,
288,
6862,
6862,
202,
1121,
18,
9274,
93,
6688,
15151,
12,
2704,
467,
20013,
1190,
5491,
1435,
288,
6862,
25083,
202,
482,
918,
1086,
12,
45,
5491,
7187,
7430,
13,
288,
6862,
6862,
1082,
202,
698,
288,
6862,
6862,
9506,
202,
925,
15990,
3305,
7487,
18,
7331,
1042,
12,
9071,
16,
4358,
2174,
16,
1408,
1769,
6862,
6862,
1082,
202,
97,
1044,
261,
503,
425,
13,
288,
6862,
6862,
9506,
202,
12062,
7901,
1482,
1503,
18,
6870,
12,
73,
16,
315,
2925,
358,
3306,
1562,
819,
8403,
82,
64,
82,
6,
6862,
6862,
25083,
202,
15,
425,
18,
24906,
9334,
638,
1769,
6862,
6862,
1082,
202,
97,
6862,
25083,
202,
97,
6862,
6862,
202,
22938,
6862,
9506,
202,
97,
1044,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
2731,
12,
6385,
467,
2278,
20930,
871,
13,
288,
9506,
202,
8201,
5370,
18,
588,
2421,
22144,
7675,
588,
4236,
7675,
3810,
1905,
12,
2704,
10254,
1435,
288,
6862,
202,
482,
918,
1086,
1435,
288,
25083,
202,
430,
261,
2575,
18,
588,
2278,
7675,
588,
1253,
7675,
588,
1085,
1435,
422,
2685,
18,
3141,
6862,
9506,
202,
10,
10,
871,
18,
588,
2278,
7675,
588,
1253,
7675,
24906,
1435,
480,
446,
13,
288,
759,
6862,
1082,
202,
759,
8659,
819,
6862,
1082,
202,
430,
261,
588,
4761,
1042,
10756,
288,
6862,
9506,
202,
45,
2421,
22144,
17298,
273,
11810,
5370,
18,
588,
2421,
22144,
5621,
6862,
9506,
202,
45,
5491,
1179,
4250,
273,
17298,
18,
2
] |
public String submitReportToRepository() throws BugzillaException, LoginException, PossibleBugzillaFailureException { BufferedOutputStream out = null; BufferedReader in = null; String result = null; try { // connect to the bugzilla server URLConnection cntx = BugzillaPlugin.getUrlConnection(postUrl, proxySettings); if (cntx == null || !(cntx instanceof HttpURLConnection)) return null; HttpURLConnection postConnection = (HttpURLConnection) cntx; // set the connection method postConnection.setRequestMethod(METHOD_POST); String contentTypeString = POST_CONTENT_TYPE; if (charset != null) { contentTypeString += ";charset=" + charset; } postConnection.setRequestProperty(REQUEST_PROPERTY_CONTENT_TYPE, contentTypeString); // get the url for the update with all of the changed values byte[] body = getPostBody().getBytes(); postConnection.setRequestProperty(REQUEST_PROPERTY_CONTENT_LENGTH, String.valueOf(body.length)); // allow outgoing streams and open a stream to post to postConnection.setDoOutput(true); out = new BufferedOutputStream(postConnection.getOutputStream()); // write the data and close the stream out.write(body); out.flush(); int responseCode = postConnection.getResponseCode(); if (responseCode != HttpURLConnection.HTTP_OK && responseCode != HttpURLConnection.HTTP_CREATED) { throw new BugzillaException("Server returned HTTP error: " + responseCode + " - " + postConnection.getResponseMessage()); } // open a stream to receive response from bugzilla in = new BufferedReader(new InputStreamReader(postConnection.getInputStream())); String aString = in.readLine(); // Used to debug reponse from bugzilla server // while (aString != null) { // System.err.println(aString); // aString = in.readLine(); // } boolean possibleFailure = true; error = ""; while (aString != null) { error += aString == null ? "" : aString + "\n"; // check if we have run into an error if (result == null && (aString.toLowerCase().indexOf("check e-mail") != -1 || aString.toLowerCase().indexOf( "error") != -1)) { throw new LoginException("Bugzilla login problem."); } else if (aString.indexOf("Invalid Username Or Password") != -1) { throw new LoginException("Invalid Username or Password."); } else if (aString.toLowerCase().matches(".*bug\\s+processed.*") // TODO: // make // this // configurable || aString.toLowerCase().matches(".*defect\\s+processed.*")) { possibleFailure = false; } // // get the bug number if it is required if (prefix != null && prefix2 != null && postfix != null && postfix2 != null && result == null) { int startIndex = -1; int startIndexPrefix = aString.toLowerCase().indexOf(prefix.toLowerCase()); int startIndexPrefix2 = aString.toLowerCase().indexOf(prefix2.toLowerCase()); if (startIndexPrefix != -1 || startIndexPrefix2 != -1) { if (startIndexPrefix != -1) { startIndex = startIndexPrefix + prefix.length(); } else { startIndex = startIndexPrefix2 + prefix2.length(); } int stopIndex = aString.toLowerCase().indexOf(postfix.toLowerCase(), startIndex); if (stopIndex == -1) stopIndex = aString.toLowerCase().indexOf(postfix2.toLowerCase(), startIndex); if (stopIndex > -1) { result = (aString.substring(startIndex, stopIndex)).trim(); possibleFailure = false; } } } aString = in.readLine(); } if ((result == null || result.compareTo("") == 0) && (prefix != null && prefix2 == null && postfix != null && postfix2 != null)) { throw new PossibleBugzillaFailureException("Could not find bug number for new bug."); } else if (possibleFailure) { throw new PossibleBugzillaFailureException( "Bug report may not have been submitted. Bugzilla message was: "); } // set the error to null if we dont think that there was one error = null; } catch (IOException e) { throw new BugzillaException("An exception occurred while submitting the bug: " + e.getMessage(), e); } catch (KeyManagementException e) { throw new BugzillaException("Could not POST form. Communications error: " + e.getMessage(), e); } catch (NoSuchAlgorithmException e) { throw new BugzillaException("Could not POST form. Communications error: " + e.getMessage(), e); } finally { try { if (in != null) in.close(); if (out != null) out.close(); } catch (IOException e) { BugzillaPlugin.log(new Status(IStatus.ERROR, BugzillaPlugin.PLUGIN_ID, IStatus.ERROR, "Problem posting the bug", e)); } try { // upload the attachment if any if (attachment != null) { if (attachment.getDescription() == null || attachment.getDescription().equals("")) { throw new BugzillaException("Attachment must have a description"); } String uname = URLDecoder.decode(fields.get(KEY_BUGZILLA_LOGIN), this.charset); String password = URLDecoder.decode(fields.get(KEY_BUGZILLA_PASSWORD), this.charset); if (!attachmentHandler.uploadAttachment(attachment, uname, password, proxySettings)) { throw new BugzillaException("Could not upload attachment."); } } } catch (IOException e) { throw new BugzillaException("Could not upload attachment. Communications error: " + e.getMessage(), e); } } // return the bug number return result; }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/870bef936f9d2d5a7188ca7b829b13efb90c18a6/BugzillaReportSubmitForm.java/clean/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaReportSubmitForm.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
4879,
4820,
774,
3305,
1435,
1216,
16907,
15990,
503,
16,
11744,
503,
16,
25433,
19865,
15990,
14389,
288,
202,
202,
17947,
4632,
596,
273,
446,
31,
202,
202,
17947,
2514,
316,
273,
446,
31,
202,
202,
780,
563,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
759,
3077,
358,
326,
7934,
15990,
1438,
1082,
202,
14790,
7599,
92,
273,
16907,
15990,
3773,
18,
588,
1489,
1952,
12,
2767,
1489,
16,
2889,
2628,
1769,
1082,
202,
430,
261,
13085,
92,
422,
446,
747,
401,
12,
13085,
92,
1276,
19084,
3719,
9506,
202,
2463,
446,
31,
1082,
202,
2940,
14790,
1603,
1952,
273,
261,
2940,
14790,
13,
7599,
92,
31,
1082,
202,
759,
444,
326,
1459,
707,
1082,
202,
2767,
1952,
18,
542,
691,
1305,
12,
5327,
67,
3798,
1769,
1082,
202,
780,
5064,
780,
273,
5485,
67,
9689,
67,
2399,
31,
1082,
202,
430,
261,
9999,
480,
446,
13,
288,
9506,
202,
22194,
780,
1011,
13636,
9999,
1546,
397,
4856,
31,
1082,
202,
97,
1082,
202,
2767,
1952,
18,
542,
691,
1396,
12,
5519,
67,
9900,
67,
9689,
67,
2399,
16,
5064,
780,
1769,
1082,
202,
759,
336,
326,
880,
364,
326,
1089,
598,
777,
434,
326,
3550,
924,
1082,
202,
7229,
8526,
1417,
273,
14150,
2250,
7675,
588,
2160,
5621,
1082,
202,
2767,
1952,
18,
542,
691,
1396,
12,
5519,
67,
9900,
67,
9689,
67,
7096,
16,
514,
18,
1132,
951,
12,
3432,
18,
2469,
10019,
1082,
202,
759,
1699,
12902,
8205,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
4879,
4820,
774,
3305,
1435,
1216,
16907,
15990,
503,
16,
11744,
503,
16,
25433,
19865,
15990,
14389,
288,
202,
202,
17947,
4632,
596,
273,
446,
31,
202,
202,
17947,
2514,
316,
273,
446,
31,
202,
202,
780,
563,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
759,
3077,
358,
326,
7934,
15990,
1438,
1082,
202,
14790,
7599,
92,
273,
16907,
15990,
3773,
18,
588,
1489,
1952,
12,
2767,
1489,
16,
2889,
2628,
1769,
1082,
202,
430,
261,
13085,
92,
422,
446,
747,
401,
12,
13085,
92,
1276,
19084,
3719,
9506,
202,
2463,
446,
31,
1082,
202,
2940,
14790,
1603,
1952,
273,
261,
2940,
14790,
13,
7599,
92,
31,
1082,
202,
759,
444,
326,
1459,
2
] |
||
public TA_RetCode APO( int startIdx, int endIdx, double inReal[], int optInFastPeriod, int optInSlowPeriod, TA_MAType optInMAType, MInteger outBegIdx, MInteger outNbElement, double outReal[] ){ double []tempBuffer ; TA_RetCode retCode; if( startIdx < 0 ) return TA_RetCode. TA_OUT_OF_RANGE_START_INDEX; if( (endIdx < 0) || (endIdx < startIdx)) return TA_RetCode. TA_OUT_OF_RANGE_END_INDEX; if( (int)optInFastPeriod == ( Integer.MIN_VALUE ) ) optInFastPeriod = 12; else if( ((int)optInFastPeriod < 2) || ((int)optInFastPeriod > 100000) ) return TA_RetCode. TA_BAD_PARAM; if( (int)optInSlowPeriod == ( Integer.MIN_VALUE ) ) optInSlowPeriod = 26; else if( ((int)optInSlowPeriod < 2) || ((int)optInSlowPeriod > 100000) ) return TA_RetCode. TA_BAD_PARAM; tempBuffer = new double[(endIdx-startIdx+1)] ; retCode = INT_PO ( startIdx, endIdx, inReal, optInFastPeriod, optInSlowPeriod, optInMAType, outBegIdx, outNbElement, outReal, tempBuffer, 0 ); ; return retCode;}
|
51465 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51465/1a230e9b7099cbd2b7e9eb1294130ca009bfedf4/Core.java/buggy/trunk/ta-lib/java/src/TA/Lib/Core.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1071,
399,
37,
67,
7055,
1085,
432,
2419,
12,
509,
27108,
16,
509,
679,
4223,
16,
1645,
316,
6955,
63,
6487,
509,
2153,
382,
12305,
5027,
16,
509,
2153,
382,
28733,
5027,
16,
399,
37,
67,
5535,
559,
2153,
382,
5535,
559,
16,
490,
4522,
596,
24059,
4223,
16,
490,
4522,
596,
22816,
1046,
16,
1645,
29205,
8526,
262,
95,
9056,
5378,
5814,
1892,
274,
399,
37,
67,
7055,
1085,
325,
1085,
31,
309,
12,
27108,
411,
374,
262,
327,
9833,
67,
7055,
1085,
18,
399,
37,
67,
5069,
67,
3932,
67,
15928,
67,
7570,
67,
9199,
31,
309,
12,
261,
409,
4223,
411,
374,
13,
747,
261,
409,
4223,
411,
27108,
3719,
327,
9833,
67,
7055,
1085,
18,
399,
37,
67,
5069,
67,
3932,
67,
15928,
67,
4415,
67,
9199,
31,
309,
12,
261,
474,
13,
3838,
382,
12305,
5027,
422,
12,
2144,
18,
6236,
67,
4051,
8623,
2153,
382,
12305,
5027,
273,
2593,
31,
469,
309,
12,
14015,
474,
13,
3838,
382,
12305,
5027,
411,
576,
13,
747,
14015,
474,
13,
3838,
382,
12305,
5027,
405,
25259,
13,
262,
327,
9833,
67,
7055,
1085,
18,
399,
37,
67,
16234,
67,
8388,
31,
309,
12,
261,
474,
13,
3838,
382,
28733,
5027,
422,
12,
2144,
18,
6236,
67,
4051,
8623,
2153,
382,
28733,
5027,
273,
10659,
31,
469,
309,
12,
14015,
474,
13,
3838,
382,
28733,
5027,
411,
576,
13,
747,
14015,
474,
13,
3838,
382,
28733,
5027,
405,
25259,
13,
262,
327,
9833,
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,
1071,
399,
37,
67,
7055,
1085,
432,
2419,
12,
509,
27108,
16,
509,
679,
4223,
16,
1645,
316,
6955,
63,
6487,
509,
2153,
382,
12305,
5027,
16,
509,
2153,
382,
28733,
5027,
16,
399,
37,
67,
5535,
559,
2153,
382,
5535,
559,
16,
490,
4522,
596,
24059,
4223,
16,
490,
4522,
596,
22816,
1046,
16,
1645,
29205,
8526,
262,
95,
9056,
5378,
5814,
1892,
274,
399,
37,
67,
7055,
1085,
325,
1085,
31,
309,
12,
27108,
411,
374,
262,
327,
9833,
67,
7055,
1085,
18,
399,
37,
67,
5069,
67,
3932,
67,
15928,
67,
7570,
67,
9199,
31,
309,
12,
261,
409,
4223,
411,
374,
13,
747,
261,
409,
4223,
411,
27108,
3719,
327,
9833,
67,
7055,
1085,
2
] |
||
in.error("invalid dispatch character");
|
in.error("invalid dispatch character '"+((char) ch)+'\'');
|
public Object read (Lexer in, int ch, int count) throws java.io.IOException, SyntaxException { count = -1; for (;;) { ch = in.read(); if (ch < 0) in.eofError("unexpected EOF after "+ (char) ch); if (ch > 0x10000) break; int digit = Character.digit((char) ch, 10); if (digit < 0) { ch = Character.toUpperCase((char) ch); break; } count = count < 0 ? digit : count * 10 + digit; } ReadTableEntry entry = (ReadTableEntry) table.lookup(ch, null); if (entry == null) { in.error("invalid dispatch character"); return Values.empty; } return entry.read(in, ch, count); }
|
36952 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36952/0fca37f02f9e7a13fd954226ba8b56aca8c6c707/ReaderDispatch.java/buggy/gnu/kawa/lispexpr/ReaderDispatch.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
855,
261,
13356,
316,
16,
509,
462,
16,
509,
1056,
13,
565,
1216,
2252,
18,
1594,
18,
14106,
16,
11517,
503,
225,
288,
565,
1056,
273,
300,
21,
31,
565,
364,
261,
25708,
13,
1377,
288,
202,
343,
273,
316,
18,
896,
5621,
202,
430,
261,
343,
411,
374,
13,
202,
225,
316,
18,
9339,
668,
2932,
21248,
6431,
1839,
13773,
261,
3001,
13,
462,
1769,
202,
430,
261,
343,
405,
374,
92,
23899,
13,
202,
225,
898,
31,
202,
474,
8035,
273,
6577,
18,
11052,
12443,
3001,
13,
462,
16,
1728,
1769,
202,
430,
261,
11052,
411,
374,
13,
202,
225,
288,
202,
565,
462,
273,
6577,
18,
869,
8915,
12443,
3001,
13,
462,
1769,
202,
565,
898,
31,
202,
225,
289,
202,
1883,
273,
1056,
411,
374,
692,
8035,
294,
1056,
380,
1728,
397,
8035,
31,
1377,
289,
565,
2720,
1388,
1622,
1241,
273,
261,
1994,
1388,
1622,
13,
1014,
18,
8664,
12,
343,
16,
446,
1769,
565,
309,
261,
4099,
422,
446,
13,
1377,
288,
202,
267,
18,
1636,
2932,
5387,
3435,
3351,
8863,
202,
2463,
6876,
18,
5531,
31,
1377,
289,
565,
327,
1241,
18,
896,
12,
267,
16,
462,
16,
1056,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
855,
261,
13356,
316,
16,
509,
462,
16,
509,
1056,
13,
565,
1216,
2252,
18,
1594,
18,
14106,
16,
11517,
503,
225,
288,
565,
1056,
273,
300,
21,
31,
565,
364,
261,
25708,
13,
1377,
288,
202,
343,
273,
316,
18,
896,
5621,
202,
430,
261,
343,
411,
374,
13,
202,
225,
316,
18,
9339,
668,
2932,
21248,
6431,
1839,
13773,
261,
3001,
13,
462,
1769,
202,
430,
261,
343,
405,
374,
92,
23899,
13,
202,
225,
898,
31,
202,
474,
8035,
273,
6577,
18,
11052,
12443,
3001,
13,
462,
16,
1728,
1769,
202,
430,
261,
11052,
411,
374,
13,
202,
225,
288,
202,
565,
462,
273,
6577,
18,
869,
8915,
12443,
3001,
13,
462,
1769,
2
] |
cat2.addSubtask(cat2task5);
|
cat2task5.setCategory(cat2); cat2.addTask(cat2task5);
|
public void setUp() throws PartInitException{ MylarTasksPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage().showView("org.eclipse.mylar.tasks.ui.views.TaskListView"); File file = new File("foo" + MylarTasksPlugin.FILE_EXTENSION); TaskListManager manager = new TaskListManager(file); tlist = manager.createNewTaskList(); cat1 = new Task(MylarTasksPlugin.getTaskListManager().genUniqueTaskId(), "First Category"); cat1.setIsCategory(true); cat1task1 = new Task(MylarTasksPlugin.getTaskListManager().genUniqueTaskId(), "sub task 1"); cat1task1.setPriority("P1"); cat1task1.setCompleted(true); cat1.addSubtask(cat1task1); cat1task2 = new Task(MylarTasksPlugin.getTaskListManager().genUniqueTaskId(), "sub task 2"); cat1task2.setPriority("P2"); cat1.addSubtask(cat1task2); cat1task3 = new Task(MylarTasksPlugin.getTaskListManager().genUniqueTaskId(), "sub task 3"); cat1task3.setPriority("P3"); cat1task3.setCompleted(true); cat1.addSubtask(cat1task3); cat1task4 = new Task(MylarTasksPlugin.getTaskListManager().genUniqueTaskId(), "sub task 4"); cat1task4.setPriority("P4"); cat1.addSubtask(cat1task4); cat1task5 = new Task(MylarTasksPlugin.getTaskListManager().genUniqueTaskId(), "sub task 5"); cat1task5.setPriority("P5"); cat1task5.setCompleted(true); cat1.addSubtask(cat1task5); tlist.addRootTask(cat1); assertEquals(cat1.getChildren().size(), 5); cat2 = new Task(MylarTasksPlugin.getTaskListManager().genUniqueTaskId(), "Second Category"); cat2.setIsCategory(true); cat2task1 = new Task(MylarTasksPlugin.getTaskListManager().genUniqueTaskId(), "sub task 1"); cat2task1.setPriority("P1"); cat2.addSubtask(cat2task1); cat2task2 = new Task(MylarTasksPlugin.getTaskListManager().genUniqueTaskId(), "sub task 2"); cat2task2.setPriority("P2"); cat2task2.setCompleted(true); cat2.addSubtask(cat2task2); cat2task3 = new Task(MylarTasksPlugin.getTaskListManager().genUniqueTaskId(), "sub task 3"); cat2task3.setPriority("P3"); cat2.addSubtask(cat2task3); cat2task4 = new Task(MylarTasksPlugin.getTaskListManager().genUniqueTaskId(), "sub task 4"); cat2task4.setPriority("P4"); cat2task4.setCompleted(true); cat2.addSubtask(cat2task4); cat2task5 = new Task(MylarTasksPlugin.getTaskListManager().genUniqueTaskId(), "sub task 5"); cat2task5.setPriority("P5"); cat2.addSubtask(cat2task5); tlist.addRootTask(cat2); manager.saveTaskList(); }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/bfd6c75025dd41ab813783fc0743c23cfe1c2fc2/TaskListUiTest.java/clean/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListUiTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
24292,
1435,
1216,
6393,
2570,
503,
95,
9506,
202,
12062,
7901,
6685,
3773,
18,
588,
1868,
7675,
588,
2421,
22144,
7675,
588,
3896,
2421,
22144,
3829,
7675,
588,
3896,
1964,
7675,
4500,
1767,
2932,
3341,
18,
20416,
18,
4811,
7901,
18,
9416,
18,
4881,
18,
7061,
18,
2174,
682,
1767,
8863,
202,
202,
812,
585,
273,
394,
1387,
2932,
11351,
6,
397,
8005,
7901,
6685,
3773,
18,
3776,
67,
12796,
1769,
3639,
3837,
682,
1318,
3301,
273,
394,
3837,
682,
1318,
12,
768,
1769,
7734,
268,
1098,
273,
3301,
18,
2640,
1908,
2174,
682,
5621,
7734,
6573,
21,
273,
394,
3837,
12,
12062,
7901,
6685,
3773,
18,
588,
2174,
682,
1318,
7675,
4507,
6303,
30182,
9334,
315,
3759,
9856,
8863,
3639,
6573,
21,
18,
542,
2520,
4457,
12,
3767,
1769,
7734,
6573,
21,
4146,
21,
273,
394,
3837,
12,
12062,
7901,
6685,
3773,
18,
588,
2174,
682,
1318,
7675,
4507,
6303,
30182,
9334,
315,
1717,
1562,
404,
8863,
3639,
6573,
21,
4146,
21,
18,
542,
8183,
2932,
52,
21,
8863,
3639,
6573,
21,
4146,
21,
18,
542,
9556,
12,
3767,
1769,
202,
202,
2574,
21,
18,
1289,
1676,
4146,
12,
2574,
21,
4146,
21,
1769,
9506,
202,
2574,
21,
4146,
22,
273,
394,
3837,
12,
12062,
7901,
6685,
3773,
18,
588,
2174,
682,
1318,
7675,
4507,
6303,
30182,
9334,
315,
1717,
1562,
576,
8863,
202,
202,
2574,
21,
4146,
22,
18,
542,
8183,
2932,
52,
22,
8863,
202,
202,
2574,
21,
18,
1289,
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,
24292,
1435,
1216,
6393,
2570,
503,
95,
9506,
202,
12062,
7901,
6685,
3773,
18,
588,
1868,
7675,
588,
2421,
22144,
7675,
588,
3896,
2421,
22144,
3829,
7675,
588,
3896,
1964,
7675,
4500,
1767,
2932,
3341,
18,
20416,
18,
4811,
7901,
18,
9416,
18,
4881,
18,
7061,
18,
2174,
682,
1767,
8863,
202,
202,
812,
585,
273,
394,
1387,
2932,
11351,
6,
397,
8005,
7901,
6685,
3773,
18,
3776,
67,
12796,
1769,
3639,
3837,
682,
1318,
3301,
273,
394,
3837,
682,
1318,
12,
768,
1769,
7734,
268,
1098,
273,
3301,
18,
2640,
1908,
2174,
682,
5621,
7734,
6573,
21,
273,
394,
3837,
12,
12062,
7901,
6685,
3773,
18,
588,
2174,
682,
1318,
7675,
4507,
6303,
30182,
2
] |
Gossip ret=new Gossip(sender, id); if(digest != null) ret.digest=digest.copy(); if(not_seen != null) ret.not_seen=(Vector)not_seen.clone(); if(seen != null) ret.seen=(Vector)seen.clone(); return ret;
|
Gossip ret=new Gossip(sender, id); if(digest != null) ret.digest=digest.copy(); if(not_seen != null) ret.not_seen=(Vector)not_seen.clone(); if(seen != null) ret.seen=(Vector)seen.clone(); return ret;
|
public Gossip copy() { Gossip ret=new Gossip(sender, id); if(digest != null) ret.digest=digest.copy(); if(not_seen != null) ret.not_seen=(Vector)not_seen.clone(); if(seen != null) ret.seen=(Vector)seen.clone(); return ret; }
|
47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/e25f8abcd69bfb826f6572dbd8289617fc601a19/Gossip.java/clean/src/org/jgroups/protocols/pbcast/Gossip.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
30263,
1610,
1435,
288,
202,
43,
15616,
325,
33,
2704,
30263,
12,
15330,
16,
612,
1769,
202,
430,
12,
10171,
480,
446,
13,
202,
565,
325,
18,
10171,
33,
10171,
18,
3530,
5621,
202,
430,
12,
902,
67,
15156,
480,
446,
13,
202,
565,
325,
18,
902,
67,
15156,
28657,
5018,
13,
902,
67,
15156,
18,
14056,
5621,
202,
430,
12,
15156,
480,
446,
13,
202,
565,
325,
18,
15156,
28657,
5018,
13,
15156,
18,
14056,
5621,
202,
2463,
325,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
30263,
1610,
1435,
288,
202,
43,
15616,
325,
33,
2704,
30263,
12,
15330,
16,
612,
1769,
202,
430,
12,
10171,
480,
446,
13,
202,
565,
325,
18,
10171,
33,
10171,
18,
3530,
5621,
202,
430,
12,
902,
67,
15156,
480,
446,
13,
202,
565,
325,
18,
902,
67,
15156,
28657,
5018,
13,
902,
67,
15156,
18,
14056,
5621,
202,
430,
12,
15156,
480,
446,
13,
202,
565,
325,
18,
15156,
28657,
5018,
13,
15156,
18,
14056,
5621,
202,
2463,
325,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public static void handleOnRender( RowContent content, IRowData rowData,
|
public static void handleOnRender( RowContent content,
|
public static void handleOnRender( RowContent content, IRowData rowData, ExecutionContext context ) { try { ReportItemDesign rowDesign = ( ReportItemDesign ) content .getGenerateBy( ); IRowInstance row = new RowInstance( content, rowData, context ); if ( handleJS( row, rowDesign.getOnRender( ), context ).didRun( ) ) return; IRowEventHandler eh = getEventHandler( rowDesign, context ); if ( eh != null ) eh.onRender( row, context.getReportContext( ) ); } catch ( Exception e ) { addException( context, e ); } }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/c332d326b9697aa0e37846b9b0c7fd09f3641e6f/RowScriptExecutor.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/RowScriptExecutor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1640,
1398,
3420,
12,
6556,
1350,
913,
16,
467,
1999,
751,
24124,
16,
1082,
202,
3210,
1042,
819,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
4820,
1180,
15478,
1027,
15478,
273,
261,
8706,
1180,
15478,
262,
913,
6862,
202,
18,
588,
4625,
858,
12,
11272,
1082,
202,
45,
1999,
1442,
1027,
273,
394,
6556,
1442,
12,
913,
16,
24124,
16,
819,
11272,
1082,
202,
430,
261,
1640,
6479,
12,
1027,
16,
1027,
15478,
18,
588,
1398,
3420,
12,
262,
16,
819,
262,
18,
14044,
1997,
12,
262,
262,
9506,
202,
2463,
31,
1082,
202,
45,
1999,
16402,
20124,
273,
9832,
1503,
12,
1027,
15478,
16,
819,
11272,
1082,
202,
430,
261,
20124,
480,
446,
262,
9506,
202,
73,
76,
18,
265,
3420,
12,
1027,
16,
819,
18,
588,
4820,
1042,
12,
262,
11272,
202,
202,
97,
1044,
261,
1185,
425,
262,
202,
202,
95,
1082,
202,
1289,
503,
12,
819,
16,
425,
11272,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
1640,
1398,
3420,
12,
6556,
1350,
913,
16,
467,
1999,
751,
24124,
16,
1082,
202,
3210,
1042,
819,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
4820,
1180,
15478,
1027,
15478,
273,
261,
8706,
1180,
15478,
262,
913,
6862,
202,
18,
588,
4625,
858,
12,
11272,
1082,
202,
45,
1999,
1442,
1027,
273,
394,
6556,
1442,
12,
913,
16,
24124,
16,
819,
11272,
1082,
202,
430,
261,
1640,
6479,
12,
1027,
16,
1027,
15478,
18,
588,
1398,
3420,
12,
262,
16,
819,
262,
18,
14044,
1997,
12,
262,
262,
9506,
202,
2463,
31,
1082,
202,
45,
1999,
16402,
20124,
273,
9832,
1503,
12,
1027,
15478,
16,
819,
11272,
1082,
202,
430,
2
] |
Shape getPaintedArea(GraphicsNodeRenderContext rc);
|
Shape getPaintedArea();
|
Shape getPaintedArea(GraphicsNodeRenderContext rc);
|
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/32fa5d6f134dbc7519ade5bde79d3c0386deef5e/ShapePainter.java/buggy/sources/org/apache/batik/gvt/ShapePainter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
12383,
1689,
1598,
329,
5484,
12,
17558,
907,
3420,
1042,
4519,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
12383,
1689,
1598,
329,
5484,
12,
17558,
907,
3420,
1042,
4519,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
stmt = conn.prepareStatement("SELECT nickname FROM users WHERE id=?");
|
pstmt = conn.prepareStatement("SELECT nickname FROM users WHERE id=?");
|
public String getComments(Integer userId, Connection conn) throws RemoteException { StringBuffer html; PreparedStatement stmt = null; ResultSet rs = null; String comment=null, date=null; int authorId; // Try to find the comments corresponding for this user try { stmt = conn.prepareStatement("SELECT * FROM comments WHERE to_user_id=?"); stmt.setInt(1, userId.intValue()); rs = stmt.executeQuery(); stmt.close(); } catch (SQLException e) { try { if (stmt != null) stmt.close(); if (conn != null) conn.close(); } catch (Exception ignore) { } throw new RemoteException("Failed to get the comments " +e); } try { if (!rs.first()) html = new StringBuffer("<h3>There is no comment yet for this user.</h3><br>"); else { html = new StringBuffer("<br><hr><br><h3>Comments for this user</h3><br>"); html.append(printCommentHeader()); // Display each comment and the name of its author try { stmt = conn.prepareStatement("SELECT nickname FROM users WHERE id=?"); do { comment = rs.getString("comment"); date = rs.getString("date"); authorId = rs.getInt("from_user_id"); String authorName = "none"; ResultSet authorRS = null; stmt.setInt(1, authorId); authorRS = stmt.executeQuery(); if (authorRS.first()) authorName = authorRS.getString("nickname"); html.append(printComment(authorName, date, comment, authorId)); } while (rs.next()); } catch (Exception e) { try { if (stmt != null) stmt.close(); if (conn != null) conn.close(); } catch (Exception ignore) { } throw new RemoteException("This author does not exist (got exception: " +e+")<br>"); } html.append(printCommentFooter()); } if (stmt != null) stmt.close(); } catch (Exception e) { try { if (stmt != null) stmt.close(); if (conn != null) conn.close(); } catch (Exception ignore) { } throw new RemoteException("Exception getting comment list: " + e +"<br>"); } return html.toString(); }
|
5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/efbeb8e369248adae3e69657ced0c6d12c72dee1/SB_ViewUserInfoBean.java/clean/EJB_SessionBean/edu/rice/rubis/beans/SB_ViewUserInfoBean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
336,
9051,
12,
4522,
6249,
16,
4050,
1487,
13,
1216,
18361,
225,
288,
565,
6674,
1729,
31,
565,
16913,
3480,
273,
446,
31,
565,
10842,
3597,
6647,
273,
446,
31,
565,
514,
2879,
33,
2011,
16,
1509,
33,
2011,
31,
565,
509,
2869,
548,
31,
565,
368,
6161,
358,
1104,
326,
5678,
4656,
364,
333,
729,
565,
775,
565,
288,
1377,
3480,
273,
1487,
18,
9366,
3406,
2932,
4803,
380,
4571,
5678,
4852,
358,
67,
1355,
67,
350,
25501,
1769,
1377,
3480,
18,
542,
1702,
12,
21,
16,
6249,
18,
474,
620,
10663,
1377,
3597,
273,
3480,
18,
8837,
1138,
5621,
1377,
3480,
18,
4412,
5621,
565,
289,
565,
1044,
261,
23116,
425,
13,
565,
288,
1377,
775,
1377,
288,
3639,
309,
261,
10589,
480,
446,
13,
3480,
18,
4412,
5621,
3639,
309,
261,
4646,
480,
446,
13,
1487,
18,
4412,
5621,
1377,
289,
1377,
1044,
261,
503,
2305,
13,
1377,
288,
1377,
289,
1377,
604,
394,
18361,
2932,
2925,
358,
336,
326,
5678,
315,
397,
73,
1769,
565,
289,
565,
775,
377,
288,
1377,
309,
16051,
5453,
18,
3645,
10756,
4202,
1729,
273,
394,
6674,
2932,
32,
76,
23,
34,
9828,
353,
1158,
2879,
4671,
364,
333,
729,
17347,
76,
23,
4438,
2848,
2984,
1769,
1377,
469,
1377,
288,
3639,
1729,
273,
394,
6674,
2932,
32,
2848,
4438,
7256,
4438,
2848,
4438,
76,
23,
34,
9051,
364,
333,
729,
1757,
76,
23,
4438,
2848,
2984,
1769,
3639,
1729,
18,
6923,
12,
1188,
4469,
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,
336,
9051,
12,
4522,
6249,
16,
4050,
1487,
13,
1216,
18361,
225,
288,
565,
6674,
1729,
31,
565,
16913,
3480,
273,
446,
31,
565,
10842,
3597,
6647,
273,
446,
31,
565,
514,
2879,
33,
2011,
16,
1509,
33,
2011,
31,
565,
509,
2869,
548,
31,
565,
368,
6161,
358,
1104,
326,
5678,
4656,
364,
333,
729,
565,
775,
565,
288,
1377,
3480,
273,
1487,
18,
9366,
3406,
2932,
4803,
380,
4571,
5678,
4852,
358,
67,
1355,
67,
350,
25501,
1769,
1377,
3480,
18,
542,
1702,
12,
21,
16,
6249,
18,
474,
620,
10663,
1377,
3597,
273,
3480,
18,
8837,
1138,
5621,
1377,
3480,
18,
4412,
5621,
565,
289,
565,
1044,
261,
23116,
425,
13,
565,
288,
2
] |
menu.add(new JMenuItem( controller.getAction(HiViewerControl.VIEW_CGCI)));
|
private JMenu createViewMenu() { JMenu menu = new JMenu("View"); menu.setMnemonic(KeyEvent.VK_V); //menu.add(new JMenuItem(controller.getAction(HiViewerControl.VIEW_PDI))); menu.add(new JMenuItem( controller.getAction(HiViewerControl.VIEW_CGCI))); //menu.add(new JSeparator(JSeparator.HORIZONTAL)); JCheckBoxMenuItem item = new JCheckBoxMenuItem(); item.setSelected(false); item.setText(TreeViewAction.NAME); item.setAction(controller.getAction(HiViewerControl.TREE_VIEW)); //menu.add(item); item = new JCheckBoxMenuItem(); item.setSelected(true); item.setAction(controller.getAction(HiViewerControl.CLIPBOARD_VIEW)); item.setText(ClipBoardViewAction.NAME); //menu.add(item); item = new JCheckBoxMenuItem(); item.setSelected(model.isTitleBarVisible()); item.setAction(controller.getAction(HiViewerControl.SHOW_TITLEBAR)); menu.add(item); //item = new JCheckBoxMenuItem(); //item.setSelected(model.isRollOver()); //item.setAction(controller.getAction(HiViewerControl.ROLL_OVER)); //menu.add(item); menu.add(new JSeparator(SwingConstants.HORIZONTAL)); JMenuItem mi = new JMenuItem( controller.getAction(HiViewerControl.ZOOM_IN)); mi.setText(ZoomInAction.NAME); menu.add(mi); mi = new JMenuItem(controller.getAction(HiViewerControl.ZOOM_OUT)); mi.setText(ZoomOutAction.NAME); menu.add(mi); mi = new JMenuItem(controller.getAction(HiViewerControl.ZOOM_FIT)); mi.setText(ZoomFitAction.NAME); menu.add(mi); menu.add(new JSeparator(SwingConstants.HORIZONTAL)); menu.add(createLayoutMenu()); return menu; }
|
55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/ea7509babe2344eb702969105eb77096cc5b6bcf/HiViewerWin.java/buggy/SRC/org/openmicroscopy/shoola/agents/hiviewer/view/HiViewerWin.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
804,
4599,
15193,
4599,
1435,
565,
288,
3639,
804,
4599,
3824,
273,
394,
804,
4599,
2932,
1767,
8863,
3639,
3824,
18,
542,
29668,
20918,
12,
653,
1133,
18,
58,
47,
67,
58,
1769,
3639,
368,
5414,
18,
1289,
12,
2704,
804,
12958,
12,
5723,
18,
588,
1803,
12,
25009,
18415,
3367,
18,
12145,
67,
52,
2565,
3719,
1769,
3639,
3824,
18,
1289,
12,
2704,
804,
12958,
12,
18701,
2596,
18,
588,
1803,
12,
25009,
18415,
3367,
18,
12145,
67,
20585,
7266,
3719,
1769,
3639,
368,
5414,
18,
1289,
12,
2704,
804,
6581,
12,
46,
6581,
18,
44,
20344,
10019,
3639,
804,
19174,
12958,
761,
273,
394,
804,
19174,
12958,
5621,
3639,
761,
18,
542,
7416,
12,
5743,
1769,
3639,
761,
18,
542,
1528,
12,
2471,
1767,
1803,
18,
1985,
1769,
3639,
761,
18,
542,
1803,
12,
5723,
18,
588,
1803,
12,
25009,
18415,
3367,
18,
26557,
67,
12145,
10019,
3639,
368,
5414,
18,
1289,
12,
1726,
1769,
3639,
761,
273,
394,
804,
19174,
12958,
5621,
3639,
761,
18,
542,
7416,
12,
3767,
1769,
3639,
761,
18,
542,
1803,
12,
5723,
18,
588,
1803,
12,
25009,
18415,
3367,
18,
7697,
52,
5315,
8085,
67,
12145,
10019,
3639,
761,
18,
542,
1528,
12,
15339,
22233,
1767,
1803,
18,
1985,
1769,
3639,
368,
5414,
18,
1289,
12,
1726,
1769,
3639,
761,
273,
394,
804,
19174,
12958,
5621,
3639,
761,
18,
542,
7416,
12,
2284,
18,
291,
4247,
5190,
6207,
10663,
3639,
761,
18,
542,
1803,
12,
5723,
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,
3238,
804,
4599,
15193,
4599,
1435,
565,
288,
3639,
804,
4599,
3824,
273,
394,
804,
4599,
2932,
1767,
8863,
3639,
3824,
18,
542,
29668,
20918,
12,
653,
1133,
18,
58,
47,
67,
58,
1769,
3639,
368,
5414,
18,
1289,
12,
2704,
804,
12958,
12,
5723,
18,
588,
1803,
12,
25009,
18415,
3367,
18,
12145,
67,
52,
2565,
3719,
1769,
3639,
3824,
18,
1289,
12,
2704,
804,
12958,
12,
18701,
2596,
18,
588,
1803,
12,
25009,
18415,
3367,
18,
12145,
67,
20585,
7266,
3719,
1769,
3639,
368,
5414,
18,
1289,
12,
2704,
804,
6581,
12,
46,
6581,
18,
44,
20344,
10019,
3639,
804,
19174,
12958,
761,
273,
394,
804,
19174,
12958,
5621,
3639,
761,
18,
542,
7416,
12,
5743,
2
] |
|
if(entry.received_msgs != null) { entry.received_msgs.add(seqno, msg);
|
entry.received_msgs.add(seqno, msg);
|
private void handleDataReceived(Object sender, long seqno, boolean first, Message msg) { Entry entry; Message m; if(trace) log.trace(new StringBuffer("[").append(local_addr).append("] <-- DATA(").append(sender). append(": #").append(seqno).append(", first=").append(first)); synchronized(connections) { entry=(Entry)connections.get(sender); if(entry == null) { entry=new Entry(); connections.put(sender, entry); } } synchronized(entry) { if(entry.received_msgs == null) { if(first) entry.received_msgs=new AckReceiverWindow(seqno); else { if(operational) { if(warn) log.warn(sender + "#" + seqno + " is not tagged as the first message sent by " + sender + "; however, the table for received messages from " + sender + " is null. We probably " + "haven't received the first message from " + sender + ". Discarding message: " + msg.toString() + ", headers (excluding UnicastHeader): " + msg.getHeaders()); return; } } } } if(entry.received_msgs != null) { entry.received_msgs.add(seqno, msg); // Try to remove (from the AckReceiverWindow) as many messages as possible as pass them up while((m=entry.received_msgs.remove()) != null) passUp(new Event(Event.MSG, m)); } }
|
51463 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51463/1295698800c791015ec075b86e2c77d7deef0b52/UNICAST.java/clean/src/org/jgroups/protocols/UNICAST.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1640,
751,
8872,
12,
921,
5793,
16,
1525,
30734,
16,
1250,
1122,
16,
2350,
1234,
13,
288,
3639,
3841,
565,
1241,
31,
3639,
2350,
225,
312,
31,
3639,
309,
12,
5129,
13,
5411,
613,
18,
5129,
12,
2704,
6674,
2932,
9614,
2934,
6923,
12,
3729,
67,
4793,
2934,
6923,
2932,
65,
411,
413,
8730,
2932,
2934,
6923,
12,
15330,
2934,
8227,
714,
2932,
30,
468,
20387,
6923,
12,
5436,
2135,
2934,
6923,
2932,
16,
1122,
1546,
2934,
6923,
12,
3645,
10019,
3639,
3852,
12,
13313,
13,
288,
5411,
1241,
28657,
1622,
13,
13313,
18,
588,
12,
15330,
1769,
5411,
309,
12,
4099,
422,
446,
13,
288,
7734,
1241,
33,
2704,
3841,
5621,
7734,
5921,
18,
458,
12,
15330,
16,
1241,
1769,
5411,
289,
3639,
289,
3639,
3852,
12,
4099,
13,
288,
5411,
309,
12,
4099,
18,
15213,
67,
27439,
422,
446,
13,
288,
7734,
309,
12,
3645,
13,
10792,
1241,
18,
15213,
67,
27439,
33,
2704,
22322,
12952,
3829,
12,
5436,
2135,
1769,
7734,
469,
288,
10792,
309,
12,
22716,
13,
288,
13491,
309,
12,
8935,
13,
18701,
613,
18,
8935,
12,
15330,
397,
13092,
397,
30734,
397,
315,
353,
486,
12503,
487,
326,
1122,
883,
3271,
635,
315,
397,
5793,
397,
19694,
13636,
14025,
16,
326,
1014,
364,
5079,
2743,
628,
315,
397,
5793,
397,
315,
353,
446,
18,
1660,
8656,
315,
397,
19694,
315,
76,
7638,
1404,
5079,
326,
1122,
883,
628,
315,
397,
5793,
397,
3552,
21643,
310,
883,
30,
315,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1640,
751,
8872,
12,
921,
5793,
16,
1525,
30734,
16,
1250,
1122,
16,
2350,
1234,
13,
288,
3639,
3841,
565,
1241,
31,
3639,
2350,
225,
312,
31,
3639,
309,
12,
5129,
13,
5411,
613,
18,
5129,
12,
2704,
6674,
2932,
9614,
2934,
6923,
12,
3729,
67,
4793,
2934,
6923,
2932,
65,
411,
413,
8730,
2932,
2934,
6923,
12,
15330,
2934,
8227,
714,
2932,
30,
468,
20387,
6923,
12,
5436,
2135,
2934,
6923,
2932,
16,
1122,
1546,
2934,
6923,
12,
3645,
10019,
3639,
3852,
12,
13313,
13,
288,
5411,
1241,
28657,
1622,
13,
13313,
18,
588,
12,
15330,
1769,
5411,
309,
12,
4099,
422,
446,
13,
288,
7734,
1241,
33,
2704,
3841,
5621,
7734,
5921,
18,
458,
2
] |
fOutputViewer.removeSelectionChangedListener(fMultiActionHandler); fInputGroup.getSourceViewer().removeSelectionChangedListener(fMultiActionHandler);
|
try { fConsole.getDocument().removeDocumentListener(fFindReplaceUpdater); fOutputViewer.removeSelectionChangedListener(fMultiActionHandler); fInputGroup.getSourceViewer().removeSelectionChangedListener(fMultiActionHandler); } catch (Exception e) { NicoUIPlugin.logError(NicoUIPlugin.INTERNAL_ERROR, Messages.Console_error_UnexpectedException_message, e); }
|
public void dispose() { fConsole.removePropertyChangeListener(this); if (fIsCreated) { // control created fIsCreated = false; fOutputViewer.removeSelectionChangedListener(fMultiActionHandler); fInputGroup.getSourceViewer().removeSelectionChangedListener(fMultiActionHandler); fMultiActionHandler.dispose(); fMultiActionHandler = null; fFindReplaceAction = null; fOutputCopyAction = null; fOutputPasteAction = null; fOutputSelectAllAction = null; fOutputClearAllAction = null; fInputDeleteAction = null; fInputCutAction = null; fInputCopyAction = null; fInputPasteAction = null; fInputSelectAllAction = null; fInputUndoAction = null; DebugPlugin debug = DebugPlugin.getDefault(); if (debug != null) { debug.removeDebugEventListener(fDebugListener); } fDebugListener = null; fRemoveAction.dispose(); fRemoveAction = null; fRemoveAllAction.dispose(); fRemoveAllAction = null; fTerminateAction.dispose(); fTerminateAction = null; fOutputViewer = null; } if (fInputGroup != null) { fInputGroup.dispose(); fInputGroup = null; } }
|
47575 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47575/d9b139ef35a1bb0fd66fe4ddaa2139426f679b4f/NIConsolePage.java/clean/de.walware.statet.nico.ui/src/de/walware/statet/nico/ui/console/NIConsolePage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
15825,
1435,
288,
202,
202,
74,
10215,
18,
4479,
1396,
15744,
12,
2211,
1769,
9506,
202,
430,
261,
74,
2520,
6119,
13,
288,
368,
3325,
2522,
1082,
202,
74,
2520,
6119,
273,
629,
31,
1082,
202,
74,
1447,
18415,
18,
4479,
6233,
5033,
2223,
12,
74,
5002,
1803,
1503,
1769,
1082,
202,
74,
1210,
1114,
18,
588,
1830,
18415,
7675,
4479,
6233,
5033,
2223,
12,
74,
5002,
1803,
1503,
1769,
1082,
202,
74,
5002,
1803,
1503,
18,
2251,
4150,
5621,
1082,
202,
74,
5002,
1803,
1503,
273,
446,
31,
25083,
202,
74,
3125,
5729,
1803,
273,
446,
31,
25083,
202,
74,
1447,
2951,
1803,
273,
446,
31,
1082,
202,
74,
1447,
52,
14725,
1803,
273,
446,
31,
1082,
202,
74,
1447,
3391,
1595,
1803,
273,
446,
31,
1082,
202,
74,
1447,
9094,
1595,
1803,
273,
446,
31,
25083,
202,
74,
1210,
2613,
1803,
273,
446,
31,
1082,
202,
74,
1210,
15812,
1803,
273,
446,
31,
1082,
202,
74,
1210,
2951,
1803,
273,
446,
31,
1082,
202,
74,
1210,
52,
14725,
1803,
273,
446,
31,
1082,
202,
74,
1210,
3391,
1595,
1803,
273,
446,
31,
1082,
202,
74,
1210,
31224,
1803,
273,
446,
31,
25083,
202,
2829,
3773,
1198,
273,
4015,
3773,
18,
588,
1868,
5621,
1082,
202,
430,
261,
4148,
480,
446,
13,
288,
9506,
202,
4148,
18,
4479,
2829,
7375,
12,
74,
2829,
2223,
1769,
1082,
202,
97,
1082,
202,
74,
2829,
2223,
273,
446,
31,
1082,
202,
74,
3288,
1803,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
15825,
1435,
288,
202,
202,
74,
10215,
18,
4479,
1396,
15744,
12,
2211,
1769,
9506,
202,
430,
261,
74,
2520,
6119,
13,
288,
368,
3325,
2522,
1082,
202,
74,
2520,
6119,
273,
629,
31,
1082,
202,
74,
1447,
18415,
18,
4479,
6233,
5033,
2223,
12,
74,
5002,
1803,
1503,
1769,
1082,
202,
74,
1210,
1114,
18,
588,
1830,
18415,
7675,
4479,
6233,
5033,
2223,
12,
74,
5002,
1803,
1503,
1769,
1082,
202,
74,
5002,
1803,
1503,
18,
2251,
4150,
5621,
1082,
202,
74,
5002,
1803,
1503,
273,
446,
31,
25083,
202,
74,
3125,
5729,
1803,
273,
446,
31,
25083,
202,
74,
1447,
2951,
1803,
273,
446,
31,
1082,
202,
74,
1447,
52,
14725,
1803,
273,
2
] |
ci.nullable = java.sql.ResultSetMetaData.columnNullable;
|
ci.nullable = java.sql.ResultSetMetaData.columnNullable;
|
static int readType(ResponseStream in, ColInfo ci) throws IOException, ProtocolException { boolean isTds8 = in.getTdsVersion() == TdsCore.TDS80; int bytesRead = 1; // Get the TDS data type code int type = in.read(); if (types[type] == null) { throw new ProtocolException("Invalid TDS data type 0x" + Integer.toHexString(type)); } ci.tdsType = type; ci.jdbcType = types[type].jdbcType; ci.displaySize = -1; ci.tableName = ""; ci.bufferSize = types[type].size; ci.nullable = java.sql.ResultSetMetaData.columnNoNulls; // Now get the buffersize if required if (ci.bufferSize == -5) { // sql_variant ci.bufferSize = in.readInt(); bytesRead += 4; } else if (ci.bufferSize == -4) { // text or image ci.bufferSize = in.readInt(); if (isTds8) bytesRead += getCollation(in, ci); int lenName = in.readShort(); ci.tableName = in.readString(lenName); bytesRead += 6 + ((in.getTdsVersion() >= TdsCore.TDS70)? lenName * 2: lenName); } else if (ci.bufferSize == -2) { // longvarchar longvarbinary ci.bufferSize = in.readShort(); if (isTds8) bytesRead += getCollation(in, ci); bytesRead += 2; } else if (ci.bufferSize == -1) { // varchar varbinary decimal etc bytesRead += 1; ci.bufferSize = in.read(); } // Set scale for money and date types if (isCurrency(ci)) { ci.scale = 4; } else if (type == SYBDATETIME ||(type == SYBDATETIMN && ci.bufferSize == 8)) { ci.scale = 3; } // Set default displaySize and precision ci.displaySize = types[type].displaySize; ci.precision = types[type].precision; ci.sqlType = types[type].sqlType; // Now fine tune sizes for specific types if (type == SYBDATETIMN) { ci.nullable = java.sql.ResultSetMetaData.columnNullable; if (ci.bufferSize == 8) { ci.displaySize = types[SYBDATETIME].displaySize; ci.precision = types[SYBDATETIME].precision; } else { ci.displaySize = types[SYBDATETIME4].displaySize; ci.precision = types[SYBDATETIME4].precision; ci.sqlType = types[SYBDATETIME4].sqlType; } } else if (type == SYBFLTN) { ci.nullable = java.sql.ResultSetMetaData.columnNullable; if (ci.bufferSize == 8) { ci.displaySize = types[SYBFLT8].displaySize; ci.precision = types[SYBFLT8].precision; } else { ci.displaySize = types[SYBREAL].displaySize; ci.precision = types[SYBREAL].precision; ci.jdbcType = java.sql.Types.FLOAT; ci.sqlType = types[SYBREAL].sqlType; } } else if (type == SYBINTN) { ci.nullable = java.sql.ResultSetMetaData.columnNullable; if (ci.bufferSize == 8) { ci.displaySize = types[SYBINT8].displaySize; ci.precision = types[SYBINT8].precision; ci.sqlType = types[SYBINT8].sqlType; } else if (ci.bufferSize == 4) { ci.displaySize = types[SYBINT4].displaySize; ci.precision = types[SYBINT4].precision; } else if (ci.bufferSize == 2) { ci.displaySize = types[SYBINT2].displaySize; ci.precision = types[SYBINT2].precision; ci.jdbcType = java.sql.Types.SMALLINT; ci.sqlType = types[SYBINT2].sqlType; } else { ci.displaySize = types[SYBINT1].displaySize; ci.precision = types[SYBINT1].precision; ci.jdbcType = java.sql.Types.TINYINT; ci.sqlType = types[SYBINT1].sqlType; } } else if (type == SYBMONEYN) { ci.nullable = java.sql.ResultSetMetaData.columnNullable; if (ci.bufferSize == 8) { ci.displaySize = types[SYBMONEY].displaySize; ci.precision = types[SYBMONEY].precision; } else { ci.displaySize = types[SYBMONEY4].displaySize; ci.precision = types[SYBMONEY4].precision; ci.sqlType = types[SYBMONEY4].sqlType; } } // Set sizes for character types if (ci.precision == -1) { ci.precision = ci.bufferSize; if (ci.displaySize == -2) { ci.displaySize = ci.bufferSize / 2; } else if (ci.displaySize == 2) { ci.displaySize = ci.precision * 2; } else { ci.displaySize = ci.precision; } } // Read in scale and precision for decimal types if (type == SYBDECIMAL || type == SYBNUMERIC) { ci.precision = in.read(); ci.scale = in.read(); ci.displaySize = ((ci.scale > 0)? 2 : 1) + ci.precision; bytesRead += 2; StringBuffer tmp = new StringBuffer(16); tmp.append(types[type].sqlType).append('(').append(ci.precision); if (ci.scale > 0) tmp.append(',').append(ci.scale); tmp.append(')'); ci.sqlType = tmp.toString(); } return bytesRead; }
|
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/067057cf04b78c031c712ba0128ad1b4322205ff/TdsData.java/buggy/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/TdsData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
509,
855,
559,
12,
1064,
1228,
316,
16,
1558,
966,
9039,
13,
565,
1216,
1860,
16,
4547,
503,
288,
3639,
1250,
353,
56,
2377,
28,
273,
316,
18,
588,
56,
2377,
1444,
1435,
422,
399,
2377,
4670,
18,
56,
3948,
3672,
31,
3639,
509,
17244,
273,
404,
31,
3639,
368,
968,
326,
399,
3948,
501,
618,
981,
3639,
509,
618,
273,
316,
18,
896,
5621,
3639,
309,
261,
2352,
63,
723,
65,
422,
446,
13,
288,
5411,
604,
394,
4547,
503,
2932,
1941,
399,
3948,
501,
618,
374,
92,
6,
397,
2144,
18,
869,
14866,
12,
723,
10019,
3639,
289,
3639,
9039,
18,
88,
2377,
559,
377,
273,
618,
31,
3639,
9039,
18,
24687,
559,
565,
273,
1953,
63,
723,
8009,
24687,
559,
31,
3639,
9039,
18,
5417,
1225,
273,
300,
21,
31,
3639,
9039,
18,
18033,
282,
273,
1408,
31,
3639,
9039,
18,
4106,
1225,
225,
273,
1953,
63,
723,
8009,
1467,
31,
3639,
9039,
18,
20247,
565,
273,
2252,
18,
4669,
18,
13198,
6998,
18,
2827,
2279,
31326,
31,
3639,
368,
4494,
336,
326,
9664,
554,
309,
1931,
3639,
309,
261,
8450,
18,
4106,
1225,
422,
300,
25,
13,
288,
5411,
368,
1847,
67,
8688,
5411,
9039,
18,
4106,
1225,
273,
316,
18,
896,
1702,
5621,
5411,
17244,
1011,
1059,
31,
3639,
289,
469,
309,
261,
8450,
18,
4106,
1225,
422,
300,
24,
13,
288,
5411,
368,
977,
578,
1316,
5411,
9039,
18,
4106,
1225,
273,
316,
18,
896,
1702,
5621,
5411,
309,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
509,
855,
559,
12,
1064,
1228,
316,
16,
1558,
966,
9039,
13,
565,
1216,
1860,
16,
4547,
503,
288,
3639,
1250,
353,
56,
2377,
28,
273,
316,
18,
588,
56,
2377,
1444,
1435,
422,
399,
2377,
4670,
18,
56,
3948,
3672,
31,
3639,
509,
17244,
273,
404,
31,
3639,
368,
968,
326,
399,
3948,
501,
618,
981,
3639,
509,
618,
273,
316,
18,
896,
5621,
3639,
309,
261,
2352,
63,
723,
65,
422,
446,
13,
288,
5411,
604,
394,
4547,
503,
2932,
1941,
399,
3948,
501,
618,
374,
92,
6,
397,
2144,
18,
869,
14866,
12,
723,
10019,
3639,
289,
3639,
9039,
18,
88,
2377,
559,
377,
273,
618,
31,
3639,
9039,
18,
24687,
559,
565,
273,
2
] |
public synchronized void projectClosed()
|
public void projectClosed()
|
public synchronized void projectClosed() { clearWorkingCopyMaps(); }
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/8c4c03ed87f5ba92a46a042a6bd51df21862c6ec/GeneratedFileManager.java/clean/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
1984,
7395,
1435,
202,
95,
202,
202,
8507,
14836,
2951,
8903,
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,
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
202,
95,
202,
202,
8507,
14836,
2951,
8903,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
"WelcomePageSelectionDialog.title", "WelcomePageSelectionDialog.message",
|
IDEWorkbenchMessages.getString("WelcomePageSelectionDialog.title"), IDEWorkbenchMessages.getString("WelcomePageSelectionDialog.message"),
|
private AboutInfo promptForFeature() throws WorkbenchException { // Ask the user to select a feature AboutInfo[] features = IDEWorkbenchPlugin.getDefault().getFeatureInfos(); ArrayList welcomeFeatures = new ArrayList(); for (int i = 0; i < features.length; i++) { if (features[i].getWelcomePageURL() != null) welcomeFeatures.add(features[i]); } Shell shell = workbenchWindow.getShell(); if (welcomeFeatures.size() == 0) { MessageDialog.openInformation( shell, IDEWorkbenchMessages.getString("QuickStartMessageDialog.title"), //$NON-NLS-1$ IDEWorkbenchMessages.getString("QuickStartMessageDialog.message")); //$NON-NLS-1$ return null; } features = new AboutInfo[welcomeFeatures.size()]; welcomeFeatures.toArray(features); AboutInfo primaryFeature = IDEWorkbenchPlugin.getDefault().getPrimaryInfo(); FeatureSelectionDialog d = new FeatureSelectionDialog( shell, features, primaryFeature, "WelcomePageSelectionDialog.title", //$NON-NLS-1$ "WelcomePageSelectionDialog.message", //$NON-NLS-1$ IHelpContextIds.WELCOME_PAGE_SELECTION_DIALOG); if (d.open() != Window.OK || d.getResult().length != 1) return null; return (AboutInfo) d.getResult()[0]; }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/1a7e41347fb7a8f3442ccef1d6f4235ecd056a57/QuickStartAction.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/QuickStartAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
9771,
659,
966,
6866,
1290,
4595,
1435,
1216,
4147,
22144,
503,
288,
202,
202,
759,
25747,
326,
729,
358,
2027,
279,
2572,
202,
202,
24813,
966,
8526,
4467,
273,
1599,
41,
2421,
22144,
3773,
18,
588,
1868,
7675,
588,
4595,
7655,
5621,
202,
202,
19558,
28329,
8696,
273,
394,
2407,
5621,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
4467,
18,
2469,
31,
277,
27245,
288,
1082,
202,
430,
261,
7139,
63,
77,
8009,
588,
59,
16312,
1964,
1785,
1435,
480,
446,
13,
9506,
202,
91,
16312,
8696,
18,
1289,
12,
7139,
63,
77,
19226,
202,
202,
97,
202,
202,
13220,
5972,
273,
1440,
22144,
3829,
18,
588,
13220,
5621,
202,
202,
430,
261,
91,
16312,
8696,
18,
1467,
1435,
422,
374,
13,
288,
1082,
202,
1079,
6353,
18,
3190,
5369,
12,
9506,
202,
10304,
16,
4697,
202,
10385,
2421,
22144,
5058,
18,
588,
780,
2932,
13663,
1685,
1079,
6353,
18,
2649,
6,
3631,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
10385,
2421,
22144,
5058,
18,
588,
780,
2932,
13663,
1685,
1079,
6353,
18,
2150,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
2463,
446,
31,
202,
202,
97,
202,
202,
7139,
273,
394,
9771,
659,
966,
63,
91,
16312,
8696,
18,
1467,
1435,
15533,
202,
202,
91,
16312,
8696,
18,
31447,
12,
7139,
1769,
202,
202,
24813,
966,
3354,
4595,
273,
1599,
41,
2421,
22144,
3773,
18,
588,
1868,
7675,
588,
6793,
966,
5621,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
9771,
659,
966,
6866,
1290,
4595,
1435,
1216,
4147,
22144,
503,
288,
202,
202,
759,
25747,
326,
729,
358,
2027,
279,
2572,
202,
202,
24813,
966,
8526,
4467,
273,
1599,
41,
2421,
22144,
3773,
18,
588,
1868,
7675,
588,
4595,
7655,
5621,
202,
202,
19558,
28329,
8696,
273,
394,
2407,
5621,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
4467,
18,
2469,
31,
277,
27245,
288,
1082,
202,
430,
261,
7139,
63,
77,
8009,
588,
59,
16312,
1964,
1785,
1435,
480,
446,
13,
9506,
202,
91,
16312,
8696,
18,
1289,
12,
7139,
63,
77,
19226,
202,
202,
97,
202,
202,
13220,
5972,
273,
1440,
22144,
3829,
18,
588,
13220,
5621,
202,
202,
430,
2
] |
return m;
|
protected Map readMap(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); Map m = new HashMap(size); for (int i = 0; i < size; i++) { String key = in.readUTF(); byte type = in.readByte(); Object value = null; switch (type) { case BYTE : value = new Byte(in.readByte()); break; case SHORT : value = new Short(in.readShort()); break; case INT : value = new Integer(in.readInt()); break; case LONG : value = new Long(in.readLong()); break; case FLOAT : value = new Float(in.readFloat()); break; case DOUBLE : value = new Double(in.readDouble()); break; case BOOLEAN : value = Primitives.valueOf(in.readBoolean()); break; case STRING : value = in.readUTF(); break; default : value = in.readObject(); } m.put(key, value); } return m; }
|
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/bb5207822a56158d5b94faff7c6dbe5f094f6f4c/RoutableSupport.java/clean/src/main/org/jboss/messaging/core/message/RoutableSupport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
1635,
855,
863,
12,
921,
1210,
316,
13,
1216,
1860,
16,
10403,
282,
288,
1377,
509,
963,
273,
316,
18,
896,
1702,
5621,
1377,
1635,
312,
273,
394,
4317,
12,
1467,
1769,
1377,
364,
261,
474,
277,
273,
374,
31,
277,
411,
963,
31,
277,
27245,
1377,
288,
540,
514,
498,
273,
316,
18,
896,
5159,
5621,
540,
1160,
618,
273,
316,
18,
896,
3216,
5621,
540,
1033,
460,
273,
446,
31,
540,
1620,
261,
723,
13,
540,
288,
5411,
648,
20660,
294,
9079,
460,
273,
394,
3506,
12,
267,
18,
896,
3216,
10663,
9079,
898,
31,
5411,
648,
20079,
294,
9079,
460,
273,
394,
7925,
12,
267,
18,
896,
4897,
10663,
9079,
898,
31,
5411,
648,
6137,
294,
9079,
460,
273,
394,
2144,
12,
267,
18,
896,
1702,
10663,
9079,
898,
31,
5411,
648,
14011,
294,
9079,
460,
273,
394,
3407,
12,
267,
18,
896,
3708,
10663,
9079,
898,
31,
5411,
648,
15483,
294,
9079,
460,
273,
394,
5450,
12,
267,
18,
896,
4723,
10663,
9079,
898,
31,
5411,
648,
14918,
294,
9079,
460,
273,
394,
3698,
12,
267,
18,
896,
5265,
10663,
9079,
898,
31,
5411,
648,
18993,
294,
9079,
460,
273,
2301,
18116,
18,
1132,
951,
12,
267,
18,
896,
5507,
10663,
9079,
898,
31,
5411,
648,
9469,
294,
9079,
460,
273,
316,
18,
896,
5159,
5621,
9079,
898,
31,
5411,
805,
294,
9079,
460,
273,
316,
18,
896,
921,
5621,
540,
289,
540,
312,
18,
458,
12,
856,
16,
460,
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,
565,
4750,
1635,
855,
863,
12,
921,
1210,
316,
13,
1216,
1860,
16,
10403,
282,
288,
1377,
509,
963,
273,
316,
18,
896,
1702,
5621,
1377,
1635,
312,
273,
394,
4317,
12,
1467,
1769,
1377,
364,
261,
474,
277,
273,
374,
31,
277,
411,
963,
31,
277,
27245,
1377,
288,
540,
514,
498,
273,
316,
18,
896,
5159,
5621,
540,
1160,
618,
273,
316,
18,
896,
3216,
5621,
540,
1033,
460,
273,
446,
31,
540,
1620,
261,
723,
13,
540,
288,
5411,
648,
20660,
294,
9079,
460,
273,
394,
3506,
12,
267,
18,
896,
3216,
10663,
9079,
898,
31,
5411,
648,
20079,
294,
9079,
460,
273,
394,
7925,
12,
267,
18,
896,
4897,
10663,
9079,
898,
31,
5411,
648,
2
] |
|
if (TasksUiPlugin.getDefault() != null && TasksUiPlugin.getDefault().isShellActive() || forceBackgroundSave) {
|
if (TasksUiPlugin.getDefault() != null && TasksUiPlugin.getDefault().isShellActive() || forceBackgroundSave) {
|
public void saveRequested() { if (TasksUiPlugin.getDefault() != null && TasksUiPlugin.getDefault().isShellActive() || forceBackgroundSave) { try { saveTaskList(true); } catch (Exception e) { MylarStatusHandler.fail(e, "Could not auto save task list", false); } } }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/d0eaa0b6939d7d8c5517e064f3e21e11973f3ba3/TaskListSaveManager.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskListSaveManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1923,
11244,
1435,
288,
202,
202,
430,
261,
6685,
13943,
3773,
18,
588,
1868,
1435,
480,
446,
597,
20350,
13943,
3773,
18,
588,
1868,
7675,
291,
13220,
3896,
1435,
9506,
202,
20081,
2944,
8199,
4755,
13,
288,
1082,
202,
698,
288,
9506,
202,
5688,
2174,
682,
12,
3767,
1769,
1082,
202,
97,
1044,
261,
503,
425,
13,
288,
9506,
202,
12062,
7901,
1482,
1503,
18,
6870,
12,
73,
16,
315,
4445,
486,
3656,
1923,
1562,
666,
3113,
629,
1769,
1082,
202,
97,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1923,
11244,
1435,
288,
202,
202,
430,
261,
6685,
13943,
3773,
18,
588,
1868,
1435,
480,
446,
597,
20350,
13943,
3773,
18,
588,
1868,
7675,
291,
13220,
3896,
1435,
9506,
202,
20081,
2944,
8199,
4755,
13,
288,
1082,
202,
698,
288,
9506,
202,
5688,
2174,
682,
12,
3767,
1769,
1082,
202,
97,
1044,
261,
503,
425,
13,
288,
9506,
202,
12062,
7901,
1482,
1503,
18,
6870,
12,
73,
16,
315,
4445,
486,
3656,
1923,
1562,
666,
3113,
629,
1769,
1082,
202,
97,
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
] |
public void processActionsElement(Element element, ClassLoader loader, PluginId pluginId) { if (LOG.isDebugEnabled()) { LOG.debug("enter: processActionsNode(" + element.getName() + ")"); } if (!ACTIONS_ELEMENT_NAME.equals(element.getName())) { LOG.error("unexpected name of element \"" + element.getName() + "\""); return; } synchronized (myLock) { for (final Object o : element.getChildren()) { Element child = (Element)o; String name = child.getName(); if (ACTION_ELEMENT_NAME.equals(name)) { AnAction action = processActionElement(child, loader, pluginId); if (action != null) { assertActionIsGroupOrStub(action); } } else if (GROUP_ELEMENT_NAME.equals(name)) { processGroupElement(child, loader, pluginId); } else if (SEPARATOR_ELEMENT_NAME.equals(name)) { processSeparatorNode(null, child); } else { LOG.error("unexpected name of element \"" + name + "\n"); } } } }
|
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/4972de74093751aa507c641e7a852c8feb15d5e3/ActionManagerImpl.java/clean/action-system/impl/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
2567,
6100,
1046,
12,
1046,
2956,
16,
7805,
6714,
16,
3773,
548,
4094,
548,
15329,
430,
12,
4842,
18,
291,
2829,
1526,
10756,
95,
4842,
18,
4148,
2932,
2328,
30,
2567,
6100,
907,
2932,
15,
2956,
18,
17994,
1435,
9078,
2225,
1769,
97,
430,
12,
5,
12249,
55,
67,
10976,
67,
1985,
18,
14963,
12,
2956,
18,
17994,
1435,
3719,
95,
4842,
18,
1636,
2932,
21248,
529,
792,
2956,
8530,
15,
2956,
18,
17994,
1435,
9078,
8530,
1769,
2463,
31,
97,
22043,
12,
4811,
2531,
15329,
1884,
12,
6385,
921,
83,
30,
2956,
18,
588,
4212,
10756,
95,
1046,
3624,
28657,
1046,
13,
83,
31,
780,
529,
33,
3624,
18,
17994,
5621,
430,
12,
12249,
67,
10976,
67,
1985,
18,
14963,
12,
529,
3719,
95,
979,
1803,
1128,
33,
2567,
1803,
1046,
12,
3624,
16,
6714,
16,
4094,
548,
1769,
430,
12,
1128,
5,
33,
2011,
15329,
11231,
1803,
2520,
1114,
1162,
11974,
12,
1128,
1769,
9090,
12107,
430,
12,
8468,
67,
10976,
67,
1985,
18,
14963,
12,
529,
3719,
95,
2567,
1114,
1046,
12,
3624,
16,
6714,
16,
4094,
548,
1769,
97,
12107,
430,
12,
4550,
67,
10976,
67,
1985,
18,
14963,
12,
529,
3719,
95,
2567,
6581,
907,
12,
2011,
16,
3624,
1769,
97,
12107,
95,
4842,
18,
1636,
2932,
21248,
529,
792,
2956,
8530,
15,
529,
9078,
64,
82,
8863,
9090,
9090,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
2567,
6100,
1046,
12,
1046,
2956,
16,
7805,
6714,
16,
3773,
548,
4094,
548,
15329,
430,
12,
4842,
18,
291,
2829,
1526,
10756,
95,
4842,
18,
4148,
2932,
2328,
30,
2567,
6100,
907,
2932,
15,
2956,
18,
17994,
1435,
9078,
2225,
1769,
97,
430,
12,
5,
12249,
55,
67,
10976,
67,
1985,
18,
14963,
12,
2956,
18,
17994,
1435,
3719,
95,
4842,
18,
1636,
2932,
21248,
529,
792,
2956,
8530,
15,
2956,
18,
17994,
1435,
9078,
8530,
1769,
2463,
31,
97,
22043,
12,
4811,
2531,
15329,
1884,
12,
6385,
921,
83,
30,
2956,
18,
588,
4212,
10756,
95,
1046,
3624,
28657,
1046,
13,
83,
31,
780,
529,
33,
3624,
18,
17994,
5621,
430,
12,
12249,
67,
10976,
2
] |
||
public int print(Graphics _gfx, PageFormat pageFormat, int pageIndex) throws PrinterException
|
public void print()
|
public int print(Graphics _gfx, PageFormat pageFormat, int pageIndex) throws PrinterException { if(pageIndex > currentPage + 1) { for(int i = currentPage; i < pageIndex; i++) { printPage(_gfx,pageFormat,i,true); } currentPage = pageIndex - 1; } if(pageIndex == currentPage + 1) { if(end) { view.getStatus().setMessage(null); return NO_SUCH_PAGE; } currentPageStart = currentPhysicalLine; currentPage = pageIndex; } else if(pageIndex == currentPage) { currentPhysicalLine = currentPageStart; // show the message in both the view's status bar, and the // I/O progress monitor Object[] args = new Object[] { new Integer(pageIndex + 1) }; String message = jEdit.getProperty("view.status.print",args); view.getStatus().setMessage(message); setStatus(message); } printPage(_gfx,pageFormat,pageIndex,true); return PAGE_EXISTS; } //}}}
|
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/61756b37c0b60f83b74c1f28f6cd6dc9d47ac5bf/BufferPrintable.java/buggy/org/gjt/sp/jedit/print/BufferPrintable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
1172,
12,
17558,
389,
75,
19595,
16,
3460,
1630,
1363,
1630,
16,
509,
1363,
1016,
13,
202,
202,
15069,
2301,
2761,
503,
202,
95,
202,
202,
430,
12,
2433,
1016,
405,
15117,
397,
404,
13,
202,
202,
95,
1082,
202,
1884,
12,
474,
277,
273,
15117,
31,
277,
411,
1363,
1016,
31,
277,
27245,
1082,
202,
95,
9506,
202,
1188,
1964,
24899,
75,
19595,
16,
2433,
1630,
16,
77,
16,
3767,
1769,
1082,
202,
97,
1082,
202,
2972,
1964,
273,
1363,
1016,
300,
404,
31,
202,
202,
97,
202,
202,
430,
12,
2433,
1016,
422,
15117,
397,
404,
13,
202,
202,
95,
1082,
202,
430,
12,
409,
13,
1082,
202,
95,
9506,
202,
1945,
18,
588,
1482,
7675,
542,
1079,
12,
2011,
1769,
9506,
202,
2463,
3741,
67,
19958,
67,
11219,
31,
1082,
202,
97,
1082,
202,
2972,
1964,
1685,
273,
783,
18136,
1670,
31,
1082,
202,
2972,
1964,
273,
1363,
1016,
31,
202,
202,
97,
202,
202,
12107,
309,
12,
2433,
1016,
422,
15117,
13,
202,
202,
95,
1082,
202,
2972,
18136,
1670,
273,
15117,
1685,
31,
1082,
202,
759,
2405,
326,
883,
316,
3937,
326,
1476,
1807,
1267,
4653,
16,
471,
326,
1082,
202,
759,
467,
19,
51,
4007,
6438,
1082,
202,
921,
8526,
833,
273,
394,
1033,
8526,
288,
394,
2144,
12,
2433,
1016,
397,
404,
13,
289,
31,
1082,
202,
780,
883,
273,
525,
4666,
18,
588,
1396,
2932,
1945,
18,
2327,
18,
1188,
3113,
1968,
1769,
1082,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
1172,
12,
17558,
389,
75,
19595,
16,
3460,
1630,
1363,
1630,
16,
509,
1363,
1016,
13,
202,
202,
15069,
2301,
2761,
503,
202,
95,
202,
202,
430,
12,
2433,
1016,
405,
15117,
397,
404,
13,
202,
202,
95,
1082,
202,
1884,
12,
474,
277,
273,
15117,
31,
277,
411,
1363,
1016,
31,
277,
27245,
1082,
202,
95,
9506,
202,
1188,
1964,
24899,
75,
19595,
16,
2433,
1630,
16,
77,
16,
3767,
1769,
1082,
202,
97,
1082,
202,
2972,
1964,
273,
1363,
1016,
300,
404,
31,
202,
202,
97,
202,
202,
430,
12,
2433,
1016,
422,
15117,
397,
404,
13,
202,
202,
95,
1082,
202,
430,
12,
409,
13,
1082,
202,
95,
9506,
202,
1945,
18,
2
] |
}
|
} */
|
private boolean handleRule(ParserRule checkRule, boolean end) { pattern.array = checkRule.searchChars; if(end) { // is this an EOL_SPAN? if(checkRule.sequenceLengths.length == 1) { pattern.offset = 0; pattern.count = 1; return (pos == lineLength - 1); } pattern.offset = checkRule.sequenceLengths[0]; pattern.count = checkRule.sequenceLengths[1]; } else { pattern.offset = 0; pattern.count = checkRule.sequenceLengths[0]; } if (pattern.count == 0) return false; if (lineLength - pos < pattern.count) return false; for (int k = 0; k < pattern.count; k++) { char a = pattern.array[pattern.offset + k]; char b = line.array[pos + k]; // break out and check the next rule if there is a mismatch if ( !( a == b || context.rules.getIgnoreCase() && ( Character.toLowerCase(a) == b || a == Character.toLowerCase(b) ) ) ) return false; } //{{{ Check for an escape sequence if ((checkRule.action & IS_ESCAPE) == IS_ESCAPE) { escaped = !escaped; pos += pattern.count - 1; } else if (escaped) { escaped = false; pos += pattern.count - 1; } //}}} //{{{ Not inside a rule else if (context.inRule == null) { //{{{ handle soft spans if (context.parent != null && (context.parent.inRule.action & (NO_WORD_BREAK | MARK_FOLLOWING)) != 0 && checkRule.token == Token.WHITESPACE) { if ((context.inRule.action & NO_WORD_BREAK) == NO_WORD_BREAK) { tokenHandler.handleToken(pos - lastOffset, Token.INVALID, context.rules); } else { tokenHandler.handleToken(pos - lastOffset, context.inRule.token, context.rules); } lastOffset = lastKeyword = pos; context = context.parent; context.inRule = null; return true; } //}}} if ((checkRule.action & AT_LINE_START) == AT_LINE_START) { if ( (((checkRule.action & MARK_PREVIOUS) != 0) ? lastKeyword : pos) != line.offset ) { return false; } } markKeyword(lastKeyword, pos); if ((checkRule.action & MARK_PREVIOUS) != MARK_PREVIOUS) { lastKeyword = pos + pattern.count; // mark previous sequence as NULL (plain text) if (lastOffset < pos) { tokenHandler.handleToken(pos - lastOffset, context.rules.getDefault(), context.rules); } } switch(checkRule.action & MAJOR_ACTIONS) { //{{{ SEQ case 0: // this is a plain sequence rule tokenHandler.handleToken(pattern.count,checkRule.token, context.rules); lastOffset = pos + pattern.count; break; //}}} //{{{ SPAN case SPAN: context.inRule = checkRule; String setName = new String(checkRule.searchChars, checkRule.sequenceLengths[0] + checkRule.sequenceLengths[1], checkRule.sequenceLengths[2]); ParserRuleSet delegateSet = getRuleSet(setName); if (delegateSet != null) { if ((checkRule.action & EXCLUDE_MATCH) == EXCLUDE_MATCH) { tokenHandler.handleToken(pattern.count, context.rules.getDefault(), context.rules); } else { tokenHandler.handleToken(pattern.count, checkRule.token, context.rules); } lastOffset = pos + pattern.count; context = new LineContext(delegateSet, context); } break; //}}} //{{{ EOL_SPAN case EOL_SPAN: tokenHandler.handleToken(pattern.count, ((checkRule.action & EXCLUDE_MATCH) == EXCLUDE_MATCH ? context.rules.getDefault() : checkRule.token), context.rules); lastOffset = pos + pattern.count; context.inRule = checkRule; context = new LineContext( ParserRuleSet.getStandardRuleSet( checkRule.token),context); break; //}}} //{{{ MARK_PREVIOUS case MARK_PREVIOUS: if (lastKeyword > lastOffset) { tokenHandler.handleToken(lastKeyword - lastOffset, context.rules.getDefault(), context.rules); lastOffset = lastKeyword; } if ((checkRule.action & EXCLUDE_MATCH) == EXCLUDE_MATCH) { tokenHandler.handleToken(pos - lastOffset, checkRule.token,context.rules); tokenHandler.handleToken(pattern.count, context.rules.getDefault(), context.rules); } else { tokenHandler.handleToken(pos - lastOffset + pattern.count, checkRule.token,context.rules); } lastOffset = pos + pattern.count; break; //}}} //{{{ MARK_FOLLOWING case MARK_FOLLOWING: context.inRule = checkRule; if ((checkRule.action & EXCLUDE_MATCH) == EXCLUDE_MATCH) { tokenHandler.handleToken(pattern.count, context.rules.getDefault(), context.rules); lastOffset = pos + pattern.count; } else { lastOffset = pos; } break; //}}} default: throw new InternalError("Unhandled major action"); } lastKeyword = lastOffset; pos += (pattern.count - 1); // move pos to last character of match sequence // break out of inner for loop to check next char } //}}} return true; } //}}}
|
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/00425091295b65eb3b8c0a91505de5e168e4bf39/TokenMarker.java/buggy/org/gjt/sp/jedit/syntax/TokenMarker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
1640,
2175,
12,
2678,
2175,
866,
2175,
16,
1250,
679,
13,
202,
95,
202,
202,
4951,
18,
1126,
273,
866,
2175,
18,
3072,
7803,
31,
202,
202,
430,
12,
409,
13,
202,
202,
95,
1082,
202,
759,
353,
333,
392,
19995,
67,
3118,
1258,
35,
1082,
202,
430,
12,
1893,
2175,
18,
6178,
22406,
18,
2469,
422,
404,
13,
1082,
202,
95,
9506,
202,
4951,
18,
3348,
273,
374,
31,
9506,
202,
4951,
18,
1883,
273,
404,
31,
9506,
202,
2463,
261,
917,
422,
980,
1782,
300,
404,
1769,
1082,
202,
97,
1082,
202,
4951,
18,
3348,
273,
866,
2175,
18,
6178,
22406,
63,
20,
15533,
1082,
202,
4951,
18,
1883,
273,
866,
2175,
18,
6178,
22406,
63,
21,
15533,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
4951,
18,
3348,
273,
374,
31,
1082,
202,
4951,
18,
1883,
273,
866,
2175,
18,
6178,
22406,
63,
20,
15533,
202,
202,
97,
202,
202,
430,
261,
4951,
18,
1883,
422,
374,
13,
1082,
202,
2463,
629,
31,
202,
202,
430,
261,
1369,
1782,
300,
949,
411,
1936,
18,
1883,
13,
1082,
202,
2463,
629,
31,
202,
202,
1884,
261,
474,
417,
273,
374,
31,
417,
411,
1936,
18,
1883,
31,
417,
27245,
202,
202,
95,
1082,
202,
3001,
279,
273,
1936,
18,
1126,
63,
4951,
18,
3348,
397,
417,
15533,
1082,
202,
3001,
324,
273,
980,
18,
1126,
63,
917,
397,
417,
15533,
1082,
202,
759,
898,
596,
471,
866,
326,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
1640,
2175,
12,
2678,
2175,
866,
2175,
16,
1250,
679,
13,
202,
95,
202,
202,
4951,
18,
1126,
273,
866,
2175,
18,
3072,
7803,
31,
202,
202,
430,
12,
409,
13,
202,
202,
95,
1082,
202,
759,
353,
333,
392,
19995,
67,
3118,
1258,
35,
1082,
202,
430,
12,
1893,
2175,
18,
6178,
22406,
18,
2469,
422,
404,
13,
1082,
202,
95,
9506,
202,
4951,
18,
3348,
273,
374,
31,
9506,
202,
4951,
18,
1883,
273,
404,
31,
9506,
202,
2463,
261,
917,
422,
980,
1782,
300,
404,
1769,
1082,
202,
97,
1082,
202,
4951,
18,
3348,
273,
866,
2175,
18,
6178,
22406,
63,
20,
15533,
1082,
202,
4951,
18,
1883,
273,
866,
2175,
18,
2
] |
long time_now = System.currentTimeMillis(); if ( (next_seq_id > last_requested_seq) || (time_now > (last_retrans_request_time + resend_timeout)) || (last_retrans_request_time < 0) ) { Address sequencer = prot_ptr.getSequencer(); if ( sequencer == null ) { System.out.println( "Error: (TOTAL_OLD) TotalRetransmissionThread.checkForResend() - could not determine sequencer to send a TOTAL_RESEND request" );
|
long time_now=System.currentTimeMillis(); if((next_seq_id > last_requested_seq) || (time_now > (last_retrans_request_time + resend_timeout)) || (last_retrans_request_time < 0)) { Address sequencer=prot_ptr.getSequencer(); if(sequencer == null) { System.out.println("Error: (TOTAL_OLD) TotalRetransmissionThread.checkForResend() - could not determine sequencer to send a TOTAL_RESEND request");
|
private void checkForResend() { long first_seq_id = prot_ptr.getFirstQueuedSeqID(); // sequence id of first queued message /* // begin debug System.out.println( "DEBUG (TotalRetransmissionThread) - first_seq_id = " + first_seq_id ); // end debug */ if ( first_seq_id >= 0 ) { // there is at least one message in the queue long next_seq_id = prot_ptr.getNextSeqID(); // next sequence id expected from the group if ( (next_seq_id < first_seq_id) ) { // TODO: handle case to resend TOTAL_NEW_VIEW message // there are messages that we received out of order //log.error( "DEBUG (TotalRetransmissionThread) - there are messages queued" ); // debug // see if it is time to send a request long time_now = System.currentTimeMillis(); if ( (next_seq_id > last_requested_seq) || (time_now > (last_retrans_request_time + resend_timeout)) || (last_retrans_request_time < 0) ) { // send a resend request to the sequencer //log.error( "DEBUG (TotalRetransmissionThread) - sending resend requests" ); // debug Address sequencer = prot_ptr.getSequencer(); if ( sequencer == null ) { System.out.println( "Error: (TOTAL_OLD) TotalRetransmissionThread.checkForResend() - could not determine sequencer to send a TOTAL_RESEND request" ); return; } Address local_addr = prot_ptr.getLocalAddr(); if ( local_addr == null ) { System.out.println( "Warning: (TOTAL_OLD) TotalRetransmissionThread.checkForResend() - local address not specified in TOTAL_RESEND request... attempting to send requests anyway" ); } long temp_long = (next_seq_id + max_request); // potential max seq id to request (exclusive) long last_resend_seq_id = (temp_long > first_seq_id) ? first_seq_id : temp_long; for( long resend_seq=next_seq_id; resend_seq<last_resend_seq_id ; resend_seq++ ) { sendResendRequest( sequencer, local_addr, resend_seq ); } // update state for this set of resend requests last_retrans_request_time = time_now; last_requested_seq = last_resend_seq_id; } } // if ( (next_seq_id < first_seq_id) ) } // if ( first_seq_id >= 0 ) // else there are no messages to request }
|
51463 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51463/5ad015d9a78e1da3350d9b398b46b2f5d4508564/TOTAL_OLD.java/clean/src/org/jgroups/protocols/TOTAL_OLD.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
13855,
607,
409,
1435,
288,
202,
5748,
1122,
67,
5436,
67,
350,
273,
11121,
67,
6723,
18,
588,
3759,
21039,
6926,
734,
5621,
368,
3102,
612,
434,
1122,
12234,
883,
202,
20308,
202,
759,
2376,
1198,
202,
3163,
18,
659,
18,
8222,
12,
315,
9394,
261,
5269,
7055,
28001,
3951,
3830,
13,
300,
1122,
67,
5436,
67,
350,
273,
315,
397,
1122,
67,
5436,
67,
350,
11272,
202,
759,
679,
1198,
202,
5549,
202,
430,
261,
1122,
67,
5436,
67,
350,
1545,
374,
262,
288,
202,
565,
368,
1915,
353,
622,
4520,
1245,
883,
316,
326,
2389,
202,
565,
1525,
1024,
67,
5436,
67,
350,
273,
11121,
67,
6723,
18,
588,
2134,
6926,
734,
5621,
377,
368,
1024,
3102,
612,
2665,
628,
326,
1041,
202,
565,
309,
261,
261,
4285,
67,
5436,
67,
350,
411,
1122,
67,
5436,
67,
350,
13,
262,
288,
225,
368,
2660,
30,
1640,
648,
358,
31972,
399,
19851,
67,
12917,
67,
12145,
883,
202,
202,
759,
1915,
854,
2743,
716,
732,
5079,
596,
434,
1353,
202,
202,
759,
1330,
18,
1636,
12,
315,
9394,
261,
5269,
7055,
28001,
3951,
3830,
13,
300,
1915,
854,
2743,
12234,
6,
11272,
368,
1198,
202,
202,
759,
2621,
309,
518,
353,
813,
358,
1366,
279,
590,
202,
202,
5748,
813,
67,
3338,
273,
2332,
18,
2972,
28512,
5621,
202,
202,
430,
261,
261,
4285,
67,
5436,
67,
350,
405,
1142,
67,
19065,
67,
5436,
13,
747,
1082,
377,
261,
957,
67,
3338,
405,
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,
13855,
607,
409,
1435,
288,
202,
5748,
1122,
67,
5436,
67,
350,
273,
11121,
67,
6723,
18,
588,
3759,
21039,
6926,
734,
5621,
368,
3102,
612,
434,
1122,
12234,
883,
202,
20308,
202,
759,
2376,
1198,
202,
3163,
18,
659,
18,
8222,
12,
315,
9394,
261,
5269,
7055,
28001,
3951,
3830,
13,
300,
1122,
67,
5436,
67,
350,
273,
315,
397,
1122,
67,
5436,
67,
350,
11272,
202,
759,
679,
1198,
202,
5549,
202,
430,
261,
1122,
67,
5436,
67,
350,
1545,
374,
262,
288,
202,
565,
368,
1915,
353,
622,
4520,
1245,
883,
316,
326,
2389,
202,
565,
1525,
1024,
67,
5436,
67,
350,
273,
11121,
67,
6723,
18,
588,
2134,
6926,
734,
5621,
377,
2
] |
if (!init_p) { if (args.getLength() > 0) { next_p = 1; } else { next_p = -1; currentFile = (RubyIO) runtime.getGlobalVar("$stdin"); ((RubyString) runtime.getGlobalVar("$FILENAME")).setValue("-");
|
if (args.getLength() == 0) { if (currentFile == runtime.getGlobalVar("$stdin")) { return true;
|
protected boolean nextArgsFile() { RubyArray args = (RubyArray)runtime.getGlobalVar("$*"); if (!init_p) { if (args.getLength() > 0) { next_p = 1; } else { next_p = -1; currentFile = (RubyIO) runtime.getGlobalVar("$stdin"); ((RubyString) runtime.getGlobalVar("$FILENAME")).setValue("-"); } init_p = true; first_p = false; currentLineNumber = 0; } // retry : while (true) { if (next_p == 1) { next_p = 0; if (args.getLength() > 0) { String filename = ((RubyString) args.shift()).getValue(); ((RubyString) runtime.getGlobalVar("$FILENAME")).setValue(filename); if (filename.equals("-")) { currentFile = (RubyIO) runtime.getGlobalVar("$stdin"); /*if (ruby_inplace_mode) { rb_warn("Can't do inplace edit for stdio"); rb_defout = rb_stdout; }*/ } else { File file = new File(filename); try { RubyInputStream inStream = new RubyInputStream(new BufferedInputStream(new FileInputStream(file))); // FILE *fr = rb_fopen(fn, "r"); /*if (ruby_inplace_mode) { struct stat st, st2; VALUE str; FILE *fw; if (TYPE(rb_defout) == T_FILE && rb_defout != rb_stdout) { rb_io_close(rb_defout); } fstat(fileno(fr), &st); if (*ruby_inplace_mode) { str = rb_str_new2(fn); #ifdef NO_LONG_FNAME ruby_add_suffix(str, ruby_inplace_mode); #else rb_str_cat2(str, ruby_inplace_mode); #endif #ifdef NO_SAFE_RENAME (void)fclose(fr); (void)unlink(RSTRING(str)->ptr); (void)rename(fn, RSTRING(str)->ptr); fr = rb_fopen(RSTRING(str)->ptr, "r"); #else if (rename(fn, RSTRING(str)->ptr) < 0) { rb_warn("Can't rename %s to %s: %s, skipping file", fn, RSTRING(str)->ptr, strerror(errno)); fclose(fr); goto retry; } #endif } else { #ifdef NO_SAFE_RENAME rb_fatal("Can't do inplace edit without backup"); #else if (unlink(fn) < 0) { rb_warn("Can't remove %s: %s, skipping file", fn, strerror(errno)); fclose(fr); goto retry; } #endif } fw = rb_fopen(fn, "w"); #ifndef NO_SAFE_RENAME fstat(fileno(fw), &st2); #ifdef HAVE_FCHMOD fchmod(fileno(fw), st.st_mode); #else chmod(fn, st.st_mode); #endif if (st.st_uid!=st2.st_uid || st.st_gid!=st2.st_gid) { fchown(fileno(fw), st.st_uid, st.st_gid); } #endif rb_defout = prep_stdio(fw, FMODE_WRITABLE, rb_cFile); prep_path(rb_defout, fn); }*/ currentFile = new RubyFile(runtime, runtime.getClasses().getFileClass()); currentFile.initIO(inStream, null, filename); // prep_stdio(fr, FMODE_READABLE, rb_cFile); // prep_path(current_file, fn); } catch (FileNotFoundException fnfExcptn) { throw new IOError(runtime, fnfExcptn.getMessage()); } } /*if (binmode) rb_io_binmode(current_file);*/ } else { init_p = false; return false; } } //break; //} return true; }
|
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/49c17b4ec0ae2e046650a9ace532caa461a65f20/RubyArgsFile.java/buggy/src/org/jruby/RubyArgsFile.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
1024,
2615,
812,
1435,
288,
3639,
19817,
1076,
833,
273,
261,
54,
10340,
1076,
13,
9448,
18,
588,
5160,
1537,
2932,
8,
7388,
1769,
3639,
309,
16051,
2738,
67,
84,
13,
288,
5411,
309,
261,
1968,
18,
588,
1782,
1435,
405,
374,
13,
288,
7734,
1024,
67,
84,
273,
404,
31,
5411,
289,
469,
288,
7734,
1024,
67,
84,
273,
300,
21,
31,
7734,
22650,
273,
261,
54,
10340,
4294,
13,
3099,
18,
588,
5160,
1537,
2932,
8,
21772,
8863,
7734,
14015,
54,
10340,
780,
13,
3099,
18,
588,
5160,
1537,
2932,
8,
16080,
7923,
2934,
542,
620,
2932,
17,
8863,
5411,
289,
5411,
1208,
67,
84,
273,
638,
31,
5411,
1122,
67,
84,
273,
629,
31,
5411,
22325,
1854,
273,
374,
31,
3639,
289,
3639,
368,
3300,
294,
1323,
261,
3767,
13,
288,
3639,
309,
261,
4285,
67,
84,
422,
404,
13,
288,
5411,
1024,
67,
84,
273,
374,
31,
5411,
309,
261,
1968,
18,
588,
1782,
1435,
405,
374,
13,
288,
7734,
514,
1544,
273,
14015,
54,
10340,
780,
13,
833,
18,
4012,
1435,
2934,
24805,
5621,
7734,
14015,
54,
10340,
780,
13,
3099,
18,
588,
5160,
1537,
2932,
8,
16080,
7923,
2934,
542,
620,
12,
3459,
1769,
7734,
309,
261,
3459,
18,
14963,
2932,
10951,
3719,
288,
10792,
22650,
273,
261,
54,
10340,
4294,
13,
3099,
18,
588,
5160,
1537,
2932,
8,
21772,
8863,
10792,
1748,
430,
261,
27768,
67,
267,
964,
67,
3188,
13,
10792,
288,
13491,
7138,
67,
8935,
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,
1250,
1024,
2615,
812,
1435,
288,
3639,
19817,
1076,
833,
273,
261,
54,
10340,
1076,
13,
9448,
18,
588,
5160,
1537,
2932,
8,
7388,
1769,
3639,
309,
16051,
2738,
67,
84,
13,
288,
5411,
309,
261,
1968,
18,
588,
1782,
1435,
405,
374,
13,
288,
7734,
1024,
67,
84,
273,
404,
31,
5411,
289,
469,
288,
7734,
1024,
67,
84,
273,
300,
21,
31,
7734,
22650,
273,
261,
54,
10340,
4294,
13,
3099,
18,
588,
5160,
1537,
2932,
8,
21772,
8863,
7734,
14015,
54,
10340,
780,
13,
3099,
18,
588,
5160,
1537,
2932,
8,
16080,
7923,
2934,
542,
620,
2932,
17,
8863,
5411,
289,
5411,
1208,
67,
84,
273,
638,
31,
5411,
1122,
67,
84,
273,
629,
2
] |
return new ParseStatus().getEmptyParse();
|
return new ParseStatus().getEmptyParse(this.nutchConf);
|
public final static Parse parseByParserId(String parserId, Content content) throws ParseException { Parse parse = null; Parser p = null; try { p = ParserFactory.getParserById(parserId); } catch (ParserNotFound e) { LOG.warning("No suitable parser found when trying to parse content " + content); throw new ParseException(e.getMessage()); } parse = p.getParse(content); if (parse != null && parse.getData().getStatus().isSuccess()) { return parse; } else { LOG.warning("Unable to successfully parse content " + content.getUrl() + " of type " + content.getContentType()); return new ParseStatus().getEmptyParse(); } }
|
46828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46828/329ff64e9d7295aff108f85e9a8103f5e5f8f398/ParseUtil.java/buggy/src/java/org/apache/nutch/parse/ParseUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
760,
2884,
1109,
858,
2678,
548,
12,
780,
2082,
548,
16,
3697,
913,
13,
225,
1216,
10616,
288,
565,
2884,
1109,
273,
446,
31,
565,
6783,
293,
273,
446,
31,
3639,
775,
288,
1377,
293,
273,
6783,
1733,
18,
588,
2678,
5132,
12,
4288,
548,
1769,
565,
289,
1044,
261,
2678,
2768,
425,
13,
288,
1377,
2018,
18,
8551,
2932,
2279,
10631,
2082,
1392,
1347,
8374,
358,
1109,
913,
315,
397,
5375,
913,
1769,
1377,
604,
394,
10616,
12,
73,
18,
24906,
10663,
565,
289,
3639,
1109,
273,
293,
18,
588,
3201,
12,
1745,
1769,
3639,
309,
261,
2670,
480,
446,
597,
1109,
18,
588,
751,
7675,
588,
1482,
7675,
291,
4510,
10756,
288,
1377,
327,
1109,
31,
565,
289,
469,
288,
1377,
2018,
18,
8551,
2932,
3370,
358,
4985,
1109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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
760,
2884,
1109,
858,
2678,
548,
12,
780,
2082,
548,
16,
3697,
913,
13,
225,
1216,
10616,
288,
565,
2884,
1109,
273,
446,
31,
565,
6783,
293,
273,
446,
31,
3639,
775,
288,
1377,
293,
273,
6783,
1733,
18,
588,
2678,
5132,
12,
4288,
548,
1769,
565,
289,
1044,
261,
2678,
2768,
425,
13,
288,
1377,
2018,
18,
8551,
2932,
2279,
10631,
2082,
1392,
1347,
8374,
358,
1109,
913,
315,
397,
5375,
913,
1769,
1377,
604,
394,
10616,
12,
73,
18,
24906,
10663,
565,
289,
3639,
1109,
273,
293,
18,
588,
3201,
12,
1745,
1769,
3639,
309,
261,
2670,
480,
446,
597,
1109,
18,
588,
751,
7675,
588,
1482,
7675,
291,
4510,
10756,
288,
1377,
327,
2
] |
if (tab != currentTab)
|
if (tab != currentTab) {
|
public void selectionChanged(SelectionChangedEvent event) { IStructuredSelection selection = (IStructuredSelection) event .getSelection(); Tab tab = null; TabDescriptor descriptor = (TabDescriptor) selection .getFirstElement(); if (descriptor == null) { // pretend the tab is empty. hideTab(currentTab); } else { // create tab if necessary // can not cache based on the id - tabs may have the same id, // but different section depending on the selection tab = (Tab) descriptorToTab.get(descriptor); if (tab != currentTab) hideTab(currentTab); Composite tabComposite = (Composite) tabToComposite.get(tab); if (tabComposite == null) { tabComposite = createTabComposite(); tab.createControls(tabComposite, TabbedPropertySheetPage.this); // tabAreaComposite.layout(true); tabToComposite.put(tab, tabComposite); } // force widgets to be resized tab.setInput(tabbedPropertyViewer.getWorkbenchPart(), (ISelection) tabbedPropertyViewer.getInput()); // store tab selection storeCurrentTabSelection(descriptor.getLabel()); if (tab != currentTab) showTab(tab); tab.refresh(); } tabbedPropertyComposite.getTabComposite().layout(true); currentTab = tab; resizeScrolledComposite(); if (descriptor != null) handleTabSelection(descriptor); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/3a23c3b9bac4db696a0452560047155775a707b7/TabbedPropertySheetPage.java/clean/bundles/org.eclipse.ui.views.properties.tabbed/src/org/eclipse/ui/views/properties/tabbed/TabbedPropertySheetPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
4421,
5033,
12,
6233,
27553,
871,
13,
288,
1082,
202,
45,
30733,
6233,
4421,
273,
261,
45,
30733,
6233,
13,
871,
9506,
202,
18,
588,
6233,
5621,
1082,
202,
5661,
3246,
273,
446,
31,
1082,
202,
5661,
3187,
4950,
273,
261,
5661,
3187,
13,
4421,
9506,
202,
18,
588,
3759,
1046,
5621,
1082,
202,
430,
261,
12628,
422,
446,
13,
288,
9506,
202,
759,
675,
17445,
326,
3246,
353,
1008,
18,
9506,
202,
11248,
5661,
12,
2972,
5661,
1769,
1082,
202,
97,
469,
288,
9506,
202,
759,
752,
3246,
309,
4573,
9506,
202,
759,
848,
486,
1247,
2511,
603,
326,
612,
300,
10920,
2026,
1240,
326,
1967,
612,
16,
9506,
202,
759,
1496,
3775,
2442,
8353,
603,
326,
4421,
9506,
202,
7032,
273,
261,
5661,
13,
4950,
774,
5661,
18,
588,
12,
12628,
1769,
9506,
202,
430,
261,
7032,
480,
783,
5661,
13,
6862,
202,
11248,
5661,
12,
2972,
5661,
1769,
9506,
202,
9400,
3246,
9400,
273,
261,
9400,
13,
3246,
774,
9400,
18,
588,
12,
7032,
1769,
9506,
202,
430,
261,
7032,
9400,
422,
446,
13,
288,
6862,
202,
7032,
9400,
273,
752,
5661,
9400,
5621,
6862,
202,
7032,
18,
2640,
16795,
12,
7032,
9400,
16,
25083,
202,
5661,
2992,
1396,
8229,
1964,
18,
2211,
1769,
6862,
202,
759,
3246,
5484,
9400,
18,
6741,
12,
3767,
1769,
6862,
202,
7032,
774,
9400,
18,
458,
12,
7032,
16,
3246,
9400,
1769,
9506,
202,
97,
9506,
202,
759,
2944,
10965,
358,
506,
21615,
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,
3196,
202,
482,
918,
4421,
5033,
12,
6233,
27553,
871,
13,
288,
1082,
202,
45,
30733,
6233,
4421,
273,
261,
45,
30733,
6233,
13,
871,
9506,
202,
18,
588,
6233,
5621,
1082,
202,
5661,
3246,
273,
446,
31,
1082,
202,
5661,
3187,
4950,
273,
261,
5661,
3187,
13,
4421,
9506,
202,
18,
588,
3759,
1046,
5621,
1082,
202,
430,
261,
12628,
422,
446,
13,
288,
9506,
202,
759,
675,
17445,
326,
3246,
353,
1008,
18,
9506,
202,
11248,
5661,
12,
2972,
5661,
1769,
1082,
202,
97,
469,
288,
9506,
202,
759,
752,
3246,
309,
4573,
9506,
202,
759,
848,
486,
1247,
2511,
603,
326,
612,
300,
10920,
2026,
1240,
326,
1967,
612,
16,
9506,
202,
759,
1496,
3775,
2442,
2
] |
return new Document(buffer.toString());
|
return new Document(buffer.toString());
|
private IDocument createDocument(IResource file) throws Exception { BufferedReader reader = new BufferedReader(new FileReader(file.getLocation().toOSString())); StringBuffer buffer = new StringBuffer(); while (reader.ready()) { buffer.append((char)reader.read()); } reader.close(); return new Document(buffer.toString()); }
|
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/fb8cc99347ed89eba89feea8ec146c92f358e9b0/MigratePluginWizard.java/clean/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/tools/MigratePluginWizard.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1599,
504,
650,
27569,
12,
45,
1420,
585,
13,
1216,
1185,
288,
202,
202,
17947,
2514,
2949,
273,
202,
202,
2704,
10633,
12,
2704,
23010,
12,
768,
18,
588,
2735,
7675,
869,
4618,
780,
1435,
10019,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
202,
202,
17523,
261,
10530,
18,
1672,
10756,
288,
1082,
202,
4106,
18,
6923,
12443,
3001,
13,
10530,
18,
896,
10663,
202,
202,
97,
202,
202,
10530,
18,
4412,
5621,
202,
202,
2463,
394,
4319,
12,
4106,
18,
10492,
10663,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1599,
504,
650,
27569,
12,
45,
1420,
585,
13,
1216,
1185,
288,
202,
202,
17947,
2514,
2949,
273,
202,
202,
2704,
10633,
12,
2704,
23010,
12,
768,
18,
588,
2735,
7675,
869,
4618,
780,
1435,
10019,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
202,
202,
17523,
261,
10530,
18,
1672,
10756,
288,
1082,
202,
4106,
18,
6923,
12443,
3001,
13,
10530,
18,
896,
10663,
202,
202,
97,
202,
202,
10530,
18,
4412,
5621,
202,
202,
2463,
394,
4319,
12,
4106,
18,
10492,
10663,
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
] |
File file = new File( path.toOSString() ); if ( !file.exists() ) { requestFailed( MessageFormat.format( CoreModelMessages.getString( "CModule.3" ), new String[] { path.toOSString() } ), null );
|
String message = CoreModelMessages.getString( "CModule.4" ); if ( fCDIObject instanceof ICDISharedLibrary ) { try { ((ICDISharedLibrary)fCDIObject).loadSymbols(); return; } catch( CDIException e ) { message = e.getMessage(); }
|
private void loadSymbolsFromFile( IPath path ) throws DebugException { if ( path == null || path.isEmpty() ) { requestFailed( CoreModelMessages.getString( "CModule.2" ), null ); //$NON-NLS-1$ } File file = new File( path.toOSString() ); if ( !file.exists() ) { requestFailed( MessageFormat.format( CoreModelMessages.getString( "CModule.3" ), new String[] { path.toOSString() } ), null ); //$NON-NLS-1$ } targetRequestFailed( CoreModelMessages.getString( "CModule.4" ), null ); //$NON-NLS-1$ }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/0e6c24fc423c536de8661d8f83c089fcbef8d001/CModule.java/clean/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1262,
14821,
13087,
12,
467,
743,
589,
262,
1216,
4015,
503,
288,
202,
202,
430,
261,
589,
422,
446,
747,
589,
18,
291,
1921,
1435,
262,
288,
1082,
202,
2293,
2925,
12,
4586,
1488,
5058,
18,
588,
780,
12,
315,
39,
3120,
18,
22,
6,
262,
16,
446,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
202,
202,
812,
585,
273,
394,
1387,
12,
589,
18,
869,
4618,
780,
1435,
11272,
202,
202,
430,
261,
401,
768,
18,
1808,
1435,
262,
288,
1082,
202,
2293,
2925,
12,
17377,
18,
2139,
12,
4586,
1488,
5058,
18,
588,
780,
12,
315,
39,
3120,
18,
23,
6,
262,
16,
394,
514,
8526,
288,
589,
18,
869,
4618,
780,
1435,
289,
262,
16,
446,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
202,
202,
3299,
691,
2925,
12,
4586,
1488,
5058,
18,
588,
780,
12,
315,
39,
3120,
18,
24,
6,
262,
16,
446,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1262,
14821,
13087,
12,
467,
743,
589,
262,
1216,
4015,
503,
288,
202,
202,
430,
261,
589,
422,
446,
747,
589,
18,
291,
1921,
1435,
262,
288,
1082,
202,
2293,
2925,
12,
4586,
1488,
5058,
18,
588,
780,
12,
315,
39,
3120,
18,
22,
6,
262,
16,
446,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
202,
202,
812,
585,
273,
394,
1387,
12,
589,
18,
869,
4618,
780,
1435,
11272,
202,
202,
430,
261,
401,
768,
18,
1808,
1435,
262,
288,
1082,
202,
2293,
2925,
12,
17377,
18,
2139,
12,
4586,
1488,
5058,
18,
588,
780,
12,
315,
39,
3120,
18,
23,
6,
262,
16,
394,
514,
8526,
288,
589,
18,
2
] |
AbstractColorChooserPanel[] newPanels = new AbstractColorChooserPanel[chooserPanels.length - 1];
|
AbstractColorChooserPanel[] newPanels = new AbstractColorChooserPanel[chooserPanels.length - 1];
|
public AbstractColorChooserPanel removeChooserPanel(AbstractColorChooserPanel panel) { int index = -1; for (int i = 0; i < chooserPanels.length; i++) if (panel == chooserPanels[i]) { index = i; break; } if (index == -1) return null; AbstractColorChooserPanel[] old = chooserPanels; if (chooserPanels.length == 1) chooserPanels = null; else { AbstractColorChooserPanel[] newPanels = new AbstractColorChooserPanel[chooserPanels.length - 1]; System.arraycopy(chooserPanels, 0, newPanels, 0, index); System.arraycopy(chooserPanels, index, newPanels, index - 1, chooserPanels.length - index); chooserPanels = newPanels; } panel.uninstallChooserPanel(this); firePropertyChange(CHOOSER_PANELS_PROPERTY, old, chooserPanels); return panel; }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/159638d634951eb718c5e3a0917ef516d5a44797/JColorChooser.java/buggy/core/src/classpath/javax/javax/swing/JColorChooser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4115,
2957,
17324,
5537,
1206,
17324,
5537,
12,
7469,
2957,
17324,
5537,
6594,
13,
225,
288,
565,
509,
770,
273,
300,
21,
31,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
5011,
13164,
5537,
87,
18,
2469,
31,
277,
27245,
1377,
309,
261,
13916,
422,
5011,
13164,
5537,
87,
63,
77,
5717,
3639,
288,
202,
225,
770,
273,
277,
31,
202,
225,
898,
31,
3639,
289,
565,
309,
261,
1615,
422,
300,
21,
13,
1377,
327,
446,
31,
565,
4115,
2957,
17324,
5537,
8526,
1592,
273,
5011,
13164,
5537,
87,
31,
565,
309,
261,
2599,
13164,
5537,
87,
18,
2469,
422,
404,
13,
1377,
5011,
13164,
5537,
87,
273,
446,
31,
565,
469,
1377,
288,
202,
7469,
2957,
17324,
5537,
8526,
394,
5537,
87,
273,
394,
4115,
2957,
17324,
5537,
63,
2599,
13164,
5537,
87,
18,
2469,
202,
4766,
3639,
300,
404,
15533,
202,
3163,
18,
1126,
3530,
12,
2599,
13164,
5537,
87,
16,
374,
16,
394,
5537,
87,
16,
374,
16,
770,
1769,
202,
3163,
18,
1126,
3530,
12,
2599,
13164,
5537,
87,
16,
770,
16,
394,
5537,
87,
16,
770,
300,
404,
16,
202,
1171,
5011,
13164,
5537,
87,
18,
2469,
300,
770,
1769,
202,
2599,
13164,
5537,
87,
273,
394,
5537,
87,
31,
1377,
289,
565,
6594,
18,
28872,
17324,
5537,
12,
2211,
1769,
565,
4452,
1396,
3043,
12,
22213,
51,
2123,
67,
30819,
2247,
55,
67,
9900,
16,
1592,
16,
5011,
13164,
5537,
87,
1769,
565,
327,
6594,
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,
282,
1071,
4115,
2957,
17324,
5537,
1206,
17324,
5537,
12,
7469,
2957,
17324,
5537,
6594,
13,
225,
288,
565,
509,
770,
273,
300,
21,
31,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
5011,
13164,
5537,
87,
18,
2469,
31,
277,
27245,
1377,
309,
261,
13916,
422,
5011,
13164,
5537,
87,
63,
77,
5717,
3639,
288,
202,
225,
770,
273,
277,
31,
202,
225,
898,
31,
3639,
289,
565,
309,
261,
1615,
422,
300,
21,
13,
1377,
327,
446,
31,
565,
4115,
2957,
17324,
5537,
8526,
1592,
273,
5011,
13164,
5537,
87,
31,
565,
309,
261,
2599,
13164,
5537,
87,
18,
2469,
422,
404,
13,
1377,
5011,
13164,
5537,
87,
273,
446,
31,
565,
469,
1377,
288,
2
] |
Logs.reportMessage("CSLOOK_Header", "indexes");
|
Logs.reportMessage("CSLOOK_IndexesHeader");
|
public static void doIndexes(Connection conn) throws SQLException { Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT TABLEID, CONGLOMERATENAME, " + "DESCRIPTOR, SCHEMAID, ISINDEX, ISCONSTRAINT FROM SYS.SYSCONGLOMERATES " + "ORDER BY TABLEID"); boolean firstTime = true; while (rs.next()) { if (!rs.getBoolean(5) || // (isindex == false) rs.getBoolean(6)) // (isconstraint == true) // then skip it. continue; String tableId = rs.getString(1); String tableName = dblook.lookupTableId(tableId); if (tableName == null) // then tableId isn't a user table, so we can skip it. continue; else if (dblook.isExcludedTable(tableName)) // table isn't specified in user-given list. continue; String iSchema = dblook.lookupSchemaId(rs.getString(4)); if (dblook.isIgnorableSchema(iSchema)) continue; if (firstTime) { Logs.reportString("----------------------------------------------"); Logs.reportMessage("CSLOOK_Header", "indexes"); Logs.reportString("----------------------------------------------\n"); } String iName = dblook.addQuotes( dblook.expandDoubleQuotes(rs.getString(2))); iName = iSchema + "." + iName; StringBuffer createIndexString = createIndex(iName, tableName, tableId, rs.getString(3)); Logs.writeToNewDDL(createIndexString.toString()); Logs.writeStmtEndToNewDDL(); Logs.writeNewlineToNewDDL(); firstTime = false; } rs.close(); stmt.close(); }
|
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/89cd70bb00e2c7cbb8968053e433ef0baded0d5c/DB_Index.java/buggy/java/tools/org/apache/derby/impl/tools/cslook/DB_Index.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
741,
8639,
12,
1952,
1487,
13,
202,
202,
15069,
6483,
202,
95,
202,
202,
3406,
3480,
273,
1487,
18,
2640,
3406,
5621,
202,
202,
13198,
3597,
273,
3480,
18,
8837,
1138,
2932,
4803,
7567,
734,
16,
3492,
43,
1502,
20969,
789,
21150,
16,
315,
397,
1082,
202,
6,
1639,
27689,
16,
22473,
734,
16,
4437,
9199,
16,
4437,
15199,
4571,
7068,
55,
18,
30664,
2248,
43,
1502,
20969,
1777,
55,
315,
397,
1082,
202,
6,
7954,
6953,
7567,
734,
8863,
202,
202,
6494,
1122,
950,
273,
638,
31,
202,
202,
17523,
261,
5453,
18,
4285,
10756,
288,
1082,
202,
430,
16051,
5453,
18,
588,
5507,
12,
25,
13,
747,
202,
759,
261,
291,
1615,
422,
629,
13,
9506,
202,
5453,
18,
588,
5507,
12,
26,
3719,
202,
202,
759,
261,
291,
13364,
422,
638,
13,
1082,
202,
759,
1508,
2488,
518,
18,
9506,
202,
17143,
31,
1082,
202,
780,
1014,
548,
273,
3597,
18,
588,
780,
12,
21,
1769,
1082,
202,
780,
4775,
273,
1319,
7330,
18,
8664,
1388,
548,
12,
2121,
548,
1769,
1082,
202,
430,
261,
18033,
422,
446,
13,
1082,
202,
759,
1508,
1014,
548,
5177,
1404,
279,
729,
1014,
16,
1427,
732,
848,
2488,
518,
18,
9506,
202,
17143,
31,
1082,
202,
12107,
309,
261,
1966,
7330,
18,
291,
16461,
1388,
12,
18033,
3719,
1082,
202,
759,
1014,
5177,
1404,
1269,
316,
729,
17,
10822,
666,
18,
9506,
202,
17143,
31,
1082,
202,
780,
277,
3078,
273,
1319,
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,
741,
8639,
12,
1952,
1487,
13,
202,
202,
15069,
6483,
202,
95,
202,
202,
3406,
3480,
273,
1487,
18,
2640,
3406,
5621,
202,
202,
13198,
3597,
273,
3480,
18,
8837,
1138,
2932,
4803,
7567,
734,
16,
3492,
43,
1502,
20969,
789,
21150,
16,
315,
397,
1082,
202,
6,
1639,
27689,
16,
22473,
734,
16,
4437,
9199,
16,
4437,
15199,
4571,
7068,
55,
18,
30664,
2248,
43,
1502,
20969,
1777,
55,
315,
397,
1082,
202,
6,
7954,
6953,
7567,
734,
8863,
202,
202,
6494,
1122,
950,
273,
638,
31,
202,
202,
17523,
261,
5453,
18,
4285,
10756,
288,
1082,
202,
430,
16051,
5453,
18,
588,
5507,
12,
25,
13,
747,
202,
759,
261,
291,
1615,
2
] |
private Map getExtendedFieldInfo(FBConnection connection) throws SQLException { if (connection == null) return Collections.EMPTY_MAP; // // Apparently there is a limit in the UNION // It is necesary to split in several querys // Although the problem reported with 93 UNION use only 70 // int pending = xsqlvars.length; HashMap result = new HashMap(); while (pending > 0){ StringBuffer sb = new StringBuffer(); ArrayList params = new ArrayList(); int maxLength = (pending>70) ? 70 : pending; for (int i = 0; i < maxLength; i++) { String relationName = xsqlvars[i].relname; String fieldName = xsqlvars[i].sqlname; if (relationName == null || fieldName == null) continue; sb.append(GET_FIELD_INFO); params.add(fieldName); params.add(relationName); if (i < maxLength - 1) sb.append("\n").append("UNION").append("\n"); } ResultSet rs = connection.doQuery( sb.toString(), params, ((FBDatabaseMetaData)connection.getMetaData()).statements); try { while(rs.next()) { ExtendedFieldInfo fieldInfo = new ExtendedFieldInfo(); fieldInfo.relationName = rs.getString("RELATION_NAME"); fieldInfo.fieldName = rs.getString("FIELD_NAME"); fieldInfo.fieldLength = rs.getInt("FIELD_LENGTH"); fieldInfo.fieldPrecision = rs.getInt("FIELD_PRECISION"); fieldInfo.fieldScale = rs.getInt("FIELD_SCALE"); fieldInfo.fieldSubtype = rs.getInt("FIELD_SUB_TYPE"); fieldInfo.characterSetId = rs.getInt("CHARACTER_SET_ID"); fieldInfo.characterLength = rs.getInt("CHARACTER_LENGTH"); if (rs.wasNull()) fieldInfo.characterLength = fieldInfo.fieldLength / FBConnectionHelper.getCharacterSetSize(fieldInfo.characterSetId); result.put( new FieldKey(fieldInfo.relationName, fieldInfo.fieldName), fieldInfo); } } finally { rs.close(); } pending -= maxLength; } return result; }
|
6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/21625951f0698aac914bce295a5ff745f86610b6/FBResultSetMetaData.java/clean/src/main/org/firebirdsql/jdbc/FBResultSetMetaData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1635,
336,
11456,
974,
966,
12,
22201,
1952,
1459,
13,
1216,
6483,
288,
7734,
309,
261,
4071,
422,
446,
13,
327,
5737,
18,
13625,
67,
8352,
31,
7734,
368,
3639,
368,
1716,
2938,
715,
1915,
353,
279,
1800,
316,
326,
29984,
540,
368,
2597,
353,
290,
8610,
814,
358,
1416,
316,
11392,
843,
87,
3639,
368,
2262,
18897,
326,
6199,
14010,
598,
31007,
29984,
999,
1338,
16647,
3639,
368,
3639,
509,
4634,
273,
619,
4669,
4699,
18,
2469,
31,
3639,
4317,
563,
273,
394,
4317,
5621,
3639,
1323,
261,
9561,
405,
374,
15329,
5411,
6674,
2393,
273,
394,
6674,
5621,
5411,
2407,
859,
273,
394,
2407,
5621,
5411,
509,
13642,
273,
261,
9561,
34,
7301,
13,
692,
16647,
294,
4634,
31,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
13642,
31,
277,
27245,
288,
18701,
514,
20945,
273,
619,
4669,
4699,
63,
77,
8009,
2878,
529,
31,
7734,
514,
4289,
273,
619,
4669,
4699,
63,
77,
8009,
4669,
529,
31,
18701,
309,
261,
5488,
461,
422,
446,
747,
4289,
422,
446,
13,
1324,
31,
18701,
2393,
18,
6923,
12,
3264,
67,
6776,
67,
5923,
1769,
4766,
3639,
859,
18,
1289,
12,
16163,
1769,
7734,
859,
18,
1289,
12,
5488,
461,
1769,
18701,
309,
261,
77,
411,
13642,
300,
404,
13,
10792,
2393,
18,
6923,
31458,
82,
20387,
6923,
2932,
2124,
1146,
20387,
6923,
31458,
82,
8863,
18701,
289,
5411,
10842,
3597,
273,
1459,
18,
2896,
1138,
12,
7734,
2393,
18,
10492,
9334,
1171,
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,
1635,
336,
11456,
974,
966,
12,
22201,
1952,
1459,
13,
1216,
6483,
288,
7734,
309,
261,
4071,
422,
446,
13,
327,
5737,
18,
13625,
67,
8352,
31,
7734,
368,
3639,
368,
1716,
2938,
715,
1915,
353,
279,
1800,
316,
326,
29984,
540,
368,
2597,
353,
290,
8610,
814,
358,
1416,
316,
11392,
843,
87,
3639,
368,
2262,
18897,
326,
6199,
14010,
598,
31007,
29984,
999,
1338,
16647,
3639,
368,
3639,
509,
4634,
273,
619,
4669,
4699,
18,
2469,
31,
3639,
4317,
563,
273,
394,
4317,
5621,
3639,
1323,
261,
9561,
405,
374,
15329,
5411,
6674,
2393,
273,
394,
6674,
5621,
5411,
2407,
859,
273,
394,
2407,
5621,
5411,
509,
13642,
273,
261,
9561,
34,
7301,
13,
692,
2
] |
||
public static boolean toBoolean(Object value) {
|
public static boolean toBoolean(Object value) {
|
public static boolean toBoolean(Object value) { return ScriptRuntime.toBoolean(value); }
|
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/767031d59e433c96cbc46c5e9fa8adb631f14074/Context.java/clean/src/org/mozilla/javascript/Context.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
358,
5507,
12,
921,
460,
13,
288,
3639,
327,
7739,
5576,
18,
869,
5507,
12,
1132,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
358,
5507,
12,
921,
460,
13,
288,
3639,
327,
7739,
5576,
18,
869,
5507,
12,
1132,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return super.methodArity(methodId);
|
return super.methodArity(f);
|
public int methodArity(int methodId) { if (prototypeFlag) { if (methodId == Id_constructor) return 1; if (methodId == Id_toString) return 0; if (methodId == Id_toSource) return 0; } return super.methodArity(methodId); }
|
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/8f28fc868ac3f30ea37494abfddb6358154786c3/NativeError.java/buggy/js/rhino/src/org/mozilla/javascript/NativeError.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
707,
686,
560,
12,
474,
707,
548,
13,
565,
288,
3639,
309,
261,
18541,
4678,
13,
288,
5411,
309,
261,
2039,
548,
422,
3124,
67,
12316,
13,
327,
404,
31,
5411,
309,
261,
2039,
548,
422,
3124,
67,
10492,
13,
327,
374,
31,
5411,
309,
261,
2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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
707,
686,
560,
12,
474,
707,
548,
13,
565,
288,
3639,
309,
261,
18541,
4678,
13,
288,
5411,
309,
261,
2039,
548,
422,
3124,
67,
12316,
13,
327,
404,
31,
5411,
309,
261,
2039,
548,
422,
3124,
67,
10492,
13,
327,
374,
31,
5411,
309,
261,
2039,
548,
422,
3124,
67,
869,
1830,
13,
327,
374,
31,
3639,
289,
3639,
327,
2240,
18,
2039,
686,
560,
12,
74,
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
] |
return colapseEntries(entries);
|
return entries;
|
NavigationHistoryEntry[] getBackwardEntries() { int length = activeEntry; NavigationHistoryEntry[] entries = new NavigationHistoryEntry[length]; for (int i=0; i<activeEntry; i++) { entries[activeEntry - 1 - i] = getEntry(i); } return colapseEntries(entries);}
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/56123d8073052725d018c82381541f6c97ca52b6/NavigationHistory.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/NavigationHistory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
22924,
5623,
1622,
8526,
336,
26283,
5400,
1435,
288,
202,
474,
769,
273,
2695,
1622,
31,
202,
14301,
5623,
1622,
8526,
3222,
273,
394,
22924,
5623,
1622,
63,
2469,
15533,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
3535,
1622,
31,
277,
27245,
288,
202,
202,
8219,
63,
3535,
1622,
300,
404,
300,
277,
65,
273,
15428,
12,
77,
1769,
202,
97,
202,
2463,
645,
28933,
5400,
12,
8219,
1769,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
22924,
5623,
1622,
8526,
336,
26283,
5400,
1435,
288,
202,
474,
769,
273,
2695,
1622,
31,
202,
14301,
5623,
1622,
8526,
3222,
273,
394,
22924,
5623,
1622,
63,
2469,
15533,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
3535,
1622,
31,
277,
27245,
288,
202,
202,
8219,
63,
3535,
1622,
300,
404,
300,
277,
65,
273,
15428,
12,
77,
1769,
202,
97,
202,
2463,
645,
28933,
5400,
12,
8219,
1769,
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
] |
BattleChit chit = (BattleChit)it.next(); if (!getBattleActivePlayerName().equals(getPlayerNameByTag( chit.getTag())))
|
Iterator it = battleChits.iterator(); while (it.hasNext())
|
java.util.List getInactiveBattleChits() { java.util.List chits = new ArrayList(); Iterator it = getBattleChits().iterator(); while (it.hasNext()) { BattleChit chit = (BattleChit)it.next(); if (!getBattleActivePlayerName().equals(getPlayerNameByTag( chit.getTag()))) { chits.add(chit); } } return chits; }
|
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/774f62acb01e82c4247c33c3d057f6047bd6b87d/Client.java/clean/Colossus/net/sf/colossus/client/Client.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
2252,
18,
1367,
18,
682,
7854,
3535,
38,
4558,
298,
782,
1282,
1435,
565,
288,
3639,
2252,
18,
1367,
18,
682,
462,
1282,
273,
394,
2407,
5621,
3639,
4498,
518,
273,
2882,
4558,
298,
782,
1282,
7675,
9838,
5621,
3639,
1323,
261,
305,
18,
5332,
2134,
10756,
3639,
288,
5411,
605,
4558,
298,
782,
305,
462,
305,
273,
261,
38,
4558,
298,
782,
305,
13,
305,
18,
4285,
5621,
5411,
309,
16051,
588,
38,
4558,
298,
3896,
12148,
461,
7675,
14963,
12,
588,
12148,
461,
29309,
12,
7734,
462,
305,
18,
588,
1805,
1435,
20349,
5411,
288,
7734,
462,
1282,
18,
1289,
12,
343,
305,
1769,
5411,
289,
3639,
289,
3639,
327,
462,
1282,
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,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782,
1282,
1435,
565,
288,
3639,
2252,
18,
1367,
18,
682,
462,
1282,
273,
394,
2407,
5621,
3639,
4498,
518,
273,
2882,
4558,
298,
782,
1282,
7675,
9838,
5621,
3639,
1323,
261,
305,
18,
5332,
2134,
10756,
3639,
288,
5411,
605,
4558,
298,
782,
305,
462,
305,
273,
261,
38,
4558,
298,
782,
305,
13,
305,
18,
4285,
5621,
5411,
309,
16051,
588,
38,
4558,
298,
3896,
12148,
461,
7675,
14963,
12,
588,
12148,
461,
29309,
12,
7734,
462,
305,
18,
588,
1805,
1435,
20349,
5411,
288,
7734,
462,
1282,
18,
1289,
12,
343,
305,
1769,
5411,
289,
3639,
289,
3639,
327,
462,
1282,
31,
565,
289,
2,
-100
] |
this.core.getConfigWindow().removeTab(this.configPanel); this.core.getConfigWindow().deleteObserver(this); this.running = false;
|
core.getConfigWindow().removeTab(configPanel); core.getConfigWindow().deleteObserver(this); running = false;
|
public boolean stop() { this.core.getConfigWindow().removeTab(this.configPanel); this.core.getConfigWindow().deleteObserver(this); this.running = false; return true; }
|
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/0458430a0dc8a713aa2b4d64f000cbbaaeb4adea/Restarter.java/buggy/src/thaw/plugins/Restarter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
2132,
1435,
288,
202,
202,
2211,
18,
3644,
18,
588,
809,
3829,
7675,
4479,
5661,
12,
2211,
18,
1425,
5537,
1769,
202,
202,
2211,
18,
3644,
18,
588,
809,
3829,
7675,
3733,
11048,
12,
2211,
1769,
202,
202,
2211,
18,
8704,
273,
629,
31,
202,
202,
2463,
638,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
2132,
1435,
288,
202,
202,
2211,
18,
3644,
18,
588,
809,
3829,
7675,
4479,
5661,
12,
2211,
18,
1425,
5537,
1769,
202,
202,
2211,
18,
3644,
18,
588,
809,
3829,
7675,
3733,
11048,
12,
2211,
1769,
202,
202,
2211,
18,
8704,
273,
629,
31,
202,
202,
2463,
638,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
String iteratorName, String contentType){
|
String iteratorName, String contentType){
|
private static boolean isIteratorNext(PsiElement element, String iteratorName, String contentType){ if(element == null){ return false; } if(element instanceof PsiTypeCastExpression){ final PsiTypeCastExpression castExpression = (PsiTypeCastExpression) element; final PsiType type = castExpression.getType(); if(type == null){ return false; } if(!type.getPresentableText().equals(contentType)){ return false; } final PsiExpression operand = castExpression.getOperand(); return isIteratorNext(operand, iteratorName, contentType); } if(!(element instanceof PsiMethodCallExpression)){ return false; } final PsiMethodCallExpression callExpression = (PsiMethodCallExpression) element; final PsiExpressionList argumentList = callExpression.getArgumentList(); if(argumentList == null){ return false; } final PsiExpression[] args = argumentList.getExpressions(); if(args == null || args.length != 0){ return false; } final PsiReferenceExpression reference = callExpression.getMethodExpression(); if(reference == null){ return false; } final PsiExpression qualifier = reference.getQualifierExpression(); if(qualifier == null){ return false; } if(!iteratorName.equals(qualifier.getText())){ return false; } final String referenceName = reference.getReferenceName(); return "next".equals(referenceName); }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/f4d42343faae0a9a5d67701acaf912882ddb379c/ForCanBeForeachInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/jdk15/ForCanBeForeachInspection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
760,
1250,
353,
3198,
2134,
12,
52,
7722,
1046,
930,
16,
4766,
4202,
514,
2775,
461,
16,
514,
5064,
15329,
5411,
309,
12,
2956,
422,
446,
15329,
7734,
327,
629,
31,
5411,
289,
5411,
309,
12,
2956,
1276,
453,
7722,
559,
9735,
2300,
15329,
7734,
727,
453,
7722,
559,
9735,
2300,
4812,
2300,
273,
261,
52,
7722,
559,
9735,
2300,
13,
930,
31,
7734,
727,
453,
7722,
559,
618,
273,
4812,
2300,
18,
588,
559,
5621,
7734,
309,
12,
723,
422,
446,
15329,
10792,
327,
629,
31,
7734,
289,
7734,
309,
12,
5,
723,
18,
588,
6351,
429,
1528,
7675,
14963,
12,
22194,
3719,
95,
10792,
327,
629,
31,
7734,
289,
7734,
727,
453,
7722,
2300,
9886,
273,
13491,
4812,
2300,
18,
588,
10265,
5621,
7734,
327,
353,
3198,
2134,
12,
4063,
464,
16,
2775,
461,
16,
5064,
1769,
5411,
289,
5411,
309,
12,
5,
12,
2956,
1276,
453,
7722,
12592,
2300,
3719,
95,
7734,
327,
629,
31,
5411,
289,
5411,
727,
453,
7722,
12592,
2300,
745,
2300,
273,
10792,
261,
52,
7722,
12592,
2300,
13,
930,
31,
5411,
727,
453,
7722,
2300,
682,
1237,
682,
273,
10792,
745,
2300,
18,
588,
1379,
682,
5621,
5411,
309,
12,
3446,
682,
422,
446,
15329,
7734,
327,
629,
31,
5411,
289,
5411,
727,
453,
7722,
2300,
8526,
833,
273,
1237,
682,
18,
588,
8927,
5621,
5411,
309,
12,
1968,
422,
446,
747,
833,
18,
2469,
480,
374,
15329,
7734,
327,
629,
31,
5411,
289,
5411,
727,
453,
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,
540,
3238,
760,
1250,
353,
3198,
2134,
12,
52,
7722,
1046,
930,
16,
4766,
4202,
514,
2775,
461,
16,
514,
5064,
15329,
5411,
309,
12,
2956,
422,
446,
15329,
7734,
327,
629,
31,
5411,
289,
5411,
309,
12,
2956,
1276,
453,
7722,
559,
9735,
2300,
15329,
7734,
727,
453,
7722,
559,
9735,
2300,
4812,
2300,
273,
261,
52,
7722,
559,
9735,
2300,
13,
930,
31,
7734,
727,
453,
7722,
559,
618,
273,
4812,
2300,
18,
588,
559,
5621,
7734,
309,
12,
723,
422,
446,
15329,
10792,
327,
629,
31,
7734,
289,
7734,
309,
12,
5,
723,
18,
588,
6351,
429,
1528,
7675,
14963,
12,
22194,
3719,
95,
10792,
327,
629,
31,
7734,
289,
7734,
727,
453,
7722,
2300,
9886,
2
] |
put(PdfName.CREATIONDATE, new PdfDate()); }
|
put(PdfName.CREATIONDATE, new PdfDate()); }
|
void addCreationDate() { put(PdfName.CREATIONDATE, new PdfDate()); }
|
3506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3506/6288f051b807f9da0a0f308a00b5851da285b8fb/PdfDocument.java/buggy/itext/src/com/lowagie/text/pdf/PdfDocument.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
918,
527,
9906,
1626,
1435,
288,
5411,
1378,
12,
18562,
461,
18,
5458,
2689,
4594,
16,
394,
9989,
1626,
10663,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
918,
527,
9906,
1626,
1435,
288,
5411,
1378,
12,
18562,
461,
18,
5458,
2689,
4594,
16,
394,
9989,
1626,
10663,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
case tAREF:
|
/*case tAREF:
|
private void void_expr(NODE node) { String useless = null; if (!RTEST(ruby_verbose)) return; if (node == null) return; again:for(;;) { switch (nd_type(node)) { case NODE.NODE_NEWLINE: node = node.nd_next(); continue again; case NODE.NODE_CALL: switch (node.nd_mid().intValue()) { case '+': case '-': case '*': case '/': case '%': case tPOW: case tUPLUS: case tUMINUS: case '|': case '^': case '&': case tCMP: case '>': case tGEQ: case '<': case tLEQ: case tEQ: case tNEQ: case tAREF: case tRSHFT: case tCOLON2: case tCOLON3: useless = ID.rb_id2name(ruby, node.nd_mid()); break; } break; case NODE.NODE_LVAR: case NODE.NODE_DVAR: case NODE.NODE_GVAR: case NODE.NODE_IVAR: case NODE.NODE_CVAR: case NODE.NODE_NTH_REF: case NODE.NODE_BACK_REF: useless = "a variable"; break; case NODE.NODE_CONST: case NODE.NODE_CREF: useless = "a constant"; break; case NODE.NODE_LIT: case NODE.NODE_STR: case NODE.NODE_DSTR: case NODE.NODE_DREGX: case NODE.NODE_DREGX_ONCE: useless = "a literal"; break; case NODE.NODE_COLON2: case NODE.NODE_COLON3: useless = "::"; break; case NODE.NODE_DOT2: useless = ".."; break; case NODE.NODE_DOT3: useless = "..."; break; case NODE.NODE_SELF: useless = "self"; break; case NODE.NODE_NIL: useless = "nil"; break; case NODE.NODE_TRUE: useless = "true"; break; case NODE.NODE_FALSE: useless = "false"; break; case NODE.NODE_DEFINED: useless = "defined?"; break; } break again; } if (useless != null) { int line = ruby_sourceline; ruby_sourceline = nd_line(node); rb_warn("useless use of %s in void context", useless); ruby_sourceline = line; } }
|
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/241a0fe060c8d239aa9e5d2519e98cf44d69a201/parse.java/buggy/org/jruby/parser/parse.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
918,
67,
8638,
12,
8744,
756,
13,
565,
288,
3639,
514,
26967,
273,
446,
31,
3639,
309,
16051,
54,
16961,
12,
27768,
67,
11369,
3719,
327,
31,
3639,
309,
261,
2159,
422,
446,
13,
327,
31,
1377,
3382,
30,
1884,
12,
25708,
13,
288,
3639,
1620,
261,
4880,
67,
723,
12,
2159,
3719,
288,
1850,
648,
11922,
18,
8744,
67,
12917,
5997,
30,
5411,
756,
273,
756,
18,
4880,
67,
4285,
5621,
5411,
1324,
3382,
31,
1850,
648,
11922,
18,
8744,
67,
13730,
30,
5411,
1620,
261,
2159,
18,
4880,
67,
13138,
7675,
474,
620,
10756,
288,
2868,
648,
15126,
4278,
2868,
648,
4014,
30,
2868,
648,
5306,
30,
2868,
648,
2023,
30,
2868,
648,
1995,
4278,
2868,
648,
268,
2419,
59,
30,
2868,
648,
268,
3079,
48,
3378,
30,
2868,
648,
268,
2799,
706,
3378,
30,
2868,
648,
6699,
4278,
2868,
648,
10731,
4278,
2868,
648,
5183,
4278,
2868,
648,
268,
39,
4566,
30,
2868,
648,
7481,
30,
2868,
648,
268,
7113,
53,
30,
2868,
648,
2368,
4278,
2868,
648,
268,
900,
53,
30,
2868,
648,
268,
27247,
30,
2868,
648,
268,
5407,
53,
30,
2868,
1748,
3593,
268,
9332,
42,
30,
2868,
648,
268,
54,
2664,
4464,
30,
2868,
648,
268,
4935,
673,
22,
30,
2868,
648,
268,
4935,
673,
23,
30,
7734,
26967,
273,
1599,
18,
6731,
67,
350,
22,
529,
12,
27768,
16,
756,
18,
4880,
67,
13138,
10663,
7734,
898,
31,
5411,
289,
5411,
898,
31,
1850,
648,
11922,
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,
918,
67,
8638,
12,
8744,
756,
13,
565,
288,
3639,
514,
26967,
273,
446,
31,
3639,
309,
16051,
54,
16961,
12,
27768,
67,
11369,
3719,
327,
31,
3639,
309,
261,
2159,
422,
446,
13,
327,
31,
1377,
3382,
30,
1884,
12,
25708,
13,
288,
3639,
1620,
261,
4880,
67,
723,
12,
2159,
3719,
288,
1850,
648,
11922,
18,
8744,
67,
12917,
5997,
30,
5411,
756,
273,
756,
18,
4880,
67,
4285,
5621,
5411,
1324,
3382,
31,
1850,
648,
11922,
18,
8744,
67,
13730,
30,
5411,
1620,
261,
2159,
18,
4880,
67,
13138,
7675,
474,
620,
10756,
288,
2868,
648,
15126,
4278,
2868,
648,
4014,
30,
2868,
648,
5306,
30,
2868,
648,
2023,
30,
2868,
648,
1995,
2
] |
c.put("RealLiteralExp", new Ctor() { public Object cr() { return f.createRealLiteralExp(); } } );
|
c.put("StringLiteralExp", new Ctor() { public Object cr() { return f.createStringLiteralExp(); } } );
|
c.put("RealLiteralExp", new Ctor() { public Object cr() { return f.createRealLiteralExp(); } } );
|
6381 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6381/5848b09a05a0270ad806977266410a4b62cae09f/NodeFactory.java/buggy/ocl20/src/tudresden/ocl20/core/parser/astgen/NodeFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
276,
18,
458,
2932,
6955,
6177,
2966,
3113,
540,
394,
385,
13039,
1435,
288,
1071,
1033,
4422,
1435,
288,
327,
284,
18,
2640,
6955,
6177,
2966,
5621,
289,
289,
11272,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
276,
18,
458,
2932,
6955,
6177,
2966,
3113,
540,
394,
385,
13039,
1435,
288,
1071,
1033,
4422,
1435,
288,
327,
284,
18,
2640,
6955,
6177,
2966,
5621,
289,
289,
11272,
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
] |
catch (MessageFormatException mfs)
|
catch (NumberFormatException mfs)
|
public void testByte() throws JMSException { JMSPropertyFieldTable table1 = new JMSPropertyFieldTable(); table1.setByte("value", Byte.MAX_VALUE); Assert.assertTrue(table1.propertyExists("value")); //Tets lookups we shouldn't get anything back for other gets //we should get right value back for this type .... try { table1.getBoolean("value"); fail("Should throw MessageFormatException"); } catch (MessageFormatException mfs) { //normal Execution } try { table1.getDouble("value"); fail("Should throw MessageFormatException"); } catch (MessageFormatException mfs) { //normal Execution } try { table1.getFloat("value"); fail("Should throw MessageFormatException"); } catch (MessageFormatException mfs) { //normal Execution } Assert.assertEquals(Byte.MAX_VALUE, (byte) table1.getShort("value")); Assert.assertEquals(Byte.MAX_VALUE, (byte) table1.getInteger("value")); Assert.assertEquals(Byte.MAX_VALUE, (byte) table1.getLong("value")); Assert.assertEquals(Byte.MAX_VALUE, table1.getByte("value")); //... and a the string value of it. Assert.assertEquals("" + Byte.MAX_VALUE, table1.getString("value")); table1.remove("value"); //but after a remove it doesn't Assert.assertFalse(table1.propertyExists("value")); // Table should now have zero size for encoding checkEmpty(table1); //Looking up an invalid value returns null try { table1.getByte("Rubbish"); fail("Should throw MessageFormatException"); } catch (MessageFormatException mfs) { //normal Execution } }
|
45585 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45585/7977b456f513ac1da247b1b16423fb23bbf2a3bf/JMSPropertyFieldTableTest.java/clean/qpid/java/common/src/test/java/org/apache/qpid/framing/JMSPropertyFieldTableTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3216,
1435,
1216,
20343,
565,
288,
3639,
13270,
1396,
974,
1388,
1014,
21,
273,
394,
13270,
1396,
974,
1388,
5621,
3639,
1014,
21,
18,
542,
3216,
2932,
1132,
3113,
3506,
18,
6694,
67,
4051,
1769,
3639,
5452,
18,
11231,
5510,
12,
2121,
21,
18,
4468,
4002,
2932,
1132,
7923,
1769,
3639,
368,
56,
2413,
20286,
732,
12044,
1404,
336,
6967,
1473,
364,
1308,
5571,
3639,
368,
1814,
1410,
336,
2145,
460,
1473,
364,
333,
618,
1372,
18,
3639,
775,
3639,
288,
5411,
1014,
21,
18,
588,
5507,
2932,
1132,
8863,
5411,
2321,
2932,
14309,
604,
2350,
9291,
8863,
3639,
289,
3639,
1044,
261,
1854,
9291,
312,
2556,
13,
3639,
288,
5411,
368,
6130,
8687,
3639,
289,
3639,
775,
3639,
288,
5411,
1014,
21,
18,
588,
5265,
2932,
1132,
8863,
5411,
2321,
2932,
14309,
604,
2350,
9291,
8863,
3639,
289,
3639,
1044,
261,
1854,
9291,
312,
2556,
13,
3639,
288,
5411,
368,
6130,
8687,
3639,
289,
3639,
775,
3639,
288,
5411,
1014,
21,
18,
588,
4723,
2932,
1132,
8863,
5411,
2321,
2932,
14309,
604,
2350,
9291,
8863,
3639,
289,
3639,
1044,
261,
1854,
9291,
312,
2556,
13,
3639,
288,
5411,
368,
6130,
8687,
3639,
289,
3639,
5452,
18,
11231,
8867,
12,
3216,
18,
6694,
67,
4051,
16,
261,
7229,
13,
1014,
21,
18,
588,
4897,
2932,
1132,
7923,
1769,
3639,
5452,
18,
11231,
8867,
12,
3216,
18,
6694,
67,
4051,
16,
261,
7229,
13,
1014,
21,
18,
588,
4522,
2932,
1132,
7923,
1769,
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,
1071,
918,
1842,
3216,
1435,
1216,
20343,
565,
288,
3639,
13270,
1396,
974,
1388,
1014,
21,
273,
394,
13270,
1396,
974,
1388,
5621,
3639,
1014,
21,
18,
542,
3216,
2932,
1132,
3113,
3506,
18,
6694,
67,
4051,
1769,
3639,
5452,
18,
11231,
5510,
12,
2121,
21,
18,
4468,
4002,
2932,
1132,
7923,
1769,
3639,
368,
56,
2413,
20286,
732,
12044,
1404,
336,
6967,
1473,
364,
1308,
5571,
3639,
368,
1814,
1410,
336,
2145,
460,
1473,
364,
333,
618,
1372,
18,
3639,
775,
3639,
288,
5411,
1014,
21,
18,
588,
5507,
2932,
1132,
8863,
5411,
2321,
2932,
14309,
604,
2350,
9291,
8863,
3639,
289,
3639,
1044,
261,
1854,
9291,
312,
2556,
13,
3639,
288,
5411,
368,
6130,
8687,
3639,
2
] |
super.delete();
|
super.delete(childrenOnly, writeTombstones);
|
void delete() throws ServiceException { MailItem parent = getParent(); if (parent instanceof Conversation && parent.mData.children.size() == 1) parent.delete(); else super.delete(); }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/4991475788413b07fe4f75cf947065aa6f55056f/Message.java/clean/ZimbraServer/src/java/com/zimbra/cs/mailbox/Message.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1430,
1435,
1216,
16489,
288,
3639,
11542,
1180,
982,
273,
5089,
5621,
3639,
309,
261,
2938,
1276,
16765,
597,
982,
18,
81,
751,
18,
5906,
18,
1467,
1435,
422,
404,
13,
5411,
982,
18,
3733,
5621,
3639,
469,
5411,
2240,
18,
3733,
12,
5906,
3386,
16,
1045,
56,
16659,
334,
5322,
1769,
565,
289,
2,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1430,
1435,
1216,
16489,
288,
3639,
11542,
1180,
982,
273,
5089,
5621,
3639,
309,
261,
2938,
1276,
16765,
597,
982,
18,
81,
751,
18,
5906,
18,
1467,
1435,
422,
404,
13,
5411,
982,
18,
3733,
5621,
3639,
469,
5411,
2240,
18,
3733,
12,
5906,
3386,
16,
1045,
56,
16659,
334,
5322,
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
] |
chatFrame.setVisible(true); int tabLocation = indexOfComponent(chatRoom); setSelectedIndex(tabLocation); if (!SparkManager.getMainWindow().isVisible()) { startFlashing(chatRoom); } else if (chatFrame.getState() == Frame.ICONIFIED) { startFlashing(chatRoom); } } else if (chatRoom != activeChatRoom) { startFlashing(chatRoom); }
|
});
|
public void fireNotifyOnMessage(final ChatRoom chatRoom) { ChatRoom activeChatRoom = null; try { activeChatRoom = getActiveChatRoom(); } catch (ChatRoomNotFoundException e1) { Log.error(e1); } if (chatFrame.isVisible() && (chatFrame.getState() == Frame.ICONIFIED || chatFrame.getInactiveTime() > 20000)) { int tabLocation = indexOfComponent(chatRoom); setSelectedIndex(tabLocation); startFlashing(chatRoom); return; } if (!chatFrame.isVisible() && SparkManager.getMainWindow().isFocused()) { chatFrame.setState(Frame.NORMAL); chatFrame.setVisible(true); } else if (chatFrame.isVisible() && !chatFrame.isInFocus()) { startFlashing(chatRoom); } else if (chatFrame.isVisible() && chatFrame.getState() == Frame.ICONIFIED) { // Set to new tab. int tabLocation = indexOfComponent(chatRoom); setSelectedIndex(tabLocation); // If the ContactList is in the tray, we need better notification by flashing // the chatframe. startFlashing(chatRoom); } // Handle when chat frame is visible but the Contact List is not. else if (chatFrame.isVisible() && !SparkManager.getMainWindow().isVisible() && !chatFrame.isInFocus()) { startFlashing(chatRoom); } else if (!chatFrame.isVisible()) { if (Spark.isWindows()) { chatFrame.setFocusableWindowState(false); chatFrame.setState(Frame.ICONIFIED); } chatFrame.setVisible(true); // Set to new tab. int tabLocation = indexOfComponent(chatRoom); setSelectedIndex(tabLocation); // If the ContactList is in the tray, we need better notification by flashing // the chatframe. if (!SparkManager.getMainWindow().isVisible()) { startFlashing(chatRoom); } else if (chatFrame.getState() == Frame.ICONIFIED) { startFlashing(chatRoom); } } else if (chatRoom != activeChatRoom) { startFlashing(chatRoom); } }
|
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/679c55c119e5807b621b021ce6ce8ef36ef890f3/ChatContainer.java/buggy/src/java/org/jivesoftware/spark/ui/ChatContainer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4452,
9168,
1398,
1079,
12,
6385,
16903,
13646,
7916,
13646,
13,
288,
3639,
16903,
13646,
2695,
14163,
13646,
273,
446,
31,
3639,
775,
288,
5411,
2695,
14163,
13646,
273,
11960,
14163,
13646,
5621,
3639,
289,
3639,
1044,
261,
14163,
13646,
3990,
425,
21,
13,
288,
5411,
1827,
18,
1636,
12,
73,
21,
1769,
3639,
289,
3639,
309,
261,
10880,
3219,
18,
291,
6207,
1435,
597,
261,
10880,
3219,
18,
588,
1119,
1435,
422,
8058,
18,
21745,
13519,
747,
7916,
3219,
18,
588,
24384,
950,
1435,
405,
576,
2787,
3719,
288,
5411,
509,
3246,
2735,
273,
3133,
1841,
12,
10880,
13646,
1769,
5411,
23006,
1016,
12,
7032,
2735,
1769,
5411,
787,
11353,
310,
12,
10880,
13646,
1769,
5411,
327,
31,
3639,
289,
3639,
309,
16051,
10880,
3219,
18,
291,
6207,
1435,
597,
21087,
1318,
18,
588,
6376,
3829,
7675,
291,
30946,
10756,
288,
5411,
7916,
3219,
18,
542,
1119,
12,
3219,
18,
15480,
1769,
5411,
7916,
3219,
18,
542,
6207,
12,
3767,
1769,
3639,
289,
3639,
469,
309,
261,
10880,
3219,
18,
291,
6207,
1435,
597,
401,
10880,
3219,
18,
291,
382,
9233,
10756,
288,
5411,
787,
11353,
310,
12,
10880,
13646,
1769,
3639,
289,
3639,
469,
309,
261,
10880,
3219,
18,
291,
6207,
1435,
597,
7916,
3219,
18,
588,
1119,
1435,
422,
8058,
18,
21745,
13519,
13,
288,
5411,
368,
1000,
358,
394,
3246,
18,
5411,
509,
3246,
2735,
273,
3133,
1841,
12,
10880,
13646,
1769,
5411,
23006,
1016,
12,
7032,
2735,
1769,
5411,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4452,
9168,
1398,
1079,
12,
6385,
16903,
13646,
7916,
13646,
13,
288,
3639,
16903,
13646,
2695,
14163,
13646,
273,
446,
31,
3639,
775,
288,
5411,
2695,
14163,
13646,
273,
11960,
14163,
13646,
5621,
3639,
289,
3639,
1044,
261,
14163,
13646,
3990,
425,
21,
13,
288,
5411,
1827,
18,
1636,
12,
73,
21,
1769,
3639,
289,
3639,
309,
261,
10880,
3219,
18,
291,
6207,
1435,
597,
261,
10880,
3219,
18,
588,
1119,
1435,
422,
8058,
18,
21745,
13519,
747,
7916,
3219,
18,
588,
24384,
950,
1435,
405,
576,
2787,
3719,
288,
5411,
509,
3246,
2735,
273,
3133,
1841,
12,
10880,
13646,
1769,
5411,
23006,
1016,
12,
7032,
2735,
1769,
5411,
787,
11353,
310,
12,
10880,
13646,
1769,
2
] |
return 0;
|
return value;
|
public int getFoldingOffset(int value){ return 0; }
|
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
565,
1071,
509,
2812,
1673,
310,
2335,
12,
474,
460,
15329,
1082,
202,
2463,
374,
31,
202,
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
] |
_t = __t2008;
|
_t = __t2012;
|
public final void spacephrase(AST _t) throws RecognitionException { AST spacephrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2008 = _t; AST tmp2134_AST_in = (AST)_t; match(_t,SPACE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LEFTPAREN: { funargs(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t2008; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
3476,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
3476,
9429,
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,
6976,
28,
273,
389,
88,
31,
202,
202,
9053,
1853,
22,
25213,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
6616,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
9686,
15111,
30,
202,
202,
95,
1082,
202,
12125,
1968,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
890,
30,
202,
202,
95,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
1886,
30,
202,
202,
95,
1082,
202,
12849,
394,
17114,
24899,
88,
1769,
202,
202,
97,
202,
202,
97,
202,
202,
97,
202,
202,
67,
88,
273,
1001,
88,
6976,
28,
31,
202,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
202,
202,
67,
1349,
2471,
273,
389,
88,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
3476,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
3476,
9429,
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,
6976,
28,
273,
389,
88,
31,
202,
202,
9053,
1853,
22,
25213,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
6616,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
2
] |
Query q1 = new Query("select table1.field1 from table1 group by table1.field1 having table1.field1 = 1 and table1.field2 = 2"); Query q2 = new Query();
|
q1 = new Query("select table1.field1 from table1 group by table1.field1 having table1.field1 = 1 and table1.field2 = 2"); q2 = new Query();
|
public void testHavingTwoEqualConstraints() throws Exception { Query q1 = new Query("select table1.field1 from table1 group by table1.field1 having table1.field1 = 1 and table1.field2 = 2"); Query q2 = new Query(); Table t1 = new Table("table1"); Field f1 = new Field("field1", t1); Field f2 = new Field("field2", t1); Constant c1 = new Constant("1"); Constant c2 = new Constant("2"); SelectValue sv1 = new SelectValue(f1, null); q2.addSelect(sv1); q2.addFrom(t1); q2.addGroupBy(f1); q2.addHaving(new Constraint(f1, Constraint.EQ, c1)); q2.addHaving(new Constraint(f2, Constraint.EQ, c2)); assertEquals(q2, q1); }
|
7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/a5e9331f55149bdc78aa8770ceaec1bc56d8e9dd/QueryTest.java/buggy/intermine/src/test/org/intermine/sql/query/QueryTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
29954,
11710,
5812,
4878,
1435,
1216,
1185,
288,
3639,
2770,
1043,
21,
273,
394,
2770,
2932,
4025,
1014,
21,
18,
1518,
21,
628,
1014,
21,
1041,
635,
1014,
21,
18,
1518,
21,
7999,
1014,
21,
18,
1518,
21,
273,
404,
471,
1014,
21,
18,
1518,
22,
273,
576,
8863,
3639,
2770,
1043,
22,
273,
394,
2770,
5621,
3639,
3555,
268,
21,
273,
394,
3555,
2932,
2121,
21,
8863,
3639,
2286,
284,
21,
273,
394,
2286,
2932,
1518,
21,
3113,
268,
21,
1769,
3639,
2286,
284,
22,
273,
394,
2286,
2932,
1518,
22,
3113,
268,
21,
1769,
3639,
10551,
276,
21,
273,
394,
10551,
2932,
21,
8863,
3639,
10551,
276,
22,
273,
394,
10551,
2932,
22,
8863,
3639,
6766,
620,
5893,
21,
273,
394,
6766,
620,
12,
74,
21,
16,
446,
1769,
3639,
1043,
22,
18,
1289,
3391,
12,
5751,
21,
1769,
3639,
1043,
22,
18,
1289,
1265,
12,
88,
21,
1769,
3639,
1043,
22,
18,
1289,
26257,
12,
74,
21,
1769,
3639,
1043,
22,
18,
1289,
29954,
12,
2704,
10770,
12,
74,
21,
16,
10770,
18,
27247,
16,
276,
21,
10019,
3639,
1043,
22,
18,
1289,
29954,
12,
2704,
10770,
12,
74,
22,
16,
10770,
18,
27247,
16,
276,
22,
10019,
3639,
1815,
8867,
12,
85,
22,
16,
1043,
21,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
29954,
11710,
5812,
4878,
1435,
1216,
1185,
288,
3639,
2770,
1043,
21,
273,
394,
2770,
2932,
4025,
1014,
21,
18,
1518,
21,
628,
1014,
21,
1041,
635,
1014,
21,
18,
1518,
21,
7999,
1014,
21,
18,
1518,
21,
273,
404,
471,
1014,
21,
18,
1518,
22,
273,
576,
8863,
3639,
2770,
1043,
22,
273,
394,
2770,
5621,
3639,
3555,
268,
21,
273,
394,
3555,
2932,
2121,
21,
8863,
3639,
2286,
284,
21,
273,
394,
2286,
2932,
1518,
21,
3113,
268,
21,
1769,
3639,
2286,
284,
22,
273,
394,
2286,
2932,
1518,
22,
3113,
268,
21,
1769,
3639,
10551,
276,
21,
273,
394,
10551,
2932,
21,
8863,
3639,
10551,
276,
22,
273,
394,
10551,
2932,
22,
2
] |
int state = CL_NONE;
|
int _state = CL_NONE;
|
private int checkLoop (OPT_Instruction inst, OPT_HeapOperand hop, int xidx, OPT_BasicBlock block) { HashSet seen = new HashSet(); OPT_Queue workList = new OPT_Queue(); int state = CL_NONE; int instUses = 0; seen.add (inst); for (int i = Phi.getNumberOfValues (inst) - 1; i >= 0; --i) { if (i == xidx) continue; OPT_Instruction y = definingInstruction (Phi.getValue (inst, i)); if (y == inst) instUses++; if (!(seen.contains (y))) { seen.add (y); workList.insert (y); } } while (!(workList.isEmpty())) { OPT_Instruction y = (OPT_Instruction) workList.remove(); if (Phi.conforms (y)) { for (int i = Phi.getNumberOfValues (y) - 1; i >= 0; --i) { OPT_Instruction z = definingInstruction (Phi.getValue (y, i)); if (z == inst) instUses++; if (!(seen.contains (z))) { seen.add (z); workList.insert (z); } } } else if (( y.isPEI()) || !LocationCarrier.conforms (y) || y.operator.isAcquire() || y.operator.isRelease()) { return CL_COMPLEX; } else { // check for access to volatile field OPT_LocationOperand loc = LocationCarrier.getLocation (y); if (loc == null || loc.mayBeVolatile()) { //VM.sysWrite (" no loc or volatile field\n"); return CL_COMPLEX; } if (y.isImplicitStore()) { // only accept loop-invariant stores // conservatively estimate loop-invariance by header domination if (!inVariantLocation (y, block)) return CL_COMPLEX; state |= CL_STORES_ONLY; } else { state |= CL_LOADS_ONLY; } OPT_HeapOperand[] ops = ssad.getHeapUses (y); for (int j = 0; j < ops.length; ++j) { if (ops[j].value.type == ssad.exceptionState) continue; if (ops[j].value.type != hop.value.type) return CL_COMPLEX; y = definingInstruction (ops[j]); if (y == inst) instUses++; if (!(seen.contains (y))) { seen.add (y); workList.insert (y); } } } } if (state == CL_STORES_ONLY && ssad.getNumberOfUses (hop.value) != instUses) return CL_COMPLEX; return state; }
|
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/35bd01b7529801989a0cf74ba4bc2553fd6572ec/OPT_LICM.java/buggy/rvm/src/vm/compilers/optimizing/optimizations/global/ssa/codePlacement/OPT_LICM.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
509,
866,
6452,
261,
15620,
67,
11983,
1804,
16,
16456,
67,
15648,
10265,
19055,
16,
509,
619,
3465,
16,
7682,
16456,
67,
8252,
1768,
1203,
13,
225,
288,
565,
6847,
5881,
273,
394,
6847,
5621,
565,
16456,
67,
3183,
1440,
682,
273,
394,
16456,
67,
3183,
5621,
565,
509,
389,
2019,
273,
14934,
67,
9826,
31,
565,
509,
1804,
15128,
273,
374,
31,
3639,
5881,
18,
1289,
261,
8591,
1769,
565,
364,
261,
474,
277,
273,
4360,
77,
18,
588,
9226,
1972,
261,
8591,
13,
300,
404,
31,
225,
277,
1545,
374,
31,
225,
1493,
77,
13,
288,
1377,
309,
261,
77,
422,
619,
3465,
13,
1324,
31,
1377,
16456,
67,
11983,
677,
273,
9364,
11983,
261,
31905,
18,
24805,
261,
8591,
16,
277,
10019,
1377,
309,
261,
93,
422,
1804,
13,
1804,
15128,
9904,
31,
1377,
309,
16051,
12,
15156,
18,
12298,
261,
93,
20349,
288,
3639,
5881,
18,
1289,
261,
93,
1769,
3639,
1440,
682,
18,
6387,
261,
93,
1769,
1377,
289,
565,
289,
3639,
1323,
16051,
12,
1252,
682,
18,
291,
1921,
1435,
3719,
288,
1377,
16456,
67,
11983,
677,
273,
261,
15620,
67,
11983,
13,
1440,
682,
18,
4479,
5621,
1377,
309,
261,
31905,
18,
591,
9741,
261,
93,
3719,
288,
3639,
364,
261,
474,
277,
273,
4360,
77,
18,
588,
9226,
1972,
261,
93,
13,
300,
404,
31,
225,
277,
1545,
374,
31,
225,
1493,
77,
13,
288,
1850,
16456,
67,
11983,
998,
273,
9364,
11983,
261,
31905,
18,
24805,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
509,
866,
6452,
261,
15620,
67,
11983,
1804,
16,
16456,
67,
15648,
10265,
19055,
16,
509,
619,
3465,
16,
7682,
16456,
67,
8252,
1768,
1203,
13,
225,
288,
565,
6847,
5881,
273,
394,
6847,
5621,
565,
16456,
67,
3183,
1440,
682,
273,
394,
16456,
67,
3183,
5621,
565,
509,
389,
2019,
273,
14934,
67,
9826,
31,
565,
509,
1804,
15128,
273,
374,
31,
3639,
5881,
18,
1289,
261,
8591,
1769,
565,
364,
261,
474,
277,
273,
4360,
77,
18,
588,
9226,
1972,
261,
8591,
13,
300,
404,
31,
225,
277,
1545,
374,
31,
225,
1493,
77,
13,
288,
1377,
309,
261,
77,
422,
619,
3465,
13,
1324,
31,
1377,
16456,
67,
11983,
677,
273,
9364,
11983,
261,
2
] |
}
|
}
|
public void addSeparator(String label) { Box box = new Box(BoxLayout.X_AXIS); Box box2 = new Box(BoxLayout.Y_AXIS); box2.add(Box.createGlue()); box2.add(new JSeparator(JSeparator.HORIZONTAL)); box2.add(Box.createGlue()); box.add(box2); JLabel l = new JLabel(jEdit.getProperty(label)); l.setMaximumSize(l.getPreferredSize()); box.add(l); Box box3 = new Box(BoxLayout.Y_AXIS); box3.add(Box.createGlue()); box3.add(new JSeparator(JSeparator.HORIZONTAL)); box3.add(Box.createGlue()); box.add(box3); GridBagConstraints cons = new GridBagConstraints(); cons.gridy = y++; cons.gridheight = 1; cons.gridwidth = cons.REMAINDER; cons.fill = GridBagConstraints.BOTH; cons.anchor = GridBagConstraints.WEST; cons.weightx = 1.0f; gridBag.setConstraints(box,cons); add(box); }
|
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/75f860d41ada6e94e8961fbea0bb3a06c855a15c/AbstractOptionPane.java/buggy/org/gjt/sp/jedit/AbstractOptionPane.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
527,
6581,
12,
780,
1433,
13,
202,
95,
202,
202,
3514,
3919,
273,
394,
8549,
12,
3514,
3744,
18,
60,
67,
25614,
1769,
202,
202,
3514,
3919,
22,
273,
394,
8549,
12,
3514,
3744,
18,
61,
67,
25614,
1769,
202,
202,
2147,
22,
18,
1289,
12,
3514,
18,
2640,
21308,
344,
10663,
202,
202,
2147,
22,
18,
1289,
12,
2704,
804,
6581,
12,
46,
6581,
18,
44,
20344,
10019,
202,
202,
2147,
22,
18,
1289,
12,
3514,
18,
2640,
21308,
344,
10663,
202,
202,
2147,
18,
1289,
12,
2147,
22,
1769,
202,
202,
46,
2224,
328,
273,
394,
21403,
12,
78,
4666,
18,
588,
1396,
12,
1925,
10019,
202,
202,
80,
18,
542,
13528,
1225,
12,
80,
18,
588,
16028,
1225,
10663,
202,
202,
2147,
18,
1289,
12,
80,
1769,
202,
202,
3514,
3919,
23,
273,
394,
8549,
12,
3514,
3744,
18,
61,
67,
25614,
1769,
202,
202,
2147,
23,
18,
1289,
12,
3514,
18,
2640,
21308,
344,
10663,
202,
202,
2147,
23,
18,
1289,
12,
2704,
804,
6581,
12,
46,
6581,
18,
44,
20344,
10019,
202,
202,
2147,
23,
18,
1289,
12,
3514,
18,
2640,
21308,
344,
10663,
202,
202,
2147,
18,
1289,
12,
2147,
23,
1769,
202,
202,
6313,
6852,
1959,
273,
394,
13075,
5621,
202,
202,
8559,
18,
5222,
93,
273,
677,
9904,
31,
202,
202,
8559,
18,
5222,
4210,
273,
404,
31,
202,
202,
8559,
18,
5222,
2819,
273,
1959,
18,
862,
5535,
14822,
31,
202,
202,
8559,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
527,
6581,
12,
780,
1433,
13,
202,
95,
202,
202,
3514,
3919,
273,
394,
8549,
12,
3514,
3744,
18,
60,
67,
25614,
1769,
202,
202,
3514,
3919,
22,
273,
394,
8549,
12,
3514,
3744,
18,
61,
67,
25614,
1769,
202,
202,
2147,
22,
18,
1289,
12,
3514,
18,
2640,
21308,
344,
10663,
202,
202,
2147,
22,
18,
1289,
12,
2704,
804,
6581,
12,
46,
6581,
18,
44,
20344,
10019,
202,
202,
2147,
22,
18,
1289,
12,
3514,
18,
2640,
21308,
344,
10663,
202,
202,
2147,
18,
1289,
12,
2147,
22,
1769,
202,
202,
46,
2224,
328,
273,
394,
21403,
12,
78,
4666,
18,
588,
1396,
12,
1925,
10019,
202,
202,
80,
18,
542,
13528,
1225,
2
] |
if (screenNames.values().contains(screenName)){
|
if (reverseScreenNames.get(screenName)!=null){
|
public void setScreenName(UserID uid, String screenName){ SimTask task = SimTask.getCurrent(); if (screenNames.values().contains(screenName)){ task.sendData(controlChannel,new UserID[]{uid}, ByteBuffer.wrap("already-joined".getBytes()),true); return; } screenNames.put(uid,screenName); setupBoard(task,uid); if (screenNames.size()==MAX_PLAYERS){ // all screen names set, lets start playing! joinPlayers(task); } }
|
55380 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55380/6d5b089648cfaea2420fd2cf2f0f51643f05cd77/BattleBoardGame.java/clean/src/com/sun/gi/apps/jeffboard/BattleBoardGame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
7956,
461,
12,
16631,
4555,
16,
514,
5518,
461,
15329,
202,
202,
7993,
2174,
1562,
273,
9587,
2174,
18,
588,
3935,
5621,
202,
202,
430,
261,
9252,
1557,
18,
2372,
7675,
12298,
12,
9252,
461,
3719,
95,
1082,
202,
4146,
18,
4661,
751,
12,
7098,
2909,
16,
2704,
16197,
63,
7073,
1911,
5779,
6862,
202,
12242,
18,
4113,
2932,
17583,
17,
5701,
329,
9654,
588,
2160,
1435,
3631,
3767,
1769,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
9252,
1557,
18,
458,
12,
1911,
16,
9252,
461,
1769,
1082,
202,
8401,
22233,
12,
4146,
16,
1911,
1769,
9506,
202,
430,
261,
9252,
1557,
18,
1467,
1435,
631,
6694,
67,
52,
7868,
11367,
15329,
1082,
202,
759,
777,
5518,
1257,
444,
16,
14557,
787,
23982,
5,
1082,
202,
5701,
1749,
3907,
12,
4146,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
7956,
461,
12,
16631,
4555,
16,
514,
5518,
461,
15329,
202,
202,
7993,
2174,
1562,
273,
9587,
2174,
18,
588,
3935,
5621,
202,
202,
430,
261,
9252,
1557,
18,
2372,
7675,
12298,
12,
9252,
461,
3719,
95,
1082,
202,
4146,
18,
4661,
751,
12,
7098,
2909,
16,
2704,
16197,
63,
7073,
1911,
5779,
6862,
202,
12242,
18,
4113,
2932,
17583,
17,
5701,
329,
9654,
588,
2160,
1435,
3631,
3767,
1769,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
9252,
1557,
18,
458,
12,
1911,
16,
9252,
461,
1769,
1082,
202,
8401,
22233,
12,
4146,
16,
1911,
1769,
9506,
202,
430,
261,
9252,
1557,
18,
1467,
1435,
631,
6694,
67,
52,
7868,
11367,
15329,
2
] |
boolean doDiag = false; long start=0; long stop=0;
|
public static void main(String[] args) { try { if (args.length > 0) { int i; int iterations = -1; boolean uri = false, debug = false; boolean isJarFileSpecified = false; String jarFile = null; // Parse options starting with '-' for (i = 0; i < args.length && args[i].charAt(0) == '-'; i++) { if (args[i].equals("-u")) { uri = true; } else if (args[i].equals("-x")) { debug = true; } else if (args[i].equals("-s")) { _allowExit = false; } else if (args[i].equals("-j")) { isJarFileSpecified = true; jarFile = args[++i]; } else if (args[i].equals("-e")) { _useOldOutputSystem = true; } else if (args[i].equals("-n")) { try { iterations = Integer.parseInt(args[++i]); } catch (NumberFormatException e) { // ignore } } else { printUsage(); } } // Enough arguments left ? if (args.length - i < 2) printUsage(); // Get document file and class name Transform handler = new Transform(args[i+1], args[i], uri, debug, iterations); handler.setJarFileInputSrc(isJarFileSpecified, jarFile); // Parse stylesheet parameters Vector params = new Vector(); for (i += 2; i < args.length; i++) { final int equal = args[i].indexOf('='); if (equal > 0) { final String name = args[i].substring(0, equal); final String value = args[i].substring(equal+1); params.addElement(new Parameter(name, value)); } else { printUsage(); } } if (i == args.length) { handler.setParameters(params); handler.doTransform(); if (_allowExit) System.exit(0); } } else { printUsage(); } } catch (Exception e) { e.printStackTrace(); } }
|
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/782101db4309847d97b2031849c724d44c1cdaf1/Transform.java/buggy/src/org/apache/xalan/xsltc/cmdline/Transform.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1250,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
1250,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
1250,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
1250,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
1071,
6494,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
760,
6494,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
918,
6494,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
2774,
12,
780,
8526,
6494,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
833,
13,
6494,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
288,
202,
698,
6494,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
288,
202,
6494,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
1250,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
1250,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
1250,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
309,
6494,
741,
14058,
273,
629,
31,
1525,
787,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1250,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
1250,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
1250,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
1250,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
1071,
6494,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
760,
6494,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
918,
6494,
741,
14058,
273,
629,
31,
1525,
787,
33,
20,
31,
1525,
2132,
33,
20,
31,
2774,
12,
780,
8526,
2
] |
|
result = RubyRegexp.newRegexp(builtins.toString(iVisited.getValue()), iVisited.getOptions());
|
result = RubyRegexp.newRegexp(builtins.toString(iVisited.getValue()), iVisited.getOptions(), null);
|
public void visitRegexpNode(RegexpNode iVisited) { result = RubyRegexp.newRegexp(builtins.toString(iVisited.getValue()), iVisited.getOptions()); }
|
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/c3988bcedc9973ff7f8c24ac6423ecb89f3ada35/EvaluateVisitor.java/clean/src/org/jruby/evaluator/EvaluateVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
14621,
907,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
14621,
907,
12,
14621,
907,
277,
30019,
13,
288,
3639,
563,
273,
19817,
14621,
18,
2704,
14621,
12,
12406,
2679,
18,
10492,
12,
77,
30019,
18,
24805,
1435,
3631,
277,
30019,
18,
588,
1320,
9334,
446,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ActionMap _actionMap = _currentDefPane.getActionMap(); _actionMap.get(DefaultEditorKit.selectionEndLineAction).actionPerformed(ae); _actionMap.get(DefaultEditorKit.deleteNextCharAction).actionPerformed(ae);
|
int beginLinePos = _getBeginLinePos(); _currentDefPane.setCaretPosition(beginLinePos);
|
public void actionPerformed(ActionEvent ae) { ActionMap _actionMap = _currentDefPane.getActionMap(); _actionMap.get(DefaultEditorKit.selectionEndLineAction).actionPerformed(ae); _actionMap.get(DefaultEditorKit.deleteNextCharAction).actionPerformed(ae); }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/32513407e5f8f41a21eb0336c92af1269f67953c/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
14221,
13,
288,
1377,
4382,
863,
389,
1128,
863,
273,
389,
2972,
3262,
8485,
18,
588,
1803,
863,
5621,
1377,
389,
1128,
863,
18,
588,
12,
1868,
6946,
14102,
18,
10705,
1638,
1670,
1803,
2934,
1128,
13889,
12,
8906,
1769,
1377,
389,
1128,
863,
18,
588,
12,
1868,
6946,
14102,
18,
3733,
2134,
2156,
1803,
2934,
1128,
13889,
12,
8906,
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,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377,
389,
1128,
863,
18,
588,
12,
1868,
6946,
14102,
18,
10705,
1638,
1670,
1803,
2934,
1128,
13889,
12,
8906,
1769,
1377,
389,
1128,
863,
18,
588,
12,
1868,
6946,
14102,
18,
3733,
2134,
2156,
1803,
2934,
1128,
13889,
12,
8906,
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
] |
String showDiscsStr = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "B_GetNbrOfDiscsToShow", new String[] {
|
String showDiscsStr = imcref.getDatabase().executeStringProcedure( "B_GetNbrOfDiscsToShow", new String[] {
|
public void doPost( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException { // Lets get the user object imcode.server.user.UserDomainObject user = Utility.getLoggedOnUser( req ); if ( user == null ) { return; } if ( !isUserAuthorized( req, res, user ) ) { return; } // Lets add the standard SESSION parameters Properties params = this.getPropertiesOfBillBoardSessionParameters( req ); ImcmsServices imcref = Imcms.getServices(); // ********* UPDATE DISCUSSIONS ******** if ( req.getParameter( "UPDATE" ) != null ) { // Lets get the forum_id and set our session object before updating Properties reqParams = this.getRequestParameters( req ); String aSectionId = reqParams.getProperty( "SECTION_ID" );// HttpSession session = req.getSession( false ); if ( session != null ) { String latestDiscId = "-1"; session.setAttribute( "BillBoard.disc_id", latestDiscId );// session.setAttribute( "BillBoard.section_id", aSectionId );// session.setAttribute( "BillBoard.disc_index", "0" );// } // Lets redirect to the servlet which holds in us. res.sendRedirect( "BillBoardDiscView" ); return; } // ********* ADD DISCUSSIONS ******** if ( req.getParameter( "ADD" ) != null ) { //lets clean up ev old stuff in the session if ( req.getParameter( "ADDNEW" ) != null ) { HttpSession session = req.getSession( false ); if ( session != null ) { session.removeAttribute( "billPrevData" ); } } res.sendRedirect( "BillBoardAdd?ADDTYPE=Discussion" ); return; } // ********* VIEW NEXT DISCUSSIONS ******** if ( ( req.getParameter( "NEXT" ) != null || req.getParameter( "NEXT.x" ) != null ) ) { // Lets get the total nbr of discs in the forum String nbrOfDiscsStr = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "B_GetNbrOfDiscs", new String[] { params.getProperty( "SECTION_ID" ) } ); int nbrOfDiscs = 0; // Lets get the nbr of discussions to show. If it does not contain any // discussions, 20 will be returned by default from db String showDiscsStr = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "B_GetNbrOfDiscsToShow", new String[] { params.getProperty( "SECTION_ID" ) } );//GetNbrOfDiscsToShow, FORUM_ID int showDiscsCounter = Integer.parseInt( showDiscsStr ); try { nbrOfDiscs = Integer.parseInt( nbrOfDiscsStr ); } catch ( Exception e ) { nbrOfDiscs = 0; log( "GetNbrOfDiscs returned null" ); } int currIndex = this.getDiscIndex( req ); //log("currIndex ="+currIndex); //log("if satsen: "+currIndex+" + "+ showDiscsCounter +" < "+nbrOfDiscs); if ( currIndex + showDiscsCounter < nbrOfDiscs ) { this.increaseDiscIndex( req, showDiscsCounter ); // log("Ok, vi hjer indexrknaren") ; } // Lets redirect to the servlet which holds in us. res.sendRedirect( "BillBoardDiscView" ); return; } // ********* VIEW PREVIOUS DISCUSSIONS ******** if ( ( req.getParameter( "PREVIOUS" ) != null || req.getParameter( "PREVIOUS.x" ) != null ) ) { // Lets get the nbr of discussions to show. If it does not contain any // discussions, 20 will be returned by default from db String showDiscsStr = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "B_GetNbrOfDiscsToShow", new String[] { params.getProperty( "SECTION_ID" ) } ); int showDiscsCounter = Integer.parseInt( showDiscsStr ); this.decreaseDiscIndex( req, showDiscsCounter ); // Lets redirect to the servlet which holds in us. res.sendRedirect( "BillBoardDiscView" ); return; } // ********* SEARCH ******** if ( req.getParameter( "SEARCH" ) != null ) { //log("Nu r vi i search") ; params = this.getSearchParameters( req, params ); String searchMsg = ""; boolean searchParamsOk = true; String currSection = ""; // Lets get the forumname for the current forum String aSectionId = params.getProperty( "SECTION_ID" ); currSection = "" + imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "B_GetSectionName", new String[] {aSectionId} ); //log("S currSection ="+currSection); //lets get metaId befor buildSearchDateParams destroys that info (happens if error in DATE_FORMAT) String metaId = params.getProperty( "META_ID" ); //log("S metaid= "+metaId); // Lets validate the searchdates. If not correct then get a message and show user // 42=En skdatumstrng var felaktig! params = this.buildSearchDateParams( params ); //log("Efter buildSearchDateParams: " + params) ; if ( params == null ) { log( "An illegal searchdateparameter was sent to server" ); BillBoardError msgErr = new BillBoardError(); searchMsg = msgErr.getErrorMessage( req, 42 ); searchParamsOk = false; } // Lets validate the searchwords. If not correct then get a message and show user // 40=En skparameter saknades! Du mste ange minst ett skord! if ( searchParamsOk ) { boolean itsOk = this.checkSearchWords( params ); //this.log("ItsOk: " + itsOk) ; if ( !itsOk ) { BillBoardError msgErr = new BillBoardError(); searchMsg = msgErr.getErrorMessage( req, 40 ); //log("searchMsg: " + searchMsg) ; searchParamsOk = false; } } //log("Ok, we have passed test 1 and 2") ; //log("searchParamsOk: " + searchParamsOk) ; //this.log("SEARCHWORD: " + params.getProperty("SEARCH").trim()) ; // Lets check if everything is alright String[][] sqlAnswer = null; if ( searchParamsOk ) { //String metaId = params.getProperty("META_ID") ; //aSectionId = params.getProperty("FORUM_ID") ; String searchW = params.getProperty( "SEARCH" ); String category = params.getProperty( "CATEGORY" ); String frDate = params.getProperty( "FR_DATE" ); String toDate = params.getProperty( "TO_DATE" ); // Ok, Lets build the search string sqlAnswer = imcref.getExceptionUnhandlingDatabase().execute2dArrayProcedure( "B_SearchText", new String[] { metaId, aSectionId, category, searchW, frDate, toDate + " 23:59:59" } ); } // End if //log("Ok, we have done a search!") ; // Lets get the part of an html page, wich will be parsed for every a Href reference File templateLib = super.getExternalTemplateFolder( req ); // templateLib += getTemplateSetDirectoryName(params.getProperty("META_ID")) ; File aHreHtmlFile = new File( templateLib, A_HREF_HTML ); // Lets build our tags vector. Vector tagsV = this.buildTags(); // Lets preparse all records, if any returned get an error mesage String allRecs = ""; if ( sqlAnswer != null ) { if ( sqlAnswer.length > 0 ) { allRecs = preParse( sqlAnswer, tagsV, aHreHtmlFile ); if ( allRecs == null ) { BillBoardError msgErr = new BillBoardError(); allRecs = msgErr.getErrorMessage( req, 41 ); msgErr = null; } } } else { // log("SqlAnswer = null") ; // Ok, we coulnt find anything if ( searchParamsOk ) { BillBoardError msgErr = new BillBoardError(); allRecs = msgErr.getErrorMessage( req, 41 ); msgErr = null; } } //log("Ok, we passed the sqlquestioning") ; //log("ALLRECS: " + allRecs) ; //log("searchMsg: " + searchMsg) ; // Lets build the Responsepage VariableManager vm = new VariableManager(); if ( allRecs == null || allRecs.equals( "" ) ) { vm.addProperty( "A_HREF_LIST", searchMsg ); } else { vm.addProperty( "A_HREF_LIST", allRecs ); } //lets show newbutton if user has more than readrights String newDiscButton = " "; int intMetaId = Integer.parseInt( metaId ); DocumentMapper documentMapper = imcref.getDocumentMapper(); DocumentDomainObject document = documentMapper.getDocument( intMetaId ); if ( user.canEdit( document ) ) { VariableManager vmButtons = new VariableManager(); vmButtons.addProperty( "#SERVLET_URL#", "" ); vmButtons.addProperty( "#IMAGE_URL#", this.getExternalImageFolder( req ) ); newDiscButton = getTemplate( NEW_DISC_TEMPLATE, user, vmButtons.getTagsAndData() ); } vm.addProperty( "CURRENT_SECTION_NAME", currSection );//CURRENT_FORUM_NAME vm.addProperty( "PREVIOUS_BUTTON", " " ); vm.addProperty( "NEXT_BUTTON", " " ); vm.addProperty( "NEW_DISC_BUTTON", newDiscButton ); vm.addProperty( "ADMIN_LINK_HTML", ADMIN_LINK_TEMPLATE ); this.sendHtml( req, res, vm, HTML_TEMPLATE ); // log("ConfDisc doPost r frdig") ; return; } } // DoPost
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/d057ca863273084a5224bf799ac53247a0f2f321/BillBoardDisc.java/buggy/server/src/com/imcode/imcms/servlet/billboard/BillBoardDisc.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3349,
12,
9984,
1111,
16,
12446,
400,
262,
1216,
16517,
16,
1860,
288,
3639,
368,
511,
2413,
336,
326,
729,
733,
3639,
709,
710,
18,
3567,
18,
1355,
18,
1299,
3748,
921,
729,
273,
13134,
18,
588,
19862,
1398,
1299,
12,
1111,
11272,
3639,
309,
261,
729,
422,
446,
262,
288,
5411,
327,
31,
3639,
289,
3639,
309,
261,
401,
291,
1299,
15341,
12,
1111,
16,
400,
16,
729,
262,
262,
288,
5411,
327,
31,
3639,
289,
3639,
368,
511,
2413,
527,
326,
4529,
10307,
1472,
3639,
6183,
859,
273,
333,
18,
588,
2297,
951,
38,
737,
22233,
2157,
2402,
12,
1111,
11272,
3639,
2221,
6851,
5676,
709,
71,
1734,
273,
2221,
6851,
18,
588,
5676,
5621,
3639,
368,
380,
1644,
11028,
3690,
2312,
57,
4475,
55,
380,
27243,
3639,
309,
261,
1111,
18,
588,
1662,
12,
315,
8217,
6,
262,
480,
446,
262,
288,
5411,
368,
511,
2413,
336,
326,
11283,
67,
350,
471,
444,
3134,
1339,
733,
1865,
9702,
5411,
6183,
1111,
1370,
273,
333,
18,
588,
691,
2402,
12,
1111,
11272,
5411,
514,
279,
5285,
548,
273,
1111,
1370,
18,
588,
1396,
12,
315,
19082,
67,
734,
6,
11272,
759,
5411,
26166,
1339,
273,
1111,
18,
588,
2157,
12,
629,
11272,
5411,
309,
261,
1339,
480,
446,
262,
288,
7734,
514,
4891,
28912,
548,
273,
3701,
21,
14432,
7734,
1339,
18,
542,
1499,
12,
315,
38,
737,
22233,
18,
2251,
71,
67,
350,
3113,
4891,
28912,
548,
11272,
759,
7734,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3349,
12,
9984,
1111,
16,
12446,
400,
262,
1216,
16517,
16,
1860,
288,
3639,
368,
511,
2413,
336,
326,
729,
733,
3639,
709,
710,
18,
3567,
18,
1355,
18,
1299,
3748,
921,
729,
273,
13134,
18,
588,
19862,
1398,
1299,
12,
1111,
11272,
3639,
309,
261,
729,
422,
446,
262,
288,
5411,
327,
31,
3639,
289,
3639,
309,
261,
401,
291,
1299,
15341,
12,
1111,
16,
400,
16,
729,
262,
262,
288,
5411,
327,
31,
3639,
289,
3639,
368,
511,
2413,
527,
326,
4529,
10307,
1472,
3639,
6183,
859,
273,
333,
18,
588,
2297,
951,
38,
737,
22233,
2157,
2402,
12,
1111,
11272,
3639,
2221,
6851,
5676,
709,
71,
1734,
273,
2221,
6851,
18,
588,
2
] |
public Image getImage(Object workingSet) { Assert.isTrue(workingSet instanceof WorkingSet);
|
public Image getImage(Object object) { Assert.isTrue(object instanceof IWorkingSet); IWorkingSet workingSet = (IWorkingSet) object;
|
public Image getImage(Object workingSet) { Assert.isTrue(workingSet instanceof WorkingSet); WorkingSetRegistry registry = WorkbenchPlugin.getDefault().getWorkingSetRegistry(); WorkingSetDescriptor descriptor = registry.getWorkingSetDescriptor(((WorkingSet) workingSet).getEditPageId()); if (descriptor == null) { return null; } ImageDescriptor imageDescriptor = descriptor.getIcon(); if (imageDescriptor == null) { return null; } Image icon = (Image) icons.get(imageDescriptor); if (icon == null) { icon = imageDescriptor.createImage(); icons.put(imageDescriptor, icon); } return icon; }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e0d01bcf8bca084775be718468fb29d5cba66955/WorkingSetSelectionDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/WorkingSetSelectionDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
3421,
10567,
12,
921,
5960,
694,
13,
288,
1082,
202,
8213,
18,
291,
5510,
12,
20478,
694,
1276,
22732,
694,
1769,
1082,
202,
14836,
694,
4243,
4023,
273,
4147,
22144,
3773,
18,
588,
1868,
7675,
588,
14836,
694,
4243,
5621,
1082,
202,
14836,
694,
3187,
4950,
273,
4023,
18,
588,
14836,
694,
3187,
12443,
12,
14836,
694,
13,
5960,
694,
2934,
588,
4666,
23053,
10663,
25083,
202,
430,
261,
12628,
422,
446,
13,
288,
9506,
202,
2463,
446,
31,
1082,
202,
97,
1082,
202,
2040,
3187,
1316,
3187,
273,
4950,
18,
588,
5554,
5621,
1082,
202,
430,
261,
2730,
3187,
422,
446,
13,
288,
9506,
202,
2463,
446,
31,
1082,
202,
97,
1082,
202,
2040,
4126,
273,
261,
2040,
13,
17455,
18,
588,
12,
2730,
3187,
1769,
1082,
202,
430,
261,
3950,
422,
446,
13,
288,
9506,
202,
3950,
273,
1316,
3187,
18,
2640,
2040,
5621,
9506,
202,
14516,
18,
458,
12,
2730,
3187,
16,
4126,
1769,
1082,
202,
97,
1082,
202,
2463,
4126,
31,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
3421,
10567,
12,
921,
5960,
694,
13,
288,
1082,
202,
8213,
18,
291,
5510,
12,
20478,
694,
1276,
22732,
694,
1769,
1082,
202,
14836,
694,
4243,
4023,
273,
4147,
22144,
3773,
18,
588,
1868,
7675,
588,
14836,
694,
4243,
5621,
1082,
202,
14836,
694,
3187,
4950,
273,
4023,
18,
588,
14836,
694,
3187,
12443,
12,
14836,
694,
13,
5960,
694,
2934,
588,
4666,
23053,
10663,
25083,
202,
430,
261,
12628,
422,
446,
13,
288,
9506,
202,
2463,
446,
31,
1082,
202,
97,
1082,
202,
2040,
3187,
1316,
3187,
273,
4950,
18,
588,
5554,
5621,
1082,
202,
430,
261,
2730,
3187,
422,
446,
13,
288,
9506,
202,
2463,
446,
31,
1082,
202,
97,
1082,
202,
2040,
4126,
2
] |
content.broadcast( event );
|
content.broadcast( event, container.getRoot( ) );
|
protected void sendNotifcations( boolean transactionStarted ) { // Send the content changed event to the container. NotificationEvent event = null; if ( add && state != UNDONE_STATE || !add && state == UNDONE_STATE ) event = new ContentEvent( container, slotID, ContentEvent.ADD ); else event = new ContentEvent( container, slotID, ContentEvent.REMOVE ); event.setInTransaction( transactionStarted ); // Include the sender if this is the original execution. // The sender is not sent for undo, redo because such actions are // triggered by the activity stack, not dialog or editor. if ( state == DONE_STATE ) event.setSender( sender ); // Broadcast the event to the target. container.broadcast( event ); // If the content was dropped, then send an element deleted // event to the content. if ( add && state != UNDONE_STATE || !add && state == UNDONE_STATE ) return; event = new ElementDeletedEvent( content ); if ( state == DONE_STATE ) event.setSender( sender ); content.broadcast( event ); }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/95374658c8c7af5288dd44c73981afff10dec72c/ContentRecord.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/ContentRecord.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1366,
1248,
430,
71,
1012,
12,
1250,
2492,
9217,
262,
202,
95,
202,
202,
759,
2479,
326,
913,
3550,
871,
358,
326,
1478,
18,
202,
202,
4386,
1133,
871,
273,
446,
31,
202,
202,
430,
261,
527,
597,
919,
480,
587,
2908,
5998,
67,
7998,
747,
401,
1289,
597,
919,
422,
587,
2908,
5998,
67,
7998,
262,
1082,
202,
2575,
273,
394,
3697,
1133,
12,
1478,
16,
4694,
734,
16,
3697,
1133,
18,
8355,
11272,
202,
202,
12107,
1082,
202,
2575,
273,
394,
3697,
1133,
12,
1478,
16,
4694,
734,
16,
3697,
1133,
18,
22122,
11272,
202,
202,
2575,
18,
542,
382,
3342,
12,
2492,
9217,
11272,
9506,
202,
759,
12672,
326,
5793,
309,
333,
353,
326,
2282,
4588,
18,
202,
202,
759,
1021,
5793,
353,
486,
3271,
364,
15436,
16,
24524,
2724,
4123,
4209,
854,
202,
202,
759,
10861,
635,
326,
5728,
2110,
16,
486,
6176,
578,
4858,
18,
202,
202,
430,
261,
919,
422,
26346,
67,
7998,
262,
1082,
202,
2575,
18,
542,
12021,
12,
5793,
11272,
202,
202,
759,
19687,
326,
871,
358,
326,
1018,
18,
202,
202,
3782,
18,
19805,
12,
871,
11272,
202,
202,
759,
971,
326,
913,
1703,
14611,
16,
1508,
1366,
392,
930,
4282,
202,
202,
759,
871,
358,
326,
913,
18,
202,
202,
430,
261,
527,
597,
919,
480,
587,
2908,
5998,
67,
7998,
747,
401,
1289,
597,
919,
422,
587,
2908,
5998,
67,
7998,
262,
1082,
202,
2463,
31,
202,
202,
2575,
273,
394,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1366,
1248,
430,
71,
1012,
12,
1250,
2492,
9217,
262,
202,
95,
202,
202,
759,
2479,
326,
913,
3550,
871,
358,
326,
1478,
18,
202,
202,
4386,
1133,
871,
273,
446,
31,
202,
202,
430,
261,
527,
597,
919,
480,
587,
2908,
5998,
67,
7998,
747,
401,
1289,
597,
919,
422,
587,
2908,
5998,
67,
7998,
262,
1082,
202,
2575,
273,
394,
3697,
1133,
12,
1478,
16,
4694,
734,
16,
3697,
1133,
18,
8355,
11272,
202,
202,
12107,
1082,
202,
2575,
273,
394,
3697,
1133,
12,
1478,
16,
4694,
734,
16,
3697,
1133,
18,
22122,
11272,
202,
202,
2575,
18,
542,
382,
3342,
12,
2492,
9217,
11272,
9506,
202,
759,
12672,
326,
5793,
309,
333,
2
] |
return null;
|
throw new IllegalStateException("Could not create a socket connection to remote vm.");
|
protected IREMConnection createConnection() { // If we have a server port, then the server is probably open. If we don't then this is no server. if (fServerPort != 0) { // We are putting it off into a thread because there are no timeout capabilities on getting a socket. // So we need to allow for that. final Socket[] scArray = new Socket[1]; final boolean[] waiting = new boolean[] {true}; Thread doIt = new Thread(new Runnable() { public void run() { try { Socket sc = new Socket("localhost", fServerPort); //$NON-NLS-1$ synchronized (this) { if (waiting[0]) scArray[0] = sc; else sc.close(); // We are no longer waiting on this thread so close the socket since no one will use it. } } catch (IOException e) { ProxyPlugin.getPlugin().getMsgLogger().log(new Status(IStatus.WARNING, ProxyPlugin.getPlugin().getDescriptor().getUniqueIdentifier(), 0, "", e)); } } }); doIt.start(); while (true) { try { doIt.join(!fNoTimeouts ? 60000 : 0); synchronized (doIt) { waiting[0] = false; // To let it know we are no longer waiting } break; } catch (InterruptedException e) { } } if (scArray[0] == null) { // Log where we are at so we can know where it was we down. ProxyPlugin.getPlugin().getMsgLogger().log(new Status(IStatus.WARNING, ProxyPlugin.getPlugin().getDescriptor().getUniqueIdentifier(), 0, "", new RuntimeException("Connection creation failed."))); //$NON-NLS-1$ return null; // Couldn't get one, probably server is down. } REMConnection connection = new REMConnection(scArray[0], fNoTimeouts); if (connection.isConnected()) return connection; // Failed, close the socket. try { scArray[0].close(); } catch (IOException e) { } } else ProxyPlugin.getPlugin().getMsgLogger().log(new Status(IStatus.INFO, ProxyPlugin.getPlugin().getDescriptor().getUniqueIdentifier(), 0, "No Server to retrieve a connection.", null)); ///$NON-NLS-1$ return null; }
|
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/ac57b069b8ef7467c2c2cc68d6c076dbc4ed3813/REMProxyFactoryRegistry.java/clean/plugins/org.eclipse.jem.proxy/proxyRemote/org/eclipse/jem/internal/proxy/remote/REMProxyFactoryRegistry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
467,
862,
49,
1952,
27870,
1435,
288,
202,
202,
759,
971,
732,
1240,
279,
1438,
1756,
16,
1508,
326,
1438,
353,
8656,
1696,
18,
971,
732,
2727,
1404,
1508,
333,
353,
1158,
1438,
18,
202,
202,
430,
261,
74,
2081,
2617,
480,
374,
13,
288,
1082,
202,
759,
1660,
854,
29379,
518,
3397,
1368,
279,
2650,
2724,
1915,
854,
1158,
2021,
12359,
603,
8742,
279,
2987,
18,
1082,
202,
759,
6155,
732,
1608,
358,
1699,
364,
716,
18,
1082,
202,
6385,
8758,
8526,
888,
1076,
273,
394,
8758,
63,
21,
15533,
1082,
202,
6385,
1250,
8526,
7336,
273,
394,
1250,
8526,
288,
3767,
20451,
1082,
202,
3830,
741,
7193,
273,
394,
4884,
12,
2704,
10254,
1435,
288,
9506,
202,
482,
918,
1086,
1435,
288,
6862,
202,
698,
288,
25083,
202,
4534,
888,
273,
394,
8758,
2932,
13014,
3113,
284,
2081,
2617,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
25083,
202,
22043,
261,
2211,
13,
288,
6862,
1082,
202,
430,
261,
20241,
63,
20,
5717,
6862,
9506,
202,
1017,
1076,
63,
20,
65,
273,
888,
31,
6862,
1082,
202,
12107,
6862,
9506,
202,
1017,
18,
4412,
5621,
202,
759,
1660,
854,
1158,
7144,
7336,
603,
333,
2650,
1427,
1746,
326,
2987,
3241,
1158,
1245,
903,
999,
518,
18,
25083,
202,
97,
6862,
202,
97,
1044,
261,
14106,
425,
13,
288,
25083,
202,
3886,
3773,
18,
588,
3773,
7675,
588,
3332,
3328,
7675,
1330,
12,
2704,
2685,
12,
45,
1482,
18,
9511,
16,
7659,
3773,
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,
467,
862,
49,
1952,
27870,
1435,
288,
202,
202,
759,
971,
732,
1240,
279,
1438,
1756,
16,
1508,
326,
1438,
353,
8656,
1696,
18,
971,
732,
2727,
1404,
1508,
333,
353,
1158,
1438,
18,
202,
202,
430,
261,
74,
2081,
2617,
480,
374,
13,
288,
1082,
202,
759,
1660,
854,
29379,
518,
3397,
1368,
279,
2650,
2724,
1915,
854,
1158,
2021,
12359,
603,
8742,
279,
2987,
18,
1082,
202,
759,
6155,
732,
1608,
358,
1699,
364,
716,
18,
1082,
202,
6385,
8758,
8526,
888,
1076,
273,
394,
8758,
63,
21,
15533,
1082,
202,
6385,
1250,
8526,
7336,
273,
394,
1250,
8526,
288,
3767,
20451,
1082,
202,
3830,
741,
7193,
273,
394,
4884,
12,
2704,
10254,
1435,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.