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 |
|---|---|---|---|---|---|---|
super (limit >> 3, limit >> 3, position >> 3, mark >> 3); | super (capacity, capacity, 0, -1); | public LongViewBufferImpl (ByteBuffer bb, int offset, int capacity, int limit, int position, int mark, boolean readOnly, ByteOrder endian) { super (limit >> 3, limit >> 3, position >> 3, mark >> 3); this.bb = bb; this.offset = offset; this.readOnly = readOnly; this.endian = endian; } | 27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/e88045708e1899ddaec5c5597476cbd3efd39266/LongViewBufferImpl.java/buggy/libjava/java/nio/LongViewBufferImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3407,
1767,
1892,
2828,
261,
12242,
7129,
16,
509,
1384,
16,
509,
7519,
16,
9506,
377,
509,
1800,
16,
509,
1754,
16,
509,
2267,
16,
9506,
377,
1250,
15075,
16,
30845,
14759,
13,
225,
288,
565,
2240,
261,
16017,
16,
7519,
16,
374,
16,
300,
21,
1769,
565,
333,
18,
9897,
273,
7129,
31,
565,
333,
18,
3348,
273,
1384,
31,
565,
333,
18,
896,
3386,
273,
15075,
31,
565,
333,
18,
22910,
273,
14759,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3407,
1767,
1892,
2828,
261,
12242,
7129,
16,
509,
1384,
16,
509,
7519,
16,
9506,
377,
509,
1800,
16,
509,
1754,
16,
509,
2267,
16,
9506,
377,
1250,
15075,
16,
30845,
14759,
13,
225,
288,
565,
2240,
261,
16017,
16,
7519,
16,
374,
16,
300,
21,
1769,
565,
333,
18,
9897,
273,
7129,
31,
565,
333,
18,
3348,
273,
1384,
31,
565,
333,
18,
896,
3386,
273,
15075,
31,
565,
333,
18,
22910,
273,
14759,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
"Check repository configuration: "+e.getMessage(), e); | "Check repository configuration: " + e.getMessage(), e); | public IStatus performQuery(final AbstractRepositoryQuery query, TaskRepository repository, IProgressMonitor monitor, QueryHitCollector resultCollector) { IStatus queryStatus = Status.OK_STATUS; try { BugzillaClient client = getClientManager().getClient(repository); client.getSearchHits(query, resultCollector, taskList); // XXX: HACK in case of ip change bugzilla can return 0 hits // due to invalid authorization token, forcing relogin fixes if(resultCollector.getHits().size() == 0) { client.logout(); client.getSearchHits(query, resultCollector, taskList); } } catch (UnrecognizedReponseException e) { queryStatus = new Status(IStatus.ERROR, BugzillaCorePlugin.PLUGIN_ID, Status.INFO, "Unrecognized response from server", e); } catch (IOException e) { queryStatus = new Status(IStatus.ERROR, BugzillaCorePlugin.PLUGIN_ID, Status.ERROR, "Check repository configuration: "+e.getMessage(), e); } catch (BugzillaException e) { queryStatus = new Status(IStatus.ERROR, BugzillaCorePlugin.PLUGIN_ID, IStatus.OK, "Bugzilla error: "+e.getMessage(), e); } catch (GeneralSecurityException e) { queryStatus = new Status(IStatus.ERROR, BugzillaCorePlugin.PLUGIN_ID, IStatus.OK, "Check repository configuration: "+e.getMessage(), e); } return queryStatus; } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/03f3816483b487f20214837cafbbbb03ffc5336e/BugzillaRepositoryConnector.java/clean/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
1482,
3073,
1138,
12,
6385,
4115,
3305,
1138,
843,
16,
3837,
3305,
3352,
16,
467,
5491,
7187,
6438,
16,
1082,
202,
1138,
13616,
7134,
563,
7134,
13,
288,
202,
202,
45,
1482,
843,
1482,
273,
2685,
18,
3141,
67,
8608,
31,
202,
202,
698,
288,
1082,
202,
19865,
15990,
1227,
1004,
273,
7635,
1318,
7675,
588,
1227,
12,
9071,
1769,
1082,
202,
2625,
18,
588,
2979,
20950,
12,
2271,
16,
563,
7134,
16,
1562,
682,
1769,
1082,
202,
759,
11329,
30,
670,
3649,
316,
648,
434,
2359,
2549,
7934,
15990,
848,
327,
374,
11076,
1082,
202,
759,
6541,
358,
2057,
6093,
1147,
16,
364,
2822,
283,
5819,
24436,
1082,
202,
430,
12,
2088,
7134,
18,
588,
20950,
7675,
1467,
1435,
422,
374,
13,
288,
9506,
202,
2625,
18,
21229,
5621,
9506,
202,
2625,
18,
588,
2979,
20950,
12,
2271,
16,
563,
7134,
16,
1562,
682,
1769,
1082,
202,
97,
202,
202,
97,
1044,
261,
19648,
426,
575,
503,
425,
13,
288,
1082,
202,
2271,
1482,
273,
394,
2685,
12,
45,
1482,
18,
3589,
16,
16907,
15990,
4670,
3773,
18,
19415,
67,
734,
16,
2685,
18,
5923,
16,
6862,
202,
6,
19648,
766,
628,
1438,
3113,
425,
1769,
202,
202,
97,
1044,
261,
14106,
425,
13,
288,
1082,
202,
2271,
1482,
273,
394,
2685,
12,
45,
1482,
18,
3589,
16,
16907,
15990,
4670,
3773,
18,
19415,
67,
734,
16,
2685,
18,
3589,
16,
6862,
202,
6,
1564,
3352,
1664,
30,
13773,
73,
18,
24906,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
1482,
3073,
1138,
12,
6385,
4115,
3305,
1138,
843,
16,
3837,
3305,
3352,
16,
467,
5491,
7187,
6438,
16,
1082,
202,
1138,
13616,
7134,
563,
7134,
13,
288,
202,
202,
45,
1482,
843,
1482,
273,
2685,
18,
3141,
67,
8608,
31,
202,
202,
698,
288,
1082,
202,
19865,
15990,
1227,
1004,
273,
7635,
1318,
7675,
588,
1227,
12,
9071,
1769,
1082,
202,
2625,
18,
588,
2979,
20950,
12,
2271,
16,
563,
7134,
16,
1562,
682,
1769,
1082,
202,
759,
11329,
30,
670,
3649,
316,
648,
434,
2359,
2549,
7934,
15990,
848,
327,
374,
11076,
1082,
202,
759,
6541,
358,
2057,
6093,
1147,
16,
364,
2822,
283,
5819,
24436,
1082,
202,
430,
12,
2088,
7134,
18,
2
] |
getString(theData.itsStringTable, iCode, pc + 1) + "\""); | theData.itsStringTable[getShort(iCode, pc + 1)] + "\""); | private static void dumpICode(InterpreterData theData) { if (printICode) { try { int iCodeLength = theData.itsICodeTop; byte iCode[] = theData.itsICode; out = new PrintWriter(new FileOutputStream("icode.txt", true)); out.println("ICode dump, for " + theData.itsName + ", length = " + iCodeLength); out.println("MaxStack = " + theData.itsMaxStack); for (int pc = 0; pc < iCodeLength; ) { out.print("[" + pc + "] "); switch ((int)(iCode[pc] & 0xff)) { case TokenStream.SCOPE : case TokenStream.GETPROTO : case TokenStream.GETPARENT : case TokenStream.GETSCOPEPARENT : case TokenStream.SETPROTO : case TokenStream.SETPARENT : case TokenStream.DELPROP : case TokenStream.TYPEOF : case TokenStream.NEWSCOPE : case TokenStream.ENTERWITH : case TokenStream.LEAVEWITH : case TokenStream.ENDTRY : case TokenStream.THROW : case TokenStream.JTHROW : case TokenStream.GETTHIS : case TokenStream.SETELEM : case TokenStream.GETELEM : case TokenStream.SETPROP : case TokenStream.GETPROP : case TokenStream.PROPINC : case TokenStream.PROPDEC : case TokenStream.ELEMINC : case TokenStream.ELEMDEC : case TokenStream.BITNOT : case TokenStream.BITAND : case TokenStream.BITOR : case TokenStream.BITXOR : case TokenStream.LSH : case TokenStream.RSH : case TokenStream.URSH : case TokenStream.NEG : case TokenStream.POS : case TokenStream.SUB : case TokenStream.MUL : case TokenStream.DIV : case TokenStream.MOD : case TokenStream.ADD : case TokenStream.POPV : case TokenStream.POP : case TokenStream.DUP : case TokenStream.LT : case TokenStream.GT : case TokenStream.LE : case TokenStream.GE : case TokenStream.IN : case TokenStream.INSTANCEOF : case TokenStream.EQ : case TokenStream.NE : case TokenStream.SHEQ : case TokenStream.SHNE : case TokenStream.ZERO : case TokenStream.ONE : case TokenStream.NULL : case TokenStream.THIS : case TokenStream.THISFN : case TokenStream.FALSE : case TokenStream.TRUE : case TokenStream.UNDEFINED : case TokenStream.SOURCEFILE : out.println(TokenStream.tokenToName(iCode[pc] & 0xff)); break; case TokenStream.GOSUB : case TokenStream.RETURN : case TokenStream.GOTO : case TokenStream.IFEQ : case TokenStream.IFNE : { int newPC = getTarget(iCode, pc + 1); out.println( TokenStream.tokenToName(iCode[pc] & 0xff) + " " + newPC); pc += 2; } break; case TokenStream.TRY : { int newPC1 = getTarget(iCode, pc + 1); int newPC2 = getTarget(iCode, pc + 3); out.println( TokenStream.tokenToName(iCode[pc] & 0xff) + " " + newPC1 + " " + newPC2); pc += 4; } break; case TokenStream.RETSUB : case TokenStream.ENUMINIT : case TokenStream.ENUMNEXT : case TokenStream.VARINC : case TokenStream.VARDEC : case TokenStream.GETVAR : case TokenStream.SETVAR : case TokenStream.NEWTEMP : case TokenStream.USETEMP : { int slot = (iCode[pc + 1] & 0xFF); out.println( TokenStream.tokenToName(iCode[pc] & 0xff) + " " + slot); pc++; } break; case TokenStream.CALLSPECIAL : { int line = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); String name = getString(theData.itsStringTable, iCode, pc + 3); int count = (iCode[pc + 5] << 8) | (iCode[pc + 6] & 0xFF); out.println( TokenStream.tokenToName(iCode[pc] & 0xff) + " " + count + " " + line + " " + name); pc += 6; } break; case TokenStream.OBJECT : case TokenStream.CLOSURE : case TokenStream.NEW : case TokenStream.CALL : { int count = (iCode[pc + 3] << 8) | (iCode[pc + 4] & 0xFF); out.println( TokenStream.tokenToName(iCode[pc] & 0xff) + " " + count + " \"" + getString(theData.itsStringTable, iCode, pc + 1) + "\""); pc += 5; } break; case TokenStream.NUMBER : out.println( TokenStream.tokenToName(iCode[pc] & 0xff) + " " + getNumber(theData.itsNumberTable, iCode, pc + 1)); pc += 2; break; case TokenStream.TYPEOFNAME : case TokenStream.GETBASE : case TokenStream.BINDNAME : case TokenStream.SETNAME : case TokenStream.NAME : case TokenStream.NAMEINC : case TokenStream.NAMEDEC : case TokenStream.STRING : out.println( TokenStream.tokenToName(iCode[pc] & 0xff) + " \"" + getString(theData.itsStringTable, iCode, pc + 1) + "\""); pc += 2; break; case TokenStream.LINE : { int line = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); out.println( TokenStream.tokenToName(iCode[pc] & 0xff) + " : " + line); pc += 2; } break; default : out.close(); throw new RuntimeException("Unknown icode : " + (iCode[pc] & 0xff) + " @ pc : " + pc); } pc++; } out.close(); } catch (IOException x) {} } } | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/7f850f6162d49fce5f2a418eb4b32ba1cf9d58bf/Interpreter.java/clean/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
4657,
45,
1085,
12,
30010,
751,
326,
751,
13,
288,
3639,
309,
261,
1188,
45,
1085,
13,
288,
5411,
775,
288,
7734,
509,
277,
1085,
1782,
273,
326,
751,
18,
1282,
45,
1085,
3401,
31,
7734,
1160,
277,
1085,
8526,
273,
326,
751,
18,
1282,
45,
1085,
31,
27573,
596,
273,
394,
14071,
12,
2704,
12942,
2932,
3487,
18,
5830,
3113,
638,
10019,
7734,
596,
18,
8222,
2932,
45,
1085,
4657,
16,
364,
315,
397,
326,
751,
18,
1282,
461,
397,
3104,
769,
273,
315,
397,
277,
1085,
1782,
1769,
7734,
596,
18,
8222,
2932,
2747,
2624,
273,
315,
397,
326,
751,
18,
1282,
2747,
2624,
1769,
27573,
364,
261,
474,
6125,
273,
374,
31,
6125,
411,
277,
1085,
1782,
31,
262,
288,
10792,
596,
18,
1188,
2932,
9614,
397,
6125,
397,
9850,
315,
1769,
10792,
1620,
14015,
474,
21433,
77,
1085,
63,
2436,
65,
473,
374,
5297,
3719,
288,
13491,
648,
3155,
1228,
18,
19444,
294,
13491,
648,
3155,
1228,
18,
3264,
25455,
294,
13491,
648,
3155,
1228,
18,
3264,
14943,
294,
13491,
648,
3155,
1228,
18,
3264,
19444,
14943,
294,
13491,
648,
3155,
1228,
18,
4043,
25455,
294,
13491,
648,
3155,
1228,
18,
4043,
14943,
294,
13491,
648,
3155,
1228,
18,
24733,
15811,
294,
13491,
648,
3155,
1228,
18,
2399,
3932,
294,
13491,
648,
3155,
1228,
18,
12917,
19444,
294,
13491,
648,
3155,
1228,
18,
12278,
9147,
294,
13491,
648,
3155,
1228,
18,
900,
26714,
9147,
294,
13491,
648,
3155,
1228,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
4657,
45,
1085,
12,
30010,
751,
326,
751,
13,
288,
3639,
309,
261,
1188,
45,
1085,
13,
288,
5411,
775,
288,
7734,
509,
277,
1085,
1782,
273,
326,
751,
18,
1282,
45,
1085,
3401,
31,
7734,
1160,
277,
1085,
8526,
273,
326,
751,
18,
1282,
45,
1085,
31,
27573,
596,
273,
394,
14071,
12,
2704,
12942,
2932,
3487,
18,
5830,
3113,
638,
10019,
7734,
596,
18,
8222,
2932,
45,
1085,
4657,
16,
364,
315,
397,
326,
751,
18,
1282,
461,
397,
3104,
769,
273,
315,
397,
277,
1085,
1782,
1769,
7734,
596,
18,
8222,
2932,
2747,
2624,
273,
315,
397,
326,
751,
18,
1282,
2747,
2624,
1769,
27573,
364,
261,
474,
6125,
273,
374,
31,
2
] |
return (getBounds().contains(p) && getOutline().contains(p)); | return (getBounds().contains(p) && paintedArea.contains(p)); | public boolean contains(Point2D p) { return (getBounds().contains(p) && getOutline().contains(p)); } | 46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/369d85dd5e515091212595e053ccae50e9de1af2/ConcreteShapeNode.java/clean/sources/org/apache/batik/refimpl/gvt/ConcreteShapeNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1914,
12,
2148,
22,
40,
293,
13,
288,
3639,
327,
261,
588,
5694,
7675,
12298,
12,
84,
13,
597,
12574,
329,
5484,
18,
12298,
12,
84,
10019,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1914,
12,
2148,
22,
40,
293,
13,
288,
3639,
327,
261,
588,
5694,
7675,
12298,
12,
84,
13,
597,
12574,
329,
5484,
18,
12298,
12,
84,
10019,
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
] |
AssertMo.assertIncludes( "result of toString() should include name", MOCK_NAME, coreMock.toString()); } | AssertMo.assertIncludes("result of toString() should include name", MOCK_NAME, coreMock.toString()); } | public void testReturnsNameFromToString() { AssertMo.assertIncludes( "result of toString() should include name", MOCK_NAME, coreMock.toString()); } | 54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/4aaf60d8fa76687c3492c508dd98678fbbd3d935/CGLIBCoreMockTest.java/buggy/jmock/extensions/cglib/src/test/jmock/cglib/CGLIBCoreMockTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1356,
461,
1265,
5808,
1435,
288,
3639,
5452,
16727,
18,
11231,
16815,
12,
315,
2088,
434,
1762,
1435,
1410,
2341,
508,
3113,
1850,
6862,
1082,
16070,
3507,
67,
1985,
16,
2922,
9865,
18,
10492,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1356,
461,
1265,
5808,
1435,
288,
3639,
5452,
16727,
18,
11231,
16815,
12,
315,
2088,
434,
1762,
1435,
1410,
2341,
508,
3113,
1850,
6862,
1082,
16070,
3507,
67,
1985,
16,
2922,
9865,
18,
10492,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
super(test); } | super(test); } | public ClientDriverTestSetup(Test test) { super(test); } | 50930 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50930/7f72236bc3559146844f6f17165ded6e995fe80f/ClientDriverSuite.java/clean/clients/java/src/test/java/com/thoughtworks/selenium/ClientDriverSuite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2445,
4668,
4709,
7365,
12,
4709,
1842,
13,
288,
3639,
2240,
12,
3813,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2445,
4668,
4709,
7365,
12,
4709,
1842,
13,
288,
3639,
2240,
12,
3813,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
retval.append(" "+XMLHandler.addTagValue("password", "Encrypted "+Encr.encryptPassword(getPassword())) ); | String encrPassword = ""; List varList = new ArrayList(); StringUtil.getUsedVariables(getPassword(), varList, true); if (varList.size()==0) { encrPassword = "Encrypted "+Encr.encryptPassword(getPassword()); } else { encrPassword = getPassword(); } retval.append(" "+XMLHandler.addTagValue("password", encrPassword)); | public String getXML() { StringBuffer retval = new StringBuffer(); retval.append(" <connection>"+Const.CR); retval.append(" "+XMLHandler.addTagValue("name", getName())); retval.append(" "+XMLHandler.addTagValue("server", getHostname())); retval.append(" "+XMLHandler.addTagValue("type", getDatabaseTypeDesc())); retval.append(" "+XMLHandler.addTagValue("access", getAccessTypeDesc())); retval.append(" "+XMLHandler.addTagValue("database", getDatabaseName())); retval.append(" "+XMLHandler.addTagValue("port", getDatabasePortNumberString())); retval.append(" "+XMLHandler.addTagValue("username", getUsername())); retval.append(" "+XMLHandler.addTagValue("password", "Encrypted "+Encr.encryptPassword(getPassword())) ); retval.append(" "+XMLHandler.addTagValue("servername", getServername())); retval.append(" "+XMLHandler.addTagValue("data_tablespace", getDataTablespace())); retval.append(" "+XMLHandler.addTagValue("index_tablespace", getIndexTablespace())); retval.append(" <attributes>"+Const.CR); List list = new ArrayList( getAttributes().keySet() ); Collections.sort(list); // Sort the entry-sets to make sure we can compare XML strings: if the order is different, the XML is different. for (Iterator iter = list.iterator(); iter.hasNext();) { String code = (String) iter.next(); String attribute = (String) getAttributes().getProperty(code); if (!Const.isEmpty(attribute)) { retval.append(" <attribute>"+ XMLHandler.addTagValue("code", code, false)+ XMLHandler.addTagValue("attribute", attribute, false)+ "</attribute>"+Const.CR); } } retval.append(" </attributes>"+Const.CR); retval.append(" </connection>"+Const.CR); return retval.toString(); } | 9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/6adf7cebd4f2139e195a2fc9289ca3fd089fc9fb/DatabaseMeta.java/buggy/src/be/ibridge/kettle/core/database/DatabaseMeta.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
336,
4201,
1435,
202,
95,
3639,
6674,
5221,
273,
394,
6674,
5621,
9506,
202,
18341,
18,
6923,
2932,
225,
411,
4071,
2984,
15,
9661,
18,
5093,
1769,
202,
202,
18341,
18,
6923,
2932,
565,
13773,
4201,
1503,
18,
1289,
1805,
620,
2932,
529,
3113,
4202,
1723,
1435,
10019,
202,
202,
18341,
18,
6923,
2932,
565,
13773,
4201,
1503,
18,
1289,
1805,
620,
2932,
3567,
3113,
377,
8580,
529,
1435,
10019,
202,
202,
18341,
18,
6923,
2932,
565,
13773,
4201,
1503,
18,
1289,
1805,
620,
2932,
723,
3113,
4202,
11263,
559,
4217,
1435,
10019,
202,
202,
18341,
18,
6923,
2932,
565,
13773,
4201,
1503,
18,
1289,
1805,
620,
2932,
3860,
3113,
377,
21909,
559,
4217,
1435,
10019,
202,
202,
18341,
18,
6923,
2932,
565,
13773,
4201,
1503,
18,
1289,
1805,
620,
2932,
6231,
3113,
282,
11263,
461,
1435,
10019,
202,
202,
18341,
18,
6923,
2932,
565,
13773,
4201,
1503,
18,
1289,
1805,
620,
2932,
655,
3113,
4202,
11263,
2617,
1854,
780,
1435,
10019,
202,
202,
18341,
18,
6923,
2932,
565,
13773,
4201,
1503,
18,
1289,
1805,
620,
2932,
5053,
3113,
282,
17827,
1435,
10019,
202,
202,
18341,
18,
6923,
2932,
565,
13773,
4201,
1503,
18,
1289,
1805,
620,
2932,
3664,
3113,
282,
315,
14678,
13773,
664,
3353,
18,
15890,
3913,
12,
588,
3913,
1435,
3719,
11272,
1082,
202,
18341,
18,
6923,
2932,
565,
13773,
4201,
1503,
18,
1289,
1805,
620,
2932,
3567,
529,
3113,
11543,
529,
1435,
10019,
202,
202,
18341,
18,
6923,
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,
225,
202,
482,
514,
336,
4201,
1435,
202,
95,
3639,
6674,
5221,
273,
394,
6674,
5621,
9506,
202,
18341,
18,
6923,
2932,
225,
411,
4071,
2984,
15,
9661,
18,
5093,
1769,
202,
202,
18341,
18,
6923,
2932,
565,
13773,
4201,
1503,
18,
1289,
1805,
620,
2932,
529,
3113,
4202,
1723,
1435,
10019,
202,
202,
18341,
18,
6923,
2932,
565,
13773,
4201,
1503,
18,
1289,
1805,
620,
2932,
3567,
3113,
377,
8580,
529,
1435,
10019,
202,
202,
18341,
18,
6923,
2932,
565,
13773,
4201,
1503,
18,
1289,
1805,
620,
2932,
723,
3113,
4202,
11263,
559,
4217,
1435,
10019,
202,
202,
18341,
18,
6923,
2932,
565,
13773,
4201,
1503,
18,
1289,
1805,
620,
2932,
3860,
3113,
377,
21909,
559,
4217,
1435,
2
] |
link = ModelMapper.unlinkChildFromParent( ((DataObject) i.next()).asImage(), mParent); if (link != null) links.add(link); | link = gateway.findLink(Category.class, mParent, ((DataObject) i.next()).asImage()); if (link != null) links.add(link); | public void declassify(Set images, Set categories) throws DSOutOfServiceException, DSAccessException { try { images.toArray(new ImageData[] {}); } catch (ArrayStoreException ase) { throw new IllegalArgumentException( "The images set only contains ImageData elements."); } try { categories.toArray(new CategoryData[] {}); } catch (ArrayStoreException ase) { throw new IllegalArgumentException( "The categories set only contains CategoryData elements."); } Iterator category = categories.iterator(); List links = new ArrayList(); Iterator i; IObject mParent; IObject link; while (category.hasNext()) { mParent = ((DataObject) category.next()).asIObject(); i = images.iterator(); while (i.hasNext()) { link = ModelMapper.unlinkChildFromParent( ((DataObject) i.next()).asImage(), mParent); if (link != null) links.add(link); } } if (links != null) { gateway.deleteObjects((IObject[]) links.toArray(new IObject[links.size()])); } } | 55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/3be9d381a3d593d28d0b987df4bc2963a9fa97b8/OmeroDataServiceImpl.java/buggy/SRC/org/openmicroscopy/shoola/env/data/OmeroDataServiceImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
443,
1106,
1164,
12,
694,
4602,
16,
1000,
6477,
13,
5411,
1216,
8678,
11224,
15133,
16,
8678,
9773,
565,
288,
3639,
775,
288,
5411,
4602,
18,
31447,
12,
2704,
3421,
751,
8526,
2618,
1769,
3639,
289,
1044,
261,
1076,
21151,
26561,
13,
288,
5411,
604,
394,
2754,
12,
10792,
315,
1986,
4602,
444,
1338,
1914,
3421,
751,
2186,
1199,
1769,
3639,
289,
3639,
775,
288,
5411,
6477,
18,
31447,
12,
2704,
9856,
751,
8526,
2618,
1769,
3639,
289,
1044,
261,
1076,
21151,
26561,
13,
288,
5411,
604,
394,
2754,
12,
10792,
315,
1986,
6477,
444,
1338,
1914,
9856,
751,
2186,
1199,
1769,
3639,
289,
3639,
4498,
3150,
273,
6477,
18,
9838,
5621,
3639,
987,
4716,
273,
394,
2407,
5621,
3639,
4498,
277,
31,
3639,
467,
921,
312,
3054,
31,
3639,
467,
921,
1692,
31,
3639,
1323,
261,
4743,
18,
5332,
2134,
10756,
288,
5411,
312,
3054,
273,
14015,
21881,
13,
3150,
18,
4285,
1435,
2934,
345,
45,
921,
5621,
5411,
277,
273,
4602,
18,
9838,
5621,
5411,
1323,
261,
77,
18,
5332,
2134,
10756,
288,
7734,
1692,
273,
3164,
4597,
18,
318,
1232,
1763,
1265,
3054,
12,
13491,
14015,
21881,
13,
277,
18,
4285,
1435,
2934,
345,
2040,
9334,
312,
3054,
1769,
7734,
309,
261,
1232,
480,
446,
13,
10792,
4716,
18,
1289,
12,
1232,
1769,
5411,
289,
6647,
289,
3639,
309,
261,
7135,
480,
446,
13,
288,
5411,
6878,
18,
3733,
4710,
12443,
45,
921,
63,
5717,
5397,
4716,
18,
31447,
12,
2704,
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,
443,
1106,
1164,
12,
694,
4602,
16,
1000,
6477,
13,
5411,
1216,
8678,
11224,
15133,
16,
8678,
9773,
565,
288,
3639,
775,
288,
5411,
4602,
18,
31447,
12,
2704,
3421,
751,
8526,
2618,
1769,
3639,
289,
1044,
261,
1076,
21151,
26561,
13,
288,
5411,
604,
394,
2754,
12,
10792,
315,
1986,
4602,
444,
1338,
1914,
3421,
751,
2186,
1199,
1769,
3639,
289,
3639,
775,
288,
5411,
6477,
18,
31447,
12,
2704,
9856,
751,
8526,
2618,
1769,
3639,
289,
1044,
261,
1076,
21151,
26561,
13,
288,
5411,
604,
394,
2754,
12,
10792,
315,
1986,
6477,
444,
1338,
1914,
9856,
751,
2186,
1199,
1769,
3639,
289,
3639,
4498,
3150,
273,
6477,
18,
9838,
5621,
3639,
987,
4716,
273,
2
] |
(2000 * 3600, "Asia/Jerusalem", Calendar.APRIL, 1, 0, 1000 * 3600, Calendar.OCTOBER, 1, 0, 1000 * 3600); timezones0.put("Asia/Jerusalem", tz); tz = new SimpleTimeZone | static synchronized HashMap timezones() { if (timezones0 == null) { HashMap timezones = new HashMap(); timezones0 = timezones; TimeZone tz; // Automatically generated by scripts/timezones.pl // XXX - Should we read this data from a file? tz = new SimpleTimeZone(-11000 * 3600, "MIT"); timezones0.put("MIT", tz); timezones0.put("Pacific/Apia", tz); timezones0.put("Pacific/Midway", tz); timezones0.put("Pacific/Niue", tz); timezones0.put("Pacific/Pago_Pago", tz); tz = new SimpleTimeZone (-10000 * 3600, "America/Adak", Calendar.APRIL, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("America/Adak", tz); tz = new SimpleTimeZone(-10000 * 3600, "HST"); timezones0.put("HST", tz); timezones0.put("Pacific/Fakaofo", tz); timezones0.put("Pacific/Honolulu", tz); timezones0.put("Pacific/Johnston", tz); timezones0.put("Pacific/Rarotonga", tz); timezones0.put("Pacific/Tahiti", tz); tz = new SimpleTimeZone(-9500 * 3600, "Pacific/Marquesas"); timezones0.put("Pacific/Marquesas", tz); tz = new SimpleTimeZone (-9000 * 3600, "AST", Calendar.APRIL, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("AST", tz); timezones0.put("America/Anchorage", tz); timezones0.put("America/Juneau", tz); timezones0.put("America/Nome", tz); timezones0.put("America/Yakutat", tz); tz = new SimpleTimeZone(-9000 * 3600, "Pacific/Gambier"); timezones0.put("Pacific/Gambier", tz); tz = new SimpleTimeZone (-8000 * 3600, "PST", Calendar.APRIL, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("PST", tz); timezones0.put("PST8PDT", tz); timezones0.put("America/Dawson", tz); timezones0.put("America/Los_Angeles", tz); timezones0.put("America/Tijuana", tz); timezones0.put("America/Vancouver", tz); timezones0.put("America/Whitehorse", tz); timezones0.put("US/Pacific-New", tz); tz = new SimpleTimeZone(-8000 * 3600, "Pacific/Pitcairn"); timezones0.put("Pacific/Pitcairn", tz); tz = new SimpleTimeZone (-7000 * 3600, "MST", Calendar.APRIL, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("MST", tz); timezones0.put("MST7MDT", tz); timezones0.put("America/Boise", tz); timezones0.put("America/Chihuahua", tz); timezones0.put("America/Denver", tz); timezones0.put("America/Edmonton", tz); timezones0.put("America/Inuvik", tz); timezones0.put("America/Mazatlan", tz); timezones0.put("America/Shiprock", tz); timezones0.put("America/Yellowknife", tz); tz = new SimpleTimeZone(-7000 * 3600, "MST7"); timezones0.put("MST7", tz); timezones0.put("PNT", tz); timezones0.put("America/Dawson_Creek", tz); timezones0.put("America/Hermosillo", tz); timezones0.put("America/Phoenix", tz); tz = new SimpleTimeZone (-6000 * 3600, "CST", Calendar.APRIL, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("CST", tz); timezones0.put("CST6CDT", tz); timezones0.put("America/Cambridge_Bay", tz); timezones0.put("America/Cancun", tz); timezones0.put("America/Chicago", tz); timezones0.put("America/Menominee", tz); timezones0.put("America/Merida", tz); timezones0.put("America/Mexico_City", tz); timezones0.put("America/Monterrey", tz); timezones0.put("America/Rainy_River", tz); timezones0.put("America/Winnipeg", tz); tz = new SimpleTimeZone(-6000 * 3600, "America/Belize"); timezones0.put("America/Belize", tz); timezones0.put("America/Costa_Rica", tz); timezones0.put("America/El_Salvador", tz); timezones0.put("America/Guatemala", tz); timezones0.put("America/Managua", tz); timezones0.put("America/Regina", tz); timezones0.put("America/Swift_Current", tz); timezones0.put("America/Tegucigalpa", tz); timezones0.put("Pacific/Galapagos", tz); tz = new SimpleTimeZone (-6000 * 3600, "Pacific/Easter", Calendar.OCTOBER, 9, -Calendar.SUNDAY, 0 * 3600, Calendar.MARCH, 9, -Calendar.SUNDAY, 0 * 3600); timezones0.put("Pacific/Easter", tz); tz = new SimpleTimeZone (-5000 * 3600, "America/Grand_Turk", Calendar.APRIL, 1, Calendar.SUNDAY, 0 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 0 * 3600); timezones0.put("America/Grand_Turk", tz); timezones0.put("America/Havana", tz); tz = new SimpleTimeZone(-5000 * 3600, "EST5"); timezones0.put("EST5", tz); timezones0.put("IET", tz); timezones0.put("America/Bogota", tz); timezones0.put("America/Cayman", tz); timezones0.put("America/Eirunepe", tz); timezones0.put("America/Guayaquil", tz); timezones0.put("America/Indiana/Indianapolis", tz); timezones0.put("America/Indiana/Knox", tz); timezones0.put("America/Indiana/Marengo", tz); timezones0.put("America/Indiana/Vevay", tz); timezones0.put("America/Indianapolis", tz); timezones0.put("America/Iqaluit", tz); timezones0.put("America/Jamaica", tz); timezones0.put("America/Lima", tz); timezones0.put("America/Panama", tz); timezones0.put("America/Pangnirtung", tz); timezones0.put("America/Port-au-Prince", tz); timezones0.put("America/Porto_Acre", tz); timezones0.put("America/Rankin_Inlet", tz); tz = new SimpleTimeZone (-5000 * 3600, "EST", Calendar.APRIL, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("EST", tz); timezones0.put("EST5EDT", tz); timezones0.put("America/Detroit", tz); timezones0.put("America/Kentucky/Louisville", tz); timezones0.put("America/Kentucky/Monticello", tz); timezones0.put("America/Louisville", tz); timezones0.put("America/Montreal", tz); timezones0.put("America/Nassau", tz); timezones0.put("America/New_York", tz); timezones0.put("America/Nipigon", tz); timezones0.put("America/Thunder_Bay", tz); tz = new SimpleTimeZone(-4000 * 3600, "PRT"); timezones0.put("PRT", tz); timezones0.put("America/Anguilla", tz); timezones0.put("America/Antigua", tz); timezones0.put("America/Aruba", tz); timezones0.put("America/Barbados", tz); timezones0.put("America/Boa_Vista", tz); timezones0.put("America/Caracas", tz); timezones0.put("America/Curacao", tz); timezones0.put("America/Dominica", tz); timezones0.put("America/Grenada", tz); timezones0.put("America/Guadeloupe", tz); timezones0.put("America/Guyana", tz); timezones0.put("America/La_Paz", tz); timezones0.put("America/Manaus", tz); timezones0.put("America/Martinique", tz); timezones0.put("America/Montserrat", tz); timezones0.put("America/Port_of_Spain", tz); timezones0.put("America/Porto_Velho", tz); timezones0.put("America/Puerto_Rico", tz); timezones0.put("America/Santo_Domingo", tz); timezones0.put("America/St_Kitts", tz); timezones0.put("America/St_Lucia", tz); timezones0.put("America/St_Thomas", tz); timezones0.put("America/St_Vincent", tz); timezones0.put("America/Tortola", tz); tz = new SimpleTimeZone (-4000 * 3600, "America/Asuncion", Calendar.OCTOBER, 1, Calendar.SUNDAY, 0 * 3600, Calendar.FEBRUARY, -1, Calendar.SUNDAY, 0 * 3600); timezones0.put("America/Asuncion", tz); tz = new SimpleTimeZone (-4000 * 3600, "America/Cuiaba", Calendar.OCTOBER, 2, Calendar.SUNDAY, 0 * 3600, Calendar.FEBRUARY, 3, Calendar.SUNDAY, 0 * 3600); timezones0.put("America/Cuiaba", tz); tz = new SimpleTimeZone (-4000 * 3600, "America/Goose_Bay", Calendar.APRIL, 1, Calendar.SUNDAY, 60000, Calendar.OCTOBER, -1, Calendar.SUNDAY, 60000); timezones0.put("America/Goose_Bay", tz); tz = new SimpleTimeZone (-4000 * 3600, "America/Glace_Bay", Calendar.APRIL, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("America/Glace_Bay", tz); timezones0.put("America/Halifax", tz); timezones0.put("America/Thule", tz); timezones0.put("Atlantic/Bermuda", tz); tz = new SimpleTimeZone (-4000 * 3600, "America/Santiago", Calendar.OCTOBER, 9, -Calendar.SUNDAY, 0 * 3600, Calendar.MARCH, 9, -Calendar.SUNDAY, 0 * 3600); timezones0.put("America/Santiago", tz); timezones0.put("Antarctica/Palmer", tz); tz = new SimpleTimeZone (-4000 * 3600, "Atlantic/Stanley", Calendar.SEPTEMBER, 2, Calendar.SUNDAY, 0 * 3600, Calendar.APRIL, 16, -Calendar.SUNDAY, 0 * 3600); timezones0.put("Atlantic/Stanley", tz); tz = new SimpleTimeZone (-3500 * 3600, "CNT", Calendar.APRIL, 1, Calendar.SUNDAY, 60000, Calendar.OCTOBER, -1, Calendar.SUNDAY, 60000); timezones0.put("CNT", tz); timezones0.put("America/St_Johns", tz); tz = new SimpleTimeZone (-3000 * 3600, "America/Araguaina", Calendar.OCTOBER, 2, Calendar.SUNDAY, 0 * 3600, Calendar.FEBRUARY, 3, Calendar.SUNDAY, 0 * 3600); timezones0.put("America/Araguaina", tz); timezones0.put("America/Sao_Paulo", tz); tz = new SimpleTimeZone(-3000 * 3600, "AGT"); timezones0.put("AGT", tz); timezones0.put("America/Belem", tz); timezones0.put("America/Buenos_Aires", tz); timezones0.put("America/Catamarca", tz); timezones0.put("America/Cayenne", tz); timezones0.put("America/Cordoba", tz); timezones0.put("America/Fortaleza", tz); timezones0.put("America/Jujuy", tz); timezones0.put("America/Maceio", tz); timezones0.put("America/Mendoza", tz); timezones0.put("America/Montevideo", tz); timezones0.put("America/Paramaribo", tz); timezones0.put("America/Recife", tz); timezones0.put("America/Rosario", tz); tz = new SimpleTimeZone (-3000 * 3600, "America/Godthab", Calendar.MARCH, 30, -Calendar.SATURDAY, 22000 * 3600, Calendar.OCTOBER, 30, -Calendar.SATURDAY, 22000 * 3600); timezones0.put("America/Godthab", tz); tz = new SimpleTimeZone (-3000 * 3600, "America/Miquelon", Calendar.APRIL, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("America/Miquelon", tz); tz = new SimpleTimeZone(-2000 * 3600, "America/Noronha"); timezones0.put("America/Noronha", tz); timezones0.put("Atlantic/South_Georgia", tz); tz = new SimpleTimeZone (-1000 * 3600, "America/Scoresbysund", Calendar.MARCH, -1, Calendar.SUNDAY, 0 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 0 * 3600); timezones0.put("America/Scoresbysund", tz); timezones0.put("Atlantic/Azores", tz); tz = new SimpleTimeZone(-1000 * 3600, "Atlantic/Cape_Verde"); timezones0.put("Atlantic/Cape_Verde", tz); timezones0.put("Atlantic/Jan_Mayen", tz); tz = new SimpleTimeZone(0 * 3600, "GMT"); timezones0.put("GMT", tz); timezones0.put("UTC", tz); timezones0.put("Africa/Abidjan", tz); timezones0.put("Africa/Accra", tz); timezones0.put("Africa/Bamako", tz); timezones0.put("Africa/Banjul", tz); timezones0.put("Africa/Bissau", tz); timezones0.put("Africa/Casablanca", tz); timezones0.put("Africa/Conakry", tz); timezones0.put("Africa/Dakar", tz); timezones0.put("Africa/El_Aaiun", tz); timezones0.put("Africa/Freetown", tz); timezones0.put("Africa/Lome", tz); timezones0.put("Africa/Monrovia", tz); timezones0.put("Africa/Nouakchott", tz); timezones0.put("Africa/Ouagadougou", tz); timezones0.put("Africa/Sao_Tome", tz); timezones0.put("Africa/Timbuktu", tz); timezones0.put("Atlantic/Reykjavik", tz); timezones0.put("Atlantic/St_Helena", tz); timezones0.put("Europe/Belfast", tz); timezones0.put("Europe/Dublin", tz); timezones0.put("Europe/London", tz); tz = new SimpleTimeZone (0 * 3600, "WET", Calendar.MARCH, -1, Calendar.SUNDAY, 1000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 1000 * 3600); timezones0.put("WET", tz); timezones0.put("Atlantic/Canary", tz); timezones0.put("Atlantic/Faeroe", tz); timezones0.put("Atlantic/Madeira", tz); timezones0.put("Europe/Lisbon", tz); tz = new SimpleTimeZone(1000 * 3600, "Africa/Algiers"); timezones0.put("Africa/Algiers", tz); timezones0.put("Africa/Bangui", tz); timezones0.put("Africa/Brazzaville", tz); timezones0.put("Africa/Douala", tz); timezones0.put("Africa/Kinshasa", tz); timezones0.put("Africa/Lagos", tz); timezones0.put("Africa/Libreville", tz); timezones0.put("Africa/Luanda", tz); timezones0.put("Africa/Malabo", tz); timezones0.put("Africa/Ndjamena", tz); timezones0.put("Africa/Niamey", tz); timezones0.put("Africa/Porto-Novo", tz); timezones0.put("Africa/Tunis", tz); tz = new SimpleTimeZone (1000 * 3600, "Africa/Windhoek", Calendar.SEPTEMBER, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.APRIL, 1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Africa/Windhoek", tz); tz = new SimpleTimeZone (1000 * 3600, "CET", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("CET", tz); timezones0.put("CEST", tz); timezones0.put("ECT", tz); timezones0.put("MET", tz); timezones0.put("Africa/Ceuta", tz); timezones0.put("Arctic/Longyearbyen", tz); timezones0.put("Europe/Amsterdam", tz); timezones0.put("Europe/Andorra", tz); timezones0.put("Europe/Belgrade", tz); timezones0.put("Europe/Berlin", tz); timezones0.put("Europe/Bratislava", tz); timezones0.put("Europe/Brussels", tz); timezones0.put("Europe/Budapest", tz); timezones0.put("Europe/Copenhagen", tz); timezones0.put("Europe/Gibraltar", tz); timezones0.put("Europe/Ljubljana", tz); timezones0.put("Europe/Luxembourg", tz); timezones0.put("Europe/Madrid", tz); timezones0.put("Europe/Malta", tz); timezones0.put("Europe/Monaco", tz); timezones0.put("Europe/Oslo", tz); timezones0.put("Europe/Paris", tz); timezones0.put("Europe/Prague", tz); timezones0.put("Europe/Rome", tz); timezones0.put("Europe/San_Marino", tz); timezones0.put("Europe/Sarajevo", tz); timezones0.put("Europe/Skopje", tz); timezones0.put("Europe/Stockholm", tz); timezones0.put("Europe/Tirane", tz); timezones0.put("Europe/Vaduz", tz); timezones0.put("Europe/Vatican", tz); timezones0.put("Europe/Vienna", tz); timezones0.put("Europe/Warsaw", tz); timezones0.put("Europe/Zagreb", tz); timezones0.put("Europe/Zurich", tz); tz = new SimpleTimeZone (2000 * 3600, "ART", Calendar.APRIL, -1, Calendar.FRIDAY, 0 * 3600, Calendar.SEPTEMBER, -1, Calendar.THURSDAY, 23000 * 3600); timezones0.put("ART", tz); timezones0.put("Africa/Cairo", tz); tz = new SimpleTimeZone(2000 * 3600, "CAT"); timezones0.put("CAT", tz); timezones0.put("Africa/Blantyre", tz); timezones0.put("Africa/Bujumbura", tz); timezones0.put("Africa/Gaborone", tz); timezones0.put("Africa/Harare", tz); timezones0.put("Africa/Johannesburg", tz); timezones0.put("Africa/Kigali", tz); timezones0.put("Africa/Lubumbashi", tz); timezones0.put("Africa/Lusaka", tz); timezones0.put("Africa/Maputo", tz); timezones0.put("Africa/Maseru", tz); timezones0.put("Africa/Mbabane", tz); timezones0.put("Africa/Tripoli", tz); timezones0.put("Europe/Riga", tz); timezones0.put("Europe/Tallinn", tz); timezones0.put("Europe/Vilnius", tz); tz = new SimpleTimeZone (2000 * 3600, "Asia/Amman", Calendar.MARCH, -1, Calendar.THURSDAY, 0 * 3600, Calendar.SEPTEMBER, -1, Calendar.THURSDAY, 0 * 3600); timezones0.put("Asia/Amman", tz); tz = new SimpleTimeZone (2000 * 3600, "Asia/Beirut", Calendar.MARCH, -1, Calendar.SUNDAY, 0 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 0 * 3600); timezones0.put("Asia/Beirut", tz); tz = new SimpleTimeZone (2000 * 3600, "Asia/Damascus", Calendar.APRIL, 1, 0, 0 * 3600, Calendar.OCTOBER, 1, 0, 0 * 3600); timezones0.put("Asia/Damascus", tz); tz = new SimpleTimeZone (2000 * 3600, "Asia/Gaza", Calendar.APRIL, 3, Calendar.FRIDAY, 0 * 3600, Calendar.OCTOBER, 3, Calendar.FRIDAY, 0 * 3600); timezones0.put("Asia/Gaza", tz); tz = new SimpleTimeZone (2000 * 3600, "Asia/Jerusalem", Calendar.APRIL, 1, 0, 1000 * 3600, Calendar.OCTOBER, 1, 0, 1000 * 3600); timezones0.put("Asia/Jerusalem", tz); tz = new SimpleTimeZone (2000 * 3600, "EET", Calendar.MARCH, -1, Calendar.SUNDAY, 3000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 3000 * 3600); timezones0.put("EET", tz); timezones0.put("Asia/Istanbul", tz); timezones0.put("Asia/Nicosia", tz); timezones0.put("Europe/Athens", tz); timezones0.put("Europe/Bucharest", tz); timezones0.put("Europe/Chisinau", tz); timezones0.put("Europe/Helsinki", tz); timezones0.put("Europe/Istanbul", tz); timezones0.put("Europe/Kiev", tz); timezones0.put("Europe/Nicosia", tz); timezones0.put("Europe/Simferopol", tz); timezones0.put("Europe/Sofia", tz); timezones0.put("Europe/Uzhgorod", tz); timezones0.put("Europe/Zaporozhye", tz); tz = new SimpleTimeZone (2000 * 3600, "Europe/Kaliningrad", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Europe/Kaliningrad", tz); timezones0.put("Europe/Minsk", tz); tz = new SimpleTimeZone (3000 * 3600, "Asia/Baghdad", Calendar.APRIL, 1, 0, 3000 * 3600, Calendar.OCTOBER, 1, 0, 3000 * 3600); timezones0.put("Asia/Baghdad", tz); tz = new SimpleTimeZone (3000 * 3600, "Europe/Moscow", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Europe/Moscow", tz); timezones0.put("Europe/Tiraspol", tz); tz = new SimpleTimeZone(3000 * 3600, "EAT"); timezones0.put("EAT", tz); timezones0.put("Africa/Addis_Ababa", tz); timezones0.put("Africa/Asmera", tz); timezones0.put("Africa/Dar_es_Salaam", tz); timezones0.put("Africa/Djibouti", tz); timezones0.put("Africa/Kampala", tz); timezones0.put("Africa/Khartoum", tz); timezones0.put("Africa/Mogadishu", tz); timezones0.put("Africa/Nairobi", tz); timezones0.put("Antarctica/Syowa", tz); timezones0.put("Asia/Aden", tz); timezones0.put("Asia/Bahrain", tz); timezones0.put("Asia/Kuwait", tz); timezones0.put("Asia/Qatar", tz); timezones0.put("Asia/Riyadh", tz); timezones0.put("Indian/Antananarivo", tz); timezones0.put("Indian/Comoro", tz); timezones0.put("Indian/Mayotte", tz); tz = new SimpleTimeZone(3500 * 3600, "Asia/Tehran"); timezones0.put("Asia/Tehran", tz); tz = new SimpleTimeZone (4000 * 3600, "Asia/Baku", Calendar.MARCH, -1, Calendar.SUNDAY, 1000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 1000 * 3600); timezones0.put("Asia/Baku", tz); tz = new SimpleTimeZone (4000 * 3600, "Asia/Aqtau", Calendar.MARCH, -1, Calendar.SUNDAY, 0 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 0 * 3600); timezones0.put("Asia/Aqtau", tz); timezones0.put("Asia/Tbilisi", tz); tz = new SimpleTimeZone (4000 * 3600, "Asia/Yerevan", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Asia/Yerevan", tz); timezones0.put("Europe/Samara", tz); tz = new SimpleTimeZone(4000 * 3600, "NET"); timezones0.put("NET", tz); timezones0.put("Asia/Dubai", tz); timezones0.put("Asia/Muscat", tz); timezones0.put("Indian/Mahe", tz); timezones0.put("Indian/Mauritius", tz); timezones0.put("Indian/Reunion", tz); tz = new SimpleTimeZone(4500 * 3600, "Asia/Kabul"); timezones0.put("Asia/Kabul", tz); tz = new SimpleTimeZone (5000 * 3600, "Asia/Aqtobe", Calendar.MARCH, -1, Calendar.SUNDAY, 0 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 0 * 3600); timezones0.put("Asia/Aqtobe", tz); tz = new SimpleTimeZone (5000 * 3600, "Asia/Bishkek", Calendar.MARCH, -1, Calendar.SUNDAY, 2500 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2500 * 3600); timezones0.put("Asia/Bishkek", tz); tz = new SimpleTimeZone (5000 * 3600, "Asia/Yekaterinburg", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Asia/Yekaterinburg", tz); tz = new SimpleTimeZone(5000 * 3600, "PLT"); timezones0.put("PLT", tz); timezones0.put("Asia/Ashgabat", tz); timezones0.put("Asia/Dushanbe", tz); timezones0.put("Asia/Karachi", tz); timezones0.put("Asia/Samarkand", tz); timezones0.put("Asia/Tashkent", tz); timezones0.put("Indian/Chagos", tz); timezones0.put("Indian/Kerguelen", tz); timezones0.put("Indian/Maldives", tz); tz = new SimpleTimeZone(5500 * 3600, "IST"); timezones0.put("IST", tz); timezones0.put("Asia/Calcutta", tz); tz = new SimpleTimeZone(5750 * 3600, "Asia/Katmandu"); timezones0.put("Asia/Katmandu", tz); tz = new SimpleTimeZone(6000 * 3600, "BST"); timezones0.put("BST", tz); timezones0.put("Antarctica/Mawson", tz); timezones0.put("Asia/Colombo", tz); timezones0.put("Asia/Dhaka", tz); timezones0.put("Asia/Thimphu", tz); tz = new SimpleTimeZone (6000 * 3600, "Asia/Almaty", Calendar.MARCH, -1, Calendar.SUNDAY, 0 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 0 * 3600); timezones0.put("Asia/Almaty", tz); tz = new SimpleTimeZone (6000 * 3600, "Asia/Novosibirsk", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Asia/Novosibirsk", tz); timezones0.put("Asia/Omsk", tz); tz = new SimpleTimeZone(6500 * 3600, "Asia/Rangoon"); timezones0.put("Asia/Rangoon", tz); timezones0.put("Indian/Cocos", tz); tz = new SimpleTimeZone(7000 * 3600, "VST"); timezones0.put("VST", tz); timezones0.put("Antarctica/Davis", tz); timezones0.put("Asia/Bangkok", tz); timezones0.put("Asia/Hovd", tz); timezones0.put("Asia/Jakarta", tz); timezones0.put("Asia/Phnom_Penh", tz); timezones0.put("Asia/Saigon", tz); timezones0.put("Asia/Vientiane", tz); timezones0.put("Indian/Christmas", tz); tz = new SimpleTimeZone (7000 * 3600, "Asia/Krasnoyarsk", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Asia/Krasnoyarsk", tz); tz = new SimpleTimeZone(8000 * 3600, "CTT"); timezones0.put("CTT", tz); timezones0.put("Antarctica/Casey", tz); timezones0.put("Asia/Brunei", tz); timezones0.put("Asia/Chungking", tz); timezones0.put("Asia/Harbin", tz); timezones0.put("Asia/Hong_Kong", tz); timezones0.put("Asia/Kashgar", tz); timezones0.put("Asia/Kuala_Lumpur", tz); timezones0.put("Asia/Kuching", tz); timezones0.put("Asia/Macao", tz); timezones0.put("Asia/Manila", tz); timezones0.put("Asia/Shanghai", tz); timezones0.put("Asia/Singapore", tz); timezones0.put("Asia/Taipei", tz); timezones0.put("Asia/Ujung_Pandang", tz); timezones0.put("Asia/Ulaanbaatar", tz); timezones0.put("Asia/Urumqi", tz); timezones0.put("Australia/Perth", tz); tz = new SimpleTimeZone (8000 * 3600, "Asia/Irkutsk", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Asia/Irkutsk", tz); tz = new SimpleTimeZone(9000 * 3600, "JST"); timezones0.put("JST", tz); timezones0.put("Asia/Dili", tz); timezones0.put("Asia/Jayapura", tz); timezones0.put("Asia/Pyongyang", tz); timezones0.put("Asia/Seoul", tz); timezones0.put("Asia/Tokyo", tz); timezones0.put("Pacific/Palau", tz); tz = new SimpleTimeZone (9000 * 3600, "Asia/Yakutsk", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Asia/Yakutsk", tz); tz = new SimpleTimeZone (9500 * 3600, "Australia/Adelaide", Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Australia/Adelaide", tz); timezones0.put("Australia/Broken_Hill", tz); tz = new SimpleTimeZone(9500 * 3600, "ACT"); timezones0.put("ACT", tz); timezones0.put("Australia/Darwin", tz); tz = new SimpleTimeZone(10000 * 3600, "Antarctica/DumontDUrville"); timezones0.put("Antarctica/DumontDUrville", tz); timezones0.put("Australia/Brisbane", tz); timezones0.put("Australia/Lindeman", tz); timezones0.put("Pacific/Guam", tz); timezones0.put("Pacific/Port_Moresby", tz); timezones0.put("Pacific/Saipan", tz); timezones0.put("Pacific/Truk", tz); timezones0.put("Pacific/Yap", tz); tz = new SimpleTimeZone (10000 * 3600, "Asia/Vladivostok", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Asia/Vladivostok", tz); tz = new SimpleTimeZone (10000 * 3600, "Australia/Hobart", Calendar.OCTOBER, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Australia/Hobart", tz); tz = new SimpleTimeZone (10000 * 3600, "AET", Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("AET", tz); timezones0.put("Australia/Melbourne", tz); timezones0.put("Australia/Sydney", tz); tz = new SimpleTimeZone (10500 * 3600, "Australia/Lord_Howe", Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, 500 * 3600); timezones0.put("Australia/Lord_Howe", tz); tz = new SimpleTimeZone (11000 * 3600, "Asia/Magadan", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Asia/Magadan", tz); tz = new SimpleTimeZone(11000 * 3600, "SST"); timezones0.put("SST", tz); timezones0.put("Pacific/Efate", tz); timezones0.put("Pacific/Guadalcanal", tz); timezones0.put("Pacific/Kosrae", tz); timezones0.put("Pacific/Noumea", tz); timezones0.put("Pacific/Ponape", tz); tz = new SimpleTimeZone(11500 * 3600, "Pacific/Norfolk"); timezones0.put("Pacific/Norfolk", tz); tz = new SimpleTimeZone (12000 * 3600, "NST", Calendar.OCTOBER, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.MARCH, 3, Calendar.SUNDAY, 2000 * 3600); timezones0.put("NST", tz); timezones0.put("Antarctica/McMurdo", tz); timezones0.put("Antarctica/South_Pole", tz); timezones0.put("Pacific/Auckland", tz); tz = new SimpleTimeZone (12000 * 3600, "Asia/Anadyr", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Asia/Anadyr", tz); timezones0.put("Asia/Kamchatka", tz); tz = new SimpleTimeZone(12000 * 3600, "Pacific/Fiji"); timezones0.put("Pacific/Fiji", tz); timezones0.put("Pacific/Funafuti", tz); timezones0.put("Pacific/Kwajalein", tz); timezones0.put("Pacific/Majuro", tz); timezones0.put("Pacific/Nauru", tz); timezones0.put("Pacific/Tarawa", tz); timezones0.put("Pacific/Wake", tz); timezones0.put("Pacific/Wallis", tz); tz = new SimpleTimeZone (12750 * 3600, "Pacific/Chatham", Calendar.OCTOBER, 1, Calendar.SUNDAY, 2750 * 3600, Calendar.MARCH, 3, Calendar.SUNDAY, 2750 * 3600); timezones0.put("Pacific/Chatham", tz); tz = new SimpleTimeZone(13000 * 3600, "Pacific/Enderbury"); timezones0.put("Pacific/Enderbury", tz); timezones0.put("Pacific/Tongatapu", tz); tz = new SimpleTimeZone(14000 * 3600, "Pacific/Kiritimati"); timezones0.put("Pacific/Kiritimati", tz); } return timezones0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ebc5ff4942beb7f0eda4abe3e16ca60092e4db1d/TimeZone.java/clean/core/src/classpath/java/java/util/TimeZone.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
3852,
4317,
25954,
1435,
225,
288,
565,
309,
261,
957,
14203,
20,
422,
446,
13,
4202,
288,
202,
8658,
25954,
273,
394,
4317,
5621,
202,
957,
14203,
20,
273,
25954,
31,
202,
202,
16760,
6016,
31,
202,
202,
759,
11809,
20271,
4374,
635,
8873,
19,
957,
14203,
18,
412,
202,
202,
759,
11329,
300,
9363,
732,
855,
333,
501,
628,
279,
585,
35,
202,
202,
12994,
273,
394,
4477,
16760,
19236,
2499,
3784,
380,
12396,
16,
315,
6068,
8863,
202,
957,
14203,
20,
18,
458,
2932,
6068,
3113,
6016,
1769,
202,
957,
14203,
20,
18,
458,
2932,
52,
1077,
1507,
19,
1294,
1155,
3113,
6016,
1769,
202,
957,
14203,
20,
18,
458,
2932,
52,
1077,
1507,
19,
20711,
1888,
3113,
6016,
1769,
202,
957,
14203,
20,
18,
458,
2932,
52,
1077,
1507,
19,
50,
77,
344,
3113,
6016,
1769,
202,
957,
14203,
20,
18,
458,
2932,
52,
1077,
1507,
19,
10156,
83,
67,
10156,
83,
3113,
6016,
1769,
202,
12994,
273,
394,
4477,
16760,
202,
225,
24927,
23899,
380,
12396,
16,
315,
26393,
19,
1871,
581,
3113,
202,
282,
5542,
18,
2203,
2259,
48,
16,
404,
16,
5542,
18,
55,
5240,
5255,
16,
16291,
380,
12396,
16,
202,
282,
5542,
18,
51,
1268,
5704,
654,
16,
300,
21,
16,
5542,
18,
55,
5240,
5255,
16,
16291,
380,
12396,
1769,
202,
957,
14203,
20,
18,
458,
2932,
26393,
19,
1871,
581,
3113,
6016,
1769,
202,
202,
12994,
273,
394,
4477,
16760,
19236,
23899,
380,
12396,
16,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
3852,
4317,
25954,
1435,
225,
288,
565,
309,
261,
957,
14203,
20,
422,
446,
13,
4202,
288,
202,
8658,
25954,
273,
394,
4317,
5621,
202,
957,
14203,
20,
273,
25954,
31,
202,
202,
16760,
6016,
31,
202,
202,
759,
11809,
20271,
4374,
635,
8873,
19,
957,
14203,
18,
412,
202,
202,
759,
11329,
300,
9363,
732,
855,
333,
501,
628,
279,
585,
35,
202,
202,
12994,
273,
394,
4477,
16760,
19236,
2499,
3784,
380,
12396,
16,
315,
6068,
8863,
202,
957,
14203,
20,
18,
458,
2932,
6068,
3113,
6016,
1769,
202,
957,
14203,
20,
18,
458,
2932,
52,
1077,
1507,
19,
1294,
1155,
3113,
6016,
1769,
202,
957,
14203,
20,
18,
458,
2932,
52,
1077,
1507,
19,
2
] | |
ci.precision = types[SYBDATETIME4].precision; ci.sqlType = types[SYBDATETIME4].sqlType; | ci.precision = types[SYBDATETIME4].precision; ci.sqlType = types[SYBDATETIME4].sqlType; | static int readType(ResponseStream in, ColInfo ci) throws IOException, ProtocolException { boolean isTds8 = in.getTdsVersion() >= Driver.TDS80; int bytesRead = 1; // Get the TDS data type code int type = in.read(); if (types[type] == null) { throw new ProtocolException("Invalid TDS data type 0x" + Integer.toHexString(type)); } ci.tdsType = type; ci.jdbcType = types[type].jdbcType; ci.displaySize = -1; ci.tableName = ""; ci.bufferSize = types[type].size; // Now get the buffersize if required if (ci.bufferSize == -5) { // sql_variant ci.bufferSize = in.readInt(); bytesRead += 4; } else if (ci.bufferSize == -4) { // text or image ci.bufferSize = in.readInt(); if (isTds8) { bytesRead += getCollation(in, ci); } int lenName = in.readShort(); ci.tableName = in.readString(lenName); bytesRead += 6 + ((in.getTdsVersion() >= Driver.TDS70) ? lenName * 2 : lenName); } else if (ci.bufferSize == -2) { // longvarchar longvarbinary ci.bufferSize = in.readShort(); if (isTds8) { bytesRead += getCollation(in, ci); } bytesRead += 2; } else if (ci.bufferSize == -1) { // varchar varbinary decimal etc bytesRead += 1; ci.bufferSize = in.read(); } // Set scale for money and date types if (isCurrency(ci)) { ci.scale = 4; } else if (type == SYBDATETIME ||(type == SYBDATETIMN && ci.bufferSize == 8)) { ci.scale = 3; } // Set default displaySize and precision ci.displaySize = types[type].displaySize; ci.precision = types[type].precision; ci.sqlType = types[type].sqlType; // Now fine tune sizes for specific types if (type == SYBDATETIMN) { if (ci.bufferSize == 8) { ci.displaySize = types[SYBDATETIME].displaySize; ci.precision = types[SYBDATETIME].precision; } else { ci.displaySize = types[SYBDATETIME4].displaySize; ci.precision = types[SYBDATETIME4].precision; ci.sqlType = types[SYBDATETIME4].sqlType; } } else if (type == SYBFLTN) { if (ci.bufferSize == 8) { ci.displaySize = types[SYBFLT8].displaySize; ci.precision = types[SYBFLT8].precision; } else { ci.displaySize = types[SYBREAL].displaySize; ci.precision = types[SYBREAL].precision; ci.jdbcType = java.sql.Types.REAL; ci.sqlType = types[SYBREAL].sqlType; } } else if (type == SYBINTN) { if (ci.bufferSize == 8) { ci.displaySize = types[SYBINT8].displaySize; ci.precision = types[SYBINT8].precision; ci.jdbcType = java.sql.Types.BIGINT; ci.sqlType = types[SYBINT8].sqlType; } else if (ci.bufferSize == 4) { ci.displaySize = types[SYBINT4].displaySize; ci.precision = types[SYBINT4].precision; } else if (ci.bufferSize == 2) { ci.displaySize = types[SYBINT2].displaySize; ci.precision = types[SYBINT2].precision; ci.jdbcType = java.sql.Types.SMALLINT; ci.sqlType = types[SYBINT2].sqlType; } else { ci.displaySize = types[SYBINT1].displaySize; ci.precision = types[SYBINT1].precision; ci.jdbcType = java.sql.Types.TINYINT; ci.sqlType = types[SYBINT1].sqlType; } } else if (type == SYBMONEYN) { if (ci.bufferSize == 8) { ci.displaySize = types[SYBMONEY].displaySize; ci.precision = types[SYBMONEY].precision; } else { ci.displaySize = types[SYBMONEY4].displaySize; ci.precision = types[SYBMONEY4].precision; ci.sqlType = types[SYBMONEY4].sqlType; } } // Set sizes for character types if (ci.precision == -1) { ci.precision = ci.bufferSize; if (ci.displaySize == -2) { ci.displaySize = ci.bufferSize / 2; } else if (ci.displaySize == 2) { ci.displaySize = ci.precision * 2; } else { ci.displaySize = ci.precision; } } // Read in scale and precision for decimal types if (type == SYBDECIMAL || type == SYBNUMERIC) { ci.precision = in.read(); ci.scale = in.read(); ci.displaySize = ((ci.scale > 0) ? 2 : 1) + ci.precision; bytesRead += 2; ci.sqlType = types[type].sqlType; } // For numeric types add 'identity' for auto inc data type if (ci.isIdentity) { ci.sqlType += " identity"; } return bytesRead; } | 439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/f23675b413a471c068f08551f90854f46440ea89/TdsData.java/buggy/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/TdsData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
509,
855,
559,
12,
1064,
1228,
316,
16,
1558,
966,
9039,
13,
565,
1216,
1860,
16,
4547,
503,
288,
3639,
1250,
353,
56,
2377,
28,
273,
316,
18,
588,
56,
2377,
1444,
1435,
1545,
9396,
18,
56,
3948,
3672,
31,
3639,
509,
17244,
273,
404,
31,
3639,
368,
968,
326,
399,
3948,
501,
618,
981,
3639,
509,
618,
273,
316,
18,
896,
5621,
3639,
309,
261,
2352,
63,
723,
65,
422,
446,
13,
288,
5411,
604,
394,
4547,
503,
2932,
1941,
399,
3948,
501,
618,
374,
92,
6,
397,
2144,
18,
869,
14866,
12,
723,
10019,
3639,
289,
3639,
9039,
18,
88,
2377,
559,
273,
618,
31,
3639,
9039,
18,
24687,
559,
273,
1953,
63,
723,
8009,
24687,
559,
31,
3639,
9039,
18,
5417,
1225,
273,
300,
21,
31,
3639,
9039,
18,
18033,
273,
1408,
31,
3639,
9039,
18,
4106,
1225,
273,
1953,
63,
723,
8009,
1467,
31,
3639,
368,
4494,
336,
326,
9664,
554,
309,
1931,
3639,
309,
261,
8450,
18,
4106,
1225,
422,
300,
25,
13,
288,
5411,
368,
1847,
67,
8688,
5411,
9039,
18,
4106,
1225,
273,
316,
18,
896,
1702,
5621,
5411,
17244,
1011,
1059,
31,
3639,
289,
469,
309,
261,
8450,
18,
4106,
1225,
422,
300,
24,
13,
288,
5411,
368,
977,
578,
1316,
5411,
9039,
18,
4106,
1225,
273,
316,
18,
896,
1702,
5621,
5411,
309,
261,
291,
56,
2377,
28,
13,
288,
7734,
17244,
1011,
336,
13535,
367,
12,
267,
16,
9039,
1769,
5411,
289,
5411,
509,
562,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
509,
855,
559,
12,
1064,
1228,
316,
16,
1558,
966,
9039,
13,
565,
1216,
1860,
16,
4547,
503,
288,
3639,
1250,
353,
56,
2377,
28,
273,
316,
18,
588,
56,
2377,
1444,
1435,
1545,
9396,
18,
56,
3948,
3672,
31,
3639,
509,
17244,
273,
404,
31,
3639,
368,
968,
326,
399,
3948,
501,
618,
981,
3639,
509,
618,
273,
316,
18,
896,
5621,
3639,
309,
261,
2352,
63,
723,
65,
422,
446,
13,
288,
5411,
604,
394,
4547,
503,
2932,
1941,
399,
3948,
501,
618,
374,
92,
6,
397,
2144,
18,
869,
14866,
12,
723,
10019,
3639,
289,
3639,
9039,
18,
88,
2377,
559,
273,
618,
31,
3639,
9039,
18,
24687,
559,
273,
1953,
63,
723,
8009,
2
] |
following.push(FOLLOW_dotted_name_in_function372); | following.push(FOLLOW_dotted_name_in_function382); | public void function() throws RecognitionException { Token name=null; Token paramName=null; String retType = null; String paramType = null; String body = null; FunctionDescr f = null; try { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:159:17: ( 'function' opt_eol (retType= dotted_name )? opt_eol name= ID opt_eol '(' opt_eol ( (paramType= dotted_name )? opt_eol paramName= ID opt_eol ( ',' opt_eol (paramType= dotted_name )? opt_eol paramName= ID opt_eol )* )? ')' opt_eol '{' body= curly_chunk '}' opt_eol ) // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:159:17: 'function' opt_eol (retType= dotted_name )? opt_eol name= ID opt_eol '(' opt_eol ( (paramType= dotted_name )? opt_eol paramName= ID opt_eol ( ',' opt_eol (paramType= dotted_name )? opt_eol paramName= ID opt_eol )* )? ')' opt_eol '{' body= curly_chunk '}' opt_eol { match(input,20,FOLLOW_20_in_function303); following.push(FOLLOW_opt_eol_in_function305); opt_eol(); following.pop(); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:159:36: (retType= dotted_name )? int alt13=2; alt13 = dfa13.predict(input); switch (alt13) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:159:37: retType= dotted_name { following.push(FOLLOW_dotted_name_in_function310); retType=dotted_name(); following.pop(); } break; } following.push(FOLLOW_opt_eol_in_function314); opt_eol(); following.pop(); name=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_function318); following.push(FOLLOW_opt_eol_in_function320); opt_eol(); following.pop(); //System.err.println( "function :: " + name.getText() ); f = new FunctionDescr( name.getText(), retType ); match(input,21,FOLLOW_21_in_function329); following.push(FOLLOW_opt_eol_in_function331); opt_eol(); following.pop(); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:165:25: ( (paramType= dotted_name )? opt_eol paramName= ID opt_eol ( ',' opt_eol (paramType= dotted_name )? opt_eol paramName= ID opt_eol )* )? int alt17=2; int LA17_0 = input.LA(1); if ( (LA17_0>=EOL && LA17_0<=ID) ) { alt17=1; } else if ( LA17_0==23 ) { alt17=2; } else { NoViableAltException nvae = new NoViableAltException("165:25: ( (paramType= dotted_name )? opt_eol paramName= ID opt_eol ( \',\' opt_eol (paramType= dotted_name )? opt_eol paramName= ID opt_eol )* )?", 17, 0, input); throw nvae; } switch (alt17) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:165:33: (paramType= dotted_name )? opt_eol paramName= ID opt_eol ( ',' opt_eol (paramType= dotted_name )? opt_eol paramName= ID opt_eol )* { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:165:33: (paramType= dotted_name )? int alt14=2; alt14 = dfa14.predict(input); switch (alt14) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:165:34: paramType= dotted_name { following.push(FOLLOW_dotted_name_in_function341); paramType=dotted_name(); following.pop(); } break; } following.push(FOLLOW_opt_eol_in_function345); opt_eol(); following.pop(); paramName=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_function349); following.push(FOLLOW_opt_eol_in_function351); opt_eol(); following.pop(); f.addParameter( paramType, paramName.getText() ); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:169:33: ( ',' opt_eol (paramType= dotted_name )? opt_eol paramName= ID opt_eol )* loop16: do { int alt16=2; int LA16_0 = input.LA(1); if ( LA16_0==22 ) { alt16=1; } switch (alt16) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:169:41: ',' opt_eol (paramType= dotted_name )? opt_eol paramName= ID opt_eol { match(input,22,FOLLOW_22_in_function365); following.push(FOLLOW_opt_eol_in_function367); opt_eol(); following.pop(); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:169:53: (paramType= dotted_name )? int alt15=2; alt15 = dfa15.predict(input); switch (alt15) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:169:54: paramType= dotted_name { following.push(FOLLOW_dotted_name_in_function372); paramType=dotted_name(); following.pop(); } break; } following.push(FOLLOW_opt_eol_in_function376); opt_eol(); following.pop(); paramName=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_function380); following.push(FOLLOW_opt_eol_in_function382); opt_eol(); following.pop(); f.addParameter( paramType, paramName.getText() ); } break; default : break loop16; } } while (true); } break; } match(input,23,FOLLOW_23_in_function407); following.push(FOLLOW_opt_eol_in_function411); opt_eol(); following.pop(); match(input,24,FOLLOW_24_in_function415); following.push(FOLLOW_curly_chunk_in_function422); body=curly_chunk(); following.pop(); f.setText( body ); match(input,25,FOLLOW_25_in_function431); packageDescr.addFunction( f ); following.push(FOLLOW_opt_eol_in_function439); opt_eol(); following.pop(); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/75f5f3ef6a8af3fa9515d2007a16f1fd6f3ce0d0/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
445,
1435,
1216,
9539,
288,
6647,
3155,
508,
33,
2011,
31,
3639,
3155,
11466,
33,
2011,
31,
3639,
514,
325,
559,
273,
446,
31,
3639,
514,
20781,
273,
446,
31,
3639,
514,
1417,
273,
446,
31,
1171,
202,
202,
2083,
16198,
284,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
24872,
30,
4033,
30,
261,
296,
915,
11,
2153,
67,
30951,
261,
1349,
559,
33,
20965,
67,
529,
7851,
2153,
67,
30951,
508,
33,
1599,
2153,
67,
30951,
7321,
2153,
67,
30951,
261,
261,
891,
559,
33,
20965,
67,
529,
7851,
2153,
67,
30951,
11466,
33,
1599,
2153,
67,
30951,
261,
3316,
2153,
67,
30951,
261,
891,
559,
33,
20965,
67,
529,
7851,
2153,
67,
30951,
11466,
33,
1599,
2153,
67,
30951,
8618,
7851,
5777,
2153,
67,
30951,
9790,
1417,
33,
29270,
67,
6551,
9571,
2153,
67,
30951,
262,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
24872,
30,
4033,
30,
296,
915,
11,
2153,
67,
30951,
261,
1349,
559,
33,
20965,
67,
529,
7851,
2153,
67,
30951,
508,
33,
1599,
2153,
67,
30951,
7321,
2153,
67,
30951,
261,
261,
891,
559,
33,
20965,
67,
529,
7851,
2153,
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,
445,
1435,
1216,
9539,
288,
6647,
3155,
508,
33,
2011,
31,
3639,
3155,
11466,
33,
2011,
31,
3639,
514,
325,
559,
273,
446,
31,
3639,
514,
20781,
273,
446,
31,
3639,
514,
1417,
273,
446,
31,
1171,
202,
202,
2083,
16198,
284,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
24872,
30,
4033,
30,
261,
296,
915,
11,
2153,
67,
30951,
261,
1349,
559,
33,
20965,
67,
529,
7851,
2153,
67,
30951,
508,
33,
1599,
2153,
67,
30951,
7321,
2153,
67,
30951,
261,
261,
2
] |
return aspect.getAccessorMethods().accessorGetter(nf, ts, f, id.host().type().toClass(), id.thisReference(nf, ts)); | getter = aspect.getAccessorMethods().accessorGetter(nf, ts, f, id.host().type().toClass(), id.thisReference(nf, ts)); setter = aspect.getAccessorMethods().accessorSetter(nf, ts, f, id.host().type().toClass(), id.thisReference(nf, ts), (Expr)f); return new JjAccessField_c(f.position(), getter, setter, f); | public Node aspectMethodsLeave(AspectMethods visitor, AJNodeFactory nf, AJTypeSystem ts) { Field f = (Field) node(); if(ts.isAccessible(f.fieldInstance(), visitor.context()) && !ts.isAccessibleIgnorePrivileged(f.fieldInstance(), visitor.context()) && introduceFieldAccessors) { ClassType cct = (ClassType) visitor.container(); // TODO: Check container() is what we want while(cct != null) { if(AJFlags.isPrivilegedaspect(cct.flags())) { AspectType at = (AspectType) cct; return at.getAccessorMethods().accessorGetter(nf, ts, f, (ClassType)f.target().type(), null); } cct = cct.outer(); } // Shouldn't happen - accessibility test thinks we're in a privileged aspect, // but we failed to find a containing aspect throw new InternalCompilerError("Problem determining whether or not we're in a privileged aspect"); } if (f.fieldInstance() instanceof InterTypeFieldInstance_c) { InterTypeFieldInstance_c itfi = (InterTypeFieldInstance_c) f.fieldInstance(); if (itfi.container().toClass().flags().isInterface() && introduceFieldAccessors) return itfi.getCall(nf, ts, f.target(), itfi.container()); f = f.fieldInstance(itfi.mangled()).name(itfi.mangled().name()).targetImplicit(false); } if (f.target() instanceof HostSpecial_c && introduceFieldAccessors) { HostSpecial_c hs = (HostSpecial_c) f.target(); if (hs.kind() == Special.SUPER) { IntertypeDecl id = (IntertypeDecl) visitor.intertypeDecl(); /*return id.getSupers().superFieldGetter(nf, ts, f, id.host().type().toClass(), id.thisReference(nf, ts));*/ AspectType aspect = ((AJContext)visitor.context()).currentAspect(); if(aspect == null) { // Is this really impossible? Depends on how exactly the nesting works, investigate throw new InternalCompilerError("Intertype method not enclosed by aspect"); } return aspect.getAccessorMethods().accessorGetter(nf, ts, f, id.host().type().toClass(), id.thisReference(nf, ts)); } } return f; } | 236 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/236/a1cb817c990383f16da6898aa224e2cd9ccf0897/FieldDel_c.java/clean/aop/abc/src/abc/aspectj/extension/FieldDel_c.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2029,
9648,
4712,
21300,
12,
17468,
4712,
8000,
16,
432,
46,
907,
1733,
13958,
16,
4766,
282,
432,
46,
559,
3163,
3742,
13,
565,
288,
3639,
2286,
284,
273,
261,
974,
13,
756,
5621,
3639,
309,
12,
3428,
18,
291,
10451,
12,
74,
18,
1518,
1442,
9334,
8000,
18,
2472,
10756,
597,
1171,
401,
3428,
18,
291,
10451,
3777,
18845,
12,
74,
18,
1518,
1442,
9334,
8000,
18,
2472,
10756,
597,
7734,
16658,
311,
974,
1862,
1383,
13,
288,
3639,
202,
565,
1659,
559,
276,
299,
273,
261,
18328,
13,
8000,
18,
3782,
5621,
368,
2660,
30,
2073,
1478,
1435,
353,
4121,
732,
2545,
377,
202,
565,
1323,
12,
71,
299,
480,
446,
13,
288,
377,
202,
3639,
309,
12,
37,
46,
5094,
18,
291,
18845,
23579,
12,
71,
299,
18,
7133,
1435,
3719,
288,
377,
202,
5411,
2970,
1181,
559,
622,
273,
261,
17468,
559,
13,
276,
299,
31,
377,
202,
5411,
327,
622,
18,
588,
8235,
4712,
7675,
3860,
280,
8461,
12,
82,
74,
16,
3742,
16,
284,
16,
261,
18328,
13,
74,
18,
3299,
7675,
723,
9334,
446,
1769,
377,
202,
3639,
289,
377,
202,
3639,
276,
299,
273,
276,
299,
18,
14068,
5621,
377,
202,
565,
289,
377,
202,
565,
368,
9363,
82,
1404,
5865,
300,
2006,
3628,
1842,
15507,
87,
732,
4565,
316,
279,
11334,
2423,
9648,
16,
1377,
202,
565,
368,
1496,
732,
2535,
358,
1104,
279,
4191,
9648,
377,
202,
565,
604,
394,
3186,
9213,
668,
2932,
13719,
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,
2029,
9648,
4712,
21300,
12,
17468,
4712,
8000,
16,
432,
46,
907,
1733,
13958,
16,
4766,
282,
432,
46,
559,
3163,
3742,
13,
565,
288,
3639,
2286,
284,
273,
261,
974,
13,
756,
5621,
3639,
309,
12,
3428,
18,
291,
10451,
12,
74,
18,
1518,
1442,
9334,
8000,
18,
2472,
10756,
597,
1171,
401,
3428,
18,
291,
10451,
3777,
18845,
12,
74,
18,
1518,
1442,
9334,
8000,
18,
2472,
10756,
597,
7734,
16658,
311,
974,
1862,
1383,
13,
288,
3639,
202,
565,
1659,
559,
276,
299,
273,
261,
18328,
13,
8000,
18,
3782,
5621,
368,
2660,
30,
2073,
1478,
1435,
353,
4121,
732,
2545,
377,
202,
565,
1323,
12,
71,
299,
480,
446,
13,
288,
377,
202,
2
] |
match(_t,LEFTPAREN); _t = _t.getNextSibling(); AST tmp1606_AST_in = (AST)_t; | public final void sql_col_def(AST _t) throws RecognitionException { AST sql_col_def_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2451 = _t; AST tmp1602_AST_in = (AST)_t; match(_t,ID); _t = _t.getFirstChild(); AST tmp1603_AST_in = (AST)_t; if ( _t==null ) throw new MismatchedTokenException(); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PRECISION: { AST tmp1604_AST_in = (AST)_t; match(_t,PRECISION); _t = _t.getNextSibling(); break; } case 3: case CASESENSITIVE: case COLUMNLABEL: case DEFAULT: case FORMAT: case LABEL: case LEFTPAREN: case Not_casesens: case Not_null: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LEFTPAREN: { AST tmp1605_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); AST tmp1606_AST_in = (AST)_t; match(_t,NUMBER); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COMMA: { AST tmp1607_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); AST tmp1608_AST_in = (AST)_t; match(_t,NUMBER); _t = _t.getNextSibling(); break; } case RIGHTPAREN: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1609_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); break; } case 3: case CASESENSITIVE: case COLUMNLABEL: case DEFAULT: case FORMAT: case LABEL: case Not_casesens: case Not_null: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Not_null: { AST __t2456 = _t; AST tmp1610_AST_in = (AST)_t; match(_t,Not_null); _t = _t.getFirstChild(); AST tmp1611_AST_in = (AST)_t; match(_t,NOT); _t = _t.getNextSibling(); AST tmp1612_AST_in = (AST)_t; match(_t,NULL_KW); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case UNIQUE: { AST tmp1613_AST_in = (AST)_t; match(_t,UNIQUE); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t2456; _t = _t.getNextSibling(); break; } case 3: case CASESENSITIVE: case COLUMNLABEL: case DEFAULT: case FORMAT: case LABEL: case Not_casesens: { break; } default: { throw new NoViableAltException(_t); } } } { _loop2461: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case DEFAULT: { AST __t2459 = _t; AST tmp1614_AST_in = (AST)_t; match(_t,DEFAULT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2459; _t = _t.getNextSibling(); break; } case FORMAT: { AST __t2460 = _t; AST tmp1615_AST_in = (AST)_t; match(_t,FORMAT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2460; _t = _t.getNextSibling(); break; } case CASESENSITIVE: case Not_casesens: { casesens_or_not(_t); _t = _retTree; break; } default: { break _loop2461; } } } while (true); } _t = __t2451; _t = _t.getNextSibling(); _retTree = _t; } | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/041a16c78289f1c3ae5e575d3edc5e893a658e50/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1847,
67,
1293,
67,
536,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1847,
67,
1293,
67,
536,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
3247,
10593,
273,
389,
88,
31,
202,
202,
9053,
1853,
2313,
3103,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
734,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
9053,
1853,
2313,
4630,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
430,
261,
389,
88,
631,
2011,
262,
604,
394,
26454,
1345,
503,
5621,
202,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
7071,
26913,
30,
202,
202,
95,
1082,
202,
9053,
1853,
2313,
3028,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
3670,
26913,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
890,
30,
202,
202,
3593,
18403,
26753,
16325,
30,
202,
202,
3593,
13473,
13545,
30,
202,
202,
3593,
3331,
30,
202,
202,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1847,
67,
1293,
67,
536,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1847,
67,
1293,
67,
536,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
3247,
10593,
273,
389,
88,
31,
202,
202,
9053,
1853,
2313,
3103,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
734,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
9053,
1853,
2313,
4630,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
430,
261,
389,
88,
631,
2
] | |
.log("Unable to create navigator view descriptor.", e.getStatus()); | .log( "Unable to create navigator view descriptor.", e.getStatus()); | protected boolean readElement(IConfigurationElement element) { if (TAG_VIEWER.equals(element.getName())) { String viewerId = element.getAttribute(ATT_VIEWER_ID); NavigatorViewerDescriptor descriptor = getViewerDescriptor(viewerId); String popupMenuId = element.getAttribute(ATT_POPUP_MENU_ID); if (popupMenuId != null) descriptor.setPopupMenuId(popupMenuId); return true; } if (TAG_VIEWER_CONTENT_BINDING.equals(element.getName())) { try { String viewerId = element.getAttribute(ATT_VIEWER_ID); NavigatorViewerDescriptor descriptor = getViewerDescriptor(viewerId); descriptor.consumeContentBinding(element); return true; } catch (WorkbenchException e) { // log an error since its not safe to open a dialog here NavigatorPlugin .log("Unable to create navigator view descriptor.", e.getStatus());//$NON-NLS-1$ } } if (TAG_VIEWER_ACTION_BINDING.equals(element.getName())) { try { String viewerId = element.getAttribute(ATT_VIEWER_ID); NavigatorViewerDescriptor descriptor = getViewerDescriptor(viewerId); descriptor.consumeActionBinding(element); return true; } catch (WorkbenchException e) { // log an error since its not safe to open a dialog here NavigatorPlugin .log("Unable to create navigator view descriptor.", e.getStatus());//$NON-NLS-1$ } } return false; } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/6915e85b60af35942d3186f62ce0acdf65c91e7f/NavigatorViewerDescriptorRegistry.java/clean/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/internal/extensions/NavigatorViewerDescriptorRegistry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
855,
1046,
12,
45,
1750,
1046,
930,
13,
288,
202,
202,
430,
261,
7927,
67,
12145,
654,
18,
14963,
12,
2956,
18,
17994,
1435,
3719,
288,
1082,
202,
780,
14157,
548,
273,
930,
18,
588,
1499,
12,
789,
56,
67,
12145,
654,
67,
734,
1769,
1082,
202,
22817,
18415,
3187,
4950,
273,
8893,
264,
3187,
12,
25256,
548,
1769,
1082,
202,
780,
10431,
4599,
548,
273,
930,
18,
588,
1499,
12,
789,
56,
67,
30374,
3079,
67,
29227,
67,
734,
1769,
1082,
202,
430,
261,
16086,
4599,
548,
480,
446,
13,
9506,
202,
12628,
18,
542,
13770,
4599,
548,
12,
16086,
4599,
548,
1769,
1082,
202,
2463,
638,
31,
202,
202,
97,
202,
202,
430,
261,
7927,
67,
12145,
654,
67,
9689,
67,
2739,
18,
14963,
12,
2956,
18,
17994,
1435,
3719,
288,
1082,
202,
698,
288,
9506,
202,
780,
14157,
548,
273,
930,
18,
588,
1499,
12,
789,
56,
67,
12145,
654,
67,
734,
1769,
9506,
202,
22817,
18415,
3187,
4950,
273,
8893,
264,
3187,
12,
25256,
548,
1769,
9506,
202,
12628,
18,
21224,
1350,
5250,
12,
2956,
1769,
9506,
202,
2463,
638,
31,
1082,
202,
97,
1044,
261,
2421,
22144,
503,
425,
13,
288,
9506,
202,
759,
613,
392,
555,
3241,
2097,
486,
4183,
358,
1696,
279,
6176,
2674,
9506,
202,
22817,
3773,
25083,
202,
18,
1330,
2932,
3370,
358,
752,
19796,
1476,
4950,
1199,
16,
425,
18,
588,
1482,
10663,
759,
8,
3993,
17,
5106,
17,
21,
8,
1082,
202,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
855,
1046,
12,
45,
1750,
1046,
930,
13,
288,
202,
202,
430,
261,
7927,
67,
12145,
654,
18,
14963,
12,
2956,
18,
17994,
1435,
3719,
288,
1082,
202,
780,
14157,
548,
273,
930,
18,
588,
1499,
12,
789,
56,
67,
12145,
654,
67,
734,
1769,
1082,
202,
22817,
18415,
3187,
4950,
273,
8893,
264,
3187,
12,
25256,
548,
1769,
1082,
202,
780,
10431,
4599,
548,
273,
930,
18,
588,
1499,
12,
789,
56,
67,
30374,
3079,
67,
29227,
67,
734,
1769,
1082,
202,
430,
261,
16086,
4599,
548,
480,
446,
13,
9506,
202,
12628,
18,
542,
13770,
4599,
548,
12,
16086,
4599,
548,
1769,
1082,
202,
2463,
638,
31,
202,
202,
97,
202,
202,
430,
2
] |
throw new RuntimeException("could not mixin for mixin implicit interface: ClassNotFoundException : " + e.getMessage()); | throw new RuntimeException("could not load mixin for mixin implicit interface: ClassNotFoundException : " + e.getMessage()); | public String[] getNearestInterfacesInHierarchy(String innerClassName) { if (m_loader == null) throw new IllegalStateException("attribute enhancer is not initialized"); try { Class innerClass = Class.forName(innerClassName, false, m_loader); return getNearestInterfacesInHierarchy(innerClass); } catch (ClassNotFoundException e) { // should not be raised throw new RuntimeException("could not mixin for mixin implicit interface: ClassNotFoundException : " + e.getMessage()); } catch (NoClassDefFoundError er) { // raised if extends / implements dependancies not found throw new RuntimeException("could not dependancy for mixin implicit interface: " + innerClassName+ " ClassNotFoundException for " + er.getMessage()); } } | 7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/c14746b64a51c8eba3f2d3620a3dd70a407900a4/BcelAttributeEnhancer.java/clean/aspectwerkz/src/main/org/codehaus/aspectwerkz/attribdef/definition/attribute/bcel/BcelAttributeEnhancer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8526,
336,
28031,
10273,
382,
12074,
12,
780,
3443,
3834,
13,
288,
3639,
309,
261,
81,
67,
6714,
422,
446,
13,
604,
394,
5477,
2932,
4589,
570,
25842,
2750,
353,
486,
6454,
8863,
3639,
775,
288,
5411,
1659,
3443,
797,
273,
1659,
18,
1884,
461,
12,
7872,
3834,
16,
629,
16,
312,
67,
6714,
1769,
5411,
327,
336,
28031,
10273,
382,
12074,
12,
7872,
797,
1769,
3639,
289,
1044,
261,
797,
3990,
425,
13,
288,
5411,
368,
1410,
486,
506,
11531,
5411,
604,
394,
3235,
2932,
15195,
486,
1262,
11682,
364,
11682,
10592,
1560,
30,
10403,
294,
315,
397,
425,
18,
24906,
10663,
3639,
289,
1044,
261,
2279,
797,
3262,
2043,
668,
6445,
13,
288,
5411,
368,
11531,
309,
3231,
342,
4792,
2447,
304,
13689,
486,
1392,
5411,
604,
394,
3235,
2932,
15195,
486,
2447,
12514,
364,
11682,
10592,
1560,
30,
315,
397,
3443,
3834,
15,
315,
10403,
364,
315,
397,
6445,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8526,
336,
28031,
10273,
382,
12074,
12,
780,
3443,
3834,
13,
288,
3639,
309,
261,
81,
67,
6714,
422,
446,
13,
604,
394,
5477,
2932,
4589,
570,
25842,
2750,
353,
486,
6454,
8863,
3639,
775,
288,
5411,
1659,
3443,
797,
273,
1659,
18,
1884,
461,
12,
7872,
3834,
16,
629,
16,
312,
67,
6714,
1769,
5411,
327,
336,
28031,
10273,
382,
12074,
12,
7872,
797,
1769,
3639,
289,
1044,
261,
797,
3990,
425,
13,
288,
5411,
368,
1410,
486,
506,
11531,
5411,
604,
394,
3235,
2932,
15195,
486,
1262,
11682,
364,
11682,
10592,
1560,
30,
10403,
294,
315,
397,
425,
18,
24906,
10663,
3639,
289,
1044,
261,
2279,
797,
3262,
2043,
668,
6445,
13,
288,
5411,
2
] |
StringVector processPREFIX_URLLIST(StylesheetHandler handler, String uri, String name, String rawName, String value) throws SAXException | StringVector processPREFIX_URLLIST( StylesheetHandler handler, String uri, String name, String rawName, String value) throws SAXException | StringVector processPREFIX_URLLIST(StylesheetHandler handler, String uri, String name, String rawName, String value) throws SAXException { StringTokenizer tokenizer = new StringTokenizer(value, " \t\n\r\f"); int nStrings = tokenizer.countTokens(); StringVector strings = new StringVector(nStrings); for(int i = 0; i < nStrings; i++) { String prefix = tokenizer.nextToken(); String url = handler.getNamespaceForPrefix(prefix); strings.addElement(url); } return strings; } | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/6fbfc5b396871b2ddb731ea98fccffe88307b5d3/XSLTAttributeDef.java/clean/src/org/apache/xalan/processor/XSLTAttributeDef.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
514,
5018,
1207,
6307,
67,
1785,
7085,
12,
24656,
1503,
1838,
16,
21394,
514,
2003,
16,
514,
508,
16,
21394,
514,
1831,
461,
16,
514,
460,
13,
565,
1216,
14366,
225,
288,
565,
16370,
10123,
273,
394,
16370,
12,
1132,
16,
315,
521,
88,
64,
82,
64,
86,
64,
74,
8863,
565,
509,
290,
7957,
273,
10123,
18,
1883,
5157,
5621,
565,
514,
5018,
2064,
273,
394,
514,
5018,
12,
82,
7957,
1769,
565,
364,
12,
474,
277,
273,
374,
31,
277,
411,
290,
7957,
31,
277,
27245,
565,
288,
1377,
514,
1633,
273,
10123,
18,
4285,
1345,
5621,
1377,
514,
880,
273,
1838,
18,
588,
3402,
1290,
2244,
12,
3239,
1769,
1377,
2064,
18,
1289,
1046,
12,
718,
1769,
565,
289,
565,
327,
2064,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
514,
5018,
1207,
6307,
67,
1785,
7085,
12,
24656,
1503,
1838,
16,
21394,
514,
2003,
16,
514,
508,
16,
21394,
514,
1831,
461,
16,
514,
460,
13,
565,
1216,
14366,
225,
288,
565,
16370,
10123,
273,
394,
16370,
12,
1132,
16,
315,
521,
88,
64,
82,
64,
86,
64,
74,
8863,
565,
509,
290,
7957,
273,
10123,
18,
1883,
5157,
5621,
565,
514,
5018,
2064,
273,
394,
514,
5018,
12,
82,
7957,
1769,
565,
364,
12,
474,
277,
273,
374,
31,
277,
411,
290,
7957,
31,
277,
27245,
565,
288,
1377,
514,
1633,
273,
10123,
18,
4285,
1345,
5621,
1377,
514,
880,
273,
1838,
18,
588,
3402,
1290,
2244,
12,
3239,
1769,
1377,
2064,
18,
1289,
1046,
12,
2
] |
fConfiguration.getFeature(INCLUDE_IGNORABLE_WHITESPACE); fDeferNodeExpansion = fConfiguration.getFeature(DEFER_NODE_EXPANSION); fNamespaceAware = fConfiguration.getFeature(NAMESPACES); fIncludeComments = fConfiguration.getFeature(INCLUDE_COMMENTS_FEATURE); fCreateCDATANodes = fConfiguration.getFeature(CREATE_CDATA_NODES_FEATURE); | fConfiguration.getFeature (INCLUDE_IGNORABLE_WHITESPACE); fDeferNodeExpansion = fConfiguration.getFeature (DEFER_NODE_EXPANSION); fNamespaceAware = fConfiguration.getFeature (NAMESPACES); fIncludeComments = fConfiguration.getFeature (INCLUDE_COMMENTS_FEATURE); fCreateCDATANodes = fConfiguration.getFeature (CREATE_CDATA_NODES_FEATURE); | public void reset() throws XNIException { super.reset(); // get feature state fCreateEntityRefNodes = fConfiguration.getFeature(CREATE_ENTITY_REF_NODES); fIncludeIgnorableWhitespace = fConfiguration.getFeature(INCLUDE_IGNORABLE_WHITESPACE); fDeferNodeExpansion = fConfiguration.getFeature(DEFER_NODE_EXPANSION); fNamespaceAware = fConfiguration.getFeature(NAMESPACES); fIncludeComments = fConfiguration.getFeature(INCLUDE_COMMENTS_FEATURE); fCreateCDATANodes = fConfiguration.getFeature(CREATE_CDATA_NODES_FEATURE); // get property setDocumentClassName((String) fConfiguration.getProperty(DOCUMENT_CLASS_NAME)); // reset dom information fDocument = null; fDocumentImpl = null; fStorePSVI = false; fDocumentType = null; fDocumentTypeIndex = -1; fDeferredDocumentImpl = null; fCurrentNode = null; // reset string buffer fStringBuffer.setLength(0); // reset state information fInDocument = false; fInDTD = false; fInDTDExternalSubset = false; fInCDATASection = false; fFirstChunk = false; fCurrentCDATASection = null; fCurrentCDATASectionIndex = -1; fBaseURIStack.removeAllElements(); } // reset() | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/b4cd180911aea48174dc85f3cf80e53272cd1419/AbstractDOMParser.java/clean/src/org/apache/xerces/parsers/AbstractDOMParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2715,
1435,
1216,
1139,
50,
45,
503,
288,
3639,
2240,
18,
6208,
5621,
8227,
368,
336,
2572,
919,
3639,
284,
1684,
1943,
1957,
3205,
273,
5411,
284,
1750,
18,
588,
4595,
12,
9344,
67,
11101,
67,
10771,
67,
8744,
55,
1769,
3639,
284,
8752,
45,
1600,
15514,
9431,
273,
5411,
284,
1750,
18,
588,
4595,
12,
26003,
67,
10452,
916,
2782,
67,
20767,
1769,
3639,
284,
758,
586,
907,
2966,
12162,
273,
2868,
284,
1750,
18,
588,
4595,
12,
1639,
6553,
67,
8744,
67,
16109,
1258,
3686,
1769,
3639,
284,
3402,
10155,
273,
284,
1750,
18,
588,
4595,
12,
11368,
55,
1769,
3639,
284,
8752,
9051,
273,
284,
1750,
18,
588,
4595,
12,
26003,
67,
12200,
55,
67,
18257,
1769,
3639,
284,
1684,
10160,
789,
1258,
1145,
273,
284,
1750,
18,
588,
4595,
12,
9344,
67,
18375,
67,
8744,
55,
67,
18257,
1769,
3639,
368,
336,
1272,
3639,
444,
2519,
3834,
12443,
780,
13,
11794,
284,
1750,
18,
588,
1396,
12,
18450,
67,
5237,
67,
1985,
10019,
3639,
368,
2715,
4092,
1779,
3639,
284,
2519,
273,
446,
31,
3639,
284,
2519,
2828,
273,
446,
31,
3639,
284,
2257,
5857,
4136,
273,
629,
31,
3639,
284,
2519,
559,
273,
446,
31,
3639,
284,
2519,
559,
1016,
273,
300,
21,
31,
3639,
284,
16886,
2519,
2828,
273,
446,
31,
3639,
284,
3935,
907,
273,
446,
31,
3639,
368,
2715,
533,
1613,
3639,
284,
780,
1892,
18,
542,
1782,
12,
20,
1769,
3639,
368,
2715,
919,
1779,
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,
2715,
1435,
1216,
1139,
50,
45,
503,
288,
3639,
2240,
18,
6208,
5621,
8227,
368,
336,
2572,
919,
3639,
284,
1684,
1943,
1957,
3205,
273,
5411,
284,
1750,
18,
588,
4595,
12,
9344,
67,
11101,
67,
10771,
67,
8744,
55,
1769,
3639,
284,
8752,
45,
1600,
15514,
9431,
273,
5411,
284,
1750,
18,
588,
4595,
12,
26003,
67,
10452,
916,
2782,
67,
20767,
1769,
3639,
284,
758,
586,
907,
2966,
12162,
273,
2868,
284,
1750,
18,
588,
4595,
12,
1639,
6553,
67,
8744,
67,
16109,
1258,
3686,
1769,
3639,
284,
3402,
10155,
273,
284,
1750,
18,
588,
4595,
12,
11368,
55,
1769,
3639,
284,
8752,
9051,
273,
284,
1750,
18,
588,
4595,
12,
26003,
67,
12200,
2
] |
buf.append(e.getShortMessage(e.mode)+"\n"); | buf.append(FetchException.getShortMessage(e.mode)+"\n"); | public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { //String ks = uri.toString(); String ks = uri.getPath(); HTTPRequest httprequest = new HTTPRequest(uri); if (ks.equals("/")) { if (httprequest.isParameterSet("key")) { MultiValueTable headers = new MultiValueTable(); headers.put("Location", "/"+httprequest.getParam("key")); ctx.sendReplyHeaders(302, "Found", headers, null, 0); return; } RedirectException re = new RedirectException(); try { String querystring = uri.getQuery(); if (querystring == null) { re.newuri = new URI("/welcome/"); } else { // TODP possibly a proper URLEncode method querystring = querystring.replace(' ', '+'); re.newuri = new URI("/welcome/?"+querystring); } } catch (URISyntaxException e) { // HUH!?! } throw re; }else if(ks.equals("/favicon.ico")){ byte[] buf = new byte[1024]; int len; InputStream strm = getClass().getResourceAsStream("staticfiles/favicon.ico"); if (strm == null) { this.sendErrorPage(ctx, 404, "Path not found", "The specified path does not exist."); return; } ctx.sendReplyHeaders(200, "OK", null, "image/x-icon", strm.available()); while ( (len = strm.read(buf)) > 0) { ctx.writeData(buf, 0, len); } return; } if(ks.startsWith("/")) ks = ks.substring(1); long maxSize = httprequest.getLongParam("max-size", MAX_LENGTH); StringBuffer buf = new StringBuffer(); FreenetURI key; try { key = new FreenetURI(ks); } catch (MalformedURLException e) { ctx.getPageMaker().makeHead(buf, "Invalid key"); buf.append("<div class=\"infobox infobox-error\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append("Invalid key\n"); buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); buf.append("Expected a freenet key, but got "+HTMLEncoder.encode(ks)+"\n"); ctx.getPageMaker().makeBackLink(buf,ctx); buf.append("<br><a href=\"/\" title=\"Node Homepage\">Homepage</a>\n"); buf.append("</div>\n"); buf.append("</div>\n"); ctx.getPageMaker().makeTail(buf); this.writeReply(ctx, 400, "text/html", "Invalid key", buf.toString()); return; } try { Logger.minor(this, "FProxy fetching "+key); FetchResult result = fetch(key, maxSize); // Now, is it safe? Bucket data = result.asBucket(); String typeName = result.getMimeType(); String reqParam = httprequest.getParam("type", null); if(reqParam != null) typeName = reqParam; Logger.minor(this, "Type: "+typeName+" ("+result.getMimeType()+" "+reqParam+")"); long now = System.currentTimeMillis(); String forceString = httprequest.getParam("force"); boolean force = false; boolean forcedownload = false; if(forceString != null) { if(forceString.equals(getForceValue(key, now)) || forceString.equals(getForceValue(key, now-FORCE_GRAIN_INTERVAL))) force = true; } if(httprequest.isParameterSet("forcedownload")) { // Download to disk, this should be safe, and is set when we do "force download to disk" from a dangerous-content-warning page. typeName = "application/x-msdownload"; forcedownload = true; } try { if(!force && !forcedownload) { data = ContentFilter.filter(data, ctx.getBucketFactory(), typeName, uri, null); } if (forcedownload) { MultiValueTable headers = new MultiValueTable(); headers.put("Content-Disposition", "attachment"); ctx.sendReplyHeaders(200, "OK", headers, typeName, data.size()); ctx.writeData(data); } else { // Send the data, intact writeReply(ctx, 200, typeName, "OK", data); } } catch (UnsafeContentTypeException e) { ctx.getPageMaker().makeHead(buf, "Potentially Dangerous Content"); buf.append("<div class=\"infobox infobox-alert\">"); buf.append("<div class=\"infobox-header\">").append(e.getHTMLEncodedTitle()).append("</div>"); buf.append("<div class=\"infobox-content\">"); buf.append(e.getExplanation()); buf.append("<p>Your options are:</p><ul>\n"); buf.append("<li><a href=\"/"+key.toString(false)+"?type=text/plain\">Click here</a> to open the file as plain text (this should not be dangerous, but it may be garbled).</li>\n"); // FIXME: is this safe? See bug #131 buf.append("<li><a href=\"/"+key.toString(false)+"?forcedownload\">Click here</a> to force your browser to download the file to disk.</li>\n"); buf.append("<li><a href=\"/"+key.toString(false)+"?force="+getForceValue(key, now)+"\">Click here</a> to open the file as "+HTMLEncoder.encode(typeName)+".</li>\n"); buf.append("<li><a href=\"/\">Click here</a> to go to the FProxy home page.</li>\n"); buf.append("</ul></div>"); buf.append("</div>\n"); ctx.getPageMaker().makeTail(buf); writeReply(ctx, 200, "text/html", "OK", buf.toString()); } } catch (FetchException e) { String msg = e.getMessage(); String extra = ""; if(e.mode == FetchException.NOT_ENOUGH_METASTRINGS) { this.writePermanentRedirect(ctx, "Not enough meta-strings", "/" + URLEncoder.encode(key.toString(false)) + "/"); } else if(e.newURI != null) { this.writePermanentRedirect(ctx, msg, "/"+e.newURI.toString()); } else if(e.mode == FetchException.TOO_BIG) { ctx.getPageMaker().makeHead(buf, "Large file"); buf.append("<table border=\"0\">\n"); String fnam = getFilename(e, key, e.getExpectedMimeType()); buf.append("<tr><td><b>Filename</b></td><td>"); buf.append("<a href=\"/"+URLEncoder.encode(key.toString(false))+"\">"); buf.append(fnam); buf.append("</a>"); buf.append("</td></tr>\n"); boolean finalized = e.finalizedSize(); if(e.expectedSize > 0) { buf.append("<tr><td><b>"); if(!finalized) buf.append("Expected size (may change)"); else buf.append("Size"); buf.append("</b></td><td>"); buf.append(SizeUtil.formatSize(e.expectedSize)); buf.append("</td></tr>\n"); } String mime = e.getExpectedMimeType(); if(mime != null) { buf.append("<tr><td><b>"); if(!finalized) buf.append("Expected MIME type"); else buf.append("MIME type"); buf.append("</b></td><td>"); buf.append(mime); buf.append(" bytes </td></tr>\n"); } // FIXME filename buf.append("</table>\n"); buf.append("<br>This is a large file, so it has not been streamed direct" + " to your browser, because Freenet cannot send any data to the " + "browser until it has the whole file, and this may take some time, " + "and also for resource usage reasons.<br>\n"); buf.append("What would you like to do with it?"); buf.append("<ul>"); buf.append("<li><form method=\"get\" action=\"/"+key.toString(false)+"\">"); buf.append("<input type=\"hidden\" name=\"max-size\" value=\""+e.expectedSize+"\">"); buf.append("<input type=\"submit\" name=\"fetch\" value=\"Fetch anyway and display file in browser\">"); buf.append("</form></li>\n"); buf.append("<li><form method=\"post\" action=\"/queue/\">"); buf.append("<input type=\"hidden\" name=\"key\" value=\""+key.toString(false)+"\">"); buf.append("<input type=\"hidden\" name=\"return-type\" value=\"disk\">"); buf.append("<input type=\"hidden\" name=\"persistence\" value=\"forever\">"); buf.append("<input type=\"hidden\" name=\"formPassword\" value=\""+node.formPassword+"\">"); if(mime != null) buf.append("<input type=\"hidden\" name=\"type\" value=\""+URLEncoder.encode(mime)+"\">"); buf.append("<input type=\"submit\" name=\"download\" value=\"Download in background and store in downloads directory\">"); buf.append("</form></li>\n"); // FIXME add a queue-a-download option.// buf.append("<li>Save it to disk at </li>"); // FIXME add return-to-referring-page //buf.append("<li>Return to the referring page: "); buf.append("<li>Abort and return to the FProxy home page: <a href=\"/\">here</a></li>"); buf.append("</ul>"); ctx.getPageMaker().makeTail(buf); writeReply(ctx, 200, "text/html", "OK", buf.toString()); // FIXME provide option to queue write to disk. } else { if(e.errorCodes != null) extra = "<pre>"+e.errorCodes.toVerboseString()+"</pre>"; ctx.getPageMaker().makeHead(buf,e.getShortMessage(e.mode)); buf.append("<div class=\"infobox infobox-error\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append(e.getShortMessage(e.mode)+"\n"); buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); buf.append("Error: "+HTMLEncoder.encode(msg)+extra+"\n"); ctx.getPageMaker().makeBackLink(buf,ctx); buf.append("<br><a href=\"/\" title=\"Node Homepage\">Homepage</a>\n"); buf.append("</div>\n"); buf.append("</div>\n"); ctx.getPageMaker().makeTail(buf); this.writeReply(ctx, 500 /* close enough - FIXME probably should depend on status code */, "text/html", e.getShortMessage(e.mode), buf.toString()); } } catch (Throwable t) { Logger.error(this, "Caught "+t, t); String msg = "<html><head><title>Internal Error</title></head><body><h1>Internal Error: please report</h1><pre>"; StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); t.printStackTrace(pw); pw.flush(); msg = msg + sw.toString() + "</pre></body></html>"; this.writeReply(ctx, 500, "text/html", "Internal Error", msg); } } | 50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/435d4590fcc5417fb2c2aa2ad6187826e509ffea/FProxyToadlet.java/buggy/src/freenet/clients/http/FProxyToadlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1875,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
759,
780,
11654,
273,
2003,
18,
10492,
5621,
202,
202,
780,
11654,
273,
2003,
18,
588,
743,
5621,
9506,
202,
23891,
1062,
2293,
273,
394,
25238,
12,
1650,
1769,
9506,
202,
430,
261,
7904,
18,
14963,
2932,
4898,
3719,
288,
1082,
202,
430,
261,
2022,
1484,
456,
18,
291,
1662,
694,
2932,
856,
6,
3719,
288,
9506,
202,
5002,
620,
1388,
1607,
273,
394,
5991,
620,
1388,
5621,
6862,
9506,
202,
2485,
18,
458,
2932,
2735,
3113,
4016,
15,
2022,
1484,
456,
18,
588,
786,
2932,
856,
7923,
1769,
9506,
202,
5900,
18,
4661,
7817,
3121,
12,
23,
3103,
16,
315,
2043,
3113,
1607,
16,
446,
16,
374,
1769,
9506,
202,
2463,
31,
1082,
202,
97,
25083,
202,
5961,
503,
283,
273,
394,
9942,
503,
5621,
1082,
202,
698,
288,
9506,
202,
780,
20741,
273,
2003,
18,
588,
1138,
5621,
6862,
9506,
202,
430,
261,
2271,
1080,
422,
446,
13,
288,
6862,
202,
266,
18,
2704,
1650,
273,
394,
3699,
2932,
19,
91,
16312,
4898,
1769,
9506,
202,
97,
469,
288,
6862,
202,
759,
399,
1212,
52,
10016,
279,
5338,
1976,
5509,
707,
6862,
202,
2271,
1080,
273,
20741,
18,
2079,
2668,
2265,
10058,
1769,
6862,
202,
266,
18,
2704,
1650,
273,
394,
3699,
2932,
19,
91,
16312,
19,
7225,
15,
2271,
1080,
1769,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1875,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
759,
780,
11654,
273,
2003,
18,
10492,
5621,
202,
202,
780,
11654,
273,
2003,
18,
588,
743,
5621,
9506,
202,
23891,
1062,
2293,
273,
394,
25238,
12,
1650,
1769,
9506,
202,
430,
261,
7904,
18,
14963,
2932,
4898,
3719,
288,
1082,
202,
430,
261,
2022,
1484,
456,
18,
291,
1662,
694,
2932,
856,
6,
3719,
288,
9506,
202,
5002,
620,
1388,
1607,
273,
394,
5991,
620,
1388,
5621,
6862,
9506,
202,
2485,
18,
458,
2932,
2735,
3113,
4016,
15,
2022,
1484,
456,
18,
588,
786,
2932,
2
] |
private void validate() throws BuildException { if (destdir == null) { throw new BuildException("Need to specify the 'destdir' attribute"); } if (!destdir.exists() || !destdir.isDirectory()) { if (!destdir.mkdirs()) { throw new BuildException("Could not create the specified destdir"); } } } | 48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/bcf54ee9560f4fd9a0ff083d3f0ea7c829a28aea/TaglibReport.java/buggy/contrib/tag-doc/src/java/org/apache/struts/taskdefs/TaglibReport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
6459,
5662,
1435,
15069,
3116,
503,
95,
202,
202,
430,
12,
10488,
1214,
631,
2011,
15329,
1082,
202,
12849,
2704,
3116,
503,
2932,
14112,
14627,
705,
1164,
5787,
14271,
395,
1214,
11,
4589,
8863,
202,
202,
97,
202,
202,
430,
12,
5,
10488,
1214,
18,
1808,
1435,
20081,
5,
10488,
1214,
18,
291,
2853,
10756,
95,
1082,
202,
430,
12,
5,
10488,
1214,
18,
24816,
8291,
10756,
95,
9506,
202,
12849,
2704,
3116,
503,
2932,
4445,
902,
27350,
546,
281,
705,
939,
10488,
1214,
8863,
1082,
202,
97,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
6459,
5662,
1435,
15069,
3116,
503,
95,
202,
202,
430,
12,
10488,
1214,
631,
2011,
15329,
1082,
202,
12849,
2704,
3116,
503,
2932,
14112,
14627,
705,
1164,
5787,
14271,
395,
1214,
11,
4589,
8863,
202,
202,
97,
202,
202,
430,
12,
5,
10488,
1214,
18,
1808,
1435,
20081,
5,
10488,
1214,
18,
291,
2853,
10756,
95,
1082,
202,
430,
12,
5,
10488,
1214,
18,
24816,
8291,
10756,
95,
9506,
202,
12849,
2704,
3116,
503,
2932,
4445,
902,
27350,
546,
281,
705,
939,
10488,
1214,
8863,
1082,
202,
97,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] | ||
public void mTokens() throws RecognitionException { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:10: ( T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | T43 | T44 | T45 | T46 | T47 | T48 | T49 | T50 | T51 | T52 | T53 | T54 | T55 | T56 | T57 | MISC | WS | EOL | INT | FLOAT | STRING | BOOL | ID | SH_STYLE_SINGLE_LINE_COMMENT | C_STYLE_SINGLE_LINE_COMMENT | MULTI_LINE_COMMENT ) int alt16=54; alt16 = dfa16.predict(input); if (failed) return ; switch (alt16) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:10: T15 { mT15(); if (failed) return ; } break; case 2 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:14: T16 { mT16(); if (failed) return ; } break; case 3 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:18: T17 { mT17(); if (failed) return ; } break; case 4 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:22: T18 { mT18(); if (failed) return ; } break; case 5 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:26: T19 { mT19(); if (failed) return ; } break; case 6 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:30: T20 { mT20(); if (failed) return ; } break; case 7 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:34: T21 { mT21(); if (failed) return ; } break; case 8 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:38: T22 { mT22(); if (failed) return ; } break; case 9 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:42: T23 { mT23(); if (failed) return ; } break; case 10 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:46: T24 { mT24(); if (failed) return ; } break; case 11 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:50: T25 { mT25(); if (failed) return ; } break; case 12 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:54: T26 { mT26(); if (failed) return ; } break; case 13 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:58: T27 { mT27(); if (failed) return ; } break; case 14 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:62: T28 { mT28(); if (failed) return ; } break; case 15 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:66: T29 { mT29(); if (failed) return ; } break; case 16 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:70: T30 { mT30(); if (failed) return ; } break; case 17 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:74: T31 { mT31(); if (failed) return ; } break; case 18 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:78: T32 { mT32(); if (failed) return ; } break; case 19 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:82: T33 { mT33(); if (failed) return ; } break; case 20 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:86: T34 { mT34(); if (failed) return ; } break; case 21 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:90: T35 { mT35(); if (failed) return ; } break; case 22 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:94: T36 { mT36(); if (failed) return ; } break; case 23 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:98: T37 { mT37(); if (failed) return ; } break; case 24 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:102: T38 { mT38(); if (failed) return ; } break; case 25 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:106: T39 { mT39(); if (failed) return ; } break; case 26 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:110: T40 { mT40(); if (failed) return ; } break; case 27 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:114: T41 { mT41(); if (failed) return ; } break; case 28 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:118: T42 { mT42(); if (failed) return ; } break; case 29 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:122: T43 { mT43(); if (failed) return ; } break; case 30 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:126: T44 { mT44(); if (failed) return ; } break; case 31 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:130: T45 { mT45(); if (failed) return ; } break; case 32 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:134: T46 { mT46(); if (failed) return ; } break; case 33 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:138: T47 { mT47(); if (failed) return ; } break; case 34 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:142: T48 { mT48(); if (failed) return ; } break; case 35 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:146: T49 { mT49(); if (failed) return ; } break; case 36 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:150: T50 { mT50(); if (failed) return ; } break; case 37 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:154: T51 { mT51(); if (failed) return ; } break; case 38 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:158: T52 { mT52(); if (failed) return ; } break; case 39 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:162: T53 { mT53(); if (failed) return ; } break; case 40 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:166: T54 { mT54(); if (failed) return ; } break; case 41 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:170: T55 { mT55(); if (failed) return ; } break; case 42 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:174: T56 { mT56(); if (failed) return ; } break; case 43 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:178: T57 { mT57(); if (failed) return ; } break; case 44 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:182: MISC { mMISC(); if (failed) return ; } break; case 45 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:187: WS { mWS(); if (failed) return ; } break; case 46 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:190: EOL { mEOL(); if (failed) return ; } break; case 47 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:194: INT { mINT(); if (failed) return ; } break; case 48 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:198: FLOAT { mFLOAT(); if (failed) return ; } break; case 49 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:204: STRING { mSTRING(); if (failed) return ; } break; case 50 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:211: BOOL { mBOOL(); if (failed) return ; } break; case 51 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:216: ID { mID(); if (failed) return ; } break; case 52 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:219: SH_STYLE_SINGLE_LINE_COMMENT { mSH_STYLE_SINGLE_LINE_COMMENT(); if (failed) return ; } break; case 53 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:248: C_STYLE_SINGLE_LINE_COMMENT { mC_STYLE_SINGLE_LINE_COMMENT(); if (failed) return ; } break; case 54 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:276: MULTI_LINE_COMMENT { mMULTI_LINE_COMMENT(); if (failed) return ; } break; } } | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/db9ec7bad93dfc15e8ce115941d6e9f0749d5a10/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
5157,
1435,
1216,
9539,
288,
3639,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
21,
30,
2163,
30,
261,
399,
3600,
571,
399,
2313,
571,
399,
4033,
571,
399,
2643,
571,
399,
3657,
571,
399,
3462,
571,
399,
5340,
571,
399,
3787,
571,
399,
4366,
571,
399,
3247,
571,
399,
2947,
571,
399,
5558,
571,
399,
5324,
571,
399,
6030,
571,
399,
5540,
571,
399,
5082,
571,
399,
6938,
571,
399,
1578,
571,
399,
3707,
571,
399,
5026,
571,
399,
4763,
571,
399,
5718,
571,
399,
6418,
571,
399,
7414,
571,
399,
5520,
571,
399,
7132,
571,
399,
9803,
571,
399,
9452,
571,
399,
8942,
571,
399,
6334,
571,
399,
7950,
571,
399,
8749,
571,
399,
9462,
571,
399,
8875,
571,
399,
7616,
571,
399,
3361,
571,
399,
10593,
571,
399,
9401,
571,
399,
8643,
571,
399,
6564,
571,
399,
2539,
571,
399,
4313,
571,
399,
10321,
571,
20806,
2312,
571,
7649,
571,
19995,
571,
6137,
571,
15483,
571,
9469,
571,
9784,
1741,
571,
1599,
571,
6122,
67,
15066,
67,
20184,
67,
5997,
67,
12200,
571,
385,
67,
15066,
67,
20184,
67,
5997,
67,
12200,
571,
27125,
67,
5997,
67,
12200,
262,
3639,
509,
3770,
2313,
33,
6564,
31,
3639,
3770,
2313,
273,
23074,
2313,
18,
14491,
12,
2630,
1769,
309,
261,
7307,
13,
327,
274,
3639,
1620,
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,
312,
5157,
1435,
1216,
9539,
288,
3639,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
21,
30,
2163,
30,
261,
399,
3600,
571,
399,
2313,
571,
399,
4033,
571,
399,
2643,
571,
399,
3657,
571,
399,
3462,
571,
399,
5340,
571,
399,
3787,
571,
399,
4366,
571,
399,
3247,
571,
399,
2947,
571,
399,
5558,
571,
399,
5324,
571,
399,
6030,
571,
399,
5540,
571,
399,
5082,
571,
399,
6938,
571,
399,
1578,
571,
399,
3707,
571,
399,
5026,
571,
399,
4763,
571,
399,
5718,
571,
399,
6418,
571,
399,
7414,
2
] | ||
return setInstanceVariable(name, value, "Insecure: can't set constant", | IRubyObject result = setInstanceVariable(name, value, "Insecure: can't set constant", | public IRubyObject setConstant(String name, IRubyObject value) { return setInstanceVariable(name, value, "Insecure: can't set constant", "class/module"); } | 46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/d27bd5bcb36c7670bce31c6a2a4c22b11fdfa5c4/RubyModule.java/clean/src/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
444,
6902,
12,
780,
508,
16,
15908,
10340,
921,
460,
13,
288,
3639,
15908,
10340,
921,
563,
273,
444,
1442,
3092,
12,
529,
16,
460,
16,
315,
382,
8869,
30,
848,
1404,
444,
5381,
3113,
1171,
315,
1106,
19,
2978,
8863,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
444,
6902,
12,
780,
508,
16,
15908,
10340,
921,
460,
13,
288,
3639,
15908,
10340,
921,
563,
273,
444,
1442,
3092,
12,
529,
16,
460,
16,
315,
382,
8869,
30,
848,
1404,
444,
5381,
3113,
1171,
315,
1106,
19,
2978,
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
] |
collectionNames = false; } | collectionNames = false; } | public void parse(URL configURL) { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setNamespaceAware(true); try { InputStream in = configURL.openStream(); DocumentBuilder builder = factory.newDocumentBuilder(); Document document = builder.parse(in); Element config = document.getDocumentElement(); if (config == null) { log.error("Resource configuration: mandatory 'iomanager' element is missing."); return; } Element el = DomUtil.getChildElement(config, "iomanager", null); if (el != null) { Object inst = buildClassFromConfig(el); if (inst != null && inst instanceof IOManager) { ioManager = (IOManager)inst; } } else { log.error("Resource configuration: mandatory 'iomanager' element is missing."); } el = DomUtil.getChildElement(config, "collection", null); if (el != null) { nodetypeNames = parseNodeTypesEntry(el); collectionNames = true; } else if ((el = DomUtil.getChildElement(config, "noncollection", null)) != null) { nodetypeNames = parseNodeTypesEntry(el); collectionNames = false; } // todo: should check if both 'noncollection' and 'collection' are present and write a warning el = DomUtil.getChildElement(config, "filter", null); if (el != null) { Object inst = buildClassFromConfig(el); if (inst != null && inst instanceof ItemFilter) { itemFilter = (ItemFilter)inst; } if (itemFilter != null) { itemFilter.setFilteredNodetypes(parseNodeTypesEntry(el)); parseNamespacesEntry(el); } } else { log.debug("Resource configuration: no 'filter' element specified."); } } catch (IOException e) { log.debug("Invalid resource configuration: " + e.getMessage()); } catch (ParserConfigurationException e) { log.warn("Failed to parse resource configuration: " + e.getMessage()); } catch (SAXException e) { log.warn("Failed to parse resource configuration: " + e.getMessage()); } } | 48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/7168c91997e3181717bce6c965795e53e7bf3599/ResourceConfig.java/clean/jcr-server/server/src/java/org/apache/jackrabbit/webdav/simple/ResourceConfig.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1109,
12,
1785,
642,
1785,
13,
288,
3639,
30236,
3272,
273,
30236,
18,
2704,
1442,
5621,
3639,
3272,
18,
542,
3402,
10155,
12,
3767,
1769,
3639,
775,
288,
5411,
5037,
316,
273,
642,
1785,
18,
3190,
1228,
5621,
5411,
4319,
1263,
2089,
273,
3272,
18,
2704,
2519,
1263,
5621,
5411,
4319,
1668,
273,
2089,
18,
2670,
12,
267,
1769,
5411,
3010,
642,
273,
1668,
18,
588,
2519,
1046,
5621,
5411,
309,
261,
1425,
422,
446,
13,
288,
7734,
613,
18,
1636,
2932,
1420,
1664,
30,
11791,
296,
14642,
1063,
11,
930,
353,
3315,
1199,
1769,
7734,
327,
31,
5411,
289,
5411,
3010,
415,
273,
12965,
1304,
18,
588,
1763,
1046,
12,
1425,
16,
315,
14642,
1063,
3113,
446,
1769,
5411,
309,
261,
292,
480,
446,
13,
288,
7734,
1033,
1804,
273,
1361,
797,
22102,
12,
292,
1769,
7734,
309,
261,
8591,
480,
446,
597,
1804,
1276,
1665,
1318,
13,
288,
10402,
2527,
1318,
273,
261,
4294,
1318,
13,
8591,
31,
7734,
289,
5411,
289,
469,
288,
7734,
613,
18,
1636,
2932,
1420,
1664,
30,
11791,
296,
14642,
1063,
11,
930,
353,
3315,
1199,
1769,
5411,
289,
5411,
415,
273,
12965,
1304,
18,
588,
1763,
1046,
12,
1425,
16,
315,
5548,
3113,
446,
1769,
5411,
309,
261,
292,
480,
446,
13,
288,
7734,
14003,
5872,
1557,
273,
1109,
907,
2016,
1622,
12,
292,
1769,
10792,
1849,
1557,
273,
638,
31,
5411,
289,
469,
309,
14015,
292,
273,
12965,
1304,
18,
588,
1763,
1046,
12,
1425,
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,
1109,
12,
1785,
642,
1785,
13,
288,
3639,
30236,
3272,
273,
30236,
18,
2704,
1442,
5621,
3639,
3272,
18,
542,
3402,
10155,
12,
3767,
1769,
3639,
775,
288,
5411,
5037,
316,
273,
642,
1785,
18,
3190,
1228,
5621,
5411,
4319,
1263,
2089,
273,
3272,
18,
2704,
2519,
1263,
5621,
5411,
4319,
1668,
273,
2089,
18,
2670,
12,
267,
1769,
5411,
3010,
642,
273,
1668,
18,
588,
2519,
1046,
5621,
5411,
309,
261,
1425,
422,
446,
13,
288,
7734,
613,
18,
1636,
2932,
1420,
1664,
30,
11791,
296,
14642,
1063,
11,
930,
353,
3315,
1199,
1769,
7734,
327,
31,
5411,
289,
5411,
3010,
415,
273,
12965,
1304,
18,
588,
1763,
1046,
12,
1425,
16,
315,
14642,
1063,
2
] |
int getReturnAddressMapIndex() { | int getReturnAddressMapIndex() { | int getReturnAddressMapIndex() { return returnAddressMapIndex; } | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/2fa590c80682746e4c5a9573d3bc4a3db8acfdc7/VM_UnusualMaps.java/clean/rvm/src/vm/compilers/baseline/GCMap/VM_UnusualMaps.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
509,
26594,
1887,
863,
1016,
1435,
225,
288,
565,
327,
327,
1887,
863,
1016,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
282,
509,
26594,
1887,
863,
1016,
1435,
225,
288,
565,
327,
327,
1887,
863,
1016,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Button( WebForm form, Node node ) { super( form, node ); _onClickEvent = NodeUtils.getNodeAttribute( node, "onclick" ); | Button( WebForm form ) { super( form ); | Button( WebForm form, Node node ) { super( form, node ); _onClickEvent = NodeUtils.getNodeAttribute( node, "onclick" ); } | 5961 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5961/009e65d62db5e84bc9503932d28237368958c53c/Button.java/buggy/src/com/meterware/httpunit/Button.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
12569,
12,
2999,
1204,
646,
16,
2029,
756,
262,
288,
3639,
2240,
12,
646,
16,
756,
11272,
3639,
389,
265,
6563,
1133,
273,
2029,
1989,
18,
588,
907,
1499,
12,
756,
16,
315,
265,
7475,
6,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
12569,
12,
2999,
1204,
646,
16,
2029,
756,
262,
288,
3639,
2240,
12,
646,
16,
756,
11272,
3639,
389,
265,
6563,
1133,
273,
2029,
1989,
18,
588,
907,
1499,
12,
756,
16,
315,
265,
7475,
6,
11272,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if( encounteredWild && idx < pattern.length - 1 && CharOperation.isWhitespace( pattern[ idx + 1 ] ) ) { name += ' '; } idx += token.getLength(); while( idx < pattern.length && CharOperation.isWhitespace( pattern[idx] ) ){ idx++; } | static private LinkedList scanForNames( IScanner scanner, IToken unusedToken ){ LinkedList list = new LinkedList(); String name = new String(""); //$NON-NLS-1$ try { IToken token = ( unusedToken != null ) ? unusedToken : scanner.nextToken(); IToken prev = null; scanner.setThrowExceptionOnBadCharacterRead( true ); boolean encounteredWild = false; boolean lastTokenWasOperator = false; while( true ){ switch( token.getType() ){ case IToken.tCOLONCOLON : list.addLast( name.toCharArray() ); name = new String(""); //$NON-NLS-1$ lastTokenWasOperator = false; break; case IToken.t_operator : name += token.getImage() + " "; //$NON-NLS-1$ lastTokenWasOperator = true; break; default: if( token.getType() == IToken.tSTAR || token.getType() == IToken.tQUESTION ){ encounteredWild = true; } else if( !encounteredWild && !lastTokenWasOperator && name.length() > 0 && prev.getType() != IToken.tIDENTIFIER && prev.getType() != IToken.tLT && prev.getType() != IToken.tCOMPL && prev.getType() != IToken.tLBRACKET && token.getType() != IToken.tRBRACKET && token.getType()!= IToken.tGT ){ name += " "; //$NON-NLS-1$ } else { encounteredWild = false; } name += token.getImage(); lastTokenWasOperator = false; break; } prev = token; token = null; while( token == null ){ try{ token = scanner.nextToken(); } catch ( ScannerException e ){ if( e.getProblem().getID() == IProblem.SCANNER_BAD_CHARACTER ){ //TODO : This may not be \\, it could be another bad character if( !encounteredWild && !lastTokenWasOperator ) name += " "; //$NON-NLS-1$ name += "\\"; //$NON-NLS-1$ encounteredWild = true; lastTokenWasOperator = false; prev = null; } } } } } catch (EndOfFileException e) { list.addLast( name.toCharArray() ); } catch (ScannerException e) { } return list; } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/75fee20f69852f5219e039afb6665d56da8886f9/CSearchPattern.java/clean/core/org.eclipse.cdt.core/search/org/eclipse/cdt/internal/core/search/matching/CSearchPattern.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
309,
12,
9919,
59,
545,
597,
2067,
411,
1936,
18,
2469,
300,
404,
597,
3703,
2988,
18,
291,
9431,
12,
1936,
63,
2067,
397,
404,
308,
262,
262,
288,
508,
1011,
296,
12386,
289,
2067,
1011,
1147,
18,
588,
1782,
5621,
1323,
12,
2067,
411,
1936,
18,
2469,
597,
3703,
2988,
18,
291,
9431,
12,
1936,
63,
3465,
65,
262,
262,
95,
2067,
9904,
31,
289,
225,
3238,
309,
12,
9919,
59,
545,
597,
2067,
411,
1936,
18,
2469,
300,
404,
597,
3703,
2988,
18,
291,
9431,
12,
1936,
63,
2067,
397,
404,
308,
262,
262,
288,
508,
1011,
296,
12386,
289,
2067,
1011,
1147,
18,
588,
1782,
5621,
1323,
12,
2067,
411,
1936,
18,
2469,
597,
3703,
2988,
18,
291,
9431,
12,
1936,
63,
3465,
65,
262,
262,
95,
2067,
9904,
31,
289,
225,
10688,
309,
12,
9919,
59,
545,
597,
2067,
411,
1936,
18,
2469,
300,
404,
597,
3703,
2988,
18,
291,
9431,
12,
1936,
63,
2067,
397,
404,
308,
262,
262,
288,
508,
1011,
296,
12386,
289,
2067,
1011,
1147,
18,
588,
1782,
5621,
1323,
12,
2067,
411,
1936,
18,
2469,
597,
3703,
2988,
18,
291,
9431,
12,
1936,
63,
3465,
65,
262,
262,
95,
2067,
9904,
31,
289,
225,
4135,
1290,
1557,
12,
309,
12,
9919,
59,
545,
597,
2067,
411,
1936,
18,
2469,
300,
404,
597,
3703,
2988,
18,
291,
9431,
12,
1936,
63,
2067,
397,
404,
308,
262,
262,
288,
508,
1011,
296,
12386,
289,
2067,
1011,
1147,
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,
3845,
309,
12,
9919,
59,
545,
597,
2067,
411,
1936,
18,
2469,
300,
404,
597,
3703,
2988,
18,
291,
9431,
12,
1936,
63,
2067,
397,
404,
308,
262,
262,
288,
508,
1011,
296,
12386,
289,
2067,
1011,
1147,
18,
588,
1782,
5621,
1323,
12,
2067,
411,
1936,
18,
2469,
597,
3703,
2988,
18,
291,
9431,
12,
1936,
63,
3465,
65,
262,
262,
95,
2067,
9904,
31,
289,
225,
3238,
309,
12,
9919,
59,
545,
597,
2067,
411,
1936,
18,
2469,
300,
404,
597,
3703,
2988,
18,
291,
9431,
12,
1936,
63,
2067,
397,
404,
308,
262,
262,
288,
508,
1011,
296,
12386,
289,
2067,
1011,
1147,
18,
588,
1782,
5621,
1323,
12,
2067,
411,
1936,
18,
2469,
2
] | |
ClassLoader cl = Thread.currentThread().getContextClassLoader(); | ClassLoader cl = MimeTable.class.getClassLoader(); | private void load() { boolean loaded = false; String home = System.getProperty("exist.home"); if (home != null) { File f = new File(home + File.separatorChar + MIME_TYPES_XML); if (f.canRead()) { try { System.err.println("Loading mime table from file " + f.getAbsolutePath()); loadMimeTypes(new FileInputStream(f)); loaded = true; } catch (FileNotFoundException e) { System.err.println(FILE_LOAD_FAILED_ERR + f.getAbsolutePath()); } catch (ParserConfigurationException e) { System.err.println(FILE_LOAD_FAILED_ERR + f.getAbsolutePath()); } catch (SAXException e) { System.err.println(FILE_LOAD_FAILED_ERR + f.getAbsolutePath()); } catch (IOException e) { System.err.println(FILE_LOAD_FAILED_ERR + f.getAbsolutePath()); } } } if (!loaded) { ClassLoader cl = Thread.currentThread().getContextClassLoader(); InputStream is = cl.getResourceAsStream(MIME_TYPES_XML_DEFAULT); if (is == null) { System.err.println(LOAD_FAILED_ERR); } try { loadMimeTypes(is); } catch (ParserConfigurationException e) { System.err.println(LOAD_FAILED_ERR); } catch (SAXException e) { System.err.println(LOAD_FAILED_ERR); } catch (IOException e) { System.err.println(LOAD_FAILED_ERR); } } } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/36564925d90df4b1428eaea36fa61481b517ce61/MimeTable.java/clean/src/org/exist/util/MimeTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1262,
1435,
288,
3639,
1250,
4203,
273,
629,
31,
3639,
514,
6382,
273,
2332,
18,
588,
1396,
2932,
7398,
18,
8712,
8863,
3639,
309,
261,
8712,
480,
446,
13,
288,
5411,
1387,
284,
273,
394,
1387,
12,
8712,
397,
1387,
18,
11287,
2156,
397,
13195,
67,
10564,
67,
4201,
1769,
5411,
309,
261,
74,
18,
4169,
1994,
10756,
288,
7734,
775,
288,
10792,
2332,
18,
370,
18,
8222,
2932,
10515,
4892,
1014,
628,
585,
315,
397,
284,
18,
588,
10368,
743,
10663,
10792,
1262,
13320,
2016,
12,
2704,
11907,
12,
74,
10019,
10792,
4203,
273,
638,
31,
7734,
289,
1044,
261,
812,
3990,
425,
13,
288,
10792,
2332,
18,
370,
18,
8222,
12,
3776,
67,
7783,
67,
11965,
67,
9712,
397,
284,
18,
588,
10368,
743,
10663,
7734,
289,
1044,
261,
2678,
10737,
425,
13,
288,
10792,
2332,
18,
370,
18,
8222,
12,
3776,
67,
7783,
67,
11965,
67,
9712,
397,
284,
18,
588,
10368,
743,
10663,
7734,
289,
1044,
261,
55,
2501,
503,
425,
13,
288,
10792,
2332,
18,
370,
18,
8222,
12,
3776,
67,
7783,
67,
11965,
67,
9712,
397,
284,
18,
588,
10368,
743,
10663,
7734,
289,
1044,
261,
14106,
425,
13,
288,
10792,
2332,
18,
370,
18,
8222,
12,
3776,
67,
7783,
67,
11965,
67,
9712,
397,
284,
18,
588,
10368,
743,
10663,
7734,
289,
5411,
289,
3639,
289,
3639,
309,
16051,
4230,
13,
288,
5411,
9403,
927,
273,
22059,
1388,
18,
1106,
18,
588,
7805,
5621,
5411,
5037,
353,
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,
1262,
1435,
288,
3639,
1250,
4203,
273,
629,
31,
3639,
514,
6382,
273,
2332,
18,
588,
1396,
2932,
7398,
18,
8712,
8863,
3639,
309,
261,
8712,
480,
446,
13,
288,
5411,
1387,
284,
273,
394,
1387,
12,
8712,
397,
1387,
18,
11287,
2156,
397,
13195,
67,
10564,
67,
4201,
1769,
5411,
309,
261,
74,
18,
4169,
1994,
10756,
288,
7734,
775,
288,
10792,
2332,
18,
370,
18,
8222,
2932,
10515,
4892,
1014,
628,
585,
315,
397,
284,
18,
588,
10368,
743,
10663,
10792,
1262,
13320,
2016,
12,
2704,
11907,
12,
74,
10019,
10792,
4203,
273,
638,
31,
7734,
289,
1044,
261,
812,
3990,
425,
13,
288,
10792,
2332,
18,
370,
18,
8222,
12,
3776,
67,
7783,
2
] |
public String generateAssociationRole(Object m); | String generateAssociationRole(Object m); | public String generateAssociationRole(Object m); | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/e731149c55337fa442f598b6b0bcea95cdaa8dd5/NotationProvider2.java/clean/src_new/org/argouml/application/api/NotationProvider2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2103,
7174,
2996,
12,
921,
312,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2103,
7174,
2996,
12,
921,
312,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (child instanceof JspToken && ((JspToken) child).getTokenType() == JspToken.JSP_SCRIPTLET_END) break; | if (child instanceof JspToken && ((JspToken) child).getTokenType() == JspTokenType.JSP_SCRIPTLET_END) break; | private static PsiElement locateAnchor(PsiElement child) { while (child != null) { PsiElement prev = child.getPrevSibling(); if (prev instanceof PsiStatement) break; if (prev instanceof PsiJavaToken && ((PsiJavaToken)prev).getTokenType() == JavaTokenType.LBRACE) break; if (prev instanceof JspToken && ((JspToken) prev).getTokenType() == JspToken.JSP_SCRIPTLET_START) break; child = prev; if (child instanceof JspToken && ((JspToken) child).getTokenType() == JspToken.JSP_SCRIPTLET_END) break; } if (!(child instanceof JspToken && ((JspToken) child).getTokenType() == JspToken.JSP_SCRIPTLET_END)) { while (true) { if (!(child instanceof PsiWhiteSpace) && !(child instanceof PsiComment) && !(child instanceof JspExpression) && !(child instanceof JspToken) ) break; child = child.getNextSibling(); } } return child; } | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/7cc49f57fd75f032b80560ecde54c4a99bda9ac7/IntroduceVariableBase.java/buggy/source/com/intellij/refactoring/introduceVariable/IntroduceVariableBase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
453,
7722,
1046,
10627,
11605,
12,
52,
7722,
1046,
1151,
13,
288,
565,
1323,
261,
3624,
480,
446,
13,
288,
1377,
453,
7722,
1046,
2807,
273,
1151,
18,
588,
9958,
10291,
5621,
1377,
309,
261,
10001,
1276,
453,
7722,
3406,
13,
898,
31,
1377,
309,
261,
10001,
1276,
453,
7722,
5852,
1345,
597,
14015,
52,
7722,
5852,
1345,
13,
10001,
2934,
588,
28675,
1435,
422,
5110,
28675,
18,
12995,
9254,
13,
898,
31,
1377,
309,
261,
10001,
1276,
19300,
1345,
597,
14015,
21796,
1345,
13,
2807,
2934,
588,
28675,
1435,
422,
19300,
1345,
18,
46,
3118,
67,
10885,
15146,
67,
7570,
13,
898,
31,
1377,
1151,
273,
2807,
31,
1377,
309,
261,
3624,
1276,
19300,
1345,
597,
14015,
21796,
1345,
13,
1151,
2934,
588,
28675,
1435,
422,
19300,
28675,
18,
46,
3118,
67,
10885,
15146,
67,
4415,
13,
898,
31,
565,
289,
565,
309,
16051,
12,
3624,
1276,
19300,
1345,
597,
14015,
21796,
1345,
13,
1151,
2934,
588,
28675,
1435,
422,
19300,
1345,
18,
46,
3118,
67,
10885,
15146,
67,
4415,
3719,
288,
1377,
1323,
261,
3767,
13,
288,
3639,
309,
16051,
12,
3624,
1276,
453,
7722,
23108,
13,
7734,
597,
401,
12,
3624,
1276,
453,
7722,
4469,
13,
7734,
597,
401,
12,
3624,
1276,
19300,
2300,
13,
7734,
597,
401,
12,
3624,
1276,
19300,
1345,
13,
3639,
262,
1850,
898,
31,
3639,
1151,
273,
1151,
18,
588,
2134,
10291,
5621,
1377,
289,
565,
289,
565,
327,
1151,
31,
225,
289,
2,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
453,
7722,
1046,
10627,
11605,
12,
52,
7722,
1046,
1151,
13,
288,
565,
1323,
261,
3624,
480,
446,
13,
288,
1377,
453,
7722,
1046,
2807,
273,
1151,
18,
588,
9958,
10291,
5621,
1377,
309,
261,
10001,
1276,
453,
7722,
3406,
13,
898,
31,
1377,
309,
261,
10001,
1276,
453,
7722,
5852,
1345,
597,
14015,
52,
7722,
5852,
1345,
13,
10001,
2934,
588,
28675,
1435,
422,
5110,
28675,
18,
12995,
9254,
13,
898,
31,
1377,
309,
261,
10001,
1276,
19300,
1345,
597,
14015,
21796,
1345,
13,
2807,
2934,
588,
28675,
1435,
422,
19300,
1345,
18,
46,
3118,
67,
10885,
15146,
67,
7570,
13,
898,
31,
1377,
1151,
273,
2807,
31,
1377,
309,
261,
3624,
1276,
19300,
1345,
2
] |
setCursorPosition(x, y); | setCursorPosition(x, y); | private static void resetMouse() { dx = dy = dwheel = 0; width = Display.getDisplayMode().getWidth(); height = Display.getDisplayMode().getHeight(); x = width / 2; y = height / 2; readBuffer.clear(); if (!isGrabbed() && (Cursor.getCapabilities() & Cursor.CURSOR_ONE_BIT_TRANSPARENCY) != 0) setCursorPosition(x, y); } | 5076 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5076/0b9d221f9cc34c560fe5f6ae4f7f943b1cb21848/Mouse.java/buggy/src/java/org/lwjgl/input/Mouse.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
2715,
9186,
1435,
288,
202,
202,
13437,
273,
7732,
273,
12394,
11648,
273,
374,
31,
202,
202,
2819,
273,
9311,
18,
588,
4236,
2309,
7675,
588,
2384,
5621,
202,
202,
4210,
273,
9311,
18,
588,
4236,
2309,
7675,
588,
2686,
5621,
202,
202,
92,
273,
1835,
342,
576,
31,
202,
202,
93,
273,
2072,
342,
576,
31,
202,
202,
896,
1892,
18,
8507,
5621,
202,
202,
430,
16051,
291,
14571,
70,
2992,
1435,
597,
261,
6688,
18,
588,
14012,
1435,
473,
13949,
18,
7509,
55,
916,
67,
5998,
67,
15650,
67,
8989,
3118,
9332,
23705,
13,
480,
374,
13,
202,
202,
542,
6688,
2555,
12,
92,
16,
677,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
2715,
9186,
1435,
288,
202,
202,
13437,
273,
7732,
273,
12394,
11648,
273,
374,
31,
202,
202,
2819,
273,
9311,
18,
588,
4236,
2309,
7675,
588,
2384,
5621,
202,
202,
4210,
273,
9311,
18,
588,
4236,
2309,
7675,
588,
2686,
5621,
202,
202,
92,
273,
1835,
342,
576,
31,
202,
202,
93,
273,
2072,
342,
576,
31,
202,
202,
896,
1892,
18,
8507,
5621,
202,
202,
430,
16051,
291,
14571,
70,
2992,
1435,
597,
261,
6688,
18,
588,
14012,
1435,
473,
13949,
18,
7509,
55,
916,
67,
5998,
67,
15650,
67,
8989,
3118,
9332,
23705,
13,
480,
374,
13,
202,
202,
542,
6688,
2555,
12,
92,
16,
677,
1769,
202,
97,
2,
-100,
-100,
-100
] |
public static Color convertRGBICCColor(Element e, SVGColor p, | public static Color convertRGBICCColor(Element e, SVGColor p, | public static Color convertRGBICCColor(Element e, SVGColor p, float opacity, BridgeContext ctx){ SVGICCColor iccColor = p.getICCColor(); Color color = null; if(iccColor != null){ color = convertICCColor(e, iccColor, opacity, ctx); } if(color == null){ color = convertColor(p.getRGBColor(), opacity); } return color; } | 45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/c768a04d8af4d82e60456e2546e0195e7135575b/CSSUtilities.java/buggy/sources/org/apache/batik/bridge/CSSUtilities.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
5563,
1765,
11343,
2871,
39,
2957,
12,
1046,
425,
16,
11281,
2957,
293,
16,
4766,
5411,
1431,
12636,
16,
4766,
6647,
24219,
1042,
1103,
15329,
3639,
11281,
2871,
39,
2957,
277,
952,
2957,
273,
293,
18,
588,
2871,
39,
2957,
5621,
3639,
5563,
2036,
273,
446,
31,
3639,
309,
12,
335,
71,
2957,
480,
446,
15329,
5411,
2036,
273,
1765,
2871,
39,
2957,
12,
73,
16,
277,
952,
2957,
16,
12636,
16,
1103,
1769,
3639,
289,
3639,
309,
12,
3266,
422,
446,
15329,
5411,
2036,
273,
1765,
2957,
12,
84,
18,
588,
11343,
2957,
9334,
12636,
1769,
3639,
289,
3639,
327,
2036,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
5563,
1765,
11343,
2871,
39,
2957,
12,
1046,
425,
16,
11281,
2957,
293,
16,
4766,
5411,
1431,
12636,
16,
4766,
6647,
24219,
1042,
1103,
15329,
3639,
11281,
2871,
39,
2957,
277,
952,
2957,
273,
293,
18,
588,
2871,
39,
2957,
5621,
3639,
5563,
2036,
273,
446,
31,
3639,
309,
12,
335,
71,
2957,
480,
446,
15329,
5411,
2036,
273,
1765,
2871,
39,
2957,
12,
73,
16,
277,
952,
2957,
16,
12636,
16,
1103,
1769,
3639,
289,
3639,
309,
12,
3266,
422,
446,
15329,
5411,
2036,
273,
1765,
2957,
12,
84,
18,
588,
11343,
2957,
9334,
12636,
1769,
3639,
289,
3639,
327,
2036,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return new CPPASTReferenceOperator(); } | return new CPPASTReferenceOperator(); } | protected ICPPASTReferenceOperator createReferenceOperator() { return new CPPASTReferenceOperator(); } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/8b59056395eb6c26e898030e7e1cd1b78d4db999/GNUCPPSourceParser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
467,
4258,
4066,
882,
2404,
5592,
752,
2404,
5592,
1435,
288,
1377,
327,
394,
5181,
4066,
882,
2404,
5592,
5621,
282,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
467,
4258,
4066,
882,
2404,
5592,
752,
2404,
5592,
1435,
288,
1377,
327,
394,
5181,
4066,
882,
2404,
5592,
5621,
282,
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
] |
public Connection getConnection() throws Exception { //default to ActiveMq for Jms 1.1 support Properties p = JmsTestUtils.getJmsProperties(JmsTestUtils.ACTIVE_MQ_JMS_PROPERTIES); Connection cnn = JmsTestUtils.getQueueConnection(p); cnn.start(); return cnn; } | 2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/8cc09178adb8b0a3803c08f7b3cf0b6cf566d2b0/ActiveMQJmsTransactionFunctionalTestCase.java/buggy/tests/integration/src/test/java/org/mule/test/integration/providers/jms/activemq/ActiveMQJmsTransactionFunctionalTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4050,
6742,
1435,
1216,
1185,
565,
288,
3639,
368,
1886,
358,
8857,
49,
85,
364,
19870,
404,
18,
21,
2865,
3639,
6183,
293,
273,
19870,
4709,
1989,
18,
588,
23058,
2297,
12,
23058,
4709,
1989,
18,
13301,
67,
9682,
67,
46,
3537,
67,
17421,
1769,
3639,
4050,
6227,
82,
273,
19870,
4709,
1989,
18,
588,
3183,
1952,
12,
84,
1769,
3639,
6227,
82,
18,
1937,
5621,
3639,
327,
6227,
82,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
1071,
4050,
6742,
1435,
1216,
1185,
565,
288,
3639,
368,
1886,
358,
8857,
49,
85,
364,
19870,
404,
18,
21,
2865,
3639,
6183,
293,
273,
19870,
4709,
1989,
18,
588,
23058,
2297,
12,
23058,
4709,
1989,
18,
13301,
67,
9682,
67,
46,
3537,
67,
17421,
1769,
3639,
4050,
6227,
82,
273,
19870,
4709,
1989,
18,
588,
3183,
1952,
12,
84,
1769,
3639,
6227,
82,
18,
1937,
5621,
3639,
327,
6227,
82,
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
] | ||
super(position); | super(position, NodeTypes.ARGSNODE); | public ArgsNode(ISourcePosition position, ListNode arguments, ListNode optionalArguments, int restArguments, BlockArgNode blockArgNode) { super(position); this.arguments = arguments; this.optArgs = optionalArguments; this.restArg = restArguments; this.blockArgNode = blockArgNode; if (getRestArg() == -2) { arity = Arity.optional(); } else if (getOptArgs() != null || getRestArg() >= 0) { arity = Arity.required(getArgsCount()); } else { arity = Arity.createArity(getArgsCount()); } } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/6e15491217631472c05c6928672f9c7064a978b3/ArgsNode.java/buggy/src/org/jruby/ast/ArgsNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6634,
907,
12,
45,
1830,
2555,
1754,
16,
987,
907,
1775,
16,
987,
907,
3129,
4628,
16,
2398,
509,
3127,
4628,
16,
3914,
4117,
907,
1203,
4117,
907,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
22439,
8744,
1769,
3639,
333,
18,
7099,
273,
1775,
31,
3639,
333,
18,
3838,
2615,
273,
3129,
4628,
31,
3639,
333,
18,
8792,
4117,
273,
3127,
4628,
31,
3639,
333,
18,
2629,
4117,
907,
273,
1203,
4117,
907,
31,
7734,
309,
261,
588,
5188,
4117,
1435,
422,
300,
22,
13,
288,
5411,
19353,
273,
1201,
560,
18,
10444,
5621,
3639,
289,
469,
309,
261,
588,
6179,
2615,
1435,
480,
446,
747,
4170,
395,
4117,
1435,
1545,
374,
13,
288,
5411,
19353,
273,
1201,
560,
18,
4718,
12,
588,
2615,
1380,
10663,
3639,
289,
469,
288,
9079,
19353,
273,
1201,
560,
18,
2640,
686,
560,
12,
588,
2615,
1380,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6634,
907,
12,
45,
1830,
2555,
1754,
16,
987,
907,
1775,
16,
987,
907,
3129,
4628,
16,
2398,
509,
3127,
4628,
16,
3914,
4117,
907,
1203,
4117,
907,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
22439,
8744,
1769,
3639,
333,
18,
7099,
273,
1775,
31,
3639,
333,
18,
3838,
2615,
273,
3129,
4628,
31,
3639,
333,
18,
8792,
4117,
273,
3127,
4628,
31,
3639,
333,
18,
2629,
4117,
907,
273,
1203,
4117,
907,
31,
7734,
309,
261,
588,
5188,
4117,
1435,
422,
300,
22,
13,
288,
5411,
19353,
273,
1201,
560,
18,
10444,
5621,
3639,
289,
469,
309,
261,
588,
6179,
2615,
1435,
480,
446,
747,
4170,
395,
4117,
1435,
1545,
374,
13,
288,
2
] |
int index = menus.indexOf(menu); if (index == -1) return; | Menu m = (Menu) menus.get (index); menus.remove (index); m.removeNotify (); m.parent = null; | remove(MenuComponent menu){ int index = menus.indexOf(menu); if (index == -1) return; remove(index);} | 27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/3fe1c14284ce32b79d0e66441aec6a45a77ff684/MenuBar.java/buggy/libjava/java/awt/MenuBar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1206,
12,
4599,
1841,
3824,
15329,
225,
509,
770,
273,
21374,
18,
31806,
12,
5414,
1769,
225,
309,
261,
1615,
422,
300,
21,
13,
565,
327,
31,
225,
1206,
12,
1615,
1769,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1206,
12,
4599,
1841,
3824,
15329,
225,
509,
770,
273,
21374,
18,
31806,
12,
5414,
1769,
225,
309,
261,
1615,
422,
300,
21,
13,
565,
327,
31,
225,
1206,
12,
1615,
1769,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if ( groups == null || groups.length == 0 || indexArray == null ) | if ( groups == null || groups.length == 0 || indexArray == null) | public static List[] getGroupInfo( List[] groups, int[] indexArray ) throws DataException { Map deleteNumMap = new HashMap( ); if ( groups == null || groups.length == 0 || indexArray == null ) return groups; List endLevelList = groups[groups.length - 1]; if ( validateGroupLevel( endLevelList, indexArray ) ) { int firstChild = -1, count = 0, startCount = 0; GroupInfo baseInfo = (GroupInfo) endLevelList.get( 0 ); for ( int i = 1; i < endLevelList.size( ); i++ ) { count = 0; GroupInfo info = (GroupInfo) endLevelList.get( i ); firstChild = info.firstChild; while ( startCount < indexArray.length ) { if ( indexArray[startCount] < firstChild && indexArray[startCount] >= baseInfo.firstChild ) { startCount++; count++; continue; } else break; } if ( count < firstChild - baseInfo.firstChild ) { deleteNumMap.put( info, new Integer( firstChild - baseInfo.firstChild - count ) ); } baseInfo = info; } } else { throw new DataException( ResourceConstants.INDEX_ARRAY_INVALID ); } return cleanUnUsedGroupInstance(doRefactorOnGroupInfo( groups, deleteNumMap )); } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/6f2f631c7914340f9d8a1a242b081e904e3be79d/GroupInfoUtil.java/clean/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/GroupInfoUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
987,
8526,
11751,
966,
12,
987,
8526,
3252,
16,
509,
8526,
770,
1076,
262,
1082,
202,
15069,
1910,
503,
202,
95,
202,
202,
863,
1430,
2578,
863,
273,
394,
4317,
12,
11272,
202,
202,
430,
261,
3252,
422,
446,
747,
3252,
18,
2469,
422,
374,
747,
770,
1076,
422,
446,
262,
1082,
202,
2463,
3252,
31,
202,
202,
682,
679,
2355,
682,
273,
3252,
63,
4650,
18,
2469,
300,
404,
15533,
202,
202,
430,
261,
1954,
1114,
2355,
12,
679,
2355,
682,
16,
770,
1076,
262,
262,
202,
202,
95,
1082,
202,
474,
15070,
273,
300,
21,
16,
1056,
273,
374,
16,
787,
1380,
273,
374,
31,
1082,
202,
1114,
966,
1026,
966,
273,
261,
1114,
966,
13,
679,
2355,
682,
18,
588,
12,
374,
11272,
1082,
202,
1884,
261,
509,
277,
273,
404,
31,
277,
411,
679,
2355,
682,
18,
1467,
12,
11272,
277,
9904,
262,
1082,
202,
95,
9506,
202,
1883,
273,
374,
31,
9506,
202,
1114,
966,
1123,
273,
261,
1114,
966,
13,
679,
2355,
682,
18,
588,
12,
277,
11272,
9506,
202,
3645,
1763,
273,
1123,
18,
3645,
1763,
31,
9506,
202,
17523,
261,
787,
1380,
411,
770,
1076,
18,
2469,
262,
9506,
202,
95,
6862,
202,
430,
261,
770,
1076,
63,
1937,
1380,
65,
411,
15070,
6862,
1082,
202,
10,
10,
770,
1076,
63,
1937,
1380,
65,
1545,
1026,
966,
18,
3645,
1763,
262,
6862,
202,
95,
25083,
202,
1937,
1380,
9904,
31,
25083,
202,
1883,
9904,
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,
225,
202,
482,
760,
987,
8526,
11751,
966,
12,
987,
8526,
3252,
16,
509,
8526,
770,
1076,
262,
1082,
202,
15069,
1910,
503,
202,
95,
202,
202,
863,
1430,
2578,
863,
273,
394,
4317,
12,
11272,
202,
202,
430,
261,
3252,
422,
446,
747,
3252,
18,
2469,
422,
374,
747,
770,
1076,
422,
446,
262,
1082,
202,
2463,
3252,
31,
202,
202,
682,
679,
2355,
682,
273,
3252,
63,
4650,
18,
2469,
300,
404,
15533,
202,
202,
430,
261,
1954,
1114,
2355,
12,
679,
2355,
682,
16,
770,
1076,
262,
262,
202,
202,
95,
1082,
202,
474,
15070,
273,
300,
21,
16,
1056,
273,
374,
16,
787,
1380,
273,
374,
31,
1082,
202,
1114,
966,
1026,
966,
273,
261,
2
] |
} | } | public void setAddressResolver(AddressResolver addressResolver) { this.addressResolver = addressResolver; } | 7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/4f12c0c8b2fbf4bc0524f4624c4324731f35bcc9/SIPTransactionStack.java/buggy/trunk/src/gov/nist/javax/sip/stack/SIPTransactionStack.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
1071,
918,
444,
1887,
4301,
12,
1887,
4301,
1758,
4301,
13,
288,
202,
202,
2211,
18,
2867,
4301,
273,
1758,
4301,
31,
202,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
1071,
918,
444,
1887,
4301,
12,
1887,
4301,
1758,
4301,
13,
288,
202,
202,
2211,
18,
2867,
4301,
273,
1758,
4301,
31,
202,
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
] |
bLineThrough.setSelection( DesignChoiceConstants.TEXT_LINE_THROUGH_LINE_THROUGH.equals( value ) ); | wasSelected3 = DesignChoiceConstants.TEXT_LINE_THROUGH_LINE_THROUGH.equals( value ); bLineThrough.setSelection( wasSelected3 ); | protected void doLoad( ) { if ( bUnderLine != null ) { String value = getPreferenceStore( ).getString( getUnderlinePropName( ) ); bUnderLine.setSelection( DesignChoiceConstants.TEXT_UNDERLINE_UNDERLINE.equals( value ) ); } if ( bOverLine != null ) { String value = getPreferenceStore( ).getString( getOverLinePropName( ) ); bOverLine.setSelection( DesignChoiceConstants.TEXT_OVERLINE_OVERLINE.equals( value ) ); } if ( bLineThrough != null ) { String value = getPreferenceStore( ).getString( getLineThroughPropName( ) ); bLineThrough.setSelection( DesignChoiceConstants.TEXT_LINE_THROUGH_LINE_THROUGH.equals( value ) ); } } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/3db900b760af24686a4f6ffff7e4dc15c19b1036/DecorationFieldEditor.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/DecorationFieldEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
741,
2563,
12,
262,
202,
95,
202,
202,
430,
261,
324,
14655,
1670,
480,
446,
262,
202,
202,
95,
1082,
202,
780,
460,
273,
336,
9624,
2257,
12,
262,
18,
588,
780,
12,
10833,
765,
1369,
28856,
12,
262,
11272,
1082,
202,
70,
14655,
1670,
18,
542,
6233,
12,
29703,
10538,
2918,
18,
5151,
67,
31625,
5997,
67,
31625,
5997,
18,
14963,
12,
460,
262,
11272,
202,
202,
97,
202,
202,
430,
261,
324,
4851,
1670,
480,
446,
262,
202,
202,
95,
1082,
202,
780,
460,
273,
336,
9624,
2257,
12,
262,
18,
588,
780,
12,
336,
4851,
1670,
28856,
12,
262,
11272,
1082,
202,
70,
4851,
1670,
18,
542,
6233,
12,
29703,
10538,
2918,
18,
5151,
67,
12959,
5997,
67,
12959,
5997,
18,
14963,
12,
460,
262,
11272,
202,
202,
97,
202,
202,
430,
261,
324,
1670,
14287,
480,
446,
262,
202,
202,
95,
1082,
202,
780,
460,
273,
336,
9624,
2257,
12,
262,
18,
588,
780,
12,
9851,
14287,
28856,
12,
262,
11272,
1082,
202,
70,
1670,
14287,
18,
542,
6233,
12,
29703,
10538,
2918,
18,
5151,
67,
5997,
67,
2455,
1457,
57,
16715,
67,
5997,
67,
2455,
1457,
57,
16715,
18,
14963,
12,
460,
262,
11272,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
741,
2563,
12,
262,
202,
95,
202,
202,
430,
261,
324,
14655,
1670,
480,
446,
262,
202,
202,
95,
1082,
202,
780,
460,
273,
336,
9624,
2257,
12,
262,
18,
588,
780,
12,
10833,
765,
1369,
28856,
12,
262,
11272,
1082,
202,
70,
14655,
1670,
18,
542,
6233,
12,
29703,
10538,
2918,
18,
5151,
67,
31625,
5997,
67,
31625,
5997,
18,
14963,
12,
460,
262,
11272,
202,
202,
97,
202,
202,
430,
261,
324,
4851,
1670,
480,
446,
262,
202,
202,
95,
1082,
202,
780,
460,
273,
336,
9624,
2257,
12,
262,
18,
588,
780,
12,
336,
4851,
1670,
28856,
12,
262,
11272,
1082,
202,
70,
4851,
1670,
18,
542,
6233,
12,
29703,
10538,
2918,
2
] |
public void testCompileActiveSavedAnyUnsavedButSaveWhenAsked() throws BadLocationException, IOException { final OpenDefinitionsDocument doc = setupDocument(FOO_TEXT); final OpenDefinitionsDocument doc2 = setupDocument(BAR_TEXT); final File file = tempFile(); final File file2 = tempFile(1); CompileShouldSucceedListener listener = new CompileShouldSucceedListener() { public void saveAllBeforeProceeding(GlobalModelListener.SaveReason reason) { assertEquals(_name() + "save reason", COMPILE_REASON, reason); assertModified(false, doc); assertModified(true, doc2); assertSaveCount(0); assertCompileStartCount(0); assertCompileEndCount(0); assertInteractionsResetCount(0); assertConsoleResetCount(0); try { doc2.saveFile(new FileSelector(file2)); } catch (IOException ioe) { fail("Save produced exception: " + ioe); } saveAllBeforeProceedingCount++; assertModified(false, doc); assertModified(false, doc2); assertTrue(!_model.areAnyModifiedSinceSave()); } public void fileSaved(OpenDefinitionsDocument doc) { assertModified(false, doc); assertSaveAllBeforeProceedingCount(0); assertCompileStartCount(0); assertCompileEndCount(0); assertInteractionsResetCount(0); assertConsoleResetCount(0); File f = null; try { f = doc.getFile(); } catch (IllegalStateException ise) { // We know file should exist throw new UnexpectedException(ise); } assertEquals(_name() + "file saved", file2, f); saveCount++; } }; assertModified(true, doc); doc.saveFile(new FileSelector(file)); assertModified(false, doc); assertModified(true, doc2); _model.addListener(listener); doc.startCompile(); assertTrue(!_model.areAnyModifiedSinceSave()); // Check events fired listener.assertCompileStartCount(1); listener.assertSaveAllBeforeProceedingCount(1); listener.assertSaveCount(1); assertCompileErrorsPresent(_name(), false); listener.checkCompileOccurred(); // Make sure .class exists File compiled = classForJava(file, "Foo"); assertTrue(_name() + "Class file doesn't exist after compile", compiled.exists()); } | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/191c3e4b63ea8ecc780014db5fc908a6ccd9ee7a/GlobalModelCompileTest.java/clean/drjava/src/edu/rice/cs/drjava/model/GlobalModelCompileTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
9937,
3896,
16776,
2961,
984,
14077,
31167,
4755,
9434,
23663,
329,
1435,
565,
1216,
6107,
2735,
503,
16,
1860,
225,
288,
565,
727,
3502,
7130,
2519,
997,
273,
3875,
2519,
12,
3313,
51,
67,
5151,
1769,
565,
727,
3502,
7130,
2519,
997,
22,
273,
3875,
2519,
12,
21908,
67,
5151,
1769,
565,
727,
1387,
585,
273,
18286,
5621,
565,
727,
1387,
585,
22,
273,
18286,
12,
21,
1769,
565,
16143,
14309,
55,
5286,
5288,
2223,
2991,
273,
394,
16143,
14309,
55,
5286,
5288,
2223,
1435,
288,
1377,
1071,
918,
1923,
1595,
4649,
626,
5288,
310,
12,
5160,
1488,
2223,
18,
4755,
8385,
3971,
13,
288,
3639,
1815,
8867,
24899,
529,
1435,
397,
315,
5688,
3971,
3113,
5423,
1102,
900,
67,
29416,
1413,
16,
3971,
1769,
3639,
1815,
4575,
12,
5743,
16,
997,
1769,
1815,
4575,
12,
3767,
16,
997,
22,
1769,
3639,
1815,
4755,
1380,
12,
20,
1769,
3639,
1815,
9937,
1685,
1380,
12,
20,
1769,
3639,
1815,
9937,
1638,
1380,
12,
20,
1769,
3639,
1815,
2465,
4905,
7013,
1380,
12,
20,
1769,
3639,
1815,
10215,
7013,
1380,
12,
20,
1769,
3639,
775,
288,
282,
997,
22,
18,
5688,
812,
12,
2704,
1387,
4320,
12,
768,
22,
10019,
3639,
289,
3639,
1044,
261,
14106,
10847,
13,
288,
1850,
2321,
2932,
4755,
14929,
1520,
30,
315,
397,
10847,
1769,
3639,
289,
3639,
1923,
1595,
4649,
626,
5288,
310,
1380,
9904,
31,
1815,
4575,
12,
5743,
16,
997,
1769,
1815,
4575,
12,
5743,
16,
997,
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,
9937,
3896,
16776,
2961,
984,
14077,
31167,
4755,
9434,
23663,
329,
1435,
565,
1216,
6107,
2735,
503,
16,
1860,
225,
288,
565,
727,
3502,
7130,
2519,
997,
273,
3875,
2519,
12,
3313,
51,
67,
5151,
1769,
565,
727,
3502,
7130,
2519,
997,
22,
273,
3875,
2519,
12,
21908,
67,
5151,
1769,
565,
727,
1387,
585,
273,
18286,
5621,
565,
727,
1387,
585,
22,
273,
18286,
12,
21,
1769,
565,
16143,
14309,
55,
5286,
5288,
2223,
2991,
273,
394,
16143,
14309,
55,
5286,
5288,
2223,
1435,
288,
1377,
1071,
918,
1923,
1595,
4649,
626,
5288,
310,
12,
5160,
1488,
2223,
18,
4755,
8385,
3971,
13,
288,
3639,
1815,
8867,
24899,
529,
1435,
397,
315,
5688,
3971,
2
] | ||
"zzz2[METHOD_REF]{zzz2(), Ltest.TestCollections;, (Ljava.lang.Object;)V, zzz2, (t), " + (R_DEFAULT + R_INTERESTING + R_CASE + R_NON_RESTRICTED) + "}", | "zzz2[METHOD_REF]{zzz2(), Ltest.TestCollections;, (Ljava.lang.Object;)V, zzz2, (t), " + (R_DEFAULT + R_INTERESTING + R_CASE + R_NON_INHERITED + R_NON_RESTRICTED) + "}", | public void test0279() throws JavaModelException { this.workingCopies = new ICompilationUnit[2]; this.workingCopies[0] = getWorkingCopy( "/Completion/src/test/Test.java", "package test;\n"+ "public class Test extends TestCollections {\n"+ " void foo() {\n"+ " super.<Object>zzz\n"+ " }\n"+ "}\n"); this.workingCopies[1] = getWorkingCopy( "/Completion/src/test/TestCollections.java", "package test;\n"+ "public class TestCollections {\n"+ " public <T> void zzz1(T t) {}\n"+ " public static <T> void zzz2(T t) {}\n"+ "}"); CompletionTestsRequestor2 requestor = new CompletionTestsRequestor2(true); String str = this.workingCopies[0].getSource(); String completeBehind = "zzz"; int cursorLocation = str.lastIndexOf(completeBehind) + completeBehind.length(); this.workingCopies[0].codeComplete(cursorLocation, requestor, this.wcOwner); assertResults( "zzz2[METHOD_REF]{zzz2(), Ltest.TestCollections;, (Ljava.lang.Object;)V, zzz2, (t), " + (R_DEFAULT + R_INTERESTING + R_CASE + R_NON_RESTRICTED) + "}", requestor.getResults());} | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/a41dabb1394f93c450316730395779f5d0c3b158/CompletionTests_1_5.java/clean/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/CompletionTests_1_5.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1842,
3103,
7235,
1435,
1216,
5110,
1488,
503,
288,
202,
2211,
18,
20478,
15670,
273,
394,
467,
19184,
2802,
63,
22,
15533,
202,
2211,
18,
20478,
15670,
63,
20,
65,
273,
336,
14836,
2951,
12,
202,
202,
6,
19,
11238,
19,
4816,
19,
3813,
19,
4709,
18,
6290,
3113,
202,
202,
6,
5610,
1842,
9747,
82,
6,
15,
202,
202,
6,
482,
667,
7766,
3231,
7766,
15150,
18890,
82,
6,
15,
202,
202,
6,
202,
6459,
8431,
1435,
18890,
82,
6,
15,
202,
202,
6,
202,
225,
2240,
22782,
921,
34,
6378,
94,
64,
82,
6,
15,
202,
202,
6,
202,
6280,
82,
6,
15,
202,
202,
6,
6280,
82,
8863,
202,
202,
2211,
18,
20478,
15670,
63,
21,
65,
273,
336,
14836,
2951,
12,
202,
202,
6,
19,
11238,
19,
4816,
19,
3813,
19,
4709,
15150,
18,
6290,
3113,
202,
202,
6,
5610,
1842,
9747,
82,
6,
15,
202,
202,
6,
482,
667,
7766,
15150,
18890,
82,
6,
15,
202,
202,
6,
225,
1071,
411,
56,
34,
918,
998,
6378,
21,
12,
56,
268,
13,
21164,
82,
6,
15,
202,
202,
6,
225,
1071,
760,
411,
56,
34,
918,
998,
6378,
22,
12,
56,
268,
13,
21164,
82,
6,
15,
202,
202,
6,
1532,
1769,
202,
11238,
4709,
8943,
280,
22,
590,
280,
273,
394,
20735,
4709,
8943,
280,
22,
12,
3767,
1769,
202,
202,
780,
609,
273,
333,
18,
20478,
15670,
63,
20,
8009,
588,
1830,
5621,
202,
780,
3912,
1919,
31748,
273,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1842,
3103,
7235,
1435,
1216,
5110,
1488,
503,
288,
202,
2211,
18,
20478,
15670,
273,
394,
467,
19184,
2802,
63,
22,
15533,
202,
2211,
18,
20478,
15670,
63,
20,
65,
273,
336,
14836,
2951,
12,
202,
202,
6,
19,
11238,
19,
4816,
19,
3813,
19,
4709,
18,
6290,
3113,
202,
202,
6,
5610,
1842,
9747,
82,
6,
15,
202,
202,
6,
482,
667,
7766,
3231,
7766,
15150,
18890,
82,
6,
15,
202,
202,
6,
202,
6459,
8431,
1435,
18890,
82,
6,
15,
202,
202,
6,
202,
225,
2240,
22782,
921,
34,
6378,
94,
64,
82,
6,
15,
202,
202,
6,
202,
6280,
82,
6,
15,
202,
202,
6,
6280,
82,
8863,
202,
202,
2211,
18,
20478,
15670,
2
] |
outlines.add(outline); ArrayList kids = outline.getKids(); for (int k = 0; k < kids.size(); ++k) outlineTree((PdfOutline)kids.get(k)); | outlines.add(outline); ArrayList kids = outline.getKids(); for (int k = 0; k < kids.size(); ++k) outlineTree((PdfOutline)kids.get(k)); | void outlineTree(PdfOutline outline) { outlines.add(outline); ArrayList kids = outline.getKids(); for (int k = 0; k < kids.size(); ++k) outlineTree((PdfOutline)kids.get(k)); } | 3506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3506/6288f051b807f9da0a0f308a00b5851da285b8fb/PdfDocument.java/buggy/itext/src/com/lowagie/text/pdf/PdfDocument.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
16363,
2471,
12,
18562,
21805,
16363,
13,
288,
3639,
596,
3548,
18,
1289,
12,
25134,
1769,
3639,
2407,
417,
2232,
273,
16363,
18,
588,
47,
2232,
5621,
3639,
364,
261,
474,
417,
273,
374,
31,
417,
411,
417,
2232,
18,
1467,
5621,
965,
79,
13,
5411,
16363,
2471,
12443,
18562,
21805,
13,
79,
2232,
18,
588,
12,
79,
10019,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
16363,
2471,
12,
18562,
21805,
16363,
13,
288,
3639,
596,
3548,
18,
1289,
12,
25134,
1769,
3639,
2407,
417,
2232,
273,
16363,
18,
588,
47,
2232,
5621,
3639,
364,
261,
474,
417,
273,
374,
31,
417,
411,
417,
2232,
18,
1467,
5621,
965,
79,
13,
5411,
16363,
2471,
12443,
18562,
21805,
13,
79,
2232,
18,
588,
12,
79,
10019,
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
] |
Enumeration e = functionMap.keys(); String[] a = new String[functionMap.size()]; | Enumeration e = functionNames.keys(); String[] a = new String[functionNames.size()]; | FindFunction(Main db, Hashtable functionMap, String title, String labelText) { super(db, title, true); this.functionMap = functionMap; this.db = db; cancelButton = new JButton("Cancel"); setButton = new JButton("Select"); cancelButton.addActionListener(this); setButton.addActionListener(this); getRootPane().setDefaultButton(setButton); list = new JList(new DefaultListModel()); DefaultListModel model = (DefaultListModel)list.getModel(); model.clear(); Enumeration e = functionMap.keys(); String[] a = new String[functionMap.size()]; int i = 0; while (e.hasMoreElements()) { a[i++] = e.nextElement().toString(); } java.util.Arrays.sort(a); for (i = 0; i < a.length; i++) { model.addElement(a[i]); } list.setSelectedIndex(0); setButton.setEnabled(a.length > 0); list.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION); list.addMouseListener(new MouseHandler()); JScrollPane listScroller = new JScrollPane(list); listScroller.setPreferredSize(new Dimension(320, 240)); listScroller.setMinimumSize(new Dimension(250, 80)); listScroller.setAlignmentX(LEFT_ALIGNMENT); //Create a container so that we can add a title around //the scroll pane. Can't add a title directly to the //scroll pane because its background would be white. //Lay out the label and scroll pane from top to button. JPanel listPane = new JPanel(); listPane.setLayout(new BoxLayout(listPane, BoxLayout.Y_AXIS)); JLabel label = new JLabel(labelText); label.setLabelFor (list); listPane.add(label); listPane.add(Box.createRigidArea(new Dimension(0,5))); listPane.add(listScroller); listPane.setBorder(BorderFactory.createEmptyBorder(10,10,10,10)); //Lay out the buttons from left to right. JPanel buttonPane = new JPanel(); buttonPane.setLayout(new BoxLayout(buttonPane, BoxLayout.X_AXIS)); buttonPane.setBorder(BorderFactory.createEmptyBorder(0, 10, 10, 10)); buttonPane.add(Box.createHorizontalGlue()); buttonPane.add(cancelButton); buttonPane.add(Box.createRigidArea(new Dimension(10, 0))); buttonPane.add(setButton); //Put everything together, using the content pane's BorderLayout. Container contentPane = getContentPane(); contentPane.add(listPane, BorderLayout.CENTER); contentPane.add(buttonPane, BorderLayout.SOUTH); pack(); addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent ke) { int code = ke.getKeyCode(); if (code == KeyEvent.VK_ESCAPE) { ke.consume(); value = null; setVisible(false); } } }); } | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/61a6761d283fe04f13dd64559be07c83e1647a39/Main.java/clean/toolsrc/org/mozilla/javascript/tools/debugger/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4163,
2083,
12,
6376,
1319,
16,
18559,
445,
863,
16,
1171,
514,
2077,
16,
1171,
514,
1433,
1528,
13,
288,
3639,
2240,
12,
1966,
16,
2077,
16,
638,
1769,
3639,
333,
18,
915,
863,
273,
445,
863,
31,
3639,
333,
18,
1966,
273,
1319,
31,
3639,
3755,
3616,
273,
394,
28804,
2932,
6691,
8863,
3639,
444,
3616,
273,
394,
28804,
2932,
3391,
8863,
3639,
3755,
3616,
18,
1289,
1803,
2223,
12,
2211,
1769,
3639,
444,
3616,
18,
1289,
1803,
2223,
12,
2211,
1769,
3639,
7656,
8485,
7675,
542,
1868,
3616,
12,
542,
3616,
1769,
3639,
666,
273,
394,
804,
682,
12,
2704,
2989,
682,
1488,
10663,
3639,
2989,
682,
1488,
938,
273,
261,
1868,
682,
1488,
13,
1098,
18,
588,
1488,
5621,
3639,
938,
18,
8507,
5621,
3639,
13864,
425,
273,
445,
863,
18,
2452,
5621,
3639,
514,
8526,
279,
273,
394,
514,
63,
915,
863,
18,
1467,
1435,
15533,
3639,
509,
277,
273,
374,
31,
3639,
1323,
261,
73,
18,
5332,
7417,
3471,
10756,
288,
5411,
279,
63,
77,
9904,
65,
273,
425,
18,
4285,
1046,
7675,
10492,
5621,
3639,
289,
3639,
2252,
18,
1367,
18,
12726,
18,
3804,
12,
69,
1769,
3639,
364,
261,
77,
273,
374,
31,
277,
411,
279,
18,
2469,
31,
277,
27245,
288,
5411,
938,
18,
1289,
1046,
12,
69,
63,
77,
19226,
3639,
289,
3639,
666,
18,
542,
7416,
1016,
12,
20,
1769,
3639,
444,
3616,
18,
542,
1526,
12,
69,
18,
2469,
405,
374,
1769,
3639,
666,
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,
4163,
2083,
12,
6376,
1319,
16,
18559,
445,
863,
16,
1171,
514,
2077,
16,
1171,
514,
1433,
1528,
13,
288,
3639,
2240,
12,
1966,
16,
2077,
16,
638,
1769,
3639,
333,
18,
915,
863,
273,
445,
863,
31,
3639,
333,
18,
1966,
273,
1319,
31,
3639,
3755,
3616,
273,
394,
28804,
2932,
6691,
8863,
3639,
444,
3616,
273,
394,
28804,
2932,
3391,
8863,
3639,
3755,
3616,
18,
1289,
1803,
2223,
12,
2211,
1769,
3639,
444,
3616,
18,
1289,
1803,
2223,
12,
2211,
1769,
3639,
7656,
8485,
7675,
542,
1868,
3616,
12,
542,
3616,
1769,
3639,
666,
273,
394,
804,
682,
12,
2704,
2989,
682,
1488,
10663,
3639,
2989,
682,
1488,
938,
273,
261,
1868,
682,
1488,
13,
1098,
2
] |
launch.backup(h); | launch = new LaunchBackup(repoConfFile, home, confFile); launch.backup(h); | public static void main(String[] args) throws RepositoryException, AccessDeniedException, IOException { // I have to declare all var here so they are not resetted out of the for. String zipFile = null; String confFile = null; String home = null; String repoConfFile = null; //2 booleans in case the user specified nothing boolean isBackup = false; boolean isRestore = false; //Parse the command line. for (int i = 0; i < args.length; i++) { if ( args[i].equals("--help") || args.length == 0) { usage(); } if (args[i].equals("--zip")){ zipFile = args[i + 1]; //We put it here because later we might offer other possibilities than only zip h = new ZipFileBackupIOHandler(zipFile); } if (args[i].equals("--size") && !(h != null)){ Integer max = (new Integer(args[i+ 1])); h.setMaxFileSize(max.intValue()); } if (args[i].equals("--size") && !(h != null)){ Integer max = (new Integer(args[i+ 1])); h.setMaxFileSize(max.intValue()); } if (args[i].equals("--conf") && !(h != null)){ confFile = args[i + 1]; } if (args[i].equals("backup") && isRestore == false ){ isBackup = true; repoConfFile = args[i + 1]; home = args[i + 2]; } if (args[i].equals("restore") && isBackup == false ){ isRestore = true; repoConfFile = args[i + 1]; home = args[i + 2]; } } LaunchBackup launch = new LaunchBackup(repoConfFile, home, confFile); //We need to shutdown properly the repository whatever happens try { //Launch backup if (isBackup) { launch.backup(h); } //Launch restore else if (isRestore) { launch.restore(h); } //Launch nothing (if nothing specified else { usage(); } } finally { launch.shutdown(); } } | 48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/d105df27437436a404bd3bb4dc630deab07fbc48/LaunchBackup.java/clean/contrib/backup/src/main/java/org/apache/jackrabbit/backup/LaunchBackup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
13367,
16,
21665,
16,
1860,
288,
4202,
368,
467,
1240,
358,
14196,
777,
569,
2674,
1427,
2898,
854,
486,
2715,
2344,
596,
434,
326,
364,
18,
377,
202,
780,
19450,
273,
446,
31,
3639,
514,
2195,
812,
273,
446,
31,
3639,
514,
6382,
273,
446,
31,
3639,
514,
3538,
3976,
812,
273,
446,
31,
3639,
368,
22,
31050,
316,
648,
326,
729,
1269,
5083,
3639,
1250,
353,
6248,
273,
629,
31,
3639,
1250,
353,
10874,
273,
629,
31,
7734,
368,
3201,
326,
1296,
980,
18,
377,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
377,
1082,
5411,
309,
261,
833,
63,
77,
8009,
14963,
2932,
413,
5201,
7923,
225,
747,
833,
18,
2469,
422,
374,
13,
288,
7734,
4084,
5621,
5411,
289,
13491,
309,
261,
1968,
63,
77,
8009,
14963,
2932,
413,
4450,
6,
3719,
95,
2398,
202,
4450,
812,
273,
833,
63,
77,
397,
404,
15533,
2398,
202,
759,
3218,
1378,
518,
2674,
2724,
5137,
732,
4825,
10067,
1308,
28550,
2353,
1338,
3144,
2398,
202,
76,
273,
394,
18364,
6248,
4294,
1503,
12,
4450,
812,
1769,
5411,
289,
13491,
309,
261,
1968,
63,
77,
8009,
14963,
2932,
413,
1467,
7923,
597,
401,
12,
76,
480,
446,
3719,
95,
2398,
202,
2398,
202,
4522,
943,
273,
261,
2704,
2144,
12,
1968,
63,
77,
15,
404,
5717,
1769,
7734,
366,
18,
542,
2747,
15100,
12,
1896,
18,
474,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
13367,
16,
21665,
16,
1860,
288,
4202,
368,
467,
1240,
358,
14196,
777,
569,
2674,
1427,
2898,
854,
486,
2715,
2344,
596,
434,
326,
364,
18,
377,
202,
780,
19450,
273,
446,
31,
3639,
514,
2195,
812,
273,
446,
31,
3639,
514,
6382,
273,
446,
31,
3639,
514,
3538,
3976,
812,
273,
446,
31,
3639,
368,
22,
31050,
316,
648,
326,
729,
1269,
5083,
3639,
1250,
353,
6248,
273,
629,
31,
3639,
1250,
353,
10874,
273,
629,
31,
7734,
368,
3201,
326,
1296,
980,
18,
377,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
377,
1082,
5411,
309,
261,
2
] |
if ( synPredMatched462 ) { | if ( synPredMatched475 ) { | public final void mNEXT_TOKEN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = NEXT_TOKEN; int _saveIndex; Token ncname=null; switch ( LA(1)) { case '{': { mLCURLY(false); if ( inputState.guessing==0 ) { inElementContent= false; _ttype = LCURLY; } break; } case '}': { mRCURLY(false); if ( inputState.guessing==0 ) { _ttype = RCURLY; } break; } default: boolean synPredMatched455 = false; if (((LA(1)=='(') && (LA(2)==':') && (LA(3)==':') && (LA(4)=='p'))) { int _m455 = mark(); synPredMatched455 = true; inputState.guessing++; try { { match("(::"); } } catch (RecognitionException pe) { synPredMatched455 = false; } rewind(_m455); inputState.guessing--; } if ( synPredMatched455 ) { mPRAGMA(false); if ( inputState.guessing==0 ) { _ttype = Token.SKIP; } } else if ((LA(1)=='(') && (LA(2)==':') && (_tokenSet_7.member(LA(3))) && (_tokenSet_7.member(LA(4)))) { mEXPR_COMMENT(false); if ( inputState.guessing==0 ) { _ttype = Token.SKIP; } } else if ((LA(1)=='<') && (LA(2)=='!') && (LA(3)=='-')) { mXML_COMMENT(false); if ( inputState.guessing==0 ) { _ttype = XML_COMMENT; } } else if ((LA(1)=='<') && (LA(2)=='!') && (LA(3)=='[')) { mXML_CDATA(false); if ( inputState.guessing==0 ) { _ttype = XML_CDATA; } } else { boolean synPredMatched469 = false; if (((_tokenSet_18.member(LA(1))) && (_tokenSet_19.member(LA(2))) && (_tokenSet_20.member(LA(3))) && (true))) { int _m469 = mark(); synPredMatched469 = true; inputState.guessing++; try { { mINTEGER_LITERAL(false); { switch ( LA(1)) { case '.': { match('.'); { if ((_tokenSet_3.member(LA(1)))) { mINTEGER_LITERAL(false); } else if ((LA(1)=='E'||LA(1)=='e')) { } else { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } break; } case 'E': case 'e': { break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } } { switch ( LA(1)) { case 'e': { match('e'); break; } case 'E': { match('E'); break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } } } } catch (RecognitionException pe) { synPredMatched469 = false; } rewind(_m469); inputState.guessing--; } if ( synPredMatched469 ) { mDOUBLE_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DOUBLE_LITERAL; } } else if ((LA(1)=='-') && (LA(2)=='-') && (LA(3)=='>') && (true)) { mXML_COMMENT_END(false); if ( inputState.guessing==0 ) { _ttype = XML_COMMENT_END; } } else if ((LA(1)==']') && (LA(2)==']') && (LA(3)=='>') && (true)) { mXML_CDATA_END(false); if ( inputState.guessing==0 ) { _ttype = XML_CDATA_END; } } else { boolean synPredMatched453 = false; if (((LA(1)=='<') && (LA(2)=='?'))) { int _m453 = mark(); synPredMatched453 = true; inputState.guessing++; try { { mXML_PI_START(false); } } catch (RecognitionException pe) { synPredMatched453 = false; } rewind(_m453); inputState.guessing--; } if ( synPredMatched453 ) { mXML_PI(false); if ( inputState.guessing==0 ) { _ttype = XML_PI; } } else if ((LA(1)=='<') && (LA(2)=='/')) { mEND_TAG_START(false); if ( inputState.guessing==0 ) { inElementContent= false; wsExplicit= false; _ttype = END_TAG_START; } } else if ((LA(1)=='<') && (LA(2)=='=')) { mLTEQ(false); if ( inputState.guessing==0 ) { _ttype = LTEQ; } } else if (((LA(1)=='"'||LA(1)=='\'') && ((LA(2) >= '\u0003' && LA(2) <= '\ufffe')) && (true) && (true))&&( parseStringLiterals )) { mSTRING_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = STRING_LITERAL; } } else { boolean synPredMatched457 = false; if ((((LA(1)=='.') && (LA(2)=='.') && (true) && (true))&&( !(inAttributeContent || inElementContent) ))) { int _m457 = mark(); synPredMatched457 = true; inputState.guessing++; try { { match('.'); match('.'); } } catch (RecognitionException pe) { synPredMatched457 = false; } rewind(_m457); inputState.guessing--; } if ( synPredMatched457 ) { mPARENT(false); if ( inputState.guessing==0 ) { _ttype = PARENT; } } else if (((LA(1)=='/') && (LA(2)=='/') && (true) && (true))&&( !(inAttributeContent || inElementContent) )) { mDSLASH(false); if ( inputState.guessing==0 ) { _ttype = DSLASH; } } else if (((LA(1)=='|') && (LA(2)=='=') && (true) && (true))&&( !(inAttributeContent || inElementContent) )) { mOREQ(false); if ( inputState.guessing==0 ) { _ttype = OREQ; } } else if (((LA(1)=='&') && (LA(2)=='=') && (true) && (true))&&( !(inAttributeContent || inElementContent) )) { mANDEQ(false); if ( inputState.guessing==0 ) { _ttype = ANDEQ; } } else if (((LA(1)=='!') && (LA(2)=='=') && (true) && (true))&&( !(inAttributeContent || inElementContent) )) { mNEQ(false); if ( inputState.guessing==0 ) { _ttype = NEQ; } } else if (((LA(1)=='>') && (LA(2)=='=') && (true) && (true))&&( !(inAttributeContent || inElementContent) )) { mGTEQ(false); if ( inputState.guessing==0 ) { _ttype = GTEQ; } } else if ((LA(1)=='?') && (LA(2)=='>') && (true) && (true)) { mXML_PI_END(false); if ( inputState.guessing==0 ) { _ttype = XML_PI_END; } } else if ((LA(1)=='<') && (true)) { mLT(false); if ( inputState.guessing==0 ) { inElementContent= false; _ttype = LT; } } else if (((_tokenSet_21.member(LA(1))) && (true) && (true) && (true))&&( inAttributeContent )) { mATTRIBUTE_CONTENT(false); if ( inputState.guessing==0 ) { _ttype = ATTRIBUTE_CONTENT; } } else if (((LA(1)=='"') && (true) && (true) && (true))&&( !(parseStringLiterals || inElementContent) )) { mQUOT(false); if ( inputState.guessing==0 ) { _ttype = QUOT; } } else if (((_tokenSet_22.member(LA(1))) && (true) && (true) && (true))&&( inElementContent )) { mELEMENT_CONTENT(false); if ( inputState.guessing==0 ) { _ttype = ELEMENT_CONTENT; } } else if ((LA(1)=='\t'||LA(1)=='\n'||LA(1)=='\r'||LA(1)==' ') && (true) && (true) && (true)) { mWS(false); if ( inputState.guessing==0 ) { if (wsExplicit) { _ttype = WS; text.setLength(_begin); text.append("WS"); } else _ttype = Token.SKIP; } } else if ((_tokenSet_23.member(LA(1))) && (true) && (true) && (true)) { mNCNAME(true); ncname=_returnToken; if ( inputState.guessing==0 ) { _ttype = ncname.getType(); } } else { boolean synPredMatched460 = false; if (((_tokenSet_18.member(LA(1))) && (true) && (true) && (true))) { int _m460 = mark(); synPredMatched460 = true; inputState.guessing++; try { { match('.'); mINTEGER_LITERAL(false); { switch ( LA(1)) { case 'e': { match('e'); break; } case 'E': { match('E'); break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } } } } catch (RecognitionException pe) { synPredMatched460 = false; } rewind(_m460); inputState.guessing--; } if ( synPredMatched460 ) { mDECIMAL_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DECIMAL_LITERAL; } } else { boolean synPredMatched462 = false; if (((_tokenSet_18.member(LA(1))) && (true) && (true) && (true))) { int _m462 = mark(); synPredMatched462 = true; inputState.guessing++; try { { match('.'); mINTEGER_LITERAL(false); } } catch (RecognitionException pe) { synPredMatched462 = false; } rewind(_m462); inputState.guessing--; } if ( synPredMatched462 ) { mDECIMAL_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DECIMAL_LITERAL; } } else { boolean synPredMatched464 = false; if (((LA(1)=='.') && (true) && (true) && (true))) { int _m464 = mark(); synPredMatched464 = true; inputState.guessing++; try { { match('.'); } } catch (RecognitionException pe) { synPredMatched464 = false; } rewind(_m464); inputState.guessing--; } if ( synPredMatched464 ) { mSELF(false); if ( inputState.guessing==0 ) { _ttype = SELF; } } else { boolean synPredMatched471 = false; if (((_tokenSet_18.member(LA(1))) && (true) && (true) && (true))) { int _m471 = mark(); synPredMatched471 = true; inputState.guessing++; try { { mINTEGER_LITERAL(false); match('.'); } } catch (RecognitionException pe) { synPredMatched471 = false; } rewind(_m471); inputState.guessing--; } if ( synPredMatched471 ) { mDECIMAL_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DECIMAL_LITERAL; } } else if ((_tokenSet_3.member(LA(1))) && (true) && (true) && (true)) { mINTEGER_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = INTEGER_LITERAL; } } else if ((LA(1)=='/') && (true) && (true) && (true)) { mSLASH(false); if ( inputState.guessing==0 ) { _ttype = SLASH; } } else if ((LA(1)==':') && (true) && (true) && (true)) { mCOLON(false); if ( inputState.guessing==0 ) { _ttype = COLON; } } else if ((LA(1)==',') && (true) && (true) && (true)) { mCOMMA(false); if ( inputState.guessing==0 ) { _ttype = COMMA; } } else if ((LA(1)==';') && (true) && (true) && (true)) { mSEMICOLON(false); if ( inputState.guessing==0 ) { _ttype = SEMICOLON; } } else if ((LA(1)=='*') && (true) && (true) && (true)) { mSTAR(false); if ( inputState.guessing==0 ) { _ttype = STAR; } } else if ((LA(1)=='?') && (true) && (true) && (true)) { mQUESTION(false); if ( inputState.guessing==0 ) { _ttype = QUESTION; } } else if ((LA(1)=='+') && (true) && (true) && (true)) { mPLUS(false); if ( inputState.guessing==0 ) { _ttype = PLUS; } } else if ((LA(1)=='-') && (true) && (true) && (true)) { mMINUS(false); if ( inputState.guessing==0 ) { _ttype = MINUS; } } else if ((LA(1)=='[') && (true) && (true) && (true)) { mLPPAREN(false); if ( inputState.guessing==0 ) { _ttype = LPPAREN; } } else if ((LA(1)==']') && (true) && (true) && (true)) { mRPPAREN(false); if ( inputState.guessing==0 ) { _ttype = RPPAREN; } } else if ((LA(1)=='(') && (true) && (true) && (true)) { mLPAREN(false); if ( inputState.guessing==0 ) { _ttype = LPAREN; } } else if ((LA(1)==')') && (true) && (true) && (true)) { mRPAREN(false); if ( inputState.guessing==0 ) { _ttype = RPAREN; } } else if ((LA(1)=='|') && (true) && (true) && (true)) { mUNION(false); if ( inputState.guessing==0 ) { _ttype = UNION; } } else if ((LA(1)=='@') && (true) && (true) && (true)) { mAT(false); if ( inputState.guessing==0 ) { _ttype = AT; } } else if ((LA(1)=='$') && (true) && (true) && (true)) { mDOLLAR(false); if ( inputState.guessing==0 ) { _ttype = DOLLAR; } } else if ((LA(1)=='=') && (true) && (true) && (true)) { mEQ(false); if ( inputState.guessing==0 ) { _ttype = EQ; } } else if ((LA(1)=='>') && (true) && (true) && (true)) { mGT(false); if ( inputState.guessing==0 ) { _ttype = GT; } } else { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } }}}}}}}} if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/b1f955b7f1cec4172ad3be7bd2855bd3cca3e6f2/XQueryLexer.java/buggy/src/org/exist/xquery/parser/XQueryLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
312,
25539,
67,
8412,
12,
6494,
389,
2640,
1345,
13,
1216,
9539,
16,
3703,
1228,
503,
16,
3155,
1228,
503,
288,
202,
202,
474,
389,
88,
723,
31,
3155,
389,
2316,
33,
2011,
31,
509,
389,
10086,
33,
955,
18,
2469,
5621,
202,
202,
67,
88,
723,
273,
19252,
67,
8412,
31,
202,
202,
474,
389,
5688,
1016,
31,
202,
202,
1345,
8194,
529,
33,
2011,
31,
9506,
202,
9610,
261,
2928,
12,
21,
3719,
288,
202,
202,
3593,
2292,
4278,
202,
202,
95,
1082,
202,
81,
13394,
1785,
61,
12,
5743,
1769,
1082,
202,
430,
261,
810,
1119,
18,
20885,
310,
631,
20,
262,
288,
6862,
25083,
202,
267,
1046,
1350,
33,
629,
31,
25083,
202,
67,
88,
723,
273,
511,
26314,
31,
6862,
9506,
202,
97,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
9571,
30,
202,
202,
95,
1082,
202,
81,
11529,
1785,
61,
12,
5743,
1769,
1082,
202,
430,
261,
810,
1119,
18,
20885,
310,
631,
20,
262,
288,
9506,
202,
67,
88,
723,
273,
534,
26314,
31,
1082,
202,
97,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
1886,
30,
1082,
202,
6494,
6194,
10391,
15400,
24,
2539,
273,
629,
31,
1082,
202,
430,
261,
12443,
2534,
12,
21,
13,
18920,
2668,
13,
597,
261,
2534,
12,
22,
13,
18920,
2497,
13,
597,
261,
2534,
12,
23,
13,
18920,
2497,
13,
597,
261,
2534,
12,
24,
13,
18920,
84,
11,
20349,
288,
9506,
202,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
312,
25539,
67,
8412,
12,
6494,
389,
2640,
1345,
13,
1216,
9539,
16,
3703,
1228,
503,
16,
3155,
1228,
503,
288,
202,
202,
474,
389,
88,
723,
31,
3155,
389,
2316,
33,
2011,
31,
509,
389,
10086,
33,
955,
18,
2469,
5621,
202,
202,
67,
88,
723,
273,
19252,
67,
8412,
31,
202,
202,
474,
389,
5688,
1016,
31,
202,
202,
1345,
8194,
529,
33,
2011,
31,
9506,
202,
9610,
261,
2928,
12,
21,
3719,
288,
202,
202,
3593,
2292,
4278,
202,
202,
95,
1082,
202,
81,
13394,
1785,
61,
12,
5743,
1769,
1082,
202,
430,
261,
810,
1119,
18,
20885,
310,
631,
20,
262,
288,
6862,
25083,
202,
267,
1046,
1350,
33,
629,
2
] |
byte[] in = {1, 2, 3, 4, 5, 6, 7, 8, 9}; | byte[] in = {1, 2, 3, 4, 5, 6, 7, 8, 9}; | public void test_formatString_oneBreak() { byte[] in = {1, 2, 3, 4, 5, 6, 7, 8, 9}; // "AEBAGBAFAYDQQCI=" (16 chars) String out = base32.formatString(in, 14, "", false); assertEquals("AEBAGBAFAYDQQC\nI=", out); } | 53983 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53983/e93d3613dc17d5d6b4150d9c2a0991aa1f124f3f/base32Test.java/clean/tests/org/xbill/DNS/utils/base32Test.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
67,
2139,
780,
67,
476,
7634,
1435,
225,
288,
565,
1160,
8526,
316,
273,
288,
21,
16,
576,
16,
890,
16,
1059,
16,
1381,
16,
1666,
16,
2371,
16,
1725,
16,
2468,
20451,
368,
315,
16985,
38,
1781,
12536,
2046,
61,
40,
53,
53,
7266,
1546,
261,
2313,
5230,
13,
565,
514,
596,
273,
1026,
1578,
18,
2139,
780,
12,
267,
16,
5045,
16,
23453,
629,
1769,
565,
1815,
8867,
2932,
16985,
38,
1781,
12536,
2046,
61,
40,
53,
53,
39,
64,
82,
45,
1546,
16,
596,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
67,
2139,
780,
67,
476,
7634,
1435,
225,
288,
565,
1160,
8526,
316,
273,
288,
21,
16,
576,
16,
890,
16,
1059,
16,
1381,
16,
1666,
16,
2371,
16,
1725,
16,
2468,
20451,
368,
315,
16985,
38,
1781,
12536,
2046,
61,
40,
53,
53,
7266,
1546,
261,
2313,
5230,
13,
565,
514,
596,
273,
1026,
1578,
18,
2139,
780,
12,
267,
16,
5045,
16,
23453,
629,
1769,
565,
1815,
8867,
2932,
16985,
38,
1781,
12536,
2046,
61,
40,
53,
53,
39,
64,
82,
45,
1546,
16,
596,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
expMgr.destroyAllExpressions(target); varMgr.destroyAllVariables(target); | expMgr.deleteAllVariables(target); | boolean processSharedLibUnloadedEvent(MISharedLibUnloadedEvent unLoaded) { Session session = (Session)getSession(); MISession miSession = unLoaded.getMISession(); Target target = session.getTarget(miSession); ExpressionManager expMgr = session.getExpressionManager(); VariableManager varMgr = session.getVariableManager(); try { expMgr.destroyAllExpressions(target); varMgr.destroyAllVariables(target); } catch (CDIException e) { } return false; } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/db8bcbda608aa7e5381f8a093e90182138dd8317/EventManager.java/clean/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/EventManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6494,
1207,
7887,
5664,
984,
4230,
1133,
12,
7492,
7887,
5664,
984,
4230,
1133,
640,
8835,
13,
288,
202,
202,
2157,
1339,
273,
261,
2157,
13,
588,
2157,
5621,
202,
202,
7492,
2157,
12837,
2157,
273,
640,
8835,
18,
588,
7492,
2157,
5621,
202,
202,
2326,
1018,
273,
1339,
18,
588,
2326,
12,
9197,
2157,
1769,
202,
202,
2300,
1318,
1329,
9455,
273,
1339,
18,
588,
2300,
1318,
5621,
202,
202,
3092,
1318,
569,
9455,
273,
1339,
18,
588,
3092,
1318,
5621,
202,
202,
698,
288,
1082,
202,
2749,
9455,
18,
11662,
1595,
8927,
12,
3299,
1769,
1082,
202,
1401,
9455,
18,
11662,
1595,
6158,
12,
3299,
1769,
202,
202,
97,
1044,
261,
39,
2565,
503,
425,
13,
288,
202,
202,
97,
202,
202,
2463,
629,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6494,
1207,
7887,
5664,
984,
4230,
1133,
12,
7492,
7887,
5664,
984,
4230,
1133,
640,
8835,
13,
288,
202,
202,
2157,
1339,
273,
261,
2157,
13,
588,
2157,
5621,
202,
202,
7492,
2157,
12837,
2157,
273,
640,
8835,
18,
588,
7492,
2157,
5621,
202,
202,
2326,
1018,
273,
1339,
18,
588,
2326,
12,
9197,
2157,
1769,
202,
202,
2300,
1318,
1329,
9455,
273,
1339,
18,
588,
2300,
1318,
5621,
202,
202,
3092,
1318,
569,
9455,
273,
1339,
18,
588,
3092,
1318,
5621,
202,
202,
698,
288,
1082,
202,
2749,
9455,
18,
11662,
1595,
8927,
12,
3299,
1769,
1082,
202,
1401,
9455,
18,
11662,
1595,
6158,
12,
3299,
1769,
202,
202,
97,
1044,
261,
39,
2565,
503,
425,
2
] |
public TempBucketFactory(String temp, boolean wipeFiles, RandomSource random, String prefix) throws IOException { | public TempBucketFactory(FilenameGenerator filenameGenerator) { | public TempBucketFactory(String temp, boolean wipeFiles, RandomSource random, String prefix) throws IOException { logDebug = Logger.shouldLog(Logger.DEBUG,this); tmpDir = new File(temp); if (tmpDir == null) tmpDir = new File(System.getProperty("java.io.tmpdir")); this.random = random; this.prefix = prefix; if(!tmpDir.exists()) { tmpDir.mkdir(); } if(!(tmpDir.isDirectory() && tmpDir.canRead() && tmpDir.canWrite())) throw new IOException("Not a directory or cannot read/write: "+tmpDir); if(wipeFiles) { File[] filenames = tmpDir.listFiles(); if(filenames != null) { for(int i=0;i<filenames.length;i++) { File f = filenames[i]; String name = f.getName(); if((File.separatorChar == '\\' && name.toLowerCase().startsWith(prefix.toLowerCase()) || name.startsWith(prefix))) { f.delete(); } } } } // Core.logger.log(this, "Creating TempBucketFactory, tmpDir = "+ // (tmpDir == null ? "(null)" : tmpDir), // new Exception("debug"), Logger.DEBUG); } | 56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/ae3ccb61c1609ac123f2a825e60ff11564556df6/TempBucketFactory.java/buggy/src/freenet/support/io/TempBucketFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
16380,
4103,
1733,
12,
780,
1906,
16,
1250,
341,
3151,
2697,
16,
8072,
1830,
2744,
16,
514,
1633,
13,
1216,
1860,
288,
202,
202,
1330,
2829,
273,
4242,
18,
13139,
1343,
12,
3328,
18,
9394,
16,
2211,
1769,
202,
202,
5645,
1621,
273,
394,
1387,
12,
5814,
1769,
202,
202,
430,
261,
5645,
1621,
422,
446,
13,
1082,
202,
5645,
1621,
273,
394,
1387,
12,
3163,
18,
588,
1396,
2932,
6290,
18,
1594,
18,
5645,
1214,
7923,
1769,
202,
202,
2211,
18,
9188,
273,
2744,
31,
202,
202,
2211,
18,
3239,
273,
1633,
31,
202,
202,
430,
12,
5,
5645,
1621,
18,
1808,
10756,
288,
1082,
202,
5645,
1621,
18,
26686,
5621,
202,
202,
97,
202,
202,
430,
12,
5,
12,
5645,
1621,
18,
291,
2853,
1435,
597,
22521,
18,
4169,
1994,
1435,
597,
22521,
18,
4169,
3067,
1435,
3719,
1082,
202,
12849,
394,
1860,
2932,
1248,
279,
1867,
578,
2780,
855,
19,
2626,
30,
13773,
5645,
1621,
1769,
9506,
202,
430,
12,
91,
3151,
2697,
13,
288,
1082,
202,
812,
8526,
9066,
273,
22521,
18,
1098,
2697,
5621,
1082,
202,
430,
12,
19875,
480,
446,
13,
288,
9506,
202,
1884,
12,
474,
277,
33,
20,
31,
77,
32,
19875,
18,
2469,
31,
77,
27245,
288,
6862,
202,
812,
284,
273,
9066,
63,
77,
15533,
6862,
202,
780,
508,
273,
284,
18,
17994,
5621,
6862,
202,
430,
12443,
812,
18,
11287,
2156,
422,
5282,
597,
508,
18,
869,
5630,
7675,
17514,
1190,
12,
3239,
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,
16380,
4103,
1733,
12,
780,
1906,
16,
1250,
341,
3151,
2697,
16,
8072,
1830,
2744,
16,
514,
1633,
13,
1216,
1860,
288,
202,
202,
1330,
2829,
273,
4242,
18,
13139,
1343,
12,
3328,
18,
9394,
16,
2211,
1769,
202,
202,
5645,
1621,
273,
394,
1387,
12,
5814,
1769,
202,
202,
430,
261,
5645,
1621,
422,
446,
13,
1082,
202,
5645,
1621,
273,
394,
1387,
12,
3163,
18,
588,
1396,
2932,
6290,
18,
1594,
18,
5645,
1214,
7923,
1769,
202,
202,
2211,
18,
9188,
273,
2744,
31,
202,
202,
2211,
18,
3239,
273,
1633,
31,
202,
202,
430,
12,
5,
5645,
1621,
18,
1808,
10756,
288,
1082,
202,
5645,
1621,
18,
26686,
5621,
202,
202,
97,
202,
2
] |
m_saxHandler.characters(ENDCDATA, 0, ENDCDATA.length); m_cdataTagOpen = false; | if (m_lexHandler != null && m_cdataTagOpen) { m_lexHandler.endCDATA(); } m_cdataTagOpen = false; | public void closeCDATA() throws SAXException { // Output closing bracket - "]]>" m_saxHandler.characters(ENDCDATA, 0, ENDCDATA.length); m_cdataTagOpen = false; } | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/c00ea99eee5bcbd7233132537342d70ee9cccad6/ToXMLSAXHandler.java/buggy/src/org/apache/xml/serializer/ToXMLSAXHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1746,
18375,
1435,
1216,
14366,
565,
288,
3639,
368,
3633,
7647,
9843,
300,
9850,
65,
2984,
3639,
312,
67,
87,
651,
1503,
18,
20558,
12,
4415,
18375,
16,
374,
16,
7273,
18375,
18,
2469,
1769,
3639,
312,
67,
71,
892,
1805,
3678,
273,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1746,
18375,
1435,
1216,
14366,
565,
288,
3639,
368,
3633,
7647,
9843,
300,
9850,
65,
2984,
3639,
312,
67,
87,
651,
1503,
18,
20558,
12,
4415,
18375,
16,
374,
16,
7273,
18375,
18,
2469,
1769,
3639,
312,
67,
71,
892,
1805,
3678,
273,
629,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 myPassword; } | if (a instanceof Account__Server) { return ((Account__Server)a).getPassword(); } else { return ""; } } | public String getPassword() { return myPassword; } | 12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/b13c667b376deb4a8f2c235ffd847b57616d23c4/ServerStructure.java/buggy/grendel/sources/grendel/prefs/base/ServerStructure.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
17397,
1435,
288,
565,
327,
3399,
3913,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
17397,
1435,
288,
565,
327,
3399,
3913,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return color; | return graphics.getColor(); | public Color getColor() { return color; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/DebugGraphics.java/clean/core/src/classpath/javax/javax/swing/DebugGraphics.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5563,
15672,
1435,
225,
288,
565,
327,
17313,
18,
588,
2957,
5621,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5563,
15672,
1435,
225,
288,
565,
327,
17313,
18,
588,
2957,
5621,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
project.fireBuildFinished(error); | if (!projectHelp) { project.fireBuildFinished(error); } | private void runBuild(ClassLoader coreLoader) throws BuildException { if (!readyToRun) { return; } // track when we started if (msgOutputLevel >= Project.MSG_INFO) { System.out.println("Buildfile: " + buildFile); } final Project project = new Project(); project.setCoreLoader(coreLoader); Throwable error = null; try { addBuildListeners(project); PrintStream err = System.err; PrintStream out = System.out; SecurityManager oldsm = System.getSecurityManager(); try { System.setOut(new PrintStream(new DemuxOutputStream(project, false))); System.setErr(new PrintStream(new DemuxOutputStream(project, true))); project.fireBuildStarted(); project.init(); project.setUserProperty("ant.version", getAntVersion()); // set user-define properties Enumeration e = definedProps.keys(); while (e.hasMoreElements()) { String arg = (String)e.nextElement(); String value = (String)definedProps.get(arg); project.setUserProperty(arg, value); } project.setUserProperty("ant.file" , buildFile.getAbsolutePath() ); // first use the ProjectHelper to create the project object // from the given build file. String noParserMessage = "No JAXP compliant XML parser found. Please visit http://xml.apache.org for a suitable parser"; try { Class.forName("javax.xml.parsers.SAXParserFactory"); ProjectHelper.configureProject(project, buildFile); } catch (NoClassDefFoundError ncdfe) { throw new BuildException(noParserMessage, ncdfe); } catch (ClassNotFoundException cnfe) { throw new BuildException(noParserMessage, cnfe); } catch (NullPointerException npe) { throw new BuildException(noParserMessage, npe); } // make sure that we have a target to execute if (targets.size() == 0) { targets.addElement(project.getDefaultTarget()); } if (!projectHelp) { project.executeTargets(targets); } } finally { System.setOut(out); System.setErr(err); } if (projectHelp) { printDescription(project); printTargets(project); } } catch(RuntimeException exc) { error = exc; throw exc; } catch(Error err) { error = err; throw err; } finally { project.fireBuildFinished(error); } } | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/602c461fed47f591c6a79feadc6edcf0c9b6b54d/Main.java/buggy/src/main/org/apache/tools/ant/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1086,
3116,
12,
7805,
2922,
2886,
13,
1216,
18463,
288,
3639,
309,
16051,
1672,
774,
1997,
13,
288,
5411,
327,
31,
3639,
289,
3639,
368,
3298,
1347,
732,
5746,
3639,
309,
261,
3576,
1447,
2355,
1545,
5420,
18,
11210,
67,
5923,
13,
288,
5411,
2332,
18,
659,
18,
8222,
2932,
3116,
768,
30,
315,
397,
1361,
812,
1769,
3639,
289,
3639,
727,
5420,
1984,
273,
394,
5420,
5621,
3639,
1984,
18,
542,
4670,
2886,
12,
3644,
2886,
1769,
7734,
4206,
555,
273,
446,
31,
3639,
775,
288,
5411,
527,
3116,
5583,
12,
4406,
1769,
5411,
21677,
393,
273,
2332,
18,
370,
31,
5411,
21677,
596,
273,
2332,
18,
659,
31,
5411,
6036,
1318,
1592,
4808,
273,
2332,
18,
588,
4368,
1318,
5621,
5411,
775,
288,
7734,
2332,
18,
542,
1182,
12,
2704,
21677,
12,
2704,
27744,
2616,
4632,
12,
4406,
16,
629,
3719,
1769,
7734,
2332,
18,
542,
2524,
12,
2704,
21677,
12,
2704,
27744,
2616,
4632,
12,
4406,
16,
638,
3719,
1769,
7734,
1984,
18,
12179,
3116,
9217,
5621,
7734,
1984,
18,
2738,
5621,
7734,
1984,
18,
542,
1299,
1396,
2932,
970,
18,
1589,
3113,
4506,
496,
1444,
10663,
7734,
368,
444,
729,
17,
11255,
1790,
7734,
13864,
425,
273,
2553,
5047,
18,
2452,
5621,
7734,
1323,
261,
73,
18,
5332,
7417,
3471,
10756,
288,
10792,
514,
1501,
273,
261,
780,
13,
73,
18,
4285,
1046,
5621,
10792,
514,
460,
273,
261,
780,
13,
2178,
5047,
18,
588,
12,
3175,
1769,
10792,
1984,
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,
1086,
3116,
12,
7805,
2922,
2886,
13,
1216,
18463,
288,
3639,
309,
16051,
1672,
774,
1997,
13,
288,
5411,
327,
31,
3639,
289,
3639,
368,
3298,
1347,
732,
5746,
3639,
309,
261,
3576,
1447,
2355,
1545,
5420,
18,
11210,
67,
5923,
13,
288,
5411,
2332,
18,
659,
18,
8222,
2932,
3116,
768,
30,
315,
397,
1361,
812,
1769,
3639,
289,
3639,
727,
5420,
1984,
273,
394,
5420,
5621,
3639,
1984,
18,
542,
4670,
2886,
12,
3644,
2886,
1769,
7734,
4206,
555,
273,
446,
31,
3639,
775,
288,
5411,
527,
3116,
5583,
12,
4406,
1769,
5411,
21677,
393,
273,
2332,
18,
370,
31,
5411,
21677,
596,
273,
2332,
18,
659,
31,
5411,
6036,
1318,
1592,
4808,
273,
2
] |
Request request = messageFactory.createRequest( dstSipURI, method, callId, cSeq, from, to, via, maxForwards); | Request request = messageFactory.createRequest(dstSipURI, method, callId, cSeq, from, to, via, maxForwards); | protected Request createRequest( String method, AddressFactory addressFactory, HeaderFactory headerFactory, MessageFactory messageFactory, SipProvider srcProvider, SipProvider dstProvider, String contentType, String contentSubType, Object content) throws Exception { //Source SipUri SipURI srcSipURI = addressFactory.createSipURI( null, srcProvider.getSipStack().getIPAddress()); srcSipURI.setPort(srcProvider.getListeningPoint().getPort()); srcSipURI.setTransportParam( srcProvider.getListeningPoint().getTransport()); //Destination SipURI SipURI dstSipURI = addressFactory.createSipURI( null, dstProvider.getSipStack().getIPAddress()); dstSipURI.setPort(dstProvider.getListeningPoint().getPort()); dstSipURI.setTransportParam( dstProvider.getListeningPoint().getTransport()); //CallId CallIdHeader callId = srcProvider.getNewCallId(); //CSeq CSeqHeader cSeq = headerFactory.createCSeqHeader(1, method); //From Address fromAddress = addressFactory.createAddress(srcSipURI); FromHeader from = headerFactory.createFromHeader( fromAddress, Integer.toString(srcProvider.hashCode())); //To Address toAddress = addressFactory.createAddress(dstSipURI); ToHeader to = headerFactory.createToHeader(toAddress, null); //Contact ContactHeader contact = headerFactory.createContactHeader(fromAddress); List via = new LinkedList(); ViaHeader viaHeader = headerFactory .createViaHeader( srcProvider.getSipStack().getIPAddress(), srcProvider.getListeningPoint().getPort(), srcProvider.getListeningPoint().getTransport(), // BUG: Use proper RFC3261 branch ID "z9hG4bK" + Long.toString(System.currentTimeMillis()) //branch id ); via.add(viaHeader); MaxForwardsHeader maxForwards = headerFactory.createMaxForwardsHeader(3); Request request = messageFactory.createRequest( dstSipURI, method, callId, cSeq, from, to, via, maxForwards); request.addHeader(contact); if (contentType != null && contentSubType != null && content != null) { ContentTypeHeader contentTypeHdr = headerFactory.createContentTypeHeader( contentType, contentSubType); request.setContent(content, contentTypeHdr); } //pass the headerFactory - issue17 by larryb@dev.java.net addStatus(headerFactory, request); return request; } | 7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/d3bce65e49e71ee7df15bd72fd338535d4501bc1/MessageFlowHarness.java/buggy/trunk/src/test/tck/msgflow/MessageFlowHarness.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1567,
15798,
12,
202,
202,
780,
707,
16,
202,
202,
1887,
1733,
1758,
1733,
16,
202,
202,
1864,
1733,
1446,
1733,
16,
202,
202,
1079,
1733,
883,
1733,
16,
202,
202,
17550,
2249,
1705,
2249,
16,
202,
202,
17550,
2249,
3046,
2249,
16,
202,
202,
780,
5064,
16,
202,
202,
780,
913,
30511,
16,
202,
202,
921,
913,
13,
202,
202,
15069,
1185,
288,
202,
202,
759,
1830,
13475,
3006,
202,
202,
17550,
3098,
1705,
17550,
3098,
273,
1082,
202,
2867,
1733,
18,
2640,
17550,
3098,
12,
9506,
202,
2011,
16,
9506,
202,
4816,
2249,
18,
588,
17550,
2624,
7675,
588,
22507,
10663,
202,
202,
4816,
17550,
3098,
18,
542,
2617,
12,
4816,
2249,
18,
588,
31594,
2148,
7675,
588,
2617,
10663,
202,
202,
4816,
17550,
3098,
18,
542,
6568,
786,
12,
1082,
202,
4816,
2249,
18,
588,
31594,
2148,
7675,
588,
6568,
10663,
202,
202,
759,
5683,
13475,
3098,
202,
202,
17550,
3098,
3046,
17550,
3098,
273,
1082,
202,
2867,
1733,
18,
2640,
17550,
3098,
12,
9506,
202,
2011,
16,
9506,
202,
11057,
2249,
18,
588,
17550,
2624,
7675,
588,
22507,
10663,
202,
202,
11057,
17550,
3098,
18,
542,
2617,
12,
11057,
2249,
18,
588,
31594,
2148,
7675,
588,
2617,
10663,
202,
202,
11057,
17550,
3098,
18,
542,
6568,
786,
12,
1082,
202,
11057,
2249,
18,
588,
31594,
2148,
7675,
588,
6568,
10663,
202,
202,
759,
1477,
548,
202,
202,
1477,
548,
1864,
745,
548,
273,
1705,
2249,
18,
588,
1908,
1477,
548,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1567,
15798,
12,
202,
202,
780,
707,
16,
202,
202,
1887,
1733,
1758,
1733,
16,
202,
202,
1864,
1733,
1446,
1733,
16,
202,
202,
1079,
1733,
883,
1733,
16,
202,
202,
17550,
2249,
1705,
2249,
16,
202,
202,
17550,
2249,
3046,
2249,
16,
202,
202,
780,
5064,
16,
202,
202,
780,
913,
30511,
16,
202,
202,
921,
913,
13,
202,
202,
15069,
1185,
288,
202,
202,
759,
1830,
13475,
3006,
202,
202,
17550,
3098,
1705,
17550,
3098,
273,
1082,
202,
2867,
1733,
18,
2640,
17550,
3098,
12,
9506,
202,
2011,
16,
9506,
202,
4816,
2249,
18,
588,
17550,
2624,
7675,
588,
22507,
10663,
202,
202,
4816,
17550,
3098,
18,
542,
2617,
12,
4816,
2249,
18,
588,
2
] |
JFaceResources .getImageRegistry() .put(key, ImageDescriptor.createFromURL(new URL(iconsRoot, fileName))); | JFaceResources.getImageRegistry().put( key, ImageDescriptor.createFromURL(new URL(iconsRoot, fileName))); | private void setUpImage(URL iconsRoot, String fileName, String key) throws MalformedURLException { JFaceResources .getImageRegistry() .put(key, ImageDescriptor.createFromURL(new URL(iconsRoot, fileName))); } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/28dff015f95582b61afeedcf214061818f6ad308/JobProgressManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/JobProgressManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
24292,
2040,
12,
1785,
17455,
2375,
16,
514,
3968,
16,
514,
498,
13,
202,
202,
15069,
20710,
288,
202,
202,
46,
11824,
3805,
1082,
202,
18,
588,
2040,
4243,
1435,
1082,
202,
18,
458,
12,
856,
16,
3421,
3187,
18,
2640,
1265,
1785,
12,
2704,
1976,
12,
14516,
2375,
16,
3968,
3719,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
24292,
2040,
12,
1785,
17455,
2375,
16,
514,
3968,
16,
514,
498,
13,
202,
202,
15069,
20710,
288,
202,
202,
46,
11824,
3805,
1082,
202,
18,
588,
2040,
4243,
1435,
1082,
202,
18,
458,
12,
856,
16,
3421,
3187,
18,
2640,
1265,
1785,
12,
2704,
1976,
12,
14516,
2375,
16,
3968,
3719,
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
] |
public ActionForward prepareEditStudentGroupMembers(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws FenixActionException, FenixFilterException { HttpSession session = request.getSession(false); UserView userView = (UserView) session.getAttribute(SessionConstants.U_VIEW); String studentGroupCodeString = request.getParameter("studentGroupCode"); Integer studentGroupCode = new Integer(studentGroupCodeString); String shiftCodeString = request.getParameter("shiftCode"); request.setAttribute("shiftCode", shiftCodeString); Integer objectCode = getObjectCode(request); ISiteComponent viewStudentGroup = new InfoSiteStudentGroup(); TeacherAdministrationSiteView siteView = (TeacherAdministrationSiteView) readSiteView(request, viewStudentGroup, null, studentGroupCode, null); InfoSiteStudentGroup component = (InfoSiteStudentGroup) siteView.getComponent(); if (component.getInfoSiteStudentInformationList() == null) { ActionErrors actionErrors = new ActionErrors(); ActionError error = null; error = new ActionError("error.noGroup"); actionErrors.add("error.noGroup", error); saveErrors(request, actionErrors); return viewShiftsAndGroups(mapping, form, request, response); } Object args[] = { objectCode, studentGroupCode }; List infoStudentList = null; try { infoStudentList = (List) ServiceManagerServiceFactory.executeService(userView, "PrepareEditStudentGroupMembers", args); } catch (FenixServiceException e) { throw new FenixActionException(e); } Collections.sort(infoStudentList, new BeanComparator("number")); request.setAttribute("infoStudentList", infoStudentList); return mapping.findForward("editStudentGroupMembers"); } | 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,
2911,
4666,
19943,
319,
1114,
6918,
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,
2177,
1767,
729,
1767,
273,
261,
1299,
1767,
13,
1339,
18,
588,
1499,
12,
2157,
2918,
18,
57,
67,
12145,
1769,
3639,
514,
18110,
1114,
1085,
780,
273,
590,
18,
588,
1662,
2932,
26240,
1114,
1085,
8863,
3639,
2144,
18110,
1114,
1085,
273,
394,
2144,
12,
26240,
1114,
1085,
780,
1769,
3639,
514,
4654,
1085,
780,
273,
590,
18,
588,
1662,
2932,
4012,
1085,
8863,
3639,
590,
18,
542,
1499,
2932,
4012,
1085,
3113,
4654,
1085,
780,
1769,
3639,
2144,
733,
1085,
273,
6455,
1085,
12,
2293,
1769,
3639,
4437,
1137,
1841,
1476,
19943,
319,
1114,
273,
394,
3807,
4956,
19943,
319,
1114,
5621,
3639,
399,
13798,
264,
4446,
4218,
4956,
1767,
2834,
1767,
273,
261,
56,
13798,
264,
4446,
4218,
4956,
1767,
13,
855,
4956,
1767,
12,
2293,
16,
7734,
1476,
19943,
319,
1114,
16,
446,
16,
18110,
1114,
1085,
16,
446,
1769,
3639,
3807,
4956,
19943,
319,
1114,
1794,
273,
261,
966,
4956,
19943,
319,
1114,
13,
2834,
1767,
18,
588,
1841,
5621,
3639,
309,
261,
4652,
18,
588,
966,
4956,
19943,
319,
5369,
682,
1435,
422,
446,
13,
288,
5411,
4382,
4229,
1301,
4229,
273,
394,
4382,
4229,
5621,
5411,
4382,
668,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4382,
8514,
2911,
4666,
19943,
319,
1114,
6918,
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,
2177,
1767,
729,
1767,
273,
261,
1299,
1767,
13,
1339,
18,
588,
1499,
12,
2157,
2918,
18,
57,
67,
12145,
1769,
3639,
514,
18110,
1114,
1085,
780,
273,
590,
18,
588,
1662,
2932,
26240,
1114,
1085,
8863,
3639,
2144,
18110,
1114,
1085,
273,
394,
2144,
12,
26240,
1114,
1085,
780,
1769,
3639,
514,
4654,
1085,
780,
273,
590,
18,
588,
1662,
2932,
4012,
1085,
8863,
3639,
590,
2
] | ||
this.pageConfiguration = pageConfigurationName; | _pageConfiguration = pageConfigurationName; | public ERD2WContextDictionary(String pageConfigurationName, NSArray pageKeys, NSArray componentKeys) { this.pageConfiguration = pageConfigurationName; context = new D2WContext(); context.setDynamicPage(pageConfiguration); if(pageKeys == null) { pageLevelKeys = new NSMutableArray(new Object[] {"pageWrapperName","displayPropertyKeys"}); } else { pageLevelKeys = pageKeys.mutableClone(); } if(componentKeys == null) { componentLevelKeys = new NSMutableArray(new Object[] {"componentName", "customComponentName", "displayNameForProperty"}); } else { componentLevelKeys = componentKeys.mutableClone(); } if("edit".equals(context.task())) { componentLevelKeys.addObject("isMandatory"); } if("list".equals(context.task())) { componentLevelKeys.addObject("propertyIsSortable"); componentLevelKeys.addObject("sortKeyForList"); } allKeys = new NSMutableDictionary(); NSMutableDictionary components = new NSMutableDictionary(); NSMutableDictionary editors = new NSMutableDictionary(); allKeys.setObjectForKey(components, "components"); allKeys.setObjectForKey(editors, "editors"); for(Enumeration e = NSBundle.frameworkBundles().objectEnumerator(); e.hasMoreElements(); ) { NSBundle bundle = (NSBundle)e.nextElement(); NSDictionary dict; dict = ERXDictionaryUtilities.dictionaryFromPropertyList("d2wClientConfiguration", bundle); if(dict != null) { if(dict.objectForKey("components") != null) { components.addEntriesFromDictionary((NSDictionary)dict.objectForKey("components")); } if(dict.objectForKey("editors") != null) { editors.addEntriesFromDictionary((NSDictionary)dict.objectForKey("editors")); } } if(dict != null) { dict = ERXDictionaryUtilities.dictionaryFromPropertyList("d2wclientConfiguration", bundle); if(dict.objectForKey("components") != null) { components.addEntriesFromDictionary((NSDictionary)dict.objectForKey("components")); } if(dict.objectForKey("editors") != null) { editors.addEntriesFromDictionary((NSDictionary)dict.objectForKey("editors")); } } } } | 17168 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17168/f109dceeba488cabc6338185a4620d9373ece675/ERD2WContextDictionary.java/buggy/Common/Frameworks/ERDirectToWeb/Sources/er/directtoweb/ERD2WContextDictionary.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4232,
40,
22,
59,
1042,
10905,
12,
780,
1363,
1750,
461,
16,
11472,
1076,
1363,
2396,
16,
11472,
1076,
1794,
2396,
13,
288,
3639,
389,
2433,
1750,
273,
1363,
1750,
461,
31,
3639,
819,
273,
394,
463,
22,
59,
1042,
5621,
3639,
819,
18,
542,
9791,
1964,
12,
2433,
1750,
1769,
3639,
309,
12,
2433,
2396,
422,
446,
13,
288,
5411,
1363,
2355,
2396,
273,
394,
423,
7303,
3050,
1076,
12,
2704,
1033,
8526,
12528,
2433,
3611,
461,
15937,
5417,
1396,
2396,
6,
22938,
3639,
289,
469,
288,
5411,
1363,
2355,
2396,
273,
1363,
2396,
18,
5146,
10930,
5621,
3639,
289,
3639,
309,
12,
4652,
2396,
422,
446,
13,
288,
5411,
1794,
2355,
2396,
273,
394,
423,
7303,
3050,
1076,
12,
2704,
1033,
8526,
12528,
4652,
461,
3113,
315,
3662,
1841,
461,
3113,
315,
5417,
461,
1290,
1396,
6,
22938,
3639,
289,
469,
288,
5411,
1794,
2355,
2396,
273,
1794,
2396,
18,
5146,
10930,
5621,
3639,
289,
3639,
309,
2932,
4619,
9654,
14963,
12,
2472,
18,
4146,
1435,
3719,
288,
5411,
1794,
2355,
2396,
18,
1289,
921,
2932,
291,
49,
10018,
8863,
3639,
289,
3639,
309,
2932,
1098,
9654,
14963,
12,
2472,
18,
4146,
1435,
3719,
288,
5411,
1794,
2355,
2396,
18,
1289,
921,
2932,
4468,
2520,
30237,
8863,
5411,
1794,
2355,
2396,
18,
1289,
921,
2932,
3804,
653,
1290,
682,
8863,
3639,
289,
3639,
777,
2396,
273,
394,
423,
7303,
3050,
10905,
5621,
3639,
423,
7303,
3050,
10905,
4085,
273,
394,
423,
7303,
3050,
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,
4232,
40,
22,
59,
1042,
10905,
12,
780,
1363,
1750,
461,
16,
11472,
1076,
1363,
2396,
16,
11472,
1076,
1794,
2396,
13,
288,
3639,
389,
2433,
1750,
273,
1363,
1750,
461,
31,
3639,
819,
273,
394,
463,
22,
59,
1042,
5621,
3639,
819,
18,
542,
9791,
1964,
12,
2433,
1750,
1769,
3639,
309,
12,
2433,
2396,
422,
446,
13,
288,
5411,
1363,
2355,
2396,
273,
394,
423,
7303,
3050,
1076,
12,
2704,
1033,
8526,
12528,
2433,
3611,
461,
15937,
5417,
1396,
2396,
6,
22938,
3639,
289,
469,
288,
5411,
1363,
2355,
2396,
273,
1363,
2396,
18,
5146,
10930,
5621,
3639,
289,
3639,
309,
12,
4652,
2396,
422,
446,
13,
288,
5411,
1794,
2355,
2396,
273,
394,
423,
2
] |
return keywordLabels; | return keywordLabelCache; | public Collection getKeywordLabels() { if(keywordReferences == null) return Collections.EMPTY_LIST; // TODO: this value should be cached and the keywords extension point // should be monitored for changes. Doing this will require adding // lifecycle to this class so that listeners can be cleaned up. Collection keywordLabels = new ArrayList(keywordReferences.size()); Iterator referenceIterator = keywordReferences.iterator(); while(referenceIterator.hasNext()){ Object label = KeywordRegistry.getInstance().getKeywordLabel( (String) referenceIterator.next()); if(label != null) keywordLabels.add(label); } return keywordLabels; } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/ae3e100ae6878a705a77e44dd4224a8c8afb3d99/WorkbenchPreferenceExtensionNode.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/preferences/WorkbenchPreferenceExtensionNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2200,
3579,
1095,
5888,
1435,
288,
202,
202,
430,
12,
11041,
8221,
422,
446,
13,
1082,
202,
2463,
5737,
18,
13625,
67,
7085,
31,
9506,
202,
759,
2660,
30,
333,
460,
1410,
506,
3472,
471,
326,
7093,
2710,
1634,
202,
202,
759,
1410,
506,
28651,
364,
3478,
18,
2256,
310,
333,
903,
2583,
6534,
202,
202,
759,
6596,
358,
333,
667,
1427,
716,
4679,
848,
506,
9426,
731,
18,
202,
202,
2532,
4932,
5888,
273,
394,
2407,
12,
11041,
8221,
18,
1467,
10663,
202,
202,
3198,
2114,
3198,
273,
4932,
8221,
18,
9838,
5621,
202,
202,
17523,
12,
6180,
3198,
18,
5332,
2134,
10756,
95,
1082,
202,
921,
1433,
273,
18317,
4243,
18,
588,
1442,
7675,
588,
8736,
2224,
12,
6862,
202,
12,
780,
13,
2114,
3198,
18,
4285,
10663,
1082,
202,
430,
12,
1925,
480,
446,
13,
9506,
202,
11041,
5888,
18,
1289,
12,
1925,
1769,
202,
202,
97,
9506,
202,
2463,
4932,
5888,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2200,
3579,
1095,
5888,
1435,
288,
202,
202,
430,
12,
11041,
8221,
422,
446,
13,
1082,
202,
2463,
5737,
18,
13625,
67,
7085,
31,
9506,
202,
759,
2660,
30,
333,
460,
1410,
506,
3472,
471,
326,
7093,
2710,
1634,
202,
202,
759,
1410,
506,
28651,
364,
3478,
18,
2256,
310,
333,
903,
2583,
6534,
202,
202,
759,
6596,
358,
333,
667,
1427,
716,
4679,
848,
506,
9426,
731,
18,
202,
202,
2532,
4932,
5888,
273,
394,
2407,
12,
11041,
8221,
18,
1467,
10663,
202,
202,
3198,
2114,
3198,
273,
4932,
8221,
18,
9838,
5621,
202,
202,
17523,
12,
6180,
3198,
18,
5332,
2134,
10756,
95,
1082,
202,
921,
1433,
273,
18317,
4243,
18,
588,
1442,
7675,
2
] |
String time = prg.getHours() + ":" + prg.getMinutes(); | String time = prg.getHours() + ":" + prg.getMinutes(); | public boolean addToRecording(ElgatoConfig conf, Program prg, int length) { String date = prg.getDate().getYear() + "-" + prg.getDate().getMonth() + "-" + prg.getDate().getDayOfMonth(); String time = prg.getHours() + ":" + prg.getMinutes(); String call = CREATERECORDING.replaceAll("\\{0\\}", date); call = call.replaceAll("\\{1\\}", time); call = call.replaceAll("\\{2\\}", Integer.toString(length)); call = call.replaceAll("\\{3\\}", prg.getTitle()); call = call.replaceAll("\\{4\\}", Integer.toString(conf.getElgatoChannel(prg.getChannel()).getNumber())); call = call.replaceAll("\\{5\\}", prg.getShortInfo().replaceAll("\"", "\\\\\\\\\"").replace('\n', ' ')); String res = null; try { res = mAppleScript.executeScript(call); } catch (IOException e) { e.printStackTrace(); } if (res == null) return false; if (res.startsWith("program id")) return true; return false; } | 9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/6a7f3fa6ec762afb287b76aa3547a18af96f4474/ElgatoConnection.java/clean/tvbrowser/src/captureplugin/drivers/elgatodriver/ElgatoConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
9604,
21037,
12,
4958,
75,
31093,
809,
2195,
16,
13586,
846,
75,
16,
509,
769,
13,
288,
565,
514,
1509,
273,
846,
75,
18,
588,
1626,
7675,
588,
5593,
1435,
397,
7514,
397,
846,
75,
18,
588,
1626,
7675,
588,
5445,
1435,
397,
7514,
397,
846,
75,
18,
588,
1626,
7675,
588,
4245,
14941,
5621,
565,
514,
813,
273,
846,
75,
18,
588,
14910,
1435,
397,
6153,
397,
846,
75,
18,
588,
13050,
5621,
565,
514,
745,
273,
9666,
13641,
7228,
916,
40,
1360,
18,
2079,
1595,
2932,
1695,
95,
20,
1695,
1532,
16,
1509,
1769,
565,
745,
273,
745,
18,
2079,
1595,
2932,
1695,
95,
21,
1695,
1532,
16,
813,
1769,
565,
745,
273,
745,
18,
2079,
1595,
2932,
1695,
95,
22,
1695,
1532,
16,
2144,
18,
10492,
12,
2469,
10019,
565,
745,
273,
745,
18,
2079,
1595,
2932,
1695,
95,
23,
1695,
1532,
16,
846,
75,
18,
588,
4247,
10663,
565,
745,
273,
745,
18,
2079,
1595,
2932,
1695,
95,
24,
1695,
1532,
16,
2144,
18,
10492,
12,
3923,
18,
588,
4958,
75,
31093,
2909,
12,
683,
75,
18,
588,
2909,
1435,
2934,
588,
1854,
1435,
10019,
565,
745,
273,
745,
18,
2079,
1595,
2932,
1695,
95,
25,
1695,
1532,
16,
846,
75,
18,
588,
4897,
966,
7675,
2079,
1595,
2932,
2412,
3113,
1548,
13011,
13011,
3660,
2934,
2079,
2668,
64,
82,
2187,
296,
8624,
1769,
3639,
514,
400,
273,
446,
31,
565,
775,
288,
3639,
400,
273,
312,
1294,
1802,
3651,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
9604,
21037,
12,
4958,
75,
31093,
809,
2195,
16,
13586,
846,
75,
16,
509,
769,
13,
288,
565,
514,
1509,
273,
846,
75,
18,
588,
1626,
7675,
588,
5593,
1435,
397,
7514,
397,
846,
75,
18,
588,
1626,
7675,
588,
5445,
1435,
397,
7514,
397,
846,
75,
18,
588,
1626,
7675,
588,
4245,
14941,
5621,
565,
514,
813,
273,
846,
75,
18,
588,
14910,
1435,
397,
6153,
397,
846,
75,
18,
588,
13050,
5621,
565,
514,
745,
273,
9666,
13641,
7228,
916,
40,
1360,
18,
2079,
1595,
2932,
1695,
95,
20,
1695,
1532,
16,
1509,
1769,
565,
745,
273,
745,
18,
2079,
1595,
2932,
1695,
95,
21,
1695,
1532,
16,
813,
1769,
565,
745,
273,
745,
2
] |
public static void setLookAndFeel(LookAndFeel newLookAndFeel) throws UnsupportedLookAndFeelException { if (newLookAndFeel != null && ! newLookAndFeel.isSupportedLookAndFeel()) throw new UnsupportedLookAndFeelException(newLookAndFeel.getName()); LookAndFeel oldLookAndFeel = currentLookAndFeel; if (oldLookAndFeel != null) oldLookAndFeel.uninitialize(); // Set the current default look and feel using a LookAndFeel object. currentLookAndFeel = newLookAndFeel; if (newLookAndFeel != null) { newLookAndFeel.initialize(); currentUIDefaults = newLookAndFeel.getDefaults(); } else { currentUIDefaults = null; } listeners.firePropertyChange("lookAndFeel", oldLookAndFeel, newLookAndFeel); //revalidate(); //repaint(); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e8a49a412752cdcc88a774cac2de160a23c6f550/UIManager.java/buggy/core/src/classpath/javax/javax/swing/UIManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
6459,
542,
9794,
1876,
2954,
292,
12,
9794,
1876,
2954,
292,
2704,
9794,
1876,
2954,
292,
13,
15069,
8544,
9794,
1876,
2954,
292,
503,
95,
430,
12,
2704,
9794,
1876,
2954,
292,
5,
33,
2011,
10,
10,
5,
2704,
9794,
1876,
2954,
292,
18,
291,
7223,
9794,
1876,
2954,
292,
10756,
12849,
2704,
8544,
9794,
1876,
2954,
292,
503,
12,
2704,
9794,
1876,
2954,
292,
18,
17994,
10663,
9794,
1876,
2954,
292,
1673,
9794,
1876,
2954,
292,
33,
2972,
9794,
1876,
2954,
292,
31,
430,
12,
1673,
9794,
1876,
2954,
292,
5,
33,
2011,
13,
1673,
9794,
1876,
2954,
292,
18,
318,
11160,
5621,
759,
694,
451,
557,
3761,
1886,
7330,
464,
3030,
292,
9940,
69,
9794,
1876,
2954,
292,
1612,
18,
2972,
9794,
1876,
2954,
292,
33,
2704,
9794,
1876,
2954,
292,
31,
430,
12,
2704,
9794,
1876,
2954,
292,
5,
33,
2011,
15329,
2704,
9794,
1876,
2954,
292,
18,
11160,
5621,
2972,
3060,
73,
643,
87,
33,
2704,
9794,
1876,
2954,
292,
18,
588,
7019,
5621,
97,
12107,
95,
2972,
3060,
73,
643,
87,
33,
2011,
31,
97,
16072,
18,
12179,
1396,
3043,
2932,
7330,
1876,
2954,
292,
3113,
1673,
9794,
1876,
2954,
292,
16,
2704,
9794,
1876,
2954,
292,
1769,
759,
266,
5662,
5621,
759,
14462,
1598,
5621,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
6459,
542,
9794,
1876,
2954,
292,
12,
9794,
1876,
2954,
292,
2704,
9794,
1876,
2954,
292,
13,
15069,
8544,
9794,
1876,
2954,
292,
503,
95,
430,
12,
2704,
9794,
1876,
2954,
292,
5,
33,
2011,
10,
10,
5,
2704,
9794,
1876,
2954,
292,
18,
291,
7223,
9794,
1876,
2954,
292,
10756,
12849,
2704,
8544,
9794,
1876,
2954,
292,
503,
12,
2704,
9794,
1876,
2954,
292,
18,
17994,
10663,
9794,
1876,
2954,
292,
1673,
9794,
1876,
2954,
292,
33,
2972,
9794,
1876,
2954,
292,
31,
430,
12,
1673,
9794,
1876,
2954,
292,
5,
33,
2011,
13,
1673,
9794,
1876,
2954,
292,
18,
318,
11160,
5621,
759,
694,
451,
557,
3761,
1886,
7330,
464,
3030,
292,
9940,
69,
9794,
2
] | ||
case 'y': | case 'o': | public DFA.State transition(IntStream input) throws RecognitionException { switch ( input.LA(1) ) { case 'y': return s53; case 'r': return s54; case 'o': return s55; default: return s45; } } | 31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/024138fd0e08f5f4cd91a30959fe962d30fec435/JavaParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParserLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
463,
2046,
18,
1119,
6007,
12,
1702,
1228,
810,
13,
1216,
9539,
288,
7734,
1620,
261,
810,
18,
2534,
12,
21,
13,
262,
288,
7734,
648,
296,
83,
4278,
10792,
327,
272,
8643,
31,
7734,
648,
296,
86,
4278,
10792,
327,
272,
6564,
31,
7734,
648,
296,
83,
4278,
10792,
327,
272,
2539,
31,
7734,
805,
30,
10792,
327,
272,
7950,
31,
540,
202,
3639,
289,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2398,
1071,
463,
2046,
18,
1119,
6007,
12,
1702,
1228,
810,
13,
1216,
9539,
288,
7734,
1620,
261,
810,
18,
2534,
12,
21,
13,
262,
288,
7734,
648,
296,
83,
4278,
10792,
327,
272,
8643,
31,
7734,
648,
296,
86,
4278,
10792,
327,
272,
6564,
31,
7734,
648,
296,
83,
4278,
10792,
327,
272,
2539,
31,
7734,
805,
30,
10792,
327,
272,
7950,
31,
540,
202,
3639,
289,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
int w = 480; int h = 156; | int w = 480; int h = 156; | vWindow(String title) { // new vWindow(s) int w = 480; // default width // #%#%#%#??? int h = 156; // default height // #%#%#%#??? c = new wCanvas(this, title, w, h); wnum = ++wcount; a = c.getGraphics(); b = c.i.getGraphics(); gnum = ++gcount; // set the usual defaults fg = wColor.Black; bg = wColor.White; Font(iNew.String(iConfig.FontName));} | 4078 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4078/2b65dad4348487af766c7087e324e86d99c944b8/vWindow.java/buggy/jcon/vWindow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
331,
3829,
12,
780,
2077,
13,
288,
9506,
202,
759,
394,
331,
3829,
12,
87,
13,
3639,
509,
341,
273,
1059,
3672,
31,
202,
759,
805,
1835,
202,
759,
31974,
7,
9,
7,
9,
7,
14646,
35,
565,
509,
366,
273,
404,
4313,
31,
202,
759,
805,
2072,
202,
759,
31974,
7,
9,
7,
9,
7,
14646,
35,
565,
276,
273,
394,
341,
12971,
12,
2211,
16,
2077,
16,
341,
16,
366,
1769,
565,
341,
2107,
273,
965,
91,
1883,
31,
565,
279,
273,
276,
18,
588,
17558,
5621,
565,
324,
273,
276,
18,
77,
18,
588,
17558,
5621,
565,
314,
2107,
273,
965,
75,
1883,
31,
565,
368,
444,
326,
25669,
3467,
565,
10186,
273,
341,
2957,
18,
13155,
31,
565,
7611,
273,
341,
2957,
18,
13407,
31,
565,
10063,
12,
77,
1908,
18,
780,
12,
77,
809,
18,
5711,
461,
10019,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
331,
3829,
12,
780,
2077,
13,
288,
9506,
202,
759,
394,
331,
3829,
12,
87,
13,
3639,
509,
341,
273,
1059,
3672,
31,
202,
759,
805,
1835,
202,
759,
31974,
7,
9,
7,
9,
7,
14646,
35,
565,
509,
366,
273,
404,
4313,
31,
202,
759,
805,
2072,
202,
759,
31974,
7,
9,
7,
9,
7,
14646,
35,
565,
276,
273,
394,
341,
12971,
12,
2211,
16,
2077,
16,
341,
16,
366,
1769,
565,
341,
2107,
273,
965,
91,
1883,
31,
565,
279,
273,
276,
18,
588,
17558,
5621,
565,
324,
273,
276,
18,
77,
18,
588,
17558,
5621,
565,
314,
2107,
273,
965,
75,
1883,
31,
565,
368,
444,
326,
25669,
3467,
565,
10186,
273,
341,
2957,
18,
2
] |
} | } | public synchronized Object clone() { SQLQueryer obj = null; try { obj = (SQLQueryer)super.clone(); obj.queryParameter = this.queryParameter; obj.queryPane = this.queryPane; obj.resultsPane = this.resultsPane; obj.query = this.query; obj.displayForm = this.displayForm; obj.resultName = this.resultName; } catch(Exception ex) { ex.printStackTrace(System.err); } return obj; } | 11362 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11362/3ca1d274c003725a3259e54bc06f6d9925e3fd23/SQLQueryer.java/buggy/src/java/com/idega/development/presentation/SQLQueryer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
1033,
3236,
1435,
288,
565,
3063,
1138,
264,
1081,
273,
446,
31,
565,
775,
288,
1377,
1081,
273,
261,
3997,
1138,
264,
13,
9565,
18,
14056,
5621,
1377,
1081,
18,
2271,
1662,
273,
333,
18,
2271,
1662,
31,
1377,
1081,
18,
2271,
8485,
273,
333,
18,
2271,
8485,
31,
1377,
1081,
18,
4717,
8485,
273,
333,
18,
4717,
8485,
31,
1377,
1081,
18,
2271,
273,
333,
18,
2271,
31,
1377,
1081,
18,
5417,
1204,
273,
333,
18,
5417,
1204,
31,
1377,
1081,
18,
2088,
461,
273,
333,
18,
2088,
461,
31,
565,
289,
565,
1044,
12,
503,
431,
13,
288,
1377,
431,
18,
1188,
6332,
12,
3163,
18,
370,
1769,
565,
289,
565,
327,
1081,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
1033,
3236,
1435,
288,
565,
3063,
1138,
264,
1081,
273,
446,
31,
565,
775,
288,
1377,
1081,
273,
261,
3997,
1138,
264,
13,
9565,
18,
14056,
5621,
1377,
1081,
18,
2271,
1662,
273,
333,
18,
2271,
1662,
31,
1377,
1081,
18,
2271,
8485,
273,
333,
18,
2271,
8485,
31,
1377,
1081,
18,
4717,
8485,
273,
333,
18,
4717,
8485,
31,
1377,
1081,
18,
2271,
273,
333,
18,
2271,
31,
1377,
1081,
18,
5417,
1204,
273,
333,
18,
5417,
1204,
31,
1377,
1081,
18,
2088,
461,
273,
333,
18,
2088,
461,
31,
565,
289,
565,
1044,
12,
503,
431,
13,
288,
1377,
431,
18,
1188,
6332,
12,
3163,
18,
370,
1769,
565,
289,
565,
327,
1081,
31,
2
] |
if (filesEqual && editorsEqual) { return; | if (!filesEqual || !editorsEqual) { final FileEditorManagerEvent event = new FileEditorManagerEvent(this, oldSelectedFile, oldSelectedEditor, newSelectedFile, newSelectedEditor); myDispatcher.getMulticaster().selectionChanged(event); | public void fireSelectionChanged(final EditorComposite oldSelectedComposite, final EditorComposite newSelectedComposite) { final VirtualFile oldSelectedFile = oldSelectedComposite != null ? oldSelectedComposite.getFile() : null; final VirtualFile newSelectedFile = newSelectedComposite != null ? newSelectedComposite.getFile() : null; final FileEditor oldSelectedEditor = oldSelectedComposite != null ? oldSelectedComposite.getSelectedEditor() : null; final FileEditor newSelectedEditor = newSelectedComposite != null ? newSelectedComposite.getSelectedEditor() : null; final boolean filesEqual = oldSelectedFile == null ? newSelectedFile == null : oldSelectedFile.equals(newSelectedFile); final boolean editorsEqual = oldSelectedEditor == null ? newSelectedEditor == null : oldSelectedEditor.equals(newSelectedEditor); if (filesEqual && editorsEqual) { // no need to notify: files are the same return; } if (oldSelectedComposite != null) { oldSelectedComposite.getSelectedEditor().deselectNotify(); } final FileEditorManagerEvent event = new FileEditorManagerEvent(this, oldSelectedFile, oldSelectedEditor, newSelectedFile, newSelectedEditor); myDispatcher.getMulticaster().selectionChanged(event); } | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/0a1e2ad503f9416ec2ed56b273a13ae159c4afd8/FileEditorManagerImpl.java/clean/source/com/intellij/openapi/fileEditor/impl/FileEditorManagerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
4452,
6233,
5033,
12,
6385,
18451,
9400,
1592,
7416,
9400,
16,
727,
18451,
9400,
394,
7416,
9400,
13,
288,
565,
727,
7269,
812,
1592,
7416,
812,
273,
1592,
7416,
9400,
480,
446,
692,
1592,
7416,
9400,
18,
29925,
1435,
294,
446,
31,
565,
727,
7269,
812,
394,
7416,
812,
273,
394,
7416,
9400,
480,
446,
692,
394,
7416,
9400,
18,
29925,
1435,
294,
446,
31,
565,
727,
1387,
6946,
1592,
7416,
6946,
273,
1592,
7416,
9400,
480,
446,
692,
1592,
7416,
9400,
18,
588,
7416,
6946,
1435,
294,
446,
31,
565,
727,
1387,
6946,
394,
7416,
6946,
273,
394,
7416,
9400,
480,
446,
692,
394,
7416,
9400,
18,
588,
7416,
6946,
1435,
294,
446,
31,
565,
727,
1250,
1390,
5812,
273,
1592,
7416,
812,
422,
446,
692,
394,
7416,
812,
422,
446,
294,
1592,
7416,
812,
18,
14963,
12,
2704,
7416,
812,
1769,
565,
727,
1250,
29431,
5812,
273,
1592,
7416,
6946,
422,
446,
692,
394,
7416,
6946,
422,
446,
294,
1592,
7416,
6946,
18,
14963,
12,
2704,
7416,
6946,
1769,
565,
309,
261,
2354,
5812,
597,
29431,
5812,
13,
288,
1377,
368,
1158,
1608,
358,
5066,
30,
1390,
854,
326,
1967,
1377,
327,
31,
565,
289,
565,
309,
261,
1673,
7416,
9400,
480,
446,
13,
288,
1377,
1592,
7416,
9400,
18,
588,
7416,
6946,
7675,
5489,
13759,
9168,
5621,
565,
289,
565,
727,
1387,
6946,
1318,
1133,
871,
273,
394,
1387,
6946,
1318,
1133,
12,
2211,
16,
1592,
7416,
812,
16,
1592,
7416,
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,
4452,
6233,
5033,
12,
6385,
18451,
9400,
1592,
7416,
9400,
16,
727,
18451,
9400,
394,
7416,
9400,
13,
288,
565,
727,
7269,
812,
1592,
7416,
812,
273,
1592,
7416,
9400,
480,
446,
692,
1592,
7416,
9400,
18,
29925,
1435,
294,
446,
31,
565,
727,
7269,
812,
394,
7416,
812,
273,
394,
7416,
9400,
480,
446,
692,
394,
7416,
9400,
18,
29925,
1435,
294,
446,
31,
565,
727,
1387,
6946,
1592,
7416,
6946,
273,
1592,
7416,
9400,
480,
446,
692,
1592,
7416,
9400,
18,
588,
7416,
6946,
1435,
294,
446,
31,
565,
727,
1387,
6946,
394,
7416,
6946,
273,
394,
7416,
9400,
480,
446,
692,
394,
7416,
9400,
18,
588,
7416,
6946,
1435,
294,
446,
31,
565,
2
] |
last = consume(); storageClass = IASTDeclSpecifier.sc_auto; break; | last = consume(); storageClass = IASTDeclSpecifier.sc_auto; break; | protected ICPPASTDeclSpecifier declSpecifierSeq(boolean parm, boolean tryConstructor) throws BacktrackException, EndOfFileException { IToken firstToken = LA(1); Flags flags = new Flags(parm, tryConstructor); IToken last = null; boolean isInline = false, isVirtual = false, isExplicit = false, isFriend = false; boolean isConst = false, isVolatile = false, isRestrict = false; boolean isLong = false, isShort = false, isUnsigned = false, isSigned = false, isLongLong = false; boolean isTypename = false; int storageClass = IASTDeclSpecifier.sc_unspecified; int simpleType = IASTSimpleDeclSpecifier.t_unspecified; ITokenDuple duple = null; ICPPASTCompositeTypeSpecifier classSpec = null; ICPPASTElaboratedTypeSpecifier elabSpec = null; IASTEnumerationSpecifier enumSpec = null; IASTExpression typeofExpression = null; int startOffset = firstToken.getOffset(); declSpecifiers: for (;;) { switch (LT(1)) { case IToken.t_inline: last = consume(); isInline = true; break; case IToken.t_typedef: storageClass = IASTDeclSpecifier.sc_typedef; last = consume(); break; case IToken.t_auto: last = consume(); storageClass = IASTDeclSpecifier.sc_auto; break; case IToken.t_register: last = consume(); storageClass = IASTDeclSpecifier.sc_register; break; case IToken.t_static: storageClass = IASTDeclSpecifier.sc_static; last = consume(); break; case IToken.t_extern: storageClass = IASTDeclSpecifier.sc_extern; last = consume(); break; case IToken.t_mutable: storageClass = ICPPASTDeclSpecifier.sc_mutable; last = consume(); break; case IToken.t_virtual: isVirtual = true; last = consume(); break; case IToken.t_explicit: isExplicit = true; last = consume(); break; case IToken.t_friend: isFriend = true; last = consume(); break; case IToken.t_const: isConst = true; last = consume(); break; case IToken.t_volatile: isVolatile = true; last = consume(); break; case IToken.t_restrict: if (!supportRestrict) { IToken la = LA(1); throwBacktrack(la.getOffset(), la.getEndOffset() - la.getOffset()); } isRestrict = true; last = consume(); break; case IToken.t_signed: isSigned = true; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_unsigned: isUnsigned = true; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_short: isShort = true; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_long: if (isLong && supportLongLong) { isLong = false; isLongLong = true; } else isLong = true; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t__Complex: if (!supportComplex) { IToken la = LA(1); throwBacktrack(la.getOffset(), la.getEndOffset() - la.getOffset()); } last = consume(IToken.t__Complex); simpleType = IGPPASTSimpleDeclSpecifier.t_Complex; break; case IToken.t__Imaginary: if (!supportComplex) { IToken la = LA(1); throwBacktrack(la.getOffset(), la.getLength()); } last = consume(IToken.t__Imaginary); simpleType = IGPPASTSimpleDeclSpecifier.t_Imaginary; break; case IToken.t_char: simpleType = IASTSimpleDeclSpecifier.t_char; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_wchar_t: simpleType = ICPPASTSimpleDeclSpecifier.t_wchar_t; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_bool: simpleType = ICPPASTSimpleDeclSpecifier.t_bool; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_int: flags.setEncounteredRawType(true); last = consume(); simpleType = IASTSimpleDeclSpecifier.t_int; break; case IToken.t_float: simpleType = IASTSimpleDeclSpecifier.t_float; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_double: simpleType = IASTSimpleDeclSpecifier.t_double; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_void: simpleType = IASTSimpleDeclSpecifier.t_void; flags.setEncounteredRawType(true); last = consume(); break; case IToken.t_typename: isTypename = true; last = consume(IToken.t_typename); duple = name(); flags.setEncounteredTypename(true); break; case IToken.tCOLONCOLON: case IToken.tIDENTIFIER: // TODO - Kludgy way to handle constructors/destructors if (flags.haveEncounteredRawType()) break declSpecifiers; if (parm && flags.haveEncounteredTypename()) break declSpecifiers; if (lookAheadForConstructorOrOperator(flags)) break declSpecifiers; if (lookAheadForDeclarator(flags)) break declSpecifiers; duple = name(); last = duple.getLastToken(); flags.setEncounteredTypename(true); break; case IToken.t_class: case IToken.t_struct: case IToken.t_union: if (flags.haveEncounteredTypename()) throwBacktrack(LA(1)); try { classSpec = classSpecifier(); flags.setEncounteredTypename(true); break; } catch (BacktrackException bt) { elabSpec = elaboratedTypeSpecifier(); flags.setEncounteredTypename(true); break; } case IToken.t_enum: if (flags.haveEncounteredTypename()) throwBacktrack(LA(1)); try { enumSpec = enumSpecifier(); flags.setEncounteredTypename(true); break; } catch (BacktrackException bt) { // this is an elaborated class specifier elabSpec = elaboratedTypeSpecifier(); flags.setEncounteredTypename(true); break; } default: if (supportTypeOfUnaries && LT(1) == IGCCToken.t_typeof) { typeofExpression = unaryTypeofExpression(); if (typeofExpression != null) { flags.setEncounteredTypename(true); } } break declSpecifiers; } } if (elabSpec != null) { elabSpec.setConst(isConst); elabSpec.setVolatile(isVolatile); if (elabSpec instanceof IGPPASTDeclSpecifier) ((IGPPASTDeclSpecifier) elabSpec).setRestrict(isRestrict); elabSpec.setFriend(isFriend); elabSpec.setInline(isInline); elabSpec.setStorageClass(storageClass); elabSpec.setVirtual(isVirtual); elabSpec.setExplicit(isExplicit); ((CPPASTNode) elabSpec).setOffsetAndLength(startOffset, calculateEndOffset(elabSpec) - startOffset); return elabSpec; } if (enumSpec != null) { enumSpec.setConst(isConst); enumSpec.setVolatile(isVolatile); if (enumSpec instanceof IGPPASTDeclSpecifier) ((IGPPASTDeclSpecifier) enumSpec).setRestrict(isRestrict); ((ICPPASTDeclSpecifier) enumSpec).setFriend(isFriend); ((ICPPASTDeclSpecifier) enumSpec).setVirtual(isVirtual); ((ICPPASTDeclSpecifier) enumSpec).setExplicit(isExplicit); enumSpec.setInline(isInline); enumSpec.setStorageClass(storageClass); ((CPPASTNode) enumSpec).setOffsetAndLength(startOffset, calculateEndOffset(enumSpec) - startOffset); return (ICPPASTDeclSpecifier) enumSpec; } if (classSpec != null) { classSpec.setConst(isConst); classSpec.setVolatile(isVolatile); if (classSpec instanceof IGPPASTDeclSpecifier) ((IGPPASTDeclSpecifier) classSpec).setRestrict(isRestrict); classSpec.setFriend(isFriend); classSpec.setInline(isInline); classSpec.setStorageClass(storageClass); classSpec.setVirtual(isVirtual); classSpec.setExplicit(isExplicit); ((CPPASTNode) classSpec).setOffsetAndLength(startOffset, calculateEndOffset(classSpec) - startOffset); return classSpec; } if (duple != null) { ICPPASTNamedTypeSpecifier nameSpec = (ICPPASTNamedTypeSpecifier)createNamedTypeSpecifier(); nameSpec.setIsTypename(isTypename); IASTName name = createName(duple); nameSpec.setName(name); name.setParent(nameSpec); name.setPropertyInParent(IASTNamedTypeSpecifier.NAME); nameSpec.setConst(isConst); nameSpec.setVolatile(isVolatile); if (nameSpec instanceof IGPPASTDeclSpecifier) ((IGPPASTDeclSpecifier) nameSpec).setRestrict(isRestrict); nameSpec.setFriend(isFriend); nameSpec.setInline(isInline); nameSpec.setStorageClass(storageClass); nameSpec.setVirtual(isVirtual); nameSpec.setExplicit(isExplicit); ((CPPASTNode) nameSpec).setOffsetAndLength(startOffset, last .getEndOffset() - startOffset); return nameSpec; } ICPPASTSimpleDeclSpecifier simpleDeclSpec = null; if (isLongLong || typeofExpression != null) { simpleDeclSpec = createGPPSimpleDeclSpecifier(); ((IGPPASTSimpleDeclSpecifier) simpleDeclSpec).setLongLong(isLongLong); if (typeofExpression != null) { ((IGPPASTSimpleDeclSpecifier) simpleDeclSpec) .setTypeofExpression(typeofExpression); typeofExpression.setParent(simpleDeclSpec); typeofExpression .setPropertyInParent(IGPPASTSimpleDeclSpecifier.TYPEOF_EXPRESSION); } } else simpleDeclSpec = createSimpleDeclSpecifier(); int l = last != null ? last.getEndOffset() - firstToken.getOffset() : 0; ((ASTNode) simpleDeclSpec).setOffsetAndLength(firstToken.getOffset(), l); simpleDeclSpec.setConst(isConst); simpleDeclSpec.setVolatile(isVolatile); if (simpleDeclSpec instanceof IGPPASTDeclSpecifier) ((IGPPASTDeclSpecifier) simpleDeclSpec).setRestrict(isRestrict); simpleDeclSpec.setFriend(isFriend); simpleDeclSpec.setInline(isInline); simpleDeclSpec.setStorageClass(storageClass); simpleDeclSpec.setVirtual(isVirtual); simpleDeclSpec.setExplicit(isExplicit); simpleDeclSpec.setType(simpleType); simpleDeclSpec.setLong(isLong); simpleDeclSpec.setShort(isShort); simpleDeclSpec.setUnsigned(isUnsigned); simpleDeclSpec.setSigned(isSigned); return simpleDeclSpec; } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/8b59056395eb6c26e898030e7e1cd1b78d4db999/GNUCPPSourceParser.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
467,
4258,
4066,
882,
3456,
21416,
3496,
21416,
6926,
12,
6494,
19924,
16,
540,
1250,
775,
6293,
13,
1216,
4297,
4101,
503,
16,
4403,
951,
812,
503,
288,
1377,
467,
1345,
1122,
1345,
273,
2928,
12,
21,
1769,
1377,
10104,
2943,
273,
394,
10104,
12,
1065,
81,
16,
775,
6293,
1769,
1377,
467,
1345,
1142,
273,
446,
31,
1377,
1250,
8048,
1369,
273,
629,
16,
353,
6466,
273,
629,
16,
353,
17186,
273,
629,
16,
17646,
7522,
273,
629,
31,
1377,
1250,
353,
9661,
273,
629,
16,
353,
17431,
20295,
273,
629,
16,
353,
29371,
273,
629,
31,
1377,
1250,
353,
3708,
273,
629,
16,
353,
4897,
273,
629,
16,
353,
13290,
273,
629,
16,
353,
12294,
273,
629,
16,
353,
3708,
3708,
273,
629,
31,
1377,
1250,
353,
18488,
1069,
273,
629,
31,
1377,
509,
2502,
797,
273,
467,
9053,
3456,
21416,
18,
1017,
67,
318,
13827,
31,
1377,
509,
4143,
559,
273,
467,
9053,
5784,
3456,
21416,
18,
88,
67,
318,
13827,
31,
1377,
467,
1345,
40,
2268,
302,
2268,
273,
446,
31,
1377,
467,
4258,
4066,
882,
9400,
559,
21416,
667,
1990,
273,
446,
31,
1377,
467,
4258,
4066,
882,
4958,
378,
280,
690,
559,
21416,
415,
378,
1990,
273,
446,
31,
1377,
467,
9053,
21847,
21416,
2792,
1990,
273,
446,
31,
1377,
467,
9053,
2300,
2716,
2300,
273,
446,
31,
1377,
509,
18245,
273,
1122,
1345,
18,
588,
2335,
5621,
1377,
3496,
1990,
3383,
30,
364,
261,
25708,
13,
288,
540,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
467,
4258,
4066,
882,
3456,
21416,
3496,
21416,
6926,
12,
6494,
19924,
16,
540,
1250,
775,
6293,
13,
1216,
4297,
4101,
503,
16,
4403,
951,
812,
503,
288,
1377,
467,
1345,
1122,
1345,
273,
2928,
12,
21,
1769,
1377,
10104,
2943,
273,
394,
10104,
12,
1065,
81,
16,
775,
6293,
1769,
1377,
467,
1345,
1142,
273,
446,
31,
1377,
1250,
8048,
1369,
273,
629,
16,
353,
6466,
273,
629,
16,
353,
17186,
273,
629,
16,
17646,
7522,
273,
629,
31,
1377,
1250,
353,
9661,
273,
629,
16,
353,
17431,
20295,
273,
629,
16,
353,
29371,
273,
629,
31,
1377,
1250,
353,
3708,
273,
629,
16,
353,
4897,
273,
629,
16,
353,
13290,
273,
629,
16,
353,
12294,
2
] |
try { broker = pool.get(); if (params.size() == 0) docs = broker.getAllDocuments(context.getUser()); else { docs = new DocumentSet(); String next; DocumentImpl doc; for (int i = 0; i < params.size(); i++) { next = ((PathExpr) params.elementAt(i)).getLiteralValue(); doc = (DocumentImpl) broker.getDocument(context.getUser(), next); if (doc != null) docs.add(doc); } | if (params.size() == 0) docs = context.getBroker().getAllDocuments(); else { docs = new DocumentSet(); String next; DocumentImpl doc; for (int i = 0; i < params.size(); i++) { next = ((PathExpr) params.elementAt(i)).getLiteralValue(); doc = (DocumentImpl) broker.getDocument(next); if (doc != null) docs.add(doc); | public static Expression createFunction( BrokerPool pool, StaticContext context, PathExpr parent, String fnName, Vector params) throws EXistException, PermissionDeniedException { Expression step = null; if (fnName.equals("document")) { DocumentSet docs = null; DBBroker broker = null; try { broker = pool.get(); if (params.size() == 0) docs = broker.getAllDocuments(context.getUser()); else { docs = new DocumentSet(); String next; DocumentImpl doc; for (int i = 0; i < params.size(); i++) { next = ((PathExpr) params.elementAt(i)).getLiteralValue(); doc = (DocumentImpl) broker.getDocument(context.getUser(), next); if (doc != null) docs.add(doc); } } } finally { pool.release(broker); } step = new RootNode(pool); parent.add(step); parent.setDocumentSet(docs); } if (fnName.equals("collection") || fnName.equals("xcollection")) { DocumentSet docs = new DocumentSet(); DBBroker broker = null; boolean inclusive = fnName.equals("collection"); try { broker = pool.get(); String next; DocumentSet temp; for (int i = 0; i < params.size(); i++) { next = ((PathExpr) params.elementAt(i)).getLiteralValue(); temp = broker.getDocumentsByCollection(context.getUser(), next, inclusive); docs.addAll(temp); } } finally { pool.release(broker); } step = new RootNode(pool); parent.add(step); parent.setDocumentSet(docs); } if (fnName.equals("doctype")) { DocumentSet docs = new DocumentSet(); DBBroker broker = null; try { broker = pool.get(); String next; DocumentSet temp; for (int i = 0; i < params.size(); i++) { next = ((PathExpr) params.elementAt(i)).getLiteralValue(); temp = broker.getDocumentsByDoctype(context.getUser(), next); docs.addAll(temp); } } finally { pool.release(broker); } step = new RootNode(pool); parent.add(step); parent.setDocumentSet(docs); } // near(node-set, string) if (fnName.equals("near")) { if (params.size() < 2) throw new IllegalArgumentException("Function near requires two arguments"); PathExpr p1 = (PathExpr) params.elementAt(1); if (p1.getLength() == 0) throw new IllegalArgumentException("Second argument to near is empty"); Expression e1 = p1.getExpression(0); if(!(e1 instanceof Literal)) throw new IllegalArgumentException("Second argument has to be a literal expression"); ExtNear near = new ExtNear(pool); near.addTerms(((Literal)e1).getLiteral()); near.setPath((PathExpr)params.elementAt(0)); step = near; parent.addPath(near); } // ends-with(node-set, string) if (fnName.equals("starts-with")) { if (params.size() < 2) throw new IllegalArgumentException("Function starts-with requires two arguments"); PathExpr p0 = (PathExpr) params.elementAt(0); PathExpr p1 = (PathExpr) params.elementAt(1); if (p1.getLength() == 0) throw new IllegalArgumentException("Second argument to starts-with is empty"); Expression e1 = p1.getExpression(0); if (e1 instanceof Literal && p0.returnsType() == Constants.TYPE_NODELIST) { Literal l = (Literal) e1; l.setLiteral(l.getLiteral() + '%'); OpEquals op = new OpEquals(pool, p0, e1, Constants.EQ); parent.addPath(op); step = op; } } // ends-with(node-set, string) if (fnName.equals("ends-with")) { if (params.size() < 2) throw new IllegalArgumentException("Function ends-with requires two arguments"); PathExpr p0 = (PathExpr) params.elementAt(0); PathExpr p1 = (PathExpr) params.elementAt(1); if (p1.getLength() == 0) throw new IllegalArgumentException("Second argument to ends-with is empty"); Expression e1 = p1.getExpression(0); if (e1 instanceof Literal && p0.returnsType() == Constants.TYPE_NODELIST) { Literal l = (Literal) e1; l.setLiteral('%' + l.getLiteral()); OpEquals op = new OpEquals(pool, p0, e1, Constants.EQ); parent.addPath(op); step = op; } } // contains(node-set, string) if (fnName.equals("contains")) { if (params.size() < 2) throw new IllegalArgumentException("Function contains requires two arguments"); PathExpr p0 = (PathExpr) params.elementAt(0); PathExpr p1 = (PathExpr) params.elementAt(1); if (p1.getLength() == 0) throw new IllegalArgumentException("Second argument to contains is empty"); Expression e1 = p1.getExpression(0); if (e1 instanceof Literal && p0.returnsType() == Constants.TYPE_NODELIST) { Literal l = (Literal) e1; l.setLiteral('%' + l.getLiteral() + '%'); OpEquals op = new OpEquals(pool, p0, e1, Constants.EQ); parent.addPath(op); step = op; } } if (step == null) { String clazz = context.getClassForFunction(fnName); if (clazz == null) throw new EXistException("function " + fnName + " not defined"); Function func = Function.createFunction(pool, clazz); parent.addPath(func); for (int i = 0; i < params.size(); i++) func.addArgument((PathExpr) params.elementAt(i)); step = func; } return step; } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/bfcf33dba9c98234a0edaa282c8909b27b6a6ac4/Util.java/buggy/src/org/exist/parser/Util.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
5371,
752,
2083,
12,
202,
202,
11194,
2864,
2845,
16,
202,
202,
5788,
1042,
819,
16,
202,
202,
743,
4742,
982,
16,
202,
202,
780,
2295,
461,
16,
202,
202,
5018,
859,
13,
202,
202,
15069,
5675,
376,
503,
16,
8509,
15877,
288,
202,
202,
2300,
2235,
273,
446,
31,
202,
202,
430,
261,
4293,
461,
18,
14963,
2932,
5457,
6,
3719,
288,
1082,
202,
2519,
694,
3270,
273,
446,
31,
1082,
202,
2290,
11194,
8625,
273,
446,
31,
1082,
202,
698,
288,
9506,
202,
21722,
273,
2845,
18,
588,
5621,
9506,
202,
430,
261,
2010,
18,
1467,
1435,
422,
374,
13,
6862,
202,
8532,
273,
8625,
18,
588,
1595,
12922,
12,
2472,
18,
588,
1299,
10663,
9506,
202,
12107,
288,
6862,
202,
8532,
273,
394,
4319,
694,
5621,
6862,
202,
780,
1024,
31,
6862,
202,
2519,
2828,
997,
31,
6862,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
859,
18,
1467,
5621,
277,
27245,
288,
25083,
202,
4285,
273,
14015,
743,
4742,
13,
859,
18,
2956,
861,
12,
77,
13,
2934,
588,
6177,
620,
5621,
25083,
202,
2434,
273,
261,
2519,
2828,
13,
8625,
18,
588,
2519,
12,
2472,
18,
588,
1299,
9334,
1024,
1769,
25083,
202,
430,
261,
2434,
480,
446,
13,
6862,
1082,
202,
8532,
18,
1289,
12,
2434,
1769,
6862,
202,
97,
9506,
202,
97,
1082,
202,
97,
3095,
288,
9506,
202,
6011,
18,
9340,
12,
21722,
1769,
1082,
202,
97,
1082,
202,
4119,
273,
394,
7450,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
5371,
752,
2083,
12,
202,
202,
11194,
2864,
2845,
16,
202,
202,
5788,
1042,
819,
16,
202,
202,
743,
4742,
982,
16,
202,
202,
780,
2295,
461,
16,
202,
202,
5018,
859,
13,
202,
202,
15069,
5675,
376,
503,
16,
8509,
15877,
288,
202,
202,
2300,
2235,
273,
446,
31,
202,
202,
430,
261,
4293,
461,
18,
14963,
2932,
5457,
6,
3719,
288,
1082,
202,
2519,
694,
3270,
273,
446,
31,
1082,
202,
2290,
11194,
8625,
273,
446,
31,
1082,
202,
698,
288,
9506,
202,
21722,
273,
2845,
18,
588,
5621,
9506,
202,
430,
261,
2010,
18,
1467,
1435,
422,
374,
13,
6862,
202,
8532,
273,
8625,
18,
588,
1595,
12922,
12,
2472,
18,
588,
2
] |
case Icode_VARINC : case Icode_VARDEC : case Token.GETVAR : case Token.SETVAR : return 1 + 1; | private static int icodeTokenLength(int icodeToken) { switch (icodeToken) { case Icode_SCOPE : case Icode_GETPROTO : case Icode_PUSH_PARENT : case Icode_GETSCOPEPARENT : case Icode_SETPROTO : case Icode_SETPARENT : case Token.DELPROP : case Token.TYPEOF : case Token.ENTERWITH : case Token.LEAVEWITH : case Token.RETURN : case Token.RETURN_POPV : case Token.SETELEM : case Token.GETELEM : case Token.SETPROP : case Token.GETPROP : case Icode_PROPINC : case Icode_PROPDEC : case Icode_ELEMINC : case Icode_ELEMDEC : case Token.BITNOT : case Token.BITAND : case Token.BITOR : case Token.BITXOR : case Token.LSH : case Token.RSH : case Token.URSH : case Token.NOT : case Token.POS : case Token.NEG : case Token.SUB : case Token.MUL : case Token.DIV : case Token.MOD : case Token.ADD : case Token.POPV : case Token.POP : case Icode_DUP : case Icode_DUPSECOND : case Icode_SWAP : case Token.LT : case Token.GT : case Token.LE : case Token.GE : case Token.IN : case Token.INSTANCEOF : case Token.EQ : case Token.NE : case Token.SHEQ : case Token.SHNE : case Token.ZERO : case Token.ONE : case Token.NULL : case Token.THIS : case Token.THISFN : case Token.FALSE : case Token.TRUE : case Token.UNDEFINED : case Icode_CATCH: case Icode_RETUNDEF: case Icode_LITERAL_SET: case Icode_SPARE_ARRAYLIT: case Token.STRING : case Token.NAME : case Token.SETNAME : case Icode_TYPEOFNAME : case Token.BINDNAME : case Icode_NAMEINC : case Icode_NAMEDEC : case Token.CATCH_SCOPE : case Token.REGEXP : case Icode_CLOSURE : case Token.NEW : case Token.CALL : case Icode_LITERAL_NEW: case Token.NUMBER : case Token.OBJECTLIT: case Token.ARRAYLIT: case Icode_NAME_FAST_THIS : case Icode_NAME_SLOW_THIS : case Token.LOCAL_SAVE : case Icode_RETSUB : case Token.LOCAL_LOAD : case Token.ENUM_INIT : case Token.ENUM_NEXT : case Token.ENUM_ID : return 1; case Token.THROW : // source line return 1 + 2; case Icode_GOSUB : case Token.GOTO : case Token.IFEQ : case Token.IFNE : case Icode_IFEQ_POP : // target pc offset return 1 + 2; case Icode_VARINC : case Icode_VARDEC : case Token.GETVAR : case Token.SETVAR : // slot index return 1 + 1; case Icode_CALLSPECIAL : // call type // is new // line number return 1 + 1 + 1 + 2; case Icode_SHORTNUMBER : // short number return 1 + 2; case Icode_INTNUMBER : // int number return 1 + 4; case Icode_REG_STR1: // ubyte string index return 1 + 1; case Icode_REG_STR2: // ushort string index return 1 + 2; case Icode_REG_STR4: // int string index return 1 + 4; case Icode_REG_IND1: // ubyte index return 1 + 1; case Icode_REG_IND2: // ushort index return 1 + 2; case Icode_REG_IND4: // int index return 1 + 4; case Icode_LINE : // line number return 1 + 2; default: Kit.codeBug(); // Bad icodeToken return 0; } } | 12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/e89f165b2a6c9a7f52e775968615b17834e78b8f/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
509,
277,
710,
1345,
1782,
12,
474,
277,
710,
1345,
13,
565,
288,
3639,
1620,
261,
3487,
1345,
13,
288,
5411,
648,
467,
710,
67,
19444,
294,
5411,
648,
467,
710,
67,
3264,
25455,
294,
5411,
648,
467,
710,
67,
30348,
67,
14943,
294,
5411,
648,
467,
710,
67,
3264,
19444,
14943,
294,
5411,
648,
467,
710,
67,
4043,
25455,
294,
5411,
648,
467,
710,
67,
4043,
14943,
294,
5411,
648,
3155,
18,
24733,
15811,
294,
5411,
648,
3155,
18,
2399,
3932,
294,
5411,
648,
3155,
18,
12278,
9147,
294,
5411,
648,
3155,
18,
900,
26714,
9147,
294,
5411,
648,
3155,
18,
14033,
294,
5411,
648,
3155,
18,
14033,
67,
2419,
30201,
294,
5411,
648,
3155,
18,
1090,
1448,
26817,
294,
5411,
648,
3155,
18,
7113,
1448,
26817,
294,
5411,
648,
3155,
18,
4043,
15811,
294,
5411,
648,
3155,
18,
3264,
15811,
294,
5411,
648,
467,
710,
67,
15811,
23213,
294,
5411,
648,
467,
710,
67,
15811,
1639,
39,
294,
5411,
648,
467,
710,
67,
41,
900,
6236,
39,
294,
5411,
648,
467,
710,
67,
41,
26817,
1639,
39,
294,
5411,
648,
3155,
18,
15650,
4400,
294,
5411,
648,
3155,
18,
15650,
4307,
294,
5411,
648,
3155,
18,
15650,
916,
294,
5411,
648,
3155,
18,
15650,
60,
916,
294,
5411,
648,
3155,
18,
48,
2664,
294,
5411,
648,
3155,
18,
54,
2664,
294,
5411,
648,
3155,
18,
1099,
2664,
294,
5411,
648,
3155,
18,
4400,
294,
5411,
648,
3155,
18,
7057,
294,
5411,
648,
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,
509,
277,
710,
1345,
1782,
12,
474,
277,
710,
1345,
13,
565,
288,
3639,
1620,
261,
3487,
1345,
13,
288,
5411,
648,
467,
710,
67,
19444,
294,
5411,
648,
467,
710,
67,
3264,
25455,
294,
5411,
648,
467,
710,
67,
30348,
67,
14943,
294,
5411,
648,
467,
710,
67,
3264,
19444,
14943,
294,
5411,
648,
467,
710,
67,
4043,
25455,
294,
5411,
648,
467,
710,
67,
4043,
14943,
294,
5411,
648,
3155,
18,
24733,
15811,
294,
5411,
648,
3155,
18,
2399,
3932,
294,
5411,
648,
3155,
18,
12278,
9147,
294,
5411,
648,
3155,
18,
900,
26714,
9147,
294,
5411,
648,
3155,
18,
14033,
294,
5411,
648,
3155,
18,
14033,
67,
2419,
30201,
294,
5411,
648,
3155,
2
] | |
public ItemEntry(double in){ | public ItemEntry(double in) { | public ItemEntry(double in){ data = in; } | 8719 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8719/efb83d08bf3214ba362adb9486345c128a00bae7/HistogramParser.java/clean/usage/java/reports/source/src/org/globus/usage/report/common/HistogramParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
4342,
1622,
12,
9056,
316,
13,
288,
5411,
501,
273,
316,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
4342,
1622,
12,
9056,
316,
13,
288,
5411,
501,
273,
316,
31,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (setter==null) | if (setter==null) { | private Method getSetterMethod (Class c, String property, Class argType) throws SecurityException, NoSuchMethodException { if (c==null || property==null) return null; Method setter=null; try { setter = c.getMethod( "set"+ property.substring(0, 1).toUpperCase(Locale.ENGLISH) + property.substring(1), new Class[] { argType }); //$NON-NLS-1$ } catch (SecurityException e) {} catch (NoSuchMethodException e) {} if (setter==null) // allow for method invocation setter = c.getMethod(property, new Class[] { argType }); if (setter!=null && !setter.isAccessible()) setter.setAccessible(true); return setter; } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/9d125503204eb791fd5d7ba10d10960ac0bbffba/PropertyHelper.java/clean/bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/beans/PropertyHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
2985,
336,
8465,
1305,
261,
797,
276,
16,
514,
1272,
16,
1659,
1501,
559,
13,
1216,
17780,
16,
15959,
288,
202,
202,
430,
261,
71,
631,
2011,
747,
1272,
631,
2011,
13,
1875,
202,
2463,
446,
31,
202,
202,
1305,
7794,
33,
2011,
31,
202,
202,
698,
288,
1082,
202,
18062,
273,
276,
18,
588,
1305,
12,
6862,
202,
6,
542,
6,
15,
1272,
18,
28023,
12,
20,
16,
404,
2934,
869,
8915,
12,
3916,
18,
16324,
13462,
13,
397,
1272,
18,
28023,
12,
21,
3631,
394,
1659,
8526,
288,
1501,
559,
15549,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
3196,
202,
14683,
261,
24918,
425,
13,
2618,
3196,
202,
14683,
261,
28341,
14513,
425,
13,
2618,
202,
202,
430,
261,
18062,
631,
2011,
13,
288,
225,
368,
1699,
364,
707,
9495,
1082,
202,
18062,
273,
225,
276,
18,
588,
1305,
12,
4468,
16,
394,
1659,
8526,
288,
1501,
559,
15549,
9506,
202,
430,
261,
18062,
5,
33,
2011,
597,
401,
18062,
18,
291,
10451,
10756,
1082,
202,
18062,
18,
542,
10451,
12,
3767,
1769,
25083,
202,
2463,
7794,
31,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
2985,
336,
8465,
1305,
261,
797,
276,
16,
514,
1272,
16,
1659,
1501,
559,
13,
1216,
17780,
16,
15959,
288,
202,
202,
430,
261,
71,
631,
2011,
747,
1272,
631,
2011,
13,
1875,
202,
2463,
446,
31,
202,
202,
1305,
7794,
33,
2011,
31,
202,
202,
698,
288,
1082,
202,
18062,
273,
276,
18,
588,
1305,
12,
6862,
202,
6,
542,
6,
15,
1272,
18,
28023,
12,
20,
16,
404,
2934,
869,
8915,
12,
3916,
18,
16324,
13462,
13,
397,
1272,
18,
28023,
12,
21,
3631,
394,
1659,
8526,
288,
1501,
559,
15549,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
3196,
202,
14683,
261,
24918,
425,
13,
2618,
3196,
202,
14683,
261,
28341,
2
] |
if (srcDir == null) { srcDir = getProject().resolveFile("."); } | public void execute() throws BuildException { if (srcDir == null) { srcDir = getProject().resolveFile("."); } NetCommand command = buildIlasmCommand(); addFilesAndExecute(command, false); } | 17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/cb9d5b1fe212b5b84563feabb20d2190ed6c735d/Ilasm.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1435,
2398,
1216,
18463,
288,
3639,
309,
261,
4816,
1621,
422,
446,
13,
288,
5411,
30585,
273,
11080,
7675,
10828,
812,
2932,
1199,
1769,
3639,
289,
3639,
8503,
2189,
1296,
273,
1361,
45,
9521,
81,
2189,
5621,
3639,
527,
2697,
1876,
5289,
12,
3076,
16,
629,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1435,
2398,
1216,
18463,
288,
3639,
309,
261,
4816,
1621,
422,
446,
13,
288,
5411,
30585,
273,
11080,
7675,
10828,
812,
2932,
1199,
1769,
3639,
289,
3639,
8503,
2189,
1296,
273,
1361,
45,
9521,
81,
2189,
5621,
3639,
527,
2697,
1876,
5289,
12,
3076,
16,
629,
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
] | |
Class.forName( m_driver ); | Class cls = Thread.currentThread().getContextClassLoader().loadClass(m_driver); m_Driver = cls.newInstance(); | public synchronized void initializePool( )throws IllegalArgumentException, SQLException { // Check our initial values if ( m_driver == null ) { throw new IllegalArgumentException(XSLMessages.createMessage(XSLTErrorResources.ER_NO_DRIVER_NAME_SPECIFIED, null)); // "No Driver Name Specified!"); } if ( m_url == null ) { throw new IllegalArgumentException(XSLMessages.createMessage(XSLTErrorResources.ER_NO_URL_SPECIFIED, null)); // "No URL Specified!"); } if ( m_PoolMinSize < 1 ) { throw new IllegalArgumentException(XSLMessages.createMessage(XSLTErrorResources.ER_POOLSIZE_LESS_THAN_ONE, null)); // "Pool size is less than 1!"); } // Create the Connections // Load the Driver class file try { Class.forName( m_driver ); } catch(ClassNotFoundException e) { throw new IllegalArgumentException(XSLMessages.createMessage(XSLTErrorResources.ER_INVALID_DRIVER_NAME, null)); // "Invalid Driver Name Specified!"); } // IF we are not active, don't actuall build a pool yet // Just set up the driver and periphal items. if ( !m_IsActive) return; // Create Connections based on the size member do { Connection con = createConnection(); if ( con != null ) { // Create a PooledConnection to encapsulate the // real JDBC Connection PooledConnection pcon = new PooledConnection(con); // Add the Connection the pool. addConnection(pcon); if (DEBUG) System.out.println("Adding DB Connection to the Pool"); } } while (m_pool.size() < m_PoolMinSize); } | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/28309daea9d1b5b2084fa23c46766631b12bfd86/DefaultConnectionPool.java/buggy/src/org/apache/xalan/lib/sql/DefaultConnectionPool.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
918,
4046,
2864,
12,
262,
15069,
2754,
16,
6483,
225,
288,
377,
368,
2073,
3134,
2172,
924,
377,
309,
261,
312,
67,
7407,
422,
446,
262,
377,
288,
4202,
604,
394,
2754,
12,
60,
4559,
5058,
18,
2640,
1079,
12,
60,
4559,
56,
668,
3805,
18,
654,
67,
3417,
67,
27720,
67,
1985,
67,
13847,
13519,
16,
446,
10019,
4202,
368,
315,
2279,
9396,
1770,
4185,
939,
4442,
1769,
377,
289,
377,
309,
261,
312,
67,
718,
422,
446,
262,
377,
288,
4202,
604,
394,
2754,
12,
60,
4559,
5058,
18,
2640,
1079,
12,
60,
4559,
56,
668,
3805,
18,
654,
67,
3417,
67,
1785,
67,
13847,
13519,
16,
446,
10019,
4202,
368,
315,
2279,
1976,
4185,
939,
4442,
1769,
377,
289,
377,
309,
261,
312,
67,
2864,
2930,
1225,
411,
404,
262,
377,
288,
4202,
604,
394,
2754,
12,
60,
4559,
5058,
18,
2640,
1079,
12,
60,
4559,
56,
668,
3805,
18,
654,
67,
20339,
4574,
67,
26005,
67,
22408,
67,
5998,
16,
446,
10019,
4202,
368,
315,
2864,
963,
353,
5242,
2353,
404,
4442,
1769,
377,
289,
377,
368,
1788,
326,
4050,
87,
377,
368,
4444,
326,
9396,
667,
585,
377,
775,
377,
288,
540,
1659,
2028,
273,
4884,
18,
2972,
3830,
7675,
29120,
7805,
7675,
945,
797,
12,
81,
67,
7407,
1769,
282,
312,
67,
4668,
273,
2028,
18,
2704,
1442,
5621,
4202,
289,
377,
1044,
12,
797,
3990,
425,
13,
377,
288,
4202,
604,
394,
2754,
12,
60,
4559,
5058,
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,
3852,
918,
4046,
2864,
12,
262,
15069,
2754,
16,
6483,
225,
288,
377,
368,
2073,
3134,
2172,
924,
377,
309,
261,
312,
67,
7407,
422,
446,
262,
377,
288,
4202,
604,
394,
2754,
12,
60,
4559,
5058,
18,
2640,
1079,
12,
60,
4559,
56,
668,
3805,
18,
654,
67,
3417,
67,
27720,
67,
1985,
67,
13847,
13519,
16,
446,
10019,
4202,
368,
315,
2279,
9396,
1770,
4185,
939,
4442,
1769,
377,
289,
377,
309,
261,
312,
67,
718,
422,
446,
262,
377,
288,
4202,
604,
394,
2754,
12,
60,
4559,
5058,
18,
2640,
1079,
12,
60,
4559,
56,
668,
3805,
18,
654,
67,
3417,
67,
1785,
67,
13847,
13519,
16,
446,
10019,
4202,
368,
315,
2279,
1976,
2
] |
selenium.open("./tests/html/test_type_page1.html"); | selenium.open("./tests/html/test_type_page1.html"); | public void test() throws Throwable { selenium.setContext("Test For Sample User Functions", "info"); /* Test For Sample User Functions */ // open|./tests/html/test_type_page1.html| selenium.open("./tests/html/test_type_page1.html"); /* Type 'TestUserTestUser' into the username field */ // type|username|TestUser selenium.type("username", "TestUser"); // type|username|TestUser selenium.type("username", "TestUser"); // verifyValue|username|TestUserTestUser verifyEquals("TestUserTestUser", selenium.getValue("username")); /* Verify that 'TestUser' is repeated in the field */// skipped undocumented >>>>>verifyValueRepeated//////username//////TestUser<<<<< /* Verify that we can find an element with value == 'TestUser' repeated */ boolean sawThrow13 = false; try { // originally verifyElementPresent|valuerepeated=TestUser| selenium.assertElementPresent("valuerepeated=TestUser"); } catch (Exception e) { sawThrow13 = true; } verifyFalse(sawThrow13); /* Verify that we cannot find an element with value == 'Test' repeated */ boolean sawThrow16 = false; try { // originally verifyElementNotPresent|valuerepeated=Test| selenium.assertElementNotPresent("valuerepeated=Test"); } catch (Exception e) { sawThrow16 = true; } verifyFalse(sawThrow16); /* Type 'Test' twice into the element with value='TestUserTestUser' */ // type|valuerepeated=TestUser|Test selenium.type("valuerepeated=TestUser", "Test"); // type|valuerepeated=TestUser|Test selenium.type("valuerepeated=TestUser", "Test"); /* Verify that we not CAN find an element with value == 'Test' repeated */ boolean sawThrow22 = false; try { // originally verifyElementPresent|valuerepeated=Test| selenium.assertElementPresent("valuerepeated=Test"); } catch (Exception e) { sawThrow22 = true; } verifyFalse(sawThrow22); /* Test getTextLength */ // storeTextLength|//h3|myVar Integer myVar = new Integer(selenium.getText("//h3").length()); // verifyTextLength|//h3|regexp:4[1-5] verifyEquals("regexp:4[1-5]", "" + selenium.getText("//h3").length()); // waitForTextLength|//h3|${myVar} assertEquals(myVar, "" + selenium.getText("//h3").length()); // verifyNotTextLength|//h3|46 verifyNotEquals("46", "" + selenium.getText("//h3").length()); checkForVerificationErrors(); } | 25408 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25408/15660ffa40e3fe9cdf6de2752e79d93831571a27/TestUserExtensions.java/buggy/clients/java/src/test/java/com/thoughtworks/selenium/generated/TestUserExtensions.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
1435,
1216,
4206,
288,
202,
202,
1786,
17327,
18,
542,
1042,
2932,
4709,
2457,
11474,
2177,
15486,
3113,
315,
1376,
8863,
225,
1748,
7766,
2457,
11474,
2177,
15486,
4202,
1195,
1082,
202,
759,
1696,
96,
18,
19,
16341,
19,
2620,
19,
3813,
67,
723,
67,
2433,
21,
18,
2620,
96,
1082,
202,
1786,
17327,
18,
3190,
2932,
18,
19,
16341,
19,
2620,
19,
3813,
67,
723,
67,
2433,
21,
18,
2620,
8863,
202,
202,
20308,
1412,
296,
4709,
1299,
4709,
1299,
11,
1368,
326,
2718,
652,
1195,
1082,
202,
759,
618,
96,
5053,
96,
4709,
1299,
1082,
202,
1786,
17327,
18,
723,
2932,
5053,
3113,
315,
4709,
1299,
8863,
1082,
202,
759,
618,
96,
5053,
96,
4709,
1299,
1082,
202,
1786,
17327,
18,
723,
2932,
5053,
3113,
315,
4709,
1299,
8863,
1082,
202,
759,
3929,
620,
96,
5053,
96,
4709,
1299,
4709,
1299,
1082,
202,
8705,
8867,
2932,
4709,
1299,
4709,
1299,
3113,
29480,
18,
24805,
2932,
5053,
7923,
1769,
202,
202,
20308,
8553,
716,
296,
4709,
1299,
11,
353,
12533,
316,
326,
652,
380,
28111,
9700,
640,
5457,
329,
4080,
9778,
8705,
620,
20730,
18235,
5053,
18235,
4709,
1299,
17685,
17685,
32,
202,
202,
20308,
8553,
716,
732,
848,
1104,
392,
930,
598,
460,
422,
296,
4709,
1299,
11,
12533,
1195,
202,
202,
6494,
19821,
8282,
3437,
273,
629,
31,
202,
202,
698,
288,
1082,
202,
759,
24000,
3929,
1046,
6351,
96,
4531,
822,
9061,
33,
4709,
1299,
96,
202,
202,
1786,
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,
1435,
1216,
4206,
288,
202,
202,
1786,
17327,
18,
542,
1042,
2932,
4709,
2457,
11474,
2177,
15486,
3113,
315,
1376,
8863,
225,
1748,
7766,
2457,
11474,
2177,
15486,
4202,
1195,
1082,
202,
759,
1696,
96,
18,
19,
16341,
19,
2620,
19,
3813,
67,
723,
67,
2433,
21,
18,
2620,
96,
1082,
202,
1786,
17327,
18,
3190,
2932,
18,
19,
16341,
19,
2620,
19,
3813,
67,
723,
67,
2433,
21,
18,
2620,
8863,
202,
202,
20308,
1412,
296,
4709,
1299,
4709,
1299,
11,
1368,
326,
2718,
652,
1195,
1082,
202,
759,
618,
96,
5053,
96,
4709,
1299,
1082,
202,
1786,
17327,
18,
723,
2932,
5053,
3113,
315,
4709,
1299,
8863,
1082,
202,
759,
618,
96,
5053,
2
] |
fDTDGrammar.notationDecl(name, publicId, systemId, augs); | fDTDGrammar.notationDecl(name, publicId, systemId, baseSystemId, augs); | public void notationDecl(String name, String publicId, String systemId, Augmentations augs) throws XNIException { // call handlers fDTDGrammar.notationDecl(name, publicId, systemId, augs); if (fDTDHandler != null) { fDTDHandler.notationDecl(name, publicId, systemId, augs); } } // notationDecl(String,String,String) | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/bda39ebfdde5204af457e868d6a2908461900e9f/XMLDTDValidator.java/clean/src/org/apache/xerces/impl/dtd/XMLDTDValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12155,
3456,
12,
780,
508,
16,
514,
1071,
548,
16,
514,
30083,
16,
11794,
432,
14870,
1012,
279,
9024,
13,
1216,
1139,
50,
45,
503,
288,
3639,
368,
745,
4919,
3639,
284,
25728,
18576,
18,
1819,
3456,
12,
529,
16,
1071,
548,
16,
30083,
16,
1026,
3163,
548,
16,
279,
9024,
1769,
3639,
309,
261,
74,
25728,
1503,
480,
446,
13,
288,
5411,
284,
25728,
1503,
18,
1819,
3456,
12,
529,
16,
1071,
548,
16,
30083,
16,
279,
9024,
1769,
3639,
289,
565,
289,
368,
12155,
3456,
12,
780,
16,
780,
16,
780,
13,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12155,
3456,
12,
780,
508,
16,
514,
1071,
548,
16,
514,
30083,
16,
11794,
432,
14870,
1012,
279,
9024,
13,
1216,
1139,
50,
45,
503,
288,
3639,
368,
745,
4919,
3639,
284,
25728,
18576,
18,
1819,
3456,
12,
529,
16,
1071,
548,
16,
30083,
16,
1026,
3163,
548,
16,
279,
9024,
1769,
3639,
309,
261,
74,
25728,
1503,
480,
446,
13,
288,
5411,
284,
25728,
1503,
18,
1819,
3456,
12,
529,
16,
1071,
548,
16,
30083,
16,
279,
9024,
1769,
3639,
289,
565,
289,
368,
12155,
3456,
12,
780,
16,
780,
16,
780,
13,
2,
-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.Price getPrice() throws FieldNotFound { org.quickfix.field.Price value = new org.quickfix.field.Price(); | public quickfix.field.Price getPrice() throws FieldNotFound { quickfix.field.Price value = new quickfix.field.Price(); | public org.quickfix.field.Price getPrice() throws FieldNotFound { org.quickfix.field.Price value = new org.quickfix.field.Price(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/Advertisement.java/buggy/src/java/src/quickfix/fix42/Advertisement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
5147,
25930,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
5147,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
5147,
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,
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,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
5147,
25930,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
5147,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
5147,
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,
-100,
-100,
-100,
-100
] |
public void visitConstNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitConstNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitConstNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
9661,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
19574,
12,
77,
30019,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
9661,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
19574,
12,
77,
30019,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
DataPackageImpl theDataPackage = (DataPackageImpl)EPackage.Registry.INSTANCE.getEPackage(DataPackage.eNS_URI); XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); | DataPackageImpl theDataPackage = (DataPackageImpl) EPackage.Registry.INSTANCE.getEPackage(DataPackage.eNS_URI); XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl) EPackage.Registry.INSTANCE .getEPackage(XMLTypePackage.eNS_URI); | public void initializePackageContents() { if (isInitialized) return; isInitialized = true; // Initialize package setName(eNAME); setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); // Obtain other dependent packages DataPackageImpl theDataPackage = (DataPackageImpl)EPackage.Registry.INSTANCE.getEPackage(DataPackage.eNS_URI); XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); // Add supertypes to classes colorDefinitionEClass.getESuperTypes().add(this.getFill()); dateFormatSpecifierEClass.getESuperTypes().add(this.getFormatSpecifier()); gradientEClass.getESuperTypes().add(this.getFill()); imageEClass.getESuperTypes().add(this.getFill()); javaDateFormatSpecifierEClass.getESuperTypes().add(this.getFormatSpecifier()); javaNumberFormatSpecifierEClass.getESuperTypes().add(this.getFormatSpecifier()); numberFormatSpecifierEClass.getESuperTypes().add(this.getFormatSpecifier()); scriptValueEClass.getESuperTypes().add(this.getActionValue()); seriesValueEClass.getESuperTypes().add(this.getActionValue()); tooltipValueEClass.getESuperTypes().add(this.getActionValue()); urlValueEClass.getESuperTypes().add(this.getActionValue()); // Initialize classes and features; add operations and parameters initEClass(actionValueEClass, ActionValue.class, "ActionValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(axisOriginEClass, AxisOrigin.class, "AxisOrigin", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getAxisOrigin_Type(), this.getIntersectionType(), "type", "Min", 1, 1, AxisOrigin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getAxisOrigin_Value(), theDataPackage.getDataElement(), null, "value", null, 1, 1, AxisOrigin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(boundsEClass, Bounds.class, "Bounds", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getBounds_Left(), theXMLTypePackage.getDouble(), "left", null, 1, 1, Bounds.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getBounds_Top(), theXMLTypePackage.getDouble(), "top", null, 1, 1, Bounds.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getBounds_Width(), theXMLTypePackage.getDouble(), "width", null, 1, 1, Bounds.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getBounds_Height(), theXMLTypePackage.getDouble(), "height", null, 1, 1, Bounds.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(colorDefinitionEClass, ColorDefinition.class, "ColorDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getColorDefinition_Transparency(), theXMLTypePackage.getInt(), "transparency", null, 1, 1, ColorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getColorDefinition_Red(), this.getRGBValue(), "red", null, 1, 1, ColorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getColorDefinition_Green(), this.getRGBValue(), "green", null, 1, 1, ColorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getColorDefinition_Blue(), this.getRGBValue(), "blue", null, 1, 1, ColorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(dataPointEClass, DataPoint.class, "DataPoint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getDataPoint_Components(), this.getDataPointComponent(), null, "components", null, 1, -1, DataPoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getDataPoint_Prefix(), theXMLTypePackage.getString(), "prefix", null, 1, 1, DataPoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getDataPoint_Suffix(), theXMLTypePackage.getString(), "suffix", null, 1, 1, DataPoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getDataPoint_Separator(), theXMLTypePackage.getString(), "separator", null, 1, 1, DataPoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(dataPointComponentEClass, DataPointComponent.class, "DataPointComponent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getDataPointComponent_Type(), this.getDataPointComponentType(), "type", "Base_Value", 1, 1, DataPointComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDataPointComponent_FormatSpecifier(), this.getFormatSpecifier(), null, "formatSpecifier", null, 1, 1, DataPointComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(dateFormatSpecifierEClass, DateFormatSpecifier.class, "DateFormatSpecifier", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getDateFormatSpecifier_Type(), this.getDateFormatType(), "type", "Long", 1, 1, DateFormatSpecifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getDateFormatSpecifier_Detail(), this.getDateFormatDetail(), "detail", "Date", 1, 1, DateFormatSpecifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(extendedPropertyEClass, ExtendedProperty.class, "ExtendedProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getExtendedProperty_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, ExtendedProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getExtendedProperty_Value(), theXMLTypePackage.getString(), "value", null, 1, 1, ExtendedProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(fillEClass, Fill.class, "Fill", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getFill_Type(), theXMLTypePackage.getInt(), "type", null, 1, 1, Fill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(fontDefinitionEClass, FontDefinition.class, "FontDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getFontDefinition_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, FontDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getFontDefinition_Size(), theXMLTypePackage.getFloat(), "size", null, 1, 1, FontDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getFontDefinition_Bold(), theXMLTypePackage.getBoolean(), "bold", null, 1, 1, FontDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getFontDefinition_Italic(), theXMLTypePackage.getBoolean(), "italic", null, 1, 1, FontDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getFontDefinition_Strikethrough(), theXMLTypePackage.getBoolean(), "strikethrough", null, 1, 1, FontDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getFontDefinition_Underline(), theXMLTypePackage.getBoolean(), "underline", null, 1, 1, FontDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getFontDefinition_WordWrap(), theXMLTypePackage.getBoolean(), "wordWrap", null, 1, 1, FontDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getFontDefinition_Alignment(), this.getTextAlignment(), null, "alignment", null, 1, 1, FontDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getFontDefinition_Rotation(), theXMLTypePackage.getDouble(), "rotation", null, 1, 1, FontDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(formatSpecifierEClass, FormatSpecifier.class, "FormatSpecifier", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(gradientEClass, Gradient.class, "Gradient", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getGradient_StartColor(), this.getColorDefinition(), null, "startColor", null, 1, 1, Gradient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getGradient_EndColor(), this.getColorDefinition(), null, "endColor", null, 1, 1, Gradient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getGradient_Direction(), theXMLTypePackage.getDouble(), "direction", null, 1, 1, Gradient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getGradient_Cyclic(), theXMLTypePackage.getBoolean(), "cyclic", null, 1, 1, Gradient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getGradient_Transparency(), theXMLTypePackage.getInt(), "transparency", null, 1, 1, Gradient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(imageEClass, Image.class, "Image", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getImage_URL(), theXMLTypePackage.getString(), "uRL", null, 1, 1, Image.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(insetsEClass, Insets.class, "Insets", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getInsets_Top(), theXMLTypePackage.getDouble(), "top", null, 1, 1, Insets.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getInsets_Left(), theXMLTypePackage.getDouble(), "left", null, 1, 1, Insets.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getInsets_Bottom(), theXMLTypePackage.getDouble(), "bottom", null, 1, 1, Insets.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getInsets_Right(), theXMLTypePackage.getDouble(), "right", null, 1, 1, Insets.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(javaDateFormatSpecifierEClass, JavaDateFormatSpecifier.class, "JavaDateFormatSpecifier", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getJavaDateFormatSpecifier_Pattern(), theXMLTypePackage.getString(), "pattern", null, 1, 1, JavaDateFormatSpecifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(javaNumberFormatSpecifierEClass, JavaNumberFormatSpecifier.class, "JavaNumberFormatSpecifier", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getJavaNumberFormatSpecifier_Pattern(), theXMLTypePackage.getString(), "pattern", null, 1, 1, JavaNumberFormatSpecifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getJavaNumberFormatSpecifier_Multiplier(), theXMLTypePackage.getDouble(), "multiplier", null, 1, 1, JavaNumberFormatSpecifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(lineAttributesEClass, LineAttributes.class, "LineAttributes", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getLineAttributes_Style(), this.getLineStyle(), "style", "Solid", 1, 1, LineAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getLineAttributes_Thickness(), theXMLTypePackage.getInt(), "thickness", null, 1, 1, LineAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getLineAttributes_Color(), this.getColorDefinition(), null, "color", null, 1, 1, LineAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getLineAttributes_Visible(), theXMLTypePackage.getBoolean(), "visible", null, 1, 1, LineAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(locationEClass, Location.class, "Location", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getLocation_X(), theXMLTypePackage.getDouble(), "x", null, 1, 1, Location.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getLocation_Y(), theXMLTypePackage.getDouble(), "y", null, 1, 1, Location.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(markerEClass, Marker.class, "Marker", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getMarker_Type(), this.getMarkerType(), "type", "Crosshair", 1, 1, Marker.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMarker_Size(), theXMLTypePackage.getInt(), "size", null, 1, 1, Marker.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMarker_Visible(), theXMLTypePackage.getBoolean(), "visible", null, 1, 1, Marker.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(numberFormatSpecifierEClass, NumberFormatSpecifier.class, "NumberFormatSpecifier", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getNumberFormatSpecifier_Prefix(), theXMLTypePackage.getString(), "prefix", null, 1, 1, NumberFormatSpecifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getNumberFormatSpecifier_Suffix(), theXMLTypePackage.getString(), "suffix", null, 1, 1, NumberFormatSpecifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getNumberFormatSpecifier_Multiplier(), theXMLTypePackage.getDouble(), "multiplier", null, 1, 1, NumberFormatSpecifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getNumberFormatSpecifier_FractionDigits(), theXMLTypePackage.getInt(), "fractionDigits", null, 1, 1, NumberFormatSpecifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(paletteEClass, Palette.class, "Palette", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getPalette_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, Palette.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getPalette_Entries(), this.getFill(), null, "entries", null, 1, -1, Palette.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(scriptValueEClass, ScriptValue.class, "ScriptValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getScriptValue_Script(), theXMLTypePackage.getString(), "script", null, 1, 1, ScriptValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(seriesHintEClass, SeriesHint.class, "SeriesHint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getSeriesHint_SeriesClass(), theXMLTypePackage.getString(), "seriesClass", null, 1, 1, SeriesHint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getSeriesHint_Modifier(), theXMLTypePackage.getString(), "modifier", null, 1, 1, SeriesHint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(seriesValueEClass, SeriesValue.class, "SeriesValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getSeriesValue_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, SeriesValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(sizeEClass, Size.class, "Size", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getSize_Height(), theXMLTypePackage.getDouble(), "height", null, 1, 1, Size.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getSize_Width(), theXMLTypePackage.getDouble(), "width", null, 1, 1, Size.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(styleMapEClass, StyleMap.class, "StyleMap", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getStyleMap_ComponentName(), this.getStyledComponent(), "componentName", "Chart_Title", 1, 1, StyleMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getStyleMap_Style(), theXMLTypePackage.getString(), "style", null, 1, 1, StyleMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(textEClass, Text.class, "Text", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getText_Value(), theXMLTypePackage.getString(), "value", null, 1, 1, Text.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getText_Font(), this.getFontDefinition(), null, "font", null, 1, 1, Text.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getText_Color(), this.getColorDefinition(), null, "color", null, 1, 1, Text.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(textAlignmentEClass, TextAlignment.class, "TextAlignment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getTextAlignment_HorizontalAlignment(), this.getHorizontalAlignment(), "horizontalAlignment", "Left", 1, 1, TextAlignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getTextAlignment_VerticalAlignment(), this.getVerticalAlignment(), "verticalAlignment", "Top", 1, 1, TextAlignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(tooltipValueEClass, TooltipValue.class, "TooltipValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getTooltipValue_Text(), theXMLTypePackage.getString(), "text", null, 1, 1, TooltipValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getTooltipValue_Delay(), theXMLTypePackage.getInt(), "delay", null, 1, 1, TooltipValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(urlValueEClass, URLValue.class, "URLValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getURLValue_BaseUrl(), theXMLTypePackage.getString(), "baseUrl", null, 1, 1, URLValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getURLValue_Target(), theXMLTypePackage.getString(), "target", null, 1, 1, URLValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getURLValue_BaseParameterName(), theXMLTypePackage.getString(), "baseParameterName", null, 1, 1, URLValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getURLValue_ValueParameterName(), theXMLTypePackage.getString(), "valueParameterName", null, 1, 1, URLValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getURLValue_SeriesParameterName(), theXMLTypePackage.getString(), "seriesParameterName", null, 1, 1, URLValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Initialize enums and add enum literals initEEnum(actionTypeEEnum, ActionType.class, "ActionType"); addEEnumLiteral(actionTypeEEnum, ActionType.URL_REDIRECT_LITERAL); addEEnumLiteral(actionTypeEEnum, ActionType.SHOW_TOOLTIP_LITERAL); addEEnumLiteral(actionTypeEEnum, ActionType.TOGGLE_VISIBILITY_LITERAL); addEEnumLiteral(actionTypeEEnum, ActionType.INVOKE_SCRIPT_LITERAL); initEEnum(anchorEEnum, Anchor.class, "Anchor"); addEEnumLiteral(anchorEEnum, Anchor.NORTH_LITERAL); addEEnumLiteral(anchorEEnum, Anchor.NORTH_EAST_LITERAL); addEEnumLiteral(anchorEEnum, Anchor.EAST_LITERAL); addEEnumLiteral(anchorEEnum, Anchor.SOUTH_EAST_LITERAL); addEEnumLiteral(anchorEEnum, Anchor.SOUTH_LITERAL); addEEnumLiteral(anchorEEnum, Anchor.SOUTH_WEST_LITERAL); addEEnumLiteral(anchorEEnum, Anchor.WEST_LITERAL); addEEnumLiteral(anchorEEnum, Anchor.NORTH_WEST_LITERAL); initEEnum(axisTypeEEnum, AxisType.class, "AxisType"); addEEnumLiteral(axisTypeEEnum, AxisType.LINEAR_LITERAL); addEEnumLiteral(axisTypeEEnum, AxisType.LOGARITHMIC_LITERAL); addEEnumLiteral(axisTypeEEnum, AxisType.TEXT_LITERAL); addEEnumLiteral(axisTypeEEnum, AxisType.DATE_TIME_LITERAL); initEEnum(chartDimensionEEnum, ChartDimension.class, "ChartDimension"); addEEnumLiteral(chartDimensionEEnum, ChartDimension.TWO_DIMENSIONAL_LITERAL); addEEnumLiteral(chartDimensionEEnum, ChartDimension.TWO_DIMENSIONAL_WITH_DEPTH_LITERAL); addEEnumLiteral(chartDimensionEEnum, ChartDimension.THREE_DIMENSIONAL_LITERAL); initEEnum(chartTypeEEnum, ChartType.class, "ChartType"); addEEnumLiteral(chartTypeEEnum, ChartType.PIE_LITERAL); addEEnumLiteral(chartTypeEEnum, ChartType.BAR_LITERAL); addEEnumLiteral(chartTypeEEnum, ChartType.LINE_LITERAL); addEEnumLiteral(chartTypeEEnum, ChartType.COMBO_LITERAL); addEEnumLiteral(chartTypeEEnum, ChartType.SCATTER_LITERAL); addEEnumLiteral(chartTypeEEnum, ChartType.STOCK_LITERAL); initEEnum(dataPointComponentTypeEEnum, DataPointComponentType.class, "DataPointComponentType"); addEEnumLiteral(dataPointComponentTypeEEnum, DataPointComponentType.BASE_VALUE_LITERAL); addEEnumLiteral(dataPointComponentTypeEEnum, DataPointComponentType.ORTHOGONAL_VALUE_LITERAL); addEEnumLiteral(dataPointComponentTypeEEnum, DataPointComponentType.SERIES_VALUE_LITERAL); initEEnum(dateFormatDetailEEnum, DateFormatDetail.class, "DateFormatDetail"); addEEnumLiteral(dateFormatDetailEEnum, DateFormatDetail.DATE_LITERAL); addEEnumLiteral(dateFormatDetailEEnum, DateFormatDetail.DATE_TIME_LITERAL); initEEnum(dateFormatTypeEEnum, DateFormatType.class, "DateFormatType"); addEEnumLiteral(dateFormatTypeEEnum, DateFormatType.LONG_LITERAL); addEEnumLiteral(dateFormatTypeEEnum, DateFormatType.SHORT_LITERAL); addEEnumLiteral(dateFormatTypeEEnum, DateFormatType.MEDIUM_LITERAL); addEEnumLiteral(dateFormatTypeEEnum, DateFormatType.FULL_LITERAL); initEEnum(directionEEnum, Direction.class, "Direction"); addEEnumLiteral(directionEEnum, Direction.LEFT_RIGHT_LITERAL); addEEnumLiteral(directionEEnum, Direction.TOP_BOTTOM_LITERAL); initEEnum(horizontalAlignmentEEnum, HorizontalAlignment.class, "HorizontalAlignment"); addEEnumLiteral(horizontalAlignmentEEnum, HorizontalAlignment.LEFT_LITERAL); addEEnumLiteral(horizontalAlignmentEEnum, HorizontalAlignment.CENTER_LITERAL); addEEnumLiteral(horizontalAlignmentEEnum, HorizontalAlignment.RIGHT_LITERAL); initEEnum(intersectionTypeEEnum, IntersectionType.class, "IntersectionType"); addEEnumLiteral(intersectionTypeEEnum, IntersectionType.MIN_LITERAL); addEEnumLiteral(intersectionTypeEEnum, IntersectionType.MAX_LITERAL); addEEnumLiteral(intersectionTypeEEnum, IntersectionType.VALUE_LITERAL); initEEnum(leaderLineStyleEEnum, LeaderLineStyle.class, "LeaderLineStyle"); addEEnumLiteral(leaderLineStyleEEnum, LeaderLineStyle.FIXED_LENGTH_LITERAL); addEEnumLiteral(leaderLineStyleEEnum, LeaderLineStyle.STRETCH_TO_SIDE_LITERAL); initEEnum(legendItemTypeEEnum, LegendItemType.class, "LegendItemType"); addEEnumLiteral(legendItemTypeEEnum, LegendItemType.SERIES_LITERAL); addEEnumLiteral(legendItemTypeEEnum, LegendItemType.CATEGORIES_LITERAL); initEEnum(lineStyleEEnum, LineStyle.class, "LineStyle"); addEEnumLiteral(lineStyleEEnum, LineStyle.SOLID_LITERAL); addEEnumLiteral(lineStyleEEnum, LineStyle.DASHED_LITERAL); addEEnumLiteral(lineStyleEEnum, LineStyle.DOTTED_LITERAL); addEEnumLiteral(lineStyleEEnum, LineStyle.DASH_DOTTED_LITERAL); initEEnum(markerTypeEEnum, MarkerType.class, "MarkerType"); addEEnumLiteral(markerTypeEEnum, MarkerType.CROSSHAIR_LITERAL); addEEnumLiteral(markerTypeEEnum, MarkerType.TRIANGLE_LITERAL); addEEnumLiteral(markerTypeEEnum, MarkerType.BOX_LITERAL); addEEnumLiteral(markerTypeEEnum, MarkerType.CIRCLE_LITERAL); initEEnum(orientationEEnum, Orientation.class, "Orientation"); addEEnumLiteral(orientationEEnum, Orientation.HORIZONTAL_LITERAL); addEEnumLiteral(orientationEEnum, Orientation.VERTICAL_LITERAL); initEEnum(positionEEnum, Position.class, "Position"); addEEnumLiteral(positionEEnum, Position.ABOVE_LITERAL); addEEnumLiteral(positionEEnum, Position.BELOW_LITERAL); addEEnumLiteral(positionEEnum, Position.LEFT_LITERAL); addEEnumLiteral(positionEEnum, Position.RIGHT_LITERAL); addEEnumLiteral(positionEEnum, Position.INSIDE_LITERAL); addEEnumLiteral(positionEEnum, Position.OUTSIDE_LITERAL); initEEnum(riserTypeEEnum, RiserType.class, "RiserType"); addEEnumLiteral(riserTypeEEnum, RiserType.RECTANGLE_LITERAL); addEEnumLiteral(riserTypeEEnum, RiserType.TRIANGLE_LITERAL); initEEnum(ruleTypeEEnum, RuleType.class, "RuleType"); addEEnumLiteral(ruleTypeEEnum, RuleType.FILTER_LITERAL); addEEnumLiteral(ruleTypeEEnum, RuleType.SUPPRESS_LITERAL); addEEnumLiteral(ruleTypeEEnum, RuleType.LINK_LITERAL); initEEnum(scaleUnitTypeEEnum, ScaleUnitType.class, "ScaleUnitType"); addEEnumLiteral(scaleUnitTypeEEnum, ScaleUnitType.SECONDS_LITERAL); addEEnumLiteral(scaleUnitTypeEEnum, ScaleUnitType.MINUTES_LITERAL); addEEnumLiteral(scaleUnitTypeEEnum, ScaleUnitType.HOURS_LITERAL); addEEnumLiteral(scaleUnitTypeEEnum, ScaleUnitType.DAYS_LITERAL); addEEnumLiteral(scaleUnitTypeEEnum, ScaleUnitType.WEEKS_LITERAL); addEEnumLiteral(scaleUnitTypeEEnum, ScaleUnitType.MONTHS_LITERAL); addEEnumLiteral(scaleUnitTypeEEnum, ScaleUnitType.YEARS_LITERAL); initEEnum(sortOptionEEnum, SortOption.class, "SortOption"); addEEnumLiteral(sortOptionEEnum, SortOption.ASCENDING_LITERAL); addEEnumLiteral(sortOptionEEnum, SortOption.DESCENDING_LITERAL); initEEnum(stretchEEnum, Stretch.class, "Stretch"); addEEnumLiteral(stretchEEnum, Stretch.HORIZONTAL_LITERAL); addEEnumLiteral(stretchEEnum, Stretch.VERTICAL_LITERAL); addEEnumLiteral(stretchEEnum, Stretch.BOTH_LITERAL); initEEnum(styledComponentEEnum, StyledComponent.class, "StyledComponent"); addEEnumLiteral(styledComponentEEnum, StyledComponent.CHART_TITLE_LITERAL); addEEnumLiteral(styledComponentEEnum, StyledComponent.CHART_BACKGROUND_LITERAL); addEEnumLiteral(styledComponentEEnum, StyledComponent.PLOT_BACKGROUND_LITERAL); addEEnumLiteral(styledComponentEEnum, StyledComponent.LEGEND_BACKGROUND_LITERAL); addEEnumLiteral(styledComponentEEnum, StyledComponent.LEGEND_LABEL_LITERAL); addEEnumLiteral(styledComponentEEnum, StyledComponent.DATA_LABEL_LITERAL); addEEnumLiteral(styledComponentEEnum, StyledComponent.AXIS_TITLE_LITERAL); addEEnumLiteral(styledComponentEEnum, StyledComponent.AXIS_LABEL_LITERAL); addEEnumLiteral(styledComponentEEnum, StyledComponent.AXIS_LINE_LITERAL); addEEnumLiteral(styledComponentEEnum, StyledComponent.SERIES_TITLE_LITERAL); addEEnumLiteral(styledComponentEEnum, StyledComponent.SERIES_LABEL_LITERAL); initEEnum(tickStyleEEnum, TickStyle.class, "TickStyle"); addEEnumLiteral(tickStyleEEnum, TickStyle.LEFT_LITERAL); addEEnumLiteral(tickStyleEEnum, TickStyle.RIGHT_LITERAL); addEEnumLiteral(tickStyleEEnum, TickStyle.ABOVE_LITERAL); addEEnumLiteral(tickStyleEEnum, TickStyle.BELOW_LITERAL); addEEnumLiteral(tickStyleEEnum, TickStyle.ACROSS_LITERAL); initEEnum(triggerConditionEEnum, TriggerCondition.class, "TriggerCondition"); addEEnumLiteral(triggerConditionEEnum, TriggerCondition.MOUSE_HOVER_LITERAL); addEEnumLiteral(triggerConditionEEnum, TriggerCondition.MOUSE_CLICK_LITERAL); initEEnum(verticalAlignmentEEnum, VerticalAlignment.class, "VerticalAlignment"); addEEnumLiteral(verticalAlignmentEEnum, VerticalAlignment.TOP_LITERAL); addEEnumLiteral(verticalAlignmentEEnum, VerticalAlignment.CENTER_LITERAL); addEEnumLiteral(verticalAlignmentEEnum, VerticalAlignment.BOTTOM_LITERAL); // Initialize data types initEDataType(actionTypeObjectEDataType, ActionType.class, "ActionTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(anchorObjectEDataType, Anchor.class, "AnchorObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(axisTypeObjectEDataType, AxisType.class, "AxisTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(chartDimensionObjectEDataType, ChartDimension.class, "ChartDimensionObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(chartTypeObjectEDataType, ChartType.class, "ChartTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(dataPointComponentTypeObjectEDataType, DataPointComponentType.class, "DataPointComponentTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(dateFormatDetailObjectEDataType, DateFormatDetail.class, "DateFormatDetailObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(dateFormatTypeObjectEDataType, DateFormatType.class, "DateFormatTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(directionObjectEDataType, Direction.class, "DirectionObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(horizontalAlignmentObjectEDataType, HorizontalAlignment.class, "HorizontalAlignmentObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(idEDataType, String.class, "ID", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(intersectionTypeObjectEDataType, IntersectionType.class, "IntersectionTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(leaderLineStyleObjectEDataType, LeaderLineStyle.class, "LeaderLineStyleObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(legendItemTypeObjectEDataType, LegendItemType.class, "LegendItemTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(lineStyleObjectEDataType, LineStyle.class, "LineStyleObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(markerTypeObjectEDataType, MarkerType.class, "MarkerTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(orientationObjectEDataType, Orientation.class, "OrientationObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(percentageEDataType, double.class, "Percentage", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(percentageObjectEDataType, Double.class, "PercentageObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(positionObjectEDataType, Position.class, "PositionObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(rgbValueEDataType, int.class, "RGBValue", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(rgbValueObjectEDataType, Integer.class, "RGBValueObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); initEDataType(riserTypeObjectEDataType, RiserType.class, "RiserTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(ruleTypeObjectEDataType, RuleType.class, "RuleTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(scaleUnitTypeObjectEDataType, ScaleUnitType.class, "ScaleUnitTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(sortOptionObjectEDataType, SortOption.class, "SortOptionObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(stretchObjectEDataType, Stretch.class, "StretchObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(styledComponentObjectEDataType, StyledComponent.class, "StyledComponentObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(tickStyleObjectEDataType, TickStyle.class, "TickStyleObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(triggerConditionObjectEDataType, TriggerCondition.class, "TriggerConditionObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); initEDataType(verticalAlignmentObjectEDataType, VerticalAlignment.class, "VerticalAlignmentObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); // Create resource createResource(eNS_URI); // Create annotations // http:///org/eclipse/emf/ecore/util/ExtendedMetaData createExtendedMetaDataAnnotations(); } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/AttributePackageImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/AttributePackageImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4046,
2261,
6323,
1435,
565,
288,
3639,
309,
261,
291,
11459,
13,
327,
31,
3639,
25359,
273,
638,
31,
3639,
368,
9190,
2181,
3639,
6788,
12,
73,
1985,
1769,
3639,
444,
10386,
2244,
12,
73,
3156,
67,
6307,
1769,
3639,
444,
10386,
3098,
12,
73,
3156,
67,
3098,
1769,
3639,
368,
24850,
1308,
10460,
5907,
3639,
1910,
2261,
2828,
326,
751,
2261,
273,
261,
751,
2261,
2828,
13,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
751,
2261,
18,
73,
3156,
67,
3098,
1769,
3639,
3167,
559,
2261,
2828,
326,
4201,
559,
2261,
273,
261,
4201,
559,
2261,
2828,
13,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
4201,
559,
2261,
18,
73,
3156,
67,
3098,
1769,
3639,
368,
1436,
1169,
1051,
989,
358,
3318,
3639,
2036,
1852,
5720,
18,
588,
41,
8051,
2016,
7675,
1289,
12,
2211,
18,
588,
8026,
10663,
3639,
16996,
21416,
5720,
18,
588,
41,
8051,
2016,
7675,
1289,
12,
2211,
18,
588,
1630,
21416,
10663,
3639,
10292,
5720,
18,
588,
41,
8051,
2016,
7675,
1289,
12,
2211,
18,
588,
8026,
10663,
3639,
1316,
5720,
18,
588,
41,
8051,
2016,
7675,
1289,
12,
2211,
18,
588,
8026,
10663,
3639,
2252,
11878,
21416,
5720,
18,
588,
41,
8051,
2016,
7675,
1289,
12,
2211,
18,
588,
1630,
21416,
10663,
3639,
2252,
1854,
1630,
21416,
5720,
18,
588,
41,
8051,
2016,
7675,
1289,
12,
2211,
18,
588,
1630,
21416,
10663,
3639,
28239,
21416,
5720,
18,
588,
41,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4046,
2261,
6323,
1435,
565,
288,
3639,
309,
261,
291,
11459,
13,
327,
31,
3639,
25359,
273,
638,
31,
3639,
368,
9190,
2181,
3639,
6788,
12,
73,
1985,
1769,
3639,
444,
10386,
2244,
12,
73,
3156,
67,
6307,
1769,
3639,
444,
10386,
3098,
12,
73,
3156,
67,
3098,
1769,
3639,
368,
24850,
1308,
10460,
5907,
3639,
1910,
2261,
2828,
326,
751,
2261,
273,
261,
751,
2261,
2828,
13,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
751,
2261,
18,
73,
3156,
67,
3098,
1769,
3639,
3167,
559,
2261,
2828,
326,
4201,
559,
2261,
273,
261,
4201,
559,
2261,
2828,
13,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
4201,
559,
2
] |
warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); | public void testTopicScale3() { log.info("Running test testTopicScale3"); warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("TopicScale3"); for (int i = 1; i <= scaleNumber; i++) { log.trace("Running with " + i + " consumer(s)"); SenderJob sender = createDefaultSenderJob(topicName); sender.setNumMessages(numMessages); sender.setMsgSize(standardMessageSize); sender.setMf(new BytesMessageMessageFactory()); sender.setTransacted(false); sender.setDeliveryMode(DeliveryMode.NON_PERSISTENT); sender.setInitialPause(initialPause); //enough time for receiver to get ready sender.setNumMessages(numMessages); ReceiverJob receiver = createDefaultReceiverJob(topicName); receiver.setAckMode(Session.AUTO_ACKNOWLEDGE); receiver.setTransacted(false); receiver.setNumConnections(1); receiver.setNumSessions(i); receiver.setNumMessages(numMessages); JobTimings[] results = runJobs(new Job[] {receiver, sender}); /* * NB. * When we calculating the total time taken from first send to last receive, there is some * error involved due to the differences in network latency and other remoting overhead * when sending the jobs to be executed on potentially different remote machines. * We make the assumption that this this difference is very small compared with time taken * to run the tests as to be negligible. */ long totalTimeTaken = results[0].getTestTime() + results[0].getInitTime() - results[1].getInitTime(); int totalMessages = numMessages; Measurement measure = new Measurement("throughput", 1000 * (double)totalMessages / totalTimeTaken); measure.setVariableValue("numberOfSubscribers", i); execution.addMeasurement(measure); } pm.saveExecution(execution); log.info("Test testTopicScale3 finished"); } | 3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/397ef4f4ca297619d7a976503e2912b04d50246f/PerfRunner.java/clean/tests/src/org/jboss/test/messaging/jms/perf/framework/PerfRunner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
6657,
5587,
23,
1435,
282,
288,
1377,
613,
18,
1376,
2932,
7051,
1842,
1842,
6657,
5587,
23,
8863,
8227,
8687,
4588,
273,
752,
3210,
2932,
6657,
5587,
23,
8863,
5375,
364,
261,
474,
277,
273,
404,
31,
277,
1648,
3159,
1854,
31,
277,
27245,
1377,
288,
540,
613,
18,
5129,
2932,
7051,
598,
315,
397,
277,
397,
315,
4765,
12,
87,
2225,
1769,
5375,
15044,
2278,
5793,
273,
27346,
12021,
2278,
12,
10476,
461,
1769,
540,
5793,
18,
542,
2578,
5058,
12,
2107,
5058,
1769,
540,
5793,
18,
542,
3332,
1225,
12,
10005,
1079,
1225,
1769,
540,
5793,
18,
542,
49,
74,
12,
2704,
5985,
1079,
1079,
1733,
10663,
540,
5793,
18,
542,
1429,
25487,
12,
5743,
1769,
540,
5793,
18,
542,
8909,
2309,
12,
8909,
2309,
18,
3993,
67,
3194,
28175,
1769,
8227,
5793,
18,
542,
4435,
19205,
12,
6769,
19205,
1769,
368,
275,
4966,
813,
364,
5971,
358,
336,
5695,
540,
5793,
18,
542,
2578,
5058,
12,
2107,
5058,
1769,
9079,
31020,
2278,
5971,
273,
27346,
12952,
2278,
12,
10476,
461,
1769,
540,
5971,
18,
542,
11931,
2309,
12,
2157,
18,
18909,
67,
3649,
27091,
6687,
7113,
1769,
540,
5971,
18,
542,
1429,
25487,
12,
5743,
1769,
540,
5971,
18,
542,
2578,
9314,
12,
21,
1769,
540,
5971,
18,
542,
2578,
13566,
12,
77,
1769,
540,
5971,
18,
542,
2578,
5058,
12,
2107,
5058,
1769,
4766,
565,
3956,
10178,
899,
8526,
1686,
273,
1086,
7276,
12,
2704,
3956,
8526,
288,
24454,
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,
6657,
5587,
23,
1435,
282,
288,
1377,
613,
18,
1376,
2932,
7051,
1842,
1842,
6657,
5587,
23,
8863,
8227,
8687,
4588,
273,
752,
3210,
2932,
6657,
5587,
23,
8863,
5375,
364,
261,
474,
277,
273,
404,
31,
277,
1648,
3159,
1854,
31,
277,
27245,
1377,
288,
540,
613,
18,
5129,
2932,
7051,
598,
315,
397,
277,
397,
315,
4765,
12,
87,
2225,
1769,
5375,
15044,
2278,
5793,
273,
27346,
12021,
2278,
12,
10476,
461,
1769,
540,
5793,
18,
542,
2578,
5058,
12,
2107,
5058,
1769,
540,
5793,
18,
542,
3332,
1225,
12,
10005,
1079,
1225,
1769,
540,
5793,
18,
542,
49,
74,
12,
2704,
5985,
1079,
1079,
1733,
10663,
540,
5793,
18,
542,
1429,
25487,
2
] | |
} | public void setBookmarks(Vector bookmarks) { for (int i = 0; i < m_bookmarkItems.size(); ++i) m_menuBookmarks.remove((JMenuItem)m_bookmarkItems.get(i)); if (bookmarks.size() == 0) { if (m_bookmarksSeparator != null) { m_menuBookmarks.remove(m_bookmarksSeparator); m_bookmarksSeparator = null; } return; } m_bookmarksSeparator = new JSeparator(); m_menuBookmarks.add(m_bookmarksSeparator); for (int i = 0; i < bookmarks.size(); ++i) { Bookmark bookmark = (Bookmark)bookmarks.get(i); JMenuItem item = new JMenuItem(bookmark.m_name); addMenuItem(m_menuBookmarks, item, "bookmark-" + i); m_bookmarkItems.add(item); } } | 2255 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2255/0563728a75fc778073a0b7c116b28d75a1e655af/GoGuiMenuBar.java/buggy/src/net/sf/gogui/gogui/GoGuiMenuBar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
9084,
17439,
12,
5018,
13696,
87,
13,
565,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
312,
67,
3618,
3355,
3126,
18,
1467,
5621,
965,
77,
13,
5411,
312,
67,
5414,
9084,
17439,
18,
4479,
12443,
46,
12958,
13,
81,
67,
3618,
3355,
3126,
18,
588,
12,
77,
10019,
3639,
309,
261,
3618,
17439,
18,
1467,
1435,
422,
374,
13,
3639,
288,
5411,
309,
261,
81,
67,
3618,
17439,
6581,
480,
446,
13,
5411,
288,
7734,
312,
67,
5414,
9084,
17439,
18,
4479,
12,
81,
67,
3618,
17439,
6581,
1769,
7734,
312,
67,
3618,
17439,
6581,
273,
446,
31,
15604,
327,
31,
9079,
312,
67,
3618,
17439,
6581,
273,
394,
804,
6581,
5621,
3639,
312,
67,
5414,
9084,
17439,
18,
1289,
12,
81,
67,
3618,
17439,
6581,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
13696,
87,
18,
1467,
5621,
965,
77,
13,
3639,
288,
5411,
20258,
3355,
13696,
273,
261,
22966,
13,
3618,
17439,
18,
588,
12,
77,
1769,
5411,
804,
12958,
761,
273,
394,
804,
12958,
12,
3618,
3355,
18,
81,
67,
529,
1769,
5411,
527,
12958,
12,
81,
67,
5414,
9084,
17439,
16,
761,
16,
315,
3618,
3355,
10951,
397,
277,
1769,
5411,
312,
67,
3618,
3355,
3126,
18,
1289,
12,
1726,
1769,
6647,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
9084,
17439,
12,
5018,
13696,
87,
13,
565,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
312,
67,
3618,
3355,
3126,
18,
1467,
5621,
965,
77,
13,
5411,
312,
67,
5414,
9084,
17439,
18,
4479,
12443,
46,
12958,
13,
81,
67,
3618,
3355,
3126,
18,
588,
12,
77,
10019,
3639,
309,
261,
3618,
17439,
18,
1467,
1435,
422,
374,
13,
3639,
288,
5411,
309,
261,
81,
67,
3618,
17439,
6581,
480,
446,
13,
5411,
288,
7734,
312,
67,
5414,
9084,
17439,
18,
4479,
12,
81,
67,
3618,
17439,
6581,
1769,
7734,
312,
67,
3618,
17439,
6581,
273,
446,
31,
15604,
327,
31,
9079,
312,
67,
3618,
17439,
6581,
273,
394,
804,
6581,
2
] | |
if (! isCurrentNodeExecuted()) | if (m_gtpSynchronizer.isOutOfSync()) | private boolean checkCurrentNodeExecuted() { if (m_commandThread == null) return true; if (! isCurrentNodeExecuted()) { Object[] options = { "Detach Program", "Cancel" }; Object message = "Could not synchronize current\n" + "position with Go program"; int n = JOptionPane.showOptionDialog(this, message, "Error", JOptionPane.YES_NO_OPTION, JOptionPane.ERROR_MESSAGE, null, options, options[1]); if (n == 0) cbDetachProgram(); return false; } return true; } | 2255 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2255/64308c7007e4efc87ed32a07a59287478e71b884/GoGui.java/clean/src/net/sf/gogui/gogui/GoGui.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
866,
3935,
907,
23839,
1435,
565,
288,
3639,
309,
261,
81,
67,
3076,
3830,
422,
446,
13,
5411,
327,
638,
31,
3639,
309,
261,
81,
67,
4521,
84,
19298,
1824,
18,
291,
11224,
4047,
10756,
3639,
288,
5411,
1033,
8526,
702,
273,
288,
315,
17650,
13586,
3113,
315,
6691,
6,
289,
31,
5411,
1033,
883,
273,
7734,
315,
4445,
486,
16978,
783,
64,
82,
6,
397,
7734,
315,
3276,
598,
4220,
5402,
14432,
5411,
509,
290,
273,
804,
1895,
8485,
18,
4500,
1895,
6353,
12,
2211,
16,
883,
16,
315,
668,
3113,
4766,
1171,
804,
1895,
8485,
18,
29081,
67,
3417,
67,
7425,
16,
4766,
1171,
804,
1895,
8485,
18,
3589,
67,
8723,
16,
4766,
1171,
446,
16,
702,
16,
702,
63,
21,
19226,
5411,
309,
261,
82,
422,
374,
13,
7734,
2875,
17650,
9459,
5621,
5411,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
866,
3935,
907,
23839,
1435,
565,
288,
3639,
309,
261,
81,
67,
3076,
3830,
422,
446,
13,
5411,
327,
638,
31,
3639,
309,
261,
81,
67,
4521,
84,
19298,
1824,
18,
291,
11224,
4047,
10756,
3639,
288,
5411,
1033,
8526,
702,
273,
288,
315,
17650,
13586,
3113,
315,
6691,
6,
289,
31,
5411,
1033,
883,
273,
7734,
315,
4445,
486,
16978,
783,
64,
82,
6,
397,
7734,
315,
3276,
598,
4220,
5402,
14432,
5411,
509,
290,
273,
804,
1895,
8485,
18,
4500,
1895,
6353,
12,
2211,
16,
883,
16,
315,
668,
3113,
4766,
1171,
804,
1895,
8485,
18,
29081,
67,
3417,
67,
7425,
16,
4766,
1171,
804,
1895,
8485,
18,
3589,
67,
8723,
16,
4766,
1171,
2
] |
public org.quickfix.field.XmlDataLen getXmlDataLen() throws FieldNotFound { org.quickfix.field.XmlDataLen value = new org.quickfix.field.XmlDataLen(); | public quickfix.field.XmlDataLen getXmlDataLen() throws FieldNotFound { quickfix.field.XmlDataLen value = new quickfix.field.XmlDataLen(); | public org.quickfix.field.XmlDataLen getXmlDataLen() throws FieldNotFound { org.quickfix.field.XmlDataLen value = new org.quickfix.field.XmlDataLen(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/Message.java/clean/src/java/src/quickfix/fix42/Message.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
4432,
751,
2891,
28504,
751,
2891,
1435,
1216,
2286,
2768,
1377,
288,
2358,
18,
19525,
904,
18,
1518,
18,
4432,
751,
2891,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
4432,
751,
2891,
5621,
3639,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
4432,
751,
2891,
28504,
751,
2891,
1435,
1216,
2286,
2768,
1377,
288,
2358,
18,
19525,
904,
18,
1518,
18,
4432,
751,
2891,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
4432,
751,
2891,
5621,
3639,
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
] |
logger.debug("initialize(" + o + ")"); if (o instanceof MBase) { if (((MBase) o).getUUID() == null) { ((MBase) o).setUUID(UUIDManager.SINGLETON.getNewUUID()); } UmlModelEventPump pump = UmlModelEventPump.getPump(); ((MBase) o).addMElementListener(pump); ((MBase) o).addMElementListener(UmlModelListener.getInstance()); EventListenerList[] lists = pump.getClassListenerMap().getListenerList(o.getClass()); for (int i = 0; i < lists.length; i++) { Object[] listenerList = lists[i].listenerList; for (int j = 0; j < listenerList.length; j += 3) { pump.addModelEventListener( listenerList[j + 2], o, (String) listenerList[j + 1]); } } } } | if (o instanceof MBase) { if (((MBase) o).getUUID() == null) { ((MBase) o).setUUID(UUIDManager.SINGLETON.getNewUUID()); } addListenersToModelElement(o); UmlModelEventPump pump = UmlModelEventPump.getPump(); EventListenerList[] lists = pump.getClassListenerMap().getListenerList(o.getClass()); for (int i = 0; i < lists.length; i++) { Object[] listenerList = lists[i]._listenerList; for (int j = 0; j < listenerList.length; j += 3) { pump.addModelEventListener( listenerList[j + 2], o, (String) listenerList[j + 1]); } } } } | protected void initialize(Object o) { logger.debug("initialize(" + o + ")"); if (o instanceof MBase) { if (((MBase) o).getUUID() == null) { ((MBase) o).setUUID(UUIDManager.SINGLETON.getNewUUID()); } // next two objects are the ONLY two objects that need to listen // to all modelevents. UmlModelEventPump pump = UmlModelEventPump.getPump(); ((MBase) o).addMElementListener(pump); ((MBase) o).addMElementListener(UmlModelListener.getInstance()); EventListenerList[] lists = pump.getClassListenerMap().getListenerList(o.getClass()); for (int i = 0; i < lists.length; i++) { Object[] listenerList = lists[i].listenerList; for (int j = 0; j < listenerList.length; j += 3) { pump.addModelEventListener( listenerList[j + 2], o, (String) listenerList[j + 1]); } } } } | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/1ebb17ac06205415cc8d51f57abdfb1e5ec54d76/AbstractUmlModelFactory.java/buggy/src_new/org/argouml/model/uml/AbstractUmlModelFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4046,
12,
921,
320,
13,
288,
202,
202,
4901,
18,
4148,
2932,
11160,
2932,
397,
320,
397,
7310,
1769,
202,
202,
430,
261,
83,
1276,
490,
2171,
13,
288,
1082,
202,
430,
261,
12443,
49,
2171,
13,
320,
2934,
588,
5562,
1435,
422,
446,
13,
288,
9506,
202,
12443,
49,
2171,
13,
320,
2934,
542,
5562,
12,
5562,
1318,
18,
20184,
56,
673,
18,
588,
1908,
5562,
10663,
1082,
202,
97,
1082,
202,
759,
1024,
2795,
2184,
854,
326,
20747,
2795,
2184,
716,
1608,
358,
6514,
1082,
202,
759,
358,
777,
938,
5989,
18,
1082,
202,
57,
781,
1488,
1133,
52,
2801,
293,
2801,
273,
587,
781,
1488,
1133,
52,
2801,
18,
588,
52,
2801,
5621,
1082,
202,
12443,
49,
2171,
13,
320,
2934,
1289,
12310,
2223,
12,
84,
2801,
1769,
1082,
202,
12443,
49,
2171,
13,
320,
2934,
1289,
12310,
2223,
12,
57,
781,
1488,
2223,
18,
588,
1442,
10663,
1082,
202,
7375,
682,
8526,
6035,
273,
9506,
202,
84,
2801,
18,
588,
797,
2223,
863,
7675,
588,
2223,
682,
12,
83,
18,
588,
797,
10663,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
6035,
18,
2469,
31,
277,
27245,
288,
9506,
202,
921,
8526,
2991,
682,
273,
6035,
63,
77,
8009,
12757,
682,
31,
9506,
202,
1884,
261,
474,
525,
273,
374,
31,
525,
411,
2991,
682,
18,
2469,
31,
525,
1011,
890,
13,
288,
6862,
202,
84,
2801,
18,
1289,
1488,
7375,
12,
25083,
202,
12757,
682,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4046,
12,
921,
320,
13,
288,
202,
202,
4901,
18,
4148,
2932,
11160,
2932,
397,
320,
397,
7310,
1769,
202,
202,
430,
261,
83,
1276,
490,
2171,
13,
288,
1082,
202,
430,
261,
12443,
49,
2171,
13,
320,
2934,
588,
5562,
1435,
422,
446,
13,
288,
9506,
202,
12443,
49,
2171,
13,
320,
2934,
542,
5562,
12,
5562,
1318,
18,
20184,
56,
673,
18,
588,
1908,
5562,
10663,
1082,
202,
97,
1082,
202,
759,
1024,
2795,
2184,
854,
326,
20747,
2795,
2184,
716,
1608,
358,
6514,
1082,
202,
759,
358,
777,
938,
5989,
18,
1082,
202,
57,
781,
1488,
1133,
52,
2801,
293,
2801,
273,
587,
781,
1488,
1133,
52,
2801,
18,
588,
52,
2801,
2
] |
private void generateSequenceReset(int beginSeqNo, int endSeqNo) { | private void generateSequenceReset(int beginSeqNo, int endSeqNo) throws FieldNotFound { | private void generateSequenceReset(int beginSeqNo, int endSeqNo) { Message sequenceReset = messageFactory.create(sessionID.getBeginString(), MsgType.SEQUENCE_RESET); int newSeqNo = endSeqNo; sequenceReset.getHeader().setBoolean(PossDupFlag.FIELD, true); sequenceReset.getHeader().setUtcTimeStamp(OrigSendingTime.FIELD, SystemTime.getDate()); sequenceReset.setInt(NewSeqNo.FIELD, newSeqNo); initializeHeader(sequenceReset.getHeader()); sequenceReset.getHeader().setInt(MsgSeqNum.FIELD, beginSeqNo); sequenceReset.setBoolean(GapFillFlag.FIELD, true); sendRaw(sequenceReset, beginSeqNo); state.logEvent("Sent SequenceReset TO: " + newSeqNo); } | 6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/abc19ec06e673e78761696d9fa00db7d375068b9/Session.java/clean/src/quickfix/Session.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
4021,
7013,
12,
474,
2376,
6926,
2279,
16,
509,
679,
6926,
2279,
13,
1216,
2286,
2768,
288,
3639,
2350,
3102,
7013,
273,
883,
1733,
18,
2640,
12,
17255,
18,
588,
8149,
780,
9334,
7734,
8671,
559,
18,
25330,
67,
26665,
1769,
3639,
509,
394,
6926,
2279,
273,
679,
6926,
2279,
31,
3639,
3102,
7013,
18,
588,
1864,
7675,
542,
5507,
12,
1616,
87,
30419,
4678,
18,
6776,
16,
638,
1769,
3639,
3102,
7013,
18,
588,
1864,
7675,
542,
57,
5111,
21536,
12,
4741,
16322,
950,
18,
6776,
16,
2332,
950,
18,
588,
1626,
10663,
3639,
3102,
7013,
18,
542,
1702,
12,
1908,
6926,
2279,
18,
6776,
16,
394,
6926,
2279,
1769,
3639,
4046,
1864,
12,
6178,
7013,
18,
588,
1864,
10663,
3639,
3102,
7013,
18,
588,
1864,
7675,
542,
1702,
12,
3332,
6926,
2578,
18,
6776,
16,
2376,
6926,
2279,
1769,
3639,
3102,
7013,
18,
542,
5507,
12,
14001,
8026,
4678,
18,
6776,
16,
638,
1769,
3639,
1366,
4809,
12,
6178,
7013,
16,
2376,
6926,
2279,
1769,
3639,
919,
18,
1330,
1133,
2932,
7828,
8370,
7013,
8493,
30,
315,
397,
394,
6926,
2279,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
4021,
7013,
12,
474,
2376,
6926,
2279,
16,
509,
679,
6926,
2279,
13,
1216,
2286,
2768,
288,
3639,
2350,
3102,
7013,
273,
883,
1733,
18,
2640,
12,
17255,
18,
588,
8149,
780,
9334,
7734,
8671,
559,
18,
25330,
67,
26665,
1769,
3639,
509,
394,
6926,
2279,
273,
679,
6926,
2279,
31,
3639,
3102,
7013,
18,
588,
1864,
7675,
542,
5507,
12,
1616,
87,
30419,
4678,
18,
6776,
16,
638,
1769,
3639,
3102,
7013,
18,
588,
1864,
7675,
542,
57,
5111,
21536,
12,
4741,
16322,
950,
18,
6776,
16,
2332,
950,
18,
588,
1626,
10663,
3639,
3102,
7013,
18,
542,
1702,
12,
1908,
6926,
2279,
18,
6776,
16,
394,
6926,
2279,
1769,
3639,
4046,
1864,
12,
2
] |
fixnumClass.defineMethod("==", getMethodEqual()); fixnumClass.defineMethod("<=>", getMethodCmp()); fixnumClass.defineMethod(">", getMethodGt()); fixnumClass.defineMethod(">=", getMethodGe()); fixnumClass.defineMethod("<", getMethodLt()); fixnumClass.defineMethod("<=", getMethodLe()); | fixnumClass.defineMethod("==", getMethod("op_equal", RubyNumeric.class)); fixnumClass.defineMethod("<=>", getMethod("op_cmp", RubyNumeric.class)); fixnumClass.defineMethod(">", getMethod("op_gt", RubyNumeric.class)); fixnumClass.defineMethod(">=", getMethod("op_ge", RubyNumeric.class)); fixnumClass.defineMethod("<", getMethod("op_lt", RubyNumeric.class)); fixnumClass.defineMethod("<=", getMethod("op_le", RubyNumeric.class)); | public static RubyClass createFixnum(Ruby ruby) { RubyClass fixnumClass = ruby.defineClass("Fixnum", ruby.getIntegerClass()); fixnumClass.defineMethod("to_i", getMethodToI()); fixnumClass.defineMethod("to_s", getMethodToS()); fixnumClass.defineMethod("+", getMethodPlus()); fixnumClass.defineMethod("-", getMethodMinus()); fixnumClass.defineMethod("*", getMethodMul()); fixnumClass.defineMethod("/", getMethodDiv()); fixnumClass.defineMethod("%", getMethodMod()); fixnumClass.defineMethod("**", getMethodPow()); fixnumClass.defineMethod("==", getMethodEqual()); fixnumClass.defineMethod("<=>", getMethodCmp()); fixnumClass.defineMethod(">", getMethodGt()); fixnumClass.defineMethod(">=", getMethodGe()); fixnumClass.defineMethod("<", getMethodLt()); fixnumClass.defineMethod("<=", getMethodLe()); return fixnumClass; } | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/a9420f23379e292698ea011ab08fb480b4decbcc/RbFixnum.java/buggy/org/jruby/core/RbFixnum.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
797,
752,
8585,
2107,
12,
54,
10340,
22155,
13,
288,
3639,
19817,
797,
2917,
2107,
797,
273,
22155,
18,
11255,
797,
2932,
8585,
2107,
3113,
22155,
18,
588,
4522,
797,
10663,
7734,
2917,
2107,
797,
18,
11255,
1305,
2932,
869,
67,
77,
3113,
6272,
774,
45,
10663,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
869,
67,
87,
3113,
6272,
774,
55,
10663,
7734,
2917,
2107,
797,
18,
11255,
1305,
2932,
15,
3113,
6272,
13207,
10663,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
17,
3113,
6272,
18434,
10663,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
14,
3113,
6272,
27860,
10663,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
19,
3113,
6272,
7244,
10663,
3639,
2917,
2107,
797,
18,
11255,
1305,
27188,
3113,
6272,
1739,
10663,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
636,
3113,
6272,
28289,
10663,
7734,
2917,
2107,
797,
18,
11255,
1305,
2932,
631,
3113,
6272,
5812,
10663,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
32,
33,
2984,
16,
6272,
31832,
10663,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
2984,
16,
6272,
43,
88,
10663,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
34,
1546,
16,
6272,
18809,
10663,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
32,
3113,
6272,
30247,
10663,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
32,
1546,
16,
6272,
1682,
10663,
7734,
327,
2917,
2107,
797,
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,
760,
19817,
797,
752,
8585,
2107,
12,
54,
10340,
22155,
13,
288,
3639,
19817,
797,
2917,
2107,
797,
273,
22155,
18,
11255,
797,
2932,
8585,
2107,
3113,
22155,
18,
588,
4522,
797,
10663,
7734,
2917,
2107,
797,
18,
11255,
1305,
2932,
869,
67,
77,
3113,
6272,
774,
45,
10663,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
869,
67,
87,
3113,
6272,
774,
55,
10663,
7734,
2917,
2107,
797,
18,
11255,
1305,
2932,
15,
3113,
6272,
13207,
10663,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
17,
3113,
6272,
18434,
10663,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
14,
3113,
6272,
27860,
10663,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
19,
3113,
6272,
7244,
10663,
2
] |
vars.removeLocal(node.getString()); | String functionName = node.getString(); if (functionName == null) continue; vars.removeLocal(functionName); | protected void addVariables(Node tree, VariableTable vars) { // OPT: a whole pass to collect variables seems expensive. // Could special case to go into statements only. PreorderNodeIterator iterator = tree.getPreorderIterator(); Hashtable ht = null; Node node; while ((node = iterator.nextNode()) != null) { int nodeType = node.getType(); if (nodeType == TokenStream.FUNCTION) { // In a function with both "var x" and "function x", // disregard the var statement, independent of order. vars.removeLocal(node.getString()); if (ht == null) ht = new Hashtable(); ht.put(node.getString(), Boolean.TRUE); } if (nodeType != TokenStream.VAR) continue; ShallowNodeIterator i = node.getChildIterator(); while (i.hasMoreElements()) { Node n = i.nextNode(); if (ht == null || ht.get(n.getString()) == null) vars.addLocal(n.getString()); } } } | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/7e8572925ed0e0efe10700097029f341550fc4cf/NodeTransformer.java/clean/js/rhino/src/org/mozilla/javascript/NodeTransformer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
527,
6158,
12,
907,
2151,
16,
7110,
1388,
4153,
13,
288,
3639,
368,
16456,
30,
279,
7339,
1342,
358,
3274,
3152,
12001,
19326,
18,
3639,
368,
14312,
4582,
648,
358,
1960,
1368,
6317,
1338,
18,
3639,
2962,
1019,
907,
3198,
2775,
273,
2151,
18,
588,
1386,
1019,
3198,
5621,
3639,
18559,
14049,
273,
446,
31,
3639,
2029,
756,
31,
3639,
1323,
14015,
2159,
273,
2775,
18,
4285,
907,
10756,
480,
446,
13,
288,
5411,
509,
9507,
273,
756,
18,
588,
559,
5621,
5411,
309,
261,
2159,
559,
422,
3155,
1228,
18,
7788,
13,
288,
7734,
368,
657,
279,
445,
598,
3937,
315,
1401,
619,
6,
471,
315,
915,
619,
3113,
7734,
368,
1015,
1574,
1060,
326,
569,
3021,
16,
14807,
434,
1353,
18,
7734,
514,
14117,
273,
756,
18,
588,
780,
5621,
309,
261,
915,
461,
422,
446,
13,
1324,
31,
4153,
18,
4479,
2042,
12,
915,
461,
1769,
7734,
309,
261,
647,
422,
446,
13,
10792,
14049,
273,
394,
18559,
5621,
7734,
14049,
18,
458,
12,
2159,
18,
588,
780,
9334,
3411,
18,
18724,
1769,
5411,
289,
5411,
309,
261,
2159,
559,
480,
3155,
1228,
18,
7716,
13,
7734,
1324,
31,
5411,
2638,
5965,
907,
3198,
277,
273,
756,
18,
588,
1763,
3198,
5621,
5411,
1323,
261,
77,
18,
5332,
7417,
3471,
10756,
288,
7734,
2029,
290,
273,
277,
18,
4285,
907,
5621,
7734,
309,
261,
647,
422,
446,
747,
14049,
18,
588,
12,
82,
18,
588,
780,
10756,
422,
446,
13,
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,
4750,
918,
527,
6158,
12,
907,
2151,
16,
7110,
1388,
4153,
13,
288,
3639,
368,
16456,
30,
279,
7339,
1342,
358,
3274,
3152,
12001,
19326,
18,
3639,
368,
14312,
4582,
648,
358,
1960,
1368,
6317,
1338,
18,
3639,
2962,
1019,
907,
3198,
2775,
273,
2151,
18,
588,
1386,
1019,
3198,
5621,
3639,
18559,
14049,
273,
446,
31,
3639,
2029,
756,
31,
3639,
1323,
14015,
2159,
273,
2775,
18,
4285,
907,
10756,
480,
446,
13,
288,
5411,
509,
9507,
273,
756,
18,
588,
559,
5621,
5411,
309,
261,
2159,
559,
422,
3155,
1228,
18,
7788,
13,
288,
7734,
368,
657,
279,
445,
598,
3937,
315,
1401,
619,
6,
471,
315,
915,
619,
3113,
7734,
368,
1015,
1574,
1060,
326,
2
] |
if (inputState.guessing==0) { qid_AST = astFactory.create(qid); astFactory.addASTChild(currentAST, qid_AST); } | qid_AST = astFactory.create(qid); astFactory.addASTChild(currentAST, qid_AST); | public final void variableDefinitions( AST mods, AST t ) throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST variableDefinitions_AST = null; Token id = null; AST id_AST = null; Token qid = null; AST qid_AST = null; AST param_AST = null; AST tc_AST = null; AST mb_AST = null; if ((LA(1)==IDENT) && (_tokenSet_28.member(LA(2)))) { variableDeclarator(getASTFactory().dupTree(mods), getASTFactory().dupTree(t)); if (inputState.guessing==0) { astFactory.addASTChild(currentAST, returnAST); } { _loop186: do { if ((LA(1)==COMMA)) { match(COMMA); nls(); variableDeclarator(getASTFactory().dupTree(mods), getASTFactory().dupTree(t)); if (inputState.guessing==0) { astFactory.addASTChild(currentAST, returnAST); } } else { break _loop186; } } while (true); } if ( inputState.guessing==0 ) { variableDefinitions_AST = (AST)currentAST.root; } } else if ((LA(1)==IDENT||LA(1)==STRING_LITERAL) && (LA(2)==LPAREN)) { { switch ( LA(1)) { case IDENT: { id = LT(1); if (inputState.guessing==0) { id_AST = astFactory.create(id); astFactory.addASTChild(currentAST, id_AST); } match(IDENT); break; } case STRING_LITERAL: { qid = LT(1); if (inputState.guessing==0) { qid_AST = astFactory.create(qid); astFactory.addASTChild(currentAST, qid_AST); } match(STRING_LITERAL); if ( inputState.guessing==0 ) { qid_AST.setType(IDENT); } break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } match(LPAREN); parameterDeclarationList(); if (inputState.guessing==0) { param_AST = (AST)returnAST; } match(RPAREN); { switch ( LA(1)) { case LITERAL_throws: { throwsClause(); if (inputState.guessing==0) { tc_AST = (AST)returnAST; } break; } case EOF: case LCURLY: case RCURLY: case SEMI: case NLS: case LITERAL_default: case LITERAL_else: case LITERAL_case: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } nlsWarn(); { switch ( LA(1)) { case LCURLY: { openBlock(); if (inputState.guessing==0) { mb_AST = (AST)returnAST; } break; } case EOF: case RCURLY: case SEMI: case NLS: case LITERAL_default: case LITERAL_else: case LITERAL_case: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } if ( inputState.guessing==0 ) { variableDefinitions_AST = (AST)currentAST.root; if (qid_AST != null) id_AST = qid_AST; variableDefinitions_AST = (AST)astFactory.make( (new ASTArray(7)).add(astFactory.create(METHOD_DEF,"METHOD_DEF")).add(mods).add((AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(TYPE,"TYPE")).add(t))).add(id_AST).add(param_AST).add(tc_AST).add(mb_AST)); currentAST.root = variableDefinitions_AST; currentAST.child = variableDefinitions_AST!=null &&variableDefinitions_AST.getFirstChild()!=null ? variableDefinitions_AST.getFirstChild() : variableDefinitions_AST; currentAST.advanceChildToEnd(); } if ( inputState.guessing==0 ) { variableDefinitions_AST = (AST)currentAST.root; } } else { throw new NoViableAltException(LT(1), getFilename()); } returnAST = variableDefinitions_AST; } | 6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/5c53aea8416ae7d318cf0157b4690ba71badb0f9/GroovyRecognizer.java/clean/src/main/org/codehaus/groovy/antlr/parser/GroovyRecognizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2190,
7130,
12,
202,
202,
9053,
15546,
16,
9183,
268,
202,
13,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
9053,
2190,
7130,
67,
9053,
273,
446,
31,
202,
202,
1345,
225,
612,
273,
446,
31,
202,
202,
9053,
612,
67,
9053,
273,
446,
31,
202,
202,
1345,
225,
1043,
350,
273,
446,
31,
202,
202,
9053,
1043,
350,
67,
9053,
273,
446,
31,
202,
202,
9053,
579,
67,
9053,
273,
446,
31,
202,
202,
9053,
1715,
67,
9053,
273,
446,
31,
202,
202,
9053,
4903,
67,
9053,
273,
446,
31,
9506,
202,
430,
14015,
2534,
12,
21,
13,
631,
13355,
13,
597,
261,
67,
2316,
694,
67,
6030,
18,
5990,
12,
2534,
12,
22,
3719,
3719,
288,
1082,
202,
6105,
31419,
12,
588,
9053,
1733,
7675,
26427,
2471,
12,
22760,
3631,
21821,
4506,
882,
1733,
7675,
26427,
2471,
12,
88,
10019,
1082,
202,
430,
261,
2630,
1119,
18,
20885,
310,
631,
20,
13,
288,
9506,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
327,
9053,
1769,
1082,
202,
97,
1082,
202,
95,
1082,
202,
67,
6498,
2643,
26,
30,
1082,
202,
2896,
288,
9506,
202,
430,
14015,
2534,
12,
21,
13,
631,
4208,
5535,
3719,
288,
6862,
202,
1916,
12,
4208,
5535,
1769,
6862,
202,
82,
3251,
5621,
6862,
202,
6105,
31419,
12,
588,
9053,
1733,
7675,
26427,
2471,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2190,
7130,
12,
202,
202,
9053,
15546,
16,
9183,
268,
202,
13,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
9053,
2190,
7130,
67,
9053,
273,
446,
31,
202,
202,
1345,
225,
612,
273,
446,
31,
202,
202,
9053,
612,
67,
9053,
273,
446,
31,
202,
202,
1345,
225,
1043,
350,
273,
446,
31,
202,
202,
9053,
1043,
350,
67,
9053,
273,
446,
31,
202,
202,
9053,
579,
67,
9053,
273,
446,
31,
202,
202,
9053,
1715,
67,
9053,
273,
446,
31,
202,
202,
9053,
4903,
67,
9053,
273,
446,
31,
9506,
202,
430,
14015,
2
] |
ExpressionConverter.getDefault(), dropEnablementChildren[0]); | ExpressionConverter.getDefault(), dropEnablementChildren[0]); | private void init() { id = configurationElement.getAttribute(ExtensionPointElements.ATT_ID); name = configurationElement.getAttribute(ExtensionPointElements.NAME); description = configurationElement.getAttribute(ExtensionPointElements.DESCRIPTION); IConfigurationElement[] dragEnablementChildren = configurationElement.getChildren(ExtensionPointElements.DRAG_ENABLEMENT); if (dragEnablementChildren.length > 0 && dragEnablementChildren[0] != null) { try { dragEnablement = ElementHandler.getDefault().create( ExpressionConverter.getDefault(), dragEnablementChildren[0]); } catch (CoreException e) { NavigatorPlugin.log(IStatus.ERROR, 0, e.getMessage(), e); } } IConfigurationElement[] dropEnablementChildren = configurationElement.getChildren(ExtensionPointElements.DROP_ENABLEMENT); if (dropEnablementChildren.length > 0 && dropEnablementChildren[0] != null) { this.dropEnablementConfigElement = dropEnablementChildren[0]; try { dropEnablement = ElementHandler.getDefault().create( ExpressionConverter.getDefault(), dropEnablementChildren[0]); } catch (CoreException e) { NavigatorPlugin.log(IStatus.ERROR, 0, e.getMessage(), e); } } IConfigurationElement[] serializersChild = configurationElement.getChildren(ExtensionPointElements.SERIALIZERS); if (serializersChild.length > 0 && serializersChild[0] != null) this.serializers = new SerializerCollectionDescriptor(this.id, serializersChild[0], dragEnablement); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/c93d807ed962723d90daba76fc2003e2c1801cbc/DropHandlerDescriptor.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/dnd/DropHandlerDescriptor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1208,
1435,
288,
202,
202,
350,
273,
1664,
1046,
18,
588,
1499,
12,
3625,
2148,
3471,
18,
789,
56,
67,
734,
1769,
202,
202,
529,
273,
1664,
1046,
18,
588,
1499,
12,
3625,
2148,
3471,
18,
1985,
1769,
202,
202,
3384,
273,
1664,
1046,
18,
588,
1499,
12,
3625,
2148,
3471,
18,
15911,
1769,
202,
202,
45,
1750,
1046,
8526,
8823,
8317,
475,
4212,
273,
1664,
1046,
18,
588,
4212,
12,
3625,
2148,
3471,
18,
6331,
1781,
67,
29377,
3212,
1769,
202,
202,
430,
261,
15997,
8317,
475,
4212,
18,
2469,
405,
374,
597,
8823,
8317,
475,
4212,
63,
20,
65,
480,
446,
13,
288,
1082,
202,
698,
288,
9506,
202,
15997,
8317,
475,
273,
3010,
1503,
18,
588,
1868,
7675,
2640,
12,
25083,
202,
2300,
5072,
18,
588,
1868,
9334,
8823,
8317,
475,
4212,
63,
20,
19226,
1082,
202,
97,
1044,
261,
25341,
425,
13,
288,
9506,
202,
22817,
3773,
18,
1330,
12,
45,
1482,
18,
3589,
16,
374,
16,
425,
18,
24906,
9334,
425,
1769,
1082,
202,
97,
202,
202,
97,
3196,
202,
45,
1750,
1046,
8526,
3640,
8317,
475,
4212,
273,
1664,
1046,
18,
588,
4212,
12,
3625,
2148,
3471,
18,
18768,
67,
29377,
3212,
1769,
202,
202,
430,
261,
7285,
8317,
475,
4212,
18,
2469,
405,
374,
597,
3640,
8317,
475,
4212,
63,
20,
65,
480,
446,
13,
288,
1082,
202,
2211,
18,
7285,
8317,
475,
809,
1046,
273,
3640,
8317,
475,
4212,
63,
20,
15533,
1082,
202,
698,
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,
1208,
1435,
288,
202,
202,
350,
273,
1664,
1046,
18,
588,
1499,
12,
3625,
2148,
3471,
18,
789,
56,
67,
734,
1769,
202,
202,
529,
273,
1664,
1046,
18,
588,
1499,
12,
3625,
2148,
3471,
18,
1985,
1769,
202,
202,
3384,
273,
1664,
1046,
18,
588,
1499,
12,
3625,
2148,
3471,
18,
15911,
1769,
202,
202,
45,
1750,
1046,
8526,
8823,
8317,
475,
4212,
273,
1664,
1046,
18,
588,
4212,
12,
3625,
2148,
3471,
18,
6331,
1781,
67,
29377,
3212,
1769,
202,
202,
430,
261,
15997,
8317,
475,
4212,
18,
2469,
405,
374,
597,
8823,
8317,
475,
4212,
63,
20,
65,
480,
446,
13,
288,
1082,
202,
698,
288,
9506,
202,
15997,
8317,
475,
273,
2
] |
Logger.error(this, "Unable to set the revocation flag"); | public void onSuccess(FetchResult result, ClientGetter state) { // TODO ensure it works if(!state.getURI().equals(revocationURI)){ System.out.println("Found "+availableVersion); Logger.normal(this, "Found a new version! (" + availableVersion + ", setting up a new UpdatedVersionAviableUserAlert"); alert.set(availableVersion); alert.isValid(true); synchronized(this){ this.cg = state; this.result = result; if(this.isAutoUpdateAllowed) scheduleUpdate(); } }else{ // The key has been blown ! // FIXME: maybe we need a bigger warning message. try{ blow(result.asBucket().getOutputStream().toString()); Logger.error(this, "The revocation key has been found on the network : blocking auto-update"); }catch(IOException e){ // We stop anyway. synchronized(this){ this.hasBeenBlown = true; } Logger.error(this, "Unable to set the revocation flag"); } } } | 52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/cd7564dd94d86425478cc20b8abb29c357946324/NodeUpdater.java/buggy/src/freenet/node/updater/NodeUpdater.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
20613,
12,
5005,
1253,
563,
16,
2445,
8461,
919,
13,
288,
202,
202,
759,
2660,
3387,
518,
6330,
202,
202,
430,
12,
5,
2019,
18,
588,
3098,
7675,
14963,
12,
9083,
4431,
3098,
3719,
95,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
2043,
13773,
5699,
1444,
1769,
1082,
202,
3328,
18,
6130,
12,
2211,
16,
315,
2043,
279,
394,
1177,
5,
7566,
397,
2319,
1444,
397,
3104,
3637,
731,
279,
394,
19301,
1444,
37,
522,
429,
1299,
13298,
8863,
1082,
202,
11798,
18,
542,
12,
5699,
1444,
1769,
1082,
202,
11798,
18,
26810,
12,
3767,
1769,
6862,
202,
22043,
12,
2211,
15329,
9506,
202,
2211,
18,
26275,
273,
919,
31,
9506,
202,
2211,
18,
2088,
273,
563,
31,
9506,
202,
430,
12,
2211,
18,
291,
4965,
1891,
5042,
13,
6862,
202,
10676,
1891,
5621,
1082,
202,
97,
202,
202,
97,
12107,
95,
1082,
202,
759,
1021,
498,
711,
2118,
324,
821,
82,
401,
1082,
202,
759,
9852,
30,
6944,
732,
1608,
279,
18983,
3436,
883,
18,
1082,
202,
698,
95,
9506,
202,
70,
821,
12,
2088,
18,
345,
4103,
7675,
588,
4632,
7675,
10492,
10663,
9506,
202,
3328,
18,
1636,
12,
2211,
16,
315,
1986,
24158,
498,
711,
2118,
1392,
603,
326,
2483,
294,
9445,
3656,
17,
2725,
8863,
1082,
202,
97,
14683,
12,
14106,
425,
15329,
9506,
202,
759,
1660,
2132,
13466,
18,
9506,
202,
22043,
12,
2211,
15329,
6862,
202,
2211,
18,
5332,
25931,
38,
821,
82,
273,
638,
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,
225,
202,
482,
918,
20613,
12,
5005,
1253,
563,
16,
2445,
8461,
919,
13,
288,
202,
202,
759,
2660,
3387,
518,
6330,
202,
202,
430,
12,
5,
2019,
18,
588,
3098,
7675,
14963,
12,
9083,
4431,
3098,
3719,
95,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
2043,
13773,
5699,
1444,
1769,
1082,
202,
3328,
18,
6130,
12,
2211,
16,
315,
2043,
279,
394,
1177,
5,
7566,
397,
2319,
1444,
397,
3104,
3637,
731,
279,
394,
19301,
1444,
37,
522,
429,
1299,
13298,
8863,
1082,
202,
11798,
18,
542,
12,
5699,
1444,
1769,
1082,
202,
11798,
18,
26810,
12,
3767,
1769,
6862,
202,
22043,
12,
2211,
15329,
9506,
202,
2211,
18,
26275,
273,
919,
31,
9506,
202,
2211,
18,
2
] | |
tre.setBlockBounds( (Bounds) EcoreUtil.copy( _boBlock ) ); | tre.setBlockBounds( BoundsImpl.copyInstance( _boBlock ) ); | public PrimitiveRenderEvent copy( ) { Text3DRenderEvent tre = new Text3DRenderEvent( source ); if ( _boBlock != null ) { tre.setBlockBounds( (Bounds) EcoreUtil.copy( _boBlock ) ); } tre.setAction( _iAction ); tre.setTextPosition( _iTextPosition ); if ( _la != null ) { tre.setLabel( (Label) EcoreUtil.copy( _la ) ); } if ( object3D != null ) { tre.object3D = new Object3D( object3D ); } if ( _taBlock != null ) { tre.setBlockAlignment( (TextAlignment) EcoreUtil.copy( _taBlock ) ); } return tre; } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/ad38cf76f1d641ada210d2a5b0551677d4e55a71/Text3DRenderEvent.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/event/Text3DRenderEvent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
14488,
3420,
1133,
1610,
12,
262,
202,
95,
202,
202,
1528,
23,
40,
3420,
1133,
9787,
273,
394,
3867,
23,
40,
3420,
1133,
12,
1084,
11272,
202,
202,
430,
261,
389,
1075,
1768,
480,
446,
262,
202,
202,
95,
1082,
202,
27427,
18,
542,
1768,
5694,
12,
261,
5694,
13,
512,
3644,
1304,
18,
3530,
12,
389,
1075,
1768,
262,
11272,
202,
202,
97,
202,
202,
27427,
18,
542,
1803,
12,
389,
77,
1803,
11272,
202,
202,
27427,
18,
542,
1528,
2555,
12,
389,
77,
1528,
2555,
11272,
202,
202,
430,
261,
389,
11821,
480,
446,
262,
202,
202,
95,
1082,
202,
27427,
18,
542,
2224,
12,
261,
2224,
13,
512,
3644,
1304,
18,
3530,
12,
389,
11821,
262,
11272,
202,
202,
97,
202,
202,
430,
261,
733,
23,
40,
480,
446,
262,
202,
202,
95,
1082,
202,
27427,
18,
1612,
23,
40,
273,
394,
1033,
23,
40,
12,
733,
23,
40,
11272,
202,
202,
97,
202,
202,
430,
261,
389,
2351,
1768,
480,
446,
262,
202,
202,
95,
1082,
202,
27427,
18,
542,
1768,
11535,
12,
261,
1528,
11535,
13,
512,
3644,
1304,
18,
3530,
12,
389,
2351,
1768,
262,
11272,
202,
202,
97,
202,
202,
2463,
9787,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
14488,
3420,
1133,
1610,
12,
262,
202,
95,
202,
202,
1528,
23,
40,
3420,
1133,
9787,
273,
394,
3867,
23,
40,
3420,
1133,
12,
1084,
11272,
202,
202,
430,
261,
389,
1075,
1768,
480,
446,
262,
202,
202,
95,
1082,
202,
27427,
18,
542,
1768,
5694,
12,
261,
5694,
13,
512,
3644,
1304,
18,
3530,
12,
389,
1075,
1768,
262,
11272,
202,
202,
97,
202,
202,
27427,
18,
542,
1803,
12,
389,
77,
1803,
11272,
202,
202,
27427,
18,
542,
1528,
2555,
12,
389,
77,
1528,
2555,
11272,
202,
202,
430,
261,
389,
11821,
480,
446,
262,
202,
202,
95,
1082,
202,
27427,
18,
542,
2224,
12,
261,
2224,
13,
512,
3644,
1304,
18,
3530,
12,
2
] |
ISourcePosition position = support.getPosition(); | ISourcePosition position = support.getPosition(); | private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBuffer(); while ((c = nextc()) != closeQuote || nest > 0) { if (c == -1) { errorHandler.handleError(IErrors.COMPILE_ERROR, position, Messages.getString("unterminated_string")); //$NON-NLS-1$ return 0; } if (c == '\\') { c = nextc(); switch (c) { case '\n' : continue; case '\\' : c = '\\'; break; default : if (c == closeQuote || (openQuote != 0 && c == openQuote)) { stringToken.append((char) c); continue; } if (!isSpace(c)) { stringToken.append('\\'); } break; } } else if (isSpace(c)) { qwords.add(new StrNode(support.getPosition(), stringToken.toString())); stringToken.setLength(0); //Benoit: reset the buffer // skip continuous spaces c = nextc(); while (isSpace(c)) { c = nextc(); } pushback(c); continue; } if (openQuote != 0) { if (c == openQuote) { nest++; } if (c == closeQuote && nest-- == 0) { break; } } stringToken.append((char) c); } if (stringToken.length() > 0) { qwords.add(new StrNode(support.getPosition(), stringToken.toString())); } lexState = LexState.EXPR_END; yaccValue = qwords; return Token.tARRAY; } | 52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/af104711597d4d5b2089320e2517b95b8df14492/RubyYaccLexer.java/buggy/org/jruby/lexer/yacc/RubyYaccLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
509,
1109,
15919,
7363,
12,
474,
1746,
10257,
16,
509,
1696,
10257,
13,
288,
202,
202,
474,
276,
273,
1024,
71,
5621,
202,
202,
45,
1830,
2555,
1754,
273,
2865,
18,
588,
2555,
5621,
202,
202,
759,
6611,
19969,
7292,
18,
202,
202,
17523,
261,
291,
3819,
12,
71,
3719,
288,
1082,
202,
71,
273,
1024,
71,
5621,
202,
202,
97,
202,
202,
6206,
823,
12,
71,
1769,
202,
202,
1076,
907,
1043,
3753,
273,
394,
1510,
907,
12,
3276,
1769,
368,
8563,
202,
202,
474,
15095,
273,
374,
31,
202,
202,
780,
1892,
533,
1345,
273,
394,
6674,
5621,
202,
202,
17523,
14015,
71,
273,
1024,
71,
10756,
480,
1746,
10257,
747,
15095,
405,
374,
13,
288,
1082,
202,
430,
261,
71,
422,
300,
21,
13,
288,
9506,
202,
1636,
1503,
18,
4110,
668,
12,
45,
4229,
18,
31075,
900,
67,
3589,
16,
1754,
16,
4838,
18,
588,
780,
2932,
318,
29133,
67,
1080,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
2463,
374,
31,
1082,
202,
97,
1082,
202,
430,
261,
71,
422,
5282,
13,
288,
9506,
202,
71,
273,
1024,
71,
5621,
9506,
202,
9610,
261,
71,
13,
288,
6862,
202,
3593,
2337,
82,
11,
294,
25083,
202,
17143,
31,
6862,
202,
3593,
5282,
294,
25083,
202,
71,
273,
5282,
31,
25083,
202,
8820,
31,
6862,
202,
1886,
294,
25083,
202,
430,
261,
71,
422,
1746,
10257,
747,
261,
3190,
10257,
480,
374,
597,
276,
422,
1696,
10257,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
509,
1109,
15919,
7363,
12,
474,
1746,
10257,
16,
509,
1696,
10257,
13,
288,
202,
202,
474,
276,
273,
1024,
71,
5621,
202,
202,
45,
1830,
2555,
1754,
273,
2865,
18,
588,
2555,
5621,
202,
202,
759,
6611,
19969,
7292,
18,
202,
202,
17523,
261,
291,
3819,
12,
71,
3719,
288,
1082,
202,
71,
273,
1024,
71,
5621,
202,
202,
97,
202,
202,
6206,
823,
12,
71,
1769,
202,
202,
1076,
907,
1043,
3753,
273,
394,
1510,
907,
12,
3276,
1769,
368,
8563,
202,
202,
474,
15095,
273,
374,
31,
202,
202,
780,
1892,
533,
1345,
273,
394,
6674,
5621,
202,
202,
17523,
14015,
71,
273,
1024,
71,
10756,
480,
1746,
10257,
747,
15095,
405,
374,
2
] |
return new ComponentSampleModel(dataType, width, height, pixelStride, scanlineStride, bankIndices, bandOffsets); | return new ComponentSampleModel(dataType, width, height, pixelStride, scanlineStride, bankIndices, bandOffsets); | public SampleModel createSubsetSampleModel(int[] bands) { int numBands = bands.length; int[] bankIndices = new int[numBands]; int[] bandOffsets = new int[numBands]; for (int b = 0; b < numBands; b++) { bankIndices[b] = this.bankIndices[bands[b]]; bandOffsets[b] = this.bandOffsets[bands[b]]; } return new ComponentSampleModel(dataType, width, height, pixelStride, scanlineStride, bankIndices, bandOffsets); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ComponentSampleModel.java/buggy/core/src/classpath/java/java/awt/image/ComponentSampleModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
11474,
1488,
752,
20315,
8504,
1488,
12,
474,
8526,
18960,
13,
288,
202,
202,
474,
818,
26554,
273,
18960,
18,
2469,
31,
202,
202,
474,
8526,
11218,
8776,
273,
394,
509,
63,
2107,
26554,
15533,
202,
202,
474,
8526,
8937,
13830,
273,
394,
509,
63,
2107,
26554,
15533,
202,
202,
1884,
261,
474,
324,
273,
374,
31,
324,
411,
818,
26554,
31,
324,
27245,
288,
1082,
202,
10546,
8776,
63,
70,
65,
273,
333,
18,
10546,
8776,
63,
29714,
63,
70,
13563,
31,
1082,
202,
12752,
13830,
63,
70,
65,
273,
333,
18,
12752,
13830,
63,
29714,
63,
70,
13563,
31,
202,
202,
97,
202,
202,
2463,
394,
5435,
8504,
1488,
12,
892,
559,
16,
1835,
16,
2072,
16,
4957,
1585,
831,
16,
4135,
1369,
1585,
831,
16,
11218,
8776,
16,
8937,
13830,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
11474,
1488,
752,
20315,
8504,
1488,
12,
474,
8526,
18960,
13,
288,
202,
202,
474,
818,
26554,
273,
18960,
18,
2469,
31,
202,
202,
474,
8526,
11218,
8776,
273,
394,
509,
63,
2107,
26554,
15533,
202,
202,
474,
8526,
8937,
13830,
273,
394,
509,
63,
2107,
26554,
15533,
202,
202,
1884,
261,
474,
324,
273,
374,
31,
324,
411,
818,
26554,
31,
324,
27245,
288,
1082,
202,
10546,
8776,
63,
70,
65,
273,
333,
18,
10546,
8776,
63,
29714,
63,
70,
13563,
31,
1082,
202,
12752,
13830,
63,
70,
65,
273,
333,
18,
12752,
13830,
63,
29714,
63,
70,
13563,
31,
202,
202,
97,
202,
202,
2463,
394,
5435,
8504,
1488,
12,
892,
559,
16,
1835,
2
] |
" ^^^^^\n" + | " ^^^^^^\n" + | public void test082() { this.runNegativeTest( new String[] { "X.java", "public class X {\n" + " \n" + " public static void main(String[] args) {\n" + " X x = new X1();\n" + " System.out.println(x.foo());\n" + " }\n" + " Object foo() {\n" + " return null;\n" + " }\n" + "}\n" + "\n" + "class X1 extends X {\n" + " String foo() {\n" + " return \"SUCCESS\";\n" + " }\n" + "}\n" }, "----------\n" + "1. ERROR in X.java (at line 13)\n" + " String foo() {\n" + " ^^^^^\n" + "The return type is incompatible with X.foo()\n" + "----------\n");} | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/30a989f2410943e7f57d79a197cf0ec585ffc59e/Compliance_1_4.java/clean/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/Compliance_1_4.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1842,
6840,
22,
1435,
288,
202,
2211,
18,
2681,
14959,
4709,
12,
202,
202,
2704,
514,
8526,
288,
1082,
202,
6,
60,
18,
6290,
3113,
1082,
202,
6,
482,
667,
1139,
18890,
82,
6,
397,
1875,
202,
6,
202,
64,
82,
6,
397,
1875,
202,
6,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
18890,
82,
6,
397,
1875,
202,
6,
202,
202,
60,
619,
273,
394,
1139,
21,
5621,
64,
82,
6,
397,
1875,
202,
6,
202,
202,
3163,
18,
659,
18,
8222,
12,
92,
18,
11351,
10663,
64,
82,
6,
397,
1875,
202,
6,
202,
6280,
82,
6,
397,
1875,
202,
6,
202,
921,
8431,
1435,
18890,
82,
6,
397,
1875,
202,
6,
202,
202,
2463,
446,
9747,
82,
6,
397,
1875,
202,
6,
202,
6280,
82,
6,
397,
1875,
202,
6,
6280,
82,
6,
397,
1875,
202,
12691,
82,
6,
397,
1875,
202,
6,
1106,
1139,
21,
3231,
1139,
18890,
82,
6,
397,
1875,
202,
6,
202,
780,
8431,
1435,
18890,
82,
6,
397,
1875,
202,
6,
202,
202,
2463,
1239,
12778,
2412,
9747,
82,
6,
397,
1875,
202,
6,
202,
6280,
82,
6,
397,
1875,
202,
6,
6280,
82,
6,
202,
202,
5779,
202,
202,
6,
15392,
64,
82,
6,
397,
3196,
202,
6,
21,
18,
5475,
316,
1139,
18,
6290,
261,
270,
980,
5958,
5153,
82,
6,
397,
3196,
202,
6,
202,
780,
8431,
1435,
18890,
82,
6,
397,
3196,
202,
6,
202,
20254,
12800,
64,
82,
6,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1842,
6840,
22,
1435,
288,
202,
2211,
18,
2681,
14959,
4709,
12,
202,
202,
2704,
514,
8526,
288,
1082,
202,
6,
60,
18,
6290,
3113,
1082,
202,
6,
482,
667,
1139,
18890,
82,
6,
397,
1875,
202,
6,
202,
64,
82,
6,
397,
1875,
202,
6,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
18890,
82,
6,
397,
1875,
202,
6,
202,
202,
60,
619,
273,
394,
1139,
21,
5621,
64,
82,
6,
397,
1875,
202,
6,
202,
202,
3163,
18,
659,
18,
8222,
12,
92,
18,
11351,
10663,
64,
82,
6,
397,
1875,
202,
6,
202,
6280,
82,
6,
397,
1875,
202,
6,
202,
921,
8431,
1435,
18890,
82,
6,
397,
1875,
202,
6,
2
] |
Object val = editingPath.getLastPathComponent(); cellEditor.addCellEditorListener(cellEditorListener); | Object value = editingPath.getLastPathComponent(); | protected boolean startEditing(TreePath path, MouseEvent event) { int x; int y; if (event == null) { Rectangle bounds = getPathBounds(tree, path); x = bounds.x; y = bounds.y; } else { x = event.getX(); y = event.getY(); } updateCellEditor(); TreeCellEditor ed = getCellEditor(); if (ed != null && ed.shouldSelectCell(event) && ed.isCellEditable(event)) { editingPath = path; editingRow = tree.getRowForPath(editingPath); Object val = editingPath.getLastPathComponent(); cellEditor.addCellEditorListener(cellEditorListener); stopEditingInCompleteEditing = false; boolean expanded = tree.isExpanded(editingPath); isEditing = true; editingComponent = ed.getTreeCellEditorComponent(tree, val, true, expanded, isLeaf(editingRow), editingRow); editingComponent.getParent().setVisible(true); editingComponent.getParent().validate(); tree.add(editingComponent.getParent()); editingComponent.getParent().validate(); validCachedPreferredSize = false; ((JTextField) editingComponent).requestFocusInWindow(false); editorTimer.start(); return true; } return false; } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e62592e8f80f1dcb092adb192d67f254df4e9392/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1250,
787,
28029,
12,
2471,
743,
589,
16,
17013,
1133,
871,
13,
225,
288,
565,
509,
619,
31,
565,
509,
677,
31,
565,
309,
261,
2575,
422,
446,
13,
1377,
288,
3639,
13264,
4972,
273,
4339,
5694,
12,
3413,
16,
589,
1769,
3639,
619,
273,
4972,
18,
92,
31,
3639,
677,
273,
4972,
18,
93,
31,
1377,
289,
565,
469,
1377,
288,
3639,
619,
273,
871,
18,
588,
60,
5621,
3639,
677,
273,
871,
18,
588,
61,
5621,
1377,
289,
565,
1089,
4020,
6946,
5621,
565,
4902,
4020,
6946,
1675,
273,
16458,
6946,
5621,
565,
309,
261,
329,
480,
446,
597,
1675,
18,
13139,
3391,
4020,
12,
2575,
13,
597,
1675,
18,
291,
4020,
15470,
12,
2575,
3719,
1377,
288,
3639,
15755,
743,
273,
589,
31,
3639,
15755,
1999,
273,
2151,
18,
588,
1999,
25589,
12,
4619,
310,
743,
1769,
3639,
1033,
1244,
273,
15755,
743,
18,
588,
3024,
743,
1841,
5621,
3639,
2484,
6946,
18,
1289,
4020,
6946,
2223,
12,
3855,
6946,
2223,
1769,
3639,
2132,
28029,
382,
6322,
28029,
273,
629,
31,
3639,
1250,
8406,
273,
2151,
18,
291,
17957,
12,
4619,
310,
743,
1769,
3639,
353,
28029,
273,
638,
31,
3639,
15755,
1841,
273,
1675,
18,
588,
2471,
4020,
6946,
1841,
12,
3413,
16,
1244,
16,
638,
16,
4766,
7682,
8406,
16,
4766,
7682,
31356,
12,
4619,
310,
1999,
3631,
4766,
7682,
15755,
1999,
1769,
3639,
15755,
1841,
18,
588,
3054,
7675,
542,
6207,
12,
3767,
1769,
3639,
15755,
1841,
18,
588,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1250,
787,
28029,
12,
2471,
743,
589,
16,
17013,
1133,
871,
13,
225,
288,
565,
509,
619,
31,
565,
509,
677,
31,
565,
309,
261,
2575,
422,
446,
13,
1377,
288,
3639,
13264,
4972,
273,
4339,
5694,
12,
3413,
16,
589,
1769,
3639,
619,
273,
4972,
18,
92,
31,
3639,
677,
273,
4972,
18,
93,
31,
1377,
289,
565,
469,
1377,
288,
3639,
619,
273,
871,
18,
588,
60,
5621,
3639,
677,
273,
871,
18,
588,
61,
5621,
1377,
289,
565,
1089,
4020,
6946,
5621,
565,
4902,
4020,
6946,
1675,
273,
16458,
6946,
5621,
565,
309,
261,
329,
480,
446,
597,
1675,
18,
13139,
3391,
4020,
12,
2575,
13,
597,
1675,
18,
291,
4020,
15470,
12,
2575,
2
] |
IGetParameterDefinitionTask task, boolean includeGroups ) | boolean includeGroups ) | private static Collection convertEngineParameters( Collection params, IGetParameterDefinitionTask task, boolean includeGroups ) { if ( params == null ) return Collections.EMPTY_LIST; List ret = new ArrayList( ); for ( Iterator it = params.iterator( ); it.hasNext( ); ) { Object o = it.next( ); if ( o instanceof IScalarParameterDefn ) { IScalarParameterDefn engineParam = (IScalarParameterDefn) o; ParameterGroupDefinition group = null; ParameterDefinition param = convertScalarParameter( engineParam, group, task ); ret.add( param ); } else if ( o instanceof IParameterGroupDefn ) { IParameterGroupDefn engineParam = (IParameterGroupDefn) o; ParameterGroupDefinition paramGroup = convertParameterGroup( engineParam, task ); ret.add( paramGroup ); } } if ( includeGroups ) return ret; // If we are not including the groups, flatten the results return flattenGroups( ret ); } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/d835cdf138e9d6d6ae54363d70ba647041cf4669/BirtViewerReportService.java/clean/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
2200,
1765,
4410,
2402,
12,
2200,
859,
16,
1082,
202,
45,
967,
1662,
1852,
2174,
1562,
16,
1250,
2341,
3621,
262,
202,
95,
202,
202,
430,
261,
859,
422,
446,
262,
1082,
202,
2463,
5737,
18,
13625,
67,
7085,
31,
202,
202,
682,
325,
273,
394,
2407,
12,
11272,
202,
202,
1884,
261,
4498,
518,
273,
859,
18,
9838,
12,
11272,
518,
18,
5332,
2134,
12,
11272,
262,
202,
202,
95,
1082,
202,
921,
320,
273,
518,
18,
4285,
12,
11272,
1082,
202,
430,
261,
320,
1276,
4437,
3473,
1662,
3262,
82,
262,
1082,
202,
95,
9506,
202,
5127,
3473,
1662,
3262,
82,
4073,
786,
273,
261,
5127,
3473,
1662,
3262,
82,
13,
320,
31,
9506,
202,
19094,
1852,
1041,
273,
446,
31,
9506,
202,
1662,
1852,
579,
273,
1765,
13639,
1662,
12,
25083,
202,
8944,
786,
16,
1041,
16,
1562,
11272,
9506,
202,
1349,
18,
1289,
12,
579,
11272,
1082,
202,
97,
1082,
202,
12107,
309,
261,
320,
1276,
467,
19094,
3262,
82,
262,
1082,
202,
95,
9506,
202,
45,
19094,
3262,
82,
4073,
786,
273,
261,
45,
19094,
3262,
82,
13,
320,
31,
9506,
202,
19094,
1852,
579,
1114,
273,
1765,
19094,
12,
25083,
202,
8944,
786,
16,
1562,
11272,
9506,
202,
1349,
18,
1289,
12,
579,
1114,
11272,
1082,
202,
97,
202,
202,
97,
202,
202,
430,
261,
2341,
3621,
262,
1082,
202,
2463,
325,
31,
202,
202,
759,
971,
732,
854,
486,
6508,
326,
3252,
16,
5341,
326,
1686,
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,
760,
2200,
1765,
4410,
2402,
12,
2200,
859,
16,
1082,
202,
45,
967,
1662,
1852,
2174,
1562,
16,
1250,
2341,
3621,
262,
202,
95,
202,
202,
430,
261,
859,
422,
446,
262,
1082,
202,
2463,
5737,
18,
13625,
67,
7085,
31,
202,
202,
682,
325,
273,
394,
2407,
12,
11272,
202,
202,
1884,
261,
4498,
518,
273,
859,
18,
9838,
12,
11272,
518,
18,
5332,
2134,
12,
11272,
262,
202,
202,
95,
1082,
202,
921,
320,
273,
518,
18,
4285,
12,
11272,
1082,
202,
430,
261,
320,
1276,
4437,
3473,
1662,
3262,
82,
262,
1082,
202,
95,
9506,
202,
5127,
3473,
1662,
3262,
82,
4073,
786,
273,
261,
5127,
3473,
1662,
3262,
82,
13,
320,
31,
2
] |
edgeClass = MDependencyImpl.class; | edgeClass = MDependency.class; | public void dragHandle(int mX, int mY, int anX, int anY, Handle hand) { if (hand.index < 10) { _paintButtons = false; super.dragHandle(mX, mY, anX, anY, hand); return; } int cx = _content.getX(), cy = _content.getY(); int cw = _content.getWidth(), ch = _content.getHeight(); int newX = cx, newY = cy, newW = cw, newH = ch; Dimension minSize = _content.getMinimumSize(); int minWidth = minSize.width, minHeight = minSize.height; Class edgeClass = null; Class nodeClass = MComponentImpl.class; int bx = mX, by = mY; boolean reverse = false; switch (hand.index) { case 10: //add dep edgeClass = MDependencyImpl.class; reverse = true; by = cy; bx = cx + cw/2; break; case 11: //add dep edgeClass = MDependencyImpl.class; by = cy + ch; bx = cx + cw/2; break; case 12: //add dep edgeClass = MDependencyImpl.class; reverse = true; by = cy + ch/2; bx = cx + cw; break; case 13: // add dep edgeClass = MDependencyImpl.class; by = cy + ch/2; bx = cx; break; default: System.out.println("invalid handle number"); break; } if (edgeClass != null && nodeClass != null) { Editor ce = Globals.curEditor(); ModeCreateEdgeAndNode m = new ModeCreateEdgeAndNode(ce, edgeClass, nodeClass, false); m.setup((FigNode)_content, _content.getOwner(), bx, by, reverse); ce.mode(m); } } | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/14a0b09a741981ac88dd3fd74f4899bf8d91190b/SelectionComponent.java/buggy/src_new/org/argouml/uml/diagram/deployment/ui/SelectionComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
8823,
3259,
12,
474,
312,
60,
16,
509,
312,
61,
16,
509,
392,
60,
16,
509,
392,
61,
16,
5004,
948,
13,
288,
565,
309,
261,
2349,
18,
1615,
411,
1728,
13,
288,
1377,
389,
84,
1598,
14388,
273,
629,
31,
1377,
2240,
18,
15997,
3259,
12,
81,
60,
16,
312,
61,
16,
392,
60,
16,
392,
61,
16,
948,
1769,
1377,
327,
31,
565,
289,
565,
509,
9494,
273,
389,
1745,
18,
588,
60,
9334,
6143,
273,
389,
1745,
18,
588,
61,
5621,
565,
509,
14098,
273,
389,
1745,
18,
588,
2384,
9334,
462,
273,
389,
1745,
18,
588,
2686,
5621,
565,
509,
394,
60,
273,
9494,
16,
394,
61,
273,
6143,
16,
394,
59,
273,
14098,
16,
394,
44,
273,
462,
31,
565,
13037,
29343,
273,
389,
1745,
18,
588,
13042,
1225,
5621,
565,
509,
1131,
2384,
273,
29343,
18,
2819,
16,
1131,
2686,
273,
29343,
18,
4210,
31,
565,
1659,
3591,
797,
273,
446,
31,
565,
1659,
756,
797,
273,
490,
1841,
2828,
18,
1106,
31,
565,
509,
24356,
273,
312,
60,
16,
635,
273,
312,
61,
31,
565,
1250,
4219,
273,
629,
31,
565,
1620,
261,
2349,
18,
1615,
13,
288,
565,
648,
1728,
30,
368,
1289,
5993,
1377,
3591,
797,
273,
490,
7787,
18,
1106,
31,
1377,
4219,
273,
638,
31,
1377,
635,
273,
6143,
31,
1377,
24356,
273,
9494,
397,
14098,
19,
22,
31,
1377,
898,
31,
565,
648,
4648,
30,
368,
1289,
5993,
1377,
3591,
797,
273,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
8823,
3259,
12,
474,
312,
60,
16,
509,
312,
61,
16,
509,
392,
60,
16,
509,
392,
61,
16,
5004,
948,
13,
288,
565,
309,
261,
2349,
18,
1615,
411,
1728,
13,
288,
1377,
389,
84,
1598,
14388,
273,
629,
31,
1377,
2240,
18,
15997,
3259,
12,
81,
60,
16,
312,
61,
16,
392,
60,
16,
392,
61,
16,
948,
1769,
1377,
327,
31,
565,
289,
565,
509,
9494,
273,
389,
1745,
18,
588,
60,
9334,
6143,
273,
389,
1745,
18,
588,
61,
5621,
565,
509,
14098,
273,
389,
1745,
18,
588,
2384,
9334,
462,
273,
389,
1745,
18,
588,
2686,
5621,
565,
509,
394,
60,
273,
9494,
16,
394,
61,
273,
6143,
16,
394,
59,
2
] |
public Box layout(Context c, Element elem) { // this is to keep track of when we are inside of a form if(elem.getNodeName().equals("form")) { if(elem.hasAttribute("name")) { String name = elem.getAttribute("name"); String action = elem.getAttribute("action"); c.setForm(name,action); } } //u.p("BoxLayout.layout() : " + elem); //u.p("box layout for: " + elem.getNodeName()); BlockBox block = (BlockBox)createBox(c,elem); Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); adjustWidth(c, block); adjustHeight(c, block); block.x = c.getExtents().x; block.y = c.getExtents().y; prepareBox(block,c); Border border = getBorder(c, block); Border padding = getPadding(c, block); Border margin = getMargin(c, block); getBackgroundColor(c,block); //u.p("margin on box block = " + block.margin); //u.p("border on box block = " + block.border); //u.p("padding on box block = " + block.padding); // do children's layout //u.p("avail space = " + block.width); boolean old_sub = c.isSubBlock(); c.setSubBlock(false); layoutChildren(c, block); c.setSubBlock(old_sub); // calculate the inner width block.width = margin.left + border.left + padding.left + block.width + padding.right + border.right + margin.right; block.height = margin.top + border.top + padding.top + block.height + padding.bottom + border.bottom + margin.bottom; //u.p("final width = " + block.width); // if this is a fixed height, then set it explicitly /*if (!block.auto_height) { contents.height = block.height; } */ //u.p("old extents = " + c.getExtents()); //restore the extents c.setExtents(oe); // account for special positioning setupRelative(c, block); setupFixed(c, block); this.contents_height = block.height; if(elem.getNodeName().equals("form")) { if(elem.hasAttribute("name")) { c.setForm(null,null); } } return block; } | 52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/07ab625b03cad242caa27ac48e830592130b24a1/BoxLayout.java/buggy/src/java/org/joshy/html/BoxLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1071,
8549,
3511,
12,
1042,
276,
16,
3010,
3659,
13,
288,
225,
368,
333,
353,
358,
3455,
3298,
434,
1347,
732,
854,
4832,
434,
279,
646,
225,
309,
12,
10037,
18,
588,
18948,
7675,
14963,
2932,
687,
6,
3719,
288,
430,
12,
10037,
18,
5332,
1499,
2932,
529,
6,
3719,
288,
514,
508,
273,
3659,
18,
588,
1499,
2932,
529,
8863,
514,
1301,
273,
3659,
18,
588,
1499,
2932,
1128,
8863,
276,
18,
542,
1204,
12,
529,
16,
1128,
1769,
97,
225,
289,
225,
368,
89,
18,
84,
2932,
3514,
3744,
18,
6741,
1435,
294,
315,
397,
3659,
1769,
225,
368,
89,
18,
84,
2932,
2147,
3511,
364,
30,
315,
397,
3659,
18,
588,
18948,
10663,
225,
3914,
3514,
1203,
273,
261,
1768,
3514,
13,
2640,
3514,
12,
71,
16,
10037,
1769,
225,
13264,
320,
73,
273,
276,
18,
588,
2482,
4877,
5621,
225,
276,
18,
542,
2482,
4877,
12,
2704,
13264,
12,
15548,
10019,
225,
5765,
2384,
12,
71,
16,
1203,
1769,
225,
5765,
2686,
12,
71,
16,
1203,
1769,
225,
1203,
18,
92,
273,
276,
18,
588,
2482,
4877,
7675,
92,
31,
225,
1203,
18,
93,
273,
276,
18,
588,
2482,
4877,
7675,
93,
31,
225,
2911,
3514,
12,
2629,
16,
71,
1769,
225,
13525,
5795,
273,
2882,
1019,
12,
71,
16,
1203,
1769,
225,
13525,
4992,
273,
28307,
12,
71,
16,
1203,
1769,
225,
13525,
7333,
273,
2108,
5243,
12,
71,
16,
1203,
1769,
225,
336,
21699,
12,
71,
16,
2629,
1769,
225,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1071,
8549,
3511,
12,
1042,
276,
16,
3010,
3659,
13,
288,
225,
368,
333,
353,
358,
3455,
3298,
434,
1347,
732,
854,
4832,
434,
279,
646,
225,
309,
12,
10037,
18,
588,
18948,
7675,
14963,
2932,
687,
6,
3719,
288,
430,
12,
10037,
18,
5332,
1499,
2932,
529,
6,
3719,
288,
514,
508,
273,
3659,
18,
588,
1499,
2932,
529,
8863,
514,
1301,
273,
3659,
18,
588,
1499,
2932,
1128,
8863,
276,
18,
542,
1204,
12,
529,
16,
1128,
1769,
97,
225,
289,
225,
368,
89,
18,
84,
2932,
3514,
3744,
18,
6741,
1435,
294,
315,
397,
3659,
1769,
225,
368,
89,
18,
84,
2932,
2147,
3511,
364,
30,
315,
397,
3659,
18,
588,
18948,
10663,
225,
3914,
2
] | ||
for (int i = 0; i < myDatas.size(); i++) { Transferable old = myDatas.get(i); | for (Transferable old : myDatas) { | private void addNewContentToStack(Transferable content) { try { String clipString = getStringContent(content); if (clipString != null) { Transferable same = null; for (int i = 0; i < myDatas.size(); i++) { Transferable old = myDatas.get(i); if (clipString.equals(getStringContent(old))) { same = old; break; } } if (same == null) { myDatas.add(0, content); deleteAfterAllowedMaximum(); } else { moveContentTopStackTop(same); } } } catch (UnsupportedFlavorException e) { } catch (IOException e) { } } | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/968267e6a79ea14cab527ba28b0981cd8c0cb8ca/CopyPasteManagerEx.java/buggy/source/com/intellij/ide/CopyPasteManagerEx.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
20973,
1350,
774,
2624,
12,
5912,
429,
913,
13,
288,
565,
775,
288,
1377,
514,
6807,
780,
273,
4997,
1350,
12,
1745,
1769,
1377,
309,
261,
14161,
780,
480,
446,
13,
288,
3639,
12279,
429,
1967,
273,
446,
31,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
3399,
14305,
18,
1467,
5621,
277,
27245,
288,
1850,
12279,
429,
1592,
273,
3399,
14305,
18,
588,
12,
77,
1769,
1850,
309,
261,
14161,
780,
18,
14963,
12,
588,
780,
1350,
12,
1673,
20349,
288,
5411,
1967,
273,
1592,
31,
5411,
898,
31,
1850,
289,
3639,
289,
3639,
309,
261,
14307,
422,
446,
13,
288,
1850,
3399,
14305,
18,
1289,
12,
20,
16,
913,
1769,
1850,
1430,
4436,
5042,
13528,
5621,
3639,
289,
3639,
469,
288,
1850,
3635,
1350,
3401,
2624,
3401,
12,
14307,
1769,
3639,
289,
1377,
289,
565,
289,
1044,
261,
8544,
2340,
9444,
503,
425,
13,
288,
565,
289,
1044,
261,
14106,
425,
13,
288,
565,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
20973,
1350,
774,
2624,
12,
5912,
429,
913,
13,
288,
565,
775,
288,
1377,
514,
6807,
780,
273,
4997,
1350,
12,
1745,
1769,
1377,
309,
261,
14161,
780,
480,
446,
13,
288,
3639,
12279,
429,
1967,
273,
446,
31,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
3399,
14305,
18,
1467,
5621,
277,
27245,
288,
1850,
12279,
429,
1592,
273,
3399,
14305,
18,
588,
12,
77,
1769,
1850,
309,
261,
14161,
780,
18,
14963,
12,
588,
780,
1350,
12,
1673,
20349,
288,
5411,
1967,
273,
1592,
31,
5411,
898,
31,
1850,
289,
3639,
289,
3639,
309,
261,
14307,
422,
446,
13,
288,
1850,
3399,
14305,
18,
1289,
12,
20,
16,
913,
1769,
1850,
1430,
2
] |
double max = 0.0; | double max = Double.MIN_VALUE; | static Object max(Evaluator evaluator, Vector members, ExpBase exp) { SetWrapper sw = evaluateSet(evaluator, members, exp); if (sw.errorCount > 0) { return new Double(Double.NaN); } else if (sw.v.size() == 0) { return Util.nullValue; } else { double max = 0.0; for (int i = 0; i < sw.v.size(); i++) { double iValue = ((Double) sw.v.elementAt(i)).doubleValue(); if (iValue > max) { max = iValue; } } return new Double(max); } } | 4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/a561767e2eeef6a7bc92808ee3b0f2aa0061d8fb/FunUtil.java/buggy/src/main/mondrian/olap/fun/FunUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
1033,
943,
12,
15876,
18256,
16,
5589,
4833,
16,
7784,
2171,
1329,
13,
288,
202,
202,
694,
3611,
1352,
273,
5956,
694,
12,
14168,
639,
16,
4833,
16,
1329,
1769,
202,
202,
430,
261,
5328,
18,
1636,
1380,
405,
374,
13,
288,
1082,
202,
2463,
394,
3698,
12,
5265,
18,
21172,
1769,
202,
202,
97,
469,
309,
261,
5328,
18,
90,
18,
1467,
1435,
422,
374,
13,
288,
1082,
202,
2463,
3564,
18,
2011,
620,
31,
202,
202,
97,
202,
202,
12107,
288,
1082,
202,
9056,
943,
273,
374,
18,
20,
31,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1352,
18,
90,
18,
1467,
5621,
277,
27245,
288,
9506,
202,
9056,
277,
620,
273,
14015,
5265,
13,
1352,
18,
90,
18,
2956,
861,
12,
77,
13,
2934,
9056,
620,
5621,
9506,
202,
430,
261,
77,
620,
405,
943,
13,
288,
943,
273,
277,
620,
31,
289,
1082,
202,
97,
25083,
202,
2463,
394,
3698,
12,
1896,
1769,
3196,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
1033,
943,
12,
15876,
18256,
16,
5589,
4833,
16,
7784,
2171,
1329,
13,
288,
202,
202,
694,
3611,
1352,
273,
5956,
694,
12,
14168,
639,
16,
4833,
16,
1329,
1769,
202,
202,
430,
261,
5328,
18,
1636,
1380,
405,
374,
13,
288,
1082,
202,
2463,
394,
3698,
12,
5265,
18,
21172,
1769,
202,
202,
97,
469,
309,
261,
5328,
18,
90,
18,
1467,
1435,
422,
374,
13,
288,
1082,
202,
2463,
3564,
18,
2011,
620,
31,
202,
202,
97,
202,
202,
12107,
288,
1082,
202,
9056,
943,
273,
374,
18,
20,
31,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1352,
18,
90,
18,
1467,
5621,
277,
27245,
288,
9506,
202,
9056,
277,
2
] |
else if (url.startsWith("jdbc:pervasive:")) { query = new PervasiveEsqlQuery(getConnection(),queryString); | else if (database.indexOf("pervasive") > -1) { query = new PervasiveEsqlQuery(connection,queryString); } else if (database.indexOf("hsql") > -1) { query = new JdbcEsqlQuery(getConnection(),queryString); | public AbstractEsqlQuery createQuery(final String type, final String queryString) throws SQLException { AbstractEsqlQuery query; if ("".equals(type) || "auto".equalsIgnoreCase(type)) { String url = getURL(); if (url.startsWith("jdbc:postgresql:")) { query = new PostgresEsqlQuery(getConnection(),queryString); } else if (url.startsWith("jdbc:mysql:")) { query = new MysqlEsqlQuery(getConnection(),queryString); } else if (url.startsWith("jdbc:sybase:")) { query = new SybaseEsqlQuery(getConnection(),queryString); } else if (url.startsWith("jdbc:oracle:")) { query = new OracleEsqlQuery(getConnection(),queryString); } else if (url.startsWith("jdbc:pervasive:")) { query = new PervasiveEsqlQuery(getConnection(),queryString); } else { getLogger().warn("Cannot guess database type from jdbc url: " + String.valueOf(url) +" - Defaulting to JDBC"); query = new JdbcEsqlQuery(getConnection(),queryString); } } else if ("sybase".equalsIgnoreCase(type)) { query = new SybaseEsqlQuery(getConnection(),queryString); } else if ("postgresql".equalsIgnoreCase(type)) { query = new PostgresEsqlQuery(getConnection(),queryString); } else if ("postgresql-old".equalsIgnoreCase(type)) { query = new PostgresOldEsqlQuery(getConnection(),queryString); } else if ("mysql".equalsIgnoreCase(type)) { query = new MysqlEsqlQuery(getConnection(),queryString); } else if ("oracle".equalsIgnoreCase(type)) { query = new OracleEsqlQuery(getConnection(),queryString); } else if ("pervasive".equalsIgnoreCase(type)) { query = new PervasiveEsqlQuery(getConnection(),queryString); } else if ("jdbc".equalsIgnoreCase(type)) { query = new JdbcEsqlQuery(getConnection(),queryString); } else { getLogger().error("Unknown database type: " + String.valueOf(type)); throw new SQLException("Unknown database type: " + String.valueOf(type)); } setupLogger(query); return(query); } | 46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/5b03b9aaf6bd1be3f972bff102987c56627c2cc8/AbstractEsqlConnection.java/clean/src/blocks/databases/java/org/apache/cocoon/components/language/markup/xsp/AbstractEsqlConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4115,
41,
4669,
1138,
17698,
12,
6385,
514,
618,
16,
727,
514,
11337,
13,
1216,
6483,
288,
3639,
4115,
41,
4669,
1138,
843,
31,
3639,
309,
261,
3660,
18,
14963,
12,
723,
13,
747,
315,
6079,
9654,
14963,
5556,
12,
723,
3719,
288,
5411,
514,
880,
273,
19341,
5621,
5411,
309,
261,
718,
18,
17514,
1190,
2932,
24687,
30,
2767,
24330,
2773,
3719,
288,
7734,
843,
273,
394,
5616,
14107,
41,
4669,
1138,
12,
588,
1952,
9334,
2271,
780,
1769,
5411,
289,
5411,
469,
309,
261,
718,
18,
17514,
1190,
2932,
24687,
30,
12527,
2773,
3719,
288,
7734,
843,
273,
394,
26252,
41,
4669,
1138,
12,
588,
1952,
9334,
2271,
780,
1769,
5411,
289,
5411,
469,
309,
261,
718,
18,
17514,
1190,
2932,
24687,
30,
9009,
1969,
2773,
3719,
288,
7734,
843,
273,
394,
16455,
1969,
41,
4669,
1138,
12,
588,
1952,
9334,
2271,
780,
1769,
5411,
289,
5411,
469,
309,
261,
718,
18,
17514,
1190,
2932,
24687,
30,
280,
16066,
2773,
3719,
288,
7734,
843,
273,
394,
28544,
41,
4669,
1138,
12,
588,
1952,
9334,
2271,
780,
1769,
5411,
289,
5411,
469,
309,
261,
718,
18,
17514,
1190,
2932,
24687,
30,
457,
4423,
688,
2773,
3719,
288,
7734,
843,
273,
394,
5722,
4423,
688,
41,
4669,
1138,
12,
588,
1952,
9334,
2271,
780,
1769,
5411,
289,
5411,
469,
288,
7734,
7156,
7675,
8935,
2932,
4515,
7274,
2063,
618,
628,
16579,
880,
30,
315,
397,
514,
18,
1132,
951,
12,
718,
13,
397,
6,
300,
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,
4115,
41,
4669,
1138,
17698,
12,
6385,
514,
618,
16,
727,
514,
11337,
13,
1216,
6483,
288,
3639,
4115,
41,
4669,
1138,
843,
31,
3639,
309,
261,
3660,
18,
14963,
12,
723,
13,
747,
315,
6079,
9654,
14963,
5556,
12,
723,
3719,
288,
5411,
514,
880,
273,
19341,
5621,
5411,
309,
261,
718,
18,
17514,
1190,
2932,
24687,
30,
2767,
24330,
2773,
3719,
288,
7734,
843,
273,
394,
5616,
14107,
41,
4669,
1138,
12,
588,
1952,
9334,
2271,
780,
1769,
5411,
289,
5411,
469,
309,
261,
718,
18,
17514,
1190,
2932,
24687,
30,
12527,
2773,
3719,
288,
7734,
843,
273,
394,
26252,
41,
4669,
1138,
12,
588,
1952,
9334,
2271,
780,
1769,
5411,
289,
5411,
469,
309,
2
] |
return; | return null; | private void addDependency( XMLWriter writer, Artifact artifact, List reactorProjects ) { String path = getProjectPath( reactorProjects, artifact ); String kind = path == null ? "var" : "src"; // fall-through when no local project could be found in the reactor if ( path == null ) { File artifactPath = artifact.getFile(); if ( artifactPath == null ) { System.err.println( "The artifacts path was null. Artifact id: " + artifact.getId() ); return; } path = "M2_REPO/" + toRelative( localRepository, artifactPath.getPath() ); } writer.startElement( "classpathentry" ); writer.addAttribute( "kind", kind ); writer.addAttribute( "path", path ); writer.endElement(); } | 50542 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50542/b2945853430a56785876444e925145b0e900ec8e/EclipseWriter.java/clean/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseWriter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
527,
7787,
12,
3167,
2289,
2633,
16,
14022,
6462,
16,
987,
19178,
15298,
262,
565,
288,
3639,
514,
589,
273,
11080,
743,
12,
19178,
15298,
16,
6462,
11272,
7734,
514,
3846,
273,
589,
422,
446,
692,
315,
1401,
6,
294,
315,
4816,
14432,
13491,
368,
4159,
17,
10064,
1347,
1158,
1191,
1984,
3377,
506,
1392,
316,
326,
19178,
3639,
309,
261,
589,
422,
446,
262,
3639,
288,
5411,
1387,
6462,
743,
273,
6462,
18,
29925,
5621,
5411,
309,
261,
6462,
743,
422,
446,
262,
5411,
288,
7734,
2332,
18,
370,
18,
8222,
12,
315,
1986,
16259,
589,
1703,
446,
18,
14022,
612,
30,
315,
397,
6462,
18,
26321,
1435,
11272,
10792,
327,
446,
31,
5411,
289,
13491,
589,
273,
315,
49,
22,
67,
862,
2419,
4898,
397,
358,
8574,
12,
1191,
3305,
16,
6462,
743,
18,
588,
743,
1435,
11272,
3639,
289,
3639,
2633,
18,
1937,
1046,
12,
315,
26302,
4099,
6,
11272,
3639,
2633,
18,
1289,
1499,
12,
315,
9224,
3113,
3846,
11272,
3639,
2633,
18,
1289,
1499,
12,
315,
803,
3113,
589,
11272,
3639,
2633,
18,
409,
1046,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
527,
7787,
12,
3167,
2289,
2633,
16,
14022,
6462,
16,
987,
19178,
15298,
262,
565,
288,
3639,
514,
589,
273,
11080,
743,
12,
19178,
15298,
16,
6462,
11272,
7734,
514,
3846,
273,
589,
422,
446,
692,
315,
1401,
6,
294,
315,
4816,
14432,
13491,
368,
4159,
17,
10064,
1347,
1158,
1191,
1984,
3377,
506,
1392,
316,
326,
19178,
3639,
309,
261,
589,
422,
446,
262,
3639,
288,
5411,
1387,
6462,
743,
273,
6462,
18,
29925,
5621,
5411,
309,
261,
6462,
743,
422,
446,
262,
5411,
288,
7734,
2332,
18,
370,
18,
8222,
12,
315,
1986,
16259,
589,
1703,
446,
18,
14022,
612,
30,
315,
397,
6462,
18,
26321,
1435,
11272,
10792,
327,
446,
31,
5411,
289,
2
] |
setAttribute("vspace", newValue); } | setAttribute("vspace", newValue); } | public void setVspace(String newValue) { setAttribute("vspace", newValue); } | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/bf94d6634ab3635fdb8210105d9c1c839d13e555/WMLImgElementImpl.java/buggy/src/org/apache/wml/dom/WMLImgElementImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
58,
2981,
12,
780,
6129,
13,
288,
565,
4730,
2932,
90,
2981,
3113,
6129,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
58,
2981,
12,
780,
6129,
13,
288,
565,
4730,
2932,
90,
2981,
3113,
6129,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
doExit(-1); | doExit(throwable.getMessage()); | public static void main(String argv[]) { // Runtime.getRuntime().traceMethodCalls(false); // turns Java tracing off boolean doStackDumpOnError = false; boolean setQuietMode = false; boolean doDiag = false; // Runtime.getRuntime().traceMethodCalls(false); // Runtime.getRuntime().traceInstructions(false); /** * The default diagnostic writer... */ java.io.PrintWriter diagnosticsWriter = new PrintWriter(System.err, true); java.io.PrintWriter dumpWriter = diagnosticsWriter; ResourceBundle resbundle = (XSLMessages.loadResourceBundle( org.apache.xml.utils.res.XResourceBundle.ERROR_RESOURCES)); String flavor = "s2s"; if (argv.length < 1) { printArgOptions(resbundle); } else { boolean useXSLTC = false; for (int i = 0; i < argv.length; i++) { if ("-XSLTC".equalsIgnoreCase(argv[i])) { useXSLTC = true; } } TransformerFactory tfactory; if (useXSLTC) { String key = "javax.xml.transform.TransformerFactory"; String value = "org.apache.xalan.xsltc.trax.TransformerFactoryImpl"; Properties props = System.getProperties(); props.put(key, value); System.setProperties(props); } try { tfactory = TransformerFactory.newInstance(); } catch (TransformerFactoryConfigurationError pfe) { pfe.printStackTrace(dumpWriter); diagnosticsWriter.println( XSLMessages.createMessage( XSLTErrorResources.ER_NOT_SUCCESSFUL, null)); //"XSL Process was not successful."); tfactory = null; // shut up compiler doExit(-1); } boolean formatOutput = false; boolean useSourceLocation = false; String inFileName = null; String outFileName = null; String dumpFileName = null; String xslFileName = null; String treedumpFileName = null; PrintTraceListener tracer = null; String outputType = null; String media = null; Vector params = new Vector(); boolean quietConflictWarnings = false; URIResolver uriResolver = null; EntityResolver entityResolver = null; ContentHandler contentHandler = null; int recursionLimit=-1; for (int i = 0; i < argv.length; i++) { if ("-XSLTC".equalsIgnoreCase(argv[i])) { // The -XSLTC option has been processed. } else if ("-TT".equalsIgnoreCase(argv[i])) { if (!useXSLTC) { if (null == tracer) tracer = new PrintTraceListener(diagnosticsWriter); tracer.m_traceTemplates = true; } else printInvalidXSLTCOption("-TT"); // tfactory.setTraceTemplates(true); } else if ("-TG".equalsIgnoreCase(argv[i])) { if (!useXSLTC) { if (null == tracer) tracer = new PrintTraceListener(diagnosticsWriter); tracer.m_traceGeneration = true; } else printInvalidXSLTCOption("-TG"); // tfactory.setTraceSelect(true); } else if ("-TS".equalsIgnoreCase(argv[i])) { if (!useXSLTC) { if (null == tracer) tracer = new PrintTraceListener(diagnosticsWriter); tracer.m_traceSelection = true; } else printInvalidXSLTCOption("-TS"); // tfactory.setTraceTemplates(true); } else if ("-TTC".equalsIgnoreCase(argv[i])) { if (!useXSLTC) { if (null == tracer) tracer = new PrintTraceListener(diagnosticsWriter); tracer.m_traceElements = true; } else printInvalidXSLTCOption("-TTC"); // tfactory.setTraceTemplateChildren(true); } else if ("-INDENT".equalsIgnoreCase(argv[i])) { int indentAmount; if (((i + 1) < argv.length) && (argv[i + 1].charAt(0) != '-')) { indentAmount = Integer.parseInt(argv[++i]); } else { indentAmount = 0; } // TBD: // xmlProcessorLiaison.setIndent(indentAmount); } else if ("-IN".equalsIgnoreCase(argv[i])) { if (i + 1 < argv.length && argv[i + 1].charAt(0) != '-') inFileName = argv[++i]; else System.err.println( XSLMessages.createMessage( XSLTErrorResources.ER_MISSING_ARG_FOR_OPTION, new Object[]{ "-IN" })); //"Missing argument for); } else if ("-MEDIA".equalsIgnoreCase(argv[i])) { if (i + 1 < argv.length) media = argv[++i]; else System.err.println( XSLMessages.createMessage( XSLTErrorResources.ER_MISSING_ARG_FOR_OPTION, new Object[]{ "-MEDIA" })); //"Missing argument for); } else if ("-OUT".equalsIgnoreCase(argv[i])) { if (i + 1 < argv.length && argv[i + 1].charAt(0) != '-') outFileName = argv[++i]; else System.err.println( XSLMessages.createMessage( XSLTErrorResources.ER_MISSING_ARG_FOR_OPTION, new Object[]{ "-OUT" })); //"Missing argument for); } else if ("-XSL".equalsIgnoreCase(argv[i])) { if (i + 1 < argv.length && argv[i + 1].charAt(0) != '-') xslFileName = argv[++i]; else System.err.println( XSLMessages.createMessage( XSLTErrorResources.ER_MISSING_ARG_FOR_OPTION, new Object[]{ "-XSL" })); //"Missing argument for); } else if ("-FLAVOR".equalsIgnoreCase(argv[i])) { if (i + 1 < argv.length) { flavor = argv[++i]; } else System.err.println( XSLMessages.createMessage( XSLTErrorResources.ER_MISSING_ARG_FOR_OPTION, new Object[]{ "-FLAVOR" })); //"Missing argument for); } else if ("-PARAM".equalsIgnoreCase(argv[i])) { if (i + 2 < argv.length) { String name = argv[++i]; params.addElement(name); String expression = argv[++i]; params.addElement(expression); } else System.err.println( XSLMessages.createMessage( XSLTErrorResources.ER_MISSING_ARG_FOR_OPTION, new Object[]{ "-PARAM" })); //"Missing argument for); } else if ("-E".equalsIgnoreCase(argv[i])) { // TBD: // xmlProcessorLiaison.setShouldExpandEntityRefs(false); } else if ("-V".equalsIgnoreCase(argv[i])) { diagnosticsWriter.println(resbundle.getString("version") //">>>>>>> Xalan Version " + Version.getVersion() + ", " + /* xmlProcessorLiaison.getParserDescription()+ */ resbundle.getString("version2")); // "<<<<<<<"); } else if ("-QC".equalsIgnoreCase(argv[i])) { if (!useXSLTC) quietConflictWarnings = true; else printInvalidXSLTCOption("-QC"); } else if ("-Q".equalsIgnoreCase(argv[i])) { setQuietMode = true; } else if ("-DIAG".equalsIgnoreCase(argv[i])) { doDiag = true; } else if ("-XML".equalsIgnoreCase(argv[i])) { outputType = "xml"; } else if ("-TEXT".equalsIgnoreCase(argv[i])) { outputType = "text"; } else if ("-HTML".equalsIgnoreCase(argv[i])) { outputType = "html"; } else if ("-EDUMP".equalsIgnoreCase(argv[i])) { doStackDumpOnError = true; if (((i + 1) < argv.length) && (argv[i + 1].charAt(0) != '-')) { dumpFileName = argv[++i]; } } else if ("-URIRESOLVER".equalsIgnoreCase(argv[i])) { if (i + 1 < argv.length) { try { uriResolver = (URIResolver) ObjectFactory.newInstance( argv[++i], ObjectFactory.findClassLoader(), true); tfactory.setURIResolver(uriResolver); } catch (ObjectFactory.ConfigurationError cnfe) { System.err.println( XSLMessages.createMessage( XSLTErrorResources.ER_CLASS_NOT_FOUND_FOR_OPTION, new Object[]{ "-URIResolver" })); doExit(-1); } } else { System.err.println( XSLMessages.createMessage( XSLTErrorResources.ER_MISSING_ARG_FOR_OPTION, new Object[]{ "-URIResolver" })); //"Missing argument for); doExit(-1); } } else if ("-ENTITYRESOLVER".equalsIgnoreCase(argv[i])) { if (i + 1 < argv.length) { try { entityResolver = (EntityResolver) ObjectFactory.newInstance( argv[++i], ObjectFactory.findClassLoader(), true); } catch (ObjectFactory.ConfigurationError cnfe) { System.err.println( XSLMessages.createMessage( XSLTErrorResources.ER_CLASS_NOT_FOUND_FOR_OPTION, new Object[]{ "-EntityResolver" })); doExit(-1); } } else { System.err.println( XSLMessages.createMessage( XSLTErrorResources.ER_MISSING_ARG_FOR_OPTION, new Object[]{ "-EntityResolver" })); //"Missing argument for); doExit(-1); } } else if ("-CONTENTHANDLER".equalsIgnoreCase(argv[i])) { if (i + 1 < argv.length) { try { contentHandler = (ContentHandler) ObjectFactory.newInstance( argv[++i], ObjectFactory.findClassLoader(), true); } catch (ObjectFactory.ConfigurationError cnfe) { System.err.println( XSLMessages.createMessage( XSLTErrorResources.ER_CLASS_NOT_FOUND_FOR_OPTION, new Object[]{ "-ContentHandler" })); doExit(-1); } } else { System.err.println( XSLMessages.createMessage( XSLTErrorResources.ER_MISSING_ARG_FOR_OPTION, new Object[]{ "-ContentHandler" })); //"Missing argument for); doExit(-1); } } else if ("-L".equalsIgnoreCase(argv[i])) { if (!useXSLTC) useSourceLocation = true; else printInvalidXSLTCOption("-L"); } else if ("-INCREMENTAL".equalsIgnoreCase(argv[i])) { if (!useXSLTC) tfactory.setAttribute ("http://xml.apache.org/xalan/features/incremental", java.lang.Boolean.TRUE); else printInvalidXSLTCOption("-INCREMENTAL"); } else if ("-NOOPTIMIZE".equalsIgnoreCase(argv[i])) { // Default is true. // // %REVIEW% We should have a generalized syntax for negative // switches... and probably should accept the inverse even // if it is the default. if (!useXSLTC) tfactory.setAttribute ("http://xml.apache.org/xalan/features/optimize", java.lang.Boolean.FALSE); else printInvalidXSLTCOption("-NOOPTIMIZE"); } else if ("-RL".equalsIgnoreCase(argv[i])) { if (!useXSLTC) { if (i + 1 < argv.length) recursionLimit = Integer.parseInt(argv[++i]); else System.err.println( XSLMessages.createMessage( XSLTErrorResources.ER_MISSING_ARG_FOR_OPTION, new Object[]{ "-rl" })); //"Missing argument for); } else { if (i + 1 < argv.length && argv[i + 1].charAt(0) != '-') i++; printInvalidXSLTCOption("-RL"); } } // Generate the translet class and optionally specify the name // of the translet class. else if ("-XO".equalsIgnoreCase(argv[i])) { if (useXSLTC) { if (i + 1 < argv.length && argv[i+1].charAt(0) != '-') { tfactory.setAttribute("generate-translet", "true"); tfactory.setAttribute("translet-name", argv[++i]); } else tfactory.setAttribute("generate-translet", "true"); } else { if (i + 1 < argv.length && argv[i + 1].charAt(0) != '-') i++; printInvalidXalanOption("-XO"); } } // Specify the destination directory for the translet classes. else if ("-XD".equalsIgnoreCase(argv[i])) { if (useXSLTC) { if (i + 1 < argv.length && argv[i+1].charAt(0) != '-') tfactory.setAttribute("destination-directory", argv[++i]); else System.err.println( XSLMessages.createMessage( XSLTErrorResources.ER_MISSING_ARG_FOR_OPTION, new Object[]{ "-XD" })); //"Missing argument for); } else { if (i + 1 < argv.length && argv[i + 1].charAt(0) != '-') i++; printInvalidXalanOption("-XD"); } } // Specify the jar file name which the translet classes are packaged into. else if ("-XJ".equalsIgnoreCase(argv[i])) { if (useXSLTC) { if (i + 1 < argv.length && argv[i+1].charAt(0) != '-') { tfactory.setAttribute("generate-translet", "true"); tfactory.setAttribute("jar-name", argv[++i]); } else System.err.println( XSLMessages.createMessage( XSLTErrorResources.ER_MISSING_ARG_FOR_OPTION, new Object[]{ "-XJ" })); //"Missing argument for); } else { if (i + 1 < argv.length && argv[i + 1].charAt(0) != '-') i++; printInvalidXalanOption("-XJ"); } } // Specify the package name prefix for the generated translet classes. else if ("-XP".equalsIgnoreCase(argv[i])) { if (useXSLTC) { if (i + 1 < argv.length && argv[i+1].charAt(0) != '-') tfactory.setAttribute("package-name", argv[++i]); else System.err.println( XSLMessages.createMessage( XSLTErrorResources.ER_MISSING_ARG_FOR_OPTION, new Object[]{ "-XP" })); //"Missing argument for); } else { if (i + 1 < argv.length && argv[i + 1].charAt(0) != '-') i++; printInvalidXalanOption("-XP"); } } // Enable template inlining. else if ("-XN".equalsIgnoreCase(argv[i])) { if (useXSLTC) { tfactory.setAttribute("enable-inlining", "true"); } else printInvalidXalanOption("-XN"); } // Turns on additional debugging message output else if ("-XX".equalsIgnoreCase(argv[i])) { if (useXSLTC) { tfactory.setAttribute("debug", "true"); } else printInvalidXalanOption("-XX"); } // Create the Transformer from the translet if the translet class is newer // than the stylesheet. else if ("-XT".equalsIgnoreCase(argv[i])) { if (useXSLTC) { tfactory.setAttribute("auto-translet", "true"); } else printInvalidXalanOption("-XT"); } else System.err.println( XSLMessages.createMessage( XSLTErrorResources.ER_INVALID_OPTION, new Object[]{ argv[i] })); //"Invalid argument:); } // Print usage instructions if no xml and xsl file is specified in the command line if (inFileName == null && xslFileName == null) { System.err.println(resbundle.getString("xslProc_no_input")); doExit(-1); } // Note that there are usage cases for calling us without a -IN arg // The main XSL transformation occurs here! try { long start = System.currentTimeMillis(); if (null != dumpFileName) { dumpWriter = new PrintWriter(new FileWriter(dumpFileName)); } Templates stylesheet = null; if (null != xslFileName) { if (flavor.equals("d2d")) { // Parse in the xml data into a DOM DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance(); dfactory.setNamespaceAware(true); DocumentBuilder docBuilder = dfactory.newDocumentBuilder(); Node xslDOM = docBuilder.parse(new InputSource(xslFileName)); stylesheet = tfactory.newTemplates(new DOMSource(xslDOM, xslFileName)); } else { // System.out.println("Calling newTemplates: "+xslFileName); stylesheet = tfactory.newTemplates(new StreamSource(xslFileName)); // System.out.println("Done calling newTemplates: "+xslFileName); } } PrintWriter resultWriter; StreamResult strResult; if (null != outFileName) { strResult = new StreamResult(new FileOutputStream(outFileName)); // One possible improvement might be to ensure this is // a valid URI before setting the systemId, but that // might have subtle changes that pre-existing users // might notice; we can think about that later -sc r1.46 strResult.setSystemId(outFileName); } else { strResult = new StreamResult(System.out); // We used to default to incremental mode in this case. // We've since decided that since the -INCREMENTAL switch is // available, that default is probably not necessary nor // necessarily a good idea. } SAXTransformerFactory stf = (SAXTransformerFactory) tfactory; // This is currently controlled via TransformerFactoryImpl. if (!useXSLTC && useSourceLocation) stf.setAttribute(XalanProperties.SOURCE_LOCATION, Boolean.TRUE); // Did they pass in a stylesheet, or should we get it from the // document? if (null == stylesheet) { Source source = stf.getAssociatedStylesheet(new StreamSource(inFileName), media, null, null); if (null != source) stylesheet = tfactory.newTemplates(source); else { if (null != media) throw new TransformerException(XSLMessages.createMessage(XSLTErrorResources.ER_NO_STYLESHEET_IN_MEDIA, new Object[]{inFileName, media})); //"No stylesheet found in: " // + inFileName + ", media=" // + media); else throw new TransformerException(XSLMessages.createMessage(XSLTErrorResources.ER_NO_STYLESHEET_PI, new Object[]{inFileName})); //"No xml-stylesheet PI found in: " //+ inFileName); } } if (null != stylesheet) { Transformer transformer = flavor.equals("th") ? null : stylesheet.newTransformer(); // Override the output format? if (null != outputType) { transformer.setOutputProperty(OutputKeys.METHOD, outputType); } if (transformer instanceof org.apache.xalan.transformer.TransformerImpl) { org.apache.xalan.transformer.TransformerImpl impl = (org.apache.xalan.transformer.TransformerImpl)transformer; TraceManager tm = impl.getTraceManager(); if (null != tracer) tm.addTraceListener(tracer); impl.setQuietConflictWarnings(quietConflictWarnings); // This is currently controlled via TransformerFactoryImpl. if (useSourceLocation) impl.setProperty(XalanProperties.SOURCE_LOCATION, Boolean.TRUE); if(recursionLimit>0) impl.setRecursionLimit(recursionLimit); // sc 28-Feb-01 if we re-implement this, please uncomment helpmsg in printArgOptions // impl.setDiagnosticsOutput( setQuietMode ? null : diagnosticsWriter ); } int nParams = params.size(); for (int i = 0; i < nParams; i += 2) { transformer.setParameter((String) params.elementAt(i), (String) params.elementAt(i + 1)); } if (uriResolver != null) transformer.setURIResolver(uriResolver); if (null != inFileName) { if (flavor.equals("d2d")) { // Parse in the xml data into a DOM DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance(); dfactory.setCoalescing(true); dfactory.setNamespaceAware(true); DocumentBuilder docBuilder = dfactory.newDocumentBuilder(); if (entityResolver != null) docBuilder.setEntityResolver(entityResolver); Node xmlDoc = docBuilder.parse(new InputSource(inFileName)); Document doc = docBuilder.newDocument(); org.w3c.dom.DocumentFragment outNode = doc.createDocumentFragment(); transformer.transform(new DOMSource(xmlDoc, inFileName), new DOMResult(outNode)); // Now serialize output to disk with identity transformer Transformer serializer = stf.newTransformer(); Properties serializationProps = stylesheet.getOutputProperties(); serializer.setOutputProperties(serializationProps); if (contentHandler != null) { SAXResult result = new SAXResult(contentHandler); serializer.transform(new DOMSource(outNode), result); } else serializer.transform(new DOMSource(outNode), strResult); } else if (flavor.equals("th")) { for (int i = 0; i < 1; i++) // Loop for diagnosing bugs with inconsistent behavior { // System.out.println("Testing the TransformerHandler..."); // =============== XMLReader reader = null; // Use JAXP1.1 ( if possible ) try { javax.xml.parsers.SAXParserFactory factory = javax.xml.parsers.SAXParserFactory.newInstance(); factory.setNamespaceAware(true); javax.xml.parsers.SAXParser jaxpParser = factory.newSAXParser(); reader = jaxpParser.getXMLReader(); } catch (javax.xml.parsers.ParserConfigurationException ex) { throw new org.xml.sax.SAXException(ex); } catch (javax.xml.parsers.FactoryConfigurationError ex1) { throw new org.xml.sax.SAXException(ex1.toString()); } catch (NoSuchMethodError ex2){} catch (AbstractMethodError ame){} if (null == reader) { reader = XMLReaderFactory.createXMLReader(); } if (!useXSLTC) stf.setAttribute(org.apache.xalan.processor.TransformerFactoryImpl.FEATURE_INCREMENTAL, Boolean.TRUE); TransformerHandler th = stf.newTransformerHandler(stylesheet); reader.setContentHandler(th); reader.setDTDHandler(th); if(th instanceof org.xml.sax.ErrorHandler) reader.setErrorHandler((org.xml.sax.ErrorHandler)th); try { reader.setProperty( "http://xml.org/sax/properties/lexical-handler", th); } catch (org.xml.sax.SAXNotRecognizedException e){} catch (org.xml.sax.SAXNotSupportedException e){} try { reader.setFeature("http://xml.org/sax/features/namespace-prefixes", true); } catch (org.xml.sax.SAXException se) {} th.setResult(strResult); reader.parse(new InputSource(inFileName)); } } else { if (entityResolver != null) { XMLReader reader = null; // Use JAXP1.1 ( if possible ) try { javax.xml.parsers.SAXParserFactory factory = javax.xml.parsers.SAXParserFactory.newInstance(); factory.setNamespaceAware(true); javax.xml.parsers.SAXParser jaxpParser = factory.newSAXParser(); reader = jaxpParser.getXMLReader(); } catch (javax.xml.parsers.ParserConfigurationException ex) { throw new org.xml.sax.SAXException(ex); } catch (javax.xml.parsers.FactoryConfigurationError ex1) { throw new org.xml.sax.SAXException(ex1.toString()); } catch (NoSuchMethodError ex2){} catch (AbstractMethodError ame){} if (null == reader) { reader = XMLReaderFactory.createXMLReader(); } reader.setEntityResolver(entityResolver); if (contentHandler != null) { SAXResult result = new SAXResult(contentHandler); transformer.transform( new SAXSource(reader, new InputSource(inFileName)), result); } else { transformer.transform( new SAXSource(reader, new InputSource(inFileName)), strResult); } } else if (contentHandler != null) { SAXResult result = new SAXResult(contentHandler); transformer.transform(new StreamSource(inFileName), result); } else { // System.out.println("Starting transform"); transformer.transform(new StreamSource(inFileName), strResult); // System.out.println("Done with transform"); } } } else { StringReader reader = new StringReader("<?xml version=\"1.0\"?> <doc/>"); transformer.transform(new StreamSource(reader), strResult); } } else { diagnosticsWriter.println( XSLMessages.createMessage( XSLTErrorResources.ER_NOT_SUCCESSFUL, null)); //"XSL Process was not successful."); doExit(-1); } // close output streams if (null != outFileName && strResult!=null) { java.io.OutputStream out = strResult.getOutputStream(); java.io.Writer writer = strResult.getWriter(); try { if (out != null) out.close(); if (writer != null) writer.close(); } catch(java.io.IOException ie) {} } long stop = System.currentTimeMillis(); long millisecondsDuration = stop - start; if (doDiag) { Object[] msgArgs = new Object[]{ inFileName, xslFileName, new Long(millisecondsDuration) }; String msg = XSLMessages.createMessage("diagTiming", msgArgs); diagnosticsWriter.println('\n'); diagnosticsWriter.println(msg); } } catch (Throwable throwable) { while (throwable instanceof org.apache.xml.utils.WrappedRuntimeException) { throwable = ((org.apache.xml.utils.WrappedRuntimeException) throwable).getException(); } if ((throwable instanceof NullPointerException) || (throwable instanceof ClassCastException)) doStackDumpOnError = true; diagnosticsWriter.println(); if (doStackDumpOnError) throwable.printStackTrace(dumpWriter); else { DefaultErrorHandler.printLocation(diagnosticsWriter, throwable); diagnosticsWriter.println( XSLMessages.createMessage(XSLTErrorResources.ER_XSLT_ERROR, null) + " (" + throwable.getClass().getName() + "): " + throwable.getMessage()); } // diagnosticsWriter.println(XSLMessages.createMessage(XSLTErrorResources.ER_NOT_SUCCESSFUL, null)); //"XSL Process was not successful."); if (null != dumpFileName) { dumpWriter.close(); } doExit(-1); } if (null != dumpFileName) { dumpWriter.close(); } if (null != diagnosticsWriter) { // diagnosticsWriter.close(); } // if(!setQuietMode) // diagnosticsWriter.println(resbundle.getString("xsldone")); //"Xalan: done"); // else // diagnosticsWriter.println(""); //"Xalan: done"); } } | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/2d07c253b814672a82d969836d58577bfa628b88/Process.java/clean/src/org/apache/xalan/xslt/Process.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
2774,
12,
780,
5261,
63,
5717,
225,
288,
3639,
368,
2509,
18,
588,
5576,
7675,
5129,
1305,
10125,
12,
5743,
1769,
368,
20748,
5110,
17144,
3397,
565,
1250,
741,
2624,
10628,
11427,
273,
629,
31,
565,
1250,
444,
16457,
2309,
273,
629,
31,
565,
1250,
741,
14058,
273,
629,
31,
565,
368,
2509,
18,
588,
5576,
7675,
5129,
1305,
10125,
12,
5743,
1769,
565,
368,
2509,
18,
588,
5576,
7675,
5129,
26712,
12,
5743,
1769,
565,
1783,
377,
380,
1021,
805,
21396,
2633,
2777,
377,
1195,
565,
2252,
18,
1594,
18,
5108,
2289,
22568,
2289,
273,
394,
14071,
12,
3163,
18,
370,
16,
638,
1769,
565,
2252,
18,
1594,
18,
5108,
2289,
4657,
2289,
273,
22568,
2289,
31,
565,
19198,
400,
9991,
273,
1377,
261,
60,
4559,
5058,
18,
945,
18731,
12,
3639,
2358,
18,
19211,
18,
2902,
18,
5471,
18,
455,
18,
60,
18731,
18,
3589,
67,
11395,
55,
10019,
565,
514,
19496,
273,
315,
87,
22,
87,
14432,
565,
309,
261,
19485,
18,
2469,
411,
404,
13,
565,
288,
1377,
1172,
4117,
1320,
12,
455,
9991,
1769,
565,
289,
565,
469,
565,
288,
1377,
1250,
999,
60,
4559,
15988,
273,
629,
31,
1377,
364,
261,
474,
277,
273,
374,
31,
277,
411,
5261,
18,
2469,
31,
277,
27245,
1377,
288,
3639,
309,
7566,
17,
60,
4559,
15988,
9654,
14963,
5556,
12,
19485,
63,
77,
22643,
3639,
288,
1850,
999,
60,
4559,
15988,
273,
638,
31,
3639,
289,
1377,
289,
2868,
11519,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
2774,
12,
780,
5261,
63,
5717,
225,
288,
3639,
368,
2509,
18,
588,
5576,
7675,
5129,
1305,
10125,
12,
5743,
1769,
368,
20748,
5110,
17144,
3397,
565,
1250,
741,
2624,
10628,
11427,
273,
629,
31,
565,
1250,
444,
16457,
2309,
273,
629,
31,
565,
1250,
741,
14058,
273,
629,
31,
565,
368,
2509,
18,
588,
5576,
7675,
5129,
1305,
10125,
12,
5743,
1769,
565,
368,
2509,
18,
588,
5576,
7675,
5129,
26712,
12,
5743,
1769,
565,
1783,
377,
380,
1021,
805,
21396,
2633,
2777,
377,
1195,
565,
2252,
18,
1594,
18,
5108,
2289,
22568,
2289,
273,
394,
14071,
12,
3163,
18,
370,
16,
638,
1769,
565,
2252,
18,
1594,
18,
5108,
2289,
4657,
2289,
273,
2
] |
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { if (isSelected) { display.setForeground(table.getSelectionForeground()); display.setBackground(table.getSelectionBackground()); } else { display.setForeground(table.getForeground()); display.setBackground(table.getBackground()); } int state = ((Integer)value).intValue(); display.setSelected((value != null && Math.abs(state) == 1)); display.setEnabled(state >= 0); return display; } | public Component getTableCellRendererComponent( JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { if (isSelected) { display.setForeground(table.getSelectionForeground()); display.setBackground(table.getSelectionBackground()); } else { display.setForeground(table.getForeground()); display.setBackground(table.getBackground()); } int state = ((Integer) value).intValue(); display.setSelected((value != null && Math.abs(state) == 1)); display.setEnabled(state >= 0); return display; } | public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { if (isSelected) { display.setForeground(table.getSelectionForeground()); display.setBackground(table.getSelectionBackground()); } else { display.setForeground(table.getForeground()); display.setBackground(table.getBackground()); } int state = ((Integer)value).intValue(); display.setSelected((value != null && Math.abs(state) == 1)); display.setEnabled(state >= 0); return display; } | 28044 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28044/6e8ab3930a21f787bcd0f3cf0b9937f9d50c80c0/PacksPanel.java/clean/src/lib/com/izforge/izpack/panels/PacksPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
5435,
5638,
4020,
6747,
1841,
12,
46,
1388,
1014,
16,
1033,
460,
16,
1171,
9079,
1250,
20956,
16,
1250,
711,
9233,
16,
509,
1027,
16,
509,
1057,
13,
540,
288,
1850,
309,
261,
291,
7416,
13,
288,
5411,
2562,
18,
542,
23206,
12,
2121,
18,
588,
6233,
23206,
10663,
5411,
2562,
18,
542,
8199,
12,
2121,
18,
588,
6233,
8199,
10663,
1850,
289,
1850,
469,
288,
5411,
2562,
18,
542,
23206,
12,
2121,
18,
588,
23206,
10663,
5411,
2562,
18,
542,
8199,
12,
2121,
18,
588,
8199,
10663,
1850,
289,
1850,
509,
919,
273,
14015,
4522,
13,
1132,
2934,
474,
620,
5621,
1850,
2562,
18,
542,
7416,
12443,
1132,
480,
446,
597,
2361,
18,
5113,
12,
2019,
13,
422,
404,
10019,
1850,
2562,
18,
542,
1526,
12,
2019,
1545,
374,
1769,
1850,
327,
2562,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
5435,
5638,
4020,
6747,
1841,
12,
46,
1388,
1014,
16,
1033,
460,
16,
1171,
9079,
1250,
20956,
16,
1250,
711,
9233,
16,
509,
1027,
16,
509,
1057,
13,
540,
288,
1850,
309,
261,
291,
7416,
13,
288,
5411,
2562,
18,
542,
23206,
12,
2121,
18,
588,
6233,
23206,
10663,
5411,
2562,
18,
542,
8199,
12,
2121,
18,
588,
6233,
8199,
10663,
1850,
289,
1850,
469,
288,
5411,
2562,
18,
542,
23206,
12,
2121,
18,
588,
23206,
10663,
5411,
2562,
18,
542,
8199,
12,
2121,
18,
588,
8199,
10663,
1850,
289,
1850,
509,
919,
273,
14015,
4522,
13,
1132,
2934,
474,
620,
5621,
1850,
2562,
18,
542,
7416,
12443,
1132,
480,
446,
597,
2361,
18,
5113,
12,
2019,
2
] |
configurationElement.getNamespace(), commandId); | configurationElement, commandId); | private static final void readBindingsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final BindingManager bindingManager, final ICommandService commandService) { final Collection bindings = new ArrayList(configurationElementCount); final List warningsToLog = new ArrayList(1); for (int i = 0; i < configurationElementCount; i++) { final IConfigurationElement configurationElement = configurationElements[i]; /* * Read out the command id. Doing this before determining if the key * binding is actually valid is a bit wasteful. However, it is * helpful to have the command identifier when logging syntax * errors. */ String commandId = configurationElement .getAttribute(ATTRIBUTE_COMMAND_ID); if ((commandId == null) || (commandId.length() == 0)) { commandId = configurationElement .getAttribute(ATTRIBUTE_COMMAND); } if ((commandId != null) && (commandId.length() == 0)) { commandId = null; } final Command command; if (commandId != null) { command = commandService.getCommand(commandId); if (!command.isDefined()) { // Reference to an undefined command. This is invalid. addWarning(warningsToLog, "Cannot bind to an undefined command", //$NON-NLS-1$ configurationElement.getNamespace(), commandId); continue; } } else { command = null; } // Read out the scheme id. String schemeId = configurationElement .getAttribute(ATTRIBUTE_SCHEME_ID); if ((schemeId == null) || (schemeId.length() == 0)) { schemeId = configurationElement .getAttribute(ATTRIBUTE_KEY_CONFIGURATION_ID); if ((schemeId == null) || (schemeId.length() == 0)) { schemeId = configurationElement .getAttribute(ATTRIBUTE_CONFIGURATION); if ((schemeId == null) || (schemeId.length() == 0)) { // The scheme id should never be null. This is invalid. addWarning(warningsToLog, "Key bindings need a scheme", //$NON-NLS-1$ configurationElement.getNamespace(), commandId); continue; } } } // Read out the context id. String contextId = configurationElement .getAttribute(ATTRIBUTE_CONTEXT_ID); if (LEGACY_DEFAULT_SCOPE.equals(contextId)) { contextId = null; } else if ((contextId == null) || (contextId.length() == 0)) { contextId = configurationElement.getAttribute(ATTRIBUTE_SCOPE); if (LEGACY_DEFAULT_SCOPE.equals(contextId)) { contextId = null; } } if ((contextId == null) || (contextId.length() == 0)) { contextId = IContextIds.CONTEXT_ID_WINDOW; } // Read out the key sequence. KeySequence keySequence = null; String keySequenceText = configurationElement .getAttribute(ATTRIBUTE_SEQUENCE); if ((keySequenceText == null) || (keySequenceText.length() == 0)) { keySequenceText = configurationElement .getAttribute(ATTRIBUTE_KEY_SEQUENCE); } if ((keySequenceText == null) || (keySequenceText.length() == 0)) { keySequenceText = configurationElement .getAttribute(ATTRIBUTE_STRING); if ((keySequenceText == null) || (keySequenceText.length() == 0)) { // The key sequence should never be null. This is pointless addWarning( warningsToLog, "Defining a key binding with no key sequence has no effect", //$NON-NLS-1$ configurationElement.getNamespace(), commandId); continue; } // The key sequence is in the old-style format. try { keySequence = convert2_1Sequence(parse2_1Sequence(keySequenceText)); } catch (final IllegalArgumentException e) { addWarning(warningsToLog, "Could not parse key sequence", //$NON-NLS-1$ configurationElement.getNamespace(), commandId, "keySequence", keySequenceText); //$NON-NLS-1$ continue; } } else { // The key sequence is in the new-style format. try { keySequence = KeySequence.getInstance(keySequenceText); } catch (final ParseException e) { addWarning(warningsToLog, "Could not parse key sequence", //$NON-NLS-1$ configurationElement.getNamespace(), commandId, "keySequence", keySequenceText); //$NON-NLS-1$ continue; } if (keySequence.isEmpty() || !keySequence.isComplete()) { addWarning( warningsToLog, "Key bindings should not have an empty or incomplete key sequence", //$NON-NLS-1$ configurationElement.getNamespace(), commandId, "keySequence", keySequence.toString()); //$NON-NLS-1$ continue; } } // Read out the locale and platform. String locale = configurationElement.getAttribute(ATTRIBUTE_LOCALE); if ((locale != null) && (locale.length() == 0)) { locale = null; } String platform = configurationElement .getAttribute(ATTRIBUTE_PLATFORM); if ((platform != null) && (platform.length() == 0)) { platform = null; } // Read out the parameters, if any. final ParameterizedCommand parameterizedCommand; if (command == null) { parameterizedCommand = null; } else { parameterizedCommand = readParametersFromRegistry( configurationElement, warningsToLog, command); } final Binding binding = new KeyBinding(keySequence, parameterizedCommand, schemeId, contextId, locale, platform, null, Binding.SYSTEM); bindings.add(binding); } final Binding[] bindingArray = (Binding[]) bindings .toArray(new Binding[bindings.size()]); bindingManager.setBindings(bindingArray); logWarnings( warningsToLog, "Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point"); //$NON-NLS-1$ } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/539b29bd9f4ed0020b6fce0d726b8d740d87469d/BindingPersistence.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/BindingPersistence.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
727,
918,
855,
10497,
1265,
4243,
12,
1082,
202,
6385,
467,
1750,
1046,
8526,
1664,
3471,
16,
1082,
202,
6385,
509,
1664,
1046,
1380,
16,
1082,
202,
6385,
15689,
1318,
5085,
1318,
16,
1082,
202,
6385,
467,
2189,
1179,
1296,
1179,
13,
288,
202,
202,
6385,
2200,
7394,
273,
394,
2407,
12,
7025,
1046,
1380,
1769,
202,
202,
6385,
987,
5599,
774,
1343,
273,
394,
2407,
12,
21,
1769,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1664,
1046,
1380,
31,
277,
27245,
288,
1082,
202,
6385,
467,
1750,
1046,
1664,
1046,
273,
1664,
3471,
63,
77,
15533,
1082,
202,
20308,
9506,
380,
2720,
596,
326,
1296,
612,
18,
2256,
310,
333,
1865,
23789,
309,
326,
498,
9506,
380,
5085,
353,
6013,
923,
353,
279,
2831,
341,
14725,
2706,
18,
10724,
16,
518,
353,
9506,
380,
28063,
358,
1240,
326,
1296,
2756,
1347,
2907,
6279,
9506,
380,
1334,
18,
9506,
1195,
1082,
202,
780,
1296,
548,
273,
1664,
1046,
6862,
202,
18,
588,
1499,
12,
11616,
67,
19104,
67,
734,
1769,
1082,
202,
430,
14015,
3076,
548,
422,
446,
13,
747,
261,
3076,
548,
18,
2469,
1435,
422,
374,
3719,
288,
9506,
202,
3076,
548,
273,
1664,
1046,
25083,
202,
18,
588,
1499,
12,
11616,
67,
19104,
1769,
1082,
202,
97,
1082,
202,
430,
14015,
3076,
548,
480,
446,
13,
597,
261,
3076,
548,
18,
2469,
1435,
422,
374,
3719,
288,
9506,
202,
3076,
548,
273,
446,
31,
1082,
202,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
727,
918,
855,
10497,
1265,
4243,
12,
1082,
202,
6385,
467,
1750,
1046,
8526,
1664,
3471,
16,
1082,
202,
6385,
509,
1664,
1046,
1380,
16,
1082,
202,
6385,
15689,
1318,
5085,
1318,
16,
1082,
202,
6385,
467,
2189,
1179,
1296,
1179,
13,
288,
202,
202,
6385,
2200,
7394,
273,
394,
2407,
12,
7025,
1046,
1380,
1769,
202,
202,
6385,
987,
5599,
774,
1343,
273,
394,
2407,
12,
21,
1769,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1664,
1046,
1380,
31,
277,
27245,
288,
1082,
202,
6385,
467,
1750,
1046,
1664,
1046,
273,
1664,
3471,
63,
77,
15533,
1082,
202,
20308,
9506,
380,
2720,
596,
326,
1296,
612,
18,
2256,
310,
333,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.