rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
listlengths 256
256
| attention_mask
listlengths 256
256
| labels
listlengths 128
128
|
|---|---|---|---|---|---|---|
if (SHOULD_COMPRESS) return DataHelper.decompress(compressed); else
|
if (SHOULD_COMPRESS) { try { return DataHelper.decompress(compressed); } catch (IOException ioe) { throw new I2PSessionException("Error decompressing message", ioe); } } else {
|
public byte[] receiveMessage(int msgId) throws I2PSessionException { byte compressed[] = super.receiveMessage(msgId); if (SHOULD_COMPRESS) return DataHelper.decompress(compressed); else return compressed; }
|
27437 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27437/95c33e88ed39c82499fd773fe08642864332b083/I2PSessionImpl2.java/clean/core/java/src/net/i2p/client/I2PSessionImpl2.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1160,
8526,
6798,
1079,
12,
474,
1234,
548,
13,
1216,
467,
22,
52,
2157,
503,
288,
3639,
1160,
8968,
8526,
273,
2240,
18,
18149,
1079,
12,
3576,
548,
1769,
3639,
309,
261,
2664,
31090,
67,
4208,
22526,
13,
5411,
327,
1910,
2276,
18,
323,
14706,
12,
15385,
1769,
3639,
469,
5411,
327,
8968,
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,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079,
12,
474,
1234,
548,
13,
1216,
467,
22,
52,
2157,
503,
288,
3639,
1160,
8968,
8526,
273,
2240,
18,
18149,
1079,
12,
3576,
548,
1769,
3639,
309,
261,
2664,
31090,
67,
4208,
22526,
13,
5411,
327,
1910,
2276,
18,
323,
14706,
12,
15385,
1769,
3639,
469,
5411,
327,
8968,
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
] |
IntItem val = vstack.popInt(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef();
|
IntItem val = vstack.popInt(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef();
|
public final void visit_castore() { IntItem val = vstack.popInt(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); //IMPROVE: optimize case with const value val.load(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); final Register v = val.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { final int i = idx.getValue(); os.writeMOV(WORDSIZE, r, i + VmArray.DATA_OFFSET * 4, v); } else { final Register i = idx.getRegister(); os.writeMOV(WORDSIZE, r, i, 2, VmArray.DATA_OFFSET * 4, v); } val.release(eContext); idx.release(eContext); ref.release(eContext); }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
3757,
67,
4155,
479,
1435,
288,
3639,
3094,
1180,
1244,
273,
19510,
18,
5120,
1702,
5621,
3639,
3094,
1180,
2067,
273,
19510,
18,
5120,
1702,
5621,
3639,
3941,
1180,
1278,
273,
19510,
18,
5120,
1957,
5621,
3639,
368,
3445,
3373,
3412,
30,
10979,
648,
598,
1866,
460,
3639,
1244,
18,
945,
12,
73,
1042,
1769,
3639,
2067,
18,
945,
2047,
12,
73,
1042,
16,
4871,
1180,
18,
5677,
18,
25878,
1769,
3639,
1278,
18,
945,
12,
73,
1042,
1769,
3639,
727,
5433,
436,
273,
1278,
18,
588,
3996,
5621,
3639,
727,
5433,
331,
273,
1244,
18,
588,
3996,
5621,
3639,
866,
5694,
12,
1734,
16,
2067,
1769,
3639,
309,
261,
3465,
18,
588,
5677,
1435,
422,
4342,
18,
5677,
18,
25878,
13,
288,
5411,
727,
509,
277,
273,
2067,
18,
24805,
5621,
5411,
1140,
18,
2626,
5980,
58,
12,
7952,
4574,
16,
436,
16,
277,
397,
776,
81,
1076,
18,
4883,
67,
11271,
380,
1059,
16,
331,
1769,
3639,
289,
469,
288,
5411,
727,
5433,
277,
273,
2067,
18,
588,
3996,
5621,
5411,
1140,
18,
2626,
5980,
58,
12,
7952,
4574,
16,
436,
16,
277,
16,
576,
16,
776,
81,
1076,
18,
4883,
67,
11271,
380,
1059,
16,
331,
1769,
3639,
289,
3639,
1244,
18,
9340,
12,
73,
1042,
1769,
3639,
2067,
18,
9340,
12,
73,
1042,
1769,
3639,
1278,
18,
9340,
12,
73,
1042,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
3757,
67,
4155,
479,
1435,
288,
3639,
3094,
1180,
1244,
273,
19510,
18,
5120,
1702,
5621,
3639,
3094,
1180,
2067,
273,
19510,
18,
5120,
1702,
5621,
3639,
3941,
1180,
1278,
273,
19510,
18,
5120,
1957,
5621,
3639,
368,
3445,
3373,
3412,
30,
10979,
648,
598,
1866,
460,
3639,
1244,
18,
945,
12,
73,
1042,
1769,
3639,
2067,
18,
945,
2047,
12,
73,
1042,
16,
4871,
1180,
18,
5677,
18,
25878,
1769,
3639,
1278,
18,
945,
12,
73,
1042,
1769,
3639,
727,
5433,
436,
273,
1278,
18,
588,
3996,
5621,
3639,
727,
5433,
331,
273,
1244,
18,
588,
3996,
5621,
3639,
866,
5694,
12,
1734,
16,
2067,
1769,
3639,
309,
261,
3465,
18,
588,
5677,
1435,
2
] |
public Roster getRoster() { if (roster == null) { return null; } // If this is the first time the user has asked for the roster after calling // login, we want to wait up to 2 seconds for the server to send back the // user's roster. This behavior shields API users from having to worry about the // fact that roster operations are asynchronous, although they'll still have to // listen for changes to the roster. Note: because of this waiting logic, internal // Smack code should be wary about calling the getRoster method, and may need to // access the roster object directly. int elapsed = 0; while (!roster.rosterInitialized && elapsed <= 2000) { try { Thread.sleep(500); } catch (Exception e) { } elapsed += 500; } return roster; }
|
4336 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4336/fb22583ea746bf1a577bada3ffb2d8356ad716d7/XMPPConnection.java/buggy/source/org/jivesoftware/smack/XMPPConnection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
534,
29811,
4170,
29811,
1435,
288,
3639,
309,
261,
303,
8190,
422,
446,
13,
288,
5411,
327,
446,
31,
3639,
289,
3639,
368,
971,
333,
353,
326,
1122,
813,
326,
729,
711,
19279,
364,
326,
721,
8190,
1839,
4440,
3639,
368,
3925,
16,
732,
2545,
358,
2529,
731,
358,
576,
3974,
364,
326,
1438,
358,
1366,
1473,
326,
3639,
368,
729,
1807,
721,
8190,
18,
1220,
6885,
699,
491,
87,
1491,
3677,
628,
7999,
358,
26784,
2973,
326,
3639,
368,
5410,
716,
721,
8190,
5295,
854,
9007,
16,
26347,
2898,
5614,
4859,
1240,
358,
3639,
368,
6514,
364,
3478,
358,
326,
721,
8190,
18,
3609,
30,
2724,
434,
333,
7336,
4058,
16,
2713,
3639,
368,
9425,
484,
981,
1410,
506,
341,
814,
2973,
4440,
326,
4170,
29811,
707,
16,
471,
2026,
1608,
358,
3639,
368,
2006,
326,
721,
8190,
733,
5122,
18,
3639,
509,
9613,
273,
374,
31,
3639,
1323,
16051,
303,
8190,
18,
303,
8190,
11459,
597,
9613,
1648,
16291,
13,
288,
5411,
775,
288,
7734,
4884,
18,
19607,
12,
12483,
1769,
5411,
289,
5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377,
1071,
534,
29811,
4170,
29811,
1435,
288,
3639,
309,
261,
303,
8190,
422,
446,
13,
288,
5411,
327,
446,
31,
3639,
289,
3639,
368,
971,
333,
353,
326,
1122,
813,
326,
729,
711,
19279,
364,
326,
721,
8190,
1839,
4440,
3639,
368,
3925,
16,
732,
2545,
358,
2529,
731,
358,
576,
3974,
364,
326,
1438,
358,
1366,
1473,
326,
3639,
368,
729,
1807,
721,
8190,
18,
1220,
6885,
699,
491,
87,
1491,
3677,
628,
7999,
358,
26784,
2973,
326,
3639,
368,
5410,
716,
721,
8190,
5295,
854,
9007,
16,
26347,
2898,
5614,
4859,
1240,
358,
3639,
368,
6514,
364,
3478,
358,
326,
721,
8190,
18,
3609,
30,
2724,
434,
333,
7336,
4058,
16,
2713,
3639,
368,
9425,
484,
2
] |
||
/* BindingEnumeration e = scmEnv.enumerateAllBindings(); while (e.hasMoreElements()) { Binding b = e.nextBinding(); if (b.isBound()) { String name = b.getName(); Object val = b.get(); define(name, val); } } */
|
public XQuery() { Environment scmEnv = Scheme.builtin(); environ = new Environment(scmEnv); environ.setName ("interaction-environment."+(++envCounter)); ModuleBody.setMainPrintValues(true); /* BindingEnumeration e = scmEnv.enumerateAllBindings(); while (e.hasMoreElements()) { Binding b = e.nextBinding(); if (b.isBound()) { String name = b.getName(); Object val = b.get(); define(name, val); } } */ if (instance == null) instance = this; Environment saveEnv = Environment.getCurrent(); Environment.setCurrent(environ); try { // Force it to be loaded now, so we can over-ride let* length etc. loadClass("kawa.lib.std_syntax"); loadClass("kawa.lib.lists"); loadClass("kawa.lib.strings"); loadClass("gnu.commonlisp.lisp.PrimOps"); loadClass("gnu.kawa.slib.HTTP"); loadClass("gnu.kawa.slib.XStrings"); } catch (Throwable ex) { // Ignore. We get a ClassNotFoundException if gnu.kawa.slib.HTTP // was not built. We get a NoClassDefFoundError if gnu.kawa.slib.HTTP // can't find servlets in the classpath. } finally { Environment.setCurrent(saveEnv); } define("define", new kawa.standard.set_b()); define("document", gnu.kawa.xml.Document.document); define("doc", gnu.kawa.xml.Document.document); // kludge define("unescaped-data", gnu.kawa.xml.MakeUnescapedData.unescapedData); define("item-at", gnu.xquery.util.ItemAt.itemAt); define("count", gnu.kawa.functions.CountValues.countValues); define("min", gnu.xquery.util.MinMax.min); define("max", gnu.xquery.util.MinMax.max); define("sum", gnu.xquery.util.Reduce.sum); define("avg", gnu.xquery.util.Average.avg); define("index-of", gnu.xquery.util.IndexOf.indexOf); define("last-index-of", gnu.xquery.util.LastIndexOf.lastIndexOf); define("sublist", gnu.xquery.util.SubList.subList); define("empty", gnu.xquery.util.IsEmptySequence.isEmptySequence); define("false", new ConstantFunction0("false", Boolean.FALSE)); define("true", new ConstantFunction0("true", Boolean.TRUE)); define("number", gnu.xquery.util.NumberValue.numberValue); define("string-value", gnu.xquery.util.StringValue.stringValue); define("string", gnu.xquery.util.StringValue.string); define("concat", new kawa.standard.string_append()); define_method("trace", "gnu.xquery.util.Debug", "trace"); define("write-to", gnu.kawa.xml.WriteTo.writeTo); define_field("iterator-items", "gnu.kawa.xml.IteratorItems", "iteratorItems"); define_field("list-items", "gnu.kawa.xml.ListItems", "listItems"); define_field("base-uri", "gnu.kawa.functions.BaseUri", "baseUri"); define_field("node-name", "gnu.kawa.xml.NodeName", "nodeName"); define_method("root", "gnu.kawa.xml.Nodes", "root"); define_method("lower-case", "gnu.xquery.util.StringValue", "lowerCase"); define_method("upper-case", "gnu.xquery.util.StringValue", "upperCase"); define_method("substring", "gnu.xquery.util.StringValue", "substring"); define_method("string-length", "gnu.xquery.util.StringValue", "stringLength"); define_method("substring-before", "gnu.xquery.util.StringValue", "substringBefore"); define_method("substring-after", "gnu.xquery.util.StringValue", "substringAfter"); define_method("translate", "gnu.xquery.util.StringValue", "translate"); define_method("string-pad", "gnu.xquery.util.StringValue", "stringPad"); define_method("contains", "gnu.xquery.util.StringValue", "contains"); define_method("starts-with", "gnu.xquery.util.StringValue", "startsWith"); define_method("ends-with","gnu.xquery.util.StringValue", "endsWith"); define_method("string-join", "gnu.xquery.util.StringValue", "stringJoin"); define("distinct-nodes", gnu.kawa.xml.SortNodes.sortNodes); }
|
41089 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41089/c30cb9976a69607354edf4c48ca3e59d0c67320b/XQuery.java/buggy/gnu/xquery/lang/XQuery.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1139,
1138,
1435,
225,
288,
565,
7518,
29207,
3491,
273,
10714,
18,
24553,
5621,
565,
5473,
273,
394,
7518,
12,
1017,
81,
3491,
1769,
565,
5473,
18,
542,
461,
7566,
30303,
17,
10274,
1199,
15,
12,
9904,
3074,
4789,
10019,
565,
5924,
2250,
18,
542,
6376,
5108,
1972,
12,
3767,
1769,
565,
1748,
565,
15689,
21847,
425,
273,
29207,
3491,
18,
7924,
12600,
1595,
10497,
5621,
565,
1323,
261,
73,
18,
5332,
7417,
3471,
10756,
1377,
288,
202,
5250,
324,
273,
425,
18,
4285,
5250,
5621,
202,
430,
261,
70,
18,
291,
3499,
10756,
202,
225,
288,
202,
565,
514,
508,
273,
324,
18,
17994,
5621,
202,
565,
1033,
1244,
273,
324,
18,
588,
5621,
202,
565,
4426,
12,
529,
16,
1244,
1769,
202,
225,
289,
1377,
289,
565,
1195,
565,
309,
261,
1336,
422,
446,
13,
1377,
791,
273,
333,
31,
565,
7518,
1923,
3491,
273,
7518,
18,
588,
3935,
5621,
565,
7518,
18,
542,
3935,
12,
28684,
1769,
565,
775,
1377,
288,
202,
759,
11889,
518,
358,
506,
4203,
2037,
16,
1427,
732,
848,
1879,
17,
566,
323,
2231,
14,
769,
5527,
18,
202,
945,
797,
2932,
79,
2219,
69,
18,
2941,
18,
5084,
67,
14308,
8863,
202,
945,
797,
2932,
79,
2219,
69,
18,
2941,
18,
9772,
8863,
202,
945,
797,
2932,
79,
2219,
69,
18,
2941,
18,
10219,
8863,
202,
945,
797,
2932,
1600,
89,
18,
6054,
80,
23831,
18,
80,
23831,
18,
2050,
381,
8132,
8863,
202,
945,
797,
2932,
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,
1139,
1138,
1435,
225,
288,
565,
7518,
29207,
3491,
273,
10714,
18,
24553,
5621,
565,
5473,
273,
394,
7518,
12,
1017,
81,
3491,
1769,
565,
5473,
18,
542,
461,
7566,
30303,
17,
10274,
1199,
15,
12,
9904,
3074,
4789,
10019,
565,
5924,
2250,
18,
542,
6376,
5108,
1972,
12,
3767,
1769,
565,
1748,
565,
15689,
21847,
425,
273,
29207,
3491,
18,
7924,
12600,
1595,
10497,
5621,
565,
1323,
261,
73,
18,
5332,
7417,
3471,
10756,
1377,
288,
202,
5250,
324,
273,
425,
18,
4285,
5250,
5621,
202,
430,
261,
70,
18,
291,
3499,
10756,
202,
225,
288,
202,
565,
514,
508,
273,
324,
18,
17994,
5621,
202,
565,
1033,
1244,
273,
324,
18,
588,
5621,
202,
565,
2
] |
|
" already exists, choose a different identifier");
|
" already exists, choose a different identifier or unregister current listener"); return;
|
public void registerListener(Serializable identifier, MessageListener l) { if(l == null || identifier == null) { if(log.isErrorEnabled()) log.error("message listener or identifier is null"); return; } if(listeners.containsKey(identifier)) { if(log.isErrorEnabled()) log.error("listener with identifier=" + identifier + " already exists, choose a different identifier"); } listeners.put(identifier, l); }
|
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/a3bf57dc83b7e05486e72705c73f37a1da1b301c/PullPushAdapter.java/clean/src/org/jgroups/blocks/PullPushAdapter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1744,
2223,
12,
21682,
2756,
16,
2350,
2223,
328,
13,
288,
3639,
309,
12,
80,
422,
446,
747,
2756,
422,
446,
13,
288,
5411,
309,
12,
1330,
18,
291,
668,
1526,
10756,
613,
18,
1636,
2932,
2150,
2991,
578,
2756,
353,
446,
8863,
5411,
327,
31,
3639,
289,
3639,
309,
12,
16072,
18,
12298,
653,
12,
5644,
3719,
288,
5411,
309,
12,
1330,
18,
291,
668,
1526,
10756,
613,
18,
1636,
2932,
12757,
598,
2756,
1546,
397,
2756,
397,
10792,
315,
1818,
1704,
16,
9876,
279,
3775,
2756,
578,
10232,
783,
2991,
8863,
225,
327,
31,
3639,
289,
3639,
4679,
18,
458,
12,
5644,
16,
328,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1744,
2223,
12,
21682,
2756,
16,
2350,
2223,
328,
13,
288,
3639,
309,
12,
80,
422,
446,
747,
2756,
422,
446,
13,
288,
5411,
309,
12,
1330,
18,
291,
668,
1526,
10756,
613,
18,
1636,
2932,
2150,
2991,
578,
2756,
353,
446,
8863,
5411,
327,
31,
3639,
289,
3639,
309,
12,
16072,
18,
12298,
653,
12,
5644,
3719,
288,
5411,
309,
12,
1330,
18,
291,
668,
1526,
10756,
613,
18,
1636,
2932,
12757,
598,
2756,
1546,
397,
2756,
397,
10792,
315,
1818,
1704,
16,
9876,
279,
3775,
2756,
578,
10232,
783,
2991,
8863,
225,
327,
31,
3639,
289,
3639,
4679,
18,
458,
12,
5644,
16,
328,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
realInstance(start).jsSet_length(value); return;
|
jsSet_length(value); return;
|
protected void setIdValue(int id, Scriptable start, Object value) { if (id == Id_length) { realInstance(start).jsSet_length(value); return; } super.setIdValue(id, start, value); }
|
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/d4a0073458f57af07bf530855ff31413fb1b18b0/NativeArray.java/clean/js/rhino/src/org/mozilla/javascript/NativeArray.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
10446,
620,
12,
474,
612,
16,
22780,
787,
16,
1033,
460,
13,
288,
3639,
309,
261,
350,
422,
3124,
67,
2469,
13,
288,
5411,
3828,
694,
67,
2469,
12,
1132,
1769,
327,
31,
3639,
289,
3639,
2240,
18,
542,
548,
620,
12,
350,
16,
787,
16,
460,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
10446,
620,
12,
474,
612,
16,
22780,
787,
16,
1033,
460,
13,
288,
3639,
309,
261,
350,
422,
3124,
67,
2469,
13,
288,
5411,
3828,
694,
67,
2469,
12,
1132,
1769,
327,
31,
3639,
289,
3639,
2240,
18,
542,
548,
620,
12,
350,
16,
787,
16,
460,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
req = new Request.GetAll(useCache, timeout, name);
|
req = new Request.GetAll(options, name);
|
private void performRequest() { try { Request req = null; if ("recursive_dump".equals(action)) { String suffix = (name == null ? "." : name); if (suffix.startsWith(".")) { int limit = DEFAULT_LIMIT; if (s_limit != null) { limit = Integer.parseInt(s_limit); } submitDump(suffix, limit); } else { out.println( "<font color=\"red\">Recursive dump suffix must"+ " start with \".\", not \""+suffix+"\"</font>"); } } else if ("get".equals(action)) { if (name == null) { out.println( "<font color=\"red\">Please specify a name</font>"); } else if (type == null) { out.println( "<font color=\"red\">Please specify a type</font>"); } else { req = new Request.Get(useCache, timeout, name, type); } } else if ("getAll".equals(action)) { if (name == null) { out.println( "<font color=\"red\">Please specify a name</font>"); } else { req = new Request.GetAll(useCache, timeout, name); } } else if ("list".equals(action)) { String tmp = (name == null ? "." : name); if (tmp.startsWith(".")) { req = new Request.List(useCache, timeout, tmp); } else { out.println( "<font color=\"red\">List suffix must start"+ " with \".\", not \""+tmp+"\"</font>"); } } else if ( "bind".equals(action) || "rebind".equals(action)) { boolean overWrite = "rebind".equals(action); AddressEntry ae = parseEntry(); if (ae != null) { req = new Request.Bind(false, timeout, ae, overWrite, false); } } else if ("unbind".equals(action)) { AddressEntry ae = parseEntry(); if (ae != null) { req = new Request.Unbind(false, timeout, ae); } } else if (action != null) { out.println( "<font color=\"red\">Unknown action: "+action+"</font>"); } if (req != null) { submit(req); } } catch (Exception e) { e.printStackTrace(out); } }
|
7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/4c10453b9ea9a7f21fdd670b1ff4848b2adf96dd/WhitePagesServlet.java/buggy/core/src/org/cougaar/core/wp/WhitePagesServlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3073,
691,
1435,
288,
1377,
775,
288,
3639,
1567,
1111,
273,
446,
31,
3639,
309,
7566,
10543,
67,
8481,
9654,
14963,
12,
1128,
3719,
288,
1850,
514,
3758,
273,
261,
529,
422,
446,
692,
4585,
294,
508,
1769,
1850,
309,
261,
8477,
18,
17514,
1190,
2932,
1199,
3719,
288,
5411,
509,
1800,
273,
3331,
67,
8283,
31,
5411,
309,
261,
87,
67,
3595,
480,
446,
13,
288,
2868,
1800,
273,
2144,
18,
2670,
1702,
12,
87,
67,
3595,
1769,
5411,
289,
5411,
4879,
10628,
12,
8477,
16,
1800,
1769,
1850,
289,
469,
288,
5411,
596,
18,
8222,
12,
7734,
3532,
5776,
2036,
5189,
1118,
24735,
10483,
4657,
3758,
1297,
6,
15,
7734,
315,
787,
598,
1239,
18,
22564,
486,
11843,
15,
8477,
9078,
2412,
1757,
5776,
2984,
1769,
1850,
289,
3639,
289,
469,
309,
7566,
588,
9654,
14963,
12,
1128,
3719,
288,
1850,
309,
261,
529,
422,
446,
13,
288,
5411,
596,
18,
8222,
12,
7734,
3532,
5776,
2036,
5189,
1118,
24735,
8496,
4800,
279,
508,
1757,
5776,
2984,
1769,
1850,
289,
469,
309,
261,
723,
422,
446,
13,
288,
5411,
596,
18,
8222,
12,
7734,
3532,
5776,
2036,
5189,
1118,
24735,
8496,
4800,
279,
618,
1757,
5776,
2984,
1769,
1850,
289,
469,
288,
5411,
1111,
273,
394,
1567,
18,
967,
12,
1202,
1649,
16,
2021,
16,
508,
16,
618,
1769,
1850,
289,
3639,
289,
469,
309,
7566,
588,
1595,
9654,
14963,
12,
1128,
3719,
288,
1850,
309,
261,
529,
422,
446,
13,
288,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3073,
691,
1435,
288,
1377,
775,
288,
3639,
1567,
1111,
273,
446,
31,
3639,
309,
7566,
10543,
67,
8481,
9654,
14963,
12,
1128,
3719,
288,
1850,
514,
3758,
273,
261,
529,
422,
446,
692,
4585,
294,
508,
1769,
1850,
309,
261,
8477,
18,
17514,
1190,
2932,
1199,
3719,
288,
5411,
509,
1800,
273,
3331,
67,
8283,
31,
5411,
309,
261,
87,
67,
3595,
480,
446,
13,
288,
2868,
1800,
273,
2144,
18,
2670,
1702,
12,
87,
67,
3595,
1769,
5411,
289,
5411,
4879,
10628,
12,
8477,
16,
1800,
1769,
1850,
289,
469,
288,
5411,
596,
18,
8222,
12,
7734,
3532,
5776,
2036,
5189,
1118,
24735,
10483,
4657,
3758,
1297,
6,
15,
7734,
315,
787,
598,
1239,
2
] |
log().verbose( "RemoteFileDeletion sync. Member '" + member.getNick() + "' has " + fileList.length + " possible files");
|
if (logVerbose) { log().verbose( "RemoteFileDeletion sync. Member '" + member.getNick() + "' has " + fileList.length + " possible files"); }
|
public boolean handleRemoteDeletedFiles(boolean force) { if (!force) { // Check if allowed on folder if (!syncProfile.isSyncDeletionWithFriends() && !syncProfile.isSyncDeletionWithOthers()) { // No sync wanted return false; } } Member[] conMembers = getConnectedMembers(); log().debug( "Deleting files, which are deleted by friends. con-members: " + Arrays.asList(conMembers)); List removedFiles = new ArrayList(); for (Member member : conMembers) { if (!member.isConnected()) { // disconected in the meantime // go to next member continue; } FileInfo[] fileList = member.getLastFileList(this.getInfo()); if (fileList == null) { continue; } log().verbose( "RemoteFileDeletion sync. Member '" + member.getNick() + "' has " + fileList.length + " possible files"); for (FileInfo remoteFile : fileList) { boolean fileFromFriend = remoteFile .isModifiedByFriend(getController()); if (!fileFromFriend) { // Not modified by friend, skip file continue; } FileInfo localFile = getFile(remoteFile); boolean remoteFileNewer = true; if (localFile != null) { remoteFileNewer = remoteFile.isNewerThan(localFile); } if (!remoteFileNewer) { // Not newer, skip file // log().warn( // "Ingoring file (not newer): " + remoteFile.getName() // + ". local-ver: " + localFile.getVersion() // + ", remote-ver: " + remoteFile.getVersion()); continue; } // log().warn("Remote file has a newer file :" + // remoteFile.toDetailString()); // Okay the remote file is newer // Add to local file to database if was deleted on remote if (localFile == null && remoteFile.isDeleted()) { addFile(remoteFile); localFile = getFile(remoteFile); // File has been marked as removed at our side removedFiles.add(localFile); } if (localFile != null) { // log().warn("Okay we have local file :" + localFile); if (remoteFile.isDeleted() && !localFile.isDeleted()) { File localCopy = localFile.getDiskFile(getController() .getFolderRepository()); log().warn( "File was deleted by " + member + ", deleting local: " + localCopy); RecycleBin recycleBin = getController().getRecycleBin(); if (!recycleBin.moveToRecycleBin(localFile, localCopy)) { log().error( "Unable to move file to recycle bin" + localCopy); if (!localCopy.delete()) { log().error( "Unable to delete file " + localCopy); } } // } localFile.setDeleted(true); localFile.setModifiedInfo(remoteFile.getModifiedBy(), remoteFile.getModifiedDate()); localFile.setVersion(remoteFile.getVersion()); // File has been removed removedFiles.add(localFile); // Abort dl if one is active Download dl = getController().getTransferManager() .getActiveDownload(localFile); if (dl != null) { dl.abortAndCleanup(); } } else if (localFile.isDeleted() && !remoteFile.isDeleted()) { // Local file is deleted, check if version on remote is // higher log().warn("File restored on remote: " + remoteFile); reDownloadFile(remoteFile); } } } } // Broadcast folder change if changes happend if (!removedFiles.isEmpty()) { folderChanged(); // Broadcast to memebers FolderFilesChanged changes = new FolderFilesChanged(getInfo()); changes.removed = new FileInfo[removedFiles.size()]; removedFiles.toArray(changes.removed); broadcastMessage(changes); } return true; }
|
51438 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51438/5e02adc216a5e874559c0e9881d81ec39d41c9bd/Folder.java/clean/src/main/de/dal33t/powerfolder/disk/Folder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1640,
5169,
7977,
2697,
12,
6494,
2944,
13,
288,
3639,
309,
16051,
5734,
13,
288,
5411,
368,
2073,
309,
2935,
603,
3009,
5411,
309,
16051,
8389,
4029,
18,
291,
4047,
13064,
1190,
42,
22259,
1435,
7734,
597,
401,
8389,
4029,
18,
291,
4047,
13064,
1190,
51,
29540,
10756,
5411,
288,
7734,
368,
2631,
3792,
15504,
7734,
327,
629,
31,
5411,
289,
3639,
289,
3639,
8596,
8526,
356,
6918,
273,
336,
8932,
6918,
5621,
3639,
613,
7675,
4148,
12,
5411,
315,
20433,
1390,
16,
1492,
854,
4282,
635,
284,
22259,
18,
356,
17,
7640,
30,
315,
7734,
397,
5647,
18,
345,
682,
12,
591,
6918,
10019,
3639,
987,
3723,
2697,
273,
394,
2407,
5621,
3639,
364,
261,
4419,
3140,
294,
356,
6918,
13,
288,
5411,
309,
16051,
5990,
18,
291,
8932,
10756,
288,
7734,
368,
1015,
591,
828,
316,
326,
3722,
957,
7734,
368,
1960,
358,
1024,
3140,
7734,
1324,
31,
5411,
289,
5411,
14236,
8526,
18645,
273,
3140,
18,
588,
3024,
26098,
12,
2211,
18,
588,
966,
10663,
5411,
309,
261,
768,
682,
422,
446,
13,
288,
7734,
1324,
31,
5411,
289,
5411,
613,
7675,
11369,
12,
7734,
315,
5169,
812,
13064,
3792,
18,
8596,
2119,
397,
3140,
18,
588,
29756,
1435,
10792,
397,
2491,
711,
315,
397,
18645,
18,
2469,
397,
315,
3323,
1390,
8863,
5411,
364,
261,
11995,
2632,
812,
294,
18645,
13,
288,
7734,
1250,
585,
1265,
42,
7522,
273,
2632,
812,
10792,
263,
291,
4575,
858,
42,
7522,
12,
588,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1640,
5169,
7977,
2697,
12,
6494,
2944,
13,
288,
3639,
309,
16051,
5734,
13,
288,
5411,
368,
2073,
309,
2935,
603,
3009,
5411,
309,
16051,
8389,
4029,
18,
291,
4047,
13064,
1190,
42,
22259,
1435,
7734,
597,
401,
8389,
4029,
18,
291,
4047,
13064,
1190,
51,
29540,
10756,
5411,
288,
7734,
368,
2631,
3792,
15504,
7734,
327,
629,
31,
5411,
289,
3639,
289,
3639,
8596,
8526,
356,
6918,
273,
336,
8932,
6918,
5621,
3639,
613,
7675,
4148,
12,
5411,
315,
20433,
1390,
16,
1492,
854,
4282,
635,
284,
22259,
18,
356,
17,
7640,
30,
315,
7734,
397,
5647,
18,
345,
682,
12,
591,
6918,
10019,
3639,
987,
3723,
2697,
273,
394,
2407,
5621,
3639,
364,
261,
2
] |
ICPPField i2 = (ICPPField) name_i2.resolveBinding(); ICPPField i1 = (ICPPField) name_i1.resolveBinding();
|
ICPPField i2 = (ICPPField) name_i2.resolveBinding(); ICPPField i1 = (ICPPField) name_i1.resolveBinding();
|
public void testBasicInheritance() throws Exception { StringBuffer buffer = new StringBuffer(); buffer.append("class A { int i; }; \n"); //$NON-NLS-1$ buffer.append("class B : public A { void f(); }; \n"); //$NON-NLS-1$ buffer.append("void B::f() { i; } \n"); //$NON-NLS-1$ IASTTranslationUnit tu = parse(buffer.toString(), ParserLanguage.CPP); IASTSimpleDeclaration decl = (IASTSimpleDeclaration) tu.getDeclarations()[0]; ICPPASTCompositeTypeSpecifier comp = (ICPPASTCompositeTypeSpecifier) decl .getDeclSpecifier(); IASTName name_A1 = comp.getName(); decl = (IASTSimpleDeclaration) comp.getMembers()[0]; IASTName name_i1 = decl.getDeclarators()[0].getName(); decl = (IASTSimpleDeclaration) tu.getDeclarations()[1]; comp = (ICPPASTCompositeTypeSpecifier) decl.getDeclSpecifier(); IASTName name_B1 = comp.getName(); ICPPASTBaseSpecifier base = comp.getBaseSpecifiers()[0]; IASTName name_A2 = base.getName(); decl = (IASTSimpleDeclaration) comp.getMembers()[0]; IASTName name_f1 = decl.getDeclarators()[0].getName(); IASTFunctionDefinition def = (IASTFunctionDefinition) tu .getDeclarations()[2]; ICPPASTQualifiedName name_f2 = (ICPPASTQualifiedName) def.getDeclarator() .getName(); IASTName name_B2 = name_f2.getNames()[0]; IASTName name_f3 = name_f2.getNames()[1]; IASTCompoundStatement compound = (IASTCompoundStatement) def.getBody(); IASTExpressionStatement statement = (IASTExpressionStatement) compound .getStatements()[0]; IASTIdExpression idExp = (IASTIdExpression) statement.getExpression(); IASTName name_i2 = idExp.getName(); ICPPField i2 = (ICPPField) name_i2.resolveBinding(); ICPPField i1 = (ICPPField) name_i1.resolveBinding(); ICPPClassType A2 = (ICPPClassType) name_A2.resolveBinding(); ICPPClassType A1 = (ICPPClassType) name_A1.resolveBinding(); ICPPClassType B2 = (ICPPClassType) name_B2.resolveBinding(); ICPPClassType B1 = (ICPPClassType) name_B1.resolveBinding(); ICPPMethod f3 = (ICPPMethod) name_f3.resolveBinding(); ICPPMethod f2 = (ICPPMethod) name_f2.resolveBinding(); ICPPMethod f1 = (ICPPMethod) name_f1.resolveBinding(); assertNotNull(A1); assertNotNull(B1); assertNotNull(i1); assertNotNull(f1); assertSame(A1, A2); assertSame(B1, B2); assertSame(i1, i2); assertSame(f1, f2); assertSame(f2, f3); }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/85642473031be9bd27aacd0ceddea64e2ce41399/AST2CPPTests.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPTests.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
8252,
28255,
1435,
1216,
1185,
288,
1377,
6674,
1613,
273,
394,
6674,
5621,
1377,
1613,
18,
6923,
2932,
1106,
432,
288,
509,
277,
31,
289,
31,
9079,
521,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1377,
1613,
18,
6923,
2932,
1106,
605,
294,
1071,
432,
288,
918,
284,
5621,
289,
31,
521,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1377,
1613,
18,
6923,
2932,
6459,
605,
2866,
74,
1435,
288,
277,
31,
289,
7734,
521,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1377,
467,
9053,
6717,
2802,
28325,
273,
1109,
12,
4106,
18,
10492,
9334,
6783,
3779,
18,
4258,
52,
1769,
1377,
467,
9053,
5784,
6094,
3496,
273,
261,
45,
9053,
5784,
6094,
13,
28325,
18,
588,
21408,
1435,
63,
20,
15533,
1377,
467,
4258,
4066,
882,
9400,
559,
21416,
1161,
273,
261,
2871,
52,
4066,
882,
9400,
559,
21416,
13,
3496,
5411,
263,
588,
3456,
21416,
5621,
1377,
467,
9053,
461,
508,
67,
37,
21,
273,
1161,
18,
17994,
5621,
1377,
3496,
273,
261,
45,
9053,
5784,
6094,
13,
1161,
18,
588,
6918,
1435,
63,
20,
15533,
1377,
467,
9053,
461,
508,
67,
77,
21,
273,
3496,
18,
588,
3456,
297,
3062,
1435,
63,
20,
8009,
17994,
5621,
1377,
3496,
273,
261,
45,
9053,
5784,
6094,
13,
28325,
18,
588,
21408,
1435,
63,
21,
15533,
1377,
1161,
273,
261,
2871,
52,
4066,
882,
9400,
559,
21416,
13,
3496,
18,
588,
3456,
21416,
5621,
1377,
467,
9053,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
8252,
28255,
1435,
1216,
1185,
288,
1377,
6674,
1613,
273,
394,
6674,
5621,
1377,
1613,
18,
6923,
2932,
1106,
432,
288,
509,
277,
31,
289,
31,
9079,
521,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1377,
1613,
18,
6923,
2932,
1106,
605,
294,
1071,
432,
288,
918,
284,
5621,
289,
31,
521,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1377,
1613,
18,
6923,
2932,
6459,
605,
2866,
74,
1435,
288,
277,
31,
289,
7734,
521,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1377,
467,
9053,
6717,
2802,
28325,
273,
1109,
12,
4106,
18,
10492,
9334,
6783,
3779,
18,
4258,
52,
1769,
1377,
467,
9053,
5784,
6094,
3496,
273,
261,
2
] |
SimpleDateFormat sdf = new SimpleDateFormat( "MM/dd/yyyy" ); return sdf.format( dt );
|
return _sdf.format( dt );
|
private String getValue( DataElement de ) { if ( de instanceof DateTimeDataElement ) { Date dt = ( (DateTimeDataElement) de ).getValueAsCalendar( ) .getTime( ); SimpleDateFormat sdf = new SimpleDateFormat( "MM/dd/yyyy" ); //$NON-NLS-1$ return sdf.format( dt ); } else if ( de instanceof NumberDataElement ) { return NumberFormat.getInstance( ).format( ( (NumberDataElement) de ).getValue( ) ); } return ""; //$NON-NLS-1$ }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/34e0d413e3800e4db2d1129a0aa4835c42d9fa77/AxisScaleSheet.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/popup/axis/AxisScaleSheet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
2366,
12,
1910,
1046,
443,
262,
202,
95,
202,
202,
430,
261,
443,
1276,
3716,
751,
1046,
262,
202,
202,
95,
1082,
202,
1626,
3681,
273,
261,
261,
5096,
751,
1046,
13,
443,
262,
18,
24805,
1463,
7335,
12,
262,
6862,
202,
18,
588,
950,
12,
11272,
1082,
202,
5784,
11878,
31789,
273,
394,
17005,
12,
315,
8206,
19,
449,
19,
17722,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
2463,
31789,
18,
2139,
12,
3681,
11272,
202,
202,
97,
202,
202,
12107,
309,
261,
443,
1276,
3588,
751,
1046,
262,
202,
202,
95,
1082,
202,
2463,
29587,
18,
588,
1442,
12,
262,
18,
2139,
12,
261,
261,
1854,
751,
1046,
13,
443,
262,
18,
24805,
12,
262,
11272,
202,
202,
97,
202,
202,
2463,
1408,
31,
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,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2366,
12,
1910,
1046,
443,
262,
202,
95,
202,
202,
430,
261,
443,
1276,
3716,
751,
1046,
262,
202,
202,
95,
1082,
202,
1626,
3681,
273,
261,
261,
5096,
751,
1046,
13,
443,
262,
18,
24805,
1463,
7335,
12,
262,
6862,
202,
18,
588,
950,
12,
11272,
1082,
202,
5784,
11878,
31789,
273,
394,
17005,
12,
315,
8206,
19,
449,
19,
17722,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
2463,
31789,
18,
2139,
12,
3681,
11272,
202,
202,
97,
202,
202,
12107,
309,
261,
443,
1276,
3588,
751,
1046,
262,
202,
202,
95,
1082,
202,
2463,
29587,
18,
588,
1442,
12,
262,
18,
2139,
12,
261,
261,
1854,
751,
1046,
13,
2
] |
try { Connection con = JDBC2Tests.openDB();
|
try { Statement stmt = con.createStatement(); assertEquals(1, stmt.executeUpdate(JDBC2Tests.insertSQL("testdate", "'1950-02-07'"))); assertEquals(1, stmt.executeUpdate(JDBC2Tests.insertSQL("testdate", "'1970-06-02'"))); assertEquals(1, stmt.executeUpdate(JDBC2Tests.insertSQL("testdate", "'1999-08-11'"))); assertEquals(1, stmt.executeUpdate(JDBC2Tests.insertSQL("testdate", "'2001-02-13'")));
|
public void testGetDate() { try { Connection con = JDBC2Tests.openDB(); Statement st=con.createStatement(); JDBC2Tests.createTable(con,"dt date"); st.executeUpdate(JDBC2Tests.insert("'1950-02-07'")); st.executeUpdate(JDBC2Tests.insert("'1970-06-02'")); st.executeUpdate(JDBC2Tests.insert("'1999-08-11'")); st.executeUpdate(JDBC2Tests.insert("'2001-02-13'")); // Fall through helper checkTimeTest(con,st); st.close(); JDBC2Tests.closeDB(con); } catch(Exception ex) { assert(ex.getMessage(),false); } } /** * Tests the time methods in PreparedStatement */ public void testSetDate() { try { Connection con = JDBC2Tests.openDB(); Statement st=con.createStatement(); JDBC2Tests.createTable(con,"dt date"); PreparedStatement ps = con.prepareStatement(JDBC2Tests.insert("?")); ps.setDate(1,getDate(1950,2,7)); assert(!ps.execute()); // false as its an update! ps.setDate(1,getDate(1970,6,2)); assert(!ps.execute()); // false as its an update! ps.setDate(1,getDate(1999,8,11)); assert(!ps.execute()); // false as its an update! ps.setDate(1,getDate(2001,2,13)); assert(!ps.execute()); // false as its an update! // Fall through helper checkTimeTest(con,st); ps.close(); st.close(); JDBC2Tests.closeDB(con); } catch(Exception ex) {
|
52522 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52522/b75814aee320ef2b67ad01ba72c266dbbf94db45/DateTest.java/clean/src/interfaces/jdbc/org/postgresql/test/jdbc2/DateTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
967,
1626,
1435,
288,
565,
775,
288,
1377,
4050,
356,
273,
16364,
22,
14650,
18,
3190,
2290,
5621,
1377,
8056,
384,
33,
591,
18,
2640,
3406,
5621,
1377,
16364,
22,
14650,
18,
2640,
1388,
12,
591,
10837,
7510,
1509,
8863,
1377,
384,
18,
8837,
1891,
12,
30499,
22,
14650,
18,
6387,
29823,
3657,
3361,
17,
3103,
17,
8642,
4970,
10019,
1377,
384,
18,
8837,
1891,
12,
30499,
22,
14650,
18,
6387,
29823,
3657,
7301,
17,
7677,
17,
3103,
4970,
10019,
1377,
384,
18,
8837,
1891,
12,
30499,
22,
14650,
18,
6387,
29823,
21,
11984,
17,
6840,
17,
2499,
4970,
10019,
1377,
384,
18,
8837,
1891,
12,
30499,
22,
14650,
18,
6387,
29823,
6976,
21,
17,
3103,
17,
3437,
4970,
10019,
1377,
368,
23647,
3059,
4222,
1377,
866,
950,
4709,
12,
591,
16,
334,
1769,
1377,
384,
18,
4412,
5621,
1377,
16364,
22,
14650,
18,
4412,
2290,
12,
591,
1769,
565,
289,
1044,
12,
503,
431,
13,
288,
1377,
1815,
12,
338,
18,
24906,
9334,
5743,
1769,
565,
289,
225,
289,
225,
1783,
282,
380,
7766,
87,
326,
813,
2590,
316,
16913,
282,
1195,
225,
1071,
918,
1842,
694,
1626,
1435,
288,
565,
775,
288,
1377,
4050,
356,
273,
16364,
22,
14650,
18,
3190,
2290,
5621,
1377,
8056,
384,
33,
591,
18,
2640,
3406,
5621,
1377,
16364,
22,
14650,
18,
2640,
1388,
12,
591,
10837,
7510,
1509,
8863,
1377,
16913,
4250,
273,
356,
18,
9366,
3406,
12,
30499,
22,
14650,
18,
6387,
2932,
7225,
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,
967,
1626,
1435,
288,
565,
775,
288,
1377,
4050,
356,
273,
16364,
22,
14650,
18,
3190,
2290,
5621,
1377,
8056,
384,
33,
591,
18,
2640,
3406,
5621,
1377,
16364,
22,
14650,
18,
2640,
1388,
12,
591,
10837,
7510,
1509,
8863,
1377,
384,
18,
8837,
1891,
12,
30499,
22,
14650,
18,
6387,
29823,
3657,
3361,
17,
3103,
17,
8642,
4970,
10019,
1377,
384,
18,
8837,
1891,
12,
30499,
22,
14650,
18,
6387,
29823,
3657,
7301,
17,
7677,
17,
3103,
4970,
10019,
1377,
384,
18,
8837,
1891,
12,
30499,
22,
14650,
18,
6387,
29823,
21,
11984,
17,
6840,
17,
2499,
4970,
10019,
1377,
384,
18,
8837,
1891,
12,
30499,
22,
14650,
18,
6387,
29823,
6976,
21,
17,
2
] |
String message = parser.nextText();
|
try { message = parser.nextText(); } catch (XmlPullParserException ex) {}
|
private XMPPError parseError(XmlPullParser parser) throws Exception { String errorCode = null; for (int i=0; i<parser.getAttributeCount(); i++) { if (parser.getAttributeName(i).equals("code")) { errorCode = parser.getAttributeValue("", "code"); } } String message = parser.nextText(); while (true) { if (parser.getEventType() == XmlPullParser.END_TAG && parser.getName().equals("error")) { break; } } return new XMPPError(Integer.parseInt(errorCode), message); }
|
4336 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4336/d9aa18a34c0f31feff696c97da3bc6cddd33f439/PacketReader.java/clean/source/org/jivesoftware/smack/PacketReader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
23216,
668,
1109,
668,
12,
4432,
9629,
2678,
2082,
13,
1216,
1185,
288,
3639,
514,
12079,
273,
446,
31,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
32,
4288,
18,
588,
1499,
1380,
5621,
277,
27245,
288,
5411,
309,
261,
4288,
18,
588,
19240,
12,
77,
2934,
14963,
2932,
710,
6,
3719,
288,
7734,
12079,
273,
2082,
18,
588,
14942,
2932,
3113,
315,
710,
8863,
5411,
289,
3639,
289,
540,
775,
288,
883,
273,
2082,
18,
4285,
1528,
5621,
289,
1044,
261,
4432,
9629,
25746,
431,
13,
2618,
3639,
1323,
261,
3767,
13,
288,
5411,
309,
261,
4288,
18,
588,
16346,
1435,
422,
5714,
9629,
2678,
18,
4415,
67,
7927,
597,
2082,
18,
17994,
7675,
14963,
2932,
1636,
6,
3719,
288,
7734,
898,
31,
5411,
289,
3639,
289,
3639,
327,
394,
23216,
668,
12,
4522,
18,
2670,
1702,
12,
27754,
3631,
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,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
3238,
23216,
668,
1109,
668,
12,
4432,
9629,
2678,
2082,
13,
1216,
1185,
288,
3639,
514,
12079,
273,
446,
31,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
32,
4288,
18,
588,
1499,
1380,
5621,
277,
27245,
288,
5411,
309,
261,
4288,
18,
588,
19240,
12,
77,
2934,
14963,
2932,
710,
6,
3719,
288,
7734,
12079,
273,
2082,
18,
588,
14942,
2932,
3113,
315,
710,
8863,
5411,
289,
3639,
289,
540,
775,
288,
883,
273,
2082,
18,
4285,
1528,
5621,
289,
1044,
261,
4432,
9629,
25746,
431,
13,
2618,
3639,
1323,
261,
3767,
13,
288,
5411,
309,
261,
4288,
18,
588,
16346,
1435,
422,
5714,
9629,
2678,
18,
4415,
67,
7927,
597,
2082,
18,
17994,
7675,
14963,
2
] |
getRawToken(); Expression selector = parseExpr(); if (curToken != ')') return syntaxError("missing ')' after 'typeswitch' selector");
|
Expression selector = parseParenExpr();
|
Expression parseTypeSwitch() throws java.io.IOException, SyntaxException { char save = pushNesting('t'); getRawToken(); Expression selector = parseExpr(); if (curToken != ')') return syntaxError("missing ')' after 'typeswitch' selector"); getRawToken(); Object varName = null; Declaration decl; Vector vec = new Vector(); vec.addElement(selector); while (match("case")) { pushNesting('c'); getRawToken(); if (curToken == '$') { decl = parseVariableDeclaration(); if (decl == null) return syntaxError("missing Variable after '$'"); getRawToken(); if (match("as")) getRawToken(); else error('e', "missing 'as'"); } else decl = new Declaration("(arg)"); decl.setType((Type) ((QuoteExp) parseDataType()).getValue()); popNesting('t'); LambdaExp lexp = new LambdaExp(1); lexp.addDeclaration(decl); if (match("return")) getRawToken(); else error("missing 'return' after 'case'"); comp.push(lexp); pushNesting('r'); Expression caseExpr = parseExpr(); lexp.body = caseExpr; popNesting('t'); comp.pop(lexp); vec.addElement(lexp); } if (curToken == '$') { decl = parseVariableDeclaration(); if (decl == null) return syntaxError("missing Variable after '$'"); getRawToken(); } else decl = new Declaration("(arg)"); LambdaExp lexp = new LambdaExp(0); lexp.addDeclaration(decl); if (match("default")) { getRawToken(); if (match("return")) getRawToken(); else error("missing 'return' after 'default'"); comp.push(lexp); Expression defaultExpr = parseExpr(); lexp.body = defaultExpr; comp.pop(lexp); } else { lexp.body = QuoteExp.voidExp; error('w', "no 'default' clause in 'typeswitch'"); } vec.addElement(lexp); popNesting(save); Expression[] args = new Expression[vec.size()]; vec.copyInto(args); return new ApplyExp(makeFunctionExp("gnu.kawa.reflect.TypeSwitch", "typeSwitch"), args); }
|
36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/8698d3d405b5288d6f4ee34862744c6f5907db49/XQParser.java/buggy/gnu/xquery/lang/XQParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
5371,
1109,
559,
10200,
1435,
565,
1216,
2252,
18,
1594,
18,
14106,
16,
11517,
503,
225,
288,
565,
1149,
1923,
273,
1817,
50,
10100,
2668,
88,
8284,
565,
10547,
1345,
5621,
565,
5371,
3451,
273,
1109,
4742,
5621,
565,
309,
261,
1397,
1345,
480,
5777,
13,
1377,
327,
6279,
668,
2932,
7337,
5777,
1839,
296,
2352,
30390,
11,
3451,
8863,
565,
10547,
1345,
5621,
565,
1033,
13722,
273,
446,
31,
565,
16110,
4302,
3496,
31,
565,
5589,
7062,
273,
394,
5589,
5621,
565,
7062,
18,
1289,
1046,
12,
9663,
1769,
565,
1323,
261,
1916,
2932,
3593,
6,
3719,
1377,
288,
202,
6206,
50,
10100,
2668,
71,
8284,
202,
588,
4809,
1345,
5621,
202,
430,
261,
1397,
1345,
422,
3365,
6134,
202,
225,
288,
202,
565,
3496,
273,
1109,
26547,
5621,
202,
565,
309,
261,
8840,
422,
446,
13,
202,
1377,
327,
6279,
668,
2932,
7337,
7110,
1839,
3365,
4970,
1769,
202,
565,
10547,
1345,
5621,
202,
565,
309,
261,
1916,
2932,
345,
6,
3719,
202,
1377,
10547,
1345,
5621,
202,
565,
469,
202,
1377,
555,
2668,
73,
2187,
315,
7337,
296,
345,
4970,
1769,
202,
225,
289,
202,
12107,
202,
225,
3496,
273,
394,
16110,
4302,
2932,
12,
3175,
2225,
1769,
202,
8840,
18,
542,
559,
12443,
559,
13,
14015,
10257,
2966,
13,
1109,
6273,
1435,
2934,
24805,
10663,
202,
5120,
50,
10100,
2668,
88,
8284,
202,
12025,
2966,
5275,
84,
273,
394,
12801,
2966,
12,
21,
1769,
202,
4149,
84,
18,
1289,
6094,
12,
8840,
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,
5371,
1109,
559,
10200,
1435,
565,
1216,
2252,
18,
1594,
18,
14106,
16,
11517,
503,
225,
288,
565,
1149,
1923,
273,
1817,
50,
10100,
2668,
88,
8284,
565,
10547,
1345,
5621,
565,
5371,
3451,
273,
1109,
4742,
5621,
565,
309,
261,
1397,
1345,
480,
5777,
13,
1377,
327,
6279,
668,
2932,
7337,
5777,
1839,
296,
2352,
30390,
11,
3451,
8863,
565,
10547,
1345,
5621,
565,
1033,
13722,
273,
446,
31,
565,
16110,
4302,
3496,
31,
565,
5589,
7062,
273,
394,
5589,
5621,
565,
7062,
18,
1289,
1046,
12,
9663,
1769,
565,
1323,
261,
1916,
2932,
3593,
6,
3719,
1377,
288,
202,
6206,
50,
10100,
2668,
71,
8284,
202,
588,
4809,
1345,
5621,
202,
430,
261,
1397,
1345,
422,
2
] |
throw new EJBException("Cannot get JNDI InitialContext");
|
throw new RemoteException("Cannot get JNDI InitialContext");
|
public void setSessionContext(SessionContext sessionContext) throws RemoteException { this.sessionContext = sessionContext; if (dataSource == null) { // Finds DataSource from JNDI try { initialContext = new InitialContext(); dataSource = (DataSource)initialContext.lookup("java:comp/env/jdbc/rubis"); } catch (Exception e) { throw new EJBException("Cannot get JNDI InitialContext"); } } }
|
5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/69c37257a1581e015b5a8a01582a0f0d4a10936c/SB_PutCommentBean.java/buggy/EJB_Session_facade/edu/rice/rubis/beans/SB_PutCommentBean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
25486,
1042,
12,
2157,
1042,
1339,
1042,
13,
1216,
18361,
225,
288,
565,
333,
18,
3184,
1042,
273,
1339,
1042,
31,
565,
309,
261,
892,
1830,
422,
446,
13,
565,
288,
1377,
368,
4163,
87,
12806,
628,
804,
24513,
4202,
775,
1377,
288,
3639,
2172,
1042,
273,
394,
10188,
1042,
5621,
540,
10233,
273,
261,
8597,
13,
6769,
1042,
18,
8664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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
25486,
1042,
12,
2157,
1042,
1339,
1042,
13,
1216,
18361,
225,
288,
565,
333,
18,
3184,
1042,
273,
1339,
1042,
31,
565,
309,
261,
892,
1830,
422,
446,
13,
565,
288,
1377,
368,
4163,
87,
12806,
628,
804,
24513,
4202,
775,
1377,
288,
3639,
2172,
1042,
273,
394,
10188,
1042,
5621,
540,
10233,
273,
261,
8597,
13,
6769,
1042,
18,
8664,
2932,
6290,
30,
2919,
19,
3074,
19,
24687,
19,
18271,
291,
8863,
1377,
289,
1377,
1044,
261,
503,
425,
13,
4202,
288,
3639,
604,
394,
18361,
2932,
4515,
336,
804,
24513,
10188,
1042,
8863,
1377,
289,
565,
289,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
_fis.skip(skip);
|
_fis.skip(_uploadBegin);
|
public void doUpload() throws IOException { writeHeader(); int c = -1; int available = 0; byte[] buf = new byte[1024]; int skip = 0; if (_uploadBegin != 0) skip = _uploadBegin -1; _fis.skip(skip); while (true) { try { if ((_uploadEnd != 0) && (_uploadEnd == _amountRead )) break; c = _fis.read(buf); } catch (IOException e) { throw e; } if (c == -1) break; try { _ostream.write(buf, 0, c); } catch (IOException e) { throw e; } _amountRead += c; } try { _ostream.close(); } catch (IOException e) { throw e; } _state = COMPLETE; }
|
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/5fd2b3db6998fcd07e2ed83315b8284f344c4249/HTTPUploader.java/clean/components/gnutella-core/src/main/java/com/limegroup/gnutella/uploader/HTTPUploader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
4777,
1435,
1216,
1860,
288,
202,
2626,
1864,
5621,
202,
474,
276,
273,
300,
21,
31,
202,
474,
2319,
273,
374,
31,
202,
7229,
8526,
1681,
273,
394,
1160,
63,
2163,
3247,
15533,
202,
474,
2488,
273,
374,
31,
202,
430,
261,
67,
6327,
8149,
480,
374,
13,
202,
565,
2488,
273,
389,
6327,
8149,
300,
21,
31,
202,
67,
74,
291,
18,
7457,
12,
7457,
1769,
202,
17523,
261,
3767,
13,
288,
202,
565,
775,
288,
202,
202,
430,
14015,
67,
6327,
1638,
480,
374,
13,
597,
1875,
565,
261,
67,
6327,
1638,
422,
389,
8949,
1994,
8623,
1082,
565,
898,
31,
1082,
1377,
202,
202,
71,
273,
389,
74,
291,
18,
896,
12,
4385,
1769,
202,
565,
289,
202,
565,
1044,
261,
14106,
425,
13,
288,
202,
202,
12849,
425,
31,
202,
565,
289,
202,
565,
309,
261,
71,
422,
300,
21,
13,
3196,
202,
8820,
31,
202,
565,
775,
288,
202,
202,
67,
669,
793,
18,
2626,
12,
4385,
16,
374,
16,
276,
1769,
202,
565,
289,
202,
565,
1044,
261,
14106,
425,
13,
288,
202,
202,
12849,
425,
31,
202,
565,
289,
202,
565,
389,
8949,
1994,
1011,
276,
31,
202,
97,
202,
698,
288,
202,
565,
389,
669,
793,
18,
4412,
5621,
202,
97,
202,
14683,
261,
14106,
425,
13,
288,
202,
565,
604,
425,
31,
202,
97,
202,
67,
2019,
273,
25623,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
4777,
1435,
1216,
1860,
288,
202,
2626,
1864,
5621,
202,
474,
276,
273,
300,
21,
31,
202,
474,
2319,
273,
374,
31,
202,
7229,
8526,
1681,
273,
394,
1160,
63,
2163,
3247,
15533,
202,
474,
2488,
273,
374,
31,
202,
430,
261,
67,
6327,
8149,
480,
374,
13,
202,
565,
2488,
273,
389,
6327,
8149,
300,
21,
31,
202,
67,
74,
291,
18,
7457,
12,
7457,
1769,
202,
17523,
261,
3767,
13,
288,
202,
565,
775,
288,
202,
202,
430,
14015,
67,
6327,
1638,
480,
374,
13,
597,
1875,
565,
261,
67,
6327,
1638,
422,
389,
8949,
1994,
8623,
1082,
565,
898,
31,
1082,
1377,
202,
202,
71,
273,
389,
74,
291,
18,
896,
12,
2
] |
(String)fullyQualifiedFaultClassNameMap.get(key),
|
(String) fullyQualifiedFaultClassNameMap.get(key),
|
private Element getUniqueListofFaults(Document doc) { Element rootElement = doc.createElement("fault-list"); Element faultElement; QName key; Iterator iterator = fullyQualifiedFaultClassNameMap.keySet().iterator(); while (iterator.hasNext()) { faultElement = doc.createElement("fault"); key = (QName) iterator.next(); //as for the name of a fault, we generate an exception addAttribute(doc, "name", (String)fullyQualifiedFaultClassNameMap.get(key), faultElement); addAttribute(doc, "intantiatiableName", (String)InstantiatableFaultClassNameMap.get(key), faultElement); addAttribute(doc, "shortName", (String)faultClassNameMap.get(key), faultElement); //the type represents the type that will be wrapped by this //name String typeMapping = this.mapper.getTypeMappingName(key); addAttribute(doc, "type", (typeMapping == null) ? "" : typeMapping, faultElement); String attribValue = (String) instantiatableMessageClassNames. get(key); addAttribute(doc, "instantiatableType", attribValue==null?"":attribValue, faultElement); // add an extra attribute to say whether the type mapping is // the default if (TypeMapper.DEFAULT_CLASS_NAME.equals(typeMapping)) { addAttribute(doc, "default", "yes", faultElement); } addAttribute(doc, "value", getParamInitializer(typeMapping), faultElement); rootElement.appendChild(faultElement); } return rootElement; }
|
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/95b2a1b8970a4e5a4607b75b8bd0347d031c1111/AxisServiceBasedMultiLanguageEmitter.java/clean/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3010,
16076,
682,
792,
7083,
87,
12,
2519,
997,
13,
288,
3639,
3010,
225,
27575,
273,
997,
18,
2640,
1046,
2932,
643,
17,
1098,
8863,
3639,
3010,
12530,
1046,
31,
3639,
16723,
498,
31,
3639,
4498,
2775,
273,
7418,
8708,
7083,
3834,
863,
18,
856,
694,
7675,
9838,
5621,
3639,
1323,
261,
9838,
18,
5332,
2134,
10756,
288,
5411,
12530,
1046,
273,
997,
18,
2640,
1046,
2932,
643,
8863,
5411,
498,
273,
261,
13688,
13,
2775,
18,
4285,
5621,
5411,
368,
345,
364,
326,
508,
434,
279,
12530,
16,
732,
2103,
392,
1520,
5411,
10759,
12,
2434,
16,
315,
529,
3113,
10792,
261,
780,
13,
7418,
8708,
7083,
3834,
863,
18,
588,
12,
856,
3631,
10792,
12530,
1046,
1769,
5411,
10759,
12,
2434,
16,
315,
474,
970,
77,
270,
2214,
461,
3113,
10792,
261,
780,
13,
10675,
77,
8163,
7083,
3834,
863,
18,
588,
12,
856,
3631,
10792,
12530,
1046,
1769,
5411,
10759,
12,
2434,
16,
315,
6620,
461,
3113,
10792,
261,
780,
13,
643,
3834,
863,
18,
588,
12,
856,
3631,
10792,
12530,
1046,
1769,
5411,
368,
5787,
618,
8686,
326,
618,
716,
903,
506,
5805,
635,
333,
5411,
368,
529,
5411,
514,
618,
3233,
273,
10792,
333,
18,
13919,
18,
588,
559,
3233,
461,
12,
856,
1769,
5411,
10759,
12,
2434,
16,
315,
723,
3113,
261,
723,
3233,
422,
446,
13,
10792,
692,
1408,
10792,
294,
618,
3233,
16,
12530,
1046,
1769,
5411,
514,
5885,
620,
273,
261,
780,
13,
5934,
77,
8163,
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,
3010,
16076,
682,
792,
7083,
87,
12,
2519,
997,
13,
288,
3639,
3010,
225,
27575,
273,
997,
18,
2640,
1046,
2932,
643,
17,
1098,
8863,
3639,
3010,
12530,
1046,
31,
3639,
16723,
498,
31,
3639,
4498,
2775,
273,
7418,
8708,
7083,
3834,
863,
18,
856,
694,
7675,
9838,
5621,
3639,
1323,
261,
9838,
18,
5332,
2134,
10756,
288,
5411,
12530,
1046,
273,
997,
18,
2640,
1046,
2932,
643,
8863,
5411,
498,
273,
261,
13688,
13,
2775,
18,
4285,
5621,
5411,
368,
345,
364,
326,
508,
434,
279,
12530,
16,
732,
2103,
392,
1520,
5411,
10759,
12,
2434,
16,
315,
529,
3113,
10792,
261,
780,
13,
7418,
8708,
7083,
3834,
863,
18,
588,
12,
856,
3631,
10792,
12530,
2
] |
return _exptype(nodeHandle & m_mask);
|
return _exptype(makeNodeIdentity(nodeHandle));
|
public int getExpandedTypeID(int nodeHandle) { return _exptype(nodeHandle & m_mask); }
|
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/2d102c245a54c9167bd2255d2b93ba5f3b7667e8/DTMDefaultBase.java/buggy/src/org/apache/xml/dtm/ref/DTMDefaultBase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
336,
17957,
559,
734,
12,
474,
756,
3259,
13,
225,
288,
282,
327,
389,
338,
27672,
12,
6540,
907,
4334,
12,
2159,
3259,
10019,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
336,
17957,
559,
734,
12,
474,
756,
3259,
13,
225,
288,
282,
327,
389,
338,
27672,
12,
6540,
907,
4334,
12,
2159,
3259,
10019,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
removeJarButtonActionPerformed(evt); }
|
removeJarButtonActionPerformed(evt); }
|
public void actionPerformed(java.awt.event.ActionEvent evt) { removeJarButtonActionPerformed(evt); }
|
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/63a6170e705d470d850093203d4357a1a06a9a8e/FindBugsFrame.java/clean/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
26100,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
9506,
202,
4479,
10813,
3616,
19449,
12,
73,
11734,
1769,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
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
] |
openBorder = new CompoundBorder(new MatteBorder(0,2,0,0,Color.black),
|
openBorder = new CompoundBorder(new MatteBorder(0,2,0,0, UIManager.getColor("Tree.textForeground")),
|
private void propertiesChanged() { showIcons = jEdit.getBooleanProperty("vfs.browser.showIcons"); if(showIcons) { closedBorder = new EmptyBorder(0,3,0,0); openBorder = new CompoundBorder(new MatteBorder(0,2,0,0,Color.black), new EmptyBorder(0,1,0,0)); } else { closedBorder = new EmptyBorder(1,4,1,1); openBorder = new CompoundBorder(new MatteBorder(0,2,0,0,Color.black), new EmptyBorder(1,2,1,1)); } }
|
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/1968964b53e488a02f30d31683a7cce6627027b8/FileCellRenderer.java/buggy/org/gjt/sp/jedit/browser/FileCellRenderer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1790,
5033,
1435,
202,
95,
202,
202,
4500,
27510,
273,
525,
4666,
18,
588,
5507,
1396,
2932,
90,
2556,
18,
11213,
18,
4500,
27510,
8863,
202,
202,
430,
12,
4500,
27510,
13,
202,
202,
95,
1082,
202,
12204,
8107,
273,
394,
8953,
8107,
12,
20,
16,
23,
16,
20,
16,
20,
1769,
1082,
202,
3190,
8107,
273,
394,
21327,
8107,
12,
2704,
14493,
736,
8107,
12,
20,
16,
22,
16,
20,
16,
20,
16,
2957,
18,
11223,
3631,
9506,
202,
2704,
8953,
8107,
12,
20,
16,
21,
16,
20,
16,
20,
10019,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
12204,
8107,
273,
394,
8953,
8107,
12,
21,
16,
24,
16,
21,
16,
21,
1769,
1082,
202,
3190,
8107,
273,
394,
21327,
8107,
12,
2704,
14493,
736,
8107,
12,
20,
16,
22,
16,
20,
16,
20,
16,
2957,
18,
11223,
3631,
9506,
202,
2704,
8953,
8107,
12,
21,
16,
22,
16,
21,
16,
21,
10019,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1790,
5033,
1435,
202,
95,
202,
202,
4500,
27510,
273,
525,
4666,
18,
588,
5507,
1396,
2932,
90,
2556,
18,
11213,
18,
4500,
27510,
8863,
202,
202,
430,
12,
4500,
27510,
13,
202,
202,
95,
1082,
202,
12204,
8107,
273,
394,
8953,
8107,
12,
20,
16,
23,
16,
20,
16,
20,
1769,
1082,
202,
3190,
8107,
273,
394,
21327,
8107,
12,
2704,
14493,
736,
8107,
12,
20,
16,
22,
16,
20,
16,
20,
16,
2957,
18,
11223,
3631,
9506,
202,
2704,
8953,
8107,
12,
20,
16,
21,
16,
20,
16,
20,
10019,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
12204,
8107,
273,
394,
8953,
8107,
12,
21,
16,
24,
16,
21,
2
] |
return this.sid;
|
return sid;
|
public short getSid() { return this.sid; }
|
509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/e1e58e515f38ac357130b8e14d9fd377be1ea1a6/RefModeRecord.java/buggy/src/java/org/apache/poi/hssf/record/RefModeRecord.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3025,
1322,
350,
1435,
565,
288,
3639,
327,
7348,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3025,
1322,
350,
1435,
565,
288,
3639,
327,
7348,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
horizontalRuler);
|
horizontalRuler, root.getMapMode());
|
private void initializeContents(EditPart editpart) { getZoomManager().setZoom( getWorkspaceViewerPreferenceStore().getDouble( WorkspaceViewerProperties.ZOOM)); getDiagramEditPart().refreshPageBreaks(); // Update the range model of the viewport ((DiagramEditPart) editpart).getViewport().validate(); if (editpart instanceof DiagramEditPart) { int x = getWorkspaceViewerPreferenceStore().getInt( WorkspaceViewerProperties.VIEWPORTX); int y = getWorkspaceViewerPreferenceStore().getInt( WorkspaceViewerProperties.VIEWPORTY); ((DiagramEditPart) editpart).getViewport() .getHorizontalRangeModel().setValue(x); ((DiagramEditPart) editpart).getViewport().getVerticalRangeModel() .setValue(y); } // Get the Ruler Units properties int rulerUnits = ((IPreferenceStore) ((DiagramRootEditPart) getRootEditPart()).getPreferencesHint().getPreferenceStore()) .getInt(IPreferenceConstants.PREF_RULER_UNITS); // Get the Guide Style GuideStyle guideStyle = (GuideStyle) getDiagram().getStyle( NotationPackage.eINSTANCE.getGuideStyle()); if (guideStyle != null) { // Set the Vertical Ruler properties DiagramRuler verticalRuler = ((DiagramRootEditPart) getRootEditPart()).getVerticalRuler(); verticalRuler.setGuideStyle(guideStyle); verticalRuler.setUnit(rulerUnits); DiagramRulerProvider vertProvider = new DiagramRulerProvider( verticalRuler); vertProvider.init(); getDiagramGraphicalViewer().setProperty( RulerProvider.PROPERTY_VERTICAL_RULER, vertProvider); // Set the Horizontal Ruler properties DiagramRuler horizontalRuler = ((DiagramRootEditPart) getRootEditPart()).getHorizontalRuler(); horizontalRuler.setGuideStyle(guideStyle); horizontalRuler.setUnit(rulerUnits); DiagramRulerProvider horzProvider = new DiagramRulerProvider( horizontalRuler); horzProvider.init(); getDiagramGraphicalViewer().setProperty( RulerProvider.PROPERTY_HORIZONTAL_RULER, horzProvider); // Show/Hide Rulers getDiagramGraphicalViewer().setProperty( RulerProvider.PROPERTY_RULER_VISIBILITY, Boolean.valueOf(getWorkspaceViewerPreferenceStore().getBoolean( WorkspaceViewerProperties.VIEWRULERS))); } // Snap to Grid getDiagramGraphicalViewer().setProperty( SnapToGeometry.PROPERTY_SNAP_ENABLED, Boolean.valueOf(getWorkspaceViewerPreferenceStore().getBoolean( WorkspaceViewerProperties.SNAPTOGRID))); // Hide/Show Grid getDiagramGraphicalViewer().setProperty( SnapToGrid.PROPERTY_GRID_ENABLED, Boolean.valueOf(getWorkspaceViewerPreferenceStore().getBoolean( WorkspaceViewerProperties.VIEWGRID))); getDiagramGraphicalViewer().setProperty( SnapToGrid.PROPERTY_GRID_VISIBLE, Boolean.valueOf(getWorkspaceViewerPreferenceStore().getBoolean( WorkspaceViewerProperties.VIEWGRID))); // Grid Origin (always 0, 0) Point origin = new Point(); getDiagramGraphicalViewer().setProperty( SnapToGrid.PROPERTY_GRID_ORIGIN, origin); // Grid Spacing double dSpacing = ((DiagramRootEditPart) getDiagramEditPart().getRoot()) .getGridSpacing(); ((DiagramRootEditPart) getDiagramEditPart().getRoot()) .setGridSpacing(dSpacing); }
|
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/adc1102179d667e4a670bfc5711892726a23a343/DiagramEditor.java/clean/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui/src/org/eclipse/gmf/runtime/diagram/ui/parts/DiagramEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4046,
6323,
12,
4666,
1988,
3874,
2680,
13,
288,
202,
202,
588,
11497,
1318,
7675,
542,
11497,
12,
1082,
202,
588,
8241,
18415,
9624,
2257,
7675,
588,
5265,
12,
9506,
202,
8241,
18415,
2297,
18,
62,
51,
1872,
10019,
202,
202,
588,
14058,
1940,
4666,
1988,
7675,
9144,
1964,
26806,
5621,
9506,
202,
759,
2315,
326,
1048,
938,
434,
326,
10482,
202,
202,
12443,
14058,
1940,
4666,
1988,
13,
3874,
2680,
2934,
588,
22743,
7675,
5662,
5621,
9506,
202,
430,
261,
4619,
2680,
1276,
14539,
1940,
4666,
1988,
13,
288,
1082,
202,
474,
619,
273,
20280,
18415,
9624,
2257,
7675,
588,
1702,
12,
9506,
202,
8241,
18415,
2297,
18,
12145,
6354,
60,
1769,
1082,
202,
474,
677,
273,
20280,
18415,
9624,
2257,
7675,
588,
1702,
12,
9506,
202,
8241,
18415,
2297,
18,
12145,
6354,
61,
1769,
1082,
202,
12443,
14058,
1940,
4666,
1988,
13,
3874,
2680,
2934,
588,
22743,
1435,
9506,
202,
18,
588,
14457,
2655,
1488,
7675,
542,
620,
12,
92,
1769,
1082,
202,
12443,
14058,
1940,
4666,
1988,
13,
3874,
2680,
2934,
588,
22743,
7675,
588,
15704,
2655,
1488,
1435,
9506,
202,
18,
542,
620,
12,
93,
1769,
202,
202,
97,
202,
202,
759,
968,
326,
534,
17040,
27845,
1790,
202,
202,
474,
436,
17040,
7537,
273,
14015,
45,
9624,
2257,
13,
14015,
14058,
1940,
2375,
4666,
1988,
13,
7656,
4666,
1988,
1435,
2934,
588,
12377,
7002,
7675,
588,
9624,
2257,
10756,
1082,
202,
18,
588,
1702,
12,
45,
9624,
2918,
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,
4046,
6323,
12,
4666,
1988,
3874,
2680,
13,
288,
202,
202,
588,
11497,
1318,
7675,
542,
11497,
12,
1082,
202,
588,
8241,
18415,
9624,
2257,
7675,
588,
5265,
12,
9506,
202,
8241,
18415,
2297,
18,
62,
51,
1872,
10019,
202,
202,
588,
14058,
1940,
4666,
1988,
7675,
9144,
1964,
26806,
5621,
9506,
202,
759,
2315,
326,
1048,
938,
434,
326,
10482,
202,
202,
12443,
14058,
1940,
4666,
1988,
13,
3874,
2680,
2934,
588,
22743,
7675,
5662,
5621,
9506,
202,
430,
261,
4619,
2680,
1276,
14539,
1940,
4666,
1988,
13,
288,
1082,
202,
474,
619,
273,
20280,
18415,
9624,
2257,
7675,
588,
1702,
12,
9506,
202,
8241,
18415,
2297,
18,
12145,
6354,
60,
1769,
1082,
202,
2
] |
if (isLeader() && isAgent(name)) {
|
if (isLeader(thisAgent) && isAgent(name)) { newState(name, HEALTH_CHECK);
|
public void enter(String name) { if (isLeader() && isAgent(name)) { //newState(name, HEALTH_CHECK); } }
|
11869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11869/91789f2f3cb24991e56fcdb8c7f6638c818776ff/DefaultRobustnessController.java/clean/mgmt_agent/src/org/cougaar/tools/robustness/ma/controllers/DefaultRobustnessController.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
6103,
12,
780,
508,
13,
288,
1377,
309,
261,
291,
15254,
12,
2211,
3630,
13,
597,
353,
3630,
12,
529,
3719,
288,
15907,
12,
529,
16,
4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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
6103,
12,
780,
508,
13,
288,
1377,
309,
261,
291,
15254,
12,
2211,
3630,
13,
597,
353,
3630,
12,
529,
3719,
288,
15907,
12,
529,
16,
4194,
1013,
2455,
67,
10687,
1769,
4202,
368,
2704,
1119,
12,
529,
16,
4194,
1013,
2455,
67,
10687,
1769,
1377,
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,
-100,
-100
] |
public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException
|
public Object execMethod(IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
|
public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { if (prototypeFlag) { switch (methodId) { case ConstructorId_fromCharCode: { int N = args.length; if (N < 1) return ""; StringBuffer sb = new StringBuffer(N); for (int i = 0; i != N; ++i) { sb.append(ScriptRuntime.toUint16(args[i])); } return sb.toString(); } case Id_constructor: { String s = (args.length >= 1) ? ScriptRuntime.toString(args[0]) : ""; if (thisObj == null) { // new String(val) creates a new String object. return new NativeString(s); } // String(val) converts val to a string value. return s; } case Id_toString: case Id_valueOf: // ECMA 15.5.4.2: 'the toString function is not generic. return realThis(thisObj, f).string; case Id_toSource: { String s = realThis(thisObj, f).string; return "(new String(\""+ScriptRuntime.escapeString(s) +"\"))"; } case Id_charAt: case Id_charCodeAt: { // See ECMA 15.5.4.[4,5] String target = ScriptRuntime.toString(thisObj); double pos = ScriptRuntime.toInteger(args, 0); if (pos < 0 || pos >= target.length()) { if (methodId == Id_charAt) return ""; else return ScriptRuntime.NaNobj; } char c = target.charAt((int)pos); if (methodId == Id_charAt) return String.valueOf(c); else return wrap_int(c); } case Id_indexOf: return wrap_int(js_indexOf (ScriptRuntime.toString(thisObj), args)); case Id_lastIndexOf: return wrap_int(js_lastIndexOf (ScriptRuntime.toString(thisObj), args)); case Id_split: return js_split (cx, scope, ScriptRuntime.toString(thisObj), args); case Id_substring: return js_substring (cx, ScriptRuntime.toString(thisObj), args); case Id_toLowerCase: // See ECMA 15.5.4.11 return ScriptRuntime.toString(thisObj).toLowerCase(); case Id_toUpperCase: // See ECMA 15.5.4.12 return ScriptRuntime.toString(thisObj).toUpperCase(); case Id_substr: return js_substr(ScriptRuntime.toString(thisObj), args); case Id_concat: return js_concat(ScriptRuntime.toString(thisObj), args); case Id_slice: return js_slice(ScriptRuntime.toString(thisObj), args); case Id_bold: return tagify(thisObj, "b", null, null); case Id_italics: return tagify(thisObj, "i", null, null); case Id_fixed: return tagify(thisObj, "tt", null, null); case Id_strike: return tagify(thisObj, "strike", null, null); case Id_small: return tagify(thisObj, "small", null, null); case Id_big: return tagify(thisObj, "big", null, null); case Id_blink: return tagify(thisObj, "blink", null, null); case Id_sup: return tagify(thisObj, "sup", null, null); case Id_sub: return tagify(thisObj, "sub", null, null); case Id_fontsize: return tagify(thisObj, "font", "size", args); case Id_fontcolor: return tagify(thisObj, "font", "color", args); case Id_link: return tagify(thisObj, "a", "href", args); case Id_anchor: return tagify(thisObj, "a", "name", args); case Id_equals: case Id_equalsIgnoreCase: { String s1 = ScriptRuntime.toString(thisObj); String s2 = ScriptRuntime.toString(args, 0); return wrap_boolean(methodId == Id_equals ? s1.equals(s2) : s1.equalsIgnoreCase(s2)); } case Id_match: return ScriptRuntime.checkRegExpProxy(cx). match(cx, scope, thisObj, args); case Id_search: return ScriptRuntime.checkRegExpProxy(cx). search(cx, scope, thisObj, args); case Id_replace: return ScriptRuntime.checkRegExpProxy(cx). replace(cx, scope, thisObj, args); } } return super.execMethod(methodId, f, cx, scope, thisObj, args); }
|
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/8f28fc868ac3f30ea37494abfddb6358154786c3/NativeString.java/buggy/js/rhino/src/org/mozilla/javascript/NativeString.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
18541,
4678,
13,
288,
5411,
1620,
261,
2039,
548,
13,
288,
7734,
648,
11417,
548,
67,
2080,
20535,
30,
288,
10792,
509,
423,
273,
833,
18,
2469,
31,
10792,
309,
261,
50,
411,
404,
13,
13491,
327,
1408,
31,
10792,
6674,
2393,
273,
394,
6674,
12,
50,
1769,
10792,
364,
261,
474,
277,
273,
374,
31,
277,
480,
423,
31,
965,
77,
13,
288,
13491,
2393,
18,
6923,
12,
3651,
5576,
18,
869,
5487,
2313,
12,
1968,
63,
77,
5717,
1769,
10792,
289,
10792,
327,
2393,
18,
10492,
5621,
7734,
289,
7734,
648,
3124,
67,
12316,
30,
288,
10792,
514,
272,
273,
261,
1968,
18,
2469,
1545,
404,
13,
13491,
692,
7739,
5576,
18,
10492,
12,
1968,
63,
20,
5717,
294,
1408,
31,
10792,
309,
261,
2211,
2675,
422,
446,
13,
288,
13491,
368,
394,
514,
12,
1125,
13,
3414,
279,
394,
514,
733,
18,
13491,
327,
394,
16717,
780,
12,
87,
1769,
10792,
289,
10792,
368,
514,
12,
1125,
13,
7759,
1244,
358,
279,
533,
460,
18,
10792,
327,
272,
31,
7734,
289,
7734,
648,
3124,
67,
10492,
30,
7734,
648,
3124,
67,
1132,
951,
30,
10792,
368,
7773,
5535,
4711,
18,
25,
18,
24,
18,
22,
30,
296,
5787,
1762,
445,
353,
486,
5210,
18,
10792,
327,
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,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
18541,
4678,
13,
288,
5411,
1620,
261,
2039,
548,
13,
288,
7734,
648,
11417,
548,
67,
2080,
20535,
30,
288,
10792,
509,
423,
273,
833,
18,
2469,
31,
10792,
309,
261,
50,
411,
404,
13,
13491,
327,
1408,
31,
10792,
6674,
2393,
273,
394,
6674,
12,
50,
1769,
10792,
364,
261,
474,
277,
273,
374,
31,
277,
480,
423,
31,
965,
77,
13,
288,
13491,
2393,
18,
6923,
12,
3651,
5576,
18,
869,
5487,
2313,
12,
1968,
63,
77,
5717,
1769,
2
] |
public org.quickfix.field.EncodedIssuer getEncodedIssuer() throws FieldNotFound { org.quickfix.field.EncodedIssuer value = new org.quickfix.field.EncodedIssuer();
|
public quickfix.field.EncodedIssuer getEncodedIssuer() throws FieldNotFound { quickfix.field.EncodedIssuer value = new quickfix.field.EncodedIssuer();
|
public org.quickfix.field.EncodedIssuer getEncodedIssuer() throws FieldNotFound { org.quickfix.field.EncodedIssuer value = new org.quickfix.field.EncodedIssuer(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderCancelRequest.java/clean/src/java/src/quickfix/fix43/OrderCancelRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
16667,
28799,
16667,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
16667,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
16667,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public org.quickfix.field.EventText getEventText() throws FieldNotFound { org.quickfix.field.EventText value = new org.quickfix.field.EventText();
|
public quickfix.field.EventText getEventText() throws FieldNotFound { quickfix.field.EventText value = new quickfix.field.EventText();
|
public org.quickfix.field.EventText getEventText() throws FieldNotFound { org.quickfix.field.EventText value = new org.quickfix.field.EventText(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/ListStrikePrice.java/clean/src/java/src/quickfix/fix44/ListStrikePrice.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
1133,
1528,
9832,
1528,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
1133,
1528,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
1133,
1528,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
1133,
1528,
9832,
1528,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
1133,
1528,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
1133,
1528,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
assertEquals(1, sup.getPropertyChangeListeners().length);
|
assertEquals(0, sup.getPropertyChangeListeners().length);
|
public void testRemovePropertyChangeListener_PropertyChangeListener_String_NullListener() { Object src = new Object(); PropertyChangeSupport sup = new PropertyChangeSupport(src); sup.removePropertyChangeListener("myProp", null); assertEquals(0, sup.getPropertyChangeListeners().length); sup.addPropertyChangeListener("myProp", null); assertEquals(1, sup.getPropertyChangeListeners().length); sup.removePropertyChangeListener("myProp", null); assertEquals(0, sup.getPropertyChangeListeners().length); }
|
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/7371385b20c4a4b2a64736bf7cd4458347709599/PropertyChangeSupportTest.java/clean/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/PropertyChangeSupportTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3288,
1396,
15744,
67,
1396,
15744,
67,
780,
67,
2041,
2223,
1435,
288,
3639,
1033,
1705,
273,
394,
1033,
5621,
3639,
4276,
3043,
6289,
1169,
273,
394,
4276,
3043,
6289,
12,
4816,
1769,
3639,
1169,
18,
4479,
1396,
15744,
2932,
4811,
4658,
3113,
446,
1769,
3639,
1815,
8867,
12,
20,
16,
1169,
18,
588,
1396,
3043,
5583,
7675,
2469,
1769,
3639,
1169,
18,
1289,
1396,
15744,
2932,
4811,
4658,
3113,
446,
1769,
3639,
1815,
8867,
12,
20,
16,
1169,
18,
588,
1396,
3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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3288,
1396,
15744,
67,
1396,
15744,
67,
780,
67,
2041,
2223,
1435,
288,
3639,
1033,
1705,
273,
394,
1033,
5621,
3639,
4276,
3043,
6289,
1169,
273,
394,
4276,
3043,
6289,
12,
4816,
1769,
3639,
1169,
18,
4479,
1396,
15744,
2932,
4811,
4658,
3113,
446,
1769,
3639,
1815,
8867,
12,
20,
16,
1169,
18,
588,
1396,
3043,
5583,
7675,
2469,
1769,
3639,
1169,
18,
1289,
1396,
15744,
2932,
4811,
4658,
3113,
446,
1769,
3639,
1815,
8867,
12,
20,
16,
1169,
18,
588,
1396,
3043,
5583,
7675,
2469,
1769,
3639,
1169,
18,
4479,
1396,
15744,
2932,
4811,
4658,
3113,
446,
1769,
3639,
1815,
8867,
12,
20,
16,
1169,
18,
588,
1396,
3043,
5583,
7675,
2469,
1769,
565,
2
] |
public ActionForward editEvaluationMethod(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws FenixActionException, FenixFilterException { HttpSession session = request.getSession(false); Integer objectCode = getObjectCode(request); Integer evaluationMethodCode = getParameter(request, "evaluationMethodCode"); DynaActionForm evaluationForm = (DynaActionForm) form; InfoEvaluationMethod infoEvaluationMethod = new InfoEvaluationMethod(); infoEvaluationMethod.setIdInternal(evaluationMethodCode); infoEvaluationMethod.setEvaluationElements((String) evaluationForm.get("evaluationElements")); infoEvaluationMethod .setEvaluationElementsEn((String) evaluationForm.get("evaluationElementsEn")); Object args[] = { objectCode, evaluationMethodCode, infoEvaluationMethod }; UserView userView = (UserView) session.getAttribute(SessionConstants.U_VIEW); try { ServiceManagerServiceFactory.executeService(userView, "EditEvaluation", args); } catch (FenixServiceException e) { throw new FenixActionException(e); } return viewEvaluationMethod(mapping, form, request, response); // BEFORE // HttpSession session = request.getSession(false); // Integer objectCode = getObjectCode(request); // String curricularCourseCodeString = // request.getParameter("curricularCourseCode"); // Integer curricularCourseCode = new // Integer(curricularCourseCodeString); // // DynaActionForm evaluationForm = (DynaActionForm) form; // // InfoCurriculum infoCurriculumNew = new InfoCurriculum(); // infoCurriculumNew.setIdInternal(curricularCourseCode); // infoCurriculumNew.setEvaluationElements((String) // evaluationForm.get("evaluationElements")); // infoCurriculumNew.setEvaluationElementsEn((String) // evaluationForm.get("evaluationElementsEn")); // // Object args[] = { objectCode, curricularCourseCode, // infoCurriculumNew }; // // UserView userView = (UserView) // session.getAttribute(SessionConstants.U_VIEW); // GestorServicos serviceManager = GestorServicos.manager(); // try { // ServiceManagerServiceFactory.executeService(userView, // "EditEvaluation", args); // // } catch (FenixServiceException e) { // throw new FenixActionException(e); // } // return viewEvaluationMethod(mapping, form, request, response); }
|
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/f1790994e90150a41f878ae3110bab38ce01b720/TeacherAdministrationViewerDispatchAction.java/clean/src/net/sourceforge/fenixedu/presentationTier/Action/teacher/TeacherAdministrationViewerDispatchAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4382,
8514,
3874,
13468,
1305,
12,
1803,
3233,
2874,
16,
4382,
1204,
646,
16,
5411,
9984,
590,
16,
12446,
766,
13,
1216,
478,
275,
697,
1803,
503,
16,
5411,
478,
275,
697,
1586,
503,
288,
3639,
26166,
1339,
273,
590,
18,
588,
2157,
12,
5743,
1769,
3639,
2144,
733,
1085,
273,
6455,
1085,
12,
2293,
1769,
3639,
2144,
9873,
1305,
1085,
273,
5575,
12,
2293,
16,
315,
14168,
367,
1305,
1085,
8863,
3639,
463,
23041,
1803,
1204,
9873,
1204,
273,
261,
10419,
69,
1803,
1204,
13,
646,
31,
3639,
3807,
13468,
1305,
1123,
13468,
1305,
273,
394,
3807,
13468,
1305,
5621,
3639,
1123,
13468,
1305,
18,
542,
548,
3061,
12,
14168,
367,
1305,
1085,
1769,
3639,
1123,
13468,
1305,
18,
542,
13468,
3471,
12443,
780,
13,
9873,
1204,
18,
588,
2932,
14168,
367,
3471,
7923,
1769,
3639,
1123,
13468,
1305,
7734,
263,
542,
13468,
3471,
664,
12443,
780,
13,
9873,
1204,
18,
588,
2932,
14168,
367,
3471,
664,
7923,
1769,
3639,
1033,
833,
8526,
273,
288,
733,
1085,
16,
9873,
1305,
1085,
16,
1123,
13468,
1305,
289,
31,
3639,
2177,
1767,
729,
1767,
273,
261,
1299,
1767,
13,
1339,
18,
588,
1499,
12,
2157,
2918,
18,
57,
67,
12145,
1769,
3639,
775,
288,
5411,
1956,
1318,
1179,
1733,
18,
8837,
1179,
12,
1355,
1767,
16,
315,
4666,
13468,
3113,
833,
1769,
3639,
289,
1044,
261,
42,
275,
697,
15133,
425,
13,
288,
5411,
604,
394,
478,
275,
697,
1803,
503,
12,
73,
1769,
3639,
289,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4382,
8514,
3874,
13468,
1305,
12,
1803,
3233,
2874,
16,
4382,
1204,
646,
16,
5411,
9984,
590,
16,
12446,
766,
13,
1216,
478,
275,
697,
1803,
503,
16,
5411,
478,
275,
697,
1586,
503,
288,
3639,
26166,
1339,
273,
590,
18,
588,
2157,
12,
5743,
1769,
3639,
2144,
733,
1085,
273,
6455,
1085,
12,
2293,
1769,
3639,
2144,
9873,
1305,
1085,
273,
5575,
12,
2293,
16,
315,
14168,
367,
1305,
1085,
8863,
3639,
463,
23041,
1803,
1204,
9873,
1204,
273,
261,
10419,
69,
1803,
1204,
13,
646,
31,
3639,
3807,
13468,
1305,
1123,
13468,
1305,
273,
394,
3807,
13468,
1305,
5621,
3639,
1123,
13468,
1305,
18,
542,
548,
3061,
12,
14168,
367,
1305,
1085,
1769,
3639,
1123,
2
] |
||
-1, -1, -1, -1, -1, -1, 281, 282, -1, 93, -1, -1, 338, -1, -1, 290, 291, 343, 293, 294, 295, 296, 297, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 125, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, 0, -1, -1, 281, 282, -1, -1, -1, -1, -1, 10, -1, 290, 291, -1, 293, 294, 295, 296, 297, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, 0, -1, -1, 281, 282, 41, -1, -1, 44, -1, 10, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, 338, -1, -1, -1, -1, 343, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, 60, -1, 62, -1, 93, 58, 59, 338, -1, -1, -1, -1, 343, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, -1, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, 94, -1, 125, -1, -1, -1, 93, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 124, -1, -1, -1, -1, -1, -1, -1, 125, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 343, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 0, 91, -1, -1, 94, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 124, 125, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, 262, 263,
|
-1, -1, 124, -1, -1, -1, 281, 282, 41, -1, 125, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, 338, -1, -1, -1, -1, 343, -1, -1, -1, -1, -1, 262, 263,
|
private static final short[] yyCheck3() { return new short[] { -1, -1, 10, -1, 343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, 125, 37, 38, -1, -1, 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 0, -1, -1, -1, -1, -1, -1, -1, 281, 282, 10, -1, -1, 124, 125, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 58, 59, 333, 334, -1, 63, -1, 338, -1, -1, -1, -1, 343, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, 93, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, 338, -1, 37, 38, -1, 343, 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, -1, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, -1, -1, 93, 94, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 38, -1, -1, 41, -1, 43, 44, 45, -1, -1, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, 326, 62, 63, 329, 330, -1, -1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 0, 343, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 38, -1, -1, 41, -1, 43, 44, 45, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 124, 125, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, 38, -1, 338, 41, -1, -1, 44, 343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, 37, 38, -1, 93, 94, 42, 43, -1, 45, -1, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 38, -1, 60, 41, 62, 63, 44, -1, -1, -1, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 94, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 38, -1, -1, 41, -1, -1, 44, -1, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, 60, -1, 62, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 124, 125, -1, -1, -1, -1, -1, 281, 282, -1, -1, 94, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, 0, -1, -1, -1, -1, -1, -1, -1, 281, 282, 10, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 58, 59, 60, -1, 62, 63, -1, 338, -1, -1, -1, -1, 343, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 318, 319, 320, 321, 322, 323, 324, 93, 94, 327, 328, -1, -1, -1, -1, 333, 334, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, 60, -1, 62, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, 125, -1, -1, -1, -1, -1, 281, 282, -1, 94, -1, 96, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, -1, 126, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, 0, 293, 294, 295, 296, 297, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 41, -1, -1, 44, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, 58, 59, 60, -1, 62, 63, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, 0, 293, 294, 295, 296, 297, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 41, -1, -1, 44, -1, 338, -1, 125, -1, -1, 343, 304, 305, -1, -1, 308, -1, 58, 59, 60, -1, 62, 63, 316, 317, 318, 319, 320, 321, -1, 323, 324, 0, -1, 327, -1, -1, -1, 331, 332, 333, 334, 10, -1, -1, -1, -1, -1, -1, -1, -1, 344, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, 125, -1, -1, -1, -1, -1, 281, 282, -1, -1, 41, -1, -1, 44, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, -1, -1, 93, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, 125, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, 0, -1, -1, -1, -1, -1, -1, -1, 281, 282, 10, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 58, 59, -1, -1, -1, 63, -1, 338, -1, -1, -1, -1, 343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, 93, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 0, 125, -1, 41, -1, -1, 44, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 325, 326, -1, 63, 329, 330, -1, -1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 0, 343, 41, -1, -1, 44, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 125, -1, -1, 0, -1, -1, -1, -1, -1, -1, 58, 59, -1, 10, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, 41, 93, -1, 44, -1, -1, -1, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, 58, 59, -1, 10, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, 125, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 0, -1, -1, 41, 93, -1, 44, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 325, 326, -1, 63, 329, 330, -1, -1, -1, -1, -1, -1, -1, 338, 125, -1, -1, -1, 343, 41, -1, -1, 44, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 93, -1, -1, 58, 59, -1, -1, -1, 63, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 262, 263, 264, -1, 125, 267, 268, 269, -1, 271, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 325, 326, -1, -1, 329, 330, 293, 294, 295, 296, 297, -1, -1, 338, 262, 263, 264, 125, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 325, 326, -1, -1, 329, 330, -1, 281, 282, -1, -1, -1, -1, 338, -1, -1, 290, 291, 343, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 325, 326, -1, -1, 329, 330, -1, 281, 282, -1, -1, -1, -1, 338, -1, -1, 290, 291, 343, 293, 294, 295, 296, 297, 0, -1, 262, 263, 264, -1, -1, 267, 268, 269, 10, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 0, -1, 338, 41, -1, -1, 44, 343, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 338, 41, -1, -1, 44, 343, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 41, -1, -1, 44, -1, -1, -1, 125, 10, -1, -1, -1, -1, 93, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, 41, -1, -1, 44, -1, -1, 125, 10, -1, -1, -1, -1, -1, 93, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 41, -1, -1, 44, -1, -1, -1, 125, 10, -1, -1, -1, -1, -1, 93, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 125, -1, -1, -1, -1, -1, 93, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 125, -1, 281, 282, -1, -1, -1, 93, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 125, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, -1, 262, 263, 264, 343, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 338, 262, 263, 264, 0, 343, 267, 268, 269, -1, 271, -1, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, -1, 0, -1, -1, 343, -1, 41, -1, -1, 44, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 41, 343, -1, 44, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, 93, 58, 59, -1, 10, -1, -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, -1, 125, -1, -1, 41, 93, -1, 44, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 125, -1, -1, 41, -1, -1, 44, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, 41, -1, -1, 44, -1, 10, -1, -1, -1, -1, -1, 125, -1, -1, -1, 93, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, 93, 58, 59, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, 0, -1, -1, 281, 282, -1, -1, 125, -1, -1, 10, 93, 290, 291, -1, 293, 294, 295, 296, 297, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 41, -1, 125, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, 338, -1, -1, -1, -1, 343, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, 93, -1, -1, 338, -1, -1, 290, 291, 343, 293, 294, 295, 296, 297, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 125, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, 0, -1, -1, 281, 282, -1, -1, -1, -1, -1, 10, -1, 290, 291, -1, 293, 294, 295, 296, 297, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, 0, -1, -1, 281, 282, 41, -1, -1, 44, -1, 10, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, 338, -1, -1, -1, -1, 343, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, 60, -1, 62, -1, 93, 58, 59, 338, -1, -1, -1, -1, 343, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, -1, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, 94, -1, 125, -1, -1, -1, 93, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 124, -1, -1, -1, -1, -1, -1, -1, 125, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 343, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 0, 91, -1, -1, 94, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 124, 125, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, 91, -1, -1, 94, 290, 291, -1, 293, 294, 295, 296, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 125, -1, -1, -1, -1, -1, -1, -1, 281, 282, 124, 125, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 338, -1, -1, -1, -1, 343, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, -1, -1, -1, -1, 333, 334, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 343, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, -1, -1, 338, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 290, 291, 281, 293, 294, 295, 296, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 37, 38, 338, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, 0, 47, -1, -1, -1, -1, 91, -1, -1, 94, 10, -1, -1, -1, 60, -1, 62, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, 124, 125, 41, 42, 43, 44, 45, 46, 47, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 124, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, 91, -1, 0, 94, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, 41, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, 91, -1, -1, 94, 10, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, 124, 125, 41, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 125, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 0, -1, 338, 93, -1, -1, -1, -1, -1, -1, 10, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, 318, 319, 320, 321, 322, 323, 324, 325, -1, 327, 328, -1, -1, -1, 125, 333, 334, -1, 290, 291, 41, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, -1, 337, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 290, 291, -1, 293, 294, 295, 296, 297, 281, 0, 125, -1, -1, -1, -1, -1, -1, 290, 291, 10, 293, 294, 295, 296, 297, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 59, 60, 61, 62, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, 0, -1, 290, 291, -1, 293, 294, 295, 296, 297, 10, -1, -1, -1, -1, -1, -1, 91, -1, -1, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, -1, -1, -1, -1, 91, 290, 291, 94, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 124, 125, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, 336, -1, -1, 339, 340, 341, 342, -1, 126, -1, 346, 347, 348, 349, 350, 351, 33, -1, 290, 291, 356, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 126, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 256, 257, 258, 259, 260, 261, 59, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, }; }
|
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/f5c9a1ebd775712f2dc086acfce1a14a123ec632/YyTables.java/buggy/src/org/jruby/parser/YyTables.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1564,
23,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
6647,
300,
21,
16,
282,
300,
21,
16,
282,
1728,
16,
282,
300,
21,
16,
225,
890,
8942,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
5411,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
5411,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
225,
2593,
24,
16,
225,
30616,
16,
282,
18091,
16,
5411,
18012,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
20170,
16,
282,
14856,
16,
282,
21193,
16,
282,
13291,
16,
282,
12292,
16,
282,
300,
21,
16,
282,
17495,
16,
5411,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
5411,
17066,
16,
282,
14995,
16,
282,
4752,
16,
282,
300,
21,
16,
282,
22684,
16,
282,
13746,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
5411,
300,
21,
16,
282,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1564,
23,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
6647,
300,
21,
16,
282,
300,
21,
16,
282,
1728,
16,
282,
300,
21,
16,
225,
890,
8942,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
5411,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
5411,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
2
] |
if (entityHex.levelOf(Terrain.FIRE) == 2) { entity.heatBuildup += 5; roundReport.append("Added 5 heat from a fire...\n");
|
if (entityHex != null) { if (entityHex.levelOf(Terrain.FIRE) == 2) { entity.heatBuildup += 5; roundReport.append("Added 5 heat from a fire...\n"); }
|
private void resolveHeat() { roundReport.append("\nHeat Phase\n----------\n"); for (Enumeration i = game.getEntities(); i.hasMoreElements();) { Entity entity = (Entity)i.nextElement(); if ( null == entity.getPosition() ) { continue; } Hex entityHex = game.getBoard().getHex(entity.getPosition()); // heat doesn't matter for non-mechs if (!(entity instanceof Mech)) { entity.heatBuildup = 0; // If the unit is hit with an Inferno, do flaming death test. if ( entity.infernos.isStillBurning() ) { doFlamingDeath(entity); } continue; } else { // Meks gain heat from inferno hits. if ( entity.infernos.isStillBurning() ) { int infernoHeat = entity.infernos.getHeat(); entity.heatBuildup += infernoHeat; roundReport.append( "Added " ) .append( infernoHeat ) .append( " from a burning inferno round...\n" ); } } // should we even bother? if ( entity.isDestroyed() || entity.isDoomed() || entity.crew.isDoomed() || entity.crew.isDead() ) { continue; } // engine hits add a lot of heat, provided the engine is on entity.heatBuildup += entity.getEngineCritHeat(); // If a Mek had an active Stealth suite, add 10 heat. if ( entity instanceof Mech && entity.isStealthActive() ) { entity.heatBuildup += 10; roundReport.append("Added 10 heat from Stealth Armor...\n"); } // If a Mek is in extreme Temperatures, add or substract one // heat per 10 degrees (or fraction of 10 degrees) above or // below 50 or -30 degrees Celsius if ( entity instanceof Mech && game.getTemperatureDifference() != 0) { if (game.getOptions().intOption("temperature") > 50) { entity.heatBuildup += game.getTemperatureDifference(); roundReport.append( "Added " ) .append( game.getTemperatureDifference() ) .append( " heat due to extreme temperatures...\n" ); } else { entity.heatBuildup -= game.getTemperatureDifference(); roundReport.append( "Substracted " ) .append( game.getTemperatureDifference() ) .append( " heat due to extreme temperatures...\n" ); } } // Add +5 Heat if the hex you're in is on fire // and was on fire for the full round. if (entityHex.levelOf(Terrain.FIRE) == 2) { entity.heatBuildup += 5; roundReport.append("Added 5 heat from a fire...\n"); } // add the heat we've built up so far. roundReport.append( entity.getDisplayName() ) .append( " gains " ) .append( entity.heatBuildup ) .append( " heat,"); entity.heat += entity.heatBuildup; entity.heatBuildup = 0; // how much heat can we sink? int tosink = Math.min( entity.getHeatCapacityWithWater(), entity.heat ); entity.heat -= tosink; roundReport.append( " sinks " ) .append( tosink ) .append( " heat and is now at " ) .append( entity.heat ) .append( " heat.\n"); // Does the unit have inferno ammo? if( entity.hasInfernoAmmo() ) { // Apply the inferno ammo explosion. if (entity.heat >= 10) { int boom = 4 + (entity.heat >= 14 ? 2 : 0) + (entity.heat >= 19 ? 2 : 0) + (entity.heat >= 23 ? 2 : 0) + (entity.heat >= 28 ? 2 : 0); int boomroll = Compute.d6(2); roundReport.append(entity.getDisplayName() ) .append( " needs a " ) .append( boom ) .append( "+ to avoid inferno ammo explosion, rolls " ) .append( boomroll ) .append( " : " ); if (boomroll >= boom) { roundReport.append("avoids successfully!\n"); } else { roundReport.append("fails to avoid explosion.\n"); roundReport.append(explodeInfernoAmmoFromHeat(entity)); } } } // End avoid-inferno-explosion // heat effects: start up if (entity.heat < 30 && entity.isShutDown()) { if (entity.heat < 14) { entity.setShutDown(false); roundReport.append( entity.getDisplayName() ) .append( " automatically starts up.\n" ); } else { int startup = 4 + (((entity.heat - 14) / 4) * 2); int suroll = Compute.d6(2); roundReport.append( entity.getDisplayName() ) .append( " needs a " ) .append( startup ) .append( "+ to start up, rolls " ) .append( suroll ) .append( " : " ); if (suroll >= startup) { entity.setShutDown(false); roundReport.append("successful!\n"); } else { roundReport.append("fails.\n"); } } } // heat effects: shutdown! // 2003-01-26 JAD - Don't shut down if you just restarted. else if (entity.heat >= 14 && !entity.isShutDown()) { if (entity.heat >= 30) { roundReport.append( entity.getDisplayName() ) .append( " automatically shuts down.\n" ); // add a piloting roll and resolve immediately game.addPSR(new PilotingRollData ( entity.getId(), 3, "reactor shutdown" )); resolvePilotingRolls(); // okay, now mark shut down entity.setShutDown(true); } else if (entity.heat >= 14) { int shutdown = 4 + (((entity.heat - 14) / 4) * 2); int sdroll = Compute.d6(2); roundReport.append(entity.getDisplayName() ) .append( " needs a " ) .append( shutdown ) .append( "+ to avoid shutdown, rolls " ) .append( sdroll ) .append( " : "); if (sdroll >= shutdown) { roundReport.append("avoids successfully!\n"); } else { roundReport.append("shuts down.\n"); // add a piloting roll and resolve immediately game.addPSR(new PilotingRollData ( entity.getId(), 3, "reactor shutdown" )); resolvePilotingRolls(); // okay, now mark shut down entity.setShutDown(true); } } } // heat effects: ammo explosion! if (entity.heat >= 19) { int boom = 4 + (entity.heat >= 23 ? 2 : 0) + (entity.heat >= 28 ? 2 : 0); int boomroll = Compute.d6(2); roundReport.append( entity.getDisplayName() ) .append( " needs a " ) .append( boom ) .append( "+ to avoid ammo explosion, rolls " ) .append( boomroll ) .append( " : "); if (boomroll >= boom) { roundReport.append("avoids successfully!\n"); } else { roundReport.append("fails to avoid explosion.\n"); roundReport.append(explodeAmmoFromHeat(entity)); } } // heat effects: mechwarrior damage // N.B. The pilot may already be dead. if ( entity.getHitCriticals( CriticalSlot.TYPE_SYSTEM, Mech.SYSTEM_LIFE_SUPPORT, Mech.LOC_HEAD ) > 0 && entity.heat >= 15 && !entity.crew.isDead() && !entity.crew.isDoomed() ) { if (entity.heat >= 25) { // mechwarrior takes 2 damage roundReport.append(entity.getDisplayName() ).append( " has 25 or higher heat and damaged life support. Mechwarrior takes 2 damage.\n"); damageCrew(entity, 2); } else { // mechwarrior takes 1 damage roundReport.append(entity.getDisplayName() ).append( " has 15 or higher heat and damaged life support. Mechwarrior takes 1 damage.\n"); damageCrew(entity, 1); } // The pilot may have just expired. if ( entity.crew.isDead() || entity.crew.isDoomed() ) { roundReport.append( "*** " ) .append( entity.getDisplayName() ) .append( " PILOT BAKES TO DEATH! ***" ) .append( destroyEntity(entity, "crew death", true) ); } } } }
|
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/2ccb4ae1c736d85b6d155cfcf9da0fc46a24b350/Server.java/clean/megamek/src/megamek/server/Server.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2245,
5256,
270,
1435,
288,
3639,
3643,
4820,
18,
6923,
31458,
82,
5256,
270,
19459,
64,
82,
15392,
64,
82,
8863,
3639,
364,
261,
21847,
277,
273,
7920,
18,
588,
8108,
5621,
277,
18,
5332,
7417,
3471,
5621,
13,
288,
5411,
3887,
1522,
273,
261,
1943,
13,
77,
18,
4285,
1046,
5621,
5411,
309,
261,
446,
422,
1522,
18,
588,
2555,
1435,
262,
288,
7734,
1324,
31,
5411,
289,
5411,
15734,
1522,
7037,
273,
7920,
18,
588,
22233,
7675,
588,
7037,
12,
1096,
18,
588,
2555,
10663,
5411,
368,
19347,
3302,
1404,
15177,
364,
1661,
17,
3501,
343,
87,
5411,
309,
16051,
12,
1096,
1276,
7499,
343,
3719,
288,
7734,
1522,
18,
580,
270,
3116,
416,
273,
374,
31,
7734,
368,
971,
326,
2836,
353,
6800,
598,
392,
657,
586,
2135,
16,
741,
1183,
7772,
443,
421,
1842,
18,
7734,
309,
261,
1522,
18,
25889,
18050,
18,
291,
510,
737,
38,
321,
310,
1435,
262,
288,
10792,
741,
2340,
7772,
758,
421,
12,
1096,
1769,
7734,
289,
7734,
1324,
31,
5411,
289,
5411,
469,
288,
7734,
368,
490,
3839,
87,
17527,
19347,
628,
12455,
2135,
11076,
18,
7734,
309,
261,
1522,
18,
25889,
18050,
18,
291,
510,
737,
38,
321,
310,
1435,
262,
288,
10792,
509,
12455,
2135,
5256,
270,
273,
1522,
18,
25889,
18050,
18,
588,
5256,
270,
5621,
10792,
1522,
18,
580,
270,
3116,
416,
1011,
12455,
2135,
5256,
270,
31,
10792,
3643,
4820,
18,
6923,
12,
315,
8602,
315,
262,
13491,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2245,
5256,
270,
1435,
288,
3639,
3643,
4820,
18,
6923,
31458,
82,
5256,
270,
19459,
64,
82,
15392,
64,
82,
8863,
3639,
364,
261,
21847,
277,
273,
7920,
18,
588,
8108,
5621,
277,
18,
5332,
7417,
3471,
5621,
13,
288,
5411,
3887,
1522,
273,
261,
1943,
13,
77,
18,
4285,
1046,
5621,
5411,
309,
261,
446,
422,
1522,
18,
588,
2555,
1435,
262,
288,
7734,
1324,
31,
5411,
289,
5411,
15734,
1522,
7037,
273,
7920,
18,
588,
22233,
7675,
588,
7037,
12,
1096,
18,
588,
2555,
10663,
5411,
368,
19347,
3302,
1404,
15177,
364,
1661,
17,
3501,
343,
87,
5411,
309,
16051,
12,
1096,
1276,
7499,
343,
3719,
288,
7734,
1522,
18,
580,
270,
3116,
416,
2
] |
public static Message createTestDataNotFoundAck(long id) {
|
public static final Message createTestDataNotFoundAck(long id) {
|
public static Message createTestDataNotFoundAck(long id) { Message msg = new Message(testDataNotFoundAck); msg.set(UID, id); return msg; }
|
51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/d69dceaa72feee5ece14b8de951841aa9b614188/DMT.java/clean/src/freenet/io/comm/DMT.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
727,
2350,
752,
4709,
751,
2768,
11931,
12,
5748,
612,
13,
288,
3639,
2350,
1234,
273,
394,
2350,
12,
3813,
751,
2768,
11931,
1769,
3639,
1234,
18,
542,
12,
3060,
16,
612,
1769,
3639,
327,
1234,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
727,
2350,
752,
4709,
751,
2768,
11931,
12,
5748,
612,
13,
288,
3639,
2350,
1234,
273,
394,
2350,
12,
3813,
751,
2768,
11931,
1769,
3639,
1234,
18,
542,
12,
3060,
16,
612,
1769,
3639,
327,
1234,
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
] |
return getLongValue() >= other.getLongValue() ? getRuby().getTrue() : getRuby().getFalse();
|
return getLongValue() >= other.getLongValue() ? getRuby().getTrue() : getRuby().getFalse();
|
public RubyBoolean op_ge(RubyNumeric other) { if (other instanceof RubyFloat) { return RubyFloat.m_newFloat(getRuby(), getDoubleValue()).op_ge(other); } else { return getLongValue() >= other.getLongValue() ? getRuby().getTrue() : getRuby().getFalse(); } }
|
49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/962ce6ffe87d8c8388ef1c922b056aea9b6210db/RubyFixnum.java/clean/org/jruby/RubyFixnum.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
5507,
1061,
67,
908,
12,
54,
10340,
9902,
1308,
13,
288,
3639,
309,
261,
3011,
1276,
19817,
4723,
13,
288,
5411,
327,
19817,
4723,
18,
81,
67,
2704,
4723,
12,
588,
54,
10340,
9334,
16097,
620,
1435,
2934,
556,
67,
908,
12,
3011,
1769,
3639,
289,
469,
288,
5411,
327,
11105,
620,
1435,
1545,
1308,
18,
588,
3708,
620,
1435,
692,
4170,
10340,
7675,
588,
5510,
1435,
294,
4170,
10340,
7675,
588,
8381,
5621,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
5507,
1061,
67,
908,
12,
54,
10340,
9902,
1308,
13,
288,
3639,
309,
261,
3011,
1276,
19817,
4723,
13,
288,
5411,
327,
19817,
4723,
18,
81,
67,
2704,
4723,
12,
588,
54,
10340,
9334,
16097,
620,
1435,
2934,
556,
67,
908,
12,
3011,
1769,
3639,
289,
469,
288,
5411,
327,
11105,
620,
1435,
1545,
1308,
18,
588,
3708,
620,
1435,
692,
4170,
10340,
7675,
588,
5510,
1435,
294,
4170,
10340,
7675,
588,
8381,
5621,
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
] |
public SimpleServer(int port) { this.port = port;
|
public SimpleServer() { this.port = 8008;
|
public SimpleServer(int port) { this.port = port; }
|
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/3293371636bc8e4ff5784d3546ea7244dcd18d20/SimpleServer.java/buggy/modules/integration/src/org/apache/axis2/soap12testing/server/SimpleServer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4477,
2081,
12,
474,
1756,
13,
288,
3639,
333,
18,
655,
273,
1756,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4477,
2081,
12,
474,
1756,
13,
288,
3639,
333,
18,
655,
273,
1756,
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
] |
case M_OP_POW:
|
case FixnumDefinition.OP_POW:
|
public IRubyObject callIndexed(int index, IRubyObject[] args) { switch (index) { case M_TO_F: return to_f(); case M_TO_S: return to_s(); case M_OP_LSHIFT: return op_lshift(args[0]); case M_OP_RSHIFT: return op_rshift(args[0]); case M_OP_PLUS: return op_plus(args[0]); case M_OP_MINUS: return op_minus(args[0]); case M_OP_MUL: return op_mul(args[0]); case M_OP_DIV: return op_div(args[0]); case M_OP_MOD: return op_mod(args[0]); case M_OP_POW: return op_pow(args[0]); case M_EQUAL: return equal(args[0]); case M_OP_CMP: return op_cmp(args[0]); case M_OP_GT: return op_gt(args[0]); case M_OP_GE: return op_ge(args[0]); case M_OP_LT: return op_lt(args[0]); case M_OP_LE: return op_le(args[0]); case M_OP_AND: return op_and(args[0]); case M_SIZE: return size(); case M_HASH: return hash(); case M_ID2NAME: return id2name(); case M_INVERT: return invert(); case M_ID: return id(); } return super.callIndexed(index, args); }
|
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/5f6bd2ce57ff6ed96fea5760d028882d8af6113c/RubyFixnum.java/clean/src/org/jruby/RubyFixnum.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
745,
15034,
12,
474,
770,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
1620,
261,
1615,
13,
288,
3639,
648,
490,
67,
4296,
67,
42,
30,
5411,
327,
358,
67,
74,
5621,
3639,
648,
490,
67,
4296,
67,
55,
30,
5411,
327,
358,
67,
87,
5621,
3639,
648,
490,
67,
3665,
67,
48,
23191,
30,
5411,
327,
1061,
67,
80,
4012,
12,
1968,
63,
20,
19226,
3639,
648,
490,
67,
3665,
67,
54,
23191,
30,
5411,
327,
1061,
67,
86,
4012,
12,
1968,
63,
20,
19226,
3639,
648,
490,
67,
3665,
67,
6253,
3378,
30,
5411,
327,
1061,
67,
10103,
12,
1968,
63,
20,
19226,
3639,
648,
490,
67,
3665,
67,
6236,
3378,
30,
5411,
327,
1061,
67,
19601,
12,
1968,
63,
20,
19226,
3639,
648,
490,
67,
3665,
67,
49,
1506,
30,
5411,
327,
1061,
67,
16411,
12,
1968,
63,
20,
19226,
3639,
648,
490,
67,
3665,
67,
31901,
30,
5411,
327,
1061,
67,
2892,
12,
1968,
63,
20,
19226,
3639,
648,
490,
67,
3665,
67,
6720,
30,
5411,
327,
1061,
67,
1711,
12,
1968,
63,
20,
19226,
3639,
648,
12139,
2107,
1852,
18,
3665,
67,
2419,
59,
30,
5411,
327,
1061,
67,
23509,
12,
1968,
63,
20,
19226,
3639,
648,
490,
67,
12853,
30,
5411,
327,
3959,
12,
1968,
63,
20,
19226,
3639,
648,
490,
67,
3665,
67,
39,
4566,
30,
5411,
327,
1061,
67,
9625,
12,
1968,
63,
20,
19226,
3639,
648,
490,
67,
3665,
67,
16506,
30,
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,
15908,
10340,
921,
745,
15034,
12,
474,
770,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
1620,
261,
1615,
13,
288,
3639,
648,
490,
67,
4296,
67,
42,
30,
5411,
327,
358,
67,
74,
5621,
3639,
648,
490,
67,
4296,
67,
55,
30,
5411,
327,
358,
67,
87,
5621,
3639,
648,
490,
67,
3665,
67,
48,
23191,
30,
5411,
327,
1061,
67,
80,
4012,
12,
1968,
63,
20,
19226,
3639,
648,
490,
67,
3665,
67,
54,
23191,
30,
5411,
327,
1061,
67,
86,
4012,
12,
1968,
63,
20,
19226,
3639,
648,
490,
67,
3665,
67,
6253,
3378,
30,
5411,
327,
1061,
67,
10103,
12,
1968,
63,
20,
19226,
3639,
648,
490,
67,
3665,
67,
6236,
3378,
2
] |
||(prefix.equals("xmlns") && !namespaceURI.equals("http: || qualifiedName.equals("xmlns")) {
|
|| (prefix.equals("xmlns") && !namespaceURI.equals("http: || (qualifiedName.equals("xmlns") && !namespaceURI.equals("http:
|
protected AttrNSImpl(DocumentImpl ownerDocument, String namespaceURI, String qualifiedName) { // treat an empty string as a null if (namespaceURI != null && !namespaceURI.equals("")) { this.namespaceURI = namespaceURI; } else { this.namespaceURI = null; } if (!DocumentImpl.isXMLName(qualifiedName)) { throw new DOMExceptionImpl(DOMException.INVALID_CHARACTER_ERR, "INVALID_CHARACTER_ERR"); } this.ownerDocument = ownerDocument; this.name = qualifiedName; int index = qualifiedName.indexOf(':'); if (index < 0) { this.prefix = null; this.localName = qualifiedName; } else { this.prefix = qualifiedName.substring(0, index); this.localName = qualifiedName.substring(index+1); } if (this.namespaceURI == null) { if (prefix != null) { if (prefix.equals("xml")) { this.namespaceURI = "http://www.w3.org/XML/1998/namespace"; } else if (prefix.equals("xmlns")) { this.namespaceURI = "http://www.w3.org/2000/xmlns/"; } } } else { if ((prefix != null && ((prefix.equals("xml") && !namespaceURI.equals("http://www.w3.org/XML/1998/namespace")) ||(prefix.equals("xmlns") && !namespaceURI.equals("http://www.w3.org/2000/xmlns/")))) || qualifiedName.equals("xmlns")) { throw new DOMExceptionImpl(DOMException.NAMESPACE_ERR, "NAMESPACE_ERR"); } } syncData = true; }
|
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/06643f2e53b223055c9c0f2b004111a10e44d7e7/AttrNSImpl.java/buggy/src/org/apache/xerces/dom/AttrNSImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
11289,
3156,
2828,
12,
2519,
2828,
19701,
16,
4697,
514,
19421,
16,
4697,
514,
24133,
13,
288,
202,
759,
10116,
392,
1008,
533,
487,
279,
446,
202,
430,
261,
4937,
3098,
480,
446,
597,
401,
4937,
3098,
18,
14963,
2932,
6,
3719,
288,
202,
565,
333,
18,
4937,
3098,
273,
19421,
31,
202,
97,
469,
288,
202,
565,
333,
18,
4937,
3098,
273,
446,
31,
202,
97,
2398,
202,
430,
16051,
2519,
2828,
18,
291,
4201,
461,
12,
19724,
461,
3719,
288,
377,
202,
565,
604,
394,
4703,
503,
2828,
12,
8168,
503,
18,
9347,
67,
27858,
67,
9712,
16,
1377,
202,
1171,
9079,
315,
9347,
67,
27858,
67,
9712,
8863,
3639,
289,
3639,
333,
18,
8443,
2519,
273,
19701,
31,
3639,
333,
18,
529,
273,
24133,
31,
3639,
509,
770,
273,
24133,
18,
31806,
2668,
2497,
1769,
3639,
309,
261,
1615,
411,
374,
13,
288,
5411,
333,
18,
3239,
273,
446,
31,
5411,
333,
18,
3729,
461,
273,
24133,
31,
3639,
289,
540,
469,
288,
5411,
333,
18,
3239,
273,
24133,
18,
28023,
12,
20,
16,
770,
1769,
2398,
333,
18,
3729,
461,
273,
24133,
18,
28023,
12,
1615,
15,
21,
1769,
3639,
289,
540,
202,
430,
261,
2211,
18,
4937,
3098,
422,
446,
13,
288,
202,
565,
309,
261,
3239,
480,
446,
13,
288,
202,
202,
430,
261,
3239,
18,
14963,
2932,
2902,
6,
3719,
288,
1082,
565,
333,
18,
4937,
3098,
273,
315,
2505,
2207,
5591,
18,
91,
23,
18,
3341,
19,
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,
11289,
3156,
2828,
12,
2519,
2828,
19701,
16,
4697,
514,
19421,
16,
4697,
514,
24133,
13,
288,
202,
759,
10116,
392,
1008,
533,
487,
279,
446,
202,
430,
261,
4937,
3098,
480,
446,
597,
401,
4937,
3098,
18,
14963,
2932,
6,
3719,
288,
202,
565,
333,
18,
4937,
3098,
273,
19421,
31,
202,
97,
469,
288,
202,
565,
333,
18,
4937,
3098,
273,
446,
31,
202,
97,
2398,
202,
430,
16051,
2519,
2828,
18,
291,
4201,
461,
12,
19724,
461,
3719,
288,
377,
202,
565,
604,
394,
4703,
503,
2828,
12,
8168,
503,
18,
9347,
67,
27858,
67,
9712,
16,
1377,
202,
1171,
9079,
315,
9347,
67,
27858,
67,
9712,
8863,
3639,
289,
3639,
333,
18,
8443,
2
] |
if (o == this) return true;
|
if (o == this) { return true; }
|
public boolean equals(Object o) { if (!(o instanceof MarkerQueryResult)) return false; if (o == this) return true; MarkerQueryResult mqr = (MarkerQueryResult) o; if (values.length != mqr.values.length) return false; for (int i = 0; i < values.length; i++) { if (!(values[i].equals(mqr.values[i]))) return false; } return true; }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/MarkerQueryResult.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/registry/MarkerQueryResult.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1606,
12,
921,
320,
13,
288,
3639,
309,
16051,
12,
83,
1276,
14742,
23583,
3719,
5411,
327,
629,
31,
3639,
309,
261,
83,
422,
333,
13,
5411,
327,
638,
31,
3639,
14742,
23583,
18327,
86,
273,
261,
7078,
23583,
13,
320,
31,
3639,
309,
261,
2372,
18,
2469,
480,
18327,
86,
18,
2372,
18,
2469,
13,
5411,
327,
629,
31,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
924,
18,
2469,
31,
277,
27245,
288,
5411,
309,
16051,
12,
2372,
63,
77,
8009,
14963,
12,
11636,
86,
18,
2372,
63,
77,
65,
20349,
7734,
327,
629,
31,
3639,
289,
3639,
327,
638,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1606,
12,
921,
320,
13,
288,
3639,
309,
16051,
12,
83,
1276,
14742,
23583,
3719,
5411,
327,
629,
31,
3639,
309,
261,
83,
422,
333,
13,
5411,
327,
638,
31,
3639,
14742,
23583,
18327,
86,
273,
261,
7078,
23583,
13,
320,
31,
3639,
309,
261,
2372,
18,
2469,
480,
18327,
86,
18,
2372,
18,
2469,
13,
5411,
327,
629,
31,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
924,
18,
2469,
31,
277,
27245,
288,
5411,
309,
16051,
12,
2372,
63,
77,
8009,
14963,
12,
11636,
86,
18,
2372,
63,
77,
65,
20349,
7734,
327,
629,
31,
3639,
289,
3639,
327,
638,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
final String message = REZ.getString( "not-absolute-file-name.error", uri ); throw new FileSystemException( message );
|
throw new FileSystemException( "vfs.provider.local/not-absolute-file-name.error", uri );
|
protected String extractRootPrefix( final String uri, final StringBuffer name ) throws FileSystemException { // TODO - this class isn't generic at all. Need to fix this // Looking for <sep> if ( name.length() == 0 || name.charAt( 0 ) != '/' ) { final String message = REZ.getString( "not-absolute-file-name.error", uri ); throw new FileSystemException( message ); } return "/"; }
|
50122 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50122/4ee826b62afd102046c4f84d8f2a82bb7210454d/GenericFileNameParser.java/buggy/src/java/org/apache/commons/vfs/provider/local/GenericFileNameParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
2608,
2375,
2244,
12,
727,
514,
2003,
16,
4766,
3639,
727,
6674,
508,
262,
3639,
1216,
10931,
503,
565,
288,
3639,
368,
2660,
300,
333,
667,
5177,
1404,
5210,
622,
777,
18,
225,
12324,
358,
2917,
333,
3639,
368,
10176,
310,
364,
411,
10814,
34,
3639,
309,
261,
508,
18,
2469,
1435,
422,
374,
747,
508,
18,
3001,
861,
12,
374,
262,
480,
2023,
262,
3639,
288,
5411,
727,
514,
883,
273,
2438,
62,
18,
588,
780,
12,
315,
902,
17,
12547,
17,
768,
17,
529,
18,
1636,
3113,
2003,
11272,
5411,
604,
394,
10931,
503,
12,
883,
11272,
3639,
289,
3639,
327,
4016,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
2608,
2375,
2244,
12,
727,
514,
2003,
16,
4766,
3639,
727,
6674,
508,
262,
3639,
1216,
10931,
503,
565,
288,
3639,
368,
2660,
300,
333,
667,
5177,
1404,
5210,
622,
777,
18,
225,
12324,
358,
2917,
333,
3639,
368,
10176,
310,
364,
411,
10814,
34,
3639,
309,
261,
508,
18,
2469,
1435,
422,
374,
747,
508,
18,
3001,
861,
12,
374,
262,
480,
2023,
262,
3639,
288,
5411,
727,
514,
883,
273,
2438,
62,
18,
588,
780,
12,
315,
902,
17,
12547,
17,
768,
17,
529,
18,
1636,
3113,
2003,
11272,
5411,
604,
394,
10931,
503,
12,
883,
11272,
3639,
289,
3639,
327,
4016,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
private void returnExpr()
|
protected void returnExpr()
|
private void returnExpr() { Expr expr = (Expr) pop(); popFrame(); push( expr ); }
|
5646 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5646/b994796e33e31a9ffb714689024e027dbab4bbd5/JaxenHandler.java/buggy/src/java/main/org/jaxen/JaxenHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
327,
4742,
1435,
565,
288,
3639,
8074,
3065,
273,
261,
4742,
13,
1843,
5621,
3639,
1843,
3219,
5621,
3639,
1817,
12,
3065,
11272,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return "";
|
return "";
|
public String getInitializer() { // TODO Auto-generated method stub return ""; }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/6caa13a5b115851feae4e30a71898b7083f7e02f/BinaryVariable.java/clean/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/BinaryVariable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
336,
14729,
1435,
288,
202,
202,
759,
2660,
8064,
17,
11168,
707,
7168,
202,
202,
2463,
1408,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
336,
14729,
1435,
288,
202,
202,
759,
2660,
8064,
17,
11168,
707,
7168,
202,
202,
2463,
1408,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void initValueStoresFor(XSElementDecl eDecl) throws XNIException { // initialize value stores for unique fields IdentityConstraint [] icArray = eDecl.fIDConstraints; int icCount = eDecl.fIDCPos; for (int i = 0; i < icCount; i++) { switch (icArray[i].getCategory()) { case (IdentityConstraint.IC_UNIQUE): // initialize value stores for unique fields UniqueOrKey unique = (UniqueOrKey)icArray[i]; UniqueValueStore uniqueValueStore = (UniqueValueStore)fIdentityConstraint2ValueStoreMap.get(unique); if (uniqueValueStore != null) { // NOTE: If already initialized, don't need to // do it again. -Ac continue; } uniqueValueStore = new UniqueValueStore(unique); fValueStores.addElement(uniqueValueStore); fIdentityConstraint2ValueStoreMap.put(unique, uniqueValueStore); break; case (IdentityConstraint.IC_KEY): // initialize value stores for key fields UniqueOrKey key = (UniqueOrKey)icArray[i]; KeyValueStore keyValueStore = (KeyValueStore)fIdentityConstraint2ValueStoreMap.get(key); if (keyValueStore != null) { // NOTE: If already initialized, don't need to // do it again. -Ac continue; } keyValueStore = new KeyValueStore(key); fValueStores.addElement(keyValueStore); fIdentityConstraint2ValueStoreMap.put(key, keyValueStore); break; case (IdentityConstraint.IC_KEYREF): // initialize value stores for key reference fields KeyRef keyRef = (KeyRef)icArray[i]; KeyRefValueStore keyRefValueStore = (KeyRefValueStore)fIdentityConstraint2ValueStoreMap.get(keyRef); if (keyRefValueStore != null) { // NOTE: If already initialized, don't need to // do it again. -Ac continue; } keyRefValueStore = new KeyRefValueStore(keyRef, null); fValueStores.addElement(keyRefValueStore); fIdentityConstraint2ValueStoreMap.put(keyRef, keyRefValueStore); break; } } } // initValueStoresFor(XSElementDecl)
|
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/e7f2f252798544eb7d3376069086c4ab2423aead/XMLSchemaValidator.java/clean/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1208,
620,
13125,
1290,
12,
60,
55,
1046,
3456,
425,
3456,
13,
3639,
1216,
1139,
50,
45,
503,
288,
5411,
368,
4046,
460,
9064,
364,
3089,
1466,
5411,
7808,
5806,
5378,
13579,
1076,
273,
425,
3456,
18,
74,
734,
4878,
31,
5411,
509,
13579,
1380,
273,
425,
3456,
18,
74,
734,
39,
1616,
31,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
13579,
1380,
31,
277,
27245,
288,
7734,
1620,
261,
335,
1076,
63,
77,
8009,
588,
4457,
10756,
288,
7734,
648,
261,
4334,
5806,
18,
2871,
67,
16879,
4672,
10792,
368,
4046,
460,
9064,
364,
3089,
1466,
10792,
14584,
1162,
653,
3089,
273,
261,
6303,
1162,
653,
13,
335,
1076,
63,
77,
15533,
10792,
14584,
620,
2257,
3089,
620,
2257,
273,
261,
6303,
620,
2257,
13,
74,
4334,
5806,
22,
620,
2257,
863,
18,
588,
12,
6270,
1769,
10792,
309,
261,
6270,
620,
2257,
480,
446,
13,
288,
13491,
368,
5219,
30,
971,
1818,
6454,
16,
2727,
1404,
1608,
358,
13491,
368,
4202,
741,
518,
3382,
18,
300,
9988,
13491,
1324,
31,
10792,
289,
10792,
3089,
620,
2257,
273,
394,
14584,
620,
2257,
12,
6270,
1769,
10792,
284,
620,
13125,
18,
1289,
1046,
12,
6270,
620,
2257,
1769,
10792,
284,
4334,
5806,
22,
620,
2257,
863,
18,
458,
12,
6270,
16,
3089,
620,
2257,
1769,
10792,
898,
31,
7734,
648,
261,
4334,
5806,
18,
2871,
67,
3297,
4672,
10792,
368,
4046,
460,
9064,
364,
498,
1466,
10792,
14584,
1162,
653,
498,
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,
1071,
918,
1208,
620,
13125,
1290,
12,
60,
55,
1046,
3456,
425,
3456,
13,
3639,
1216,
1139,
50,
45,
503,
288,
5411,
368,
4046,
460,
9064,
364,
3089,
1466,
5411,
7808,
5806,
5378,
13579,
1076,
273,
425,
3456,
18,
74,
734,
4878,
31,
5411,
509,
13579,
1380,
273,
425,
3456,
18,
74,
734,
39,
1616,
31,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
13579,
1380,
31,
277,
27245,
288,
7734,
1620,
261,
335,
1076,
63,
77,
8009,
588,
4457,
10756,
288,
7734,
648,
261,
4334,
5806,
18,
2871,
67,
16879,
4672,
10792,
368,
4046,
460,
9064,
364,
3089,
1466,
10792,
14584,
1162,
653,
3089,
273,
261,
6303,
1162,
653,
13,
335,
1076,
63,
77,
15533,
2
] |
||
indexIds[i] = ((Integer) deleted.indexIds.get(i)).intValue();
|
indexIds[i] = deleted.indexIds.get(i);
|
private void commitCache(MailboxChange change) { try { // committing changes, so notify any listeners if (!mListeners.isEmpty() && change.mDirty != null && change.mDirty.hasNotifications()) for (Session session : new ArrayList<Session>(mListeners)) session.notifyPendingChanges(change.mDirty); // don't care about committed changes to external items MailItem.PendingDelete deleted = null; for (Iterator it = change.mOtherDirtyStuff.iterator(); it.hasNext(); ) { Object obj = it.next(); if (obj instanceof MailItem.PendingDelete) deleted = ((MailItem.PendingDelete) obj).add(deleted); } // the mailbox data has changed, so commit the changes if (change.sync != null) mData.trackSync = change.sync.booleanValue(); if (change.size != MailboxChange.NO_CHANGE) mData.size = change.size; if (change.itemId != MailboxChange.NO_CHANGE) mData.lastItemId = change.itemId; if (change.contacts != MailboxChange.NO_CHANGE) mData.contacts = change.contacts; if (change.changeId != MailboxChange.NO_CHANGE && change.changeId > mData.lastChangeId) { mData.lastChangeId = change.changeId; mData.lastChangeDate = change.timestamp; } if (change.config != null) mData.config = change.config; // delete any index entries associated with items deleted from db if (deleted != null && deleted.indexIds != null && deleted.indexIds.size() > 0) try { int[] indexIds = new int[deleted.indexIds.size()]; for (int i = 0; i < deleted.indexIds.size(); i++) indexIds[i] = ((Integer) deleted.indexIds.get(i)).intValue(); int[] deletedIds = getMailboxIndex().deleteDocuments(indexIds); if (deletedIds != indexIds) ZimbraLog.mailbox.warn("could not delete all index entries for items: " + deleted.itemIds); } catch (IOException e) { ZimbraLog.mailbox.warn("ignoring error while deleting index entries for items: " + deleted.itemIds, e); } catch (ServiceException e) { ZimbraLog.mailbox.warn("ignoring error while getting index to delete entries for items: " + deleted.itemIds, e); } // delete any blobs associated with items deleted from db/index StoreManager sm = StoreManager.getInstance(); if (deleted != null && deleted.blobs != null) for (Iterator it = deleted.blobs.iterator(); it.hasNext(); ) { MailboxBlob blob = (MailboxBlob) it.next(); try { sm.delete(blob); } catch (IOException e) { ZimbraLog.mailbox.warn("could not delete blob " + blob.getPath() + " during commit"); } } } catch (RuntimeException e) { ZimbraLog.mailbox.error("ignoring error during cache commit", e); } finally { // keep our MailItem cache at a reasonable size trimItemCache(); // get ready for the next change change.reset(); } }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/2bbde8abd5b4d0e19ab5d88cc03eee32ba76e4ee/Mailbox.java/buggy/ZimbraServer/src/java/com/zimbra/cs/mailbox/Mailbox.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3294,
1649,
12,
30239,
3043,
2549,
13,
288,
3639,
775,
288,
5411,
368,
3294,
1787,
3478,
16,
1427,
5066,
1281,
4679,
5411,
309,
16051,
81,
5583,
18,
291,
1921,
1435,
597,
2549,
18,
81,
10785,
480,
446,
597,
2549,
18,
81,
10785,
18,
5332,
14111,
10756,
7734,
364,
261,
2157,
1339,
294,
394,
2407,
32,
2157,
34,
12,
81,
5583,
3719,
10792,
1339,
18,
12336,
8579,
7173,
12,
3427,
18,
81,
10785,
1769,
5411,
368,
2727,
1404,
7671,
2973,
16015,
3478,
358,
3903,
1516,
5411,
11542,
1180,
18,
8579,
2613,
4282,
273,
446,
31,
5411,
364,
261,
3198,
518,
273,
2549,
18,
81,
8290,
10785,
510,
3809,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
288,
7734,
1033,
1081,
273,
518,
18,
4285,
5621,
7734,
309,
261,
2603,
1276,
11542,
1180,
18,
8579,
2613,
13,
10792,
4282,
273,
14015,
6759,
1180,
18,
8579,
2613,
13,
1081,
2934,
1289,
12,
8600,
1769,
5411,
289,
5411,
368,
326,
14187,
501,
711,
3550,
16,
1427,
3294,
326,
3478,
5411,
309,
261,
3427,
18,
8389,
480,
446,
13,
7734,
312,
751,
18,
4101,
4047,
273,
2549,
18,
8389,
18,
6494,
620,
5621,
5411,
309,
261,
3427,
18,
1467,
480,
11542,
2147,
3043,
18,
3417,
67,
14473,
13,
7734,
312,
751,
18,
1467,
273,
2549,
18,
1467,
31,
5411,
309,
261,
3427,
18,
1726,
548,
480,
11542,
2147,
3043,
18,
3417,
67,
14473,
13,
7734,
312,
751,
18,
2722,
17673,
273,
2549,
18,
1726,
548,
31,
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,
3238,
918,
3294,
1649,
12,
30239,
3043,
2549,
13,
288,
3639,
775,
288,
5411,
368,
3294,
1787,
3478,
16,
1427,
5066,
1281,
4679,
5411,
309,
16051,
81,
5583,
18,
291,
1921,
1435,
597,
2549,
18,
81,
10785,
480,
446,
597,
2549,
18,
81,
10785,
18,
5332,
14111,
10756,
7734,
364,
261,
2157,
1339,
294,
394,
2407,
32,
2157,
34,
12,
81,
5583,
3719,
10792,
1339,
18,
12336,
8579,
7173,
12,
3427,
18,
81,
10785,
1769,
5411,
368,
2727,
1404,
7671,
2973,
16015,
3478,
358,
3903,
1516,
5411,
11542,
1180,
18,
8579,
2613,
4282,
273,
446,
31,
5411,
364,
261,
3198,
518,
273,
2549,
18,
81,
8290,
10785,
510,
3809,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
2
] |
if (titleImageLargest) messageLabelData.bottom = new FormAttachment(titleImage, 0,
|
if (titleImageLargest) { messageLabelData.bottom = new FormAttachment(titleImage, 0,
|
private void setLayoutsForNormalMessage(int verticalSpacing, int horizontalSpacing) { FormData messageImageData = new FormData(); messageImageData.top = new FormAttachment(titleLabel, verticalSpacing); messageImageData.left = new FormAttachment(0, H_GAP_IMAGE); messageImageLabel.setLayoutData(messageImageData); FormData messageLabelData = new FormData(); messageLabelData.top = new FormAttachment(titleLabel, verticalSpacing); messageLabelData.right = new FormAttachment(titleImage); messageLabelData.left = new FormAttachment(messageImageLabel, horizontalSpacing); messageLabelData.height = messageLabelHeight; if (titleImageLargest) messageLabelData.bottom = new FormAttachment(titleImage, 0, SWT.BOTTOM); messageLabel.setLayoutData(messageLabelData); FormData fillerData = new FormData(); fillerData.left = new FormAttachment(0, horizontalSpacing); fillerData.top = new FormAttachment(messageImageLabel, 0); fillerData.bottom = new FormAttachment(messageLabel, 0, SWT.BOTTOM); bottomFillerLabel.setLayoutData(fillerData); FormData data = new FormData(); data.top = new FormAttachment(messageImageLabel, 0, SWT.TOP); data.left = new FormAttachment(0, 0); data.bottom = new FormAttachment(messageImageLabel, 0, SWT.BOTTOM); data.right = new FormAttachment(messageImageLabel, 0); leftFillerLabel.setLayoutData(data); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/391f2606b4ea2c1fb5052d938ca90877ee7631f6/TitleAreaDialog.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TitleAreaDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
18479,
28388,
5506,
1079,
12,
474,
9768,
18006,
16,
5411,
509,
10300,
18006,
13,
288,
3639,
2748,
751,
883,
2040,
751,
273,
394,
2748,
751,
5621,
3639,
883,
2040,
751,
18,
3669,
273,
394,
2748,
6803,
12,
2649,
2224,
16,
9768,
18006,
1769,
3639,
883,
2040,
751,
18,
4482,
273,
394,
2748,
6803,
12,
20,
16,
670,
67,
43,
2203,
67,
13603,
1769,
3639,
883,
2040,
2224,
18,
542,
3744,
751,
12,
2150,
2040,
751,
1769,
3639,
2748,
751,
883,
2224,
751,
273,
394,
2748,
751,
5621,
3639,
883,
2224,
751,
18,
3669,
273,
394,
2748,
6803,
12,
2649,
2224,
16,
9768,
18006,
1769,
3639,
883,
2224,
751,
18,
4083,
273,
394,
2748,
6803,
12,
2649,
2040,
1769,
3639,
883,
2224,
751,
18,
4482,
273,
394,
2748,
6803,
12,
2150,
2040,
2224,
16,
7734,
10300,
18006,
1769,
3639,
883,
2224,
751,
18,
4210,
273,
883,
2224,
2686,
31,
3639,
309,
261,
2649,
2040,
48,
11475,
13,
5411,
883,
2224,
751,
18,
9176,
273,
394,
2748,
6803,
12,
2649,
2040,
16,
374,
16,
10792,
348,
8588,
18,
28891,
1769,
3639,
883,
2224,
18,
542,
3744,
751,
12,
2150,
2224,
751,
1769,
3639,
2748,
751,
28187,
751,
273,
394,
2748,
751,
5621,
3639,
28187,
751,
18,
4482,
273,
394,
2748,
6803,
12,
20,
16,
10300,
18006,
1769,
3639,
28187,
751,
18,
3669,
273,
394,
2748,
6803,
12,
2150,
2040,
2224,
16,
374,
1769,
3639,
28187,
751,
18,
9176,
273,
394,
2748,
6803,
12,
2150,
2224,
16,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
18479,
28388,
5506,
1079,
12,
474,
9768,
18006,
16,
5411,
509,
10300,
18006,
13,
288,
3639,
2748,
751,
883,
2040,
751,
273,
394,
2748,
751,
5621,
3639,
883,
2040,
751,
18,
3669,
273,
394,
2748,
6803,
12,
2649,
2224,
16,
9768,
18006,
1769,
3639,
883,
2040,
751,
18,
4482,
273,
394,
2748,
6803,
12,
20,
16,
670,
67,
43,
2203,
67,
13603,
1769,
3639,
883,
2040,
2224,
18,
542,
3744,
751,
12,
2150,
2040,
751,
1769,
3639,
2748,
751,
883,
2224,
751,
273,
394,
2748,
751,
5621,
3639,
883,
2224,
751,
18,
3669,
273,
394,
2748,
6803,
12,
2649,
2224,
16,
9768,
18006,
1769,
3639,
883,
2224,
751,
18,
4083,
273,
394,
2748,
6803,
12,
2649,
2
] |
System.out.println("2) "+((TextImpl)textNode).getReadOnly());
|
public void ignorableWhitespace(XMLString text) throws XNIException { if (!fIncludeIgnorableWhitespace) { return; } if (!fDeferNodeExpansion) { /* REVISIT: This doesn't make sense - CDATASections are never ignorable whitespace - ALH!!! if (fInCDATASection) { CDATASection cdataSection = (CDATASection)fCurrentNode; cdataSection.appendData(text.toString()); return; } */ Node child = fCurrentNode.getLastChild(); if (child != null && child.getNodeType() == Node.TEXT_NODE) { Text textNode = (Text)child; textNode.appendData(text.toString()); } else { Text textNode = fDocument.createTextNode(text.toString()); System.out.println("2) "+((TextImpl)textNode).getReadOnly()); if (fDocumentImpl != null) { TextImpl textNodeImpl = (TextImpl)textNode; textNodeImpl.setIgnorableWhitespace(true); } fCurrentNode.appendChild(textNode); } } else { // The Text normalization is taken care of within the DOM in the // deferred case. int txt = fDeferredDocumentImpl. createDeferredTextNode(text.toString(), true); fDeferredDocumentImpl.appendChild(fCurrentNodeIndex, txt); } } // ignorableWhitespace(XMLString)
|
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/d5b61a43c8c737b7d37e8a1d1839aa58a425178a/AbstractDOMParser.java/buggy/src/org/apache/xerces/parsers/AbstractDOMParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
9750,
15514,
9431,
12,
4201,
780,
977,
13,
1216,
1139,
50,
45,
503,
288,
3639,
309,
16051,
74,
8752,
45,
1600,
15514,
9431,
13,
288,
5411,
327,
31,
3639,
289,
3639,
309,
16051,
74,
758,
586,
907,
2966,
12162,
13,
288,
5411,
1748,
2868,
2438,
26780,
1285,
30,
1220,
3302,
1404,
1221,
12764,
300,
385,
11102,
3033,
794,
87,
854,
5903,
2868,
9750,
15514,
7983,
300,
7981,
44,
25885,
2868,
309,
261,
74,
382,
10160,
789,
3033,
794,
13,
288,
2868,
385,
11102,
3033,
794,
20712,
5285,
273,
261,
10160,
789,
3033,
794,
13,
74,
3935,
907,
31,
2868,
20712,
5285,
18,
6923,
751,
12,
955,
18,
10492,
10663,
2868,
327,
31,
2868,
289,
5411,
1195,
5411,
2029,
1151,
273,
284,
3935,
907,
18,
588,
3024,
1763,
5621,
5411,
309,
261,
3624,
480,
446,
597,
1151,
18,
588,
15101,
1435,
422,
2029,
18,
5151,
67,
8744,
13,
288,
7734,
3867,
977,
907,
273,
261,
1528,
13,
3624,
31,
7734,
977,
907,
18,
6923,
751,
12,
955,
18,
10492,
10663,
5411,
289,
5411,
469,
288,
7734,
3867,
977,
907,
273,
284,
2519,
18,
2640,
17299,
12,
955,
18,
10492,
10663,
1171,
9079,
309,
261,
74,
2519,
2828,
480,
446,
13,
288,
10792,
3867,
2828,
977,
907,
2828,
273,
261,
1528,
2828,
13,
955,
907,
31,
10792,
977,
907,
2828,
18,
542,
45,
1600,
15514,
9431,
12,
3767,
1769,
7734,
289,
7734,
284,
3935,
907,
18,
6923,
1763,
12,
955,
907,
1769,
5411,
289,
3639,
289,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
9750,
15514,
9431,
12,
4201,
780,
977,
13,
1216,
1139,
50,
45,
503,
288,
3639,
309,
16051,
74,
8752,
45,
1600,
15514,
9431,
13,
288,
5411,
327,
31,
3639,
289,
3639,
309,
16051,
74,
758,
586,
907,
2966,
12162,
13,
288,
5411,
1748,
2868,
2438,
26780,
1285,
30,
1220,
3302,
1404,
1221,
12764,
300,
385,
11102,
3033,
794,
87,
854,
5903,
2868,
9750,
15514,
7983,
300,
7981,
44,
25885,
2868,
309,
261,
74,
382,
10160,
789,
3033,
794,
13,
288,
2868,
385,
11102,
3033,
794,
20712,
5285,
273,
261,
10160,
789,
3033,
794,
13,
74,
3935,
907,
31,
2868,
20712,
5285,
18,
6923,
751,
12,
955,
18,
10492,
10663,
2868,
327,
31,
2868,
289,
5411,
1195,
2
] |
|
this.min = min; int magic = dis.readInt(); if(magic != SERIAL_MAGIC) throw new IOException("Invalid magic"); int ver = dis.readInt(); if(ver != 1) throw new IOException("Invalid version "+ver); int mrep = dis.readInt();
|
reports = 0; currentValue = defaultValue;
|
BootstrappingDecayingRunningAverage(DataInputStream dis, double min, double max, int maxReports) throws IOException { this.max = max; this.min = min; int magic = dis.readInt(); if(magic != SERIAL_MAGIC) throw new IOException("Invalid magic"); int ver = dis.readInt(); if(ver != 1) throw new IOException("Invalid version "+ver); int mrep = dis.readInt(); this.maxReports = maxReports; if(maxReports != mrep) Logger.normal(this, "Changed maxReports: now "+maxReports+ ", was "+mrep); reports = dis.readLong(); if(reports < 0) throw new IOException("Negative reports"); currentValue = dis.readDouble(); if((currentValue < min) || (currentValue > max)) throw new IOException("Value out of range: "+currentValue); }
|
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/463e1c2814ef80eab9cbef79e58a1594fa8ec102/BootstrappingDecayingRunningAverage.java/buggy/src/freenet/support/math/BootstrappingDecayingRunningAverage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
11830,
1382,
1799,
528,
310,
7051,
17115,
12,
751,
4348,
1015,
16,
1645,
1131,
16,
5411,
1645,
943,
16,
509,
943,
18631,
13,
1216,
1860,
288,
3639,
333,
18,
1896,
273,
943,
31,
3639,
333,
18,
1154,
273,
1131,
31,
3639,
509,
8146,
273,
1015,
18,
896,
1702,
5621,
3639,
309,
12,
11179,
480,
7758,
6365,
67,
49,
22247,
13,
5411,
604,
394,
1860,
2932,
1941,
8146,
8863,
3639,
509,
1924,
273,
1015,
18,
896,
1702,
5621,
3639,
309,
12,
502,
480,
404,
13,
5411,
604,
394,
1860,
2932,
1941,
1177,
13773,
502,
1769,
3639,
509,
312,
14462,
273,
1015,
18,
896,
1702,
5621,
3639,
333,
18,
1896,
18631,
273,
943,
18631,
31,
3639,
309,
12,
1896,
18631,
480,
312,
14462,
13,
5411,
4242,
18,
6130,
12,
2211,
16,
315,
5033,
943,
18631,
30,
2037,
13773,
1896,
18631,
15,
10792,
3104,
1703,
13773,
81,
14462,
1769,
3639,
10557,
273,
1015,
18,
896,
3708,
5621,
3639,
309,
12,
20195,
411,
374,
13,
5411,
604,
394,
1860,
2932,
14959,
10557,
8863,
3639,
14794,
273,
1015,
18,
896,
5265,
5621,
3639,
309,
12443,
2972,
620,
411,
1131,
13,
747,
261,
2972,
620,
405,
943,
3719,
5411,
604,
394,
1860,
2932,
620,
596,
434,
1048,
30,
13773,
2972,
620,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
11830,
1382,
1799,
528,
310,
7051,
17115,
12,
751,
4348,
1015,
16,
1645,
1131,
16,
5411,
1645,
943,
16,
509,
943,
18631,
13,
1216,
1860,
288,
3639,
333,
18,
1896,
273,
943,
31,
3639,
333,
18,
1154,
273,
1131,
31,
3639,
509,
8146,
273,
1015,
18,
896,
1702,
5621,
3639,
309,
12,
11179,
480,
7758,
6365,
67,
49,
22247,
13,
5411,
604,
394,
1860,
2932,
1941,
8146,
8863,
3639,
509,
1924,
273,
1015,
18,
896,
1702,
5621,
3639,
309,
12,
502,
480,
404,
13,
5411,
604,
394,
1860,
2932,
1941,
1177,
13773,
502,
1769,
3639,
509,
312,
14462,
273,
1015,
18,
896,
1702,
5621,
3639,
333,
18,
1896,
18631,
273,
943,
18631,
31,
3639,
309,
12,
1896,
18631,
2
] |
if (tmpFile != null){
|
if (tmpFile != null) {
|
protected void cleanUp() throws BuildException { try { super.cleanUp(); } finally { if (tmpFile != null){ tmpFile.delete(); tmpFile = null; } } }
|
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/8af1905a98b1e04a63ab7473d64a41bfda91f15e/MMetrics.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/metamata/MMetrics.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
26384,
1435,
1216,
18463,
288,
3639,
775,
288,
5411,
2240,
18,
6200,
1211,
5621,
3639,
289,
3095,
288,
5411,
309,
261,
5645,
812,
480,
446,
13,
288,
7734,
18504,
18,
3733,
5621,
7734,
18504,
273,
446,
31,
5411,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
26384,
1435,
1216,
18463,
288,
3639,
775,
288,
5411,
2240,
18,
6200,
1211,
5621,
3639,
289,
3095,
288,
5411,
309,
261,
5645,
812,
480,
446,
13,
288,
7734,
18504,
18,
3733,
5621,
7734,
18504,
273,
446,
31,
5411,
289,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
static Context getContext() {
|
static Context getContext() {
|
static Context getContext() { Context cx = getCurrentContext(); if (cx == null) { throw new RuntimeException( "No Context associated with current Thread"); } return cx; }
|
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/5586a284813f024a7d52061d1ea71ae99876066e/Context.java/buggy/js/rhino/src/org/mozilla/javascript/Context.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1772,
6474,
1435,
288,
3639,
1772,
9494,
273,
5175,
1042,
5621,
3639,
309,
261,
71,
92,
422,
446,
13,
288,
5411,
604,
394,
3235,
12,
7734,
315,
2279,
1772,
3627,
598,
783,
4884,
8863,
3639,
289,
3639,
327,
9494,
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,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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
] |
public org.quickfix.field.MaxShow getMaxShow() throws FieldNotFound { org.quickfix.field.MaxShow value = new org.quickfix.field.MaxShow();
|
public quickfix.field.MaxShow getMaxShow() throws FieldNotFound { quickfix.field.MaxShow value = new quickfix.field.MaxShow();
|
public org.quickfix.field.MaxShow getMaxShow() throws FieldNotFound { org.quickfix.field.MaxShow value = new org.quickfix.field.MaxShow(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderCross.java/clean/src/java/src/quickfix/fix43/NewOrderCross.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
2747,
5706,
7288,
5706,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
2747,
5706,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
2747,
5706,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
2747,
5706,
7288,
5706,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
2747,
5706,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
2747,
5706,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
AbstractEditingModel editModel = createModel(document); editModel.setUnderlyingResource(res); editModel.load(); if (editModel.isLoaded()) { IModelTextChangeListener listener = createListener(document); editModel.addModelChangedListener(listener); createChange(editModel); TextEdit[] edits = listener.getTextOperations(); if (edits.length > 0) { MultiTextEdit multi = new MultiTextEdit(); multi.addChildren(edits); multi.apply(document); buffer.commit(null, true); }
|
IModel editModel = loadModel(document); IModelTextChangeListener listener = createListener(document); if (!editModel.isLoaded() || listener == null) return; if (editModel instanceof IModelChangeProvider) ((IModelChangeProvider)editModel).addModelChangedListener(listener); createChange(editModel); TextEdit[] edits = listener.getTextOperations(); if (edits.length > 0) { MultiTextEdit multi = new MultiTextEdit(); multi.addChildren(edits); multi.apply(document); buffer.commit(null, true);
|
public void run(IMarker marker) { IBaseModel model = findModelFromEditor(marker); if (model != null) { // directly modify model from open editor and save createChange(model); fOpenEditor.doSave(null); fOpenEditor = null; } else { // create text edits and apply them to textbuffer IResource res = marker.getResource(); try { ITextFileBufferManager manager = FileBuffers.getTextFileBufferManager(); manager.connect(res.getFullPath(), null); ITextFileBuffer buffer = manager.getTextFileBuffer(res.getFullPath()); if (buffer.isDirty()) buffer.commit(null, true); IDocument document = buffer.getDocument(); AbstractEditingModel editModel = createModel(document); editModel.setUnderlyingResource(res); editModel.load(); if (editModel.isLoaded()) { IModelTextChangeListener listener = createListener(document); editModel.addModelChangedListener(listener); createChange(editModel); TextEdit[] edits = listener.getTextOperations(); if (edits.length > 0) { MultiTextEdit multi = new MultiTextEdit(); multi.addChildren(edits); multi.apply(document); buffer.commit(null, true); } } } catch (CoreException e) { PDEPlugin.log(e); } catch (MalformedTreeException e) { PDEPlugin.log(e); } catch (BadLocationException e) { PDEPlugin.log(e); } finally { try { FileBuffers.getTextFileBufferManager().disconnect(res.getFullPath(), null); } catch (CoreException e) { PDEPlugin.log(e); } } } }
|
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/05cee584bd7901bec978aa29b5ce0ef2346a4913/AbstractPDEMarkerResolution.java/buggy/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/correction/AbstractPDEMarkerResolution.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
12,
3445,
1313,
264,
5373,
13,
288,
202,
202,
45,
2171,
1488,
938,
273,
1104,
1488,
1265,
6946,
12,
11145,
1769,
9506,
202,
430,
261,
2284,
480,
446,
13,
288,
1082,
202,
759,
5122,
5612,
938,
628,
1696,
4858,
471,
1923,
1082,
202,
2640,
3043,
12,
2284,
1769,
1082,
202,
74,
3678,
6946,
18,
2896,
4755,
12,
2011,
1769,
1082,
202,
74,
3678,
6946,
273,
446,
31,
202,
202,
97,
469,
288,
1082,
202,
759,
752,
977,
24450,
471,
2230,
2182,
358,
977,
4106,
1082,
202,
45,
1420,
400,
273,
5373,
18,
588,
1420,
5621,
1082,
202,
698,
288,
9506,
202,
1285,
408,
812,
1892,
1318,
3301,
273,
1387,
13699,
18,
588,
1528,
812,
1892,
1318,
5621,
9506,
202,
4181,
18,
3612,
12,
455,
18,
588,
24173,
9334,
446,
1769,
9506,
202,
1285,
408,
812,
1892,
1613,
273,
3301,
18,
588,
1528,
812,
1892,
12,
455,
18,
588,
24173,
10663,
9506,
202,
430,
261,
4106,
18,
291,
10785,
10756,
6862,
202,
4106,
18,
7371,
12,
2011,
16,
638,
1769,
9506,
202,
734,
504,
650,
1668,
273,
1613,
18,
588,
2519,
5621,
6862,
202,
7469,
28029,
1488,
3874,
1488,
273,
15552,
12,
5457,
1769,
9506,
202,
4619,
1488,
18,
542,
14655,
6291,
1420,
12,
455,
1769,
9506,
202,
4619,
1488,
18,
945,
5621,
9506,
202,
430,
261,
4619,
1488,
18,
291,
8835,
10756,
288,
6862,
202,
45,
1488,
1528,
15744,
2991,
273,
752,
2223,
12,
5457,
1769,
6862,
202,
4619,
1488,
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,
1086,
12,
3445,
1313,
264,
5373,
13,
288,
202,
202,
45,
2171,
1488,
938,
273,
1104,
1488,
1265,
6946,
12,
11145,
1769,
9506,
202,
430,
261,
2284,
480,
446,
13,
288,
1082,
202,
759,
5122,
5612,
938,
628,
1696,
4858,
471,
1923,
1082,
202,
2640,
3043,
12,
2284,
1769,
1082,
202,
74,
3678,
6946,
18,
2896,
4755,
12,
2011,
1769,
1082,
202,
74,
3678,
6946,
273,
446,
31,
202,
202,
97,
469,
288,
1082,
202,
759,
752,
977,
24450,
471,
2230,
2182,
358,
977,
4106,
1082,
202,
45,
1420,
400,
273,
5373,
18,
588,
1420,
5621,
1082,
202,
698,
288,
9506,
202,
1285,
408,
812,
1892,
1318,
3301,
273,
1387,
13699,
18,
588,
1528,
812,
2
] |
public void setProperty(final String propertyName, String propertyValue, boolean usePropertySetter) { if (!myPropertySettersInProgress.contains(propertyName) && !myModel.isLoading() && usePropertySetter) { INodePropertySetter setter = ModelConstraintsManager.getInstance().getNodePropertySetter(this, propertyName); if (setter != null) { myPropertySettersInProgress.add(propertyName); try { setter.execPropertySet(this, propertyName, propertyValue, GlobalScope.getInstance()); return; } finally { myPropertySettersInProgress.remove(propertyName); } } } NodeSecurityManager.getInstance().checkPropertyAvailable(this, propertyName, true); final String oldValue = myProperties.get(propertyName); if (propertyValue == null) { myProperties.remove(propertyName); } else { myProperties.put(propertyName, propertyValue); } if (!getModel().isLoading()) { UndoManager.instance().undoableActionPerformed(new IUndoableAction() { public void undo() throws UnexpectedUndoException { setProperty(propertyName, oldValue); } }); } boolean addedOrRemoved = false; boolean isRemoved = false; if (isEmptyPropertyValue(oldValue)) { addedOrRemoved = true; isRemoved = false; } if (isEmptyPropertyValue(propertyValue)) { addedOrRemoved = true; isRemoved = true; } getModel().firePropertyChangedEvent(this, propertyName, oldValue, propertyValue, addedOrRemoved, isRemoved);
|
public void setProperty(@NotNull final String propertyName, String propertyValue) { setProperty(propertyName, propertyValue, true);
|
public void setProperty(final String propertyName, String propertyValue, boolean usePropertySetter) { if (!myPropertySettersInProgress.contains(propertyName) && !myModel.isLoading() && usePropertySetter) { INodePropertySetter setter = ModelConstraintsManager.getInstance().getNodePropertySetter(this, propertyName); if (setter != null) { myPropertySettersInProgress.add(propertyName); try { setter.execPropertySet(this, propertyName, propertyValue, GlobalScope.getInstance()); return; } finally { myPropertySettersInProgress.remove(propertyName); } } } NodeSecurityManager.getInstance().checkPropertyAvailable(this, propertyName, true); final String oldValue = myProperties.get(propertyName); if (propertyValue == null) { myProperties.remove(propertyName); } else { myProperties.put(propertyName, propertyValue); } if (!getModel().isLoading()) { UndoManager.instance().undoableActionPerformed(new IUndoableAction() { public void undo() throws UnexpectedUndoException { setProperty(propertyName, oldValue); } }); } boolean addedOrRemoved = false; boolean isRemoved = false; if (isEmptyPropertyValue(oldValue)) { addedOrRemoved = true; isRemoved = false; } if (isEmptyPropertyValue(propertyValue)) { addedOrRemoved = true; isRemoved = true; } getModel().firePropertyChangedEvent(this, propertyName, oldValue, propertyValue, addedOrRemoved, isRemoved); }
|
14939 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14939/02e9784903cc261d54273c0f1696297b96fb691a/SNode.java/buggy/source/jetbrains/mps/smodel/SNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
7486,
12,
6385,
514,
5470,
16,
514,
12337,
16,
1250,
999,
1396,
8465,
13,
288,
565,
309,
16051,
4811,
1396,
694,
5432,
13434,
18,
12298,
12,
4468,
461,
13,
597,
401,
4811,
1488,
18,
291,
10515,
1435,
597,
999,
1396,
8465,
13,
288,
1377,
21176,
1396,
8465,
7794,
273,
3164,
4878,
1318,
18,
588,
1442,
7675,
588,
907,
1396,
8465,
12,
2211,
16,
5470,
1769,
1377,
309,
261,
18062,
480,
446,
13,
288,
3639,
3399,
1396,
694,
5432,
13434,
18,
1289,
12,
4468,
461,
1769,
3639,
775,
288,
1850,
7794,
18,
4177,
1396,
694,
12,
2211,
16,
5470,
16,
12337,
16,
8510,
3876,
18,
588,
1442,
10663,
1850,
327,
31,
3639,
289,
3095,
288,
1850,
3399,
1396,
694,
5432,
13434,
18,
4479,
12,
4468,
461,
1769,
3639,
289,
1377,
289,
565,
289,
565,
2029,
4368,
1318,
18,
588,
1442,
7675,
1893,
1396,
5268,
12,
2211,
16,
5470,
16,
638,
1769,
565,
727,
514,
11144,
273,
3399,
2297,
18,
588,
12,
4468,
461,
1769,
565,
309,
261,
4468,
620,
422,
446,
13,
288,
1377,
3399,
2297,
18,
4479,
12,
4468,
461,
1769,
565,
289,
469,
288,
1377,
3399,
2297,
18,
458,
12,
4468,
461,
16,
12337,
1769,
565,
289,
565,
309,
16051,
588,
1488,
7675,
291,
10515,
10756,
288,
1377,
1351,
2896,
1318,
18,
1336,
7675,
31226,
429,
19449,
12,
2704,
467,
31224,
429,
1803,
1435,
288,
3639,
1071,
918,
15436,
1435,
1216,
9649,
31224,
503,
288,
1850,
7486,
12,
4468,
461,
16,
11144,
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,
282,
1071,
918,
7486,
12,
6385,
514,
5470,
16,
514,
12337,
16,
1250,
999,
1396,
8465,
13,
288,
565,
309,
16051,
4811,
1396,
694,
5432,
13434,
18,
12298,
12,
4468,
461,
13,
597,
401,
4811,
1488,
18,
291,
10515,
1435,
597,
999,
1396,
8465,
13,
288,
1377,
21176,
1396,
8465,
7794,
273,
3164,
4878,
1318,
18,
588,
1442,
7675,
588,
907,
1396,
8465,
12,
2211,
16,
5470,
1769,
1377,
309,
261,
18062,
480,
446,
13,
288,
3639,
3399,
1396,
694,
5432,
13434,
18,
1289,
12,
4468,
461,
1769,
3639,
775,
288,
1850,
7794,
18,
4177,
1396,
694,
12,
2211,
16,
5470,
16,
12337,
16,
8510,
3876,
18,
588,
1442,
10663,
1850,
327,
31,
3639,
289,
3095,
288,
1850,
3399,
2
] |
{ return prepareStatement(sql, java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE, java.sql.ResultSet.CONCUR_READ_ONLY); }
|
{ return prepareStatement(sql, java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE, java.sql.ResultSet.CONCUR_READ_ONLY); }
|
public java.sql.PreparedStatement prepareStatement(String sql) throws SQLException { return prepareStatement(sql, java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE, java.sql.ResultSet.CONCUR_READ_ONLY); }
|
49504 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49504/ef7d7910745cf2812007668138eaaf0a8e1d8d99/Connection.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
29325,
21406,
12,
780,
1847,
13,
1216,
6483,
202,
95,
202,
202,
2463,
21406,
12,
4669,
16,
2252,
18,
4669,
18,
13198,
18,
2399,
67,
2312,
14555,
67,
706,
26753,
16325,
16,
2252,
18,
4669,
18,
13198,
18,
2248,
7509,
67,
6949,
67,
10857,
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,
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,
1216,
6483,
202,
95,
202,
202,
2463,
21406,
12,
4669,
16,
2252,
18,
4669,
18,
13198,
18,
2399,
67,
2312,
14555,
67,
706,
26753,
16325,
16,
2252,
18,
4669,
18,
13198,
18,
2248,
7509,
67,
6949,
67,
10857,
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
] |
return b.getValue(SymphonieWizardConstants.EWIZARD_FORMAT);
|
return b.getValue(EWIZARD_FORMAT);
|
public String getDescription() { return b.getValue(SymphonieWizardConstants.EWIZARD_FORMAT); }
|
12633 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12633/1bc787156ed79daad2f1612c3ecc7eb5d3b06938/WizardPanelFactory.java/clean/dupratcated/src/fr/umlv/symphonie/view/WizardPanelFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
514,
11056,
1435,
288,
3639,
327,
324,
18,
24805,
12,
7245,
6867,
8085,
67,
7254,
1769,
1377,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
514,
11056,
1435,
288,
3639,
327,
324,
18,
24805,
12,
7245,
6867,
8085,
67,
7254,
1769,
1377,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} else if (time < time_other) {
|
} else if (millis < millis_other || (millis == millis_other && usec < 0)) {
|
public IRubyObject op_cmp(IRubyObject other) { if (other.isNil()) { return other; } if (other instanceof RubyTime) { return getRuntime().newFixnum(cmp((RubyTime) other)); } long millis = getTimeInMillis(); if (other instanceof RubyFloat || other instanceof RubyBignum) { double time = millis / 1000.0; double time_other = ((RubyNumeric) other).getDoubleValue(); if (time > time_other) { return RubyFixnum.one(getRuntime()); } else if (time < time_other) { return RubyFixnum.minus_one(getRuntime()); } return RubyFixnum.zero(getRuntime()); } long millis_other = RubyNumeric.num2long(other) * 1000; if (millis > millis_other || (millis == millis_other && usec > 0)) { return RubyFixnum.one(getRuntime()); } else if (millis < millis_other || (millis == millis_other && usec < 0)) { return RubyFixnum.minus_one(getRuntime()); } return RubyFixnum.zero(getRuntime()); }
|
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/d2a3e96a5caf8bc4e4894cc0cff288c732dcc835/RubyTime.java/buggy/src/org/jruby/RubyTime.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
1061,
67,
9625,
12,
7937,
10340,
921,
1308,
13,
288,
3639,
309,
261,
3011,
18,
291,
12616,
10756,
288,
540,
202,
2463,
1308,
31,
3639,
289,
7734,
309,
261,
3011,
1276,
19817,
950,
13,
288,
5411,
327,
18814,
7675,
2704,
8585,
2107,
12,
9625,
12443,
54,
10340,
950,
13,
1308,
10019,
3639,
289,
7734,
1525,
14833,
273,
6135,
16620,
5621,
7734,
309,
261,
3011,
1276,
19817,
4723,
747,
1308,
1276,
19817,
38,
724,
379,
13,
288,
5411,
1645,
813,
273,
14833,
342,
4336,
18,
20,
31,
5411,
1645,
813,
67,
3011,
273,
14015,
54,
10340,
9902,
13,
1308,
2934,
588,
5265,
620,
5621,
5411,
309,
261,
957,
405,
813,
67,
3011,
13,
288,
7734,
327,
19817,
8585,
2107,
18,
476,
12,
588,
5576,
10663,
5411,
289,
469,
309,
261,
81,
3503,
411,
14833,
67,
3011,
747,
261,
81,
3503,
422,
14833,
67,
3011,
597,
999,
71,
411,
374,
3719,
288,
7734,
327,
19817,
8585,
2107,
18,
19601,
67,
476,
12,
588,
5576,
10663,
5411,
289,
5411,
327,
19817,
8585,
2107,
18,
7124,
12,
588,
5576,
10663,
3639,
289,
540,
202,
202,
5748,
14833,
67,
3011,
273,
19817,
9902,
18,
2107,
22,
5748,
12,
3011,
13,
380,
4336,
31,
3639,
309,
261,
81,
3503,
405,
14833,
67,
3011,
747,
261,
81,
3503,
422,
14833,
67,
3011,
597,
999,
71,
405,
374,
3719,
288,
1082,
565,
327,
19817,
8585,
2107,
18,
476,
12,
588,
5576,
10663,
202,
202,
97,
469,
309,
261,
81,
3503,
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,
15908,
10340,
921,
1061,
67,
9625,
12,
7937,
10340,
921,
1308,
13,
288,
3639,
309,
261,
3011,
18,
291,
12616,
10756,
288,
540,
202,
2463,
1308,
31,
3639,
289,
7734,
309,
261,
3011,
1276,
19817,
950,
13,
288,
5411,
327,
18814,
7675,
2704,
8585,
2107,
12,
9625,
12443,
54,
10340,
950,
13,
1308,
10019,
3639,
289,
7734,
1525,
14833,
273,
6135,
16620,
5621,
7734,
309,
261,
3011,
1276,
19817,
4723,
747,
1308,
1276,
19817,
38,
724,
379,
13,
288,
5411,
1645,
813,
273,
14833,
342,
4336,
18,
20,
31,
5411,
1645,
813,
67,
3011,
273,
14015,
54,
10340,
9902,
13,
1308,
2934,
588,
5265,
620,
5621,
5411,
309,
261,
957,
405,
813,
67,
3011,
13,
288,
7734,
2
] |
fCurrentCM = ((XSComplexTypeDecl)fCurrentType).getContentModel();
|
fCurrentCM = ((XSComplexTypeDecl)fCurrentType).getContentModel(fCMBuilder);
|
void handleStartElement(QName element, XMLAttributes attributes) { // whether to do validatoin // REVISIT: consider DynamicValidation if (fElementDepth == -1) { fDoValidation = fValidation; } // if we are in the content of "skip", then just skip this element if (fSkipValidationDepth >= 0) { fElementDepth++; return; } // if it's not the root element, we push the current states in the stacks if (fElementDepth != -1) { ensureStackCapacity(); fChildCountStack[fElementDepth] = fChildCount+1; fChildCount = 0; fElemDeclStack[fElementDepth] = fCurrentElemDecl; fTypeStack[fElementDepth] = fCurrentType; fCMStack[fElementDepth] = fCurrentCM; fBufferStack[fElementDepth] = fBuffer; } // get xsi:schemaLocation and xsi:noNamespaceSchemaLocation attributes, // parser them to get the grammars // REVISIT: we'll defer this operation until there is a reference to // a component from that namespace String sLocation = attributes.getValue(URI_XSI, XSI_SCHEMALOCACTION); String nsLocation = attributes.getValue(URI_XSI, XSI_NONAMESPACESCHEMALOCACTION); if (sLocation != null) { StringTokenizer t = new StringTokenizer(sLocation, " \n\t\r"); String namespace, location; while (t.hasMoreTokens()) { namespace = t.nextToken (); if (!t.hasMoreTokens()) { // REVISIT: report error for wrong number of uris break; } location = t.nextToken(); if (fGrammarResolver.getGrammar(namespace) == null) fSchemaHandler.parseSchema(namespace, location); } } if (nsLocation != null) { if (fGrammarResolver.getGrammar(fSchemaHandler.EMPTY_STRING) == null) fSchemaHandler.parseSchema(fSchemaHandler.EMPTY_STRING, nsLocation); } // get the element decl for this element fCurrentElemDecl = null; XSWildcardDecl wildcard = null; // if there is a content model, then get the decl from that if (fCurrentCM != null) { Object decl = fCurrentCM.oneTransition(element, fCurrCMState); // it could be an element decl or a wildcard decl // REVISIT: is there a more effecient way than 'instanceof' if (decl instanceof XSElementDecl) { fCurrentElemDecl = (XSElementDecl)decl; } else if (decl instanceof XSWildcardDecl) { wildcard = (XSWildcardDecl)decl; } else if (fCurrCMState[0] == XSCMValidator.FIRST_ERROR && fDoValidation) { // REVISIT: report error: invalid content XSComplexTypeDecl ctype = (XSComplexTypeDecl)fCurrentType; reportGenericSchemaError("invlid content starting with element '"+element.rawname+"', the content must match ("+ctype.fParticle.toString()+")"); fCurrCMState[0] = XSCMValidator.SUBSEQUENT_ERROR; } } // save the current content model state in the stack if (fElementDepth != -1) fCMStateStack[fElementDepth] = fCurrCMState; // increase the element depth after we've saved all states for the // parent element fElementDepth++; // if the wildcard is skip, then return if (wildcard != null && wildcard.fProcessContents == XSWildcardDecl.WILDCARD_SKIP) { fSkipValidationDepth = fElementDepth; return; } // try again to get the element decl if (fCurrentElemDecl == null) { // REVISIT: null or "" SchemaGrammar sGrammar = fGrammarResolver.getGrammar(element.uri == null ? "" : element.uri); if (sGrammar != null) fCurrentElemDecl = sGrammar.getGlobalElementDecl(element.localpart); } // get the type for the current element fCurrentType = null; if (fCurrentElemDecl != null) { // Check whether this element is abstract. If so, an error if (fCurrentElemDecl.isAbstract()) { reportGenericSchemaError("A member of abstract element " + element.rawname + "'s substitution group must be specified"); } // then get the type fCurrentType = fCurrentElemDecl.fType; } // get type from xsi:type String xsiType = attributes.getValue(URI_XSI, XSI_TYPE); if (xsiType != null) { getAndCheckXsiType(element, xsiType); } else if (fCurrentType != null) { // if no xsi:type is specified, check whether the type of // the element is abstract if ((fCurrentType.getXSType() & XSTypeDecl.COMPLEX_TYPE) != 0) { XSComplexTypeDecl ctype = (XSComplexTypeDecl)fCurrentType; if (ctype.isAbstractType()) { reportGenericSchemaError("Element " + element.rawname + " is declared with a type that is abstract. Use xsi:type to specify a non-abstract type"); } } } // if the element decl is not found if (fCurrentType == null && fDoValidation) { // if this is the root element, or wildcard = strict, report error if (fElementDepth == 0) { // REVISIT: report error, because it's root element reportGenericSchemaError("can't find decl for root element '"+element.rawname+"'"); } else if (wildcard != null && wildcard.fProcessContents == XSWildcardDecl.WILDCARD_STRICT) { // REVISIT: report error, because wilcard = strict reportGenericSchemaError("can't find decl for strict wildcard '"+element.rawname+"'"); } // no element decl found, have to skip this element fSkipValidationDepth = fElementDepth; return; } // then try to get the content model fCurrentCM = null; if (fCurrentType != null) { if ((fCurrentType.getXSType() & XSTypeDecl.COMPLEX_TYPE) != 0) { fCurrentCM = ((XSComplexTypeDecl)fCurrentType).getContentModel(); } } // and get the initial content model state fCurrCMState = null; if (fCurrentCM != null) fCurrCMState = fCurrentCM.startContentModel(); // and the buffer to hold the value of the element fBuffer = new StringBuffer(); // get information about xsi:nil String xsiNil = attributes.getValue(URI_XSI, XSI_NIL); if (xsiNil != null) getXsiNil(element, xsiNil); // now validate everything related with the attributes // first, get the attribute group XSAttributeGroupDecl attrGrp = null; if ((fCurrentType.getXSType() & XSTypeDecl.COMPLEX_TYPE) != 0) { XSComplexTypeDecl ctype = (XSComplexTypeDecl)fCurrentType; attrGrp = ctype.fAttrGrp; } processAttributes(element, attributes, attrGrp); } // handleStartElement(QName,XMLAttributes,boolean)
|
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/97c30ef160e16e9cf1fee7cbf05c052dc7902097/SchemaValidator.java/clean/src/org/apache/xerces/impl/v2/SchemaValidator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1640,
1685,
1046,
12,
13688,
930,
16,
3167,
2498,
1677,
13,
288,
3639,
368,
2856,
358,
741,
923,
270,
885,
3639,
368,
2438,
26780,
1285,
30,
5260,
12208,
4354,
3639,
309,
261,
74,
1046,
6148,
422,
300,
21,
13,
288,
5411,
284,
3244,
4354,
273,
284,
4354,
31,
3639,
289,
3639,
368,
309,
732,
854,
316,
326,
913,
434,
315,
7457,
3113,
1508,
2537,
2488,
333,
930,
3639,
309,
261,
74,
6368,
4354,
6148,
1545,
374,
13,
288,
5411,
284,
1046,
6148,
9904,
31,
5411,
327,
31,
3639,
289,
3639,
368,
309,
518,
1807,
486,
326,
1365,
930,
16,
732,
1817,
326,
783,
5493,
316,
326,
19838,
3639,
309,
261,
74,
1046,
6148,
480,
300,
21,
13,
288,
5411,
3387,
2624,
7437,
5621,
5411,
284,
1763,
1380,
2624,
63,
74,
1046,
6148,
65,
273,
284,
1763,
1380,
15,
21,
31,
5411,
284,
1763,
1380,
273,
374,
31,
5411,
284,
7498,
3456,
2624,
63,
74,
1046,
6148,
65,
273,
284,
3935,
7498,
3456,
31,
5411,
284,
559,
2624,
63,
74,
1046,
6148,
65,
273,
284,
3935,
559,
31,
5411,
284,
9611,
2624,
63,
74,
1046,
6148,
65,
273,
284,
3935,
9611,
31,
5411,
284,
1892,
2624,
63,
74,
1046,
6148,
65,
273,
284,
1892,
31,
3639,
289,
3639,
368,
336,
619,
7722,
30,
4821,
2735,
471,
619,
7722,
30,
2135,
3402,
3078,
2735,
1677,
16,
3639,
368,
2082,
2182,
358,
336,
326,
6473,
87,
3639,
368,
2438,
26780,
1285,
30,
732,
5614,
2220,
333,
1674,
3180,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1640,
1685,
1046,
12,
13688,
930,
16,
3167,
2498,
1677,
13,
288,
3639,
368,
2856,
358,
741,
923,
270,
885,
3639,
368,
2438,
26780,
1285,
30,
5260,
12208,
4354,
3639,
309,
261,
74,
1046,
6148,
422,
300,
21,
13,
288,
5411,
284,
3244,
4354,
273,
284,
4354,
31,
3639,
289,
3639,
368,
309,
732,
854,
316,
326,
913,
434,
315,
7457,
3113,
1508,
2537,
2488,
333,
930,
3639,
309,
261,
74,
6368,
4354,
6148,
1545,
374,
13,
288,
5411,
284,
1046,
6148,
9904,
31,
5411,
327,
31,
3639,
289,
3639,
368,
309,
518,
1807,
486,
326,
1365,
930,
16,
732,
1817,
326,
783,
5493,
316,
326,
19838,
3639,
309,
261,
74,
1046,
6148,
480,
300,
21,
13,
2
] |
}
|
}
|
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request) { // fill the parameter values in the get/set methods fillParamValues(request); // set the dialog type setParamDialogtype(DIALOG_TYPE); // set the action for the JSP switch if (DIALOG_SAVE_EDIT.equals(getParamAction())) { setAction(ACTION_SAVE_EDIT); } else if (REPORT_UPDATE.equals(getParamAction())) { setAction(ACTION_REPORT_UPDATE); } else if (REPORT_BEGIN.equals(getParamAction())) { setAction(ACTION_REPORT_BEGIN); } else if (REPORT_END.equals(getParamAction())) { setAction(ACTION_REPORT_END); } else if (DIALOG_CANCEL.equals(getParamAction())) { setAction(ACTION_CANCEL); } else { // set the default action setAction(ACTION_DEFAULT); setParamTitle(key("label.admin.history.clear")); } }
|
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/41dcaa9d1a1b8f8fa6c1dd9a04fc8532eb83ebb7/CmsAdminHistoryClear.java/buggy/src-modules/org/opencms/workplace/tools/history/CmsAdminHistoryClear.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
16514,
691,
1972,
12,
4747,
16514,
2628,
1947,
16,
9984,
590,
13,
288,
3639,
368,
3636,
326,
1569,
924,
316,
326,
336,
19,
542,
2590,
3639,
3636,
786,
1972,
12,
2293,
1769,
3639,
368,
444,
326,
6176,
618,
3639,
22911,
6353,
723,
12,
2565,
18683,
67,
2399,
1769,
3639,
368,
444,
326,
1301,
364,
326,
804,
3118,
1620,
540,
309,
261,
2565,
18683,
67,
25242,
67,
10776,
18,
14963,
12,
588,
786,
1803,
1435,
3719,
288,
5411,
22517,
12,
12249,
67,
25242,
67,
10776,
1769,
3639,
289,
469,
309,
261,
22710,
67,
8217,
18,
14963,
12,
588,
786,
1803,
1435,
3719,
288,
5411,
22517,
12,
12249,
67,
22710,
67,
8217,
1769,
1171,
289,
469,
309,
261,
22710,
67,
16061,
18,
14963,
12,
588,
786,
1803,
1435,
3719,
288,
5411,
22517,
12,
12249,
67,
22710,
67,
16061,
1769,
3639,
289,
469,
309,
261,
22710,
67,
4415,
18,
14963,
12,
588,
786,
1803,
1435,
3719,
288,
5411,
22517,
12,
12249,
67,
22710,
67,
4415,
1769,
3639,
289,
469,
309,
261,
2565,
18683,
67,
25268,
18,
14963,
12,
588,
786,
1803,
1435,
3719,
288,
8227,
22517,
12,
12249,
67,
25268,
1769,
3639,
289,
469,
288,
2398,
368,
444,
326,
805,
1301,
21821,
22517,
12,
12249,
67,
5280,
1769,
2398,
22911,
4247,
12,
856,
2932,
1925,
18,
3666,
18,
8189,
18,
8507,
7923,
1769,
3639,
289,
1850,
289,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1208,
16514,
691,
1972,
12,
4747,
16514,
2628,
1947,
16,
9984,
590,
13,
288,
3639,
368,
3636,
326,
1569,
924,
316,
326,
336,
19,
542,
2590,
3639,
3636,
786,
1972,
12,
2293,
1769,
3639,
368,
444,
326,
6176,
618,
3639,
22911,
6353,
723,
12,
2565,
18683,
67,
2399,
1769,
3639,
368,
444,
326,
1301,
364,
326,
804,
3118,
1620,
540,
309,
261,
2565,
18683,
67,
25242,
67,
10776,
18,
14963,
12,
588,
786,
1803,
1435,
3719,
288,
5411,
22517,
12,
12249,
67,
25242,
67,
10776,
1769,
3639,
289,
469,
309,
261,
22710,
67,
8217,
18,
14963,
12,
588,
786,
1803,
1435,
3719,
288,
5411,
22517,
12,
12249,
67,
22710,
67,
8217,
1769,
1171,
289,
469,
309,
2
] |
if(variableIsPassedAsMethodArgument(variable, context)){ return true; } return false;
|
return variableIsPassedAsMethodArgument(variable, context);
|
private static boolean collectionContentsAreUpdated(PsiVariable variable, PsiElement context){ if(collectionUpdateCalled(variable, context)){ return true; } final PsiExpression initializer = variable.getInitializer(); if(initializer != null && !isEmptyCollectionInitializer(initializer)){ return true; } if(variableIsAssigned(variable, context)){ return true; } if(variableIsAssignedFrom(variable, context)){ return true; } if(variableIsPassedAsMethodArgument(variable, context)){ return true; } return false; }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/d76d0bedf8df35d604b7174a9135167671631ec9/MismatchedCollectionQueryUpdateInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/bugs/MismatchedCollectionQueryUpdateInspection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
1849,
6323,
4704,
7381,
12,
52,
7722,
3092,
2190,
16,
4766,
13491,
453,
7722,
1046,
819,
15329,
3639,
309,
12,
5548,
1891,
8185,
12,
6105,
16,
819,
3719,
95,
5411,
327,
638,
31,
3639,
289,
3639,
727,
453,
7722,
2300,
12562,
273,
2190,
18,
588,
14729,
5621,
3639,
309,
12,
22181,
480,
446,
597,
401,
291,
1921,
2532,
14729,
12,
22181,
3719,
95,
5411,
327,
638,
31,
3639,
289,
3639,
309,
12,
6105,
2520,
20363,
12,
6105,
16,
819,
3719,
95,
5411,
327,
638,
31,
3639,
289,
3639,
309,
12,
6105,
2520,
20363,
1265,
12,
6105,
16,
819,
3719,
95,
5411,
327,
638,
31,
3639,
289,
3639,
309,
12,
6105,
2520,
22530,
1463,
1305,
1379,
12,
6105,
16,
819,
3719,
95,
5411,
327,
638,
31,
3639,
289,
3639,
327,
629,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
1849,
6323,
4704,
7381,
12,
52,
7722,
3092,
2190,
16,
4766,
13491,
453,
7722,
1046,
819,
15329,
3639,
309,
12,
5548,
1891,
8185,
12,
6105,
16,
819,
3719,
95,
5411,
327,
638,
31,
3639,
289,
3639,
727,
453,
7722,
2300,
12562,
273,
2190,
18,
588,
14729,
5621,
3639,
309,
12,
22181,
480,
446,
597,
401,
291,
1921,
2532,
14729,
12,
22181,
3719,
95,
5411,
327,
638,
31,
3639,
289,
3639,
309,
12,
6105,
2520,
20363,
12,
6105,
16,
819,
3719,
95,
5411,
327,
638,
31,
3639,
289,
3639,
309,
12,
6105,
2520,
20363,
1265,
12,
6105,
16,
819,
3719,
95,
5411,
327,
638,
31,
3639,
289,
3639,
309,
12,
6105,
2520,
22530,
1463,
1305,
1379,
2
] |
private void populateFrom(CLDRDBSource src, CheckCLDR checkCldr, CLDRFile engFile) { XPathParts xpp = new XPathParts(null,null); System.out.println("[] initting from pod " + locale + " with prefix " + xpathPrefix); CLDRFile aFile = new CLDRFile(src, true); Map options = new TreeMap(); XPathParts pathParts = new XPathParts(null, null); XPathParts fullPathParts = new XPathParts(null, null);/* checkCldr.check(path, fullPath, value, pathParts, fullPathParts, checkCldrResult); for (Iterator it3 = checkCldrResult.iterator(); it3.hasNext();) { CheckCLDR.CheckStatus status = (CheckCLDR.CheckStatus) it3.next(); if (!status.getType().equals(status.exampleType)) { ctx.println(status.toString() + "\t" + value + "\t" + fullPath);*/ List checkCldrResult = new ArrayList(); for(Iterator it = aFile.iterator(xpathPrefix);it.hasNext();) { String xpath = (String)it.next(); if(-1!=xpath.indexOf("001")) { System.err.println("001:: " + xpath + aFile.getSourceLocaleID(xpath));// if(aFile.getSourceLocaleID(xpath).equals("code-fallback")) {// throw new InternalError("No err!");// } } String type = src.xpt.typeFromPathToTinyXpath(xpath, xpp); boolean mixedType = false; if(type == null) { type = xpath.substring(xpathPrefix.length(),xpath.length()); mixedType = true; } String value = aFile.getStringValue(xpath); if(value == null) {// throw new InternalError("Value of " + xpath + " is null."); System.err.println("Value of " + xpath + " is null."); value = "(NOTHING)"; } String fullPath = aFile.getFullXPath(xpath);// System.out.println("* T=" + type + ", X= " + xpath); String alt = src.xpt.altFromPathToTinyXpath(xpath, xpp); xpp.clear(); xpp.initialize(xpath); String lelement = xpp.getElement(-1); /* all of these are always at the end */ String eAlt = xpp.findAttributeValue(lelement,LDMLConstants.ALT); String eDraft = xpp.findAttributeValue(lelement,LDMLConstants.DRAFT); String typeAndProposed[] = LDMLUtilities.parseAlt(alt); String altProposed = typeAndProposed[1]; String altType = typeAndProposed[0]; Pea p = getPea(type, altType); Pea superP = getPea(type); if(altProposed == null) { // just work on the supers if(superP.displayName == null) { if(xpathPrefix.startsWith("//ldml/localeDisplayNames/")) { if(mixedType == false) { superP.displayName = engFile.getStringValue(xpathPrefix+"[@type=\""+type+"\"]"); } else { superP.displayName = engFile.getStringValue(xpathPrefix); } } } if(superP.displayName == null) { superP.displayName = "'"+type+"'"; } } // If it is draft and not proposed.. make it proposed-draft if( ((eDraft!=null)&&(!eDraft.equals("false"))) && (altProposed == null) ) { altProposed = SurveyMain.PROPOSED_DRAFT; } /*srl*/ if(-1!=xpath.indexOf("ain")) { System.err.println("ain:: " + xpath + aFile.getSourceLocaleID(xpath) + " - AP:" + altProposed + " - AT: " + altType );// if(aFile.getSourceLocaleID(xpath).equals("code-fallback")) {// throw new InternalError("No err!");// } } // Inherit display names. if((superP != p) && (p.displayName == null)) { p.displayName = superP.displayName; } String sourceLocale = aFile.getSourceLocaleID(xpath); boolean isInherited = !(sourceLocale.equals(locale)); if(altProposed == null) { if(!isInherited) { superP.hasInherited=false; p.hasInherited=false; } else { p.hasInherited = true; p.inheritFrom = sourceLocale; } } else { p.hasProps = true; superP.hasProps = true; } if((checkCldr != null)&&(altProposed == null)) { checkCldr.check(xpath, fullPath, value, options, checkCldrResult); }/*srl*/ if(-1!=xpath.indexOf("ain")) { System.err.println("ain+- was have " + p.items.size() + " Items "); } if(checkCldrResult.isEmpty()) { p.addItem( value, altProposed, null); } else { p.addItem( value, altProposed, checkCldrResult); // only consider non-example tests as notable. boolean weHaveTests = false; for (Iterator it3 = checkCldrResult.iterator(); it3.hasNext();) { CheckCLDR.CheckStatus status = (CheckCLDR.CheckStatus) it3.next(); if(!status.getType().equals(status.exampleType)) { weHaveTests = true; } } if(weHaveTests) { p.hasTests = true; superP.hasTests = true; } // set the parent checkCldrResult = new ArrayList(); // can't reuse it if nonempty }/*srl*/ if(-1!=xpath.indexOf("ain")) { System.err.println("ain+: now have " + p.items.size() + " Items "); } } // aFile.close(); }
|
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/d99f45a31f02fcac5c82ee137c8dde03d6babbc5/DataPod.java/clean/tools/java/org/unicode/cldr/web/DataPod.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
6490,
1265,
12,
5017,
6331,
2290,
1830,
1705,
16,
2073,
5017,
6331,
866,
39,
14796,
16,
14934,
6331,
812,
24691,
812,
13,
288,
3639,
10172,
4305,
619,
11858,
273,
394,
10172,
4305,
12,
2011,
16,
2011,
1769,
3639,
2332,
18,
659,
18,
8222,
2932,
8526,
1208,
1787,
628,
3713,
315,
397,
2573,
397,
315,
598,
1633,
315,
397,
6748,
2244,
1769,
3639,
14934,
6331,
812,
279,
812,
273,
394,
14934,
6331,
812,
12,
4816,
16,
638,
1769,
3639,
1635,
702,
273,
394,
16381,
5621,
3639,
10172,
4305,
25628,
273,
394,
10172,
4305,
12,
2011,
16,
446,
1769,
3639,
10172,
4305,
11225,
4305,
273,
394,
10172,
4305,
12,
2011,
16,
446,
1769,
20308,
7734,
866,
39,
14796,
18,
1893,
12,
803,
16,
11225,
16,
460,
16,
25628,
16,
11225,
4305,
16,
866,
39,
14796,
1253,
1769,
7734,
364,
261,
3198,
518,
23,
273,
866,
39,
14796,
1253,
18,
9838,
5621,
518,
23,
18,
5332,
2134,
5621,
13,
288,
10792,
2073,
5017,
6331,
18,
1564,
1482,
1267,
273,
261,
1564,
5017,
6331,
18,
1564,
1482,
13,
518,
23,
18,
4285,
5621,
10792,
309,
16051,
2327,
18,
588,
559,
7675,
14963,
12,
2327,
18,
8236,
559,
3719,
288,
13491,
1103,
18,
8222,
12,
2327,
18,
10492,
1435,
397,
1548,
88,
6,
397,
460,
397,
1548,
88,
6,
397,
11225,
1769,
5549,
3639,
987,
866,
39,
14796,
1253,
273,
394,
2407,
5621,
3639,
364,
12,
3198,
518,
273,
279,
812,
18,
9838,
12,
18644,
2244,
1769,
305,
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,
918,
6490,
1265,
12,
5017,
6331,
2290,
1830,
1705,
16,
2073,
5017,
6331,
866,
39,
14796,
16,
14934,
6331,
812,
24691,
812,
13,
288,
3639,
10172,
4305,
619,
11858,
273,
394,
10172,
4305,
12,
2011,
16,
2011,
1769,
3639,
2332,
18,
659,
18,
8222,
2932,
8526,
1208,
1787,
628,
3713,
315,
397,
2573,
397,
315,
598,
1633,
315,
397,
6748,
2244,
1769,
3639,
14934,
6331,
812,
279,
812,
273,
394,
14934,
6331,
812,
12,
4816,
16,
638,
1769,
3639,
1635,
702,
273,
394,
16381,
5621,
3639,
10172,
4305,
25628,
273,
394,
10172,
4305,
12,
2011,
16,
446,
1769,
3639,
10172,
4305,
11225,
4305,
273,
394,
10172,
4305,
12,
2011,
16,
446,
1769,
20308,
7734,
866,
39,
14796,
2
] |
||
return createDirectoryEntry( target, file, dirPerm );
|
return createDirectoryEntry( target, file, dirPerm );
|
public static ArchiveEntry createEntry( String target, File file, int filePerm, int dirPerm ) throws ArchiverException { if ( file.isDirectory() ) { return createDirectoryEntry( target, file, dirPerm ); } else if ( file.isFile() ) { return createFileEntry( target, file, filePerm ); } else // FIXME: handle symlinks? { throw new ArchiverException( "Neither a file nor a directory: " + file ); } }
|
10884 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10884/8348e0b29d34f62b8f140a99598373fb0cbf7fcb/ArchiveEntry.java/buggy/src/main/java/org/codehaus/plexus/archiver/ArchiveEntry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
13124,
1622,
752,
1622,
12,
514,
1018,
16,
1387,
585,
16,
509,
585,
9123,
16,
509,
1577,
9123,
262,
377,
202,
15069,
16959,
1667,
503,
565,
288,
3639,
309,
261,
585,
18,
291,
2853,
1435,
262,
3639,
288,
540,
202,
2463,
28430,
1622,
12,
1018,
16,
585,
16,
1577,
9123,
11272,
3639,
289,
3639,
469,
309,
261,
585,
18,
291,
812,
1435,
262,
3639,
288,
540,
202,
2463,
752,
20110,
12,
1018,
16,
585,
16,
585,
9123,
11272,
3639,
289,
3639,
469,
368,
9852,
30,
1640,
23146,
35,
3639,
288,
540,
202,
12849,
394,
16959,
1667,
503,
12,
315,
6586,
2927,
279,
585,
12517,
279,
1867,
30,
315,
397,
585,
11272,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
13124,
1622,
752,
1622,
12,
514,
1018,
16,
1387,
585,
16,
509,
585,
9123,
16,
509,
1577,
9123,
262,
377,
202,
15069,
16959,
1667,
503,
565,
288,
3639,
309,
261,
585,
18,
291,
2853,
1435,
262,
3639,
288,
540,
202,
2463,
28430,
1622,
12,
1018,
16,
585,
16,
1577,
9123,
11272,
3639,
289,
3639,
469,
309,
261,
585,
18,
291,
812,
1435,
262,
3639,
288,
540,
202,
2463,
752,
20110,
12,
1018,
16,
585,
16,
585,
9123,
11272,
3639,
289,
3639,
469,
368,
9852,
30,
1640,
23146,
35,
3639,
288,
540,
202,
12849,
394,
16959,
1667,
503,
12,
315,
6586,
2927,
279,
585,
12517,
279,
1867,
30,
315,
397,
585,
11272,
3639,
289,
565,
289,
2,
-100
] |
public org.quickfix.field.NoUnderlyings getNoUnderlyings() throws FieldNotFound { org.quickfix.field.NoUnderlyings value = new org.quickfix.field.NoUnderlyings();
|
public quickfix.field.NoUnderlyings getNoUnderlyings() throws FieldNotFound { quickfix.field.NoUnderlyings value = new quickfix.field.NoUnderlyings();
|
public org.quickfix.field.NoUnderlyings getNoUnderlyings() throws FieldNotFound { org.quickfix.field.NoUnderlyings value = new org.quickfix.field.NoUnderlyings(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/ListStrikePrice.java/buggy/src/java/src/quickfix/fix44/ListStrikePrice.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
2279,
14655,
715,
899,
336,
2279,
14655,
715,
899,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
2279,
14655,
715,
899,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
2279,
14655,
715,
899,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
2279,
14655,
715,
899,
336,
2279,
14655,
715,
899,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
2279,
14655,
715,
899,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
2279,
14655,
715,
899,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
groupByMenu.add(new GroupingAction(MarkerMessages.ProblemView_Category, category, this));
|
groupByMenu.add(new GroupingAction(MarkerMessages.ProblemView_Category, new FieldCategory(), this));
|
void addDropDownContributions(IMenuManager menu) { MenuManager groupByMenu = new MenuManager(MarkerMessages.ProblemView_GroupByMenu); groupByMenu.add(new GroupingAction(MarkerMessages.ProblemView_Severity, severity, this)); groupByMenu.add(new GroupingAction(MarkerMessages.ProblemView_Category, category, this)); Iterator definedGroups = MarkerSupportRegistry.getInstance().getMarkerGroups().iterator(); while(definedGroups.hasNext()){ FieldMarkerGroup group = (FieldMarkerGroup) definedGroups.next(); groupByMenu.add(new GroupingAction(group.getDescription(),group,this)); } groupByMenu.add(new GroupingAction(MarkerMessages.ProblemView_None, null, this)); menu.add(groupByMenu); super.addDropDownContributions(menu); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/5b4585003f4d28d63e431a95dcbe18c45a30bd12/ProblemView.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ProblemView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
527,
7544,
4164,
442,
15326,
12,
3445,
2104,
1318,
3824,
13,
288,
202,
202,
4599,
1318,
13197,
4599,
273,
394,
9809,
1318,
12,
7078,
5058,
18,
13719,
1767,
67,
26257,
4599,
1769,
202,
202,
1655,
858,
4599,
18,
1289,
12,
2704,
3756,
310,
1803,
12,
7078,
5058,
18,
13719,
1767,
67,
21630,
16,
11426,
16,
333,
10019,
202,
202,
1655,
858,
4599,
18,
1289,
12,
2704,
3756,
310,
1803,
12,
7078,
5058,
18,
13719,
1767,
67,
4457,
16,
3150,
16,
333,
10019,
9506,
202,
3198,
2553,
3621,
273,
14742,
6289,
4243,
18,
588,
1442,
7675,
588,
7078,
3621,
7675,
9838,
5621,
9506,
202,
17523,
12,
2178,
3621,
18,
5332,
2134,
10756,
95,
1082,
202,
974,
7078,
1114,
1041,
273,
261,
974,
7078,
1114,
13,
2553,
3621,
18,
4285,
5621,
1082,
202,
1655,
858,
4599,
18,
1289,
12,
2704,
3756,
310,
1803,
12,
1655,
18,
588,
3291,
9334,
1655,
16,
2211,
10019,
202,
202,
97,
9506,
202,
1655,
858,
4599,
18,
1289,
12,
2704,
3756,
310,
1803,
12,
7078,
5058,
18,
13719,
1767,
67,
7036,
16,
446,
16,
333,
10019,
202,
202,
5414,
18,
1289,
12,
1655,
858,
4599,
1769,
202,
202,
9565,
18,
1289,
7544,
4164,
442,
15326,
12,
5414,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
527,
7544,
4164,
442,
15326,
12,
3445,
2104,
1318,
3824,
13,
288,
202,
202,
4599,
1318,
13197,
4599,
273,
394,
9809,
1318,
12,
7078,
5058,
18,
13719,
1767,
67,
26257,
4599,
1769,
202,
202,
1655,
858,
4599,
18,
1289,
12,
2704,
3756,
310,
1803,
12,
7078,
5058,
18,
13719,
1767,
67,
21630,
16,
11426,
16,
333,
10019,
202,
202,
1655,
858,
4599,
18,
1289,
12,
2704,
3756,
310,
1803,
12,
7078,
5058,
18,
13719,
1767,
67,
4457,
16,
3150,
16,
333,
10019,
9506,
202,
3198,
2553,
3621,
273,
14742,
6289,
4243,
18,
588,
1442,
7675,
588,
7078,
3621,
7675,
9838,
5621,
9506,
202,
17523,
12,
2178,
3621,
18,
5332,
2134,
10756,
95,
1082,
202,
974,
7078,
2
] |
setTitle(PreferencesMessages.getString("CodeFormatterPreferencePage.title"));
|
setTitle(PreferencesMessages.CodeFormatterPreferencePage_title);
|
public CodeFormatterPreferencePage() { setPreferenceStore(CUIPlugin.getDefault().getPreferenceStore()); // only used when page is shown programatically setTitle(PreferencesMessages.getString("CodeFormatterPreferencePage.title")); //$NON-NLS-1$ //setDescription(PreferencesMessages.getString("CodeFormatterPreferencePage.description")); //$NON-NLS-1$ fCodeFormatterBlock= new CodeFormatterBlock(CUIPlugin.getDefault().getPluginPreferences()); }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/f234a522db00e1071063f0885f1670c3e1eb4c39/CodeFormatterPreferencePage.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/CodeFormatterPreferencePage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3356,
5074,
9624,
1964,
1435,
288,
202,
202,
542,
9624,
2257,
12,
39,
5370,
3773,
18,
588,
1868,
7675,
588,
9624,
2257,
10663,
202,
202,
759,
1338,
1399,
1347,
1363,
353,
12188,
5402,
2126,
1230,
202,
202,
542,
4247,
12,
12377,
5058,
18,
588,
780,
2932,
1085,
5074,
9624,
1964,
18,
2649,
7923,
1769,
1082,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
759,
542,
3291,
12,
12377,
5058,
18,
588,
780,
2932,
1085,
5074,
9624,
1964,
18,
3384,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
74,
1085,
5074,
1768,
33,
394,
3356,
5074,
1768,
12,
39,
5370,
3773,
18,
588,
1868,
7675,
588,
3773,
12377,
10663,
202,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3356,
5074,
9624,
1964,
1435,
288,
202,
202,
542,
9624,
2257,
12,
39,
5370,
3773,
18,
588,
1868,
7675,
588,
9624,
2257,
10663,
202,
202,
759,
1338,
1399,
1347,
1363,
353,
12188,
5402,
2126,
1230,
202,
202,
542,
4247,
12,
12377,
5058,
18,
588,
780,
2932,
1085,
5074,
9624,
1964,
18,
2649,
7923,
1769,
1082,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
759,
542,
3291,
12,
12377,
5058,
18,
588,
780,
2932,
1085,
5074,
9624,
1964,
18,
3384,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
74,
1085,
5074,
1768,
33,
394,
3356,
5074,
1768,
12,
39,
5370,
3773,
18,
588,
1868,
7675,
588,
3773,
12377,
10663,
202,
97,
2,
-100,
-100
] |
e = de - Bias - (P-1) + k;
|
e[0] = de - Bias - (P-1) + k; bits[0] = P - k;
|
static int d2b(double d, byte bits[]) { int e, k, y, z, de; long dBits = Double.doubleToLongBits(d); int d0 = (int)(dBits >>> 32); int d1 = (int)(dBits); z = d0 & Frac_mask; d0 &= 0x7fffffff; /* clear sign bit, which we ignore */ if ((de = (int)(d0 >>> Exp_shift)) != 0) z |= Exp_msk1; if ((y = d1) != 0) { k = lo0bits(y); y >>>= k; if (k != 0) { stuffBits(bits, 4, y | z << (32 - k)); z >>= k; } else stuffBits(bits, 4, y); stuffBits(bits, 0, z); } else { // JS_ASSERT(z); k = lo0bits(z); z >>>= k; stuffBits(bits, 4, z); k += 32; } if (de != 0) { e = de - Bias - (P-1) + k; } else { e = de - Bias - (P-1) + 1 + k; } return e; }
|
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/3726b9fb19b6fab5f4203f81c219670d795ffdbd/DToA.java/buggy/js/rhino/src/org/mozilla/javascript/DToA.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
509,
302,
22,
70,
12,
9056,
302,
16,
1160,
4125,
63,
5717,
565,
288,
3639,
509,
425,
16,
417,
16,
677,
16,
998,
16,
443,
31,
3639,
1525,
302,
6495,
273,
3698,
18,
9056,
30220,
6495,
12,
72,
1769,
3639,
509,
302,
20,
273,
261,
474,
21433,
72,
6495,
4080,
3847,
1769,
3639,
509,
302,
21,
273,
261,
474,
21433,
72,
6495,
1769,
3639,
998,
273,
302,
20,
473,
478,
8836,
67,
4455,
31,
3639,
302,
20,
12058,
374,
92,
27,
18217,
74,
31,
282,
1748,
2424,
1573,
2831,
16,
1492,
732,
2305,
1195,
3639,
309,
14015,
323,
273,
261,
474,
21433,
72,
20,
4080,
7784,
67,
4012,
3719,
480,
374,
13,
5411,
998,
5626,
7784,
67,
959,
79,
21,
31,
3639,
309,
14015,
93,
273,
302,
21,
13,
480,
374,
13,
288,
5411,
417,
273,
437,
20,
6789,
12,
93,
1769,
5411,
677,
4080,
33,
417,
31,
5411,
309,
261,
79,
480,
374,
13,
288,
7734,
10769,
6495,
12,
6789,
16,
1059,
16,
677,
571,
998,
2296,
261,
1578,
300,
417,
10019,
7734,
998,
23359,
417,
31,
5411,
289,
5411,
469,
7734,
10769,
6495,
12,
6789,
16,
1059,
16,
677,
1769,
5411,
10769,
6495,
12,
6789,
16,
374,
16,
998,
1769,
3639,
289,
3639,
469,
288,
565,
368,
3639,
6756,
67,
8423,
11539,
12,
94,
1769,
5411,
417,
273,
437,
20,
6789,
12,
94,
1769,
5411,
998,
4080,
33,
417,
31,
5411,
10769,
6495,
12,
6789,
16,
1059,
16,
998,
1769,
5411,
417,
1011,
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,
302,
22,
70,
12,
9056,
302,
16,
1160,
4125,
63,
5717,
565,
288,
3639,
509,
425,
16,
417,
16,
677,
16,
998,
16,
443,
31,
3639,
1525,
302,
6495,
273,
3698,
18,
9056,
30220,
6495,
12,
72,
1769,
3639,
509,
302,
20,
273,
261,
474,
21433,
72,
6495,
4080,
3847,
1769,
3639,
509,
302,
21,
273,
261,
474,
21433,
72,
6495,
1769,
3639,
998,
273,
302,
20,
473,
478,
8836,
67,
4455,
31,
3639,
302,
20,
12058,
374,
92,
27,
18217,
74,
31,
282,
1748,
2424,
1573,
2831,
16,
1492,
732,
2305,
1195,
3639,
309,
14015,
323,
273,
261,
474,
21433,
72,
20,
4080,
7784,
67,
4012,
3719,
480,
374,
13,
5411,
998,
5626,
7784,
67,
2
] |
name1 = i1.getProductName();
|
name1 = i1.getFeatureLabel();
|
private void sortByProvider(){ /* If sorting in reverse, info array is already sorted forward by * key so the info array simply needs to be reversed. */ if (reverseSort){ java.util.List infoList = Arrays.asList(featuresInfo); Collections.reverse(infoList); for (int i=0; i< featuresInfo.length; i++){ featuresInfo[i] = (AboutInfo)infoList.get(i); } } else { // Sort ascending Arrays.sort(featuresInfo, new Comparator() { Collator coll = Collator.getInstance(Locale.getDefault()); public int compare(Object a, Object b) { AboutInfo i1, i2; String provider1, provider2, name1, name2; i1 = (AboutInfo)a; provider1 = i1.getProviderName(); name1 = i1.getProductName(); if (provider1 == null) provider1 = ""; if (name1 == null) name1 = ""; i2 = (AboutInfo)b; provider2 = i2.getProviderName(); name2 = i2.getProductName(); if (provider2 == null) provider2 = ""; if (name2 == null) name2 = ""; if (provider1.equals(provider2)) return coll.compare(name1, name2); else return coll.compare(provider1, provider2); } }); } }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/ea54731eb383911fc4c34e3f9e00e33dad9ed4fb/AboutFeaturesDialog.java/clean/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/dialogs/AboutFeaturesDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
14021,
2249,
1435,
95,
202,
202,
20308,
971,
9602,
316,
4219,
16,
1123,
526,
353,
1818,
3115,
5104,
635,
1082,
380,
498,
1427,
326,
1123,
526,
8616,
4260,
358,
506,
9553,
18,
1082,
1195,
202,
202,
430,
261,
9845,
4416,
15329,
1082,
202,
6290,
18,
1367,
18,
682,
1123,
682,
273,
5647,
18,
345,
682,
12,
7139,
966,
1769,
1082,
202,
15150,
18,
9845,
12,
1376,
682,
1769,
1082,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
4467,
966,
18,
2469,
31,
277,
27245,
95,
9506,
202,
7139,
966,
63,
77,
65,
273,
261,
24813,
966,
13,
1376,
682,
18,
588,
12,
77,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
288,
1082,
202,
759,
5928,
13976,
1082,
202,
12726,
18,
3804,
12,
7139,
966,
16,
394,
13359,
1435,
288,
9506,
202,
13535,
639,
4508,
273,
17596,
639,
18,
588,
1442,
12,
3916,
18,
588,
1868,
10663,
9506,
202,
482,
509,
3400,
12,
921,
279,
16,
1033,
324,
13,
288,
6862,
202,
24813,
966,
277,
21,
16,
277,
22,
31,
6862,
202,
780,
2893,
21,
16,
2893,
22,
16,
508,
21,
16,
508,
22,
31,
6862,
202,
77,
21,
273,
261,
24813,
966,
13,
69,
31,
6862,
202,
6778,
21,
273,
277,
21,
18,
588,
31192,
5621,
6862,
202,
529,
21,
273,
277,
21,
18,
588,
4133,
461,
5621,
6862,
202,
430,
261,
6778,
21,
422,
446,
13,
25083,
202,
6778,
21,
273,
1408,
31,
6862,
202,
430,
261,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
14021,
2249,
1435,
95,
202,
202,
20308,
971,
9602,
316,
4219,
16,
1123,
526,
353,
1818,
3115,
5104,
635,
1082,
380,
498,
1427,
326,
1123,
526,
8616,
4260,
358,
506,
9553,
18,
1082,
1195,
202,
202,
430,
261,
9845,
4416,
15329,
1082,
202,
6290,
18,
1367,
18,
682,
1123,
682,
273,
5647,
18,
345,
682,
12,
7139,
966,
1769,
1082,
202,
15150,
18,
9845,
12,
1376,
682,
1769,
1082,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
4467,
966,
18,
2469,
31,
277,
27245,
95,
9506,
202,
7139,
966,
63,
77,
65,
273,
261,
24813,
966,
13,
1376,
682,
18,
588,
12,
77,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
2
] |
m_module = module;
|
public void createdModule( String name, String niceName, String actionClass, String description, String version, String authorName, String authorEmail, String dateCreated, String userInstalled, String dateInstalled) { String moduleName; if (!CmsStringUtil.isValidJavaClassName(name)) { // ensure backward compatibility with old (5.0) module names LOG.error(Messages.get().key( Messages.LOG_INVALID_MOD_NAME_IMPORTED_1, name)); moduleName = makeValidJavaClassName(name); LOG.error(Messages.get().key( Messages.LOG_CORRECTED_MOD_NAME_1, moduleName)); } else { moduleName = name; } // parse the module version CmsModuleVersion moduleVersion = new CmsModuleVersion(version); // parse date created long moduleDateCreated = CmsModule.C_DEFAULT_DATE; if (dateCreated != null) { try { moduleDateCreated = CmsDateUtil.parseHeaderDate(dateCreated); } catch (ParseException e) { // noop } } // parse date installed long moduleDateInstalled = CmsModule.C_DEFAULT_DATE; if (dateInstalled != null) { try { moduleDateInstalled = CmsDateUtil.parseHeaderDate(dateInstalled); } catch (ParseException e1) { // noop } } if (m_oldModule) { // make sure module path is added to resources for "old" (5.0.x) modules String modulePath = I_CmsWpConstants.C_VFS_PATH_MODULES + name + "/"; m_resources.add(modulePath); } // now create the module CmsModule module = new CmsModule( moduleName, niceName, actionClass, description, moduleVersion, authorName, authorEmail, moduleDateCreated, userInstalled, moduleDateInstalled, m_dependencies, m_exportPoints, m_resources, m_parameters); // add the module to the list of configured modules m_module = module; // set the additional resource types; m_module.setResourceTypes(m_resourceTypes); // set the additional explorertypes m_module.setExplorerTypes(m_explorerTypeSettings); }
|
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/a7ffa3c192d7068f584b0a3a844b88bdb2d3145a/CmsModuleXmlHandler.java/clean/src/org/opencms/module/CmsModuleXmlHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2522,
3120,
12,
3639,
514,
508,
16,
3639,
514,
13752,
461,
16,
3639,
514,
1301,
797,
16,
3639,
514,
2477,
16,
3639,
514,
1177,
16,
3639,
514,
2869,
461,
16,
3639,
514,
2869,
4134,
16,
3639,
514,
1509,
6119,
16,
3639,
514,
729,
16747,
16,
3639,
514,
1509,
16747,
13,
288,
3639,
514,
9780,
31,
3639,
309,
16051,
4747,
13565,
18,
26810,
5852,
3834,
12,
529,
3719,
288,
5411,
368,
3387,
12555,
8926,
598,
1592,
261,
25,
18,
20,
13,
1605,
1257,
5411,
2018,
18,
1636,
12,
5058,
18,
588,
7675,
856,
12,
7734,
4838,
18,
4842,
67,
9347,
67,
6720,
67,
1985,
67,
30667,
67,
21,
16,
508,
10019,
5411,
9780,
273,
1221,
1556,
5852,
3834,
12,
529,
1769,
5411,
2018,
18,
1636,
12,
5058,
18,
588,
7675,
856,
12,
7734,
4838,
18,
4842,
67,
9428,
4512,
2056,
67,
6720,
67,
1985,
67,
21,
16,
9780,
10019,
10792,
289,
469,
288,
5411,
9780,
273,
508,
31,
3639,
289,
3639,
368,
1109,
326,
1605,
1177,
3639,
2149,
3120,
1444,
1605,
1444,
273,
394,
2149,
3120,
1444,
12,
1589,
1769,
3639,
368,
1109,
1509,
2522,
3639,
1525,
1605,
1626,
6119,
273,
2149,
3120,
18,
39,
67,
5280,
67,
4594,
31,
3639,
309,
261,
712,
6119,
480,
446,
13,
288,
5411,
775,
288,
7734,
1605,
1626,
6119,
273,
2149,
1626,
1304,
18,
2670,
1864,
1626,
12,
712,
6119,
1769,
5411,
289,
1044,
261,
13047,
425,
13,
288,
7734,
368,
17065,
5411,
289,
3639,
289,
3639,
368,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2522,
3120,
12,
3639,
514,
508,
16,
3639,
514,
13752,
461,
16,
3639,
514,
1301,
797,
16,
3639,
514,
2477,
16,
3639,
514,
1177,
16,
3639,
514,
2869,
461,
16,
3639,
514,
2869,
4134,
16,
3639,
514,
1509,
6119,
16,
3639,
514,
729,
16747,
16,
3639,
514,
1509,
16747,
13,
288,
3639,
514,
9780,
31,
3639,
309,
16051,
4747,
13565,
18,
26810,
5852,
3834,
12,
529,
3719,
288,
5411,
368,
3387,
12555,
8926,
598,
1592,
261,
25,
18,
20,
13,
1605,
1257,
5411,
2018,
18,
1636,
12,
5058,
18,
588,
7675,
856,
12,
7734,
4838,
18,
4842,
67,
9347,
67,
6720,
67,
1985,
67,
30667,
67,
21,
16,
508,
10019,
5411,
9780,
273,
1221,
1556,
5852,
2
] |
|
if (opt < (args != null ? args.length : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.length + " for " + opt + ")");
|
if (opt < (args != null ? args.size() : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.size() + " for " + opt + ")");
|
public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby.getRubyScope().push(); if (getRefValue() != null) { // savedCref = ruby.getCRef(); s.a. ruby.setCRef(getRefValue()); ruby.getRubyFrame().setCbase(getRefValue()); } if (getTable() != null) { // ? +++ // List tmpList = Collections.nCopies(body.nd_tbl()[0].intValue() + 1, getRuby().getNil()); // ? --- // localVarsList = new ShiftableList(new ArrayList(tmpList)); // localVarsList.set(0, body); // localVarsList.shift(1); localVarsList = new RubyPointer(ruby.getNil(), getTable().getId(0).intValue() + 1); localVarsList.set(0, this); // +++ // localVarsList.set(3, argsList, argsList.size()); // --- localVarsList.inc(); ruby.getRubyScope().setLocalVars(localVarsList); ruby.getRubyScope().setLocalTbl(getTable()); } else { localVarsList = ruby.getRubyScope().getLocalVars(); ruby.getRubyScope().setLocalVars(null); ruby.getRubyScope().setLocalTbl(null); } Node body = getNextNode(); RubyVarmap.push(ruby); // PUSH_TAG(PROT_FUNC); RubyObject result = ruby.getNil(); try { Node node = null; int i; if (body.getType() == Constants.NODE_ARGS) { node = body; body = null; } else if (body.getType() == Constants.NODE_BLOCK) { node = body.getHeadNode(); body = body.getNextNode(); } if (node != null) { if (node.getType() != Constants.NODE_ARGS) { // rb_bug("no argument-node"); } i = node.getCount(); if (i > (args != null ? args.length : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.length + " for " + i + ")"); } if (node.getRest() == -1) { int opt = i; Node optNode = node.getOptNode(); while (optNode != null) { opt++; optNode = optNode.getNextNode(); } if (opt < (args != null ? args.length : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.length + " for " + opt + ")"); } ruby.getRubyFrame().setArgs(localVarsList != null ? localVarsList.getPointer(2) : null); } if (localVarsList != null) { if (i > 0) { localVarsList.inc(2); for (int j = 0; j < i; j++ ) { localVarsList.set(j, argsList.get(j)); } localVarsList.dec(2); } argsList.inc(i); if (node.getOptNode() != null) { Node optNode = node.getOptNode(); while (optNode != null && argsList.size() != 0) { ((AssignableNode)optNode.getHeadNode()).assign(ruby, recv, argsList.getRuby(0), true); argsList.inc(1); optNode = optNode.getNextNode(); } recv.eval(optNode); } if (node.getRest() >= 0) { RubyArray array = null; if (argsList.size() > 0) { array = RubyArray.m_newArray(ruby, argsList); } else { array = RubyArray.m_newArray(ruby, 0); } localVarsList.set(node.getRest(), array); } } } result = recv.eval(body); } catch (ReturnException rExcptn) { } RubyVarmap.pop(ruby); ruby.getRubyScope().pop(); ruby.setCRef(savedCref); return result; }
|
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
745,
12,
54,
10340,
22155,
16,
19817,
921,
10665,
16,
19817,
548,
612,
16,
19817,
921,
8526,
833,
16,
1250,
1158,
8051,
13,
288,
3639,
385,
1957,
907,
5198,
39,
1734,
273,
22155,
18,
588,
39,
1957,
5621,
368,
965,
15,
273,
446,
31,
3639,
368,
5848,
8526,
1191,
5555,
273,
446,
31,
7734,
19817,
4926,
833,
682,
273,
394,
19817,
4926,
12,
1968,
1769,
3639,
19817,
4926,
1191,
5555,
682,
273,
446,
31,
7734,
22155,
18,
588,
54,
10340,
3876,
7675,
6206,
5621,
7734,
309,
261,
588,
30556,
1435,
480,
446,
13,
288,
5411,
368,
5198,
39,
1734,
273,
22155,
18,
588,
39,
1957,
5621,
272,
18,
69,
18,
5411,
22155,
18,
542,
39,
1957,
12,
588,
30556,
10663,
5411,
22155,
18,
588,
54,
10340,
3219,
7675,
542,
39,
1969,
12,
588,
30556,
10663,
3639,
289,
3639,
309,
261,
588,
1388,
1435,
480,
446,
13,
288,
13491,
368,
692,
965,
15,
5411,
368,
987,
1853,
682,
273,
5737,
18,
82,
15670,
12,
3432,
18,
4880,
67,
16187,
1435,
63,
20,
8009,
474,
620,
1435,
397,
404,
16,
4170,
10340,
7675,
588,
12616,
10663,
5411,
368,
692,
9948,
5411,
368,
1191,
5555,
682,
273,
394,
2638,
430,
2121,
682,
12,
2704,
2407,
12,
5645,
682,
10019,
5411,
368,
1191,
5555,
682,
18,
542,
12,
20,
16,
1417,
1769,
5411,
368,
1191,
5555,
682,
18,
4012,
12,
21,
1769,
13491,
1191,
5555,
682,
273,
394,
19817,
4926,
12,
27768,
18,
588,
12616,
9334,
5638,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
745,
12,
54,
10340,
22155,
16,
19817,
921,
10665,
16,
19817,
548,
612,
16,
19817,
921,
8526,
833,
16,
1250,
1158,
8051,
13,
288,
3639,
385,
1957,
907,
5198,
39,
1734,
273,
22155,
18,
588,
39,
1957,
5621,
368,
965,
15,
273,
446,
31,
3639,
368,
5848,
8526,
1191,
5555,
273,
446,
31,
7734,
19817,
4926,
833,
682,
273,
394,
19817,
4926,
12,
1968,
1769,
3639,
19817,
4926,
1191,
5555,
682,
273,
446,
31,
7734,
22155,
18,
588,
54,
10340,
3876,
7675,
6206,
5621,
7734,
309,
261,
588,
30556,
1435,
480,
446,
13,
288,
5411,
368,
5198,
39,
1734,
273,
22155,
18,
588,
39,
1957,
5621,
272,
18,
69,
18,
5411,
22155,
18,
542,
39,
2
] |
+ " property on: " + parentObject + " to value: "
|
+ " property on: " + safeToString(parentObject) + " to value: "
|
public void doTag(XMLOutput output) throws JellyTagException { Project project = getAntProject(); String tagName = getTagName(); Object parentObject = findBeanAncestor(); Object parentTask = findParentTaskObject(); // lets assume that Task instances are not nested inside other Task instances // for example <manifest> inside a <jar> should be a nested object, where as // if the parent is not a Task the <manifest> should create a ManifestTask // // also its possible to have a root Ant tag which isn't a task, such as when // defining <fileset id="...">...</fileset> Object nested = null; if (parentObject != null && !( parentTask instanceof TaskContainer) ) { nested = createNestedObject( parentObject, tagName ); } if (nested == null) { task = createTask( tagName ); if (task != null) { if ( log.isDebugEnabled() ) { log.debug( "Creating an ant Task for name: " + tagName ); } // the following algorithm follows the lifetime of a tag // http://jakarta.apache.org/ant/manual/develop.html#writingowntask // kindly recommended by Stefan Bodewig // create and set its project reference if ( task instanceof TaskAdapter ) { setObject( ((TaskAdapter)task).getProxy() ); } else { setObject( task ); } // set the task ID if one is given Object id = getAttributes().remove( "id" ); if ( id != null ) { project.addReference( (String) id, task ); } // ### we might want to spoof a Target setting here // now lets initialize task.init(); // now lets invoke the body to call all the createXXX() or addXXX() methods String body = getBodyText(); // now lets set any attributes of this tag... setBeanProperties(); // now lets set the addText() of the body content, if its applicaable Method method = MethodUtils.getAccessibleMethod( task.getClass(), "addText", addTaskParamTypes ); if (method != null) { Object[] args = { body }; try { method.invoke(this.task, args); } catch (IllegalAccessException e) { throw new JellyTagException(e); } catch (InvocationTargetException e) { throw new JellyTagException(e); } } // now lets set all the attributes of the child elements // XXXX: to do! // now we're ready to invoke the task // XXX: should we call execute() or perform()? // according to org.apache.tools.ant.Main, redirect stdout and stderr PrintStream initialOut = System.out; PrintStream initialErr = System.err; PrintStream newOut = new PrintStream(new DemuxOutputStream(project, false)); PrintStream newErr = new PrintStream(new DemuxOutputStream(project, true)); try { System.setOut(newOut); System.setErr(newErr); task.perform(); } finally { System.setOut(initialOut); System.setErr(initialErr); } } } if (task == null) { if (nested == null) { if ( log.isDebugEnabled() ) { log.debug( "Trying to create a data type for tag: " + tagName ); } nested = createDataType( tagName ); } else { if ( log.isDebugEnabled() ) { log.debug( "Created nested property tag: " + tagName ); } } if ( nested != null ) { setObject( nested ); // set the task ID if one is given Object id = getAttributes().remove( "id" ); if ( id != null ) { project.addReference( (String) id, nested ); } // TODO: work out why we always set the name attribute. // See JELLY-105.// try{// PropertyUtils.setProperty( nested, "name", tagName );// }// catch (Exception e) {// log.warn( "Caught exception setting nested name: " + tagName, e );// } // now lets invoke the body String body = getBodyText(); // now lets set any attributes of this tag... setBeanProperties(); // now lets add it to its parent if ( parentObject != null ) { IntrospectionHelper ih = IntrospectionHelper.getHelper( parentObject.getClass() ); try { if (log.isDebugEnabled()) { log.debug("About to set the: " + tagName + " property on: " + parentObject + " to value: " + nested + " with type: " + nested.getClass() ); } ih.storeElement( project, parentObject, nested, tagName.toLowerCase() ); } catch (Exception e) { log.warn( "Caught exception setting nested: " + tagName, e ); } // now try to set the property for good measure // as the storeElement() method does not // seem to call any setter methods of non-String types try { BeanUtils.setProperty( parentObject, tagName, nested ); } catch (Exception e) { log.debug("Caught exception trying to set property: " + tagName + " on: " + parentObject); } } } else { log.warn("Could not convert tag: " + tagName + " into an Ant task, data type or property"); // lets treat this tag as static XML... StaticTag tag = new StaticTag("", tagName, tagName); tag.setParent( getParent() ); tag.setBody( getBody() ); tag.setContext(context); for (Iterator iter = getAttributes().entrySet().iterator(); iter.hasNext();) { Map.Entry entry = (Map.Entry) iter.next(); String name = (String) entry.getKey(); Object value = entry.getValue(); tag.setAttribute(name, value); } tag.doTag(output); } } }
|
51800 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51800/be25a8752619eaf1e25c6b182f12d0837adf9fc5/AntTag.java/buggy/jelly-tags/ant/src/java/org/apache/commons/jelly/tags/ant/AntTag.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
1805,
12,
4201,
1447,
876,
13,
1216,
804,
292,
715,
1805,
503,
288,
3639,
5420,
1984,
273,
4506,
496,
4109,
5621,
3639,
514,
7196,
273,
336,
8520,
5621,
3639,
1033,
982,
921,
273,
1104,
3381,
15637,
5621,
3639,
1033,
982,
2174,
273,
1104,
3054,
2174,
921,
5621,
3639,
368,
14557,
6750,
716,
3837,
3884,
854,
486,
4764,
4832,
1308,
3837,
3884,
3639,
368,
364,
3454,
411,
14357,
34,
4832,
279,
411,
11930,
34,
1410,
506,
279,
4764,
733,
16,
1625,
487,
3639,
368,
309,
326,
982,
353,
486,
279,
3837,
326,
411,
14357,
34,
1410,
752,
279,
15443,
2174,
3639,
368,
3639,
368,
2546,
2097,
3323,
358,
1240,
279,
1365,
18830,
1047,
1492,
5177,
1404,
279,
1562,
16,
4123,
487,
1347,
3639,
368,
9364,
411,
2354,
278,
612,
1546,
7070,
34,
2777,
1757,
2354,
278,
34,
3639,
1033,
4764,
273,
446,
31,
3639,
309,
261,
2938,
921,
480,
446,
597,
401,
12,
982,
2174,
1276,
3837,
2170,
13,
262,
288,
5411,
4764,
273,
752,
8649,
921,
12,
982,
921,
16,
7196,
11272,
3639,
289,
3639,
309,
261,
12985,
422,
446,
13,
288,
5411,
1562,
273,
752,
2174,
12,
7196,
11272,
5411,
309,
261,
4146,
480,
446,
13,
288,
7734,
309,
261,
613,
18,
291,
2829,
1526,
1435,
262,
288,
10792,
613,
18,
4148,
12,
315,
11092,
392,
17841,
3837,
364,
508,
30,
315,
397,
7196,
11272,
7734,
289,
7734,
368,
326,
3751,
4886,
13040,
326,
12486,
434,
279,
1047,
7734,
368,
1062,
2207,
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,
1805,
12,
4201,
1447,
876,
13,
1216,
804,
292,
715,
1805,
503,
288,
3639,
5420,
1984,
273,
4506,
496,
4109,
5621,
3639,
514,
7196,
273,
336,
8520,
5621,
3639,
1033,
982,
921,
273,
1104,
3381,
15637,
5621,
3639,
1033,
982,
2174,
273,
1104,
3054,
2174,
921,
5621,
3639,
368,
14557,
6750,
716,
3837,
3884,
854,
486,
4764,
4832,
1308,
3837,
3884,
3639,
368,
364,
3454,
411,
14357,
34,
4832,
279,
411,
11930,
34,
1410,
506,
279,
4764,
733,
16,
1625,
487,
3639,
368,
309,
326,
982,
353,
486,
279,
3837,
326,
411,
14357,
34,
1410,
752,
279,
15443,
2174,
3639,
368,
3639,
368,
2546,
2097,
3323,
358,
1240,
279,
1365,
18830,
1047,
1492,
5177,
1404,
2
] |
*/
|
public void drag(int dx, int dy) { if(_dragLeftMostFig == null || _dragTopMostFig == null) { return; } Rectangle dirtyRegion = _dragLeftMostFig.getBounds(); Rectangle figBounds = _dragLeftMostFig.getBounds(); dx = Math.max(-_dragLeftMostFig.getX(), dx); dy = Math.max(-_dragTopMostFig.getY(), dy); int nodeCount = _draggingNodes.size(); for(int i = 0; i < nodeCount; ++i) { FigNode figNode = (FigNode)_draggingNodes.get(i); figNode.getBounds(figBounds); dirtyRegion.add(figBounds.x, figBounds.y); dirtyRegion.add(figBounds.x + dx, figBounds.y + dy); dirtyRegion.add(figBounds.x + figBounds.width, figBounds.y + figBounds.height); dirtyRegion.add(figBounds.x + figBounds.width + dx, figBounds.y + figBounds.height + dy); figNode.superTranslate(dx, dy); // the next one will confuse everything if elements and annotations are selected and moved //figNode.translateAnnotations(); } int otherCount = _draggingOthers.size(); for(int i = 0; i < otherCount; ++i) { Fig fig = (Fig)_draggingOthers.get(i); fig.getBounds(figBounds); dirtyRegion.add(figBounds.x, figBounds.y); dirtyRegion.add(figBounds.x + dx, figBounds.y + dy); dirtyRegion.add(figBounds.x + figBounds.width, figBounds.y + figBounds.height); dirtyRegion.add(figBounds.x + figBounds.width + dx, figBounds.y + figBounds.height + dy); fig.translate(dx, dy); fig.translateAnnotations(); } int movingEdgeCount = _draggingMovingEdges.size(); for(int i = 0; i < movingEdgeCount; i++) { FigEdge figEdge = (FigEdge)_draggingMovingEdges.get(i); figEdge.getBounds(figBounds); dirtyRegion.add(figBounds.x, figBounds.y); dirtyRegion.add(figBounds.x + dx, figBounds.y + dy); dirtyRegion.add(figBounds.x + figBounds.width, figBounds.y + figBounds.height); dirtyRegion.add(figBounds.x + figBounds.width + dx, figBounds.y + figBounds.height + dy); figEdge.translateEdge(dx, dy); figEdge.translateAnnotations(); } int nonMovingEdgeCount = _draggingNonMovingEdges.size(); for(int i = 0; i < nonMovingEdgeCount; i++) { FigEdge figEdge = (FigEdge)_draggingNonMovingEdges.get(i); figEdge.getBounds(figBounds); dirtyRegion.add(figBounds); figEdge.computeRoute(); figEdge.getBounds(figBounds); dirtyRegion.add(figBounds); figEdge.translateAnnotations(); } /* // GEF is so stinking, absolutly rotten, ... // There used to be the whole diagram repainted. // Now here's a hack that repaints only the affected region: // First I assume that all selected figs are in the same layer, get the editors for this layer // rescale the region according to the editor scale, and repaint only the result. // first add some extra pixels for the selection handles and arrow heads (which are not included in getBounds()) int extraDirt = 16; dirtyRegion.x -= extraDirt; dirtyRegion.y -= extraDirt; dirtyRegion.width += 2 * extraDirt; dirtyRegion.height += 2 * extraDirt; Layer layer = _dragLeftMostFig.getLayer(); //try to get the layer of the owning fig (if there is one) in case layer is null. if(layer == null) { if(_dragLeftMostFig.getOwner() instanceof Fig) { layer = ((Fig)_dragLeftMostFig.getOwner()).getLayer(); } } if(layer != null) { List editors = layer.getEditors(); int editorCount = editors.size(); Rectangle dirtyRegionScaled = new Rectangle(); for(int editorIndex = 0; editorIndex < editorCount; ++editorIndex) { Editor editor = (Editor)editors.get(editorIndex); double editorScale = editor.getScale(); dirtyRegionScaled.x = (int)Math.floor(dirtyRegion.x * editorScale); dirtyRegionScaled.y = (int)Math.floor(dirtyRegion.y * editorScale); dirtyRegionScaled.width = (int)Math.floor(dirtyRegion.width * editorScale) + 1; dirtyRegionScaled.height = (int)Math.floor(dirtyRegion.height * editorScale) + 1; editor.damaged(dirtyRegionScaled); } } else { System.out.println("Selection manager: layer is null"); } */ // JJones - the above hack does not work. Some figs draw outside // of their bounds (FigCube for example), and the "extraDirt" // may or may not take care of that extra drawing (for FigCube it // does not). // Therefore I'm reverting back to drawing the whole diagram. // (see Issue #49) _editor.damageAll(); }
|
1732 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1732/84074d6d707776a344fda34d49e8e07fe80b1568/SelectionManager.java/buggy/src/org/tigris/gef/base/SelectionManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
8823,
12,
474,
6633,
16,
509,
7732,
13,
288,
3639,
309,
24899,
15997,
3910,
18714,
42,
360,
422,
446,
747,
389,
15997,
3401,
18714,
42,
360,
422,
446,
13,
288,
5411,
327,
31,
3639,
289,
3639,
13264,
9603,
5165,
273,
389,
15997,
3910,
18714,
42,
360,
18,
588,
5694,
5621,
3639,
13264,
4291,
5694,
273,
389,
15997,
3910,
18714,
42,
360,
18,
588,
5694,
5621,
3639,
6633,
273,
2361,
18,
1896,
19236,
67,
15997,
3910,
18714,
42,
360,
18,
588,
60,
9334,
6633,
1769,
3639,
7732,
273,
2361,
18,
1896,
19236,
67,
15997,
3401,
18714,
42,
360,
18,
588,
61,
9334,
7732,
1769,
3639,
509,
756,
1380,
273,
389,
15997,
1998,
3205,
18,
1467,
5621,
3639,
364,
12,
474,
277,
273,
374,
31,
277,
411,
756,
1380,
31,
965,
77,
13,
288,
5411,
478,
360,
907,
4291,
907,
273,
261,
42,
360,
907,
13,
67,
15997,
1998,
3205,
18,
588,
12,
77,
1769,
5411,
4291,
907,
18,
588,
5694,
12,
470,
5694,
1769,
5411,
9603,
5165,
18,
1289,
12,
470,
5694,
18,
92,
16,
4291,
5694,
18,
93,
1769,
5411,
9603,
5165,
18,
1289,
12,
470,
5694,
18,
92,
397,
6633,
16,
4291,
5694,
18,
93,
397,
7732,
1769,
5411,
9603,
5165,
18,
1289,
12,
470,
5694,
18,
92,
397,
4291,
5694,
18,
2819,
16,
4291,
5694,
18,
93,
397,
4291,
5694,
18,
4210,
1769,
5411,
9603,
5165,
18,
1289,
12,
470,
5694,
18,
92,
397,
4291,
5694,
18,
2819,
397,
6633,
16,
4291,
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,
8823,
12,
474,
6633,
16,
509,
7732,
13,
288,
3639,
309,
24899,
15997,
3910,
18714,
42,
360,
422,
446,
747,
389,
15997,
3401,
18714,
42,
360,
422,
446,
13,
288,
5411,
327,
31,
3639,
289,
3639,
13264,
9603,
5165,
273,
389,
15997,
3910,
18714,
42,
360,
18,
588,
5694,
5621,
3639,
13264,
4291,
5694,
273,
389,
15997,
3910,
18714,
42,
360,
18,
588,
5694,
5621,
3639,
6633,
273,
2361,
18,
1896,
19236,
67,
15997,
3910,
18714,
42,
360,
18,
588,
60,
9334,
6633,
1769,
3639,
7732,
273,
2361,
18,
1896,
19236,
67,
15997,
3401,
18714,
42,
360,
18,
588,
61,
9334,
7732,
1769,
3639,
509,
756,
1380,
273,
389,
15997,
1998,
3205,
18,
1467,
5621,
3639,
2
] |
|
globalState.getErr().print("js> "); globalState.getErr().flush();
|
global.getErr().print("js> "); global.getErr().flush();
|
public static void processSource(Context cx, String filename) { if (filename == null || filename.equals("-")) { // Use the interpreter for interactive input cx.setOptimizationLevel(-1); BufferedReader in = new BufferedReader (new InputStreamReader(globalState.getIn())); int lineno = 1; boolean hitEOF = false; while (!hitEOF) { int startline = lineno; if (filename == null) globalState.getErr().print("js> "); globalState.getErr().flush(); String source = ""; // Collect lines of source to compile. while (true) { String newline; try { newline = in.readLine(); } catch (IOException ioe) { globalState.getErr().println(ioe.toString()); break; } if (newline == null) { hitEOF = true; break; } source = source + newline + "\n"; lineno++; if (cx.stringIsCompilableUnit(source)) break; } Reader reader = new StringReader(source); Object result = evaluateReader(cx, scope, reader, "<stdin>", startline); if (result != cx.getUndefinedValue()) { try { globalState.getErr().println(cx.toString(result)); } catch (EcmaError ee) { String msg = ToolErrorReporter.getMessage( "msg.uncaughtJSException", ee.toString()); exitCode = EXITCODE_RUNTIME_ERROR; if (ee.getSourceName() != null) { Context.reportError(msg, ee.getSourceName(), ee.getLineNumber(), ee.getLineSource(), ee.getColumnNumber()); } else { Context.reportError(msg); } } } NativeArray h = globalState.history; h.put((int)h.jsGet_length(), h, source); } globalState.getErr().println(); } else processFile(cx, scope, filename); System.gc(); }
|
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/dcc50b2477b2063c90c140b044bec59ee39d93a0/Main.java/clean/org/mozilla/javascript/tools/shell/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1207,
1830,
12,
1042,
9494,
16,
514,
1544,
13,
288,
3639,
309,
261,
3459,
422,
446,
747,
1544,
18,
14963,
2932,
10951,
3719,
288,
5411,
368,
2672,
326,
16048,
364,
12625,
810,
5411,
9494,
18,
542,
13930,
1588,
2355,
19236,
21,
1769,
13491,
10633,
316,
273,
394,
10633,
7734,
261,
2704,
15322,
12,
6347,
1119,
18,
588,
382,
1435,
10019,
5411,
509,
7586,
273,
404,
31,
5411,
1250,
6800,
12706,
273,
629,
31,
5411,
1323,
16051,
15989,
12706,
13,
288,
7734,
509,
787,
1369,
273,
7586,
31,
7734,
309,
261,
3459,
422,
446,
13,
10792,
2552,
1119,
18,
588,
2524,
7675,
1188,
2932,
2924,
34,
315,
1769,
7734,
2552,
1119,
18,
588,
2524,
7675,
11330,
5621,
7734,
514,
1084,
273,
1408,
31,
4766,
565,
368,
9302,
2362,
434,
1084,
358,
4074,
18,
7734,
1323,
261,
3767,
13,
288,
10792,
514,
9472,
31,
10792,
775,
288,
13491,
9472,
273,
316,
18,
896,
1670,
5621,
10792,
289,
10792,
1044,
261,
14106,
10847,
13,
288,
13491,
2552,
1119,
18,
588,
2524,
7675,
8222,
12,
1594,
73,
18,
10492,
10663,
13491,
898,
31,
10792,
289,
10792,
309,
261,
22861,
422,
446,
13,
288,
13491,
6800,
12706,
273,
638,
31,
13491,
898,
31,
10792,
289,
10792,
1084,
273,
1084,
397,
9472,
397,
1548,
82,
14432,
10792,
7586,
9904,
31,
10792,
309,
261,
71,
92,
18,
1080,
2520,
2945,
330,
429,
2802,
12,
3168,
3719,
13491,
898,
31,
7734,
289,
7734,
5393,
2949,
273,
394,
26227,
12,
3168,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1207,
1830,
12,
1042,
9494,
16,
514,
1544,
13,
288,
3639,
309,
261,
3459,
422,
446,
747,
1544,
18,
14963,
2932,
10951,
3719,
288,
5411,
368,
2672,
326,
16048,
364,
12625,
810,
5411,
9494,
18,
542,
13930,
1588,
2355,
19236,
21,
1769,
13491,
10633,
316,
273,
394,
10633,
7734,
261,
2704,
15322,
12,
6347,
1119,
18,
588,
382,
1435,
10019,
5411,
509,
7586,
273,
404,
31,
5411,
1250,
6800,
12706,
273,
629,
31,
5411,
1323,
16051,
15989,
12706,
13,
288,
7734,
509,
787,
1369,
273,
7586,
31,
7734,
309,
261,
3459,
422,
446,
13,
10792,
2552,
1119,
18,
588,
2524,
7675,
1188,
2932,
2924,
34,
315,
1769,
7734,
2552,
1119,
18,
588,
2524,
7675,
11330,
2
] |
}
|
}
|
getVisible(){ return visibleAmount;}
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/bdd0bca7f46f1e8a19b790749e32f82de6de3685/Scrollbar.java/clean/core/src/classpath/java/java/awt/Scrollbar.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
31564,
1435,
95,
225,
327,
6021,
6275,
31,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
31564,
1435,
95,
225,
327,
6021,
6275,
31,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ps.println("\tpublic org.omg.CORBA.TypeCode _type ()"); ps.println("\t{"); ps.println("\t\treturn " + className + "Helper.type ();"); ps.println("\t}");
|
out.println("\tpublic org.omg.CORBA.TypeCode _type ()"); out.println("\t{"); out.println("\t\treturn " + className + "Helper.type ();"); out.println("\t}");
|
private void printHolderClass(String className, PrintWriter ps) { if (Environment.JAVA14 && pack_name.equals("")) lexer.emit_warn ("No package defined for " + className + " - illegal in JDK1.4", token); if (!pack_name.equals("")) ps.println("package " + pack_name + ";\n"); String type = typeName(); printImport(ps); printClassComment("sequence", className, ps); ps.println("public" + parser.getFinalString() + " class " + className + "Holder"); ps.println("\timplements org.omg.CORBA.portable.Streamable"); ps.println("{"); ps.println("\tpublic " + type + " value;"); ps.println("\tpublic " + className + "Holder ()"); ps.println("\t{"); ps.println("\t}"); ps.println("\tpublic " + className + "Holder (final " + type + " initial)\n\t{"); ps.println("\t\tvalue = initial;"); ps.println("\t}"); ps.println("\tpublic org.omg.CORBA.TypeCode _type ()"); ps.println("\t{"); ps.println("\t\treturn " + className + "Helper.type ();"); ps.println("\t}"); ps.println("\tpublic void _read (final org.omg.CORBA.portable.InputStream _in)"); ps.println("\t{"); ps.println("\t\tvalue = " + className + "Helper.read (_in);"); ps.println("\t}"); ps.println("\tpublic void _write (final org.omg.CORBA.portable.OutputStream _out)"); ps.println("\t{"); ps.println("\t\t" + className + "Helper.write (_out,value);"); ps.println("\t}"); ps.println("}"); }
|
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/1fa4fca3642e870636f7373973e37568c93c654b/SequenceType.java/clean/src/org/jacorb/idl/SequenceType.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1172,
6064,
797,
12,
780,
2658,
16,
14071,
4250,
13,
565,
288,
3639,
309,
261,
5494,
18,
27264,
3461,
597,
2298,
67,
529,
18,
14963,
2932,
6,
3719,
5411,
8512,
18,
18356,
67,
8935,
7734,
7566,
2279,
2181,
2553,
364,
315,
397,
2658,
397,
315,
300,
16720,
316,
24387,
21,
18,
24,
3113,
1147,
1769,
3639,
309,
16051,
2920,
67,
529,
18,
14963,
2932,
6,
3719,
5411,
4250,
18,
8222,
2932,
5610,
315,
397,
2298,
67,
529,
397,
30750,
82,
8863,
3639,
514,
618,
273,
8173,
5621,
3639,
1172,
5010,
12,
1121,
1769,
3639,
1172,
797,
4469,
2932,
6178,
3113,
2658,
16,
4250,
1769,
3639,
4250,
18,
8222,
2932,
482,
6,
397,
2082,
18,
588,
7951,
780,
1435,
397,
315,
667,
315,
397,
2658,
397,
315,
6064,
8863,
3639,
4250,
18,
8222,
31458,
8584,
4330,
87,
2358,
18,
362,
75,
18,
9428,
12536,
18,
655,
429,
18,
1228,
429,
8863,
3639,
4250,
18,
8222,
2932,
95,
8863,
3639,
4250,
18,
8222,
31458,
88,
482,
315,
397,
618,
397,
315,
460,
4868,
1769,
3639,
4250,
18,
8222,
31458,
88,
482,
315,
397,
2658,
397,
315,
6064,
1832,
8863,
3639,
4250,
18,
8222,
31458,
88,
95,
8863,
3639,
4250,
18,
8222,
31458,
88,
1532,
1769,
3639,
4250,
18,
8222,
31458,
88,
482,
315,
397,
2658,
397,
315,
6064,
261,
6385,
315,
397,
618,
397,
315,
2172,
5153,
82,
64,
88,
95,
8863,
3639,
4250,
18,
8222,
31458,
88,
64,
88,
1132,
273,
2172,
4868,
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,
3238,
918,
1172,
6064,
797,
12,
780,
2658,
16,
14071,
4250,
13,
565,
288,
3639,
309,
261,
5494,
18,
27264,
3461,
597,
2298,
67,
529,
18,
14963,
2932,
6,
3719,
5411,
8512,
18,
18356,
67,
8935,
7734,
7566,
2279,
2181,
2553,
364,
315,
397,
2658,
397,
315,
300,
16720,
316,
24387,
21,
18,
24,
3113,
1147,
1769,
3639,
309,
16051,
2920,
67,
529,
18,
14963,
2932,
6,
3719,
5411,
4250,
18,
8222,
2932,
5610,
315,
397,
2298,
67,
529,
397,
30750,
82,
8863,
3639,
514,
618,
273,
8173,
5621,
3639,
1172,
5010,
12,
1121,
1769,
3639,
1172,
797,
4469,
2932,
6178,
3113,
2658,
16,
4250,
1769,
3639,
4250,
18,
8222,
2932,
482,
6,
397,
2082,
18,
588,
7951,
2
] |
{ char ch = seg.array[seg.offset + i];
|
{ char ch = seg.array[seg.offset + i];
|
public static int getOffsetOfVirtualColumn(Segment seg, int tabSize, int column, int[] totalVirtualWidth) { int virtualPosition = 0; for (int i = 0; i < seg.count; i++) { char ch = seg.array[seg.offset + i]; if (ch == '\t') { int tabWidth = tabSize - (virtualPosition % tabSize); if(virtualPosition >= column) return i; else virtualPosition += tabWidth; } else { if(virtualPosition >= column) return i; else ++virtualPosition; } } if(totalVirtualWidth != null) totalVirtualWidth[0] = virtualPosition; return -1; } //}}}
|
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/44a5f5803f850e1a89f536b419abe4f58e772d29/MiscUtilities.java/buggy/org/gjt/sp/jedit/MiscUtilities.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
509,
13386,
951,
6466,
1494,
12,
4131,
2291,
16,
509,
3246,
1225,
16,
202,
202,
474,
1057,
16,
509,
8526,
2078,
6466,
2384,
13,
202,
95,
202,
202,
474,
5024,
2555,
273,
374,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
2291,
18,
1883,
31,
277,
27245,
202,
202,
95,
1082,
202,
3001,
462,
273,
2291,
18,
1126,
63,
5680,
18,
3348,
397,
277,
15533,
1082,
202,
430,
261,
343,
422,
2337,
88,
6134,
1082,
202,
95,
9506,
202,
474,
3246,
2384,
273,
3246,
1225,
6862,
202,
17,
261,
12384,
2555,
738,
3246,
1225,
1769,
9506,
202,
430,
12,
12384,
2555,
1545,
1057,
13,
6862,
202,
2463,
277,
31,
9506,
202,
12107,
6862,
202,
12384,
2555,
1011,
3246,
2384,
31,
1082,
202,
97,
1082,
202,
12107,
1082,
202,
95,
9506,
202,
430,
12,
12384,
2555,
1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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
509,
13386,
951,
6466,
1494,
12,
4131,
2291,
16,
509,
3246,
1225,
16,
202,
202,
474,
1057,
16,
509,
8526,
2078,
6466,
2384,
13,
202,
95,
202,
202,
474,
5024,
2555,
273,
374,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
2291,
18,
1883,
31,
277,
27245,
202,
202,
95,
1082,
202,
3001,
462,
273,
2291,
18,
1126,
63,
5680,
18,
3348,
397,
277,
15533,
1082,
202,
430,
261,
343,
422,
2337,
88,
6134,
1082,
202,
95,
9506,
202,
474,
3246,
2384,
273,
3246,
1225,
6862,
202,
17,
261,
12384,
2555,
738,
3246,
1225,
1769,
9506,
202,
430,
12,
12384,
2555,
1545,
1057,
13,
6862,
202,
2463,
277,
31,
9506,
202,
2
] |
int bootImageAddress = 0;
|
public static void main (String args[]) throws Exception { int bootImageAddress = 0; // Process command line directives. // for (int i = 0, n = args.length; i < n; ++i) { if (args[i].equals("-ia")) { // image address bootImageAddress = Integer.decode(args[++i]).intValue(); continue; } System.err.println("unrecognized command line argument: " + args[i]); System.exit(-1); } if (bootImageAddress == 0) { System.err.println("Error: Must specify boot image load address."); System.exit(-1); } VM.initForTool(); System.out.print("/*------ MACHINE GENERATED by "); System.out.print("GenerateInterfaceDeclarations.java: DO NOT EDIT"); System.out.print("------*/\n\n"); System.out.println("#ifdef NEED_BOOT_RECORD_DECLARATIONS"); System.out.println("#include <inttypes.h>"); if (VM.BuildFor32Addr) { System.out.println("#define VM_Address uint32_t"); System.out.println("#define JavaObject_t uint32_t"); } else { System.out.println("#define VM_Address uint64_t"); System.out.println("#define JavaObject_t uint64_t"); } emitBootRecordDeclarations(); System.out.println("#endif /* NEED_BOOT_RECORD_DECLARATIONS */"); System.out.println(); System.out.println("#ifdef NEED_BOOT_RECORD_INITIALIZATION"); emitBootRecordInitialization(); System.out.println("#endif /* NEED_BOOT_RECORD_INITIALIZATION */"); System.out.println(); System.out.println("#ifdef NEED_GNU_CLASSPATH_VERSION"); // version of the classpath library from gnu.classpath.configuration System.out.print("static const char*classpath_version = \"" + gnu.classpath.Configuration.CLASSPATH_VERSION +"\";\n"); System.out.println("#endif /* NEED_GNU_CLASSPATH_VERSION */"); System.out.println(); System.out.println("#ifdef NEED_VIRTUAL_MACHINE_DECLARATIONS"); emitVirtualMachineDeclarations(bootImageAddress); System.out.println("#endif /* NEED_VIRTUAL_MACHINE_DECLARATIONS */"); System.out.println(); System.out.println("#ifdef NEED_ASSEMBLER_DECLARATIONS"); emitAssemblerDeclarations(); System.out.println("#endif /* NEED_ASSEMBLER_DECLARATIONS */"); }
|
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/eb8328fb4c19b26929f6d00ecee2bc8cace02c4c/GenerateInterfaceDeclarations.java/clean/rvm/src/tools/bootImageRunner/GenerateInterfaceDeclarations.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
2774,
261,
780,
833,
63,
5717,
1216,
1185,
288,
4202,
368,
4389,
1296,
980,
13877,
18,
565,
368,
565,
364,
261,
474,
277,
273,
374,
16,
290,
273,
833,
18,
2469,
31,
277,
411,
290,
31,
965,
77,
13,
288,
1377,
309,
261,
1968,
63,
77,
8009,
14963,
2932,
17,
1155,
6,
3719,
288,
2868,
368,
1316,
1758,
3639,
4835,
2040,
1887,
273,
2144,
18,
3922,
12,
1968,
63,
9904,
77,
65,
2934,
474,
620,
5621,
3639,
1324,
31,
1377,
289,
1377,
2332,
18,
370,
18,
8222,
2932,
318,
12916,
1296,
980,
1237,
30,
315,
397,
833,
63,
77,
19226,
1377,
2332,
18,
8593,
19236,
21,
1769,
565,
289,
565,
309,
261,
7137,
2040,
1887,
422,
374,
13,
288,
1377,
2332,
18,
370,
18,
8222,
2932,
668,
30,
6753,
4800,
4835,
1316,
1262,
1758,
1199,
1769,
1377,
2332,
18,
8593,
19236,
21,
1769,
565,
289,
565,
8251,
18,
2738,
1290,
6364,
5621,
565,
2332,
18,
659,
18,
1188,
2932,
20308,
13093,
490,
18133,
3740,
13679,
6344,
635,
315,
1769,
565,
2332,
18,
659,
18,
1188,
2932,
4625,
1358,
21408,
18,
6290,
30,
5467,
4269,
21307,
8863,
565,
2332,
18,
659,
18,
1188,
2932,
13093,
5549,
64,
82,
64,
82,
8863,
565,
2332,
18,
659,
18,
8222,
2932,
7,
430,
536,
12901,
2056,
67,
30124,
67,
22261,
67,
23956,
985,
15297,
8863,
565,
2332,
18,
659,
18,
8222,
2932,
7,
6702,
411,
474,
2352,
18,
76,
2984,
1769,
565,
309,
261,
7397,
18,
3116,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
2774,
261,
780,
833,
63,
5717,
1216,
1185,
288,
4202,
368,
4389,
1296,
980,
13877,
18,
565,
368,
565,
364,
261,
474,
277,
273,
374,
16,
290,
273,
833,
18,
2469,
31,
277,
411,
290,
31,
965,
77,
13,
288,
1377,
309,
261,
1968,
63,
77,
8009,
14963,
2932,
17,
1155,
6,
3719,
288,
2868,
368,
1316,
1758,
3639,
4835,
2040,
1887,
273,
2144,
18,
3922,
12,
1968,
63,
9904,
77,
65,
2934,
474,
620,
5621,
3639,
1324,
31,
1377,
289,
1377,
2332,
18,
370,
18,
8222,
2932,
318,
12916,
1296,
980,
1237,
30,
315,
397,
833,
63,
77,
19226,
1377,
2332,
18,
8593,
19236,
21,
1769,
565,
289,
565,
309,
261,
7137,
2040,
1887,
2
] |
|
try { dispatcher.dispatch(invocation); } catch (AssertionFailedError expected) { return; } fail("expected AssertionFailedError"); }
|
try { dispatcher.dispatch(invocation); } catch (AssertionFailedError expected) { return; } fail("expected AssertionFailedError"); }
|
public void testInvokeFailsWhenEmpty() throws Throwable { try { dispatcher.dispatch(invocation); } catch (AssertionFailedError expected) { return; } fail("expected AssertionFailedError"); }
|
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/065d08edd62599d5d244a9317db470157690f4f9/LIFOInvocationDispatcherTest.java/clean/jmock/core/src/test/jmock/core/LIFOInvocationDispatcherTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
10969,
30800,
9434,
1921,
1435,
1216,
4206,
288,
3639,
775,
288,
5411,
7393,
18,
10739,
12,
5768,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
10969,
30800,
9434,
1921,
1435,
1216,
4206,
288,
3639,
775,
288,
5411,
7393,
18,
10739,
12,
5768,
4431,
1769,
3639,
289,
1044,
261,
14979,
2925,
668,
2665,
13,
288,
5411,
327,
31,
3639,
289,
3639,
2321,
2932,
3825,
9067,
2925,
668,
8863,
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
] |
psiDirectory.createClass( myClassName.substring( indexOfLastDot != -1 ? indexOfLastDot + 1 : 0 ) );
|
final String name = myClassName.substring(indexOfLastDot != -1 ? indexOfLastDot + 1 : 0); final PsiClass aClass = psiDirectory.createClass(name); createBoundFields(aClass);
|
public void run() { // 1. Create all necessary packages final int indexOfLastDot = myClassName.lastIndexOf('.'); final String packageName = myClassName.substring(0, indexOfLastDot != -1 ? indexOfLastDot : 0); final PsiDirectory psiDirectory; if(packageName.length() > 0){ final PackageWrapper packageWrapper = new PackageWrapper(PsiManager.getInstance(project), packageName); try { psiDirectory = RefactoringUtil.createPackageDirectoryInSourceRoot(packageWrapper, sourceRoot); LOG.assertTrue(psiDirectory != null); } catch (final IncorrectOperationException e) { ApplicationManager.getApplication().invokeLater(new Runnable(){ public void run() { Messages.showErrorDialog( myEditor, UIDesignerBundle.message("error.cannot.create.package", packageName, e.getMessage()), CommonBundle.getErrorTitle() ); } }); return; } } else{ psiDirectory = PsiManager.getInstance(project).findDirectory(sourceRoot); LOG.assertTrue(psiDirectory != null); } // 2. Create class in the package try { psiDirectory.createClass( myClassName.substring( indexOfLastDot != -1 ? indexOfLastDot + 1 : 0 ) ); } catch (final IncorrectOperationException e) { ApplicationManager.getApplication().invokeLater(new Runnable() { public void run() { Messages.showErrorDialog( myEditor, UIDesignerBundle.message("error.cannot.create.package", packageName, e.getMessage()), CommonBundle.getErrorTitle() ); } }); return; } }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/0d85d59a0069d42696958ec06df3c568b645b7c1/CreateClassToBindFix.java/clean/ui-designer/impl/com/intellij/uiDesigner/quickFixes/CreateClassToBindFix.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
9079,
1071,
918,
1086,
1435,
288,
7734,
368,
404,
18,
1788,
777,
4573,
5907,
7734,
727,
509,
3133,
3024,
10412,
273,
3399,
3834,
18,
2722,
31985,
2668,
1093,
1769,
7734,
727,
514,
9929,
273,
3399,
3834,
18,
28023,
12,
20,
16,
3133,
3024,
10412,
480,
300,
21,
692,
3133,
3024,
10412,
294,
374,
1769,
7734,
727,
453,
7722,
2853,
23921,
2853,
31,
7734,
309,
12,
5610,
461,
18,
2469,
1435,
405,
374,
15329,
5375,
727,
7508,
3611,
2181,
3611,
273,
394,
7508,
3611,
12,
52,
7722,
1318,
18,
588,
1442,
12,
4406,
3631,
9929,
1769,
5375,
775,
288,
10792,
23921,
2853,
273,
868,
3493,
6053,
1304,
18,
2640,
2261,
2853,
382,
1830,
2375,
12,
5610,
3611,
16,
1084,
2375,
1769,
10792,
2018,
18,
11231,
5510,
12,
24275,
2853,
480,
446,
1769,
5375,
289,
5375,
1044,
261,
6385,
657,
6746,
10602,
425,
13,
288,
10792,
4257,
1318,
18,
588,
3208,
7675,
14407,
20607,
12,
2704,
10254,
1435,
95,
4766,
3639,
1071,
918,
1086,
1435,
288,
4766,
1850,
4838,
18,
4500,
668,
6353,
12,
4766,
5411,
3399,
6946,
16,
4766,
5411,
10034,
281,
724,
264,
3405,
18,
2150,
2932,
1636,
18,
12892,
18,
2640,
18,
5610,
3113,
9929,
16,
425,
18,
24906,
1435,
3631,
4766,
5411,
5658,
3405,
18,
588,
668,
4247,
1435,
4766,
1850,
11272,
4766,
3639,
289,
4766,
1377,
15549,
10792,
327,
31,
5375,
289,
7734,
289,
7734,
469,
95,
5375,
23921,
2853,
273,
453,
7722,
1318,
18,
588,
1442,
12,
4406,
2934,
4720,
2853,
12,
3168,
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,
9079,
1071,
918,
1086,
1435,
288,
7734,
368,
404,
18,
1788,
777,
4573,
5907,
7734,
727,
509,
3133,
3024,
10412,
273,
3399,
3834,
18,
2722,
31985,
2668,
1093,
1769,
7734,
727,
514,
9929,
273,
3399,
3834,
18,
28023,
12,
20,
16,
3133,
3024,
10412,
480,
300,
21,
692,
3133,
3024,
10412,
294,
374,
1769,
7734,
727,
453,
7722,
2853,
23921,
2853,
31,
7734,
309,
12,
5610,
461,
18,
2469,
1435,
405,
374,
15329,
5375,
727,
7508,
3611,
2181,
3611,
273,
394,
7508,
3611,
12,
52,
7722,
1318,
18,
588,
1442,
12,
4406,
3631,
9929,
1769,
5375,
775,
288,
10792,
23921,
2853,
273,
868,
3493,
6053,
1304,
18,
2640,
2261,
2853,
382,
1830,
2375,
12,
5610,
3611,
16,
1084,
2375,
2
] |
if (resource instanceof IAdaptable) { return (IFolder) ((IAdaptable) resource).getAdapter(IFolder.class); } return null;
|
Object adapted = ((IAdaptable) resource).getAdapter(IFolder.class); if(adapted == null) return null; return (IFolder) adapted;
|
IFolder getFolder(IResource resource) { if (resource instanceof IFolder) { return (IFolder) resource; } if (resource instanceof IAdaptable) { return (IFolder) ((IAdaptable) resource).getAdapter(IFolder.class); } return null; }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/0e0b298a26b76136ceec79e60bc6b97440c502f9/ImportOperation.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/wizards/datatransfer/ImportOperation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
467,
3899,
29001,
12,
45,
1420,
1058,
13,
288,
3639,
309,
261,
3146,
1276,
467,
3899,
13,
288,
5411,
327,
261,
45,
3899,
13,
1058,
31,
3639,
289,
3639,
309,
261,
3146,
1276,
467,
13716,
429,
13,
288,
5411,
327,
261,
45,
3899,
13,
14015,
45,
13716,
429,
13,
1058,
2934,
588,
4216,
12,
45,
3899,
18,
1106,
1769,
3639,
289,
3639,
327,
446,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
467,
3899,
29001,
12,
45,
1420,
1058,
13,
288,
3639,
309,
261,
3146,
1276,
467,
3899,
13,
288,
5411,
327,
261,
45,
3899,
13,
1058,
31,
3639,
289,
3639,
309,
261,
3146,
1276,
467,
13716,
429,
13,
288,
5411,
327,
261,
45,
3899,
13,
14015,
45,
13716,
429,
13,
1058,
2934,
588,
4216,
12,
45,
3899,
18,
1106,
1769,
3639,
289,
3639,
327,
446,
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
] |
return new TextureData(mipmapLevel, internalFormat,
|
return new TextureData(internalFormat,
|
public TextureData newTextureData(InputStream stream, int mipmapLevel, int internalFormat, int pixelFormat, String fileSuffix) throws IOException { if (SGI.equals(fileSuffix) || SGI_RGB.equals(fileSuffix) || SGIImage.isSGIImage(stream)) { SGIImage image = SGIImage.read(stream); if (pixelFormat == 0) { pixelFormat = image.getFormat(); } if (internalFormat == 0) { internalFormat = image.getFormat(); } return new TextureData(mipmapLevel, internalFormat, image.getWidth(), image.getHeight(), 0, pixelFormat, GL.GL_UNSIGNED_BYTE, false, false, ByteBuffer.wrap(image.getData()), null); } return null; }
|
46278 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46278/a295d66a868c897b71104f3dd4c94601c7463840/TextureIO.java/clean/src/classes/com/sun/opengl/utils/TextureIO.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
28582,
751,
394,
10967,
751,
12,
4348,
1407,
16,
4766,
1377,
509,
312,
625,
1458,
2355,
16,
4766,
1377,
509,
2713,
1630,
16,
4766,
1377,
509,
4957,
1630,
16,
4766,
1377,
514,
585,
5791,
13,
1216,
1860,
288,
1377,
309,
261,
55,
13797,
18,
14963,
12,
768,
5791,
13,
747,
1850,
348,
13797,
67,
11343,
18,
14963,
12,
768,
5791,
13,
747,
1850,
348,
13797,
2040,
18,
291,
55,
13797,
2040,
12,
3256,
3719,
288,
3639,
348,
13797,
2040,
1316,
273,
348,
13797,
2040,
18,
896,
12,
3256,
1769,
3639,
309,
261,
11743,
1630,
422,
374,
13,
288,
1850,
4957,
1630,
273,
1316,
18,
588,
1630,
5621,
3639,
289,
3639,
309,
261,
7236,
1630,
422,
374,
13,
288,
1850,
2713,
1630,
273,
1316,
18,
588,
1630,
5621,
3639,
289,
3639,
327,
394,
28582,
751,
12,
81,
625,
1458,
2355,
16,
1171,
9079,
2713,
1630,
16,
1171,
9079,
1316,
18,
588,
2384,
9334,
1171,
9079,
1316,
18,
588,
2686,
9334,
1171,
9079,
374,
16,
1171,
9079,
4957,
1630,
16,
1171,
9079,
10252,
18,
11261,
67,
2124,
21049,
67,
15377,
16,
1171,
9079,
629,
16,
1171,
9079,
629,
16,
1171,
9079,
7400,
18,
4113,
12,
2730,
18,
588,
751,
1435,
3631,
1171,
9079,
446,
1769,
1377,
289,
1377,
327,
446,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
28582,
751,
394,
10967,
751,
12,
4348,
1407,
16,
4766,
1377,
509,
312,
625,
1458,
2355,
16,
4766,
1377,
509,
2713,
1630,
16,
4766,
1377,
509,
4957,
1630,
16,
4766,
1377,
514,
585,
5791,
13,
1216,
1860,
288,
1377,
309,
261,
55,
13797,
18,
14963,
12,
768,
5791,
13,
747,
1850,
348,
13797,
67,
11343,
18,
14963,
12,
768,
5791,
13,
747,
1850,
348,
13797,
2040,
18,
291,
55,
13797,
2040,
12,
3256,
3719,
288,
3639,
348,
13797,
2040,
1316,
273,
348,
13797,
2040,
18,
896,
12,
3256,
1769,
3639,
309,
261,
11743,
1630,
422,
374,
13,
288,
1850,
4957,
1630,
273,
1316,
18,
588,
1630,
5621,
3639,
289,
3639,
309,
261,
7236,
1630,
422,
374,
13,
2
] |
setElem(thisObj, lbegin + i, args[i + argoffset]);
|
setElem(thisObj, begin + i, args[i + argoffset]);
|
private static Object jsFunction_splice(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) { /* create an empty Array to return. */ scope = getTopLevelScope(scope); Object result = ScriptRuntime.newObject(cx, scope, "Array", null); int argc = args.length; if (argc == 0) return result; double length = getLengthProperty(thisObj); /* Convert the first argument into a starting index. */ double begin = ScriptRuntime.toInteger(args[0]); double end; double delta; double count; if (begin < 0) { begin += length; if (begin < 0) begin = 0; } else if (begin > length) { begin = length; } argc--; /* Convert the second argument from a count into a fencepost index. */ delta = length - begin; if (args.length == 1) { count = delta; end = length; } else { count = ScriptRuntime.toInteger(args[1]); if (count < 0) count = 0; else if (count > delta) count = delta; end = begin + count; argc--; } long lbegin = (long)begin; long lend = (long)end; /* If there are elements to remove, put them into the return value. */ if (count > 0) { if (count == 1 && (cx.getLanguageVersion() == Context.VERSION_1_2)) { /* * JS lacks "list context", whereby in Perl one turns the * single scalar that's spliced out into an array just by * assigning it to @single instead of $single, or by using it * as Perl push's first argument, for instance. * * JS1.2 emulated Perl too closely and returned a non-Array for * the single-splice-out case, requiring callers to test and * wrap in [] if necessary. So JS1.3, default, and other * versions all return an array of length 1 for uniformity. */ result = getElem(thisObj, lbegin); } else { for (long last = lbegin; last < lend; last++) { Scriptable resultArray = (Scriptable)result; Object temp = getElem(thisObj, last); setElem(resultArray, last - lbegin, temp); } } } else if (count == 0 && cx.getLanguageVersion() == Context.VERSION_1_2) { /* Emulate C JS1.2; if no elements are removed, return undefined. */ result = Context.getUndefinedValue(); } /* Find the direction (up or down) to copy and make way for argv. */ delta = argc - count; if (delta > 0) { for (long last = (long)length - 1; last >= lend; last--) { Object temp = getElem(thisObj, last); setElem(thisObj, last + (long)delta, temp); } } else if (delta < 0) { for (long last = lend; last < length; last++) { Object temp = getElem(thisObj, last); setElem(thisObj, last + (long)delta, temp); } } /* Copy from argv into the hole to complete the splice. */ int argoffset = args.length - argc; for (int i = 0; i < argc; i++) { setElem(thisObj, lbegin + i, args[i + argoffset]); } /* Update length in case we deleted elements from the end. */ ScriptRuntime.setProp(thisObj, "length", new Double(length + delta), thisObj); return result; }
|
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/5f6a565762eea9efee2aee1297e0f938ac7edf63/NativeArray.java/buggy/js/rhino/src/org/mozilla/javascript/NativeArray.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1033,
3828,
2083,
67,
19535,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
5411,
22780,
15261,
16,
1033,
8526,
833,
13,
565,
288,
3639,
1748,
752,
392,
1008,
1510,
358,
327,
18,
1195,
3639,
2146,
273,
13729,
2355,
3876,
12,
4887,
1769,
3639,
1033,
563,
273,
7739,
5576,
18,
2704,
921,
12,
71,
92,
16,
2146,
16,
315,
1076,
3113,
446,
1769,
3639,
509,
1501,
71,
273,
833,
18,
2469,
31,
3639,
309,
261,
3175,
71,
422,
374,
13,
5411,
327,
563,
31,
3639,
1645,
769,
273,
9888,
1396,
12,
2211,
2675,
1769,
3639,
1748,
4037,
326,
1122,
1237,
1368,
279,
5023,
770,
18,
1195,
3639,
1645,
2376,
273,
7739,
5576,
18,
869,
4522,
12,
1968,
63,
20,
19226,
3639,
1645,
679,
31,
3639,
1645,
3622,
31,
3639,
1645,
1056,
31,
3639,
309,
261,
10086,
411,
374,
13,
288,
5411,
2376,
1011,
769,
31,
5411,
309,
261,
10086,
411,
374,
13,
7734,
2376,
273,
374,
31,
3639,
289,
469,
309,
261,
10086,
405,
769,
13,
288,
5411,
2376,
273,
769,
31,
3639,
289,
3639,
1501,
71,
413,
31,
3639,
1748,
4037,
326,
2205,
1237,
628,
279,
1056,
1368,
279,
284,
802,
2767,
770,
18,
1195,
3639,
3622,
273,
769,
300,
2376,
31,
3639,
309,
261,
1968,
18,
2469,
422,
404,
13,
288,
5411,
1056,
273,
3622,
31,
5411,
679,
273,
769,
31,
3639,
289,
469,
288,
5411,
1056,
273,
7739,
5576,
18,
869,
4522,
12,
1968,
63,
21,
19226,
5411,
309,
261,
1883,
411,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1033,
3828,
2083,
67,
19535,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
5411,
22780,
15261,
16,
1033,
8526,
833,
13,
565,
288,
3639,
1748,
752,
392,
1008,
1510,
358,
327,
18,
1195,
3639,
2146,
273,
13729,
2355,
3876,
12,
4887,
1769,
3639,
1033,
563,
273,
7739,
5576,
18,
2704,
921,
12,
71,
92,
16,
2146,
16,
315,
1076,
3113,
446,
1769,
3639,
509,
1501,
71,
273,
833,
18,
2469,
31,
3639,
309,
261,
3175,
71,
422,
374,
13,
5411,
327,
563,
31,
3639,
1645,
769,
273,
9888,
1396,
12,
2211,
2675,
1769,
3639,
1748,
4037,
326,
1122,
1237,
1368,
279,
5023,
770,
18,
1195,
3639,
1645,
2376,
273,
7739,
5576,
18,
869,
4522,
12,
1968,
2
] |
if ( IReportElementConstants.REPORT_ELEMENT_IMAGE .equalsIgnoreCase( (String) request.getNewObjectType( ) ) )
|
DesignElementHandle desginElementHandle = (DesignElementHandle) ( getTargetEditPart( ).getModel( ) ); dataSetList = DEUtil.getDataSetList( desginElementHandle ); if ( IReportElementConstants.REPORT_ELEMENT_IMAGE.equalsIgnoreCase( (String) request.getNewObjectType( ) ) )
|
public boolean preHandleMouseUp( ) { CreateRequest request = getRequest( ); if ( IReportElementConstants.REPORT_ELEMENT_IMAGE .equalsIgnoreCase( (String) request.getNewObjectType( ) ) ) { // Open the builder for new image ImageBuilder dialog = new ImageBuilder( UIUtil .getDefaultShell( ), ImageBuilder.DLG_TITLE_NEW ); if ( Window.OK == dialog.open( ) ) { setModel( dialog.getResult( ) ); // If the dialog popup, mouse up event will not be called // automatically, call it explicit return super.preHandleMouseUp( ); } } return false; }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/8881b5505fc0ba3f08558dcedf523f0b91dfcba5/BasePaletteFactory.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/palette/BasePaletteFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1250,
675,
3259,
9186,
1211,
12,
262,
202,
202,
95,
1082,
202,
1684,
691,
590,
273,
4328,
12,
11272,
1082,
202,
430,
261,
467,
4820,
1046,
2918,
18,
22710,
67,
10976,
67,
13603,
6862,
202,
18,
14963,
5556,
12,
261,
780,
13,
590,
18,
588,
1908,
17610,
12,
262,
262,
262,
1082,
202,
95,
9506,
202,
759,
3502,
326,
2089,
364,
394,
1316,
9506,
202,
2040,
1263,
6176,
273,
394,
3421,
1263,
12,
6484,
1304,
25083,
202,
18,
588,
1868,
13220,
12,
262,
16,
3421,
1263,
18,
8914,
43,
67,
14123,
67,
12917,
11272,
9506,
202,
430,
261,
6076,
18,
3141,
422,
6176,
18,
3190,
12,
262,
262,
9506,
202,
95,
6862,
202,
542,
1488,
12,
6176,
18,
588,
1253,
12,
262,
11272,
6862,
202,
759,
971,
326,
6176,
10431,
16,
7644,
731,
871,
903,
486,
506,
2566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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1250,
675,
3259,
9186,
1211,
12,
262,
202,
202,
95,
1082,
202,
1684,
691,
590,
273,
4328,
12,
11272,
1082,
202,
430,
261,
467,
4820,
1046,
2918,
18,
22710,
67,
10976,
67,
13603,
6862,
202,
18,
14963,
5556,
12,
261,
780,
13,
590,
18,
588,
1908,
17610,
12,
262,
262,
262,
1082,
202,
95,
9506,
202,
759,
3502,
326,
2089,
364,
394,
1316,
9506,
202,
2040,
1263,
6176,
273,
394,
3421,
1263,
12,
6484,
1304,
25083,
202,
18,
588,
1868,
13220,
12,
262,
16,
3421,
1263,
18,
8914,
43,
67,
14123,
67,
12917,
11272,
9506,
202,
430,
261,
6076,
18,
3141,
422,
6176,
18,
3190,
12,
262,
262,
9506,
202,
95,
6862,
202,
542,
1488,
12,
2
] |
void writeStruct(Struct x) throws SQLException;
|
void writeStruct(Struct value) throws SQLException;
|
void writeStruct(Struct x) throws SQLException;
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/8e6a933c7311b8af73a149d26777089b7dc8bd68/SQLOutput.java/clean/core/src/classpath/java/java/sql/SQLOutput.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
1045,
3823,
12,
3823,
619,
13,
1216,
6483,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
1045,
3823,
12,
3823,
619,
13,
1216,
6483,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Namespace ns = elem.getNamespace();
|
Element parent = element.getParent(); if ( parent == null || parent.getNamespaceForURI( namespace.getURI() ) == null ) { nsList.add( namespace.asXPathResult( element ) ); } }
|
public Iterator getNamespaceAxisIterator(Object contextNode) { if ( ! ( contextNode instanceof Element ) ) { return null; } Element elem = (Element) contextNode; List nsList = new ArrayList(); Namespace ns = elem.getNamespace(); if ( ns != Namespace.NO_NAMESPACE ) { nsList.add( elem.getNamespace() ); } nsList.addAll( elem.additionalNamespaces() ); return nsList.iterator(); }
|
5646 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5646/eb7756258fcf82692813cdb112e627acab7af924/DocumentNavigator.java/buggy/src/java/main/org/jaxen/dom4j/DocumentNavigator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4498,
11153,
6558,
3198,
12,
921,
819,
907,
13,
565,
288,
3639,
309,
261,
401,
261,
819,
907,
1276,
3010,
262,
262,
3639,
288,
5411,
327,
446,
31,
3639,
289,
3639,
3010,
3659,
273,
261,
1046,
13,
819,
907,
31,
3639,
987,
3153,
682,
273,
394,
2407,
5621,
540,
3010,
982,
273,
930,
18,
588,
3054,
5621,
309,
261,
982,
422,
446,
747,
982,
18,
588,
3402,
1290,
3098,
12,
1981,
18,
588,
3098,
1435,
262,
422,
446,
262,
288,
3153,
682,
18,
1289,
12,
1981,
18,
345,
14124,
1253,
12,
930,
262,
11272,
289,
289,
3639,
309,
261,
3153,
480,
6005,
18,
3417,
67,
11368,
262,
3639,
288,
5411,
3153,
682,
18,
1289,
12,
3659,
18,
588,
3402,
1435,
11272,
3639,
289,
3639,
3153,
682,
18,
1289,
1595,
12,
3659,
18,
13996,
13180,
1435,
11272,
3639,
327,
3153,
682,
18,
9838,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4498,
11153,
6558,
3198,
12,
921,
819,
907,
13,
565,
288,
3639,
309,
261,
401,
261,
819,
907,
1276,
3010,
262,
262,
3639,
288,
5411,
327,
446,
31,
3639,
289,
3639,
3010,
3659,
273,
261,
1046,
13,
819,
907,
31,
3639,
987,
3153,
682,
273,
394,
2407,
5621,
540,
3010,
982,
273,
930,
18,
588,
3054,
5621,
309,
261,
982,
422,
446,
747,
982,
18,
588,
3402,
1290,
3098,
12,
1981,
18,
588,
3098,
1435,
262,
422,
446,
262,
288,
3153,
682,
18,
1289,
12,
1981,
18,
345,
14124,
1253,
12,
930,
262,
11272,
289,
289,
3639,
309,
261,
3153,
480,
6005,
18,
3417,
67,
11368,
262,
3639,
288,
5411,
3153,
682,
18,
1289,
12,
3659,
18,
2
] |
log( "Using plain mail", Project.MSG_VERBOSE );
|
log("Using plain mail", Project.MSG_VERBOSE);
|
public void execute() { Message savedMessage = message; Vector savedFiles = (Vector) files.clone(); try { Mailer mailer = null; // prepare for the auto select mechanism boolean autoFound = false; // try MIME format if( encoding.equals( MIME ) || ( encoding.equals( AUTO ) && !autoFound ) ) { try { mailer = (Mailer) Class.forName( "org.apache.tools.ant.taskdefs.email.MimeMailer" ) .newInstance(); autoFound = true; log( "Using MIME mail", Project.MSG_VERBOSE ); } catch( Throwable e ) { log( "Failed to initialise MIME mail", Project.MSG_WARN ); } } // try UU format if( encoding.equals( UU ) || ( encoding.equals( AUTO ) && !autoFound ) ) { try { mailer = (Mailer)Class.forName( "org.apache.tools.ant.taskdefs.email.UUMailer" ) .newInstance(); autoFound = true; log( "Using UU mail", Project.MSG_VERBOSE ); } catch( Throwable e ) { log( "Failed to initialise UU mail", Project.MSG_WARN ); } } // try plain format if( encoding.equals( PLAIN ) || ( encoding.equals( AUTO ) && !autoFound ) ) { mailer = new PlainMailer(); autoFound = true; log( "Using plain mail", Project.MSG_VERBOSE ); } // a valid mailer must be present by now if( mailer == null ) { throw new BuildException( "Failed to initialise encoding: " + encoding ); } // a valid message is required if( message == null ) { message = new Message(); } // an address to send from is required if( from == null || from.getAddress() == null ) { throw new BuildException( "A from element is required" ); } // at least one address to send to/cc/bcc is required if( toList.isEmpty() && ccList.isEmpty() && bccList.isEmpty() ) { throw new BuildException( "At least one of to,cc or bcc must " + "be supplied" ); } // set the mimetype if not done already (and required) if( messageMimeType != null ) { if( message.isMimeTypeSpecified() ) { throw new BuildException( "The mime type can only be " + "specified in one location" ); } else { message.setMimeType( messageMimeType ); } } // identify which files should be attached Enumeration e = filesets.elements(); while( e.hasMoreElements() ) { FileSet fs = (FileSet)e.nextElement(); DirectoryScanner ds = fs.getDirectoryScanner( project ); String[] includedFiles = ds.getIncludedFiles(); File baseDir = ds.getBasedir(); for( int j = 0; j < includedFiles.length; ++j ) { File file = new File( baseDir, includedFiles[ j ] ); files.addElement( file ); } } // let the user know what's going to happen log( "Sending email: " + subject, Project.MSG_INFO ); log( "From " + from, Project.MSG_VERBOSE ); log( "To " + toList, Project.MSG_VERBOSE ); log( "Cc " + ccList, Project.MSG_VERBOSE ); log( "Bcc " + bccList, Project.MSG_VERBOSE ); // pass the params to the mailer mailer.setHost( host ); mailer.setPort( port ); mailer.setMessage( message ); mailer.setFrom( from ); mailer.setToList( toList ); mailer.setCcList( ccList ); mailer.setBccList( bccList ); mailer.setFiles( files ); mailer.setSubject( subject ); mailer.setTask( this ); mailer.setIncludeFileNames( includeFileNames ); // send the email mailer.send(); // let the user know what happened int count = files.size(); log( "Sent email with " + count + " attachment" + ( count == 1?"":"s" ), Project.MSG_INFO ); } catch( BuildException e ) { log( "Failed to send email", Project.MSG_WARN ); if( failOnError ) { throw e; } } finally { message = savedMessage; files = savedFiles; } }
|
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/c6c232893c39257745a8f7a618bcdb5c59791cae/EmailTask.java/clean/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1435,
565,
288,
3639,
2350,
5198,
1079,
273,
883,
31,
3639,
5589,
5198,
2697,
273,
261,
5018,
13,
1390,
18,
14056,
5621,
3639,
775,
3639,
288,
5411,
11542,
264,
17308,
273,
446,
31,
5411,
368,
2911,
364,
326,
3656,
2027,
12860,
5411,
1250,
3656,
2043,
273,
629,
31,
5411,
368,
775,
13195,
740,
5411,
309,
12,
2688,
18,
14963,
12,
13195,
262,
1171,
747,
261,
2688,
18,
14963,
12,
17191,
262,
597,
401,
6079,
2043,
262,
262,
5411,
288,
7734,
775,
7734,
288,
10792,
17308,
273,
7682,
261,
23666,
13,
1659,
18,
1884,
461,
12,
315,
3341,
18,
19211,
18,
6642,
18,
970,
18,
4146,
12537,
18,
3652,
18,
13320,
23666,
6,
262,
13491,
263,
2704,
1442,
5621,
10792,
3656,
2043,
273,
638,
31,
10792,
613,
12,
315,
7736,
13195,
4791,
3113,
5420,
18,
11210,
67,
21900,
11272,
7734,
289,
7734,
1044,
12,
4206,
425,
262,
7734,
288,
10792,
613,
12,
315,
2925,
358,
21301,
13195,
4791,
3113,
5420,
18,
11210,
67,
27999,
11272,
7734,
289,
5411,
289,
5411,
368,
775,
587,
57,
740,
5411,
309,
12,
2688,
18,
14963,
12,
587,
57,
262,
1171,
747,
261,
2688,
18,
14963,
12,
17191,
262,
597,
401,
6079,
2043,
262,
262,
5411,
288,
7734,
775,
7734,
288,
10792,
17308,
273,
7682,
261,
23666,
13,
797,
18,
1884,
461,
12,
315,
3341,
18,
19211,
18,
6642,
18,
970,
18,
4146,
12537,
18,
3652,
18,
57,
2799,
671,
264,
6,
262,
13491,
263,
2704,
1442,
5621,
10792,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1435,
565,
288,
3639,
2350,
5198,
1079,
273,
883,
31,
3639,
5589,
5198,
2697,
273,
261,
5018,
13,
1390,
18,
14056,
5621,
3639,
775,
3639,
288,
5411,
11542,
264,
17308,
273,
446,
31,
5411,
368,
2911,
364,
326,
3656,
2027,
12860,
5411,
1250,
3656,
2043,
273,
629,
31,
5411,
368,
775,
13195,
740,
5411,
309,
12,
2688,
18,
14963,
12,
13195,
262,
1171,
747,
261,
2688,
18,
14963,
12,
17191,
262,
597,
401,
6079,
2043,
262,
262,
5411,
288,
7734,
775,
7734,
288,
10792,
17308,
273,
7682,
261,
23666,
13,
1659,
18,
1884,
461,
12,
315,
3341,
18,
19211,
18,
6642,
18,
970,
18,
4146,
12537,
18,
3652,
18,
13320,
23666,
6,
262,
13491,
263,
2
] |
new TextArea(form, "target", new ConverterModel());
|
new TextArea<String>(form, "target", new ConverterModel());
|
public UnicodeConverter() { Form form = new Form(this, "form", new CompoundPropertyModel(this)); new TextArea(form, "source"); new DropDownChoice<String>(form, "translationType", translationTypes); new TextArea(form, "target", new ConverterModel()); }
|
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/2859872ee0d83bc7854220e8ee4a9a28a45514ab/UnicodeConverter.java/clean/wicket-examples/src/java/wicket/examples/unicodeconverter/UnicodeConverter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
9633,
5072,
1435,
202,
95,
202,
202,
1204,
646,
273,
394,
2748,
12,
2211,
16,
315,
687,
3113,
394,
21327,
1396,
1488,
12,
2211,
10019,
202,
202,
2704,
3867,
5484,
12,
687,
16,
315,
3168,
8863,
202,
202,
2704,
10895,
4164,
10538,
32,
780,
34,
12,
687,
16,
315,
10173,
559,
3113,
4794,
2016,
1769,
202,
202,
2704,
3867,
5484,
12,
687,
16,
315,
3299,
3113,
394,
14768,
1488,
10663,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
9633,
5072,
1435,
202,
95,
202,
202,
1204,
646,
273,
394,
2748,
12,
2211,
16,
315,
687,
3113,
394,
21327,
1396,
1488,
12,
2211,
10019,
202,
202,
2704,
3867,
5484,
12,
687,
16,
315,
3168,
8863,
202,
202,
2704,
10895,
4164,
10538,
32,
780,
34,
12,
687,
16,
315,
10173,
559,
3113,
4794,
2016,
1769,
202,
202,
2704,
3867,
5484,
12,
687,
16,
315,
3299,
3113,
394,
14768,
1488,
10663,
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
] |
protected void serializeNode( Node node ) { // Based on the node type call the suitable SAX handler. // Only comments entities and documents which are not // handled by SAX are serialized directly. switch ( node.getNodeType() ) { case Node.TEXT_NODE : { String text; text = node.getNodeValue(); if ( text != null ) characters( node.getNodeValue(), true ); break; } case Node.CDATA_SECTION_NODE : { String text; text = node.getNodeValue(); if ( text != null ) characters( node.getNodeValue(), true ); break; } case Node.COMMENT_NODE : break; case Node.ENTITY_REFERENCE_NODE : // Ignore. break; case Node.PROCESSING_INSTRUCTION_NODE : break; case Node.ELEMENT_NODE : serializeElement( (Element) node ); break; case Node.DOCUMENT_NODE : // !!! Fall through case Node.DOCUMENT_FRAGMENT_NODE : { Node child; // By definition this will happen if the node is a document, // document fragment, etc. Just serialize its contents. It will // work well for other nodes that we do not know how to serialize. child = node.getFirstChild(); while ( child != null ) { serializeNode( child ); child = child.getNextSibling(); } break; } default: break; } }
|
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/395e53bbe5d70e395a0680f80263373c5b4d945a/TextSerializer.java/clean/src/org/apache/xml/serialize/TextSerializer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4472,
907,
12,
2029,
756,
262,
565,
288,
3639,
368,
25935,
603,
326,
756,
618,
745,
326,
10631,
10168,
1838,
18,
3639,
368,
5098,
5678,
5140,
471,
7429,
1492,
854,
486,
3639,
368,
7681,
635,
10168,
854,
5343,
5122,
18,
3639,
1620,
261,
756,
18,
588,
15101,
1435,
262,
288,
3639,
648,
2029,
18,
5151,
67,
8744,
294,
288,
5411,
514,
977,
31,
5411,
977,
273,
756,
18,
588,
907,
620,
5621,
5411,
309,
261,
977,
480,
446,
262,
7734,
3949,
12,
756,
18,
588,
907,
620,
9334,
638,
11272,
5411,
898,
31,
3639,
289,
10792,
648,
2029,
18,
18375,
67,
19082,
67,
8744,
294,
288,
5411,
514,
977,
31,
5411,
977,
273,
756,
18,
588,
907,
620,
5621,
5411,
309,
261,
977,
480,
446,
262,
7734,
3949,
12,
756,
18,
588,
907,
620,
9334,
638,
11272,
5411,
898,
31,
3639,
289,
10792,
648,
2029,
18,
12200,
67,
8744,
294,
5411,
898,
31,
10792,
648,
2029,
18,
11101,
67,
14617,
67,
8744,
294,
5411,
368,
8049,
18,
5411,
898,
31,
10792,
648,
2029,
18,
16560,
1360,
67,
706,
3902,
27035,
67,
8744,
294,
5411,
898,
31,
10792,
648,
2029,
18,
10976,
67,
8744,
294,
5411,
4472,
1046,
12,
261,
1046,
13,
756,
11272,
5411,
898,
31,
10792,
648,
2029,
18,
18450,
67,
8744,
294,
5411,
368,
401,
8548,
23647,
3059,
3639,
648,
2029,
18,
18450,
67,
9981,
26903,
67,
8744,
294,
288,
5411,
2029,
540,
1151,
31,
13491,
368,
2525,
2379,
333,
903,
5865,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4472,
907,
12,
2029,
756,
262,
565,
288,
3639,
368,
25935,
603,
326,
756,
618,
745,
326,
10631,
10168,
1838,
18,
3639,
368,
5098,
5678,
5140,
471,
7429,
1492,
854,
486,
3639,
368,
7681,
635,
10168,
854,
5343,
5122,
18,
3639,
1620,
261,
756,
18,
588,
15101,
1435,
262,
288,
3639,
648,
2029,
18,
5151,
67,
8744,
294,
288,
5411,
514,
977,
31,
5411,
977,
273,
756,
18,
588,
907,
620,
5621,
5411,
309,
261,
977,
480,
446,
262,
7734,
3949,
12,
756,
18,
588,
907,
620,
9334,
638,
11272,
5411,
898,
31,
3639,
289,
10792,
648,
2029,
18,
18375,
67,
19082,
67,
8744,
294,
288,
5411,
514,
977,
31,
5411,
977,
273,
756,
18,
588,
2
] |
||
if ( errorMessage != null ) throw new PSQLException("postgresql.fp.error", errorMessage.toString());
|
if ( error != null ) throw error;
|
private Object fastpathV3(int fnid, boolean resulttype, FastpathArg[] args) throws SQLException { // added Oct 7 1998 to give us thread safety synchronized (stream) { // send the function call try { int l_msgLen = 0; l_msgLen += 16; for (int i=0;i < args.length;i++) l_msgLen += args[i].sendSize(); stream.SendChar('F'); stream.SendInteger(l_msgLen,4); stream.SendInteger(fnid, 4); stream.SendInteger(1,2); stream.SendInteger(1,2); stream.SendInteger(args.length,2); for (int i = 0;i < args.length;i++) args[i].send(stream); stream.SendInteger(1,2); // This is needed, otherwise data can be lost stream.flush(); } catch (IOException ioe) { throw new PSQLException("postgresql.fp.send", new Integer(fnid), ioe); } // Now handle the result // Now loop, reading the results Object result = null; // our result StringBuffer errorMessage = null; int c; boolean l_endQuery = false; while (!l_endQuery) { c = stream.ReceiveChar(); switch (c) { case 'A': // Asynchronous Notify int pid = stream.ReceiveInteger(4); String msg = stream.ReceiveString(conn.getEncoding()); conn.addNotification(new org.postgresql.core.Notification(msg, pid)); break; //------------------------------ // Error message returned case 'E': if ( errorMessage == null ) errorMessage = new StringBuffer(); int l_elen = stream.ReceiveIntegerR(4); errorMessage.append(conn.getEncoding().decode(stream.Receive(l_elen-4))); break; //------------------------------ // Notice from backend case 'N': int l_nlen = stream.ReceiveIntegerR(4); conn.addWarning(conn.getEncoding().decode(stream.Receive(l_nlen-4))); break; case 'V': int l_msgLen = stream.ReceiveIntegerR(4); int l_valueLen = stream.ReceiveIntegerR(4); if (l_valueLen == -1) { //null value } else if (l_valueLen == 0) { result = new byte[0]; } else { // Return an Integer if if (resulttype) result = new Integer(stream.ReceiveIntegerR(l_valueLen)); else { byte buf[] = new byte[l_valueLen]; stream.Receive(buf, 0, l_valueLen); result = buf; } } break; case 'Z': //TODO: use size better if (stream.ReceiveIntegerR(4) != 5) throw new PSQLException("postgresql.con.setup"); //TODO: handle transaction status char l_tStatus = (char)stream.ReceiveChar(); l_endQuery = true; break; default: throw new PSQLException("postgresql.fp.protocol", new Character((char)c)); } } if ( errorMessage != null ) throw new PSQLException("postgresql.fp.error", errorMessage.toString()); return result; } }
|
52522 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52522/0378a269f3ab3c44e67b14f96414b6ca95263263/Fastpath.java/buggy/src/interfaces/jdbc/org/postgresql/fastpath/Fastpath.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1033,
14469,
58,
23,
12,
474,
2295,
350,
16,
1250,
563,
723,
16,
9545,
803,
4117,
8526,
833,
13,
1216,
6483,
202,
95,
202,
202,
759,
3096,
29482,
2371,
23673,
28,
358,
8492,
584,
2650,
24179,
202,
202,
22043,
261,
3256,
13,
202,
202,
95,
1082,
202,
759,
1366,
326,
445,
745,
1082,
202,
698,
1082,
202,
95,
9506,
202,
474,
328,
67,
3576,
2891,
273,
374,
31,
9506,
202,
80,
67,
3576,
2891,
1011,
2872,
31,
9506,
202,
1884,
261,
474,
277,
33,
20,
31,
77,
411,
833,
18,
2469,
31,
77,
27245,
6862,
202,
80,
67,
3576,
2891,
1011,
833,
63,
77,
8009,
4661,
1225,
5621,
6862,
6862,
202,
3256,
18,
3826,
2156,
2668,
42,
8284,
9506,
202,
3256,
18,
3826,
4522,
12,
80,
67,
3576,
2891,
16,
24,
1769,
9506,
202,
3256,
18,
3826,
4522,
12,
4293,
350,
16,
1059,
1769,
9506,
202,
3256,
18,
3826,
4522,
12,
21,
16,
22,
1769,
9506,
202,
3256,
18,
3826,
4522,
12,
21,
16,
22,
1769,
9506,
202,
3256,
18,
3826,
4522,
12,
1968,
18,
2469,
16,
22,
1769,
9506,
202,
1884,
261,
474,
277,
273,
374,
31,
77,
411,
833,
18,
2469,
31,
77,
27245,
6862,
202,
1968,
63,
77,
8009,
4661,
12,
3256,
1769,
6862,
9506,
202,
3256,
18,
3826,
4522,
12,
21,
16,
22,
1769,
6862,
202,
759,
1220,
353,
3577,
16,
3541,
501,
848,
506,
13557,
9506,
202,
3256,
18,
11330,
5621,
1082,
202,
97,
1082,
202,
14683,
261,
14106,
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,
1033,
14469,
58,
23,
12,
474,
2295,
350,
16,
1250,
563,
723,
16,
9545,
803,
4117,
8526,
833,
13,
1216,
6483,
202,
95,
202,
202,
759,
3096,
29482,
2371,
23673,
28,
358,
8492,
584,
2650,
24179,
202,
202,
22043,
261,
3256,
13,
202,
202,
95,
1082,
202,
759,
1366,
326,
445,
745,
1082,
202,
698,
1082,
202,
95,
9506,
202,
474,
328,
67,
3576,
2891,
273,
374,
31,
9506,
202,
80,
67,
3576,
2891,
1011,
2872,
31,
9506,
202,
1884,
261,
474,
277,
33,
20,
31,
77,
411,
833,
18,
2469,
31,
77,
27245,
6862,
202,
80,
67,
3576,
2891,
1011,
833,
63,
77,
8009,
4661,
1225,
5621,
6862,
6862,
202,
3256,
18,
3826,
2156,
2668,
2
] |
public abstract int getTabPosition();
|
public int getTabPosition() { return SWT.TOP; }
|
public abstract int getTabPosition();
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/a44e3679b294ff539fce71b7e835499b2c444fa7/AbstractTabFolder.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/util/AbstractTabFolder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8770,
509,
3181,
378,
2555,
5621,
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,
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,
8770,
509,
3181,
378,
2555,
5621,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
assertEquals("file:
|
assertEquals("file:/c:/foo", removeExtraneousAuthority(FILE_UTILS.toURI("c:\\foo")));
|
public void testToURI() { String dosRoot = null; if (Os.isFamily("dos") || Os.isFamily("netware")) { dosRoot = Character.toUpperCase( System.getProperty("user.dir").charAt(0)) + ":/"; } else { dosRoot = ""; } if (Os.isFamily("dos")) { assertEquals("file:///C:/foo", FILE_UTILS.toURI("c:\\foo")); } if (Os.isFamily("netware")) { assertEquals("file:///SYS:/foo", FILE_UTILS.toURI("sys:\\foo")); } assertEquals("file:///" + dosRoot + "foo", FILE_UTILS.toURI("/foo")); /* May fail if the directory ${user.dir}/foo/ exists * (and anyway is the tested behavior actually desirable?): assertEquals("file:./foo", fu.toURI("./foo")); */ assertEquals("file:///" + dosRoot + "foo", FILE_UTILS.toURI("\\foo")); /* See above: assertEquals("file:./foo", fu.toURI(".\\foo")); */ assertEquals("file:///" + dosRoot + "foo%20bar", FILE_UTILS.toURI("/foo bar")); assertEquals("file:///" + dosRoot + "foo%20bar", FILE_UTILS.toURI("\\foo bar")); assertEquals("file:///" + dosRoot + "foo%23bar", FILE_UTILS.toURI("/foo#bar")); assertEquals("file:///" + dosRoot + "foo%23bar", FILE_UTILS.toURI("\\foo#bar")); // a test with ant for germans // i would expect here %E4NT ??? // anyway, this is the fix for the bug 37348wh assertEquals("file:///" + dosRoot + "%C3%A4nt", FILE_UTILS.toURI("/\u00E4nt")); }
|
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/e12c63a6ee1b0bb45e9821ff84392c9391d76bd9/FileUtilsTest.java/clean/src/testcases/org/apache/tools/ant/util/FileUtilsTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
774,
3098,
1435,
288,
3639,
514,
16153,
2375,
273,
446,
31,
3639,
309,
261,
15112,
18,
291,
9203,
2932,
19219,
7923,
747,
31799,
18,
291,
9203,
2932,
2758,
2726,
6,
3719,
288,
5411,
16153,
2375,
273,
6577,
18,
869,
8915,
12,
7734,
2332,
18,
588,
1396,
2932,
1355,
18,
1214,
20387,
3001,
861,
12,
20,
3719,
397,
6398,
4898,
31,
3639,
289,
3639,
469,
3639,
288,
5411,
16153,
2375,
273,
1408,
31,
3639,
289,
3639,
309,
261,
15112,
18,
291,
9203,
2932,
19219,
6,
3719,
288,
5411,
1815,
8867,
2932,
768,
2207,
19,
39,
27824,
11351,
3113,
7527,
67,
1693,
2627,
55,
18,
869,
3098,
2932,
71,
31027,
11351,
7923,
1769,
3639,
289,
3639,
309,
261,
15112,
18,
291,
9203,
2932,
2758,
2726,
6,
3719,
288,
5411,
1815,
8867,
2932,
768,
2207,
19,
30664,
27824,
11351,
3113,
7527,
67,
1693,
2627,
55,
18,
869,
3098,
2932,
9499,
31027,
11351,
7923,
1769,
3639,
289,
3639,
1815,
8867,
2932,
768,
2207,
4898,
397,
16153,
2375,
397,
315,
11351,
3113,
7527,
67,
1693,
2627,
55,
18,
869,
3098,
2932,
19,
11351,
7923,
1769,
3639,
1748,
16734,
2321,
309,
326,
1867,
3531,
1355,
18,
1214,
4004,
11351,
19,
1704,
540,
380,
261,
464,
13466,
353,
326,
18432,
6885,
6013,
2832,
26063,
35,
4672,
3639,
1815,
8867,
2932,
768,
13147,
19,
11351,
3113,
225,
284,
89,
18,
869,
3098,
2932,
18,
19,
11351,
7923,
1769,
540,
1195,
3639,
1815,
8867,
2932,
768,
2207,
4898,
397,
16153,
2375,
397,
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,
774,
3098,
1435,
288,
3639,
514,
16153,
2375,
273,
446,
31,
3639,
309,
261,
15112,
18,
291,
9203,
2932,
19219,
7923,
747,
31799,
18,
291,
9203,
2932,
2758,
2726,
6,
3719,
288,
5411,
16153,
2375,
273,
6577,
18,
869,
8915,
12,
7734,
2332,
18,
588,
1396,
2932,
1355,
18,
1214,
20387,
3001,
861,
12,
20,
3719,
397,
6398,
4898,
31,
3639,
289,
3639,
469,
3639,
288,
5411,
16153,
2375,
273,
1408,
31,
3639,
289,
3639,
309,
261,
15112,
18,
291,
9203,
2932,
19219,
6,
3719,
288,
5411,
1815,
8867,
2932,
768,
2207,
19,
39,
27824,
11351,
3113,
7527,
67,
1693,
2627,
55,
18,
869,
3098,
2932,
71,
31027,
11351,
7923,
1769,
3639,
289,
3639,
309,
2
] |
private ExternalIds readExternalIds(boolean inNotation, boolean isSubset) throws IOException, XMLStreamException { char c; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; ExternalIds ids = new ExternalIds(); if (tryRead("PUBLIC")) { requireWhitespace(); ids.publicId = readLiteral(LIT_NORMALIZE | LIT_PUBID | flags); if (inNotation) { skipWhitespace(); mark(1); c = readCh(); reset(); if (c == '"' || c == '\'') ids.systemId = absolutize(input.systemId, readLiteral(flags)); } else { requireWhitespace(); ids.systemId = absolutize(input.systemId, readLiteral(flags)); } for (int i = 0; i < ids.publicId.length(); i++) { c = ids.publicId.charAt(i); if (c >= 'a' && c <= 'z') continue; if (c >= 'A' && c <= 'Z') continue; if (" \r\n0123456789-' ()+,./:=?;!*#@$_%".indexOf(c) != -1) continue; error("illegal PUBLIC id character", "U+" + Integer.toHexString(c)); } } else if (tryRead("SYSTEM")) { requireWhitespace(); ids.systemId = absolutize(input.systemId, readLiteral(flags)); } else if (!isSubset) { error("missing SYSTEM or PUBLIC keyword"); } if (ids.systemId != null) { if (ids.systemId.indexOf('#') != -1) error("SYSTEM id has a URI fragment", ids.systemId); } return ids; }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/XMLParser.java/buggy/core/src/classpath/gnu/gnu/xml/stream/XMLParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
11352,
2673,
855,
6841,
2673,
12,
6494,
316,
14818,
16,
1250,
16523,
542,
13,
565,
1216,
1860,
16,
21526,
225,
288,
565,
1149,
276,
31,
565,
509,
2943,
273,
511,
1285,
67,
13498,
2782,
67,
5458,
42,
571,
511,
1285,
67,
13498,
2782,
67,
1423,
571,
511,
1285,
67,
13498,
2782,
67,
654,
26897,
31,
565,
11352,
2673,
3258,
273,
394,
11352,
2673,
5621,
3639,
309,
261,
698,
1994,
2932,
14939,
6,
3719,
1377,
288,
3639,
2583,
9431,
5621,
3639,
3258,
18,
482,
548,
273,
855,
6177,
12,
15716,
67,
15480,
15641,
571,
511,
1285,
67,
17217,
734,
571,
2943,
1769,
3639,
309,
261,
267,
14818,
13,
1850,
288,
5411,
2488,
9431,
5621,
5411,
2267,
12,
21,
1769,
5411,
276,
273,
855,
782,
5621,
5411,
2715,
5621,
5411,
309,
261,
71,
422,
4754,
747,
276,
422,
14118,
6134,
2868,
3258,
18,
4299,
548,
273,
2417,
355,
322,
554,
12,
2630,
18,
4299,
548,
16,
855,
6177,
12,
7133,
10019,
1850,
289,
3639,
469,
1850,
288,
5411,
2583,
9431,
5621,
5411,
3258,
18,
4299,
548,
273,
2417,
355,
322,
554,
12,
2630,
18,
4299,
548,
16,
855,
6177,
12,
7133,
10019,
1850,
289,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
3258,
18,
482,
548,
18,
2469,
5621,
277,
27245,
1850,
288,
5411,
276,
273,
3258,
18,
482,
548,
18,
3001,
861,
12,
77,
1769,
5411,
309,
261,
71,
1545,
296,
69,
11,
597,
276,
1648,
296,
94,
6134,
2868,
1324,
31,
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,
282,
3238,
11352,
2673,
855,
6841,
2673,
12,
6494,
316,
14818,
16,
1250,
16523,
542,
13,
565,
1216,
1860,
16,
21526,
225,
288,
565,
1149,
276,
31,
565,
509,
2943,
273,
511,
1285,
67,
13498,
2782,
67,
5458,
42,
571,
511,
1285,
67,
13498,
2782,
67,
1423,
571,
511,
1285,
67,
13498,
2782,
67,
654,
26897,
31,
565,
11352,
2673,
3258,
273,
394,
11352,
2673,
5621,
3639,
309,
261,
698,
1994,
2932,
14939,
6,
3719,
1377,
288,
3639,
2583,
9431,
5621,
3639,
3258,
18,
482,
548,
273,
855,
6177,
12,
15716,
67,
15480,
15641,
571,
511,
1285,
67,
17217,
734,
571,
2943,
1769,
3639,
309,
261,
267,
14818,
13,
1850,
288,
5411,
2488,
9431,
5621,
5411,
2267,
12,
21,
2
] |
||
private void initPage() throws DocumentException { // initialisation of some page objects annotations = new PdfArray(); fontDictionary = new PdfFontDictionary(); xObjectDictionary = new PdfXObjectDictionary(); writer.resetContent(); // the pagenumber is incremented pageN++; // graphics and text are initialized float oldleading = leading; int oldAlignment = alignment; imageEnd = -1; imageIndentRight = 0; imageIndentLeft = 0; graphics = new PdfContentByte(writer); text = new PdfContentByte(writer); text.beginText(); leading = 16; indentBottom = 0; indentTop = 0; currentHeight = 0; // backgroundcolors, etc... thisPageSize = pageSize; if (pageSize.backgroundColor() != null || pageSize.hasBorders() || pageSize.borderColor() != null || pageSize.grayFill() > 0) { add(pageSize); } // if there is a watermark, the watermark is added if (watermark != null) { float mt[] = watermark.matrix(); graphics.addImage(watermark, mt[0], mt[1], mt[2], mt[3], watermark.offsetX() - mt[4], watermark.offsetY() - mt[5]); } // if there is a footer, the footer is added if (footer != null) { footer.setPageNumber(pageN); leading = footer.paragraph().leading(); add(footer.paragraph()); // adding the footer limits the height indentBottom = currentHeight; text.moveText(left(), indentBottom()); flushLines(); text.moveText(-left(), -bottom()); footer.setTop(bottom(currentHeight)); footer.setBottom(bottom() - (0.75f * leading)); footer.setLeft(left()); footer.setRight(right()); graphics.rectangle(footer); indentBottom = currentHeight + leading * 3 / 2; currentHeight = 0; } // we move to the left/top position of the page text.moveText(left(), top()); // if there is a header, the header = added if (header != null) { header.setPageNumber(pageN); leading = header.paragraph().leading(); text.moveText(0, leading); add(header.paragraph()); newLine(); indentTop = currentHeight - leading; header.setTop(top() + leading); header.setBottom(indentTop() + leading * 2 / 3); header.setLeft(left()); header.setRight(right()); graphics.rectangle(header); flushLines(); currentHeight = 0; } pageEmpty = true; // if there is an image waiting to be drawn, draw it try { if (imageWait != null) { add(imageWait); imageWait = null; } } catch(Exception e) { e.printStackTrace(); } leading = oldleading; alignment = oldAlignment; carriageReturn(); PdfPageEvent pageEvent = writer.getPageEvent(); if (pageEvent != null) { if (firstPageEvent) { pageEvent.onOpenDocument(writer, this); } pageEvent.onStartPage(writer, this); } firstPageEvent = false; }
|
3011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3011/57f3b7461acee82684c0e028473d49bed56a6b35/PdfDocument.java/clean/itext/src/com/lowagie/text/pdf/PdfDocument.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
1964,
1435,
1216,
4319,
503,
288,
7734,
368,
2172,
10742,
434,
2690,
1363,
2184,
3639,
5617,
273,
394,
9989,
1076,
5621,
3639,
3512,
10905,
273,
394,
9989,
5711,
10905,
5621,
3639,
619,
921,
10905,
273,
394,
9989,
60,
921,
10905,
5621,
3639,
2633,
18,
6208,
1350,
5621,
7734,
368,
326,
4262,
21998,
353,
28859,
3639,
1363,
50,
9904,
31,
7734,
368,
17313,
471,
977,
854,
6454,
3639,
1431,
1592,
27200,
273,
7676,
31,
3639,
509,
1592,
11535,
273,
8710,
31,
7734,
1316,
1638,
273,
300,
21,
31,
3639,
1316,
7790,
4726,
273,
374,
31,
3639,
1316,
7790,
3910,
273,
374,
31,
3639,
17313,
273,
394,
9989,
1350,
3216,
12,
6299,
1769,
3639,
977,
273,
394,
9989,
1350,
3216,
12,
6299,
1769,
3639,
977,
18,
10086,
1528,
5621,
3639,
7676,
273,
2872,
31,
3639,
3504,
10393,
273,
374,
31,
3639,
3504,
3401,
273,
374,
31,
3639,
783,
2686,
273,
374,
31,
7734,
368,
5412,
9724,
16,
5527,
2777,
3639,
333,
24035,
273,
13387,
31,
3639,
309,
261,
26165,
18,
9342,
2957,
1435,
480,
446,
3639,
747,
13387,
18,
5332,
21621,
1435,
3639,
747,
13387,
18,
8815,
2957,
1435,
480,
446,
3639,
747,
13387,
18,
22440,
8026,
1435,
405,
374,
13,
288,
5411,
527,
12,
26165,
1769,
3639,
289,
7734,
368,
309,
1915,
353,
279,
14377,
16,
326,
14377,
353,
3096,
3639,
309,
261,
91,
10003,
480,
446,
13,
288,
5411,
1431,
5874,
8526,
273,
14377,
18,
5667,
5621,
5411,
17313,
18,
1289,
2040,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
1964,
1435,
1216,
4319,
503,
288,
7734,
368,
2172,
10742,
434,
2690,
1363,
2184,
3639,
5617,
273,
394,
9989,
1076,
5621,
3639,
3512,
10905,
273,
394,
9989,
5711,
10905,
5621,
3639,
619,
921,
10905,
273,
394,
9989,
60,
921,
10905,
5621,
3639,
2633,
18,
6208,
1350,
5621,
7734,
368,
326,
4262,
21998,
353,
28859,
3639,
1363,
50,
9904,
31,
7734,
368,
17313,
471,
977,
854,
6454,
3639,
1431,
1592,
27200,
273,
7676,
31,
3639,
509,
1592,
11535,
273,
8710,
31,
7734,
1316,
1638,
273,
300,
21,
31,
3639,
1316,
7790,
4726,
273,
374,
31,
3639,
1316,
7790,
3910,
273,
374,
31,
3639,
17313,
273,
394,
9989,
1350,
3216,
12,
6299,
1769,
3639,
977,
273,
394,
2
] |
||
throw new IllegalArgumentException ();
|
throw new IllegalArgumentException("Not enough format objects");
|
public void setFormats (Format[] newFormats) { if (newFormats.length < elements.length) throw new IllegalArgumentException (); int len = Math.min(newFormats.length, elements.length); for (int i = 0; i < len; ++i) elements[i].setFormat = newFormats[i]; }
|
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/78b246ca2bfca0e1b9cfb2a8042be53a2cc7b376/MessageFormat.java/buggy/libjava/java/text/MessageFormat.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
8976,
261,
1630,
8526,
394,
8976,
13,
225,
288,
565,
309,
261,
2704,
8976,
18,
2469,
411,
2186,
18,
2469,
13,
1377,
604,
394,
2754,
2932,
1248,
7304,
740,
2184,
8863,
377,
509,
562,
273,
2361,
18,
1154,
12,
2704,
8976,
18,
2469,
16,
2186,
18,
2469,
1769,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
562,
31,
965,
77,
13,
1377,
2186,
63,
77,
8009,
542,
1630,
273,
394,
8976,
63,
77,
15533,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
8976,
261,
1630,
8526,
394,
8976,
13,
225,
288,
565,
309,
261,
2704,
8976,
18,
2469,
411,
2186,
18,
2469,
13,
1377,
604,
394,
2754,
2932,
1248,
7304,
740,
2184,
8863,
377,
509,
562,
273,
2361,
18,
1154,
12,
2704,
8976,
18,
2469,
16,
2186,
18,
2469,
1769,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
562,
31,
965,
77,
13,
1377,
2186,
63,
77,
8009,
542,
1630,
273,
394,
8976,
63,
77,
15533,
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
] |
IProject project = getProject(selection);
|
IProject project = getProject();
|
protected void setTitle(ISelection selection) { String title = origTitle; IProject project = getProject(selection); if (project != null ) { title += " [" + project.getName() + "]"; } setTitle(title); }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/f4ed4e474566c62dd86ddfa579de9d355767fb3f/BuildConsoleView.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/buildconsole/BuildConsoleView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
14109,
12,
45,
6233,
4421,
13,
288,
202,
202,
780,
2077,
273,
1647,
4247,
31,
202,
202,
45,
4109,
1984,
273,
11080,
12,
10705,
1769,
202,
202,
430,
261,
4406,
480,
446,
262,
288,
1082,
202,
2649,
1011,
315,
8247,
397,
1984,
18,
17994,
1435,
397,
9870,
31,
202,
202,
97,
202,
202,
542,
4247,
12,
2649,
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,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,
262,
288,
1082,
202,
2649,
1011,
315,
8247,
397,
1984,
18,
17994,
1435,
397,
9870,
31,
202,
202,
97,
202,
202,
542,
4247,
12,
2649,
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
] |
dst.setMainPoperty(pname, v, important);
|
dst.setMainProperty(pname, v, important);
|
public void property(String pname, LexicalUnit lu, boolean important) { int idx = getPropertyIndex(pname); if (idx != -1) { ValueManager vm = valueManagers[idx]; Value v = vm.createValue(lu, CSSEngine.this); dst.setMainPoperty(pname, v, important); return; } idx = getShorthandIndex(pname); if (idx == -1) return; // Unknown property... // Shorthand value shorthandManagers[idx].setValues (CSSEngine.this, this, lu, important); }
|
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/885608e4d51bd404d0e1cd5932465405cc337e42/CSSEngine.java/clean/sources/org/apache/batik/css/engine/CSSEngine.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
5397,
1071,
918,
1272,
12,
780,
19952,
16,
15123,
1706,
2802,
20072,
16,
29159,
1250,
10802,
13,
288,
13491,
509,
2067,
273,
3911,
1016,
12,
84,
529,
1769,
13491,
309,
261,
3465,
480,
300,
21,
13,
288,
18701,
1445,
1318,
4268,
273,
460,
17570,
63,
3465,
15533,
18701,
1445,
331,
273,
4268,
18,
2640,
620,
12,
28832,
16,
6765,
4410,
18,
2211,
1769,
18701,
3046,
18,
542,
6376,
1396,
12,
84,
529,
16,
331,
16,
10802,
1769,
18701,
327,
31,
13491,
289,
13491,
2067,
273,
7932,
15830,
1016,
12,
84,
529,
1769,
13491,
309,
261,
3465,
422,
300,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
5397,
1071,
918,
1272,
12,
780,
19952,
16,
15123,
1706,
2802,
20072,
16,
29159,
1250,
10802,
13,
288,
13491,
509,
2067,
273,
3911,
1016,
12,
84,
529,
1769,
13491,
309,
261,
3465,
480,
300,
21,
13,
288,
18701,
1445,
1318,
4268,
273,
460,
17570,
63,
3465,
15533,
18701,
1445,
331,
273,
4268,
18,
2640,
620,
12,
28832,
16,
6765,
4410,
18,
2211,
1769,
18701,
3046,
18,
542,
6376,
1396,
12,
84,
529,
16,
331,
16,
10802,
1769,
18701,
327,
31,
13491,
289,
13491,
2067,
273,
7932,
15830,
1016,
12,
84,
529,
1769,
13491,
309,
261,
3465,
422,
300,
21,
13,
18701,
327,
31,
368,
9077,
1272,
2777,
13491,
368,
2638,
15830,
460,
13491,
21310,
17570,
63,
3465,
8009,
542,
2
] |
text = DurationFormatUtils.formatDurationWords(120*1000, false, false);
|
text = DurationFormatUtils.formatDurationWords(120 * 1000, false, false);
|
public void testFormatDurationWords(){ String text = null; text = DurationFormatUtils.formatDurationWords(50*1000, true, false); assertEquals("50 seconds", text); text = DurationFormatUtils.formatDurationWords(65*1000, true, false); assertEquals("1 minute 5 seconds", text); text = DurationFormatUtils.formatDurationWords(120*1000, true, false); assertEquals("2 minutes 0 seconds", text); text = DurationFormatUtils.formatDurationWords(121*1000, true, false); assertEquals("2 minutes 1 second", text); text = DurationFormatUtils.formatDurationWords(72*60*1000, true, false); assertEquals("1 hour 12 minutes 0 seconds", text); text = DurationFormatUtils.formatDurationWords(24*60*60*1000, true, false); assertEquals("1 day 0 hours 0 minutes 0 seconds", text); text = DurationFormatUtils.formatDurationWords(50*1000, true, true); assertEquals("50 seconds", text); text = DurationFormatUtils.formatDurationWords(65*1000, true, true); assertEquals("1 minute 5 seconds", text); text = DurationFormatUtils.formatDurationWords(120*1000, true, true); assertEquals("2 minutes", text); text = DurationFormatUtils.formatDurationWords(121*1000, true, true); assertEquals("2 minutes 1 second", text); text = DurationFormatUtils.formatDurationWords(72*60*1000, true, true); assertEquals("1 hour 12 minutes", text); text = DurationFormatUtils.formatDurationWords(24*60*60*1000, true, true); assertEquals("1 day", text); text = DurationFormatUtils.formatDurationWords(50*1000, false, true); assertEquals("0 days 0 hours 0 minutes 50 seconds", text); text = DurationFormatUtils.formatDurationWords(65*1000, false, true); assertEquals("0 days 0 hours 1 minute 5 seconds", text); text = DurationFormatUtils.formatDurationWords(120*1000, false, true); assertEquals("0 days 0 hours 2 minutes", text); text = DurationFormatUtils.formatDurationWords(121*1000, false, true); assertEquals("0 days 0 hours 2 minutes 1 second", text); text = DurationFormatUtils.formatDurationWords(72*60*1000, false, true); assertEquals("0 days 1 hour 12 minutes", text); text = DurationFormatUtils.formatDurationWords(24*60*60*1000, false, true); assertEquals("1 day", text); text = DurationFormatUtils.formatDurationWords(50*1000, false, false); assertEquals("0 days 0 hours 0 minutes 50 seconds", text); text = DurationFormatUtils.formatDurationWords(65*1000, false, false); assertEquals("0 days 0 hours 1 minute 5 seconds", text); text = DurationFormatUtils.formatDurationWords(120*1000, false, false); assertEquals("0 days 0 hours 2 minutes 0 seconds", text); text = DurationFormatUtils.formatDurationWords(121*1000, false, false); assertEquals("0 days 0 hours 2 minutes 1 second", text); text = DurationFormatUtils.formatDurationWords(72*60*1000, false, false); assertEquals("0 days 1 hour 12 minutes 0 seconds", text); text = DurationFormatUtils.formatDurationWords(48*60*60*1000 + 72*60*1000 , false, false); assertEquals("2 days 1 hour 12 minutes 0 seconds", text); }
|
4554 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4554/f0f0bf81e7010b213be89b477eaaba339a3d9fbc/DurationFormatUtilsTest.java/buggy/src/test/org/apache/commons/lang/time/DurationFormatUtilsTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1630,
5326,
7363,
1435,
95,
3639,
514,
977,
273,
446,
31,
7734,
977,
273,
4822,
1630,
1989,
18,
2139,
5326,
7363,
12,
3361,
14,
18088,
16,
638,
16,
629,
1769,
3639,
1815,
8867,
2932,
3361,
3974,
3113,
977,
1769,
3639,
977,
273,
4822,
1630,
1989,
18,
2139,
5326,
7363,
12,
9222,
14,
18088,
16,
638,
16,
629,
1769,
3639,
1815,
8867,
2932,
21,
8044,
1381,
3974,
3113,
977,
1769,
3639,
977,
273,
4822,
1630,
1989,
18,
2139,
5326,
7363,
12,
22343,
14,
18088,
16,
638,
16,
629,
1769,
3639,
1815,
8867,
2932,
22,
6824,
374,
3974,
3113,
977,
1769,
3639,
977,
273,
4822,
1630,
1989,
18,
2139,
5326,
7363,
12,
26009,
14,
18088,
16,
638,
16,
629,
1769,
3639,
1815,
8867,
2932,
22,
6824,
404,
2205,
3113,
977,
1769,
3639,
977,
273,
4822,
1630,
1989,
18,
2139,
5326,
7363,
12,
9060,
14,
4848,
14,
18088,
16,
638,
16,
629,
1769,
3639,
1815,
8867,
2932,
21,
6126,
2593,
6824,
374,
3974,
3113,
977,
1769,
3639,
977,
273,
4822,
1630,
1989,
18,
2139,
5326,
7363,
12,
3247,
14,
4848,
14,
4848,
14,
18088,
16,
638,
16,
629,
1769,
3639,
1815,
8867,
2932,
21,
2548,
374,
7507,
374,
6824,
374,
3974,
3113,
977,
1769,
7734,
977,
273,
4822,
1630,
1989,
18,
2139,
5326,
7363,
12,
3361,
14,
18088,
16,
638,
16,
638,
1769,
3639,
1815,
8867,
2932,
3361,
3974,
3113,
977,
1769,
3639,
977,
273,
4822,
1630,
1989,
18,
2139,
5326,
7363,
12,
9222,
14,
18088,
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,
1630,
5326,
7363,
1435,
95,
3639,
514,
977,
273,
446,
31,
7734,
977,
273,
4822,
1630,
1989,
18,
2139,
5326,
7363,
12,
3361,
14,
18088,
16,
638,
16,
629,
1769,
3639,
1815,
8867,
2932,
3361,
3974,
3113,
977,
1769,
3639,
977,
273,
4822,
1630,
1989,
18,
2139,
5326,
7363,
12,
9222,
14,
18088,
16,
638,
16,
629,
1769,
3639,
1815,
8867,
2932,
21,
8044,
1381,
3974,
3113,
977,
1769,
3639,
977,
273,
4822,
1630,
1989,
18,
2139,
5326,
7363,
12,
22343,
14,
18088,
16,
638,
16,
629,
1769,
3639,
1815,
8867,
2932,
22,
6824,
374,
3974,
3113,
977,
1769,
3639,
977,
273,
4822,
1630,
1989,
18,
2139,
5326,
7363,
12,
26009,
14,
18088,
16,
638,
2
] |
event.getBot().addFactoid(sender, key, Arrays.toString(Arrays.subset(messageParts, partWithIs + 1, messageParts.length), " "));
|
event.getBot().addFactoid(sender, key,value);
|
public List handleMessage(BotEvent event) { List messages = new TypeSafeList(new ArrayList(), Message.class); String message = event.getMessage(); String channel = event.getChannel(); String sender = event.getSender(); Javabot bot = event.getBot(); String[] messageParts = message.split(" "); int partWithIs = Arrays.search(messageParts, "is"); if(partWithIs!=-1 && message.matches("^\\s*\\w+\\s+is\\s++\\w+")) { if(!bot.isValidSender(sender)) { Object keyParts = Arrays.subset(messageParts, 0, partWithIs); String key = Arrays.toString(keyParts, " "); key = key.toLowerCase(); while(key.endsWith(".") || key.endsWith("?") || key.endsWith("!")) { key = key.substring(0, key.length() - 1); } if(bot.hasFactoid(key)) { messages.add(new Message(channel, "I already have a factoid " + "with that name, " + sender, false)); return messages; } messages.add(new Message(channel, "Okay, " + sender + ".", false)); event.getBot().addFactoid(sender, key, Arrays.toString(Arrays.subset(messageParts, partWithIs + 1, messageParts.length), " ")); } else { messages.add(new Message(channel, "Whatever, " + sender + ".", false)); } } return messages; }
|
50286 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50286/c4eb5f6084ab1cd040dfdf5f52ff28428eaaff94/AddFactoidOperation.java/clean/src/javabot/operations/AddFactoidOperation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
1640,
1079,
12,
6522,
1133,
871,
13,
288,
3639,
987,
2743,
273,
394,
1412,
9890,
682,
12,
2704,
2407,
9334,
2350,
18,
1106,
1769,
3639,
514,
883,
273,
871,
18,
24906,
5621,
3639,
514,
1904,
273,
871,
18,
588,
2909,
5621,
3639,
514,
5793,
273,
871,
18,
588,
12021,
5621,
3639,
804,
842,
378,
352,
2512,
273,
871,
18,
588,
6522,
5621,
3639,
514,
8526,
883,
4305,
273,
883,
18,
4939,
2932,
315,
1769,
3639,
509,
1087,
1190,
2520,
273,
5647,
18,
3072,
12,
2150,
4305,
16,
315,
291,
8863,
3639,
309,
12,
2680,
1190,
2520,
5,
29711,
21,
597,
883,
18,
8436,
2932,
66,
1695,
87,
14,
1695,
91,
15,
1695,
87,
15,
291,
1695,
87,
9904,
1695,
91,
9078,
3719,
288,
5411,
309,
12,
5,
4819,
18,
26810,
12021,
12,
15330,
3719,
288,
7734,
1033,
498,
4305,
273,
5647,
18,
15657,
12,
2150,
4305,
16,
374,
16,
1087,
1190,
2520,
1769,
7734,
514,
498,
273,
5647,
18,
10492,
12,
856,
4305,
16,
315,
315,
1769,
7734,
498,
273,
498,
18,
869,
5630,
5621,
7734,
1323,
12,
856,
18,
5839,
1190,
2932,
1199,
13,
747,
498,
18,
5839,
1190,
2932,
7225,
13,
10792,
747,
498,
18,
5839,
1190,
2932,
4442,
3719,
288,
10792,
498,
273,
498,
18,
28023,
12,
20,
16,
498,
18,
2469,
1435,
300,
404,
1769,
7734,
289,
7734,
309,
12,
4819,
18,
5332,
9766,
839,
12,
856,
3719,
288,
10792,
2743,
18,
1289,
12,
2704,
2350,
12,
4327,
16,
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,
1071,
987,
1640,
1079,
12,
6522,
1133,
871,
13,
288,
3639,
987,
2743,
273,
394,
1412,
9890,
682,
12,
2704,
2407,
9334,
2350,
18,
1106,
1769,
3639,
514,
883,
273,
871,
18,
24906,
5621,
3639,
514,
1904,
273,
871,
18,
588,
2909,
5621,
3639,
514,
5793,
273,
871,
18,
588,
12021,
5621,
3639,
804,
842,
378,
352,
2512,
273,
871,
18,
588,
6522,
5621,
3639,
514,
8526,
883,
4305,
273,
883,
18,
4939,
2932,
315,
1769,
3639,
509,
1087,
1190,
2520,
273,
5647,
18,
3072,
12,
2150,
4305,
16,
315,
291,
8863,
3639,
309,
12,
2680,
1190,
2520,
5,
29711,
21,
597,
883,
18,
8436,
2932,
66,
1695,
87,
14,
1695,
91,
15,
1695,
87,
15,
291,
1695,
2
] |
PackageResource.bind(application, SliderImages.class, Pattern.compile(".*\\.gif|.*\\.png"));
|
PackageResource.bind(application, Slider.class, Pattern.compile(".*\\.gif|.*\\.png"), true);
|
public void init(Application application) { // register all javascript files PackageResource.bind(application, Slider.class, Pattern.compile(".*\\.js")); // images PackageResource.bind(application, SliderImages.class, Pattern.compile(".*\\.gif|.*\\.png")); // and a css PackageResource.bind(application, Slider.class, "css/screen.css"); }
|
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/ae59133d78ed3da15c99216df8bff21899d250df/Slider.java/clean/wicket-extensions/src/java/wicket/extensions/markup/html/yui/slider/Slider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1208,
12,
3208,
2521,
13,
202,
202,
95,
1082,
202,
759,
1744,
777,
11341,
1390,
1082,
202,
2261,
1420,
18,
4376,
12,
3685,
16,
9708,
3585,
18,
1106,
16,
6830,
18,
11100,
2932,
4509,
19978,
2924,
7923,
1769,
1082,
202,
759,
4602,
1082,
202,
2261,
1420,
18,
4376,
12,
3685,
16,
9708,
3585,
8946,
18,
1106,
16,
6830,
18,
11100,
2932,
4509,
19978,
13905,
96,
4509,
19978,
6446,
7923,
1769,
1082,
202,
759,
471,
279,
3747,
1082,
202,
2261,
1420,
18,
4376,
12,
3685,
16,
9708,
3585,
18,
1106,
16,
315,
5212,
19,
9252,
18,
5212,
8863,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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602,
1082,
202,
2261,
1420,
18,
4376,
12,
3685,
16,
9708,
3585,
8946,
18,
1106,
16,
6830,
18,
11100,
2932,
4509,
19978,
13905,
96,
4509,
19978,
6446,
7923,
1769,
1082,
202,
759,
471,
279,
3747,
1082,
202,
2261,
1420,
18,
4376,
12,
3685,
16,
9708,
3585,
18,
1106,
16,
315,
5212,
19,
9252,
18,
5212,
8863,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public org.quickfix.field.Rule80A getRule80A() throws FieldNotFound { org.quickfix.field.Rule80A value = new org.quickfix.field.Rule80A();
|
public quickfix.field.Rule80A getRule80A() throws FieldNotFound { quickfix.field.Rule80A value = new quickfix.field.Rule80A();
|
public org.quickfix.field.Rule80A getRule80A() throws FieldNotFound { org.quickfix.field.Rule80A value = new org.quickfix.field.Rule80A(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderSingle.java/buggy/src/java/src/quickfix/fix43/NewOrderSingle.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
2175,
3672,
37,
19048,
3672,
37,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
2175,
3672,
37,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
2175,
3672,
37,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
2175,
3672,
37,
19048,
3672,
37,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
2175,
3672,
37,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
2175,
3672,
37,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
tileSelectionListeners.remove(TileSelectionListener.class, listener);
|
tileSelectionListeners.remove(listener);
|
public void removeTileSelectionListener(TileSelectionListener listener) { tileSelectionListeners.remove(TileSelectionListener.class, listener); }
|
6621 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6621/97855ad621000b7ef1784f1501a2e2b350e5a9cd/TilePalettePanel.java/buggy/src/tiled/mapeditor/widget/TilePalettePanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1206,
9337,
6233,
2223,
12,
9337,
6233,
2223,
2991,
13,
288,
3639,
4769,
6233,
5583,
18,
4479,
12,
12757,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1206,
9337,
6233,
2223,
12,
9337,
6233,
2223,
2991,
13,
288,
3639,
4769,
6233,
5583,
18,
4479,
12,
12757,
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
] |
public void close () throws Exception {
|
public void close() throws Exception {
|
public void close () throws Exception { try { if (con!=null) { con.close(); } if (stmt!=null){ stmt.close(); } } catch (Exception e) { System.err.println(e.getMessage()); } }
|
8754 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8754/efb83d08bf3214ba362adb9486345c128a00bae7/DatabaseRetriever.java/buggy/usage/java/reports/source/src/org/globus/usage/report/common/DatabaseRetriever.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1746,
1435,
1216,
1185,
288,
3639,
775,
288,
5411,
309,
261,
591,
5,
33,
2011,
13,
288,
7734,
356,
18,
4412,
5621,
5411,
289,
5411,
309,
261,
10589,
5,
33,
2011,
15329,
7734,
3480,
18,
4412,
5621,
5411,
289,
3639,
289,
1044,
261,
503,
425,
13,
288,
2398,
2332,
18,
370,
18,
8222,
12,
73,
18,
24906,
10663,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1746,
1435,
1216,
1185,
288,
3639,
775,
288,
5411,
309,
261,
591,
5,
33,
2011,
13,
288,
7734,
356,
18,
4412,
5621,
5411,
289,
5411,
309,
261,
10589,
5,
33,
2011,
15329,
7734,
3480,
18,
4412,
5621,
5411,
289,
3639,
289,
1044,
261,
503,
425,
13,
288,
2398,
2332,
18,
370,
18,
8222,
12,
73,
18,
24906,
10663,
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
] |
/* prototype for short-circuit bug */
|
public void sawOpcode(int seen) { /* prototype for short-circuit bug */ distance++; switch (seen) { case IFNONNULL: case IFNULL: stage1 = 3; break; case ICONST_1: if (stage1 != 3) stage1 = 1; else stage1 = 0; break; case GOTO: if (stage1 == 1) stage1 = 2; else stage1 = 0; break; case ICONST_0: if (stage1 == 2) { distance = 0; // System.out.println("saw 1; goto X; 0"); } stage1 = 0; break; case INVOKEINTERFACE: case INVOKEVIRTUAL: case INVOKESPECIAL: case INVOKESTATIC: String sig = getSigConstantOperand(); if (sig.endsWith(")Z")) distance = 0; stage1 = 0; break; default: stage1 = 0; } switch (seen) { case IAND: case IOR: // System.out.println("Saw IOR or IAND at distance " + distance); if (distance < 4) { operator = seen; //distance2 = distance; stage2 = 1; } else stage2 = 0; break; case IFEQ: case IFNE: if (stage2 == 1) { // System.out.println("Found nsc"); bugReporter.reportBug(new BugInstance(this, "NS_NON_SHORT_CIRCUIT", NORMAL_PRIORITY) .addClassAndMethod(this) .addSourceLine(this, getPC())); } stage2 = 0; break; case PUTFIELD: case PUTSTATIC: case IRETURN: if (operator == IAND && stage2 == 1) { // System.out.println("Found nsc"); bugReporter.reportBug(new BugInstance(this, "NS_NON_SHORT_CIRCUIT", NORMAL_PRIORITY) .addClassAndMethod(this) .addSourceLine(this, getPC())); } stage2 = 0; break; default: stage2 = 0; break; } }
|
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/564a05c7bbfd31f95362313b888742b389a31512/FindNonShortCircuit.java/clean/findbugs/src/java/edu/umd/cs/findbugs/detect/FindNonShortCircuit.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1850,
1071,
918,
19821,
22808,
12,
474,
5881,
13,
288,
202,
202,
20308,
4409,
364,
3025,
17,
24987,
7934,
1195,
202,
202,
8969,
9904,
31,
202,
202,
9610,
261,
15156,
13,
288,
202,
202,
3593,
11083,
3993,
8560,
30,
202,
202,
3593,
11083,
8560,
30,
1082,
202,
12869,
21,
273,
890,
31,
1082,
202,
8820,
31,
202,
202,
3593,
467,
26411,
67,
21,
30,
1082,
202,
430,
261,
12869,
21,
480,
890,
13,
9506,
202,
12869,
21,
273,
404,
31,
1082,
202,
12107,
6009,
21,
273,
374,
31,
1082,
202,
8820,
31,
202,
202,
3593,
611,
27019,
30,
1082,
202,
430,
261,
12869,
21,
422,
404,
13,
9506,
202,
12869,
21,
273,
576,
31,
1082,
202,
12107,
9506,
202,
12869,
21,
273,
374,
31,
1082,
202,
8820,
31,
202,
202,
3593,
467,
26411,
67,
20,
30,
1082,
202,
430,
261,
12869,
21,
422,
576,
13,
288,
9506,
202,
8969,
273,
374,
31,
9506,
202,
759,
2332,
18,
659,
18,
8222,
2932,
87,
2219,
404,
31,
2897,
1139,
31,
374,
8863,
1082,
202,
97,
1082,
202,
12869,
21,
273,
374,
31,
1082,
202,
8820,
31,
202,
202,
3593,
29666,
18865,
30,
202,
202,
3593,
29666,
26854,
30,
202,
202,
3593,
20694,
3991,
10106,
6365,
30,
202,
202,
3593,
20694,
11027,
11781,
30,
1082,
202,
780,
3553,
273,
1322,
360,
6902,
10265,
5621,
1082,
202,
430,
261,
7340,
18,
5839,
1190,
2932,
13,
62,
6,
3719,
6862,
202,
8969,
273,
374,
31,
1082,
202,
12869,
21,
273,
374,
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,
1850,
1071,
918,
19821,
22808,
12,
474,
5881,
13,
288,
202,
202,
20308,
4409,
364,
3025,
17,
24987,
7934,
1195,
202,
202,
8969,
9904,
31,
202,
202,
9610,
261,
15156,
13,
288,
202,
202,
3593,
11083,
3993,
8560,
30,
202,
202,
3593,
11083,
8560,
30,
1082,
202,
12869,
21,
273,
890,
31,
1082,
202,
8820,
31,
202,
202,
3593,
467,
26411,
67,
21,
30,
1082,
202,
430,
261,
12869,
21,
480,
890,
13,
9506,
202,
12869,
21,
273,
404,
31,
1082,
202,
12107,
6009,
21,
273,
374,
31,
1082,
202,
8820,
31,
202,
202,
3593,
611,
27019,
30,
1082,
202,
430,
261,
12869,
21,
422,
404,
13,
9506,
202,
12869,
21,
273,
576,
31,
1082,
202,
12107,
9506,
202,
2
] |
|
} catch (Exception e) {
|
} catch (Throwable e) {
|
private int tryAllDownloads3() throws InterruptedException { //The parts of the file we still need to download. //INVARIANT: all intervals are disjoint and non-empty synchronized(this) { needed=new ArrayList(); {//all variables in this block have limited scope RemoteFileDesc rfd=(RemoteFileDesc)files.get(0); File incompleteFile=incompleteFileManager.getFile(rfd); synchronized (incompleteFileManager) { //get VerifyingFile commonOutFile= incompleteFileManager.getEntry(incompleteFile); } if(commonOutFile==null) {//no entry in incompleteFM debug("creating a verifying file"); commonOutFile = new VerifyingFile(true); //we must add an entry for this in IncompleteFileManager incompleteFileManager. addEntry(incompleteFile,commonOutFile); } //need to get the VerifyingFile ready to write try { commonOutFile.open(incompleteFile,this); } catch(IOException e) { //Ideally we should show the user some sort of message here. //See GUI core bug #83. return COULDNT_MOVE_TO_LIBRARY; } //update needed Iterator iter=commonOutFile.getFreeBlocks(rfd.getSize()); while (iter.hasNext()) needed.add((Interval)iter.next()); } } //The locations that were busy, for trying later. busy=new LinkedList(); int size = -1; int connectTo = -1; Assert.that(threads.size()==0); //While there is still an unfinished region of the file... while (true) { synchronized (stealLock) {//Must obtain stealLock before this synchronized(this) { //Note: This block which causes exiting from //tryAllDownloads3(), needs to be synchronized on stealLock //(and this - state and datastructures) because a worker //thread could take out a block from needed, and not yet //have added a downloader to dloaders while the manager //thread is executing this block. In that case the manager //thread will exit thinking the download is complete if (stopped) { debug("MANAGER: terminating because of stop"); throw new InterruptedException(); } else if (dloaders.size()==0 && needed.size()==0) { //Finished. Interrupt all worker threads for(int i=threads.size();i>0;i--) { Thread t = (Thread)threads.get(i-1); t.interrupt(); } debug("MANAGER: terminating because of completion"); return COMPLETE; } else if (threads.size()==0 && files.size()==0) { //No downloaders worth living for. if (busy.size()>0) { debug("MANAGER: terminating with busy"); files.addAll(busy); return WAITING_FOR_RETRY; } else { debug("MANAGER: terminating w/o hope"); return GAVE_UP; } } size = files.size(); connectTo = getNumAllowedDownloads(); } } //OK. We are going to create a thread for each RFD, for(int i=0; i<connectTo && i<size; i++) { final RemoteFileDesc rfd = removeBest(files); Thread connectCreator = new Thread() { public void run() { boolean iterate = false; try { iterate = connectAndDownload(rfd); } catch (Exception e) { //This is a "firewall" for reporting unhandled //errors. We don't really try to recover at this //point, but we do attempt to display the error in //the GUI for debugging purposes. ManagedDownloader.this.manager.internalError(e); } finally { synchronized (ManagedDownloader.this) { threads.remove(this); if(iterate) ManagedDownloader.this.notifyAll(); } } }//end of run }; connectCreator.start(); synchronized (this) { threads.add(connectCreator); } }//end of for //wait for a notification before we continue. synchronized(this) { try { //if no workers notify in 4 secs, iterate. This is a problem //for stalled downloaders which will never notify. So if we //wait without a timeout, we could wait forever. this.wait(4000); } catch (InterruptedException ee ) { //ee.printStackTrace(); } } }//end of while }
|
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/e4b24ef58cc77022f26819a07ebcb80a084e285e/ManagedDownloader.java/buggy/components/gnutella-core/src/main/java/com/limegroup/gnutella/downloader/ManagedDownloader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
775,
1595,
22141,
23,
1435,
1216,
7558,
288,
3639,
368,
1986,
2140,
434,
326,
585,
732,
4859,
1608,
358,
4224,
18,
3639,
368,
706,
29744,
6856,
30,
777,
10389,
854,
1015,
16452,
471,
1661,
17,
5531,
3639,
3852,
12,
2211,
13,
288,
5411,
3577,
33,
2704,
2407,
5621,
2398,
288,
759,
454,
3152,
316,
333,
1203,
1240,
13594,
2146,
7734,
6304,
812,
4217,
436,
8313,
28657,
5169,
812,
4217,
13,
2354,
18,
588,
12,
20,
1769,
7734,
1387,
14715,
812,
33,
17624,
812,
1318,
18,
29925,
12,
5809,
72,
1769,
7734,
3852,
261,
17624,
812,
1318,
13,
288,
10792,
368,
588,
8553,
310,
812,
10792,
2975,
1182,
812,
33,
10792,
14715,
812,
1318,
18,
588,
1622,
12,
17624,
812,
1769,
7734,
289,
7734,
309,
12,
6054,
1182,
812,
631,
2011,
13,
288,
759,
2135,
1241,
316,
14715,
42,
49,
10792,
1198,
2932,
23799,
279,
3929,
310,
585,
8863,
10792,
2975,
1182,
812,
273,
394,
8553,
310,
812,
12,
3767,
1769,
10792,
368,
1814,
1297,
527,
392,
1241,
364,
333,
316,
657,
6226,
812,
1318,
10792,
14715,
812,
1318,
18,
4766,
282,
527,
1622,
12,
17624,
812,
16,
6054,
1182,
812,
1769,
7734,
289,
7734,
368,
14891,
358,
336,
326,
8553,
310,
812,
5695,
358,
1045,
7734,
775,
288,
10792,
2975,
1182,
812,
18,
3190,
12,
17624,
812,
16,
2211,
1769,
7734,
289,
1044,
12,
14106,
425,
13,
288,
10792,
368,
45,
323,
1230,
732,
1410,
2405,
326,
729,
2690,
1524,
434,
883,
2674,
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,
509,
775,
1595,
22141,
23,
1435,
1216,
7558,
288,
3639,
368,
1986,
2140,
434,
326,
585,
732,
4859,
1608,
358,
4224,
18,
3639,
368,
706,
29744,
6856,
30,
777,
10389,
854,
1015,
16452,
471,
1661,
17,
5531,
3639,
3852,
12,
2211,
13,
288,
5411,
3577,
33,
2704,
2407,
5621,
2398,
288,
759,
454,
3152,
316,
333,
1203,
1240,
13594,
2146,
7734,
6304,
812,
4217,
436,
8313,
28657,
5169,
812,
4217,
13,
2354,
18,
588,
12,
20,
1769,
7734,
1387,
14715,
812,
33,
17624,
812,
1318,
18,
29925,
12,
5809,
72,
1769,
7734,
3852,
261,
17624,
812,
1318,
13,
288,
10792,
368,
588,
8553,
310,
812,
10792,
2975,
1182,
812,
33,
10792,
14715,
812,
1318,
18,
588,
1622,
2
] |
public int CDLHOMINGPIGEON_Lookback() {
|
public int CDLHOMINGPIGEON_Lookback( ) {
|
public int CDLHOMINGPIGEON_Lookback() { return ((((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].avgPeriod)) > ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].avgPeriod))) ? ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].avgPeriod)) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].avgPeriod))) + 1; }
|
7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/5df8081f2a7211016256c0f481213a987e02947a/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
385,
8914,
44,
1872,
1360,
1102,
7113,
673,
67,
9794,
823,
1435,
288,
202,
202,
2463,
261,
12443,
12,
2211,
18,
71,
464,
298,
2628,
63,
9833,
67,
39,
464,
298,
5568,
559,
18,
9833,
67,
2250,
4897,
9506,
202,
18,
517,
1490,
1435,
8009,
14141,
5027,
3719,
405,
14015,
2211,
18,
71,
464,
298,
2628,
63,
9833,
67,
39,
464,
298,
5568,
559,
18,
9833,
67,
2250,
3708,
9506,
202,
18,
517,
1490,
1435,
8009,
14141,
5027,
20349,
692,
14015,
2211,
18,
71,
464,
298,
2628,
63,
9833,
67,
39,
464,
298,
5568,
559,
18,
9833,
67,
2250,
4897,
9506,
202,
18,
517,
1490,
1435,
8009,
14141,
5027,
3719,
9506,
202,
30,
14015,
2211,
18,
71,
464,
298,
2628,
63,
9833,
67,
39,
464,
298,
5568,
559,
18,
9833,
67,
2250,
3708,
25083,
202,
18,
517,
1490,
1435,
8009,
14141,
5027,
20349,
397,
404,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
385,
8914,
44,
1872,
1360,
1102,
7113,
673,
67,
9794,
823,
1435,
288,
202,
202,
2463,
261,
12443,
12,
2211,
18,
71,
464,
298,
2628,
63,
9833,
67,
39,
464,
298,
5568,
559,
18,
9833,
67,
2250,
4897,
9506,
202,
18,
517,
1490,
1435,
8009,
14141,
5027,
3719,
405,
14015,
2211,
18,
71,
464,
298,
2628,
63,
9833,
67,
39,
464,
298,
5568,
559,
18,
9833,
67,
2250,
3708,
9506,
202,
18,
517,
1490,
1435,
8009,
14141,
5027,
20349,
692,
14015,
2211,
18,
71,
464,
298,
2628,
63,
9833,
67,
39,
464,
298,
5568,
559,
18,
9833,
67,
2250,
4897,
9506,
202,
18,
517,
1490,
1435,
8009,
14141,
5027,
3719,
9506,
202,
30,
14015,
2211,
2
] |
boolean contains(JComponent c, int x, int y) { return c.inside(x,y); }
|
public boolean contains(JComponent c, int x, int y) { /* JComponent.contains calls the ui delegate for hit * testing. Therefore, endless mutual recursion would result if we * called c.contains(x, y) here. * * The previous Classpath implementation called the deprecated * method java.awt.Component.inside. In the Sun implementation, it * can be observed that inside, other than contains, does not call * the ui delegate. But that inside() behaves different to * contains() clearly is in violation of the method contract, and * it is not something that a good implementation should rely upon * -- even if Classpath ends up being forced to replicate this * apparent bug of the Sun implementation. */ return (x >= 0) && (x < c.getWidth()) && (y >= 0) && (y < c.getHeight()); }
|
boolean contains(JComponent c, int x, int y) { return c.inside(x,y); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0788b89b7368770a1157f825d60dd8c5a9df183e/ComponentUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/ComponentUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1250,
1914,
12,
46,
1841,
276,
16,
509,
619,
16,
509,
677,
13,
565,
288,
202,
2463,
276,
18,
28091,
12,
92,
16,
93,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1250,
1914,
12,
46,
1841,
276,
16,
509,
619,
16,
509,
677,
13,
565,
288,
202,
2463,
276,
18,
28091,
12,
92,
16,
93,
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
] |
setOnblur((String) evalAttr("onblur", getOnblur(), String.class));
|
setOnblur((String) evalAttr("onblur", getOnblurExpr(), String.class));
|
private void evaluateExpressions() throws JspException { try { setAlt((String) evalAttr("alt", getAlt(), String.class)); } catch (NullAttributeException ex) { setAlt(null); } try { setAltKey((String) evalAttr("altKey", getAltKey(), String.class)); } catch (NullAttributeException ex) { setAltKey(null); } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setDisabled(false); } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setIndexed(false); } try { setMultiple((String) evalAttr("multiple", getMultiple(), String.class)); } catch (NullAttributeException ex) { setMultiple(null); } try { setName((String) evalAttr("name", getName(), String.class)); } catch (NullAttributeException ex) { setName(null); } try { setOnblur((String) evalAttr("onblur", getOnblur(), String.class)); } catch (NullAttributeException ex) { setOnblur(null); } try { setOnchange((String) evalAttr("onchange", getOnchange(), String.class)); } catch (NullAttributeException ex) { setOnchange(null); } try { setOnclick((String) evalAttr("onclick", getOnclick(), String.class)); } catch (NullAttributeException ex) { setOnclick(null); } try { setOndblclick((String) evalAttr("ondblclick", getOndblclick(), String.class)); } catch (NullAttributeException ex) { setOndblclick(null); } try { setOnfocus((String) evalAttr("onfocus", getOnfocus(), String.class)); } catch (NullAttributeException ex) { setOnfocus(null); } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydown(), String.class)); } catch (NullAttributeException ex) { setOnkeydown(null); } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypress(), String.class)); } catch (NullAttributeException ex) { setOnkeypress(null); } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyup(), String.class)); } catch (NullAttributeException ex) { setOnkeyup(null); } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedown(), String.class)); } catch (NullAttributeException ex) { setOnmousedown(null); } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemove(), String.class)); } catch (NullAttributeException ex) { setOnmousemove(null); } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseout(), String.class)); } catch (NullAttributeException ex) { setOnmouseout(null); } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseover(), String.class)); } catch (NullAttributeException ex) { setOnmouseover(null); } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseup(), String.class)); } catch (NullAttributeException ex) { setOnmouseup(null); } try { setProperty((String) evalAttr("property", getProperty(), String.class)); } catch (NullAttributeException ex) { setProperty(null); } try { setSize((String) evalAttr("size", getSize(), String.class)); } catch (NullAttributeException ex) { setSize(null); } try { setStyle((String) evalAttr("style", getStyle(), String.class)); } catch (NullAttributeException ex) { setStyle(null); } try { setStyleClass((String) evalAttr("styleClass", getStyleClass(), String.class)); } catch (NullAttributeException ex) { setStyleClass(null); } try { setStyleId((String) evalAttr("styleId", getStyleId(), String.class)); } catch (NullAttributeException ex) { setStyleId(null); } try { setTabindex((String) evalAttr("tabindex", getTabindex(), String.class)); } catch (NullAttributeException ex) { setTabindex(null); } try { setTitle((String) evalAttr("title", getTitle(), String.class)); } catch (NullAttributeException ex) { setTitle(null); } try { setTitleKey((String) evalAttr("titleKey", getTitleKey(), String.class)); } catch (NullAttributeException ex) { setTitleKey(null); } try { setValue((String) evalAttr("value", getValue(), String.class)); } catch (NullAttributeException ex) { setValue(null); } }
|
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/db064e19656421b94aaf753550935d95f44bd5f9/ELSelectTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELSelectTag.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
10655,
12443,
780,
13,
5302,
3843,
2932,
2390,
3113,
336,
10655,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
10655,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
653,
12443,
780,
13,
5302,
3843,
2932,
2390,
653,
3113,
336,
10655,
653,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
10655,
653,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
8853,
12443,
12,
5507,
13,
5302,
3843,
2932,
9278,
3113,
336,
8853,
4742,
9334,
4766,
5411,
3411,
18,
1106,
13,
2934,
13491,
16708,
10663,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
8853,
12,
5743,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
15034,
12443,
12,
5507,
13,
5302,
3843,
2932,
19626,
3113,
8088,
329,
4742,
9334,
4766,
6647,
3411,
18,
1106,
13,
2934,
15604,
16708,
10663,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
15034,
12,
5743,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
8438,
12443,
780,
13,
5302,
3843,
2932,
9622,
3113,
30226,
2444,
9334,
4766,
1850,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
8438,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
6788,
12443,
780,
13,
5302,
3843,
2932,
529,
3113,
1723,
9334,
514,
18,
1106,
10019,
3639,
289,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
10655,
12443,
780,
13,
5302,
3843,
2932,
2390,
3113,
336,
10655,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
10655,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
653,
12443,
780,
13,
5302,
3843,
2932,
2390,
653,
3113,
336,
10655,
653,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
10655,
653,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
8853,
12443,
12,
5507,
13,
5302,
3843,
2932,
9278,
3113,
336,
8853,
4742,
9334,
4766,
5411,
3411,
18,
1106,
13,
2934,
13491,
16708,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.