rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
sequencelengths 256
256
| attention_mask
sequencelengths 256
256
| labels
sequencelengths 128
128
|
---|---|---|---|---|---|---|
public static Throwable getRootParentException(Throwable t) { | public static Throwable getRootParentException(Throwable t) { | public static Throwable getRootParentException(Throwable t) { Throwable cause = t; Throwable parent = t; while (cause != null) { if (cause.getCause() == null) { return parent; } parent = cause; cause = cause.getCause(); } return t; } | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/a786dc853ae4b3a64d08cfad2884587503d35d09/ExceptionHelper.java/buggy/src/java/org/mule/config/ExceptionHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
4206,
7656,
3054,
503,
12,
15155,
268,
13,
565,
288,
3639,
4206,
4620,
273,
268,
31,
3639,
4206,
982,
273,
268,
31,
3639,
1323,
261,
2700,
480,
446,
13,
288,
5411,
309,
261,
2700,
18,
588,
10683,
1435,
422,
446,
13,
288,
7734,
327,
982,
31,
5411,
289,
5411,
982,
273,
4620,
31,
5411,
4620,
273,
4620,
18,
588,
10683,
5621,
3639,
289,
3639,
327,
268,
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,
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
261,
2700,
480,
446,
13,
288,
5411,
309,
261,
2700,
18,
588,
10683,
1435,
422,
446,
13,
288,
7734,
327,
982,
31,
5411,
289,
5411,
982,
273,
4620,
31,
5411,
4620,
273,
4620,
18,
588,
10683,
5621,
3639,
289,
3639,
327,
268,
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
] |
throw x; } | throw x; } | public void fatalError(SAXParseException x) throws SAXException { // Debug.err(x.toString()); throw x; } | 7476 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7476/01f8aec31f0d408a977de26cc5f242ec8ba1e32f/CallerList.java/buggy/jfritz/src/de/moonflower/jfritz/callerlist/CallerList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
918,
10081,
668,
12,
55,
2501,
13047,
619,
13,
1216,
14366,
288,
6862,
202,
759,
4015,
18,
370,
12,
92,
18,
10492,
10663,
6862,
202,
12849,
619,
31,
9506,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
918,
10081,
668,
12,
55,
2501,
13047,
619,
13,
1216,
14366,
288,
6862,
202,
759,
4015,
18,
370,
12,
92,
18,
10492,
10663,
6862,
202,
12849,
619,
31,
9506,
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
] |
if (value == null) { | if (value == null) { | public Object get() { Thread currentThread = Thread.currentThread(); // Note that we don't have to synchronize, as only this thread will // ever modify the returned value. Object value = valueMap.get(currentThread); if (value == null) { value = initialValue(); valueMap.put(currentThread, value == null ? NULL : value); } return value == NULL ? null : value; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/ThreadLocal.java/buggy/core/src/classpath/java/java/lang/ThreadLocal.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
336,
1435,
288,
202,
202,
3830,
11800,
273,
4884,
18,
2972,
3830,
5621,
202,
202,
759,
3609,
716,
732,
2727,
1404,
1240,
358,
16978,
16,
487,
1338,
333,
2650,
903,
202,
202,
759,
14103,
5612,
326,
2106,
460,
18,
202,
202,
921,
460,
273,
460,
863,
18,
588,
12,
2972,
3830,
1769,
202,
202,
430,
261,
1132,
422,
446,
13,
288,
1082,
202,
1132,
273,
11837,
5621,
1082,
202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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
336,
1435,
288,
202,
202,
3830,
11800,
273,
4884,
18,
2972,
3830,
5621,
202,
202,
759,
3609,
716,
732,
2727,
1404,
1240,
358,
16978,
16,
487,
1338,
333,
2650,
903,
202,
202,
759,
14103,
5612,
326,
2106,
460,
18,
202,
202,
921,
460,
273,
460,
863,
18,
588,
12,
2972,
3830,
1769,
202,
202,
430,
261,
1132,
422,
446,
13,
288,
1082,
202,
1132,
273,
11837,
5621,
1082,
202,
1132,
863,
18,
458,
12,
2972,
3830,
16,
460,
422,
446,
692,
3206,
294,
460,
1769,
202,
202,
97,
202,
202,
2463,
460,
422,
3206,
692,
446,
294,
460,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
this.persist = hibernateSession.getMethod("persist", new Class[]{Object.class}); | this.persist = hibernateSession.getMethod("persist", new Class[]{String.class,Object.class}); | public HibernateRichObjectBuilder(Object session) { super(); // call the normal rich object builder first try { // Lazy load the Session class from Hibernate. Class hibernateSession = Class.forName("org.hibernate.Session"); // Test to see if our parameter is really a Session if (!hibernateSession.isInstance(session)) throw new IllegalArgumentException("Parameter must be a org.hibernate.Session object"); this.session = session; // Lookup the createQuery and persist methods this.createQuery = hibernateSession.getMethod("createQuery", new Class[]{String.class}); this.persist = hibernateSession.getMethod("persist", new Class[]{Object.class}); // Lazy load the Query class from Hibernate. Class hibernateQuery = Class.forName("org.hibernate.Query"); // Lookup the setParameter and list methods this.setParameter = hibernateQuery.getMethod("setParameter", new Class[]{int.class,Object.class}); this.list = hibernateQuery.getMethod("list", new Class[]{}); } catch (ClassNotFoundException e) { throw new RuntimeException(e); } catch (NoSuchMethodException e) { throw new RuntimeException(e); } } | 50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/19351f078278fa928ff9bc18f85c51a99eec3c28/HibernateRichObjectBuilder.java/clean/src/org/biojavax/bio/db/HibernateRichObjectBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
670,
24360,
22591,
921,
1263,
12,
921,
1339,
13,
288,
3639,
2240,
5621,
368,
745,
326,
2212,
23657,
733,
2089,
1122,
3639,
775,
288,
5411,
368,
12805,
1262,
326,
3877,
667,
628,
670,
24360,
18,
5411,
1659,
366,
24360,
2157,
273,
1659,
18,
1884,
461,
2932,
3341,
18,
15769,
22828,
18,
2157,
8863,
5411,
368,
7766,
358,
2621,
309,
3134,
1569,
353,
8654,
279,
3877,
5411,
309,
16051,
15769,
22828,
2157,
18,
291,
1442,
12,
3184,
3719,
7734,
604,
394,
2754,
2932,
1662,
1297,
506,
279,
2358,
18,
15769,
22828,
18,
2157,
733,
8863,
5411,
333,
18,
3184,
273,
1339,
31,
5411,
368,
8834,
326,
17698,
471,
3898,
2590,
5411,
333,
18,
2640,
1138,
273,
366,
24360,
2157,
18,
588,
1305,
2932,
2640,
1138,
3113,
394,
1659,
63,
7073,
780,
18,
1106,
22938,
5411,
333,
18,
19251,
273,
366,
24360,
2157,
18,
588,
1305,
2932,
19251,
3113,
394,
1659,
63,
7073,
780,
18,
1106,
16,
921,
18,
1106,
22938,
5411,
368,
12805,
1262,
326,
2770,
667,
628,
670,
24360,
18,
5411,
1659,
366,
24360,
1138,
273,
1659,
18,
1884,
461,
2932,
3341,
18,
15769,
22828,
18,
1138,
8863,
5411,
368,
8834,
326,
6690,
471,
666,
2590,
5411,
333,
18,
542,
1662,
273,
366,
24360,
1138,
18,
588,
1305,
2932,
542,
1662,
3113,
394,
1659,
63,
7073,
474,
18,
1106,
16,
921,
18,
1106,
22938,
5411,
333,
18,
1098,
273,
366,
24360,
1138,
18,
588,
1305,
2932,
1098,
3113,
394,
1659,
8526,
2916,
1769,
3639,
289,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
670,
24360,
22591,
921,
1263,
12,
921,
1339,
13,
288,
3639,
2240,
5621,
368,
745,
326,
2212,
23657,
733,
2089,
1122,
3639,
775,
288,
5411,
368,
12805,
1262,
326,
3877,
667,
628,
670,
24360,
18,
5411,
1659,
366,
24360,
2157,
273,
1659,
18,
1884,
461,
2932,
3341,
18,
15769,
22828,
18,
2157,
8863,
5411,
368,
7766,
358,
2621,
309,
3134,
1569,
353,
8654,
279,
3877,
5411,
309,
16051,
15769,
22828,
2157,
18,
291,
1442,
12,
3184,
3719,
7734,
604,
394,
2754,
2932,
1662,
1297,
506,
279,
2358,
18,
15769,
22828,
18,
2157,
733,
8863,
5411,
333,
18,
3184,
273,
1339,
31,
5411,
368,
8834,
326,
17698,
471,
3898,
2590,
5411,
333,
18,
2640,
1138,
273,
366,
24360,
2
] |
final long lvalue = Double.doubleToLongBits(value); final int lsbv = (int) (lvalue & 0xFFFFFFFFL); final int msbv = (int) ((lvalue >>> 32) & 0xFFFFFFFFL); os.writePUSH(msbv); os.writePUSH(lsbv); } | final long lvalue = Double.doubleToLongBits(value); final int lsbv = (int) (lvalue & 0xFFFFFFFFL); final int msbv = (int) ((lvalue >>> 32) & 0xFFFFFFFFL); os.writePUSH(msbv); os.writePUSH(lsbv); } | protected final void pushConstant(EmitterContext ec, AbstractX86Stream os) { final long lvalue = Double.doubleToLongBits(value); final int lsbv = (int) (lvalue & 0xFFFFFFFFL); final int msbv = (int) ((lvalue >>> 32) & 0xFFFFFFFFL); os.writePUSH(msbv); os.writePUSH(lsbv); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/55b12818040bb69b51502c4cd0f42118d2046977/DoubleItem.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/DoubleItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
727,
918,
1817,
6902,
12,
13476,
1042,
6557,
16,
4115,
60,
5292,
1228,
1140,
13,
288,
3639,
727,
1525,
328,
1132,
273,
3698,
18,
9056,
30220,
6495,
12,
1132,
1769,
3639,
727,
509,
7180,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
727,
918,
1817,
6902,
12,
13476,
1042,
6557,
16,
4115,
60,
5292,
1228,
1140,
13,
288,
3639,
727,
1525,
328,
1132,
273,
3698,
18,
9056,
30220,
6495,
12,
1132,
1769,
3639,
727,
509,
7180,
70,
90,
273,
261,
474,
13,
261,
80,
1132,
473,
374,
28949,
48,
1769,
3639,
727,
509,
4086,
70,
90,
273,
261,
474,
13,
14015,
80,
1132,
4080,
3847,
13,
473,
374,
28949,
48,
1769,
3639,
1140,
18,
2626,
30348,
12,
959,
70,
90,
1769,
3639,
1140,
18,
2626,
30348,
12,
3251,
70,
90,
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
] |
result= fFragments[i].getFile(path); | result= fFragments[i].getFile(location); | public IIndexFile getFile(IPath location) throws CoreException { IIndexFile result= null; String path= location.toOSString(); for (int i = 0; result==null && i < fPrimaryFragmentCount; i++) { result= fFragments[i].getFile(path); } return result; } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/d6d9ed6df05fa9a4d5efa12e7ef50e6fa2caec66/CIndex.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/CIndex.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
1016,
812,
6034,
12,
45,
743,
2117,
13,
1216,
30015,
288,
202,
202,
45,
1016,
812,
563,
33,
446,
31,
202,
202,
780,
589,
33,
2117,
18,
869,
4618,
780,
5621,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
563,
631,
2011,
597,
277,
411,
284,
6793,
7456,
1380,
31,
277,
27245,
288,
1082,
202,
2088,
33,
284,
27588,
63,
77,
8009,
29925,
12,
803,
1769,
202,
202,
97,
202,
202,
2463,
563,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
1016,
812,
6034,
12,
45,
743,
2117,
13,
1216,
30015,
288,
202,
202,
45,
1016,
812,
563,
33,
446,
31,
202,
202,
780,
589,
33,
2117,
18,
869,
4618,
780,
5621,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
563,
631,
2011,
597,
277,
411,
284,
6793,
7456,
1380,
31,
277,
27245,
288,
1082,
202,
2088,
33,
284,
27588,
63,
77,
8009,
29925,
12,
803,
1769,
202,
202,
97,
202,
202,
2463,
563,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
handle.addDisposeListener(disposeLitener); | if (handle != null) { handle.addDisposeListener(disposeLitener); } | public ReportMediator getMediator( ModuleHandle handle ) { handle.addDisposeListener(disposeLitener); ReportMediator mediator = (ReportMediator) mediatorMap.get( handle ); if ( mediator == null ) { mediator = new ReportMediator( ); mediatorMap.put( handle, mediator ); } return mediator; } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/b97243816b5e6a0657e44d3f9ed52189a65aaf65/SessionHandleAdapter.java/buggy/UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/core/model/SessionHandleAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8706,
13265,
10620,
2108,
329,
10620,
12,
5924,
3259,
1640,
262,
202,
95,
202,
202,
4110,
18,
1289,
1669,
4150,
2223,
12,
2251,
4150,
23707,
708,
1769,
202,
202,
4820,
13265,
10620,
6735,
10620,
273,
261,
4820,
13265,
10620,
13,
6735,
10620,
863,
18,
588,
12,
1640,
11272,
202,
202,
430,
261,
6735,
10620,
422,
446,
262,
202,
202,
95,
1082,
202,
17113,
273,
394,
8706,
13265,
10620,
12,
11272,
1082,
202,
17113,
863,
18,
458,
12,
1640,
16,
6735,
10620,
11272,
202,
202,
97,
202,
202,
2463,
6735,
10620,
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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,
202,
202,
4110,
18,
1289,
1669,
4150,
2223,
12,
2251,
4150,
23707,
708,
1769,
202,
202,
4820,
13265,
10620,
6735,
10620,
273,
261,
4820,
13265,
10620,
13,
6735,
10620,
863,
18,
588,
12,
1640,
11272,
202,
202,
430,
261,
6735,
10620,
422,
446,
262,
202,
202,
95,
1082,
202,
17113,
273,
394,
8706,
13265,
10620,
12,
11272,
1082,
202,
17113,
863,
18,
458,
12,
1640,
16,
6735,
10620,
11272,
202,
202,
97,
202,
202,
2463,
6735,
10620,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (lookaheadType instanceof X10ParsedClassType) c = ((X10Context) c).pushDepType((X10ParsedClassType) lookaheadType); | if (lookaheadType instanceof X10NamedType) c = ((X10Context) c).pushDepType((X10NamedType) lookaheadType); | public Context enterChildScope(Node child, Context c) { if (child == this.dep) { TypeSystem ts = c.typeSystem(); if (lookaheadType instanceof X10ParsedClassType) c = ((X10Context) c).pushDepType((X10ParsedClassType) lookaheadType); } Context cc = super.enterChildScope(child, c); return cc; } | 1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/0fa62f634e354c0b852779d3823c83e336744505/X10AmbTypeNode_c.java/buggy/x10.compiler/src/polyglot/ext/x10/ast/X10AmbTypeNode_c.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1772,
6103,
1763,
3876,
12,
907,
1151,
16,
1772,
276,
13,
288,
3639,
309,
261,
3624,
422,
333,
18,
15037,
13,
288,
5411,
1412,
3163,
3742,
273,
276,
18,
723,
3163,
5621,
5411,
309,
261,
7330,
11617,
559,
1276,
1139,
2163,
11257,
18328,
13,
5411,
276,
273,
14015,
60,
2163,
1042,
13,
276,
2934,
6206,
16316,
559,
12443,
60,
2163,
11257,
18328,
13,
16029,
559,
1769,
3639,
289,
3639,
1772,
4946,
273,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1772,
6103,
1763,
3876,
12,
907,
1151,
16,
1772,
276,
13,
288,
3639,
309,
261,
3624,
422,
333,
18,
15037,
13,
288,
5411,
1412,
3163,
3742,
273,
276,
18,
723,
3163,
5621,
5411,
309,
261,
7330,
11617,
559,
1276,
1139,
2163,
11257,
18328,
13,
5411,
276,
273,
14015,
60,
2163,
1042,
13,
276,
2934,
6206,
16316,
559,
12443,
60,
2163,
11257,
18328,
13,
16029,
559,
1769,
3639,
289,
3639,
1772,
4946,
273,
2240,
18,
2328,
1763,
3876,
12,
3624,
16,
276,
1769,
3639,
327,
4946,
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
] |
return _output; | return output; | public org.apache.geronimo.interop.rmi.iiop.ObjectOutputStream getOutputStream() { if (SIMPLE_IDL) { return getSimpleOutputStream(); } if (_output == null) { _output = org.apache.geronimo.interop.rmi.iiop.ObjectOutputStream.getInstance(_parameters); } return _output; } | 12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/9d2c39c906c6955e17daf4ac239b85d4727ddc83/Connection.java/clean/modules/interop/src/java/org/apache/geronimo/interop/rmi/iiop/client/Connection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2358,
18,
19211,
18,
693,
265,
381,
83,
18,
30376,
18,
8864,
77,
18,
2835,
556,
18,
921,
4632,
22553,
1435,
288,
3639,
309,
261,
31669,
900,
67,
734,
48,
13,
288,
5411,
327,
8120,
4632,
5621,
3639,
289,
3639,
309,
261,
67,
2844,
422,
446,
13,
288,
5411,
389,
2844,
273,
2358,
18,
19211,
18,
693,
265,
381,
83,
18,
30376,
18,
8864,
77,
18,
2835,
556,
18,
921,
4632,
18,
588,
1442,
24899,
3977,
1769,
3639,
289,
3639,
327,
876,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2358,
18,
19211,
18,
693,
265,
381,
83,
18,
30376,
18,
8864,
77,
18,
2835,
556,
18,
921,
4632,
22553,
1435,
288,
3639,
309,
261,
31669,
900,
67,
734,
48,
13,
288,
5411,
327,
8120,
4632,
5621,
3639,
289,
3639,
309,
261,
67,
2844,
422,
446,
13,
288,
5411,
389,
2844,
273,
2358,
18,
19211,
18,
693,
265,
381,
83,
18,
30376,
18,
8864,
77,
18,
2835,
556,
18,
921,
4632,
18,
588,
1442,
24899,
3977,
1769,
3639,
289,
3639,
327,
876,
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
] |
dirtyScreen.setBounds(0,lenScreen - 1,0,0); updateDirty(); | dirtyScreen.setBounds(0, lenScreen - 1, 0, 0); updateDirty(); | protected void restoreScreen() { lastAttr = 32; dirtyScreen.setBounds(0,lenScreen - 1,0,0); updateDirty(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d3f4f0d032e4305c6a78bdb863ee5599f3e41633/Screen5250.java/clean/tn5250j/src/org/tn5250j/framework/tn5250/Screen5250.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
5217,
7956,
1435,
288,
202,
202,
2722,
3843,
273,
3847,
31,
1377,
9603,
7956,
18,
542,
5694,
12,
20,
16,
1897,
7956,
300,
404,
16,
20,
16,
20,
1769,
1377,
1089,
10785,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
5217,
7956,
1435,
288,
202,
202,
2722,
3843,
273,
3847,
31,
1377,
9603,
7956,
18,
542,
5694,
12,
20,
16,
1897,
7956,
300,
404,
16,
20,
16,
20,
1769,
1377,
1089,
10785,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
String prefix = name + ".resource.loader."; | String prefix = name+".resource.loader."; | public void configure(Configuration configuration) throws ConfigurationException { this.resolverContext = new DefaultContext(); this.objectExports = new ArrayList(); this.tmplEngine = new VelocityEngine(); this.tmplEngine.setProperty(Velocity.RUNTIME_LOG_LOGSYSTEM, this); // First set up our default 'cocoon' resource loader this.tmplEngine.setProperty("cocoon.resource.loader.class", TemplateLoader.class.getName()); this.tmplEngine.setProperty("cocoon.resource.loader.cache", configuration.getAttribute("usecache", "false")); this.tmplEngine.setProperty("cocoon.resource.loader.modificationCheckInterval", configuration.getAttribute("checkInterval", "0")); this.tmplEngine.setProperty("cocoon.resource.loader.context", this.resolverContext); // Read in any additional properties to pass to the VelocityEngine during initialization Configuration[] properties = configuration.getChildren("property"); for (int i = 0; i < properties.length; ++i) { Configuration c = properties[i]; String name = c.getAttribute("name"); // Disallow setting of certain properties if (name.startsWith("runtime.log") || name.indexOf(".resource.loader.") != -1) { if (getLogger().isInfoEnabled()) { getLogger().info("ignoring disallowed property '" + name + "'."); } continue; } this.tmplEngine.setProperty(name, c.getAttribute("value")); } // Now read in any additional Velocity resource loaders List resourceLoaders = new ArrayList(); Configuration[] loaders = configuration.getChildren("resource-loader"); for (int i = 0; i < loaders.length; ++i) { Configuration loader = loaders[i]; String name = loader.getAttribute("name"); if (name.equals("cocoon")) { if (getLogger().isInfoEnabled()) { getLogger().info("'cocoon' resource loader already defined."); } continue; } resourceLoaders.add(name); String prefix = name + ".resource.loader."; String type = loader.getAttribute("class"); this.tmplEngine.setProperty(prefix + "class", type); Configuration[] loaderProperties = loader.getChildren("property"); for (int j = 0; j < loaderProperties.length; j++) { Configuration c = loaderProperties[j]; String propName = c.getAttribute("name"); this.tmplEngine.setProperty(prefix + propName, c.getAttribute("value")); } } // Velocity expects resource loaders as CSV list StringBuffer buffer = new StringBuffer("cocoon"); for (Iterator it = resourceLoaders.iterator(); it.hasNext();) { buffer.append(','); buffer.append((String) it.next()); } tmplEngine.setProperty(Velocity.RESOURCE_LOADER, buffer.toString()); // Read in additional objects to export from the object map Configuration[] exports = configuration.getChildren("export-object"); for (int i = 0; i < exports.length; ++i) { Configuration c = exports[i]; ObjectExport export = new ObjectExport(); export.key = c.getAttribute("key"); export.name = c.getAttribute("name"); this.objectExports.add(export); } } | 46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/1937c1aabe48ce0e24cc3ac7579b71da181d7f08/VelocityGenerator.java/buggy/src/blocks/velocity/java/org/apache/cocoon/generation/VelocityGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
5068,
12,
1750,
1664,
13,
1216,
22196,
288,
3639,
333,
18,
14122,
1042,
273,
394,
2989,
1042,
5621,
3639,
333,
18,
1612,
15352,
273,
394,
2407,
5621,
3639,
333,
18,
24717,
4410,
273,
394,
24561,
4410,
5621,
3639,
333,
18,
24717,
4410,
18,
542,
1396,
12,
27522,
18,
54,
25375,
67,
4842,
67,
4842,
14318,
16,
333,
1769,
3639,
368,
5783,
444,
731,
3134,
805,
296,
71,
29571,
265,
11,
1058,
4088,
3639,
333,
18,
24717,
4410,
18,
542,
1396,
2932,
71,
29571,
265,
18,
3146,
18,
6714,
18,
1106,
3113,
4766,
565,
5035,
2886,
18,
1106,
18,
17994,
10663,
3639,
333,
18,
24717,
4410,
18,
542,
1396,
2932,
71,
29571,
265,
18,
3146,
18,
6714,
18,
2493,
3113,
4766,
565,
1664,
18,
588,
1499,
2932,
1202,
2493,
3113,
315,
5743,
7923,
1769,
3639,
333,
18,
24717,
4410,
18,
542,
1396,
2932,
71,
29571,
265,
18,
3146,
18,
6714,
18,
31064,
1564,
4006,
3113,
4766,
565,
1664,
18,
588,
1499,
2932,
1893,
4006,
3113,
315,
20,
7923,
1769,
3639,
333,
18,
24717,
4410,
18,
542,
1396,
2932,
71,
29571,
265,
18,
3146,
18,
6714,
18,
2472,
3113,
4766,
565,
333,
18,
14122,
1042,
1769,
3639,
368,
2720,
316,
1281,
3312,
1790,
358,
1342,
358,
326,
24561,
4410,
4982,
10313,
3639,
4659,
8526,
1790,
273,
1664,
18,
588,
4212,
2932,
4468,
8863,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1790,
18,
2469,
31,
965,
77,
13,
288,
5411,
4659,
276,
273,
1790,
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,
5068,
12,
1750,
1664,
13,
1216,
22196,
288,
3639,
333,
18,
14122,
1042,
273,
394,
2989,
1042,
5621,
3639,
333,
18,
1612,
15352,
273,
394,
2407,
5621,
3639,
333,
18,
24717,
4410,
273,
394,
24561,
4410,
5621,
3639,
333,
18,
24717,
4410,
18,
542,
1396,
12,
27522,
18,
54,
25375,
67,
4842,
67,
4842,
14318,
16,
333,
1769,
3639,
368,
5783,
444,
731,
3134,
805,
296,
71,
29571,
265,
11,
1058,
4088,
3639,
333,
18,
24717,
4410,
18,
542,
1396,
2932,
71,
29571,
265,
18,
3146,
18,
6714,
18,
1106,
3113,
4766,
565,
5035,
2886,
18,
1106,
18,
17994,
10663,
3639,
333,
18,
24717,
4410,
18,
542,
1396,
2932,
71,
29571,
265,
18,
3146,
18,
6714,
2
] |
if(_children[i] instanceof PPDrawing) { | else if(_children[i] instanceof PPDrawing) { | protected Slide(byte[] source, int start, int len) { // Grab the header _header = new byte[8]; System.arraycopy(source,start,_header,0,8); // Find our children _children = Record.findChildRecords(source,start+8,len-8); // Find the interesting ones in there for(int i=0; i<_children.length; i++) { if(_children[i] instanceof SlideAtom) { slideAtom = (SlideAtom)_children[i]; } if(_children[i] instanceof PPDrawing) { ppDrawing = (PPDrawing)_children[i]; } } } | 509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/aebf3c2b527446233a6ee5c1a765a28a71be0204/Slide.java/clean/src/scratchpad/src/org/apache/poi/hslf/record/Slide.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
348,
8130,
12,
7229,
8526,
1084,
16,
509,
787,
16,
509,
562,
13,
288,
202,
202,
759,
17150,
326,
1446,
202,
202,
67,
3374,
273,
394,
1160,
63,
28,
15533,
202,
202,
3163,
18,
1126,
3530,
12,
3168,
16,
1937,
16,
67,
3374,
16,
20,
16,
28,
1769,
202,
202,
759,
4163,
3134,
2325,
202,
202,
67,
5906,
273,
5059,
18,
4720,
1763,
6499,
12,
3168,
16,
1937,
15,
28,
16,
1897,
17,
28,
1769,
202,
202,
759,
4163,
326,
26122,
5945,
316,
1915,
202,
202,
1884,
12,
474,
277,
33,
20,
31,
277,
32,
67,
5906,
18,
2469,
31,
277,
27245,
288,
1082,
202,
430,
24899,
5906,
63,
77,
65,
1276,
348,
8130,
3641,
13,
288,
9506,
202,
26371,
3641,
273,
261,
21068,
3641,
13,
67,
5906,
63,
77,
15533,
1082,
202,
97,
1082,
202,
430,
24899,
5906,
63,
77,
65,
1276,
453,
52,
26885,
13,
288,
9506,
202,
11858,
26885,
273,
261,
6584,
26885,
13,
67,
5906,
63,
77,
15533,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
348,
8130,
12,
7229,
8526,
1084,
16,
509,
787,
16,
509,
562,
13,
288,
202,
202,
759,
17150,
326,
1446,
202,
202,
67,
3374,
273,
394,
1160,
63,
28,
15533,
202,
202,
3163,
18,
1126,
3530,
12,
3168,
16,
1937,
16,
67,
3374,
16,
20,
16,
28,
1769,
202,
202,
759,
4163,
3134,
2325,
202,
202,
67,
5906,
273,
5059,
18,
4720,
1763,
6499,
12,
3168,
16,
1937,
15,
28,
16,
1897,
17,
28,
1769,
202,
202,
759,
4163,
326,
26122,
5945,
316,
1915,
202,
202,
1884,
12,
474,
277,
33,
20,
31,
277,
32,
67,
5906,
18,
2469,
31,
277,
27245,
288,
1082,
202,
430,
24899,
5906,
63,
77,
65,
1276,
348,
8130,
3641,
13,
2
] |
table2dc.put("ItemsByTitle", item.getDC("title", null, Item.ANY)); table2dc.put("ItemsByAuthor", item.getDC("contributor", Item.ANY, Item.ANY)); table2dc.put("ItemsByDate", item.getDC("date", "issued", Item.ANY)); | table2dc.put("ItemsByTitle", titleArray); table2dc.put("ItemsByAuthor", authorArray); table2dc.put("ItemsByDate", dateArray); | public static void itemAdded(Context context, Item item) throws SQLException { // add all parent communities to communities2item table Community[] parents = item.getCommunities(); for (int j = 0; j < parents.length; j++) { TableRow row = DatabaseManager.create(context, "Communities2Item"); row.setColumn("item_id", item.getID()); row.setColumn("community_id", parents[j].getID()); DatabaseManager.update(context, row); } Map table2dc = new HashMap(); table2dc.put("ItemsByTitle", item.getDC("title", null, Item.ANY)); table2dc.put("ItemsByAuthor", item.getDC("contributor", Item.ANY, Item.ANY)); table2dc.put("ItemsByDate", item.getDC("date", "issued", Item.ANY)); table2dc.put("ItemsByDateAccessioned", item.getDC("date", "accessioned", Item.ANY)); // TODO: Get from config? (Richard Jones patch?) table2dc.put("ItemsBySubject", item .getDC("subject", Item.ANY, Item.ANY)); for (Iterator iterator = table2dc.keySet().iterator(); iterator .hasNext();) { String table = (String) iterator.next(); DCValue[] dc = (DCValue[]) table2dc.get(table); for (int i = 0; i < dc.length; i++) { TableRow row = DatabaseManager.create(context, table); row.setColumn("item_id", item.getID()); String value = dc[i].value; if ("ItemsByDateAccessioned".equals(table)) { row.setColumn("date_accessioned", value); } else if ("ItemsByDate".equals(table)) { row.setColumn("date_issued", value); } else if ("ItemsByAuthor".equals(table)) { // author name, and normalized sorting name // (which for now is simple lower-case) row.setColumn("author", value); row.setColumn("sort_author", value.toLowerCase()); } else if ("ItemsByTitle".equals(table)) { String title = NormalizedTitle.normalize(value, dc[i].language); row.setColumn("title", value); row.setColumn("sort_title", title.toLowerCase()); } else if ("ItemsBySubject".equals(table)) { row.setColumn("subject", value); row.setColumn("sort_subject", value.toLowerCase()); } DatabaseManager.update(context, row); } } } | 47214 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47214/1347532740ce2bff5dc4b7cc1065c218dc342bc9/Browse.java/buggy/dspace/src/org/dspace/browse/Browse.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
761,
8602,
12,
1042,
819,
16,
4342,
761,
13,
5411,
1216,
6483,
565,
288,
3639,
368,
527,
777,
982,
8391,
1961,
358,
8391,
1961,
22,
1726,
1014,
3639,
16854,
13352,
8526,
6298,
273,
761,
18,
588,
12136,
318,
1961,
5621,
3639,
364,
261,
474,
525,
273,
374,
31,
525,
411,
6298,
18,
2469,
31,
525,
27245,
3639,
288,
5411,
3555,
1999,
1027,
273,
5130,
1318,
18,
2640,
12,
2472,
16,
315,
12136,
318,
1961,
22,
1180,
8863,
5411,
1027,
18,
542,
1494,
2932,
1726,
67,
350,
3113,
761,
18,
588,
734,
10663,
5411,
1027,
18,
542,
1494,
2932,
20859,
67,
350,
3113,
6298,
63,
78,
8009,
588,
734,
10663,
5411,
5130,
1318,
18,
2725,
12,
2472,
16,
1027,
1769,
3639,
289,
3639,
1635,
1014,
22,
7201,
273,
394,
4317,
5621,
3639,
1014,
22,
7201,
18,
458,
2932,
3126,
858,
4247,
3113,
761,
18,
588,
5528,
2932,
2649,
3113,
446,
16,
4342,
18,
15409,
10019,
3639,
1014,
22,
7201,
18,
458,
2932,
3126,
858,
3594,
3113,
761,
18,
588,
5528,
2932,
591,
19293,
3113,
4342,
18,
15409,
16,
7734,
4342,
18,
15409,
10019,
3639,
1014,
22,
7201,
18,
458,
2932,
3126,
858,
1626,
3113,
761,
18,
588,
5528,
2932,
712,
3113,
315,
1054,
5957,
3113,
4342,
18,
15409,
10019,
3639,
1014,
22,
7201,
18,
458,
2932,
3126,
858,
1626,
1862,
285,
329,
3113,
761,
18,
588,
5528,
2932,
712,
3113,
7734,
315,
3860,
285,
329,
3113,
4342,
18,
15409,
10019,
3639,
368,
2660,
30,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
761,
8602,
12,
1042,
819,
16,
4342,
761,
13,
5411,
1216,
6483,
565,
288,
3639,
368,
527,
777,
982,
8391,
1961,
358,
8391,
1961,
22,
1726,
1014,
3639,
16854,
13352,
8526,
6298,
273,
761,
18,
588,
12136,
318,
1961,
5621,
3639,
364,
261,
474,
525,
273,
374,
31,
525,
411,
6298,
18,
2469,
31,
525,
27245,
3639,
288,
5411,
3555,
1999,
1027,
273,
5130,
1318,
18,
2640,
12,
2472,
16,
315,
12136,
318,
1961,
22,
1180,
8863,
5411,
1027,
18,
542,
1494,
2932,
1726,
67,
350,
3113,
761,
18,
588,
734,
10663,
5411,
1027,
18,
542,
1494,
2932,
20859,
67,
350,
3113,
6298,
63,
78,
8009,
588,
734,
10663,
5411,
5130,
1318,
18,
2725,
12,
2
] |
builder1.setPeerPublicValue(pub2); | try { builder2.setPeerPublicValue(pub1); builder1.setPeerPublicValue(pub2); } catch (DHSessionKeyBuilder.InvalidPublicParameterException ippe) { assertTrue(ippe.getMessage(), true); } | public void testDHSessionKeyBuilder(){ I2PAppContext ctx = new I2PAppContext(); for (int i = 0; i < 5; i++) { DHSessionKeyBuilder builder1 = new DHSessionKeyBuilder(); DHSessionKeyBuilder builder2 = new DHSessionKeyBuilder(); BigInteger pub1 = builder1.getMyPublicValue(); builder2.setPeerPublicValue(pub1); BigInteger pub2 = builder2.getMyPublicValue(); builder1.setPeerPublicValue(pub2); SessionKey key1 = builder1.getSessionKey(); SessionKey key2 = builder2.getSessionKey(); assertEquals(key1, key2); byte iv[] = new byte[16]; RandomSource.getInstance().nextBytes(iv); String origVal = "1234567890123456"; // 16 bytes max using AESEngine byte enc[] = new byte[16]; byte dec[] = new byte[16]; ctx.aes().encrypt(origVal.getBytes(), 0, enc, 0, key1, iv, 16); ctx.aes().decrypt(enc, 0, dec, 0, key2, iv, 16); String tranVal = new String(dec); assertEquals(origVal, tranVal); } } | 3808 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3808/a8a866b5f60e9319f293bda8dd9c6b52ae5b4db2/DHSessionKeyBuilderTest.java/clean/core/java/test/net/i2p/crypto/DHSessionKeyBuilderTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
16501,
2157,
653,
1263,
1435,
95,
3639,
467,
22,
52,
3371,
1042,
1103,
273,
394,
467,
22,
52,
3371,
1042,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1381,
31,
277,
27245,
288,
5411,
24141,
2157,
653,
1263,
2089,
21,
273,
394,
24141,
2157,
653,
1263,
5621,
5411,
24141,
2157,
653,
1263,
2089,
22,
273,
394,
24141,
2157,
653,
1263,
5621,
5411,
10246,
5634,
21,
273,
2089,
21,
18,
588,
12062,
4782,
620,
5621,
5411,
2089,
22,
18,
542,
6813,
4782,
620,
12,
10174,
21,
1769,
5411,
10246,
5634,
22,
273,
2089,
22,
18,
588,
12062,
4782,
620,
5621,
5411,
775,
288,
2089,
22,
18,
542,
6813,
4782,
620,
12,
10174,
21,
1769,
2089,
21,
18,
542,
6813,
4782,
620,
12,
10174,
22,
1769,
289,
1044,
261,
16501,
2157,
653,
1263,
18,
1941,
4782,
14819,
2359,
347,
13,
288,
1815,
5510,
12,
625,
347,
18,
24906,
9334,
638,
1769,
289,
5411,
3877,
653,
498,
21,
273,
2089,
21,
18,
588,
2157,
653,
5621,
5411,
3877,
653,
498,
22,
273,
2089,
22,
18,
588,
2157,
653,
5621,
5411,
1815,
8867,
12,
856,
21,
16,
498,
22,
1769,
5411,
1160,
4674,
8526,
273,
394,
1160,
63,
2313,
15533,
5411,
8072,
1830,
18,
588,
1442,
7675,
4285,
2160,
12,
427,
1769,
5411,
514,
1647,
3053,
273,
315,
28462,
20277,
25413,
4313,
14432,
368,
2872,
1731,
943,
1450,
15986,
4410,
5411,
1160,
2446,
8526,
273,
394,
1160,
63,
2313,
15533,
5411,
1160,
2109,
8526,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
16501,
2157,
653,
1263,
1435,
95,
3639,
467,
22,
52,
3371,
1042,
1103,
273,
394,
467,
22,
52,
3371,
1042,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1381,
31,
277,
27245,
288,
5411,
24141,
2157,
653,
1263,
2089,
21,
273,
394,
24141,
2157,
653,
1263,
5621,
5411,
24141,
2157,
653,
1263,
2089,
22,
273,
394,
24141,
2157,
653,
1263,
5621,
5411,
10246,
5634,
21,
273,
2089,
21,
18,
588,
12062,
4782,
620,
5621,
5411,
2089,
22,
18,
542,
6813,
4782,
620,
12,
10174,
21,
1769,
5411,
10246,
5634,
22,
273,
2089,
22,
18,
588,
12062,
4782,
620,
5621,
5411,
775,
288,
2089,
22,
18,
542,
6813,
4782,
620,
12,
10174,
21,
2
] |
SimpleDateFormat df = new SimpleDateFormat("''yyyy-MM-dd''"); set(parameterIndex, df.format(x)); | set(parameterIndex, DF1.format(x)); | public void setDate(int parameterIndex, java.sql.Date x) throws SQLException { SimpleDateFormat df = new SimpleDateFormat("''yyyy-MM-dd''"); set(parameterIndex, df.format(x)); // The above is how the date should be handled. // // However, in JDK's prior to 1.1.6 (confirmed with the // Linux jdk1.1.3 and the Win95 JRE1.1.5), SimpleDateFormat seems // to format a date to the previous day. So the fix is to add a day // before formatting. // // PS: 86400000 is one day // //set(parameterIndex, df.format(new java.util.Date(x.getTime()+86400000))); } | 45454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45454/475c1452b1f8f52a791fcea40be4b7f971afefeb/PreparedStatement.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/PreparedStatement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
17604,
12,
474,
25412,
16,
2252,
18,
4669,
18,
1626,
619,
13,
1216,
6483,
202,
95,
202,
225,
17005,
3013,
273,
394,
17005,
2932,
6309,
17722,
17,
8206,
17,
449,
11,
4970,
1769,
202,
21114,
225,
444,
12,
6775,
1016,
16,
3013,
18,
2139,
12,
92,
10019,
202,
21114,
225,
368,
1021,
5721,
353,
3661,
326,
1509,
1410,
506,
7681,
18,
202,
225,
368,
202,
225,
368,
10724,
16,
316,
24387,
1807,
6432,
358,
404,
18,
21,
18,
26,
261,
21606,
598,
326,
202,
225,
368,
13318,
525,
2883,
21,
18,
21,
18,
23,
471,
326,
21628,
8778,
804,
862,
21,
18,
21,
18,
25,
3631,
17005,
12001,
202,
225,
368,
358,
740,
279,
1509,
358,
326,
2416,
2548,
18,
6155,
326,
2917,
353,
358,
527,
279,
2548,
202,
225,
368,
1865,
10407,
18,
202,
225,
368,
202,
225,
368,
26320,
30,
19663,
11706,
353,
1245,
2548,
202,
225,
368,
202,
225,
368,
542,
12,
6775,
1016,
16,
3013,
18,
2139,
12,
2704,
2252,
18,
1367,
18,
1626,
12,
92,
18,
588,
950,
1435,
15,
28,
1105,
11706,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
918,
17604,
12,
474,
25412,
16,
2252,
18,
4669,
18,
1626,
619,
13,
1216,
6483,
202,
95,
202,
225,
17005,
3013,
273,
394,
17005,
2932,
6309,
17722,
17,
8206,
17,
449,
11,
4970,
1769,
202,
21114,
225,
444,
12,
6775,
1016,
16,
3013,
18,
2139,
12,
92,
10019,
202,
21114,
225,
368,
1021,
5721,
353,
3661,
326,
1509,
1410,
506,
7681,
18,
202,
225,
368,
202,
225,
368,
10724,
16,
316,
24387,
1807,
6432,
358,
404,
18,
21,
18,
26,
261,
21606,
598,
326,
202,
225,
368,
13318,
525,
2883,
21,
18,
21,
18,
23,
471,
326,
21628,
8778,
804,
862,
21,
18,
21,
18,
25,
3631,
17005,
12001,
202,
225,
368,
358,
740,
279,
1509,
2
] |
this.info.setSubcriptionName(name); | this.info.setSubscriptionName(name); | public ActiveMQMessageConsumer(ActiveMQSession session, ConsumerId consumerId, ActiveMQDestination dest, String name, String selector, int prefetch, int maximumPendingMessageCount, boolean noLocal, boolean browser, boolean dispatchAsync) throws JMSException { if (dest == null) { throw new InvalidDestinationException("Don't understand null destinations"); } else if (dest.getPhysicalName() == null) { throw new InvalidDestinationException("The destination object was not given a physical name."); } else if (dest.isTemporary()) { String physicalName = dest.getPhysicalName(); if (physicalName == null) { throw new IllegalArgumentException("Physical name of Destination should be valid: " + dest); } String connectionID = session.connection.getConnectionInfo().getConnectionId().getValue(); if (physicalName.indexOf(connectionID) < 0) { throw new InvalidDestinationException("Cannot use a Temporary destination from another Connection"); } if (session.connection.isDeleted(dest)) { throw new InvalidDestinationException("Cannot use a Temporary destination that has been deleted"); } } this.session = session; this.selector = selector; this.redeliveryPolicy = session.connection.getRedeliveryPolicy(); this.info = new ConsumerInfo(consumerId); this.info.setSubcriptionName(name); this.info.setPrefetchSize(prefetch); this.info.setCurrentPrefetchSize(prefetch); this.info.setMaximumPendingMessageLimit(maximumPendingMessageCount); this.info.setNoLocal(noLocal); this.info.setDispatchAsync(dispatchAsync); this.info.setRetroactive(this.session.connection.isUseRetroactiveConsumer()); // Allows the options on the destination to configure the consumerInfo if (dest.getOptions() != null) { HashMap options = new HashMap(dest.getOptions()); IntrospectionSupport.setProperties(this.info, options, "consumer."); } this.info.setDestination(dest); this.info.setBrowser(browser); if (selector != null && selector.trim().length() != 0) { // Validate that the selector new SelectorParser().parse(selector); this.info.setSelector(selector); } else { this.info.setSelector(null); } this.stats = new JMSConsumerStatsImpl(session.getSessionStats(), dest); this.optimizeAcknowledge=session.connection.isOptimizeAcknowledge()&&session.isAutoAcknowledge() &&!info.isBrowser(); this.info.setOptimizedAcknowledge(this.optimizeAcknowledge); try { this.session.addConsumer(this); this.session.syncSendPacket(info); } catch (JMSException e) { this.session.removeConsumer(this); throw e; } if(session.connection.isStarted()) start(); } | 17032 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17032/333158a031fe2265f0277ddd4e45b4d364233c1c/ActiveMQMessageConsumer.java/buggy/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8857,
9682,
1079,
5869,
12,
3896,
9682,
2157,
1339,
16,
9326,
548,
4765,
548,
16,
8857,
9682,
5683,
1570,
16,
5411,
514,
508,
16,
514,
3451,
16,
509,
17607,
16,
509,
4207,
8579,
1079,
1380,
16,
1250,
1158,
2042,
16,
1250,
4748,
16,
1250,
3435,
2771,
13,
5411,
1216,
20343,
288,
3639,
309,
261,
10488,
422,
446,
13,
288,
5411,
604,
394,
1962,
5683,
503,
2932,
22293,
1404,
22413,
446,
20456,
8863,
3639,
289,
469,
309,
261,
10488,
18,
588,
18136,
461,
1435,
422,
446,
13,
288,
7734,
604,
394,
1962,
5683,
503,
2932,
1986,
2929,
733,
1703,
486,
864,
279,
11640,
508,
1199,
1769,
3639,
289,
469,
309,
261,
10488,
18,
291,
11685,
10756,
288,
5411,
514,
11640,
461,
273,
1570,
18,
588,
18136,
461,
5621,
5411,
309,
261,
20441,
461,
422,
446,
13,
288,
7734,
604,
394,
2754,
2932,
18136,
508,
434,
10691,
1410,
506,
923,
30,
315,
397,
1570,
1769,
5411,
289,
5411,
514,
1459,
734,
273,
1339,
18,
4071,
18,
588,
1952,
966,
7675,
588,
1952,
548,
7675,
24805,
5621,
5411,
309,
261,
20441,
461,
18,
31806,
12,
4071,
734,
13,
411,
374,
13,
288,
7734,
604,
394,
1962,
5683,
503,
2932,
4515,
999,
279,
22791,
2929,
628,
4042,
4050,
8863,
5411,
289,
5411,
309,
261,
3184,
18,
4071,
18,
291,
7977,
12,
10488,
3719,
288,
7734,
604,
394,
1962,
5683,
503,
2932,
4515,
999,
279,
22791,
2929,
716,
711,
2118,
4282,
8863,
5411,
289,
3639,
289,
3639,
333,
18,
3184,
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,
8857,
9682,
1079,
5869,
12,
3896,
9682,
2157,
1339,
16,
9326,
548,
4765,
548,
16,
8857,
9682,
5683,
1570,
16,
5411,
514,
508,
16,
514,
3451,
16,
509,
17607,
16,
509,
4207,
8579,
1079,
1380,
16,
1250,
1158,
2042,
16,
1250,
4748,
16,
1250,
3435,
2771,
13,
5411,
1216,
20343,
288,
3639,
309,
261,
10488,
422,
446,
13,
288,
5411,
604,
394,
1962,
5683,
503,
2932,
22293,
1404,
22413,
446,
20456,
8863,
3639,
289,
469,
309,
261,
10488,
18,
588,
18136,
461,
1435,
422,
446,
13,
288,
7734,
604,
394,
1962,
5683,
503,
2932,
1986,
2929,
733,
1703,
486,
864,
279,
11640,
508,
1199,
1769,
3639,
289,
469,
309,
261,
10488,
18,
291,
11685,
10756,
288,
5411,
2
] |
if (lastDot != -1 && lastDot > lastSlash) { shortName = entryname.substring(lastSlash + 1, lastDot); } else { shortName = entryname.substring(lastSlash + 1); } | shortName = entryname.substring(lastSlash + 1); name = new StringBuffer(repository.getName()).append('/') .append(shortName).toString(); | protected ZipResource(File zipfile, ZipEntry zipentry, ZipRepository repository) { this.zipentry = zipentry; this.zipfile = zipfile; this.repository = repository; String entryname = zipentry.getName(); int lastDot = entryname.lastIndexOf('.'); int lastSlash = entryname.lastIndexOf('/'); if (lastDot != -1 && lastDot > lastSlash) { shortName = entryname.substring(lastSlash + 1, lastDot); } else { shortName = entryname.substring(lastSlash + 1); } StringBuffer buf = new StringBuffer(repository.getName()) .append('/').append(shortName); if (lastDot != -1 && lastDot > lastSlash) { name = buf.append(entryname.substring(lastDot)).toString(); } else { name = buf.toString(); } } | 46029 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46029/14f8f1e8d2c21a87bdb4799b55d5a75217ceab84/ZipResource.java/clean/src/helma/framework/repository/ZipResource.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
8603,
1420,
12,
812,
18823,
16,
23652,
3144,
4099,
16,
8603,
3305,
3352,
13,
288,
3639,
333,
18,
4450,
4099,
273,
3144,
4099,
31,
3639,
333,
18,
4450,
768,
273,
18823,
31,
3639,
333,
18,
9071,
273,
3352,
31,
3639,
514,
1241,
529,
273,
3144,
4099,
18,
17994,
5621,
3639,
509,
1142,
10412,
273,
1241,
529,
18,
2722,
31985,
2668,
1093,
1769,
3639,
509,
1142,
11033,
273,
1241,
529,
18,
2722,
31985,
2668,
2473,
1769,
3639,
309,
261,
2722,
10412,
480,
300,
21,
597,
1142,
10412,
405,
1142,
11033,
13,
288,
5411,
19276,
273,
1241,
529,
18,
28023,
12,
2722,
11033,
397,
404,
16,
1142,
10412,
1769,
3639,
289,
469,
288,
5411,
19276,
273,
1241,
529,
18,
28023,
12,
2722,
11033,
397,
404,
1769,
3639,
289,
3639,
6674,
1681,
273,
394,
6674,
12,
9071,
18,
17994,
10756,
7734,
263,
6923,
2668,
2473,
2934,
6923,
12,
6620,
461,
1769,
3639,
309,
261,
2722,
10412,
480,
300,
21,
597,
1142,
10412,
405,
1142,
11033,
13,
288,
5411,
508,
273,
1681,
18,
6923,
12,
4099,
529,
18,
28023,
12,
2722,
10412,
13,
2934,
10492,
5621,
3639,
289,
469,
288,
5411,
508,
273,
1681,
18,
10492,
5621,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
8603,
1420,
12,
812,
18823,
16,
23652,
3144,
4099,
16,
8603,
3305,
3352,
13,
288,
3639,
333,
18,
4450,
4099,
273,
3144,
4099,
31,
3639,
333,
18,
4450,
768,
273,
18823,
31,
3639,
333,
18,
9071,
273,
3352,
31,
3639,
514,
1241,
529,
273,
3144,
4099,
18,
17994,
5621,
3639,
509,
1142,
10412,
273,
1241,
529,
18,
2722,
31985,
2668,
1093,
1769,
3639,
509,
1142,
11033,
273,
1241,
529,
18,
2722,
31985,
2668,
2473,
1769,
3639,
309,
261,
2722,
10412,
480,
300,
21,
597,
1142,
10412,
405,
1142,
11033,
13,
288,
5411,
19276,
273,
1241,
529,
18,
28023,
12,
2722,
11033,
397,
404,
16,
1142,
10412,
1769,
3639,
289,
469,
288,
5411,
19276,
273,
1241,
529,
18,
2
] |
public void fillPolygon(int[] xPoints, int[] yPoints, int nPoints) | public void fillPolygon (int[] xPoints, int[] yPoints, int nPoints) | public void fillPolygon(int[] xPoints, int[] yPoints, int nPoints) { if ((tx == 0) || (ty == 0)) { directGfx.fillPolygon(xPoints, yPoints, nPoints); return; } throw new UnsupportedOperationException("translate not implemented"); } | 5916 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5916/b1ca781a0ecf73b7d921dd831bd5e2273992cfe6/IntegerGraphicsState.java/buggy/libjava/gnu/awt/j2d/IntegerGraphicsState.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3636,
11787,
261,
474,
8526,
619,
5636,
16,
509,
8526,
677,
5636,
16,
509,
290,
5636,
13,
225,
288,
565,
309,
14015,
978,
422,
374,
13,
747,
261,
4098,
422,
374,
3719,
1377,
288,
202,
7205,
43,
19595,
18,
5935,
11787,
12,
92,
5636,
16,
677,
5636,
16,
290,
5636,
1769,
202,
2463,
31,
1377,
289,
3639,
604,
394,
13172,
2932,
13929,
486,
8249,
8863,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
1071,
918,
3636,
11787,
261,
474,
8526,
619,
5636,
16,
509,
8526,
677,
5636,
16,
509,
290,
5636,
13,
225,
288,
565,
309,
14015,
978,
422,
374,
13,
747,
261,
4098,
422,
374,
3719,
1377,
288,
202,
7205,
43,
19595,
18,
5935,
11787,
12,
92,
5636,
16,
677,
5636,
16,
290,
5636,
1769,
202,
2463,
31,
1377,
289,
3639,
604,
394,
13172,
2932,
13929,
486,
8249,
8863,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
g.fillRect(0,0,getSize().width,getSize().height); | g.fillRect(0,0,s.width,s.height); | public void paint(Graphics g) { g.setColor(Color.gray); g.fillRect(0,0,getSize().width,getSize().height); if(image!=null) g.drawImage(image,0,0,this); } | 46409 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46409/03ab5f01740a7c2c3fe570d5253aa9bd039d0c70/ImageViewer.java/clean/src/interfaces/jdbc/example/ImageViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
12,
17558,
314,
13,
565,
288,
1377,
314,
18,
542,
2957,
12,
2957,
18,
22440,
1769,
1377,
314,
18,
5935,
6120,
12,
20,
16,
20,
16,
87,
18,
2819,
16,
87,
18,
4210,
1769,
5411,
309,
12,
2730,
5,
33,
2011,
13,
202,
75,
18,
9446,
2040,
12,
2730,
16,
20,
16,
20,
16,
2211,
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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1377,
314,
18,
542,
2957,
12,
2957,
18,
22440,
1769,
1377,
314,
18,
5935,
6120,
12,
20,
16,
20,
16,
87,
18,
2819,
16,
87,
18,
4210,
1769,
5411,
309,
12,
2730,
5,
33,
2011,
13,
202,
75,
18,
9446,
2040,
12,
2730,
16,
20,
16,
20,
16,
2211,
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
] |
assertNotNull(fPer.getLabel()); | for (int i = 0; i < fPerspectives.length; i++) { String label = fPerspectives[i].getLabel(); assertNotNull(label); assertTrue(label.length() > 0); } | public void testGetLabel() { assertNotNull(fPer.getLabel()); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/23646e3d0641502fabd284517ff74fd17e085f16/IPerspectiveDescriptorTest.java/clean/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/api/IPerspectiveDescriptorTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
967,
2224,
1435,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
284,
14781,
1181,
3606,
18,
2469,
31,
277,
27245,
288,
514,
1433,
273,
284,
14781,
1181,
3606,
63,
77,
8009,
588,
2224,
5621,
25395,
12,
1925,
1769,
1815,
5510,
12,
1925,
18,
2469,
1435,
405,
374,
1769,
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,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
967,
2224,
1435,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
284,
14781,
1181,
3606,
18,
2469,
31,
277,
27245,
288,
514,
1433,
273,
284,
14781,
1181,
3606,
63,
77,
8009,
588,
2224,
5621,
25395,
12,
1925,
1769,
1815,
5510,
12,
1925,
18,
2469,
1435,
405,
374,
1769,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (m_priors[i] > 0) { m_modelNormal[i][j][0] /= m_priors[i]; | if (weights[i][j] > 0) { m_modelNormal[i][j][0] /= weights[i][j]; | public void buildClusterer(Instances data) throws Exception { m_theInstances = new Instances(data, 0); if (m_wrappedClusterer == null) { throw new Exception("No clusterer has been set"); } m_wrappedClusterer.buildClusterer(data); m_model = new DiscreteEstimator[m_wrappedClusterer.numberOfClusters()][data.numAttributes()]; m_modelNormal = new double[m_wrappedClusterer.numberOfClusters()][data.numAttributes()][2]; m_priors = new double[m_wrappedClusterer.numberOfClusters()]; for (int i = 0; i < m_wrappedClusterer.numberOfClusters(); i++) { for (int j = 0; j < data.numAttributes(); j++) { if (data.attribute(j).isNominal()) { m_model[i][j] = new DiscreteEstimator(data.attribute(j).numValues(), true); } } } Instance inst = null; // Compute mean, etc. int[] clusterIndex = new int[data.numInstances()]; for (int i = 0; i < data.numInstances(); i++) { inst = data.instance(i); int cluster = m_wrappedClusterer.clusterInstance(inst); m_priors[cluster] += inst.weight(); for (int j = 0; j < data.numAttributes(); j++) { if (!inst.isMissing(j)) { if (data.attribute(j).isNominal()) { m_model[cluster][j].addValue(inst.value(j),inst.weight()); } else { m_modelNormal[cluster][j][0] += inst.weight() * inst.value(j); } } } clusterIndex[i] = cluster; } for (int j = 0; j < data.numAttributes(); j++) { if (data.attribute(j).isNumeric()) { for (int i = 0; i < m_wrappedClusterer.numberOfClusters(); i++) { if (m_priors[i] > 0) { m_modelNormal[i][j][0] /= m_priors[i]; } } } } // Compute standard deviations for (int i = 0; i < data.numInstances(); i++) { inst = data.instance(i); for (int j = 0; j < data.numAttributes(); j++) { if (!inst.isMissing(j)) { if (data.attribute(j).isNumeric()) { double diff = m_modelNormal[clusterIndex[i]][j][0] - inst.value(j); m_modelNormal[clusterIndex[i]][j][1] += inst.weight() * diff * diff; } } } } for (int j = 0; j < data.numAttributes(); j++) { if (data.attribute(j).isNumeric()) { for (int i = 0; i < m_wrappedClusterer.numberOfClusters(); i++) { if (m_priors[i] > 0) { m_modelNormal[i][j][1] = Math.sqrt(m_modelNormal[i][j][1] / m_priors[i]); } else if (m_priors[i] <= 0) { m_modelNormal[i][j][1] = Double.MAX_VALUE; } if (m_modelNormal[i][j][1] <= m_minStdDev) { m_modelNormal[i][j][1] = data.attributeStats(j).numericStats.stdDev; if (m_modelNormal[i][j][1] <= m_minStdDev) { m_modelNormal[i][j][1] = m_minStdDev; } } } } } Utils.normalize(m_priors); } | 6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/275dea1dbb492cbdd8c47e5430d3fb38ba291cac/MakeDensityBasedClusterer.java/clean/clusterers/MakeDensityBasedClusterer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1361,
3629,
264,
12,
5361,
501,
13,
1216,
1185,
288,
565,
312,
67,
5787,
5361,
273,
394,
18357,
12,
892,
16,
374,
1769,
565,
309,
261,
81,
67,
18704,
3629,
264,
422,
446,
13,
288,
1377,
604,
394,
1185,
2932,
2279,
2855,
264,
711,
2118,
444,
8863,
565,
289,
565,
312,
67,
18704,
3629,
264,
18,
3510,
3629,
264,
12,
892,
1769,
565,
312,
67,
2284,
273,
3639,
394,
3035,
6883,
31080,
63,
81,
67,
18704,
3629,
264,
18,
2696,
951,
13698,
1435,
6362,
892,
18,
2107,
2498,
1435,
15533,
565,
312,
67,
2284,
5506,
273,
4202,
394,
1645,
63,
81,
67,
18704,
3629,
264,
18,
2696,
951,
13698,
1435,
6362,
892,
18,
2107,
2498,
1435,
6362,
22,
15533,
565,
312,
67,
29112,
1383,
273,
394,
1645,
63,
81,
67,
18704,
3629,
264,
18,
2696,
951,
13698,
1435,
15533,
1377,
364,
261,
474,
277,
273,
374,
31,
277,
411,
312,
67,
18704,
3629,
264,
18,
2696,
951,
13698,
5621,
277,
27245,
288,
4202,
364,
261,
474,
525,
273,
374,
31,
525,
411,
501,
18,
2107,
2498,
5621,
525,
27245,
288,
202,
309,
261,
892,
18,
4589,
12,
78,
2934,
291,
26685,
1490,
10756,
288,
202,
282,
312,
67,
2284,
63,
77,
6362,
78,
65,
273,
394,
3035,
6883,
31080,
12,
892,
18,
4589,
12,
78,
2934,
2107,
1972,
9334,
6862,
1082,
638,
1769,
202,
289,
4202,
289,
377,
289,
1850,
5180,
1804,
273,
446,
31,
377,
368,
8155,
3722,
16,
5527,
18,
377,
509,
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,
1361,
3629,
264,
12,
5361,
501,
13,
1216,
1185,
288,
565,
312,
67,
5787,
5361,
273,
394,
18357,
12,
892,
16,
374,
1769,
565,
309,
261,
81,
67,
18704,
3629,
264,
422,
446,
13,
288,
1377,
604,
394,
1185,
2932,
2279,
2855,
264,
711,
2118,
444,
8863,
565,
289,
565,
312,
67,
18704,
3629,
264,
18,
3510,
3629,
264,
12,
892,
1769,
565,
312,
67,
2284,
273,
3639,
394,
3035,
6883,
31080,
63,
81,
67,
18704,
3629,
264,
18,
2696,
951,
13698,
1435,
6362,
892,
18,
2107,
2498,
1435,
15533,
565,
312,
67,
2284,
5506,
273,
4202,
394,
1645,
63,
81,
67,
18704,
3629,
264,
18,
2696,
951,
13698,
1435,
6362,
892,
18,
2107,
2498,
1435,
2
] |
addImpl(comp, constraints, -1); | addImpl(comp, null, -1); return comp; | public void add(Component comp, Object constraints) { addImpl(comp, constraints, -1); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
527,
12,
1841,
1161,
16,
1033,
6237,
13,
225,
288,
565,
527,
2828,
12,
2919,
16,
446,
16,
300,
21,
1769,
327,
1161,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
527,
12,
1841,
1161,
16,
1033,
6237,
13,
225,
288,
565,
527,
2828,
12,
2919,
16,
446,
16,
300,
21,
1769,
327,
1161,
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
] |
public static void stringToSAX(String xml, String systemId, ContentHandler contentHandler, boolean validating) { readerToSAX(new StringReader(xml), systemId, contentHandler, validating); | public static void stringToSAX(String xml, String systemId, ContentHandler contentHandler, boolean validating, boolean handleXInclude) { readerToSAX(new StringReader(xml), systemId, contentHandler, validating, handleXInclude); | public static void stringToSAX(String xml, String systemId, ContentHandler contentHandler, boolean validating) { readerToSAX(new StringReader(xml), systemId, contentHandler, validating); } | 51410 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51410/c92faea3770d68e915964a3102a4873b3279f0cd/XMLUtils.java/clean/src/java/org/orbeon/oxf/xml/XMLUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
14134,
55,
2501,
12,
780,
2025,
16,
514,
30083,
16,
3697,
1503,
913,
1503,
16,
1250,
18075,
13,
288,
3639,
2949,
774,
55,
2501,
12,
2704,
26227,
12,
2902,
3631,
30083,
16,
913,
1503,
16,
18075,
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,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0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
14134,
55,
2501,
12,
780,
2025,
16,
514,
30083,
16,
3697,
1503,
913,
1503,
16,
1250,
18075,
13,
288,
3639,
2949,
774,
55,
2501,
12,
2704,
26227,
12,
2902,
3631,
30083,
16,
913,
1503,
16,
18075,
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
] |
temp = children.item(0); text = new TextImpl(temp.getNodeValue()); | if (children.getLength() != 0) { temp = children.item(0); text = new TextImpl(temp.getNodeValue()); } else { result = 1; text = new TextImpl(""); } | public long process() throws PermissionDeniedException, EXistException, XPathException { NodeImpl[] qr = select(docs); NodeList children = content.getChildNodes(); if (qr == null || children.getLength() == 0) return 0; IndexListener listener = new IndexListener(qr); NodeImpl node; Node temp; TextImpl text; AttrImpl attribute; ElementImpl parent; DocumentImpl doc = null; Collection collection = null, prevCollection = null; for (int i = 0; i < qr.length; i++) { node = qr[i]; doc = (DocumentImpl) node.getOwnerDocument(); doc.setIndexListener(listener); collection = doc.getCollection(); if (!doc.getPermissions().validate(broker.getUser(), Permission.UPDATE)) throw new PermissionDeniedException("permission to update document denied"); if(prevCollection != null && collection != prevCollection) doc.getBroker().saveCollection(prevCollection); switch (node.getNodeType()) { case Node.ELEMENT_NODE : ((ElementImpl) node).update(children); break; case Node.TEXT_NODE : parent = (ElementImpl)node.getParentNode(); temp = children.item(0); text = new TextImpl(temp.getNodeValue()); text.setOwnerDocument(doc); parent.updateChild(node, text); break; case Node.ATTRIBUTE_NODE : parent = (ElementImpl)node.getParentNode(); temp = children.item(0); AttrImpl attr = (AttrImpl)node; attribute = new AttrImpl(attr.getQName(), temp.getNodeValue()); attribute.setOwnerDocument(doc); parent.updateChild(node, attribute); break; default : throw new EXistException("unsupported node-type"); } prevCollection = collection; doc.setLastModified(System.currentTimeMillis()); } if(doc != null) doc.getBroker().saveCollection(collection); return children.getLength(); } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/d31ac0d651739cc32d55579c14a0786f6bfb4200/Update.java/buggy/src/org/exist/xupdate/Update.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1525,
1207,
1435,
1216,
8509,
15877,
16,
5675,
376,
503,
16,
10172,
503,
288,
202,
202,
907,
2828,
8526,
12677,
273,
2027,
12,
8532,
1769,
202,
202,
19914,
2325,
273,
913,
18,
588,
22460,
5621,
202,
202,
430,
261,
27401,
422,
446,
747,
2325,
18,
588,
1782,
1435,
422,
374,
13,
1082,
202,
2463,
374,
31,
202,
202,
1016,
2223,
2991,
273,
394,
3340,
2223,
12,
27401,
1769,
202,
202,
907,
2828,
756,
31,
202,
202,
907,
1906,
31,
202,
202,
1528,
2828,
977,
31,
202,
202,
3843,
2828,
1566,
31,
202,
202,
1046,
2828,
982,
31,
202,
202,
2519,
2828,
997,
273,
446,
31,
202,
202,
2532,
1849,
273,
446,
16,
2807,
2532,
273,
446,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
12677,
18,
2469,
31,
277,
27245,
288,
1082,
202,
2159,
273,
12677,
63,
77,
15533,
1082,
202,
2434,
273,
261,
2519,
2828,
13,
756,
18,
588,
5541,
2519,
5621,
1082,
202,
2434,
18,
542,
1016,
2223,
12,
12757,
1769,
1082,
202,
5548,
273,
997,
18,
588,
2532,
5621,
1082,
202,
430,
16051,
2434,
18,
588,
6521,
7675,
5662,
12,
21722,
18,
588,
1299,
9334,
8509,
18,
8217,
3719,
9506,
202,
12849,
394,
8509,
15877,
2932,
9827,
358,
1089,
1668,
15338,
8863,
1082,
202,
430,
12,
10001,
2532,
480,
446,
597,
1849,
480,
2807,
2532,
13,
9506,
202,
2434,
18,
588,
11194,
7675,
5688,
2532,
12,
10001,
2532,
1769,
1082,
202,
9610,
261,
2159,
18,
588,
15101,
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,
1525,
1207,
1435,
1216,
8509,
15877,
16,
5675,
376,
503,
16,
10172,
503,
288,
202,
202,
907,
2828,
8526,
12677,
273,
2027,
12,
8532,
1769,
202,
202,
19914,
2325,
273,
913,
18,
588,
22460,
5621,
202,
202,
430,
261,
27401,
422,
446,
747,
2325,
18,
588,
1782,
1435,
422,
374,
13,
1082,
202,
2463,
374,
31,
202,
202,
1016,
2223,
2991,
273,
394,
3340,
2223,
12,
27401,
1769,
202,
202,
907,
2828,
756,
31,
202,
202,
907,
1906,
31,
202,
202,
1528,
2828,
977,
31,
202,
202,
3843,
2828,
1566,
31,
202,
202,
1046,
2828,
982,
31,
202,
202,
2519,
2828,
997,
273,
446,
31,
202,
202,
2532,
1849,
273,
446,
16,
2807,
2532,
273,
446,
2
] |
result.append((char) ((s & 0xff00) >> 8)).append((char) (s & 0xff)); } | result.append((char) ((s & 0xff00) >> 8)).append((char) (s & 0xff)); } | private static void encodeShortBigEndian(StringBuffer result, int s) { result.append((char) ((s & 0xff00) >> 8)).append((char) (s & 0xff)); } | 46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/415b1e0db282c02d672a7e34a34a2bea0f69ccb2/Pack.java/buggy/src/org/jruby/util/Pack.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
2017,
4897,
9901,
7583,
12,
780,
1892,
563,
16,
509,
272,
13,
288,
202,
202,
2088,
18,
6923,
12443,
3001,
13,
14015,
87,
473,
374,
5297,
713,
13,
1671,
1725,
13,
2934,
6923,
12443,
3001,
13,
261,
87,
473,
374,
5297,
10019,
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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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
2017,
4897,
9901,
7583,
12,
780,
1892,
563,
16,
509,
272,
13,
288,
202,
202,
2088,
18,
6923,
12443,
3001,
13,
14015,
87,
473,
374,
5297,
713,
13,
1671,
1725,
13,
2934,
6923,
12443,
3001,
13,
261,
87,
473,
374,
5297,
10019,
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
] |
if ( fromLabel.equals("") || fromLabel == null ) { | if (fromLabel.equals("") || fromLabel == null) { | public void setFromLabel(String fromLabel) { if ( fromLabel.equals("") || fromLabel == null ) { m_FromLabel = null; } else { m_FromLabel = fromLabel; } } | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/6154080061f869b4e425d608da3bd61fad967564/MSVSSHISTORY.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSHISTORY.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
22012,
2224,
12,
780,
628,
2224,
13,
288,
3639,
309,
261,
2080,
2224,
18,
14963,
2932,
7923,
747,
628,
2224,
422,
446,
13,
288,
5411,
312,
67,
1265,
2224,
273,
446,
31,
3639,
289,
469,
288,
5411,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
22012,
2224,
12,
780,
628,
2224,
13,
288,
3639,
309,
261,
2080,
2224,
18,
14963,
2932,
7923,
747,
628,
2224,
422,
446,
13,
288,
5411,
312,
67,
1265,
2224,
273,
446,
31,
3639,
289,
469,
288,
5411,
312,
67,
1265,
2224,
273,
628,
2224,
31,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
int attDefIndex = getAttDef(element, fTempQName); | int attDefIndex = getAttDefByElementIndex(elementIndex, fTempQName); | private void validateElementAndAttributes(QName element, XMLAttrList attrList) throws Exception { if (fGrammar == null && !fValidating && !fNamespacesEnabled) { fCurrentElementIndex = -1; fCurrentContentSpecType = -1; fInElementContent = false; if (fAttrListHandle != -1) { fAttrList.endAttrList(); int index = fAttrList.getFirstAttr(fAttrListHandle); while (index != -1) { if (fStringPool.equalNames(fAttrList.getAttrName(index), fXMLLang)) { fDocumentScanner.checkXMLLangAttributeValue(fAttrList.getAttValue(index)); break; } index = fAttrList.getNextAttr(index); } } return; } int elementIndex = -1; //REVISIT, is it possible, fValidating is false and fGrammar is no null.??? if ( fGrammar != null ){ if (DEBUG_SCHEMA_VALIDATION) { System.out.println("localpart: '" + fStringPool.toString(element.localpart) +"' and scope : " + fCurrentScope); } if (element.uri == -1) { elementIndex = fGrammar.getElementDeclIndex(element.localpart,fCurrentScope); } else { elementIndex = fGrammar.getElementDeclIndex(element.localpart, TOP_LEVEL_SCOPE); } if (elementIndex == -1) { // if validating based on a Schema, try to resolve the element again by look it up in its ancestor types if (fGrammarIsSchemaGrammar && fCurrentElementIndex != -1) { TraverseSchema.ComplexTypeInfo baseTypeInfo = null; baseTypeInfo = ((SchemaGrammar)fGrammar).getElementComplexTypeInfo(fCurrentElementIndex); while (baseTypeInfo != null) { elementIndex = fGrammar.getElementDeclIndex(element.localpart, baseTypeInfo.scopeDefined); if (elementIndex > -1 ) { break; } baseTypeInfo = baseTypeInfo.baseComplexTypeInfo; } } //if still can't resolve it, try TOP_LEVEL_SCOPE AGAIN if (element.uri == -1) { elementIndex = fGrammar.getElementDeclIndex(element.localpart, TOP_LEVEL_SCOPE); // REVISIT: // this is a hack to handle the situation where namespace prefix "" is bound to nothing, and there // is a "noNamespaceSchemaLocation" specified, and element element.uri = fStringPool.addSymbol(""); } /****/ if (elementIndex == -1) if (DEBUG_SCHEMA_VALIDATION) System.out.println("!!! can not find elementDecl in the grammar, " + " the element localpart: " + element.localpart+"["+fStringPool.toString(element.localpart) +"]" + " the element uri: " + element.uri+"["+fStringPool.toString(element.uri) +"]" + " and the current enclosing scope: " + fCurrentScope ); /****/ } if (DEBUG_SCHEMA_VALIDATION) { fGrammar.getElementDecl(elementIndex, fTempElementDecl); System.out.println("elementIndex: " + elementIndex+" \n and itsName : '" + fStringPool.toString(fTempElementDecl.name.localpart) +"' \n its ContentType:" + fStringPool.toString(fTempElementDecl.type) +"\n its ContentSpecIndex : " + fTempElementDecl.contentSpecIndex +"\n"); } } // here need to check if we need to switch Grammar by asking SchemaGrammar whether // this element actually is of a type in another Schema. if (fGrammarIsSchemaGrammar && elementIndex != -1) { String anotherSchemaURI = ((SchemaGrammar)fGrammar).getElementFromAnotherSchemaURI(elementIndex); if (anotherSchemaURI != null) { fCurrentSchemaURI = fStringPool.addSymbol(anotherSchemaURI); switchGrammar(fCurrentSchemaURI); } } int contentSpecType = getContentSpecType(elementIndex); if (contentSpecType == -1 && fValidating) { reportRecoverableXMLError(XMLMessages.MSG_ELEMENT_NOT_DECLARED, XMLMessages.VC_ELEMENT_VALID, element.rawname); } if (fGrammar != null && elementIndex != -1) { //REVISIT: broken fAttrListHandle = addDefaultAttributes(elementIndex, attrList, fAttrListHandle, fValidating, fStandaloneReader != -1); } if (fAttrListHandle != -1) { fAttrList.endAttrList(); } if (DEBUG_PRINT_ATTRIBUTES) { String elementStr = fStringPool.toString(element.rawname); System.out.print("startElement: <" + elementStr); if (fAttrListHandle != -1) { int index = attrList.getFirstAttr(fAttrListHandle); while (index != -1) { System.out.print(" " + fStringPool.toString(attrList.getAttrName(index)) + "=\"" + fStringPool.toString(attrList.getAttValue(index)) + "\""); index = attrList.getNextAttr(index); } } System.out.println(">"); } // REVISIT: Validation. Do we need to recheck for the xml:lang // attribute? It was already checked above -- perhaps // this is to check values that are defaulted in? If // so, this check could move to the attribute decl // callback so we can check the default value before // it is used. if (fAttrListHandle != -1) { int index = fAttrList.getFirstAttr(fAttrListHandle); while (index != -1) { int attrNameIndex = attrList.getAttrName(index); if (fStringPool.equalNames(attrNameIndex, fXMLLang)) { fDocumentScanner.checkXMLLangAttributeValue(attrList.getAttValue(index)); // break; } // here, we validate every "user-defined" attributes int _xmlns = fStringPool.addSymbol("xmlns"); if (attrNameIndex != _xmlns && attrList.getAttrPrefix(index) != _xmlns) if (fValidating) { fAttrNameLocator = getLocatorImpl(fAttrNameLocator); fTempQName.setValues(attrList.getAttrPrefix(index), attrList.getAttrLocalpart(index), attrList.getAttrName(index), attrList.getAttrURI(index) ); int attDefIndex = getAttDef(element, fTempQName); if (fTempQName.uri != fXsiURI) if (attDefIndex == -1) { // REVISIT - cache the elem/attr tuple so that we only give // this error once for each unique occurrence Object[] args = { fStringPool.toString(element.rawname), fStringPool.toString(attrList.getAttrName(index)) }; System.out.println("[Error] attribute " + fStringPool.toString(attrList.getAttrName(index)) + " not found in element type " + fStringPool.toString(element.rawname)); /*****/ fErrorReporter.reportError(fAttrNameLocator, XMLMessages.XML_DOMAIN, XMLMessages.MSG_ATTRIBUTE_NOT_DECLARED, XMLMessages.VC_ATTRIBUTE_VALUE_TYPE, args, XMLErrorReporter.ERRORTYPE_RECOVERABLE_ERROR); /******/ } else { fGrammar.getAttributeDecl(attDefIndex, fTempAttDecl); int attributeType = attributeTypeName(fTempAttDecl); attrList.setAttType(index, attributeType); if (fGrammarIsDTDGrammar && (fTempAttDecl.type == XMLAttributeDecl.TYPE_ENTITY || fTempAttDecl.type == XMLAttributeDecl.TYPE_ENUMERATION || fTempAttDecl.type == XMLAttributeDecl.TYPE_ID || fTempAttDecl.type == XMLAttributeDecl.TYPE_IDREF || fTempAttDecl.type == XMLAttributeDecl.TYPE_NMTOKEN || fTempAttDecl.type == XMLAttributeDecl.TYPE_NOTATION) ) { validateDTDattribute(element, attrList.getAttValue(index), fTempAttDecl); } if (fTempAttDecl.datatypeValidator == null) { Object[] args = { fStringPool.toString(element.rawname), fStringPool.toString(attrList.getAttrName(index)) }; System.out.println("[Error] Datatypevalidator for attribute " + fStringPool.toString(attrList.getAttrName(index)) + " not found in element type " + fStringPool.toString(element.rawname)); //REVISIT : is this the right message? /****/ fErrorReporter.reportError(fAttrNameLocator, XMLMessages.XML_DOMAIN, XMLMessages.MSG_ATTRIBUTE_NOT_DECLARED, XMLMessages.VC_ATTRIBUTE_VALUE_TYPE, args, XMLErrorReporter.ERRORTYPE_RECOVERABLE_ERROR); /****/ } else{ fTempAttDecl.datatypeValidator.validate(fStringPool.toString(attrList.getAttValue(index)), null ); } } } index = fAttrList.getNextAttr(index); } } if (fAttrListHandle != -1) { int index = attrList.getFirstAttr(fAttrListHandle); while (index != -1) { int attName = attrList.getAttrName(index); if (!fStringPool.equalNames(attName, fNamespacesPrefix)) { int attPrefix = attrList.getAttrPrefix(index); if (attPrefix != fNamespacesPrefix) { if (attPrefix != -1) { int uri = fNamespacesScope.getNamespaceForPrefix(attPrefix); if (uri == -1) { Object[] args = { fStringPool.toString(attPrefix) }; fErrorReporter.reportError(fErrorReporter.getLocator(), XMLMessages.XMLNS_DOMAIN, XMLMessages.MSG_PREFIX_DECLARED, XMLMessages.NC_PREFIX_DECLARED, args, XMLErrorReporter.ERRORTYPE_RECOVERABLE_ERROR); } attrList.setAttrURI(index, uri); } } } index = attrList.getNextAttr(index); } } fCurrentElementIndex = elementIndex; fCurrentContentSpecType = contentSpecType; if (fValidating && contentSpecType == fDATATYPESymbol) { fBufferDatatype = true; fDatatypeBuffer.setLength(0); } fInElementContent = (contentSpecType == XMLElementDecl.TYPE_CHILDREN); } // validateElementAndAttributes(QName,XMLAttrList) | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/ff1645292b3c3abd184d78545aa9f14f66839381/XMLValidator.java/clean/src/org/apache/xerces/validators/common/XMLValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1954,
1046,
1876,
2498,
12,
13688,
930,
16,
4766,
9079,
3167,
3843,
682,
1604,
682,
13,
540,
1216,
1185,
288,
3639,
309,
261,
74,
18576,
422,
446,
597,
2398,
401,
74,
31496,
597,
401,
74,
13180,
1526,
13,
288,
5411,
284,
3935,
1046,
1016,
273,
300,
21,
31,
5411,
284,
3935,
1350,
1990,
559,
273,
300,
21,
31,
5411,
284,
382,
1046,
1350,
273,
629,
31,
5411,
309,
261,
74,
3843,
682,
3259,
480,
300,
21,
13,
288,
7734,
284,
3843,
682,
18,
409,
3843,
682,
5621,
7734,
509,
770,
273,
284,
3843,
682,
18,
588,
3759,
3843,
12,
74,
3843,
682,
3259,
1769,
7734,
1323,
261,
1615,
480,
300,
21,
13,
288,
10792,
309,
261,
74,
780,
2864,
18,
9729,
1557,
12,
74,
3843,
682,
18,
588,
28973,
12,
1615,
3631,
284,
4201,
7275,
3719,
288,
13491,
284,
2519,
11338,
18,
1893,
4201,
7275,
14942,
12,
74,
3843,
682,
18,
588,
3075,
620,
12,
1615,
10019,
13491,
898,
31,
10792,
289,
10792,
770,
273,
284,
3843,
682,
18,
588,
2134,
3843,
12,
1615,
1769,
7734,
289,
5411,
289,
5411,
327,
31,
3639,
289,
7734,
509,
930,
1016,
273,
300,
21,
31,
3639,
368,
862,
26780,
1285,
16,
353,
518,
3323,
16,
284,
31496,
353,
629,
471,
284,
18576,
353,
1158,
446,
18,
14646,
35,
3639,
309,
261,
284,
18576,
480,
446,
262,
95,
5411,
309,
261,
9394,
67,
14233,
67,
5063,
2689,
13,
288,
7734,
2332,
18,
659,
18,
8222,
2932,
3729,
2680,
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,
1954,
1046,
1876,
2498,
12,
13688,
930,
16,
4766,
9079,
3167,
3843,
682,
1604,
682,
13,
540,
1216,
1185,
288,
3639,
309,
261,
74,
18576,
422,
446,
597,
2398,
401,
74,
31496,
597,
401,
74,
13180,
1526,
13,
288,
5411,
284,
3935,
1046,
1016,
273,
300,
21,
31,
5411,
284,
3935,
1350,
1990,
559,
273,
300,
21,
31,
5411,
284,
382,
1046,
1350,
273,
629,
31,
5411,
309,
261,
74,
3843,
682,
3259,
480,
300,
21,
13,
288,
7734,
284,
3843,
682,
18,
409,
3843,
682,
5621,
7734,
509,
770,
273,
284,
3843,
682,
18,
588,
3759,
3843,
12,
74,
3843,
682,
3259,
1769,
7734,
1323,
261,
1615,
480,
300,
21,
13,
288,
10792,
309,
261,
2
] |
if (jj_scan_token(CLASS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(IDENTIFIER)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; | if (jj_3R_177()) return true; | final private boolean jj_3R_162() { if (jj_scan_token(CLASS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(IDENTIFIER)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; if (jj_3R_308()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_309()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_3R_245()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } | 45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/d42ce7980bc2030e88ae13be5cf1b864eee291da/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
30042,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
5237,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
16606,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5082,
28,
10756,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
469,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5082,
29,
10756,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
469,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
3247,
25,
10756,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
327,
629,
31,
225,
289,
2,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
30042,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
5237,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
16606,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5082,
28,
10756,
10684,
67,
9871,
917,
273,
2
] |
inlineMixinMembers(mixin.nextInfo().members(), impl); | inlineMixinMembers(mixin.nextInfo().members(), impl, vparams.length); | public void inlineMixin(int i, Type type, Symbol iface, Template impl) { assert 0 < i && i < state : "state = " + state + ", i = " + i; switch (parents[i]) { case TypeRef(Type prefix, Symbol mixin, Type[] args): map.insertSymbol(mixin, clasz); cloner.owners.put(mixin.primaryConstructor(), clasz); inlineMixinTParams(type); Tree.Apply constr = (Tree.Apply)template.parents[i]; inlineMixinVParams(mixin.valueParams(), constr.args); handleMixinInterfaceMembers(mixin); inlineMixinMembers(mixin.nextInfo().members(), impl); parents[i] = Type.TypeRef(prefix, iface, args); template.parents[i] = gen.mkPrimaryConstr(constr.pos, parents[i]); state = i; return; default: throw Debug.abort("invalid base class type", parents[i]); } } | 5590 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5590/5c6fdd942fe5b48a2675950354b9d7c22b09cb39/ExpandMixins.java/clean/sources/scalac/transformer/ExpandMixins.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
6370,
14439,
12,
474,
277,
16,
1412,
618,
16,
8565,
9751,
16,
5035,
9380,
13,
288,
3639,
1815,
374,
411,
277,
597,
277,
411,
919,
294,
315,
2019,
273,
315,
397,
919,
397,
3104,
277,
273,
315,
397,
277,
31,
3639,
1620,
261,
12606,
63,
77,
5717,
288,
3639,
648,
1412,
1957,
12,
559,
1633,
16,
8565,
11682,
16,
1412,
8526,
833,
4672,
5411,
852,
18,
6387,
5335,
12,
81,
10131,
16,
23268,
94,
1769,
5411,
927,
31430,
18,
995,
414,
18,
458,
12,
81,
10131,
18,
8258,
6293,
9334,
23268,
94,
1769,
5411,
6370,
14439,
56,
1370,
12,
723,
1769,
5411,
4902,
18,
7001,
14472,
273,
261,
2471,
18,
7001,
13,
3202,
18,
12606,
63,
77,
15533,
5411,
6370,
14439,
58,
1370,
12,
81,
10131,
18,
1132,
1370,
9334,
14472,
18,
1968,
1769,
5411,
1640,
14439,
1358,
6918,
12,
81,
10131,
1769,
5411,
6370,
14439,
6918,
12,
81,
10131,
18,
4285,
966,
7675,
7640,
9334,
9380,
16,
331,
2010,
18,
2469,
1769,
5411,
6298,
63,
77,
65,
273,
1412,
18,
25950,
12,
3239,
16,
9751,
16,
833,
1769,
5411,
1542,
18,
12606,
63,
77,
65,
273,
3157,
18,
24816,
6793,
442,
701,
12,
591,
701,
18,
917,
16,
6298,
63,
77,
19226,
5411,
919,
273,
277,
31,
5411,
327,
31,
3639,
805,
30,
5411,
604,
4015,
18,
18623,
2932,
5387,
1026,
667,
618,
3113,
6298,
63,
77,
19226,
3639,
289,
565,
289,
2,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
6370,
14439,
12,
474,
277,
16,
1412,
618,
16,
8565,
9751,
16,
5035,
9380,
13,
288,
3639,
1815,
374,
411,
277,
597,
277,
411,
919,
294,
315,
2019,
273,
315,
397,
919,
397,
3104,
277,
273,
315,
397,
277,
31,
3639,
1620,
261,
12606,
63,
77,
5717,
288,
3639,
648,
1412,
1957,
12,
559,
1633,
16,
8565,
11682,
16,
1412,
8526,
833,
4672,
5411,
852,
18,
6387,
5335,
12,
81,
10131,
16,
23268,
94,
1769,
5411,
927,
31430,
18,
995,
414,
18,
458,
12,
81,
10131,
18,
8258,
6293,
9334,
23268,
94,
1769,
5411,
6370,
14439,
56,
1370,
12,
723,
1769,
5411,
4902,
18,
7001,
14472,
273,
261,
2471,
18,
7001,
13,
3202,
18,
12606,
63,
2
] |
int documentOffset, PyCodeCompletion codeCompletion){ | String activationToken, int documentOffset, int qlen, PyCodeCompletion codeCompletion, String qualifier){ | public CompletionRequest(File editorFile, IPythonNature nature, IDocument doc, int documentOffset, PyCodeCompletion codeCompletion){ String[] strs = PySelection.getActivationTokenAndQual(doc, documentOffset); this.activationToken = strs[0]; this.qualifier = strs[1]; int qlen = qualifier.length(); this.editorFile = editorFile; this.nature = nature; this.doc = doc; this.documentOffset = documentOffset; this.qlen = qlen; this.codeCompletion = codeCompletion; } | 1319 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1319/050c31fb1b7ba3405cf15203621420f0686011fe/CompletionRequest.java/buggy/org.python.pydev/src/org/python/pydev/editor/codecompletion/CompletionRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
20735,
691,
12,
812,
4858,
812,
16,
26085,
50,
1231,
28700,
16,
1599,
504,
650,
997,
16,
5411,
514,
10027,
1345,
16,
509,
1668,
2335,
16,
509,
1043,
1897,
16,
4707,
1085,
11238,
981,
11238,
16,
514,
12327,
15329,
3639,
514,
8526,
19954,
273,
4707,
6233,
18,
588,
14857,
1345,
1876,
5628,
12,
2434,
16,
1668,
2335,
1769,
540,
333,
18,
16908,
1345,
273,
19954,
63,
20,
15533,
3639,
333,
18,
28157,
273,
19954,
63,
21,
15533,
3639,
509,
1043,
1897,
273,
12327,
18,
2469,
5621,
13491,
333,
18,
9177,
812,
273,
4858,
812,
31,
3639,
333,
18,
82,
1231,
273,
28700,
31,
3639,
333,
18,
2434,
273,
997,
31,
3639,
333,
18,
5457,
2335,
273,
1668,
2335,
31,
3639,
333,
18,
1217,
275,
273,
1043,
1897,
31,
3639,
333,
18,
710,
11238,
273,
981,
11238,
31,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
20735,
691,
12,
812,
4858,
812,
16,
26085,
50,
1231,
28700,
16,
1599,
504,
650,
997,
16,
5411,
514,
10027,
1345,
16,
509,
1668,
2335,
16,
509,
1043,
1897,
16,
4707,
1085,
11238,
981,
11238,
16,
514,
12327,
15329,
3639,
514,
8526,
19954,
273,
4707,
6233,
18,
588,
14857,
1345,
1876,
5628,
12,
2434,
16,
1668,
2335,
1769,
540,
333,
18,
16908,
1345,
273,
19954,
63,
20,
15533,
3639,
333,
18,
28157,
273,
19954,
63,
21,
15533,
3639,
509,
1043,
1897,
273,
12327,
18,
2469,
5621,
13491,
333,
18,
9177,
812,
273,
4858,
812,
31,
3639,
333,
18,
82,
1231,
273,
28700,
31,
3639,
333,
18,
2434,
273,
997,
31,
3639,
333,
18,
5457,
2335,
273,
1668,
2
] |
Map oids = new HashMap(); | Map oids = new HashMap(); | public void testLdapNameToNameEmpty() throws Exception { LdapDN name = new LdapDN(); Map oids = new HashMap(); oids.put( "dc", new OidNormalizer( "dc", new DeepTrimToLowerNormalizer() ) ); oids.put( "domaincomponent", new OidNormalizer( "dc", new DeepTrimToLowerNormalizer() ) ); oids.put( "0.9.2342.19200300.100.1.25", new OidNormalizer( "dc", new DeepTrimToLowerNormalizer() ) ); oids.put( "ou", new OidNormalizer( "ou", new DeepTrimToLowerNormalizer() ) ); oids.put( "organizationalUnitName", new OidNormalizer( "ou", new DeepTrimToLowerNormalizer() ) ); oids.put( "2.5.4.11", new OidNormalizer( "ou", new DeepTrimToLowerNormalizer() ) ); Name result = LdapDN.normalize( name, oids ); assertTrue( result.toString().equals( "" ) ); } | 54578 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54578/34d16a3366af953bef4b3d5f4cf0e7c6bda29ba6/LdapDNTest.java/clean/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
18437,
28455,
461,
1921,
1435,
1216,
1185,
565,
288,
3639,
18053,
8609,
508,
273,
394,
18053,
8609,
5621,
3639,
1635,
26629,
273,
394,
4317,
5621,
3639,
26629,
18,
458,
12,
315,
7201,
3113,
394,
28706,
16132,
12,
315,
7201,
3113,
394,
17084,
14795,
774,
4070,
16132,
1435,
262,
11272,
3639,
26629,
18,
458,
12,
315,
4308,
4652,
3113,
394,
28706,
16132,
12,
315,
7201,
3113,
394,
17084,
14795,
774,
4070,
16132,
1435,
262,
11272,
3639,
26629,
18,
458,
12,
315,
20,
18,
29,
18,
4366,
9452,
18,
3657,
6976,
19249,
18,
6625,
18,
21,
18,
2947,
3113,
394,
28706,
16132,
12,
315,
7201,
3113,
394,
17084,
14795,
774,
4070,
16132,
1435,
262,
11272,
3639,
26629,
18,
458,
12,
315,
1395,
3113,
394,
28706,
16132,
12,
315,
1395,
3113,
394,
17084,
14795,
774,
4070,
16132,
1435,
262,
11272,
3639,
26629,
18,
458,
12,
315,
15336,
21612,
461,
3113,
394,
28706,
16132,
12,
315,
1395,
3113,
394,
17084,
14795,
774,
4070,
16132,
1435,
262,
11272,
3639,
26629,
18,
458,
12,
315,
22,
18,
25,
18,
24,
18,
2499,
3113,
394,
28706,
16132,
12,
315,
1395,
3113,
394,
17084,
14795,
774,
4070,
16132,
1435,
262,
11272,
3639,
1770,
563,
273,
18053,
8609,
18,
12237,
12,
508,
16,
26629,
11272,
3639,
1815,
5510,
12,
563,
18,
10492,
7675,
14963,
12,
1408,
262,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
18437,
28455,
461,
1921,
1435,
1216,
1185,
565,
288,
3639,
18053,
8609,
508,
273,
394,
18053,
8609,
5621,
3639,
1635,
26629,
273,
394,
4317,
5621,
3639,
26629,
18,
458,
12,
315,
7201,
3113,
394,
28706,
16132,
12,
315,
7201,
3113,
394,
17084,
14795,
774,
4070,
16132,
1435,
262,
11272,
3639,
26629,
18,
458,
12,
315,
4308,
4652,
3113,
394,
28706,
16132,
12,
315,
7201,
3113,
394,
17084,
14795,
774,
4070,
16132,
1435,
262,
11272,
3639,
26629,
18,
458,
12,
315,
20,
18,
29,
18,
4366,
9452,
18,
3657,
6976,
19249,
18,
6625,
18,
21,
18,
2947,
3113,
394,
28706,
16132,
12,
315,
7201,
3113,
394,
17084,
14795,
774,
4070,
16132,
1435,
262,
11272,
3639,
26629,
2
] |
MyTableModel(JSDebugger db) { | MyTableModel(Main db) { | MyTableModel(JSDebugger db) { this.db = db; expressions = new Vector(); values = new Vector(); expressions.addElement(""); values.addElement(""); } | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/38e685a5a4f910f10f0cfff50348254cb452f08d/Main.java/clean/toolsrc/org/mozilla/javascript/tools/debugger/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
8005,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
8005,
1388,
1488,
12,
6479,
24113,
1319,
13,
288,
202,
2211,
18,
1966,
273,
1319,
31,
202,
21480,
273,
394,
5589,
5621,
202,
2372,
273,
394,
5589,
5621,
202,
21480,
18,
1289,
1046,
2932,
8863,
202,
2372,
18,
1289,
1046,
2932,
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,
-100,
-100,
-100
] |
if (name != null && !name.equals(XmlUtil.findLocalNameByQualifiedName(pair.first))) { | if (name != null && pair.first != null && !name.equals(XmlUtil.findLocalNameByQualifiedName(pair.first))) { | public CachedValueProvider.Result<TypeDescriptor> compute() { final String name = tag.getAttributeValue("name"); if (name != null && !name.equals(XmlUtil.findLocalNameByQualifiedName(pair.first))) { myTypesMap.remove(pair); return new Result<TypeDescriptor>(null); } final ComplexTypeDescriptor complexTypeDescriptor = new ComplexTypeDescriptor(XmlNSDescriptorImpl.this, tag); return new Result<TypeDescriptor>(complexTypeDescriptor, new Object[]{tag}); } | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/ab95aabc7d3745603b04f36dfe79515c9033a8c9/XmlNSDescriptorImpl.java/buggy/source/com/intellij/xml/impl/schema/XmlNSDescriptorImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
15771,
620,
2249,
18,
1253,
32,
559,
3187,
34,
3671,
1435,
288,
3639,
727,
514,
508,
273,
1047,
18,
588,
14942,
2932,
529,
8863,
7734,
309,
261,
529,
480,
446,
597,
3082,
18,
3645,
480,
446,
597,
401,
529,
18,
14963,
12,
4432,
1304,
18,
4720,
29583,
858,
12345,
12,
6017,
18,
3645,
20349,
288,
1850,
3399,
2016,
863,
18,
4479,
12,
6017,
1769,
1850,
327,
394,
3438,
32,
559,
3187,
34,
12,
2011,
1769,
3639,
289,
3639,
727,
16060,
559,
3187,
7233,
559,
3187,
273,
394,
16060,
559,
3187,
12,
4432,
3156,
3187,
2828,
18,
2211,
16,
1047,
1769,
540,
327,
394,
3438,
32,
559,
3187,
34,
12,
14259,
559,
3187,
16,
394,
1033,
63,
7073,
2692,
22938,
1377,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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18,
1253,
32,
559,
3187,
34,
3671,
1435,
288,
3639,
727,
514,
508,
273,
1047,
18,
588,
14942,
2932,
529,
8863,
7734,
309,
261,
529,
480,
446,
597,
3082,
18,
3645,
480,
446,
597,
401,
529,
18,
14963,
12,
4432,
1304,
18,
4720,
29583,
858,
12345,
12,
6017,
18,
3645,
20349,
288,
1850,
3399,
2016,
863,
18,
4479,
12,
6017,
1769,
1850,
327,
394,
3438,
32,
559,
3187,
34,
12,
2011,
1769,
3639,
289,
3639,
727,
16060,
559,
3187,
7233,
559,
3187,
273,
394,
16060,
559,
3187,
12,
4432,
3156,
3187,
2828,
18,
2211,
16,
1047,
1769,
540,
327,
394,
3438,
32,
559,
3187,
34,
12,
14259,
559,
3187,
16,
394,
1033,
63,
7073,
2
] |
public boolean get() { return includeLocalAddressesInNoderefs; } | public int get() { return portNumber; } | public boolean get() { return includeLocalAddressesInNoderefs; } | 8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/f43dcd3eaa49682824e40c5d428fa750be4517fe/Node.java/clean/src/freenet/node/Node.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
1250,
336,
1435,
288,
9506,
202,
2463,
2341,
2042,
7148,
382,
50,
369,
822,
2556,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
1250,
336,
1435,
288,
9506,
202,
2463,
2341,
2042,
7148,
382,
50,
369,
822,
2556,
31,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
descriptor.saveProjectData(); migrateToCPathEntries(scannerInfo); | descriptor.saveProjectData(); migrateToCPathEntries(scannerInfo); } }, null); | public static void updateScannerInfo(MakeScannerInfo scannerInfo) throws CoreException { IProject project = scannerInfo.getProject(); ICDescriptor descriptor = CCorePlugin.getDefault().getCProjectDescription(project); Element rootElement = descriptor.getProjectData(CDESCRIPTOR_ID); // Clear out all current children // Note: Probably would be a better idea to merge in the data Node child = rootElement.getFirstChild(); while (child != null) { rootElement.removeChild(child); child = rootElement.getFirstChild(); } descriptor.saveProjectData(); migrateToCPathEntries(scannerInfo); } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/09a4ea370cd03cca08ddfea0239bc0263a36f158/MakeScannerProvider.java/buggy/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/core/MakeScannerProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1089,
11338,
966,
12,
6464,
11338,
966,
7683,
966,
13,
1216,
30015,
288,
202,
202,
45,
4109,
1984,
273,
7683,
966,
18,
588,
4109,
5621,
202,
202,
2871,
3187,
4950,
273,
385,
4670,
3773,
18,
588,
1868,
7675,
588,
39,
4109,
3291,
12,
4406,
1769,
202,
202,
1046,
27575,
273,
4950,
18,
588,
4109,
751,
12,
39,
1639,
27689,
67,
734,
1769,
202,
202,
759,
10121,
596,
777,
783,
2325,
202,
202,
759,
3609,
30,
14610,
6906,
4102,
506,
279,
7844,
21463,
358,
2691,
316,
326,
501,
202,
202,
907,
1151,
273,
27575,
18,
588,
3759,
1763,
5621,
202,
202,
17523,
261,
3624,
480,
446,
13,
288,
1082,
202,
3085,
1046,
18,
4479,
1763,
12,
3624,
1769,
1082,
202,
3624,
273,
27575,
18,
588,
3759,
1763,
5621,
202,
202,
97,
202,
202,
12628,
18,
5688,
4109,
751,
5621,
202,
202,
22083,
774,
39,
743,
5400,
12,
26842,
966,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1089,
11338,
966,
12,
6464,
11338,
966,
7683,
966,
13,
1216,
30015,
288,
202,
202,
45,
4109,
1984,
273,
7683,
966,
18,
588,
4109,
5621,
202,
202,
2871,
3187,
4950,
273,
385,
4670,
3773,
18,
588,
1868,
7675,
588,
39,
4109,
3291,
12,
4406,
1769,
202,
202,
1046,
27575,
273,
4950,
18,
588,
4109,
751,
12,
39,
1639,
27689,
67,
734,
1769,
202,
202,
759,
10121,
596,
777,
783,
2325,
202,
202,
759,
3609,
30,
14610,
6906,
4102,
506,
279,
7844,
21463,
358,
2691,
316,
326,
501,
202,
202,
907,
1151,
273,
27575,
18,
588,
3759,
1763,
5621,
202,
202,
17523,
261,
3624,
480,
446,
13,
288,
1082,
202,
3085,
1046,
18,
4479,
1763,
2
] |
if (numEntries == 0) return ifd; | if (numEntries == 0 || numEntries == 1) return ifd; | protected static Hashtable getIFD(RandomAccessStream in, long ifdNum, long globalOffset, long offset, boolean littleEndian) throws IOException { Hashtable ifd = new Hashtable(); // save little-endian flag to internal LITTLE_ENDIAN tag ifd.put(new Integer(LITTLE_ENDIAN), new Boolean(littleEndian)); // read in directory entries for this IFD if (DEBUG) { debug("getIFDs: seeking IFD #" + ifdNum + " at " + (globalOffset != 0 ? (globalOffset + "+" + offset) : ("" + offset))); } in.seek(globalOffset + offset); int numEntries = DataTools.read2UnsignedBytes(in, littleEndian); if (DEBUG) debug("getIFDs: " + numEntries + " directory entries to read"); if (numEntries == 0) return ifd; for (int i=0; i<numEntries; i++) { in.seek(globalOffset + offset + 2 + 12 * i); int tag = DataTools.read2UnsignedBytes(in, littleEndian); int type = DataTools.read2UnsignedBytes(in, littleEndian); int count = (int) DataTools.read4UnsignedBytes(in, littleEndian); if (DEBUG) { debug("getIFDs: read " + getIFDTagName(tag) + " (type=" + getIFDTypeName(type) + "; count=" + count + ")"); } if (count < 0) return null; // invalid data Object value = null; if (type == BYTE) { // 8-bit unsigned integer short[] bytes = new short[count]; if (count > 4) { long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); } for (int j=0; j<count; j++) { bytes[j] = DataTools.readUnsignedByte(in); } if (bytes.length == 1) value = new Short(bytes[0]); else value = bytes; } else if (type == ASCII) { // 8-bit byte that contain a 7-bit ASCII code; // the last byte must be NUL (binary zero) byte[] ascii = new byte[count]; if (count > 4) { long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); } in.readFully(ascii); // count number of null terminators int nullCount = 0; for (int j=0; j<count; j++) { if (ascii[j] == 0 || j == count - 1) nullCount++; } // convert character array to array of strings String[] strings = new String[nullCount]; int c = 0, ndx = -1; for (int j=0; j<count; j++) { if (ascii[j] == 0) { strings[c++] = new String(ascii, ndx + 1, j - ndx - 1); ndx = j; } else if (j == count - 1) { // handle non-null-terminated strings strings[c++] = new String(ascii, ndx + 1, j - ndx); } } if (strings.length == 1) value = strings[0]; else value = strings; } else if (type == SHORT) { // 16-bit (2-byte) unsigned integer int[] shorts = new int[count]; if (count > 2) { long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); } for (int j=0; j<count; j++) { shorts[j] = DataTools.read2UnsignedBytes(in, littleEndian); } if (shorts.length == 1) value = new Integer(shorts[0]); else value = shorts; } else if (type == LONG) { // 32-bit (4-byte) unsigned integer long[] longs = new long[count]; if (count > 1) { long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); } for (int j=0; j<count; j++) { longs[j] = DataTools.read4UnsignedBytes(in, littleEndian); } if (longs.length == 1) value = new Long(longs[0]); else value = longs; } else if (type == RATIONAL) { // Two LONGs: the first represents the numerator of a fraction; // the second, the denominator TiffRational[] rationals = new TiffRational[count]; long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); for (int j=0; j<count; j++) { long numer = DataTools.read4UnsignedBytes(in, littleEndian); long denom = DataTools.read4UnsignedBytes(in, littleEndian); rationals[j] = new TiffRational(numer, denom); } if (rationals.length == 1) value = rationals[0]; else value = rationals; } else if (type == SBYTE || type == UNDEFINED) { // SBYTE: An 8-bit signed (twos-complement) integer // UNDEFINED: An 8-bit byte that may contain anything, // depending on the definition of the field byte[] sbytes = new byte[count]; if (count > 4) { long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); } in.readFully(sbytes); if (sbytes.length == 1) value = new Byte(sbytes[0]); else value = sbytes; } else if (type == SSHORT) { // A 16-bit (2-byte) signed (twos-complement) integer short[] sshorts = new short[count]; if (count > 2) { long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); } for (int j=0; j<count; j++) { sshorts[j] = DataTools.read2SignedBytes(in, littleEndian); } if (sshorts.length == 1) value = new Short(sshorts[0]); else value = sshorts; } else if (type == SLONG) { // A 32-bit (4-byte) signed (twos-complement) integer int[] slongs = new int[count]; if (count > 1) { long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); } for (int j=0; j<count; j++) { slongs[j] = DataTools.read4SignedBytes(in, littleEndian); } if (slongs.length == 1) value = new Integer(slongs[0]); else value = slongs; } else if (type == SRATIONAL) { // Two SLONG's: the first represents the numerator of a fraction, // the second the denominator TiffRational[] srationals = new TiffRational[count]; long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); for (int j=0; j<count; j++) { int numer = DataTools.read4SignedBytes(in, littleEndian); int denom = DataTools.read4SignedBytes(in, littleEndian); srationals[j] = new TiffRational(numer, denom); } if (srationals.length == 1) value = srationals[0]; else value = srationals; } else if (type == FLOAT) { // Single precision (4-byte) IEEE format float[] floats = new float[count]; if (count > 1) { long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); } for (int j=0; j<count; j++) { floats[j] = DataTools.readFloat(in, littleEndian); } if (floats.length == 1) value = new Float(floats[0]); else value = floats; } else if (type == DOUBLE) { // Double precision (8-byte) IEEE format double[] doubles = new double[count]; long pointer = DataTools.read4UnsignedBytes(in, littleEndian); in.seek(globalOffset + pointer); for (int j=0; j<count; j++) { doubles[j] = DataTools.readDouble(in, littleEndian); } if (doubles.length == 1) value = new Double(doubles[0]); else value = doubles; } if (value != null) ifd.put(new Integer(tag), value); } in.seek(globalOffset + offset + 2 + 12 * numEntries); return ifd; } | 55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/16b7f7dc61bdc9f1ed5351878d03039af49673df/TiffTools.java/buggy/loci/formats/TiffTools.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
760,
18559,
336,
5501,
40,
12,
8529,
1862,
1228,
316,
16,
565,
1525,
309,
72,
2578,
16,
1525,
2552,
2335,
16,
1525,
1384,
16,
1250,
328,
10609,
13,
565,
1216,
1860,
225,
288,
565,
18559,
309,
72,
273,
394,
18559,
5621,
565,
368,
1923,
12720,
17,
22910,
2982,
358,
2713,
511,
30972,
900,
67,
30597,
1047,
565,
309,
72,
18,
458,
12,
2704,
2144,
12,
15716,
56,
900,
67,
30597,
3631,
394,
3411,
12,
80,
10609,
10019,
565,
368,
855,
316,
1867,
3222,
364,
333,
11083,
40,
565,
309,
261,
9394,
13,
288,
1377,
1198,
2932,
588,
5501,
22831,
30,
6520,
310,
11083,
40,
31526,
397,
309,
72,
2578,
397,
315,
622,
315,
397,
3639,
261,
6347,
2335,
480,
374,
692,
261,
6347,
2335,
397,
17487,
397,
1384,
13,
294,
261,
3660,
397,
1384,
3719,
1769,
565,
289,
565,
316,
18,
16508,
12,
6347,
2335,
397,
1384,
1769,
565,
509,
818,
5400,
273,
1910,
10348,
18,
896,
22,
13290,
2160,
12,
267,
16,
328,
10609,
1769,
565,
309,
261,
9394,
13,
1198,
2932,
588,
5501,
22831,
30,
315,
397,
818,
5400,
397,
315,
1867,
3222,
358,
855,
8863,
565,
309,
261,
2107,
5400,
422,
374,
747,
818,
5400,
422,
404,
13,
327,
309,
72,
31,
565,
364,
261,
474,
277,
33,
20,
31,
277,
32,
2107,
5400,
31,
277,
27245,
288,
1377,
316,
18,
16508,
12,
6347,
2335,
397,
1384,
397,
576,
397,
2593,
380,
277,
1769,
1377,
509,
1047,
273,
1910,
10348,
18,
896,
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,
760,
18559,
336,
5501,
40,
12,
8529,
1862,
1228,
316,
16,
565,
1525,
309,
72,
2578,
16,
1525,
2552,
2335,
16,
1525,
1384,
16,
1250,
328,
10609,
13,
565,
1216,
1860,
225,
288,
565,
18559,
309,
72,
273,
394,
18559,
5621,
565,
368,
1923,
12720,
17,
22910,
2982,
358,
2713,
511,
30972,
900,
67,
30597,
1047,
565,
309,
72,
18,
458,
12,
2704,
2144,
12,
15716,
56,
900,
67,
30597,
3631,
394,
3411,
12,
80,
10609,
10019,
565,
368,
855,
316,
1867,
3222,
364,
333,
11083,
40,
565,
309,
261,
9394,
13,
288,
1377,
1198,
2932,
588,
5501,
22831,
30,
6520,
310,
11083,
40,
31526,
397,
309,
72,
2578,
397,
315,
622,
315,
397,
3639,
261,
6347,
2
] |
if (workspaceConfigDirectory != null) { FileSystem fs = fsc.getFileSystem(); String configDir = workspaceConfigDirectory + FileSystem.SEPARATOR + name; String configFile = configDir + FileSystem.SEPARATOR + WORKSPACE_XML; | if (virtualFS != null) { String configDir = workspaceConfigDirectory + FileSystem.SEPARATOR + name; String configFile = configDir + FileSystem.SEPARATOR + WORKSPACE_XML; try { virtualFS.createFolder(configDir); configWriter = new OutputStreamWriter( virtualFS.getOutputStream(configFile)); } catch (FileSystemException e) { throw new ConfigurationException( "failed to create workspace configuration at path " + configFile, e); } } else { File file = new File(directory, WORKSPACE_XML); try { configWriter = new FileWriter(file); } catch (IOException e) { throw new ConfigurationException( "failed to create workspace configuration at path " + file.getPath(), e); } } | private synchronized WorkspaceConfig internalCreateWorkspaceConfig(String name, Element template) throws ConfigurationException { // The physical workspace home directory on disk (TODO encode name?) File directory = new File(workspaceDirectory, name); // Create the physical workspace directory, fail if it exists // or cannot be created if (!directory.mkdir()) { if (directory.exists()) { throw new ConfigurationException( "Workspace directory already exists: " + name); } else { throw new ConfigurationException( "Failed to create workspace directory: " + name); } } Writer configWriter; // get a writer for the workspace configuration file if (workspaceConfigDirectory != null) { // a configuration directoy had been specified; create workspace // configuration in virtual repository file system rather than // on disk FileSystem fs = fsc.getFileSystem(); String configDir = workspaceConfigDirectory + FileSystem.SEPARATOR + name; String configFile = configDir + FileSystem.SEPARATOR + WORKSPACE_XML; try { // Create the directory fs.createFolder(configDir); configWriter = new OutputStreamWriter( fs.getOutputStream(configFile)); } catch (FileSystemException e) { throw new ConfigurationException( "failed to create workspace configuration at path " + configFile, e); } } else { File file = new File(directory, WORKSPACE_XML); try { configWriter = new FileWriter(file); } catch (IOException e) { throw new ConfigurationException( "failed to create workspace configuration at path " + file.getPath(), e); } } // Create the workspace.xml file using the configuration template and // the configuration writer. try { template.setAttribute("name", name); TransformerFactory factory = TransformerFactory.newInstance(); Transformer transformer = factory.newTransformer(); transformer.setOutputProperty(OutputKeys.INDENT, "yes"); transformer.transform( new DOMSource(template), new StreamResult(configWriter)); } catch (TransformerConfigurationException e) { throw new ConfigurationException( "Cannot create a workspace configuration writer", e); } catch (TransformerException e) { throw new ConfigurationException( "Cannot create a workspace configuration file", e); } finally { try { configWriter.close(); } catch (IOException ignore) {} } // Load the created workspace configuration. WorkspaceConfig wc; if (workspaceConfigDirectory != null) { FileSystem fs = fsc.getFileSystem(); String configDir = workspaceConfigDirectory + FileSystem.SEPARATOR + name; wc = loadWorkspaceConfig(fs, configDir); } else { wc = loadWorkspaceConfig(directory); } if (wc != null) { wc.init(); addWorkspaceConfig(wc); return wc; } else { throw new ConfigurationException( "Failed to load the created configuration for workspace " + name + "."); } } | 48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/5178db7dd0238d39c0f5ec195c7ce049b267016c/RepositoryConfig.java/buggy/jackrabbit/src/main/java/org/apache/jackrabbit/core/config/RepositoryConfig.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
14396,
809,
2713,
1684,
8241,
809,
12,
780,
508,
16,
28524,
4202,
3010,
1542,
13,
5411,
1216,
22196,
288,
3639,
368,
1021,
11640,
6003,
6382,
1867,
603,
4234,
261,
6241,
2017,
508,
8535,
3639,
1387,
1867,
273,
394,
1387,
12,
14915,
2853,
16,
508,
1769,
3639,
368,
1788,
326,
11640,
6003,
1867,
16,
2321,
309,
518,
1704,
3639,
368,
578,
2780,
506,
2522,
3639,
309,
16051,
5149,
18,
26686,
10756,
288,
5411,
309,
261,
5149,
18,
1808,
10756,
288,
7734,
604,
394,
22196,
12,
13491,
315,
8241,
1867,
1818,
1704,
30,
315,
397,
508,
1769,
5411,
289,
469,
288,
7734,
604,
394,
22196,
12,
13491,
315,
2925,
358,
752,
6003,
1867,
30,
315,
397,
508,
1769,
5411,
289,
3639,
289,
3639,
5497,
642,
2289,
31,
3639,
368,
336,
279,
2633,
364,
326,
6003,
1664,
585,
3639,
309,
261,
14915,
809,
2853,
480,
446,
13,
288,
5411,
368,
279,
1664,
2657,
13372,
9323,
2118,
1269,
31,
752,
6003,
5411,
368,
1664,
316,
5024,
3352,
585,
2619,
9178,
2353,
5411,
368,
603,
4234,
5411,
10931,
2662,
273,
284,
1017,
18,
588,
11785,
5621,
5411,
514,
30395,
273,
6003,
809,
2853,
10792,
397,
10931,
18,
4550,
397,
508,
31,
5411,
514,
12247,
273,
30395,
397,
10931,
18,
4550,
397,
17062,
6616,
67,
4201,
31,
5411,
775,
288,
7734,
368,
1788,
326,
1867,
7734,
2662,
18,
2640,
3899,
12,
1425,
1621,
1769,
7734,
642,
2289,
273,
394,
24248,
12,
13491,
2662,
18,
588,
4632,
12,
1425,
812,
10019,
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,
3852,
14396,
809,
2713,
1684,
8241,
809,
12,
780,
508,
16,
28524,
4202,
3010,
1542,
13,
5411,
1216,
22196,
288,
3639,
368,
1021,
11640,
6003,
6382,
1867,
603,
4234,
261,
6241,
2017,
508,
8535,
3639,
1387,
1867,
273,
394,
1387,
12,
14915,
2853,
16,
508,
1769,
3639,
368,
1788,
326,
11640,
6003,
1867,
16,
2321,
309,
518,
1704,
3639,
368,
578,
2780,
506,
2522,
3639,
309,
16051,
5149,
18,
26686,
10756,
288,
5411,
309,
261,
5149,
18,
1808,
10756,
288,
7734,
604,
394,
22196,
12,
13491,
315,
8241,
1867,
1818,
1704,
30,
315,
397,
508,
1769,
5411,
289,
469,
288,
7734,
604,
394,
22196,
12,
13491,
315,
2925,
358,
752,
6003,
1867,
30,
315,
397,
508,
1769,
2
] |
log.debug(localAddress + " sent FLUSH_COMPLETED message to " | if(log.isDebugEnabled()) log.debug(localAddress + " sent FLUSH_COMPLETED message to " | private void onSuspect(Address address) { boolean flushOkCompleted = false; Message m = null; long viewID = 0; synchronized (sharedLock) { suspected.add(address); flushMembers.removeAll(suspected); viewID = currentViewId(); flushOkCompleted = flushOkSet.size() > 0 && flushOkSet.containsAll(flushMembers); if (flushOkCompleted) { m = new Message(flushCaller, localAddress, null); } } if (flushOkCompleted) { m.putHeader(getName(), new FlushHeader(FlushHeader.FLUSH_COMPLETED, viewID)); passDown(new Event(Event.MSG, m)); log.debug(localAddress + " sent FLUSH_COMPLETED message to " + flushCaller); } log.debug("Suspect is " + address + ",completed " + flushOkCompleted + ", flushOkSet " + flushOkSet + " flushMembers " + flushMembers); } | 3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/c6c36d6735dc44ea63c9889b4269856d34bd5108/FLUSH.java/clean/src/org/jgroups/protocols/pbcast/FLUSH.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
603,
55,
407,
1181,
12,
1887,
1758,
13,
288,
202,
202,
6494,
3663,
8809,
9556,
273,
629,
31,
202,
202,
1079,
312,
273,
446,
31,
202,
202,
5748,
1476,
734,
273,
374,
31,
202,
202,
22043,
261,
11574,
2531,
13,
288,
1082,
202,
87,
407,
1789,
18,
1289,
12,
2867,
1769,
1082,
202,
11330,
6918,
18,
4479,
1595,
12,
87,
407,
1789,
1769,
1082,
202,
1945,
734,
273,
783,
1767,
548,
5621,
1082,
202,
11330,
8809,
9556,
273,
3663,
8809,
694,
18,
1467,
1435,
405,
374,
6862,
202,
10,
10,
3663,
8809,
694,
18,
12298,
1595,
12,
11330,
6918,
1769,
1082,
202,
430,
261,
11330,
8809,
9556,
13,
288,
9506,
202,
81,
273,
394,
2350,
12,
11330,
11095,
16,
1191,
1887,
16,
446,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
430,
261,
11330,
8809,
9556,
13,
288,
1082,
202,
81,
18,
458,
1864,
12,
17994,
9334,
394,
11624,
1864,
12,
8207,
1864,
18,
42,
31959,
67,
15795,
40,
16,
1476,
734,
10019,
1082,
202,
5466,
4164,
12,
2704,
2587,
12,
1133,
18,
11210,
16,
312,
10019,
1082,
202,
1330,
18,
4148,
12,
3729,
1887,
397,
315,
3271,
478,
31959,
67,
15795,
40,
883,
358,
315,
6862,
202,
15,
3663,
11095,
1769,
202,
202,
97,
202,
202,
1330,
18,
4148,
2932,
55,
407,
1181,
353,
315,
397,
1758,
397,
3104,
13615,
315,
397,
3663,
8809,
9556,
9506,
202,
15,
3104,
225,
3663,
8809,
694,
315,
397,
3663,
8809,
694,
397,
315,
3663,
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,
603,
55,
407,
1181,
12,
1887,
1758,
13,
288,
202,
202,
6494,
3663,
8809,
9556,
273,
629,
31,
202,
202,
1079,
312,
273,
446,
31,
202,
202,
5748,
1476,
734,
273,
374,
31,
202,
202,
22043,
261,
11574,
2531,
13,
288,
1082,
202,
87,
407,
1789,
18,
1289,
12,
2867,
1769,
1082,
202,
11330,
6918,
18,
4479,
1595,
12,
87,
407,
1789,
1769,
1082,
202,
1945,
734,
273,
783,
1767,
548,
5621,
1082,
202,
11330,
8809,
9556,
273,
3663,
8809,
694,
18,
1467,
1435,
405,
374,
6862,
202,
10,
10,
3663,
8809,
694,
18,
12298,
1595,
12,
11330,
6918,
1769,
1082,
202,
430,
261,
11330,
8809,
9556,
13,
288,
9506,
202,
81,
273,
394,
2350,
2
] |
List result = new ArrayList(resources.size()); for (int i = 0; i < resources.size(); i++) { CmsResource currentResource = (CmsResource)resources.get(i); if (CmsSecurityManager.PERM_ALLOWED == m_securityManager.hasPermissions( dbc, currentResource, CmsPermissionSet.ACCESS_READ, true, CmsResourceFilter.ALL)) { result.add(currentResource); } } resources.clear(); resources = null; updateContextDates(dbc, result); | List result = filterPermissions(dbc, resources, CmsResourceFilter.ALL); | public List readProjectView(CmsDbContext dbc, int projectId, int state) throws CmsException { List resources; if ((state == CmsResource.STATE_NEW) || (state == CmsResource.STATE_CHANGED) || (state == CmsResource.STATE_DELETED)) { // get all resources form the database that match the selected state resources = m_vfsDriver.readResources(dbc, projectId, state, CmsDriverManager.READMODE_MATCHSTATE); } else { // get all resources form the database that are somehow changed (i.e. not unchanged) resources = m_vfsDriver.readResources( dbc, projectId, CmsResource.STATE_UNCHANGED, CmsDriverManager.READMODE_UNMATCHSTATE); } List result = new ArrayList(resources.size()); for (int i = 0; i < resources.size(); i++) { CmsResource currentResource = (CmsResource)resources.get(i); if (CmsSecurityManager.PERM_ALLOWED == m_securityManager.hasPermissions( dbc, currentResource, CmsPermissionSet.ACCESS_READ, true, CmsResourceFilter.ALL)) { result.add(currentResource); } } // free memory resources.clear(); resources = null; // set the full resource names updateContextDates(dbc, result); // sort the result Collections.sort(result); return result; } | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/af4227597144068c14a9a5948326ec275c64e8ae/CmsDriverManager.java/clean/src/org/opencms/db/CmsDriverManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
855,
4109,
1767,
12,
4747,
4331,
1042,
9881,
16,
509,
9882,
16,
509,
919,
13,
1216,
11228,
288,
3639,
987,
2703,
31,
3639,
309,
14015,
2019,
422,
7630,
18,
7998,
67,
12917,
13,
5411,
747,
261,
2019,
422,
7630,
18,
7998,
67,
24435,
13,
5411,
747,
261,
2019,
422,
7630,
18,
7998,
67,
27392,
3719,
288,
5411,
368,
336,
777,
2703,
646,
326,
2063,
716,
845,
326,
3170,
919,
5411,
2703,
273,
312,
67,
90,
2556,
4668,
18,
896,
3805,
12,
9137,
16,
9882,
16,
919,
16,
2149,
4668,
1318,
18,
6949,
7038,
67,
11793,
7998,
1769,
3639,
289,
469,
288,
5411,
368,
336,
777,
2703,
646,
326,
2063,
716,
854,
28578,
3550,
261,
77,
18,
73,
18,
486,
14827,
13,
5411,
2703,
273,
312,
67,
90,
2556,
4668,
18,
896,
3805,
12,
7734,
9881,
16,
7734,
9882,
16,
7734,
7630,
18,
7998,
67,
2124,
24435,
16,
7734,
2149,
4668,
1318,
18,
6949,
7038,
67,
2124,
11793,
7998,
1769,
3639,
289,
3639,
987,
563,
273,
394,
2407,
12,
4683,
18,
1467,
10663,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2703,
18,
1467,
5621,
277,
27245,
288,
5411,
7630,
783,
1420,
273,
261,
4747,
1420,
13,
4683,
18,
588,
12,
77,
1769,
5411,
309,
261,
4747,
4368,
1318,
18,
3194,
49,
67,
16852,
422,
312,
67,
7462,
1318,
18,
5332,
6521,
12,
7734,
9881,
16,
7734,
783,
1420,
16,
7734,
2149,
5041,
694,
18,
13204,
67,
6949,
16,
7734,
638,
16,
7734,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
855,
4109,
1767,
12,
4747,
4331,
1042,
9881,
16,
509,
9882,
16,
509,
919,
13,
1216,
11228,
288,
3639,
987,
2703,
31,
3639,
309,
14015,
2019,
422,
7630,
18,
7998,
67,
12917,
13,
5411,
747,
261,
2019,
422,
7630,
18,
7998,
67,
24435,
13,
5411,
747,
261,
2019,
422,
7630,
18,
7998,
67,
27392,
3719,
288,
5411,
368,
336,
777,
2703,
646,
326,
2063,
716,
845,
326,
3170,
919,
5411,
2703,
273,
312,
67,
90,
2556,
4668,
18,
896,
3805,
12,
9137,
16,
9882,
16,
919,
16,
2149,
4668,
1318,
18,
6949,
7038,
67,
11793,
7998,
1769,
3639,
289,
469,
288,
5411,
368,
336,
777,
2703,
646,
326,
2063,
716,
854,
28578,
3550,
261,
77,
18,
2
] |
if (in.match('=')) { | if (matchChar('=')) { | public int getToken() throws IOException { int c; tokenno++; // Check for pushed-back token if (this.pushbackToken != EOF) { int result = this.pushbackToken; this.pushbackToken = EOF; return result; } // Eat whitespace, possibly sensitive to newlines. do { c = in.read(); if (c == '\n') { flags &= ~TSF_DIRTYLINE; if ((flags & TSF_NEWLINES) != 0) break; } } while (isJSSpace(c) || c == '\n'); if (c == EOF_CHAR) return EOF; if (c != '-' && c != '\n') flags |= TSF_DIRTYLINE; // identifier/keyword/instanceof? // watch out for starting with a <backslash> boolean identifierStart; boolean isUnicodeEscapeStart = false; if (c == '\\') { c = in.read(); if (c == 'u') { identifierStart = true; isUnicodeEscapeStart = true; stringBufferTop = 0; } else { identifierStart = false; c = '\\'; in.unread(); } } else { identifierStart = Character.isJavaIdentifierStart((char)c); if (identifierStart) { stringBufferTop = 0; addToString(c); } } if (identifierStart) { boolean containsEscape = isUnicodeEscapeStart; for (;;) { if (isUnicodeEscapeStart) { // strictly speaking we should probably push-back // all the bad characters if the <backslash>uXXXX // sequence is malformed. But since there isn't a // correct context(is there?) for a bad Unicode // escape sequence in an identifier, we can report // an error here. int escapeVal = 0; for (int i = 0; i != 4; ++i) { c = in.read(); escapeVal = (escapeVal << 4) | xDigitToInt(c); // Next check takes care about c < 0 and bad escape if (escapeVal < 0) { break; } } if (escapeVal < 0) { reportSyntaxError("msg.invalid.escape", null); return ERROR; } addToString(escapeVal); isUnicodeEscapeStart = false; } else { c = in.read(); if (c == '\\') { c = in.read(); if (c == 'u') { isUnicodeEscapeStart = true; containsEscape = true; } else { reportSyntaxError("msg.illegal.character", null); return ERROR; } } else { if (!Character.isJavaIdentifierPart((char)c)) { break; } addToString(c); } } } in.unread(); String str = getStringFromBuffer(); if (!containsEscape) { // OPT we shouldn't have to make a string (object!) to // check if it's a keyword. // Return the corresponding token if it's a keyword int result = stringToKeyword(str); if (result != EOF) { if (result != RESERVED) { return result; } else if (!Context.getContext().hasFeature( Context.FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER)) { return result; } else { // If implementation permits to use future reserved // keywords in violation with the EcmaScript standard, // treat it as name but issue warning Object[] errArgs = { str }; reportSyntaxWarning("msg.reserved.keyword", errArgs); } } } this.string = str; return NAME; } // is it a number? if (isDigit(c) || (c == '.' && isDigit(in.peek()))) { stringBufferTop = 0; int base = 10; if (c == '0') { c = in.read(); if (c == 'x' || c == 'X') { base = 16; c = in.read(); } else if (isDigit(c)) { base = 8; } else { addToString('0'); } } if (base == 16) { while (0 <= xDigitToInt(c)) { addToString(c); c = in.read(); } } else { while ('0' <= c && c <= '9') { /* * We permit 08 and 09 as decimal numbers, which * makes our behavior a superset of the ECMA * numeric grammar. We might not always be so * permissive, so we warn about it. */ if (base == 8 && c >= '8') { Object[] errArgs = { c == '8' ? "8" : "9" }; reportSyntaxWarning("msg.bad.octal.literal", errArgs); base = 10; } addToString(c); c = in.read(); } } boolean isInteger = true; if (base == 10 && (c == '.' || c == 'e' || c == 'E')) { isInteger = false; if (c == '.') { do { addToString(c); c = in.read(); } while (isDigit(c)); } if (c == 'e' || c == 'E') { addToString(c); c = in.read(); if (c == '+' || c == '-') { addToString(c); c = in.read(); } if (!isDigit(c)) { reportSyntaxError("msg.missing.exponent", null); return ERROR; } do { addToString(c); c = in.read(); } while (isDigit(c)); } } in.unread(); String numString = getStringFromBuffer(); double dval; if (base == 10 && !isInteger) { try { // Use Java conversion to number from string... dval = (Double.valueOf(numString)).doubleValue(); } catch (NumberFormatException ex) { Object[] errArgs = { ex.getMessage() }; reportSyntaxError("msg.caught.nfe", errArgs); return ERROR; } } else { dval = ScriptRuntime.stringToNumber(numString, 0, base); } this.number = dval; return NUMBER; } // is it a string? if (c == '"' || c == '\'') { // We attempt to accumulate a string the fast way, by // building it directly out of the reader. But if there // are any escaped characters in the string, we revert to // building it out of a StringBuffer. int quoteChar = c; int val = 0; stringBufferTop = 0; c = in.read(); strLoop: while (c != quoteChar) { if (c == '\n' || c == EOF_CHAR) { in.unread(); reportSyntaxError("msg.unterminated.string.lit", null); return ERROR; } if (c == '\\') { // We've hit an escaped character c = in.read(); switch (c) { case 'b': c = '\b'; break; case 'f': c = '\f'; break; case 'n': c = '\n'; break; case 'r': c = '\r'; break; case 't': c = '\t'; break; // \v a late addition to the ECMA spec, // it is not in Java, so use 0xb case 'v': c = 0xb; break; case 'u': { /* * Get 4 hex digits; if the u escape is not * followed by 4 hex digits, use 'u' + the literal * character sequence that follows. */ int escapeStart = stringBufferTop; addToString('u'); int escapeVal = 0; for (int i = 0; i != 4; ++i) { c = in.read(); escapeVal = (escapeVal << 4) | xDigitToInt(c); if (escapeVal < 0) { continue strLoop; } addToString(c); } // prepare for replace of stored 'u' sequence // by escape value stringBufferTop = escapeStart; c = escapeVal; } break; case 'x': { /* Get 2 hex digits, defaulting to 'x' + literal * sequence, as above. */ c = in.read(); int escapeVal = xDigitToInt(c); if (escapeVal < 0) { addToString('x'); continue strLoop; } else { int c1 = c; c = in.read(); escapeVal = (escapeVal << 4) | xDigitToInt(c); if (escapeVal < 0) { addToString('x'); addToString(c1); continue strLoop; } else { // got 2 hex digits c = escapeVal; } } } break; default: if ('0' <= c && c < '8') { val = c - '0'; c = in.read(); if ('0' <= c && c < '8') { val = 8 * val + c - '0'; c = in.read(); if ('0' <= c && c < '8' && val <= 037) { // c is 3rd char of octal sequence only if // the resulting val <= 0377 val = 8 * val + c - '0'; c = in.read(); } } in.unread(); c = val; } } } addToString(c); c = in.read(); } this.string = getStringFromBuffer(); return STRING; } switch (c) { case '\n': return EOL; case ';': return SEMI; case '[': return LB; case ']': return RB; case '{': return LC; case '}': return RC; case '(': return LP; case ')': return RP; case ',': return COMMA; case '?': return HOOK; case ':': return COLON; case '.': return DOT; case '|': if (in.match('|')) { return OR; } else if (in.match('=')) { this.op = BITOR; return ASSIGN; } else { return BITOR; } case '^': if (in.match('=')) { this.op = BITXOR; return ASSIGN; } else { return BITXOR; } case '&': if (in.match('&')) { return AND; } else if (in.match('=')) { this.op = BITAND; return ASSIGN; } else { return BITAND; } case '=': if (in.match('=')) { if (in.match('=')) this.op = SHEQ; else this.op = EQ; return EQOP; } else { this.op = NOP; return ASSIGN; } case '!': if (in.match('=')) { if (in.match('=')) this.op = SHNE; else this.op = NE; return EQOP; } else { this.op = NOT; return UNARYOP; } case '<': /* NB:treat HTML begin-comment as comment-till-eol */ if (in.match('!')) { if (in.match('-')) { if (in.match('-')) { skipLine(); return getToken(); // in place of 'goto retry' } in.unread(); } in.unread(); } if (in.match('<')) { if (in.match('=')) { this.op = LSH; return ASSIGN; } else { this.op = LSH; return SHOP; } } else { if (in.match('=')) { this.op = LE; return RELOP; } else { this.op = LT; return RELOP; } } case '>': if (in.match('>')) { if (in.match('>')) { if (in.match('=')) { this.op = URSH; return ASSIGN; } else { this.op = URSH; return SHOP; } } else { if (in.match('=')) { this.op = RSH; return ASSIGN; } else { this.op = RSH; return SHOP; } } } else { if (in.match('=')) { this.op = GE; return RELOP; } else { this.op = GT; return RELOP; } } case '*': if (in.match('=')) { this.op = MUL; return ASSIGN; } else { return MUL; } case '/': // is it a // comment? if (in.match('/')) { skipLine(); return getToken(); } if (in.match('*')) { while ((c = in.read()) != -1 && !(c == '*' && in.match('/'))) { ; // empty loop body } if (c == EOF_CHAR) { reportSyntaxError("msg.unterminated.comment", null); return ERROR; } return getToken(); // `goto retry' } // is it a regexp? if ((flags & TSF_REGEXP) != 0) { stringBufferTop = 0; while ((c = in.read()) != '/') { if (c == '\n' || c == EOF_CHAR) { in.unread(); reportSyntaxError("msg.unterminated.re.lit", null); return ERROR; } if (c == '\\') { addToString(c); c = in.read(); } addToString(c); } int reEnd = stringBufferTop; while (true) { if (in.match('g')) addToString('g'); else if (in.match('i')) addToString('i'); else if (in.match('m')) addToString('m'); else break; } if (isAlpha(in.peek())) { reportSyntaxError("msg.invalid.re.flag", null); return ERROR; } this.string = new String(stringBuffer, 0, reEnd); this.regExpFlags = new String(stringBuffer, reEnd, stringBufferTop - reEnd); return REGEXP; } if (in.match('=')) { this.op = DIV; return ASSIGN; } else { return DIV; } case '%': this.op = MOD; if (in.match('=')) { return ASSIGN; } else { return MOD; } case '~': this.op = BITNOT; return UNARYOP; case '+': if (in.match('=')) { this.op = ADD; return ASSIGN; } else if (in.match('+')) { return INC; } else { return ADD; } case '-': if (in.match('=')) { this.op = SUB; c = ASSIGN; } else if (in.match('-')) { if (0 == (flags & TSF_DIRTYLINE)) { // treat HTML end-comment after possible whitespace // after line start as comment-utill-eol if (in.match('>')) { skipLine(); return getToken(); } } c = DEC; } else { c = SUB; } flags |= TSF_DIRTYLINE; return c; default: reportSyntaxError("msg.illegal.character", null); return ERROR; } } | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/5739d875ab983543fdf729f70a15773fdbe9b1bd/TokenStream.java/buggy/src/org/mozilla/javascript/TokenStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
9162,
1435,
1216,
1860,
288,
3639,
509,
276,
31,
3639,
1147,
2135,
9904,
31,
3639,
368,
2073,
364,
18543,
17,
823,
1147,
3639,
309,
261,
2211,
18,
6206,
823,
1345,
480,
6431,
13,
288,
5411,
509,
563,
273,
333,
18,
6206,
823,
1345,
31,
5411,
333,
18,
6206,
823,
1345,
273,
6431,
31,
5411,
327,
563,
31,
3639,
289,
3639,
368,
512,
270,
7983,
16,
10016,
16692,
358,
19181,
18,
3639,
741,
288,
5411,
276,
273,
316,
18,
896,
5621,
5411,
309,
261,
71,
422,
2337,
82,
6134,
288,
7734,
2943,
12058,
4871,
8047,
42,
67,
4537,
5538,
5997,
31,
7734,
309,
14015,
7133,
473,
15508,
42,
67,
12917,
5997,
55,
13,
480,
374,
13,
10792,
898,
31,
5411,
289,
3639,
289,
1323,
261,
291,
46,
1260,
909,
12,
71,
13,
747,
276,
422,
2337,
82,
8284,
3639,
309,
261,
71,
422,
6431,
67,
7305,
13,
5411,
327,
6431,
31,
3639,
309,
261,
71,
480,
4014,
597,
276,
480,
2337,
82,
6134,
5411,
2943,
5626,
15508,
42,
67,
4537,
5538,
5997,
31,
3639,
368,
2756,
19,
11041,
19,
1336,
792,
35,
3639,
368,
4267,
596,
364,
5023,
598,
279,
411,
823,
12877,
34,
3639,
1250,
2756,
1685,
31,
3639,
1250,
353,
16532,
8448,
1685,
273,
629,
31,
3639,
309,
261,
71,
422,
5282,
13,
288,
5411,
276,
273,
316,
18,
896,
5621,
5411,
309,
261,
71,
422,
296,
89,
6134,
288,
7734,
2756,
1685,
273,
638,
31,
7734,
353,
16532,
8448,
1685,
273,
638,
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,
509,
9162,
1435,
1216,
1860,
288,
3639,
509,
276,
31,
3639,
1147,
2135,
9904,
31,
3639,
368,
2073,
364,
18543,
17,
823,
1147,
3639,
309,
261,
2211,
18,
6206,
823,
1345,
480,
6431,
13,
288,
5411,
509,
563,
273,
333,
18,
6206,
823,
1345,
31,
5411,
333,
18,
6206,
823,
1345,
273,
6431,
31,
5411,
327,
563,
31,
3639,
289,
3639,
368,
512,
270,
7983,
16,
10016,
16692,
358,
19181,
18,
3639,
741,
288,
5411,
276,
273,
316,
18,
896,
5621,
5411,
309,
261,
71,
422,
2337,
82,
6134,
288,
7734,
2943,
12058,
4871,
8047,
42,
67,
4537,
5538,
5997,
31,
7734,
309,
14015,
7133,
473,
15508,
42,
67,
12917,
5997,
55,
13,
480,
374,
13,
10792,
2
] |
e.printStackTrace(); | e.printStackTrace( ); | public static URL getURL( String sPluginRelativePath ) { URL url = null; if ( Platform.getExtensionRegistry( ) != null ) { try { url = new URL( CoreUIPlugin.getDefault( ) .getBundle( ) .getEntry( "/" ), sPluginRelativePath ); //$NON-NLS-1$ } catch ( MalformedURLException e ) { e.printStackTrace(); } } else { try { url = new URL( "file:///" + new File( sPluginRelativePath ).getAbsolutePath( ) ); //$NON-NLS-1$ } catch ( MalformedURLException e ) { e.printStackTrace(); } } return url; } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/10fe950cbad09cea3732306ccb67e21cd29a304a/UIHelper.java/clean/core/org.eclipse.birt.core.ui/src/org/eclipse/birt/core/ui/utils/UIHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1976,
19341,
12,
514,
272,
3773,
16519,
262,
202,
95,
202,
202,
1785,
880,
273,
446,
31,
202,
202,
430,
261,
11810,
18,
588,
3625,
4243,
12,
262,
480,
446,
262,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
9506,
202,
718,
273,
394,
1976,
12,
4586,
5370,
3773,
18,
588,
1868,
12,
262,
25083,
202,
18,
588,
3405,
12,
262,
25083,
202,
18,
588,
1622,
12,
4016,
262,
16,
272,
3773,
16519,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
1082,
202,
14683,
261,
20710,
425,
262,
1082,
202,
95,
9506,
202,
73,
18,
1188,
6332,
5621,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
9506,
202,
718,
273,
394,
1976,
12,
315,
768,
2207,
4898,
397,
394,
1387,
12,
272,
3773,
16519,
262,
18,
588,
10368,
743,
12,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
1082,
202,
14683,
261,
20710,
425,
262,
1082,
202,
95,
9506,
202,
73,
18,
1188,
6332,
5621,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
880,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
760,
1976,
19341,
12,
514,
272,
3773,
16519,
262,
202,
95,
202,
202,
1785,
880,
273,
446,
31,
202,
202,
430,
261,
11810,
18,
588,
3625,
4243,
12,
262,
480,
446,
262,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
9506,
202,
718,
273,
394,
1976,
12,
4586,
5370,
3773,
18,
588,
1868,
12,
262,
25083,
202,
18,
588,
3405,
12,
262,
25083,
202,
18,
588,
1622,
12,
4016,
262,
16,
272,
3773,
16519,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
1082,
202,
14683,
261,
20710,
425,
262,
1082,
202,
95,
9506,
202,
73,
18,
1188,
6332,
5621,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
2
] |
if (!indexVariable.equals(element)) { | if(!indexVariable.equals(element)){ | public void visitReferenceExpression(PsiReferenceExpression ref) { super.visitReferenceExpression(ref); final PsiElement element = ref.resolve(); if (!indexVariable.equals(element)) { return; } final PsiElement parent = ref.getParent(); if (!(parent instanceof PsiArrayAccessExpression)) { indexVariableUsedOnlyAsIndex = false; return; } final PsiArrayAccessExpression arrayAccess = (PsiArrayAccessExpression) parent; final PsiExpression arrayExpression = arrayAccess.getArrayExpression(); if (arrayExpression == null) { return; } if (!arrayExpression.getText().equals(arrayName)) { indexVariableUsedOnlyAsIndex = false; return; } final PsiElement arrayExpressionContext = arrayAccess.getParent(); if (arrayExpressionContext instanceof PsiAssignmentExpression) { final PsiAssignmentExpression assignment = (PsiAssignmentExpression) arrayExpressionContext; final PsiExpression lhs = assignment.getLExpression(); if (lhs.equals(arrayAccess)) { indexVariableUsedOnlyAsIndex = false; } } } | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/dba8b183fc1b08e7ad664812bfc0c64d1e4abd3c/ForCanBeForeachInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/verbose/ForCanBeForeachInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
2404,
2300,
12,
52,
7722,
2404,
2300,
1278,
13,
288,
5411,
2240,
18,
11658,
2404,
2300,
12,
1734,
1769,
5411,
727,
453,
7722,
1046,
930,
273,
1278,
18,
10828,
5621,
5411,
309,
12,
5,
1615,
3092,
18,
14963,
12,
2956,
3719,
95,
7734,
327,
31,
5411,
289,
5411,
727,
453,
7722,
1046,
982,
273,
1278,
18,
588,
3054,
5621,
5411,
309,
16051,
12,
2938,
1276,
453,
7722,
1076,
1862,
2300,
3719,
288,
7734,
770,
3092,
6668,
3386,
1463,
1016,
273,
629,
31,
7734,
327,
31,
5411,
289,
5411,
727,
453,
7722,
1076,
1862,
2300,
526,
1862,
273,
261,
52,
7722,
1076,
1862,
2300,
13,
982,
31,
5411,
727,
453,
7722,
2300,
526,
2300,
273,
526,
1862,
18,
588,
1076,
2300,
5621,
5411,
309,
261,
1126,
2300,
422,
446,
13,
288,
7734,
327,
31,
5411,
289,
5411,
309,
16051,
1126,
2300,
18,
588,
1528,
7675,
14963,
12,
1126,
461,
3719,
288,
7734,
770,
3092,
6668,
3386,
1463,
1016,
273,
629,
31,
7734,
327,
31,
5411,
289,
5411,
727,
453,
7722,
1046,
526,
2300,
1042,
273,
526,
1862,
18,
588,
3054,
5621,
5411,
309,
261,
1126,
2300,
1042,
1276,
453,
7722,
7729,
2300,
13,
288,
7734,
727,
453,
7722,
7729,
2300,
6661,
273,
261,
52,
7722,
7729,
2300,
13,
526,
2300,
1042,
31,
7734,
727,
453,
7722,
2300,
8499,
273,
6661,
18,
588,
48,
2300,
5621,
7734,
309,
261,
80,
4487,
18,
14963,
12,
1126,
1862,
3719,
288,
10792,
770,
3092,
6668,
3386,
1463,
1016,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
2404,
2300,
12,
52,
7722,
2404,
2300,
1278,
13,
288,
5411,
2240,
18,
11658,
2404,
2300,
12,
1734,
1769,
5411,
727,
453,
7722,
1046,
930,
273,
1278,
18,
10828,
5621,
5411,
309,
12,
5,
1615,
3092,
18,
14963,
12,
2956,
3719,
95,
7734,
327,
31,
5411,
289,
5411,
727,
453,
7722,
1046,
982,
273,
1278,
18,
588,
3054,
5621,
5411,
309,
16051,
12,
2938,
1276,
453,
7722,
1076,
1862,
2300,
3719,
288,
7734,
770,
3092,
6668,
3386,
1463,
1016,
273,
629,
31,
7734,
327,
31,
5411,
289,
5411,
727,
453,
7722,
1076,
1862,
2300,
526,
1862,
273,
261,
52,
7722,
1076,
1862,
2300,
13,
982,
31,
5411,
727,
453,
7722,
2300,
526,
2300,
273,
526,
2
] |
private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); if(!gfx.hitClip(bounds.x,bounds.y, bounds.width, bounds.height)) return; Graphics g2 = gfx.create(bounds.x, bounds.y, bounds.width, bounds.height); try { visitor.visit(comp, g2); } finally { g2.dispose(); } } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Container.java/clean/core/src/classpath/java/java/awt/Container.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
6459,
11658,
1763,
12,
29459,
1055,
19595,
16,
43,
19595,
7413,
3516,
1811,
16,
1841,
2919,
15329,
19463,
10576,
33,
2919,
18,
588,
5694,
5621,
430,
12,
5,
75,
19595,
18,
15989,
15339,
12,
10576,
18,
92,
16,
10576,
18,
93,
16,
10576,
18,
2819,
16,
10576,
18,
4210,
3719,
2463,
31,
29459,
1055,
22,
33,
75,
19595,
18,
2640,
12,
10576,
18,
92,
16,
10576,
18,
93,
16,
10576,
18,
2819,
16,
10576,
18,
4210,
1769,
698,
95,
3516,
1811,
18,
11658,
12,
2919,
16,
75,
22,
1769,
97,
23417,
95,
75,
22,
18,
2251,
4150,
5621,
9090,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
6459,
11658,
1763,
12,
29459,
1055,
19595,
16,
43,
19595,
7413,
3516,
1811,
16,
1841,
2919,
15329,
19463,
10576,
33,
2919,
18,
588,
5694,
5621,
430,
12,
5,
75,
19595,
18,
15989,
15339,
12,
10576,
18,
92,
16,
10576,
18,
93,
16,
10576,
18,
2819,
16,
10576,
18,
4210,
3719,
2463,
31,
29459,
1055,
22,
33,
75,
19595,
18,
2640,
12,
10576,
18,
92,
16,
10576,
18,
93,
16,
10576,
18,
2819,
16,
10576,
18,
4210,
1769,
698,
95,
3516,
1811,
18,
11658,
12,
2919,
16,
75,
22,
1769,
97,
23417,
95,
75,
22,
18,
2251,
4150,
5621,
9090,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
fEntityScanner.scanQName(fElementQName); String rawname = fElementQName.rawname; if (fBindNamespaces) { fNamespaceContext.pushContext(); if (fScannerState == SCANNER_STATE_ROOT_ELEMENT) { if (fPerformValidation) { fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN, "MSG_GRAMMAR_NOT_FOUND", new Object[]{ rawname}, XMLErrorReporter.SEVERITY_ERROR); | fEntityScanner.scanQName(fElementQName); String rawname = fElementQName.rawname; if (fBindNamespaces) { fNamespaceContext.pushContext(); if (fScannerState == SCANNER_STATE_ROOT_ELEMENT) { if (fPerformValidation) { fErrorReporter.reportError( XMLMessageFormatter.XML_DOMAIN, "MSG_GRAMMAR_NOT_FOUND", new Object[] { rawname }, XMLErrorReporter.SEVERITY_ERROR); | protected boolean scanStartElement() throws IOException, XNIException { if (DEBUG_CONTENT_SCANNING) System.out.println(">>> scanStartElementNS()"); // Note: namespace processing is on by default fEntityScanner.scanQName(fElementQName); // REVISIT - [Q] Why do we need this local variable? -- mrglavas String rawname = fElementQName.rawname; if (fBindNamespaces) { fNamespaceContext.pushContext(); if (fScannerState == SCANNER_STATE_ROOT_ELEMENT) { if (fPerformValidation) { fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN, "MSG_GRAMMAR_NOT_FOUND", new Object[]{ rawname}, XMLErrorReporter.SEVERITY_ERROR); if (fDoctypeName == null || !fDoctypeName.equals(rawname)) { fErrorReporter.reportError( XMLMessageFormatter.XML_DOMAIN, "RootElementTypeMustMatchDoctypedecl", new Object[]{fDoctypeName, rawname}, XMLErrorReporter.SEVERITY_ERROR); } } } } // push element stack fCurrentElement = fElementStack.pushElement(fElementQName); // attributes boolean empty = false; fAttributes.removeAllAttributes(); do { // spaces boolean sawSpace = fEntityScanner.skipSpaces(); // end tag? int c = fEntityScanner.peekChar(); if (c == '>') { fEntityScanner.scanChar(); break; } else if (c == '/') { fEntityScanner.scanChar(); if (!fEntityScanner.skipChar('>')) { reportFatalError("ElementUnterminated", new Object[]{rawname}); } empty = true; break; } else if (!isValidNameStartChar(c) || !sawSpace) { reportFatalError("ElementUnterminated", new Object[]{rawname}); } // attributes scanAttribute(fAttributes); } while (true); if (fBindNamespaces) { // REVISIT: is it required? forbit xmlns prefix for element if (fElementQName.prefix == XMLSymbols.PREFIX_XMLNS) { fErrorReporter.reportError(XMLMessageFormatter.XMLNS_DOMAIN, "ElementXMLNSPrefix", new Object[]{fElementQName.rawname}, XMLErrorReporter.SEVERITY_FATAL_ERROR); } // bind the element String prefix = fElementQName.prefix != null ? fElementQName.prefix : XMLSymbols.EMPTY_STRING; // assign uri to the element fElementQName.uri = fNamespaceContext.getURI(prefix); // make sure that object in the element stack is updated as well fCurrentElement.uri = fElementQName.uri; if (fElementQName.prefix == null && fElementQName.uri != null) { fElementQName.prefix = XMLSymbols.EMPTY_STRING; } if (fElementQName.prefix != null && fElementQName.uri == null) { fErrorReporter.reportError(XMLMessageFormatter.XMLNS_DOMAIN, "ElementPrefixUnbound", new Object[]{fElementQName.prefix, fElementQName.rawname}, XMLErrorReporter.SEVERITY_FATAL_ERROR); } // bind attributes (xmlns are already bound bellow) int length = fAttributes.getLength(); fLength = 0; //initialize structure for (int i = 0; i < length; i++) { fAttributes.getName(i, fAttributeQName); String aprefix = fAttributeQName.prefix != null ? fAttributeQName.prefix : XMLSymbols.EMPTY_STRING; String uri = fNamespaceContext.getURI(aprefix); // REVISIT: try removing the first "if" and see if it is faster. // if (fAttributeQName.uri != null && fAttributeQName.uri == uri) { checkDuplicates(fAttributeQName, fAttributes); continue; } if (aprefix != XMLSymbols.EMPTY_STRING) { fAttributeQName.uri = uri; if (uri == null) { fErrorReporter.reportError(XMLMessageFormatter.XMLNS_DOMAIN, "AttributePrefixUnbound", new Object[]{fElementQName.rawname,fAttributeQName.rawname,aprefix}, XMLErrorReporter.SEVERITY_FATAL_ERROR); } fAttributes.setURI(i, uri); checkDuplicates(fAttributeQName, fAttributes); } } } // call handler if (fDocumentHandler != null) { if (empty) { //decrease the markup depth.. fMarkupDepth--; // check that this element was opened in the same entity if (fMarkupDepth < fEntityStack[fEntityDepth - 1]) { reportFatalError("ElementEntityMismatch", new Object[]{fCurrentElement.rawname}); } fDocumentHandler.emptyElement(fElementQName, fAttributes, null); if (fBindNamespaces) { fNamespaceContext.popContext(); } //pop the element off the stack.. fElementStack.popElement(fElementQName); } else { fDocumentHandler.startElement(fElementQName, fAttributes, null); } } if (DEBUG_CONTENT_SCANNING) System.out.println("<<< scanStartElement(): "+empty); return empty; } // scanStartElement():boolean | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/3da96c599064fc1cad81a428d259454eef6d382a/XML11NSDocumentScannerImpl.java/buggy/src/org/apache/xerces/impl/XML11NSDocumentScannerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
4135,
1685,
1046,
1435,
202,
15069,
1860,
16,
1139,
50,
45,
503,
288,
202,
202,
430,
261,
9394,
67,
9689,
67,
2312,
11489,
1360,
13,
2332,
18,
659,
18,
8222,
2932,
23012,
4135,
1685,
1046,
3156,
1435,
8863,
202,
202,
759,
3609,
30,
1981,
4929,
353,
603,
635,
805,
202,
202,
74,
1943,
11338,
18,
9871,
13688,
12,
74,
1046,
13688,
1769,
202,
202,
759,
2438,
26780,
1285,
300,
306,
53,
65,
3497,
93,
741,
732,
1608,
333,
1191,
2190,
35,
1493,
9752,
7043,
842,
345,
202,
202,
780,
1831,
529,
273,
284,
1046,
13688,
18,
1899,
529,
31,
202,
202,
430,
261,
74,
3357,
13180,
13,
288,
1082,
202,
74,
3402,
1042,
18,
6206,
1042,
5621,
1082,
202,
430,
261,
74,
11338,
1119,
422,
8795,
11489,
654,
67,
7998,
67,
9185,
67,
10976,
13,
288,
9506,
202,
430,
261,
74,
4990,
4354,
13,
288,
6862,
202,
74,
668,
13289,
18,
6006,
668,
12,
4201,
1079,
5074,
18,
4201,
67,
18192,
16,
6862,
6862,
9506,
282,
315,
11210,
67,
15370,
19772,
67,
4400,
67,
9294,
3113,
6862,
6862,
9506,
282,
394,
1033,
63,
7073,
1831,
529,
5779,
6862,
6862,
9506,
282,
3167,
668,
13289,
18,
1090,
2204,
4107,
67,
3589,
1769,
6862,
202,
430,
261,
74,
3244,
12387,
461,
422,
446,
747,
401,
74,
3244,
12387,
461,
18,
14963,
12,
1899,
529,
3719,
288,
25083,
202,
74,
668,
13289,
18,
6006,
668,
12,
3167,
1079,
5074,
18,
4201,
67,
18192,
16,
6862,
6862,
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,
4135,
1685,
1046,
1435,
202,
15069,
1860,
16,
1139,
50,
45,
503,
288,
202,
202,
430,
261,
9394,
67,
9689,
67,
2312,
11489,
1360,
13,
2332,
18,
659,
18,
8222,
2932,
23012,
4135,
1685,
1046,
3156,
1435,
8863,
202,
202,
759,
3609,
30,
1981,
4929,
353,
603,
635,
805,
202,
202,
74,
1943,
11338,
18,
9871,
13688,
12,
74,
1046,
13688,
1769,
202,
202,
759,
2438,
26780,
1285,
300,
306,
53,
65,
3497,
93,
741,
732,
1608,
333,
1191,
2190,
35,
1493,
9752,
7043,
842,
345,
202,
202,
780,
1831,
529,
273,
284,
1046,
13688,
18,
1899,
529,
31,
202,
202,
430,
261,
74,
3357,
13180,
13,
288,
1082,
202,
74,
3402,
1042,
18,
6206,
2
] |
setStyleProperty( style, Style.SHOW_IF_BLANK_PROP, | /*setStyleProperty( style, Style.SHOW_IF_BLANK_PROP, | protected void setupDistinctStyleProperties( StyleDesign style, DesignElementHandle handle, DesignElementHandle parentHandle ) { // Background setStyleProperty( style, Style.BACKGROUND_COLOR_PROP, getDistinctColorProperty( handle, parentHandle, Style.BACKGROUND_COLOR_PROP ) ); setStyleProperty( style, Style.BACKGROUND_IMAGE_PROP, getDistinctProperty( handle, parentHandle, Style.BACKGROUND_IMAGE_PROP ) ); setStyleProperty( style, Style.BACKGROUND_POSITION_X_PROP, getDistinctProperty( handle, parentHandle, Style.BACKGROUND_POSITION_X_PROP ) ); setStyleProperty( style, Style.BACKGROUND_POSITION_Y_PROP, getDistinctProperty( handle, parentHandle, Style.BACKGROUND_POSITION_Y_PROP ) ); setStyleProperty( style, Style.BACKGROUND_REPEAT_PROP, getDistinctProperty( handle, parentHandle, Style.BACKGROUND_REPEAT_PROP ) ); // Text related setStyleProperty( style, Style.TEXT_ALIGN_PROP, getDistinctProperty( handle, parentHandle, Style.TEXT_ALIGN_PROP ) ); setStyleProperty( style, Style.TEXT_INDENT_PROP, getDistinctProperty( handle, parentHandle, Style.TEXT_INDENT_PROP ) ); setStyleProperty( style, Style.LETTER_SPACING_PROP, getDistinctProperty( handle, parentHandle, Style.LETTER_SPACING_PROP ) ); setStyleProperty( style, Style.LINE_HEIGHT_PROP, getDistinctProperty( handle, parentHandle, Style.LINE_HEIGHT_PROP ) ); setStyleProperty( style, Style.ORPHANS_PROP, getDistinctProperty( handle, parentHandle, Style.ORPHANS_PROP ) ); setStyleProperty( style, Style.TEXT_TRANSFORM_PROP, getDistinctProperty( handle, parentHandle, Style.TEXT_TRANSFORM_PROP ) ); setStyleProperty( style, Style.VERTICAL_ALIGN_PROP, getDistinctProperty( handle, parentHandle, Style.VERTICAL_ALIGN_PROP ) ); setStyleProperty( style, Style.WHITE_SPACE_PROP, getDistinctProperty( handle, parentHandle, Style.WHITE_SPACE_PROP ) ); setStyleProperty( style, Style.WIDOWS_PROP, getDistinctProperty( handle, parentHandle, Style.WIDOWS_PROP ) ); setStyleProperty( style, Style.WORD_SPACING_PROP, getDistinctProperty( handle, parentHandle, Style.WORD_SPACING_PROP ) ); // Section properties setStyleProperty( style, Style.DISPLAY_PROP, getDistinctProperty( handle, parentHandle, Style.DISPLAY_PROP ) ); setStyleProperty( style, Style.MASTER_PAGE_PROP, getDistinctProperty( handle, parentHandle, Style.MASTER_PAGE_PROP ) ); setStyleProperty( style, Style.PAGE_BREAK_AFTER_PROP, getDistinctProperty( handle, parentHandle, Style.PAGE_BREAK_AFTER_PROP ) ); setStyleProperty( style, Style.PAGE_BREAK_BEFORE_PROP, getDistinctProperty( handle, parentHandle, Style.PAGE_BREAK_BEFORE_PROP ) ); setStyleProperty( style, Style.PAGE_BREAK_INSIDE_PROP, getDistinctProperty( handle, parentHandle, Style.PAGE_BREAK_INSIDE_PROP ) ); setStyleProperty( style, Style.SHOW_IF_BLANK_PROP, getDistinctProperty( handle, parentHandle, Style.SHOW_IF_BLANK_PROP ) ); setStyleProperty( style, Style.CAN_SHRINK_PROP, getDistinctProperty( handle, parentHandle, Style.CAN_SHRINK_PROP ) ); // Data Formatting setStyleProperty( style, Style.DATE_TIME_FORMAT_PROP, getDistinctProperty( handle, parentHandle, Style.DATE_TIME_FORMAT_PROP ) ); setStyleProperty( style, Style.NUMBER_FORMAT_PROP, getDistinctProperty( handle, parentHandle, Style.NUMBER_FORMAT_PROP ) ); setStyleProperty( style, Style.NUMBER_ALIGN_PROP, getDistinctProperty( handle, parentHandle, Style.NUMBER_ALIGN_PROP ) ); setStyleProperty( style, Style.STRING_FORMAT_PROP, getDistinctProperty( handle, parentHandle, Style.STRING_FORMAT_PROP ) ); // Font related setStyleProperty( style, Style.FONT_FAMILY_PROP, getDistinctProperty( handle, parentHandle, Style.FONT_FAMILY_PROP ) ); setStyleProperty( style, Style.COLOR_PROP, getDistinctColorProperty( handle, parentHandle, Style.COLOR_PROP ) ); setStyleProperty( style, Style.FONT_SIZE_PROP, getDistinctProperty( handle, parentHandle, Style.FONT_SIZE_PROP ) ); setStyleProperty( style, Style.FONT_STYLE_PROP, getDistinctProperty( handle, parentHandle, Style.FONT_STYLE_PROP ) ); setStyleProperty( style, Style.FONT_WEIGHT_PROP, getDistinctProperty( handle, parentHandle, Style.FONT_WEIGHT_PROP ) ); setStyleProperty( style, Style.FONT_VARIANT_PROP, getDistinctProperty( handle, parentHandle, Style.FONT_VARIANT_PROP ) ); // Text decoration setStyleProperty( style, Style.TEXT_LINE_THROUGH_PROP, getDistinctProperty( handle, parentHandle, Style.TEXT_LINE_THROUGH_PROP ) ); setStyleProperty( style, Style.TEXT_OVERLINE_PROP, getDistinctProperty( handle, parentHandle, Style.TEXT_OVERLINE_PROP ) ); setStyleProperty( style, Style.TEXT_UNDERLINE_PROP, getDistinctProperty( handle, parentHandle, Style.TEXT_UNDERLINE_PROP ) ); // Border setStyleProperty( style, Style.BORDER_BOTTOM_COLOR_PROP, getDistinctColorProperty( handle, parentHandle, Style.BORDER_BOTTOM_COLOR_PROP ) ); setStyleProperty( style, Style.BORDER_BOTTOM_STYLE_PROP, getDistinctProperty( handle, parentHandle, Style.BORDER_BOTTOM_STYLE_PROP ) ); setStyleProperty( style, Style.BORDER_BOTTOM_WIDTH_PROP, getDistinctProperty( handle, parentHandle, Style.BORDER_BOTTOM_WIDTH_PROP ) ); setStyleProperty( style, Style.BORDER_LEFT_COLOR_PROP, getDistinctColorProperty( handle, parentHandle, Style.BORDER_LEFT_COLOR_PROP ) ); setStyleProperty( style, Style.BORDER_LEFT_STYLE_PROP, getDistinctProperty( handle, parentHandle, Style.BORDER_LEFT_STYLE_PROP ) ); setStyleProperty( style, Style.BORDER_LEFT_WIDTH_PROP, getDistinctProperty( handle, parentHandle, Style.BORDER_LEFT_WIDTH_PROP ) ); setStyleProperty( style, Style.BORDER_RIGHT_COLOR_PROP, getDistinctColorProperty( handle, parentHandle, Style.BORDER_RIGHT_COLOR_PROP ) ); setStyleProperty( style, Style.BORDER_RIGHT_STYLE_PROP, getDistinctProperty( handle, parentHandle, Style.BORDER_RIGHT_STYLE_PROP ) ); setStyleProperty( style, Style.BORDER_RIGHT_WIDTH_PROP, getDistinctProperty( handle, parentHandle, Style.BORDER_RIGHT_WIDTH_PROP ) ); setStyleProperty( style, Style.BORDER_TOP_COLOR_PROP, getDistinctColorProperty( handle, parentHandle, Style.BORDER_TOP_COLOR_PROP ) ); setStyleProperty( style, Style.BORDER_TOP_STYLE_PROP, getDistinctProperty( handle, parentHandle, Style.BORDER_TOP_STYLE_PROP ) ); setStyleProperty( style, Style.BORDER_TOP_WIDTH_PROP, getDistinctProperty( handle, parentHandle, Style.BORDER_TOP_WIDTH_PROP ) ); // Margin setStyleProperty( style, Style.MARGIN_TOP_PROP, getDistinctProperty( handle, parentHandle, Style.MARGIN_TOP_PROP ) ); setStyleProperty( style, Style.MARGIN_LEFT_PROP, getDistinctProperty( handle, parentHandle, Style.MARGIN_LEFT_PROP ) ); setStyleProperty( style, Style.MARGIN_BOTTOM_PROP, getDistinctProperty( handle, parentHandle, Style.MARGIN_BOTTOM_PROP ) ); setStyleProperty( style, Style.MARGIN_RIGHT_PROP, getDistinctProperty( handle, parentHandle, Style.MARGIN_RIGHT_PROP ) ); // Padding setStyleProperty( style, Style.PADDING_TOP_PROP, getDistinctProperty( handle, parentHandle, Style.PADDING_TOP_PROP ) ); setStyleProperty( style, Style.PADDING_LEFT_PROP, getDistinctProperty( handle, parentHandle, Style.PADDING_LEFT_PROP ) ); setStyleProperty( style, Style.PADDING_BOTTOM_PROP, getDistinctProperty( handle, parentHandle, Style.PADDING_BOTTOM_PROP ) ); setStyleProperty( style, Style.PADDING_RIGHT_PROP, getDistinctProperty( handle, parentHandle, Style.PADDING_RIGHT_PROP ) ); //Others setStyleProperty( style, Style.CAN_SHRINK_PROP, getDistinctProperty( handle, parentHandle, Style.CAN_SHRINK_PROP ) ); setStyleProperty( style, Style.MASTER_PAGE_PROP, getDistinctProperty( handle, parentHandle, Style.MASTER_PAGE_PROP ) ); setStyleProperty( style, Style.SHOW_IF_BLANK_PROP, getDistinctProperty( handle, parentHandle, Style.SHOW_IF_BLANK_PROP ) ); } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/e29ffc4317fc1dab71e811072bd49e7d35a106d8/EngineIRVisitor.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
3875,
23402,
2885,
2297,
12,
9767,
15478,
2154,
16,
1082,
202,
15478,
1046,
3259,
1640,
16,
29703,
1046,
3259,
982,
3259,
262,
202,
95,
202,
202,
759,
8977,
202,
202,
542,
2885,
1396,
12,
2154,
16,
9767,
18,
8720,
20166,
67,
10989,
67,
15811,
16,
9506,
202,
588,
23402,
2957,
1396,
12,
1640,
16,
982,
3259,
16,
9767,
18,
8720,
20166,
67,
10989,
67,
15811,
262,
11272,
202,
202,
542,
2885,
1396,
12,
2154,
16,
9767,
18,
8720,
20166,
67,
13603,
67,
15811,
16,
9506,
202,
588,
23402,
1396,
12,
1640,
16,
982,
3259,
16,
9767,
18,
8720,
20166,
67,
13603,
67,
15811,
262,
11272,
202,
202,
542,
2885,
1396,
12,
2154,
16,
9767,
18,
8720,
20166,
67,
15258,
67,
60,
67,
15811,
16,
9506,
202,
588,
23402,
1396,
12,
1640,
16,
982,
3259,
16,
9767,
18,
8720,
20166,
67,
15258,
67,
60,
67,
15811,
262,
11272,
202,
202,
542,
2885,
1396,
12,
2154,
16,
9767,
18,
8720,
20166,
67,
15258,
67,
61,
67,
15811,
16,
9506,
202,
588,
23402,
1396,
12,
1640,
16,
982,
3259,
16,
9767,
18,
8720,
20166,
67,
15258,
67,
61,
67,
15811,
262,
11272,
202,
202,
542,
2885,
1396,
12,
2154,
16,
9767,
18,
8720,
20166,
67,
862,
31804,
67,
15811,
16,
9506,
202,
588,
23402,
1396,
12,
1640,
16,
982,
3259,
16,
9767,
18,
8720,
20166,
67,
862,
31804,
67,
15811,
262,
11272,
202,
202,
759,
3867,
3746,
202,
202,
542,
2885,
1396,
12,
2154,
16,
9767,
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,
3875,
23402,
2885,
2297,
12,
9767,
15478,
2154,
16,
1082,
202,
15478,
1046,
3259,
1640,
16,
29703,
1046,
3259,
982,
3259,
262,
202,
95,
202,
202,
759,
8977,
202,
202,
542,
2885,
1396,
12,
2154,
16,
9767,
18,
8720,
20166,
67,
10989,
67,
15811,
16,
9506,
202,
588,
23402,
2957,
1396,
12,
1640,
16,
982,
3259,
16,
9767,
18,
8720,
20166,
67,
10989,
67,
15811,
262,
11272,
202,
202,
542,
2885,
1396,
12,
2154,
16,
9767,
18,
8720,
20166,
67,
13603,
67,
15811,
16,
9506,
202,
588,
23402,
1396,
12,
1640,
16,
982,
3259,
16,
9767,
18,
8720,
20166,
67,
13603,
67,
15811,
262,
11272,
202,
202,
542,
2885,
1396,
12,
2154,
16,
9767,
18,
2
] |
ListDataEvent lde = new ListDataEvent( com.gallery.GalleryRemote.GalleryRemote.getInstance().mainFrame, ListDataEvent.CONTENTS_CHANGED, 0, albumList.size() ); | ListDataEvent lde; if (albumList != null) { lde = new ListDataEvent( com.gallery.GalleryRemote.GalleryRemote.getInstance().mainFrame, ListDataEvent.CONTENTS_CHANGED, 0, albumList.size() ); } else { lde = new ListDataEvent( com.gallery.GalleryRemote.GalleryRemote.getInstance().mainFrame, ListDataEvent.CONTENTS_CHANGED, 0, 0 ); } | void notifyListeners() { ListDataEvent lde = new ListDataEvent( com.gallery.GalleryRemote.GalleryRemote.getInstance().mainFrame, ListDataEvent.CONTENTS_CHANGED, 0, albumList.size() ); notifyListeners(lde); } | 5431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5431/2273a24bf0895e8f47d20f8538ee761618810697/Gallery.java/buggy/gallery_remote/com/gallery/GalleryRemote/model/Gallery.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
5066,
5583,
1435,
288,
202,
202,
682,
751,
1133,
328,
323,
273,
394,
987,
751,
1133,
12,
532,
18,
21454,
18,
18511,
5169,
18,
18511,
5169,
18,
588,
1442,
7675,
5254,
3219,
16,
987,
751,
1133,
18,
9689,
55,
67,
24435,
16,
374,
16,
14844,
682,
18,
1467,
1435,
11272,
9506,
202,
12336,
5583,
12,
80,
323,
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,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
5066,
5583,
1435,
288,
202,
202,
682,
751,
1133,
328,
323,
273,
394,
987,
751,
1133,
12,
532,
18,
21454,
18,
18511,
5169,
18,
18511,
5169,
18,
588,
1442,
7675,
5254,
3219,
16,
987,
751,
1133,
18,
9689,
55,
67,
24435,
16,
374,
16,
14844,
682,
18,
1467,
1435,
11272,
9506,
202,
12336,
5583,
12,
80,
323,
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
] |
check(); indent [depth] = false; writeEscaped(text, -1); } | check(); indent[depth] = false; writeEscaped(text, -1); } | public void text(String text) throws IOException { check(); indent [depth] = false; writeEscaped(text, -1); } | 4761 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4761/bd4301e3992a6190d0ca41a30c1bcd64c088ad76/KXmlSerializer.java/clean/src/org/kxml2/io/KXmlSerializer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
977,
12,
780,
977,
13,
1216,
1860,
288,
202,
202,
1893,
5621,
202,
202,
9355,
306,
5979,
65,
273,
629,
31,
9506,
202,
2626,
17208,
12,
955,
16,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
977,
12,
780,
977,
13,
1216,
1860,
288,
202,
202,
1893,
5621,
202,
202,
9355,
306,
5979,
65,
273,
629,
31,
9506,
202,
2626,
17208,
12,
955,
16,
300,
21,
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
] |
while ( ! currentSibling.hasNext() ) | try | public boolean hasNext() { while ( ! currentSibling.hasNext() ) { if ( ! goBack() ) { return false; } } return true; } | 12974 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12974/c4fc5760f694eb94d37e66961a12faa59de78178/PrecedingAxisIterator.java/buggy/src/java/main/org/jaxen/util/PrecedingAxisIterator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
4564,
1435,
565,
288,
3639,
775,
3639,
288,
5411,
309,
261,
401,
1960,
2711,
1435,
262,
5411,
288,
7734,
327,
629,
31,
5411,
289,
3639,
289,
3639,
327,
638,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4564,
1435,
565,
288,
3639,
775,
3639,
288,
5411,
309,
261,
401,
1960,
2711,
1435,
262,
5411,
288,
7734,
327,
629,
31,
5411,
289,
3639,
289,
3639,
327,
638,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
getHelper().stop(); | if(getHelper() != null) getHelper().stop(); | public void stop() throws Exception { getHelper().stop(); super.stop(); } | 14172 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14172/5cb1e27576c3d4676717afd58df32887df7e86f8/Container.java/buggy/plugins/internal/org.restlet/src/org/restlet/Container.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2132,
1435,
1216,
1185,
202,
95,
202,
202,
588,
2276,
7675,
5681,
5621,
202,
202,
9565,
18,
5681,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
225,
202,
482,
918,
2132,
1435,
1216,
1185,
202,
95,
202,
202,
588,
2276,
7675,
5681,
5621,
202,
202,
9565,
18,
5681,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
this.keyboardHandler.close(); | keyboardHandler.close(); | private final synchronized int decRefCount(boolean forceClose) { refCount--; log.debug("refCount.dec=" + refCount); if ((refCount == 0) || forceClose) { onClose(); if (keyboardHandler != null) { this.keyboardHandler.close(); } if (mouseHandler != null) { this.mouseHandler.close(); } if (graphics != null) { this.graphics.close(); } this.api = null; this.graphics = null; this.keyboardHandler = null; this.mouseHandler = null; this.refCount = 0; notifyAll(); } return refCount; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/38325cf17a9cf9b3ef394218a5b22c43a59d2f83/JNodeToolkit.java/clean/gui/src/awt/org/jnode/awt/JNodeToolkit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
727,
3852,
509,
2109,
1957,
1380,
12,
6494,
2944,
4605,
13,
288,
202,
202,
1734,
1380,
413,
31,
202,
202,
1330,
18,
4148,
2932,
1734,
1380,
18,
4924,
1546,
397,
1278,
1380,
1769,
202,
202,
430,
14015,
1734,
1380,
422,
374,
13,
747,
2944,
4605,
13,
288,
1082,
202,
265,
4605,
5621,
1082,
202,
430,
261,
31486,
1503,
480,
446,
13,
288,
9506,
202,
2211,
18,
31486,
1503,
18,
4412,
5621,
1082,
202,
97,
1082,
202,
430,
261,
11697,
1503,
480,
446,
13,
288,
9506,
202,
2211,
18,
11697,
1503,
18,
4412,
5621,
1082,
202,
97,
1082,
202,
430,
261,
31586,
480,
446,
13,
288,
9506,
202,
2211,
18,
31586,
18,
4412,
5621,
1082,
202,
97,
1082,
202,
2211,
18,
2425,
273,
446,
31,
1082,
202,
2211,
18,
31586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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
727,
3852,
509,
2109,
1957,
1380,
12,
6494,
2944,
4605,
13,
288,
202,
202,
1734,
1380,
413,
31,
202,
202,
1330,
18,
4148,
2932,
1734,
1380,
18,
4924,
1546,
397,
1278,
1380,
1769,
202,
202,
430,
14015,
1734,
1380,
422,
374,
13,
747,
2944,
4605,
13,
288,
1082,
202,
265,
4605,
5621,
1082,
202,
430,
261,
31486,
1503,
480,
446,
13,
288,
9506,
202,
2211,
18,
31486,
1503,
18,
4412,
5621,
1082,
202,
97,
1082,
202,
430,
261,
11697,
1503,
480,
446,
13,
288,
9506,
202,
2211,
18,
11697,
1503,
18,
4412,
5621,
1082,
202,
97,
1082,
202,
430,
261,
31586,
480,
446,
13,
288,
9506,
202,
2211,
18,
31586,
18,
4412,
5621,
1082,
202,
97,
2
] |
.appendSeparator(", ", " and ") | .appendSeparator(", ", " and ", variants) | private PeriodFormat() { iDefault = new PeriodFormatterBuilder() .appendYears() .appendSuffix(" year", " years") .appendSeparator(", ", " and ") .appendMonths() .appendSuffix(" month", " months") .appendSeparator(", ", " and ") .appendWeeks() .appendSuffix(" week", " weeks") .appendSeparator(", ", " and ") .appendDays() .appendSuffix(" day", " days") .appendSeparator(", ", " and ") .appendHours() .appendSuffix(" hour", " hours") .appendSeparator(", ", " and ") .appendMinutes() .appendSuffix(" minute", " minutes") .appendSeparator(", ", " and ") .appendSeconds() .appendSuffix(" second", " seconds") .appendSeparator(", ", " and ") .appendMillis() .appendSuffix(" millisecond", " milliseconds") .toFormatter(); } | 52859 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52859/159f5f78a4ee0145e3f124317de67c9e4d0acb54/PeriodFormat.java/buggy/JodaTime/src/java/org/joda/time/format/PeriodFormat.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
12698,
1630,
1435,
288,
3639,
277,
1868,
273,
394,
12698,
5074,
1263,
1435,
5411,
263,
6923,
21945,
1435,
5411,
263,
6923,
5791,
2932,
3286,
3113,
315,
11387,
7923,
5411,
263,
6923,
6581,
2932,
16,
3104,
315,
471,
3104,
12935,
13,
5411,
263,
6923,
19749,
1435,
5411,
263,
6923,
5791,
2932,
3138,
3113,
315,
8846,
7923,
5411,
263,
6923,
6581,
2932,
16,
3104,
315,
471,
3104,
12935,
13,
5411,
263,
6923,
6630,
87,
1435,
5411,
263,
6923,
5791,
2932,
4860,
3113,
315,
17314,
7923,
5411,
263,
6923,
6581,
2932,
16,
3104,
315,
471,
3104,
12935,
13,
5411,
263,
6923,
9384,
1435,
5411,
263,
6923,
5791,
2932,
2548,
3113,
315,
4681,
7923,
5411,
263,
6923,
6581,
2932,
16,
3104,
315,
471,
3104,
12935,
13,
5411,
263,
6923,
14910,
1435,
5411,
263,
6923,
5791,
2932,
6126,
3113,
315,
7507,
7923,
5411,
263,
6923,
6581,
2932,
16,
3104,
315,
471,
3104,
12935,
13,
5411,
263,
6923,
13050,
1435,
5411,
263,
6923,
5791,
2932,
8044,
3113,
315,
6824,
7923,
5411,
263,
6923,
6581,
2932,
16,
3104,
315,
471,
3104,
12935,
13,
5411,
263,
6923,
6762,
1435,
5411,
263,
6923,
5791,
2932,
2205,
3113,
315,
3974,
7923,
5411,
263,
6923,
6581,
2932,
16,
3104,
315,
471,
3104,
12935,
13,
5411,
263,
6923,
4814,
1435,
5411,
263,
6923,
5791,
2932,
31021,
3113,
315,
10993,
7923,
5411,
263,
869,
5074,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
12698,
1630,
1435,
288,
3639,
277,
1868,
273,
394,
12698,
5074,
1263,
1435,
5411,
263,
6923,
21945,
1435,
5411,
263,
6923,
5791,
2932,
3286,
3113,
315,
11387,
7923,
5411,
263,
6923,
6581,
2932,
16,
3104,
315,
471,
3104,
12935,
13,
5411,
263,
6923,
19749,
1435,
5411,
263,
6923,
5791,
2932,
3138,
3113,
315,
8846,
7923,
5411,
263,
6923,
6581,
2932,
16,
3104,
315,
471,
3104,
12935,
13,
5411,
263,
6923,
6630,
87,
1435,
5411,
263,
6923,
5791,
2932,
4860,
3113,
315,
17314,
7923,
5411,
263,
6923,
6581,
2932,
16,
3104,
315,
471,
3104,
12935,
13,
5411,
263,
6923,
9384,
1435,
5411,
263,
6923,
5791,
2932,
2548,
3113,
315,
4681,
7923,
5411,
263,
6923,
6581,
2932,
16,
3104,
2
] |
StringTokenizer tokenizer = new StringTokenizer(infixParam); | String infixToPostFix(String infixParam) { String SPACE = " "; StringBuffer postfix = new StringBuffer(); StringTokenizer tokenizer = new StringTokenizer(infixParam); for (int i = 0, j = tokenizer.countTokens(); i < j; i++) { String token = tokenizer.nextToken(); System.out.println("FOUND TOKEN " + token); if (isOperand(token)) { postfix.append(token + SPACE); System.out.println("OPERAND - APPENDING TO POSTFIX " + postfix); } else { System.out.println("OPERATOR - ITERATING THROUGH STACK"); while ( (!(stack.size() == 0)) && (precedes(stack.peek().toString(), token))) { postfix.append(stack.pop().toString() + SPACE); System.out.println( "appending to postfix and popping from stack - postfix: " + postfix + "..stack: " + stack); } if ((!(stack.size() == 0)) && (")".equals(token))) { if ("(".equals(stack.peek())) { System.out.println( "found left paren - popping without adding to output - result: " + stack); stack.pop(); } else { postfix.append(stack.pop().toString() + SPACE); System.out.println( "FOUND RIGHT PAREN - POPPING - result: " + stack); } } else { stack.push(token); System.out.println("NOT RIGHT PAREN - PUSHING - result: " + stack); } } } System.out.println("OUT OF TOKEN LOOP - remaining stack is " + stack); while (!(stack.size() == 0)) { if ("(".equals(stack.peek().toString())) { //pop off the stack but don't process stack.pop(); System.out.println( "popping left paren off stack. stack is " + stack); } else { postfix.append(stack.pop().toString() + SPACE); System.out.println( "appending to postfix and popping from stack - postfix: " + postfix + "..stack: " + stack); } } System.out.println("RETURNING " + postfix); stack.clear(); return postfix.toString(); } | 45952 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45952/f61e7513ede4b005823db32d3a8e8dc38e9ebf91/RuleTest.java/buggy/src/java/org/apache/log4j/chainsaw/rule/RuleTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
514,
316,
904,
774,
3349,
8585,
12,
780,
316,
904,
786,
13,
288,
1377,
514,
20583,
273,
315,
13636,
1377,
6674,
18923,
273,
394,
6674,
5621,
6647,
364,
261,
474,
277,
273,
374,
16,
525,
273,
10123,
18,
1883,
5157,
5621,
277,
411,
525,
31,
277,
27245,
288,
3639,
514,
1147,
273,
10123,
18,
4285,
1345,
5621,
3639,
2332,
18,
659,
18,
8222,
2932,
9294,
14275,
315,
397,
1147,
1769,
3639,
309,
261,
291,
10265,
12,
2316,
3719,
288,
1850,
18923,
18,
6923,
12,
2316,
397,
20583,
1769,
1850,
2332,
18,
659,
18,
8222,
2932,
13950,
4307,
300,
9146,
12280,
8493,
5485,
4563,
315,
397,
18923,
1769,
3639,
289,
469,
288,
1850,
2332,
18,
659,
18,
8222,
2932,
26110,
300,
467,
2560,
28054,
7662,
1457,
57,
16715,
11464,
8863,
1850,
1323,
261,
5411,
16051,
12,
3772,
18,
1467,
1435,
422,
374,
3719,
2868,
597,
261,
1484,
3263,
281,
12,
3772,
18,
347,
3839,
7675,
10492,
9334,
1147,
20349,
288,
5411,
18923,
18,
6923,
12,
3772,
18,
5120,
7675,
10492,
1435,
397,
20583,
1769,
5411,
2332,
18,
659,
18,
8222,
12,
2868,
315,
6923,
310,
358,
18923,
471,
1843,
1382,
628,
2110,
300,
18923,
30,
315,
2868,
397,
18923,
397,
315,
838,
3772,
30,
315,
397,
2110,
1769,
1850,
289,
1850,
309,
14015,
5,
12,
3772,
18,
1467,
1435,
422,
374,
3719,
597,
7566,
2225,
18,
14963,
12,
2316,
20349,
288,
5411,
309,
7566,
2932,
18,
14963,
12,
3772,
18,
347,
3839,
1435,
3719,
288,
2868,
2332,
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,
514,
316,
904,
774,
3349,
8585,
12,
780,
316,
904,
786,
13,
288,
1377,
514,
20583,
273,
315,
13636,
1377,
6674,
18923,
273,
394,
6674,
5621,
6647,
364,
261,
474,
277,
273,
374,
16,
525,
273,
10123,
18,
1883,
5157,
5621,
277,
411,
525,
31,
277,
27245,
288,
3639,
514,
1147,
273,
10123,
18,
4285,
1345,
5621,
3639,
2332,
18,
659,
18,
8222,
2932,
9294,
14275,
315,
397,
1147,
1769,
3639,
309,
261,
291,
10265,
12,
2316,
3719,
288,
1850,
18923,
18,
6923,
12,
2316,
397,
20583,
1769,
1850,
2332,
18,
659,
18,
8222,
2932,
13950,
4307,
300,
9146,
12280,
8493,
5485,
4563,
315,
397,
18923,
1769,
3639,
289,
469,
288,
1850,
2332,
18,
659,
18,
8222,
2932,
2
] |
|
itm.reuse( la ); dWidth = Math.max( itm.getFullWidth( ), dWidth ); dHeight += insCA.getTop( ) | itm.reuse( la, maxWrappingSize ); dDeltaHeight = insCA.getTop( ) | public final Size compute( IDisplayServer xs, Chart cm, SeriesDefinition[] seda, RunTimeContext rtc ) throws ChartException { // THREE CASES: // 1. ALL SERIES IN ONE ARRAYLIST // 2. ONE SERIES PER ARRAYLIST // 3. ALL OTHERS Legend lg = cm.getLegend( ); if ( !lg.isSetOrientation( ) ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, "exception.legend.orientation.horzvert", //$NON-NLS-1$ ResourceBundle.getBundle( Messages.ENGINE, xs.getLocale( ) ) ); } if ( !lg.isSetDirection( ) ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, "exception.legend.direction.tblr", //$NON-NLS-1$ ResourceBundle.getBundle( Messages.ENGINE, xs.getLocale( ) ) ); } // INITIALIZATION OF VARS USED IN FOLLOWING LOOPS Orientation o = lg.getOrientation( ); Direction d = lg.getDirection( ); Label la = LabelImpl.create( ); la.setCaption( (Text) EcoreUtil.copy( lg.getText( ) ) ); ClientArea ca = lg.getClientArea( ); LineAttributes lia = ca.getOutline( ); double dSeparatorThickness = lia.getThickness( ); double dWidth = 0, dHeight = 0; la.getCaption( ).setValue( "X" ); //$NON-NLS-1$ final ITextMetrics itm = xs.getTextMetrics( la ); double dItemHeight = itm.getFullHeight( ); Series se; ArrayList al; Insets insCA = ca.getInsets( ) .scaledInstance( xs.getDpiResolution( ) / 72d ); final boolean bPaletteByCategory = ( cm.getLegend( ) .getItemType( ) .getValue( ) == LegendItemType.CATEGORIES ); Series seBase; // Calculate if minSlice applicable. boolean bMinSliceDefined = false; double dMinSlice = 0; boolean bPercentageMinSlice = false; String sMinSliceLabel = null; boolean bMinSliceApplied = false; if ( cm instanceof ChartWithoutAxes ) { bMinSliceDefined = ( (ChartWithoutAxes) cm ).isSetMinSlice( ); dMinSlice = ( (ChartWithoutAxes) cm ).getMinSlice( ); bPercentageMinSlice = ( (ChartWithoutAxes) cm ).isMinSlicePercent( ); sMinSliceLabel = ( (ChartWithoutAxes) cm ).getMinSliceLabel( ); if ( sMinSliceLabel == null || sMinSliceLabel.length( ) == 0 ) { sMinSliceLabel = IConstants.UNDEFINED_STRING; } else { sMinSliceLabel = rtc.externalizedMessage( sMinSliceLabel ); } } // calculate if need an extra legend item when minSlice defined. if ( bMinSliceDefined && bPaletteByCategory && cm instanceof ChartWithoutAxes ) { if ( !( (ChartWithoutAxes) cm ).getSeriesDefinitions( ).isEmpty( ) ) { // OK TO ASSUME THAT 1 BASE SERIES DEFINITION EXISTS SeriesDefinition sdBase = (SeriesDefinition) ( (ChartWithoutAxes) cm ).getSeriesDefinitions( ) .get( 0 ); SeriesDefinition[] sdOrtho = (SeriesDefinition[]) sdBase.getSeriesDefinitions( ) .toArray( ); DataSetIterator dsiOrtho = null; double dCurrentMinSlice = 0; for ( int i = 0; i < sdOrtho.length && !bMinSliceApplied; i++ ) { try { dsiOrtho = new DataSetIterator( ( (Series) sdOrtho[i].getRunTimeSeries( ) .get( 0 ) ).getDataSet( ) ); } catch ( Exception ex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.RENDERING, ex ); } // TODO Check dataSet type, throw exception or ignore?. if ( bPercentageMinSlice ) { double total = 0; while ( dsiOrtho.hasNext( ) ) { Object obj = dsiOrtho.next( ); if ( obj instanceof Number ) { total += ( (Number) obj ).doubleValue( ); } } dsiOrtho.reset( ); dCurrentMinSlice = total * dMinSlice / 100d; } else { dCurrentMinSlice = dMinSlice; } while ( dsiOrtho.hasNext( ) ) { Object obj = dsiOrtho.next( ); if ( obj instanceof Number ) { double val = ( (Number) obj ).doubleValue( ); if ( val < dCurrentMinSlice ) { bMinSliceApplied = true; break; } } } } } } // COMPUTATIONS HERE MUST BE IN SYNC WITH THE ACTUAL RENDERER if ( o.getValue( ) == Orientation.VERTICAL ) { double dW, dMaxW = 0; if ( bPaletteByCategory ) { SeriesDefinition sdBase = null; if ( cm instanceof ChartWithAxes ) { final Axis axPrimaryBase = ( (ChartWithAxes) cm ).getBaseAxes( )[0]; // ONLY // SUPPORT // 1 // BASE // AXIS // FOR // NOW if ( axPrimaryBase.getSeriesDefinitions( ).isEmpty( ) ) { return SizeImpl.create( 0, 0 ); } sdBase = (SeriesDefinition) axPrimaryBase.getSeriesDefinitions( ) .get( 0 ); // OK TO ASSUME THAT 1 BASE SERIES // DEFINITION EXISTS } else if ( cm instanceof ChartWithoutAxes ) { if ( ( (ChartWithoutAxes) cm ).getSeriesDefinitions( ) .isEmpty( ) ) { return SizeImpl.create( 0, 0 ); } sdBase = (SeriesDefinition) ( (ChartWithoutAxes) cm ).getSeriesDefinitions( ) .get( 0 ); // OK TO ASSUME THAT 1 BASE SERIES // DEFINITION EXISTS } seBase = (Series) sdBase.getRunTimeSeries( ).get( 0 ); // OK TO // ASSUME // THAT 1 // BASE // RUNTIME // SERIES // EXISTS DataSetIterator dsiBase = null; try { dsiBase = new DataSetIterator( seBase.getDataSet( ) ); } catch ( Exception ex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, ex ); } FormatSpecifier fs = null; if ( sdBase != null ) { fs = sdBase.getFormatSpecifier( ); } while ( dsiBase.hasNext( ) ) { // TODO filter the not-used legend. Object obj = dsiBase.next( ); String lgtext = String.valueOf( obj ); if ( fs != null ) { try { lgtext = ValueFormatter.format( obj, fs, Locale.getDefault( ), null ); } catch ( ChartException e ) { // ignore, use original text. } } la.getCaption( ).setValue( lgtext ); itm.reuse( la ); dWidth = Math.max( itm.getFullWidth( ), dWidth ); dHeight += insCA.getTop( ) + itm.getFullHeight( ) + insCA.getBottom( ); } // compute the extra MinSlice legend item if applicable. if ( bMinSliceDefined && bMinSliceApplied ) { la.getCaption( ).setValue( sMinSliceLabel ); itm.reuse( la ); dWidth = Math.max( itm.getFullWidth( ), dWidth ); dHeight += insCA.getTop( ) + itm.getFullHeight( ) + insCA.getBottom( ); } dWidth += insCA.getLeft( ) + ( 3 * dItemHeight ) / 2 + dHorizontalSpacing + insCA.getRight( ); } else if ( d.getValue( ) == Direction.TOP_BOTTOM ) // (VERTICAL => // TB) { dSeparatorThickness += dVerticalSpacing; for ( int j = 0; j < seda.length; j++ ) { al = seda[j].getRunTimeSeries( ); FormatSpecifier fs = seda[j].getFormatSpecifier( ); for ( int i = 0; i < al.size( ); i++ ) { se = (Series) al.get( i ); Object obj = se.getSeriesIdentifier( ); String lgtext = String.valueOf( obj ); if ( fs != null ) { try { lgtext = ValueFormatter.format( obj, fs, Locale.getDefault( ), null ); } catch ( ChartException e ) { // ignore, use original text. } } la.getCaption( ).setValue( lgtext ); itm.reuse( la ); dW = itm.getFullWidth( ); if ( dW > dMaxW ) { dMaxW = dW; } dHeight += insCA.getTop( ) + dItemHeight + insCA.getBottom( ); if ( lg.isShowValue( ) ) { DataSetIterator dsiBase = null; try { dsiBase = new DataSetIterator( se.getDataSet( ) ); } catch ( Exception ex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, ex ); } // Use first value for each series. if ( dsiBase.hasNext( ) ) { obj = dsiBase.next( ); String valueText = String.valueOf( obj ); if ( fs != null ) { try { lgtext = ValueFormatter.format( obj, fs, Locale.getDefault( ), null ); } catch ( ChartException e ) { // ignore, use original text. } } Label seLabel = (Label) EcoreUtil.copy( se.getLabel( ) ); seLabel.getCaption( ).setValue( valueText ); itm.reuse( seLabel ); dW = itm.getFullWidth( ); if ( dW > dMaxW ) { dMaxW = dW; } dHeight += itm.getFullHeight( ) + 2; } } } // SETUP HORIZONTAL SEPARATOR SPACING if ( j < seda.length - 1 ) { dHeight += dSeparatorThickness; } } // LEFT INSETS + LEGEND ITEM WIDTH + HORIZONTAL SPACING + MAX // ITEM WIDTH + RIGHT INSETS dWidth = insCA.getLeft( ) + ( 3 * dItemHeight ) / 2 + dHorizontalSpacing + dMaxW + insCA.getRight( ); } else if ( d.getValue( ) == Direction.LEFT_RIGHT ) // (VERTICAL => // LR) { double dMaxH = 0; dSeparatorThickness += dHorizontalSpacing; for ( int j = 0; j < seda.length; j++ ) { al = seda[j].getRunTimeSeries( ); FormatSpecifier fs = seda[j].getFormatSpecifier( ); for ( int i = 0; i < al.size( ); i++ ) { se = (Series) al.get( i ); Object obj = se.getSeriesIdentifier( ); String lgtext = String.valueOf( obj ); if ( fs != null ) { try { lgtext = ValueFormatter.format( obj, fs, Locale.getDefault( ), null ); } catch ( ChartException e ) { // ignore, use original text. } } la.getCaption( ).setValue( lgtext ); itm.reuse( la ); dMaxW = Math.max( dMaxW, itm.getFullWidth( ) ); dHeight += insCA.getTop( ) + dItemHeight + insCA.getBottom( ); if ( lg.isShowValue( ) ) { DataSetIterator dsiBase = null; try { dsiBase = new DataSetIterator( se.getDataSet( ) ); } catch ( Exception ex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, ex ); } // Use first value for each series. if ( dsiBase.hasNext( ) ) { obj = dsiBase.next( ); String valueText = String.valueOf( obj ); if ( fs != null ) { try { lgtext = ValueFormatter.format( obj, fs, Locale.getDefault( ), null ); } catch ( ChartException e ) { // ignore, use original text. } } Label seLabel = (Label) EcoreUtil.copy( se.getLabel( ) ); seLabel.getCaption( ).setValue( valueText ); itm.reuse( seLabel ); dMaxW = Math.max( dMaxW, itm.getFullWidth( ) ); dHeight += itm.getFullHeight( ) + 2; } } } // SETUP VERTICAL SEPARATOR SPACING if ( j < seda.length - 1 ) { dWidth += dSeparatorThickness; } // LEFT INSETS + LEGEND ITEM WIDTH + HORIZONTAL SPACING + // MAX ITEM WIDTH + RIGHT INSETS dWidth += insCA.getLeft( ) + ( 3 * dItemHeight / 2 ) + dHorizontalSpacing + dMaxW + insCA.getRight( ); if ( dHeight > dMaxH ) dMaxH = dHeight; dHeight = 0; dMaxW = 0; } dHeight = dMaxH; } else { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, "exception.illegal.rendering.direction", //$NON-NLS-1$ new Object[]{ d.getName( ) }, ResourceBundle.getBundle( Messages.ENGINE, xs.getLocale( ) ) ); } } else if ( o.getValue( ) == Orientation.HORIZONTAL ) { if ( bPaletteByCategory ) { SeriesDefinition sdBase = null; if ( cm instanceof ChartWithAxes ) { final Axis axPrimaryBase = ( (ChartWithAxes) cm ).getBaseAxes( )[0]; // ONLY // SUPPORT // 1 // BASE // AXIS // FOR // NOW if ( axPrimaryBase.getSeriesDefinitions( ).isEmpty( ) ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, "exception.base.axis.no.series.definitions", //$NON-NLS-1$ ResourceBundle.getBundle( Messages.ENGINE, xs.getLocale( ) ) ); //$NON-NLS-1$ } sdBase = (SeriesDefinition) axPrimaryBase.getSeriesDefinitions( ) .get( 0 ); // OK TO ASSUME // THAT 1 BASE // SERIES // DEFINITION // EXISTS } else if ( cm instanceof ChartWithoutAxes ) { if ( ( (ChartWithoutAxes) cm ).getSeriesDefinitions( ) .isEmpty( ) ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, "exception.base.axis.no.series.definitions", //$NON-NLS-1$ ResourceBundle.getBundle( Messages.ENGINE, xs.getLocale( ) ) ); } sdBase = (SeriesDefinition) ( (ChartWithoutAxes) cm ).getSeriesDefinitions( ) .get( 0 ); // OK TO ASSUME // THAT 1 BASE // SERIES // DEFINITION // EXISTS } seBase = (Series) sdBase.getRunTimeSeries( ).get( 0 ); // OK TO // ASSUME // THAT 1 // BASE // RUNTIME // SERIES // EXISTS DataSetIterator dsiBase = null; try { dsiBase = new DataSetIterator( seBase.getDataSet( ) ); } catch ( Exception ex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, ex ); } FormatSpecifier fs = null; if ( sdBase != null ) { fs = sdBase.getFormatSpecifier( ); } double dMaxHeight = 0; while ( dsiBase.hasNext( ) ) { // TODO filter the not-used legend. Object obj = dsiBase.next( ); String lgtext = String.valueOf( obj ); if ( fs != null ) { try { lgtext = ValueFormatter.format( obj, fs, Locale.getDefault( ), null ); } catch ( ChartException e ) { // ignore, use original text. } } la.getCaption( ).setValue( lgtext ); itm.reuse( la ); dMaxHeight = Math.max( itm.getFullHeight( ), dMaxHeight ); dWidth += itm.getFullWidth( ); } // compute the extra MinSlice legend item if applicable. if ( bMinSliceDefined && bMinSliceApplied ) { la.getCaption( ).setValue( sMinSliceLabel ); itm.reuse( la ); dMaxHeight = Math.max( itm.getFullHeight( ), dMaxHeight ); dWidth += itm.getFullWidth( ); } dHeight = insCA.getTop( ) + dMaxHeight + insCA.getBottom( ); dWidth += ( dsiBase.size( ) + ( ( bMinSliceDefined && bMinSliceApplied ) ? 1 : 0 ) ) * ( insCA.getLeft( ) + ( 3 * dItemHeight ) / 2 + dHorizontalSpacing + insCA.getRight( ) ); } else if ( d.getValue( ) == Direction.TOP_BOTTOM ) // (HORIZONTAL // => // TB) { double dMaxW = 0; double tmpHeight = 0; dSeparatorThickness += dVerticalSpacing; for ( int j = 0; j < seda.length; j++ ) { dWidth = 0; al = seda[j].getRunTimeSeries( ); FormatSpecifier fs = seda[j].getFormatSpecifier( ); for ( int i = 0; i < al.size( ); i++ ) { se = (Series) al.get( i ); Object obj = se.getSeriesIdentifier( ); String lgtext = String.valueOf( obj ); if ( fs != null ) { try { lgtext = ValueFormatter.format( obj, fs, Locale.getDefault( ), null ); } catch ( ChartException e ) { // ignore, use original text. } } la.getCaption( ).setValue( lgtext ); itm.reuse( la ); // LEFT INSETS + LEGEND ITEM WIDTH + HORIZONTAL SPACING // + MAX ITEM WIDTH + RIGHT INSETS double tmpWidth = insCA.getLeft( ) + ( 3 * dItemHeight ) / 2 + dHorizontalSpacing + itm.getFullWidth( ) + insCA.getRight( ); if ( lg.isShowValue( ) ) { DataSetIterator dsiBase = null; try { dsiBase = new DataSetIterator( se.getDataSet( ) ); } catch ( Exception ex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, ex ); } // Use first value for each series. if ( dsiBase.hasNext( ) ) { obj = dsiBase.next( ); String valueText = String.valueOf( obj ); if ( fs != null ) { try { lgtext = ValueFormatter.format( obj, fs, Locale.getDefault( ), null ); } catch ( ChartException e ) { // ignore, use original text. } } Label seLabel = (Label) EcoreUtil.copy( se.getLabel( ) ); seLabel.getCaption( ).setValue( valueText ); itm.reuse( seLabel ); tmpWidth = Math.max( tmpWidth, itm.getFullWidth( ) ); tmpHeight = Math.max( tmpHeight, itm.getFullHeight( ) + 2 ); } } dWidth += tmpWidth; } // SETUP HORIZONTAL SEPARATOR SPACING if ( j < seda.length - 1 ) { dHeight += dSeparatorThickness; } // SET WIDTH TO MAXIMUM ROW WIDTH dMaxW = Math.max( dWidth, dMaxW ); dHeight += insCA.getTop( ) + dItemHeight + insCA.getRight( ) + tmpHeight; } dWidth = dMaxW; } else if ( d.getValue( ) == Direction.LEFT_RIGHT ) // (HORIZONTAL // => // LR) { double tmpHeight = 0; dSeparatorThickness += dHorizontalSpacing; for ( int j = 0; j < seda.length; j++ ) { al = seda[j].getRunTimeSeries( ); FormatSpecifier fs = seda[j].getFormatSpecifier( ); for ( int i = 0; i < al.size( ); i++ ) { se = (Series) al.get( i ); Object obj = se.getSeriesIdentifier( ); String lgtext = String.valueOf( obj ); if ( fs != null ) { try { lgtext = ValueFormatter.format( obj, fs, Locale.getDefault( ), null ); } catch ( ChartException e ) { // ignore, use original text. } } la.getCaption( ).setValue( lgtext ); itm.reuse( la ); // LEFT INSETS + LEGEND ITEM WIDTH + HORIZONTAL SPACING // + MAX ITEM WIDTH + RIGHT INSETS double tmpWidth = insCA.getLeft( ) + ( 3 * dItemHeight ) / 2 + dHorizontalSpacing + itm.getFullWidth( ) + insCA.getRight( ); if ( lg.isShowValue( ) ) { DataSetIterator dsiBase = null; try { dsiBase = new DataSetIterator( se.getDataSet( ) ); } catch ( Exception ex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, ex ); } // Use first value for each series. if ( dsiBase.hasNext( ) ) { obj = dsiBase.next( ); String valueText = String.valueOf( obj ); if ( fs != null ) { try { lgtext = ValueFormatter.format( obj, fs, Locale.getDefault( ), null ); } catch ( ChartException e ) { // ignore, use original text. } } Label seLabel = (Label) EcoreUtil.copy( se.getLabel( ) ); seLabel.getCaption( ).setValue( valueText ); itm.reuse( seLabel ); tmpWidth = Math.max( tmpWidth, itm.getFullWidth( ) ); tmpHeight = Math.max( tmpHeight, itm.getFullHeight( ) + 2 ); } } dWidth += tmpWidth; } // SETUP VERTICAL SEPARATOR SPACING if ( j < seda.length - 1 ) { dWidth += dSeparatorThickness; } } dHeight = insCA.getTop( ) + dItemHeight + insCA.getRight( ) + tmpHeight; } else { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, "exception.illegal.rendering.direction", //$NON-NLS-1$ new Object[]{ d }, ResourceBundle.getBundle( Messages.ENGINE, xs.getLocale( ) ) ); } } else { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, "exception.illegal.rendering.orientation", //$NON-NLS-1$ new Object[]{ o }, ResourceBundle.getBundle( Messages.ENGINE, xs.getLocale( ) ) ); } // consider legend title size. Label lgTitle = lg.getTitle( ); if ( lgTitle != null && lgTitle.isSetVisible( ) && lgTitle.isVisible( ) ) { BoundingBox bb = null; try { bb = Methods.computeBox( xs, IConstants.ABOVE, lgTitle, 0, 0 ); } catch ( IllegalArgumentException uiex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.RENDERING, uiex ); } switch ( lg.getTitlePosition( ).getValue( ) ) { case Position.ABOVE : case Position.BELOW : dHeight += bb.getHeight( ); dWidth = Math.max( dWidth, bb.getWidth( ) ); break; case Position.LEFT : case Position.RIGHT : dWidth += bb.getWidth( ); dHeight = Math.max( dHeight, bb.getHeight( ) ); break; } } itm.dispose( ); // DISPOSE RESOURCE AFTER USE sz = SizeImpl.create( dWidth, dHeight ); return sz; } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/2d2a611b1bd993e5b8997aa31f661b8486b93a43/LegendBuilder.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/LegendBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
6321,
3671,
12,
1599,
291,
1601,
2081,
9280,
16,
14804,
5003,
16,
1082,
202,
6485,
1852,
8526,
24336,
69,
16,
1939,
950,
1042,
436,
5111,
262,
1216,
14804,
503,
202,
95,
202,
202,
759,
18979,
18403,
55,
30,
202,
202,
759,
404,
18,
8061,
7758,
8805,
2120,
15623,
14884,
7085,
202,
202,
759,
576,
18,
15623,
7758,
8805,
10950,
14884,
7085,
202,
202,
759,
890,
18,
8061,
531,
2455,
11367,
202,
202,
16812,
15266,
273,
5003,
18,
588,
16812,
12,
11272,
202,
202,
430,
261,
401,
23623,
18,
291,
694,
14097,
12,
262,
262,
202,
202,
95,
1082,
202,
12849,
394,
14804,
503,
12,
14804,
4410,
3773,
18,
734,
16,
6862,
202,
7984,
503,
18,
13990,
2689,
16,
6862,
202,
6,
4064,
18,
16292,
18,
19235,
18,
76,
280,
94,
1097,
3113,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
18731,
18,
588,
3405,
12,
4838,
18,
28980,
16,
9280,
18,
588,
3916,
12,
262,
262,
11272,
202,
202,
97,
202,
202,
430,
261,
401,
23623,
18,
291,
694,
8212,
12,
262,
262,
202,
202,
95,
1082,
202,
12849,
394,
14804,
503,
12,
14804,
4410,
3773,
18,
734,
16,
6862,
202,
7984,
503,
18,
13990,
2689,
16,
6862,
202,
6,
4064,
18,
16292,
18,
9855,
18,
16187,
86,
3113,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
18731,
18,
588,
3405,
12,
4838,
18,
28980,
16,
9280,
18,
588,
3916,
12,
262,
262,
11272,
202,
202,
97,
202,
202,
759,
12584,
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,
6321,
3671,
12,
1599,
291,
1601,
2081,
9280,
16,
14804,
5003,
16,
1082,
202,
6485,
1852,
8526,
24336,
69,
16,
1939,
950,
1042,
436,
5111,
262,
1216,
14804,
503,
202,
95,
202,
202,
759,
18979,
18403,
55,
30,
202,
202,
759,
404,
18,
8061,
7758,
8805,
2120,
15623,
14884,
7085,
202,
202,
759,
576,
18,
15623,
7758,
8805,
10950,
14884,
7085,
202,
202,
759,
890,
18,
8061,
531,
2455,
11367,
202,
202,
16812,
15266,
273,
5003,
18,
588,
16812,
12,
11272,
202,
202,
430,
261,
401,
23623,
18,
291,
694,
14097,
12,
262,
262,
202,
202,
95,
1082,
202,
12849,
394,
14804,
503,
12,
14804,
4410,
3773,
18,
734,
16,
6862,
202,
7984,
503,
18,
2
] |
return createLoop(LOOP_FOR, body, test, init, incr, lineno); | return createLoop((Node.Jump)loop, LOOP_FOR, body, test, init, incr); | Node createFor(Node init, Node test, Node incr, Node body, int lineno) { return createLoop(LOOP_FOR, body, test, init, incr, lineno); } | 51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/792304a2a96cea5a80c02ff6a02a98f830f7393d/IRFactory.java/buggy/js/rhino/src/org/mozilla/javascript/IRFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
2029,
752,
1290,
12,
907,
1208,
16,
2029,
1842,
16,
2029,
17633,
16,
2029,
1417,
16,
509,
7586,
13,
565,
288,
3639,
327,
752,
6452,
12443,
907,
18,
26743,
13,
6498,
16,
1806,
3665,
67,
7473,
16,
1417,
16,
1842,
16,
1208,
16,
17633,
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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16,
17633,
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
] |
buffer.append("thread-id=").append(getThreadId()).append('\n'); | buffer.append("thread-id=").append(getThreadId()).append('\n'); | public String toString() { StringBuffer buffer = new StringBuffer(); buffer.append("thread-id=").append(getThreadId()).append('\n'); MIFrame f = getFrame(); if (f != null) { buffer.append(getFrame().toString()); } return buffer.toString(); } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/f3a9fae6384fd8bb36474b1661bb6d0b65b38d5f/MISteppingRangeEvent.java/buggy/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/event/MISteppingRangeEvent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1762,
1435,
288,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
202,
202,
4106,
18,
6923,
2932,
5930,
17,
350,
1546,
2934,
6923,
12,
588,
3830,
548,
1435,
2934,
6923,
2668,
64,
82,
8284,
202,
202,
7492,
3219,
284,
273,
25396,
5621,
202,
202,
430,
261,
74,
480,
446,
13,
288,
1082,
202,
4106,
18,
6923,
12,
588,
3219,
7675,
10492,
10663,
202,
202,
97,
202,
202,
2463,
1613,
18,
10492,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1762,
1435,
288,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
202,
202,
4106,
18,
6923,
2932,
5930,
17,
350,
1546,
2934,
6923,
12,
588,
3830,
548,
1435,
2934,
6923,
2668,
64,
82,
8284,
202,
202,
7492,
3219,
284,
273,
25396,
5621,
202,
202,
430,
261,
74,
480,
446,
13,
288,
1082,
202,
4106,
18,
6923,
12,
588,
3219,
7675,
10492,
10663,
202,
202,
97,
202,
202,
2463,
1613,
18,
10492,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
live.addAll(datanodeMapByName.values()); | live.addAll(datanodeMap.values()); | public void DFSNodesStatus(Vector live, Vector dead) { synchronized (heartbeats) { synchronized (datanodeMap) { live.addAll(datanodeMapByName.values()); dead.addAll(deaddatanodeMap.values()); } } } | 51718 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51718/1ff42c841f233b60aa05557014db0d7b72d2c1f0/FSNamesystem.java/buggy/src/java/org/apache/hadoop/dfs/FSNamesystem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
23872,
3205,
1482,
12,
5018,
8429,
16,
5589,
8363,
13,
288,
3639,
3852,
261,
580,
7646,
2323,
13,
288,
5411,
3852,
261,
3404,
14085,
863,
13,
288,
7734,
8429,
18,
1289,
1595,
12,
3404,
14085,
863,
18,
2372,
10663,
7734,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
23872,
3205,
1482,
12,
5018,
8429,
16,
5589,
8363,
13,
288,
3639,
3852,
261,
580,
7646,
2323,
13,
288,
5411,
3852,
261,
3404,
14085,
863,
13,
288,
7734,
8429,
18,
1289,
1595,
12,
3404,
14085,
863,
18,
2372,
10663,
7734,
8363,
18,
1289,
1595,
12,
323,
1289,
270,
14085,
863,
18,
2372,
10663,
5411,
289,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
this.month = Integer.valueOf(monthHidden.getValue().toString()); | final String monthValue = monthHidden.getValue().toString(); if (monthValue.length() > 0) { this.month = Integer.valueOf(monthValue); } | public void setMonthHidden(HtmlInputHidden monthHidden) { if (monthHidden.getValue() != null) { this.month = Integer.valueOf(monthHidden.getValue().toString()); } this.monthHidden = monthHidden; } | 2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/f41ae5ccb66cc44fcfcb1d22fbdcd7480c9901f2/SOPEvaluationManagementBackingBean.java/clean/src/net/sourceforge/fenixedu/presentationTier/backBeans/sop/evaluation/SOPEvaluationManagementBackingBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
5445,
9345,
12,
4353,
1210,
9345,
3138,
9345,
13,
288,
3639,
309,
261,
7496,
9345,
18,
24805,
1435,
480,
446,
13,
288,
5411,
727,
514,
3138,
620,
273,
3138,
9345,
18,
24805,
7675,
10492,
5621,
309,
261,
7496,
620,
18,
2469,
1435,
405,
374,
13,
288,
333,
18,
7496,
273,
2144,
18,
1132,
951,
12,
7496,
620,
1769,
289,
3639,
289,
3639,
333,
18,
7496,
9345,
273,
3138,
9345,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
5445,
9345,
12,
4353,
1210,
9345,
3138,
9345,
13,
288,
3639,
309,
261,
7496,
9345,
18,
24805,
1435,
480,
446,
13,
288,
5411,
727,
514,
3138,
620,
273,
3138,
9345,
18,
24805,
7675,
10492,
5621,
309,
261,
7496,
620,
18,
2469,
1435,
405,
374,
13,
288,
333,
18,
7496,
273,
2144,
18,
1132,
951,
12,
7496,
620,
1769,
289,
3639,
289,
3639,
333,
18,
7496,
9345,
273,
3138,
9345,
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
] |
{ e.doit = ( "0123456789".indexOf( e.text ) >= 0 ); } | { try { Integer.parseInt( e.text ); e.doit = true; } catch ( Exception _ ) { e.doit = false; } } | public void verifyText( VerifyEvent e ) { e.doit = ( "0123456789".indexOf( e.text ) >= 0 ); } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/12e7dfeaba4c2c6b319a7b326a03139b5c5222de/TableOptionDialog.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/TableOptionDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
3929,
1528,
12,
8553,
1133,
425,
262,
1082,
202,
95,
9506,
202,
73,
18,
2896,
305,
273,
261,
315,
26684,
9654,
31806,
12,
425,
18,
955,
262,
1545,
374,
11272,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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1082,
202,
95,
9506,
202,
73,
18,
2896,
305,
273,
261,
315,
26684,
9654,
31806,
12,
425,
18,
955,
262,
1545,
374,
11272,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public static String jsFunction_concat(Context cx, Scriptable thisObj, Object[] args, Function funObj) { | private static String jsFunction_concat(String target, Object[] args) { int N = args.length; if (N == 0) { return target; } | public static String jsFunction_concat(Context cx, Scriptable thisObj, Object[] args, Function funObj) { StringBuffer result = new StringBuffer(); result.append(ScriptRuntime.toString(thisObj)); for (int i = 0; i < args.length; i++) result.append(ScriptRuntime.toString(args[i])); return result.toString(); } | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeString.java/buggy/js/rhino/src/org/mozilla/javascript/NativeString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
3828,
2083,
67,
16426,
12,
1042,
9494,
16,
22780,
15261,
16,
4766,
6647,
1033,
8526,
833,
16,
4284,
9831,
2675,
13,
565,
288,
3639,
6674,
563,
273,
394,
6674,
5621,
3639,
563,
18,
6923,
12,
3651,
5576,
18,
10492,
12,
2211,
2675,
10019,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
5411,
563,
18,
6923,
12,
3651,
5576,
18,
10492,
12,
1968,
63,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
3828,
2083,
67,
16426,
12,
1042,
9494,
16,
22780,
15261,
16,
4766,
6647,
1033,
8526,
833,
16,
4284,
9831,
2675,
13,
565,
288,
3639,
6674,
563,
273,
394,
6674,
5621,
3639,
563,
18,
6923,
12,
3651,
5576,
18,
10492,
12,
2211,
2675,
10019,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
5411,
563,
18,
6923,
12,
3651,
5576,
18,
10492,
12,
1968,
63,
77,
5717,
1769,
3639,
327,
563,
18,
10492,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public Ability getAbilityKeyed(final AbilityCategory aCategory, final String aKey) { if ( aCategory == AbilityCategory.FEAT ) { return getFeatKeyed(aKey); } final List<Ability> abilities = getAggregateAbilityList(aCategory); for ( final Ability ability : abilities ) { if ( ability.getKeyName().equals(aKey) ) { return ability; } } return null; } | 48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/376816acf8bf134fa77bd6ea5c602dbe9af9bfbd/PlayerCharacter.java/clean/code/src/java/pcgen/core/PlayerCharacter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
9771,
1889,
4506,
70,
1889,
653,
329,
12,
6385,
9771,
1889,
4457,
279,
4457,
16,
727,
514,
279,
653,
13,
202,
95,
202,
202,
430,
261,
279,
4457,
422,
9771,
1889,
4457,
18,
8090,
789,
262,
202,
202,
95,
1082,
202,
2463,
13683,
270,
653,
329,
12,
69,
653,
1769,
202,
202,
97,
1082,
202,
6385,
987,
32,
5895,
1889,
34,
1223,
5076,
273,
336,
11490,
5895,
1889,
682,
12,
69,
4457,
1769,
202,
202,
1884,
261,
727,
9771,
1889,
7123,
294,
1223,
5076,
262,
202,
202,
95,
1082,
202,
430,
261,
7123,
18,
588,
13987,
7675,
14963,
12,
69,
653,
13,
262,
1082,
202,
95,
9506,
202,
2463,
7123,
31,
1082,
202,
97,
202,
202,
97,
9506,
202,
2463,
446,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
9771,
1889,
4506,
70,
1889,
653,
329,
12,
6385,
9771,
1889,
4457,
279,
4457,
16,
727,
514,
279,
653,
13,
202,
95,
202,
202,
430,
261,
279,
4457,
422,
9771,
1889,
4457,
18,
8090,
789,
262,
202,
202,
95,
1082,
202,
2463,
13683,
270,
653,
329,
12,
69,
653,
1769,
202,
202,
97,
1082,
202,
6385,
987,
32,
5895,
1889,
34,
1223,
5076,
273,
336,
11490,
5895,
1889,
682,
12,
69,
4457,
1769,
202,
202,
1884,
261,
727,
9771,
1889,
7123,
294,
1223,
5076,
262,
202,
202,
95,
1082,
202,
430,
261,
7123,
18,
588,
13987,
7675,
14963,
12,
69,
653,
13,
262,
1082,
202,
95,
9506,
202,
2463,
7123,
31,
1082,
202,
97,
202,
202,
2
] |
||
else | else | public String getCurrentWorkerETC() { if ( SecurityService.isSuperUser() ) { return MessageFormat.format(" due {0} <br> Last {1} in {2}s <br> Current {3} {4}", new Object[] { lock.getExpires(), searchIndexBuilder.getLastDocument(), searchIndexBuilder.getLastElapsed(), searchIndexBuilder.getCurrentDocument(), searchIndexBuilder.getCurrentElapsed() }); } else { return MessageFormat.format(" due {0}", new Object[] { lock.getExpires()}); } } | 2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/6a4b173c6cb092a278a56da552cff2c113eaefc4/SearchServiceImpl.java/clean/search/search-impl/impl/src/java/org/sakaiproject/search/component/service/impl/SearchServiceImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
514,
5175,
6671,
1584,
39,
1435,
1082,
202,
95,
9506,
202,
430,
261,
6036,
1179,
18,
291,
8051,
1299,
1435,
262,
4697,
202,
95,
6862,
202,
2463,
17377,
18,
2139,
2932,
6541,
288,
20,
97,
411,
2848,
34,
6825,
288,
21,
97,
316,
288,
22,
97,
87,
411,
2848,
34,
6562,
288,
23,
97,
288,
24,
1532,
16,
25083,
202,
2704,
1033,
8526,
288,
25083,
202,
739,
18,
588,
14449,
9334,
25083,
202,
3072,
1016,
1263,
18,
588,
3024,
2519,
9334,
25083,
202,
3072,
1016,
1263,
18,
588,
3024,
28827,
9334,
25083,
202,
3072,
1016,
1263,
18,
588,
3935,
2519,
9334,
25083,
202,
3072,
1016,
1263,
18,
588,
3935,
28827,
1435,
6862,
202,
22938,
9506,
202,
97,
9506,
202,
12107,
4697,
202,
95,
6862,
202,
2463,
17377,
18,
2139,
2932,
6541,
288,
20,
1532,
16,
25083,
202,
2704,
1033,
8526,
288,
6862,
1082,
202,
739,
18,
588,
14449,
17767,
1769,
9506,
202,
97,
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,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377,
18,
2139,
2932,
6541,
288,
20,
97,
411,
2848,
34,
6825,
288,
21,
97,
316,
288,
22,
97,
87,
411,
2848,
34,
6562,
288,
23,
97,
288,
24,
1532,
16,
25083,
202,
2704,
1033,
8526,
288,
25083,
202,
739,
18,
588,
14449,
9334,
25083,
202,
3072,
1016,
1263,
18,
588,
3024,
2519,
9334,
25083,
202,
3072,
1016,
1263,
18,
588,
3024,
28827,
9334,
25083,
202,
3072,
1016,
1263,
18,
588,
3935,
2519,
9334,
25083,
202,
3072,
1016,
1263,
18,
588,
3935,
28827,
1435,
6862,
202,
22938,
9506,
202,
2
] |
linePos ++; if (linePos == line.length()) | linePos++; if (linePos == line.length()) { | public int read() throws IOException { if (tokenizer == null) tokenizer = new LineTokenizer(); while (line == null || line.length() == 0) { line = tokenizer.getToken(in); if (line == null) return -1; for (Enumeration e = filters.elements(); e.hasMoreElements();) { Filter filter = (Filter) e.nextElement(); line = filter.filter(line); if (line == null) break; } linePos = 0; if (line != null) { if (tokenizer.getPostToken().length() != 0) { if (delimOutput != null) line = line + delimOutput; else line = line + tokenizer.getPostToken(); } } } int ch = line.charAt(linePos); linePos ++; if (linePos == line.length()) line = null; return ch; } | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/01a0be022dda5f39aabf77afc4fb7c1d4c468218/TokenFilter.java/clean/src/main/org/apache/tools/ant/filters/TokenFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
855,
1435,
1216,
1860,
288,
3639,
309,
261,
2316,
1824,
422,
446,
13,
5411,
10123,
273,
394,
5377,
10524,
5621,
3639,
1323,
261,
1369,
422,
446,
747,
980,
18,
2469,
1435,
422,
374,
13,
288,
5411,
980,
273,
10123,
18,
588,
1345,
12,
267,
1769,
5411,
309,
261,
1369,
422,
446,
13,
7734,
327,
300,
21,
31,
5411,
364,
261,
21847,
425,
273,
3415,
18,
6274,
5621,
425,
18,
5332,
7417,
3471,
5621,
13,
5411,
288,
7734,
4008,
1034,
273,
261,
1586,
13,
425,
18,
4285,
1046,
5621,
7734,
980,
273,
1034,
18,
2188,
12,
1369,
1769,
7734,
309,
261,
1369,
422,
446,
13,
10792,
898,
31,
5411,
289,
5411,
980,
1616,
273,
374,
31,
5411,
309,
261,
1369,
480,
446,
13,
288,
7734,
309,
261,
2316,
1824,
18,
588,
3349,
1345,
7675,
2469,
1435,
480,
374,
13,
288,
10792,
309,
261,
23822,
1447,
480,
446,
13,
13491,
980,
273,
980,
397,
10508,
1447,
31,
10792,
469,
13491,
980,
273,
980,
397,
10123,
18,
588,
3349,
1345,
5621,
7734,
289,
5411,
289,
3639,
289,
3639,
509,
462,
273,
980,
18,
3001,
861,
12,
1369,
1616,
1769,
3639,
980,
1616,
965,
31,
3639,
309,
261,
1369,
1616,
422,
980,
18,
2469,
10756,
5411,
980,
273,
446,
31,
3639,
327,
462,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
855,
1435,
1216,
1860,
288,
3639,
309,
261,
2316,
1824,
422,
446,
13,
5411,
10123,
273,
394,
5377,
10524,
5621,
3639,
1323,
261,
1369,
422,
446,
747,
980,
18,
2469,
1435,
422,
374,
13,
288,
5411,
980,
273,
10123,
18,
588,
1345,
12,
267,
1769,
5411,
309,
261,
1369,
422,
446,
13,
7734,
327,
300,
21,
31,
5411,
364,
261,
21847,
425,
273,
3415,
18,
6274,
5621,
425,
18,
5332,
7417,
3471,
5621,
13,
5411,
288,
7734,
4008,
1034,
273,
261,
1586,
13,
425,
18,
4285,
1046,
5621,
7734,
980,
273,
1034,
18,
2188,
12,
1369,
1769,
7734,
309,
261,
1369,
422,
446,
13,
10792,
898,
31,
5411,
289,
5411,
980,
1616,
273,
374,
31,
5411,
2
] |
m_columnReplacements.put("ipinterface.ipaddr", new RowHasBogusData("ipInterface", "ipAddr")); | m_columnReplacements.put("ipinterface.ipaddr", new RowHasBogusData("ipInterface", "ipAddr")); | public Installer() { AutoIntegerIdMapStore snmpInterfaceId = new AutoIntegerIdMapStore(1, new String[] { "nodeid", "ipaddr", "snmpifindex" }); m_columnReplacements.put("snmpinterface.id", snmpInterfaceId); AutoIntegerIdMapStore ipInterfaceId = new AutoIntegerIdMapStore(1, new String[] { "nodeid", "ipaddr", "ifindex" }); m_columnReplacements.put("ipinterface.id", ipInterfaceId); MapStoreIdGetter IpInterfaceSnmpInterfaceId = new MapStoreIdGetter(snmpInterfaceId, new String[] { "nodeid", "ipaddr", "ifindex" }, true); m_columnReplacements.put("ipinterface.snmpinterfaceid", IpInterfaceSnmpInterfaceId); AutoIntegerIdMapStore ifServicesId = new AutoIntegerIdMapStore(1, new String[] { "nodeid", "ipaddr", "serviceid" }); m_columnReplacements.put("ifservices.id", ifServicesId); MapStoreIdGetter ifServicesIpInterfaceId = new MapStoreIdGetter(ipInterfaceId, new String[] { "nodeid", "ipaddr", "ifindex" }, false); m_columnReplacements.put("ifservices.ipinterfaceid", ifServicesIpInterfaceId); MapStoreIdGetter outagesifServiceId = new MapStoreIdGetter(ifServicesId, new String[] { "nodeid", "ipaddr", "serviceid" }, false); m_columnReplacements.put("outages.ifserviceid", outagesifServiceId); m_columnReplacements.put("events.eventsource", new EventSourceReplacement()); m_columnReplacements.put("outages.outageid", new AutoInteger(1)); m_columnReplacements.put("snmpinterface.nodeid", new RowHasBogusData("snmpInterface", "nodeId")); m_columnReplacements.put("snmpinterface.snmpifindex", new RowHasBogusData("snmpInterface", "snmpIfIndex")); m_columnReplacements.put("ipinterface.nodeid", new RowHasBogusData("ipInterface", "nodeId")); m_columnReplacements.put("ipinterface.ipaddr", new RowHasBogusData("ipInterface", "ipAddr")); m_columnReplacements.put("ifservices.nodeid", new RowHasBogusData("ifservices", "nodeId")); m_columnReplacements.put("ifservices.ipaddr", new RowHasBogusData("ifservices", "ipaddr")); m_columnReplacements.put("ifservices.serviceid", new RowHasBogusData("ifservices", "serviceId")); m_columnReplacements.put("outages.nodeid", new RowHasBogusData("outages", "nodeId")); m_columnReplacements.put("outages.serviceid", new RowHasBogusData("outages", "serviceId")); /* * This is totally bogus. outages.svcregainedeventid is a foreign * key that points at events.eventid, and a fixed replacement of zero * will break, because there should never be an event with an ID of * zero. I don't think it ever got executed before due to the * null replacement only being performed if a column was marked as * NOT NULL. */ /* m_columnReplacements.put("outages.svcregainedeventid", new FixedIntegerReplacement(0)); */ // Disabled for the same reason as above /* m_columnReplacements.put("notifications.eventid", new FixedIntegerReplacement(0)); */ m_columnReplacements.put("usersnotified.id", new AutoInteger(1)); m_columnReplacements.put("assets.id", new AutoInteger(1)); } | 25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/9c0a59382d378a750edf84524762ab71e335b4b3/Installer.java/clean/opennms-install/src/main/java/org/opennms/install/Installer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
10284,
264,
1435,
288,
3639,
8064,
4522,
548,
863,
2257,
15366,
1358,
548,
273,
5411,
394,
8064,
4522,
548,
863,
2257,
12,
21,
16,
394,
514,
8526,
288,
315,
2159,
350,
3113,
315,
625,
4793,
3113,
315,
26527,
430,
1615,
6,
15549,
3639,
312,
67,
2827,
28440,
18,
458,
2932,
26527,
5831,
18,
350,
3113,
15366,
1358,
548,
1769,
7734,
8064,
4522,
548,
863,
2257,
2359,
1358,
548,
273,
5411,
394,
8064,
4522,
548,
863,
2257,
12,
21,
16,
394,
514,
8526,
288,
315,
2159,
350,
3113,
315,
625,
4793,
3113,
315,
430,
1615,
6,
15549,
3639,
312,
67,
2827,
28440,
18,
458,
2932,
625,
5831,
18,
350,
3113,
2359,
1358,
548,
1769,
3639,
1635,
2257,
548,
8461,
14709,
1358,
10461,
1291,
1358,
548,
273,
5411,
394,
1635,
2257,
548,
8461,
12,
26527,
1358,
548,
16,
394,
514,
8526,
288,
315,
2159,
350,
3113,
315,
625,
4793,
3113,
315,
430,
1615,
6,
19879,
638,
1769,
3639,
312,
67,
2827,
28440,
18,
458,
2932,
625,
5831,
18,
26527,
5831,
350,
3113,
14709,
1358,
10461,
1291,
1358,
548,
1769,
7734,
8064,
4522,
548,
863,
2257,
309,
5676,
548,
273,
5411,
394,
8064,
4522,
548,
863,
2257,
12,
21,
16,
394,
514,
8526,
288,
315,
2159,
350,
3113,
315,
625,
4793,
3113,
315,
3278,
350,
6,
15549,
3639,
312,
67,
2827,
28440,
18,
458,
2932,
430,
8387,
18,
350,
3113,
309,
5676,
548,
1769,
7734,
1635,
2257,
548,
8461,
309,
5676,
5273,
1358,
548,
273,
5411,
394,
1635,
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,
10284,
264,
1435,
288,
3639,
8064,
4522,
548,
863,
2257,
15366,
1358,
548,
273,
5411,
394,
8064,
4522,
548,
863,
2257,
12,
21,
16,
394,
514,
8526,
288,
315,
2159,
350,
3113,
315,
625,
4793,
3113,
315,
26527,
430,
1615,
6,
15549,
3639,
312,
67,
2827,
28440,
18,
458,
2932,
26527,
5831,
18,
350,
3113,
15366,
1358,
548,
1769,
7734,
8064,
4522,
548,
863,
2257,
2359,
1358,
548,
273,
5411,
394,
8064,
4522,
548,
863,
2257,
12,
21,
16,
394,
514,
8526,
288,
315,
2159,
350,
3113,
315,
625,
4793,
3113,
315,
430,
1615,
6,
15549,
3639,
312,
67,
2827,
28440,
18,
458,
2932,
625,
5831,
18,
350,
3113,
2359,
1358,
548,
1769,
3639,
1635,
2257,
548,
2
] |
MagnetOptions magnet = MagnetOptions.createMagnet(textQuery, fileName, urn, defaultURLs); | magnet = MagnetOptions.createMagnet(textQuery, fileName, urn, defaultURLs); | private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { if (getMagnet() == null) { ObjectInputStream.GetField fields = stream.readFields(); String textQuery = (String) fields.get("_textQuery", null); URN urn = (URN) fields.get("_urn", null); String fileName = (String) fields.get("_filename", null); String[] defaultURLs = (String[])fields.get("_defaultURLs", null); MagnetOptions magnet = MagnetOptions.createMagnet(textQuery, fileName, urn, defaultURLs); if (!magnet.isDownloadable()) { throw new IOException("Old undownloadable magnet"); } propertiesMap.put(MAGNET, magnet); } } | 5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/bedfb975f1afbac4b0f7093c9013c7bae750a9bc/MagnetDownloader.java/clean/components/gnutella-core/src/main/java/com/limegroup/gnutella/downloader/MagnetDownloader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
17362,
12,
921,
4348,
1407,
13,
202,
15069,
1860,
16,
10403,
288,
202,
202,
430,
261,
588,
11372,
2758,
1435,
422,
446,
13,
288,
1082,
202,
921,
4348,
18,
967,
974,
1466,
273,
1407,
18,
896,
2314,
5621,
1082,
202,
780,
977,
1138,
273,
261,
780,
13,
1466,
18,
588,
2932,
67,
955,
1138,
3113,
446,
1769,
1082,
202,
8521,
18412,
273,
261,
8521,
13,
1466,
18,
588,
2932,
67,
321,
3113,
446,
1769,
1082,
202,
780,
3968,
273,
261,
780,
13,
1466,
18,
588,
2932,
67,
3459,
3113,
446,
1769,
1082,
202,
780,
8526,
805,
15749,
273,
261,
780,
63,
5717,
2821,
18,
588,
2932,
67,
1886,
15749,
3113,
446,
1769,
1082,
202,
11372,
2758,
1320,
4447,
2758,
273,
12342,
2758,
1320,
18,
2640,
11372,
2758,
12,
955,
1138,
16,
3968,
16,
18412,
16,
805,
15749,
1769,
1082,
202,
430,
16051,
4527,
2758,
18,
291,
7109,
429,
10756,
288,
9506,
202,
12849,
394,
1860,
2932,
7617,
640,
7813,
429,
4447,
2758,
8863,
1082,
202,
97,
1082,
202,
4738,
863,
18,
458,
12,
49,
1781,
14843,
16,
4447,
2758,
1769,
202,
202,
97,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
17362,
12,
921,
4348,
1407,
13,
202,
15069,
1860,
16,
10403,
288,
202,
202,
430,
261,
588,
11372,
2758,
1435,
422,
446,
13,
288,
1082,
202,
921,
4348,
18,
967,
974,
1466,
273,
1407,
18,
896,
2314,
5621,
1082,
202,
780,
977,
1138,
273,
261,
780,
13,
1466,
18,
588,
2932,
67,
955,
1138,
3113,
446,
1769,
1082,
202,
8521,
18412,
273,
261,
8521,
13,
1466,
18,
588,
2932,
67,
321,
3113,
446,
1769,
1082,
202,
780,
3968,
273,
261,
780,
13,
1466,
18,
588,
2932,
67,
3459,
3113,
446,
1769,
1082,
202,
780,
8526,
805,
15749,
273,
261,
780,
63,
5717,
2821,
18,
588,
2932,
67,
1886,
15749,
3113,
446,
1769,
1082,
202,
11372,
2
] |
VFSManager.runInWorkThread(printable); | printable.print(); | public static void print(final View view, final Buffer buffer, boolean selection) { job = getPrintJob(); job.setJobName(buffer.getPath()); boolean header = jEdit.getBooleanProperty("print.header"); boolean footer = jEdit.getBooleanProperty("print.footer"); boolean lineNumbers = jEdit.getBooleanProperty("print.lineNumbers"); boolean color = jEdit.getBooleanProperty("print.color"); Font font = jEdit.getFontProperty("print.font"); BufferPrintable printable = new BufferPrintable(job,null,view, buffer,font,header,footer,lineNumbers,color); job.setPrintable(printable,format); if(!job.printDialog()) return; VFSManager.runInWorkThread(printable); } //}}} | 8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/f7732ce5bc20ffedae52e7d1af3efcbef73061c6/BufferPrinter1_3.java/buggy/org/gjt/sp/jedit/print/BufferPrinter1_3.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1172,
12,
6385,
4441,
1476,
16,
727,
3525,
1613,
16,
1250,
4421,
13,
202,
95,
202,
202,
4688,
273,
8248,
474,
2278,
5621,
202,
202,
4688,
18,
542,
29425,
12,
4106,
18,
588,
743,
10663,
202,
202,
6494,
1446,
273,
525,
4666,
18,
588,
5507,
1396,
2932,
1188,
18,
3374,
8863,
202,
202,
6494,
9860,
273,
525,
4666,
18,
588,
5507,
1396,
2932,
1188,
18,
14723,
8863,
202,
202,
6494,
980,
10072,
273,
525,
4666,
18,
588,
5507,
1396,
2932,
1188,
18,
1369,
10072,
8863,
202,
202,
6494,
2036,
273,
525,
4666,
18,
588,
5507,
1396,
2932,
1188,
18,
3266,
8863,
202,
202,
5711,
3512,
273,
525,
4666,
18,
588,
5711,
1396,
2932,
1188,
18,
5776,
8863,
202,
202,
1892,
5108,
429,
23474,
273,
394,
3525,
5108,
429,
12,
4688,
16,
2011,
16,
1945,
16,
1082,
202,
4106,
16,
5776,
16,
3374,
16,
14723,
16,
1369,
10072,
16,
3266,
1769,
202,
202,
4688,
18,
542,
5108,
429,
12,
1188,
429,
16,
2139,
1769,
202,
202,
430,
12,
5,
4688,
18,
1188,
6353,
10756,
1082,
202,
2463,
31,
202,
202,
58,
4931,
1318,
18,
2681,
382,
2421,
3830,
12,
1188,
429,
1769,
202,
97,
368,
9090,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1172,
12,
6385,
4441,
1476,
16,
727,
3525,
1613,
16,
1250,
4421,
13,
202,
95,
202,
202,
4688,
273,
8248,
474,
2278,
5621,
202,
202,
4688,
18,
542,
29425,
12,
4106,
18,
588,
743,
10663,
202,
202,
6494,
1446,
273,
525,
4666,
18,
588,
5507,
1396,
2932,
1188,
18,
3374,
8863,
202,
202,
6494,
9860,
273,
525,
4666,
18,
588,
5507,
1396,
2932,
1188,
18,
14723,
8863,
202,
202,
6494,
980,
10072,
273,
525,
4666,
18,
588,
5507,
1396,
2932,
1188,
18,
1369,
10072,
8863,
202,
202,
6494,
2036,
273,
525,
4666,
18,
588,
5507,
1396,
2932,
1188,
18,
3266,
8863,
202,
202,
5711,
3512,
273,
525,
4666,
18,
588,
5711,
1396,
2932,
1188,
2
] |
public int[] getCurrentExpressionNodeStack() { return m_currentExpressionNodes; } | public IntStack getCurrentExpressionNodeStack() { return m_currentExpressionNodes; } | public int[] getCurrentExpressionNodeStack() { return m_currentExpressionNodes; } | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/d51b08356cc6f8c78bee2a852df4e9888db4d097/XPathContext.java/buggy/src/org/apache/xpath/XPathContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
8526,
5175,
2300,
907,
2624,
1435,
288,
327,
312,
67,
2972,
2300,
3205,
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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,
1435,
288,
327,
312,
67,
2972,
2300,
3205,
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,
-100,
-100,
-100,
-100,
-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 (in.match('g')) | if (matchChar('g')) | public int getToken() throws IOException { int c; tokenno++; // Check for pushed-back token if (this.pushbackToken != EOF) { int result = this.pushbackToken; this.pushbackToken = EOF; return result; } // Eat whitespace, possibly sensitive to newlines. do { c = in.read(); if (c == '\n') { flags &= ~TSF_DIRTYLINE; if ((flags & TSF_NEWLINES) != 0) break; } } while (isJSSpace(c) || c == '\n'); if (c == EOF_CHAR) return EOF; if (c != '-' && c != '\n') flags |= TSF_DIRTYLINE; // identifier/keyword/instanceof? // watch out for starting with a <backslash> boolean identifierStart; boolean isUnicodeEscapeStart = false; if (c == '\\') { c = in.read(); if (c == 'u') { identifierStart = true; isUnicodeEscapeStart = true; stringBufferTop = 0; } else { identifierStart = false; c = '\\'; in.unread(); } } else { identifierStart = Character.isJavaIdentifierStart((char)c); if (identifierStart) { stringBufferTop = 0; addToString(c); } } if (identifierStart) { boolean containsEscape = isUnicodeEscapeStart; for (;;) { if (isUnicodeEscapeStart) { // strictly speaking we should probably push-back // all the bad characters if the <backslash>uXXXX // sequence is malformed. But since there isn't a // correct context(is there?) for a bad Unicode // escape sequence in an identifier, we can report // an error here. int escapeVal = 0; for (int i = 0; i != 4; ++i) { c = in.read(); escapeVal = (escapeVal << 4) | xDigitToInt(c); // Next check takes care about c < 0 and bad escape if (escapeVal < 0) { break; } } if (escapeVal < 0) { reportSyntaxError("msg.invalid.escape", null); return ERROR; } addToString(escapeVal); isUnicodeEscapeStart = false; } else { c = in.read(); if (c == '\\') { c = in.read(); if (c == 'u') { isUnicodeEscapeStart = true; containsEscape = true; } else { reportSyntaxError("msg.illegal.character", null); return ERROR; } } else { if (!Character.isJavaIdentifierPart((char)c)) { break; } addToString(c); } } } in.unread(); String str = getStringFromBuffer(); if (!containsEscape) { // OPT we shouldn't have to make a string (object!) to // check if it's a keyword. // Return the corresponding token if it's a keyword int result = stringToKeyword(str); if (result != EOF) { if (result != RESERVED) { return result; } else if (!Context.getContext().hasFeature( Context.FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER)) { return result; } else { // If implementation permits to use future reserved // keywords in violation with the EcmaScript standard, // treat it as name but issue warning Object[] errArgs = { str }; reportSyntaxWarning("msg.reserved.keyword", errArgs); } } } this.string = str; return NAME; } // is it a number? if (isDigit(c) || (c == '.' && isDigit(in.peek()))) { stringBufferTop = 0; int base = 10; if (c == '0') { c = in.read(); if (c == 'x' || c == 'X') { base = 16; c = in.read(); } else if (isDigit(c)) { base = 8; } else { addToString('0'); } } if (base == 16) { while (0 <= xDigitToInt(c)) { addToString(c); c = in.read(); } } else { while ('0' <= c && c <= '9') { /* * We permit 08 and 09 as decimal numbers, which * makes our behavior a superset of the ECMA * numeric grammar. We might not always be so * permissive, so we warn about it. */ if (base == 8 && c >= '8') { Object[] errArgs = { c == '8' ? "8" : "9" }; reportSyntaxWarning("msg.bad.octal.literal", errArgs); base = 10; } addToString(c); c = in.read(); } } boolean isInteger = true; if (base == 10 && (c == '.' || c == 'e' || c == 'E')) { isInteger = false; if (c == '.') { do { addToString(c); c = in.read(); } while (isDigit(c)); } if (c == 'e' || c == 'E') { addToString(c); c = in.read(); if (c == '+' || c == '-') { addToString(c); c = in.read(); } if (!isDigit(c)) { reportSyntaxError("msg.missing.exponent", null); return ERROR; } do { addToString(c); c = in.read(); } while (isDigit(c)); } } in.unread(); String numString = getStringFromBuffer(); double dval; if (base == 10 && !isInteger) { try { // Use Java conversion to number from string... dval = (Double.valueOf(numString)).doubleValue(); } catch (NumberFormatException ex) { Object[] errArgs = { ex.getMessage() }; reportSyntaxError("msg.caught.nfe", errArgs); return ERROR; } } else { dval = ScriptRuntime.stringToNumber(numString, 0, base); } this.number = dval; return NUMBER; } // is it a string? if (c == '"' || c == '\'') { // We attempt to accumulate a string the fast way, by // building it directly out of the reader. But if there // are any escaped characters in the string, we revert to // building it out of a StringBuffer. int quoteChar = c; int val = 0; stringBufferTop = 0; c = in.read(); strLoop: while (c != quoteChar) { if (c == '\n' || c == EOF_CHAR) { in.unread(); reportSyntaxError("msg.unterminated.string.lit", null); return ERROR; } if (c == '\\') { // We've hit an escaped character c = in.read(); switch (c) { case 'b': c = '\b'; break; case 'f': c = '\f'; break; case 'n': c = '\n'; break; case 'r': c = '\r'; break; case 't': c = '\t'; break; // \v a late addition to the ECMA spec, // it is not in Java, so use 0xb case 'v': c = 0xb; break; case 'u': { /* * Get 4 hex digits; if the u escape is not * followed by 4 hex digits, use 'u' + the literal * character sequence that follows. */ int escapeStart = stringBufferTop; addToString('u'); int escapeVal = 0; for (int i = 0; i != 4; ++i) { c = in.read(); escapeVal = (escapeVal << 4) | xDigitToInt(c); if (escapeVal < 0) { continue strLoop; } addToString(c); } // prepare for replace of stored 'u' sequence // by escape value stringBufferTop = escapeStart; c = escapeVal; } break; case 'x': { /* Get 2 hex digits, defaulting to 'x' + literal * sequence, as above. */ c = in.read(); int escapeVal = xDigitToInt(c); if (escapeVal < 0) { addToString('x'); continue strLoop; } else { int c1 = c; c = in.read(); escapeVal = (escapeVal << 4) | xDigitToInt(c); if (escapeVal < 0) { addToString('x'); addToString(c1); continue strLoop; } else { // got 2 hex digits c = escapeVal; } } } break; default: if ('0' <= c && c < '8') { val = c - '0'; c = in.read(); if ('0' <= c && c < '8') { val = 8 * val + c - '0'; c = in.read(); if ('0' <= c && c < '8' && val <= 037) { // c is 3rd char of octal sequence only if // the resulting val <= 0377 val = 8 * val + c - '0'; c = in.read(); } } in.unread(); c = val; } } } addToString(c); c = in.read(); } this.string = getStringFromBuffer(); return STRING; } switch (c) { case '\n': return EOL; case ';': return SEMI; case '[': return LB; case ']': return RB; case '{': return LC; case '}': return RC; case '(': return LP; case ')': return RP; case ',': return COMMA; case '?': return HOOK; case ':': return COLON; case '.': return DOT; case '|': if (in.match('|')) { return OR; } else if (in.match('=')) { this.op = BITOR; return ASSIGN; } else { return BITOR; } case '^': if (in.match('=')) { this.op = BITXOR; return ASSIGN; } else { return BITXOR; } case '&': if (in.match('&')) { return AND; } else if (in.match('=')) { this.op = BITAND; return ASSIGN; } else { return BITAND; } case '=': if (in.match('=')) { if (in.match('=')) this.op = SHEQ; else this.op = EQ; return EQOP; } else { this.op = NOP; return ASSIGN; } case '!': if (in.match('=')) { if (in.match('=')) this.op = SHNE; else this.op = NE; return EQOP; } else { this.op = NOT; return UNARYOP; } case '<': /* NB:treat HTML begin-comment as comment-till-eol */ if (in.match('!')) { if (in.match('-')) { if (in.match('-')) { skipLine(); return getToken(); // in place of 'goto retry' } in.unread(); } in.unread(); } if (in.match('<')) { if (in.match('=')) { this.op = LSH; return ASSIGN; } else { this.op = LSH; return SHOP; } } else { if (in.match('=')) { this.op = LE; return RELOP; } else { this.op = LT; return RELOP; } } case '>': if (in.match('>')) { if (in.match('>')) { if (in.match('=')) { this.op = URSH; return ASSIGN; } else { this.op = URSH; return SHOP; } } else { if (in.match('=')) { this.op = RSH; return ASSIGN; } else { this.op = RSH; return SHOP; } } } else { if (in.match('=')) { this.op = GE; return RELOP; } else { this.op = GT; return RELOP; } } case '*': if (in.match('=')) { this.op = MUL; return ASSIGN; } else { return MUL; } case '/': // is it a // comment? if (in.match('/')) { skipLine(); return getToken(); } if (in.match('*')) { while ((c = in.read()) != -1 && !(c == '*' && in.match('/'))) { ; // empty loop body } if (c == EOF_CHAR) { reportSyntaxError("msg.unterminated.comment", null); return ERROR; } return getToken(); // `goto retry' } // is it a regexp? if ((flags & TSF_REGEXP) != 0) { stringBufferTop = 0; while ((c = in.read()) != '/') { if (c == '\n' || c == EOF_CHAR) { in.unread(); reportSyntaxError("msg.unterminated.re.lit", null); return ERROR; } if (c == '\\') { addToString(c); c = in.read(); } addToString(c); } int reEnd = stringBufferTop; while (true) { if (in.match('g')) addToString('g'); else if (in.match('i')) addToString('i'); else if (in.match('m')) addToString('m'); else break; } if (isAlpha(in.peek())) { reportSyntaxError("msg.invalid.re.flag", null); return ERROR; } this.string = new String(stringBuffer, 0, reEnd); this.regExpFlags = new String(stringBuffer, reEnd, stringBufferTop - reEnd); return REGEXP; } if (in.match('=')) { this.op = DIV; return ASSIGN; } else { return DIV; } case '%': this.op = MOD; if (in.match('=')) { return ASSIGN; } else { return MOD; } case '~': this.op = BITNOT; return UNARYOP; case '+': if (in.match('=')) { this.op = ADD; return ASSIGN; } else if (in.match('+')) { return INC; } else { return ADD; } case '-': if (in.match('=')) { this.op = SUB; c = ASSIGN; } else if (in.match('-')) { if (0 == (flags & TSF_DIRTYLINE)) { // treat HTML end-comment after possible whitespace // after line start as comment-utill-eol if (in.match('>')) { skipLine(); return getToken(); } } c = DEC; } else { c = SUB; } flags |= TSF_DIRTYLINE; return c; default: reportSyntaxError("msg.illegal.character", null); return ERROR; } } | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/5739d875ab983543fdf729f70a15773fdbe9b1bd/TokenStream.java/buggy/src/org/mozilla/javascript/TokenStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
9162,
1435,
1216,
1860,
288,
3639,
509,
276,
31,
3639,
1147,
2135,
9904,
31,
3639,
368,
2073,
364,
18543,
17,
823,
1147,
3639,
309,
261,
2211,
18,
6206,
823,
1345,
480,
6431,
13,
288,
5411,
509,
563,
273,
333,
18,
6206,
823,
1345,
31,
5411,
333,
18,
6206,
823,
1345,
273,
6431,
31,
5411,
327,
563,
31,
3639,
289,
3639,
368,
512,
270,
7983,
16,
10016,
16692,
358,
19181,
18,
3639,
741,
288,
5411,
276,
273,
316,
18,
896,
5621,
5411,
309,
261,
71,
422,
2337,
82,
6134,
288,
7734,
2943,
12058,
4871,
8047,
42,
67,
4537,
5538,
5997,
31,
7734,
309,
14015,
7133,
473,
15508,
42,
67,
12917,
5997,
55,
13,
480,
374,
13,
10792,
898,
31,
5411,
289,
3639,
289,
1323,
261,
291,
46,
1260,
909,
12,
71,
13,
747,
276,
422,
2337,
82,
8284,
3639,
309,
261,
71,
422,
6431,
67,
7305,
13,
5411,
327,
6431,
31,
3639,
309,
261,
71,
480,
4014,
597,
276,
480,
2337,
82,
6134,
5411,
2943,
5626,
15508,
42,
67,
4537,
5538,
5997,
31,
3639,
368,
2756,
19,
11041,
19,
1336,
792,
35,
3639,
368,
4267,
596,
364,
5023,
598,
279,
411,
823,
12877,
34,
3639,
1250,
2756,
1685,
31,
3639,
1250,
353,
16532,
8448,
1685,
273,
629,
31,
3639,
309,
261,
71,
422,
5282,
13,
288,
5411,
276,
273,
316,
18,
896,
5621,
5411,
309,
261,
71,
422,
296,
89,
6134,
288,
7734,
2756,
1685,
273,
638,
31,
7734,
353,
16532,
8448,
1685,
273,
638,
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,
509,
9162,
1435,
1216,
1860,
288,
3639,
509,
276,
31,
3639,
1147,
2135,
9904,
31,
3639,
368,
2073,
364,
18543,
17,
823,
1147,
3639,
309,
261,
2211,
18,
6206,
823,
1345,
480,
6431,
13,
288,
5411,
509,
563,
273,
333,
18,
6206,
823,
1345,
31,
5411,
333,
18,
6206,
823,
1345,
273,
6431,
31,
5411,
327,
563,
31,
3639,
289,
3639,
368,
512,
270,
7983,
16,
10016,
16692,
358,
19181,
18,
3639,
741,
288,
5411,
276,
273,
316,
18,
896,
5621,
5411,
309,
261,
71,
422,
2337,
82,
6134,
288,
7734,
2943,
12058,
4871,
8047,
42,
67,
4537,
5538,
5997,
31,
7734,
309,
14015,
7133,
473,
15508,
42,
67,
12917,
5997,
55,
13,
480,
374,
13,
10792,
2
] |
return ((Byte) Support.convert(pi.value, java.sql.Types.TINYINT, null)).byteValue(); | return ((Byte) Support.convert(this, pi.value, java.sql.Types.TINYINT, null)).byteValue(); | public byte getByte(int parameterIndex) throws SQLException { ParamInfo pi = getParameter(parameterIndex); return ((Byte) Support.convert(pi.value, java.sql.Types.TINYINT, null)).byteValue(); } | 2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/f4ca02561623734f948ac817af46e63b233d7b9b/JtdsCallableStatement.java/buggy/src/main/net/sourceforge/jtds/jdbc/JtdsCallableStatement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1160,
20999,
12,
474,
25412,
13,
1216,
6483,
288,
3639,
3014,
966,
4790,
273,
5575,
12,
6775,
1016,
1769,
3639,
327,
14015,
3216,
13,
13619,
18,
6283,
12,
2211,
16,
4790,
18,
1132,
16,
2252,
18,
4669,
18,
2016,
18,
56,
31853,
3217,
16,
446,
13,
2934,
7229,
620,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
1071,
1160,
20999,
12,
474,
25412,
13,
1216,
6483,
288,
3639,
3014,
966,
4790,
273,
5575,
12,
6775,
1016,
1769,
3639,
327,
14015,
3216,
13,
13619,
18,
6283,
12,
2211,
16,
4790,
18,
1132,
16,
2252,
18,
4669,
18,
2016,
18,
56,
31853,
3217,
16,
446,
13,
2934,
7229,
620,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
out.println("\tpublic static String[] _elements = {"); for(int i=0; i<allTypes.size(); i++) { String type = (String) allTypes.elementAt(i); out.print("\t\t\"" + type + "\""); if(i<allTypes.size()-1) out.println(","); else out.println(); } out.println("\t};"); out.println(); | out.println("\tpublic static String[] _elements = {"); for(int i=0; i<allTypes.size(); i++) { String type = (String) allTypes.elementAt(i); out.print("\t\t\"" + type + "\""); if(i<allTypes.size()-1) out.println(","); else out.println(); } out.println("\t};"); out.println(); | public void writeJava(PrintWriter out) throws XOMException { // Write header information for the java file out.println("/" + "*"); out.println("/" + "/ This java file was automatically generated"); out.println("/" + "/ from mining model '" + model.name + "'"); if(!testMode) out.println("/" + "/ on " + new Date().toString()); out.println("/" + "/ Do not edit this file by hand."); out.println("*" + "/"); out.println(); if (!testMode && !(model.packageName == null || model.packageName.equals(""))) { out.println("package " + model.packageName + ";"); } // Write the toplevel documentation for the package. This becomes // the toplevel documentation for the class and is also placed at // the top of the Dtd. String extraDoc = newLine + "<p>This class was generated from mining model '" + model.name + "' on " + new Date().toString(); if(testMode) extraDoc = ""; writeJavaDoc(out, 0, model.doc + extraDoc); // Begin the class. Include a getXMLDefClass() function which // simply returns this class. out.println("public class " + model.className + " {"); out.println(); out.println("\tpublic static java.lang.Class getXMLDefClass()"); out.println("\t{"); out.println("\t\treturn " + model.className + ".class;"); out.println("\t}"); out.println(); // Create a static member that names all Elements that may be // used within this class. out.println("\tpublic static String[] _elements = {"); for(int i=0; i<allTypes.size(); i++) { String type = (String) allTypes.elementAt(i); out.print("\t\t\"" + type + "\""); if(i<allTypes.size()-1) out.println(","); else out.println(); } out.println("\t};"); out.println(); // Create an inner class for each Class/Object definition. for(int i=0; i<model.elements.length; i++) writeJavaElement(out, model.elements[i]); // End the class out.println(); out.println("}"); } | 51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/b5b5168edc3af09cb74945a80b0c36e6630ed502/MetaGenerator.java/clean/src/main/mondrian/xom/MetaGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1045,
5852,
12,
5108,
2289,
596,
13,
202,
202,
15069,
1139,
1872,
503,
202,
95,
202,
202,
759,
2598,
1446,
1779,
364,
326,
2252,
585,
202,
202,
659,
18,
8222,
2932,
4898,
397,
10971,
1769,
202,
202,
659,
18,
8222,
2932,
4898,
397,
2206,
1220,
2252,
585,
1703,
6635,
4374,
8863,
202,
202,
659,
18,
8222,
2932,
4898,
397,
2206,
628,
1131,
310,
938,
2119,
397,
938,
18,
529,
397,
5862,
1769,
202,
202,
430,
12,
5,
3813,
2309,
13,
1082,
202,
659,
18,
8222,
2932,
4898,
397,
2206,
603,
315,
397,
394,
2167,
7675,
10492,
10663,
202,
202,
659,
18,
8222,
2932,
4898,
397,
2206,
2256,
486,
3874,
333,
585,
635,
948,
1199,
1769,
202,
202,
659,
18,
8222,
2932,
7388,
397,
4016,
1769,
202,
202,
659,
18,
8222,
5621,
202,
202,
430,
16051,
3813,
2309,
597,
1082,
202,
5,
12,
2284,
18,
5610,
461,
422,
446,
747,
938,
18,
5610,
461,
18,
14963,
2932,
6,
20349,
288,
1082,
202,
659,
18,
8222,
2932,
5610,
315,
397,
938,
18,
5610,
461,
397,
11430,
1769,
202,
202,
97,
202,
202,
759,
2598,
326,
28999,
7323,
364,
326,
2181,
18,
225,
1220,
12724,
202,
202,
759,
326,
28999,
7323,
364,
326,
667,
471,
353,
2546,
15235,
622,
202,
202,
759,
326,
1760,
434,
326,
463,
4465,
18,
202,
202,
780,
2870,
1759,
273,
8093,
397,
3532,
84,
34,
2503,
667,
1703,
4374,
628,
1131,
310,
938,
2119,
1082,
202,
15,
938,
18,
529,
397,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1045,
5852,
12,
5108,
2289,
596,
13,
202,
202,
15069,
1139,
1872,
503,
202,
95,
202,
202,
759,
2598,
1446,
1779,
364,
326,
2252,
585,
202,
202,
659,
18,
8222,
2932,
4898,
397,
10971,
1769,
202,
202,
659,
18,
8222,
2932,
4898,
397,
2206,
1220,
2252,
585,
1703,
6635,
4374,
8863,
202,
202,
659,
18,
8222,
2932,
4898,
397,
2206,
628,
1131,
310,
938,
2119,
397,
938,
18,
529,
397,
5862,
1769,
202,
202,
430,
12,
5,
3813,
2309,
13,
1082,
202,
659,
18,
8222,
2932,
4898,
397,
2206,
603,
315,
397,
394,
2167,
7675,
10492,
10663,
202,
202,
659,
18,
8222,
2932,
4898,
397,
2206,
2256,
486,
3874,
333,
585,
635,
948,
1199,
1769,
2
] |
public GlobalObject(RhinoCore core, Application app) { | public GlobalObject(RhinoCore core, Application app, boolean perThread) { | public GlobalObject(RhinoCore core, Application app) { this.core = core; this.app = app; } | 46029 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46029/75ebaa75be62e0b526b1669eccdfe67f70e99653/GlobalObject.java/buggy/src/helma/scripting/rhino/GlobalObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8510,
921,
12,
54,
76,
15020,
4670,
2922,
16,
4257,
595,
16,
1250,
1534,
3830,
13,
288,
3639,
333,
18,
3644,
273,
2922,
31,
3639,
333,
18,
2910,
273,
595,
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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3639,
333,
18,
3644,
273,
2922,
31,
3639,
333,
18,
2910,
273,
595,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
community = Community.create(context); | community = Community.create(null, context); | private void processConfirmEditCommunity(Context context, HttpServletRequest request, HttpServletResponse response, Community community) throws ServletException, IOException, SQLException, AuthorizeException { if (request.getParameter("create").equals("true")) { // if there is a parent community id specified, create community // as its child; otherwise, create it as a top-level community int parentCommunityID = UIUtil.getIntParameter(request, "parent_community_id"); if (parentCommunityID != -1) { Community parent = Community.find(context, parentCommunityID); if (parent != null) { community = parent.createSubcommunity(); } } else { community = Community.create(context); } // Set attribute request.setAttribute("community", community); } community.setMetadata("name", request.getParameter("name")); community.setMetadata("short_description", request.getParameter("short_description")); String intro = request.getParameter("introductory_text"); if (intro.equals("")) { intro = null; } String copy = request.getParameter("copyright_text"); if (copy.equals("")) { copy = null; } String side = request.getParameter("side_bar_text"); if (side.equals("")) { side = null; } community.setMetadata("introductory_text", intro); community.setMetadata("copyright_text", copy); community.setMetadata("side_bar_text", side); community.update(); // Which button was pressed? String button = UIUtil.getSubmitButton(request, "submit"); if (button.equals("submit_set_logo")) { // Change the logo - delete any that might be there first community.setLogo(null); community.update(); // Display "upload logo" page. Necessary attributes already set by // doDSPost() JSPManager.showJSP(request, response, "/dspace-admin/upload-logo.jsp"); } else if(button.equals("submit_delete_logo")) { // Simply delete logo community.setLogo(null); community.update(); // Show edit page again - attributes set in doDSPost() JSPManager.showJSP(request, response, "/dspace-admin/edit-community.jsp"); } else if(button.equals("submit_authorization_edit")) { // Forward to policy edit page response.sendRedirect(response.encodeRedirectURL( request.getContextPath() + "/dspace-admin/authorize?community_id=" + community.getID() + "&submit_community_select=1")); } else { // Button at bottom clicked - show main control page showControls(context, request, response); } // Commit changes to DB context.complete(); } | 1868 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1868/44d920f6673301feb8b329391378fb326189f9de/EditCommunitiesServlet.java/clean/dspace/src/org/dspace/app/webui/servlet/admin/EditCommunitiesServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
11269,
4666,
12136,
13352,
12,
1042,
819,
16,
3639,
9984,
590,
16,
3639,
12446,
766,
16,
3639,
16854,
13352,
19833,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
503,
565,
288,
3639,
309,
261,
2293,
18,
588,
1662,
2932,
2640,
20387,
14963,
2932,
3767,
6,
3719,
3639,
288,
5411,
368,
309,
1915,
353,
279,
982,
19833,
612,
1269,
16,
752,
19833,
5411,
368,
487,
2097,
1151,
31,
3541,
16,
752,
518,
487,
279,
1760,
17,
2815,
19833,
5411,
509,
982,
12136,
13352,
734,
273,
6484,
1304,
18,
588,
1702,
1662,
12,
2293,
16,
315,
2938,
67,
20859,
67,
350,
8863,
5411,
309,
261,
2938,
12136,
13352,
734,
480,
300,
21,
13,
202,
565,
288,
7734,
16854,
13352,
982,
273,
16854,
13352,
18,
4720,
12,
2472,
16,
982,
12136,
13352,
734,
1769,
7734,
309,
261,
2938,
480,
446,
13,
202,
3639,
288,
1082,
565,
19833,
273,
982,
18,
2640,
1676,
20859,
5621,
7734,
289,
5411,
289,
5411,
469,
5411,
288,
9079,
19833,
273,
16854,
13352,
18,
2640,
12,
2011,
16,
819,
1769,
5411,
289,
5411,
368,
1000,
1566,
5411,
590,
18,
542,
1499,
2932,
20859,
3113,
19833,
1769,
3639,
289,
3639,
19833,
18,
542,
2277,
2932,
529,
3113,
590,
18,
588,
1662,
2932,
529,
7923,
1769,
3639,
19833,
18,
542,
2277,
2932,
6620,
67,
3384,
3113,
5411,
590,
18,
588,
1662,
2932,
6620,
67,
3384,
7923,
1769,
3639,
514,
13079,
273,
590,
18,
588,
1662,
2932,
23342,
1828,
630,
67,
955,
8863,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
11269,
4666,
12136,
13352,
12,
1042,
819,
16,
3639,
9984,
590,
16,
3639,
12446,
766,
16,
3639,
16854,
13352,
19833,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
503,
565,
288,
3639,
309,
261,
2293,
18,
588,
1662,
2932,
2640,
20387,
14963,
2932,
3767,
6,
3719,
3639,
288,
5411,
368,
309,
1915,
353,
279,
982,
19833,
612,
1269,
16,
752,
19833,
5411,
368,
487,
2097,
1151,
31,
3541,
16,
752,
518,
487,
279,
1760,
17,
2815,
19833,
5411,
509,
982,
12136,
13352,
734,
273,
6484,
1304,
18,
588,
1702,
1662,
12,
2293,
16,
315,
2938,
67,
20859,
67,
350,
8863,
5411,
309,
261,
2938,
12136,
13352,
734,
480,
300,
21,
13,
202,
565,
2
] |
int sizeT = results[1] + 1; int sizeZ = results[0] + 1; | int sizeT = results[1]; int sizeZ = results[0]; /* debug */ System.out.println("sizeT : " + sizeT); /* debug */ System.out.println("sizeZ : " + sizeZ); | public void run(ImagePlus ip, Object[] metadata) { try { login(true); imageP = ip; getHelpers(); Experimenter user = OMERetrieve.getUser(df); // start the import process IJ.showStatus("OmeUpload: Starting import..."); im.startImport(user); IJ.showProgress(0.15); //getting the image to add the pixels to from OME Image omeImage = null; int omeID = ((Integer)metadata[0]).intValue(); if (omeID != 0) { omeImage = OMERetrieve.getImagefromID(df, omeID); } // locate a repository object to contain the pixels IJ.showStatus("OmeUpload: Finding repository..."); Repository rep = pf.findRepository(0); IJ.showProgress(0.18); // create a new Image object for the multidimensional image IJ.showStatus("OmeUpload: Creating image entry..."); Image image; if (omeImage != null) { image = omeImage; } else { image = (Image) df.createNew(Image.class); image.setName(imageP.getTitle()); image.setOwner(user); image.setInserted("now"); image.setCreated("now"); image.setDescription("This image was uploaded from ImageJ"); } df.markForUpdate(image); // extract image dimensions int sizeX = imageP.getWidth(); int sizeY = imageP.getHeight(); int type = imageP.getType(); int bytesPerPix = 1; int sizeC = 1; boolean isFloat = false; switch (type) { case ImagePlus.COLOR_256: //in order to correctly upload you need to convert to an RGB image imageP = new ImagePlus(ip.getTitle(), new ColorProcessor( ((ByteProcessor) imageP.getProcessor()).createImage())); break; case ImagePlus.COLOR_RGB: sizeC = 3; break; case ImagePlus.GRAY16: bytesPerPix = 2; break; case ImagePlus.GRAY32: bytesPerPix = 4; isFloat = true; break; } // set domain of stack int[] results = new int[] {domainIndex, imageP.getStackSize()}; results = setDomain(results); int sizeT = results[1] + 1; int sizeZ = results[0] + 1; IJ.showProgress(.25); // get a MEX for the image's metadata IJ.showStatus("OmeUpload: Creating pixels file..."); ModuleExecution ii = im.getImageImportMEX(image); ii.setExperimenter(user); // create a new pixels file on the image server to contain image pixels Pixels pix = pf.newPixels(rep, image, ii, sizeX, sizeY, sizeZ, sizeC, sizeT, bytesPerPix, isFloat, isFloat); // extract image pixels from each plane byte [] r = new byte[sizeX*sizeY]; byte [] g = new byte[sizeX*sizeY]; byte [] b = new byte[sizeX*sizeY]; for (int t=0; t<sizeT; t++) { for (int z=0; z<sizeZ; z++) { for (int c=0; c<sizeC; c++) { byte[] pixels = new byte[sizeX * sizeY * bytesPerPix]; IJ.showStatus("OmeUpload: Loading data (t=" + t + ", z=" + z + ", c=" + c + ")..."); double progress = (double) (t*sizeC*sizeZ+z*sizeC+c)/(sizeT*sizeZ*sizeC); IJ.showProgress(.25+.25*progress); switch (type) { case ImagePlus.COLOR_RGB: ((ColorProcessor)imageP.getStack().getProcessor( Math.max(z,t)+1)).getRGB(r, g, b); switch (c) { case 2: pixels = r; break; case 1: pixels = g; break; case 0: pixels = b; break; } break; case ImagePlus.GRAY16: short[] pixsh = (short[]) imageP.getStack().getPixels(Math.max(z,t)+1); for (int i=0; i<pixsh.length; i++) { pixels[2*i] = (byte) ((pixsh[i] & 0xff00) >> 8); pixels[2*i+1] = (byte) (pixsh[i] & 0x00ff); } break; case ImagePlus.GRAY32: float[] pixsf = (float[]) imageP.getStack().getPixels(Math.max(z,t)+1); for (int i=0; i<pixsf.length; i++) { pixels[4*i] = (byte) ((Float.floatToRawIntBits(pixsf[i]) & 0xff000000)>>24); pixels[4*i+1] = (byte) ((Float.floatToRawIntBits(pixsf[i]) & 0x00ff0000)>>16); pixels[4*i+2] = (byte) ((Float.floatToRawIntBits(pixsf[i]) & 0x0000ff00)>>8); pixels[4*i+3] = (byte) (Float.floatToRawIntBits(pixsf[i]) & 0x000000ff); } break; default: byte[] pixsb = (byte[]) imageP.getStack().getPixels(Math.max(z,t)+1); System.arraycopy(pixsb, 0, pixels, 0, pixsb.length); } // upload the byte buffer pf.setPlane(pix, z, c, t, pixels, true); // This next piece of metadata is necessary for all // images; otherwise, the standard OME viewers will not be // able to display the image. The PixelChannelComponent // attribute represents one channel index in the pixels // file; there should be at least one of these for each // channel in the image. The LogicalChannel attribute // describes a logical channel, which might comprise more // than one channel index in the pixels file. (Usually it // doesn't.) The mutators listed below are the minimum // necessary to fully represents the image's channels; // there are others which might be populated if the // metadata exists in the original file. As with the // Pixels attribute, the channel attributes should use the // image import MEX received earlier from the // ImportManager. LogicalChannel logical = (LogicalChannel) df.createNew("LogicalChannel"); logical.setImage(image); logical.setModuleExecution(ii); if (sizeC == 3) { switch(c) { case 0: logical.setFluor("Blue"); break; case 1: logical.setFluor("Green"); break; case 2: logical.setFluor("Red"); break; } logical.setPhotometricInterpretation("RGB"); } else { logical.setFluor("Gray"); logical.setPhotometricInterpretation("monochrome"); } df.markForUpdate(logical); PixelChannelComponent physical = (PixelChannelComponent) df.createNew("PixelChannelComponent"); physical.setImage(image); physical.setPixels(pix); physical.setIndex(new Integer(c)); physical.setLogicalChannel(logical); physical.setModuleExecution(ii); df.markForUpdate(physical); } } } IJ.showProgress(.5); // close the pixels file on the image server IJ.showStatus("OmeUpload: Closing pixels file.."); pf.finishPixels(pix); IJ.showProgress(.55); // create a default thumbnail for the image IJ.showStatus("OmeUpload: Creating PGI thumbnail..."); CompositingSettings cs = CompositingSettings.createDefaultPGISettings(sizeZ, sizeC, sizeT); if (sizeC == 3) { cs.activateRedChannel(2,0,255,1); cs.activateGreenChannel(1,0,255,1); cs.activateBlueChannel(0,0,255,1); } else cs.activateGrayChannel(0,0,255,1); pf.setThumbnail(pix, cs); IJ.showProgress(.6); // mark image import MEX as having completed executing ii.setStatus("FINISHED"); df.markForUpdate(ii); IJ.showProgress(.85); // commit all changes IJ.showStatus("OmeUpload: Committing changes..."); df.updateMarked(); IJ.showProgress(.87); // set default pixels entry image.setDefaultPixels(pix); df.update(image); IJ.showProgress(.9); // extract image display options and create display options DisplayOptions disOp = (DisplayOptions) df.createNew("DisplayOptions"); disOp.setPixels(pix); disOp.setImage(image); disOp.setModuleExecution(ii); disOp.setTStart(new Integer(0)); disOp.setTStop(new Integer(0)); disOp.setZStart(new Integer(0)); disOp.setZStop(new Integer(0)); ImageProcessor proc = imageP.getProcessor(); // The white and black level are set as constants because imageJ gives // the pixels truncated if you changed these values, this prevents the // min and max being set twice. Double whiteLevel = new Double(255);//proc.getMax()); Double blackLevel = new Double(0);//proc.getMin()); if(sizeC == 3) { disOp.setColorMap("RGB"); disOp.setDisplayRGB(new Boolean(true)); } else { disOp.setColorMap("monochrome"); disOp.setDisplayRGB(new Boolean(false)); } DisplayChannel ch; for(int i=0; i<sizeC; i++) { ch = (DisplayChannel) df.createNew("DisplayChannel"); if(sizeC == 1) ch.setModuleExecution(ii); // remove?? ch.setImage(image); ch.setGamma(new Float(1)); ch.setWhiteLevel(whiteLevel); ch.setBlackLevel(blackLevel); ch.setChannelNumber(new Integer(i)); switch(i) { case 0: disOp.setGreyChannel(ch); disOp.setRedChannel(ch); disOp.setGreenChannel(ch); disOp.setBlueChannel(ch); disOp.setRedChannelOn(new Boolean(false)); disOp.setGreenChannelOn(new Boolean(false)); disOp.setBlueChannelOn(new Boolean(false)); break; case 1: disOp.setGreenChannel(ch); break; case 2: disOp.setRedChannel(ch); disOp.setGreyChannel(ch); disOp.setRedChannelOn(new Boolean(true)); disOp.setGreenChannelOn(new Boolean(true)); disOp.setBlueChannelOn(new Boolean(true)); break; } df.update(ch); } df.update(disOp); // execute the import analysis chain IJ.showStatus("OmeUpload: Executing import chain..."); AnalysisChain chain = cm.getImportChain(); IJ.showProgress(.95); logout(); } catch(NullPointerException e) { // do nothing; this means that the user cancelled the login procedure } catch(IllegalArgumentException e) { // do nothing; this means that the user cancelled the login procedure } catch (Exception exc) { finalCatch(exc); } upThread = null; IJ.showProgress(1); } | 55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/b6a99426084eff70237a7268a6df73e831dce70c/OMETools.java/clean/loci/ome/ij/OMETools.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1086,
12,
2040,
13207,
2359,
16,
1033,
8526,
1982,
13,
288,
565,
775,
288,
1377,
3925,
12,
3767,
1769,
1377,
1316,
52,
273,
2359,
31,
1377,
336,
13375,
5621,
1377,
1312,
457,
381,
2328,
729,
273,
531,
20969,
3333,
537,
18,
588,
1299,
12,
2180,
1769,
1377,
368,
787,
326,
1930,
1207,
1377,
467,
46,
18,
4500,
1482,
2932,
51,
3501,
4777,
30,
24591,
1930,
7070,
1769,
1377,
709,
18,
1937,
5010,
12,
1355,
1769,
1377,
467,
46,
18,
4500,
5491,
12,
20,
18,
3600,
1769,
1377,
368,
588,
1787,
326,
1316,
358,
527,
326,
8948,
358,
628,
531,
958,
1377,
3421,
320,
3501,
2040,
273,
446,
31,
1377,
509,
320,
3501,
734,
273,
14015,
4522,
13,
4165,
63,
20,
65,
2934,
474,
620,
5621,
1377,
309,
261,
1742,
734,
480,
374,
13,
288,
3639,
320,
3501,
2040,
273,
531,
20969,
3333,
537,
18,
588,
2040,
2080,
734,
12,
2180,
16,
320,
3501,
734,
1769,
1377,
289,
1377,
368,
10627,
279,
3352,
733,
358,
912,
326,
8948,
1377,
467,
46,
18,
4500,
1482,
2932,
51,
3501,
4777,
30,
4163,
310,
3352,
7070,
1769,
1377,
6281,
2071,
273,
10811,
18,
4720,
3305,
12,
20,
1769,
1377,
467,
46,
18,
4500,
5491,
12,
20,
18,
2643,
1769,
1377,
368,
752,
279,
394,
3421,
733,
364,
326,
1778,
350,
9743,
287,
1316,
1377,
467,
46,
18,
4500,
1482,
2932,
51,
3501,
4777,
30,
21837,
1316,
1241,
7070,
1769,
1377,
3421,
1316,
31,
1377,
309,
261,
1742,
2040,
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,
1086,
12,
2040,
13207,
2359,
16,
1033,
8526,
1982,
13,
288,
565,
775,
288,
1377,
3925,
12,
3767,
1769,
1377,
1316,
52,
273,
2359,
31,
1377,
336,
13375,
5621,
1377,
1312,
457,
381,
2328,
729,
273,
531,
20969,
3333,
537,
18,
588,
1299,
12,
2180,
1769,
1377,
368,
787,
326,
1930,
1207,
1377,
467,
46,
18,
4500,
1482,
2932,
51,
3501,
4777,
30,
24591,
1930,
7070,
1769,
1377,
709,
18,
1937,
5010,
12,
1355,
1769,
1377,
467,
46,
18,
4500,
5491,
12,
20,
18,
3600,
1769,
1377,
368,
588,
1787,
326,
1316,
358,
527,
326,
8948,
358,
628,
531,
958,
1377,
3421,
320,
3501,
2040,
273,
446,
31,
1377,
509,
320,
3501,
734,
273,
14015,
4522,
2
] |
return (ArrayList) variantList; | return variantList; | public List getVariants() { //Initialize lazily if (variantList == null) { variantList = new ArrayList(); } return (ArrayList) variantList; } | 48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/746f9fbe7d3bb98c609b2f38fbc5ffad4e685726/Spell.java/clean/code/src/java/pcgen/core/spell/Spell.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
987,
336,
21165,
1435,
202,
95,
202,
202,
759,
7520,
25047,
202,
202,
430,
261,
8688,
682,
422,
446,
13,
202,
202,
95,
1082,
202,
8688,
682,
273,
394,
2407,
5621,
202,
202,
97,
202,
202,
2463,
261,
19558,
13,
5437,
682,
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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
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,
987,
336,
21165,
1435,
202,
95,
202,
202,
759,
7520,
25047,
202,
202,
430,
261,
8688,
682,
422,
446,
13,
202,
202,
95,
1082,
202,
8688,
682,
273,
394,
2407,
5621,
202,
202,
97,
202,
202,
2463,
261,
19558,
13,
5437,
682,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void createPartControl(Composite parent) { paintCanvas = new Canvas(parent, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL | SWT.NO_REDRAW_RESIZE); // set up a GC for drawing the tracking rectangle gc = new GC(paintCanvas); gc.setForeground(paintCanvas.getForeground()); gc.setLineStyle(SWT.LINE_SOLID); // add listeners addListeners(); // create actions and hook them up to the menus and toolbar makeActions(); hookContextMenu(); createGlobalActionHandlers(); contributeToActionBars(); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/5466df1b15264ff6a7a1f1e22be2e236512a23bf/BoxView.java/buggy/examples/org.eclipse.ui.examples.undo/Eclipse UI Examples Undo/org/eclipse/ui/examples/undo/views/BoxView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
1988,
3367,
12,
9400,
982,
13,
288,
202,
202,
84,
1598,
12971,
273,
394,
20966,
12,
2938,
16,
348,
8588,
18,
38,
7954,
571,
348,
8588,
18,
58,
67,
2312,
14555,
9506,
202,
96,
348,
8588,
18,
44,
67,
2312,
14555,
571,
348,
8588,
18,
3417,
67,
5879,
10821,
67,
862,
4574,
1769,
9506,
202,
759,
444,
731,
279,
15085,
364,
16327,
326,
11093,
11845,
202,
202,
13241,
273,
394,
15085,
12,
84,
1598,
12971,
1769,
202,
202,
13241,
18,
542,
23206,
12,
84,
1598,
12971,
18,
588,
23206,
10663,
202,
202,
13241,
18,
542,
1670,
2885,
12,
55,
8588,
18,
5997,
67,
19815,
734,
1769,
202,
202,
759,
527,
4679,
202,
202,
1289,
5583,
5621,
9506,
202,
759,
752,
4209,
471,
3953,
2182,
731,
358,
326,
21374,
471,
12748,
202,
202,
6540,
6100,
5621,
202,
202,
4476,
27315,
5621,
202,
202,
2640,
5160,
1803,
6919,
5621,
202,
202,
591,
887,
774,
1803,
5190,
87,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
1988,
3367,
12,
9400,
982,
13,
288,
202,
202,
84,
1598,
12971,
273,
394,
20966,
12,
2938,
16,
348,
8588,
18,
38,
7954,
571,
348,
8588,
18,
58,
67,
2312,
14555,
9506,
202,
96,
348,
8588,
18,
44,
67,
2312,
14555,
571,
348,
8588,
18,
3417,
67,
5879,
10821,
67,
862,
4574,
1769,
9506,
202,
759,
444,
731,
279,
15085,
364,
16327,
326,
11093,
11845,
202,
202,
13241,
273,
394,
15085,
12,
84,
1598,
12971,
1769,
202,
202,
13241,
18,
542,
23206,
12,
84,
1598,
12971,
18,
588,
23206,
10663,
202,
202,
13241,
18,
542,
1670,
2885,
12,
55,
8588,
18,
5997,
67,
19815,
734,
1769,
202,
202,
759,
527,
4679,
202,
202,
1289,
2
] |
||
IConfigurationElement[] elements = definingElement.getChildren(CHILD_ENABLEMENT); if (elements.length == 0) { String className = definingElement.getAttribute(ATT_OBJECT_CLASS); if (className == null) return null; enablement = new ActionExpression(ATT_OBJECT_CLASS, className); } else enablement = new ActionExpression(elements[0]); | initializeEnablement(); | public ActionExpression getEnablement() { if (!hasReadEnablement) { hasReadEnablement = true; IConfigurationElement[] elements = definingElement.getChildren(CHILD_ENABLEMENT); if (elements.length == 0) { String className = definingElement.getAttribute(ATT_OBJECT_CLASS); if (className == null) return null; enablement = new ActionExpression(ATT_OBJECT_CLASS, className); } else enablement = new ActionExpression(elements[0]); } return enablement; } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/e4870ae566720c9a538c7ef68573b301746e6c42/DecoratorDefinition.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/DecoratorDefinition.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4382,
2300,
336,
8317,
475,
1435,
288,
377,
202,
430,
16051,
5332,
1994,
8317,
475,
13,
288,
377,
202,
202,
5332,
1994,
8317,
475,
273,
638,
31,
377,
202,
202,
45,
1750,
1046,
8526,
2186,
273,
9364,
1046,
18,
588,
4212,
12,
27043,
67,
29377,
3212,
1769,
1082,
565,
309,
261,
6274,
18,
2469,
422,
374,
13,
288,
1082,
3639,
514,
2658,
273,
9364,
1046,
18,
588,
1499,
12,
789,
56,
67,
9422,
67,
5237,
1769,
1082,
3639,
309,
261,
12434,
422,
446,
13,
1875,
540,
202,
2463,
446,
31,
1082,
540,
1082,
3639,
4237,
475,
273,
394,
4382,
2300,
12,
789,
56,
67,
9422,
67,
5237,
16,
1082,
10792,
2658,
1769,
1082,
565,
289,
469,
1082,
377,
202,
7589,
475,
273,
394,
4382,
2300,
12,
6274,
63,
20,
19226,
377,
202,
97,
3639,
327,
4237,
475,
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,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1994,
8317,
475,
273,
638,
31,
377,
202,
202,
45,
1750,
1046,
8526,
2186,
273,
9364,
1046,
18,
588,
4212,
12,
27043,
67,
29377,
3212,
1769,
1082,
565,
309,
261,
6274,
18,
2469,
422,
374,
13,
288,
1082,
3639,
514,
2658,
273,
9364,
1046,
18,
588,
1499,
12,
789,
56,
67,
9422,
67,
5237,
1769,
1082,
3639,
309,
261,
12434,
422,
446,
13,
1875,
540,
202,
2463,
446,
31,
1082,
540,
1082,
3639,
4237,
475,
273,
394,
4382,
2300,
12,
789,
56,
67,
9422,
67,
5237,
16,
1082,
10792,
2658,
1769,
1082,
565,
289,
469,
1082,
2
] |
this.propertyOnDelete = propertyOnDelete; | properties.assignPropertyOnDeleteName(propertyOnDelete); | public void setPropertyOnDelete(String propertyOnDelete) { this.propertyOnDelete = propertyOnDelete; } | 55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/9d75e2a7ce76b395549de6ca3875fafce57946c9/VssJournal.java/clean/main/src/net/sourceforge/cruisecontrol/sourcecontrols/VssJournal.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7486,
1398,
2613,
12,
780,
1272,
1398,
2613,
13,
288,
3639,
1790,
18,
6145,
1396,
1398,
2613,
461,
12,
4468,
1398,
2613,
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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
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,
7486,
1398,
2613,
12,
780,
1272,
1398,
2613,
13,
288,
3639,
1790,
18,
6145,
1396,
1398,
2613,
461,
12,
4468,
1398,
2613,
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
] |
File file = resolvedLocation.toFile(); if (!file.exists()) { locationString += " " + FILE_NOT_EXIST_TEXT; | IFileInfo info = getFileInfo(location); if(info == null) return UNKNOWN_LABEL; if (!info.exists()) { return NLS.bind(FILE_NOT_EXIST_TEXT,location.toString()); | private String getLocationText(IResource resource) { if (!resource.isLocal(IResource.DEPTH_ZERO)) return NOT_LOCAL_TEXT; IPath resolvedLocation = resource.getLocation(); IPath location = resolvedLocation; if (resource.isLinked()) { location = resource.getRawLocation(); } if (location == null) { return NOT_EXIST_TEXT; } String locationString = location.toOSString(); if (resolvedLocation != null && !isPathVariable(resource)) { // No path variable used. Display the file not exist message // in the location. Fixes bug 33318. File file = resolvedLocation.toFile(); if (!file.exists()) { locationString += " " + FILE_NOT_EXIST_TEXT; //$NON-NLS-1$ } } return locationString; } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/25901e56fe617e185a8936e0895255ce485214a4/ResourceInfoPage.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceInfoPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
13312,
1528,
12,
45,
1420,
1058,
13,
288,
202,
202,
430,
16051,
3146,
18,
291,
2042,
12,
45,
1420,
18,
27479,
67,
24968,
3719,
1082,
202,
2463,
4269,
67,
14922,
67,
5151,
31,
202,
202,
45,
743,
4640,
2735,
273,
1058,
18,
588,
2735,
5621,
202,
202,
45,
743,
2117,
273,
4640,
2735,
31,
202,
202,
430,
261,
3146,
18,
291,
13174,
10756,
288,
1082,
202,
3562,
273,
1058,
18,
588,
4809,
2735,
5621,
202,
202,
97,
202,
202,
430,
261,
3562,
422,
446,
13,
288,
1082,
202,
2463,
4269,
67,
11838,
67,
5151,
31,
202,
202,
97,
202,
202,
780,
2117,
780,
273,
2117,
18,
869,
4618,
780,
5621,
202,
202,
430,
261,
11792,
2735,
480,
446,
597,
401,
291,
743,
3092,
12,
3146,
3719,
288,
1082,
202,
759,
2631,
589,
2190,
1399,
18,
9311,
326,
585,
486,
1005,
883,
1082,
202,
759,
316,
326,
2117,
18,
12139,
281,
7934,
890,
3707,
2643,
18,
1082,
202,
812,
585,
273,
4640,
2735,
18,
869,
812,
5621,
1082,
202,
430,
16051,
768,
18,
1808,
10756,
288,
9506,
202,
3562,
780,
1011,
315,
315,
397,
7527,
67,
4400,
67,
11838,
67,
5151,
31,
4329,
3993,
17,
5106,
17,
21,
8,
1875,
202,
97,
202,
202,
97,
202,
202,
2463,
2117,
780,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
13312,
1528,
12,
45,
1420,
1058,
13,
288,
202,
202,
430,
16051,
3146,
18,
291,
2042,
12,
45,
1420,
18,
27479,
67,
24968,
3719,
1082,
202,
2463,
4269,
67,
14922,
67,
5151,
31,
202,
202,
45,
743,
4640,
2735,
273,
1058,
18,
588,
2735,
5621,
202,
202,
45,
743,
2117,
273,
4640,
2735,
31,
202,
202,
430,
261,
3146,
18,
291,
13174,
10756,
288,
1082,
202,
3562,
273,
1058,
18,
588,
4809,
2735,
5621,
202,
202,
97,
202,
202,
430,
261,
3562,
422,
446,
13,
288,
1082,
202,
2463,
4269,
67,
11838,
67,
5151,
31,
202,
202,
97,
202,
202,
780,
2117,
780,
273,
2117,
18,
869,
4618,
780,
5621,
202,
202,
430,
261,
11792,
2
] |
Iterator i = c1.iterator(); if (!i.hasNext()) return Collections.EMPTY_SET; ProgramLocation o = (ProgramLocation) i.next(); if (!i.hasNext()) return Collections.singleton(o.getMethod()); Set result = new LinkedHashSet(); for (;;) { result.add(o.getMethod()); if (!i.hasNext()) break; o = (ProgramLocation) i.next(); } return result; | return c1; | public Collection getCallers(jq_Method callee) { if (edges == null) invalidateCache(); MultiMap m1 = edges.invert(); Collection c1 = m1.getValues(callee); Iterator i = c1.iterator(); if (!i.hasNext()) return Collections.EMPTY_SET; ProgramLocation o = (ProgramLocation) i.next(); if (!i.hasNext()) return Collections.singleton(o.getMethod()); Set result = new LinkedHashSet(); for (;;) { result.add(o.getMethod()); if (!i.hasNext()) break; o = (ProgramLocation) i.next(); } return result; } | 3029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3029/11081435c9d8757c2e96f9c35e397b60f683e097/CachedCallGraph.java/buggy/joeq_core/joeq/Compiler/Quad/CachedCallGraph.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2200,
336,
1477,
414,
12,
78,
85,
67,
1305,
14425,
13,
288,
3639,
309,
261,
8746,
422,
446,
13,
11587,
1649,
5621,
3639,
5991,
863,
312,
21,
273,
5231,
18,
267,
1097,
5621,
3639,
2200,
276,
21,
273,
312,
21,
18,
588,
1972,
12,
771,
11182,
1769,
3639,
4498,
277,
273,
276,
21,
18,
9838,
5621,
3639,
309,
16051,
77,
18,
5332,
2134,
10756,
327,
5737,
18,
13625,
67,
4043,
31,
3639,
13586,
2735,
320,
273,
261,
9459,
2735,
13,
277,
18,
4285,
5621,
3639,
309,
16051,
77,
18,
5332,
2134,
10756,
327,
5737,
18,
24487,
12,
83,
18,
588,
1305,
10663,
3639,
1000,
563,
273,
394,
19523,
5621,
3639,
364,
261,
25708,
13,
288,
5411,
563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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2200,
336,
1477,
414,
12,
78,
85,
67,
1305,
14425,
13,
288,
3639,
309,
261,
8746,
422,
446,
13,
11587,
1649,
5621,
3639,
5991,
863,
312,
21,
273,
5231,
18,
267,
1097,
5621,
3639,
2200,
276,
21,
273,
312,
21,
18,
588,
1972,
12,
771,
11182,
1769,
3639,
4498,
277,
273,
276,
21,
18,
9838,
5621,
3639,
309,
16051,
77,
18,
5332,
2134,
10756,
327,
5737,
18,
13625,
67,
4043,
31,
3639,
13586,
2735,
320,
273,
261,
9459,
2735,
13,
277,
18,
4285,
5621,
3639,
309,
16051,
77,
18,
5332,
2134,
10756,
327,
5737,
18,
24487,
12,
83,
18,
588,
1305,
10663,
3639,
1000,
563,
273,
394,
19523,
5621,
3639,
364,
261,
25708,
13,
288,
5411,
563,
2
] |
defineMethod("inspect", callbackFactory.getMethod("inspect")); defineMethod("dump", callbackFactory.getMethod("dump")); defineMethod("upcase", callbackFactory.getMethod("upcase")); defineMethod("downcase", callbackFactory.getMethod("downcase")); defineMethod("capitalize", callbackFactory.getMethod("capitalize")); defineMethod("swapcase", callbackFactory.getMethod("swapcase")); defineMethod("upcase!", callbackFactory.getMethod("upcase_bang")); defineMethod("downcase!", callbackFactory.getMethod("downcase_bang")); defineMethod("capitalize!", callbackFactory.getMethod("capitalize_bang")); defineMethod("swapcase!", callbackFactory.getMethod("swapcase_bang")); defineMethod("hex", callbackFactory.getMethod("hex")); defineMethod("oct", callbackFactory.getMethod("oct")); defineMethod("split", callbackFactory.getOptMethod("split")); defineMethod("reverse", callbackFactory.getMethod("reverse")); defineMethod("reverse!", callbackFactory.getMethod("reverse_bang")); defineMethod("concat", callbackFactory.getMethod("concat", IRubyObject.class)); defineMethod("<<", callbackFactory.getMethod("concat", IRubyObject.class)); defineMethod("include?", callbackFactory.getMethod("include", IRubyObject.class)); defineMethod("scan", callbackFactory.getMethod("scan", IRubyObject.class)); defineMethod("ljust", callbackFactory.getMethod("ljust", IRubyObject.class)); defineMethod("rjust", callbackFactory.getMethod("rjust", IRubyObject.class)); defineMethod("center", callbackFactory.getMethod("center", IRubyObject.class)); defineMethod("sub", callbackFactory.getOptMethod("sub")); defineMethod("gsub", callbackFactory.getOptMethod("gsub")); defineMethod("chop", callbackFactory.getMethod("chop")); defineMethod("chomp", callbackFactory.getOptMethod("chomp")); defineMethod("strip", callbackFactory.getMethod("strip")); defineMethod("lstrip", callbackFactory.getMethod("lstrip")); defineMethod("rstrip", callbackFactory.getMethod("rstrip")); defineMethod("sub!", callbackFactory.getOptMethod("sub_bang")); defineMethod("gsub!", callbackFactory.getOptMethod("gsub_bang")); defineMethod("chop!", callbackFactory.getMethod("chop_bang")); defineMethod("chomp!", callbackFactory.getOptMethod("chomp_bang")); defineMethod("strip!", callbackFactory.getMethod("strip_bang")); defineMethod("lstrip!", callbackFactory.getMethod("lstrip_bang")); defineMethod("rstrip!", callbackFactory.getMethod("rstrip_bang")); defineMethod("tr", callbackFactory.getMethod("tr", RubyString.class, RubyString.class)); defineMethod("tr_s", callbackFactory.getMethod("tr_s", RubyString.class, RubyString.class)); defineMethod("delete", callbackFactory.getOptMethod("delete")); defineMethod("squeeze", callbackFactory.getOptMethod("squeeze")); defineMethod("count", callbackFactory.getOptMethod("count")); defineMethod("tr!", callbackFactory.getMethod("tr_bang", RubyString.class, RubyString.class)); defineMethod("tr_s!", callbackFactory.getMethod("tr_s_bang", RubyString.class, RubyString.class)); defineMethod("delete!", callbackFactory.getOptMethod("delete_bang")); defineMethod("squeeze!", callbackFactory.getOptMethod("squeeze_bang")); defineMethod("each_line", callbackFactory.getOptMethod("each_line")); defineMethod("each", callbackFactory.getOptMethod("each_line")); defineMethod("each_byte", callbackFactory.getMethod("each_byte")); defineMethod("sum", callbackFactory.getOptMethod("sum")); defineMethod("slice", callbackFactory.getOptMethod("aref")); defineMethod("slice!", callbackFactory.getOptMethod("slice_bang")); defineMethod("unpack", callbackFactory.getMethod("unpack", IRubyObject.class)); | defineAlias("next", "succ"); defineAlias("next!", "succ!"); defineAlias("size", "length"); defineAlias("slice", "[]"); | protected void initializeClass() { includeModule(getRuntime().getClasses().getComparableModule()); includeModule(getRuntime().getClasses().getEnumerableModule()); /* FIXME Not needed because of the new allocObject method. * This is an example for the definition of singleton methods. defineSingletonMethod("new", Arity.optional(), "rb_new"); */ // FIXME Arity.optional() should be Arity.range(0, 1) defineMethod("initialize", Arity.optional(), "initialize"); defineMethod("initialize_copy", Arity.fixed(1), "replace"); // FIXME replace with new definition code like above CallbackFactory callbackFactory = getRuntime().callbackFactory(RubyString.class); defineMethod("clone", callbackFactory.getMethod("rbClone")); defineMethod("dup", callbackFactory.getMethod("dup")); defineMethod("<=>", callbackFactory.getMethod("op_cmp", IRubyObject.class)); defineMethod("casecmp", callbackFactory.getMethod("casecmp", IRubyObject.class)); defineMethod("==", callbackFactory.getMethod("equal", IRubyObject.class)); defineMethod("===", callbackFactory.getMethod("veryEqual", IRubyObject.class)); defineMethod("eql?", callbackFactory.getMethod("equal", IRubyObject.class)); defineMethod("hash", callbackFactory.getMethod("hash")); defineMethod("+", callbackFactory.getMethod("op_plus", IRubyObject.class)); defineMethod("*", callbackFactory.getMethod("op_mul", IRubyObject.class)); defineMethod("%", callbackFactory.getMethod("format", IRubyObject.class)); defineMethod("[]", callbackFactory.getOptMethod("aref")); defineMethod("[]=", callbackFactory.getOptMethod("aset")); defineMethod("length", callbackFactory.getMethod("length")); defineMethod("size", callbackFactory.getMethod("length")); defineMethod("empty?", callbackFactory.getMethod("empty")); defineMethod("=~", callbackFactory.getMethod("match", IRubyObject.class)); defineMethod("~", callbackFactory.getMethod("match2")); defineMethod("match", callbackFactory.getMethod("match3", IRubyObject.class)); defineMethod("succ", callbackFactory.getMethod("succ")); defineMethod("succ!", callbackFactory.getMethod("succ_bang")); defineMethod("next", callbackFactory.getMethod("succ")); defineMethod("next!", callbackFactory.getMethod("succ_bang")); defineMethod("upto", callbackFactory.getMethod("upto", IRubyObject.class)); defineMethod("index", callbackFactory.getOptMethod("index")); defineMethod("rindex", callbackFactory.getOptMethod("rindex")); defineMethod("replace", callbackFactory.getMethod("replace", IRubyObject.class)); defineMethod("to_i", callbackFactory.getMethod("to_i")); defineMethod("to_f", callbackFactory.getMethod("to_f")); defineMethod("to_s", callbackFactory.getSelfMethod(0)); defineMethod("to_str", callbackFactory.getSelfMethod(0)); defineMethod("to_sym", callbackFactory.getMethod("to_sym")); defineAlias("intern", "to_sym"); defineMethod("inspect", callbackFactory.getMethod("inspect")); defineMethod("dump", callbackFactory.getMethod("dump")); defineMethod("upcase", callbackFactory.getMethod("upcase")); defineMethod("downcase", callbackFactory.getMethod("downcase")); defineMethod("capitalize", callbackFactory.getMethod("capitalize")); defineMethod("swapcase", callbackFactory.getMethod("swapcase")); defineMethod("upcase!", callbackFactory.getMethod("upcase_bang")); defineMethod("downcase!", callbackFactory.getMethod("downcase_bang")); defineMethod("capitalize!", callbackFactory.getMethod("capitalize_bang")); defineMethod("swapcase!", callbackFactory.getMethod("swapcase_bang")); defineMethod("hex", callbackFactory.getMethod("hex")); defineMethod("oct", callbackFactory.getMethod("oct")); defineMethod("split", callbackFactory.getOptMethod("split")); defineMethod("reverse", callbackFactory.getMethod("reverse")); defineMethod("reverse!", callbackFactory.getMethod("reverse_bang")); defineMethod("concat", callbackFactory.getMethod("concat", IRubyObject.class)); defineMethod("<<", callbackFactory.getMethod("concat", IRubyObject.class)); defineMethod("include?", callbackFactory.getMethod("include", IRubyObject.class)); defineMethod("scan", callbackFactory.getMethod("scan", IRubyObject.class)); defineMethod("ljust", callbackFactory.getMethod("ljust", IRubyObject.class)); defineMethod("rjust", callbackFactory.getMethod("rjust", IRubyObject.class)); defineMethod("center", callbackFactory.getMethod("center", IRubyObject.class)); defineMethod("sub", callbackFactory.getOptMethod("sub")); defineMethod("gsub", callbackFactory.getOptMethod("gsub")); defineMethod("chop", callbackFactory.getMethod("chop")); defineMethod("chomp", callbackFactory.getOptMethod("chomp")); defineMethod("strip", callbackFactory.getMethod("strip")); defineMethod("lstrip", callbackFactory.getMethod("lstrip")); defineMethod("rstrip", callbackFactory.getMethod("rstrip")); defineMethod("sub!", callbackFactory.getOptMethod("sub_bang")); defineMethod("gsub!", callbackFactory.getOptMethod("gsub_bang")); defineMethod("chop!", callbackFactory.getMethod("chop_bang")); defineMethod("chomp!", callbackFactory.getOptMethod("chomp_bang")); defineMethod("strip!", callbackFactory.getMethod("strip_bang")); defineMethod("lstrip!", callbackFactory.getMethod("lstrip_bang")); defineMethod("rstrip!", callbackFactory.getMethod("rstrip_bang")); defineMethod("tr", callbackFactory.getMethod("tr", RubyString.class, RubyString.class)); defineMethod("tr_s", callbackFactory.getMethod("tr_s", RubyString.class, RubyString.class)); defineMethod("delete", callbackFactory.getOptMethod("delete")); defineMethod("squeeze", callbackFactory.getOptMethod("squeeze")); defineMethod("count", callbackFactory.getOptMethod("count")); defineMethod("tr!", callbackFactory.getMethod("tr_bang", RubyString.class, RubyString.class)); defineMethod("tr_s!", callbackFactory.getMethod("tr_s_bang", RubyString.class, RubyString.class)); defineMethod("delete!", callbackFactory.getOptMethod("delete_bang")); defineMethod("squeeze!", callbackFactory.getOptMethod("squeeze_bang")); defineMethod("each_line", callbackFactory.getOptMethod("each_line")); defineMethod("each", callbackFactory.getOptMethod("each_line")); defineMethod("each_byte", callbackFactory.getMethod("each_byte")); defineMethod("sum", callbackFactory.getOptMethod("sum")); defineMethod("slice", callbackFactory.getOptMethod("aref")); defineMethod("slice!", callbackFactory.getOptMethod("slice_bang")); defineMethod("unpack", callbackFactory.getMethod("unpack", IRubyObject.class)); } | 49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/803c66ee682936beecc8a43fe2cfc90fe5645b22/StringMetaClass.java/buggy/src/org/jruby/runtime/builtin/meta/StringMetaClass.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4046,
797,
1435,
288,
3639,
2341,
3120,
12,
588,
5576,
7675,
588,
4818,
7675,
588,
799,
10207,
3120,
10663,
3639,
2341,
3120,
12,
588,
5576,
7675,
588,
4818,
7675,
588,
3572,
25121,
3120,
10663,
3639,
1748,
9852,
2288,
3577,
2724,
434,
326,
394,
4767,
921,
707,
18,
540,
380,
1220,
353,
392,
3454,
364,
326,
2379,
434,
6396,
2590,
18,
3639,
4426,
19571,
1305,
2932,
2704,
3113,
1201,
560,
18,
10444,
9334,
315,
6731,
67,
2704,
8863,
540,
1195,
3639,
368,
9852,
1201,
560,
18,
10444,
1435,
1410,
506,
1201,
560,
18,
3676,
12,
20,
16,
404,
13,
3639,
4426,
1305,
2932,
11160,
3113,
1201,
560,
18,
10444,
9334,
315,
11160,
8863,
3639,
4426,
1305,
2932,
11160,
67,
3530,
3113,
1201,
560,
18,
12429,
12,
21,
3631,
315,
2079,
8863,
3639,
368,
9852,
1453,
598,
394,
2379,
981,
3007,
5721,
3639,
8444,
1733,
1348,
1733,
273,
18814,
7675,
3394,
1733,
12,
54,
10340,
780,
18,
1106,
1769,
3639,
4426,
1305,
2932,
14056,
3113,
1348,
1733,
18,
588,
1305,
2932,
6731,
10930,
7923,
1769,
3639,
4426,
1305,
2932,
26427,
3113,
1348,
1733,
18,
588,
1305,
2932,
26427,
7923,
1769,
3639,
4426,
1305,
2932,
32,
33,
2984,
16,
1348,
1733,
18,
588,
1305,
2932,
556,
67,
9625,
3113,
15908,
10340,
921,
18,
1106,
10019,
3639,
4426,
1305,
2932,
20901,
3113,
1348,
1733,
18,
588,
1305,
2932,
20901,
3113,
15908,
10340,
921,
18,
1106,
10019,
3639,
4426,
1305,
2932,
631,
3113,
1348,
1733,
18,
588,
1305,
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,
377,
4750,
918,
4046,
797,
1435,
288,
3639,
2341,
3120,
12,
588,
5576,
7675,
588,
4818,
7675,
588,
799,
10207,
3120,
10663,
3639,
2341,
3120,
12,
588,
5576,
7675,
588,
4818,
7675,
588,
3572,
25121,
3120,
10663,
3639,
1748,
9852,
2288,
3577,
2724,
434,
326,
394,
4767,
921,
707,
18,
540,
380,
1220,
353,
392,
3454,
364,
326,
2379,
434,
6396,
2590,
18,
3639,
4426,
19571,
1305,
2932,
2704,
3113,
1201,
560,
18,
10444,
9334,
315,
6731,
67,
2704,
8863,
540,
1195,
3639,
368,
9852,
1201,
560,
18,
10444,
1435,
1410,
506,
1201,
560,
18,
3676,
12,
20,
16,
404,
13,
3639,
4426,
1305,
2932,
11160,
3113,
1201,
560,
18,
10444,
9334,
315,
11160,
8863,
3639,
4426,
1305,
2932,
2
] |
private ImmutableMuleEndpoint() { } | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/e7ce83a2b2d33f3fef75341e6dea393883e26157/ImmutableMuleEndpoint.java/buggy/mule/src/java/org/mule/impl/ImmutableMuleEndpoint.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
16014,
49,
725,
3293,
1435,
2916,
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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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
} | } | private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (controlPressed && rowModel.getSelectionMode() != ListSelectionModel.SINGLE_SELECTION) rowModel.addSelectionInterval(lo_row, hi_row); else rowModel.setSelectionInterval(lo_row, hi_row); } // Update the columns int lo_col = table.columnAtPoint(begin); int hi_col = table.columnAtPoint(curr); ListSelectionModel colModel = table.getColumnModel(). getSelectionModel(); if (lo_col != -1 && hi_col != -1) { if (controlPressed && colModel.getSelectionMode() != ListSelectionModel.SINGLE_SELECTION) colModel.addSelectionInterval(lo_col, hi_col); else colModel.setSelectionInterval(lo_col, hi_col); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1089,
6233,
12,
6494,
3325,
24624,
13,
565,
288,
1377,
368,
2315,
326,
2595,
1850,
509,
437,
67,
492,
273,
1014,
18,
492,
861,
2148,
12,
10086,
1769,
1850,
509,
10118,
67,
492,
225,
273,
1014,
18,
492,
861,
2148,
12,
17016,
1769,
1850,
987,
6233,
1488,
1027,
1488,
273,
1014,
18,
588,
6233,
1488,
5621,
1850,
309,
261,
383,
67,
492,
480,
300,
21,
597,
10118,
67,
492,
480,
300,
21,
13,
5411,
288,
2868,
309,
261,
7098,
24624,
597,
1027,
1488,
18,
588,
6233,
2309,
1435,
10402,
480,
987,
6233,
1488,
18,
20184,
67,
1090,
15445,
13,
7734,
1027,
1488,
18,
1289,
6233,
4006,
12,
383,
67,
492,
16,
10118,
67,
492,
1769,
2868,
469,
5411,
1027,
1488,
18,
542,
6233,
4006,
12,
383,
67,
492,
16,
10118,
67,
492,
1769,
3639,
289,
1377,
368,
2315,
326,
2168,
1850,
509,
437,
67,
1293,
273,
1014,
18,
2827,
861,
2148,
12,
10086,
1769,
1850,
509,
10118,
67,
1293,
273,
1014,
18,
2827,
861,
2148,
12,
17016,
1769,
1850,
987,
6233,
1488,
645,
1488,
273,
1014,
18,
588,
1494,
1488,
7675,
5411,
23204,
1488,
5621,
1850,
309,
261,
383,
67,
1293,
480,
300,
21,
597,
10118,
67,
1293,
480,
300,
21,
13,
5411,
288,
2868,
309,
261,
7098,
24624,
597,
645,
1488,
18,
588,
6233,
2309,
1435,
480,
10402,
987,
6233,
1488,
18,
20184,
67,
1090,
15445,
13,
7734,
645,
1488,
18,
1289,
6233,
4006,
12,
383,
67,
1293,
16,
10118,
67,
1293,
1769,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1089,
6233,
12,
6494,
3325,
24624,
13,
565,
288,
1377,
368,
2315,
326,
2595,
1850,
509,
437,
67,
492,
273,
1014,
18,
492,
861,
2148,
12,
10086,
1769,
1850,
509,
10118,
67,
492,
225,
273,
1014,
18,
492,
861,
2148,
12,
17016,
1769,
1850,
987,
6233,
1488,
1027,
1488,
273,
1014,
18,
588,
6233,
1488,
5621,
1850,
309,
261,
383,
67,
492,
480,
300,
21,
597,
10118,
67,
492,
480,
300,
21,
13,
5411,
288,
2868,
309,
261,
7098,
24624,
597,
1027,
1488,
18,
588,
6233,
2309,
1435,
10402,
480,
987,
6233,
1488,
18,
20184,
67,
1090,
15445,
13,
7734,
1027,
1488,
18,
1289,
6233,
4006,
12,
383,
67,
492,
16,
10118,
67,
492,
1769,
2868,
2
] |
File logDir = new File(_pageContext.getServletConfig().getInitParameter("logDir")); | String logDirName = _pageContext.getServletConfig().getInitParameter("logDir"); if (logDirName == null) { logDirName = _pageContext.getServletContext().getInitParameter("logDir"); } File logDir = new File(logDirName); | protected void writeContent(Writer out) throws JspException { File logDir = new File(_pageContext.getServletConfig().getInitParameter("logDir")); System.out.println("Scanning directory: " + logDir.getAbsolutePath() + " for log files."); File cacheDir = new File(logDir, "_cache"); if(!cacheDir.exists()) { cacheDir.mkdir(); } String queryString = ((HttpServletRequest) _pageContext.getRequest()).getQueryString(); File xmlFile = getXMLFile(queryString, logDir); File cacheFile = new File(cacheDir, getCachedCopyFileName(xmlFile)); if(!isCacheFileCurrent(xmlFile, cacheFile)) { try { transform(xmlFile, _pageContext.getServletContext().getResourceAsStream(_xslFileName), new FileWriter(new File(cacheDir, getCachedCopyFileName(xmlFile)))); } catch (IOException e) { e.printStackTrace(); } } else { System.out.println("Using cached copy: " + cacheFile.getAbsolutePath()); } serveCachedCopy(cacheFile, out); } | 52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/49a89f61afe557f3ab9c55b92b44e7d1afa1b53b/XSLTag.java/buggy/reporting/jsp/src/net/sourceforge/cruisecontrol/taglib/XSLTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1045,
1350,
12,
2289,
596,
13,
1216,
27485,
288,
3639,
514,
613,
28780,
273,
389,
2433,
1042,
18,
588,
4745,
809,
7675,
588,
2570,
1662,
2932,
1330,
1621,
8863,
309,
261,
1330,
28780,
422,
446,
13,
288,
613,
28780,
273,
389,
2433,
1042,
18,
588,
4745,
1042,
7675,
588,
2570,
1662,
2932,
1330,
1621,
8863,
289,
1387,
31101,
273,
394,
1387,
12,
1330,
28780,
1769,
3639,
2332,
18,
659,
18,
8222,
2932,
1541,
10903,
1867,
30,
315,
397,
31101,
18,
588,
10368,
743,
1435,
397,
315,
364,
613,
1390,
1199,
1769,
3639,
1387,
19946,
273,
394,
1387,
12,
1330,
1621,
16,
4192,
2493,
8863,
3639,
309,
12,
5,
2493,
1621,
18,
1808,
10756,
288,
5411,
19946,
18,
26686,
5621,
3639,
289,
3639,
514,
11337,
273,
14015,
2940,
18572,
13,
389,
2433,
1042,
18,
588,
691,
1435,
2934,
588,
15276,
5621,
3639,
1387,
2025,
812,
273,
336,
4201,
812,
12,
2271,
780,
16,
31101,
1769,
3639,
1387,
18748,
273,
394,
1387,
12,
2493,
1621,
16,
20543,
2951,
4771,
12,
2902,
812,
10019,
3639,
309,
12,
5,
291,
31371,
3935,
12,
2902,
812,
16,
18748,
3719,
288,
5411,
775,
288,
7734,
2510,
12,
2902,
812,
16,
389,
2433,
1042,
18,
588,
4745,
1042,
7675,
588,
1420,
17052,
24899,
30903,
4771,
3631,
394,
24639,
12,
2704,
1387,
12,
2493,
1621,
16,
20543,
2951,
4771,
12,
2902,
812,
3719,
10019,
5411,
289,
1044,
261,
14106,
425,
13,
288,
7734,
425,
18,
1188,
6332,
5621,
5411,
289,
3639,
289,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1045,
1350,
12,
2289,
596,
13,
1216,
27485,
288,
3639,
514,
613,
28780,
273,
389,
2433,
1042,
18,
588,
4745,
809,
7675,
588,
2570,
1662,
2932,
1330,
1621,
8863,
309,
261,
1330,
28780,
422,
446,
13,
288,
613,
28780,
273,
389,
2433,
1042,
18,
588,
4745,
1042,
7675,
588,
2570,
1662,
2932,
1330,
1621,
8863,
289,
1387,
31101,
273,
394,
1387,
12,
1330,
28780,
1769,
3639,
2332,
18,
659,
18,
8222,
2932,
1541,
10903,
1867,
30,
315,
397,
31101,
18,
588,
10368,
743,
1435,
397,
315,
364,
613,
1390,
1199,
1769,
3639,
1387,
19946,
273,
394,
1387,
12,
1330,
1621,
16,
4192,
2493,
8863,
3639,
309,
12,
5,
2493,
1621,
18,
1808,
10756,
288,
5411,
19946,
2
] |
alertNode.addChild("#", DISCONNECTED.replace("{DISCONNECTED}", Integer.toString(disconnected))); | alertNode.addChild("#", replace(DISCONNECTED, "{DISCONNECTED}", Integer.toString(disconnected))); | public HTMLNode getHTMLText() { HTMLNode alertNode = new HTMLNode("div"); int disconnected = peers - conns; if (peers == 0) { if(n.isTestnetEnabled()) alertNode.addChild("#", NO_PEERS_TESTNET); else alertNode.addChild("#", NO_PEERS_DARKNET); } else if (conns == 0) { alertNode.addChild("#", NO_CONNS); } else if (conns == 1) { alertNode.addChild("#", ONE_CONN); } else if (conns == 2) { alertNode.addChild("#", TWO_CONNS); } else if (neverConn > MAX_NEVER_CONNECTED_PEER_ALERT_THRESHOLD) { alertNode.addChild("#", NEVER_CONN_START.replace("{NEVER_CONN}", Integer.toString(neverConn))); alertNode.addChild(NEVER_CONN_MIDDLE_NODE()); alertNode.addChild("#", NEVER_CONN_END.replace("{NEVER_CONN}", Integer.toString(neverConn))); } else if ((peers - conns) > MAX_DISCONN_PEER_ALERT_THRESHOLD) { alertNode.addChild("#", DISCONNECTED.replace("{DISCONNECTED}", Integer.toString(disconnected))); } else if (conns > MAX_CONN_ALERT_THRESHOLD) { alertNode.addChild("#", TOO_MANY_CONNECTIONS.replace("{CONNS}", Integer.toString(conns))); } else if (peers > MAX_PEER_ALERT_THRESHOLD) { alertNode.addChild("#", TOO_MANY_PEERS.replace("{PEERS}", Integer.toString(peers))); } else if (n.bwlimitDelayAlertRelevant && (bwlimitDelayTime > Node.MAX_BWLIMIT_DELAY_TIME_ALERT_THRESHOLD)) { alertNode.addChild("#", TOO_HIGH_BWLIMITDELAYTIME.replace("{BWLIMIT_DELAY_TIME}", Integer.toString(bwlimitDelayTime))); } else if (n.nodeAveragePingAlertRelevant && (nodeAveragePingTime > Node.MAX_NODE_AVERAGE_PING_TIME_ALERT_THRESHOLD)) { alertNode.addChild("#", TOO_HIGH_PING.replace("{PING_TIME}", Integer.toString(bwlimitDelayTime))); } else if (oldestNeverConnectedPeerAge > MAX_OLDEST_NEVER_CONNECTED_PEER_AGE_ALERT_THRESHOLD) { alertNode.addChild("#", NEVER_CONNECTED_TWO_WEEKS); } else throw new IllegalArgumentException("not valid"); return alertNode; } | 46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/89258c127cb3b0f73aa57374b50b6d35a02ac021/PeerManagerUserAlert.java/clean/src/freenet/node/useralerts/PeerManagerUserAlert.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3982,
907,
336,
4870,
1528,
1435,
288,
202,
202,
4870,
907,
6881,
907,
273,
394,
3982,
907,
2932,
2892,
8863,
202,
202,
474,
17853,
273,
10082,
300,
18976,
31,
202,
202,
430,
261,
30502,
422,
374,
13,
288,
1082,
202,
430,
12,
82,
18,
291,
4709,
2758,
1526,
10756,
9506,
202,
11798,
907,
18,
1289,
1763,
2932,
7,
3113,
3741,
67,
1423,
11367,
67,
16961,
14843,
1769,
1082,
202,
12107,
9506,
202,
11798,
907,
18,
1289,
1763,
2932,
7,
3113,
3741,
67,
1423,
11367,
67,
40,
9584,
14843,
1769,
3196,
202,
97,
469,
309,
261,
591,
2387,
422,
374,
13,
288,
1082,
202,
11798,
907,
18,
1289,
1763,
2932,
7,
3113,
3741,
67,
2248,
3156,
1769,
202,
202,
97,
469,
309,
261,
591,
2387,
422,
404,
13,
288,
1082,
202,
11798,
907,
18,
1289,
1763,
2932,
7,
3113,
15623,
67,
27733,
1769,
202,
202,
97,
469,
309,
261,
591,
2387,
422,
576,
13,
288,
1082,
202,
11798,
907,
18,
1289,
1763,
2932,
7,
3113,
24722,
51,
67,
2248,
3156,
1769,
202,
202,
97,
469,
309,
261,
4644,
502,
3543,
405,
4552,
67,
5407,
2204,
67,
29011,
67,
1423,
654,
67,
1013,
11539,
67,
23840,
13,
288,
1082,
202,
11798,
907,
18,
1289,
1763,
2932,
7,
3113,
12901,
2204,
67,
27733,
67,
7570,
18,
2079,
2932,
95,
5407,
2204,
67,
27733,
1532,
16,
2144,
18,
10492,
12,
4644,
502,
3543,
3719,
1769,
1082,
202,
11798,
907,
18,
1289,
1763,
12,
5407,
2204,
67,
27733,
67,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3982,
907,
336,
4870,
1528,
1435,
288,
202,
202,
4870,
907,
6881,
907,
273,
394,
3982,
907,
2932,
2892,
8863,
202,
202,
474,
17853,
273,
10082,
300,
18976,
31,
202,
202,
430,
261,
30502,
422,
374,
13,
288,
1082,
202,
430,
12,
82,
18,
291,
4709,
2758,
1526,
10756,
9506,
202,
11798,
907,
18,
1289,
1763,
2932,
7,
3113,
3741,
67,
1423,
11367,
67,
16961,
14843,
1769,
1082,
202,
12107,
9506,
202,
11798,
907,
18,
1289,
1763,
2932,
7,
3113,
3741,
67,
1423,
11367,
67,
40,
9584,
14843,
1769,
3196,
202,
97,
469,
309,
261,
591,
2387,
422,
374,
13,
288,
1082,
202,
11798,
907,
18,
1289,
1763,
2932,
7,
3113,
3741,
67,
2248,
3156,
1769,
2
] |
String connstr = sequenceserver ; DAS_SequenceRetreive seq_das = new DAS_SequenceRetreive(connstr) ; sequence = seq_das.get_sequence(swissp_id); | DAS_SequenceRetreive seq_das = new DAS_SequenceRetreive(config) ; try { sequence = seq_das.get_sequence(swissp_id); } catch ( ConfigurationException e) { e.printStackTrace(); System.out.println("could not retreive any sequence from DAS servers"); return ""; } | private String getDASSequence(String swissp_id) { // get Sequence using DAS ... // get sequence from sequence server // speed up -> store sequence mappings in memory -> faster String sequence ; sequence = getSequenceFromMemory(swissp_id) ; if ( sequence == null ) { String connstr = sequenceserver ; DAS_SequenceRetreive seq_das = new DAS_SequenceRetreive(connstr) ; sequence = seq_das.get_sequence(swissp_id); //System.out.println("got sequence using DAS: " + sequence); addSequenceToMemory(sequence,swissp_id); } return sequence ; } | 52521 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52521/3513ae66b40fe99d20f70c38cf1792140f4d153b/DASAlignment_Handler.java/clean/src/org/biojava/spice/DAS/DASAlignment_Handler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
2343,
8423,
73,
1890,
12,
780,
1352,
1054,
84,
67,
350,
13,
288,
202,
759,
336,
8370,
1450,
463,
3033,
1372,
202,
759,
336,
3102,
628,
3102,
1438,
202,
202,
759,
8632,
731,
317,
1707,
3102,
7990,
316,
3778,
317,
12063,
202,
780,
3102,
274,
202,
202,
6178,
273,
27763,
1265,
6031,
12,
5328,
1054,
84,
67,
350,
13,
274,
202,
202,
430,
261,
3102,
422,
446,
262,
288,
202,
565,
514,
1487,
701,
273,
8463,
12330,
274,
202,
565,
463,
3033,
67,
4021,
7055,
266,
688,
3833,
67,
28831,
273,
394,
463,
3033,
67,
4021,
7055,
266,
688,
12,
4646,
701,
13,
274,
202,
565,
3102,
2868,
273,
3833,
67,
28831,
18,
588,
67,
6178,
12,
5328,
1054,
84,
67,
350,
1769,
202,
565,
368,
3163,
18,
659,
18,
8222,
2932,
13212,
3102,
1450,
463,
3033,
30,
315,
397,
3102,
1769,
202,
565,
527,
4021,
774,
6031,
12,
6178,
16,
5328,
1054,
84,
67,
350,
1769,
202,
97,
202,
2463,
3102,
274,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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054,
84,
67,
350,
13,
288,
202,
759,
336,
8370,
1450,
463,
3033,
1372,
202,
759,
336,
3102,
628,
3102,
1438,
202,
202,
759,
8632,
731,
317,
1707,
3102,
7990,
316,
3778,
317,
12063,
202,
780,
3102,
274,
202,
202,
6178,
273,
27763,
1265,
6031,
12,
5328,
1054,
84,
67,
350,
13,
274,
202,
202,
430,
261,
3102,
422,
446,
262,
288,
202,
565,
514,
1487,
701,
273,
8463,
12330,
274,
202,
565,
463,
3033,
67,
4021,
7055,
266,
688,
3833,
67,
28831,
273,
394,
463,
3033,
67,
4021,
7055,
266,
688,
12,
4646,
701,
13,
274,
202,
565,
3102,
2868,
273,
3833,
67,
28831,
18,
588,
67,
6178,
2
] |
public Element setText( String text ) { if (text == null) { // This converts the null to the empty string because // org.w3c.dom does not like null and HTML does not // differentiate between "" and null. The other option // is to throw the NPE which causes other problems text = ""; } org.w3c.dom.Text textElem = m_element.getOwnerDocument().createTextNode(text); m_element.appendChild(textElem); return this; } | 12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/558097820abc0198518796cedde797658cda9a5e/Element.java/buggy/archive/core-platform/src/com/arsdigita/xml/Element.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3010,
7883,
12,
514,
977,
262,
288,
3639,
309,
261,
955,
422,
446,
13,
288,
2398,
368,
1220,
7759,
326,
446,
358,
326,
1008,
533,
2724,
5411,
368,
2358,
18,
91,
23,
71,
18,
9859,
1552,
486,
3007,
446,
471,
3982,
1552,
486,
2398,
368,
3775,
3840,
3086,
1408,
471,
446,
18,
225,
1021,
1308,
1456,
5411,
368,
353,
358,
604,
326,
423,
1423,
1492,
14119,
1308,
9688,
5411,
977,
273,
1408,
31,
3639,
289,
3639,
2358,
18,
91,
23,
71,
18,
9859,
18,
1528,
977,
7498,
273,
5411,
312,
67,
2956,
18,
588,
5541,
2519,
7675,
2640,
17299,
12,
955,
1769,
3639,
312,
67,
2956,
18,
6923,
1763,
12,
955,
7498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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3010,
7883,
12,
514,
977,
262,
288,
3639,
309,
261,
955,
422,
446,
13,
288,
2398,
368,
1220,
7759,
326,
446,
358,
326,
1008,
533,
2724,
5411,
368,
2358,
18,
91,
23,
71,
18,
9859,
1552,
486,
3007,
446,
471,
3982,
1552,
486,
2398,
368,
3775,
3840,
3086,
1408,
471,
446,
18,
225,
1021,
1308,
1456,
5411,
368,
353,
358,
604,
326,
423,
1423,
1492,
14119,
1308,
9688,
5411,
977,
273,
1408,
31,
3639,
289,
3639,
2358,
18,
91,
23,
71,
18,
9859,
18,
1528,
977,
7498,
273,
5411,
312,
67,
2956,
18,
588,
5541,
2519,
7675,
2640,
17299,
12,
955,
1769,
3639,
312,
67,
2956,
18,
6923,
1763,
12,
955,
7498,
1769,
3639,
327,
333,
31,
2
] |
||
System.out.println("Usage: JSpeexDec [options] input.spx output.wav"); System.out.println("Where: input.spx the Speex file to use as input"); System.out.println(" output.wav the PCM wave file to create"); | version(); System.out.println(""); System.out.println("Usage: JSpeexDec [options] input_file output_file"); System.out.println("Where:"); System.out.println(" input_file can be:"); System.out.println(" filename.spx an Ogg Speex file"); System.out.println(" filename.* a raw Speex file"); System.out.println(" output_file can be:"); System.out.println(" filename.wav a PCM wav file"); System.out.println(" filename.* a raw PCM file (any extension other than .wav)"); | public static void usage() { System.out.println("Usage: JSpeexDec [options] input.spx output.wav"); System.out.println("Where: input.spx the Speex file to use as input"); System.out.println(" output.wav the PCM wave file to create"); System.out.println("Options: -h, --help This help"); System.out.println(" -v, --version Version information"); System.out.println(" --enh Enable perceptual enhancement (default)"); System.out.println(" --no-enh Disable perceptual enhancement"); System.out.println(" --packet-loss n Simulate n % random packet loss"); System.out.println(" if the input file is raw Speex (not Ogg Speex)"); System.out.println(" --raw Input file is raw Speex"); System.out.println(" -n Narrowband (8kHz)"); System.out.println(" -w Wideband (16kHz)"); System.out.println(" -u Ultra-Wideband (32kHz)"); System.out.println(" --quality n Encoding quality (0-10) default 8"); System.out.println(" --nframes n Number of frames per Ogg packet, default 1"); System.out.println(" --vbr Enable varible bit-rate (VBR)"); System.out.println(" --stereo Consider input as stereo"); } | 6221 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6221/55eb35151f5fcff336e27c126b46f489b309cc24/JSpeexDec.java/buggy/main/trunk/src/JSpeexDec.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
4084,
1435,
225,
288,
565,
2332,
18,
659,
18,
8222,
2932,
5357,
30,
6756,
347,
338,
1799,
306,
2116,
65,
810,
18,
1752,
92,
876,
18,
24801,
8863,
565,
2332,
18,
659,
18,
8222,
2932,
5262,
30,
810,
18,
1752,
92,
326,
348,
347,
338,
585,
358,
999,
487,
810,
8863,
202,
202,
3163,
18,
659,
18,
8222,
2932,
4202,
876,
18,
24801,
326,
453,
9611,
10794,
585,
358,
752,
8863,
202,
202,
3163,
18,
659,
18,
8222,
2932,
1320,
30,
300,
76,
16,
1493,
5201,
377,
1220,
2809,
8863,
202,
202,
3163,
18,
659,
18,
8222,
2932,
540,
300,
90,
16,
1493,
1589,
565,
4049,
1779,
8863,
202,
202,
3163,
18,
659,
18,
8222,
2932,
540,
1493,
275,
76,
5411,
9677,
1534,
956,
1462,
29119,
475,
261,
1886,
2225,
1769,
202,
202,
3163,
18,
659,
18,
8222,
2932,
540,
1493,
2135,
17,
275,
76,
540,
10639,
1534,
956,
1462,
29119,
475,
8863,
202,
202,
3163,
18,
659,
18,
8222,
2932,
540,
1493,
11482,
17,
7873,
290,
225,
9587,
6243,
290,
738,
2744,
4414,
8324,
8863,
202,
202,
3163,
18,
659,
18,
8222,
2932,
540,
309,
326,
810,
585,
353,
1831,
348,
347,
338,
261,
902,
531,
14253,
348,
347,
338,
2225,
1769,
202,
202,
3163,
18,
659,
18,
8222,
2932,
540,
1493,
1899,
5411,
2741,
585,
353,
1831,
348,
347,
338,
8863,
202,
202,
3163,
18,
659,
18,
8222,
2932,
540,
300,
82,
9079,
423,
7815,
12752,
261,
28,
79,
25688,
2225,
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,
4084,
1435,
225,
288,
565,
2332,
18,
659,
18,
8222,
2932,
5357,
30,
6756,
347,
338,
1799,
306,
2116,
65,
810,
18,
1752,
92,
876,
18,
24801,
8863,
565,
2332,
18,
659,
18,
8222,
2932,
5262,
30,
810,
18,
1752,
92,
326,
348,
347,
338,
585,
358,
999,
487,
810,
8863,
202,
202,
3163,
18,
659,
18,
8222,
2932,
4202,
876,
18,
24801,
326,
453,
9611,
10794,
585,
358,
752,
8863,
202,
202,
3163,
18,
659,
18,
8222,
2932,
1320,
30,
300,
76,
16,
1493,
5201,
377,
1220,
2809,
8863,
202,
202,
3163,
18,
659,
18,
8222,
2932,
540,
300,
90,
16,
1493,
1589,
565,
4049,
1779,
8863,
202,
202,
3163,
18,
659,
18,
8222,
2
] |
public SVGOMFESpecularLightingElement(String prefix, AbstractDocument owner) { super(prefix, owner); | protected SVGOMFESpecularLightingElement() { | public SVGOMFESpecularLightingElement(String prefix, AbstractDocument owner) { super(prefix, owner); } | 46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/c91b2fb5364b1bf541875570f744ed45f27d936e/SVGOMFESpecularLightingElement.java/buggy/sources/org/apache/batik/dom/svg/SVGOMFESpecularLightingElement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
11281,
1872,
8090,
1990,
2490,
12128,
310,
1046,
12,
780,
1633,
16,
29159,
4115,
2519,
3410,
13,
288,
3639,
2240,
12,
3239,
16,
3410,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
11281,
1872,
8090,
1990,
2490,
12128,
310,
1046,
12,
780,
1633,
16,
29159,
4115,
2519,
3410,
13,
288,
3639,
2240,
12,
3239,
16,
3410,
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
] |
private final void scan(ObjectReference object) throws InlinePragma { if (Assert.VERIFY_ASSERTIONS) Assert._assert(workQueue.pop().isNull()); | private final void scan(ObjectReference object) throws InlinePragma { if (Assert.VERIFY_ASSERTIONS) Assert._assert(workQueue.pop().isNull()); | private final void scan(ObjectReference object) throws InlinePragma { if (Assert.VERIFY_ASSERTIONS) Assert._assert(workQueue.pop().isNull()); while (!object.isNull()) { if (Assert.VERIFY_ASSERTIONS) Assert._assert(!RefCountSpace.isGreen(object)); if (RefCountSpace.isGrey(object)) { if (RefCountSpace.isLiveRC(object)) { phase = SCAN_BLACK; scanBlack(object); phase = SCAN; } else { RefCountSpace.makeWhite(object); Scan.enumeratePointers(object, scanEnum); } } object = workQueue.pop(); } } | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/57a34fa3e6e607d84b46e06082997a4771a25a85/TrialDeletion.java/buggy/MMTk/src/org/mmtk/utility/TrialDeletion.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
727,
918,
4135,
12,
22101,
733,
13,
565,
1216,
16355,
2050,
9454,
288,
565,
309,
261,
8213,
18,
23756,
67,
8423,
11539,
1146,
55,
13,
5452,
6315,
11231,
12,
1252,
3183,
18,
5120,
7675,
291,
2041,
10663,
565,
1323,
16051,
1612,
18,
291,
2041,
10756,
288,
1377,
309,
261,
8213,
18,
23756,
67,
8423,
11539,
1146,
55,
13,
5452,
6315,
11231,
12,
5,
1957,
1380,
3819,
18,
291,
21453,
12,
1612,
10019,
1377,
309,
261,
1957,
1380,
3819,
18,
291,
43,
266,
93,
12,
1612,
3719,
288,
3639,
309,
261,
1957,
1380,
3819,
18,
291,
12328,
11529,
12,
1612,
3719,
288,
1850,
6855,
273,
8795,
1258,
67,
14618,
3649,
31,
1850,
4135,
13155,
12,
1612,
1769,
1850,
6855,
273,
8795,
1258,
31,
3639,
289,
469,
288,
1850,
3941,
1380,
3819,
18,
6540,
13407,
12,
1612,
1769,
1850,
8361,
18,
7924,
12600,
27452,
12,
1612,
16,
4135,
3572,
1769,
3639,
289,
1377,
289,
4202,
733,
273,
1440,
3183,
18,
5120,
5621,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
727,
918,
4135,
12,
22101,
733,
13,
565,
1216,
16355,
2050,
9454,
288,
565,
309,
261,
8213,
18,
23756,
67,
8423,
11539,
1146,
55,
13,
5452,
6315,
11231,
12,
1252,
3183,
18,
5120,
7675,
291,
2041,
10663,
565,
1323,
16051,
1612,
18,
291,
2041,
10756,
288,
1377,
309,
261,
8213,
18,
23756,
67,
8423,
11539,
1146,
55,
13,
5452,
6315,
11231,
12,
5,
1957,
1380,
3819,
18,
291,
21453,
12,
1612,
10019,
1377,
309,
261,
1957,
1380,
3819,
18,
291,
43,
266,
93,
12,
1612,
3719,
288,
3639,
309,
261,
1957,
1380,
3819,
18,
291,
12328,
11529,
12,
1612,
3719,
288,
1850,
6855,
273,
8795,
1258,
67,
14618,
3649,
31,
1850,
4135,
13155,
12,
1612,
1769,
1850,
2
] |
killAndCleanup(); | killAndCleanup(false); | public synchronized void jobHasFinished() throws IOException { if (getRunState() == TaskStatus.RUNNING) { killAndCleanup(); } else { cleanup(); } } | 49935 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49935/74bc43b8073ede3782a2b2561c09d7829f061901/TaskTracker.java/clean/src/java/org/apache/hadoop/mapred/TaskTracker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
3852,
918,
1719,
5582,
10577,
1435,
1216,
1860,
288,
5411,
309,
261,
588,
1997,
1119,
1435,
422,
29628,
18,
29358,
13,
288,
7734,
8673,
1876,
15007,
12,
5743,
1769,
5411,
289,
469,
288,
7734,
6686,
5621,
5411,
289,
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,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6686,
5621,
5411,
289,
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
] |
initArray(Math.max(parent.size(), 1), weight), | Utils.initArray(Math.max(parent.size(), 1), weight), | public static SIRJoiner createUniformRR(SIRContainer parent, JExpression weight) { // make a uniform rr joiner return new SIRJoiner(parent, SIRJoinType.WEIGHTED_RR, initArray(Math.max(parent.size(), 1), weight), true); } | 47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/47119f6f6531154a0a367e20cc4089093c2af801/SIRJoiner.java/clean/streams/src/at/dms/kjc/sir/SIRJoiner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
5705,
54,
4572,
264,
752,
13004,
17950,
12,
2320,
54,
2170,
982,
16,
9944,
565,
804,
2300,
3119,
13,
288,
202,
759,
1221,
279,
10823,
8354,
29620,
202,
2463,
394,
5705,
54,
4572,
264,
12,
2938,
16,
4697,
377,
5705,
54,
4572,
559,
18,
6950,
16055,
6404,
67,
17950,
16,
9506,
377,
1208,
1076,
12,
10477,
18,
1896,
12,
2938,
18,
1467,
9334,
404,
3631,
3119,
3631,
9506,
377,
638,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
5705,
54,
4572,
264,
752,
13004,
17950,
12,
2320,
54,
2170,
982,
16,
9944,
565,
804,
2300,
3119,
13,
288,
202,
759,
1221,
279,
10823,
8354,
29620,
202,
2463,
394,
5705,
54,
4572,
264,
12,
2938,
16,
4697,
377,
5705,
54,
4572,
559,
18,
6950,
16055,
6404,
67,
17950,
16,
9506,
377,
1208,
1076,
12,
10477,
18,
1896,
12,
2938,
18,
1467,
9334,
404,
3631,
3119,
3631,
9506,
377,
638,
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
] |
protected XMLLanguage(String name, String mime) { super(name, mime); myFormattingModelBuilder = new FormattingModelBuilder() { public FormattingModel createModel(final PsiElement element, final CodeStyleSettings settings) { final ASTNode root = SourceTreeToPsiMap.psiElementToTree(element); return new PsiBasedFormattingModel(element.getContainingFile(), settings, new XmlBlock(root, null, null, new XmlPolicy(settings), null)); } }; | public XMLLanguage() { this("XML", "text/xml"); | protected XMLLanguage(String name, String mime) { super(name, mime); myFormattingModelBuilder = new FormattingModelBuilder() { public FormattingModel createModel(final PsiElement element, final CodeStyleSettings settings) { final ASTNode root = SourceTreeToPsiMap.psiElementToTree(element); return new PsiBasedFormattingModel(element.getContainingFile(), settings, new XmlBlock(root, null, null, new XmlPolicy(settings), null)); } }; } | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/0e2424bdd99b04ea5fa3952ce487bcee1c42747d/XMLLanguage.java/buggy/source/com/intellij/lang/xml/XMLLanguage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
3167,
3779,
12,
780,
508,
16,
514,
4892,
13,
288,
565,
2240,
12,
529,
16,
4892,
1769,
565,
3399,
23974,
1488,
1263,
273,
394,
4077,
1787,
1488,
1263,
1435,
288,
1377,
1071,
4077,
1787,
1488,
15552,
12,
6385,
453,
7722,
1046,
930,
16,
727,
3356,
2885,
2628,
1947,
13,
288,
3639,
727,
9183,
907,
1365,
273,
4998,
2471,
774,
52,
7722,
863,
18,
24275,
1046,
774,
2471,
12,
2956,
1769,
3639,
327,
394,
453,
7722,
9802,
23974,
1488,
12,
2956,
18,
588,
24344,
812,
9334,
1947,
16,
394,
5714,
1768,
12,
3085,
16,
446,
16,
446,
16,
394,
5714,
2582,
12,
4272,
3631,
446,
10019,
1377,
289,
565,
289,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
3167,
3779,
12,
780,
508,
16,
514,
4892,
13,
288,
565,
2240,
12,
529,
16,
4892,
1769,
565,
3399,
23974,
1488,
1263,
273,
394,
4077,
1787,
1488,
1263,
1435,
288,
1377,
1071,
4077,
1787,
1488,
15552,
12,
6385,
453,
7722,
1046,
930,
16,
727,
3356,
2885,
2628,
1947,
13,
288,
3639,
727,
9183,
907,
1365,
273,
4998,
2471,
774,
52,
7722,
863,
18,
24275,
1046,
774,
2471,
12,
2956,
1769,
3639,
327,
394,
453,
7722,
9802,
23974,
1488,
12,
2956,
18,
588,
24344,
812,
9334,
1947,
16,
394,
5714,
1768,
12,
3085,
16,
446,
16,
446,
16,
394,
5714,
2582,
12,
4272,
3631,
446,
10019,
1377,
289,
565,
289,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100
] |
/*format = normalizeFormat( ); if ( format == null ) { logger.log( Level.SEVERE, "[ReportRunner] Invalid output format." ); return false; } htmlType = normalizeHTMLType( ); if ( htmlType == null ) { logger.log( Level.SEVERE, "[ReportRunner] Invalid html type." ); return false; } */ | private boolean validateAndPrepareArguments( ) { if ( designName == null ) { printUsage( ); return false; } /*format = normalizeFormat( ); if ( format == null ) { logger.log( Level.SEVERE, "[ReportRunner] Invalid output format." ); //$NON-NLS-1$ return false; } htmlType = normalizeHTMLType( ); if ( htmlType == null ) { logger.log( Level.SEVERE, "[ReportRunner] Invalid html type." ); //$NON-NLS-1$ return false; }*/ checkTargetFileName(); return true; } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e6cd170d84a9ed2d8f1343b14a90fdd7a8d57a33/ReportRunner.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/ReportRunner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
1954,
1876,
7543,
4628,
12,
262,
202,
95,
202,
202,
430,
261,
8281,
461,
422,
446,
262,
202,
202,
95,
1082,
202,
1188,
5357,
12,
11272,
1082,
202,
2463,
629,
31,
202,
202,
97,
202,
202,
20308,
2139,
273,
3883,
1630,
12,
11272,
202,
202,
430,
261,
740,
422,
446,
262,
202,
202,
95,
1082,
202,
4901,
18,
1330,
12,
4557,
18,
1090,
2204,
41,
16,
5158,
4820,
9709,
65,
1962,
876,
740,
1199,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
2463,
629,
31,
202,
202,
97,
9506,
202,
2620,
559,
273,
3883,
4870,
559,
12,
11272,
202,
202,
430,
261,
1729,
559,
422,
446,
262,
202,
202,
95,
1082,
202,
4901,
18,
1330,
12,
4557,
18,
1090,
2204,
41,
16,
5158,
4820,
9709,
65,
1962,
1729,
618,
1199,
11272,
4329,
3993,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
1954,
1876,
7543,
4628,
12,
262,
202,
95,
202,
202,
430,
261,
8281,
461,
422,
446,
262,
202,
202,
95,
1082,
202,
1188,
5357,
12,
11272,
1082,
202,
2463,
629,
31,
202,
202,
97,
202,
202,
20308,
2139,
273,
3883,
1630,
12,
11272,
202,
202,
430,
261,
740,
422,
446,
262,
202,
202,
95,
1082,
202,
4901,
18,
1330,
12,
4557,
18,
1090,
2204,
41,
16,
5158,
4820,
9709,
65,
1962,
876,
740,
1199,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
2463,
629,
31,
202,
202,
97,
9506,
202,
2620,
559,
273,
3883,
4870,
559,
12,
11272,
202,
202,
430,
261,
1729,
559,
422,
446,
262,
202,
202,
95,
1082,
202,
4901,
2
] |
|
if (xformsControl != null) xformsControl.evaluate(pipelineContext); | public void end(String uri, String localname, String qName) throws SAXException { final ContentHandler contentHandler = handlerContext.getController().getOutput(); // xforms:trigger and xforms:submit final String effectiveId = handlerContext.getEffectiveId(elementAttributes); final XFormsControl xformsControl = handlerContext.isGenerateTemplate() ? null : ((XFormsControl) containingDocument.getObjectById(pipelineContext, effectiveId)); if (isStaticReadonly(xformsControl)) return; if (xformsControl != null) xformsControl.evaluate(pipelineContext); if (!handlerContext.isGenerateTemplate() && xformsControl.getLabel() == null) throw new ValidationException("Missing label on xforms:trigger element.", xformsControl.getLocationData()); final String labelValue = handlerContext.isGenerateTemplate() ? "$xforms-label-value$" : xformsControl.getLabel(); final QName appearance = getAppearance(elementAttributes); final StringBuffer classes = getInitialClasses(localname, elementAttributes, xformsControl); if (!handlerContext.isGenerateTemplate()) handleMIPClasses(classes, xformsControl); final AttributesImpl newAttributes = getAttributes(elementAttributes, classes.toString(), effectiveId); // Handle accessibility attributes handleAccessibilityAttributes(elementAttributes, newAttributes); // Add title attribute if not yet present and there is a hint if (newAttributes.getValue("title") == null) { final String hintValue = (xformsControl != null) ? xformsControl.getHint() : null; if (hintValue != null) newAttributes.addAttribute("", "title", "title", ContentHandlerHelper.CDATA, hintValue); } if (appearance != null && XFormsConstants.XXFORMS_LINK_APPEARANCE_QNAME.equals(appearance)) { // Link appearance (xxforms:link) // TODO: probably needs f:url-norewrite="true" newAttributes.addAttribute("", "href", "href", ContentHandlerHelper.CDATA, ""); // xhtml:a final String xhtmlPrefix = handlerContext.findXHTMLPrefix(); final String spanQName = XMLUtils.buildQName(xhtmlPrefix, "a"); contentHandler.startElement(XMLConstants.XHTML_NAMESPACE_URI, "a", spanQName, newAttributes); contentHandler.characters(labelValue.toCharArray(), 0, labelValue.length()); contentHandler.endElement(XMLConstants.XHTML_NAMESPACE_URI, "a", spanQName); } else if (appearance != null && XFormsConstants.XXFORMS_IMAGE_APPEARANCE_QNAME.equals(appearance)) { // Image appearance newAttributes.addAttribute("", "type", "type", ContentHandlerHelper.CDATA, "image"); newAttributes.addAttribute("", "alt", "alt", ContentHandlerHelper.CDATA, labelValue); // Handle nested xxforms:img if (xxformsImgAttributes != null) { // it should not be null // Add @src attribute newAttributes.addAttribute("", "src", "src", ContentHandlerHelper.CDATA, xxformsImgAttributes.getValue("src")); // Copy everything else except @src, @alt, and @id // NOTE: It is not 100% clear what attributes make sense for propagation. for (int i = 0; i < xxformsImgAttributes.getLength(); i++) { final String attributeURI = xxformsImgAttributes.getURI(i); final String attributeValue = xxformsImgAttributes.getValue(i); final String attributeType = xxformsImgAttributes.getType(i); final String attributeQName = xxformsImgAttributes.getQName(i); final String attributeLocalname = xxformsImgAttributes.getLocalName(i); if (!(attributeURI.equals("") && (attributeLocalname.equals("src") || attributeLocalname.equals("alt")) || attributeLocalname.equals("id"))) newAttributes.addAttribute(attributeURI, attributeLocalname, attributeQName, attributeType, attributeValue); } } // xhtml:input final String xhtmlPrefix = handlerContext.findXHTMLPrefix(); final String spanQName = XMLUtils.buildQName(xhtmlPrefix, "input"); handleReadOnlyAttribute(newAttributes, xformsControl); contentHandler.startElement(XMLConstants.XHTML_NAMESPACE_URI, "input", spanQName, newAttributes); contentHandler.endElement(XMLConstants.XHTML_NAMESPACE_URI, "input", spanQName); } else { // Default appearance (button) newAttributes.addAttribute("", "type", "type", ContentHandlerHelper.CDATA, "button"); // xhtml:button final String xhtmlPrefix = handlerContext.findXHTMLPrefix(); final String spanQName = XMLUtils.buildQName(xhtmlPrefix, "button"); handleReadOnlyAttribute(newAttributes, xformsControl); contentHandler.startElement(XMLConstants.XHTML_NAMESPACE_URI, "button", spanQName, newAttributes); contentHandler.characters(labelValue.toCharArray(), 0, labelValue.length()); contentHandler.endElement(XMLConstants.XHTML_NAMESPACE_URI, "button", spanQName); } // xforms:help handleLabelHintHelpAlert(effectiveId, "help", xformsControl); } | 52783 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52783/6151deeacd0d85e7d1b3e77e963676b7ae2954c8/XFormsTriggerHandler.java/clean/src/java/org/orbeon/oxf/xforms/processor/handlers/XFormsTriggerHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
679,
12,
780,
2003,
16,
514,
1191,
529,
16,
514,
22914,
13,
1216,
14366,
288,
3639,
727,
3697,
1503,
913,
1503,
273,
1838,
1042,
18,
588,
2933,
7675,
588,
1447,
5621,
3639,
368,
619,
9741,
30,
10668,
471,
619,
9741,
30,
9297,
3639,
727,
514,
11448,
548,
273,
1838,
1042,
18,
588,
28531,
548,
12,
2956,
2498,
1769,
3639,
727,
1139,
18529,
3367,
619,
9741,
3367,
273,
1838,
1042,
18,
291,
4625,
2283,
1435,
692,
446,
294,
14015,
60,
18529,
3367,
13,
4191,
2519,
18,
588,
921,
5132,
12,
14511,
1042,
16,
11448,
548,
10019,
3639,
309,
261,
291,
5788,
1994,
3700,
12,
92,
9741,
3367,
3719,
5411,
327,
31,
3639,
309,
261,
92,
9741,
3367,
480,
446,
13,
5411,
619,
9741,
3367,
18,
21024,
12,
14511,
1042,
1769,
3639,
309,
16051,
4176,
1042,
18,
291,
4625,
2283,
1435,
597,
619,
9741,
3367,
18,
588,
2224,
1435,
422,
446,
13,
5411,
604,
394,
15614,
2932,
4841,
1433,
603,
619,
9741,
30,
10668,
930,
1199,
16,
619,
9741,
3367,
18,
588,
2735,
751,
10663,
3639,
727,
514,
1433,
620,
273,
1838,
1042,
18,
291,
4625,
2283,
1435,
692,
4662,
92,
9741,
17,
1925,
17,
1132,
12911,
294,
619,
9741,
3367,
18,
588,
2224,
5621,
3639,
727,
16723,
9788,
1359,
273,
336,
1294,
27668,
12,
2956,
2498,
1769,
3639,
727,
6674,
3318,
273,
24044,
4818,
12,
3729,
529,
16,
930,
2498,
16,
619,
9741,
3367,
1769,
3639,
309,
16051,
4176,
1042,
18,
291,
4625,
2283,
10756,
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,
679,
12,
780,
2003,
16,
514,
1191,
529,
16,
514,
22914,
13,
1216,
14366,
288,
3639,
727,
3697,
1503,
913,
1503,
273,
1838,
1042,
18,
588,
2933,
7675,
588,
1447,
5621,
3639,
368,
619,
9741,
30,
10668,
471,
619,
9741,
30,
9297,
3639,
727,
514,
11448,
548,
273,
1838,
1042,
18,
588,
28531,
548,
12,
2956,
2498,
1769,
3639,
727,
1139,
18529,
3367,
619,
9741,
3367,
273,
1838,
1042,
18,
291,
4625,
2283,
1435,
692,
446,
294,
14015,
60,
18529,
3367,
13,
4191,
2519,
18,
588,
921,
5132,
12,
14511,
1042,
16,
11448,
548,
10019,
3639,
309,
261,
291,
5788,
1994,
3700,
12,
92,
9741,
3367,
3719,
5411,
327,
31,
3639,
309,
261,
92,
9741,
3367,
2
] |
|
try { result[0] = busyOpenWorkbenchWindow(perspID, input); } catch (WorkbenchException e) { result[0] = e; | doOpenFirstTimeWindow(); | public void run() { try { result[0] = busyOpenWorkbenchWindow(perspID, input); } catch (WorkbenchException e) { result[0] = e; } } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/bc508e6d12aaf5e44777fe0ae256945be5760cc6/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
1435,
288,
9506,
202,
698,
288,
6862,
202,
2088,
63,
20,
65,
273,
21697,
3678,
2421,
22144,
3829,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
1435,
288,
9506,
202,
698,
288,
6862,
202,
2088,
63,
20,
65,
273,
21697,
3678,
2421,
22144,
3829,
12,
10422,
84,
734,
16,
810,
1769,
9506,
202,
97,
1044,
261,
2421,
22144,
503,
425,
13,
288,
6862,
202,
2088,
63,
20,
65,
273,
425,
31,
9506,
202,
97,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return defaultValue; | fDefaultValue = defaultValue; return augs; | XMLString handleEndElement(QName element, Augmentations augs) { fCurrentPSVI = (ElementPSVImpl)augs.getItem(ELEM_PSVI); if (fCurrentPSVI == null) { fCurrentPSVI = fElemPSVI; augs.putItem(ELEM_PSVI, fCurrentPSVI); } fCurrentPSVI.reset(); // if we are skipping, return // if there is no validation root, return if (fSkipValidationDepth >= 0 || fValidationRootDepth == -1) { // but if this is the top element that we are skipping, // restore the states. if (fSkipValidationDepth == fElementDepth && fSkipValidationDepth > 0) { // set the parial validation depth to the depth of parent fPartialValidationDepth = fSkipValidationDepth-1; fSkipValidationDepth = -1; fElementDepth--; fChildCount = fChildCountStack[fElementDepth]; fCurrentElemDecl = fElemDeclStack[fElementDepth]; fNil = fNilStack[fElementDepth]; fCurrentType = fTypeStack[fElementDepth]; fCurrentCM = fCMStack[fElementDepth]; fCurrCMState = fCMStateStack[fElementDepth]; fSawCharacters = fStringContent[fElementDepth]; fSawChidren = fSawChildrenStack[fElementDepth]; } else { fElementDepth--; } // need to pop context so that the bindings for this element is // discarded. fNamespaceSupport.popContext(); // pop error reporter context: get all errors for the current // element, and remove them from the error list String[] errors = fXSIErrorReporter.popContext(); // PSVI: validation attempted: // use default values in psvi item for // validation attempted, validity, and error codes // check extra schema constraints on root element if (fElementDepth == -1 && fDoValidation && fFullChecking) { XSConstraints.fullSchemaChecking(fGrammarBucket, fSubGroupHandler, fCMBuilder, fXSIErrorReporter.fErrorReporter); } return null; } // now validate the content of the element XMLString defaultValue = processElementContent(element); // Element Locally Valid (Element) // 6 The element information item must be valid with respect to each of the {identity-constraint definitions} as per Identity-constraint Satisfied (3.11.4). // call matchers and de-activate context int oldCount = fMatcherStack.getMatcherCount(); for (int i = oldCount - 1; i >= 0; i--) { XPathMatcher matcher = fMatcherStack.getMatcherAt(i); matcher.endElement(element, fCurrentElemDecl); } if (fMatcherStack.size() > 0) { fMatcherStack.popContext(); } int newCount = fMatcherStack.getMatcherCount(); // handle everything *but* keyref's. for (int i = oldCount - 1; i >= newCount; i--) { XPathMatcher matcher = fMatcherStack.getMatcherAt(i); IdentityConstraint id; if ((id = matcher.getIDConstraint()) != null && id.getType() != IdentityConstraint.KEYREF) { matcher.endDocumentFragment(); fValueStoreCache.transplant(id); } else if (id == null) matcher.endDocumentFragment(); } // now handle keyref's/... for (int i = oldCount - 1; i >= newCount; i--) { XPathMatcher matcher = fMatcherStack.getMatcherAt(i); IdentityConstraint id; if ((id = matcher.getIDConstraint()) != null && id.getType() == IdentityConstraint.KEYREF) { ValueStoreBase values = fValueStoreCache.getValueStoreFor(id); if (values != null) // nothing to do if nothing matched! values.endDocumentFragment(); matcher.endDocumentFragment(); } } fValueStoreCache.endElement(); // have we reached the end tag of the validation root? if (fValidationRootDepth == fElementDepth) { fValidationRootDepth = -1; fValidationRoot = null; if (fDoValidation) { // 7 If the element information item is the validation root, it must be valid per Validation Root Valid (ID/IDREF) (3.3.4). if (!fValidationState.checkIDRefID()) { reportSchemaError("ValidationRoot", null); } } fValidationState.resetIDTables(); } // PSVI: validation attempted if (fElementDepth <= fPartialValidationDepth) { // the element had child with a content skip. fCurrentPSVI.fValidationAttempted = ElementPSVI.PARTIAL_VALIDATION; if (fElementDepth == fPartialValidationDepth) { // set depth to the depth of the parent fPartialValidationDepth--; } } else { fCurrentPSVI.fValidationAttempted = ElementPSVI.FULL_VALIDATION; } // decrease element depth and restore states fElementDepth--; if (fElementDepth == -1) { if (fDoValidation) { // check extra schema constraints if (fFullChecking) { XSConstraints.fullSchemaChecking(fGrammarBucket, fSubGroupHandler, fCMBuilder, fXSIErrorReporter.fErrorReporter); } } } else { // get the states for the parent element. fChildCount = fChildCountStack[fElementDepth]; fCurrentElemDecl = fElemDeclStack[fElementDepth]; fNil = fNilStack[fElementDepth]; fCurrentType = fTypeStack[fElementDepth]; fCurrentCM = fCMStack[fElementDepth]; fCurrCMState = fCMStateStack[fElementDepth]; fSawCharacters = fStringContent[fElementDepth]; fSawChidren = fSawChildrenStack[fElementDepth]; } // need to pop context so that the bindings for this element is // discarded. fNamespaceSupport.popContext(); // pop error reporter context: get all errors for the current // element, and remove them from the error list String[] errors = fXSIErrorReporter.popContext(); // PSVI: error codes fCurrentPSVI.fErrorCodes = errors; // PSVI: validity fCurrentPSVI.fValidity = (errors == null) ? ElementPSVI.VALID_VALIDITY : ElementPSVI.INVALID_VALIDITY; return defaultValue; } // handleEndElement(QName,boolean)*/ | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/0c89615b0bdfe565e769952ce9d81b62b7cd076a/XMLSchemaValidator.java/clean/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3167,
780,
1640,
1638,
1046,
12,
13688,
930,
16,
432,
14870,
1012,
279,
9024,
13,
288,
3639,
284,
3935,
5857,
4136,
273,
261,
1046,
5857,
58,
2828,
13,
8377,
564,
18,
588,
1180,
12,
41,
26817,
67,
5857,
4136,
1769,
3639,
309,
261,
74,
3935,
5857,
4136,
422,
446,
13,
288,
5411,
284,
3935,
5857,
4136,
273,
284,
7498,
5857,
4136,
31,
5411,
279,
9024,
18,
458,
1180,
12,
41,
26817,
67,
5857,
4136,
16,
284,
3935,
5857,
4136,
1769,
3639,
289,
3639,
284,
3935,
5857,
4136,
18,
6208,
5621,
3639,
368,
309,
732,
854,
14195,
16,
327,
3639,
368,
309,
1915,
353,
1158,
3379,
1365,
16,
327,
3639,
309,
261,
74,
6368,
4354,
6148,
1545,
374,
747,
284,
4354,
2375,
6148,
422,
300,
21,
13,
288,
5411,
368,
1496,
309,
333,
353,
326,
1760,
930,
716,
732,
854,
14195,
16,
5411,
368,
5217,
326,
5493,
18,
5411,
309,
261,
74,
6368,
4354,
6148,
422,
284,
1046,
6148,
597,
7734,
284,
6368,
4354,
6148,
405,
374,
13,
288,
7734,
368,
444,
326,
779,
649,
3379,
3598,
358,
326,
3598,
434,
982,
7734,
284,
9447,
4354,
6148,
273,
284,
6368,
4354,
6148,
17,
21,
31,
7734,
284,
6368,
4354,
6148,
273,
300,
21,
31,
7734,
284,
1046,
6148,
413,
31,
7734,
284,
1763,
1380,
273,
284,
1763,
1380,
2624,
63,
74,
1046,
6148,
15533,
7734,
284,
3935,
7498,
3456,
273,
284,
7498,
3456,
2624,
63,
74,
1046,
6148,
15533,
7734,
284,
12616,
273,
284,
12616,
2624,
63,
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,
3167,
780,
1640,
1638,
1046,
12,
13688,
930,
16,
432,
14870,
1012,
279,
9024,
13,
288,
3639,
284,
3935,
5857,
4136,
273,
261,
1046,
5857,
58,
2828,
13,
8377,
564,
18,
588,
1180,
12,
41,
26817,
67,
5857,
4136,
1769,
3639,
309,
261,
74,
3935,
5857,
4136,
422,
446,
13,
288,
5411,
284,
3935,
5857,
4136,
273,
284,
7498,
5857,
4136,
31,
5411,
279,
9024,
18,
458,
1180,
12,
41,
26817,
67,
5857,
4136,
16,
284,
3935,
5857,
4136,
1769,
3639,
289,
3639,
284,
3935,
5857,
4136,
18,
6208,
5621,
3639,
368,
309,
732,
854,
14195,
16,
327,
3639,
368,
309,
1915,
353,
1158,
3379,
1365,
16,
327,
3639,
309,
261,
74,
6368,
4354,
6148,
1545,
374,
747,
2
] |
if (commandManager == null) { throw new NullPointerException( "The callback needs a command manager"); } if (activeChecker == null) { throw new NullPointerException( "The callback needs an active callback"); } this.activeChecker = activeChecker; this.bindingManager = bindingManager; this.commandManager = commandManager; | }); | public CommandCallback(final BindingManager bindingManager, final CommandManager commandManager, final IActiveChecker activeChecker) { if (bindingManager == null) { throw new NullPointerException( "The callback needs a binding manager"); //$NON-NLS-1$ } if (commandManager == null) { throw new NullPointerException( "The callback needs a command manager"); //$NON-NLS-1$ } if (activeChecker == null) { throw new NullPointerException( "The callback needs an active callback"); //$NON-NLS-1$ } this.activeChecker = activeChecker; this.bindingManager = bindingManager; this.commandManager = commandManager; } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/2e3290c413bf86d63c91002a86b9b3a355837bf2/ExternalActionManager.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/action/ExternalActionManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
3498,
2428,
12,
6385,
15689,
1318,
5085,
1318,
16,
9506,
202,
6385,
3498,
1318,
1296,
1318,
16,
9506,
202,
6385,
467,
3896,
8847,
2695,
8847,
13,
288,
1082,
202,
430,
261,
7374,
1318,
422,
446,
13,
288,
9506,
202,
12849,
394,
10108,
12,
25083,
202,
6,
1986,
1348,
4260,
279,
5085,
3301,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
1082,
202,
430,
261,
3076,
1318,
422,
446,
13,
288,
9506,
202,
12849,
394,
10108,
12,
25083,
202,
6,
1986,
1348,
4260,
279,
1296,
3301,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
1082,
202,
430,
261,
3535,
8847,
422,
446,
13,
288,
9506,
202,
12849,
394,
10108,
12,
25083,
202,
6,
1986,
1348,
4260,
392,
2695,
1348,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
1082,
202,
2211,
18,
3535,
8847,
273,
2695,
8847,
31,
1082,
202,
2211,
18,
7374,
1318,
273,
5085,
1318,
31,
1082,
202,
2211,
18,
3076,
1318,
273,
1296,
1318,
31,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
3498,
2428,
12,
6385,
15689,
1318,
5085,
1318,
16,
9506,
202,
6385,
3498,
1318,
1296,
1318,
16,
9506,
202,
6385,
467,
3896,
8847,
2695,
8847,
13,
288,
1082,
202,
430,
261,
7374,
1318,
422,
446,
13,
288,
9506,
202,
12849,
394,
10108,
12,
25083,
202,
6,
1986,
1348,
4260,
279,
5085,
3301,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
1082,
202,
430,
261,
3076,
1318,
422,
446,
13,
288,
9506,
202,
12849,
394,
10108,
12,
25083,
202,
6,
1986,
1348,
4260,
279,
1296,
3301,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
1082,
202,
430,
261,
3535,
8847,
422,
446,
13,
288,
9506,
202,
12849,
394,
10108,
12,
25083,
2
] |
public void textDecl(String version, String encoding) | public void textDecl(String version, String encoding, Augmentations augs) | public void textDecl(String version, String encoding) throws XNIException { if (fDocumentHandler != null) { fDocumentHandler.textDecl(version, encoding); } } // textDecl(String,String) | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/1281996de10d3af1b51f0b4d78cfcd75d8ade6fe/PassThroughFilter.java/buggy/samples/xni/PassThroughFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
977,
3456,
12,
780,
1177,
16,
514,
2688,
16,
432,
14870,
1012,
279,
9024,
13,
3639,
1216,
1139,
50,
45,
503,
288,
3639,
309,
261,
74,
2519,
1503,
480,
446,
13,
288,
5411,
284,
2519,
1503,
18,
955,
3456,
12,
1589,
16,
2688,
1769,
3639,
289,
565,
289,
368,
977,
3456,
12,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public static long add(long value1, long value2) { if (value1 == infinite){ if (value2== negInfinite) return 0; else return infinite; } else if (value2 == infinite){ if (value1== negInfinite) return 0; else return infinite; } else if (value1 == negInfinite) return negInfinite; else if (value2 == negInfinite) return negInfinite; else if (isCombinable(value1)) { if (isCombinable(value2)) return value1 + value2; else return value1; } else return value2; | public void add(long toAdd) { value = add(toAdd, value); | public static long add(long value1, long value2) { if (value1 == infinite){ if (value2== negInfinite) return 0; else return infinite; } else if (value2 == infinite){ if (value1== negInfinite) return 0; else return infinite; } else if (value1 == negInfinite) return negInfinite; else if (value2 == negInfinite) return negInfinite; else if (isCombinable(value1)) { if (isCombinable(value2)) return value1 + value2; else return value1; } else return value2; } | 57538 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57538/88e3c75ba71c7c3e23478b1c3ff126ef3c6fe3ab/MesquiteLong.java/buggy/branches/Mesquite1.x/Mesquite Project/Source/mesquite/lib/MesquiteLong.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1525,
527,
12,
5748,
460,
21,
16,
1525,
460,
22,
13,
288,
202,
202,
430,
261,
1132,
21,
422,
14853,
15329,
1082,
202,
430,
261,
1132,
22,
631,
4251,
382,
9551,
13,
9506,
202,
2463,
374,
31,
1082,
202,
12107,
9506,
202,
2463,
14853,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
1132,
22,
422,
14853,
15329,
1082,
202,
430,
261,
1132,
21,
631,
4251,
382,
9551,
13,
9506,
202,
2463,
374,
31,
1082,
202,
12107,
9506,
202,
2463,
14853,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
1132,
21,
422,
4251,
382,
9551,
13,
1082,
202,
2463,
4251,
382,
9551,
31,
202,
202,
12107,
309,
261,
1132,
22,
422,
4251,
382,
9551,
13,
1082,
202,
2463,
4251,
382,
9551,
31,
202,
202,
12107,
309,
261,
291,
24107,
429,
12,
1132,
21,
3719,
288,
1082,
202,
430,
261,
291,
24107,
429,
12,
1132,
22,
3719,
9506,
202,
2463,
460,
21,
397,
460,
22,
31,
1082,
202,
12107,
9506,
202,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] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1525,
527,
12,
5748,
460,
21,
16,
1525,
460,
22,
13,
288,
202,
202,
430,
261,
1132,
21,
422,
14853,
15329,
1082,
202,
430,
261,
1132,
22,
631,
4251,
382,
9551,
13,
9506,
202,
2463,
374,
31,
1082,
202,
12107,
9506,
202,
2463,
14853,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
1132,
22,
422,
14853,
15329,
1082,
202,
430,
261,
1132,
21,
631,
4251,
382,
9551,
13,
9506,
202,
2463,
374,
31,
1082,
202,
12107,
9506,
202,
2463,
14853,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
1132,
21,
422,
4251,
382,
9551,
13,
1082,
202,
2463,
4251,
382,
9551,
31,
202,
202,
12107,
309,
261,
1132,
22,
422,
4251,
382,
9551,
2
] |
if(ASS) | if(AS.DEBUG) | private void initForReal() {// System.out.println("++++ initForReal() start" ); // Let's ask for everything upfront to get this all out of the // way (from the user's point of view) try { PrivilegeManager.enablePrivilege("Debugger"); PrivilegeManager.enablePrivilege("UniversalFileRead"); // It doesn't really matter that much if the user says no to // these (at this point) try { PrivilegeManager.enablePrivilege("UniversalFileWrite"); PrivilegeManager.enablePrivilege("UniversalTopLevelWindow"); } catch(Exception e) { // just eat these } } catch(Exception e) { performCommandLater( this, LOAD_FAILED_CMD, null ); return; } if(ASS) { Thread t = Thread.currentThread(); _uiThreadForAssertCheck = t; ER.setFailureHandler(t,this); } // set some static globals... Env.Init(); // we don't want to spit this info to the console if not an applet if( isApplet() ) { int platform = Env.getCoursePlatformType(); System.out.println("JSD platform is " + (platform == Env.ENV_WIN ? "Windows" : platform == Env.ENV_MAC ? "Mac" : "Unix" )); System.out.println("JSD install directory: " + Env.getCodebaseDir()); System.out.println("JSD prefs directory: " + Env.getPrefsDir()); } // set mode if(null == _modeString) _modeString = parameterNamed( "DebugHostMode" ); if(null != _modeString) { if( _modeString.equals("LOCAL") ) _mode = Emperor.LOCAL; else if( _modeString.equals("REMOTE_SERVER") ) _mode = Emperor.REMOTE_SERVER; else if( _modeString.equals("RHINO") ) _mode = Emperor.RHINO; else _mode = Emperor.LOCAL; } else _mode = Emperor.LOCAL; // set host (this may be further massaged below... if(null == _host) _host = parameterNamed( "DebugHost" ); // init the system that will allow us access to the startup prefs file // this needs to be done after our mode is established _initStartupPrefs(); if(ASS) { if( Emperor.LOCAL == _mode ) Log.setFilename("jsdclog.log", true); else Log.setFilename("jsdslog.log", true); Log.setEnabled(true); Log.setEnabledType(Log.ERROR, true); Log.setEnabledType(Log.WARN, true); Log.setEnabledType(Log.TRACE, false); Log.setShowDate(true); Log.setShowThreadName(true); Log.setLogToFile(true); Log.setLogToConsole(false); Log.log(null, "+++++++++++++++ startup begin +++++++++++++++" ); // we don't want to spit this info to the console if not an applet if( isApplet() ) System.out.println("JSD is using log file: " + Log.getFilename()); } else { Log.setEnabled(false); } _mainWindow = new ToolTipExternalWindow(); Dimension res = AWTCompatibility.awtToolkit().getScreenSize(); _mainWindow.setBounds(0, 0, 525, res.height - 50); if( Emperor.REMOTE_SERVER == _mode ) _mainWindow.setTitle(_mainTitleServer); else if( Emperor.RHINO == _mode ) _mainWindow.setTitle(_mainTitleRhino); else _mainWindow.setTitle(_mainTitleLocal); setMainRootView(_mainWindow.rootView()); _mainWindow.show(); setWaitCursor(true); StatusWindow statusWindow = new StatusWindow(); statusWindow.setText("Loading..."); statusWindow.show(); if( WILL_EXPIRE && daysTillDeath() <= 0 ) { setWaitCursor(false); Alert.runAlertInternally( Alert.warningImage(), "Error", "This Preview copy of Netscape JavaScript Debugger has expired\n" + "Please go to the Netscape home site to get a new version\n" + "\n" + " The debugger will exit now...", "OK", null, null ); performCommandLater( this, LOAD_FAILED_CMD, null ); return; } if( staleTwisterClassesFound() ) { setWaitCursor(false); Alert.runAlertInternally( Alert.warningImage(), "Error", "Conflict with obsolete Java classes detected.\n" + "\n" + "Netscape Visual JavaScript Preview Release 1 must be uninstalled\n" + "before the Netscape JavaScript Debugger can be run.\n" + "\n" + "Please see the Debugger release notes for additional information\n" + "\n" + " The debugger will exit now...", "OK", null, null ); performCommandLater( this, LOAD_FAILED_CMD, null ); return; }// statusWindow.setText("Checking License...");// if( ! userHasAgreedToLicense() )// {// performCommandLater( this, LOAD_FAILED_CMD, null );// return;// }// statusWindow.setText("Loading..."); if( Emperor.REMOTE_SERVER == _mode && null == _host ) { String hostname = _readHostName(); HostNameDialog dlg = new HostNameDialog("Choose Server", "Enter Hostname or ip address of Server", hostname); while(true) { statusWindow.hide(); setWaitCursor(false); dlg.showModally(); setWaitCursor(true); if( HostNameDialog.OK == dlg.getKeyPressed() ) { statusWindow.show(); statusWindow.setText("Looking for Server..."); hostname = dlg.getHostName(); _host = "http://" + hostname; if( isDebuggingSupported() ) break; setWaitCursor(false); if( Alert.DEFAULT_OPTION == Alert.runAlertInternally( Alert.warningImage(), "Error", "JavaScript Debugger support was not found in "+ _host+"\n" + "\n" + "Try a different Server?", "Yes", "No", null ) ) { setWaitCursor(true); continue; } setWaitCursor(true); _host = null; break; } else if( HostNameDialog.LOCALHOST == dlg.getKeyPressed() ) { statusWindow.show(); hostname = "127.0.0.1"; _host = "http://" + hostname; break; } else // if( HostNameDialog.CANCEL == dlg.getKeyPressed() ) { statusWindow.show(); _host = null; break; } } if( null == _host ) { performCommandLater( this, LOAD_FAILED_CMD, null ); return; } statusWindow.setText("Looking for Server..."); _writeHostName(hostname); } if( ! isDebuggingSupported() ) { String core_msg; String suggestion; if( Emperor.LOCAL == _mode ) { core_msg = "JavaScript Debugger support was not found in this copy of Navigator"; suggestion = ""; } else { core_msg = "JavaScript Debugger support was not found in "+ _host; suggestion = "If the server has been restarted, then it may be necessary\n" + "to restart Navigator in order to re-establish the connection\n\n"; } setWaitCursor(false); Alert.runAlertInternally( Alert.warningImage(), "Error", core_msg + "\n\n" + suggestion + "Please see the Debugger release notes for troubleshooting information\n" + "\n" + " The debugger will exit now...", "OK", null, null ); performCommandLater( this, LOAD_FAILED_CMD, null ); return; } if( Emperor.REMOTE_SERVER == _mode ) statusWindow.setText("Found Server..."); Menu mainMenu = new Menu(true); MenuView menuView = new MenuView(mainMenu); MenuItem fileMenu = mainMenu.addItemWithSubmenu("File"); MenuItem item; _emperor = new Emperor( this, _mainWindow, mainMenu, fileMenu, menuView, _mode, _host, statusWindow ); addSeparator(fileMenu); item = fileMenu.submenu().addItem("Exit", EXIT_APP_CMD, this); MenuItem helpMenu = mainMenu.addItemWithSubmenu("Help"); item = helpMenu.submenu().addItem("About", SHOW_ABOUT_CMD, this); menuView.sizeToMinSize(); _mainWindow.setMenuView(menuView); _mainWindow.menuView().setDirty(true); statusWindow.hide(); setWaitCursor(false); if(ASS)Log.log(null, "startup success" ); _signalInitSuccessToHTMLPage();// System.out.println("++++ initForReal() end" ); } | 7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/2de73cf99dce60cce549e7757f841284b68d1220/JSDebuggerApp.java/buggy/js/jsdj/classes/com/netscape/jsdebugging/ifcui/JSDebuggerApp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
1290,
6955,
1435,
565,
288,
759,
3639,
2332,
18,
659,
18,
8222,
2932,
20934,
1208,
1290,
6955,
1435,
787,
6,
11272,
3639,
368,
10559,
1807,
6827,
364,
7756,
731,
10211,
358,
336,
333,
777,
596,
434,
326,
3639,
368,
4031,
261,
2080,
326,
729,
1807,
1634,
434,
1476,
13,
3639,
775,
3639,
288,
5411,
2301,
8203,
908,
1318,
18,
7589,
24308,
2932,
24113,
8863,
5411,
2301,
8203,
908,
1318,
18,
7589,
24308,
2932,
984,
14651,
812,
1994,
8863,
5411,
368,
2597,
3302,
1404,
8654,
15177,
716,
9816,
309,
326,
729,
20185,
1158,
358,
2398,
368,
4259,
261,
270,
333,
1634,
13,
5411,
775,
5411,
288,
7734,
2301,
8203,
908,
1318,
18,
7589,
24308,
2932,
984,
14651,
812,
3067,
8863,
7734,
2301,
8203,
908,
1318,
18,
7589,
24308,
2932,
984,
14651,
27046,
3829,
8863,
5411,
289,
5411,
1044,
12,
503,
425,
13,
5411,
288,
7734,
368,
2537,
20729,
4259,
5411,
289,
3639,
289,
3639,
1044,
12,
503,
425,
13,
3639,
288,
5411,
3073,
2189,
20607,
12,
333,
16,
24089,
67,
11965,
67,
19473,
16,
446,
11272,
5411,
327,
31,
3639,
289,
3639,
309,
12,
3033,
18,
9394,
13,
3639,
288,
5411,
4884,
268,
273,
4884,
18,
2972,
3830,
5621,
5411,
389,
4881,
3830,
1290,
8213,
1564,
273,
268,
31,
5411,
4232,
18,
542,
5247,
1503,
12,
88,
16,
2211,
1769,
3639,
289,
3639,
368,
444,
2690,
760,
10941,
2777,
3639,
5266,
18,
2570,
5621,
3639,
368,
732,
2727,
1404,
2545,
358,
1694,
305,
333,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
1290,
6955,
1435,
565,
288,
759,
3639,
2332,
18,
659,
18,
8222,
2932,
20934,
1208,
1290,
6955,
1435,
787,
6,
11272,
3639,
368,
10559,
1807,
6827,
364,
7756,
731,
10211,
358,
336,
333,
777,
596,
434,
326,
3639,
368,
4031,
261,
2080,
326,
729,
1807,
1634,
434,
1476,
13,
3639,
775,
3639,
288,
5411,
2301,
8203,
908,
1318,
18,
7589,
24308,
2932,
24113,
8863,
5411,
2301,
8203,
908,
1318,
18,
7589,
24308,
2932,
984,
14651,
812,
1994,
8863,
5411,
368,
2597,
3302,
1404,
8654,
15177,
716,
9816,
309,
326,
729,
20185,
1158,
358,
2398,
368,
4259,
261,
270,
333,
1634,
13,
5411,
775,
5411,
288,
7734,
2301,
8203,
908,
1318,
18,
7589,
24308,
2932,
984,
2
] |
getWriter().print(BaseTestRunner.getFilteredTrace(booBoo.trace())); } | getWriter().print(BaseTestRunner.getFilteredTrace(booBoo.trace())); } | protected void printDefectTrace(TestFailure booBoo) { getWriter().print(BaseTestRunner.getFilteredTrace(booBoo.trace())); } | 51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/b5b5168edc3af09cb74945a80b0c36e6630ed502/MondrianResultPrinter.java/clean/testsrc/main/mondrian/test/MondrianResultPrinter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1172,
3262,
386,
3448,
12,
4709,
5247,
800,
83,
38,
5161,
13,
288,
202,
202,
588,
2289,
7675,
1188,
12,
2171,
4709,
9709,
18,
588,
14478,
3448,
12,
1075,
83,
38,
5161,
18,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1172,
3262,
386,
3448,
12,
4709,
5247,
800,
83,
38,
5161,
13,
288,
202,
202,
588,
2289,
7675,
1188,
12,
2171,
4709,
9709,
18,
588,
14478,
3448,
12,
1075,
83,
38,
5161,
18,
5129,
1435,
10019,
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
] |
Subsets and Splits