rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
listlengths 256
256
| attention_mask
listlengths 256
256
| labels
listlengths 128
128
|
|---|---|---|---|---|---|---|
if (dispatcher != null
|
if (eventTypeEnabled (e.id) && dispatcher != null
|
void dispatchEventImpl(AWTEvent e) { // Give lightweight dispatcher a chance to handle it. if (dispatcher != null && dispatcher.handleEvent (e)) return; if ((e.id <= ContainerEvent.CONTAINER_LAST && e.id >= ContainerEvent.CONTAINER_FIRST) && (containerListener != null || (eventMask & AWTEvent.CONTAINER_EVENT_MASK) != 0)) processEvent(e); else super.dispatchEventImpl(e); }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e864c0d89c996e0999ad08d1701193723aaab52a/Container.java/buggy/core/src/classpath/java/java/awt/Container.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
15678,
2828,
12,
37,
8588,
1133,
425,
13,
225,
288,
565,
368,
22374,
9052,
4865,
7393,
279,
17920,
358,
1640,
518,
18,
565,
309,
261,
2575,
559,
1526,
261,
73,
18,
350,
13,
597,
7393,
480,
446,
540,
597,
7393,
18,
4110,
1133,
261,
73,
3719,
1377,
327,
31,
565,
309,
14015,
73,
18,
350,
1648,
4039,
1133,
18,
21395,
67,
14378,
2398,
597,
425,
18,
350,
1545,
4039,
1133,
18,
21395,
67,
15354,
13,
3639,
597,
261,
3782,
2223,
480,
446,
5411,
747,
261,
2575,
5796,
473,
432,
8588,
1133,
18,
21395,
67,
10454,
67,
11704,
13,
480,
374,
3719,
1377,
1207,
1133,
12,
73,
1769,
565,
469,
1377,
2240,
18,
10739,
1133,
2828,
12,
73,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
15678,
2828,
12,
37,
8588,
1133,
425,
13,
225,
288,
565,
368,
22374,
9052,
4865,
7393,
279,
17920,
358,
1640,
518,
18,
565,
309,
261,
2575,
559,
1526,
261,
73,
18,
350,
13,
597,
7393,
480,
446,
540,
597,
7393,
18,
4110,
1133,
261,
73,
3719,
1377,
327,
31,
565,
309,
14015,
73,
18,
350,
1648,
4039,
1133,
18,
21395,
67,
14378,
2398,
597,
425,
18,
350,
1545,
4039,
1133,
18,
21395,
67,
15354,
13,
3639,
597,
261,
3782,
2223,
480,
446,
5411,
747,
261,
2575,
5796,
473,
432,
8588,
1133,
18,
21395,
67,
10454,
67,
11704,
13,
480,
374,
3719,
1377,
1207,
1133,
12,
73,
1769,
565,
469,
1377,
2240,
18,
10739,
1133,
2828,
12,
73,
2
] |
List<IEquipmentStats> relevantRules = statsByRuleSet.get(stats); if (relevantRules == null) { relevantRules = collectionFactory.createList(); statsByRuleSet.put(ruleSet, relevantRules);
|
List<IEquipmentStats> statList = statsByRuleSet.get(ruleSet); if (statList == null) { statList = collectionFactory.createList(); statsByRuleSet.put(ruleSet, statList);
|
public synchronized void addStats(IExaltedRuleSet ruleSet, IEquipmentStats stats) { List<IEquipmentStats> relevantRules = statsByRuleSet.get(stats); if (relevantRules == null) { relevantRules = collectionFactory.createList(); statsByRuleSet.put(ruleSet, relevantRules); } relevantRules.add(stats); }
|
50281 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50281/034ea46a625055671985ee036c1c568508b00cdc/EquipmentTemplate.java/buggy/Character_Equipment_Impl/src/net/sf/anathema/character/equipment/impl/character/model/EquipmentTemplate.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
918,
527,
4195,
12,
45,
424,
287,
2344,
21474,
31897,
16,
10897,
372,
11568,
4195,
3177,
13,
288,
565,
987,
32,
8732,
372,
11568,
4195,
34,
9368,
4478,
273,
3177,
858,
21474,
18,
588,
12,
5296,
1769,
565,
309,
261,
27719,
4478,
422,
446,
13,
288,
1377,
9368,
4478,
273,
1849,
1733,
18,
2640,
682,
5621,
1377,
3177,
858,
21474,
18,
458,
12,
5345,
694,
16,
9368,
4478,
1769,
565,
289,
565,
9368,
4478,
18,
1289,
12,
5296,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
918,
527,
4195,
12,
45,
424,
287,
2344,
21474,
31897,
16,
10897,
372,
11568,
4195,
3177,
13,
288,
565,
987,
32,
8732,
372,
11568,
4195,
34,
9368,
4478,
273,
3177,
858,
21474,
18,
588,
12,
5296,
1769,
565,
309,
261,
27719,
4478,
422,
446,
13,
288,
1377,
9368,
4478,
273,
1849,
1733,
18,
2640,
682,
5621,
1377,
3177,
858,
21474,
18,
458,
12,
5345,
694,
16,
9368,
4478,
1769,
565,
289,
565,
9368,
4478,
18,
1289,
12,
5296,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
abstract void doGlobal(Function funObj, int count)
|
abstract void doGlobal(Context cx, Function funObj, int count, RegExpImpl reImpl)
|
abstract void doGlobal(Function funObj, int count) throws JavaScriptException;
|
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/8b34980fb3adc3beae5bcea5913d426dc2e366c8/RegExpImpl.java/clean/js/rhino/src/org/mozilla/javascript/regexp/RegExpImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
8770,
918,
741,
5160,
12,
1042,
9494,
16,
4284,
9831,
2675,
16,
509,
1056,
16,
10679,
2828,
283,
2828,
13,
540,
1216,
11905,
503,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
8770,
918,
741,
5160,
12,
1042,
9494,
16,
4284,
9831,
2675,
16,
509,
1056,
16,
10679,
2828,
283,
2828,
13,
540,
1216,
11905,
503,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
long mys = scoreAsLong(); long os = other.scoreAsLong(); if (mys == os) return mSr.id - other.mSr.id; else { long l = os - mys; if (l > 0) return 1; else if (l < 0) return -1; else return 0; } }
|
long mys = scoreAsLong(); long os = other.scoreAsLong(); if (mys == os) return mSr.id - other.mSr.id; else { long l = os - mys; if (l > 0) return 1; else if (l < 0) return -1; else return 0; } }
|
public int compareTo(Object o) { ScoredDBHit other = (ScoredDBHit)o; long mys = scoreAsLong(); long os = other.scoreAsLong(); if (mys == os) return mSr.id - other.mSr.id; else { long l = os - mys; if (l > 0) return 1; else if (l < 0) return -1; else return 0; } }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/d53d0c89cbf9265ffc4d32b7cc3570bf276c953f/DBQueryOperation.java/clean/ZimbraServer/src/java/com/zimbra/cs/index/DBQueryOperation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
202,
482,
509,
9292,
12,
921,
320,
13,
288,
377,
202,
202,
7295,
72,
2290,
13616,
1308,
273,
261,
7295,
72,
2290,
13616,
13,
83,
31,
377,
202,
202,
5748,
312,
1900,
273,
4462,
1463,
3708,
5621,
377,
202,
202,
5748,
1140,
273,
1308,
18,
6355,
1463,
3708,
5621,
377,
1082,
377,
202,
202,
430,
261,
81,
1900,
422,
1140,
13,
1377,
1082,
202,
2463,
312,
55,
86,
18,
350,
300,
1308,
18,
81,
55,
86,
18,
350,
31,
377,
202,
202,
12107,
288,
377,
1082,
202,
5748,
328,
273,
1140,
300,
312,
1900,
31,
377,
1082,
202,
430,
261,
80,
405,
374,
13,
1377,
9506,
202,
2463,
404,
31,
377,
1082,
202,
12107,
309,
261,
80,
411,
374,
13,
377,
9506,
202,
2463,
300,
21,
31,
377,
1082,
202,
12107,
327,
374,
31,
377,
202,
202,
97,
377,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
202,
482,
509,
9292,
12,
921,
320,
13,
288,
377,
202,
202,
7295,
72,
2290,
13616,
1308,
273,
261,
7295,
72,
2290,
13616,
13,
83,
31,
377,
202,
202,
5748,
312,
1900,
273,
4462,
1463,
3708,
5621,
377,
202,
202,
5748,
1140,
273,
1308,
18,
6355,
1463,
3708,
5621,
377,
1082,
377,
202,
202,
430,
261,
81,
1900,
422,
1140,
13,
1377,
1082,
202,
2463,
312,
55,
86,
18,
350,
300,
1308,
18,
81,
55,
86,
18,
350,
31,
377,
202,
202,
12107,
288,
377,
1082,
202,
5748,
328,
273,
1140,
300,
312,
1900,
31,
377,
1082,
202,
430,
261,
80,
405,
374,
13,
1377,
9506,
202,
2463,
404,
31,
377,
1082,
202,
12107,
309,
261,
80,
411,
2
] |
(FunctionStyleMacro) macro, resolveOffset(startingOffset), resolveOffset(idstart), resolveOffset(idend), resolveOffset(textEnd));
|
(FunctionStyleMacro) macro, getGlobalOffset(startingOffset), getGlobalOffset(idstart), getGlobalOffset(idend), getGlobalOffset(textEnd));
|
protected void processMacro(char[] name, int startingOffset, int startingLineNumber, int idstart, int idend, int nameLine, int textEnd, int endingLine, IMacro macro) { IScannerPreprocessorLog.IMacroDefinition m = null; if (macro instanceof FunctionStyleMacro) m = locationMap.defineFunctionStyleMacro( (FunctionStyleMacro) macro, resolveOffset(startingOffset), resolveOffset(idstart), resolveOffset(idend), resolveOffset(textEnd)); else if (macro instanceof ObjectStyleMacro) m = locationMap.defineObjectStyleMacro((ObjectStyleMacro) macro, resolveOffset(startingOffset), resolveOffset(idstart), resolveOffset(idend), resolveOffset(textEnd)); if (m != null && macro instanceof ObjectStyleMacro) ((ObjectStyleMacro) macro).attachment = m; }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/92b49872f2c9895f7f9b9a4e19f3e752f1acf50a/DOMScanner.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/DOMScanner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1207,
17392,
12,
3001,
8526,
508,
16,
509,
5023,
2335,
16,
5411,
509,
5023,
31063,
16,
509,
612,
1937,
16,
509,
612,
409,
16,
509,
508,
1670,
16,
5411,
509,
977,
1638,
16,
509,
11463,
1670,
16,
6246,
1077,
303,
11522,
13,
288,
3639,
467,
11338,
1386,
8700,
1343,
18,
3445,
1077,
303,
1852,
312,
273,
446,
31,
3639,
309,
261,
26448,
1276,
4284,
2885,
17392,
13,
5411,
312,
273,
2117,
863,
18,
11255,
2083,
2885,
17392,
12,
10792,
261,
2083,
2885,
17392,
13,
11522,
16,
2245,
2335,
12,
18526,
2335,
3631,
10792,
2245,
2335,
12,
350,
1937,
3631,
2245,
2335,
12,
26746,
3631,
10792,
2245,
2335,
12,
955,
1638,
10019,
3639,
469,
309,
261,
26448,
1276,
1033,
2885,
17392,
13,
5411,
312,
273,
2117,
863,
18,
11255,
921,
2885,
17392,
12443,
921,
2885,
17392,
13,
11522,
16,
10792,
2245,
2335,
12,
18526,
2335,
3631,
2245,
2335,
12,
350,
1937,
3631,
10792,
2245,
2335,
12,
26746,
3631,
2245,
2335,
12,
955,
1638,
10019,
3639,
309,
261,
81,
480,
446,
597,
11522,
1276,
1033,
2885,
17392,
13,
5411,
14015,
921,
2885,
17392,
13,
11522,
2934,
11461,
273,
312,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1207,
17392,
12,
3001,
8526,
508,
16,
509,
5023,
2335,
16,
5411,
509,
5023,
31063,
16,
509,
612,
1937,
16,
509,
612,
409,
16,
509,
508,
1670,
16,
5411,
509,
977,
1638,
16,
509,
11463,
1670,
16,
6246,
1077,
303,
11522,
13,
288,
3639,
467,
11338,
1386,
8700,
1343,
18,
3445,
1077,
303,
1852,
312,
273,
446,
31,
3639,
309,
261,
26448,
1276,
4284,
2885,
17392,
13,
5411,
312,
273,
2117,
863,
18,
11255,
2083,
2885,
17392,
12,
10792,
261,
2083,
2885,
17392,
13,
11522,
16,
2245,
2335,
12,
18526,
2335,
3631,
10792,
2245,
2335,
12,
350,
1937,
3631,
2245,
2335,
12,
26746,
3631,
10792,
2245,
2335,
12,
955,
1638,
10019,
3639,
469,
309,
261,
26448,
2
] |
GeneratedMethod closeCleanup,
|
SetOpResultSet( NoPutResultSet leftSource, NoPutResultSet rightSource, Activation activation, int resultSetNumber, long optimizerEstimatedRowCount, double optimizerEstimatedCost, int opType, boolean all, GeneratedMethod closeCleanup, int intermediateOrderByColumnsSavedObject, int intermediateOrderByDirectionSavedObject) { super(activation, resultSetNumber, optimizerEstimatedRowCount, optimizerEstimatedCost); this.leftSource = leftSource; this.rightSource = rightSource; this.activation = activation; this.resultSetNumber = resultSetNumber; this.opType = opType; this.all = all; this.closeCleanup = closeCleanup; ExecPreparedStatement eps = activation.getPreparedStatement(); intermediateOrderByColumns = (int[]) eps.getSavedObject(intermediateOrderByColumnsSavedObject); intermediateOrderByDirection = (int[]) eps.getSavedObject(intermediateOrderByDirectionSavedObject); constructorTime += getElapsedMillis(beginTime); }
|
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/f77f36d19f4b950fcf1f46c08f767787b02b135f/SetOpResultSet.java/clean/java/engine/org/apache/derby/impl/sql/execute/SetOpResultSet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1000,
3817,
13198,
12,
2631,
6426,
13198,
2002,
1830,
16,
10792,
2631,
6426,
13198,
2145,
1830,
16,
10792,
26015,
10027,
16,
5397,
509,
12168,
1854,
16,
10792,
1525,
13066,
9122,
17275,
26359,
16,
10792,
1645,
13066,
9122,
17275,
8018,
16,
10792,
509,
1061,
559,
16,
10792,
1250,
777,
16,
4766,
4202,
509,
12110,
15658,
3380,
16776,
921,
16,
10792,
509,
12110,
15658,
8212,
16776,
921,
13,
565,
288,
202,
202,
9565,
12,
16908,
16,
12168,
1854,
16,
30306,
13066,
9122,
17275,
26359,
16,
13066,
9122,
17275,
8018,
1769,
3639,
333,
18,
4482,
1830,
273,
2002,
1830,
31,
3639,
333,
18,
4083,
1830,
273,
2145,
1830,
31,
3639,
333,
18,
16908,
273,
10027,
31,
3639,
333,
18,
2088,
694,
1854,
273,
12168,
1854,
31,
3639,
333,
18,
556,
559,
273,
1061,
559,
31,
3639,
333,
18,
454,
273,
777,
31,
3639,
333,
18,
4412,
15007,
273,
1746,
15007,
31,
3639,
3889,
29325,
7785,
273,
10027,
18,
588,
29325,
5621,
3639,
12110,
15658,
3380,
273,
261,
474,
63,
5717,
7785,
18,
588,
16776,
921,
12,
2761,
6785,
15658,
3380,
16776,
921,
1769,
3639,
12110,
15658,
8212,
273,
261,
474,
63,
5717,
7785,
18,
588,
16776,
921,
12,
2761,
6785,
15658,
8212,
16776,
921,
1769,
202,
202,
12316,
950,
1011,
4774,
13886,
4814,
12,
10086,
950,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1000,
3817,
13198,
12,
2631,
6426,
13198,
2002,
1830,
16,
10792,
2631,
6426,
13198,
2145,
1830,
16,
10792,
26015,
10027,
16,
5397,
509,
12168,
1854,
16,
10792,
1525,
13066,
9122,
17275,
26359,
16,
10792,
1645,
13066,
9122,
17275,
8018,
16,
10792,
509,
1061,
559,
16,
10792,
1250,
777,
16,
4766,
4202,
509,
12110,
15658,
3380,
16776,
921,
16,
10792,
509,
12110,
15658,
8212,
16776,
921,
13,
565,
288,
202,
202,
9565,
12,
16908,
16,
12168,
1854,
16,
30306,
13066,
9122,
17275,
26359,
16,
13066,
9122,
17275,
8018,
1769,
3639,
333,
18,
4482,
1830,
273,
2002,
1830,
31,
3639,
333,
18,
4083,
1830,
273,
2145,
1830,
31,
3639,
333,
18,
16908,
273,
10027,
31,
3639,
333,
18,
2088,
694,
2
] |
|
if (swtSide == SWT.RIGHT) {
|
if (areaId == RIGHT) {
|
public Rectangle getSnapRectangle(Composite window, int swtSide, Rectangle dragRect, IWindowTrim insertBefore) { int id = convertSwtConstantToAreaId(swtSide); List area = fTrimArea[id]; Rectangle trimRect = getTrimRect(window, swtSide); if (insertBefore == null) { if (area != null && area.size() > 0) { // Place the dragRect at the 'end' of the current controls TrimDescriptor last = (TrimDescriptor) area .get(area.size() - 1); Rectangle lastRect = DragUtil.getDisplayBounds(last.getCache() .getControl()); if (swtSide == SWT.BOTTOM || swtSide == SWT.TOP) { Rectangle snapRect = new Rectangle(lastRect.x + lastRect.width, lastRect.y, dragRect.width, dragRect.height); // Force the rectangle back into the trim rect (in case it's // 'full') int dx = (trimRect.x + trimRect.width) - (snapRect.x + snapRect.width); if (dx < 0) Geometry.moveRectangle(snapRect, new Point(dx, 0)); return snapRect; } else if (swtSide == SWT.LEFT || swtSide == SWT.RIGHT) { Rectangle snapRect = new Rectangle(lastRect.x, lastRect.y + lastRect.height, dragRect.width, dragRect.height); // Force the rectangle back into the trim rect (in case it's // 'full') int dy = (trimRect.y + trimRect.height) - (snapRect.y + snapRect.height); if (dy < 0) Geometry.moveRectangle(snapRect, new Point(dy, 0)); // If it's the RIGHT side then also force the rectangle // inside the frame if (swtSide == SWT.RIGHT) { int dx = (trimRect.x + trimRect.width) - (snapRect.x + snapRect.width); if (dx < 0) Geometry.moveRectangle(snapRect, new Point(dx, 0)); } return snapRect; } } else { Rectangle snapRect = new Rectangle(trimRect.x, trimRect.y, dragRect.width, dragRect.height); // If it's the RIGHT side then also force the rectangle inside // the frame if (swtSide == SWT.RIGHT) { int dx = (trimRect.x + trimRect.width) - (snapRect.x + snapRect.width); if (dx < 0) Geometry.moveRectangle(snapRect, new Point(dx, 0)); } return snapRect; } } // OK...we've got something to work with... // First, get the drag handle associated with this control Control trimControl = insertBefore.getControl(); // int index = getIndex(id, trimControl); TrimDescriptor desc = getTrimDescription(trimControl); Rectangle ctrlRect = DragUtil.getDisplayBounds(trimControl); if (fUseCommonUI && desc != null) { Control dragHandle = desc.getDockingCache().getControl(); ctrlRect = DragUtil.getDisplayBounds(dragHandle); } Rectangle snapRect; if (swtSide == SWT.BOTTOM || swtSide == SWT.TOP) snapRect = new Rectangle(ctrlRect.x - 2, ctrlRect.y - 2, 5, ctrlRect.height + 4); else snapRect = new Rectangle(ctrlRect.x - 2, ctrlRect.y - 2, ctrlRect.width + 4, 5); // Rectangle snapRect = new // Rectangle(ctrlRect.x,ctrlRect.y,dragRect.width,dragRect.height); return snapRect; }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/c02ce808ddcd3a887071a5c31104b81c396819e2/TrimLayout.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/layout/TrimLayout.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
13264,
1322,
2322,
19463,
12,
9400,
2742,
16,
509,
1352,
88,
8895,
16,
1082,
202,
19463,
8823,
6120,
16,
467,
3829,
14795,
18004,
13,
288,
202,
202,
474,
612,
273,
1765,
55,
6046,
6902,
774,
5484,
548,
12,
5328,
88,
8895,
1769,
202,
202,
682,
5091,
273,
284,
14795,
5484,
63,
350,
15533,
202,
202,
19463,
2209,
6120,
273,
336,
14795,
6120,
12,
5668,
16,
1352,
88,
8895,
1769,
202,
202,
430,
261,
6387,
4649,
422,
446,
13,
288,
1082,
202,
430,
261,
5036,
480,
446,
597,
5091,
18,
1467,
1435,
405,
374,
13,
288,
9506,
202,
759,
13022,
326,
8823,
6120,
622,
326,
296,
409,
11,
434,
326,
783,
11022,
9506,
202,
14795,
3187,
1142,
273,
261,
14795,
3187,
13,
5091,
25083,
202,
18,
588,
12,
5036,
18,
1467,
1435,
300,
404,
1769,
9506,
202,
19463,
1142,
6120,
273,
28425,
1304,
18,
588,
4236,
5694,
12,
2722,
18,
588,
1649,
1435,
25083,
202,
18,
588,
3367,
10663,
9506,
202,
430,
261,
5328,
88,
8895,
422,
348,
8588,
18,
28891,
747,
1352,
88,
8895,
422,
348,
8588,
18,
10462,
13,
288,
6862,
202,
19463,
10915,
6120,
273,
394,
13264,
12,
2722,
6120,
18,
92,
6862,
1082,
202,
15,
1142,
6120,
18,
2819,
16,
1142,
6120,
18,
93,
16,
8823,
6120,
18,
2819,
16,
6862,
1082,
202,
15997,
6120,
18,
4210,
1769,
6862,
202,
759,
11889,
326,
11845,
1473,
1368,
326,
2209,
4917,
261,
267,
648,
518,
1807,
6862,
202,
759,
296,
2854,
6134,
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,
482,
13264,
1322,
2322,
19463,
12,
9400,
2742,
16,
509,
1352,
88,
8895,
16,
1082,
202,
19463,
8823,
6120,
16,
467,
3829,
14795,
18004,
13,
288,
202,
202,
474,
612,
273,
1765,
55,
6046,
6902,
774,
5484,
548,
12,
5328,
88,
8895,
1769,
202,
202,
682,
5091,
273,
284,
14795,
5484,
63,
350,
15533,
202,
202,
19463,
2209,
6120,
273,
336,
14795,
6120,
12,
5668,
16,
1352,
88,
8895,
1769,
202,
202,
430,
261,
6387,
4649,
422,
446,
13,
288,
1082,
202,
430,
261,
5036,
480,
446,
597,
5091,
18,
1467,
1435,
405,
374,
13,
288,
9506,
202,
759,
13022,
326,
8823,
6120,
622,
326,
296,
409,
11,
434,
326,
783,
11022,
9506,
202,
14795,
3187,
1142,
2
] |
public CircularView(Sequence seq){ super(seq);
|
public CircularView(Sequence seq, FeatureRealizer fr){ super(seq, fr);
|
public CircularView(Sequence seq){ super(seq); }
|
50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/b912caf8b72b32e71449f9e11af32633e912c2f4/CircularView.java/buggy/src/org/biojava/bio/seq/CircularView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13246,
9559,
1767,
12,
4021,
3833,
15329,
565,
2240,
12,
5436,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13246,
9559,
1767,
12,
4021,
3833,
15329,
565,
2240,
12,
5436,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
((EditorCell_Basic)editorCell).setParseable(false);
|
public EditorCell createConstantCell(EditorContext context, SNode node, String text) { EditorCell_Constant editorCell = EditorCell_Constant.create(context, node, text, false); editorCell.setSelectable(true); editorCell.setDrawBorder(false); editorCell.setEditable(false); editorCell.setDefaultText(""); editorCell.setDrawBrackets(false); editorCell.setBracketsColor(Color.black); editorCell.setFontType(MPSFonts.BOLD); editorCell.getTextLine().setTextColor(MPSColors.DARK_MAGENTA); editorCell.putUserObject(EditorCell.CELL_ID, "1105727123122"); editorCell.setLayoutConstraint(""); ((EditorCell_Basic)editorCell).setParseable(false); return editorCell; }
|
14939 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14939/053b145d22746941ae58efa34e1c2eead03ca0b5/StringConceptPropertyDeclaration_Editor.java/buggy/source_gen/jetbrains/mps/bootstrap/structureLanguage/editor/StringConceptPropertyDeclaration_Editor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
18451,
4020,
752,
6902,
4020,
12,
6946,
1042,
819,
16,
348,
907,
756,
16,
514,
977,
13,
288,
565,
18451,
4020,
67,
6902,
4858,
4020,
273,
18451,
4020,
67,
6902,
18,
2640,
12,
2472,
16,
756,
16,
977,
16,
629,
1769,
565,
4858,
4020,
18,
542,
31544,
12,
3767,
1769,
565,
4858,
4020,
18,
542,
6493,
8107,
12,
5743,
1769,
565,
4858,
4020,
18,
542,
15470,
12,
5743,
1769,
565,
4858,
4020,
18,
542,
1868,
1528,
2932,
8863,
565,
4858,
4020,
18,
542,
6493,
23029,
12,
5743,
1769,
565,
4858,
4020,
18,
542,
23029,
2957,
12,
2957,
18,
11223,
1769,
565,
4858,
4020,
18,
542,
5711,
559,
12,
4566,
55,
5711,
87,
18,
38,
11846,
1769,
565,
4858,
4020,
18,
588,
1528,
1670,
7675,
542,
31061,
12,
4566,
55,
12570,
18,
40,
9584,
67,
49,
15005,
37,
1769,
565,
4858,
4020,
18,
458,
1299,
921,
12,
6946,
4020,
18,
27752,
67,
734,
16,
315,
17506,
10321,
5324,
12936,
22266,
8863,
565,
4858,
4020,
18,
542,
3744,
5806,
2932,
8863,
4202,
327,
4858,
4020,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
18451,
4020,
752,
6902,
4020,
12,
6946,
1042,
819,
16,
348,
907,
756,
16,
514,
977,
13,
288,
565,
18451,
4020,
67,
6902,
4858,
4020,
273,
18451,
4020,
67,
6902,
18,
2640,
12,
2472,
16,
756,
16,
977,
16,
629,
1769,
565,
4858,
4020,
18,
542,
31544,
12,
3767,
1769,
565,
4858,
4020,
18,
542,
6493,
8107,
12,
5743,
1769,
565,
4858,
4020,
18,
542,
15470,
12,
5743,
1769,
565,
4858,
4020,
18,
542,
1868,
1528,
2932,
8863,
565,
4858,
4020,
18,
542,
6493,
23029,
12,
5743,
1769,
565,
4858,
4020,
18,
542,
23029,
2957,
12,
2957,
18,
11223,
1769,
565,
4858,
4020,
18,
542,
5711,
559,
12,
4566,
55,
5711,
87,
18,
38,
11846,
1769,
565,
2
] |
|
if ( GalleryRemote.getInstance().properties.getShowPreview() ) { if ( sel != -1 ) { String filename = ( mAlbum.getPicture( sel ).getSource() ).getPath(); previewFrame.displayFile( filename ); thumbnailCache.preloadThumbnailFirst( filename ); } else { previewFrame.displayFile( null ); } if ( !previewFrame.isVisible() ) { previewFrame.setVisible( true ); }
|
if ( sel != -1 ) { String filename = ( mAlbum.getPicture( sel ).getSource() ).getPath(); thumbnailCache.preloadThumbnailFirst( filename );
|
public void valueChanged( ListSelectionEvent e ) { //Log.log(Log.TRACE, MODULE, "List selection changed: " + e); int sel = picturesList.getSelectedIndex(); if ( GalleryRemote.getInstance().properties.getShowPreview() ) { if ( sel != -1 ) { String filename = ( mAlbum.getPicture( sel ).getSource() ).getPath(); previewFrame.displayFile( filename ); thumbnailCache.preloadThumbnailFirst( filename ); } else { previewFrame.displayFile( null ); } if ( !previewFrame.isVisible() ) { previewFrame.setVisible( true ); } } resetUIState(); }
|
9402 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9402/1a011f48690d30812e00e76755462d049984b2e7/MainFrame.java/buggy/com/gallery/GalleryRemote/MainFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
460,
5033,
12,
987,
6233,
1133,
425,
262,
288,
202,
202,
759,
1343,
18,
1330,
12,
1343,
18,
23827,
16,
14057,
16,
315,
682,
4421,
3550,
30,
315,
397,
425,
1769,
202,
202,
474,
357,
273,
293,
28636,
682,
18,
588,
7416,
1016,
5621,
202,
202,
430,
261,
31398,
5169,
18,
588,
1442,
7675,
4738,
18,
588,
5706,
11124,
1435,
262,
288,
1082,
202,
430,
261,
357,
480,
300,
21,
262,
288,
9506,
202,
780,
1544,
273,
261,
312,
30330,
18,
588,
24061,
12,
357,
262,
18,
588,
1830,
1435,
262,
18,
588,
743,
5621,
9506,
202,
12102,
3219,
18,
5417,
812,
12,
1544,
11272,
9506,
202,
14904,
1649,
18,
1484,
945,
16270,
3759,
12,
1544,
11272,
1082,
202,
97,
469,
288,
9506,
202,
12102,
3219,
18,
5417,
812,
12,
446,
11272,
1082,
202,
97,
1082,
202,
430,
261,
401,
12102,
3219,
18,
291,
6207,
1435,
262,
288,
9506,
202,
12102,
3219,
18,
542,
6207,
12,
638,
11272,
1082,
202,
97,
202,
202,
97,
202,
202,
6208,
5370,
1119,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
460,
5033,
12,
987,
6233,
1133,
425,
262,
288,
202,
202,
759,
1343,
18,
1330,
12,
1343,
18,
23827,
16,
14057,
16,
315,
682,
4421,
3550,
30,
315,
397,
425,
1769,
202,
202,
474,
357,
273,
293,
28636,
682,
18,
588,
7416,
1016,
5621,
202,
202,
430,
261,
31398,
5169,
18,
588,
1442,
7675,
4738,
18,
588,
5706,
11124,
1435,
262,
288,
1082,
202,
430,
261,
357,
480,
300,
21,
262,
288,
9506,
202,
780,
1544,
273,
261,
312,
30330,
18,
588,
24061,
12,
357,
262,
18,
588,
1830,
1435,
262,
18,
588,
743,
5621,
9506,
202,
12102,
3219,
18,
5417,
812,
12,
1544,
11272,
9506,
202,
14904,
1649,
18,
1484,
945,
16270,
3759,
12,
2
] |
if( output != null && output.trim().length() > 0 )
|
if ( output != null )
|
public void execute() throws MojoExecutionException { StringWriter sWriter = new StringWriter(); MavenXpp3Writer pomWriter = new MavenXpp3Writer(); try { pomWriter.write( sWriter, pom ); } catch ( IOException e ) { throw new MojoExecutionException( "Cannot serialize POM to XML.", e ); } if( output != null && output.trim().length() > 0 ) { FileWriter fWriter = null; try { File outFile = new File( output ).getAbsoluteFile(); File dir = outFile.getParentFile(); if( !dir.exists() ) { dir.mkdirs(); } getLog().info( "Writing effective-POM to: " + outFile ); fWriter = new FileWriter( outFile ); fWriter.write( sWriter.toString() ); } catch ( IOException e ) { throw new MojoExecutionException( "Cannot write effective-POM to output: " + output, e ); } finally { if( fWriter != null ) { try { fWriter.close(); } catch( IOException e ) { getLog().debug( "Cannot close FileWriter to output location: " + output, e ); } } } } else { StringBuffer message = new StringBuffer(); message.append( "\nEffective POM, after all profiles are factored in:\n\n" ); message.append( sWriter.toString() ); message.append( "\n\n" ); getLog().info( message ); } }
|
50542 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50542/47d9a60537492490741c4fb9b09f5da38debfa46/EffectivePomPlugin.java/clean/maven-plugins/maven-projecthelp-plugin/src/main/java/org/apache/maven/plugins/projecthelp/EffectivePomPlugin.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1435,
3639,
1216,
18780,
565,
288,
3639,
17436,
272,
2289,
273,
394,
17436,
5621,
7734,
17176,
60,
11858,
23,
2289,
21400,
2289,
273,
394,
17176,
60,
11858,
23,
2289,
5621,
7734,
775,
3639,
288,
5411,
21400,
2289,
18,
2626,
12,
272,
2289,
16,
21400,
11272,
3639,
289,
3639,
1044,
261,
1860,
425,
262,
3639,
288,
5411,
604,
394,
18780,
12,
315,
4515,
4472,
453,
1872,
358,
3167,
1199,
16,
425,
11272,
3639,
289,
7734,
309,
261,
876,
480,
446,
262,
3639,
288,
5411,
24639,
284,
2289,
273,
446,
31,
5411,
775,
5411,
288,
7734,
1387,
21651,
273,
394,
1387,
12,
876,
262,
18,
588,
10368,
812,
5621,
27573,
1387,
1577,
273,
21651,
18,
588,
3054,
812,
5621,
27573,
309,
12,
401,
1214,
18,
1808,
1435,
262,
7734,
288,
10792,
1577,
18,
24816,
8291,
5621,
7734,
289,
27573,
9189,
7675,
1376,
12,
315,
18835,
11448,
17,
52,
1872,
358,
30,
315,
397,
21651,
11272,
27573,
284,
2289,
273,
394,
24639,
12,
21651,
11272,
27573,
284,
2289,
18,
2626,
12,
272,
2289,
18,
10492,
1435,
11272,
5411,
289,
5411,
1044,
261,
1860,
425,
262,
5411,
288,
7734,
604,
394,
18780,
12,
315,
4515,
1045,
11448,
17,
52,
1872,
358,
876,
30,
315,
397,
876,
16,
425,
11272,
5411,
289,
5411,
3095,
5411,
288,
7734,
309,
12,
284,
2289,
480,
446,
262,
7734,
288,
10792,
775,
10792,
288,
13491,
284,
2289,
18,
4412,
5621,
10792,
289,
10792,
1044,
12,
1860,
425,
262,
10792,
288,
13491,
9189,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1435,
3639,
1216,
18780,
565,
288,
3639,
17436,
272,
2289,
273,
394,
17436,
5621,
7734,
17176,
60,
11858,
23,
2289,
21400,
2289,
273,
394,
17176,
60,
11858,
23,
2289,
5621,
7734,
775,
3639,
288,
5411,
21400,
2289,
18,
2626,
12,
272,
2289,
16,
21400,
11272,
3639,
289,
3639,
1044,
261,
1860,
425,
262,
3639,
288,
5411,
604,
394,
18780,
12,
315,
4515,
4472,
453,
1872,
358,
3167,
1199,
16,
425,
11272,
3639,
289,
7734,
309,
261,
876,
480,
446,
262,
3639,
288,
5411,
24639,
284,
2289,
273,
446,
31,
5411,
775,
5411,
288,
7734,
1387,
21651,
273,
394,
1387,
12,
876,
262,
18,
588,
10368,
812,
5621,
27573,
1387,
1577,
273,
21651,
18,
588,
3054,
2
] |
assertEquals(0, TupleComparator.compareObjects(null, null) ); assertEquals(-1, TupleComparator.compareObjects(null, "abc") ); assertEquals(1, TupleComparator.compareObjects("abc", null) );
|
assertEquals(0, TupleComparator.compareObjects(null, null, null) ); assertEquals(-1, TupleComparator.compareObjects(null, "abc", null) ); assertEquals(1, TupleComparator.compareObjects("abc", null, null) );
|
public void testCompareObjects() { assertEquals(0, TupleComparator.compareObjects(null, null) ); assertEquals(-1, TupleComparator.compareObjects(null, "abc") ); //$NON-NLS-1$ assertEquals(1, TupleComparator.compareObjects("abc", null) ); //$NON-NLS-1$ assertEquals(1, TupleComparator.compareObjects("abc", "a") ); //$NON-NLS-1$ //$NON-NLS-2$ assertEquals(-1, TupleComparator.compareObjects("ab", "b") ); //$NON-NLS-1$ //$NON-NLS-2$ assertEquals(0, TupleComparator.compareObjects("abc", "abc") ); //$NON-NLS-1$ //$NON-NLS-2$ Integer n1 = new Integer(80); Integer n2 = new Integer(60); assertEquals(1, TupleComparator.compareObjects(n1, n2) ); assertEquals(-1, TupleComparator.compareObjects(n2, n1) ); Date a = new Date((long)8E8); Date b = new Date((long)7E9); assertEquals(-1, TupleComparator.compareObjects(a, b) ); assertEquals(1, TupleComparator.compareObjects(b, a) ); Calendar c1 = Calendar.getInstance(); c1.set(1999,2,5); Calendar c2 = Calendar.getInstance(); c2.set(2000,1,23); assertEquals(-1, TupleComparator.compareObjects(c1, c2) ); assertEquals(1, TupleComparator.compareObjects(c2, c1) ); }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/ccb408c37d65187712860e300730d338d02743ed/TupleComparatorTest.java/clean/chart/org.eclipse.birt.chart.tests/src/org/eclipse/birt/chart/tests/engine/internal/TupleComparatorTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
8583,
4710,
1435,
288,
202,
202,
11231,
8867,
12,
20,
16,
7257,
5559,
18,
9877,
4710,
12,
2011,
16,
446,
13,
11272,
202,
202,
11231,
8867,
19236,
21,
16,
7257,
5559,
18,
9877,
4710,
12,
2011,
16,
315,
18947,
7923,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
11231,
8867,
12,
21,
16,
7257,
5559,
18,
9877,
4710,
2932,
18947,
3113,
446,
13,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
11231,
8867,
12,
21,
16,
7257,
5559,
18,
9877,
4710,
2932,
18947,
3113,
315,
69,
7923,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
202,
202,
11231,
8867,
19236,
21,
16,
7257,
5559,
18,
9877,
4710,
2932,
378,
3113,
315,
70,
7923,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
202,
202,
11231,
8867,
12,
20,
16,
7257,
5559,
18,
9877,
4710,
2932,
18947,
3113,
315,
18947,
7923,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
9506,
202,
4522,
290,
21,
273,
394,
2144,
12,
3672,
1769,
202,
202,
4522,
290,
22,
273,
394,
2144,
12,
4848,
1769,
202,
202,
11231,
8867,
12,
21,
16,
7257,
5559,
18,
9877,
4710,
12,
82,
21,
16,
290,
22,
13,
11272,
202,
202,
11231,
8867,
19236,
21,
16,
7257,
5559,
18,
9877,
4710,
12,
82,
22,
16,
290,
21,
13,
11272,
9506,
202,
1626,
279,
273,
394,
2167,
12443,
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,
1842,
8583,
4710,
1435,
288,
202,
202,
11231,
8867,
12,
20,
16,
7257,
5559,
18,
9877,
4710,
12,
2011,
16,
446,
13,
11272,
202,
202,
11231,
8867,
19236,
21,
16,
7257,
5559,
18,
9877,
4710,
12,
2011,
16,
315,
18947,
7923,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
11231,
8867,
12,
21,
16,
7257,
5559,
18,
9877,
4710,
2932,
18947,
3113,
446,
13,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
11231,
8867,
12,
21,
16,
7257,
5559,
18,
9877,
4710,
2932,
18947,
3113,
315,
69,
7923,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
202,
202,
11231,
8867,
19236,
21,
16,
7257,
2
] |
IDebugModelPresentation debugLabelProvider = (IDebugModelPresentation)labelProvider; debugLabelProvider.setAttribute( IDebugModelPresentation.DISPLAY_VARIABLE_TYPE_NAMES, ( on ? Boolean.TRUE : Boolean.FALSE ) );
|
debugLabelProvider.setAttribute( IDebugModelPresentation.DISPLAY_VARIABLE_TYPE_NAMES, ( on ? Boolean.TRUE : Boolean.FALSE ) );
|
private void valueChanged( boolean on ) { if ( getViewer().getControl().isDisposed() ) { return; } ILabelProvider labelProvider = (ILabelProvider)getViewer().getLabelProvider(); if ( labelProvider instanceof IDebugModelPresentation ) { IDebugModelPresentation debugLabelProvider = (IDebugModelPresentation)labelProvider; debugLabelProvider.setAttribute( IDebugModelPresentation.DISPLAY_VARIABLE_TYPE_NAMES, ( on ? Boolean.TRUE : Boolean.FALSE ) ); BusyIndicator.showWhile( getViewer().getControl().getDisplay(), new Runnable() { public void run() { getViewer().refresh(); } } ); } }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/c7b323e4fb3b60c5f50c85464158b44fda3fd63f/ShowRegisterTypesAction.java/buggy/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ShowRegisterTypesAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
460,
5033,
12,
1250,
603,
262,
202,
95,
202,
202,
430,
261,
8893,
264,
7675,
588,
3367,
7675,
291,
1669,
7423,
1435,
262,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
45,
2224,
2249,
1433,
2249,
273,
261,
45,
2224,
2249,
13,
588,
18415,
7675,
588,
2224,
2249,
5621,
202,
202,
430,
261,
1433,
2249,
1276,
467,
2829,
1488,
6351,
367,
262,
202,
202,
95,
1082,
202,
734,
73,
925,
1488,
6351,
367,
1198,
2224,
2249,
273,
261,
734,
73,
925,
1488,
6351,
367,
13,
1925,
2249,
31,
1082,
202,
4148,
2224,
2249,
18,
542,
1499,
12,
467,
2829,
1488,
6351,
367,
18,
17463,
67,
16444,
67,
2399,
67,
16257,
16,
261,
603,
692,
3411,
18,
18724,
294,
3411,
18,
21053,
262,
11272,
1082,
202,
29289,
13140,
18,
4500,
15151,
12,
8893,
264,
7675,
588,
3367,
7675,
588,
4236,
9334,
17322,
202,
394,
10254,
1435,
6862,
25083,
202,
95,
6862,
6862,
1082,
202,
482,
918,
1086,
1435,
6862,
6862,
1082,
202,
95,
6862,
6862,
9506,
202,
588,
18415,
7675,
9144,
5621,
6862,
6862,
1082,
202,
97,
6862,
25083,
202,
97,
11272,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
460,
5033,
12,
1250,
603,
262,
202,
95,
202,
202,
430,
261,
8893,
264,
7675,
588,
3367,
7675,
291,
1669,
7423,
1435,
262,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
45,
2224,
2249,
1433,
2249,
273,
261,
45,
2224,
2249,
13,
588,
18415,
7675,
588,
2224,
2249,
5621,
202,
202,
430,
261,
1433,
2249,
1276,
467,
2829,
1488,
6351,
367,
262,
202,
202,
95,
1082,
202,
734,
73,
925,
1488,
6351,
367,
1198,
2224,
2249,
273,
261,
734,
73,
925,
1488,
6351,
367,
13,
1925,
2249,
31,
1082,
202,
4148,
2224,
2249,
18,
542,
1499,
12,
467,
2829,
1488,
6351,
367,
18,
17463,
67,
16444,
67,
2399,
67,
16257,
16,
2
] |
throw new NoSuchCommandScmException( "diff" );
|
login( repository, fileSet ); CommandParameters parameters = new CommandParameters(); parameters.setString( CommandParameter.START_REVISION, startRevision ); parameters.setString( CommandParameter.END_REVISION, endRevision ); return diff( repository, fileSet, parameters );
|
protected DiffScmResult diff( ScmRepository repository, ScmFileSet fileSet, CommandParameters parameters ) throws ScmException { throw new NoSuchCommandScmException( "diff" ); }
|
48502 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48502/1f76f673e3d5bd53765cc3e757f60285d2bbc122/AbstractScmProvider.java/buggy/maven-scm-api/src/main/java/org/apache/maven/scm/provider/AbstractScmProvider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
13008,
1541,
81,
1253,
3122,
12,
2850,
81,
3305,
3352,
16,
2850,
81,
812,
694,
585,
694,
16,
3498,
2402,
1472,
262,
3639,
1216,
2850,
81,
503,
565,
288,
3639,
3925,
12,
3352,
16,
585,
694,
11272,
225,
3498,
2402,
1472,
273,
394,
3498,
2402,
5621,
225,
1472,
18,
542,
780,
12,
3498,
1662,
18,
7570,
67,
862,
25216,
16,
787,
7939,
11272,
225,
1472,
18,
542,
780,
12,
3498,
1662,
18,
4415,
67,
862,
25216,
16,
679,
7939,
11272,
225,
327,
3122,
12,
3352,
16,
585,
694,
16,
1472,
11272,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
13008,
1541,
81,
1253,
3122,
12,
2850,
81,
3305,
3352,
16,
2850,
81,
812,
694,
585,
694,
16,
3498,
2402,
1472,
262,
3639,
1216,
2850,
81,
503,
565,
288,
3639,
3925,
12,
3352,
16,
585,
694,
11272,
225,
3498,
2402,
1472,
273,
394,
3498,
2402,
5621,
225,
1472,
18,
542,
780,
12,
3498,
1662,
18,
7570,
67,
862,
25216,
16,
787,
7939,
11272,
225,
1472,
18,
542,
780,
12,
3498,
1662,
18,
4415,
67,
862,
25216,
16,
679,
7939,
11272,
225,
327,
3122,
12,
3352,
16,
585,
694,
16,
1472,
11272,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (matchToken(Token.ASSIGN, 0)) {
|
if (matchToken(Token.ASSIGN)) {
|
private Node variables(boolean inForInit) throws IOException, ParserException { Node pn = nf.createVariables(ts.getLineno()); boolean first = true; decompiler.addToken(Token.VAR); for (;;) { Node name; Node init; mustMatchToken(Token.NAME, "msg.bad.var"); String s = ts.getString(); if (!first) decompiler.addToken(Token.COMMA); first = false; decompiler.addName(s); currentScriptOrFn.addVar(s); name = nf.createName(s); // omitted check for argument hiding if (matchToken(Token.ASSIGN, 0)) { decompiler.addToken(Token.ASSIGN); init = assignExpr(inForInit); nf.addChildToBack(name, init); } nf.addChildToBack(pn, name); if (!matchToken(Token.COMMA, 0)) break; } return pn; }
|
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/eea0a0a79d27ae62fc3c9a3f98c2f0a02adaf2c4/Parser.java/clean/js/rhino/src/org/mozilla/javascript/Parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2029,
3152,
12,
6494,
316,
1290,
2570,
13,
3639,
1216,
1860,
16,
27990,
565,
288,
3639,
2029,
11059,
273,
13958,
18,
2640,
6158,
12,
3428,
18,
588,
48,
267,
5764,
10663,
3639,
1250,
1122,
273,
638,
31,
3639,
443,
9576,
18,
1289,
1345,
12,
1345,
18,
7716,
1769,
3639,
364,
261,
25708,
13,
288,
5411,
2029,
508,
31,
5411,
2029,
1208,
31,
5411,
1297,
2060,
1345,
12,
1345,
18,
1985,
16,
315,
3576,
18,
8759,
18,
1401,
8863,
5411,
514,
272,
273,
3742,
18,
588,
780,
5621,
5411,
309,
16051,
3645,
13,
7734,
443,
9576,
18,
1289,
1345,
12,
1345,
18,
4208,
5535,
1769,
5411,
1122,
273,
629,
31,
5411,
443,
9576,
18,
1289,
461,
12,
87,
1769,
5411,
783,
3651,
1162,
5372,
18,
1289,
1537,
12,
87,
1769,
5411,
508,
273,
13958,
18,
2640,
461,
12,
87,
1769,
5411,
368,
16195,
866,
364,
1237,
366,
10415,
5411,
309,
261,
1916,
1345,
12,
1345,
18,
23289,
3719,
288,
7734,
443,
9576,
18,
1289,
1345,
12,
1345,
18,
23289,
1769,
7734,
1208,
273,
2683,
4742,
12,
267,
1290,
2570,
1769,
7734,
13958,
18,
1289,
1763,
774,
2711,
12,
529,
16,
1208,
1769,
5411,
289,
5411,
13958,
18,
1289,
1763,
774,
2711,
12,
7449,
16,
508,
1769,
5411,
309,
16051,
1916,
1345,
12,
1345,
18,
4208,
5535,
16,
374,
3719,
7734,
898,
31,
3639,
289,
3639,
327,
11059,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2029,
3152,
12,
6494,
316,
1290,
2570,
13,
3639,
1216,
1860,
16,
27990,
565,
288,
3639,
2029,
11059,
273,
13958,
18,
2640,
6158,
12,
3428,
18,
588,
48,
267,
5764,
10663,
3639,
1250,
1122,
273,
638,
31,
3639,
443,
9576,
18,
1289,
1345,
12,
1345,
18,
7716,
1769,
3639,
364,
261,
25708,
13,
288,
5411,
2029,
508,
31,
5411,
2029,
1208,
31,
5411,
1297,
2060,
1345,
12,
1345,
18,
1985,
16,
315,
3576,
18,
8759,
18,
1401,
8863,
5411,
514,
272,
273,
3742,
18,
588,
780,
5621,
5411,
309,
16051,
3645,
13,
7734,
443,
9576,
18,
1289,
1345,
12,
1345,
18,
4208,
5535,
1769,
5411,
1122,
273,
629,
31,
5411,
443,
9576,
18,
1289,
461,
12,
87,
2
] |
Event snmpEvent = new Event(); snmpEvent.setInterface("127.0.0.1"); snmpEvent.setNodeid(0); snmpEvent.setUei("uei.opennms.org/default/trap"); System.out.println("Anticipating: " + new EventWrapper(snmpEvent)); m_anticipator.anticipateEvent(snmpEvent);
|
anticipateEvent("uei.opennms.org/default/trap");
|
public void doTestTrap(String version, boolean newSuspectOnTrap) throws UnknownHostException, InterruptedException { setUpTrapHandler(newSuspectOnTrap); Event snmpEvent = new Event(); snmpEvent.setInterface("127.0.0.1"); snmpEvent.setNodeid(0); snmpEvent.setUei("uei.opennms.org/default/trap"); System.out.println("Anticipating: " + new EventWrapper(snmpEvent)); m_anticipator.anticipateEvent(snmpEvent); if (version.equals("v1")) { SnmpPduTrap pdu = new SnmpPduTrap(); pdu.setGeneric(6); pdu.setSpecific(1); pdu.setAgentAddress(new SnmpIPAddress(InetAddress.getByName("127.0.0.1"))); m_trapHandler.snmpReceivedTrap(null, InetAddress.getByName("127.0.0.1"), 10000, new SnmpOctetString("public".getBytes()), pdu); } else if (version.equals("v2c")) { SnmpPduRequest pdu = new SnmpPduRequest(SnmpPduPacket.V2TRAP);// pdu.setGeneric(6);// pdu.setSpecific(1); m_trapHandler.snmpReceivedTrap(null, InetAddress.getByName("127.0.0.1"), 10000, new SnmpOctetString("public".getBytes()), pdu); } else { throw new UndeclaredThrowableException(null, "unsupported SNMP version for test: " + version); } finishUp(); }
|
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/3dd7eec7d966bc726092ffc7f3b8c3e87d53ff48/TrapHandlerTest.java/buggy/src/services/org/opennms/netmgt/trapd/TrapHandlerTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
4709,
56,
1266,
12,
780,
1177,
16,
1250,
30826,
407,
1181,
1398,
56,
1266,
13,
1216,
30592,
16,
7558,
288,
202,
202,
542,
1211,
56,
1266,
1503,
12,
2704,
55,
407,
1181,
1398,
56,
1266,
1769,
202,
202,
1133,
15366,
1133,
273,
394,
2587,
5621,
202,
202,
26527,
1133,
18,
542,
1358,
2932,
14260,
18,
20,
18,
20,
18,
21,
8863,
202,
202,
26527,
1133,
18,
542,
907,
350,
12,
20,
1769,
202,
202,
26527,
1133,
18,
542,
57,
73,
77,
2932,
344,
77,
18,
3190,
82,
959,
18,
3341,
19,
1886,
19,
27170,
8863,
202,
202,
3163,
18,
659,
18,
8222,
2932,
14925,
24629,
1776,
30,
315,
397,
394,
2587,
3611,
12,
26527,
1133,
10019,
202,
202,
81,
67,
9941,
625,
639,
18,
9941,
625,
340,
1133,
12,
26527,
1133,
1769,
9506,
202,
430,
261,
1589,
18,
14963,
2932,
90,
21,
6,
3719,
288,
1082,
202,
10461,
1291,
52,
2544,
56,
1266,
21160,
273,
394,
18961,
1291,
52,
2544,
56,
1266,
5621,
1082,
202,
84,
2544,
18,
542,
7014,
12,
26,
1769,
1082,
202,
84,
2544,
18,
542,
9969,
12,
21,
1769,
1082,
202,
84,
2544,
18,
542,
3630,
1887,
12,
2704,
18961,
1291,
22507,
12,
382,
278,
1887,
18,
588,
5911,
2932,
14260,
18,
20,
18,
20,
18,
21,
6,
3719,
1769,
1082,
202,
81,
67,
27170,
1503,
18,
26527,
8872,
56,
1266,
12,
2011,
16,
14218,
18,
588,
5911,
2932,
14260,
18,
20,
18,
20,
18,
21,
6,
3631,
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,
741,
4709,
56,
1266,
12,
780,
1177,
16,
1250,
30826,
407,
1181,
1398,
56,
1266,
13,
1216,
30592,
16,
7558,
288,
202,
202,
542,
1211,
56,
1266,
1503,
12,
2704,
55,
407,
1181,
1398,
56,
1266,
1769,
202,
202,
1133,
15366,
1133,
273,
394,
2587,
5621,
202,
202,
26527,
1133,
18,
542,
1358,
2932,
14260,
18,
20,
18,
20,
18,
21,
8863,
202,
202,
26527,
1133,
18,
542,
907,
350,
12,
20,
1769,
202,
202,
26527,
1133,
18,
542,
57,
73,
77,
2932,
344,
77,
18,
3190,
82,
959,
18,
3341,
19,
1886,
19,
27170,
8863,
202,
202,
3163,
18,
659,
18,
8222,
2932,
14925,
24629,
1776,
30,
315,
397,
394,
2587,
3611,
12,
26527,
2
] |
public static JClass createSource(ClassInfo classInfo) { JMethod method = null; JSourceCode vcode = null; String className = classInfo.getJClass().getName(); String nsPrefix = classInfo.getNamespacePrefix(); String nsURI = classInfo.getNamespaceURI(); String variableName = "_"+className; JClass marshalInfo = new JClass(className+"MarshalInfo"); marshalInfo.addInterface("org.exolab.castor.xml.MarshalInfo"); marshalInfo.addImport("org.exolab.castor.xml.*"); marshalInfo.addImport("java.lang.reflect.Method"); marshalInfo.addMember(new JMember(mdArrayClass, "elements") ); marshalInfo.addMember(new JMember(mdArrayClass, "attributes") ); marshalInfo.addMember(new JMember(simpleMDClass, "contentDesc")); marshalInfo.addMember(new JMember(gvrClass, "gvr")); marshalInfo.addMember(new JMember(vrClass.createArray(), "rules")); //marshalInfo.addMember(new JMember(iResolver, "_resolver")); //-- create constructor JConstructor cons = marshalInfo.createConstructor(); marshalInfo.addConstructor( cons ); JSourceCode jsc = cons.getSourceCode(); jsc.add("SimpleMarshalDescriptor desc = null;"); jsc.add("Class[] emptyClassArgs = new Class[0];"); jsc.add("Class[] classArgs = new Class[1];"); //-- create validation method method = new JMethod(vrClass.createArray(), "getValidationRules"); vcode = method.getSourceCode(); vcode.add("return rules;"); marshalInfo.addMethod(method); //-- create GroupValidationRule jsc.add("gvr = new GroupValidationRule();"); jsc.add("BasicValidationRule bvr = null;"); //-- handle text content if (classInfo.allowsTextContent()) { jsc.add("contentDesc = new SimpleMarshalDescriptor("); jsc.append("String.class, \"vContent\", \"PCDATA\");"); jsc.add("try {"); jsc.indent(); //-- read method jsc.add("contentDesc.setReadMethod("); jsc.append(className); jsc.append(".class.getMethod(\""); jsc.append("getContent"); jsc.append("\", emptyClassArgs));"); //-- write method jsc.add("classArgs[0] = String.class;"); jsc.add("contentDesc.setWriteMethod("); jsc.append(className); jsc.append(".class.getMethod(\""); jsc.append("setContent"); jsc.append("\", classArgs));"); jsc.unindent(); jsc.add("}"); jsc.add("catch(java.lang.NoSuchMethodException nsme) {};"); } FieldInfo[] atts = classInfo.getAttributeFields(); //-- initialized rules jsc.add("rules = new ValidationRule["); jsc.append(Integer.toString(atts.length+1)); jsc.append("];"); //-- create attribute descriptors jsc.add("//-- initialize attributes"); jsc.add(""); jsc.add("attributes = new MarshalDescriptor["); jsc.append(Integer.toString(atts.length)); jsc.append("];"); for (int i = 0; i < atts.length; i++) { FieldInfo member = atts[i]; //-- skip transient members if (member.isTransient()) continue; jsc.add("//-- "); jsc.append(member.getName()); XSType xsType = member.getSchemaType(); jsc.add("desc = new "); switch (xsType.getType()) { case XSType.TIME_INSTANT: jsc.append("DateMarshalDescriptor(\""); break; case XSType.CLASS: XSClass xsClass = (XSClass)xsType; if (xsClass.isEnumerated()) { jsc.append("EnumMarshalDescriptor("); jsc.append(xsClass.getName()); jsc.append(".class,\""); break; } //-- do not break here default: jsc.append("SimpleMarshalDescriptor("); jsc.append(classType(xsType.getJType())); jsc.append(", \""); break; } jsc.append(member.getName()); jsc.append("\", \""); jsc.append(member.getNodeName()); jsc.append("\");"); jsc.add("desc.setDescriptorType(DescriptorType.attribute);"); //-- access methods jsc.add("try {"); jsc.indent(); //-- read method jsc.add("desc.setReadMethod("); jsc.append(className); jsc.append(".class.getMethod(\""); jsc.append(member.getReadMethodName()); jsc.append("\", emptyClassArgs));"); //-- write method jsc.add("classArgs[0] = "); jsc.append(xsType.getJType().getName()); jsc.append(".class;"); jsc.add("desc.setWriteMethod("); jsc.append(className); jsc.append(".class.getMethod(\""); jsc.append(member.getWriteMethodName()); jsc.append("\", classArgs));"); jsc.unindent(); jsc.add("}"); jsc.add("catch(java.lang.NoSuchMethodException nsme) {};"); jsc.add(""); if (member.isRequired()) { jsc.add("desc.setRequired(true);"); } jsc.add("attributes["); jsc.append(Integer.toString(i)); jsc.append("] = desc;"); jsc.add(""); //-- Add Validation Code jsc.add("bvr = new BasicValidationRule(\""); jsc.append(member.getNodeName()); jsc.append("\");"); jsc.add("bvr.setAsAttributeRule();"); validationCode(member, jsc); jsc.add("rules["); jsc.append(Integer.toString(i)); jsc.append("] = bvr;"); } //-- create element descriptors jsc.add("rules["); jsc.append(Integer.toString(atts.length)); jsc.append("] = gvr;"); FieldInfo[] elements = classInfo.getElementFields(); jsc.add("//-- initialize elements"); jsc.add(""); jsc.add("elements = new MarshalDescriptor["); jsc.append(Integer.toString(elements.length)); jsc.append("];"); for (int i = 0; i < elements.length; i++) { FieldInfo member = elements[i]; //-- skip transient members if (member.isTransient()) continue; XSType xsType = member.getSchemaType(); if (xsType.getType() == XSType.LIST) xsType = ((SGList)member).getContent().getSchemaType(); jsc.add("//-- "); jsc.append(member.getName()); //-- a hack, I know, I will change later (kv) if (member.getName().equals("_anyList")) { jsc.add("desc = (new SimpleMarshalDescriptor("); jsc.append(classType(xsType.getJType())); jsc.append(", \""); jsc.append(member.getName()); jsc.append("\", \""); jsc.append(member.getNodeName()); jsc.append("\") {"); jsc.indent(); jsc.add("public boolean matches(String xmlName) {"); jsc.add(" return true;"); jsc.add("}"); jsc.unindent(); jsc.add("});"); } else { jsc.add("desc = new "); switch (xsType.getType()) { case XSType.TIME_INSTANT: jsc.append("DateMarshalDescriptor(\""); break; case XSType.CLASS: XSClass xsClass = (XSClass)xsType; if (xsClass.isEnumerated()) { jsc.append("EnumMarshalDescriptor("); jsc.append(xsClass.getJType().getName()); jsc.append(".class,\""); break; } //-- do not break here default: jsc.append("SimpleMarshalDescriptor("); jsc.append(classType(xsType.getJType())); jsc.append(", \""); break; } jsc.append(member.getName()); jsc.append("\", \""); jsc.append(member.getNodeName()); jsc.append("\");"); } jsc.add("desc.setDescriptorType(DescriptorType.element);"); //-- access methods jsc.add("try {"); jsc.indent(); //-- read method jsc.add("desc.setReadMethod("); jsc.append(className); jsc.append(".class.getMethod(\""); jsc.append(member.getReadMethodName()); jsc.append("\", emptyClassArgs));"); //-- write method jsc.add("classArgs[0] = "); JType jType = xsType.getJType(); jsc.append(jType.toString()); jsc.append(".class;"); jsc.add("desc.setWriteMethod("); jsc.append(className); jsc.append(".class.getMethod(\""); jsc.append(member.getWriteMethodName()); jsc.append("\", classArgs));"); jsc.unindent(); jsc.add("}"); jsc.add("catch(java.lang.NoSuchMethodException nsme) {};"); jsc.add(""); if (member.isRequired()) { jsc.add("desc.setRequired(true);"); } //-- mark as multi or single valued jsc.add("desc.setMultivalued("+member.isMultivalued()); jsc.append(");"); jsc.add("elements["); jsc.append(Integer.toString(i)); jsc.append("] = desc;"); jsc.add(""); //-- Add Validation Code jsc.add("bvr = new BasicValidationRule(\""); jsc.append(member.getNodeName()); jsc.append("\");"); validationCode(member, jsc); jsc.add("gvr.addValidationRule(bvr);"); } //-- create getAttributeDescriptors method method = new JMethod(mdArrayClass, "getAttributeDescriptors"); jsc = method.getSourceCode(); jsc.add("return attributes;"); marshalInfo.addMethod(method); //-- create getClassType method method = new JMethod(SGTypes.Class, "getClassType"); jsc = method.getSourceCode(); jsc.add("return "); jsc.append(classType(classInfo.getJClass())); jsc.append(";"); marshalInfo.addMethod(method); //-- create getElementDescriptors method method = new JMethod(mdArrayClass, "getElementDescriptors"); jsc = method.getSourceCode(); jsc.add("return elements;"); marshalInfo.addMethod(method); //-- create getContentDescriptor method method = new JMethod(mdClass, "getContentDescriptor"); jsc = method.getSourceCode(); jsc.add("return contentDesc;"); marshalInfo.addMethod(method); //-- create getMarshalFilter method //method = new JMethod(mdClass, "getMarshalFilter"); //jsc = method.getSourceCode(); //jsc.add("return null;"); //marshalInfo.addMethod(method); //-- create getNameSpacePrefix method method = new JMethod(SGTypes.String, "getNameSpacePrefix"); jsc = method.getSourceCode(); if (nsPrefix != null) { jsc.add("return \""); jsc.append(nsPrefix); jsc.append("\";"); } else jsc.add("return null;"); marshalInfo.addMethod(method); //-- create getNameSpacePrefix method method = new JMethod(SGTypes.String, "getNameSpaceURI"); jsc = method.getSourceCode(); if (nsURI != null) { jsc.add("return \""); jsc.append(nsURI); jsc.append("\";"); } else jsc.add("return null;"); marshalInfo.addMethod(method); return marshalInfo; } //-- createSource
|
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/c2600472823b878bcc58ad43d4a8762144ddc6f9/MarshalInfoSourceFactory.java/buggy/trunk/castor-2002/castor/src/main/org/exolab/castor/builder/MarshalInfoSourceFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
804,
797,
752,
1830,
12,
19455,
23566,
13,
288,
13491,
804,
1305,
377,
707,
273,
446,
31,
3639,
804,
1830,
1085,
331,
710,
225,
273,
446,
31,
7734,
514,
2658,
282,
273,
23566,
18,
588,
46,
797,
7675,
17994,
5621,
3639,
514,
3153,
2244,
565,
273,
23566,
18,
588,
3402,
2244,
5621,
3639,
514,
3153,
3098,
4202,
273,
23566,
18,
588,
3402,
3098,
5621,
13491,
514,
17834,
273,
8802,
15,
12434,
31,
7734,
804,
797,
10893,
966,
273,
394,
804,
797,
12,
12434,
9078,
8105,
966,
8863,
3639,
10893,
966,
18,
1289,
1358,
2932,
3341,
18,
338,
355,
378,
18,
4155,
280,
18,
2902,
18,
8105,
966,
8863,
3639,
10893,
966,
18,
1289,
5010,
2932,
3341,
18,
338,
355,
378,
18,
4155,
280,
18,
2902,
4509,
8863,
3639,
10893,
966,
18,
1289,
5010,
2932,
6290,
18,
4936,
18,
1734,
1582,
18,
1305,
8863,
7734,
10893,
966,
18,
1289,
4419,
12,
2704,
804,
4419,
12,
1264,
1076,
797,
16,
225,
315,
6274,
7923,
11272,
3639,
10893,
966,
18,
1289,
4419,
12,
2704,
804,
4419,
12,
1264,
1076,
797,
16,
225,
315,
4350,
7923,
11272,
3639,
10893,
966,
18,
1289,
4419,
12,
2704,
804,
4419,
12,
9647,
6188,
797,
16,
315,
1745,
4217,
7923,
1769,
3639,
10893,
966,
18,
1289,
4419,
12,
2704,
804,
4419,
12,
75,
18090,
797,
16,
315,
75,
18090,
7923,
1769,
3639,
10893,
966,
18,
1289,
4419,
12,
2704,
804,
4419,
12,
18090,
797,
18,
2640,
1076,
9334,
315,
7482,
7923,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
804,
797,
752,
1830,
12,
19455,
23566,
13,
288,
13491,
804,
1305,
377,
707,
273,
446,
31,
3639,
804,
1830,
1085,
331,
710,
225,
273,
446,
31,
7734,
514,
2658,
282,
273,
23566,
18,
588,
46,
797,
7675,
17994,
5621,
3639,
514,
3153,
2244,
565,
273,
23566,
18,
588,
3402,
2244,
5621,
3639,
514,
3153,
3098,
4202,
273,
23566,
18,
588,
3402,
3098,
5621,
13491,
514,
17834,
273,
8802,
15,
12434,
31,
7734,
804,
797,
10893,
966,
273,
394,
804,
797,
12,
12434,
9078,
8105,
966,
8863,
3639,
10893,
966,
18,
1289,
1358,
2932,
3341,
18,
338,
355,
378,
18,
4155,
280,
18,
2902,
18,
8105,
966,
8863,
3639,
10893,
966,
18,
1289,
5010,
2932,
3341,
2
] |
||
return xmlFile != null ? getCachedElement(xmlFile).getRootHandler() : null; } else { parent = _getDomElement(parentTag);
|
if (xmlFile != null) { final DomFileElementImpl element = getCachedElement(xmlFile); if (element != null) { return element.getRootHandler(); } } return null;
|
private DomInvocationHandler _getDomElement(final XmlTag tag) { if (tag == null) return null; DomInvocationHandler invocationHandler = getCachedElement(tag); if (invocationHandler != null && invocationHandler.isValid()) { return invocationHandler; } DomInvocationHandler parent; final XmlTag parentTag = tag.getParentTag(); if (parentTag == null) { final XmlFile xmlFile = (XmlFile)tag.getContainingFile(); return xmlFile != null ? getCachedElement(xmlFile).getRootHandler() : null; } else { parent = _getDomElement(parentTag); } if (parent == null) return null; final GenericInfoImpl info = parent.getGenericInfo(); final String tagName = tag.getName(); final DomChildrenDescription childDescription; if (info.isCollectionChild(tagName)) { childDescription = info.getCollectionChildDescription(tagName); } else { childDescription = info.getFixedChildDescription(tagName); } if (childDescription == null) return null; childDescription.getValues(parent.getProxy()); return getCachedElement(tag); }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/fe6bfaed840f07d66f3d5e5eef6fdacff43e2cc3/DomManagerImpl.java/clean/source/com/intellij/util/xml/impl/DomManagerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
12965,
9267,
1503,
389,
588,
8832,
1046,
12,
6385,
5714,
1805,
1047,
13,
288,
565,
309,
261,
2692,
422,
446,
13,
327,
446,
31,
565,
12965,
9267,
1503,
9495,
1503,
273,
20543,
1046,
12,
2692,
1769,
565,
309,
261,
5768,
4431,
1503,
480,
446,
597,
9495,
1503,
18,
26810,
10756,
288,
1377,
327,
9495,
1503,
31,
565,
289,
565,
12965,
9267,
1503,
982,
31,
565,
727,
5714,
1805,
982,
1805,
273,
1047,
18,
588,
3054,
1805,
5621,
565,
309,
261,
2938,
1805,
422,
446,
13,
288,
1377,
727,
5714,
812,
2025,
812,
273,
261,
4432,
812,
13,
2692,
18,
588,
24344,
812,
5621,
1377,
327,
2025,
812,
480,
446,
692,
20543,
1046,
12,
2902,
812,
2934,
588,
2375,
1503,
1435,
294,
446,
31,
565,
289,
469,
288,
1377,
982,
273,
389,
588,
8832,
1046,
12,
2938,
1805,
1769,
565,
289,
565,
309,
261,
2938,
422,
446,
13,
327,
446,
31,
565,
727,
7928,
28015,
1123,
273,
982,
18,
588,
7014,
966,
5621,
565,
727,
514,
7196,
273,
1047,
18,
17994,
5621,
565,
727,
12965,
4212,
3291,
1151,
3291,
31,
565,
309,
261,
1376,
18,
291,
2532,
1763,
12,
2692,
461,
3719,
288,
1377,
1151,
3291,
273,
1123,
18,
588,
2532,
1763,
3291,
12,
2692,
461,
1769,
565,
289,
469,
288,
1377,
1151,
3291,
273,
1123,
18,
588,
7505,
1763,
3291,
12,
2692,
461,
1769,
565,
289,
565,
309,
261,
3624,
3291,
422,
446,
13,
327,
446,
31,
565,
1151,
3291,
18,
588,
1972,
12,
2938,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
12965,
9267,
1503,
389,
588,
8832,
1046,
12,
6385,
5714,
1805,
1047,
13,
288,
565,
309,
261,
2692,
422,
446,
13,
327,
446,
31,
565,
12965,
9267,
1503,
9495,
1503,
273,
20543,
1046,
12,
2692,
1769,
565,
309,
261,
5768,
4431,
1503,
480,
446,
597,
9495,
1503,
18,
26810,
10756,
288,
1377,
327,
9495,
1503,
31,
565,
289,
565,
12965,
9267,
1503,
982,
31,
565,
727,
5714,
1805,
982,
1805,
273,
1047,
18,
588,
3054,
1805,
5621,
565,
309,
261,
2938,
1805,
422,
446,
13,
288,
1377,
727,
5714,
812,
2025,
812,
273,
261,
4432,
812,
13,
2692,
18,
588,
24344,
812,
5621,
1377,
327,
2025,
812,
480,
446,
692,
20543,
1046,
12,
2902,
812,
2934,
588,
2
] |
return RubyFloat.newFloat(runtime, getTimeInMillis() / 1000.0);
|
return RubyFloat.newFloat(runtime, getTimeInMillis() / 1000 + microseconds() / 1000000.0);
|
public RubyFloat to_f() { return RubyFloat.newFloat(runtime, getTimeInMillis() / 1000.0); }
|
49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/ff2657d75cfcff1964e39f97c3ed3c1054b4baef/RubyTime.java/clean/src/org/jruby/RubyTime.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
4723,
358,
67,
74,
1435,
288,
3639,
327,
19817,
4723,
18,
2704,
4723,
12,
9448,
16,
6135,
16620,
1435,
342,
4336,
397,
19967,
1435,
342,
15088,
18,
20,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
4723,
358,
67,
74,
1435,
288,
3639,
327,
19817,
4723,
18,
2704,
4723,
12,
9448,
16,
6135,
16620,
1435,
342,
4336,
397,
19967,
1435,
342,
15088,
18,
20,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
classLoader.defineClass(className, bytes); Class clazz = classLoader.loadClass(className, true); result = (Invoker)clazz.newInstance();
|
Context cx = Context.getCurrentContext(); SecuritySupport ss = cx == null ? null : cx.getSecuritySupport(); Class c; if (ss != null) { Object securityDomain = cx.getSecurityDomainForStackDepth(-1); c = ss.defineClass(className, bytes, securityDomain); } else { classLoader.defineClass(className, bytes); c = classLoader.loadClass(className, true); } result = (Invoker)c.newInstance();
|
public static Invoker createInvoker(Method method, Class[] types, JavaAdapter.DefiningClassLoader classLoader) { String className; Invoker result = null; //synchronized(invokers) { // is "++" atomic? className = "inv" + ++classNumber; //} ClassFileWriter cfw = new ClassFileWriter(className, "org.mozilla.javascript.FunctionObject$Invoker", ""); cfw.setFlags((short)(ClassFileWriter.ACC_PUBLIC | ClassFileWriter.ACC_FINAL)); // Add our instantiator! cfw.startMethod("<init>", "()V", ClassFileWriter.ACC_PUBLIC); cfw.add(ByteCode.ALOAD_0); cfw.add(ByteCode.INVOKESPECIAL, "org.mozilla.javascript.FunctionObject$Invoker", "<init>", "()", "V"); cfw.add(ByteCode.RETURN); cfw.stopMethod((short)1, null); // one argument -- this??? // Add the invoke() method call cfw.startMethod("invoke", "(Ljava/lang/Object;[Ljava/lang/Object;)"+ "Ljava/lang/Object;", (short)(ClassFileWriter.ACC_PUBLIC | ClassFileWriter.ACC_FINAL)); // If we return a primitive type, then do something special! String declaringClassName = method.getDeclaringClass().getName ().replace('.', '/'); Class returnType = method.getReturnType(); String invokeSpecial = null; String invokeSpecialType = null; boolean returnsVoid = false; boolean returnsBoolean = false; if (returnType.isPrimitive()) { if (returnType == Boolean.TYPE) { returnsBoolean = true; invokeSpecialType = "(Z)"; } else if (returnType == Void.TYPE) { returnsVoid = true; invokeSpecialType = "(V)"; } else if (returnType == Integer.TYPE) { cfw.add(ByteCode.NEW, invokeSpecial = "java/lang/Integer"); cfw.add(ByteCode.DUP); invokeSpecialType = "(I)"; } else if (returnType == Long.TYPE) { cfw.add(ByteCode.NEW, invokeSpecial = "java/lang/Long"); cfw.add(ByteCode.DUP); invokeSpecialType = "(J)"; } else if (returnType == Short.TYPE) { cfw.add(ByteCode.NEW, invokeSpecial = "java/lang/Short"); cfw.add(ByteCode.DUP); invokeSpecialType = "(S)"; } else if (returnType == Float.TYPE) { cfw.add(ByteCode.NEW, invokeSpecial = "java/lang/Float"); cfw.add(ByteCode.DUP); invokeSpecialType = "(F)"; } else if (returnType == Double.TYPE) { cfw.add(ByteCode.NEW, invokeSpecial = "java/lang/Double"); cfw.add(ByteCode.DUP); invokeSpecialType = "(D)"; } else if (returnType == Byte.TYPE) { cfw.add(ByteCode.NEW, invokeSpecial = "java/lang/Byte"); cfw.add(ByteCode.DUP); invokeSpecialType = "(B)"; } else if (returnType == Character.TYPE) { cfw.add(ByteCode.NEW, invokeSpecial = "java/lang/Character"); cfw.add(ByteCode.DUP); invokeSpecialType = "(C)"; } } // handle setup of call to virtual function (if calling non-static) if (!java.lang.reflect.Modifier.isStatic(method.getModifiers())) { cfw.add(ByteCode.ALOAD_1); cfw.add(ByteCode.CHECKCAST, declaringClassName); } // Handle parameters! StringBuffer params = new StringBuffer(2 + ((types!=null)?(20 * types.length):0)); params.append("("); if (types != null) { for(int i = 0; i < types.length; i++) { Class type = types[i]; cfw.add(ByteCode.ALOAD_2); if (i <= 5) { cfw.add((byte) (ByteCode.ICONST_0 + i)); } else if (i <= Byte.MAX_VALUE) { cfw.add(ByteCode.BIPUSH, i); } else if (i <= Short.MAX_VALUE) { cfw.add(ByteCode.SIPUSH, i); } else { cfw.addLoadConstant((int)i); } cfw.add(ByteCode.AALOAD); if (type.isPrimitive()) { // Convert enclosed type back to primitive. if (type == Boolean.TYPE) { cfw.add(ByteCode.CHECKCAST, "java/lang/Boolean"); cfw.add(ByteCode.INVOKEVIRTUAL, "java/lang/Boolean", "booleanValue", "()", "Z"); params.append("Z"); } else if (type == Integer.TYPE) { cfw.add(ByteCode.CHECKCAST, "java/lang/Number"); cfw.add(ByteCode.INVOKEVIRTUAL, "java/lang/Number", "intValue", "()", "I"); params.append("I"); } else if (type == Short.TYPE) { cfw.add(ByteCode.CHECKCAST, "java/lang/Number"); cfw.add(ByteCode.INVOKEVIRTUAL, "java/lang/Number", "shortValue", "()", "S"); params.append("S"); } else if (type == Character.TYPE) { cfw.add(ByteCode.CHECKCAST, "java/lang/Character"); cfw.add(ByteCode.INVOKEVIRTUAL, "java/lang/Character", "charValue", "()", "C"); params.append("C"); } else if (type == Double.TYPE) { cfw.add(ByteCode.CHECKCAST, "java/lang/Number"); cfw.add(ByteCode.INVOKEVIRTUAL, "java/lang/Number", "doubleValue", "()", "D"); params.append("D"); } else if (type == Float.TYPE) { cfw.add(ByteCode.CHECKCAST, "java/lang/Number"); cfw.add(ByteCode.INVOKEVIRTUAL, "java/lang/Number", "floatValue", "()", "F"); params.append("F"); } else if (type == Byte.TYPE) { cfw.add(ByteCode.CHECKCAST, "java/lang/Byte"); cfw.add(ByteCode.INVOKEVIRTUAL, "java/lang/Byte", "byteValue", "()", "B"); params.append("B"); } } else { String typeName = type.getName().replace('.', '/'); cfw.add(ByteCode.CHECKCAST, typeName); if (!type.isArray()) { params.append('L'); } params.append(typeName); if (!type.isArray()) { params.append(';'); } } } } params.append(")"); // Call actual function! if (!java.lang.reflect.Modifier.isStatic(method.getModifiers())) { cfw.add(ByteCode.INVOKEVIRTUAL, declaringClassName, method.getName(), params.toString(), (invokeSpecialType!=null?invokeSpecialType.substring(1,2) :returnType.isArray()? returnType.getName().replace('.','/') :"L".concat (returnType.getName().replace('.', '/').concat(";")))); } else { cfw.add(ByteCode.INVOKESTATIC, declaringClassName, method.getName(), params.toString(), (invokeSpecialType!=null?invokeSpecialType.substring(1,2) :returnType.isArray()? returnType.getName().replace('.','/') :"L".concat (returnType.getName().replace('.', '/').concat(";")))); } // Handle return value if (returnsVoid) { cfw.add(ByteCode.ACONST_NULL); cfw.add(ByteCode.ARETURN); } else if (returnsBoolean) { // HACK //check to see if true; // '7' is the number of bytes of the ifeq<branch> plus getstatic<TRUE> plus areturn instructions cfw.add(ByteCode.IFEQ, 7); cfw.add(ByteCode.GETSTATIC, "java/lang/Boolean", "TRUE", "Ljava/lang/Boolean;"); cfw.add(ByteCode.ARETURN); cfw.add(ByteCode.GETSTATIC, "java/lang/Boolean", "FALSE", "Ljava/lang/Boolean;"); cfw.add(ByteCode.ARETURN); } else if (invokeSpecial != null) { cfw.add(ByteCode.INVOKESPECIAL, invokeSpecial, "<init>", invokeSpecialType, "V"); cfw.add(ByteCode.ARETURN); } else { cfw.add(ByteCode.ARETURN); } cfw.stopMethod((short)3, null); // three arguments, including the this pointer??? // Add class to our classloader. java.io.ByteArrayOutputStream bos = new java.io.ByteArrayOutputStream(550); try { cfw.write(bos); } catch (IOException ioe) { throw new RuntimeException("unexpected IOException" + ioe.toString()); } try { byte[] bytes = bos.toByteArray(); classLoader.defineClass(className, bytes); Class clazz = classLoader.loadClass(className, true); result = (Invoker)clazz.newInstance(); if (false) { System.out.println("Generated method delegate for: " + method.getName() + " on " + method.getDeclaringClass().getName() + " :: " + params.toString() + " :: " + types); } } catch (ClassNotFoundException e) { throw new RuntimeException("unexpected " + e.toString()); } catch (InstantiationException e) { throw new RuntimeException("unexpected " + e.toString()); } catch (IllegalAccessException e) { throw new RuntimeException("unexpected " + e.toString()); } return result; }
|
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/488a6bc1e380915cbfb9ed564472ba9490c5e2bf/FunctionObject.java/buggy/org/mozilla/javascript/FunctionObject.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
760,
17602,
264,
752,
24455,
12,
1305,
707,
16,
1659,
8526,
1953,
16,
4766,
5411,
5110,
4216,
18,
6443,
310,
7805,
11138,
13,
3639,
288,
5411,
514,
2658,
31,
5411,
17602,
264,
563,
273,
446,
31,
13491,
368,
22043,
12,
5768,
601,
414,
13,
288,
368,
353,
13773,
9078,
7960,
35,
7734,
2658,
273,
315,
5768,
6,
397,
965,
1106,
1854,
31,
5411,
19363,
13491,
30614,
2289,
6080,
91,
273,
394,
30614,
2289,
12,
12434,
16,
19694,
315,
3341,
18,
8683,
15990,
18,
11242,
18,
2083,
921,
8,
24455,
3113,
1408,
1769,
5411,
6080,
91,
18,
542,
5094,
12443,
6620,
21433,
797,
812,
2289,
18,
31414,
67,
14939,
571,
21394,
30614,
2289,
18,
31414,
67,
7263,
1013,
10019,
13491,
368,
1436,
3134,
5934,
10620,
5,
5411,
6080,
91,
18,
1937,
1305,
2932,
32,
2738,
2984,
16,
25605,
58,
3113,
30614,
2289,
18,
31414,
67,
14939,
1769,
5411,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
1013,
51,
1880,
67,
20,
1769,
5411,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
706,
17691,
3991,
10106,
6365,
16,
10792,
315,
3341,
18,
8683,
15990,
18,
11242,
18,
2083,
921,
8,
24455,
3113,
10792,
3532,
2738,
2984,
16,
25605,
3113,
315,
58,
8863,
5411,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
14033,
1769,
5411,
6080,
91,
18,
5681,
1305,
12443,
6620,
13,
21,
16,
446,
1769,
368,
1245,
1237,
1493,
333,
14646,
35,
5411,
368,
1436,
326,
4356,
1435,
707,
745,
5411,
6080,
91,
18,
1937,
1305,
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,
760,
17602,
264,
752,
24455,
12,
1305,
707,
16,
1659,
8526,
1953,
16,
4766,
5411,
5110,
4216,
18,
6443,
310,
7805,
11138,
13,
3639,
288,
5411,
514,
2658,
31,
5411,
17602,
264,
563,
273,
446,
31,
13491,
368,
22043,
12,
5768,
601,
414,
13,
288,
368,
353,
13773,
9078,
7960,
35,
7734,
2658,
273,
315,
5768,
6,
397,
965,
1106,
1854,
31,
5411,
19363,
13491,
30614,
2289,
6080,
91,
273,
394,
30614,
2289,
12,
12434,
16,
19694,
315,
3341,
18,
8683,
15990,
18,
11242,
18,
2083,
921,
8,
24455,
3113,
1408,
1769,
5411,
6080,
91,
18,
542,
5094,
12443,
6620,
21433,
797,
812,
2289,
18,
31414,
67,
14939,
571,
21394,
30614,
2289,
18,
31414,
67,
7263,
1013,
2
] |
public void loginCompleted(MsnMessenger messenger) { Log.debug("MSN login completed"); Presence p = new Presence(); p.setTo(msnSession.getJID()); p.setFrom(msnSession.getTransport().getJID()); msnSession.getTransport().sendPacket(p); msnSession.getRegistration().setLastLogin(new Date()); msnSession.setLoginStatus(true); }
|
6161 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6161/12d10395815de53fcffc6b6f054c5f933594cc26/MSNListener.java/clean/src/plugins/gateway/src/java/org/jivesoftware/wildfire/gateway/protocols/msn/MSNListener.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
5819,
9556,
12,
6947,
82,
29329,
81,
18912,
15329,
1343,
18,
4148,
2932,
3537,
50,
5819,
13615,
8863,
22590,
84,
33,
2704,
22590,
5621,
84,
18,
542,
774,
12,
959,
82,
2157,
18,
588,
46,
734,
10663,
84,
18,
542,
1265,
12,
959,
82,
2157,
18,
588,
6568,
7675,
588,
46,
734,
10663,
959,
82,
2157,
18,
588,
6568,
7675,
4661,
6667,
12,
84,
1769,
959,
82,
2157,
18,
588,
7843,
7675,
542,
3024,
5358,
12,
2704,
1626,
10663,
959,
82,
2157,
18,
542,
5358,
1482,
12,
3767,
1769,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
5819,
9556,
12,
6947,
82,
29329,
81,
18912,
15329,
1343,
18,
4148,
2932,
3537,
50,
5819,
13615,
8863,
22590,
84,
33,
2704,
22590,
5621,
84,
18,
542,
774,
12,
959,
82,
2157,
18,
588,
46,
734,
10663,
84,
18,
542,
1265,
12,
959,
82,
2157,
18,
588,
6568,
7675,
588,
46,
734,
10663,
959,
82,
2157,
18,
588,
6568,
7675,
4661,
6667,
12,
84,
1769,
959,
82,
2157,
18,
588,
7843,
7675,
542,
3024,
5358,
12,
2704,
1626,
10663,
959,
82,
2157,
18,
542,
5358,
1482,
12,
3767,
1769,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
412, 412, 0, 412, 412, 412, 412, 412, 0, 469, 334, 0, 469, 469, 469, 469, 469, 469, 469, 469, 0, 469, 469, 469, 469, 0, 0, 469, 469, 469,
|
412, 412, 0, 412, 412, 412, 412, 412, 334, 469, 0, 0, 469, 469, 469, 469, 469, 469, 469, 469, 0, 469, 469, 469, 469, 0, 469, 469, 469, 412,
|
private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 814, 190, 190, 591, 601, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 782, 552, 234, 234, 216, 283, 284, 190, 253, 617, 274, 356, 249, 461, 732, 652, 265, 466, 492, 109, 109, 551, 300, 442, 281, 291, 275, 435, 337, 109, 362, 492, 337, 442, 190, 660, 661, 422, 62, 588, 221, 215, 218, 617, 423, 424, 783, 217, 786, 492, 469, 387, 382, 217, 606, 353, 244, 441, 60, 362, 362, 248, 393, 342, 394, 362, 109, 444, 253, 285, 79, 79, 110, 110, 353, 69, 79, 210, 210, 210, 492, 492, 225, 210, 210, 354, 492, 210, 235, 235, 455, 247, 235, 455, 210, 69, 492, 70, 309, 363, 221, 442, 455, 656, 247, 109, 649, 216, 492, 71, 338, 470, 387, 535, 338, 79, 210, 210, 253, 279, 360, 210, 269, 492, 361, 216, 61, 324, 230, 492, 492, 326, 327, 261, 657, 447, 782, 366, 308, 492, 262, 579, 264, 394, 89, 492, 492, 363, 363, 456, 457, 458, 456, 457, 460, 598, 217, 492, 279, 230, 40, 456, 457, 462, 260, 261, 492, 564, 356, 392, 455, 291, 492, 210, 217, 79, 684, 438, 87, 440, 190, 391, 856, 64, 234, 234, 284, 308, 653, 492, 716, 40, 89, 89, 217, 256, 691, 234, 67, 234, 234, 441, 264, 64, 239, 369, 239, 420, 65, 237, 771, 237, 237, 55, 492, 492, 356, 356, 67, 335, 240, 439, 240, 240, 487, 273, 87, 87, 65, 456, 457, 465, 265, 295, 307, 308, 242, 345, 492, 243, 391, 391, 391, 387, 363, 402, 346, 221, 343, 297, 441, 492, 762, 397, 398, 344, 487, 766, 481, 278, 481, 381, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 307, 308, 210, 210, 550, 455, 494, 234, 387, 471, 524, 527, 492, 234, 476, 340, 347, 538, 531, 482, 531, 482, 341, 406, 210, 69, 210, 210, 802, 235, 265, 235, 417, 518, 234, 536, 79, 494, 617, 348, 626, 629, 234, 79, 617, 472, 473, 474, 475, 531, 492, 492, 234, 524, 589, 538, 61, 364, 492, 234, 518, 642, 721, 429, 456, 457, 594, 234, 363, 741, 264, 234, 234, 525, 528, 234, 532, 109, 518, 620, 539, 79, 210, 210, 210, 210, 79, 210, 210, 492, 597, 622, 634, 518, 492, 614, 564, 637, 638, 639, 632, 627, 624, 203, 543, 69, 234, 841, 628, 234, 376, 839, 234, 89, 352, 825, 492, 190, 454, 234, 377, 835, 210, 518, 492, 210, 210, 269, 210, 79, 279, 459, 210, 64, 492, 492, 61, 356, 600, 600, 511, 516, 363, 522, 523, 518, 379, 87, 67, 210, 79, 210, 40, 40, 269, 492, 264, 367, 65, 79, 617, 380, 459, 79, 368, 492, 389, 210, 549, 855, 792, 79, 269, 79, 441, 687, 413, 273, 415, 418, 459, 381, 210, 492, 273, 511, 516, 269, 617, 670, 582, 234, 673, 675, 210, 385, 445, 400, 590, 861, 592, 549, 386, 217, 401, 441, 278, 533, 79, 455, 396, 278, 388, 64, 666, 463, 492, 492, 278, 671, 307, 308, 670, 473, 390, 674, 676, 445, 67, 403, 445, 549, 357, 358, 210, 635, 576, 688, 65, 269, 381, 381, 381, 562, 563, 445, 190, 63, 430, 701, 71, 454, 203, 549, 411, 431, 81, 445, 234, 448, 449, 837, 399, 309, 94, 94, 190, 61, 456, 457, 94, 94, 94, 94, 709, 579, 234, 94, 94, 406, 234, 94, 454, 682, 234, 454, 492, 683, 94, 492, 492, 82, 324, 293, 294, 234, 326, 327, 328, 329, 454, 74, 407, 273, 410, 426, 372, 692, 744, 94, 94, 94, 778, 373, 428, 94, 434, 309, 614, 432, 752, 433, 446, 436, 210, 79, 229, 758, 760, 437, 450, 451, 464, 763, 765, 492, 780, 468, 537, 82, 82, 540, 579, 768, 234, 79, 583, 394, 423, 596, 725, 608, 618, 630, 234, 631, 636, 640, 452, 79, 641, 833, 654, 813, 662, 453, 815, 94, 834, 94, 492, 663, 423, 668, 492, 492, 669, 758, 760, 763, 560, 561, 562, 563, 109, 234, 705, 210, 492, 672, 759, 761, 234, 492, 87, 492, 764, 234, 234, 679, 83, 83, 111, 111, 810, 680, 83, 673, 675, 809, 210, 88, 226, 210, 685, 740, 686, 689, 609, 693, 811, 695, 697, 699, 773, 702, 700, 737, 738, 109, 79, 706, 821, 712, 234, 713, 714, 225, 79, 715, 79, 79, 210, 210, 76, 83, 278, 76, 210, 280, 84, 717, 794, 278, 718, 720, 724, 746, 473, 88, 88, 821, 232, 234, 76, 755, 600, 756, 757, 845, 76, 727, 733, 234, 87, 84, 84, 234, 735, 736, 739, 84, 788, 743, 94, 94, 79, 228, 280, 210, 745, 89, 279, 767, 472, 822, 696, 698, 84, 84, 234, 79, 79, 79, 774, 83, 94, 775, 94, 94, 779, 160, 234, 793, 234, 795, 796, 472, 94, 797, 84, 807, 817, 818, 827, 94, 518, 816, 799, 800, 801, 472, 234, 819, 234, 868, 82, 820, 492, 492, 492, 829, 234, 273, 832, 492, 234, 210, 82, 842, 273, 79, 79, 843, 747, 748, 847, 749, 849, 852, 160, 41, 42, 94, 94, 94, 94, 94, 94, 94, 94, 89, 79, 853, 854, 873, 78, 871, 824, 875, 84, 91, 91, 112, 112, 112, 877, 91, 423, 492, 493, 481, 483, 230, 80, 423, 493, 483, 86, 836, 483, 485, 485, 254, 94, 492, 79, 94, 94, 487, 94, 94, 423, 487, 94, 210, 82, 79, 494, 423, 269, 299, 115, 473, 79, 874, 91, 75, 728, 188, 282, 94, 94, 94, 549, 339, 826, 690, 734, 754, 862, 279, 351, 421, 863, 94, 86, 86, 0, 94, 784, 864, 785, 94, 83, 94, 92, 92, 301, 153, 0, 83, 92, 0, 94, 0, 0, 0, 88, 282, 0, 0, 0, 0, 280, 0, 94, 0, 0, 473, 0, 0, 76, 472, 0, 0, 91, 0, 0, 0, 94, 0, 302, 303, 304, 305, 306, 0, 0, 83, 0, 92, 0, 0, 83, 84, 472, 84, 153, 828, 830, 0, 831, 0, 0, 0, 94, 0, 85, 0, 472, 208, 208, 208, 0, 0, 0, 0, 0, 84, 0, 0, 279, 0, 472, 0, 84, 0, 250, 279, 803, 472, 0, 805, 806, 0, 472, 83, 280, 270, 0, 555, 83, 0, 556, 557, 558, 472, 0, 0, 267, 92, 76, 0, 472, 472, 85, 85, 83, 472, 0, 472, 0, 0, 84, 0, 0, 0, 472, 84, 0, 83, 872, 472, 0, 84, 0, 0, 472, 83, 559, 83, 0, 0, 0, 560, 561, 562, 563, 476, 83, 83, 472, 0, 0, 160, 94, 94, 160, 160, 160, 86, 473, 0, 0, 0, 0, 359, 0, 0, 0, 0, 84, 0, 848, 850, 83, 94, 81, 88, 0, 81, 418, 280, 0, 91, 0, 0, 0, 418, 0, 94, 91, 84, 160, 0, 0, 0, 81, 160, 160, 160, 160, 0, 0, 86, 84, 0, 0, 865, 866, 0, 83, 473, 84, 870, 84, 0, 473, 94, 473, 0, 0, 0, 0, 473, 0, 0, 273, 0, 91, 279, 878, 0, 0, 91, 0, 163, 279, 0, 880, 86, 94, 882, 473, 94, 0, 884, 0, 0, 555, 84, 0, 556, 557, 558, 0, 0, 0, 88, 92, 0, 94, 0, 280, 0, 0, 92, 0, 473, 94, 280, 94, 94, 94, 94, 473, 0, 91, 282, 94, 473, 0, 0, 208, 208, 163, 0, 0, 0, 0, 0, 83, 83, 560, 561, 562, 563, 0, 91, 473, 0, 0, 153, 0, 92, 153, 153, 153, 0, 92, 0, 91, 83, 404, 405, 0, 0, 94, 0, 91, 94, 91, 0, 0, 85, 0, 83, 0, 0, 417, 0, 0, 94, 94, 94, 481, 417, 476, 0, 0, 0, 153, 0, 0, 148, 0, 153, 153, 153, 153, 0, 0, 92, 0, 0, 0, 91, 0, 83, 0, 0, 0, 0, 208, 208, 208, 208, 84, 477, 478, 0, 0, 0, 92, 0, 0, 481, 0, 94, 0, 0, 0, 94, 94, 0, 0, 92, 84, 476, 0, 0, 270, 0, 148, 92, 476, 92, 83, 751, 0, 472, 84, 0, 94, 226, 83, 0, 83, 83, 0, 0, 0, 0, 0, 0, 81, 0, 131, 270, 476, 0, 0, 280, 0, 0, 0, 575, 581, 530, 280, 534, 92, 553, 0, 77, 0, 270, 94, 0, 0, 0, 0, 0, 0, 0, 0, 94, 0, 94, 789, 0, 270, 0, 83, 0, 94, 0, 0, 0, 577, 481, 0, 0, 0, 0, 0, 131, 273, 83, 83, 83, 0, 84, 91, 273, 267, 530, 0, 0, 228, 84, 476, 84, 84, 0, 0, 0, 0, 610, 613, 0, 0, 616, 91, 0, 81, 623, 0, 0, 0, 0, 78, 0, 270, 78, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 83, 83, 0, 78, 0, 644, 790, 0, 616, 0, 84, 644, 163, 0, 0, 163, 163, 163, 0, 0, 132, 83, 0, 0, 0, 84, 84, 84, 0, 0, 92, 0, 0, 473, 0, 0, 659, 659, 659, 419, 0, 0, 667, 0, 0, 79, 419, 0, 79, 0, 92, 163, 0, 667, 667, 83, 163, 163, 163, 163, 91, 0, 0, 0, 92, 79, 83, 230, 91, 132, 91, 91, 0, 83, 0, 84, 84, 667, 0, 481, 481, 481, 0, 0, 0, 481, 481, 208, 481, 0, 677, 0, 0, 0, 74, 278, 84, 74, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 704, 0, 708, 791, 581, 74, 0, 91, 0, 0, 80, 148, 581, 80, 148, 148, 148, 0, 0, 0, 0, 84, 91, 91, 91, 0, 92, 482, 0, 0, 80, 0, 84, 0, 92, 423, 92, 92, 420, 84, 0, 208, 85, 476, 0, 420, 0, 0, 719, 0, 148, 0, 0, 0, 0, 148, 148, 148, 148, 0, 279, 0, 0, 0, 0, 0, 726, 742, 482, 0, 729, 0, 91, 91, 730, 0, 0, 0, 0, 0, 0, 0, 92, 0, 131, 613, 0, 131, 131, 131, 0, 0, 412, 91, 476, 0, 0, 92, 92, 92, 0, 476, 412, 659, 0, 0, 472, 0, 0, 0, 0, 422, 78, 473, 0, 0, 0, 0, 422, 0, 0, 0, 85, 131, 0, 476, 0, 91, 131, 131, 131, 131, 0, 412, 770, 0, 412, 0, 91, 0, 0, 0, 0, 208, 777, 91, 0, 92, 92, 0, 412, 412, 482, 412, 0, 412, 0, 0, 0, 667, 667, 0, 0, 0, 473, 0, 0, 0, 92, 0, 0, 473, 0, 0, 79, 644, 473, 0, 0, 0, 0, 0, 616, 412, 0, 412, 0, 0, 616, 0, 0, 0, 78, 0, 0, 473, 0, 0, 0, 0, 0, 0, 92, 0, 0, 132, 0, 0, 132, 132, 132, 0, 0, 92, 0, 415, 0, 412, 0, 0, 92, 581, 0, 74, 823, 415, 278, 0, 0, 0, 0, 0, 421, 278, 0, 0, 0, 0, 473, 421, 0, 0, 0, 0, 132, 0, 0, 0, 80, 132, 132, 132, 132, 838, 79, 0, 415, 270, 0, 415, 0, 0, 0, 846, 0, 0, 0, 851, 0, 0, 0, 0, 0, 415, 415, 423, 415, 0, 415, 0, 0, 0, 423, 0, 0, 581, 0, 0, 253, 482, 482, 482, 0, 0, 0, 482, 482, 0, 482, 0, 279, 0, 613, 74, 616, 0, 415, 279, 415, 309, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 876, 0, 879, 322, 323, 0, 80, 0, 0, 0, 616, 0, 0, 0, 883, 0, 324, 0, 415, 334, 326, 327, 328, 329, 0, 0, 0, 469, 469, 469, 0, 469, 412, 412, 412, 469, 469, 412, 412, 412, 469, 412, 469, 469, 469, 469, 469, 469, 469, 412, 469, 412, 412, 469, 469, 469, 469, 469, 469, 469, 412, 412, 0, 412, 412, 412, 412, 412, 0, 469, 334, 0, 469, 469, 469, 469, 469, 469, 469, 469, 0, 469, 469, 469, 469, 0, 0, 469, 469, 469, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 0, 0, 412, 412, 412, 469, 412, 412, 469, 469, 469, 469, 469, 412, 469, 412, 469, 412, 469, 412, 412, 412, 412, 412, 412, 412, 469, 412, 469, 469, 469, 469, 469, 469, 469, 0, 0, 0, 95, 0, 0, 0, 0, 0, 0, 0, 470, 470, 470, 0, 470, 415, 415, 415, 470, 470, 415, 415, 415, 470, 415, 470, 470, 470, 470, 470, 470, 470, 415, 470, 415, 415, 470, 470, 470, 470, 470, 470, 470, 415, 415, 0, 415, 415, 415, 415, 415, 95, 470, 0, 0, 470, 470, 470, 470, 470, 470, 470, 470, 0, 470, 470, 470, 470, 0, 0, 470, 470, 470, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 0, 0, 415, 415, 415, 470, 415, 415, 470, 470, 470, 470, 470, 415, 470, 415, 470, 415, 470, 415, 415, 415, 415, 415, 415, 415, 470, 415, 470, 470, 470, 470, 470, 470, 470, 472, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 678, 324, 472, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 472, 472, 0, 84, 0, 472, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 472, 0, 472, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 0, 508, 509, 473, 0, 510, 0, 0, 0, 0, 0, 0, 160, 473, 161, 162, 472, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 309, 473, 175, 176, 473, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 322, 323, 473, 473, 0, 86, 95, 473, 0, 95, 95, 95, 0, 324, 0, 325, 0, 326, 327, 328, 329, 0, 96, 0, 0, 309, 0, 0, 0, 0, 314, 315, 0, 412, 0, 473, 0, 473, 0, 0, 412, 322, 323, 0, 0, 95, 0, 0, 0, 0, 95, 95, 95, 95, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 473, 0, 96, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 334, 472, 472, 472, 472, 472, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 476, 0, 0, 96, 0, 0, 96, 96, 96, 0, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 415, 0, 0, 0, 0, 0, 0, 415, 0, 0, 0, 476, 96, 0, 476, 0, 0, 96, 96, 96, 96, 0, 0, 0, 0, 0, 0, 0, 476, 476, 0, 85, 0, 476, 0, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 476, 0, 476, 0, 0, 0, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 513, 514, 274, 0, 515, 0, 0, 0, 0, 0, 0, 160, 274, 161, 162, 476, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 274, 175, 176, 274, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 274, 274, 0, 0, 0, 274, 520, 509, 0, 0, 521, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 274, 0, 274, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 608, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 274, 334, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 0, 472, 476, 476, 476, 472, 472, 476, 476, 476, 472, 476, 472, 472, 472, 472, 472, 472, 472, 0, 476, 476, 476, 472, 472, 472, 472, 472, 472, 472, 476, 476, 0, 476, 476, 476, 476, 476, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 0, 0, 476, 476, 476, 472, 0, 476, 472, 472, 472, 472, 472, 476, 472, 476, 472, 476, 472, 476, 476, 476, 476, 476, 476, 476, 472, 476, 476, 472, 472, 472, 472, 472, 472, 471, 471, 471, 0, 471, 274, 274, 274, 471, 471, 274, 274, 274, 471, 274, 471, 471, 471, 471, 471, 471, 471, 0, 471, 274, 274, 471, 471, 471, 471, 471, 471, 471, 274, 274, 0, 274, 274, 274, 274, 274, 0, 471, 0, 0, 471, 471, 471, 471, 471, 471, 471, 471, 0, 471, 471, 471, 471, 0, 0, 471, 471, 471, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 0, 0, 274, 274, 274, 471, 0, 274, 471, 471, 471, 471, 471, 274, 471, 274, 471, 274, 471, 274, 274, 274, 274, 274, 274, 274, 471, 274, 471, 471, 471, 471, 471, 471, 471, 477, 0, 0, 0, 0, 0, 0, 0, 0, 0, 477, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 477, 0, 324, 477, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 547, 514, 477, 477, 548, 0, 0, 477, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 477, 0, 477, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 478, 186, 0, 0, 0, 0, 0, 0, 0, 0, 478, 0, 0, 477, 0, 0, 0, 584, 509, 0, 0, 585, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 478, 169, 0, 478, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 478, 478, 0, 175, 176, 478, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 0, 0, 0, 0, 586, 514, 0, 0, 587, 0, 0, 0, 478, 0, 478, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 655, 0, 0, 0, 478, 334, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 474, 474, 474, 0, 474, 477, 477, 477, 474, 474, 477, 477, 477, 474, 477, 474, 474, 474, 474, 474, 474, 474, 0, 477, 477, 477, 474, 474, 474, 474, 474, 474, 474, 477, 477, 0, 477, 477, 477, 477, 477, 0, 474, 0, 0, 474, 474, 474, 474, 474, 474, 474, 474, 0, 474, 474, 474, 474, 0, 0, 474, 474, 474, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 0, 0, 477, 477, 477, 474, 0, 477, 474, 474, 474, 474, 474, 477, 474, 477, 474, 477, 474, 477, 477, 477, 477, 477, 477, 477, 474, 477, 477, 474, 474, 474, 474, 474, 474, 475, 475, 475, 0, 475, 478, 478, 478, 475, 475, 478, 478, 478, 475, 478, 475, 475, 475, 475, 475, 475, 475, 0, 478, 478, 478, 475, 475, 475, 475, 475, 475, 475, 478, 478, 0, 478, 478, 478, 478, 478, 0, 475, 0, 0, 475, 475, 475, 475, 475, 475, 475, 475, 0, 475, 475, 475, 475, 0, 0, 475, 475, 475, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 0, 0, 478, 478, 478, 475, 0, 478, 475, 475, 475, 475, 475, 478, 475, 478, 475, 478, 475, 478, 478, 478, 478, 478, 478, 478, 475, 478, 478, 475, 475, 475, 475, 475, 475, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 0, 324, 350, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 602, 509, 350, 350, 603, 0, 0, 350, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 350, 0, 350, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 492, 186, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 350, 0, 0, 0, 604, 514, 0, 0, 605, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 492, 169, 0, 492, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 175, 176, 492, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 0, 0, 0, 0, 645, 509, 0, 0, 646, 0, 0, 0, 492, 0, 492, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 251, 251, 251, 0, 251, 350, 350, 350, 251, 251, 350, 350, 350, 251, 350, 251, 251, 251, 251, 251, 251, 251, 0, 350, 350, 350, 251, 251, 251, 251, 251, 251, 251, 350, 350, 0, 350, 350, 350, 350, 350, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 251, 251, 0, 0, 251, 251, 251, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 0, 0, 350, 350, 350, 251, 0, 350, 251, 0, 251, 251, 251, 350, 251, 350, 251, 350, 251, 350, 350, 350, 350, 350, 350, 350, 251, 350, 350, 251, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 492, 492, 492, 251, 251, 492, 492, 492, 251, 492, 251, 251, 251, 251, 251, 251, 251, 0, 492, 492, 492, 251, 251, 251, 251, 251, 251, 251, 492, 492, 0, 492, 492, 492, 492, 492, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 251, 251, 0, 0, 251, 251, 251, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 0, 0, 492, 492, 492, 251, 0, 492, 251, 0, 251, 251, 251, 492, 251, 492, 251, 492, 251, 492, 492, 492, 492, 492, 492, 492, 251, 492, 492, 251, 251, 251, 251, 251, 251, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 647, 514, 0, 0, 648, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 278, 167, 168, 278, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 278, 278, 0, 87, 0, 278, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 857, 509, 0, 0, 858, 0, 0, 0, 278, 0, 278, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 286, 170, 171, 172, 173, 0, 0, 0, 0, 0, 286, 0, 0, 278, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 0, 0, 859, 514, 0, 0, 860, 0, 286, 0, 0, 286, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 286, 286, 169, 0, 0, 286, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 286, 186, 286, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 0, 0, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 324, 286, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 0, 0, 0, 0, 0, 0, 473, 473, 473, 0, 473, 278, 278, 278, 473, 473, 278, 278, 278, 473, 278, 473, 473, 473, 473, 473, 473, 473, 0, 0, 278, 278, 473, 473, 473, 473, 473, 473, 473, 278, 278, 0, 278, 278, 278, 278, 278, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 0, 0, 278, 278, 278, 473, 0, 278, 473, 473, 473, 473, 473, 278, 473, 278, 473, 278, 473, 278, 278, 278, 278, 278, 278, 278, 473, 278, 0, 473, 473, 473, 473, 473, 473, 251, 251, 251, 0, 251, 286, 286, 286, 251, 251, 286, 286, 286, 251, 286, 251, 251, 251, 251, 251, 251, 251, 0, 0, 286, 286, 251, 251, 251, 251, 251, 251, 251, 286, 286, 0, 286, 286, 286, 286, 286, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 251, 251, 0, 0, 251, 251, 251, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 0, 0, 286, 286, 286, 251, 0, 286, 251, 0, 251, 251, 251, 286, 251, 286, 251, 286, 251, 286, 286, 286, 286, 286, 286, 286, 251, 286, 472, 251, 251, 251, 251, 251, 251, 0, 0, 0, 472, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 0, 318, 319, 0, 0, 0, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 0, 324, 76, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 0, 472, 0, 84, 0, 472, 309, 310, 311, 312, 313, 314, 315, 0, 0, 318, 319, 0, 0, 0, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 0, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 309, 333, 0, 0, 0, 0, 0, 0, 473, 0, 0, 0, 0, 0, 0, 0, 322, 323, 473, 0, 0, 472, 0, 0, 0, 0, 0, 0, 0, 324, 0, 325, 0, 326, 327, 328, 329, 0, 0, 332, 0, 333, 0, 0, 0, 0, 0, 0, 0, 473, 0, 0, 78, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 0, 86, 0, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; }
|
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/clean/src/org/jruby/parser/YyTables.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
21,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
1850,
576,
5026,
16,
225,
576,
5026,
16,
225,
890,
12416,
16,
225,
576,
5540,
16,
225,
576,
5026,
16,
225,
4200,
23,
16,
225,
1059,
3657,
16,
225,
576,
5520,
16,
225,
576,
5520,
16,
225,
6549,
29,
16,
6647,
1381,
3672,
16,
225,
576,
5520,
16,
225,
576,
6418,
16,
225,
576,
6418,
16,
225,
4248,
28,
16,
225,
1381,
1105,
16,
225,
576,
6418,
16,
225,
1725,
3461,
16,
225,
5342,
20,
16,
225,
5342,
20,
16,
6647,
1381,
12416,
16,
225,
1666,
1611,
16,
225,
6969,
22,
16,
225,
27610,
16,
225,
27610,
16,
225,
4200,
23,
16,
225,
1381,
3657,
16,
225,
27610,
16,
225,
6969,
27,
16,
225,
576,
6162,
16,
6647,
576,
2313,
16,
282,
16848,
16,
225,
2371,
11149,
16,
225,
1381,
9401,
16,
225,
576,
5026,
16,
225,
576,
5026,
16,
225,
576,
2313,
16,
225,
9131,
23,
16,
225,
576,
5193,
16,
225,
5342,
20,
16,
6647,
6969,
23,
16,
225,
1666,
4033,
16,
225,
576,
5608,
16,
225,
890,
4313,
16,
225,
4248,
29,
16,
225,
1059,
9498,
16,
225,
2371,
1578,
16,
225,
1666,
9401,
16,
225,
576,
9222,
16,
225,
1059,
6028,
16,
6647,
1059,
9975,
16,
225,
30116,
16,
225,
30116,
16,
225,
1381,
10593,
16,
225,
11631,
16,
225,
1059,
9452,
16,
225,
9131,
21,
16,
225,
576,
12416,
16,
225,
576,
5877,
16,
225,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
21,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
1850,
576,
5026,
16,
225,
576,
5026,
16,
225,
890,
12416,
16,
225,
576,
5540,
16,
225,
576,
5026,
16,
225,
4200,
23,
16,
225,
1059,
3657,
16,
225,
576,
5520,
16,
225,
576,
5520,
16,
225,
6549,
29,
16,
6647,
1381,
3672,
16,
225,
576,
5520,
16,
225,
576,
6418,
16,
225,
576,
6418,
16,
225,
4248,
28,
16,
225,
1381,
1105,
16,
225,
576,
6418,
16,
225,
1725,
3461,
16,
225,
5342,
20,
16,
225,
5342,
20,
16,
6647,
1381,
12416,
16,
225,
1666,
1611,
16,
225,
6969,
22,
16,
225,
27610,
16,
225,
27610,
16,
225,
4200,
23,
16,
2
] |
super(s);
|
super();
|
public InvalidMidiDataException(String s) { super(s); }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/InvalidMidiDataException.java/clean/core/src/classpath/javax/javax/sound/midi/InvalidMidiDataException.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1962,
20711,
77,
22480,
12,
780,
272,
13,
225,
288,
565,
2240,
5621,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1962,
20711,
77,
22480,
12,
780,
272,
13,
225,
288,
565,
2240,
5621,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (VM.TraceStkMaps)
|
if (true || VM.TraceStkMaps)
|
setupJSRSubroutineMap(int frameAddress, int mapid, VM_CompiledMethod compiledMethod) { // first clear the maps in the extraUnusualMap // int j = extraUnusualMap.getReferenceMapIndex(); int k = extraUnusualMap.getNonReferenceMapIndex(); int l = extraUnusualMap.getReturnAddressMapIndex(); for ( int i = 0; i < bytesPerMap; i++,k++,l++) { unusualReferenceMaps[j + i] = 0; unusualReferenceMaps[k + i] = 0; unusualReferenceMaps[l + i] = 0; } // use the mapid to get index of the Unusual Map // if (VM.TraceStkMaps) { VM.sysWrite("VM_ReferenceMaps-setupJSRSubroutineMap- mapid = " ); VM.sysWrite( mapid); VM.sysWrite(" - mapid = " ); VM.sysWrite(- mapid); VM.sysWrite( "\n"); VM.sysWrite(" -referenceMaps[(- mapid) * bytesPerMap] = " ); VM.sysWrite(referenceMaps[(- mapid) * bytesPerMap]); VM.sysWrite( "\n"); VM.sysWrite(" unusual mapid index = " ); VM.sysWrite(referenceMaps[(- mapid) * bytesPerMap]&JSR_INDEX_MASK); VM.sysWrite( "\n"); } int unusualMapid = (referenceMaps[(-mapid) * bytesPerMap] & JSR_INDEX_MASK); // if jsr map is > 127 go search for the right one if ( unusualMapid == JSR_INDEX_MASK) unusualMapid = findUnusualMap(-mapid); VM_UnusualMaps unusualMap = unusualMaps[unusualMapid]; // unusualMapcopy(unusualMap, -mapid); // deep copy unusual map into the extra map unusualMapcopy(unusualMap); // deep copy unusual map into the extra map // from the unusual map and the frame - get the location of the jsr invoker // int jsrAddressOffset = unusualMap.getReturnAddressOffset(); int callerAddress = VM_Magic.getMemoryWord(frameAddress + jsrAddressOffset); // NOTE: -4 is subtracted when the map is determined ie locateGCpoint // from the invoker address and the code base address - get the machine code offset // int machineCodeOffset = callerAddress - VM_Magic.objectAsAddress(compiledMethod.getInstructions()); if (VM.TraceStkMaps) { VM.sysWrite("VM_ReferenceMaps-setupJSRMap- inputMapid = "); VM.sysWrite( mapid); VM.sysWrite( "\n"); VM.sysWrite(" jsrReturnAddressOffset = "); VM.sysWrite( jsrAddressOffset); // VM.sysWrite( "\n"); VM.sysWrite(" jsr callers address = "); VM.sysWrite( callerAddress); VM.sysWrite( "\n"); VM.sysWrite(" machine code offset of caller = "); VM.sysWrite( machineCodeOffset); VM.sysWrite( "\n"); if (machineCodeOffset <0) VM.sysWrite( "BAD MACHINE CODE OFFSET\n"); } // from the machine code offset locate the map for the jsr instruction // int jsrMapid = locateGCPoint(machineCodeOffset, compiledMethod.getMethod()); if (VM.TraceStkMaps) { VM.sysWrite("VM_ReferenceMaps-setupJSRMap- locateGCpoint returns mapid = "); VM.sysWrite( jsrMapid); VM.sysWrite( "\n"); } // if the invoker was in a jsr (ie nested jsrs)- merge the delta maps of each jsr and // compute the new total delta // while ( jsrMapid < 0) { jsrMapid = -jsrMapid; if (VM.TraceStkMaps) { VM.sysWrite("VM_ReferenceMaps-setupJSRsubroutineMap- outer MapIndex = "); VM.sysWrite( jsrMapid); VM.sysWrite(" unusualMapIndex = "); VM.sysWrite( referenceMaps[jsrMapid]); VM.sysWrite( "\n"); } // merge unusual maps- occurs in nested jsr conditions // merge each nested delta into the maps of the extraUnusualmap int unusualMapIndex = JSR_INDEX_MASK & referenceMaps[ jsrMapid*bytesPerMap]; if (unusualMapIndex == JSR_INDEX_MASK) { unusualMapIndex = findUnusualMap(jsrMapid); } // extraUnusualMap = combineDeltaMaps(jsrMapid, unusualMapid); extraUnusualMap = combineDeltaMaps(unusualMapIndex); // locate the next jsr from the current // VM_UnusualMaps thisMap = unusualMaps[unusualMapIndex]; int thisJsrAddressOffset = thisMap.getReturnAddressOffset(); int nextCallerAddress = VM_Magic.getMemoryWord(frameAddress + thisJsrAddressOffset); int nextMachineCodeOffset = nextCallerAddress - VM_Magic.objectAsAddress(compiledMethod.getInstructions()); jsrMapid = locateGCPoint(nextMachineCodeOffset, compiledMethod.getMethod()); if (VM.TraceStkMaps) { VM.sysWrite("VM_ReferenceMaps-setupJSRsubroutineMap- nested jsrs extraUnusualMap = \n"); extraUnusualMap.showInfo(); VM.sysWrite( "\n"); VM.sysWrite("VM_ReferenceMaps-setupJSRsubroutineMap- nested jsrs thisMap =\n "); thisMap.showInfo(); VM.sysWrite( "\n"); VM.sysWrite(" setupJSRsubroutineMap- nested jsrs end of loop- = \n"); VM.sysWrite(" next jsraddress offset = "); VM.sysWrite(thisJsrAddressOffset); VM.sysWrite("\n next callers address = "); VM.sysWrite(nextCallerAddress); VM.sysWrite("\n next machinecodeoffset = "); VM.sysWrite(nextMachineCodeOffset); VM.sysWrite( "\n"); } } // end while // merge the jsr (unusual )map with the base level (ie jsr instruction) map(s) // the results are stored in mergedReferenceMap and mergedReturnAddresMap // as indices in the referenceMaps table // finalMergeMaps((jsrMapid * bytesPerMap), extraUnusualMap); if (VM.TraceStkMaps) { VM.sysWrite("VM_ReferenceMaps-setupJSRsubroutineMap- afterfinalMerge extraUnusualMap =\n "); extraUnusualMap.showInfo(); VM.sysWrite( "\n"); VM.sysWrite(" mergedReferenceMap Index = "); VM.sysWrite( mergedReferenceMap); VM.sysWrite( "\n"); VM.sysWrite(" mergedReferenceMap = "); showAnUnusualMap(mergedReferenceMap); VM.sysWrite( unusualReferenceMaps[mergedReferenceMap]); VM.sysWrite( "\n"); VM.sysWrite(" mergedReturnAddressMap Index = "); VM.sysWrite( mergedReturnAddressMap); VM.sysWrite( "\n"); VM.sysWrite(" mergedReturnAddressMap = "); VM.sysWrite( unusualReferenceMaps[mergedReturnAddressMap]); VM.sysWrite( "\n"); showUnusualMapInfo(); } }
|
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/0a323e6af9db88b41b8dd710bf2d293b13ef4bd5/VM_ReferenceMaps.java/buggy/rvm/src/vm/compilers/baseline/GCMap/VM_ReferenceMaps.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3875,
6479,
54,
1676,
22640,
863,
12,
474,
2623,
1887,
16,
509,
852,
350,
16,
8251,
67,
20733,
1305,
7743,
1305,
13,
225,
288,
565,
368,
1122,
2424,
326,
225,
7565,
316,
326,
2870,
984,
407,
1462,
863,
565,
368,
565,
509,
525,
273,
2870,
984,
407,
1462,
863,
18,
588,
2404,
863,
1016,
5621,
565,
509,
417,
273,
2870,
984,
407,
1462,
863,
18,
588,
3989,
2404,
863,
1016,
5621,
565,
509,
328,
273,
2870,
984,
407,
1462,
863,
18,
588,
990,
1887,
863,
1016,
5621,
565,
364,
261,
509,
277,
273,
374,
31,
277,
411,
225,
31148,
863,
31,
277,
9904,
16,
79,
9904,
16,
80,
27245,
565,
288,
540,
640,
407,
1462,
2404,
8903,
63,
78,
397,
277,
65,
273,
374,
31,
540,
640,
407,
1462,
2404,
8903,
63,
79,
397,
277,
65,
273,
374,
31,
540,
640,
407,
1462,
2404,
8903,
63,
80,
397,
277,
65,
273,
374,
31,
565,
289,
565,
368,
999,
326,
852,
350,
358,
336,
770,
434,
326,
1351,
407,
1462,
1635,
565,
368,
4202,
309,
261,
7397,
18,
3448,
510,
79,
8903,
13,
202,
288,
540,
8251,
18,
9499,
3067,
2932,
7397,
67,
2404,
8903,
17,
8401,
6479,
54,
1676,
22640,
863,
17,
852,
350,
273,
315,
11272,
540,
8251,
18,
9499,
3067,
12,
852,
350,
1769,
540,
8251,
18,
9499,
3067,
2932,
282,
300,
852,
350,
273,
315,
11272,
540,
8251,
18,
9499,
3067,
19236,
852,
350,
1769,
540,
8251,
18,
9499,
3067,
12,
1548,
82,
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,
3875,
6479,
54,
1676,
22640,
863,
12,
474,
2623,
1887,
16,
509,
852,
350,
16,
8251,
67,
20733,
1305,
7743,
1305,
13,
225,
288,
565,
368,
1122,
2424,
326,
225,
7565,
316,
326,
2870,
984,
407,
1462,
863,
565,
368,
565,
509,
525,
273,
2870,
984,
407,
1462,
863,
18,
588,
2404,
863,
1016,
5621,
565,
509,
417,
273,
2870,
984,
407,
1462,
863,
18,
588,
3989,
2404,
863,
1016,
5621,
565,
509,
328,
273,
2870,
984,
407,
1462,
863,
18,
588,
990,
1887,
863,
1016,
5621,
565,
364,
261,
509,
277,
273,
374,
31,
277,
411,
225,
31148,
863,
31,
277,
9904,
16,
79,
9904,
16,
80,
27245,
565,
288,
540,
640,
407,
1462,
2404,
8903,
63,
2
] |
weapon.flags |= F_LASER | F_ENERGY;
|
weapon.flags |= F_LASER | F_ENERGY | F_PULSE;
|
private static WeaponType createISMediumXPulseLaser() { WeaponType weapon = new WeaponType(); weapon.techLevel = TechConstants.T_IS_LEVEL_3; weapon.name = "Medium X-Pulse Laser"; weapon.setInternalName("ISMediumXPulseLaser"); weapon.addLookupName("IS X-Pulse Med Laser"); weapon.addLookupName("IS Medium X-Pulse Laser"); weapon.heat = 6; weapon.damage = 6; weapon.toHitModifier = -2; weapon.ammoType = AmmoType.T_NA; weapon.minimumRange = WEAPON_NA; weapon.shortRange = 3; weapon.mediumRange = 6; weapon.longRange = 9; weapon.extremeRange = 12; weapon.waterShortRange = 2; weapon.waterMediumRange = 3; weapon.waterLongRange = 4; weapon.waterExtremeRange = 6; weapon.tonnage = 2.0f; weapon.criticals = 1; weapon.flags |= F_LASER | F_ENERGY; weapon.bv = 71; weapon.cost = 110000; return weapon; }
|
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/6e1b12cd6539c07d258d62cd05cf7c5a167a9268/WeaponType.java/clean/megamek/src/megamek/common/WeaponType.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1660,
28629,
559,
752,
5127,
25599,
60,
52,
24667,
48,
14558,
1435,
288,
3639,
1660,
28629,
559,
732,
28629,
273,
394,
1660,
28629,
559,
5621,
3639,
732,
28629,
18,
28012,
2355,
273,
399,
8987,
2918,
18,
56,
67,
5127,
67,
10398,
67,
23,
31,
3639,
732,
28629,
18,
529,
273,
315,
25599,
1139,
17,
52,
24667,
511,
14558,
14432,
3639,
732,
28629,
18,
542,
3061,
461,
2932,
5127,
25599,
60,
52,
24667,
48,
14558,
8863,
3639,
732,
28629,
18,
1289,
6609,
461,
2932,
5127,
1139,
17,
52,
24667,
20158,
511,
14558,
8863,
3639,
732,
28629,
18,
1289,
6609,
461,
2932,
5127,
20158,
5077,
1139,
17,
52,
24667,
511,
14558,
8863,
3639,
732,
28629,
18,
580,
270,
273,
1666,
31,
3639,
732,
28629,
18,
72,
301,
410,
273,
1666,
31,
3639,
732,
28629,
18,
869,
13616,
9829,
273,
300,
22,
31,
3639,
732,
28629,
18,
301,
8683,
559,
273,
3986,
8683,
559,
18,
56,
67,
11277,
31,
3639,
732,
28629,
18,
15903,
2655,
273,
13880,
2203,
673,
67,
11277,
31,
3639,
732,
28629,
18,
6620,
2655,
273,
890,
31,
3639,
732,
28629,
18,
19011,
2655,
273,
1666,
31,
3639,
732,
28629,
18,
5748,
2655,
273,
2468,
31,
3639,
732,
28629,
18,
408,
2764,
73,
2655,
273,
2593,
31,
3639,
732,
28629,
18,
91,
2045,
4897,
2655,
273,
576,
31,
3639,
732,
28629,
18,
91,
2045,
25599,
2655,
273,
890,
31,
3639,
732,
28629,
18,
91,
2045,
3708,
2655,
273,
1059,
31,
3639,
732,
28629,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1660,
28629,
559,
752,
5127,
25599,
60,
52,
24667,
48,
14558,
1435,
288,
3639,
1660,
28629,
559,
732,
28629,
273,
394,
1660,
28629,
559,
5621,
3639,
732,
28629,
18,
28012,
2355,
273,
399,
8987,
2918,
18,
56,
67,
5127,
67,
10398,
67,
23,
31,
3639,
732,
28629,
18,
529,
273,
315,
25599,
1139,
17,
52,
24667,
511,
14558,
14432,
3639,
732,
28629,
18,
542,
3061,
461,
2932,
5127,
25599,
60,
52,
24667,
48,
14558,
8863,
3639,
732,
28629,
18,
1289,
6609,
461,
2932,
5127,
1139,
17,
52,
24667,
20158,
511,
14558,
8863,
3639,
732,
28629,
18,
1289,
6609,
461,
2932,
5127,
20158,
5077,
1139,
17,
52,
24667,
511,
14558,
8863,
3639,
732,
28629,
18,
580,
270,
2
] |
public void setArc(double x, double y, double w, double h, double start, double extent, int type)
|
public void setArc(double x, double y, double w, double h, double start, double extent, int type)
|
public void setArc(double x, double y, double w, double h, double start, double extent, int type) { this.x = x; this.y = y; width = w; height = h; this.start = start; this.extent = extent; setArcType(type); }
|
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/b20d0a695843e575c328a55000265cb08be3480d/Arc2D.java/buggy/libraries/javalib/java/awt/geom/Arc2D.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
14598,
12,
9056,
619,
16,
1645,
677,
16,
1645,
341,
16,
1645,
366,
16,
15604,
1645,
787,
16,
1645,
11933,
16,
509,
618,
13,
565,
288,
1377,
333,
18,
92,
273,
619,
31,
1377,
333,
18,
93,
273,
677,
31,
1377,
1835,
273,
341,
31,
1377,
2072,
273,
366,
31,
1377,
333,
18,
1937,
273,
787,
31,
1377,
333,
18,
18181,
273,
11933,
31,
1377,
444,
14598,
559,
12,
723,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
14598,
12,
9056,
619,
16,
1645,
677,
16,
1645,
341,
16,
1645,
366,
16,
15604,
1645,
787,
16,
1645,
11933,
16,
509,
618,
13,
565,
288,
1377,
333,
18,
92,
273,
619,
31,
1377,
333,
18,
93,
273,
677,
31,
1377,
1835,
273,
341,
31,
1377,
2072,
273,
366,
31,
1377,
333,
18,
1937,
273,
787,
31,
1377,
333,
18,
18181,
273,
11933,
31,
1377,
444,
14598,
559,
12,
723,
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
] |
resetButton = createButton( parent, WorkbenchMessages.getString("FontsPreference.reset"));
|
resetButton = createButton(parent, WorkbenchMessages.getString("FontsPreference.reset"));
|
private void createResetControl(Composite parent) { resetButton = createButton( parent, WorkbenchMessages.getString("FontsPreference.reset")); //$NON-NLS-1$ resetButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent event) { FontDefinition definition = getSelectedFontDefinition(); //Put an entry of null in to represent the reset fontDataSettings.put(definition.getId(), DEFAULT_TOKEN); updateForSelectedFontDefinition(definition); } }); }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/c3215d23c99197165e72b0ab6b8bb81fa0fbba83/FontPreferencePage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/FontPreferencePage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
7013,
3367,
12,
9400,
982,
13,
288,
202,
202,
6208,
3616,
273,
1082,
202,
2640,
3616,
12,
9506,
202,
2938,
16,
9506,
202,
2421,
22144,
5058,
18,
588,
780,
2932,
5711,
87,
9624,
18,
6208,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
6208,
3616,
18,
1289,
6233,
2223,
12,
2704,
12977,
4216,
1435,
288,
1082,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
871,
13,
288,
9506,
202,
5711,
1852,
2379,
273,
16625,
5711,
1852,
5621,
9506,
202,
759,
6426,
392,
1241,
434,
446,
316,
358,
2406,
326,
2715,
9506,
202,
5776,
751,
2628,
18,
458,
12,
6907,
18,
26321,
9334,
3331,
67,
8412,
1769,
9506,
202,
2725,
1290,
7416,
5711,
1852,
12,
6907,
1769,
1082,
202,
97,
202,
202,
22938,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
7013,
3367,
12,
9400,
982,
13,
288,
202,
202,
6208,
3616,
273,
1082,
202,
2640,
3616,
12,
9506,
202,
2938,
16,
9506,
202,
2421,
22144,
5058,
18,
588,
780,
2932,
5711,
87,
9624,
18,
6208,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
6208,
3616,
18,
1289,
6233,
2223,
12,
2704,
12977,
4216,
1435,
288,
1082,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
871,
13,
288,
9506,
202,
5711,
1852,
2379,
273,
16625,
5711,
1852,
5621,
9506,
202,
759,
6426,
392,
1241,
434,
446,
316,
358,
2406,
326,
2715,
9506,
202,
5776,
751,
2628,
18,
458,
12,
6907,
18,
26321,
9334,
3331,
67,
8412,
1769,
9506,
202,
2725,
1290,
7416,
2
] |
if (c.isArray() && c.getComponentType() == Byte.TYPE) {
|
if (c.isArray() && c.getComponentType() == Byte.TYPE)
|
public Object __tojava__(Class c) { //This is a hack to make almost all Java calls happy if (c == String.class || c == Object.class) return string; if (c == Character.TYPE) if (string.length() == 1) return new Character(string.charAt(0)); if (c.isArray() && c.getComponentType() == Byte.TYPE) { return getBytes(); } if (c.isInstance(this)) return this; return Py.NoConversion; }
|
6527 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6527/8ab4933e5096c24d3627be8ec668b36e978c1c6b/PyString.java/buggy/org/python/core/PyString.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1001,
869,
6290,
972,
12,
797,
276,
13,
288,
202,
759,
2503,
353,
279,
11769,
358,
1221,
23889,
777,
5110,
4097,
5622,
2074,
202,
430,
261,
71,
422,
514,
18,
1106,
747,
276,
422,
1033,
18,
1106,
13,
202,
565,
327,
533,
31,
202,
430,
261,
71,
422,
6577,
18,
2399,
13,
202,
565,
309,
261,
1080,
18,
2469,
1435,
422,
404,
13,
202,
202,
2463,
394,
6577,
12,
1080,
18,
3001,
861,
12,
20,
10019,
202,
430,
261,
71,
18,
291,
1076,
1435,
597,
276,
18,
588,
28116,
1435,
422,
3506,
18,
2399,
13,
288,
202,
565,
327,
8425,
5621,
202,
97,
202,
430,
261,
71,
18,
291,
1442,
12,
2211,
3719,
202,
565,
327,
333,
31,
202,
2463,
4707,
18,
2279,
6814,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1001,
869,
6290,
972,
12,
797,
276,
13,
288,
202,
759,
2503,
353,
279,
11769,
358,
1221,
23889,
777,
5110,
4097,
5622,
2074,
202,
430,
261,
71,
422,
514,
18,
1106,
747,
276,
422,
1033,
18,
1106,
13,
202,
565,
327,
533,
31,
202,
430,
261,
71,
422,
6577,
18,
2399,
13,
202,
565,
309,
261,
1080,
18,
2469,
1435,
422,
404,
13,
202,
202,
2463,
394,
6577,
12,
1080,
18,
3001,
861,
12,
20,
10019,
202,
430,
261,
71,
18,
291,
1076,
1435,
597,
276,
18,
588,
28116,
1435,
422,
3506,
18,
2399,
13,
288,
202,
565,
327,
8425,
5621,
202,
97,
202,
430,
261,
71,
18,
291,
1442,
12,
2211,
3719,
202,
565,
327,
2
] |
suite.addTestSuite(ResourceListenerTest.class);
|
suite.addTestSuite(ResourcesContextTest.class); suite.addTestSuite(ChangeSetManagerTest.class);
|
public static Test suite() { TestSuite suite = new TestSuite( "Test for org.eclipse.mylar.ide.tests"); //$JUnit-BEGIN$ suite.addTestSuite(ResourceListenerTest.class); //$JUnit-END$ return suite; }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/c20efa6e0e39ac041c808c5caad415d44335ad73/AllIdeTests.java/buggy/org.eclipse.mylyn.ide.tests/src/org/eclipse/mylyn/ide/tests/AllIdeTests.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
7766,
11371,
1435,
288,
202,
202,
4709,
13587,
11371,
273,
394,
7766,
13587,
12,
9506,
202,
6,
4709,
364,
2358,
18,
20416,
18,
4811,
7901,
18,
831,
18,
16341,
8863,
202,
202,
759,
8,
46,
2802,
17,
16061,
8,
202,
202,
30676,
18,
1289,
4709,
13587,
12,
1420,
2223,
4709,
18,
1106,
1769,
202,
202,
759,
8,
46,
2802,
17,
4415,
8,
202,
202,
2463,
11371,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
7766,
11371,
1435,
288,
202,
202,
4709,
13587,
11371,
273,
394,
7766,
13587,
12,
9506,
202,
6,
4709,
364,
2358,
18,
20416,
18,
4811,
7901,
18,
831,
18,
16341,
8863,
202,
202,
759,
8,
46,
2802,
17,
16061,
8,
202,
202,
30676,
18,
1289,
4709,
13587,
12,
1420,
2223,
4709,
18,
1106,
1769,
202,
202,
759,
8,
46,
2802,
17,
4415,
8,
202,
202,
2463,
11371,
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
] |
sql += "SERIALIZABLE";
|
sql += "SNAPSHOT";
|
synchronized public void setTransactionIsolation(int level) throws SQLException { checkOpen(); if (transactionIsolation == level) { // No need to submit a request return; } String sql = "SET TRANSACTION ISOLATION LEVEL "; boolean sybase = serverType == Driver.SYBASE; switch (level) { case java.sql.Connection.TRANSACTION_READ_UNCOMMITTED: sql += (sybase) ? "0" : "READ UNCOMMITTED"; break; case java.sql.Connection.TRANSACTION_READ_COMMITTED: sql += (sybase) ? "1" : "READ COMMITTED"; break; case java.sql.Connection.TRANSACTION_REPEATABLE_READ: sql += (sybase) ? "2" : "REPEATABLE READ"; break; case java.sql.Connection.TRANSACTION_SERIALIZABLE: sql += (sybase) ? "3" : "SERIALIZABLE"; break; case TRANSACTION_SNAPSHOT: if (sybase) { throw new SQLException( Messages.get("error.generic.optvalue", "TRANSACTION_SNAPSHOT", "setTransactionIsolation"), "HY024"); } else { sql += "SERIALIZABLE"; } break; case java.sql.Connection.TRANSACTION_NONE: throw new SQLException( Messages.get("error.generic.optvalue", "TRANSACTION_NONE", "setTransactionIsolation"), "HY024"); default: throw new SQLException( Messages.get("error.generic.badoption", Integer.toString(level), "level"), "HY092"); } transactionIsolation = level; baseTds.submitSQL(sql); }
|
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/b005e33f0773a5202a2b26d872958fab916216d3/ConnectionJDBC2.java/clean/src/main/net/sourceforge/jtds/jdbc/ConnectionJDBC2.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
1071,
918,
444,
3342,
22982,
12,
474,
1801,
13,
1216,
6483,
288,
3639,
866,
3678,
5621,
3639,
309,
261,
7958,
22982,
422,
1801,
13,
288,
5411,
368,
2631,
1608,
358,
4879,
279,
590,
5411,
327,
31,
3639,
289,
3639,
514,
1847,
273,
315,
4043,
24896,
4437,
1741,
2689,
15080,
13636,
3639,
1250,
1393,
1969,
273,
1438,
559,
422,
9396,
18,
7474,
8369,
31,
3639,
1620,
261,
2815,
13,
288,
5411,
648,
2252,
18,
4669,
18,
1952,
18,
22364,
67,
6949,
67,
2124,
18658,
6404,
30,
7734,
1847,
1011,
261,
9009,
1969,
13,
692,
315,
20,
6,
294,
315,
6949,
5019,
18658,
6404,
14432,
7734,
898,
31,
5411,
648,
2252,
18,
4669,
18,
1952,
18,
22364,
67,
6949,
67,
18658,
6404,
30,
7734,
1847,
1011,
261,
9009,
1969,
13,
692,
315,
21,
6,
294,
315,
6949,
5423,
6068,
6404,
14432,
7734,
898,
31,
5411,
648,
2252,
18,
4669,
18,
1952,
18,
22364,
67,
862,
31804,
2782,
67,
6949,
30,
7734,
1847,
1011,
261,
9009,
1969,
13,
692,
315,
22,
6,
294,
315,
862,
31804,
2782,
10746,
14432,
7734,
898,
31,
5411,
648,
2252,
18,
4669,
18,
1952,
18,
22364,
67,
2123,
15154,
2782,
30,
7734,
1847,
1011,
261,
9009,
1969,
13,
692,
315,
23,
6,
294,
315,
2123,
15154,
2782,
14432,
7734,
898,
31,
5411,
648,
24896,
67,
13653,
31667,
30,
7734,
309,
261,
9009,
1969,
13,
288,
10792,
604,
394,
6483,
12,
18701,
4838,
18,
588,
2932,
1636,
18,
13540,
18,
3838,
1132,
3113,
29159,
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,
3852,
1071,
918,
444,
3342,
22982,
12,
474,
1801,
13,
1216,
6483,
288,
3639,
866,
3678,
5621,
3639,
309,
261,
7958,
22982,
422,
1801,
13,
288,
5411,
368,
2631,
1608,
358,
4879,
279,
590,
5411,
327,
31,
3639,
289,
3639,
514,
1847,
273,
315,
4043,
24896,
4437,
1741,
2689,
15080,
13636,
3639,
1250,
1393,
1969,
273,
1438,
559,
422,
9396,
18,
7474,
8369,
31,
3639,
1620,
261,
2815,
13,
288,
5411,
648,
2252,
18,
4669,
18,
1952,
18,
22364,
67,
6949,
67,
2124,
18658,
6404,
30,
7734,
1847,
1011,
261,
9009,
1969,
13,
692,
315,
20,
6,
294,
315,
6949,
5019,
18658,
6404,
14432,
7734,
898,
31,
5411,
648,
2252,
18,
4669,
18,
1952,
18,
22364,
67,
6949,
2
] |
PdeBase.saveFile(code[i].program, new File(buildPath, filename));
|
try { PdeBase.saveFile(code[i].program, new File(buildPath, filename)); } catch (IOException e) { e.printStackTrace(); throw new PdeException("Problem moving " + filename + " to the build folder"); }
|
protected String build(String buildPath, String suggestedClassName) throws PdeException { String importPackageList[] = null; classPath = buildPath + File.pathSeparator + System.getProperty("java.class.path"); // figure out the contents of the code folder to see if there // are files that need to be added to the imports //File codeFolder = new File(folder, "code"); if (codeFolder.exists()) { externalRuntime = true; classPath += File.separator + PdeCompiler.contentsToClassPath(codeFolder); importPackageList = PdeCompiler.magicImports(classPath); //libraryPath = codeFolder.getCanonicalPath(); libraryPath = codeFolder.getAbsolutePath(); } else { externalRuntime = (codeCount > 1); // may still be set true later importPackageList = null; libraryPath = ""; } // first run preproc on the 'main' file, using the sugg class name // then for code 1..count // if .java, write programs[i] to buildpath // if .pde, run preproc to buildpath // if no class def'd for the pde file, then complain String primaryClassName = null; for (int i = 0; i < codeCount; i++) { if (code[i].flavor == JAVA) { // no pre-processing services necessary for java files // just write the the contents of 'program' to a .java file // into the build directory. uses byte stream and reader/writer // shtuff so that unicode bunk is properly handled String filename = code[i].name + ".java"; PdeBase.saveFile(code[i].program, new File(buildPath, filename)); code[i].preprocName = filename; } else if (code[i].flavor == PDE) { PdePreprocessor preprocessor = new PdePreprocessor(); try { // if (i != 0) preproc will fail if a pde file is not // java mode, since that's required String className = preprocessor.write(code[i].program, buildPath, (i == 0) ? suggestedClassName : null, additionalImports); if (className == null) { // TODO this is temporary for debugging System.err.println("class could not be determined for " + code[i].name + " hopefully an error has " + "already been reported."); return null; } else { code[i].preprocName = className + ".java"; } if (i == 0) { // store this for the compiler and the runtime primaryClassName = className; // check if the 'main' file is in java mode if (PdePreprocessor.programType == PdePreprocessor.JAVA) { externalRuntime = true; // we in advanced mode now, boy } } } catch (antlr.RecognitionException re) { // this even returns a column throw new PdeException(re.getMessage(), re.getLine() - 1, re.getColumn()); } catch (antlr.TokenStreamRecognitionException tsre) { // while this seems to store line and column internally, // there doesn't seem to be a method to grab it.. // so instead it's done using a regexp PatternMatcher matcher = new Perl5Matcher(); PatternCompiler compiler = new Perl5Compiler(); // line 3:1: unexpected char: 0xA0 String mess = "^line (\\d+):(\\d+):\\s"; Pattern pattern = compiler.compile(mess); PatternMatcherInput input = new PatternMatcherInput(tsre.toString()); if (matcher.contains(input, pattern)) { MatchResult result = matcher.getMatch(); int line = Integer.parseInt(result.group(1).toString()); int column = Integer.parseInt(result.group(2).toString()); throw new PdeException(tsre.getMessage(), line-1, column); } else { throw new PdeException(tsre.toString()); } } catch (PdeException pe) { // PdeExceptions are caught here and re-thrown, so that they don't // get lost in the more general "Exception" handler below. throw pe; } catch (Exception ex) { // TODO better method for handling this? System.err.println("Uncaught exception type:" + ex.getClass()); ex.printStackTrace(); throw new PdeException(ex.toString()); } } } // compile the program. errors will happen as a PdeException // that will bubble up to whomever called build(). // PdeCompiler compiler = new PdeCompiler(); boolean success = compiler.compile(this, buildPath); return success ? primaryClassName : null; }
|
8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/1857d6bd6ff6dcba19ab6c73bcac3b7f4424d746/PdeSketch.java/buggy/app/PdeSketch.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
514,
1361,
12,
780,
1361,
743,
16,
514,
22168,
3834,
13,
565,
1216,
453,
323,
503,
288,
565,
514,
1930,
2261,
682,
8526,
273,
446,
31,
565,
22503,
273,
1361,
743,
397,
1387,
18,
803,
6581,
397,
4202,
2332,
18,
588,
1396,
2932,
6290,
18,
1106,
18,
803,
8863,
565,
368,
7837,
596,
326,
2939,
434,
326,
981,
3009,
358,
2621,
309,
1915,
565,
368,
854,
1390,
716,
1608,
358,
506,
3096,
358,
326,
10095,
565,
368,
812,
981,
3899,
273,
394,
1387,
12,
5609,
16,
315,
710,
8863,
565,
309,
261,
710,
3899,
18,
1808,
10756,
288,
1377,
3903,
5576,
273,
638,
31,
1377,
22503,
1011,
1387,
18,
11287,
397,
540,
453,
323,
9213,
18,
3980,
774,
22158,
12,
710,
3899,
1769,
1377,
1930,
2261,
682,
273,
453,
323,
9213,
18,
11179,
13347,
12,
1106,
743,
1769,
1377,
368,
12083,
743,
273,
981,
3899,
18,
588,
15512,
743,
5621,
1377,
5313,
743,
273,
981,
3899,
18,
588,
10368,
743,
5621,
565,
289,
469,
288,
1377,
3903,
5576,
273,
261,
710,
1380,
405,
404,
1769,
225,
368,
2026,
4859,
506,
444,
638,
5137,
1377,
1930,
2261,
682,
273,
446,
31,
1377,
5313,
743,
273,
1408,
31,
565,
289,
565,
368,
1122,
1086,
675,
9381,
603,
326,
296,
5254,
11,
585,
16,
1450,
326,
13546,
667,
508,
565,
368,
1508,
364,
981,
404,
838,
1883,
565,
368,
282,
309,
263,
6290,
16,
1045,
25038,
63,
77,
65,
358,
1361,
803,
565,
368,
282,
309,
263,
84,
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,
514,
1361,
12,
780,
1361,
743,
16,
514,
22168,
3834,
13,
565,
1216,
453,
323,
503,
288,
565,
514,
1930,
2261,
682,
8526,
273,
446,
31,
565,
22503,
273,
1361,
743,
397,
1387,
18,
803,
6581,
397,
4202,
2332,
18,
588,
1396,
2932,
6290,
18,
1106,
18,
803,
8863,
565,
368,
7837,
596,
326,
2939,
434,
326,
981,
3009,
358,
2621,
309,
1915,
565,
368,
854,
1390,
716,
1608,
358,
506,
3096,
358,
326,
10095,
565,
368,
812,
981,
3899,
273,
394,
1387,
12,
5609,
16,
315,
710,
8863,
565,
309,
261,
710,
3899,
18,
1808,
10756,
288,
1377,
3903,
5576,
273,
638,
31,
1377,
22503,
1011,
1387,
18,
11287,
397,
540,
453,
323,
9213,
18,
3980,
2
] |
}
|
log("Chat: " + myChat);
|
public void doGet(HttpServletRequest req, HttpServletResponse res)throws ServletException, IOException{ log("startar do get"); // Lets validate the session, e.g has the user logged in to Janus? if (super.checkSession(req,res) == false) return ; HttpSession session = req.getSession(false); // Lets get an user object imcode.server.User user = super.getUserObj(req,res) ; if(user == null) return ; if ( !isUserAuthorized( req, res, user ) ){ return; } // Lets get serverinformation String host = req.getHeader("Host") ; String imcServer = Utility.getDomainPref("userserver",host) ; String chatPoolServer = Utility.getDomainPref("chat_server",host) ; //RmiConf rmi = new RmiConf(user) ; String action = req.getParameter("action") ; if(action == null){ action = (String)req.getAttribute("action"); if(action == null){ action = "" ; String header = "ChatCreator servlet. " ; ChatError err = new ChatError(req,res,header,3) ; log(header + err.getErrorMsg()) ; return ; } } RmiConf rmi = new RmiConf(user); // ********* Create NEW Chat ********************************************************* if(action.equalsIgnoreCase("NEW")){ log("NEW"); //vi mste hmta allt som behvs frn databasen och sedan fixa till mallen //skapa en temp chat int meta_id = Integer.parseInt((String)session.getAttribute("Chat.meta_id")); Chat myChat = createChat(req, user, meta_id); session.setAttribute("myChat",myChat); // Lets build the Responsepage to the loginpage Vector vect = createTaggs(req, myChat); sendHtml(req,res,vect,HTML_TEMPLATE,myChat); return ; } String templateAdmin = req.getParameter("ADMIN_TEMPLATES"); if (templateAdmin != null) {//ok we have done upload template or image lets get back to the adminpage this.doPost(req,res); return; } if (action.equalsIgnoreCase("admin_chat")){ log("action = admin_chat"); //check which chat we have String chatName = req.getParameter("chatName"); log("ChatName: " + chatName); Vector tags = new Vector(); tags.add("#chatName#"); tags.add( chatName ) ; String metaId = (String)session.getAttribute("Chat.meta_id"); log("MetaId: " + metaId); ServletContext myContext = getServletContext(); Chat myChat = (Chat)myContext.getAttribute("theChat"+metaId); log("Chat: " + myChat); Vector vect = createTaggs(req, myChat); sendHtml(req,res,vect,HTML_TEMPLATE,myChat); return ; } } // End doGet
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a270627916b37a677a391dd9f45c54d3d6f12503/ChatCreator.java/buggy/servlets/chat/ChatCreator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
23611,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
15069,
16517,
16,
1860,
95,
202,
202,
1330,
2932,
1937,
297,
741,
336,
8863,
202,
202,
759,
511,
2413,
1954,
326,
1339,
16,
425,
18,
75,
711,
326,
729,
7545,
316,
358,
23214,
407,
35,
202,
202,
430,
261,
9565,
18,
1893,
2157,
12,
3658,
16,
455,
13,
422,
629,
13,
202,
2463,
274,
202,
202,
2940,
2157,
1339,
273,
1111,
18,
588,
2157,
12,
5743,
1769,
202,
202,
759,
511,
2413,
336,
392,
729,
733,
202,
202,
381,
710,
18,
3567,
18,
1299,
729,
273,
2240,
18,
588,
1299,
2675,
12,
3658,
16,
455,
13,
274,
202,
202,
430,
12,
1355,
422,
446,
13,
327,
274,
202,
202,
430,
261,
401,
291,
1299,
15341,
12,
1111,
16,
400,
16,
729,
262,
262,
95,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
759,
511,
2413,
336,
1438,
13117,
202,
202,
780,
1479,
273,
1111,
18,
588,
1864,
2932,
2594,
7923,
274,
202,
202,
780,
709,
71,
2081,
273,
13134,
18,
588,
3748,
23218,
2932,
5577,
12330,
3113,
2564,
13,
274,
202,
202,
780,
7916,
2864,
2081,
273,
13134,
18,
588,
3748,
23218,
2932,
10880,
67,
3567,
3113,
2564,
13,
274,
202,
202,
759,
54,
9197,
3976,
6692,
77,
273,
394,
534,
9197,
3976,
12,
1355,
13,
274,
202,
202,
780,
1301,
273,
1111,
18,
588,
1662,
2932,
1128,
7923,
274,
202,
202,
430,
12,
1128,
422,
446,
15329,
1082,
202,
1128,
273,
261,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
23611,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
15069,
16517,
16,
1860,
95,
202,
202,
1330,
2932,
1937,
297,
741,
336,
8863,
202,
202,
759,
511,
2413,
1954,
326,
1339,
16,
425,
18,
75,
711,
326,
729,
7545,
316,
358,
23214,
407,
35,
202,
202,
430,
261,
9565,
18,
1893,
2157,
12,
3658,
16,
455,
13,
422,
629,
13,
202,
2463,
274,
202,
202,
2940,
2157,
1339,
273,
1111,
18,
588,
2157,
12,
5743,
1769,
202,
202,
759,
511,
2413,
336,
392,
729,
733,
202,
202,
381,
710,
18,
3567,
18,
1299,
729,
273,
2240,
18,
588,
1299,
2675,
12,
3658,
16,
455,
13,
274,
202,
202,
430,
12,
1355,
422,
446,
13,
327,
2
] |
protected Image getImage(IMylarContextNode node) {
|
protected Image getImage(IMylarElement node) {
|
protected Image getImage(IMylarContextNode node) { return MylarImages.getImage(MylarImages.BUG); }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/f5bfb4859762da1543c326b182b2de34d0d94c08/BugzillaContextLabelProvider.java/buggy/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/bugs/BugzillaContextLabelProvider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
3421,
10567,
12,
3445,
93,
7901,
1042,
907,
756,
13,
288,
202,
202,
2463,
8005,
7901,
8946,
18,
588,
2040,
12,
12062,
7901,
8946,
18,
4827,
1769,
225,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
3421,
10567,
12,
3445,
93,
7901,
1042,
907,
756,
13,
288,
202,
202,
2463,
8005,
7901,
8946,
18,
588,
2040,
12,
12062,
7901,
8946,
18,
4827,
1769,
225,
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
] |
if(now - softLastPacketSendTime > minSoftDelay / 2) { softLastPacketSendTime = now - (minSoftDelay / 2);
|
if(nowNS - softLastPacketSendTimeNSec > softLimitPeriodNSec) { softLastPacketSendTimeNSec = nowNS - (softLimitPeriodNSec);
|
private boolean delay(long startCycleTime) { // Get the current inter-packet delay long delay = throttle.getDelay(); while(true) { long now = System.currentTimeMillis(); long endTime = -1; boolean thenSend = true; // Synchronize on the static lock, and update synchronized(lastPacketSendTimeSync) { // Get the current time now = System.currentTimeMillis(); // Update time if necessary to avoid spurts if(hardLastPacketSendTime < (now - minPacketDelay)) hardLastPacketSendTime = now - minPacketDelay; // Wait until the next send window long newHardLastPacketSendTime = hardLastPacketSendTime + minPacketDelay; long earliestSendTime = startCycleTime + delay; if(earliestSendTime > newHardLastPacketSendTime) { // Don't clog up other senders! thenSend = false; endTime = earliestSendTime; } else { hardLastPacketSendTime = newHardLastPacketSendTime; endTime = hardLastPacketSendTime; // What about the soft limit? if(now - softLastPacketSendTime > minSoftDelay / 2) { softLastPacketSendTime = now - (minSoftDelay / 2); } softLastPacketSendTime += minSoftDelay; if(softLastPacketSendTime > hardLastPacketSendTime) { endTime = hardLastPacketSendTime = softLastPacketSendTime; } } } while(now < endTime) { synchronized(_senderThread) { if(_sendComplete) return true; try { _senderThread.wait(endTime - now); } catch (InterruptedException e) { // Ignore } } if(_sendComplete) return true; now = System.currentTimeMillis(); } if(thenSend) return false; } }
|
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/2d2b5012400f5bab60d65d3d26d67efa9cf7d1d6/BlockTransmitter.java/clean/src/freenet/io/xfer/BlockTransmitter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
1152,
1250,
4624,
12,
5748,
787,
13279,
950,
13,
288,
6862,
9506,
202,
759,
968,
326,
783,
1554,
17,
11482,
4624,
9506,
202,
5748,
4624,
273,
18304,
18,
588,
6763,
5621,
6862,
9506,
202,
17523,
12,
3767,
13,
288,
6862,
25083,
202,
5748,
2037,
273,
2332,
18,
2972,
28512,
5621,
6862,
25083,
202,
5748,
13859,
273,
300,
21,
31,
6862,
25083,
202,
6494,
1508,
3826,
273,
638,
31,
6862,
25083,
202,
759,
26535,
554,
603,
326,
760,
2176,
16,
471,
1089,
6862,
202,
22043,
12,
2722,
6667,
3826,
950,
4047,
13,
288,
6862,
6862,
9506,
202,
759,
968,
326,
783,
813,
25083,
202,
3338,
273,
2332,
18,
2972,
28512,
5621,
6862,
6862,
9506,
202,
759,
2315,
813,
309,
4573,
358,
4543,
1694,
295,
3428,
25083,
202,
430,
12,
20379,
3024,
6667,
3826,
950,
411,
261,
3338,
300,
1131,
6667,
6763,
3719,
6862,
1082,
202,
20379,
3024,
6667,
3826,
950,
273,
2037,
300,
1131,
6667,
6763,
31,
6862,
6862,
9506,
202,
759,
5838,
3180,
326,
1024,
1366,
2742,
25083,
202,
5748,
394,
29601,
3024,
6667,
3826,
950,
273,
6862,
1082,
202,
20379,
3024,
6667,
3826,
950,
397,
1131,
6667,
6763,
31,
6862,
6862,
9506,
202,
5748,
20674,
3826,
950,
273,
787,
13279,
950,
397,
4624,
31,
6862,
6862,
9506,
202,
430,
12,
2091,
17452,
3826,
950,
405,
394,
29601,
3024,
6667,
3826,
950,
13,
288,
6862,
1082,
202,
759,
7615,
1404,
1219,
75,
731,
1308,
1366,
414,
5,
6862,
1082,
202,
15991,
3826,
273,
629,
31,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
1152,
1250,
4624,
12,
5748,
787,
13279,
950,
13,
288,
6862,
9506,
202,
759,
968,
326,
783,
1554,
17,
11482,
4624,
9506,
202,
5748,
4624,
273,
18304,
18,
588,
6763,
5621,
6862,
9506,
202,
17523,
12,
3767,
13,
288,
6862,
25083,
202,
5748,
2037,
273,
2332,
18,
2972,
28512,
5621,
6862,
25083,
202,
5748,
13859,
273,
300,
21,
31,
6862,
25083,
202,
6494,
1508,
3826,
273,
638,
31,
6862,
25083,
202,
759,
26535,
554,
603,
326,
760,
2176,
16,
471,
1089,
6862,
202,
22043,
12,
2722,
6667,
3826,
950,
4047,
13,
288,
6862,
6862,
9506,
202,
759,
968,
326,
783,
813,
25083,
202,
3338,
273,
2332,
18,
2972,
28512,
5621,
6862,
6862,
9506,
202,
759,
2315,
813,
2
] |
accessLogger.logService(AccessStatusType.SUCCESSFUL_GET_PROXY_TICKET, servicePrincipal, ticketGrantingTicket, proxyTicketId);
|
accessLogger.logService(AccessStatusType.SUCCESSFUL_GET_PROXY_TICKET, servicePrincipal, ticketGrantingTicket, proxyTicketId);
|
public static String getProxyTicket(final String ticketGrantingTicket, final String proxyServicePrincipal, final String servicePrincipal) throws AuthorizationException, IllegalInputException, InoperableStateException, UnknownTicketException { /* Check controller state */ if (!ready) { throw new InoperableStateException(NOT_READY); } /* Validate arguments */ if (ticketGrantingTicket == null || ticketGrantingTicket.equals("")) { throw new IllegalInputException("'ticketGrantingTicket' must be a non-empty string."); } if (proxyServicePrincipal == null || proxyServicePrincipal.equals("")) { throw new IllegalInputException("'proxyServicePrincipal' must be a non-empty string."); } if (servicePrincipal == null || servicePrincipal.equals("")) { throw new IllegalInputException("'servicePrincipal' must be a non-empty string."); } /* Authorize creation of proxy ticket */ authorizationCheck(servicePrincipal, new String[]{}, PROXY_AUTH_OPER); try { if (!authzManager.getSubsystems(servicePrincipal).contains(proxyServicePrincipal)) { accessLogger.logService(AccessStatusType.PROXY_TICKET_GENERATION_DENIED_UNAUTHORIZED, servicePrincipal, ticketGrantingTicket, null); throw new AuthorizationException("Request for proxy ticket denied."); } } catch (UnknownServicePrincipalException e) { accessLogger.logService(AccessStatusType.PROXY_TICKET_GENERATION_DENIED_INVALID_PRINCIPAL, servicePrincipal, ticketGrantingTicket, null); messageLogger.logInfo("UnknownServicePrincipalException caught", e); throw new AuthorizationException("Unknown service principal: " + servicePrincipal); } /* Return proxyTicket */ final String proxyTicketId; try { proxyTicketId = store.createProxyTicket(ticketGrantingTicket, servicePrincipal, proxyServicePrincipal); } catch (InvalidTicketException e) { accessLogger.logService(AccessStatusType.INVALID_TGT, servicePrincipal, ticketGrantingTicket, null); messageLogger.logWarn(CAUGHT_INVALID_TICKET, e); throw new UnknownTicketException(NONEXISTENT_TICKET); } catch (NonExistentTicketException e) { accessLogger.logService(AccessStatusType.NONEXISTENT_TGT, servicePrincipal, ticketGrantingTicket, null); messageLogger.logInfo(CAUGHT_NONEXISTENT_TICKET, e); throw new UnknownTicketException(NONEXISTENT_TICKET); } catch (MoriaStoreException e) { messageLogger.logCritical(CAUGHT_STORE, e); throw new InoperableStateException(STORE_DOWN); } accessLogger.logService(AccessStatusType.SUCCESSFUL_GET_PROXY_TICKET, servicePrincipal, ticketGrantingTicket, proxyTicketId); return proxyTicketId; }
|
1637 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1637/eaf64b8eda79a005e6c05d482fef1a43fceccb37/MoriaController.java/buggy/moria2/modules/moria-ctrl/src/java/no/feide/moria/controller/MoriaController.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
18992,
13614,
12,
6385,
514,
9322,
9021,
310,
13614,
16,
727,
514,
2889,
1179,
9155,
16,
4766,
3639,
727,
514,
1156,
9155,
13,
5411,
1216,
10234,
503,
16,
2141,
20518,
16,
657,
4063,
429,
5060,
16,
9077,
13614,
503,
288,
3639,
1748,
2073,
2596,
919,
1195,
3639,
309,
16051,
1672,
13,
288,
5411,
604,
394,
657,
4063,
429,
5060,
12,
4400,
67,
20305,
1769,
3639,
289,
3639,
1748,
3554,
1775,
1195,
3639,
309,
261,
16282,
9021,
310,
13614,
422,
446,
747,
9322,
9021,
310,
13614,
18,
14963,
2932,
6,
3719,
288,
5411,
604,
394,
2141,
20518,
29823,
16282,
9021,
310,
13614,
11,
1297,
506,
279,
1661,
17,
5531,
533,
1199,
1769,
3639,
289,
3639,
309,
261,
5656,
1179,
9155,
422,
446,
747,
2889,
1179,
9155,
18,
14963,
2932,
6,
3719,
288,
5411,
604,
394,
2141,
20518,
29823,
5656,
1179,
9155,
11,
1297,
506,
279,
1661,
17,
5531,
533,
1199,
1769,
3639,
289,
3639,
309,
261,
3278,
9155,
422,
446,
747,
1156,
9155,
18,
14963,
2932,
6,
3719,
288,
5411,
604,
394,
2141,
20518,
29823,
3278,
9155,
11,
1297,
506,
279,
1661,
17,
5531,
533,
1199,
1769,
3639,
289,
3639,
1748,
23859,
6710,
434,
2889,
9322,
1195,
3639,
6093,
1564,
12,
3278,
9155,
16,
394,
514,
8526,
2916,
16,
26910,
67,
7131,
67,
13950,
1769,
3639,
775,
288,
5411,
309,
16051,
1944,
94,
1318,
18,
588,
28150,
87,
12,
3278,
9155,
2934,
12298,
12,
5656,
1179,
9155,
3719,
288,
7734,
2006,
3328,
18,
1330,
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,
514,
18992,
13614,
12,
6385,
514,
9322,
9021,
310,
13614,
16,
727,
514,
2889,
1179,
9155,
16,
4766,
3639,
727,
514,
1156,
9155,
13,
5411,
1216,
10234,
503,
16,
2141,
20518,
16,
657,
4063,
429,
5060,
16,
9077,
13614,
503,
288,
3639,
1748,
2073,
2596,
919,
1195,
3639,
309,
16051,
1672,
13,
288,
5411,
604,
394,
657,
4063,
429,
5060,
12,
4400,
67,
20305,
1769,
3639,
289,
3639,
1748,
3554,
1775,
1195,
3639,
309,
261,
16282,
9021,
310,
13614,
422,
446,
747,
9322,
9021,
310,
13614,
18,
14963,
2932,
6,
3719,
288,
5411,
604,
394,
2141,
20518,
29823,
16282,
9021,
310,
13614,
11,
1297,
506,
279,
1661,
17,
5531,
533,
1199,
1769,
3639,
289,
3639,
309,
2
] |
return 0;
|
return 0;
|
public static final int getHeaderSize() throws InlinePragma {return 0; }
|
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/fcd75edc79dd2d11a22c8bdd22f8fcd19eb62a3c/TraceInterface.java/buggy/MMTk/src/org/mmtk/vm/TraceInterface.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
727,
509,
7911,
1225,
1435,
1216,
16355,
2050,
9454,
288,
2463,
374,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
727,
509,
7911,
1225,
1435,
1216,
16355,
2050,
9454,
288,
2463,
374,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
"http:
|
"http:
|
public void testGetFilteredPolledNodes() throws Exception { Iterator nodeIt = nodeManager.getFilteredPolledNodes(mau.getAUCachedUrlSet(), PollState.RUNNING + PollState.WON); assertTrue(!nodeIt.hasNext()); CachedUrlSet cus = getCUS("http://www.example.com/branch1"); NodeState node = nodeManager.getNodeState(cus); ((NodeStateImpl)node).addPollState(new PollState(Poll.CONTENT_POLL, "", PollState.RUNNING, 123, null)); cus = getCUS("http://www.example.com/branch2/file1.doc"); node = nodeManager.getNodeState(cus); ((NodeStateImpl)node).addPollState(new PollState(Poll.NAME_POLL, "", PollState.WON, 123, null)); nodeIt = nodeManager.getFilteredPolledNodes(mau.getAUCachedUrlSet(), PollState.RUNNING + PollState.WON); ArrayList nodeL = new ArrayList(2); while (nodeIt.hasNext()) { node = (NodeState)nodeIt.next(); nodeL.add(node.getCachedUrlSet().getPrimaryUrl()); } String[] expectedA = new String[] { "http://www.example.com/branch1", "http://www.example.com/branch2/file1.doc" }; assertIsomorphic(expectedA, nodeL); nodeIt = nodeManager.getFilteredPolledNodes(mau.getAUCachedUrlSet(), PollState.RUNNING); nodeL = new ArrayList(1); while (nodeIt.hasNext()) { node = (NodeState)nodeIt.next(); nodeL.add(node.getCachedUrlSet().getPrimaryUrl()); } expectedA = new String[] { "http://www.example.com/branch1" }; assertIsomorphic(expectedA, nodeL); }
|
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/804a9886e6b9ddef3548eda18fe4bd85f6819092/TestNodeManagerImpl.java/buggy/test/src/org/lockss/state/TestNodeManagerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
967,
14478,
5850,
1259,
3205,
1435,
1216,
1185,
288,
565,
4498,
756,
7193,
273,
756,
1318,
18,
588,
14478,
5850,
1259,
3205,
12,
2540,
89,
18,
588,
14237,
9839,
1489,
694,
9334,
3639,
19160,
1119,
18,
29358,
397,
19160,
1119,
18,
59,
673,
1769,
565,
1815,
5510,
12,
5,
2159,
7193,
18,
5332,
2134,
10663,
565,
15771,
1489,
694,
27964,
273,
1927,
3378,
2932,
2505,
2207,
5591,
18,
8236,
18,
832,
19,
7500,
21,
8863,
565,
2029,
1119,
756,
273,
756,
1318,
18,
588,
907,
1119,
12,
71,
407,
1769,
565,
14015,
907,
1119,
2828,
13,
2159,
2934,
1289,
19085,
1119,
12,
2704,
19160,
1119,
12,
19085,
18,
9689,
67,
14232,
48,
16,
23453,
3639,
19160,
1119,
18,
29358,
16,
17335,
16,
446,
10019,
565,
27964,
273,
1927,
3378,
2932,
2505,
2207,
5591,
18,
8236,
18,
832,
19,
7500,
22,
19,
768,
21,
18,
2434,
8863,
565,
756,
273,
756,
1318,
18,
588,
907,
1119,
12,
71,
407,
1769,
565,
14015,
907,
1119,
2828,
13,
2159,
2934,
1289,
19085,
1119,
12,
2704,
19160,
1119,
12,
19085,
18,
1985,
67,
14232,
48,
16,
23453,
3639,
19160,
1119,
18,
59,
673,
16,
17335,
16,
446,
10019,
565,
756,
7193,
273,
756,
1318,
18,
588,
14478,
5850,
1259,
3205,
12,
2540,
89,
18,
588,
14237,
9839,
1489,
694,
9334,
3639,
19160,
1119,
18,
29358,
397,
19160,
1119,
18,
59,
673,
1769,
565,
2407,
756,
48,
273,
394,
2407,
12,
22,
1769,
565,
1323,
261,
2159,
7193,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
967,
14478,
5850,
1259,
3205,
1435,
1216,
1185,
288,
565,
4498,
756,
7193,
273,
756,
1318,
18,
588,
14478,
5850,
1259,
3205,
12,
2540,
89,
18,
588,
14237,
9839,
1489,
694,
9334,
3639,
19160,
1119,
18,
29358,
397,
19160,
1119,
18,
59,
673,
1769,
565,
1815,
5510,
12,
5,
2159,
7193,
18,
5332,
2134,
10663,
565,
15771,
1489,
694,
27964,
273,
1927,
3378,
2932,
2505,
2207,
5591,
18,
8236,
18,
832,
19,
7500,
21,
8863,
565,
2029,
1119,
756,
273,
756,
1318,
18,
588,
907,
1119,
12,
71,
407,
1769,
565,
14015,
907,
1119,
2828,
13,
2159,
2934,
1289,
19085,
1119,
12,
2704,
19160,
1119,
12,
19085,
18,
9689,
67,
14232,
48,
16,
23453,
3639,
2
] |
startPersister();
|
public void maybeStart() throws IOException, InvalidConfigValueException { if (this.enabled) { if(enablePersistentDownloads) { loadPersistentRequests(); startPersister(); } Logger.normal(this, "Starting FCP server on "+bindTo+":"+port+"."); System.out.println("Starting FCP server on "+bindTo+":"+port+"."); NetworkInterface tempNetworkInterface = null; try { tempNetworkInterface = new NetworkInterface(port, bindTo, allowedHosts); } catch (BindException be) { Logger.error(this, "Couldn't bind to FCP Port "+bindTo+":"+port+". FCP Server not started."); System.out.println("Couldn't bind to FCP Port "+bindTo+":"+port+". FCP Server not started."); } this.networkInterface = tempNetworkInterface; if (this.networkInterface != null) { Thread t = new Thread(this, "FCP server"); t.setDaemon(true); t.start(); } } else { Logger.normal(this, "Not starting FCP server as it's disabled"); System.out.println("Not starting FCP server as it's disabled"); this.networkInterface = null; } }
|
51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/536c284f73ae3e7cdd8f17af72670c1a036ba8b4/FCPServer.java/clean/src/freenet/node/fcp/FCPServer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
6944,
1685,
1435,
1216,
1860,
16,
1962,
809,
9738,
288,
202,
202,
430,
261,
2211,
18,
5745,
13,
288,
25083,
202,
430,
12,
7589,
11906,
22141,
13,
288,
9506,
202,
945,
11906,
6421,
5621,
9506,
202,
1937,
19680,
5621,
1082,
202,
97,
25083,
202,
3328,
18,
6130,
12,
2211,
16,
315,
11715,
478,
4258,
1438,
603,
13773,
4376,
774,
9078,
2773,
15,
655,
9078,
1199,
1769,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
11715,
478,
4258,
1438,
603,
13773,
4376,
774,
9078,
2773,
15,
655,
9078,
1199,
1769,
1082,
202,
27413,
1906,
27413,
273,
446,
31,
1082,
202,
698,
288,
9506,
202,
5814,
27413,
273,
394,
21109,
12,
655,
16,
1993,
774,
16,
2935,
12172,
1769,
1082,
202,
97,
1044,
261,
3357,
503,
506,
13,
288,
9506,
202,
3328,
18,
1636,
12,
2211,
16,
315,
16342,
1404,
1993,
358,
478,
4258,
6008,
13773,
4376,
774,
9078,
2773,
15,
655,
9078,
18,
478,
4258,
3224,
486,
5746,
1199,
1769,
9506,
202,
3163,
18,
659,
18,
8222,
2932,
16342,
1404,
1993,
358,
478,
4258,
6008,
13773,
4376,
774,
9078,
2773,
15,
655,
9078,
18,
478,
4258,
3224,
486,
5746,
1199,
1769,
1082,
202,
97,
25083,
202,
2211,
18,
5185,
1358,
273,
1906,
27413,
31,
25083,
202,
430,
261,
2211,
18,
5185,
1358,
480,
446,
13,
288,
9506,
202,
3830,
268,
273,
394,
4884,
12,
2211,
16,
315,
42,
4258,
1438,
8863,
9506,
202,
88,
18,
542,
12858,
12,
3767,
1769,
9506,
202,
88,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
6944,
1685,
1435,
1216,
1860,
16,
1962,
809,
9738,
288,
202,
202,
430,
261,
2211,
18,
5745,
13,
288,
25083,
202,
430,
12,
7589,
11906,
22141,
13,
288,
9506,
202,
945,
11906,
6421,
5621,
9506,
202,
1937,
19680,
5621,
1082,
202,
97,
25083,
202,
3328,
18,
6130,
12,
2211,
16,
315,
11715,
478,
4258,
1438,
603,
13773,
4376,
774,
9078,
2773,
15,
655,
9078,
1199,
1769,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
11715,
478,
4258,
1438,
603,
13773,
4376,
774,
9078,
2773,
15,
655,
9078,
1199,
1769,
1082,
202,
27413,
1906,
27413,
273,
446,
31,
1082,
202,
698,
288,
9506,
202,
5814,
27413,
273,
394,
21109,
12,
655,
16,
1993,
774,
16,
2935,
2
] |
|
Thread doSyncFolder = new CmsSyncFolderThread(cms, synchronizeResources, m_newProject);
|
Thread doSyncFolder = new CmsSyncFolderThread(cms, synchronizeResources, m_newProject, session);
|
public byte[] getContent(CmsObject cms, String templateFile, String elementName, Hashtable parameters, String templateSelector) throws CmsException { if(C_DEBUG && A_OpenCms.isLogging()) { A_OpenCms.log(C_OPENCMS_DEBUG, this.getClassName() + "getting content of element " + ((elementName == null) ? "<root>" : elementName)); A_OpenCms.log(C_OPENCMS_DEBUG, this.getClassName() + "template file is: " + templateFile); A_OpenCms.log(C_OPENCMS_DEBUG, this.getClassName() + "selected template section is: " + ((templateSelector == null) ? "<default>" : templateSelector)); } I_CmsSession session = cms.getRequestContext().getSession(true); CmsRequestContext reqCont = cms.getRequestContext(); //CmsXmlLanguageFile lang = new CmsXmlLanguageFile(cms); String action = new String(); action = (String)parameters.get("action"); CmsXmlTemplateFile xmlTemplateDocument = getOwnTemplateFile(cms, templateFile, elementName, parameters, templateSelector); // clear session values on first load String initial = (String)parameters.get(C_PARA_INITIAL); if(initial != null) { // remove all session values session.removeValue("lasturl"); action = "start"; } // create a vector with the resources to be synchronized Vector synchronizeResources = parseResources(cms.getRegistry().getSystemValues(C_SYNCHRONISATION_RESOURCE)); // first we look if the thread is already running if((action != null) && ("working".equals(action))) { // still working? Thread doProjectNew = (Thread)session.getValue(C_SYNCFOLDER_THREAD); if(doProjectNew.isAlive()) { String time = (String)parameters.get("time"); int wert = Integer.parseInt(time); wert += 5; xmlTemplateDocument.setData("time", "" + wert); return startProcessing(cms, xmlTemplateDocument, elementName, parameters, "wait"); } else { // thread has come to an end, was there an error? String errordetails = (String)session.getValue(C_SESSION_THREAD_ERROR); if(errordetails == null) { return startProcessing(cms, xmlTemplateDocument, elementName, parameters, "done"); } else { // get errorpage: xmlTemplateDocument.setData("details", errordetails); session.removeValue(C_SESSION_THREAD_ERROR); return startProcessing(cms, xmlTemplateDocument, elementName, parameters, "error"); } } } // is the wait-page showing? if("start".equals(action)) { // synchronize the resources try { // this is because the simpler 'getParameterValues' method doesn't work with Silverstream int numRes = synchronizeResources.size(); checkRedundancies(synchronizeResources); numRes = synchronizeResources.size(); // could have been changed Vector notWriteable = new Vector(); for(int i = numRes - 1;i >= 0;i--) { String theFolder = (String)synchronizeResources.elementAt(i); // if a new project was created for synchronisation, copy the resource to the project // this is now done in the thread //if (m_newProject){ // cms.copyResourceToProject(theFolder); //} if(!checkWriteable(cms, theFolder)) { notWriteable.addElement(theFolder); templateSelector = "error"; } } if(!"error".equals(templateSelector)) { // set the currentProject to the synchronizeProject Vector allProjects = cms.getAllAccessibleProjects(); int count = 0; CmsProject cmsProject = null; int projectId = cms.getRequestContext().currentProject().getId(); String projectName = cms.getRegistry().getSystemValue(C_SYNCHRONISATION_PROJECT); for( int i = 0; i < allProjects.size(); i++ ) { cmsProject = (CmsProject)allProjects.elementAt(i); if (cmsProject.getName().equals(projectName)){ projectId = cmsProject.getId(); count++; } } if (count == 1){ // only one syncproject was found, so set this project reqCont.setCurrentProject(projectId); m_newProject = false; } else if (count == 0){ // there is no syncproject, so create a new one and set this as the current project // the necessary resources will be copied later to this project reqCont.setCurrentProject(cms.createProject(projectName, "Project for synchronisation", "Users", "Projectmanager").getId()); m_newProject = true; } else { // there are too many projects with the name of the syncproject, so return an error xmlTemplateDocument.setData("details", "Too many projects for synchronisation."); return startProcessing(cms, xmlTemplateDocument, elementName, parameters, "error"); } // start the thread for: synchronize the resources // first clear the session entry if necessary if(session.getValue(C_SESSION_THREAD_ERROR) != null) { session.removeValue(C_SESSION_THREAD_ERROR); } Thread doSyncFolder = new CmsSyncFolderThread(cms, synchronizeResources, m_newProject); doSyncFolder.start(); session.putValue(C_SYNCFOLDER_THREAD, doSyncFolder); xmlTemplateDocument.setData("time", "5"); templateSelector = "wait"; } else { // at least one of the choosen folders was not writeable -> don't synchronize. xmlTemplateDocument.setData("details", "The following folders were not writeable:" + notWriteable.toString()); } } catch(Exception exc) { xmlTemplateDocument.setData("details", Utils.getStackTrace(exc)); templateSelector = "error"; } } // Now load the template file and start the processing return startProcessing(cms, xmlTemplateDocument, elementName, parameters, templateSelector); }
|
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/d2f589c32828861a6a82eed378db4ca7381ae0b3/CmsSyncFolder.java/clean/src/com/opencms/workplace/CmsSyncFolder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1160,
8526,
5154,
12,
4747,
921,
6166,
16,
514,
28215,
16,
514,
14453,
16,
1082,
202,
5582,
14544,
1472,
16,
514,
1542,
4320,
13,
1216,
11228,
288,
202,
202,
430,
12,
39,
67,
9394,
597,
432,
67,
3678,
4747,
18,
291,
7735,
10756,
288,
1082,
202,
37,
67,
3678,
4747,
18,
1330,
12,
39,
67,
11437,
13802,
67,
9394,
16,
333,
18,
588,
3834,
1435,
6862,
202,
15,
315,
588,
1787,
913,
434,
930,
315,
397,
14015,
2956,
461,
422,
446,
13,
692,
3532,
3085,
2984,
294,
14453,
10019,
1082,
202,
37,
67,
3678,
4747,
18,
1330,
12,
39,
67,
11437,
13802,
67,
9394,
16,
333,
18,
588,
3834,
1435,
397,
315,
3202,
585,
353,
30,
315,
6862,
202,
15,
28215,
1769,
1082,
202,
37,
67,
3678,
4747,
18,
1330,
12,
39,
67,
11437,
13802,
67,
9394,
16,
333,
18,
588,
3834,
1435,
397,
315,
8109,
1542,
2442,
353,
30,
315,
6862,
202,
15,
14015,
3202,
4320,
422,
446,
13,
692,
3532,
1886,
2984,
294,
1542,
4320,
10019,
202,
202,
97,
202,
202,
45,
67,
4747,
2157,
1339,
273,
6166,
18,
588,
21426,
7675,
588,
2157,
12,
3767,
1769,
202,
202,
4747,
21426,
1111,
660,
273,
6166,
18,
588,
21426,
5621,
202,
202,
759,
4747,
4432,
3779,
812,
3303,
273,
394,
16084,
3779,
812,
12,
6851,
1769,
202,
202,
780,
1301,
273,
394,
514,
5621,
202,
202,
1128,
273,
261,
780,
13,
3977,
18,
588,
2932,
1128,
8863,
202,
202,
4747,
4432,
2283,
812,
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,
1160,
8526,
5154,
12,
4747,
921,
6166,
16,
514,
28215,
16,
514,
14453,
16,
1082,
202,
5582,
14544,
1472,
16,
514,
1542,
4320,
13,
1216,
11228,
288,
202,
202,
430,
12,
39,
67,
9394,
597,
432,
67,
3678,
4747,
18,
291,
7735,
10756,
288,
1082,
202,
37,
67,
3678,
4747,
18,
1330,
12,
39,
67,
11437,
13802,
67,
9394,
16,
333,
18,
588,
3834,
1435,
6862,
202,
15,
315,
588,
1787,
913,
434,
930,
315,
397,
14015,
2956,
461,
422,
446,
13,
692,
3532,
3085,
2984,
294,
14453,
10019,
1082,
202,
37,
67,
3678,
4747,
18,
1330,
12,
39,
67,
11437,
13802,
67,
9394,
16,
333,
18,
588,
3834,
1435,
397,
315,
3202,
585,
353,
30,
2
] |
try { return getSession().save(object); } catch(HibernateException ex) { invalidateSession(); throw ex; } }
|
try { return getDelegatedSession().save(object); } catch (HibernateException ex) { throw handleException(ex); } catch (RuntimeException ex) { throw handleException(ex); } }
|
public Serializable save(Object object) throws HibernateException { try { return getSession().save(object); } catch(HibernateException ex) { invalidateSession(); throw ex; } }
|
9344 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9344/cfa1414127b7a9b2e82c8e522e6166c1f1472f81/SessionDelegator.java/buggy/java/nanocontainer-persistence/trunk/persistence/src/java/org/nanocontainer/persistence/hibernate/classic/SessionDelegator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13687,
1923,
12,
921,
733,
13,
1216,
670,
24360,
503,
288,
3639,
775,
288,
5411,
327,
7183,
7675,
5688,
12,
1612,
1769,
3639,
289,
1044,
12,
44,
24360,
503,
431,
13,
288,
5411,
11587,
2157,
5621,
5411,
604,
431,
31,
3639,
289,
2868,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13687,
1923,
12,
921,
733,
13,
1216,
670,
24360,
503,
288,
3639,
775,
288,
5411,
327,
7183,
7675,
5688,
12,
1612,
1769,
3639,
289,
1044,
12,
44,
24360,
503,
431,
13,
288,
5411,
11587,
2157,
5621,
5411,
604,
431,
31,
3639,
289,
2868,
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
] |
putLoad(param_count, paramtypes[j]); if (paramtypes[j].isPrimitive()) {
|
putLoad(param_count, paramtypes[j]); if (paramtypes[j].isPrimitive()) {
|
private void emitMethod(int i, Class[] e) { // First, we precalculate the method length and other information. Method m = methods[i]; Class[] paramtypes = m.getParameterTypes(); int wrap_overhead = 0; // max words taken by wrapped primitive int param_count = 1; // 1 for this int code_length = 16; // aload_0, getfield, aload_0, getstatic, const, // aaload, const/aconst_null, invokeinterface if (i > 5) { if (i > Byte.MAX_VALUE) code_length += 2; // sipush else code_length++; // bipush } if (paramtypes.length > 0) { code_length += 3; // anewarray if (paramtypes.length > Byte.MAX_VALUE) code_length += 2; // sipush else if (paramtypes.length > 5) code_length++; // bipush for (int j = 0; j < paramtypes.length; j++) { code_length += 4; // dup, const, load, store Class type = paramtypes[j]; if (j > 5) { if (j > Byte.MAX_VALUE) code_length += 2; // sipush else code_length++; // bipush } if (param_count >= 4) code_length++; // 2-byte load param_count++; if (type.isPrimitive()) { code_length += 7; // new, dup, invokespecial if (type == long.class || type == double.class) { wrap_overhead = 3; param_count++; } else if (wrap_overhead < 2) wrap_overhead = 2; } } } int end_pc = code_length; Class ret_type = m.getReturnType(); if (ret_type == void.class) code_length++; // return else if (ret_type.isPrimitive()) code_length += 7; // cast, invokevirtual, return else code_length += 4; // cast, return int exception_count = 0; boolean throws_throwable = false; for (int j = 0; j < e.length; j++) if (e[j] == Throwable.class) { throws_throwable = true; break; } if (! throws_throwable) { exception_count = e.length + 3; // Throwable, Error, RuntimeException code_length += 9; // new, dup_x1, swap, invokespecial, athrow } int handler_pc = code_length - 1; StringBuffer signature = new StringBuffer("("); for (int j = 0; j < paramtypes.length; j++) signature.append(TypeSignature.getEncodingOfClass(paramtypes[j])); signature.append(")").append(TypeSignature.getEncodingOfClass(ret_type)); // Now we have enough information to emit the method. // handler.access_flags putU2(Modifier.PUBLIC | Modifier.FINAL); // handler.name_index putU2(utf8Info(m.getName())); // handler.descriptor_index putU2(utf8Info(signature.toString())); // handler.attributes_count - Code is necessary, Exceptions possible putU2(e.length > 0 ? 2 : 1); // handler.Code.info: // type name(args) { // try { // return (type) h.invoke(this, methods[i], new Object[] {args}); // } catch (<declared Exceptions> e) { // throw e; // } catch (Throwable t) { // throw new UndeclaredThrowableException(t); // } // } // Special cases: // if arg_n is primitive, wrap it // if method throws Throwable, try-catch is not needed // if method returns void, return statement not needed // if method returns primitive, unwrap it // save space by sharing code for all the declared handlers // handler.Code.attribute_name_index putU2(utf8Info("Code")); // handler.Code.attribute_length putU4(12 + code_length + 8 * exception_count); // handler.Code.max_stack putU2(param_count == 1 ? 4 : 7 + wrap_overhead); // handler.Code.max_locals putU2(param_count); // handler.Code.code_length putU4(code_length); // handler.Code.code[] putU1(ALOAD_0); putU1(GETFIELD); putU2(refInfo(FIELD, "java/lang/reflect/Proxy", "h", "Ljava/lang/reflect/InvocationHandler;")); putU1(ALOAD_0); putU1(GETSTATIC); putU2(refInfo(FIELD, TypeSignature.getEncodingOfClass(qualName, false), "m", "[Ljava/lang/reflect/Method;")); putConst(i); putU1(AALOAD); if (paramtypes.length > 0) { putConst(paramtypes.length); putU1(ANEWARRAY); putU2(classInfo("java/lang/Object")); param_count = 1; for (int j = 0; j < paramtypes.length; j++, param_count++) { putU1(DUP); putConst(j); if (paramtypes[j].isPrimitive()) { putU1(NEW); putU2(classInfo(wrapper(paramtypes[j]))); putU1(DUP); } putLoad(param_count, paramtypes[j]); if (paramtypes[j].isPrimitive()) { putU1(INVOKESPECIAL); putU2(refInfo(METHOD, wrapper(paramtypes[j]), "<init>", '(' + (TypeSignature .getEncodingOfClass(paramtypes[j]) + ")V"))); if (paramtypes[j] == long.class || paramtypes[j] == double.class) param_count++; } putU1(AASTORE); } } else putU1(ACONST_NULL); putU1(INVOKEINTERFACE); putU2(refInfo(INTERFACE, "java/lang/reflect/InvocationHandler", "invoke", INVOKE_SIG)); putU1(4); // InvocationHandler, this, Method, Object[] putU1(0); if (ret_type == void.class) putU1(RETURN); else if (ret_type.isPrimitive()) { putU1(CHECKCAST); putU2(classInfo(wrapper(ret_type))); putU1(INVOKEVIRTUAL); putU2(refInfo(METHOD, wrapper(ret_type), ret_type.getName() + "Value", "()" + TypeSignature.getEncodingOfClass(ret_type))); if (ret_type == long.class) putU1(LRETURN); else if (ret_type == float.class) putU1(FRETURN); else if (ret_type == double.class) putU1(DRETURN); else putU1(IRETURN); } else { putU1(CHECKCAST); putU2(classInfo(ret_type)); putU1(ARETURN); } if (! throws_throwable) { putU1(NEW); putU2(classInfo("java/lang/reflect/UndeclaredThrowableException")); putU1(DUP_X1); putU1(SWAP); putU1(INVOKESPECIAL); putU2(refInfo(METHOD, "java/lang/reflect/UndeclaredThrowableException", "<init>", "(Ljava/lang/Throwable;)V")); putU1(ATHROW); } // handler.Code.exception_table_length putU2(exception_count); // handler.Code.exception_table[] if (! throws_throwable) { // handler.Code.exception_table.start_pc putU2(0); // handler.Code.exception_table.end_pc putU2(end_pc); // handler.Code.exception_table.handler_pc putU2(handler_pc); // handler.Code.exception_table.catch_type putU2(classInfo("java/lang/Error")); // handler.Code.exception_table.start_pc putU2(0); // handler.Code.exception_table.end_pc putU2(end_pc); // handler.Code.exception_table.handler_pc putU2(handler_pc); // handler.Code.exception_table.catch_type putU2(classInfo("java/lang/RuntimeException")); for (int j = 0; j < e.length; j++) { // handler.Code.exception_table.start_pc putU2(0); // handler.Code.exception_table.end_pc putU2(end_pc); // handler.Code.exception_table.handler_pc putU2(handler_pc); // handler.Code.exception_table.catch_type putU2(classInfo(e[j])); } // handler.Code.exception_table.start_pc putU2(0); // handler.Code.exception_table.end_pc putU2(end_pc); // handler.Code.exception_table.handler_pc - // -8 for undeclared handler, which falls thru to normal one putU2(handler_pc - 8); // handler.Code.exception_table.catch_type putU2(0); } // handler.Code.attributes_count putU2(0); // handler.Code.attributes[] if (e.length > 0) { // handler.Exceptions.attribute_name_index putU2(utf8Info("Exceptions")); // handler.Exceptions.attribute_length putU4(2 * e.length + 2); // handler.Exceptions.number_of_exceptions putU2(e.length); // handler.Exceptions.exception_index_table[] for (int j = 0; j < e.length; j++) putU2(classInfo(e[j])); } }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/Proxy.java/buggy/core/src/classpath/java/java/lang/reflect/Proxy.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3626,
1305,
12,
474,
277,
16,
1659,
8526,
425,
13,
565,
288,
5411,
368,
5783,
16,
732,
675,
11162,
326,
707,
769,
471,
1308,
1779,
18,
1377,
2985,
312,
273,
2590,
63,
77,
15533,
5411,
1659,
8526,
579,
2352,
273,
312,
18,
588,
1662,
2016,
5621,
5411,
509,
2193,
67,
1643,
1978,
273,
374,
31,
368,
943,
4511,
9830,
635,
5805,
8225,
5411,
509,
579,
67,
1883,
273,
404,
31,
368,
404,
364,
333,
1377,
509,
981,
67,
2469,
273,
2872,
31,
368,
279,
945,
67,
20,
16,
336,
1518,
16,
279,
945,
67,
20,
16,
336,
3845,
16,
1866,
16,
5411,
368,
279,
287,
6189,
16,
1866,
19,
69,
10248,
67,
2011,
16,
4356,
5831,
1377,
309,
261,
77,
405,
1381,
13,
3639,
288,
7734,
309,
261,
77,
405,
3506,
18,
6694,
67,
4051,
13,
10792,
981,
67,
2469,
1011,
576,
31,
368,
10341,
1218,
7734,
469,
10792,
981,
67,
2469,
9904,
31,
368,
324,
625,
1218,
5411,
289,
1377,
309,
261,
891,
2352,
18,
2469,
405,
374,
13,
3639,
288,
7734,
981,
67,
2469,
1011,
890,
31,
368,
392,
359,
1126,
7734,
309,
261,
891,
2352,
18,
2469,
405,
3506,
18,
6694,
67,
4051,
13,
10792,
981,
67,
2469,
1011,
576,
31,
368,
10341,
1218,
1850,
469,
309,
261,
891,
2352,
18,
2469,
405,
1381,
13,
5411,
981,
67,
2469,
9904,
31,
368,
324,
625,
1218,
1850,
364,
261,
474,
525,
273,
374,
31,
525,
411,
579,
2352,
18,
2469,
31,
525,
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,
3626,
1305,
12,
474,
277,
16,
1659,
8526,
425,
13,
565,
288,
5411,
368,
5783,
16,
732,
675,
11162,
326,
707,
769,
471,
1308,
1779,
18,
1377,
2985,
312,
273,
2590,
63,
77,
15533,
5411,
1659,
8526,
579,
2352,
273,
312,
18,
588,
1662,
2016,
5621,
5411,
509,
2193,
67,
1643,
1978,
273,
374,
31,
368,
943,
4511,
9830,
635,
5805,
8225,
5411,
509,
579,
67,
1883,
273,
404,
31,
368,
404,
364,
333,
1377,
509,
981,
67,
2469,
273,
2872,
31,
368,
279,
945,
67,
20,
16,
336,
1518,
16,
279,
945,
67,
20,
16,
336,
3845,
16,
1866,
16,
5411,
368,
279,
287,
6189,
16,
1866,
19,
69,
10248,
67,
2011,
16,
4356,
5831,
2
] |
setLabelLayoutData( label, width );
|
setLabelLayoutData( label );
|
private void createLabel( Composite parent, String content, int width ) { Label label = new Label( parent, SWT.NONE ); if ( content != null ) { label.setText( content ); } setLabelLayoutData( label, width ); }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/31a80f48beb9d599facbdada555a36a918b898f1/ParameterDialog.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
2224,
12,
14728,
982,
16,
514,
913,
16,
509,
1835,
262,
202,
95,
202,
202,
2224,
1433,
273,
394,
5287,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
430,
261,
913,
480,
446,
262,
202,
202,
95,
1082,
202,
1925,
18,
542,
1528,
12,
913,
11272,
202,
202,
97,
202,
202,
542,
2224,
3744,
751,
12,
1433,
16,
1835,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
2224,
12,
14728,
982,
16,
514,
913,
16,
509,
1835,
262,
202,
95,
202,
202,
2224,
1433,
273,
394,
5287,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
430,
261,
913,
480,
446,
262,
202,
202,
95,
1082,
202,
1925,
18,
542,
1528,
12,
913,
11272,
202,
202,
97,
202,
202,
542,
2224,
3744,
751,
12,
1433,
16,
1835,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (howMuch >= HIERARCHY && status < HIERARCHY) { modifiers = Modifier.PUBLIC | 0x20;
|
if (howMuch >= HIERARCHY) {
|
public void guess(int howMuch) { if (howMuch >= OUTERCLASS && status < OUTERCLASS) { int dollar = name.lastIndexOf('$'); if (dollar == -1) { /* normal class */ } else if (Character.isDigit(name.charAt(dollar+1))) { /* anonymous class */ modifiers = Modifier.PUBLIC | 0x20; methodScoped = true; } else { modifiers = Modifier.PUBLIC | 0x20; className = name.substring(dollar+1); int prevDollar = name.lastIndexOf('$', dollar); if (prevDollar >= 0 && Character.isDigit(name.charAt(prevDollar))) { /* probably method scoped class, (or inner class * of anoymous class) */ methodScoped = true; outerClass = classpath.getClassInfo (name.substring(0, prevDollar)); } else { /* inner class */ modifiers = Modifier.PUBLIC | 0x20; outerClass = classpath.getClassInfo (name.substring(0, dollar)); } } } if (howMuch >= HIERARCHY && status < HIERARCHY) { modifiers = Modifier.PUBLIC | 0x20; if (name.equals("java.lang.Object")) superclass = null; else superclass = classpath.getClassInfo("java.lang.Object"); interfaces = new ClassInfo[0]; } if (howMuch >= PUBLICDECLARATIONS && status < PUBLICDECLARATIONS) { methods = new MethodInfo[0]; fields = new FieldInfo[0]; innerClasses = new ClassInfo[0]; } status = howMuch; }
|
5628 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5628/3b2648f2701255bc1c18283b0e4f29f3befd3216/ClassInfo.java/buggy/jode/jode/bytecode/ClassInfo.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7274,
12,
474,
3661,
49,
2648,
13,
377,
288,
202,
430,
261,
13606,
49,
2648,
1545,
28759,
5237,
597,
1267,
411,
28759,
5237,
13,
288,
202,
565,
509,
302,
25442,
273,
508,
18,
2722,
31985,
2668,
8,
8284,
202,
565,
309,
261,
72,
25442,
422,
300,
21,
13,
288,
202,
202,
20308,
2212,
667,
1195,
202,
565,
289,
469,
309,
261,
7069,
18,
291,
10907,
12,
529,
18,
3001,
861,
12,
72,
25442,
15,
21,
20349,
288,
202,
202,
20308,
13236,
667,
1195,
202,
202,
15432,
273,
12832,
18,
14939,
571,
374,
92,
3462,
31,
202,
202,
2039,
25470,
273,
638,
31,
202,
565,
289,
469,
288,
202,
202,
15432,
273,
12832,
18,
14939,
571,
374,
92,
3462,
31,
202,
202,
12434,
273,
508,
18,
28023,
12,
72,
25442,
15,
21,
1769,
202,
202,
474,
2807,
40,
25442,
273,
508,
18,
2722,
31985,
2668,
8,
2187,
302,
25442,
1769,
202,
202,
430,
261,
10001,
40,
25442,
1545,
374,
1082,
565,
597,
6577,
18,
291,
10907,
12,
529,
18,
3001,
861,
12,
10001,
40,
25442,
20349,
288,
1082,
565,
1748,
8656,
707,
12523,
667,
16,
261,
280,
3443,
667,
5397,
380,
434,
392,
83,
2942,
1481,
667,
13,
1195,
1082,
565,
707,
25470,
273,
638,
31,
1082,
565,
6390,
797,
273,
10006,
18,
588,
19455,
1082,
202,
12,
529,
18,
28023,
12,
20,
16,
2807,
40,
25442,
10019,
202,
202,
97,
469,
288,
1082,
565,
1748,
3443,
667,
1195,
1082,
565,
10429,
273,
12832,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7274,
12,
474,
3661,
49,
2648,
13,
377,
288,
202,
430,
261,
13606,
49,
2648,
1545,
28759,
5237,
597,
1267,
411,
28759,
5237,
13,
288,
202,
565,
509,
302,
25442,
273,
508,
18,
2722,
31985,
2668,
8,
8284,
202,
565,
309,
261,
72,
25442,
422,
300,
21,
13,
288,
202,
202,
20308,
2212,
667,
1195,
202,
565,
289,
469,
309,
261,
7069,
18,
291,
10907,
12,
529,
18,
3001,
861,
12,
72,
25442,
15,
21,
20349,
288,
202,
202,
20308,
13236,
667,
1195,
202,
202,
15432,
273,
12832,
18,
14939,
571,
374,
92,
3462,
31,
202,
202,
2039,
25470,
273,
638,
31,
202,
565,
289,
469,
288,
202,
202,
15432,
273,
12832,
18,
14939,
571,
374,
2
] |
aliasVal = aliasVal.substring(0, si).trim();
|
ifAlias = ifAlias.substring(0, si).trim();
|
String getAliasDir(String ifAliasComment) { String aliasVal = getNewIfAlias(); if (aliasVal != null) { if (ifAliasComment != null) { int si = aliasVal.indexOf(ifAliasComment); if (si > -1) { aliasVal = aliasVal.substring(0, si).trim(); } } if (aliasVal != null) { aliasVal = AlphaNumeric.parseAndReplaceExcept(aliasVal, SnmpCollector.nonAnRepl, SnmpCollector.AnReplEx); } } logAlias(); return aliasVal; }
|
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/2d9cfe471055b5ea9917af107a2609e6dc68491d/IfInfo.java/clean/opennms-services/src/main/java/org/opennms/netmgt/collectd/IfInfo.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
514,
13131,
1621,
12,
780,
309,
2936,
4469,
13,
288,
3639,
514,
2308,
3053,
273,
12654,
2047,
2936,
5621,
3639,
309,
261,
4930,
3053,
480,
446,
13,
288,
5411,
309,
261,
430,
2936,
4469,
480,
446,
13,
288,
540,
202,
202,
474,
7533,
273,
2308,
3053,
18,
31806,
12,
430,
2936,
4469,
1769,
540,
202,
202,
430,
261,
7722,
405,
300,
21,
13,
288,
540,
1082,
202,
430,
2936,
273,
309,
2936,
18,
28023,
12,
20,
16,
7533,
2934,
5290,
5621,
540,
202,
202,
97,
540,
202,
97,
540,
202,
430,
261,
4930,
3053,
480,
446,
13,
288,
540,
202,
202,
4930,
3053,
273,
24277,
9902,
18,
2670,
1876,
5729,
30212,
12,
4930,
3053,
16,
540,
9506,
202,
10461,
1291,
7134,
18,
5836,
979,
20043,
16,
18961,
1291,
7134,
18,
979,
20043,
424,
1769,
540,
202,
97,
3639,
289,
7734,
613,
2936,
5621,
5411,
327,
2308,
3053,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
514,
13131,
1621,
12,
780,
309,
2936,
4469,
13,
288,
3639,
514,
2308,
3053,
273,
12654,
2047,
2936,
5621,
3639,
309,
261,
4930,
3053,
480,
446,
13,
288,
5411,
309,
261,
430,
2936,
4469,
480,
446,
13,
288,
540,
202,
202,
474,
7533,
273,
2308,
3053,
18,
31806,
12,
430,
2936,
4469,
1769,
540,
202,
202,
430,
261,
7722,
405,
300,
21,
13,
288,
540,
1082,
202,
430,
2936,
273,
309,
2936,
18,
28023,
12,
20,
16,
7533,
2934,
5290,
5621,
540,
202,
202,
97,
540,
202,
97,
540,
202,
430,
261,
4930,
3053,
480,
446,
13,
288,
540,
202,
202,
4930,
3053,
273,
24277,
9902,
18,
2670,
1876,
5729,
30212,
12,
4930,
3053,
16,
540,
9506,
202,
2
] |
btnGridlines = createToggleButton( cmp, popup.getTitle( ), popup );
|
Button btnGridlines = createToggleButton( cmp, popup.getTitle( ), popup );
|
private void createButtonGroup( Composite parent ) { Composite cmp = new Composite( parent, SWT.NONE ); { cmp.setLayout( new GridLayout( 5, false ) ); GridData gridData = new GridData( GridData.FILL_HORIZONTAL ); gridData.horizontalSpan = 2; gridData.grabExcessVerticalSpace = true; gridData.verticalAlignment = SWT.END; cmp.setLayoutData( gridData ); } ITaskPopupSheet popup = new AxisScaleSheet( Messages.getString( "AxisYSheetImpl.Label.Scale" ), //$NON-NLS-1$ getContext( ), getAxisForProcessing( ) ); btnScale = createToggleButton( cmp, popup.getTitle( ), popup ); btnScale.addSelectionListener( this ); popup = new AxisTextSheet( Messages.getString( "AxisYSheetImpl.Label.TextFormat" ), //$NON-NLS-1$ getContext( ), getAxisForProcessing( ), getAxisAngleType( ) ); btnAxisTitle = createToggleButton( cmp, popup.getTitle( ), popup ); btnAxisTitle.addSelectionListener( this ); popup = new AxisGridLinesSheet( Messages.getString( "AxisYSheetImpl.Label.Gridlines" ), //$NON-NLS-1$ getContext( ), getAxisForProcessing( ), getAxisAngleType( ) ); btnGridlines = createToggleButton( cmp, popup.getTitle( ), popup ); btnGridlines.addSelectionListener( this ); // Marker is not supported for 3D popup = new AxisMarkersSheet( Messages.getString( "AxisYSheetImpl.Label.Markers" ), //$NON-NLS-1$ getContext( ), getAxisForProcessing( ) ); btnMarkers = createToggleButton( cmp, popup.getTitle( ), popup ); btnMarkers.addSelectionListener( this ); btnMarkers.setEnabled( !ChartUIUtil.is3DType( getChart( ) ) ); // Interactivity popup = new InteractivitySheet( Messages.getString( "SeriesYSheetImpl.Label.Interactivity" ), //$NON-NLS-1$ getContext( ), getAxisForProcessing( ).getTriggers( ), false, true ); btnInteractivity = createToggleButton( cmp, popup.getTitle( ), popup ); btnInteractivity.addSelectionListener( this ); btnInteractivity.setEnabled( getChart( ).getInteractivity( ).isEnable( ) ); }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/b7743b34e1d4aa062c44ee59a8b7377b982d9960/AbstractAxisSubtask.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/axis/AbstractAxisSubtask.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
3616,
1114,
12,
14728,
982,
262,
202,
95,
202,
202,
9400,
9411,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
95,
1082,
202,
9625,
18,
542,
3744,
12,
394,
7145,
3744,
12,
1381,
16,
629,
262,
11272,
1082,
202,
6313,
751,
3068,
751,
273,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
44,
20344,
11272,
1082,
202,
5222,
751,
18,
18396,
6952,
273,
576,
31,
1082,
202,
5222,
751,
18,
2752,
70,
424,
614,
15704,
3819,
273,
638,
31,
1082,
202,
5222,
751,
18,
17824,
11535,
273,
348,
8588,
18,
4415,
31,
1082,
202,
9625,
18,
542,
3744,
751,
12,
3068,
751,
11272,
202,
202,
97,
202,
202,
1285,
835,
13770,
8229,
10431,
273,
394,
15509,
5587,
8229,
12,
4838,
18,
588,
780,
12,
315,
6558,
61,
8229,
2828,
18,
2224,
18,
5587,
6,
262,
16,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
29120,
12,
262,
16,
9506,
202,
588,
6558,
1290,
7798,
12,
262,
11272,
202,
202,
11898,
5587,
273,
752,
17986,
3616,
12,
9411,
16,
10431,
18,
588,
4247,
12,
262,
16,
10431,
11272,
202,
202,
11898,
5587,
18,
1289,
6233,
2223,
12,
333,
11272,
202,
202,
16086,
273,
394,
15509,
1528,
8229,
12,
4838,
18,
588,
780,
12,
315,
6558,
61,
8229,
2828,
18,
2224,
18,
1528,
1630,
6,
262,
16,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
29120,
12,
262,
16,
9506,
202,
588,
6558,
1290,
7798,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
3616,
1114,
12,
14728,
982,
262,
202,
95,
202,
202,
9400,
9411,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
95,
1082,
202,
9625,
18,
542,
3744,
12,
394,
7145,
3744,
12,
1381,
16,
629,
262,
11272,
1082,
202,
6313,
751,
3068,
751,
273,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
44,
20344,
11272,
1082,
202,
5222,
751,
18,
18396,
6952,
273,
576,
31,
1082,
202,
5222,
751,
18,
2752,
70,
424,
614,
15704,
3819,
273,
638,
31,
1082,
202,
5222,
751,
18,
17824,
11535,
273,
348,
8588,
18,
4415,
31,
1082,
202,
9625,
18,
542,
3744,
751,
12,
3068,
751,
11272,
202,
202,
97,
202,
202,
2
] |
url = new URL("http:
|
url = new URL("http:
|
private URLConnection getConnection() throws IOException { URLConnection con; if (path != null) { con = (new File(path).toURL()).openConnection(); } else { if (proxySettings.isUse()) { System.getProperties().put("proxyHost", proxySettings.getHost()); System.getProperties().put("proxyPort", proxySettings.getPort()); } URL url = null; if(!ControlMovieGuideTab.movieGuideFile.exists()){ url = new URL("http://www.premiere.de/content/download/mguide_d_s_"+ SerFormatter.getAktuellDateString(0,"MM_yy")+".txt"); xml = 0; }else{ url = new URL("http://www.premiere.de/content/download/mguide_d_s_"+ SerFormatter.getAktuellDateString(1,"MM_yy")+".txt"); xml = 1; } if(ControlMain.getSettingsMovieGuide().isMgStoreOriginal()){ fw = new FileWriter(ControlMain.getSettingsPath().getWorkDirectory()+File.separator+url.getFile().substring(18)); } con =url.openConnection(); if (proxySettings.isUse()) { con.setRequestProperty("Proxy-Authorization", "Basic " + proxySettings.getUserPass()); } } return con; }
|
8459 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8459/ecf18f0610c2344f4abd278e4da5b2a5f6838d68/SerMovieGuide2Xml.java/clean/jtjg/service/SerMovieGuide2Xml.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1976,
1952,
6742,
1435,
1216,
1860,
288,
565,
1976,
1952,
356,
31,
3639,
309,
261,
803,
480,
446,
13,
288,
3639,
356,
273,
261,
2704,
1387,
12,
803,
2934,
869,
1785,
1435,
2934,
3190,
1952,
5621,
377,
289,
469,
288,
377,
202,
3639,
309,
261,
5656,
2628,
18,
291,
3727,
10756,
288,
5411,
2332,
18,
588,
2297,
7675,
458,
2932,
5656,
2594,
3113,
2889,
2628,
18,
588,
2594,
10663,
5411,
2332,
18,
588,
2297,
7675,
458,
2932,
5656,
2617,
3113,
2889,
2628,
18,
588,
2617,
10663,
3639,
289,
377,
1082,
565,
1976,
880,
273,
446,
31,
202,
565,
309,
12,
5,
3367,
16727,
13120,
17424,
5661,
18,
8683,
13120,
17424,
812,
18,
1808,
10756,
95,
202,
565,
880,
273,
394,
1976,
2932,
2505,
2207,
5591,
18,
1484,
9197,
822,
18,
323,
19,
1745,
19,
7813,
19,
81,
12118,
67,
72,
67,
87,
9548,
15,
1275,
5074,
18,
588,
37,
8629,
89,
1165,
1626,
780,
12,
20,
10837,
8206,
67,
6795,
7923,
9078,
18,
5830,
8863,
202,
565,
2025,
273,
374,
31,
202,
565,
289,
12107,
95,
202,
3639,
880,
273,
394,
1976,
2932,
2505,
2207,
5591,
18,
1484,
9197,
822,
18,
323,
19,
1745,
19,
7813,
19,
81,
12118,
67,
72,
67,
87,
9548,
15,
1275,
5074,
18,
588,
37,
8629,
89,
1165,
1626,
780,
12,
21,
10837,
8206,
67,
6795,
7923,
9078,
18,
5830,
8863,
1377,
202,
3639,
2025,
273,
404,
31,
202,
565,
289,
377,
202,
565,
309,
12,
3367,
6376,
18,
588,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1976,
1952,
6742,
1435,
1216,
1860,
288,
565,
1976,
1952,
356,
31,
3639,
309,
261,
803,
480,
446,
13,
288,
3639,
356,
273,
261,
2704,
1387,
12,
803,
2934,
869,
1785,
1435,
2934,
3190,
1952,
5621,
377,
289,
469,
288,
377,
202,
3639,
309,
261,
5656,
2628,
18,
291,
3727,
10756,
288,
5411,
2332,
18,
588,
2297,
7675,
458,
2932,
5656,
2594,
3113,
2889,
2628,
18,
588,
2594,
10663,
5411,
2332,
18,
588,
2297,
7675,
458,
2932,
5656,
2617,
3113,
2889,
2628,
18,
588,
2617,
10663,
3639,
289,
377,
1082,
565,
1976,
880,
273,
446,
31,
202,
565,
309,
12,
5,
3367,
16727,
13120,
17424,
5661,
18,
8683,
13120,
17424,
812,
18,
1808,
10756,
95,
202,
565,
2
] |
public String addAttributeAndCheck(Attribute attribute) throws ManifestException { if (attribute.getName() == null || attribute.getValue() == null) { throw new ManifestException("Attributes must have name and value");
|
public String addAttributeAndCheck( Attribute attribute ) throws ManifestException { if ( attribute.getName() == null || attribute.getValue() == null ) { throw new ManifestException( "Attributes must have name and value" );
|
public String addAttributeAndCheck(Attribute attribute) throws ManifestException { if (attribute.getName() == null || attribute.getValue() == null) { throw new ManifestException("Attributes must have name and value"); } if (attribute.getKey().equalsIgnoreCase(ATTRIBUTE_NAME)) { warnings.addElement("\"" + ATTRIBUTE_NAME + "\" attributes " + "should not occur in the main section and must be the " + "first element in all other sections: \"" + attribute.getName() + ": " + attribute.getValue() + "\""); return attribute.getValue(); } if (attribute.getKey().startsWith(ATTRIBUTE_FROM.toLowerCase())) { warnings.addElement("Manifest attributes should not start " + "with \"" + ATTRIBUTE_FROM + "\" in \"" + attribute.getName() + ": " + attribute.getValue() + "\""); } else { // classpath attributes go into a vector String attributeKey = attribute.getKey(); if (attributeKey.equalsIgnoreCase(ATTRIBUTE_CLASSPATH)) { Attribute classpathAttribute = (Attribute) attributes.get(attributeKey); if (classpathAttribute == null) { storeAttribute(attribute); } else { warnings.addElement("Multiple Class-Path attributes " + "are supported but violate the Jar " + "specification and may not be correctly " + "processed in all environments"); Enumeration e = attribute.getValues(); while (e.hasMoreElements()) { String value = (String) e.nextElement(); classpathAttribute.addValue(value); } } } else if (attributes.containsKey(attributeKey)) { throw new ManifestException("The attribute \"" + attribute.getName() + "\" may not occur more " + "than once in the same section"); } else { storeAttribute(attribute); } } return null; }
|
55907 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55907/4da7a225ba9c01ca94805923e06e3fb2d46bf201/Manifest.java/clean/plexus-archiver/src/main/java/org/codehaus/plexus/archiver/jar/Manifest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
514,
10759,
31151,
12,
1499,
1566,
13,
2398,
1216,
15443,
503,
288,
5411,
309,
261,
4589,
18,
17994,
1435,
422,
446,
747,
1566,
18,
24805,
1435,
422,
446,
13,
288,
7734,
604,
394,
15443,
503,
2932,
2498,
1297,
1240,
508,
471,
460,
8863,
5411,
289,
5411,
309,
261,
4589,
18,
588,
653,
7675,
14963,
5556,
12,
11616,
67,
1985,
3719,
288,
7734,
5599,
18,
1289,
1046,
2932,
8530,
397,
15941,
67,
1985,
397,
7023,
1677,
315,
10792,
397,
315,
13139,
486,
3334,
316,
326,
2774,
2442,
471,
1297,
506,
326,
315,
10792,
397,
315,
3645,
930,
316,
777,
1308,
7178,
30,
11843,
10792,
397,
1566,
18,
17994,
1435,
397,
6398,
315,
397,
1566,
18,
24805,
1435,
397,
11143,
1769,
7734,
327,
1566,
18,
24805,
5621,
5411,
289,
5411,
309,
261,
4589,
18,
588,
653,
7675,
17514,
1190,
12,
11616,
67,
11249,
18,
869,
5630,
1435,
3719,
288,
7734,
5599,
18,
1289,
1046,
2932,
9121,
1677,
1410,
486,
787,
315,
10792,
397,
315,
1918,
11843,
397,
15941,
67,
11249,
397,
7023,
316,
11843,
10792,
397,
1566,
18,
17994,
1435,
397,
6398,
315,
397,
1566,
18,
24805,
1435,
397,
11143,
1769,
5411,
289,
469,
288,
7734,
368,
10006,
1677,
1960,
1368,
279,
3806,
7734,
514,
1566,
653,
273,
1566,
18,
588,
653,
5621,
7734,
309,
261,
4589,
653,
18,
14963,
5556,
12,
11616,
67,
5237,
4211,
3719,
288,
10792,
3601,
10006,
1499,
273,
13491,
261,
1499,
13,
1677,
18,
588,
12,
4589,
653,
1769,
10792,
309,
261,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
514,
10759,
31151,
12,
1499,
1566,
13,
2398,
1216,
15443,
503,
288,
5411,
309,
261,
4589,
18,
17994,
1435,
422,
446,
747,
1566,
18,
24805,
1435,
422,
446,
13,
288,
7734,
604,
394,
15443,
503,
2932,
2498,
1297,
1240,
508,
471,
460,
8863,
5411,
289,
5411,
309,
261,
4589,
18,
588,
653,
7675,
14963,
5556,
12,
11616,
67,
1985,
3719,
288,
7734,
5599,
18,
1289,
1046,
2932,
8530,
397,
15941,
67,
1985,
397,
7023,
1677,
315,
10792,
397,
315,
13139,
486,
3334,
316,
326,
2774,
2442,
471,
1297,
506,
326,
315,
10792,
397,
315,
3645,
930,
316,
777,
1308,
7178,
30,
11843,
10792,
397,
1566,
18,
17994,
1435,
397,
6398,
315,
397,
1566,
18,
24805,
1435,
397,
2
] |
sb.append("\n"); sb.append(" sb.append("</SCRIPT>\n\n");
|
sb.append("\n"); sb.append(" sb.append("</script>\n\n");
|
protected String getJavascriptEnd() { StringBuffer sb = new StringBuffer(); sb.append("\n"); sb.append("// End -->\n"); sb.append("</SCRIPT>\n\n"); return sb.toString(); }
|
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/e83c067c2d66a81f6e82cf4402ecd24628f44cda/JavascriptValidatorTag.java/buggy/src/share/org/apache/struts/taglib/html/JavascriptValidatorTag.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
9285,
8711,
1638,
1435,
288,
4202,
6674,
2393,
273,
394,
6674,
5621,
4202,
2393,
18,
6923,
31458,
82,
8863,
4202,
2393,
18,
6923,
2932,
759,
225,
4403,
1493,
5333,
82,
8863,
4202,
2393,
18,
6923,
2932,
1757,
10885,
5333,
82,
64,
82,
8863,
4202,
327,
2393,
18,
10492,
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,
4750,
514,
9285,
8711,
1638,
1435,
288,
4202,
6674,
2393,
273,
394,
6674,
5621,
4202,
2393,
18,
6923,
31458,
82,
8863,
4202,
2393,
18,
6923,
2932,
759,
225,
4403,
1493,
5333,
82,
8863,
4202,
2393,
18,
6923,
2932,
1757,
10885,
5333,
82,
64,
82,
8863,
4202,
327,
2393,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 static boolean isArrayLoopStatement(PsiForStatement forStatement){
|
static boolean isArrayLoopStatement(PsiForStatement forStatement){
|
private static boolean isArrayLoopStatement(PsiForStatement forStatement){ final PsiStatement initialization = forStatement.getInitialization(); if(!(initialization instanceof PsiDeclarationStatement)){ return false; } final PsiDeclarationStatement declaration = (PsiDeclarationStatement) initialization; if(declaration.getDeclaredElements().length != 1){ return false; } final PsiLocalVariable indexVar = (PsiLocalVariable) declaration.getDeclaredElements()[0]; final PsiExpression initialValue = indexVar.getInitializer(); if(initialValue == null){ return false; } final String initializerText = initialValue.getText(); if(!"0".equals(initializerText)){ return false; } final PsiExpression condition = forStatement.getCondition(); if(!isArrayLengthComparison(condition, indexVar)){ return false; } final PsiStatement update = forStatement.getUpdate(); if(!isIncrement(update, indexVar)){ return false; } final PsiReferenceExpression arrayReference = getVariableReferenceFromCondition(condition); final PsiStatement body = forStatement.getBody(); if(body == null){ return false; } final String arrayName = arrayReference.getText(); if(!indexVarOnlyUsedAsIndex(arrayName, indexVar, body)){ return false; } return !isVariableAssigned(arrayName, body); }
|
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/8629082a2f885120180c8da4e7204776468af6a2/ForCanBeForeachInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/jdk15/ForCanBeForeachInspection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1250,
5439,
6452,
3406,
12,
52,
7722,
1290,
3406,
364,
3406,
15329,
3639,
727,
453,
7722,
3406,
10313,
273,
364,
3406,
18,
588,
17701,
5621,
3639,
309,
12,
5,
12,
6769,
1588,
1276,
453,
7722,
6094,
3406,
3719,
95,
5411,
327,
629,
31,
3639,
289,
3639,
727,
453,
7722,
6094,
3406,
8266,
273,
7734,
261,
52,
7722,
6094,
3406,
13,
10313,
31,
3639,
309,
12,
22448,
18,
588,
18888,
3471,
7675,
2469,
480,
404,
15329,
5411,
327,
629,
31,
3639,
289,
3639,
727,
453,
7722,
2042,
3092,
770,
1537,
273,
7734,
261,
52,
7722,
2042,
3092,
13,
8266,
18,
588,
18888,
3471,
1435,
63,
20,
15533,
3639,
727,
453,
7722,
2300,
11837,
273,
770,
1537,
18,
588,
14729,
5621,
3639,
309,
12,
6769,
620,
422,
446,
15329,
5411,
327,
629,
31,
3639,
289,
3639,
727,
514,
12562,
1528,
273,
11837,
18,
588,
1528,
5621,
3639,
309,
12,
4442,
20,
9654,
14963,
12,
22181,
1528,
3719,
95,
5411,
327,
629,
31,
3639,
289,
3639,
727,
453,
7722,
2300,
2269,
273,
364,
3406,
18,
588,
3418,
5621,
3639,
309,
12,
5,
291,
1076,
1782,
16059,
12,
4175,
16,
770,
1537,
3719,
95,
5411,
327,
629,
31,
3639,
289,
3639,
727,
453,
7722,
3406,
1089,
273,
364,
3406,
18,
588,
1891,
5621,
3639,
309,
12,
5,
291,
10798,
12,
2725,
16,
770,
1537,
3719,
95,
5411,
327,
629,
31,
3639,
289,
3639,
727,
453,
7722,
2404,
2300,
526,
2404,
273,
7734,
13522,
2404,
1265,
3418,
12,
4175,
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,
760,
1250,
5439,
6452,
3406,
12,
52,
7722,
1290,
3406,
364,
3406,
15329,
3639,
727,
453,
7722,
3406,
10313,
273,
364,
3406,
18,
588,
17701,
5621,
3639,
309,
12,
5,
12,
6769,
1588,
1276,
453,
7722,
6094,
3406,
3719,
95,
5411,
327,
629,
31,
3639,
289,
3639,
727,
453,
7722,
6094,
3406,
8266,
273,
7734,
261,
52,
7722,
6094,
3406,
13,
10313,
31,
3639,
309,
12,
22448,
18,
588,
18888,
3471,
7675,
2469,
480,
404,
15329,
5411,
327,
629,
31,
3639,
289,
3639,
727,
453,
7722,
2042,
3092,
770,
1537,
273,
7734,
261,
52,
7722,
2042,
3092,
13,
8266,
18,
588,
18888,
3471,
1435,
63,
20,
15533,
3639,
727,
453,
7722,
2300,
11837,
273,
770,
1537,
18,
588,
2
] |
index = closeBrackets.indexOf(ch); if(index != -1) { char openBracket = openBrackets.charAt(index); int[] match = TextUtilities.locateBracketBackward( document,dot - 1,openBracket,ch); if(match != null) { int mark = getLineStartOffset(match[0]) + match[1]; select(dot,mark); return; } }
|
bl.printStackTrace();
|
private void doDoubleClick(MouseEvent evt, int line, int offset, int dot) throws BadLocationException { String lineText = getLineText(line); String openBrackets = (String)document.getProperty("openBrackets"); String closeBrackets = (String)document.getProperty("closeBrackets"); char ch = lineText.charAt(Math.max(0,offset - 1)); int index = openBrackets.indexOf(ch); if(index != -1) { char closeBracket = closeBrackets.charAt(index); int[] match = TextUtilities.locateBracketForward( document,dot - 1,ch,closeBracket); if(match != null) { int mark = getLineStartOffset(match[0]) + match[1]; select(dot - 1,mark + 1); return; } } else { index = closeBrackets.indexOf(ch); if(index != -1) { char openBracket = openBrackets.charAt(index); int[] match = TextUtilities.locateBracketBackward( document,dot - 1,openBracket,ch); if(match != null) { int mark = getLineStartOffset(match[0]) + match[1]; select(dot,mark); return; } } } // Ok, it's not a bracket... select the word String noWordSep = (String)document.getProperty("noWordSep"); // If the user clicked on a non-letter char, // we select the surrounding non-letters boolean selectNoLetter = (!Character .isLetterOrDigit(ch) && noWordSep.indexOf(ch) == -1); int wordStart = 0; for(int i = offset - 1; i >= 0; i--) { ch = lineText.charAt(i); if(selectNoLetter ^ (!Character .isLetterOrDigit(ch) && noWordSep.indexOf(ch) == -1)) { wordStart = i + 1; break; } } int wordEnd = lineText.length(); for(int i = offset; i < lineText.length(); i++) { ch = lineText.charAt(i); if(selectNoLetter ^ (!Character .isLetterOrDigit(ch) && noWordSep.indexOf(ch) == -1)) { wordEnd = i; break; } } int lineStart = getLineStartOffset(line); select(lineStart + wordStart,lineStart + wordEnd); }
|
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/74cfad32646b1c4f3eec12a6f57a063e18221c2a/JEditTextArea.java/buggy/org/gjt/sp/jedit/textarea/JEditTextArea.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1152,
918,
741,
5265,
6563,
12,
9186,
1133,
6324,
16,
509,
980,
16,
1082,
202,
474,
1384,
16,
509,
3928,
13,
1216,
6107,
2735,
503,
202,
202,
95,
1082,
202,
780,
980,
1528,
273,
9851,
1528,
12,
1369,
1769,
1082,
202,
780,
1696,
23029,
273,
261,
780,
13,
5457,
18,
588,
1396,
2932,
3190,
23029,
8863,
1082,
202,
780,
1746,
23029,
273,
261,
780,
13,
5457,
18,
588,
1396,
2932,
4412,
23029,
8863,
1082,
202,
3001,
462,
273,
980,
1528,
18,
3001,
861,
12,
10477,
18,
1896,
12,
20,
16,
3348,
300,
404,
10019,
1082,
202,
474,
770,
273,
1696,
23029,
18,
31806,
12,
343,
1769,
1082,
202,
430,
12,
1615,
480,
300,
21,
13,
1082,
202,
95,
9506,
202,
3001,
1746,
11450,
273,
1746,
23029,
18,
3001,
861,
12,
1615,
1769,
9506,
202,
474,
8526,
845,
273,
3867,
11864,
18,
25450,
11450,
8514,
12,
6862,
202,
5457,
16,
9811,
300,
404,
16,
343,
16,
4412,
11450,
1769,
9506,
202,
430,
12,
1916,
480,
446,
13,
9506,
202,
95,
6862,
202,
474,
2267,
273,
9851,
1685,
2335,
12,
1916,
63,
20,
5717,
25083,
202,
15,
845,
63,
21,
15533,
6862,
202,
4025,
12,
9811,
300,
404,
16,
3355,
397,
404,
1769,
6862,
202,
2463,
31,
9506,
202,
97,
1082,
202,
97,
1082,
202,
12107,
1082,
202,
95,
9506,
202,
1615,
273,
1746,
23029,
18,
31806,
12,
343,
1769,
9506,
202,
430,
12,
1615,
480,
300,
21,
13,
9506,
202,
95,
6862,
202,
3001,
1696,
11450,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1152,
918,
741,
5265,
6563,
12,
9186,
1133,
6324,
16,
509,
980,
16,
1082,
202,
474,
1384,
16,
509,
3928,
13,
1216,
6107,
2735,
503,
202,
202,
95,
1082,
202,
780,
980,
1528,
273,
9851,
1528,
12,
1369,
1769,
1082,
202,
780,
1696,
23029,
273,
261,
780,
13,
5457,
18,
588,
1396,
2932,
3190,
23029,
8863,
1082,
202,
780,
1746,
23029,
273,
261,
780,
13,
5457,
18,
588,
1396,
2932,
4412,
23029,
8863,
1082,
202,
3001,
462,
273,
980,
1528,
18,
3001,
861,
12,
10477,
18,
1896,
12,
20,
16,
3348,
300,
404,
10019,
1082,
202,
474,
770,
273,
1696,
23029,
18,
31806,
12,
343,
1769,
1082,
202,
430,
12,
1615,
480,
300,
21,
13,
1082,
202,
2
] |
public static Object lookup( PageContext pageContext, String name, String property, String scope)
|
public static Object lookup(PageContext pageContext, String name, String scopeName)
|
public static Object lookup( PageContext pageContext, String name, String property, String scope) throws JspException { // :TODO: Remove after Struts 1.2 return TagUtils.getInstance().lookup(pageContext, name, property, scope); }
|
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/08e826c30dbe112730cc452501b7f91747778cd9/RequestUtils.java/buggy/src/share/org/apache/struts/util/RequestUtils.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
3689,
12,
5411,
3460,
1042,
21442,
16,
5411,
514,
508,
16,
5411,
514,
1272,
16,
5411,
514,
2146,
13,
5411,
1216,
27485,
288,
3639,
368,
294,
6241,
30,
3581,
1839,
3978,
12940,
404,
18,
22,
3639,
327,
4034,
1989,
18,
588,
1442,
7675,
8664,
12,
2433,
1042,
16,
508,
16,
1272,
16,
2146,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
3689,
12,
5411,
3460,
1042,
21442,
16,
5411,
514,
508,
16,
5411,
514,
1272,
16,
5411,
514,
2146,
13,
5411,
1216,
27485,
288,
3639,
368,
294,
6241,
30,
3581,
1839,
3978,
12940,
404,
18,
22,
3639,
327,
4034,
1989,
18,
588,
1442,
7675,
8664,
12,
2433,
1042,
16,
508,
16,
1272,
16,
2146,
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
] |
Authenticate.getSiteAuth().allowSetPassword(context, request,
|
AuthenticationManager.allowSetPassword(context, request,
|
private void processPersonalInfo(Context context, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException { // Get the token String token = request.getParameter("token"); // Get the email address String email = AccountManager.getEmail(context, token); String netid = request.getParameter("netid"); if ((netid!=null)&&(email==null)) email = request.getParameter("email"); // If the token isn't valid, show an error if (email == null && netid==null) { log.info(LogManager.getHeader(context, "invalid_token", "token=" + token)); // Invalid token JSPManager .showJSP(request, response, "/register/invalid-token.jsp"); return; } // If the token is valid, we create an eperson record if need be EPerson eperson = null; if (email!=null) eperson = EPerson.findByEmail(context, email); EPerson eperson2 = null; eperson2 = EPerson.findByNetid(context, netid); if (eperson2 !=null) eperson = eperson2; if (eperson == null) { // Need to create new eperson // FIXME: TEMPORARILY need to turn off authentication, as usually // only site admins can create e-people context.setIgnoreAuthorization(true); eperson = EPerson.create(context); eperson.setEmail(email); eperson.setNetid(netid); eperson.update(); context.setIgnoreAuthorization(false); } // Now set the current user of the context // to the user associated with the token, so they can update their // info context.setCurrentUser(eperson); // Set the user profile info boolean infoOK = EditProfileServlet.updateUserProfile(eperson, request); eperson.setCanLogIn(true); eperson.setSelfRegistered(true); // Give site auth a chance to set/override appropriate fields Authenticate.getSiteAuth().initEPerson(context, request, eperson); // If the user set a password, make sure it's OK boolean passwordOK = true; if (eperson.getRequireCertificate() == false && netid==null && Authenticate.getSiteAuth().allowSetPassword(context, request, eperson.getEmail())) { passwordOK = EditProfileServlet.confirmAndSetPassword(eperson, request); } if (infoOK && passwordOK) { // All registered OK. log.info(LogManager.getHeader(context, "usedtoken_register", "email=" + eperson.getEmail())); // delete the token if (token!=null) AccountManager.deleteToken(context, token); // Update user record eperson.update(); request.setAttribute("eperson", eperson); JSPManager.showJSP(request, response, "/register/registered.jsp"); context.complete(); } else { request.setAttribute("token", token); request.setAttribute("eperson", eperson); request.setAttribute("netid", netid); request.setAttribute("missing.fields", new Boolean(!infoOK)); request.setAttribute("password.problem", new Boolean(!passwordOK)); // Indicate if user can set password boolean setPassword = Authenticate.getSiteAuth().allowSetPassword( context, request, email); request.setAttribute("set.password", new Boolean(setPassword)); JSPManager.showJSP(request, response, "/register/registration-form.jsp"); // Changes to/creation of e-person in DB cancelled context.abort(); } }
|
47214 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47214/ed0b7a874baa6ea64f0ef03c065253ff1b71de12/RegisterServlet.java/buggy/dspace/src/org/dspace/app/webui/servlet/RegisterServlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
8346,
287,
966,
12,
1042,
819,
16,
5411,
9984,
590,
16,
12446,
766,
13,
5411,
1216,
16517,
16,
1860,
16,
6483,
16,
5411,
23859,
503,
565,
288,
3639,
368,
968,
326,
1147,
3639,
514,
1147,
273,
590,
18,
588,
1662,
2932,
2316,
8863,
3639,
368,
968,
326,
2699,
1758,
3639,
514,
2699,
273,
6590,
1318,
18,
588,
4134,
12,
2472,
16,
1147,
1769,
3639,
514,
2901,
350,
273,
590,
18,
588,
1662,
2932,
2758,
350,
8863,
3639,
309,
14015,
2758,
350,
5,
33,
2011,
13,
10,
10,
12,
3652,
631,
2011,
3719,
2699,
273,
590,
18,
588,
1662,
2932,
3652,
8863,
7734,
368,
971,
326,
1147,
5177,
1404,
923,
16,
2405,
392,
555,
3639,
309,
261,
3652,
422,
446,
597,
2901,
350,
631,
2011,
13,
3639,
288,
5411,
613,
18,
1376,
12,
1343,
1318,
18,
588,
1864,
12,
2472,
16,
315,
5387,
67,
2316,
3113,
315,
2316,
1546,
7734,
397,
1147,
10019,
5411,
368,
1962,
1147,
5411,
804,
3118,
1318,
7734,
263,
4500,
46,
3118,
12,
2293,
16,
766,
16,
2206,
4861,
19,
5387,
17,
2316,
18,
24926,
8863,
5411,
327,
31,
3639,
289,
3639,
368,
971,
326,
1147,
353,
923,
16,
732,
752,
392,
5529,
3565,
1409,
309,
1608,
506,
3639,
512,
8346,
5529,
3565,
273,
446,
31,
3639,
309,
261,
3652,
5,
33,
2011,
13,
5529,
3565,
273,
512,
8346,
18,
4720,
858,
4134,
12,
2472,
16,
2699,
1769,
3639,
512,
8346,
5529,
3565,
22,
273,
446,
31,
3639,
5529,
3565,
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,
8346,
287,
966,
12,
1042,
819,
16,
5411,
9984,
590,
16,
12446,
766,
13,
5411,
1216,
16517,
16,
1860,
16,
6483,
16,
5411,
23859,
503,
565,
288,
3639,
368,
968,
326,
1147,
3639,
514,
1147,
273,
590,
18,
588,
1662,
2932,
2316,
8863,
3639,
368,
968,
326,
2699,
1758,
3639,
514,
2699,
273,
6590,
1318,
18,
588,
4134,
12,
2472,
16,
1147,
1769,
3639,
514,
2901,
350,
273,
590,
18,
588,
1662,
2932,
2758,
350,
8863,
3639,
309,
14015,
2758,
350,
5,
33,
2011,
13,
10,
10,
12,
3652,
631,
2011,
3719,
2699,
273,
590,
18,
588,
1662,
2932,
3652,
8863,
7734,
368,
971,
326,
1147,
5177,
1404,
923,
16,
2405,
392,
555,
3639,
309,
2
] |
next_seq_id_to_assign++;
|
next_seq_id_to_assign++;
|
private synchronized void handleRequestMessage( Message msg ) { if ( next_seq_id_to_assign < 0 ) { // we cannot assign a valid sequence id log.error( "Error: TOTAL_OLD.handleRequestMessage() - cannot handle request... do not know what sequence id to assign" ); return; } // make the message a broadcast message to the group msg.setDest( null ); // set the source of the message to be me msg.setSrc( local_addr ); // add the sequence id to the message msg.putHeader(getName(), new TotalHeader( TotalHeader.TOTAL_BCAST, next_seq_id_to_assign ) ); // store a copy of this message is the history Message msg_copy = msg.copy(); ack_history.addMessage( msg_copy, next_seq_id_to_assign ); // begin debug { Object header = msg_copy.getHeader(getName()); if ( !(header instanceof TotalHeader) ) { log.error( "Error: TOTAL_OLD.handleRequestMessage() - BAD: stored message that did not contain a TotalHeader - " + next_seq_id_to_assign ); } } // // end debug // increment the next sequence id to use next_seq_id_to_assign++; // pass this new Message (wrapped in an Event) down the Protocol Stack passDown( new Event( Event.MSG, msg ) ); }
|
51463 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51463/5ad015d9a78e1da3350d9b398b46b2f5d4508564/TOTAL_OLD.java/clean/src/org/jgroups/protocols/TOTAL_OLD.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
918,
15713,
1079,
12,
2350,
1234,
262,
288,
202,
430,
261,
1024,
67,
5436,
67,
350,
67,
869,
67,
6145,
411,
374,
262,
288,
202,
565,
368,
732,
2780,
2683,
279,
923,
3102,
612,
202,
565,
613,
18,
1636,
12,
315,
668,
30,
399,
19851,
67,
11846,
18,
4110,
691,
1079,
1435,
300,
2780,
1640,
590,
2777,
741,
486,
5055,
4121,
3102,
612,
358,
2683,
6,
11272,
202,
565,
327,
31,
202,
97,
202,
759,
1221,
326,
883,
279,
8959,
883,
358,
326,
1041,
202,
3576,
18,
542,
9378,
12,
446,
11272,
202,
759,
444,
326,
1084,
434,
326,
883,
358,
506,
1791,
202,
3576,
18,
542,
7740,
12,
1191,
67,
4793,
11272,
202,
759,
527,
326,
3102,
612,
358,
326,
883,
202,
3576,
18,
458,
1864,
12,
17994,
9334,
225,
394,
10710,
1864,
12,
10710,
1864,
18,
28624,
67,
38,
21871,
16,
1024,
67,
5436,
67,
350,
67,
869,
67,
6145,
262,
11272,
202,
759,
1707,
279,
1610,
434,
333,
883,
353,
326,
4927,
202,
1079,
1234,
67,
3530,
273,
1234,
18,
3530,
5621,
202,
484,
67,
8189,
18,
1289,
1079,
12,
1234,
67,
3530,
16,
1024,
67,
5436,
67,
350,
67,
869,
67,
6145,
11272,
202,
759,
2376,
1198,
202,
288,
202,
565,
1033,
1446,
273,
1234,
67,
3530,
18,
588,
1864,
12,
17994,
10663,
202,
565,
309,
261,
401,
12,
3374,
1276,
10710,
1864,
13,
262,
288,
202,
202,
1330,
18,
1636,
12,
315,
668,
30,
399,
19851,
67,
11846,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
918,
15713,
1079,
12,
2350,
1234,
262,
288,
202,
430,
261,
1024,
67,
5436,
67,
350,
67,
869,
67,
6145,
411,
374,
262,
288,
202,
565,
368,
732,
2780,
2683,
279,
923,
3102,
612,
202,
565,
613,
18,
1636,
12,
315,
668,
30,
399,
19851,
67,
11846,
18,
4110,
691,
1079,
1435,
300,
2780,
1640,
590,
2777,
741,
486,
5055,
4121,
3102,
612,
358,
2683,
6,
11272,
202,
565,
327,
31,
202,
97,
202,
759,
1221,
326,
883,
279,
8959,
883,
358,
326,
1041,
202,
3576,
18,
542,
9378,
12,
446,
11272,
202,
759,
444,
326,
1084,
434,
326,
883,
358,
506,
1791,
202,
3576,
18,
542,
7740,
12,
1191,
67,
4793,
11272,
202,
759,
527,
2
] |
IPreferenceStore store = IDEWorkbenchPlugin.getDefault().getPreferenceStore(); store.addPropertyChangeListener(propertyChangeListener);
|
private void hookListeners() { // Listen for preference property changes to // update the menubar and toolbar IPreferenceStore store = IDEWorkbenchPlugin.getDefault().getPreferenceStore(); store.addPropertyChangeListener(propertyChangeListener); // Listen to workbench page lifecycle methods to enable // and disable the perspective menu items as needed. getWindow().addPageListener(new IPageListener() { public void pageActivated(IWorkbenchPage page) { enableActions(page.getPerspective() != null); } public void pageClosed(IWorkbenchPage page) { IWorkbenchPage pg = getWindow().getActivePage(); enableActions(pg != null && pg.getPerspective() != null); } public void pageOpened(IWorkbenchPage page) { } }); // Listen to workbench perspective lifecycle methods to enable // and disable the perspective menu items as needed. getWindow().addPageListener(new IPageListener() { public void pageActivated(IWorkbenchPage page) { } public void pageClosed(IWorkbenchPage page) { enableActions(false); } public void pageOpened(IWorkbenchPage page) { } }); getWindow().addPerspectiveListener(new IPerspectiveListener() { public void perspectiveActivated(IWorkbenchPage page, IPerspectiveDescriptor perspective) { enableActions(true); } public void perspectiveChanged(IWorkbenchPage page, IPerspectiveDescriptor perspective, String changeId) { } }); }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/7c2f7bb96fd191635ec08a5772f57f526967af9b/WorkbenchActionBuilder.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/WorkbenchActionBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3953,
5583,
1435,
288,
202,
202,
759,
13426,
364,
11555,
1272,
3478,
358,
202,
202,
759,
1089,
326,
21247,
373,
297,
471,
12748,
202,
202,
45,
9624,
2257,
1707,
273,
1082,
202,
10385,
2421,
22144,
3773,
18,
588,
1868,
7675,
588,
9624,
2257,
5621,
202,
202,
2233,
18,
1289,
1396,
15744,
12,
4468,
15744,
1769,
202,
202,
759,
13426,
358,
1440,
22144,
1363,
6596,
2590,
358,
4237,
202,
202,
759,
471,
4056,
326,
26651,
3824,
1516,
487,
3577,
18,
202,
202,
588,
3829,
7675,
1289,
1964,
2223,
12,
2704,
467,
1964,
2223,
1435,
288,
1082,
202,
482,
918,
1363,
28724,
12,
45,
2421,
22144,
1964,
1363,
13,
288,
9506,
202,
7589,
6100,
12,
2433,
18,
588,
14781,
16772,
1435,
480,
446,
1769,
1082,
202,
97,
1082,
202,
482,
918,
1363,
7395,
12,
45,
2421,
22144,
1964,
1363,
13,
288,
9506,
202,
45,
2421,
22144,
1964,
7184,
273,
26156,
7675,
588,
3896,
1964,
5621,
9506,
202,
7589,
6100,
12,
8365,
480,
446,
597,
7184,
18,
588,
14781,
16772,
1435,
480,
446,
1769,
1082,
202,
97,
1082,
202,
482,
918,
1363,
23115,
12,
45,
2421,
22144,
1964,
1363,
13,
288,
1082,
202,
97,
202,
202,
22938,
202,
202,
759,
13426,
358,
1440,
22144,
26651,
6596,
2590,
358,
4237,
202,
202,
759,
471,
4056,
326,
26651,
3824,
1516,
487,
3577,
18,
202,
202,
588,
3829,
7675,
1289,
1964,
2223,
12,
2704,
467,
1964,
2223,
1435,
288,
1082,
202,
482,
918,
1363,
28724,
12,
45,
2421,
22144,
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,
3953,
5583,
1435,
288,
202,
202,
759,
13426,
364,
11555,
1272,
3478,
358,
202,
202,
759,
1089,
326,
21247,
373,
297,
471,
12748,
202,
202,
45,
9624,
2257,
1707,
273,
1082,
202,
10385,
2421,
22144,
3773,
18,
588,
1868,
7675,
588,
9624,
2257,
5621,
202,
202,
2233,
18,
1289,
1396,
15744,
12,
4468,
15744,
1769,
202,
202,
759,
13426,
358,
1440,
22144,
1363,
6596,
2590,
358,
4237,
202,
202,
759,
471,
4056,
326,
26651,
3824,
1516,
487,
3577,
18,
202,
202,
588,
3829,
7675,
1289,
1964,
2223,
12,
2704,
467,
1964,
2223,
1435,
288,
1082,
202,
482,
918,
1363,
28724,
12,
45,
2421,
22144,
1964,
1363,
13,
288,
9506,
202,
7589,
6100,
12,
2433,
18,
2
] |
|
fudgeAcross = 0.0 /*- maxBounds.getCenterX()*/;
|
fudgeAcross = - maxBounds.getCenterX();
|
public void paint( Graphics2D g, SequenceRenderContext src ) { SymbolList seq = src.getSymbols(); int direction = src.getDirection(); g.setFont(src.getFont()); Rectangle2D oldClip = g.getClipBounds(); // AffineTransform oldTrans = g.getTransform(); g.setColor(Color.black); double scale = src.getScale(); Rectangle2D maxBounds = g.getFont().getMaxCharBounds(g.getFontRenderContext()); if( // symbol must be larger than 30% of char size // attempting to render src.getScale() >= maxBounds.getWidth()*0.3 && src.getScale() >= maxBounds.getHeight()*0.3 ) { double fudgeAcross = 0.0; // intended to center text in band double fudgeDown = 0.0; if (direction == src.HORIZONTAL) { fudgeAcross = 0.0 /*- maxBounds.getCenterX()*/; fudgeDown = depth * 0.5 - maxBounds.getCenterY(); } else { fudgeAcross = depth * 0.5 - maxBounds.getCenterX(); fudgeDown = scale * 0.5 - maxBounds.getCenterY(); } int leading; // these correspond to the symbol index value int trailing; // of the ends of the clip region int symOffset = src.getRange().getMin(); // first symbol by base index value double graphOffset = src.sequenceToGraphics(symOffset); // by pixels if(src.getDirection() == src.HORIZONTAL) { // compute base nos. associated with ends of clip region leading = src.graphicsToSequence(oldClip.getMinX()); trailing = src.graphicsToSequence(oldClip.getMaxX()); // A transform to render the symbols is setup in // SequencePanel.paintComponent(). // start of leader will place you at leftmost edge of draw area. // the default clip region from SequencePanel.paintComponent() // spans the leader, sequence range and trailer. // it is adequate for this method although we could further // restrict it to the sequence region itself // g.translate(-graphOffset, 0.0); // g.setClip(AffineTransform.getTranslateInstance(-graphOffset, 0.0) // .createTransformedShape(oldClip)); } else { leading = src.graphicsToSequence(oldClip.getMinY()); trailing = src.graphicsToSequence(oldClip.getMaxY()); // g.translate(0.0, -graphOffset); // g.setClip(AffineTransform.getTranslateInstance(0.0, -graphOffset) // .createTransformedShape(oldClip)); } // Rectangle2D clip = g.getClipBounds(); // can this ever happen? leading > pos.getMin?, // pos.getMax() > trailing? int min = Math.max(src.getRange().getMin(), leading); int max = Math.min(src.getRange().getMax(), trailing+1); /* System.out.println("oldTrans: " + oldTrans); System.out.println("pos: " + src.getRange()); System.out.println("symOffset: " + symOffset); System.out.println("graphOffset: " + graphOffset); System.out.println("leading: " + leading); System.out.println("trailing: " + trailing); System.out.println("min: " + min); System.out.println("max: " + max); System.out.println("-"); */ for (int sPos = min; sPos <= max; ++sPos) { double gPos = src.sequenceToGraphics(sPos /* - symOffset */ + 1); char c = seq.symbolAt(sPos).getToken(); if (direction == SequencePanel.HORIZONTAL) { //charBox.x = gPos; g.drawString( String.valueOf(c), (int) (gPos + fudgeAcross), (int) fudgeDown ); // g.drawString( // String.valueOf(sPos).substring(0, 1), // (int) (gPos + fudgeAcross), (int) fudgeDown // ); if(sPos == 10) { g.draw(new Rectangle2D.Double(gPos, 0.0, src.getScale(), 10.0)); } } else { //charBox.y = gPos; g.drawString( String.valueOf(c), (int) fudgeAcross, (int) (gPos + fudgeDown) ); } //g.draw(charBox); } } // g.setTransform(oldTrans);// g.setClip(oldClip); }
|
50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/64d840b0a718ba0cc8816854629a1d583d36e738/SymbolSequenceRenderer.java/clean/src/org/biojava/bio/gui/sequence/SymbolSequenceRenderer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
12,
1377,
16830,
22,
40,
314,
16,
1377,
8370,
3420,
1042,
1705,
565,
262,
288,
1377,
8565,
682,
3833,
273,
1705,
18,
588,
14821,
5621,
1377,
509,
4068,
273,
1705,
18,
588,
8212,
5621,
5411,
314,
18,
542,
5711,
12,
4816,
18,
588,
5711,
10663,
1377,
13264,
22,
40,
1592,
15339,
273,
314,
18,
588,
15339,
5694,
5621,
1377,
368,
23906,
558,
4059,
1592,
1429,
273,
314,
18,
588,
4059,
5621,
5411,
314,
18,
542,
2957,
12,
2957,
18,
11223,
1769,
5411,
1645,
3159,
273,
1705,
18,
588,
5587,
5621,
1377,
13264,
22,
40,
943,
5694,
273,
3639,
314,
18,
588,
5711,
7675,
588,
2747,
2156,
5694,
12,
75,
18,
588,
5711,
3420,
1042,
10663,
1377,
309,
12,
3639,
368,
3273,
1297,
506,
10974,
2353,
5196,
9,
434,
1149,
963,
3639,
368,
15600,
358,
1743,
3639,
1705,
18,
588,
5587,
1435,
1545,
943,
5694,
18,
588,
2384,
1435,
14,
20,
18,
23,
597,
3639,
1705,
18,
588,
5587,
1435,
1545,
943,
5694,
18,
588,
2686,
1435,
14,
20,
18,
23,
1377,
262,
288,
3639,
1645,
284,
27110,
9988,
3984,
273,
374,
18,
20,
31,
202,
759,
12613,
358,
4617,
977,
316,
8937,
3639,
1645,
284,
27110,
4164,
273,
374,
18,
20,
31,
3639,
309,
261,
9855,
422,
1705,
18,
44,
20344,
13,
288,
1850,
284,
27110,
9988,
3984,
273,
300,
943,
5694,
18,
588,
8449,
60,
5621,
1850,
284,
27110,
4164,
273,
3598,
380,
374,
18,
25,
300,
943,
5694,
18,
588,
8449,
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,
12574,
12,
1377,
16830,
22,
40,
314,
16,
1377,
8370,
3420,
1042,
1705,
565,
262,
288,
1377,
8565,
682,
3833,
273,
1705,
18,
588,
14821,
5621,
1377,
509,
4068,
273,
1705,
18,
588,
8212,
5621,
5411,
314,
18,
542,
5711,
12,
4816,
18,
588,
5711,
10663,
1377,
13264,
22,
40,
1592,
15339,
273,
314,
18,
588,
15339,
5694,
5621,
1377,
368,
23906,
558,
4059,
1592,
1429,
273,
314,
18,
588,
4059,
5621,
5411,
314,
18,
542,
2957,
12,
2957,
18,
11223,
1769,
5411,
1645,
3159,
273,
1705,
18,
588,
5587,
5621,
1377,
13264,
22,
40,
943,
5694,
273,
3639,
314,
18,
588,
5711,
7675,
588,
2747,
2156,
5694,
12,
75,
18,
588,
5711,
3420,
1042,
10663,
2
] |
private void addCustomInstallHandlerSection(Composite parent) { Composite container = new Composite(parent, SWT.NONE); GridLayout layout = new GridLayout(); container.setLayout(layout); container.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));// Label spacer = new Label(container, SWT.NULL);// GridData gd = new GridData();// gd.horizontalSpan = 2;// spacer.setLayoutData(gd); customChoice = new Button(container, SWT.CHECK); customChoice.setText(PDEPlugin.getResourceString(KEY_CUSTOM_INSTALL_HANDLER)); customChoice.setSelection(false); customChoice.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { boolean isSelected = ((Button) e.widget).getSelection(); libraryText.setEnabled(isSelected); sourceText.setEnabled(isSelected); buildOutputText.setEnabled(isSelected); libraryLabel.setEnabled(isSelected); sourceLabel.setEnabled(isSelected); buildOutputLabel.setEnabled(isSelected); getContainer().updateButtons(); } }); }
|
8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/61167f99093ccc2f220f40e68ea03e39ee95892e/FeatureCustomHandlerPage.java/clean/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/feature/FeatureCustomHandlerPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
527,
3802,
6410,
1503,
5285,
12,
9400,
982,
13,
288,
202,
202,
9400,
1478,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
202,
202,
6313,
3744,
3511,
273,
394,
7145,
3744,
5621,
202,
202,
3782,
18,
542,
3744,
12,
6741,
1769,
202,
202,
3782,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
10019,
759,
202,
202,
2224,
31896,
273,
394,
5287,
12,
3782,
16,
348,
8588,
18,
8560,
1769,
759,
202,
202,
6313,
751,
15551,
273,
394,
7145,
751,
5621,
759,
202,
202,
19016,
18,
18396,
6952,
273,
576,
31,
759,
202,
202,
1752,
10598,
18,
542,
3744,
751,
12,
19016,
1769,
9506,
202,
3662,
10538,
273,
394,
12569,
12,
3782,
16,
348,
8588,
18,
10687,
1769,
202,
202,
3662,
10538,
18,
542,
1528,
12,
52,
1639,
3773,
18,
588,
1420,
780,
12,
3297,
67,
15136,
67,
28865,
67,
19937,
10019,
202,
202,
3662,
10538,
18,
542,
6233,
12,
5743,
1769,
202,
202,
3662,
10538,
18,
1289,
6233,
2223,
12,
2704,
12977,
4216,
1435,
288,
1082,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
9506,
202,
6494,
20956,
273,
14015,
3616,
13,
425,
18,
6587,
2934,
588,
6233,
5621,
9506,
202,
12083,
1528,
18,
542,
1526,
12,
291,
7416,
1769,
9506,
202,
3168,
1528,
18,
542,
1526,
12,
291,
7416,
1769,
9506,
202,
3510,
1447,
1528,
18,
542,
1526,
12,
291,
7416,
1769,
9506,
202,
12083,
2224,
18,
542,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
527,
3802,
6410,
1503,
5285,
12,
9400,
982,
13,
288,
202,
202,
9400,
1478,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
202,
202,
6313,
3744,
3511,
273,
394,
7145,
3744,
5621,
202,
202,
3782,
18,
542,
3744,
12,
6741,
1769,
202,
202,
3782,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
10019,
759,
202,
202,
2224,
31896,
273,
394,
5287,
12,
3782,
16,
348,
8588,
18,
8560,
1769,
759,
202,
202,
6313,
751,
15551,
273,
394,
7145,
751,
5621,
759,
202,
202,
19016,
18,
18396,
6952,
273,
576,
31,
759,
202,
202,
1752,
10598,
18,
542,
3744,
751,
12,
19016,
1769,
9506,
202,
2
] |
||
DatagramPacket packet = new DatagramPacket(new byte[1500], 1500);
|
DatagramPacket packet = new DatagramPacket(new byte[MAX_RECEIVE_SIZE], MAX_RECEIVE_SIZE);
|
private DatagramPacket getPacket() { try { // We make it timeout every 100ms so that we can check for // _filters which have timed out, this // is ugly but our only option without resorting to java.nio // because there is no way to forcefully // interrupt a socket wait operation _sock.setSoTimeout(100); } catch (SocketException e) { throw new RuntimeException(e); } // TODO: Avoid recreating the packet each time (warning, there are some issues reusing DatagramPackets, be // careful) DatagramPacket packet = new DatagramPacket(new byte[1500], 1500); try { _sock.receive(packet); // TODO: keep? IOStatisticCollector.addInfo(packet.getAddress() + ":" + packet.getPort(), packet.getLength(), 0); } catch (SocketTimeoutException e1) { packet = null; } catch (IOException e2) { throw new RuntimeException(e2); } if(logMINOR) Logger.minor(this, "Received packet"); return packet; }
|
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/e2294d5e5d87dd3c20fdf4a49cccac98526b4b4b/UdpSocketManager.java/buggy/src/freenet/io/comm/UdpSocketManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
6168,
17049,
6667,
30401,
278,
1435,
288,
202,
202,
698,
288,
1082,
202,
759,
1660,
1221,
518,
2021,
3614,
2130,
959,
1427,
716,
732,
848,
866,
364,
1082,
202,
759,
389,
6348,
1492,
1240,
7491,
596,
16,
333,
1082,
202,
759,
353,
26920,
1496,
3134,
1338,
1456,
2887,
400,
499,
310,
358,
2252,
18,
82,
1594,
1082,
202,
759,
2724,
1915,
353,
1158,
4031,
358,
2944,
4095,
1082,
202,
759,
13123,
279,
2987,
2529,
1674,
1082,
202,
67,
15031,
18,
542,
10225,
2694,
12,
6625,
1769,
202,
202,
97,
1044,
261,
4534,
503,
425,
13,
288,
1082,
202,
12849,
394,
3235,
12,
73,
1769,
202,
202,
97,
202,
202,
759,
2660,
30,
17843,
283,
23799,
326,
4414,
1517,
813,
261,
8551,
16,
1915,
854,
2690,
8296,
283,
9940,
6168,
17049,
27328,
16,
506,
202,
202,
759,
26850,
13,
202,
202,
5139,
17049,
6667,
4414,
273,
394,
6168,
17049,
6667,
12,
2704,
1160,
63,
3600,
713,
6487,
4711,
713,
1769,
202,
202,
698,
288,
1082,
202,
67,
15031,
18,
18149,
12,
11482,
1769,
1082,
202,
759,
2660,
30,
3455,
35,
1082,
202,
4294,
20673,
7134,
18,
1289,
966,
12,
11482,
18,
588,
1887,
1435,
397,
6153,
397,
4414,
18,
588,
2617,
9334,
6862,
202,
11482,
18,
588,
1782,
9334,
374,
1769,
202,
202,
97,
1044,
261,
4534,
22195,
425,
21,
13,
288,
1082,
202,
11482,
273,
446,
31,
202,
202,
97,
1044,
261,
14106,
425,
22,
13,
288,
1082,
202,
12849,
394,
3235,
12,
73,
22,
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,
6168,
17049,
6667,
30401,
278,
1435,
288,
202,
202,
698,
288,
1082,
202,
759,
1660,
1221,
518,
2021,
3614,
2130,
959,
1427,
716,
732,
848,
866,
364,
1082,
202,
759,
389,
6348,
1492,
1240,
7491,
596,
16,
333,
1082,
202,
759,
353,
26920,
1496,
3134,
1338,
1456,
2887,
400,
499,
310,
358,
2252,
18,
82,
1594,
1082,
202,
759,
2724,
1915,
353,
1158,
4031,
358,
2944,
4095,
1082,
202,
759,
13123,
279,
2987,
2529,
1674,
1082,
202,
67,
15031,
18,
542,
10225,
2694,
12,
6625,
1769,
202,
202,
97,
1044,
261,
4534,
503,
425,
13,
288,
1082,
202,
12849,
394,
3235,
12,
73,
1769,
202,
202,
97,
202,
202,
759,
2660,
30,
17843,
283,
23799,
326,
4414,
2
] |
/* pw.print("SUM("); pw.print(sqlQuery.getDialect().quoteIdentifier(t.getName(), c.getName())); pw.print(") AS "); */
|
public String insertIntoCollapsed() { StringWriter sw = new StringWriter(512); PrintWriter pw = new PrintWriter(sw); String prefix = " "; String factTableName = getFactTableName(); SqlQuery sqlQuery = getSqlQuery(); pw.print("INSERT INTO "); pw.print(makeCollapsedAggregateTableName(getFactTableName())); pw.println(" ("); for (Iterator it = collapsedColumnUsages.values().iterator(); it.hasNext(); ) { List list = (List) it.next(); for (Iterator lit = list.iterator(); lit.hasNext(); ) { JdbcSchema.Table.Column.Usage usage = (JdbcSchema.Table.Column.Usage) lit.next(); JdbcSchema.Table.Column c = usage.getColumn(); pw.print(prefix); if (usage.usagePrefix != null) { pw.print(usage.usagePrefix); } pw.print(c.getName()); pw.println(','); } } for (Iterator it = measures.iterator(); it.hasNext(); ) { JdbcSchema.Table.Column.Usage usage = (JdbcSchema.Table.Column.Usage) it.next(); JdbcSchema.Table.Column c = usage.getColumn(); pw.print(prefix); String name = getUsageName(usage); pw.print(name); //pw.print(c.getName()); pw.println(','); } // do fact_count pw.print(prefix); pw.print(getFactCount()); pw.println(")"); pw.println("SELECT"); int dimCnt = 0; for (Iterator it = collapsedColumnUsages.values().iterator(); it.hasNext(); ) { List list = (List) it.next(); for (Iterator lit = list.iterator(); lit.hasNext(); ) { JdbcSchema.Table.Column.Usage usage = (JdbcSchema.Table.Column.Usage) lit.next(); JdbcSchema.Table.Column c = usage.getColumn(); JdbcSchema.Table t = c.getTable(); pw.print(prefix); pw.print(sqlQuery.getDialect().quoteIdentifier(t.getName(), c.getName())); pw.print(" AS "); String n = (usage.usagePrefix == null) ? c.getName() : usage.usagePrefix + c.getName(); pw.print(sqlQuery.getDialect().quoteIdentifier(n)); pw.println(','); } } for (Iterator it = measures.iterator(); it.hasNext(); ) { JdbcSchema.Table.Column.Usage usage = (JdbcSchema.Table.Column.Usage) it.next(); JdbcSchema.Table.Column c = usage.getColumn(); JdbcSchema.Table t = c.getTable(); RolapAggregator agg = usage.getAggregator(); pw.print(prefix); pw.print( agg.getExpression(sqlQuery.getDialect().quoteIdentifier( t.getName(), c.getName())).toUpperCase());/* pw.print("SUM("); pw.print(sqlQuery.getDialect().quoteIdentifier(t.getName(), c.getName())); pw.print(") AS ");*/ pw.print(" AS "); pw.print(sqlQuery.getDialect().quoteIdentifier(c.getName())); pw.println(','); } // do fact_count pw.print(prefix); pw.print("COUNT(*) AS "); pw.println(sqlQuery.getDialect().quoteIdentifier(getFactCount())); pw.println("FROM "); pw.print(prefix); pw.print(sqlQuery.getDialect().quoteIdentifier(factTableName)); pw.print(" "); pw.print(sqlQuery.getDialect().quoteIdentifier(factTableName)); pw.println(','); // add dimension tables dimCnt = 0; for (Iterator it = collapsedColumnUsages.keySet().iterator(); it.hasNext(); ) { RolapStar.Table rt = (RolapStar.Table) it.next(); pw.print(prefix); pw.print(sqlQuery.getDialect().quoteIdentifier(rt.getAlias())); pw.print(" AS "); pw.print(sqlQuery.getDialect().quoteIdentifier(rt.getAlias())); // walk up tables if (rt.getParentTable() != null) { while (rt.getParentTable().getParentTable() != null) { rt = rt.getParentTable(); pw.println(','); pw.print(prefix); pw.print(sqlQuery.getDialect().quoteIdentifier(rt.getAlias())); pw.print(" AS "); pw.print(sqlQuery.getDialect().quoteIdentifier(rt.getAlias())); } } if (it.hasNext()) { pw.println(','); } else { pw.println(); } } pw.println("WHERE "); for (Iterator it = collapsedColumnUsages.keySet().iterator(); it.hasNext(); ) { RolapStar.Table rt = (RolapStar.Table) it.next(); RolapStar.Condition cond = rt.getCondition(); if (cond == null) { continue; } pw.print(prefix); pw.print(cond.toString(sqlQuery)); if (rt.getParentTable() != null) { while (rt.getParentTable().getParentTable() != null) { rt = rt.getParentTable(); cond = rt.getCondition(); pw.println(" and"); pw.print(prefix); pw.print(cond.toString(sqlQuery)); } } if (it.hasNext()) { pw.println(" and"); } else { pw.println(); } } pw.println("GROUP BY "); dimCnt = 0; for (Iterator it = collapsedColumnUsages.values().iterator(); it.hasNext(); ) { List list = (List) it.next(); for (Iterator lit = list.iterator(); lit.hasNext(); ) { JdbcSchema.Table.Column.Usage usage = (JdbcSchema.Table.Column.Usage) lit.next(); JdbcSchema.Table.Column c = usage.getColumn(); JdbcSchema.Table t = c.getTable(); pw.print(prefix); pw.print(sqlQuery.getDialect().quoteIdentifier(t.getName(), c.getName())); if (it.hasNext()) { pw.println(','); } } } pw.println(';'); return sw.toString(); }
|
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/346324a9a90eb442dde3b9ddfa063208ff332011/AggGen.java/buggy/src/main/mondrian/rolap/aggmatcher/AggGen.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2243,
5952,
28084,
1435,
288,
3639,
17436,
1352,
273,
394,
17436,
12,
13757,
1769,
3639,
14071,
8772,
273,
394,
14071,
12,
5328,
1769,
3639,
514,
1633,
273,
315,
565,
13636,
3639,
514,
5410,
7147,
273,
2812,
621,
7147,
5621,
3639,
8855,
1138,
24451,
273,
17789,
1138,
5621,
3639,
8772,
18,
1188,
2932,
11356,
12421,
315,
1769,
3639,
8772,
18,
1188,
12,
6540,
28084,
11490,
7147,
12,
588,
9766,
7147,
1435,
10019,
3639,
8772,
18,
8222,
2932,
7566,
1769,
3639,
364,
261,
3198,
518,
273,
17027,
1494,
3477,
1023,
18,
2372,
7675,
9838,
5621,
5397,
518,
18,
5332,
2134,
5621,
262,
288,
5411,
987,
666,
273,
261,
682,
13,
518,
18,
4285,
5621,
5411,
364,
261,
3198,
16297,
273,
666,
18,
9838,
5621,
16297,
18,
5332,
2134,
5621,
262,
288,
7734,
24209,
3078,
18,
1388,
18,
1494,
18,
5357,
4084,
273,
5397,
261,
25316,
3078,
18,
1388,
18,
1494,
18,
5357,
13,
16297,
18,
4285,
5621,
7734,
24209,
3078,
18,
1388,
18,
1494,
276,
273,
4084,
18,
588,
1494,
5621,
7734,
8772,
18,
1188,
12,
3239,
1769,
7734,
309,
261,
9167,
18,
9167,
2244,
480,
446,
13,
288,
10792,
8772,
18,
1188,
12,
9167,
18,
9167,
2244,
1769,
7734,
289,
7734,
8772,
18,
1188,
12,
71,
18,
17994,
10663,
7734,
8772,
18,
8222,
12,
2187,
8284,
5411,
289,
3639,
289,
3639,
364,
261,
3198,
518,
273,
22692,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
288,
5411,
24209,
3078,
18,
1388,
18,
1494,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2243,
5952,
28084,
1435,
288,
3639,
17436,
1352,
273,
394,
17436,
12,
13757,
1769,
3639,
14071,
8772,
273,
394,
14071,
12,
5328,
1769,
3639,
514,
1633,
273,
315,
565,
13636,
3639,
514,
5410,
7147,
273,
2812,
621,
7147,
5621,
3639,
8855,
1138,
24451,
273,
17789,
1138,
5621,
3639,
8772,
18,
1188,
2932,
11356,
12421,
315,
1769,
3639,
8772,
18,
1188,
12,
6540,
28084,
11490,
7147,
12,
588,
9766,
7147,
1435,
10019,
3639,
8772,
18,
8222,
2932,
7566,
1769,
3639,
364,
261,
3198,
518,
273,
17027,
1494,
3477,
1023,
18,
2372,
7675,
9838,
5621,
5397,
518,
18,
5332,
2134,
5621,
262,
288,
5411,
987,
666,
273,
261,
682,
13,
518,
18,
4285,
5621,
5411,
364,
261,
3198,
2
] |
|
this.input = input;
|
this.input = new BufferedReader(input);
|
public void setReader(Reader reader) throws CDKException { this.input = input; }
|
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/a08c6ae51fd6e8e2448b2b9fde92a30a4e271589/Gaussian03Reader.java/buggy/src/org/openscience/cdk/io/Gaussian03Reader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
2514,
12,
2514,
2949,
13,
1216,
24570,
288,
3639,
333,
18,
2630,
273,
394,
10633,
12,
2630,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
2514,
12,
2514,
2949,
13,
1216,
24570,
288,
3639,
333,
18,
2630,
273,
394,
10633,
12,
2630,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (WebBrowserUtil.isDefaultBrowserMozilla()) {
|
if (!WebBrowserUtil.isDefaultBrowserMozilla()) { if (isWindows) { InitUtility.appendEnv(libPathEnv, binaryPath + File.separator + "ielib"); } } else {
|
public void initBrowserNative() throws JdicInitException { // The Browser component is used. // If the Browser specific native file setting was already initialized, // just return. if (isBrowserNativeInitialized) { return; } try { // Pre-append the JDIC binary path to PATH(on Windows) or // LD_LIBRARY_PATH(on Unix). InitUtility.appendEnv(libPathEnv, binaryPath); String browserPath = WebBrowserUtil.getBrowserPath(); if (browserPath == null) { throw new JdicInitException( "Can't locate the native browser path!"); } // Mozilla is the default/embedded browser. if (WebBrowserUtil.isDefaultBrowserMozilla()) { // Use the user defined env variable or the mozilla binary // path as the default MOZILLA_FIVE_HOME value. String envMFH = InitUtility.getEnv("MOZILLA_FIVE_HOME"); if (envMFH == null) { File browserFile = new File(browserPath); if (browserFile.isDirectory()) { envMFH = browserFile.getCanonicalPath(); } else { envMFH = browserFile.getCanonicalFile().getParent(); } } if (!isWindows) { // On Unix, add the binary path to PATH. InitUtility.appendEnv("PATH", binaryPath); // When running on webstart, the browser binary will lose // "x" permission after extracted from .jar file. String browserBinary = WebBrowser.getBrowserBinary(); Runtime.getRuntime().exec("chmod a+x "+ binaryPath + File.separator + browserBinary); } else { // Mozilla on Windows, reset MOZILLA_FIVE_HOME to the GRE // directory path: // [Common Files]\mozilla.org\GRE\1.x_BUILDID, // if Mozilla installs from a .exe package. // String xpcomPath = envMFH + File.separator + "xpcom.dll"; if (!(new File(xpcomPath).isFile())) { // Mozilla installs from a .exe package. Check the // installed GRE directory. String mozGreHome = WebBrowserUtil.getMozillaGreHome(); if (mozGreHome == null) { throw new JdicInitException( "Can't locate the GRE directory of the " + "installed Mozilla binary: " + envMFH); } envMFH = mozGreHome; } } InitUtility.appendEnv("MOZILLA_FIVE_HOME", envMFH); InitUtility.appendEnv(libPathEnv, envMFH); } // end - Mozilla is the default/embedded browser. } catch (Throwable e) { throw new JdicInitException(e); } isBrowserNativeInitialized = true; }
|
4176 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4176/af7845596b0ee4c6f9b61915b6b5b62b6c2f96f6/JdicManager.java/buggy/src/jdic/src/share/classes/org/jdesktop/jdic/init/JdicManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
9132,
9220,
1435,
1216,
804,
15859,
2570,
503,
288,
3639,
368,
1021,
15408,
1794,
353,
1399,
18,
3639,
368,
971,
326,
15408,
2923,
6448,
585,
3637,
1703,
1818,
6454,
16,
540,
368,
2537,
327,
18,
3639,
309,
261,
291,
9132,
9220,
11459,
13,
288,
5411,
327,
31,
3639,
289,
3639,
775,
288,
5411,
368,
2962,
17,
6923,
326,
804,
2565,
39,
3112,
589,
358,
7767,
12,
265,
8202,
13,
578,
2398,
368,
28083,
67,
2053,
28254,
67,
4211,
12,
265,
9480,
2934,
4766,
4378,
6497,
18,
6923,
3491,
12,
2941,
743,
3491,
16,
3112,
743,
1769,
2398,
514,
4748,
743,
273,
2999,
9132,
1304,
18,
588,
9132,
743,
5621,
5411,
309,
261,
11213,
743,
422,
446,
13,
288,
7734,
604,
394,
804,
15859,
2570,
503,
12,
10792,
315,
2568,
1404,
10627,
326,
6448,
4748,
589,
4442,
1769,
5411,
289,
5411,
368,
19058,
10745,
353,
326,
805,
19,
20722,
4748,
18,
5411,
309,
16051,
4079,
9132,
1304,
18,
291,
1868,
9132,
49,
11142,
10745,
10756,
288,
309,
261,
291,
10399,
13,
288,
1377,
4378,
6497,
18,
6923,
3491,
12,
2941,
743,
3491,
16,
3112,
743,
397,
1387,
18,
11287,
397,
315,
77,
30575,
8863,
289,
289,
469,
288,
4766,
565,
368,
2672,
326,
729,
2553,
1550,
2190,
578,
326,
27513,
3112,
7734,
368,
589,
487,
326,
805,
16070,
62,
2627,
2534,
67,
1653,
3412,
67,
14209,
460,
18,
7734,
514,
1550,
13542,
44,
273,
4378,
6497,
18,
588,
3491,
2932,
5980,
62,
2627,
2534,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
9132,
9220,
1435,
1216,
804,
15859,
2570,
503,
288,
3639,
368,
1021,
15408,
1794,
353,
1399,
18,
3639,
368,
971,
326,
15408,
2923,
6448,
585,
3637,
1703,
1818,
6454,
16,
540,
368,
2537,
327,
18,
3639,
309,
261,
291,
9132,
9220,
11459,
13,
288,
5411,
327,
31,
3639,
289,
3639,
775,
288,
5411,
368,
2962,
17,
6923,
326,
804,
2565,
39,
3112,
589,
358,
7767,
12,
265,
8202,
13,
578,
2398,
368,
28083,
67,
2053,
28254,
67,
4211,
12,
265,
9480,
2934,
4766,
4378,
6497,
18,
6923,
3491,
12,
2941,
743,
3491,
16,
3112,
743,
1769,
2398,
514,
4748,
743,
273,
2999,
9132,
1304,
18,
588,
9132,
743,
5621,
5411,
309,
261,
11213,
743,
422,
2
] |
public void visitLSUB(LSUB obj) { consumeStack(obj); pushValue(typeRepository.getLongType()); }
|
public void visitLSUB(LSUB obj) { consumeStack(obj); pushValue(typeRepository.getLongType()); }
|
public void visitLSUB(LSUB obj) { consumeStack(obj); pushValue(typeRepository.getLongType()); }
|
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/4748a5a9b76f3dd763ee6bc7755c932a711bd6a6/BetterTypeFrameModelingVisitor.java/clean/findbugs/src/java/edu/umd/cs/findbugs/ba/BetterTypeFrameModelingVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
3045,
3457,
12,
3045,
3457,
1081,
13,
6862,
202,
95,
7865,
2624,
12,
2603,
1769,
1817,
620,
12,
723,
3305,
18,
588,
3708,
559,
10663,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
3045,
3457,
12,
3045,
3457,
1081,
13,
6862,
202,
95,
7865,
2624,
12,
2603,
1769,
1817,
620,
12,
723,
3305,
18,
588,
3708,
559,
10663,
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
] |
JPanel p = new JPanel(new FlowLayout(FlowLayout.RIGHT));
|
JPanel p = new JPanel(new BorderLayout()); JCheckBox cb = new JCheckBox("Show Whitespace Text Nodes"); cb.setSelected(showWhitespace); cb.addItemListener(new ItemListener() { public void itemStateChanged(ItemEvent ie) { setShowWhitespace (ie.getStateChange() == ItemEvent.SELECTED); } }); p.add(cb, BorderLayout.WEST);
|
public DOMViewer() { super(resources.getString("Frame.title")); setSize(resources.getInteger("Frame.width"), resources.getInteger("Frame.height")); listeners.put("CloseButtonAction", new CloseButtonAction()); getContentPane().add(panel); JPanel p = new JPanel(new FlowLayout(FlowLayout.RIGHT)); ButtonFactory bf = new ButtonFactory(bundle, this); p.add(bf.createJButton("CloseButton")); getContentPane().add("South", p); }
|
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/ff8a6091b8643e1ca5f8248aab90ed58bb698651/DOMViewer.java/clean/sources/org/apache/batik/util/gui/DOMViewer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4703,
18415,
1435,
288,
202,
9565,
12,
4683,
18,
588,
780,
2932,
3219,
18,
2649,
7923,
1769,
202,
542,
1225,
12,
4683,
18,
588,
4522,
2932,
3219,
18,
2819,
6,
3631,
202,
202,
4683,
18,
588,
4522,
2932,
3219,
18,
4210,
7923,
1769,
202,
16072,
18,
458,
2932,
4605,
3616,
1803,
3113,
394,
3527,
3616,
1803,
10663,
202,
202,
588,
1350,
8485,
7675,
1289,
12,
13916,
1769,
3639,
24048,
293,
273,
394,
24048,
12,
2704,
30814,
10663,
225,
804,
19174,
2875,
273,
394,
804,
19174,
2932,
5706,
3497,
5211,
3867,
14037,
8863,
2875,
18,
542,
7416,
12,
4500,
9431,
1769,
2875,
18,
1289,
1180,
2223,
12,
2704,
4342,
2223,
1435,
288,
1071,
918,
761,
1119,
5033,
12,
1180,
1133,
9228,
13,
288,
444,
5706,
9431,
261,
1385,
18,
588,
22505,
1435,
422,
4342,
1133,
18,
4803,
2056,
1769,
289,
15549,
225,
293,
18,
1289,
12,
7358,
16,
30814,
18,
31285,
1769,
1850,
12569,
1733,
16222,
273,
394,
12569,
1733,
12,
9991,
16,
333,
1769,
3639,
293,
18,
1289,
12,
17156,
18,
2640,
46,
3616,
2932,
4605,
3616,
7923,
1769,
202,
588,
1350,
8485,
7675,
1289,
2932,
55,
15347,
3113,
293,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4703,
18415,
1435,
288,
202,
9565,
12,
4683,
18,
588,
780,
2932,
3219,
18,
2649,
7923,
1769,
202,
542,
1225,
12,
4683,
18,
588,
4522,
2932,
3219,
18,
2819,
6,
3631,
202,
202,
4683,
18,
588,
4522,
2932,
3219,
18,
4210,
7923,
1769,
202,
16072,
18,
458,
2932,
4605,
3616,
1803,
3113,
394,
3527,
3616,
1803,
10663,
202,
202,
588,
1350,
8485,
7675,
1289,
12,
13916,
1769,
3639,
24048,
293,
273,
394,
24048,
12,
2704,
30814,
10663,
225,
804,
19174,
2875,
273,
394,
804,
19174,
2932,
5706,
3497,
5211,
3867,
14037,
8863,
2875,
18,
542,
7416,
12,
4500,
9431,
1769,
2875,
18,
1289,
1180,
2223,
12,
2704,
4342,
2223,
1435,
288,
1071,
918,
761,
1119,
5033,
12,
2
] |
GraphModelConnection conn = (GraphModelConnection) i.next(); GraphicalEditPart part = (GraphicalEditPart) conn.getEditPart();
|
IGraphModelConnection conn = (IGraphModelConnection) i.next(); GraphicalEditPart part = (GraphicalEditPart) getViewer().getEditPartRegistry().get(conn);
|
public void filterConnections(NestedGraphModelNode node, boolean filter) { List connections = node.getGraphModel().getConnections(); for (Iterator i = connections.iterator(); i.hasNext();) { GraphModelConnection conn = (GraphModelConnection) i.next(); GraphicalEditPart part = (GraphicalEditPart) conn.getEditPart(); if (part != null) { if (!filter) { part.getFigure().setVisible(true); continue; } NestedGraphModelNode source = (NestedGraphModelNode) conn.getSource(); NestedGraphModelNode dest = (NestedGraphModelNode) conn.getDestination(); int sourceRel = node.getRelationshipBetweenNodes(source); int destRel = node.getRelationshipBetweenNodes(dest); boolean visible = ( ((sourceRel == NestedGraphModelNode.ANCESTOR) || (sourceRel == NestedGraphModelNode.SAME_NODE)) && ((destRel == NestedGraphModelNode.ANCESTOR) || (destRel == NestedGraphModelNode.SAME_NODE)) ); part.getFigure().setVisible(visible); } } }
|
11225 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11225/1aa9d8e4021b81d1278aaf3ff0dc441a0f195829/NestedGraphEditPart.java/buggy/org.eclipse.zest.core/src/org/eclipse/zest/core/internal/nestedgraphviewer/parts/NestedGraphEditPart.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1034,
9314,
12,
8649,
4137,
1488,
907,
756,
16,
1250,
1034,
13,
288,
202,
202,
682,
5921,
273,
756,
18,
588,
4137,
1488,
7675,
588,
9314,
5621,
202,
202,
1884,
261,
3198,
277,
273,
5921,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
1082,
202,
4137,
1488,
1952,
1487,
273,
261,
4137,
1488,
1952,
13,
277,
18,
4285,
5621,
1082,
202,
4137,
1706,
4666,
1988,
1087,
273,
261,
4137,
1706,
4666,
1988,
13,
1487,
18,
588,
4666,
1988,
5621,
1082,
202,
430,
261,
2680,
480,
446,
13,
288,
9506,
202,
430,
16051,
2188,
13,
288,
6862,
202,
2680,
18,
588,
42,
15906,
7675,
542,
6207,
12,
3767,
1769,
6862,
202,
17143,
31,
9506,
202,
97,
9506,
202,
8649,
4137,
1488,
907,
1084,
273,
261,
8649,
4137,
1488,
907,
13,
1487,
18,
588,
1830,
5621,
9506,
202,
8649,
4137,
1488,
907,
1570,
273,
261,
8649,
4137,
1488,
907,
13,
1487,
18,
588,
5683,
5621,
9506,
202,
474,
1084,
1971,
273,
756,
18,
588,
8180,
11831,
3205,
12,
3168,
1769,
9506,
202,
474,
1570,
1971,
273,
756,
18,
588,
8180,
11831,
3205,
12,
10488,
1769,
9506,
202,
6494,
6021,
273,
261,
6862,
202,
12443,
3168,
1971,
422,
19071,
4137,
1488,
907,
18,
4722,
882,
916,
13,
747,
6862,
202,
12,
3168,
1971,
422,
19071,
4137,
1488,
907,
18,
29080,
67,
8744,
3719,
597,
6862,
202,
12443,
10488,
1971,
422,
19071,
4137,
1488,
907,
18,
4722,
882,
916,
13,
747,
6862,
202,
12,
10488,
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,
1034,
9314,
12,
8649,
4137,
1488,
907,
756,
16,
1250,
1034,
13,
288,
202,
202,
682,
5921,
273,
756,
18,
588,
4137,
1488,
7675,
588,
9314,
5621,
202,
202,
1884,
261,
3198,
277,
273,
5921,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
1082,
202,
4137,
1488,
1952,
1487,
273,
261,
4137,
1488,
1952,
13,
277,
18,
4285,
5621,
1082,
202,
4137,
1706,
4666,
1988,
1087,
273,
261,
4137,
1706,
4666,
1988,
13,
1487,
18,
588,
4666,
1988,
5621,
1082,
202,
430,
261,
2680,
480,
446,
13,
288,
9506,
202,
430,
16051,
2188,
13,
288,
6862,
202,
2680,
18,
588,
42,
15906,
7675,
542,
6207,
12,
3767,
1769,
6862,
202,
17143,
31,
9506,
2
] |
return new Node(Token.FALSE);
|
return left;
|
Node createBinary(int nodeType, Node left, Node right) { switch (nodeType) { case Token.ADD: // numerical addition and string concatenation if (left.type == Token.STRING) { String s2; if (right.type == Token.STRING) { s2 = right.getString(); } else if (right.type == Token.NUMBER) { s2 = ScriptRuntime.numberToString(right.getDouble(), 10); } else { break; } String s1 = left.getString(); left.setString(s1.concat(s2)); return left; } else if (left.type == Token.NUMBER) { if (right.type == Token.NUMBER) { left.setDouble(left.getDouble() + right.getDouble()); return left; } else if (right.type == Token.STRING) { String s1, s2; s1 = ScriptRuntime.numberToString(left.getDouble(), 10); s2 = right.getString(); right.setString(s1.concat(s2)); return right; } } // can't do anything if we don't know both types - since // 0 + object is supposed to call toString on the object and do // string concantenation rather than addition break; case Token.SUB: // numerical subtraction if (left.type == Token.NUMBER) { double ld = left.getDouble(); if (right.type == Token.NUMBER) { //both numbers left.setDouble(ld - right.getDouble()); return left; } else if (ld == 0.0) { // first 0: 0-x -> -x return new Node(Token.NEG, right); } } else if (right.type == Token.NUMBER) { if (right.getDouble() == 0.0) { //second 0: x - 0 -> +x // can not make simply x because x - 0 must be number return new Node(Token.POS, left); } } break; case Token.MUL: // numerical multiplication if (left.type == Token.NUMBER) { double ld = left.getDouble(); if (right.type == Token.NUMBER) { //both numbers left.setDouble(ld * right.getDouble()); return left; } else if (ld == 1.0) { // first 1: 1 * x -> +x return new Node(Token.POS, right); } } else if (right.type == Token.NUMBER) { if (right.getDouble() == 1.0) { //second 1: x * 1 -> +x // can not make simply x because x - 0 must be number return new Node(Token.POS, left); } } // can't do x*0: Infinity * 0 gives NaN, not 0 break; case Token.DIV: // number division if (right.type == Token.NUMBER) { double rd = right.getDouble(); if (left.type == Token.NUMBER) { // both constants -- just divide, trust Java to handle x/0 left.setDouble(left.getDouble() / rd); return left; } else if (rd == 1.0) { // second 1: x/1 -> +x // not simply x to force number convertion return new Node(Token.POS, left); } } break; case Token.AND: { int leftStatus = isAlwaysDefinedBoolean(left); if (leftStatus == ALWAYS_FALSE_BOOLEAN) { // if the first one is false, replace with FALSE return new Node(Token.FALSE); } else if (leftStatus == ALWAYS_TRUE_BOOLEAN) { // if first is true, set to second return right; } int rightStatus = isAlwaysDefinedBoolean(right); if (rightStatus == ALWAYS_FALSE_BOOLEAN) { // if the second one is false, replace with FALSE if (!hasSideEffects(left)) { return new Node(Token.FALSE); } } else if (rightStatus == ALWAYS_TRUE_BOOLEAN) { // if second is true, set to first return left; } break; } case Token.OR: { int leftStatus = isAlwaysDefinedBoolean(left); if (leftStatus == ALWAYS_TRUE_BOOLEAN) { // if the first one is true, replace with TRUE return new Node(Token.TRUE); } else if (leftStatus == ALWAYS_FALSE_BOOLEAN) { // if first is false, set to second return right; } int rightStatus = isAlwaysDefinedBoolean(right); if (rightStatus == ALWAYS_TRUE_BOOLEAN) { // if the second one is true, replace with TRUE if (!hasSideEffects(left)) { return new Node(Token.TRUE); } } else if (rightStatus == ALWAYS_FALSE_BOOLEAN) { // if second is false, set to first return left; } break; } } return new Node(nodeType, left, right); }
|
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/c60f7529c444e06ec5b1196e72f59cac239b16fe/IRFactory.java/buggy/src/org/mozilla/javascript/IRFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
2029,
752,
5905,
12,
474,
9507,
16,
2029,
2002,
16,
2029,
2145,
13,
565,
288,
3639,
1620,
261,
2159,
559,
13,
288,
1850,
648,
3155,
18,
8355,
30,
5411,
368,
17409,
2719,
471,
533,
26833,
5411,
309,
261,
4482,
18,
723,
422,
3155,
18,
5804,
13,
288,
7734,
514,
272,
22,
31,
7734,
309,
261,
4083,
18,
723,
422,
3155,
18,
5804,
13,
288,
10792,
272,
22,
273,
2145,
18,
588,
780,
5621,
7734,
289,
469,
309,
261,
4083,
18,
723,
422,
3155,
18,
9931,
13,
288,
10792,
272,
22,
273,
7739,
5576,
18,
2696,
5808,
12,
4083,
18,
588,
5265,
9334,
1728,
1769,
7734,
289,
469,
288,
10792,
898,
31,
7734,
289,
7734,
514,
272,
21,
273,
2002,
18,
588,
780,
5621,
7734,
2002,
18,
542,
780,
12,
87,
21,
18,
16426,
12,
87,
22,
10019,
7734,
327,
2002,
31,
5411,
289,
469,
309,
261,
4482,
18,
723,
422,
3155,
18,
9931,
13,
288,
7734,
309,
261,
4083,
18,
723,
422,
3155,
18,
9931,
13,
288,
10792,
2002,
18,
542,
5265,
12,
4482,
18,
588,
5265,
1435,
397,
2145,
18,
588,
5265,
10663,
10792,
327,
2002,
31,
7734,
289,
469,
309,
261,
4083,
18,
723,
422,
3155,
18,
5804,
13,
288,
10792,
514,
272,
21,
16,
272,
22,
31,
10792,
272,
21,
273,
7739,
5576,
18,
2696,
5808,
12,
4482,
18,
588,
5265,
9334,
1728,
1769,
10792,
272,
22,
273,
2145,
18,
588,
780,
5621,
10792,
2145,
18,
542,
780,
12,
87,
21,
18,
16426,
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,
2029,
752,
5905,
12,
474,
9507,
16,
2029,
2002,
16,
2029,
2145,
13,
565,
288,
3639,
1620,
261,
2159,
559,
13,
288,
1850,
648,
3155,
18,
8355,
30,
5411,
368,
17409,
2719,
471,
533,
26833,
5411,
309,
261,
4482,
18,
723,
422,
3155,
18,
5804,
13,
288,
7734,
514,
272,
22,
31,
7734,
309,
261,
4083,
18,
723,
422,
3155,
18,
5804,
13,
288,
10792,
272,
22,
273,
2145,
18,
588,
780,
5621,
7734,
289,
469,
309,
261,
4083,
18,
723,
422,
3155,
18,
9931,
13,
288,
10792,
272,
22,
273,
7739,
5576,
18,
2696,
5808,
12,
4083,
18,
588,
5265,
9334,
1728,
1769,
7734,
289,
469,
288,
10792,
898,
31,
7734,
289,
7734,
514,
272,
21,
273,
2
] |
public CommonActionProviderDescriptor(IConfigurationElement aConfigElement, IConfigurationElement anEnablementExpression, String anOverrideId, boolean nestedUnderNavigatorContent) {
|
public CommonActionProviderDescriptor(IConfigurationElement aConfigElement) {
|
public CommonActionProviderDescriptor(IConfigurationElement aConfigElement, IConfigurationElement anEnablementExpression, String anOverrideId, boolean nestedUnderNavigatorContent) { super(); Assert.isTrue(TAG_ACTION_PROVIDER.equals(aConfigElement.getName())); Assert.isTrue(TAG_POSSIBLE_CHILDREN.equals(anEnablementExpression .getName()) || TAG_ENABLEMENT.equals(anEnablementExpression.getName())); configurationElement = aConfigElement; enablementElement = anEnablementExpression; visibilityId = anOverrideId; isNested = nestedUnderNavigatorContent; init(); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/5abf6fabfddc9bb4eb33acac1f3b4c05f76ac7b1/CommonActionProviderDescriptor.java/clean/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/actions/CommonActionProviderDescriptor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5658,
1803,
2249,
3187,
12,
45,
1750,
1046,
279,
809,
1046,
16,
1082,
202,
45,
1750,
1046,
392,
8317,
475,
2300,
16,
514,
392,
6618,
548,
16,
1082,
202,
6494,
4764,
14655,
22817,
1350,
13,
288,
202,
202,
9565,
5621,
202,
202,
8213,
18,
291,
5510,
12,
7927,
67,
12249,
67,
26413,
18,
14963,
12,
69,
809,
1046,
18,
17994,
1435,
10019,
202,
202,
8213,
18,
291,
5510,
12,
7927,
67,
2419,
1260,
13450,
900,
67,
27043,
24296,
18,
14963,
12,
304,
8317,
475,
2300,
9506,
202,
18,
17994,
10756,
9506,
202,
20081,
8358,
67,
29377,
3212,
18,
14963,
12,
304,
8317,
475,
2300,
18,
17994,
1435,
10019,
202,
202,
7025,
1046,
273,
279,
809,
1046,
31,
202,
202,
7589,
475,
1046,
273,
392,
8317,
475,
2300,
31,
202,
202,
14422,
548,
273,
392,
6618,
548,
31,
202,
202,
291,
8649,
273,
4764,
14655,
22817,
1350,
31,
202,
202,
2738,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5658,
1803,
2249,
3187,
12,
45,
1750,
1046,
279,
809,
1046,
16,
1082,
202,
45,
1750,
1046,
392,
8317,
475,
2300,
16,
514,
392,
6618,
548,
16,
1082,
202,
6494,
4764,
14655,
22817,
1350,
13,
288,
202,
202,
9565,
5621,
202,
202,
8213,
18,
291,
5510,
12,
7927,
67,
12249,
67,
26413,
18,
14963,
12,
69,
809,
1046,
18,
17994,
1435,
10019,
202,
202,
8213,
18,
291,
5510,
12,
7927,
67,
2419,
1260,
13450,
900,
67,
27043,
24296,
18,
14963,
12,
304,
8317,
475,
2300,
9506,
202,
18,
17994,
10756,
9506,
202,
20081,
8358,
67,
29377,
3212,
18,
14963,
12,
304,
8317,
475,
2300,
18,
17994,
1435,
10019,
202,
202,
7025,
1046,
273,
279,
809,
1046,
2
] |
Message reject = DMT.createFNPRoutedRejected(id);
|
Message reject = DMT.createFNPRoutedRejected(id, htl);
|
private boolean forward(Message m, long id, NodePeer pn, short htl, double target, RoutedContext ctx) { Logger.minor(this, "Should forward"); // Forward m = preForward(m, htl); NodePeer next = node.peers.closerPeer(pn, ctx.routedTo, target); Logger.minor(this, "Next: "+next+" message: "+m); if(next != null) { Logger.minor(this, "Forwarding "+m.getSpec()+" to "+next.getPeer().getPort()); ctx.addSent(next); next.sendAsync(m); } else { Logger.minor(this, "Reached dead end for "+m.getSpec()+" on "+node.portNumber); // Reached a dead end... Message reject = DMT.createFNPRoutedRejected(id); if(pn != null) pn.sendAsync(reject); } return true; }
|
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/67ffc74c653c146c3327643dba419ef696af844a/NodeDispatcher.java/clean/src/freenet/node/NodeDispatcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
5104,
12,
1079,
312,
16,
1525,
612,
16,
2029,
6813,
11059,
16,
3025,
366,
6172,
16,
1645,
1018,
16,
7271,
329,
1042,
1103,
13,
288,
3639,
4242,
18,
17364,
12,
2211,
16,
315,
14309,
5104,
8863,
3639,
368,
17206,
3639,
312,
273,
675,
8514,
12,
81,
16,
366,
6172,
1769,
3639,
2029,
6813,
1024,
273,
756,
18,
30502,
18,
27736,
6813,
12,
7449,
16,
1103,
18,
303,
4817,
774,
16,
1018,
1769,
3639,
4242,
18,
17364,
12,
2211,
16,
315,
2134,
30,
13773,
4285,
9078,
883,
30,
13773,
81,
1769,
3639,
309,
12,
4285,
480,
446,
13,
288,
5411,
4242,
18,
17364,
12,
2211,
16,
315,
21487,
13773,
81,
18,
588,
1990,
1435,
9078,
358,
13773,
4285,
18,
588,
6813,
7675,
588,
2617,
10663,
5411,
1103,
18,
1289,
7828,
12,
4285,
1769,
5411,
1024,
18,
4661,
2771,
12,
81,
1769,
3639,
289,
469,
288,
5411,
4242,
18,
17364,
12,
2211,
16,
315,
23646,
8363,
679,
364,
13773,
81,
18,
588,
1990,
1435,
9078,
603,
13773,
2159,
18,
655,
1854,
1769,
5411,
368,
868,
2004,
279,
8363,
679,
2777,
5411,
2350,
4925,
273,
463,
6152,
18,
2640,
19793,
52,
4583,
329,
19902,
12,
350,
16,
366,
6172,
1769,
5411,
309,
12,
7449,
480,
446,
13,
7734,
11059,
18,
4661,
2771,
12,
24163,
1769,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
5104,
12,
1079,
312,
16,
1525,
612,
16,
2029,
6813,
11059,
16,
3025,
366,
6172,
16,
1645,
1018,
16,
7271,
329,
1042,
1103,
13,
288,
3639,
4242,
18,
17364,
12,
2211,
16,
315,
14309,
5104,
8863,
3639,
368,
17206,
3639,
312,
273,
675,
8514,
12,
81,
16,
366,
6172,
1769,
3639,
2029,
6813,
1024,
273,
756,
18,
30502,
18,
27736,
6813,
12,
7449,
16,
1103,
18,
303,
4817,
774,
16,
1018,
1769,
3639,
4242,
18,
17364,
12,
2211,
16,
315,
2134,
30,
13773,
4285,
9078,
883,
30,
13773,
81,
1769,
3639,
309,
12,
4285,
480,
446,
13,
288,
5411,
4242,
18,
17364,
12,
2211,
16,
315,
21487,
13773,
81,
18,
588,
1990,
1435,
9078,
358,
13773,
2
] |
if (jj_scan_token(LBRACKET)) return true; if (jj_scan_token(RBRACKET)) return true;
|
if (jj_scan_token(PLUS)) return true;
|
final private boolean jj_3R_315() { if (jj_scan_token(LBRACKET)) return true; if (jj_scan_token(RBRACKET)) return true; return false; }
|
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/d443fc629d3f9538d4772fc74e3c6afa936e3ced/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
23,
3600,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
48,
21217,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
54,
21217,
3719,
327,
638,
31,
565,
327,
629,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
23,
3600,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
48,
21217,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
54,
21217,
3719,
327,
638,
31,
565,
327,
629,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
runtime.defineGlobalConstant("ENV", RubyHash.newHash(runtime, envs, null));
|
runtime.defineGlobalConstant("ENV", RubyHash.newHash(runtime, envs, runtime.getNil()));
|
public static void createGlobals(IRuby runtime) { // Version information: IRubyObject version = runtime.newString(Constants.RUBY_VERSION).freeze(); IRubyObject release = runtime.newString(Constants.COMPILE_DATE).freeze(); IRubyObject platform = runtime.newString(Constants.PLATFORM).freeze(); runtime.defineGlobalConstant("RUBY_VERSION", version); runtime.defineGlobalConstant("RUBY_RELEASE_DATE", release); runtime.defineGlobalConstant("RUBY_PLATFORM", platform); runtime.defineGlobalConstant("VERSION", version); runtime.defineGlobalConstant("RELEASE_DATE", release); runtime.defineGlobalConstant("PLATFORM", platform); // FIXME: ENV Not really a RubyHash (but close) // FIXME: ENV Should not copy system properties, but should reference them instead HashMap envs = new HashMap(); envs.put(runtime.newString("HOME"), runtime.newString(System.getProperty("user.home"))); runtime.defineGlobalConstant("ENV", RubyHash.newHash(runtime, envs, null)); runtime.defineVariable(new StringGlobalVariable(runtime, "$KCODE", runtime.newString("UTF8"))); runtime.defineVariable(new StringGlobalVariable(runtime, "$/", runtime.newString("\n"))); runtime.defineVariable(new StringGlobalVariable(runtime, "$\\", runtime.getNil())); runtime.defineVariable(new StringGlobalVariable(runtime, "$,", runtime.getNil())); runtime.defineVariable(new LineNumberGlobalVariable(runtime, "$.", RubyFixnum.one(runtime))); runtime.defineVariable(new LastlineGlobalVariable(runtime, "$_")); runtime.defineVariable(new ErrorInfoGlobalVariable(runtime, "$!", runtime.getNil())); runtime.defineVariable(new SafeGlobalVariable(runtime, "$SAFE")); runtime.defineVariable(new BacktraceGlobalVariable(runtime, "$@")); IRubyObject stdin = RubyIO.fdOpen(runtime, RubyIO.STDIN); IRubyObject stdout = RubyIO.fdOpen(runtime, RubyIO.STDOUT); IRubyObject stderr = RubyIO.fdOpen(runtime, RubyIO.STDERR); runtime.defineVariable(new InputGlobalVariable(runtime, "$stdin", stdin)); runtime.defineVariable(new OutputGlobalVariable(runtime, "$stdout", stdout)); runtime.defineVariable(new OutputGlobalVariable(runtime, "$stderr", stderr)); runtime.defineVariable(new OutputGlobalVariable(runtime, "$>", stdout)); runtime.defineVariable(new OutputGlobalVariable(runtime, "$defout", stdout)); runtime.defineVariable(new OutputGlobalVariable(runtime, "$deferr", stderr)); runtime.defineGlobalConstant("STDIN", stdin); runtime.defineGlobalConstant("STDOUT", stdout); runtime.defineGlobalConstant("STDERR", stderr); runtime.defineVariable(new LoadedFeatures(runtime, "$\"")); runtime.defineVariable(new LoadPath(runtime, "$:")); runtime.defineVariable(new LoadPath(runtime, "$-I")); runtime.defineVariable(new LoadPath(runtime, "$LOAD_PATH")); // ARGF, $< object RubyArgsFile argsFile = new RubyArgsFile(runtime); argsFile.initArgsFile(); }
|
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/ebc655285fa55c939b42b33be335d9f4b2040047/RubyGlobal.java/buggy/src/org/jruby/RubyGlobal.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
752,
19834,
12,
7937,
10340,
3099,
13,
288,
3639,
368,
4049,
1779,
30,
3639,
15908,
10340,
921,
1177,
273,
3099,
18,
2704,
780,
12,
2918,
18,
54,
3457,
61,
67,
5757,
2934,
29631,
5621,
3639,
15908,
10340,
921,
3992,
273,
3099,
18,
2704,
780,
12,
2918,
18,
31075,
900,
67,
4594,
2934,
29631,
5621,
3639,
15908,
10340,
921,
4072,
273,
3099,
18,
2704,
780,
12,
2918,
18,
6253,
789,
4983,
2934,
29631,
5621,
3639,
3099,
18,
11255,
5160,
6902,
2932,
54,
3457,
61,
67,
5757,
3113,
1177,
1769,
3639,
3099,
18,
11255,
5160,
6902,
2932,
54,
3457,
61,
67,
30762,
67,
4594,
3113,
3992,
1769,
3639,
3099,
18,
11255,
5160,
6902,
2932,
54,
3457,
61,
67,
6253,
789,
4983,
3113,
4072,
1769,
3639,
3099,
18,
11255,
5160,
6902,
2932,
5757,
3113,
1177,
1769,
3639,
3099,
18,
11255,
5160,
6902,
2932,
30762,
67,
4594,
3113,
3992,
1769,
3639,
3099,
18,
11255,
5160,
6902,
2932,
6253,
789,
4983,
3113,
4072,
1769,
9506,
202,
759,
9852,
30,
15615,
2288,
8654,
279,
19817,
2310,
261,
12885,
1746,
13,
3196,
202,
759,
9852,
30,
15615,
9363,
486,
1610,
2619,
1790,
16,
1496,
1410,
2114,
2182,
3560,
3639,
4317,
22432,
273,
394,
4317,
5621,
202,
202,
30339,
18,
458,
12,
9448,
18,
2704,
780,
2932,
14209,
6,
3631,
3099,
18,
2704,
780,
12,
3163,
18,
588,
1396,
2932,
1355,
18,
8712,
6,
3719,
1769,
3639,
3099,
18,
11255,
5160,
6902,
2932,
11986,
3113,
19817,
2310,
18,
2704,
2310,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
752,
19834,
12,
7937,
10340,
3099,
13,
288,
3639,
368,
4049,
1779,
30,
3639,
15908,
10340,
921,
1177,
273,
3099,
18,
2704,
780,
12,
2918,
18,
54,
3457,
61,
67,
5757,
2934,
29631,
5621,
3639,
15908,
10340,
921,
3992,
273,
3099,
18,
2704,
780,
12,
2918,
18,
31075,
900,
67,
4594,
2934,
29631,
5621,
3639,
15908,
10340,
921,
4072,
273,
3099,
18,
2704,
780,
12,
2918,
18,
6253,
789,
4983,
2934,
29631,
5621,
3639,
3099,
18,
11255,
5160,
6902,
2932,
54,
3457,
61,
67,
5757,
3113,
1177,
1769,
3639,
3099,
18,
11255,
5160,
6902,
2932,
54,
3457,
61,
67,
30762,
67,
4594,
3113,
3992,
1769,
3639,
3099,
18,
11255,
5160,
6902,
2932,
54,
3457,
61,
2
] |
synPredMatched428 = false;
|
synPredMatched1060 = false;
|
public final void unaryExpressionNotPlusMinus() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST unaryExpressionNotPlusMinus_AST = null; Token lpb = null; AST lpb_AST = null; Token lp = null; AST lp_AST = null; switch ( LA(1)) { case BNOT: { AST tmp318_AST = null; tmp318_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp318_AST); match(BNOT); nls(); unaryExpression(); astFactory.addASTChild(currentAST, returnAST); unaryExpressionNotPlusMinus_AST = (AST)currentAST.root; break; } case LNOT: { AST tmp319_AST = null; tmp319_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp319_AST); match(LNOT); nls(); unaryExpression(); astFactory.addASTChild(currentAST, returnAST); unaryExpressionNotPlusMinus_AST = (AST)currentAST.root; break; } case LBRACK: case IDENT: case LPAREN: case LITERAL_super: case LITERAL_void: case LITERAL_boolean: case LITERAL_byte: case LITERAL_char: case LITERAL_short: case LITERAL_int: case LITERAL_float: case LITERAL_long: case LITERAL_double: case LITERAL_any: case LCURLY: case LITERAL_this: case STRING_LITERAL: case LITERAL_true: case LITERAL_false: case LITERAL_null: case STRING_CTOR_START: case LITERAL_new: case NUM_INT: case NUM_FLOAT: case NUM_LONG: case NUM_DOUBLE: case NUM_BIG_INT: case NUM_BIG_DECIMAL: { { boolean synPredMatched426 = false; if (((LA(1)==LPAREN) && ((LA(2) >= LITERAL_void && LA(2) <= LITERAL_any)) && (LA(3)==LBRACK||LA(3)==RPAREN))) { int _m426 = mark(); synPredMatched426 = true; inputState.guessing++; try { { match(LPAREN); builtInTypeSpec(true); match(RPAREN); unaryExpression(); } } catch (RecognitionException pe) { synPredMatched426 = false; } rewind(_m426); inputState.guessing--; } if ( synPredMatched426 ) { lpb = LT(1); lpb_AST = astFactory.create(lpb); astFactory.makeASTRoot(currentAST, lpb_AST); match(LPAREN); if ( inputState.guessing==0 ) { lpb_AST.setType(TYPECAST); } builtInTypeSpec(true); astFactory.addASTChild(currentAST, returnAST); match(RPAREN); unaryExpression(); astFactory.addASTChild(currentAST, returnAST); } else { boolean synPredMatched428 = false; if (((LA(1)==LPAREN) && (LA(2)==IDENT) && (_tokenSet_126.member(LA(3))))) { int _m428 = mark(); synPredMatched428 = true; inputState.guessing++; try { { match(LPAREN); classTypeSpec(true); match(RPAREN); unaryExpressionNotPlusMinus(); } } catch (RecognitionException pe) { synPredMatched428 = false; } rewind(_m428); inputState.guessing--; } if ( synPredMatched428 ) { lp = LT(1); lp_AST = astFactory.create(lp); astFactory.makeASTRoot(currentAST, lp_AST); match(LPAREN); if ( inputState.guessing==0 ) { lp_AST.setType(TYPECAST); } classTypeSpec(true); astFactory.addASTChild(currentAST, returnAST); match(RPAREN); unaryExpressionNotPlusMinus(); astFactory.addASTChild(currentAST, returnAST); } else if ((_tokenSet_127.member(LA(1))) && (_tokenSet_128.member(LA(2))) && (_tokenSet_8.member(LA(3)))) { postfixExpression(); astFactory.addASTChild(currentAST, returnAST); } else { throw new NoViableAltException(LT(1), getFilename()); } } } unaryExpressionNotPlusMinus_AST = (AST)currentAST.root; break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } returnAST = unaryExpressionNotPlusMinus_AST; }
|
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/0116bf864ced52bd188b9d77a4ac03fe93680645/GroovyRecognizer.java/buggy/src/main/org/codehaus/groovy/antlr/parser/GroovyRecognizer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
19017,
2300,
1248,
13207,
18434,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
9053,
19017,
2300,
1248,
13207,
18434,
67,
9053,
273,
446,
31,
202,
202,
1345,
225,
328,
5733,
273,
446,
31,
202,
202,
9053,
328,
5733,
67,
9053,
273,
446,
31,
202,
202,
1345,
225,
12423,
273,
446,
31,
202,
202,
9053,
12423,
67,
9053,
273,
446,
31,
9506,
202,
9610,
261,
2928,
12,
21,
3719,
288,
202,
202,
3593,
605,
4400,
30,
202,
202,
95,
1082,
202,
9053,
1853,
23,
2643,
67,
9053,
273,
446,
31,
1082,
202,
5645,
23,
2643,
67,
9053,
273,
3364,
1733,
18,
2640,
12,
12050,
12,
21,
10019,
1082,
202,
689,
1733,
18,
6540,
9053,
2375,
12,
2972,
9053,
16,
1853,
23,
2643,
67,
9053,
1769,
1082,
202,
1916,
12,
38,
4400,
1769,
1082,
202,
82,
3251,
5621,
1082,
202,
318,
814,
2300,
5621,
1082,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
327,
9053,
1769,
1082,
202,
318,
814,
2300,
1248,
13207,
18434,
67,
9053,
273,
261,
9053,
13,
2972,
9053,
18,
3085,
31,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
511,
4400,
30,
202,
202,
95,
1082,
202,
9053,
1853,
23,
3657,
67,
9053,
273,
446,
31,
1082,
202,
5645,
23,
3657,
67,
9053,
273,
3364,
1733,
18,
2640,
12,
12050,
12,
21,
10019,
1082,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
19017,
2300,
1248,
13207,
18434,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
9053,
19017,
2300,
1248,
13207,
18434,
67,
9053,
273,
446,
31,
202,
202,
1345,
225,
328,
5733,
273,
446,
31,
202,
202,
9053,
328,
5733,
67,
9053,
273,
446,
31,
202,
202,
1345,
225,
12423,
273,
446,
31,
202,
202,
9053,
12423,
67,
9053,
273,
446,
31,
9506,
202,
9610,
261,
2928,
12,
21,
3719,
288,
202,
202,
3593,
605,
4400,
30,
202,
202,
95,
1082,
202,
9053,
1853,
23,
2643,
67,
9053,
273,
446,
31,
1082,
202,
5645,
23,
2643,
2
] |
_length = -1; _state = STATE_HEADER_VALUE;
|
_length=-1; _state=STATE_HEADER_VALUE;
|
public boolean parseNext() throws IOException { if (_buffer==null) { _header = _buffers.getBuffer(_headerBufferSize); _buffer = _header; _tok0 = new View(_header); _tok1 = new View(_header); _tok0.setPutIndex(_tok0.getIndex()); _tok1.setPutIndex(_tok1.getIndex()); } if (_state == STATE_END) throw new IllegalStateException("STATE_END"); if (_state == STATE_CONTENT && _contentPosition == _contentLength) { _state = STATE_END; _handler.messageComplete(_contentPosition); return false; } int length=_buffer.length(); boolean fill_called=false; // Fill buffer if we can if (length == 0) { int filled = -1; if (_content!=null && _buffer!=_content) { _buffer=_content; filled=_buffer.length(); } if (_buffer.markIndex() == 0 && _buffer.putIndex() == _buffer.capacity()) throw new IOException("FULL"); if (_endp != null && filled<=0) { // Compress buffer if handling _content buffer // TODO check this is not moving data too much if (_buffer == _content) _buffer.compact(); if (_buffer.space() == 0) { throw new IOException("FULL"); } try { filled = _endp.fill(_buffer); fill_called=true; } catch(IOException ioe) { Log.debug(ioe); reset(true); throw new IOException("EOF"); } } if (filled < 0 && _state == STATE_EOF_CONTENT) { _state = STATE_END; _handler.messageComplete(_contentPosition); return fill_called; } if (filled < 0) { reset(true); throw new IOException("EOF"); } length=_buffer.length(); } // EventHandler header byte ch; byte[] array = _buffer.array(); Buffer cached = null; while (_state < STATE_END && length-->0) { ch = _buffer.get(); if (_eol == CARRIAGE_RETURN && ch == LINE_FEED) { _eol = LINE_FEED; continue; } _eol = 0; switch (_state) { case STATE_START: _contentLength = UNKNOWN_CONTENT; if (ch > SPACE) { _buffer.mark(); _state = STATE_FIELD0; } break; case STATE_FIELD0: if (ch == SPACE) { _tok0.update(_buffer.markIndex(), _buffer.getIndex() - 1); _state = STATE_SPACE1; continue; } else if (ch < SPACE) { throw new IOException("BAD"); } break; case STATE_SPACE1: if (ch > SPACE) { _buffer.mark(); _state = STATE_FIELD1; _response = ch >= '1' && ch <= '5'; } else if (ch < SPACE) { throw new IOException("BAD"); } break; case STATE_FIELD1: if (ch == SPACE) { _tok1.update(_buffer.markIndex(), _buffer.getIndex() - 1); _state = STATE_SPACE2; continue; } else if (ch < SPACE) { // HTTP/0.9 _handler.startRequest(HttpMethods.CACHE.lookup(_tok0), _buffer .sliceFromMark(), null); _state = STATE_END; _handler.headerComplete(); _handler.messageComplete(_contentPosition); return fill_called; } break; case STATE_SPACE2: if (ch > SPACE) { _buffer.mark(); _state = STATE_FIELD2; } else if (ch < SPACE) { // HTTP/0.9 _handler.startRequest(HttpMethods.CACHE.lookup(_tok0), _tok1, null); _state = STATE_END; _handler.headerComplete(); _handler.messageComplete(_contentPosition); return fill_called; } break; case STATE_FIELD2: if (ch == CARRIAGE_RETURN || ch == LINE_FEED) { if (_response) _handler.startResponse(HttpVersions.CACHE.lookup(_tok0), BufferUtil .toInt(_tok1), _buffer.sliceFromMark()); else _handler.startRequest(HttpMethods.CACHE.lookup(_tok0), _tok1, HttpVersions.CACHE.lookup(_buffer.sliceFromMark())); _eol = ch; _state = STATE_HEADER; _tok0.setPutIndex(_tok0.getIndex()); _tok1.setPutIndex(_tok1.getIndex()); _multiLineValue = null; return fill_called; } break; case STATE_HEADER: if (ch == COLON || ch == SPACE || ch == TAB) { // header value without name - continuation? _length = -1; _state = STATE_HEADER_VALUE; } else { // handler last header if any if (cached!=null || _tok0.length() > 0 || _tok1.length() > 0 || _multiLineValue != null) { Buffer header = cached!=null?cached:HttpHeaders.CACHE.lookup(_tok0); cached=null; Buffer value = _multiLineValue == null ? (Buffer) _tok1 : (Buffer) new ByteArrayBuffer(_multiLineValue); int ho = HttpHeaders.CACHE.getOrdinal(header); if (ho >= 0) { int vo = -1; switch (ho) { case HttpHeaders.CONTENT_LENGTH_ORDINAL: if (_contentLength != CHUNKED_CONTENT) { _contentLength = BufferUtil.toInt(value); if (_contentLength <= 0) _contentLength = HttpParser.NO_CONTENT; } break; case HttpHeaders.CONNECTION_ORDINAL: // TODO comma list of connections !!! value = HttpHeaderValues.CACHE.lookup(value); break; case HttpHeaders.TRANSFER_ENCODING_ORDINAL: value = HttpHeaderValues.CACHE.lookup(value); vo=HttpHeaderValues.CACHE.getOrdinal(value); if (HttpHeaderValues.CHUNKED_ORDINAL == vo) _contentLength = CHUNKED_CONTENT; else { // TODO avoid string conversion here String c = value.toString(); if (c.endsWith(HttpHeaderValues.CHUNKED)) _contentLength = CHUNKED_CONTENT; else if (c.indexOf(HttpHeaderValues.CHUNKED) >= 0) throw new HttpException(400,null); } break; case HttpHeaders.CONTENT_TYPE_ORDINAL: _hasContent = true; break; } } _handler.parsedHeader(header, value); _tok0.setPutIndex(_tok0.getIndex()); _tok1.setPutIndex(_tok1.getIndex()); _multiLineValue = null; } // now handle ch if (ch == CARRIAGE_RETURN || ch == LINE_FEED) { // End of header // work out the _content demarcation if (_contentLength == UNKNOWN_CONTENT) { if (_hasContent || _response) _contentLength = EOF_CONTENT; else _contentLength = NO_CONTENT; } _contentPosition = 0; _eol = ch; switch (_contentLength) { case HttpParser.EOF_CONTENT: _state = STATE_EOF_CONTENT; if(_content==null && _buffers!=null) _content=_buffers.getBuffer(_contentBufferSize); _handler.headerComplete(); // May recurse here ! break; case HttpParser.CHUNKED_CONTENT: _state = STATE_CHUNKED_CONTENT; if (_content==null && _buffers!=null) _content=_buffers.getBuffer(_contentBufferSize); _handler.headerComplete(); // May recurse here ! break; case HttpParser.NO_CONTENT: _state = STATE_END; _handler.headerComplete(); // May recurse here ! _handler.messageComplete(_contentPosition); break; default: _state = STATE_CONTENT; if(_buffers!=null && _content==null && _buffer==_header && _contentLength>(_header.capacity()-_header.getIndex())) _content=_buffers.getBuffer(_contentBufferSize); _handler.headerComplete(); // May recurse here ! break; } return fill_called; } else { // New header _length = 1; _buffer.mark(); _state = STATE_HEADER_NAME; // try cached name! cached = HttpHeaders.CACHE.getBest(array, _buffer.markIndex(), length+1); if (cached!=null) { _length=cached.length(); _buffer.setGetIndex(_buffer.markIndex()+_length); length=_buffer.length(); } } } break; case STATE_HEADER_NAME: if (ch == CARRIAGE_RETURN || ch == LINE_FEED) { if (_length > 0) _tok0.update(_buffer.markIndex(), _buffer.markIndex() + _length); _eol = ch; _state = STATE_HEADER; } else if (ch == COLON) { if (_length > 0 && cached==null) _tok0.update(_buffer.markIndex(), _buffer.markIndex() + _length); _length = -1; _state = STATE_HEADER_VALUE; } else if (ch != SPACE && ch != TAB) { // Drag the mark if (_length == -1) _buffer.mark(); _length = _buffer.getIndex() - _buffer.markIndex(); } break; case STATE_HEADER_VALUE: if (ch == CARRIAGE_RETURN || ch == LINE_FEED) { if (_length > 0) { if (_tok1.length() == 0) _tok1.update(_buffer.markIndex(), _buffer.markIndex() + _length); else { // Continuation line! // TODO - deal with CR LF and COLON? if (_multiLineValue == null) _multiLineValue = _tok1.toString(); _tok1.update(_buffer.markIndex(), _buffer.markIndex() + _length); _multiLineValue += " " + _tok1.toString(); } } _eol = ch; _state = STATE_HEADER; } else if (ch != SPACE && ch != TAB) { if (_length == -1) _buffer.mark(); _length = _buffer.getIndex() - _buffer.markIndex(); } break; } } // end of HEADER states loop // Handle _content Buffer chunk; length = _buffer.length(); while (_state > STATE_END && length > 0) { if (_eol == CARRIAGE_RETURN && _buffer.peek() == LINE_FEED) { _eol = _buffer.get(); length = _buffer.length(); continue; } _eol = 0; switch (_state) { case STATE_EOF_CONTENT: chunk = _buffer.get(_buffer.length()); _contentPosition += chunk.length(); _handler.content(chunk); return fill_called; case STATE_CONTENT: { int remaining = _contentLength - _contentPosition; if (remaining == 0) { _state = STATE_END; _handler.messageComplete(_contentPosition); return fill_called; } else if (length > remaining) length = remaining; chunk = _buffer.get(length); _contentPosition += chunk.length(); _handler.content(chunk); return fill_called; } case STATE_CHUNKED_CONTENT: { ch = _buffer.peek(); if (ch == CARRIAGE_RETURN || ch == LINE_FEED) _eol = _buffer.get(); else if (ch <= SPACE) _buffer.get(); else { _chunkLength = 0; _chunkPosition = 0; _state = STATE_CHUNK_SIZE; } break; } case STATE_CHUNK_SIZE: { ch = _buffer.get(); if (ch == CARRIAGE_RETURN || ch == LINE_FEED) { _eol = ch; if (_chunkLength == 0) { _state = STATE_END; _handler.messageComplete(_contentPosition); return fill_called; } else _state = STATE_CHUNK; } else if (ch <= SPACE || ch == SEMI_COLON) _state = STATE_CHUNK_PARAMS; else if (ch >= '0' && ch <= '9') _chunkLength = _chunkLength * 16 + (ch - '0'); else if (ch >= 'a' && ch <= 'f') _chunkLength = _chunkLength * 16 + (10 + ch - 'a'); else if (ch >= 'A' && ch <= 'F') _chunkLength = _chunkLength * 16 + (10 + ch - 'A'); else throw new IOException("bad chunk char: " + ch); break; } case STATE_CHUNK_PARAMS: { ch = _buffer.get(); if (ch == CARRIAGE_RETURN || ch == LINE_FEED) { _eol = ch; if (_chunkLength == 0) { _state = STATE_END; _handler.messageComplete(_contentPosition); return fill_called; } else _state = STATE_CHUNK; } break; } case STATE_CHUNK: { int remaining = _chunkLength - _chunkPosition; if (remaining == 0) { _state = STATE_CHUNKED_CONTENT; break; } else if (length > remaining) length = remaining; chunk = _buffer.get(length); _contentPosition += chunk.length(); _chunkPosition += chunk.length(); _handler.content(chunk); return fill_called; } } length = _buffer.length(); } return fill_called; }
|
13242 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13242/a90899eaab63c0168ef6437b6555c13e623995b5/HttpParser.java/buggy/modules/jetty/src/main/java/org/mortbay/jetty/HttpParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1109,
2134,
1435,
1216,
1860,
565,
288,
3639,
309,
261,
67,
4106,
631,
2011,
13,
3639,
288,
5411,
389,
3374,
273,
389,
28101,
18,
588,
1892,
24899,
3374,
15384,
1769,
5411,
389,
4106,
273,
389,
3374,
31,
5411,
389,
17692,
20,
273,
394,
4441,
24899,
3374,
1769,
5411,
389,
17692,
21,
273,
394,
4441,
24899,
3374,
1769,
5411,
389,
17692,
20,
18,
542,
6426,
1016,
24899,
17692,
20,
18,
588,
1016,
10663,
5411,
389,
17692,
21,
18,
542,
6426,
1016,
24899,
17692,
21,
18,
588,
1016,
10663,
3639,
289,
7734,
309,
261,
67,
2019,
422,
7442,
67,
4415,
13,
604,
394,
5477,
2932,
7998,
67,
4415,
8863,
3639,
309,
261,
67,
2019,
422,
7442,
67,
9689,
597,
389,
1745,
2555,
422,
389,
1745,
1782,
13,
3639,
288,
5411,
389,
2019,
273,
7442,
67,
4415,
31,
5411,
389,
4176,
18,
2150,
6322,
24899,
1745,
2555,
1769,
5411,
327,
629,
31,
3639,
289,
7734,
509,
769,
33,
67,
4106,
18,
2469,
5621,
3639,
1250,
3636,
67,
11777,
33,
5743,
31,
7734,
368,
14192,
1613,
309,
732,
848,
3639,
309,
261,
2469,
422,
374,
13,
3639,
288,
5411,
509,
6300,
273,
300,
21,
31,
5411,
309,
261,
67,
1745,
5,
33,
2011,
597,
389,
4106,
5,
33,
67,
1745,
13,
5411,
288,
7734,
389,
4106,
33,
67,
1745,
31,
7734,
6300,
33,
67,
4106,
18,
2469,
5621,
5411,
289,
18701,
309,
261,
67,
4106,
18,
3355,
1016,
1435,
422,
374,
597,
389,
4106,
18,
458,
1016,
1435,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1109,
2134,
1435,
1216,
1860,
565,
288,
3639,
309,
261,
67,
4106,
631,
2011,
13,
3639,
288,
5411,
389,
3374,
273,
389,
28101,
18,
588,
1892,
24899,
3374,
15384,
1769,
5411,
389,
4106,
273,
389,
3374,
31,
5411,
389,
17692,
20,
273,
394,
4441,
24899,
3374,
1769,
5411,
389,
17692,
21,
273,
394,
4441,
24899,
3374,
1769,
5411,
389,
17692,
20,
18,
542,
6426,
1016,
24899,
17692,
20,
18,
588,
1016,
10663,
5411,
389,
17692,
21,
18,
542,
6426,
1016,
24899,
17692,
21,
18,
588,
1016,
10663,
3639,
289,
7734,
309,
261,
67,
2019,
422,
7442,
67,
4415,
13,
604,
394,
5477,
2932,
7998,
67,
4415,
8863,
3639,
309,
261,
67,
2019,
422,
7442,
67,
9689,
2
] |
assertEqual(t.toString(), expecting);
|
assertEquals(t.toString(), expecting);
|
public void testEscapes() throws Exception { StringTemplateGroup group = new StringTemplateGroup("dummy", "."); String newline = System.getProperty("line.separator"); group.defineTemplate("foo", "$x$ && $it$"); StringTemplate t = new StringTemplate( group, "$A:foo(x=\"dog\\\"\\\"\")$" // $A:foo("dog\"\"")$ ); StringTemplate u = new StringTemplate( group, "$A:foo(x=\"dog\\\"g\")$" // $A:foo(x="dog\"g")$ ); StringTemplate v = new StringTemplate( group, // $A:{$attr:foo(x="\{dog\}\"")$ is cool}$ "$A:{$it:foo(x=\"\\{dog\\}\\\"\")$ is cool}$" ); t.setAttribute("A", "ick"); u.setAttribute("A", "ick"); v.setAttribute("A", "ick"); //System.out.println("t is '"+t.toString()+"'"); //System.out.println("u is '"+u.toString()+"'"); //System.out.println("v is '"+v.toString()+"'"); String expecting = "dog\"\" && ick"; assertEqual(t.toString(), expecting); expecting = "dog\"g && ick"; assertEqual(u.toString(), expecting); expecting = "{dog}\" && ick is cool"; assertEqual(v.toString(), expecting); }
|
52527 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52527/158b0f9c5220709dc9d801ee911d1605a906ccaf/TestStringTemplate.java/clean/src/org/antlr/stringtemplate/test/TestStringTemplate.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
30092,
1435,
1216,
1185,
288,
202,
202,
780,
2283,
1114,
1041,
273,
9506,
202,
2704,
514,
2283,
1114,
2932,
21050,
3113,
4585,
1769,
202,
202,
780,
9472,
273,
2332,
18,
588,
1396,
2932,
1369,
18,
11287,
8863,
202,
202,
1655,
18,
11255,
2283,
2932,
11351,
3113,
4662,
92,
8,
597,
271,
305,
8,
8863,
202,
202,
780,
2283,
268,
273,
9506,
202,
2704,
514,
2283,
12,
25083,
202,
1655,
16,
25083,
202,
6,
8,
37,
30,
11351,
12,
92,
5189,
20330,
1695,
2412,
1695,
2412,
2412,
13,
12911,
368,
271,
37,
30,
11351,
2932,
20330,
2412,
2412,
7923,
8,
9506,
202,
1769,
202,
202,
780,
2283,
582,
273,
9506,
202,
2704,
514,
2283,
12,
25083,
202,
1655,
16,
25083,
202,
6,
8,
37,
30,
11351,
12,
92,
5189,
20330,
1695,
2412,
75,
2412,
13,
12911,
368,
271,
37,
30,
11351,
12,
92,
1546,
20330,
2412,
75,
7923,
8,
9506,
202,
1769,
202,
202,
780,
2283,
331,
273,
9506,
202,
2704,
514,
2283,
12,
25083,
202,
1655,
16,
25083,
202,
759,
271,
37,
30,
2746,
1747,
30,
11351,
12,
92,
1546,
64,
95,
20330,
64,
16276,
7923,
8,
353,
27367,
22496,
25083,
202,
6,
8,
37,
30,
2746,
305,
30,
11351,
12,
92,
5189,
1695,
95,
20330,
1695,
97,
1695,
2412,
2412,
21877,
353,
27367,
97,
12911,
9506,
202,
1769,
202,
202,
88,
18,
542,
1499,
2932,
37,
3113,
315,
1200,
8863,
202,
202,
89,
18,
542,
1499,
2932,
37,
3113,
315,
1200,
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,
1842,
30092,
1435,
1216,
1185,
288,
202,
202,
780,
2283,
1114,
1041,
273,
9506,
202,
2704,
514,
2283,
1114,
2932,
21050,
3113,
4585,
1769,
202,
202,
780,
9472,
273,
2332,
18,
588,
1396,
2932,
1369,
18,
11287,
8863,
202,
202,
1655,
18,
11255,
2283,
2932,
11351,
3113,
4662,
92,
8,
597,
271,
305,
8,
8863,
202,
202,
780,
2283,
268,
273,
9506,
202,
2704,
514,
2283,
12,
25083,
202,
1655,
16,
25083,
202,
6,
8,
37,
30,
11351,
12,
92,
5189,
20330,
1695,
2412,
1695,
2412,
2412,
13,
12911,
368,
271,
37,
30,
11351,
2932,
20330,
2412,
2412,
7923,
8,
9506,
202,
1769,
202,
202,
780,
2283,
582,
273,
9506,
202,
2704,
514,
2283,
12,
2
] |
throws SQLException {
|
throws SQLException {
|
public int insertCronTrigger(Connection conn, CronTrigger trigger) throws SQLException { PreparedStatement ps = null; try { ps = conn.prepareStatement(rtp(INSERT_CRON_TRIGGER)); ps.setString(1, trigger.getName()); ps.setString(2, trigger.getGroup()); ps.setString(3, trigger.getCronExpression()); ps.setString(4, trigger.getTimeZone().getID()); return ps.executeUpdate(); } finally { closeStatement(ps); } }
|
15562 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15562/f6eeea5a952e67d6b7fc8b54ae64d0b9e7098a98/StdJDBCDelegate.java/buggy/src/java/org/quartz/impl/jdbcjobstore/StdJDBCDelegate.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
2243,
18586,
6518,
12,
1952,
1487,
16,
18972,
6518,
3080,
13,
5411,
1216,
6483,
288,
3639,
16913,
4250,
273,
446,
31,
3639,
775,
288,
5411,
4250,
273,
1487,
18,
9366,
3406,
12,
3797,
84,
12,
11356,
67,
5093,
673,
67,
6566,
27399,
10019,
5411,
4250,
18,
542,
780,
12,
21,
16,
3080,
18,
17994,
10663,
5411,
4250,
18,
542,
780,
12,
22,
16,
3080,
18,
588,
1114,
10663,
5411,
4250,
18,
542,
780,
12,
23,
16,
3080,
18,
588,
18586,
2300,
10663,
5411,
4250,
18,
542,
780,
12,
24,
16,
3080,
18,
588,
16760,
7675,
588,
734,
10663,
5411,
327,
4250,
18,
8837,
1891,
5621,
3639,
289,
3095,
288,
5411,
1746,
3406,
12,
1121,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
2243,
18586,
6518,
12,
1952,
1487,
16,
18972,
6518,
3080,
13,
5411,
1216,
6483,
288,
3639,
16913,
4250,
273,
446,
31,
3639,
775,
288,
5411,
4250,
273,
1487,
18,
9366,
3406,
12,
3797,
84,
12,
11356,
67,
5093,
673,
67,
6566,
27399,
10019,
5411,
4250,
18,
542,
780,
12,
21,
16,
3080,
18,
17994,
10663,
5411,
4250,
18,
542,
780,
12,
22,
16,
3080,
18,
588,
1114,
10663,
5411,
4250,
18,
542,
780,
12,
23,
16,
3080,
18,
588,
18586,
2300,
10663,
5411,
4250,
18,
542,
780,
12,
24,
16,
3080,
18,
588,
16760,
7675,
588,
734,
10663,
5411,
327,
4250,
18,
8837,
1891,
5621,
3639,
289,
3095,
288,
5411,
1746,
3406,
12,
1121,
1769,
3639,
2
] |
if ( resend_msg == null ) { log.error( "TOTAL_OLD.handleResendRequest() - could not find the message " + seq + " in the history to resend" ); return; } resend_msg.setDest( requester );
|
if(resend_msg == null) { log.error("TOTAL_OLD.handleResendRequest() - could not find the message " + seq + " in the history to resend"); return; } resend_msg.setDest(requester);
|
private synchronized void handleResendRequest( Message msg, long seq ) { log.error( "TOTAL_OLD.handleRequestMessage() - received resend request for message " + seq ); /* just rebroadcast for now because i can't get the source - this is bad (TODO: fix this) Object requester = msg.makeReply().getSrc(); // Address? of requester - test (debug) /* Object temp_obj = msg.getSrc(); if ( temp_obj instanceof Address ) { Address requester = (Address) temp_obj; } else { log.error( "Error: TOTAL_OLD.handleResendRequest() - could not cast source of message to an Address" ); return; } * / if ( requester == null ) { // don't know who to send this back to log.error( "TOTAL_OLD.handleResendRequest() - do not know who requested this resend request for sequence " + seq ); return; } */ Address requester = null;// log.error( "TOTAL_OLD: got here - 1" ); Message resend_msg = ack_history.getMessage( seq );// log.error( "TOTAL_OLD: got here - 2" ); if ( resend_msg == null ) { // couldn't find this message in the history log.error( "TOTAL_OLD.handleResendRequest() - could not find the message " + seq + " in the history to resend" ); return; } resend_msg.setDest( requester ); // note: do not need to add a TotalHeader because it should already be a // TOTAL_BCAST message // begin debug { Object header = resend_msg.getHeader(getName()); if ( header instanceof TotalHeader ) { //log.error( "TOTAL_OLD: resend msg GOOD (header is TotalHeader) - " + seq ); } else { log.error( "TOTAL_OLD: resend msg BAD (header is NOT a TotalHeader) - " + seq ); } } // // end debug passDown( new Event( Event.MSG, resend_msg ) ); log.error( "TOTAL_OLD.handleResendRequest() - responded to resend request for message " + seq ); }
|
50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/5ad015d9a78e1da3350d9b398b46b2f5d4508564/TOTAL_OLD.java/buggy/src/org/jgroups/protocols/TOTAL_OLD.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
918,
1640,
607,
409,
691,
12,
2350,
1234,
16,
1525,
3833,
262,
288,
202,
613,
18,
1636,
12,
315,
28624,
67,
11846,
18,
4110,
691,
1079,
1435,
300,
5079,
31972,
590,
364,
883,
315,
397,
3833,
11272,
202,
20308,
2537,
283,
19805,
364,
2037,
2724,
277,
848,
1404,
336,
326,
1084,
300,
333,
353,
5570,
261,
6241,
30,
2917,
333,
13,
225,
202,
921,
19961,
273,
1234,
18,
6540,
7817,
7675,
588,
7740,
5621,
225,
368,
5267,
35,
434,
19961,
300,
1842,
261,
4148,
13,
202,
20308,
202,
921,
1906,
67,
2603,
273,
1234,
18,
588,
7740,
5621,
202,
430,
261,
1906,
67,
2603,
1276,
5267,
262,
288,
202,
565,
5267,
19961,
273,
261,
1887,
13,
1906,
67,
2603,
31,
202,
97,
469,
288,
202,
565,
613,
18,
1636,
12,
315,
668,
30,
399,
19851,
67,
11846,
18,
4110,
607,
409,
691,
1435,
300,
3377,
486,
4812,
1084,
434,
883,
358,
392,
5267,
6,
11272,
202,
565,
327,
31,
202,
97,
202,
14,
342,
202,
430,
261,
19961,
422,
446,
262,
288,
202,
565,
368,
2727,
1404,
5055,
10354,
358,
1366,
333,
1473,
358,
202,
565,
613,
18,
1636,
12,
315,
28624,
67,
11846,
18,
4110,
607,
409,
691,
1435,
300,
741,
486,
5055,
10354,
3764,
333,
31972,
590,
364,
3102,
315,
397,
3833,
11272,
202,
565,
327,
31,
202,
97,
202,
5549,
202,
1887,
19961,
273,
446,
31,
759,
613,
18,
1636,
12,
315,
28624,
67,
11846,
30,
2363,
2674,
300,
404,
6,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
918,
1640,
607,
409,
691,
12,
2350,
1234,
16,
1525,
3833,
262,
288,
202,
613,
18,
1636,
12,
315,
28624,
67,
11846,
18,
4110,
691,
1079,
1435,
300,
5079,
31972,
590,
364,
883,
315,
397,
3833,
11272,
202,
20308,
2537,
283,
19805,
364,
2037,
2724,
277,
848,
1404,
336,
326,
1084,
300,
333,
353,
5570,
261,
6241,
30,
2917,
333,
13,
225,
202,
921,
19961,
273,
1234,
18,
6540,
7817,
7675,
588,
7740,
5621,
225,
368,
5267,
35,
434,
19961,
300,
1842,
261,
4148,
13,
202,
20308,
202,
921,
1906,
67,
2603,
273,
1234,
18,
588,
7740,
5621,
202,
430,
261,
1906,
67,
2603,
1276,
5267,
262,
288,
202,
565,
5267,
19961,
273,
261,
1887,
13,
2
] |
else if ( currentDataSetName == newName || ( currentDataSetName != null && currentDataSetName.equals( newName ) ) )
|
else if ( currentDataSetName.equals( newName ) )
|
private int canChangeDataSet( String newName ) { String currentDataSetName = getDataSetName( ); if ( currentDataSetName == null && !inputElement.columnBindingsIterator( ).hasNext( ) ) { return 0; } else if ( currentDataSetName == newName || ( currentDataSetName != null && currentDataSetName.equals( newName ) ) ) { return 2; } MessageDialog prefDialog = new MessageDialog( UIUtil.getDefaultShell( ), Messages.getString( "dataBinding.title.changeDataSet" ),//$NON-NLS-1$ null, Messages.getString( "dataBinding.message.changeDataSet" ),//$NON-NLS-1$ MessageDialog.INFORMATION, new String[]{ IDialogConstants.YES_LABEL, IDialogConstants.NO_LABEL, IDialogConstants.CANCEL_LABEL, }, 0 ); return prefDialog.open( ); }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/f93286dc6d03bc1b6417b1a9244304ed2d4b7ce9/ColumnBindingDialog.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ColumnBindingDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
509,
848,
3043,
13676,
12,
514,
13253,
262,
202,
95,
202,
202,
780,
30685,
11924,
273,
4303,
11924,
12,
11272,
202,
202,
430,
261,
30685,
11924,
422,
446,
9506,
202,
10,
10,
401,
2630,
1046,
18,
2827,
10497,
3198,
12,
262,
18,
5332,
2134,
12,
262,
262,
202,
202,
95,
1082,
202,
2463,
374,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
30685,
11924,
422,
13253,
9506,
202,
20081,
261,
30685,
11924,
480,
446,
597,
30685,
11924,
18,
14963,
12,
13253,
262,
262,
262,
202,
202,
95,
1082,
202,
2463,
576,
31,
202,
202,
97,
202,
202,
1079,
6353,
11307,
6353,
273,
394,
2350,
6353,
12,
6484,
1304,
18,
588,
1868,
13220,
12,
262,
16,
9506,
202,
5058,
18,
588,
780,
12,
315,
892,
5250,
18,
2649,
18,
3427,
13676,
6,
262,
16,
759,
8,
3993,
17,
5106,
17,
21,
8,
9506,
202,
2011,
16,
9506,
202,
5058,
18,
588,
780,
12,
315,
892,
5250,
18,
2150,
18,
3427,
13676,
6,
262,
16,
759,
8,
3993,
17,
5106,
17,
21,
8,
9506,
202,
1079,
6353,
18,
706,
23805,
16,
9506,
202,
2704,
514,
63,
7073,
25083,
202,
734,
3529,
2918,
18,
29081,
67,
13545,
16,
25083,
202,
734,
3529,
2918,
18,
3417,
67,
13545,
16,
25083,
202,
734,
3529,
2918,
18,
25268,
67,
13545,
16,
9506,
202,
5779,
9506,
202,
20,
11272,
202,
202,
2463,
11307,
6353,
18,
3190,
12,
11272,
202,
97,
2,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
509,
848,
3043,
13676,
12,
514,
13253,
262,
202,
95,
202,
202,
780,
30685,
11924,
273,
4303,
11924,
12,
11272,
202,
202,
430,
261,
30685,
11924,
422,
446,
9506,
202,
10,
10,
401,
2630,
1046,
18,
2827,
10497,
3198,
12,
262,
18,
5332,
2134,
12,
262,
262,
202,
202,
95,
1082,
202,
2463,
374,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
30685,
11924,
422,
13253,
9506,
202,
20081,
261,
30685,
11924,
480,
446,
597,
30685,
11924,
18,
14963,
12,
13253,
262,
262,
262,
202,
202,
95,
1082,
202,
2463,
576,
31,
202,
202,
97,
202,
202,
1079,
6353,
11307,
6353,
273,
394,
2350,
6353,
12,
6484,
1304,
18,
588,
1868,
13220,
12,
262,
16,
2
] |
throw new SemanticException("The statement property(...) must occur only in the body of a constructor ",
|
throw new SemanticException("The statement property(...) must occur only in the body of a constructor.",
|
public Node typeCheck(TypeChecker tc) throws SemanticException { TypeSystem ts = tc.typeSystem(); Context ctx = tc.context(); if (! (ctx.inCode()) || ! (ctx.currentCode() instanceof X10ConstructorInstance)) throw new SemanticException("The statement property(...) must occur only in the body of a constructor ", position()); thisConstructor = (X10ConstructorInstance) ctx.currentCode(); // Now check that the types of each actual argument are subtypes of the corresponding // property for the class reachable through the constructor. // stub for now. return super.typeCheck(tc); }
|
1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/f8e1720cd66996a6339b992bf154aa0d019240a3/AssignPropertyCall_c.java/clean/x10.compiler/src/polyglot/ext/x10/ast/AssignPropertyCall_c.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2029,
618,
1564,
12,
559,
8847,
1715,
13,
1216,
24747,
503,
288,
202,
202,
559,
3163,
3742,
273,
1715,
18,
723,
3163,
5621,
202,
202,
1042,
1103,
273,
1715,
18,
2472,
5621,
202,
202,
430,
16051,
261,
5900,
18,
267,
1085,
10756,
747,
401,
261,
5900,
18,
2972,
1085,
1435,
1276,
1139,
2163,
6293,
1442,
3719,
1082,
202,
12849,
394,
24747,
503,
2932,
1986,
3021,
1272,
5825,
13,
1297,
3334,
1338,
316,
326,
1417,
434,
279,
3885,
3104,
6862,
202,
3276,
10663,
202,
202,
2211,
6293,
273,
261,
60,
2163,
6293,
1442,
13,
1103,
18,
2972,
1085,
5621,
202,
202,
759,
4494,
866,
716,
326,
1953,
434,
1517,
3214,
1237,
854,
720,
2352,
434,
326,
4656,
202,
202,
759,
1272,
364,
326,
667,
19234,
3059,
326,
3885,
18,
9506,
202,
759,
7168,
364,
2037,
18,
202,
202,
2463,
2240,
18,
723,
1564,
12,
5111,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2029,
618,
1564,
12,
559,
8847,
1715,
13,
1216,
24747,
503,
288,
202,
202,
559,
3163,
3742,
273,
1715,
18,
723,
3163,
5621,
202,
202,
1042,
1103,
273,
1715,
18,
2472,
5621,
202,
202,
430,
16051,
261,
5900,
18,
267,
1085,
10756,
747,
401,
261,
5900,
18,
2972,
1085,
1435,
1276,
1139,
2163,
6293,
1442,
3719,
1082,
202,
12849,
394,
24747,
503,
2932,
1986,
3021,
1272,
5825,
13,
1297,
3334,
1338,
316,
326,
1417,
434,
279,
3885,
3104,
6862,
202,
3276,
10663,
202,
202,
2211,
6293,
273,
261,
60,
2163,
6293,
1442,
13,
1103,
18,
2972,
1085,
5621,
202,
202,
759,
4494,
866,
716,
326,
1953,
434,
1517,
3214,
1237,
854,
720,
2352,
434,
326,
4656,
2
] |
Node getFirstChild(Node node) { if (node == null) return null; if ( !fEntityReferenceExpansion && node.getNodeType() == Node.ENTITY_REFERENCE_NODE) return null; Node newNode = node.getFirstChild(); if (newNode == null) return getNextSibling(node); int accept = acceptNode(newNode); if (accept == NodeFilter.FILTER_ACCEPT) return newNode; else if (accept == NodeFilter.FILTER_SKIP && newNode.hasChildNodes()) { return getFirstChild(newNode); } else //if (accept == NodeFilter.REJECT_NODE) { return getNextSibling(newNode); } }
|
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/904469745efa247c002caac264e0143abda23342/TreeWalkerImpl.java/clean/src/org/apache/xerces/dom/TreeWalkerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2029,
588,
3759,
1763,
12,
50,
369,
20680,
15329,
430,
12,
2159,
631,
2011,
13,
2463,
2011,
31,
430,
12,
5,
74,
1943,
2404,
2966,
12162,
10,
10,
2159,
18,
588,
15101,
1435,
631,
907,
18,
11101,
67,
14617,
67,
8744,
13,
2463,
2011,
31,
50,
369,
275,
359,
907,
33,
2159,
18,
588,
3759,
1763,
5621,
430,
12,
2704,
907,
631,
2011,
13,
2463,
588,
2134,
10291,
12,
2159,
1769,
474,
9436,
33,
9436,
907,
12,
2704,
907,
1769,
430,
12,
9436,
631,
907,
1586,
18,
11126,
67,
21417,
13,
2463,
2704,
907,
31,
12107,
430,
12,
9436,
631,
907,
1586,
18,
11126,
67,
22589,
10,
10,
2704,
907,
18,
5332,
22460,
10756,
95,
2463,
588,
3759,
1763,
12,
2704,
907,
1769,
97,
12107,
759,
430,
12,
9436,
631,
907,
1586,
18,
862,
5304,
67,
8744,
15329,
2463,
588,
2134,
10291,
12,
2704,
907,
1769,
9090,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2029,
588,
3759,
1763,
12,
50,
369,
20680,
15329,
430,
12,
2159,
631,
2011,
13,
2463,
2011,
31,
430,
12,
5,
74,
1943,
2404,
2966,
12162,
10,
10,
2159,
18,
588,
15101,
1435,
631,
907,
18,
11101,
67,
14617,
67,
8744,
13,
2463,
2011,
31,
50,
369,
275,
359,
907,
33,
2159,
18,
588,
3759,
1763,
5621,
430,
12,
2704,
907,
631,
2011,
13,
2463,
588,
2134,
10291,
12,
2159,
1769,
474,
9436,
33,
9436,
907,
12,
2704,
907,
1769,
430,
12,
9436,
631,
907,
1586,
18,
11126,
67,
21417,
13,
2463,
2704,
907,
31,
12107,
430,
12,
9436,
631,
907,
1586,
18,
11126,
67,
22589,
10,
10,
2704,
907,
18,
5332,
22460,
10756,
95,
2463,
588,
3759,
1763,
2
] |
||
public abstract boolean getExpandedState(TreePath value0);
|
public abstract boolean getExpandedState(TreePath path);
|
public abstract boolean getExpandedState(TreePath value0);
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/AbstractLayoutCache.java/buggy/core/src/classpath/javax/javax/swing/tree/AbstractLayoutCache.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8770,
1250,
336,
17957,
1119,
12,
2471,
743,
460,
20,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8770,
1250,
336,
17957,
1119,
12,
2471,
743,
460,
20,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
private DayProgramFile extractLevel(DayProgramFile prog, int levelIdx) throws PreparationException { DayProgramFile levelProg = new DayProgramFile(); for (int i = 0; i < prog.getProgramFrameCount(); i++) { ProgramFrame frame = prog.getProgramFrameAt(i); ProgramFrame levelFrame = null; if (levelIdx == 0) { // base: All information but description and the image levelFrame = (ProgramFrame) frame.clone(); levelFrame.removeProgramFieldOfType(ProgramFieldType.DESCRIPTION_TYPE); levelFrame.removeProgramFieldOfType(ProgramFieldType.IMAGE_TYPE); } else { ProgramField levelField = null; switch (levelIdx) { case 1: // image16-00: Only the image between 16 pm and midnight if (getProgramStartTime(frame) > (16 * 60)) { levelField = frame.getProgramFieldOfType(ProgramFieldType.IMAGE_TYPE); } break; case 2: // image00-16: Only the image between midnight and 16 pm if (getProgramStartTime(frame) <= (16 * 60)) { levelField = frame.getProgramFieldOfType(ProgramFieldType.IMAGE_TYPE); } break; case 3: // desc16-00: Only the descriptions between 16 pm and midnight if (getProgramStartTime(frame) > (16 * 60)) { levelField = frame.getProgramFieldOfType(ProgramFieldType.DESCRIPTION_TYPE); } break; case 4: // desc00-16: Only the descriptions between midnight and 16 pm if (getProgramStartTime(frame) <= (16 * 60)) { levelField = frame.getProgramFieldOfType(ProgramFieldType.DESCRIPTION_TYPE); } break; } if (levelField != null) { levelFrame = new ProgramFrame(frame.getId()); levelFrame.addProgramField(levelField); } } if (levelFrame != null) { levelProg.addProgramFrame(levelFrame); } } return levelProg; }
|
9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/8e98242cdb6be4a4df2f68b00cc3a3bbfa0b2087/PrimaryDataManager.java/buggy/tvbrowser/src/primarydatamanager/PrimaryDataManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
13735,
9459,
812,
2608,
2355,
12,
4245,
9459,
812,
11243,
16,
509,
1801,
4223,
13,
565,
1216,
2962,
20961,
503,
225,
288,
565,
13735,
9459,
812,
1801,
626,
75,
273,
394,
13735,
9459,
812,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
11243,
18,
588,
9459,
3219,
1380,
5621,
277,
27245,
288,
1377,
13586,
3219,
2623,
273,
11243,
18,
588,
9459,
3219,
861,
12,
77,
1769,
1377,
13586,
3219,
1801,
3219,
273,
446,
31,
5411,
309,
261,
2815,
4223,
422,
374,
13,
288,
3639,
368,
1026,
30,
4826,
1779,
1496,
2477,
471,
326,
1316,
3639,
1801,
3219,
273,
261,
9459,
3219,
13,
2623,
18,
14056,
5621,
3639,
1801,
3219,
18,
4479,
9459,
974,
18859,
12,
9459,
13715,
18,
15911,
67,
2399,
1769,
3639,
1801,
3219,
18,
4479,
9459,
974,
18859,
12,
9459,
13715,
18,
13603,
67,
2399,
1769,
1377,
289,
469,
288,
3639,
13586,
974,
1801,
974,
273,
446,
31,
3639,
1620,
261,
2815,
4223,
13,
288,
5375,
648,
404,
30,
5411,
368,
1316,
2313,
17,
713,
30,
5098,
326,
1316,
3086,
2872,
7430,
471,
7501,
18840,
5411,
309,
261,
588,
9459,
13649,
12,
3789,
13,
405,
261,
2313,
380,
4752,
3719,
288,
2868,
1801,
974,
273,
2623,
18,
588,
9459,
974,
18859,
12,
9459,
13715,
18,
13603,
67,
2399,
1769,
5411,
289,
5411,
898,
31,
1850,
648,
576,
30,
5411,
368,
1316,
713,
17,
2313,
30,
5098,
326,
1316,
3086,
7501,
18840,
471,
2872,
7430,
5411,
309,
261,
588,
9459,
13649,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
13735,
9459,
812,
2608,
2355,
12,
4245,
9459,
812,
11243,
16,
509,
1801,
4223,
13,
565,
1216,
2962,
20961,
503,
225,
288,
565,
13735,
9459,
812,
1801,
626,
75,
273,
394,
13735,
9459,
812,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
11243,
18,
588,
9459,
3219,
1380,
5621,
277,
27245,
288,
1377,
13586,
3219,
2623,
273,
11243,
18,
588,
9459,
3219,
861,
12,
77,
1769,
1377,
13586,
3219,
1801,
3219,
273,
446,
31,
5411,
309,
261,
2815,
4223,
422,
374,
13,
288,
3639,
368,
1026,
30,
4826,
1779,
1496,
2477,
471,
326,
1316,
3639,
1801,
3219,
273,
261,
9459,
3219,
13,
2623,
18,
14056,
5621,
3639,
1801,
3219,
18,
4479,
9459,
974,
18859,
2
] |
||
GridData gridData = new GridData(GridData.FILL_HORIZONTAL); gridData.widthHint = convertHorizontalDLUsToPixels(400); descriptionText.setLayoutData(gridData);
|
GridData gridData = new GridData(GridData.FILL_HORIZONTAL); gridData.widthHint = convertHorizontalDLUsToPixels(400); descriptionText.setLayoutData(gridData);
|
private void createDescriptionArea(Composite parent) { Label label = new Label(parent, SWT.NONE); label.setText(MarkerMessages.propertiesDialog_description_text); descriptionText = new Text(parent, (SWT.SINGLE | SWT.BORDER)); GridData gridData = new GridData(GridData.FILL_HORIZONTAL); gridData.widthHint = convertHorizontalDLUsToPixels(400); descriptionText.setLayoutData(gridData); descriptionText.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent e) { markDirty(); } }); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/5dfab9acd886f09a1ca9341cff1d740dc40e3c35/DialogMarkerProperties.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogMarkerProperties.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
3291,
5484,
12,
9400,
982,
13,
288,
3639,
5287,
1433,
273,
394,
5287,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
3639,
1433,
18,
542,
1528,
12,
7078,
5058,
18,
4738,
6353,
67,
3384,
67,
955,
1769,
3639,
2477,
1528,
273,
394,
3867,
12,
2938,
16,
261,
55,
8588,
18,
20184,
571,
348,
8588,
18,
38,
7954,
10019,
3639,
7145,
751,
3068,
751,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
1769,
3639,
3068,
751,
18,
2819,
7002,
273,
225,
1765,
14457,
8914,
3477,
774,
18079,
12,
16010,
1769,
3639,
2477,
1528,
18,
542,
3744,
751,
12,
5222,
751,
1769,
3639,
2477,
1528,
18,
1289,
11047,
2223,
12,
2704,
9518,
2223,
1435,
288,
5411,
1071,
918,
5612,
1528,
12,
11047,
1133,
425,
13,
288,
7734,
2267,
10785,
5621,
5411,
289,
3639,
15549,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
3291,
5484,
12,
9400,
982,
13,
288,
3639,
5287,
1433,
273,
394,
5287,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
3639,
1433,
18,
542,
1528,
12,
7078,
5058,
18,
4738,
6353,
67,
3384,
67,
955,
1769,
3639,
2477,
1528,
273,
394,
3867,
12,
2938,
16,
261,
55,
8588,
18,
20184,
571,
348,
8588,
18,
38,
7954,
10019,
3639,
7145,
751,
3068,
751,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
1769,
3639,
3068,
751,
18,
2819,
7002,
273,
225,
1765,
14457,
8914,
3477,
774,
18079,
12,
16010,
1769,
3639,
2477,
1528,
18,
542,
3744,
751,
12,
5222,
751,
1769,
3639,
2477,
1528,
18,
1289,
11047,
2223,
12,
2704,
9518,
2223,
2
] |
if (n < 2) {
|
if (n <= 2) {
|
public static double oddsAbove(int n) { if (n < 2) { return 100.0; } else if (n > 12) { return 0; } double[] odds = {100.0, 100.0, 100.0, 97.2, 91.6, 83.3, 72.2, 58.3, 41.6, 27.7, 16.6, 8.3, 5.56, 2.78, 0}; return odds[n]; }
|
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/2d7f2261ffdd77dbc49aa14c0367b9e3097dc311/Compute.java/buggy/megamek/src/megamek/common/Compute.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1645,
14800,
87,
25477,
12,
474,
290,
13,
288,
3639,
309,
261,
82,
1648,
576,
13,
288,
5411,
327,
2130,
18,
20,
31,
3639,
289,
469,
309,
261,
82,
405,
2593,
13,
288,
5411,
327,
374,
31,
3639,
289,
3639,
1645,
8526,
14800,
87,
273,
288,
6625,
18,
20,
16,
2130,
18,
20,
16,
7682,
2130,
18,
20,
16,
16340,
18,
22,
16,
26936,
18,
26,
16,
26232,
18,
23,
16,
19387,
18,
22,
16,
17066,
18,
23,
16,
12900,
20170,
18,
26,
16,
12732,
18,
27,
16,
2872,
18,
26,
16,
1725,
18,
23,
16,
1381,
18,
4313,
16,
576,
18,
8285,
16,
374,
20451,
3639,
327,
14800,
87,
63,
82,
15533,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1645,
14800,
87,
25477,
12,
474,
290,
13,
288,
3639,
309,
261,
82,
1648,
576,
13,
288,
5411,
327,
2130,
18,
20,
31,
3639,
289,
469,
309,
261,
82,
405,
2593,
13,
288,
5411,
327,
374,
31,
3639,
289,
3639,
1645,
8526,
14800,
87,
273,
288,
6625,
18,
20,
16,
2130,
18,
20,
16,
7682,
2130,
18,
20,
16,
16340,
18,
22,
16,
26936,
18,
26,
16,
26232,
18,
23,
16,
19387,
18,
22,
16,
17066,
18,
23,
16,
12900,
20170,
18,
26,
16,
12732,
18,
27,
16,
2872,
18,
26,
16,
1725,
18,
23,
16,
1381,
18,
4313,
16,
576,
18,
8285,
16,
374,
20451,
3639,
327,
14800,
87,
63,
82,
15533,
565,
289,
2,
-100
] |
public void handleStale(IObservable source) { processStalenessChange(source, true);
|
public void handleStale(StaleEvent event) { processStalenessChange((IObservable) event.getSource(), true);
|
public void handleStale(IObservable source) { processStalenessChange(source, true); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/6aecdb31231a8602dbf72944625703c440949c78/StalenessTracker.java/buggy/bundles/org.eclipse.core.databinding.observable/src/org/eclipse/core/internal/databinding/observable/StalenessTracker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1640,
19155,
12,
4294,
3745,
1084,
13,
288,
1082,
202,
2567,
510,
287,
15681,
3043,
12,
3168,
16,
638,
1769,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1640,
19155,
12,
4294,
3745,
1084,
13,
288,
1082,
202,
2567,
510,
287,
15681,
3043,
12,
3168,
16,
638,
1769,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
setErrorMessage(null, message); }
|
setErrorMessage(null, message); }
|
public void setErrorMessage(String message) { setErrorMessage(null, message);}
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/40d04a08a2b629d5d97a4f6e3000928d0e5cb346/StatusLine.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/action/StatusLine.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
9967,
1079,
12,
780,
883,
13,
288,
202,
542,
14935,
12,
2011,
16,
883,
1769,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
9967,
1079,
12,
780,
883,
13,
288,
202,
542,
14935,
12,
2011,
16,
883,
1769,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
private void bindNamespacesToElementAndAttributes(QName element, XMLAttrList attrList) throws Exception { fNamespacesScope.increaseDepth(); if (fAttrListHandle != -1 || !fSeenRootElement) { int index = attrList.getFirstAttr(fAttrListHandle); while (index != -1) { int attName = attrList.getAttrName(index); int attPrefix = attrList.getAttrPrefix(index); if (fStringPool.equalNames(attName, fXMLLang)) { /*** // NOTE: This check is done in the validateElementsAndAttributes // method. fDocumentScanner.checkXMLLangAttributeValue(attrList.getAttValue(index)); /***/ } else if (fStringPool.equalNames(attName, fNamespacesPrefix)) { int uri = fStringPool.addSymbol(attrList.getAttValue(index)); fNamespacesScope.setNamespaceForPrefix(StringPool.EMPTY_STRING, uri); } else { if (attPrefix == fNamespacesPrefix) { int nsPrefix = attrList.getAttrLocalpart(index); int uri = fStringPool.addSymbol(attrList.getAttValue(index)); fNamespacesScope.setNamespaceForPrefix(nsPrefix, uri); if (fValidating && fSchemaValidation) { boolean seeXsi = false; String attrValue = fStringPool.toString(attrList.getAttValue(index)); if (attrValue.equals(SchemaSymbols.URI_XSI)) { fXsiPrefix = nsPrefix; seeXsi = true; } } } } index = attrList.getNextAttr(index); } String location = null; String uri = null; // if validating, walk through the list again to deal with "xsi:...." if (fValidating && fSchemaValidation) { fLocationUriPairs.clear(); if (!fSeenRootElement) { // we are at the root element // and user set property on the parser to include external schemas // if (fExternalSchemas != null && fExternalSchemas.length()!=0) { parseSchemaLocation(fExternalSchemas); } if (fExternalNoNamespaceSchema!=null && fExternalNoNamespaceSchema.length() !=0 ) { fLocationUriPairs.put(fExternalNoNamespaceSchema, ""); //REVISIT: wrong solution (see AndyC note below) if (fNamespacesScope != null) { //bind prefix "" to URI "" in this case fNamespacesScope.setNamespaceForPrefix( fStringPool.addSymbol(""), fStringPool.addSymbol("")); } } parseSchemas(); fLocationUriPairs.clear(); } fXsiTypeAttValue = -1; index = attrList.getFirstAttr(fAttrListHandle); int attName; int attPrefix; while (index != -1) { attName = attrList.getAttrName(index); attPrefix = attrList.getAttrPrefix(index); if (fStringPool.equalNames(attName, fNamespacesPrefix)) { // REVISIT } else { if ( DEBUG_SCHEMA_VALIDATION ) { System.out.println("deal with XSI"); System.out.println("before find XSI: "+fStringPool.toString(attPrefix) +","+fStringPool.toString(fXsiPrefix) ); } if ( fXsiPrefix != -1 && attPrefix == fXsiPrefix ) { if (DEBUG_SCHEMA_VALIDATION) { System.out.println("find XSI: "+fStringPool.toString(attPrefix) +","+fStringPool.toString(attName) ); } int localpart = attrList.getAttrLocalpart(index); if (localpart == fStringPool.addSymbol(SchemaSymbols.XSI_SCHEMALOCACTION)) { parseSchemaLocation(fStringPool.toString(attrList.getAttValue(index))); } else if (localpart == fStringPool.addSymbol(SchemaSymbols.XSI_NONAMESPACESCHEMALOCACTION)) { fLocationUriPairs.put(fStringPool.toString(attrList.getAttValue(index)), ""); /***/ // NOTE: This is the *wrong* solution to the problem // of finding the grammar associated to elements // when the grammar does *not* have a target // namespace!!! -Ac if (fNamespacesScope != null) { //bind prefix "" to URI "" in this case fNamespacesScope.setNamespaceForPrefix( fStringPool.addSymbol(""), fStringPool.addSymbol("")); } /***/ } else if ( localpart == fStringPool.addSymbol(SchemaSymbols.XSI_TYPE) ) { fXsiTypeAttValue = attrList.getAttValue(index); } else if ( localpart == fStringPool.addSymbol(SchemaSymbols.ATT_NIL) ) { fNil = (fStringPool.toString(attrList.getAttValue(index)).equals("true")) ? true: false; } // REVISIT: should we break here? //break; } } index = attrList.getNextAttr(index); } parseSchemas (); } } // bind element to URI int prefix = element.prefix != -1 ? element.prefix : 0; int uri = fNamespacesScope.getNamespaceForPrefix(prefix); if (element.prefix != -1 || uri != StringPool.EMPTY_STRING) { element.uri = uri; if (element.uri == StringPool.EMPTY_STRING) { Object[] args = { fStringPool.toString(element.prefix)}; fErrorReporter.reportError(fErrorReporter.getLocator(), XMLMessages.XMLNS_DOMAIN, XMLMessages.MSG_PREFIX_DECLARED, XMLMessages.NC_PREFIX_DECLARED, args, XMLErrorReporter.ERRORTYPE_RECOVERABLE_ERROR); } } 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 attrUri = fNamespacesScope.getNamespaceForPrefix(attPrefix); if (attrUri == -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, attrUri); } } } index = attrList.getNextAttr(index); } } } // bindNamespacesToElementAndAttributes(QName,XMLAttrList)
|
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/23bc37847e0e3642384699c8b863860647f11658/XMLValidator.java/clean/src/org/apache/xerces/validators/common/XMLValidator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
918,
1993,
13180,
774,
1046,
1876,
2498,
12,
13688,
930,
16,
4766,
5397,
3167,
3843,
682,
1604,
682,
13,
282,
1216,
1185,
288,
1377,
284,
13180,
3876,
18,
267,
11908,
6148,
5621,
1377,
309,
261,
74,
3843,
682,
3259,
480,
300,
21,
747,
401,
74,
15160,
2375,
1046,
13,
288,
540,
509,
770,
273,
1604,
682,
18,
588,
3759,
3843,
12,
74,
3843,
682,
3259,
1769,
540,
1323,
261,
1615,
480,
300,
21,
13,
288,
5411,
509,
2403,
461,
273,
1604,
682,
18,
588,
28973,
12,
1615,
1769,
5411,
509,
2403,
2244,
273,
1604,
682,
18,
588,
3843,
2244,
12,
1615,
1769,
5411,
309,
261,
74,
780,
2864,
18,
9729,
1557,
12,
4558,
461,
16,
284,
4201,
7275,
3719,
288,
9079,
1783,
14,
9079,
368,
5219,
30,
1220,
866,
353,
2731,
316,
326,
1954,
3471,
1876,
2498,
9079,
368,
4202,
707,
18,
9079,
284,
2519,
11338,
18,
1893,
4201,
7275,
14942,
12,
1747,
682,
18,
588,
3075,
620,
12,
1615,
10019,
9079,
29624,
5411,
289,
469,
309,
261,
74,
780,
2864,
18,
9729,
1557,
12,
4558,
461,
16,
284,
13180,
2244,
3719,
288,
9079,
509,
2003,
273,
284,
780,
2864,
18,
1289,
5335,
12,
1747,
682,
18,
588,
3075,
620,
12,
1615,
10019,
9079,
284,
13180,
3876,
18,
542,
3402,
1290,
2244,
12,
780,
2864,
18,
13625,
67,
5804,
16,
2003,
1769,
5411,
289,
469,
288,
9079,
309,
261,
4558,
2244,
422,
284,
13180,
2244,
13,
288,
5375,
509,
3153,
2244,
273,
1604,
682,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
918,
1993,
13180,
774,
1046,
1876,
2498,
12,
13688,
930,
16,
4766,
5397,
3167,
3843,
682,
1604,
682,
13,
282,
1216,
1185,
288,
1377,
284,
13180,
3876,
18,
267,
11908,
6148,
5621,
1377,
309,
261,
74,
3843,
682,
3259,
480,
300,
21,
747,
401,
74,
15160,
2375,
1046,
13,
288,
540,
509,
770,
273,
1604,
682,
18,
588,
3759,
3843,
12,
74,
3843,
682,
3259,
1769,
540,
1323,
261,
1615,
480,
300,
21,
13,
288,
5411,
509,
2403,
461,
273,
1604,
682,
18,
588,
28973,
12,
1615,
1769,
5411,
509,
2403,
2244,
273,
1604,
682,
18,
588,
3843,
2244,
12,
1615,
1769,
5411,
309,
261,
74,
780,
2864,
18,
9729,
1557,
12,
4558,
461,
16,
284,
4201,
2
] |
||
protected ImageDescriptor getBaseImage(IResource resource) { IProject project = (IProject) resource; boolean isOpen = project.isOpen(); String baseKey = isOpen ? IDE.SharedImages.IMG_OBJ_PROJECT : IDE.SharedImages.IMG_OBJ_PROJECT_CLOSED; if (isOpen) { try { String[] natureIds = project.getDescription().getNatureIds(); for (int i = 0; i < natureIds.length; ++i) { // Have to use a cache because OverlayIcon does not define its own equality criteria, // so WorkbenchLabelProvider would always create a new image otherwise. String imageKey = natureIds[i]; ImageDescriptor overlayImage = (ImageDescriptor) imageCache.get(imageKey); if (overlayImage != null) { return overlayImage; } ImageDescriptor natureImage = IDEWorkbenchPlugin.getDefault().getProjectImageRegistry().getNatureImage(natureIds[i]); if (natureImage != null) { // @issue move IDE specific images ImageDescriptor baseImage = IDEInternalWorkbenchImages.getImageDescriptor(baseKey); // @issue ref to internal generic workbench class overlayImage = new OverlayIcon(baseImage, new ImageDescriptor[][] {{ natureImage }}, new Point(16, 16)); imageCache.put(imageKey, overlayImage); return overlayImage; } } } catch (CoreException e) { } } return IDEInternalWorkbenchImages.getImageDescriptor(baseKey);}
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/0e914e33b925bd58fd9aa38ff0cc40549e2e5f3c/WorkbenchProject.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/model/WorkbenchProject.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
2040,
3187,
588,
2171,
2040,
12,
45,
607,
477,
2750,
281,
552,
15329,
202,
45,
4109,
4406,
28657,
45,
4109,
13,
3146,
31,
202,
6494,
291,
3678,
33,
4406,
18,
291,
3678,
5621,
202,
780,
1969,
653,
33,
291,
3678,
35,
10385,
18,
7887,
8946,
18,
3445,
43,
67,
24547,
67,
17147,
30,
10385,
18,
7887,
8946,
18,
3445,
43,
67,
24547,
67,
17147,
67,
28475,
31,
202,
430,
12,
291,
3678,
15329,
202,
202,
698,
95,
1082,
202,
780,
8526,
82,
1231,
2673,
33,
4406,
18,
588,
3291,
7675,
588,
50,
1231,
2673,
5621,
1082,
202,
1884,
12,
474,
77,
33,
20,
31,
77,
32,
82,
1231,
2673,
18,
2469,
31,
9904,
77,
15329,
9506,
202,
759,
44,
842,
278,
3793,
1077,
807,
26274,
11627,
5554,
20657,
902,
11255,
1282,
995,
9729,
560,
9714,
16,
9506,
202,
759,
2048,
2421,
22144,
2224,
2249,
91,
1006,
287,
1888,
1017,
602,
304,
359,
2730,
29778,
18,
9506,
202,
780,
2730,
653,
33,
82,
1231,
2673,
63,
77,
15533,
9506,
202,
2040,
3187,
17312,
2040,
28657,
2040,
3187,
13,
2730,
1649,
18,
588,
12,
2730,
653,
1769,
9506,
202,
430,
12,
17312,
2040,
5,
33,
2011,
15329,
6862,
202,
2463,
17312,
2040,
31,
9506,
202,
97,
9506,
202,
2040,
3187,
82,
1231,
2040,
33,
10385,
2421,
22144,
3773,
18,
588,
1868,
7675,
588,
4109,
2040,
4243,
7675,
588,
50,
1231,
2040,
12,
82,
1231,
2673,
63,
77,
19226,
9506,
202,
430,
12,
82,
1231,
2040,
5,
33,
2011,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
2040,
3187,
588,
2171,
2040,
12,
45,
607,
477,
2750,
281,
552,
15329,
202,
45,
4109,
4406,
28657,
45,
4109,
13,
3146,
31,
202,
6494,
291,
3678,
33,
4406,
18,
291,
3678,
5621,
202,
780,
1969,
653,
33,
291,
3678,
35,
10385,
18,
7887,
8946,
18,
3445,
43,
67,
24547,
67,
17147,
30,
10385,
18,
7887,
8946,
18,
3445,
43,
67,
24547,
67,
17147,
67,
28475,
31,
202,
430,
12,
291,
3678,
15329,
202,
202,
698,
95,
1082,
202,
780,
8526,
82,
1231,
2673,
33,
4406,
18,
588,
3291,
7675,
588,
50,
1231,
2673,
5621,
1082,
202,
1884,
12,
474,
77,
33,
20,
31,
77,
32,
82,
1231,
2673,
18,
2469,
31,
9904,
77,
15329,
9506,
202,
759,
2
] |
||
void setAction(IAction action) {
|
private void setAction(IAction action) {
|
void setAction(IAction action) { if (action == gotoAction) return; if (gotoAction != null) gotoAction.removePropertyChangeListener(this); gotoAction= action; if (gotoAction != null) { gotoAction.addPropertyChangeListener(this); String tooltip= gotoAction.getToolTipText(); if (tooltip != null) setToolTipText(tooltip); } else { setToolTipText(text); } setLinkEnable(action != null && action.isEnabled()); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/28e4a5fca903401353ae41f42638fce8be5f1ef5/NewProgressViewer.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/NewProgressViewer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
6459,
22517,
12,
45,
1803,
1301,
13,
288,
1082,
202,
430,
261,
1128,
422,
2897,
1803,
13,
9506,
202,
2463,
31,
1082,
202,
430,
261,
75,
6302,
1803,
480,
446,
13,
9506,
202,
75,
6302,
1803,
18,
4479,
1396,
15744,
12,
2211,
1769,
1082,
202,
75,
6302,
1803,
33,
1301,
31,
1082,
202,
430,
261,
75,
6302,
1803,
480,
446,
13,
288,
9506,
202,
75,
6302,
1803,
18,
1289,
1396,
15744,
12,
2211,
1769,
9506,
202,
780,
11915,
33,
2897,
1803,
18,
588,
29250,
1528,
5621,
9506,
202,
430,
261,
19798,
480,
446,
13,
6862,
202,
542,
29250,
1528,
12,
19798,
1769,
1082,
202,
97,
469,
288,
9506,
202,
542,
29250,
1528,
12,
955,
1769,
1082,
202,
97,
1082,
202,
542,
2098,
8317,
12,
1128,
480,
446,
597,
1301,
18,
291,
1526,
10663,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
6459,
22517,
12,
45,
1803,
1301,
13,
288,
1082,
202,
430,
261,
1128,
422,
2897,
1803,
13,
9506,
202,
2463,
31,
1082,
202,
430,
261,
75,
6302,
1803,
480,
446,
13,
9506,
202,
75,
6302,
1803,
18,
4479,
1396,
15744,
12,
2211,
1769,
1082,
202,
75,
6302,
1803,
33,
1301,
31,
1082,
202,
430,
261,
75,
6302,
1803,
480,
446,
13,
288,
9506,
202,
75,
6302,
1803,
18,
1289,
1396,
15744,
12,
2211,
1769,
9506,
202,
780,
11915,
33,
2897,
1803,
18,
588,
29250,
1528,
5621,
9506,
202,
430,
261,
19798,
480,
446,
13,
6862,
202,
542,
29250,
1528,
12,
19798,
1769,
1082,
202,
97,
469,
288,
9506,
202,
542,
29250,
1528,
12,
955,
1769,
1082,
202,
2
] |
public void visitIUSHR(IUSHR obj) { consumeStack(obj); pushValue(Type.INT); }
|
public void visitIUSHR(IUSHR obj) { consumeStack(obj); pushValue(Type.INT); }
|
public void visitIUSHR(IUSHR obj) { consumeStack(obj); pushValue(Type.INT); }
|
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/1d541964940eaa91b52b21469dc5b763fef1d8d1/TypeFrameModelingVisitor.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/TypeFrameModelingVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
45,
57,
2664,
54,
12,
45,
57,
2664,
54,
1081,
13,
9506,
202,
95,
7865,
2624,
12,
2603,
1769,
1817,
620,
12,
559,
18,
3217,
1769,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
45,
57,
2664,
54,
12,
45,
57,
2664,
54,
1081,
13,
9506,
202,
95,
7865,
2624,
12,
2603,
1769,
1817,
620,
12,
559,
18,
3217,
1769,
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
] |
System.out.println("Ratio: " + ratio);
|
public void paint(Graphics g) { g.setColor(Color.white); g.fillRect(0,0,getWidth()-1,COMPONENT_HEIGHT - 1); g.setColor(Color.black); g.drawRect(0,0,getWidth()-1,COMPONENT_HEIGHT - 1); if(ratio < 1) { int [] loadColor = new int[getWidth()]; int [] cacheColor = new int[getWidth()]; for(int i = 0;i < loadColor.length;i++) { loadColor[i] = -1; cacheColor[i] = -1; } //find how many entries of the cache are handled per pixel of indicator int perPixel; double integers = 2; double dPerPixel = ratio * integers; System.out.println("Ratio: " + ratio); while(dPerPixel < 1) { integers++; dPerPixel = ratio * integers; } Double temp = new Double(integers); perPixel = temp.intValue(); System.out.println("PerPixel: " + perPixel); int colorAmount = 255 / perPixel; System.out.println("ColorAmount: " + colorAmount); for(int i = 0;i<loadList.length;i++) { int index = translate(loadList[i]); if (loadColor[index] == -1) loadColor[index] = 0; loadColor[index] = loadColor[index] + colorAmount; if (loadColor[index] > 255) { System.out.println("RED: " + loadColor[index]); loadColor[index] = 255; } } for(int i = 0;i<cache.length;i++) { int index = translate(cache[i]); if (cacheColor[index] == -1) cacheColor[index] = 0; cacheColor[index] = cacheColor[index] + colorAmount; if (cacheColor[index] > 255) { System.out.println("BLUE: " + cacheColor[index]); cacheColor[index] = 255; } } for(int i = 0;i < getWidth();i++) { if(loadColor[i] != -1 || cacheColor[i] != -1) { if(loadColor[i] == -1) loadColor[i] = 0; if(cacheColor[i] == -1) cacheColor[i] = 0; g.setColor(new Color(loadColor[i],0,cacheColor[i])); g.drawLine(i,1,i,COMPONENT_HEIGHT - 2); } else continue; } } else { int prevLoad = -1; int startLoad = -1; g.setColor(Color.red); for(int i = 0;i<loadList.length;i++) { int toLoad = loadList[i]; if(startLoad == -1) { startLoad = toLoad; prevLoad = toLoad; } else if(toLoad == prevLoad + 1 && startLoad != -1 && i != loadList.length - 1) { prevLoad = toLoad; } else { prevLoad = prevLoad + 1; int x = translate(startLoad); int wid = translate(prevLoad) - x; g.fillRect(x,1,wid,COMPONENT_HEIGHT - 2); startLoad = -1; } } prevLoad = -1; startLoad = -1; g.setColor(Color.blue); for(int i = 0;i<cache.length;i++) { int toLoad = cache[i]; if(startLoad == -1) { startLoad = toLoad; prevLoad = toLoad; } else if(toLoad == prevLoad + 1 && startLoad != -1 && i != cache.length - 1) { prevLoad = toLoad; } else { prevLoad = prevLoad + 1; int x = translate(startLoad); int wid = translate(prevLoad) - x; g.fillRect(x,1,wid,COMPONENT_HEIGHT - 2); startLoad = -1; } } } }
|
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/10b7736cc57ec6d68a6821b26159769bff1e9cb4/CacheIndicator.java/clean/loci/plugins/browser/CacheIndicator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
12574,
12,
17558,
314,
13,
288,
565,
314,
18,
542,
2957,
12,
2957,
18,
14739,
1769,
565,
314,
18,
5935,
6120,
12,
20,
16,
20,
16,
588,
2384,
1435,
17,
21,
16,
22922,
67,
14595,
300,
404,
1769,
565,
314,
18,
542,
2957,
12,
2957,
18,
11223,
1769,
565,
314,
18,
9446,
6120,
12,
20,
16,
20,
16,
588,
2384,
1435,
17,
21,
16,
22922,
67,
14595,
300,
404,
1769,
565,
309,
12,
9847,
411,
404,
13,
288,
1377,
509,
5378,
1262,
2957,
273,
394,
509,
63,
588,
2384,
1435,
15533,
1377,
509,
5378,
1247,
2957,
273,
394,
509,
63,
588,
2384,
1435,
15533,
5411,
364,
12,
474,
277,
273,
374,
31,
77,
411,
1262,
2957,
18,
2469,
31,
77,
27245,
288,
3639,
1262,
2957,
63,
77,
65,
273,
300,
21,
31,
3639,
1247,
2957,
63,
77,
65,
273,
300,
21,
31,
1377,
289,
5411,
368,
4720,
3661,
4906,
3222,
434,
326,
1247,
854,
7681,
1534,
4957,
434,
10664,
1377,
509,
1534,
9037,
31,
1377,
1645,
12321,
273,
576,
31,
1377,
1645,
302,
2173,
9037,
273,
7169,
380,
12321,
31,
10792,
1323,
12,
72,
2173,
9037,
411,
404,
13,
288,
3639,
12321,
9904,
31,
3639,
302,
2173,
9037,
273,
7169,
380,
12321,
31,
1377,
289,
5411,
3698,
1906,
273,
394,
3698,
12,
14970,
414,
1769,
1377,
1534,
9037,
273,
1906,
18,
474,
620,
5621,
5411,
2332,
18,
659,
18,
8222,
2932,
2173,
9037,
30,
315,
397,
1534,
9037,
1769,
5411,
509,
2036,
6275,
273,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
12574,
12,
17558,
314,
13,
288,
565,
314,
18,
542,
2957,
12,
2957,
18,
14739,
1769,
565,
314,
18,
5935,
6120,
12,
20,
16,
20,
16,
588,
2384,
1435,
17,
21,
16,
22922,
67,
14595,
300,
404,
1769,
565,
314,
18,
542,
2957,
12,
2957,
18,
11223,
1769,
565,
314,
18,
9446,
6120,
12,
20,
16,
20,
16,
588,
2384,
1435,
17,
21,
16,
22922,
67,
14595,
300,
404,
1769,
565,
309,
12,
9847,
411,
404,
13,
288,
1377,
509,
5378,
1262,
2957,
273,
394,
509,
63,
588,
2384,
1435,
15533,
1377,
509,
5378,
1247,
2957,
273,
394,
509,
63,
588,
2384,
1435,
15533,
5411,
364,
12,
474,
277,
273,
374,
31,
77,
411,
1262,
2957,
2
] |
|
jj_la1[116] = jj_gen; break label_44;
|
jj_la1[118] = jj_gen; break label_46;
|
final public void StatementExpressionList() throws ParseException { /*@bgen(jjtree) StatementExpressionList */ ASTStatementExpressionList jjtn000 = new ASTStatementExpressionList(this, JJTSTATEMENTEXPRESSIONLIST); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { StatementExpression(); label_44: while (true) { switch (jj_nt.kind) { case COMMA: ; break; default: jj_la1[116] = jj_gen; break label_44; } jj_consume_token(COMMA); StatementExpression(); } } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (Error)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
|
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/3afd4630754ba5d6642f3e8a1c9aa5162eff7e9f/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
918,
8056,
2300,
682,
1435,
1216,
10616,
288,
1748,
36,
70,
4507,
12,
78,
78,
3413,
13,
8056,
2300,
682,
1195,
225,
9183,
3406,
2300,
682,
10684,
5088,
3784,
273,
394,
9183,
3406,
2300,
682,
12,
2211,
16,
804,
46,
56,
7998,
16196,
13439,
14227,
7085,
1769,
225,
1250,
10684,
5111,
3784,
273,
638,
31,
225,
10684,
3413,
18,
3190,
907,
3876,
12,
78,
78,
5088,
3784,
1769,
565,
775,
288,
1377,
8056,
2300,
5621,
1377,
1433,
67,
6334,
30,
1377,
1323,
261,
3767,
13,
288,
3639,
1620,
261,
78,
78,
67,
496,
18,
9224,
13,
288,
3639,
648,
17373,
30,
1850,
274,
1850,
898,
31,
3639,
805,
30,
1850,
10684,
67,
11821,
21,
63,
20562,
65,
273,
10684,
67,
4507,
31,
1850,
898,
1433,
67,
6334,
31,
3639,
289,
3639,
10684,
67,
21224,
67,
2316,
12,
4208,
5535,
1769,
3639,
8056,
2300,
5621,
1377,
289,
565,
289,
1044,
261,
15155,
10684,
736,
3784,
13,
288,
565,
309,
261,
78,
78,
5111,
3784,
13,
288,
1377,
10684,
3413,
18,
8507,
907,
3876,
12,
78,
78,
5088,
3784,
1769,
1377,
10684,
5111,
3784,
273,
629,
31,
565,
289,
469,
288,
1377,
10684,
3413,
18,
5120,
907,
5621,
565,
289,
565,
309,
261,
78,
78,
736,
3784,
1276,
3235,
13,
288,
1377,
288,
430,
261,
3767,
13,
604,
261,
11949,
13,
78,
78,
736,
3784,
31,
97,
565,
289,
565,
309,
261,
78,
78,
736,
3784,
1276,
10616,
13,
288,
1377,
288,
430,
261,
3767,
13,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
918,
8056,
2300,
682,
1435,
1216,
10616,
288,
1748,
36,
70,
4507,
12,
78,
78,
3413,
13,
8056,
2300,
682,
1195,
225,
9183,
3406,
2300,
682,
10684,
5088,
3784,
273,
394,
9183,
3406,
2300,
682,
12,
2211,
16,
804,
46,
56,
7998,
16196,
13439,
14227,
7085,
1769,
225,
1250,
10684,
5111,
3784,
273,
638,
31,
225,
10684,
3413,
18,
3190,
907,
3876,
12,
78,
78,
5088,
3784,
1769,
565,
775,
288,
1377,
8056,
2300,
5621,
1377,
1433,
67,
6334,
30,
1377,
1323,
261,
3767,
13,
288,
3639,
1620,
261,
78,
78,
67,
496,
18,
9224,
13,
288,
3639,
648,
17373,
30,
1850,
274,
1850,
898,
31,
3639,
805,
30,
1850,
10684,
67,
11821,
21,
63,
20562,
2
] |
if (lastComplitedMacher != null && lastComplitedMacher.match(patternString)) {
|
if (lastComplitedFilter != null && lastComplitedFilter.isSubFilter(filter.getNamePattern())) {
|
private void scheduleSearchJob() { searchJobTicket++; if (lastComplitedMacher != null && lastComplitedMacher.match(patternString)) { searchJob = new ResourceCachedResultJob(searchJobTicket, lastCompletedResult, model, (ResourceHistory) history); } else { lastComplitedMacher = null; lastCompletedResult = null; searchJob = new ResourceSearchEngineJob(searchJobTicket, model, (ResourceHistory) history, this); } searchJob.schedule(); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/ae3d354a71713373749ce0e06f69f1d25ce8c0e4/ResourceSearcher.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/ResourceSearcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4788,
2979,
2278,
1435,
288,
202,
202,
3072,
2278,
13614,
9904,
31,
202,
202,
430,
261,
2722,
799,
1127,
329,
49,
27779,
480,
446,
9506,
202,
10,
10,
1142,
799,
1127,
329,
49,
27779,
18,
1916,
12,
4951,
780,
3719,
288,
1082,
202,
3072,
2278,
273,
394,
2591,
9839,
1253,
2278,
12,
3072,
2278,
13614,
16,
6862,
202,
2722,
9556,
1253,
16,
938,
16,
261,
1420,
5623,
13,
4927,
1769,
202,
202,
97,
469,
288,
1082,
202,
2722,
799,
1127,
329,
49,
27779,
273,
446,
31,
1082,
202,
2722,
9556,
1253,
273,
446,
31,
1082,
202,
3072,
2278,
273,
394,
2591,
2979,
4410,
2278,
12,
3072,
2278,
13614,
16,
938,
16,
6862,
202,
12,
1420,
5623,
13,
4927,
16,
333,
1769,
202,
202,
97,
202,
202,
3072,
2278,
18,
10676,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4788,
2979,
2278,
1435,
288,
202,
202,
3072,
2278,
13614,
9904,
31,
202,
202,
430,
261,
2722,
799,
1127,
329,
49,
27779,
480,
446,
9506,
202,
10,
10,
1142,
799,
1127,
329,
49,
27779,
18,
1916,
12,
4951,
780,
3719,
288,
1082,
202,
3072,
2278,
273,
394,
2591,
9839,
1253,
2278,
12,
3072,
2278,
13614,
16,
6862,
202,
2722,
9556,
1253,
16,
938,
16,
261,
1420,
5623,
13,
4927,
1769,
202,
202,
97,
469,
288,
1082,
202,
2722,
799,
1127,
329,
49,
27779,
273,
446,
31,
1082,
202,
2722,
9556,
1253,
273,
446,
31,
1082,
202,
3072,
2278,
273,
394,
2591,
2979,
4410,
2278,
12,
3072,
2278,
13614,
16,
938,
16,
6862,
202,
12,
1420,
2
] |
return doShow(console, view, monitor);
|
return doShow(view, monitor);
|
public IStatus runInUIThread(IProgressMonitor monitor) { IWorkbenchPage page = getPage(); NIConsole console = fConsoleToShow; if (page == null || console == null) { return Status.CANCEL_STATUS; } try { if (page == UIAccess.getActiveWorkbenchPage(true)) { cancelShowConsoleViewDefaultJob(); } IWorkbenchPart activePart = page.getActivePart(); if (activePart instanceof IConsoleView) { if (console == ((IConsoleView) activePart).getConsole()) { return Status.OK_STATUS; } } List<IConsoleView> views = getConsoleViews(page); ListIterator<IConsoleView> iter = views.listIterator(); while (iter.hasNext()) { IConsoleView view = iter.next(); if (view.isPinned()) { // visible and pinned if (console == view.getConsole()) { return doShow(console, view, monitor); } else { iter.remove(); } } } IConsoleView[] preferedView = new IConsoleView[4]; for (IConsoleView view : views) { if (console == view.getConsole()) { if (page.isPartVisible(view)) { // already visible return doShow(console, view, monitor); } else { // already selected preferedView[0] = view; } } else { // for same type created view String secId = view.getViewSite().getSecondaryId(); if (secId != null && secId.startsWith(console.getType())) { preferedView[1] = view; } else if (page.isPartVisible(view)) { // visible views preferedView[2] = view; } else { // other views preferedView[3] = view; } } } for (int i = 0; i < preferedView.length; i++) { if (preferedView[i] != null) { return doShow(console, preferedView[i], monitor); } } return doShow(console, null, monitor); } catch (PartInitException e) { StatetPlugin.logUnexpectedError(e); return Status.OK_STATUS; } finally { fConsoleToShow = null; } }
|
48482 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48482/d3bba4266f35b585495a603d2b7a2630e87ff6c4/PageRegistry.java/clean/de.walware.statet.nico.ui/src/de/walware/statet/nico/ui/internal/PageRegistry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
467,
1482,
1086,
382,
57,
1285,
76,
896,
12,
45,
5491,
7187,
6438,
13,
288,
1082,
202,
45,
2421,
22144,
1964,
1363,
273,
8957,
5621,
1082,
202,
50,
45,
10215,
2983,
273,
284,
10215,
774,
5706,
31,
1082,
202,
430,
261,
2433,
422,
446,
747,
2983,
422,
446,
13,
288,
9506,
202,
2463,
2685,
18,
25268,
67,
8608,
31,
1082,
202,
97,
1082,
202,
698,
288,
9506,
202,
430,
261,
2433,
422,
6484,
1862,
18,
588,
3896,
2421,
22144,
1964,
12,
3767,
3719,
288,
6862,
202,
10996,
5706,
10215,
1767,
1868,
2278,
5621,
9506,
202,
97,
6862,
9506,
202,
45,
2421,
22144,
1988,
2695,
1988,
273,
1363,
18,
588,
3896,
1988,
5621,
9506,
202,
430,
261,
3535,
1988,
1276,
467,
10215,
1767,
13,
288,
6862,
202,
430,
261,
8698,
422,
14015,
45,
10215,
1767,
13,
2695,
1988,
2934,
588,
10215,
10756,
288,
25083,
202,
2463,
2685,
18,
3141,
67,
8608,
31,
6862,
202,
97,
9506,
202,
97,
9506,
202,
682,
32,
45,
10215,
1767,
34,
7361,
273,
336,
10215,
9959,
12,
2433,
1769,
9506,
202,
682,
3198,
32,
45,
10215,
1767,
34,
1400,
273,
7361,
18,
1098,
3198,
5621,
9506,
202,
17523,
261,
2165,
18,
5332,
2134,
10756,
288,
6862,
202,
45,
10215,
1767,
1476,
273,
1400,
18,
4285,
5621,
6862,
202,
430,
261,
1945,
18,
291,
12178,
11748,
10756,
288,
6862,
202,
759,
6021,
471,
26193,
25083,
202,
430,
261,
8698,
422,
1476,
18,
588,
10215,
10756,
288,
6862,
1082,
202,
2463,
741,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
467,
1482,
1086,
382,
57,
1285,
76,
896,
12,
45,
5491,
7187,
6438,
13,
288,
1082,
202,
45,
2421,
22144,
1964,
1363,
273,
8957,
5621,
1082,
202,
50,
45,
10215,
2983,
273,
284,
10215,
774,
5706,
31,
1082,
202,
430,
261,
2433,
422,
446,
747,
2983,
422,
446,
13,
288,
9506,
202,
2463,
2685,
18,
25268,
67,
8608,
31,
1082,
202,
97,
1082,
202,
698,
288,
9506,
202,
430,
261,
2433,
422,
6484,
1862,
18,
588,
3896,
2421,
22144,
1964,
12,
3767,
3719,
288,
6862,
202,
10996,
5706,
10215,
1767,
1868,
2278,
5621,
9506,
202,
97,
6862,
9506,
202,
45,
2421,
22144,
1988,
2695,
1988,
273,
1363,
18,
588,
3896,
1988,
5621,
9506,
202,
430,
261,
2
] |
public TA_RetCode CDLLADDERBOTTOM( int startIdx, int endIdx, double inOpen[], double inHigh[], double inLow[], double inClose[], MInteger outBegIdx, MInteger outNbElement, int outInteger[] ){ double ShadowVeryShortPeriodTotal; int i, outIdx, ShadowVeryShortTrailingIdx, lookbackTotal; if( startIdx < 0 ) return TA_RetCode. TA_OUT_OF_RANGE_START_INDEX; if( (endIdx < 0) || (endIdx < startIdx)) return TA_RetCode. TA_OUT_OF_RANGE_END_INDEX; lookbackTotal = CDLLADDERBOTTOM_Lookback (); if( startIdx < lookbackTotal ) startIdx = lookbackTotal; if( startIdx > endIdx ) { outBegIdx.value = 0 ; outNbElement.value = 0 ; return TA_RetCode. TA_SUCCESS; } ShadowVeryShortPeriodTotal = 0; ShadowVeryShortTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].avgPeriod) ; i = ShadowVeryShortTrailingIdx; while( i < startIdx ) { ShadowVeryShortPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) ; i++; } i = startIdx; outIdx = 0; do { if( ( inClose[i-4] >= inOpen[i-4] ? 1 : -1 ) == -1 && ( inClose[i-3] >= inOpen[i-3] ? 1 : -1 ) == -1 && ( inClose[i-2] >= inOpen[i-2] ? 1 : -1 ) == -1 && inOpen[i-4] > inOpen[i-3] && inOpen[i-3] > inOpen[i-2] && inClose[i-4] > inClose[i-3] && inClose[i-3] > inClose[i-2] && ( inClose[i-1] >= inOpen[i-1] ? 1 : -1 ) == -1 && ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) > ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].factor) * ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].avgPeriod) != 0.0? ShadowVeryShortPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].avgPeriod) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) ) / ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? 2.0 : 1.0 ) ) && ( inClose[i] >= inOpen[i] ? 1 : -1 ) == 1 && inOpen[i] > inOpen[i-1] && inClose[i] > inHigh[i-1] ) outInteger[outIdx++] = 100; else outInteger[outIdx++] = 0; ShadowVeryShortPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) - ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[ShadowVeryShortTrailingIdx-1] - inOpen[ShadowVeryShortTrailingIdx-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[ShadowVeryShortTrailingIdx-1] - inLow[ShadowVeryShortTrailingIdx-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[ShadowVeryShortTrailingIdx-1] - ( inClose[ShadowVeryShortTrailingIdx-1] >= inOpen[ShadowVeryShortTrailingIdx-1] ? inClose[ShadowVeryShortTrailingIdx-1] : inOpen[ShadowVeryShortTrailingIdx-1] ) ) + ( ( inClose[ShadowVeryShortTrailingIdx-1] >= inOpen[ShadowVeryShortTrailingIdx-1] ? inOpen[ShadowVeryShortTrailingIdx-1] : inClose[ShadowVeryShortTrailingIdx-1] ) - inLow[ShadowVeryShortTrailingIdx-1] ) : 0 ) ) ) ; i++; ShadowVeryShortTrailingIdx++; } while( i <= endIdx ); outNbElement.value = outIdx; outBegIdx.value = startIdx; return TA_RetCode. TA_SUCCESS;}
|
2365 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2365/69e0567047ad75d101e30d35826ecbb51165ba43/Core.java/buggy/ta-lib/java/src/TA/Lib/Core.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
9833,
67,
7055,
1085,
10160,
4503,
1880,
4179,
28891,
12,
474,
1937,
4223,
16,
474,
409,
4223,
16,
9056,
267,
3678,
63,
6487,
9056,
267,
8573,
63,
6487,
9056,
267,
10520,
63,
6487,
9056,
267,
4605,
63,
6487,
49,
4522,
659,
24059,
4223,
16,
49,
4522,
659,
22816,
1046,
16,
474,
659,
4522,
63,
5717,
95,
9056,
12957,
58,
627,
4897,
5027,
5269,
31,
474,
77,
16,
659,
4223,
16,
12957,
58,
627,
4897,
16808,
4223,
16,
7330,
823,
5269,
31,
430,
12,
1937,
4223,
32,
20,
13,
2463,
9833,
67,
7055,
1085,
18,
9833,
67,
5069,
67,
3932,
67,
15928,
67,
7570,
67,
9199,
31,
430,
12443,
409,
4223,
32,
20,
14047,
96,
12,
409,
4223,
32,
1937,
4223,
3719,
2463,
9833,
67,
7055,
1085,
18,
9833,
67,
5069,
67,
3932,
67,
15928,
67,
4415,
67,
9199,
31,
7330,
823,
5269,
33,
10160,
4503,
1880,
4179,
28891,
67,
9794,
823,
5621,
430,
12,
1937,
4223,
32,
7330,
823,
5269,
13,
1937,
4223,
33,
7330,
823,
5269,
31,
430,
12,
1937,
4223,
34,
409,
4223,
15329,
659,
24059,
4223,
18,
1132,
33,
20,
31,
659,
22816,
1046,
18,
1132,
33,
20,
31,
2463,
9833,
67,
7055,
1085,
18,
9833,
67,
12778,
31,
97,
12957,
58,
627,
4897,
5027,
5269,
33,
20,
31,
12957,
58,
627,
4897,
16808,
4223,
33,
1937,
4223,
17,
12,
2211,
18,
71,
464,
298,
2628,
63,
9833,
67,
39,
464,
298,
5568,
559,
18,
9833,
67,
12957,
58,
627,
4897,
18,
517,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
9833,
67,
7055,
1085,
10160,
4503,
1880,
4179,
28891,
12,
474,
1937,
4223,
16,
474,
409,
4223,
16,
9056,
267,
3678,
63,
6487,
9056,
267,
8573,
63,
6487,
9056,
267,
10520,
63,
6487,
9056,
267,
4605,
63,
6487,
49,
4522,
659,
24059,
4223,
16,
49,
4522,
659,
22816,
1046,
16,
474,
659,
4522,
63,
5717,
95,
9056,
12957,
58,
627,
4897,
5027,
5269,
31,
474,
77,
16,
659,
4223,
16,
12957,
58,
627,
4897,
16808,
4223,
16,
7330,
823,
5269,
31,
430,
12,
1937,
4223,
32,
20,
13,
2463,
9833,
67,
7055,
1085,
18,
9833,
67,
5069,
67,
3932,
67,
15928,
67,
7570,
67,
9199,
31,
430,
12443,
409,
4223,
32,
20,
14047,
96,
12,
409,
4223,
32,
2
] |
||
aload(savedVariableObject); astore(variableObjectLocal);
|
cfw.addALoad(savedVariableObject); cfw.addAStore(variableObjectLocal);
|
private void generateCatchBlock(int exceptionType, short savedVariableObject, int catchLabel, int startLabel) { int handler = acquireLabel(); classFile.markHandler(handler); // MS JVM gets cranky if the exception object is left on the stack short exceptionObject = getNewWordLocal(); astore(exceptionObject); // reset the variable object local aload(savedVariableObject); astore(variableObjectLocal); aload(contextLocal); aload(variableObjectLocal); aload(exceptionObject); releaseWordLocal(exceptionObject); // unwrap the exception... addScriptRuntimeInvoke( "getCatchObject", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +"Ljava/lang/Throwable;" +")Ljava/lang/Object;"); String exceptionName; if (exceptionType == JAVASCRIPT_EXCEPTION) { exceptionName = "org/mozilla/javascript/JavaScriptException"; } else if (exceptionType == WRAPPED_EXCEPTION) { exceptionName = "org/mozilla/javascript/WrappedException"; } else { if (exceptionType != ECMAERROR_EXCEPTION) Context.codeBug(); exceptionName = "org/mozilla/javascript/EcmaError"; } // mark the handler classFile.addExceptionHandler(startLabel, catchLabel, handler, exceptionName); addByteCode(ByteCode.GOTO, catchLabel); }
|
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/bd2594e6ebd6d8099b587934641c8f7650d87761/Codegen.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
14842,
1768,
12,
474,
1520,
559,
16,
4766,
565,
3025,
5198,
3092,
921,
16,
4766,
565,
509,
1044,
2224,
16,
4766,
565,
509,
787,
2224,
13,
565,
288,
3639,
509,
1838,
273,
10533,
2224,
5621,
3639,
29728,
18,
3355,
1503,
12,
4176,
1769,
3639,
368,
9238,
14131,
5571,
4422,
2304,
93,
309,
326,
1520,
733,
353,
2002,
603,
326,
2110,
3639,
3025,
1520,
921,
273,
12654,
3944,
2042,
5621,
3639,
279,
2233,
12,
4064,
921,
1769,
3639,
368,
2715,
326,
2190,
733,
1191,
3639,
279,
945,
12,
14077,
3092,
921,
1769,
3639,
279,
2233,
12,
6105,
921,
2042,
1769,
3639,
279,
945,
12,
2472,
2042,
1769,
3639,
279,
945,
12,
6105,
921,
2042,
1769,
3639,
279,
945,
12,
4064,
921,
1769,
3639,
3992,
3944,
2042,
12,
4064,
921,
1769,
3639,
368,
11014,
326,
1520,
2777,
3639,
527,
3651,
5576,
10969,
12,
5411,
315,
588,
14842,
921,
3113,
5411,
7751,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
1042,
4868,
5411,
397,
6,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
3651,
429,
4868,
5411,
397,
6,
21159,
19,
4936,
19,
15155,
4868,
5411,
397,
7923,
21159,
19,
4936,
19,
921,
4868,
1769,
3639,
514,
1520,
461,
31,
3639,
309,
261,
4064,
559,
422,
21227,
10885,
67,
12658,
13,
288,
5411,
1520,
461,
273,
315,
3341,
19,
8683,
15990,
19,
11242,
19,
16634,
503,
14432,
3639,
289,
469,
309,
261,
4064,
559,
422,
12984,
2203,
12120,
67,
12658,
13,
288,
5411,
1520,
461,
273,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
14842,
1768,
12,
474,
1520,
559,
16,
4766,
565,
3025,
5198,
3092,
921,
16,
4766,
565,
509,
1044,
2224,
16,
4766,
565,
509,
787,
2224,
13,
565,
288,
3639,
509,
1838,
273,
10533,
2224,
5621,
3639,
29728,
18,
3355,
1503,
12,
4176,
1769,
3639,
368,
9238,
14131,
5571,
4422,
2304,
93,
309,
326,
1520,
733,
353,
2002,
603,
326,
2110,
3639,
3025,
1520,
921,
273,
12654,
3944,
2042,
5621,
3639,
279,
2233,
12,
4064,
921,
1769,
3639,
368,
2715,
326,
2190,
733,
1191,
3639,
279,
945,
12,
14077,
3092,
921,
1769,
3639,
279,
2233,
12,
6105,
921,
2042,
1769,
3639,
279,
945,
12,
2472,
2042,
1769,
3639,
279,
945,
12,
6105,
921,
2042,
1769,
3639,
2
] |
printDebug(2,"end addDueIns(), number of refillTasks is "+total);
|
if (logger.isDebugEnabled()) { logger.debug("end addDueIns(), number of refillTasks is " + total); }
|
private void addPreviousRefills() { printDebug(" : addPreviousRefills()"); int total=0; Iterator inventories = changedSet_.iterator(); Inventory inv; InventoryPG invpg; while (inventories.hasNext()) { inv = (Inventory)inventories.next(); invpg = (InventoryPG)inv.getInventoryPG(); // maintainInventory Task is the parent of all the refills for this inventory Task maintainInventory = inventoryPlugin_.findOrMakeMILTask(inv); // should never be null but may want to add a check AHF total += invpg.addPreviousRefillsToInventory(maintainInventory); invpg.determineInventoryLevels(); // invpg.printInventoryLevels(inv, clusterId_); } printDebug(2,"end addDueIns(), number of refillTasks is "+total); }
|
7171 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7171/a7ff68e46c5f394c11380f3797c541d8a0ac59d4/InventoryManager.java/clean/glm/src/org/cougaar/glm/plugins/inventory/InventoryManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
527,
8351,
1957,
737,
87,
1435,
288,
565,
1172,
2829,
2932,
1377,
294,
527,
8351,
1957,
737,
87,
1435,
8863,
565,
509,
2078,
33,
20,
31,
565,
4498,
316,
616,
2401,
273,
3550,
694,
27799,
9838,
5621,
565,
24835,
2198,
31,
565,
24835,
18679,
2198,
8365,
31,
565,
1323,
261,
267,
616,
2401,
18,
5332,
2134,
10756,
288,
1377,
2198,
273,
261,
15059,
13,
267,
616,
2401,
18,
4285,
5621,
1377,
2198,
8365,
273,
261,
15059,
18679,
13,
5768,
18,
588,
15059,
18679,
5621,
1377,
368,
17505,
15059,
3837,
353,
326,
982,
434,
777,
326,
1278,
737,
87,
364,
333,
13086,
1377,
3837,
17505,
15059,
273,
13086,
3773,
27799,
4720,
1162,
6464,
49,
2627,
2174,
12,
5768,
1769,
1377,
368,
1410,
5903,
506,
446,
1496,
2026,
2545,
358,
527,
279,
866,
432,
44,
42,
1377,
2078,
1011,
2198,
8365,
18,
1289,
8351,
1957,
737,
11634,
15059,
12,
81,
1598,
530,
15059,
1769,
1377,
2198,
8365,
18,
24661,
15059,
12240,
5621,
1377,
368,
21114,
565,
2198,
8365,
18,
1188,
15059,
12240,
12,
5768,
16,
30560,
67,
1769,
565,
289,
565,
309,
261,
4901,
18,
291,
2829,
1526,
10756,
288,
1194,
18,
4148,
2932,
409,
527,
30023,
5048,
9334,
1300,
434,
1278,
737,
6685,
353,
315,
397,
2078,
1769,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
527,
8351,
1957,
737,
87,
1435,
288,
565,
1172,
2829,
2932,
1377,
294,
527,
8351,
1957,
737,
87,
1435,
8863,
565,
509,
2078,
33,
20,
31,
565,
4498,
316,
616,
2401,
273,
3550,
694,
27799,
9838,
5621,
565,
24835,
2198,
31,
565,
24835,
18679,
2198,
8365,
31,
565,
1323,
261,
267,
616,
2401,
18,
5332,
2134,
10756,
288,
1377,
2198,
273,
261,
15059,
13,
267,
616,
2401,
18,
4285,
5621,
1377,
2198,
8365,
273,
261,
15059,
18679,
13,
5768,
18,
588,
15059,
18679,
5621,
1377,
368,
17505,
15059,
3837,
353,
326,
982,
434,
777,
326,
1278,
737,
87,
364,
333,
13086,
1377,
3837,
17505,
15059,
273,
13086,
3773,
27799,
4720,
1162,
6464,
49,
2627,
2174,
12,
2
] |
if(i > 0) {
|
if (i > 0) {
|
private void generateHTTPPort(OMFactory fac, OMElement service) throws Exception { for (int i = 0; i < urls.length; i++) { String urlString = urls[i]; if (urlString != null && urlString.startsWith("http")) { OMElement port = fac.createOMElement(PORT, wsdl); service.addChild(port); String name = axisService.getName() + HTTP_PORT; if(i > 0) { name += i; } port.addAttribute(ATTRIBUTE_NAME, name, null); port.addAttribute(BINDING_LOCAL_NAME, tns.getPrefix() + ":" + axisService.getName() + HTTP_BINDING, null); OMElement extElement = fac.createOMElement("address", http); port.addChild(extElement); urlString = urlString.replaceAll(servicePath, "rest"); extElement.addAttribute("location", urlString, null); } } }
|
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/244aa4f43ff8119055aa57a36d41877e9626c506/AxisService2OM.java/buggy/modules/kernel/src/org/apache/axis2/description/AxisService2OM.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
3693,
2617,
12,
1872,
1733,
5853,
16,
531,
12310,
1156,
13,
5411,
1216,
1185,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
6903,
18,
2469,
31,
277,
27245,
288,
5411,
514,
29374,
273,
6903,
63,
77,
15533,
5411,
309,
261,
718,
780,
480,
446,
597,
29374,
18,
17514,
1190,
2932,
2505,
6,
3719,
288,
7734,
531,
12310,
1756,
273,
5853,
18,
2640,
51,
12310,
12,
6354,
16,
17642,
1769,
7734,
1156,
18,
1289,
1763,
12,
655,
1769,
7734,
514,
508,
273,
2654,
1179,
18,
17994,
1435,
397,
2239,
67,
6354,
31,
7734,
309,
261,
77,
405,
374,
13,
288,
10792,
508,
1011,
277,
31,
7734,
289,
7734,
1756,
18,
1289,
1499,
12,
11616,
67,
1985,
16,
508,
16,
446,
1769,
7734,
1756,
18,
1289,
1499,
12,
2739,
67,
14922,
67,
1985,
16,
268,
2387,
18,
588,
2244,
1435,
397,
6153,
13491,
397,
2654,
1179,
18,
17994,
1435,
397,
2239,
67,
2739,
16,
446,
1769,
7734,
531,
12310,
1110,
1046,
273,
5853,
18,
2640,
51,
12310,
2932,
2867,
3113,
1062,
1769,
7734,
1756,
18,
1289,
1763,
12,
408,
1046,
1769,
7734,
29374,
273,
29374,
18,
2079,
1595,
12,
3278,
743,
16,
315,
8792,
8863,
7734,
1110,
1046,
18,
1289,
1499,
2932,
3562,
3113,
29374,
16,
446,
1769,
5411,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
3693,
2617,
12,
1872,
1733,
5853,
16,
531,
12310,
1156,
13,
5411,
1216,
1185,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
6903,
18,
2469,
31,
277,
27245,
288,
5411,
514,
29374,
273,
6903,
63,
77,
15533,
5411,
309,
261,
718,
780,
480,
446,
597,
29374,
18,
17514,
1190,
2932,
2505,
6,
3719,
288,
7734,
531,
12310,
1756,
273,
5853,
18,
2640,
51,
12310,
12,
6354,
16,
17642,
1769,
7734,
1156,
18,
1289,
1763,
12,
655,
1769,
7734,
514,
508,
273,
2654,
1179,
18,
17994,
1435,
397,
2239,
67,
6354,
31,
7734,
309,
261,
77,
405,
374,
13,
288,
10792,
508,
1011,
277,
31,
7734,
289,
7734,
1756,
18,
1289,
1499,
12,
2
] |
public void set(Map settings) { final Object alignmentForArgumentsInAllocationExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ALLOCATION_EXPRESSION); if (alignmentForArgumentsInAllocationExpressionOption != null) { try { this.alignment_for_arguments_in_allocation_expression = Integer.parseInt((String) alignmentForArgumentsInAllocationExpressionOption); } catch (NumberFormatException e) { this.alignment_for_arguments_in_allocation_expression = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_arguments_in_allocation_expression = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForArgumentsInEnumConstantOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ENUM_CONSTANT); if (alignmentForArgumentsInEnumConstantOption != null) { try { this.alignment_for_arguments_in_enum_constant = Integer.parseInt((String) alignmentForArgumentsInEnumConstantOption); } catch (NumberFormatException e) { this.alignment_for_arguments_in_enum_constant = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_arguments_in_enum_constant = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForArgumentsInExplicitConstructorCallOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_EXPLICIT_CONSTRUCTOR_CALL); if (alignmentForArgumentsInExplicitConstructorCallOption != null) { try { this.alignment_for_arguments_in_explicit_constructor_call = Integer.parseInt((String) alignmentForArgumentsInExplicitConstructorCallOption); } catch (NumberFormatException e) { this.alignment_for_arguments_in_explicit_constructor_call = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_arguments_in_explicit_constructor_call = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForArgumentsInMethodInvocationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_METHOD_INVOCATION); if (alignmentForArgumentsInMethodInvocationOption != null) { try { this.alignment_for_arguments_in_method_invocation = Integer.parseInt((String) alignmentForArgumentsInMethodInvocationOption); } catch (NumberFormatException e) { this.alignment_for_arguments_in_method_invocation = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_arguments_in_method_invocation = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForArgumentsInQualifiedAllocationExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_QUALIFIED_ALLOCATION_EXPRESSION); if (alignmentForArgumentsInQualifiedAllocationExpressionOption != null) { try { this.alignment_for_arguments_in_qualified_allocation_expression = Integer.parseInt((String) alignmentForArgumentsInQualifiedAllocationExpressionOption); } catch (NumberFormatException e) { this.alignment_for_arguments_in_qualified_allocation_expression = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_arguments_in_qualified_allocation_expression = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForAssignmentOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ASSIGNMENT); if (alignmentForAssignmentOption != null) { try { this.alignment_for_assignment = Integer.parseInt((String) alignmentForAssignmentOption); } catch (NumberFormatException e) { this.alignment_for_assignment = Alignment.M_ONE_PER_LINE_SPLIT; } catch (ClassCastException e) { this.alignment_for_assignment = Alignment.M_ONE_PER_LINE_SPLIT; } } final Object alignmentForBinaryExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_BINARY_EXPRESSION); if (alignmentForBinaryExpressionOption != null) { try { this.alignment_for_binary_expression = Integer.parseInt((String) alignmentForBinaryExpressionOption); } catch (NumberFormatException e) { this.alignment_for_binary_expression = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_binary_expression = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForCompactIfOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_COMPACT_IF); if (alignmentForCompactIfOption != null) { try { this.alignment_for_compact_if = Integer.parseInt((String) alignmentForCompactIfOption); } catch (NumberFormatException e) { this.alignment_for_compact_if = Alignment.M_ONE_PER_LINE_SPLIT | Alignment.M_INDENT_BY_ONE; } catch (ClassCastException e) { this.alignment_for_compact_if = Alignment.M_ONE_PER_LINE_SPLIT | Alignment.M_INDENT_BY_ONE; } } final Object alignmentForConditionalExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION); if (alignmentForConditionalExpressionOption != null) { try { this.alignment_for_conditional_expression = Integer.parseInt((String) alignmentForConditionalExpressionOption); } catch (NumberFormatException e) { this.alignment_for_conditional_expression = Alignment.M_ONE_PER_LINE_SPLIT; } catch (ClassCastException e) { this.alignment_for_conditional_expression = Alignment.M_ONE_PER_LINE_SPLIT; } } final Object alignmentForEnumConstantsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ENUM_CONSTANTS); if (alignmentForEnumConstantsOption != null) { try { this.alignment_for_enum_constants = Integer.parseInt((String) alignmentForEnumConstantsOption); } catch (NumberFormatException e) { this.alignment_for_enum_constants = Alignment.NONE; } catch (ClassCastException e) { this.alignment_for_enum_constants = Alignment.NONE; } } final Object alignmentForExpressionsInArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_EXPRESSIONS_IN_ARRAY_INITIALIZER); if (alignmentForExpressionsInArrayInitializerOption != null) { try { this.alignment_for_expressions_in_array_initializer = Integer.parseInt((String) alignmentForExpressionsInArrayInitializerOption); } catch (NumberFormatException e) { this.alignment_for_expressions_in_array_initializer = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_expressions_in_array_initializer = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForMultipleFieldsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_MULTIPLE_FIELDS); if (alignmentForMultipleFieldsOption != null) { try { this.alignment_for_multiple_fields = Integer.parseInt((String) alignmentForMultipleFieldsOption); } catch (NumberFormatException e) { this.alignment_for_multiple_fields = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_multiple_fields = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForParametersInConstructorDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_CONSTRUCTOR_DECLARATION); if (alignmentForParametersInConstructorDeclarationOption != null) { try { this.alignment_for_parameters_in_constructor_declaration = Integer.parseInt((String) alignmentForParametersInConstructorDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_parameters_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_parameters_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForParametersInMethodDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_METHOD_DECLARATION); if (alignmentForParametersInMethodDeclarationOption != null) { try { this.alignment_for_parameters_in_method_declaration = Integer.parseInt((String) alignmentForParametersInMethodDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_parameters_in_method_declaration = Alignment.M_COMPACT_SPLIT; } catch(ClassCastException e) { this.alignment_for_parameters_in_method_declaration = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForSelectorInMethodInvocationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SELECTOR_IN_METHOD_INVOCATION); if (alignmentForSelectorInMethodInvocationOption != null) { try { this.alignment_for_selector_in_method_invocation = Integer.parseInt((String) alignmentForSelectorInMethodInvocationOption); } catch (NumberFormatException e) { this.alignment_for_selector_in_method_invocation = Alignment.M_COMPACT_SPLIT; } catch(ClassCastException e) { this.alignment_for_selector_in_method_invocation = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForSuperclassInTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SUPERCLASS_IN_TYPE_DECLARATION); if (alignmentForSuperclassInTypeDeclarationOption != null) { try { this.alignment_for_superclass_in_type_declaration = Integer.parseInt((String) alignmentForSuperclassInTypeDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_superclass_in_type_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; } catch(ClassCastException e) { this.alignment_for_superclass_in_type_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; } } final Object alignmentForSuperinterfacesInEnumDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SUPERINTERFACES_IN_ENUM_DECLARATION); if (alignmentForSuperinterfacesInEnumDeclarationOption != null) { try { this.alignment_for_superinterfaces_in_enum_declaration = Integer.parseInt((String) alignmentForSuperinterfacesInEnumDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_superinterfaces_in_enum_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; } catch(ClassCastException e) { this.alignment_for_superinterfaces_in_enum_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; } } final Object alignmentForSuperinterfacesInTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SUPERINTERFACES_IN_TYPE_DECLARATION); if (alignmentForSuperinterfacesInTypeDeclarationOption != null) { try { this.alignment_for_superinterfaces_in_type_declaration = Integer.parseInt((String) alignmentForSuperinterfacesInTypeDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_superinterfaces_in_type_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; } catch(ClassCastException e) { this.alignment_for_superinterfaces_in_type_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; } } final Object alignmentForThrowsClauseInConstructorDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_CONSTRUCTOR_DECLARATION); if (alignmentForThrowsClauseInConstructorDeclarationOption != null) { try { this.alignment_for_throws_clause_in_constructor_declaration = Integer.parseInt((String) alignmentForThrowsClauseInConstructorDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_throws_clause_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; } catch(ClassCastException e) { this.alignment_for_throws_clause_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForThrowsClauseInMethodDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_METHOD_DECLARATION); if (alignmentForThrowsClauseInMethodDeclarationOption != null) { try { this.alignment_for_throws_clause_in_method_declaration = Integer.parseInt((String) alignmentForThrowsClauseInMethodDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_throws_clause_in_method_declaration = Alignment.M_COMPACT_SPLIT; } catch(ClassCastException e) { this.alignment_for_throws_clause_in_method_declaration = Alignment.M_COMPACT_SPLIT; } } final Object alignTypeMembersOnColumnsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGN_TYPE_MEMBERS_ON_COLUMNS); if (alignTypeMembersOnColumnsOption != null) { this.align_type_members_on_columns = DefaultCodeFormatterConstants.TRUE.equals(alignTypeMembersOnColumnsOption); } final Object bracePositionForArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER); if (bracePositionForArrayInitializerOption != null) { try { this.brace_position_for_array_initializer = (String) bracePositionForArrayInitializerOption; } catch(ClassCastException e) { this.brace_position_for_array_initializer = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForBlockOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK); if (bracePositionForBlockOption != null) { try { this.brace_position_for_block = (String) bracePositionForBlockOption; } catch(ClassCastException e) { this.brace_position_for_block = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForBlockInCaseOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK_IN_CASE); if (bracePositionForBlockInCaseOption != null) { try { this.brace_position_for_block_in_case = (String) bracePositionForBlockInCaseOption; } catch(ClassCastException e) { this.brace_position_for_block_in_case = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForConstructorDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION); if (bracePositionForConstructorDeclarationOption != null) { try { this.brace_position_for_constructor_declaration = (String) bracePositionForConstructorDeclarationOption; } catch(ClassCastException e) { this.brace_position_for_constructor_declaration = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForEnumConstantOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ENUM_CONSTANT); if (bracePositionForEnumConstantOption != null) { try { this.brace_position_for_enum_constant = (String) bracePositionForEnumConstantOption; } catch(ClassCastException e) { this.brace_position_for_enum_constant = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForEnumDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ENUM_DECLARATION); if (bracePositionForEnumDeclarationOption != null) { try { this.brace_position_for_enum_declaration = (String) bracePositionForEnumDeclarationOption; } catch(ClassCastException e) { this.brace_position_for_enum_declaration = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForMethodDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION); if (bracePositionForMethodDeclarationOption != null) { try { this.brace_position_for_method_declaration = (String) bracePositionForMethodDeclarationOption; } catch(ClassCastException e) { this.brace_position_for_method_declaration = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForSwitchOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_SWITCH); if (bracePositionForSwitchOption != null) { try { this.brace_position_for_switch = (String) bracePositionForSwitchOption; } catch(ClassCastException e) { this.brace_position_for_switch = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION); if (bracePositionForTypeDeclarationOption != null) { try { this.brace_position_for_type_declaration = (String) bracePositionForTypeDeclarationOption; } catch(ClassCastException e) { this.brace_position_for_type_declaration = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object continuationIndentationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_CONTINUATION_INDENTATION); if (continuationIndentationOption != null) { try { this.continuation_indentation = Integer.parseInt((String) continuationIndentationOption); } catch (NumberFormatException e) { this.continuation_indentation = 2; } catch(ClassCastException e) { this.continuation_indentation = 2; } } final Object continuationIndentationForArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_CONTINUATION_INDENTATION_FOR_ARRAY_INITIALIZER); if (continuationIndentationForArrayInitializerOption != null) { try { this.continuation_indentation_for_array_initializer = Integer.parseInt((String) continuationIndentationForArrayInitializerOption); } catch (NumberFormatException e) { this.continuation_indentation_for_array_initializer = 2; } catch(ClassCastException e) { this.continuation_indentation_for_array_initializer = 2; } }// final Object blankLinesAfterImportsOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_AFTER_IMPORTS);// if (blankLinesAfterImportsOption != null) {// try {// this.blank_lines_after_imports = Integer.parseInt((String) blankLinesAfterImportsOption);// } catch (NumberFormatException e) {// this.blank_lines_after_imports = 0;// } catch(ClassCastException e) {// this.blank_lines_after_imports = 0;// }// }// final Object blankLinesAfterPackageOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_AFTER_PACKAGE);// if (blankLinesAfterPackageOption != null) {// try {// this.blank_lines_after_package = Integer.parseInt((String) blankLinesAfterPackageOption);// } catch (NumberFormatException e) {// this.blank_lines_after_package = 0;// } catch(ClassCastException e) {// this.blank_lines_after_package = 0;// }// }// final Object blankLinesBeforeFieldOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_FIELD);// if (blankLinesBeforeFieldOption != null) {// try {// this.blank_lines_before_field = Integer.parseInt((String) blankLinesBeforeFieldOption);// } catch (NumberFormatException e) {// this.blank_lines_before_field = 0;// } catch(ClassCastException e) {// this.blank_lines_before_field = 0;// }// }// final Object blankLinesBeforeFirstClassBodyDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_FIRST_CLASS_BODY_DECLARATION);// if (blankLinesBeforeFirstClassBodyDeclarationOption != null) {// try {// this.blank_lines_before_first_class_body_declaration = Integer.parseInt((String) blankLinesBeforeFirstClassBodyDeclarationOption);// } catch (NumberFormatException e) {// this.blank_lines_before_first_class_body_declaration = 0;// } catch(ClassCastException e) {// this.blank_lines_before_first_class_body_declaration = 0;// }// }// final Object blankLinesBeforeImportsOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_IMPORTS);// if (blankLinesBeforeImportsOption != null) {// try {// this.blank_lines_before_imports = Integer.parseInt((String) blankLinesBeforeImportsOption);// } catch (NumberFormatException e) {// this.blank_lines_before_imports = 0;// } catch(ClassCastException e) {// this.blank_lines_before_imports = 0;// }// }// final Object blankLinesBeforeMemberTypeOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_MEMBER_TYPE);// if (blankLinesBeforeMemberTypeOption != null) {// try {// this.blank_lines_before_member_type = Integer.parseInt((String) blankLinesBeforeMemberTypeOption);// } catch (NumberFormatException e) {// this.blank_lines_before_member_type = 0;// } catch(ClassCastException e) {// this.blank_lines_before_member_type = 0;// }// }// final Object blankLinesBeforeMethodOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_METHOD);// if (blankLinesBeforeMethodOption != null) {// try {// this.blank_lines_before_method = Integer.parseInt((String) blankLinesBeforeMethodOption);// } catch (NumberFormatException e) {// this.blank_lines_before_method = 0;// } catch(ClassCastException e) {// this.blank_lines_before_method = 0;// }// }// final Object blankLinesBeforeNewChunkOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_NEW_CHUNK);// if (blankLinesBeforeNewChunkOption != null) {// try {// this.blank_lines_before_new_chunk = Integer.parseInt((String) blankLinesBeforeNewChunkOption);// } catch (NumberFormatException e) {// this.blank_lines_before_new_chunk = 0;// } catch(ClassCastException e) {// this.blank_lines_before_new_chunk = 0;// }// }// final Object blankLinesBeforePackageOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_PACKAGE);// if (blankLinesBeforePackageOption != null) {// try {// this.blank_lines_before_package = Integer.parseInt((String) blankLinesBeforePackageOption);// } catch (NumberFormatException e) {// this.blank_lines_before_package = 0;// } catch(ClassCastException e) {// this.blank_lines_before_package = 0;// }// }// final Object blankLinesBetweenTypeDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BETWEEN_TYPE_DECLARATIONS);// if (blankLinesBetweenTypeDeclarationsOption != null) {// try {// this.blank_lines_between_type_declarations = Integer.parseInt((String) blankLinesBetweenTypeDeclarationsOption);// } catch (NumberFormatException e) {// this.blank_lines_between_type_declarations = 0;// } catch(ClassCastException e) {// this.blank_lines_between_type_declarations = 0;// }// }// final Object blankLinesAtBeginningOfMethodBodyOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_AT_BEGINNING_OF_METHOD_BODY);// if (blankLinesAtBeginningOfMethodBodyOption != null) {// try {// this.blank_lines_at_beginning_of_method_body = Integer.parseInt((String) blankLinesAtBeginningOfMethodBodyOption);// } catch (NumberFormatException e) {// this.blank_lines_at_beginning_of_method_body = 0;// } catch(ClassCastException e) {// this.blank_lines_at_beginning_of_method_body = 0;// }// }// final Object commentClearBlankLinesOption = settings.get(CodeFormatterConstants.FORMATTER_COMMENT_CLEAR_BLANK_LINES);// if (commentClearBlankLinesOption != null) {// this.comment_clear_blank_lines = CodeFormatterConstants.TRUE.equals(commentClearBlankLinesOption);// }// final Object commentFormatOption = settings.get(CodeFormatterConstants.FORMATTER_COMMENT_FORMAT);// if (commentFormatOption != null) {// this.comment_format = CodeFormatterConstants.TRUE.equals(commentFormatOption);// }// final Object commentFormatHeaderOption = settings.get(CodeFormatterConstants.FORMATTER_COMMENT_FORMAT_HEADER);// if (commentFormatHeaderOption != null) {// this.comment_format_header = CodeFormatterConstants.TRUE.equals(commentFormatHeaderOption);// }// final Object commentFormatHtmlOption = settings.get(CodeFormatterConstants.FORMATTER_COMMENT_FORMAT_HTML);// if (commentFormatHtmlOption != null) {// this.comment_format_html = CodeFormatterConstants.TRUE.equals(commentFormatHtmlOption);// }// final Object commentFormatSourceOption = settings.get(CodeFormatterConstants.FORMATTER_COMMENT_FORMAT_SOURCE);// if (commentFormatSourceOption != null) {// this.comment_format_source = CodeFormatterConstants.TRUE.equals(commentFormatSourceOption);// }// final Object commentLineLengthOption = settings.get(CodeFormatterConstants.FORMATTER_COMMENT_LINE_LENGTH);// if (commentLineLengthOption != null) {// try {// this.comment_line_length = Integer.parseInt((String) commentLineLengthOption);// } catch (NumberFormatException e) {// this.comment_line_length = 80;// } catch(ClassCastException e) {// this.comment_line_length = 80;// }// } final Object indentStatementsCompareToBlockOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BLOCK); if (indentStatementsCompareToBlockOption != null) { this.indent_statements_compare_to_block = DefaultCodeFormatterConstants.TRUE.equals(indentStatementsCompareToBlockOption); } final Object indentStatementsCompareToBodyOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BODY); if (indentStatementsCompareToBodyOption != null) { this.indent_statements_compare_to_body = DefaultCodeFormatterConstants.TRUE.equals(indentStatementsCompareToBodyOption); } final Object indentBodyDeclarationsCompareToEnumConstantHeaderOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ENUM_CONSTANT_HEADER); if (indentBodyDeclarationsCompareToEnumConstantHeaderOption != null) { this.indent_body_declarations_compare_to_enum_constant_header = DefaultCodeFormatterConstants.TRUE.equals(indentBodyDeclarationsCompareToEnumConstantHeaderOption); } final Object indentBodyDeclarationsCompareToEnumDeclarationHeaderOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ENUM_DECLARATION_HEADER); if (indentBodyDeclarationsCompareToEnumDeclarationHeaderOption != null) { this.indent_body_declarations_compare_to_enum_declaration_header = DefaultCodeFormatterConstants.TRUE.equals(indentBodyDeclarationsCompareToEnumDeclarationHeaderOption); } final Object indentAccessSpecifierCompareToTypeHeaderOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_ACCESS_SPECIFIER_COMPARE_TO_TYPE_HEADER); if (indentAccessSpecifierCompareToTypeHeaderOption != null) { this.indent_access_specifier_compare_to_type_header = DefaultCodeFormatterConstants.TRUE.equals(indentAccessSpecifierCompareToTypeHeaderOption); } final Object indentBodyDeclarationsCompareToAccessSpecifierOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ACCESS_SPECIFIER); if (indentBodyDeclarationsCompareToAccessSpecifierOption != null) { this.indent_body_declarations_compare_to_access_specifier = DefaultCodeFormatterConstants.TRUE.equals(indentBodyDeclarationsCompareToAccessSpecifierOption); } final Object indentBreaksCompareToCasesOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_BREAKS_COMPARE_TO_CASES); if (indentBreaksCompareToCasesOption != null) { this.indent_breaks_compare_to_cases = DefaultCodeFormatterConstants.TRUE.equals(indentBreaksCompareToCasesOption); } final Object indentEmptyLinesOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_EMPTY_LINES); if (indentEmptyLinesOption != null) { this.indent_empty_lines = DefaultCodeFormatterConstants.TRUE.equals(indentEmptyLinesOption); } final Object indentSwitchstatementsCompareToCasesOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_CASES); if (indentSwitchstatementsCompareToCasesOption != null) { this.indent_switchstatements_compare_to_cases = DefaultCodeFormatterConstants.TRUE.equals(indentSwitchstatementsCompareToCasesOption); } final Object indentSwitchstatementsCompareToSwitchOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_SWITCH); if (indentSwitchstatementsCompareToSwitchOption != null) { this.indent_switchstatements_compare_to_switch = DefaultCodeFormatterConstants.TRUE.equals(indentSwitchstatementsCompareToSwitchOption); } final Object indentationSizeOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENTATION_SIZE); if (indentationSizeOption != null) { try { this.indentation_size = Integer.parseInt((String) indentationSizeOption); } catch (NumberFormatException e) { this.indentation_size = 4; } catch(ClassCastException e) { this.indentation_size = 4; } }// final Object insertNewLineAfterOpeningBraceInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER);// if (insertNewLineAfterOpeningBraceInArrayInitializerOption != null) {// this.insert_new_line_after_opening_brace_in_array_initializer = CCorePlugin.INSERT.equals(insertNewLineAfterOpeningBraceInArrayInitializerOption);// }// final Object insertNewLineAtEndOfFileIfMissingOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AT_END_OF_FILE_IF_MISSING);// if (insertNewLineAtEndOfFileIfMissingOption != null) {// this.insert_new_line_at_end_of_file_if_missing = CCorePlugin.INSERT.equals(insertNewLineAtEndOfFileIfMissingOption);// }// final Object insertNewLineBeforeCatchInTryStatementOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_CATCH_IN_TRY_STATEMENT);// if (insertNewLineBeforeCatchInTryStatementOption != null) {// this.insert_new_line_before_catch_in_try_statement = CCorePlugin.INSERT.equals(insertNewLineBeforeCatchInTryStatementOption);// }// final Object insertNewLineBeforeClosingBraceInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER);// if (insertNewLineBeforeClosingBraceInArrayInitializerOption != null) {// this.insert_new_line_before_closing_brace_in_array_initializer = CCorePlugin.INSERT.equals(insertNewLineBeforeClosingBraceInArrayInitializerOption);// }// final Object insertNewLineBeforeElseInIfStatementOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_ELSE_IN_IF_STATEMENT);// if (insertNewLineBeforeElseInIfStatementOption != null) {// this.insert_new_line_before_else_in_if_statement = CCorePlugin.INSERT.equals(insertNewLineBeforeElseInIfStatementOption);// }// final Object insertNewLineBeforeFinallyInTryStatementOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_FINALLY_IN_TRY_STATEMENT);// if (insertNewLineBeforeFinallyInTryStatementOption != null) {// this.insert_new_line_before_finally_in_try_statement = CCorePlugin.INSERT.equals(insertNewLineBeforeFinallyInTryStatementOption);// }// final Object insertNewLineBeforeWhileInDoStatementOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_WHILE_IN_DO_STATEMENT);// if (insertNewLineBeforeWhileInDoStatementOption != null) {// this.insert_new_line_before_while_in_do_statement = CCorePlugin.INSERT.equals(insertNewLineBeforeWhileInDoStatementOption);// }// final Object insertNewLineInEmptyBlockOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_BLOCK);// if (insertNewLineInEmptyBlockOption != null) {// this.insert_new_line_in_empty_block = CCorePlugin.INSERT.equals(insertNewLineInEmptyBlockOption);// }// final Object insertNewLineInEmptyEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ENUM_CONSTANT);// if (insertNewLineInEmptyEnumConstantOption != null) {// this.insert_new_line_in_empty_enum_constant = CCorePlugin.INSERT.equals(insertNewLineInEmptyEnumConstantOption);// }// final Object insertNewLineInEmptyEnumDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ENUM_DECLARATION);// if (insertNewLineInEmptyEnumDeclarationOption != null) {// this.insert_new_line_in_empty_enum_declaration = CCorePlugin.INSERT.equals(insertNewLineInEmptyEnumDeclarationOption);// }// final Object insertNewLineInEmptyMethodBodyOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_METHOD_BODY);// if (insertNewLineInEmptyMethodBodyOption != null) {// this.insert_new_line_in_empty_method_body = CCorePlugin.INSERT.equals(insertNewLineInEmptyMethodBodyOption);// }// final Object insertNewLineInEmptyTypeDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_TYPE_DECLARATION);// if (insertNewLineInEmptyTypeDeclarationOption != null) {// this.insert_new_line_in_empty_type_declaration = CCorePlugin.INSERT.equals(insertNewLineInEmptyTypeDeclarationOption);// }// final Object insertSpaceAfterAndInWildcardOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_AND_IN_TYPE_PARAMETER);// if (insertSpaceAfterAndInWildcardOption != null) {// this.insert_space_after_and_in_type_parameter = CCorePlugin.INSERT.equals(insertSpaceAfterAndInWildcardOption);// }// final Object insertSpaceAfterAssignmentOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_ASSIGNMENT_OPERATOR);// if (insertSpaceAfterAssignmentOperatorOption != null) {// this.insert_space_after_assignment_operator = CCorePlugin.INSERT.equals(insertSpaceAfterAssignmentOperatorOption);// }// final Object insertSpaceAfterBinaryOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_BINARY_OPERATOR);// if (insertSpaceAfterBinaryOperatorOption != null) {// this.insert_space_after_binary_operator = CCorePlugin.INSERT.equals(insertSpaceAfterBinaryOperatorOption);// }// final Object insertSpaceAfterClosingAngleBracketInTypeArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS);// if (insertSpaceAfterClosingAngleBracketInTypeArgumentsOption != null) {// this.insert_space_after_closing_angle_bracket_in_type_arguments = CCorePlugin.INSERT.equals(insertSpaceAfterClosingAngleBracketInTypeArgumentsOption);// }// final Object insertSpaceAfterClosingAngleBracketInTypeParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TYPE_PARAMETERS);// if (insertSpaceAfterClosingAngleBracketInTypeParametersOption != null) {// this.insert_space_after_closing_angle_bracket_in_type_parameters = CCorePlugin.INSERT.equals(insertSpaceAfterClosingAngleBracketInTypeParametersOption);// }// final Object insertSpaceAfterClosingParenInCastOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_PAREN_IN_CAST);// if (insertSpaceAfterClosingParenInCastOption != null) {// this.insert_space_after_closing_paren_in_cast = CCorePlugin.INSERT.equals(insertSpaceAfterClosingParenInCastOption);// }// final Object insertSpaceAfterClosingBraceInBlockOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_BRACE_IN_BLOCK);// if (insertSpaceAfterClosingBraceInBlockOption != null) {// this.insert_space_after_closing_brace_in_block = CCorePlugin.INSERT.equals(insertSpaceAfterClosingBraceInBlockOption);// }// final Object insertSpaceAfterColonInAssertOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_ASSERT);// if (insertSpaceAfterColonInAssertOption != null) {// this.insert_space_after_colon_in_assert = CCorePlugin.INSERT.equals(insertSpaceAfterColonInAssertOption);// }// final Object insertSpaceAfterColonInCaseOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CASE);// if (insertSpaceAfterColonInCaseOption != null) {// this.insert_space_after_colon_in_case = CCorePlugin.INSERT.equals(insertSpaceAfterColonInCaseOption);// }// final Object insertSpaceAfterColonInConditionalOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CONDITIONAL);// if (insertSpaceAfterColonInConditionalOption != null) {// this.insert_space_after_colon_in_conditional = CCorePlugin.INSERT.equals(insertSpaceAfterColonInConditionalOption);// }// final Object insertSpaceAfterColonInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_FOR);// if (insertSpaceAfterColonInForOption != null) {// this.insert_space_after_colon_in_for = CCorePlugin.INSERT.equals(insertSpaceAfterColonInForOption);// }// final Object insertSpaceAfterColonInLabeledStatementOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_LABELED_STATEMENT);// if (insertSpaceAfterColonInLabeledStatementOption != null) {// this.insert_space_after_colon_in_labeled_statement = CCorePlugin.INSERT.equals(insertSpaceAfterColonInLabeledStatementOption);// }// final Object insertSpaceAfterCommaInAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ALLOCATION_EXPRESSION);// if (insertSpaceAfterCommaInAllocationExpressionOption != null) {// this.insert_space_after_comma_in_allocation_expression = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInAllocationExpressionOption);// }// final Object insertSpaceAfterCommaInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ARRAY_INITIALIZER);// if (insertSpaceAfterCommaInArrayInitializerOption != null) {// this.insert_space_after_comma_in_array_initializer = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInArrayInitializerOption);// }// final Object insertSpaceAfterCommaInConstructorDeclarationParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_DECLARATION_PARAMETERS);// if (insertSpaceAfterCommaInConstructorDeclarationParametersOption != null) {// this.insert_space_after_comma_in_constructor_declaration_parameters = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInConstructorDeclarationParametersOption);// }// final Object insertSpaceAfterCommaInConstructorDeclarationThrowsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_DECLARATION_THROWS);// if (insertSpaceAfterCommaInConstructorDeclarationThrowsOption != null) {// this.insert_space_after_comma_in_constructor_declaration_throws = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInConstructorDeclarationThrowsOption);// }// final Object insertSpaceAfterCommaInEnumConstantArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ENUM_CONSTANT_ARGUMENTS);// if (insertSpaceAfterCommaInEnumConstantArgumentsOption != null) {// this.insert_space_after_comma_in_enum_constant_arguments = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInEnumConstantArgumentsOption);// }// final Object insertSpaceAfterCommaInEnumDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ENUM_DECLARATIONS);// if (insertSpaceAfterCommaInEnumDeclarationsOption != null) {// this.insert_space_after_comma_in_enum_declarations = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInEnumDeclarationsOption);// }// final Object insertSpaceAfterCommaInExplicitConstructorCallArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_EXPLICIT_CONSTRUCTOR_CALL_ARGUMENTS);// if (insertSpaceAfterCommaInExplicitConstructorCallArgumentsOption != null) {// this.insert_space_after_comma_in_explicit_constructor_call_arguments = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInExplicitConstructorCallArgumentsOption);// }// final Object insertSpaceAfterCommaInForIncrementsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_FOR_INCREMENTS);// if (insertSpaceAfterCommaInForIncrementsOption != null) {// this.insert_space_after_comma_in_for_increments = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInForIncrementsOption);// }// final Object insertSpaceAfterCommaInForInitsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_FOR_INITS);// if (insertSpaceAfterCommaInForInitsOption != null) {// this.insert_space_after_comma_in_for_inits = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInForInitsOption);// }// final Object insertSpaceAfterCommaInMethodInvocationArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_INVOCATION_ARGUMENTS);// if (insertSpaceAfterCommaInMethodInvocationArgumentsOption != null) {// this.insert_space_after_comma_in_method_invocation_arguments = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInMethodInvocationArgumentsOption);// }// final Object insertSpaceAfterCommaInMethodDeclarationParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_PARAMETERS);// if (insertSpaceAfterCommaInMethodDeclarationParametersOption != null) {// this.insert_space_after_comma_in_method_declaration_parameters = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInMethodDeclarationParametersOption);// }// final Object insertSpaceAfterCommaInMethodDeclarationThrowsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_THROWS);// if (insertSpaceAfterCommaInMethodDeclarationThrowsOption != null) {// this.insert_space_after_comma_in_method_declaration_throws = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInMethodDeclarationThrowsOption);// }// final Object insertSpaceAfterCommaInMultipleFieldDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MULTIPLE_FIELD_DECLARATIONS);// if (insertSpaceAfterCommaInMultipleFieldDeclarationsOption != null) {// this.insert_space_after_comma_in_multiple_field_declarations = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInMultipleFieldDeclarationsOption);// }// final Object insertSpaceAfterCommaInMultipleLocalDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MULTIPLE_LOCAL_DECLARATIONS);// if (insertSpaceAfterCommaInMultipleLocalDeclarationsOption != null) {// this.insert_space_after_comma_in_multiple_local_declarations = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInMultipleLocalDeclarationsOption);// }// final Object insertSpaceAfterCommaInParameterizedTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_PARAMETERIZED_TYPE_REFERENCE);// if (insertSpaceAfterCommaInParameterizedTypeReferenceOption != null) {// this.insert_space_after_comma_in_parameterized_type_reference = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInParameterizedTypeReferenceOption);// }// final Object insertSpaceAfterCommaInSuperinterfacesOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_SUPERINTERFACES);// if (insertSpaceAfterCommaInSuperinterfacesOption != null) {// this.insert_space_after_comma_in_superinterfaces = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInSuperinterfacesOption);// }// final Object insertSpaceAfterCommaInTypeArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TYPE_ARGUMENTS);// if (insertSpaceAfterCommaInTypeArgumentsOption != null) {// this.insert_space_after_comma_in_type_arguments = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInTypeArgumentsOption);// }// final Object insertSpaceAfterCommaInTypeParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TYPE_PARAMETERS);// if (insertSpaceAfterCommaInTypeParametersOption != null) {// this.insert_space_after_comma_in_type_parameters = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInTypeParametersOption);// }// final Object insertSpaceAfterEllipsisOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_ELLIPSIS);// if (insertSpaceAfterEllipsisOption != null) {// this.insert_space_after_ellipsis = CCorePlugin.INSERT.equals(insertSpaceAfterEllipsisOption);// }// final Object insertSpaceAfterOpeningAngleBracketInParameterizedTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE);// if (insertSpaceAfterOpeningAngleBracketInParameterizedTypeReferenceOption != null) {// this.insert_space_after_opening_angle_bracket_in_parameterized_type_reference = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningAngleBracketInParameterizedTypeReferenceOption);// }// final Object insertSpaceAfterOpeningAngleBracketInTypeArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS);// if (insertSpaceAfterOpeningAngleBracketInTypeArgumentsOption != null) {// this.insert_space_after_opening_angle_bracket_in_type_arguments = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningAngleBracketInTypeArgumentsOption);// }// final Object insertSpaceAfterOpeningAngleBracketInTypeParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_TYPE_PARAMETERS);// if (insertSpaceAfterOpeningAngleBracketInTypeParametersOption != null) {// this.insert_space_after_opening_angle_bracket_in_type_parameters = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningAngleBracketInTypeParametersOption);// }// final Object insertSpaceAfterOpeningBracketInArrayAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION);// if (insertSpaceAfterOpeningBracketInArrayAllocationExpressionOption != null) {// this.insert_space_after_opening_bracket_in_array_allocation_expression = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningBracketInArrayAllocationExpressionOption);// }// final Object insertSpaceAfterOpeningBracketInArrayReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACKET_IN_ARRAY_REFERENCE);// if (insertSpaceAfterOpeningBracketInArrayReferenceOption != null) {// this.insert_space_after_opening_bracket_in_array_reference = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningBracketInArrayReferenceOption);// }// final Object insertSpaceAfterOpeningBraceInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER);// if (insertSpaceAfterOpeningBraceInArrayInitializerOption != null) {// this.insert_space_after_opening_brace_in_array_initializer = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningBraceInArrayInitializerOption);// }// final Object insertSpaceAfterOpeningParenInCastOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CAST);// if (insertSpaceAfterOpeningParenInCastOption != null) {// this.insert_space_after_opening_paren_in_cast = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInCastOption);// }// final Object insertSpaceAfterOpeningParenInCatchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CATCH);// if (insertSpaceAfterOpeningParenInCatchOption != null) {// this.insert_space_after_opening_paren_in_catch = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInCatchOption);// }// final Object insertSpaceAfterOpeningParenInConstructorDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION);// if (insertSpaceAfterOpeningParenInConstructorDeclarationOption != null) {// this.insert_space_after_opening_paren_in_constructor_declaration = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInConstructorDeclarationOption);// }// final Object insertSpaceAfterOpeningParenInEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_ENUM_CONSTANT);// if (insertSpaceAfterOpeningParenInEnumConstantOption != null) {// this.insert_space_after_opening_paren_in_enum_constant = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInEnumConstantOption);// }// final Object insertSpaceAfterOpeningParenInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_FOR);// if (insertSpaceAfterOpeningParenInForOption != null) {// this.insert_space_after_opening_paren_in_for = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInForOption);// }// final Object insertSpaceAfterOpeningParenInIfOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_IF);// if (insertSpaceAfterOpeningParenInIfOption != null) {// this.insert_space_after_opening_paren_in_if = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInIfOption);// }// final Object insertSpaceAfterOpeningParenInMethodDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_DECLARATION);// if (insertSpaceAfterOpeningParenInMethodDeclarationOption != null) {// this.insert_space_after_opening_paren_in_method_declaration = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInMethodDeclarationOption);// }// final Object insertSpaceAfterOpeningParenInMethodInvocationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_INVOCATION);// if (insertSpaceAfterOpeningParenInMethodInvocationOption != null) {// this.insert_space_after_opening_paren_in_method_invocation = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInMethodInvocationOption);// }// final Object insertSpaceAfterOpeningParenInParenthesizedExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION);// if (insertSpaceAfterOpeningParenInParenthesizedExpressionOption != null) {// this.insert_space_after_opening_paren_in_parenthesized_expression = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInParenthesizedExpressionOption);// }// final Object insertSpaceAfterOpeningParenInSwitchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SWITCH);// if (insertSpaceAfterOpeningParenInSwitchOption != null) {// this.insert_space_after_opening_paren_in_switch = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInSwitchOption);// }// final Object insertSpaceAfterOpeningParenInSynchronizedOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SYNCHRONIZED);// if (insertSpaceAfterOpeningParenInSynchronizedOption != null) {// this.insert_space_after_opening_paren_in_synchronized = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInSynchronizedOption);// }// final Object insertSpaceAfterOpeningParenInWhileOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_WHILE);// if (insertSpaceAfterOpeningParenInWhileOption != null) {// this.insert_space_after_opening_paren_in_while = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInWhileOption);// }// final Object insertSpaceAfterPostfixOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_POSTFIX_OPERATOR);// if (insertSpaceAfterPostfixOperatorOption != null) {// this.insert_space_after_postfix_operator = CCorePlugin.INSERT.equals(insertSpaceAfterPostfixOperatorOption);// }// final Object insertSpaceAfterPrefixOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_PREFIX_OPERATOR);// if (insertSpaceAfterPrefixOperatorOption != null) {// this.insert_space_after_prefix_operator = CCorePlugin.INSERT.equals(insertSpaceAfterPrefixOperatorOption);// }// final Object insertSpaceAfterQuestionInConditionalOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_CONDITIONAL);// if (insertSpaceAfterQuestionInConditionalOption != null) {// this.insert_space_after_question_in_conditional = CCorePlugin.INSERT.equals(insertSpaceAfterQuestionInConditionalOption);// }// final Object insertSpaceAfterQuestionInWildcardOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_WILDCARD);// if (insertSpaceAfterQuestionInWildcardOption != null) {// this.insert_space_after_question_in_wilcard = CCorePlugin.INSERT.equals(insertSpaceAfterQuestionInWildcardOption);// }// final Object insertSpaceAfterSemicolonInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_SEMICOLON_IN_FOR);// if (insertSpaceAfterSemicolonInForOption != null) {// this.insert_space_after_semicolon_in_for = CCorePlugin.INSERT.equals(insertSpaceAfterSemicolonInForOption);// }// final Object insertSpaceAfterUnaryOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_UNARY_OPERATOR);// if (insertSpaceAfterUnaryOperatorOption != null) {// this.insert_space_after_unary_operator = CCorePlugin.INSERT.equals(insertSpaceAfterUnaryOperatorOption);// }// final Object insertSpaceBeforeAndInWildcardOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_AND_IN_TYPE_PARAMETER);// if (insertSpaceBeforeAndInWildcardOption != null) {// this.insert_space_before_and_in_type_parameter = CCorePlugin.INSERT.equals(insertSpaceBeforeAndInWildcardOption);// }// final Object insertSpaceBeforeAssignmentOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_ASSIGNMENT_OPERATOR);// if (insertSpaceBeforeAssignmentOperatorOption != null) {// this.insert_space_before_assignment_operator = CCorePlugin.INSERT.equals(insertSpaceBeforeAssignmentOperatorOption);// }// final Object insertSpaceBeforeBinaryOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_BINARY_OPERATOR);// if (insertSpaceBeforeBinaryOperatorOption != null) {// this.insert_space_before_binary_operator = CCorePlugin.INSERT.equals(insertSpaceBeforeBinaryOperatorOption);// }// final Object insertSpaceBeforeClosingAngleBracketInParameterizedTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE);// if (insertSpaceBeforeClosingAngleBracketInParameterizedTypeReferenceOption != null) {// this.insert_space_before_closing_angle_bracket_in_parameterized_type_reference = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingAngleBracketInParameterizedTypeReferenceOption);// }// final Object insertSpaceBeforeClosingAngleBracketInTypeArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS);// if (insertSpaceBeforeClosingAngleBracketInTypeArgumentsOption != null) {// this.insert_space_before_closing_angle_bracket_in_type_arguments = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingAngleBracketInTypeArgumentsOption);// }// final Object insertSpaceBeforeClosingAngleBracketInTypeParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_TYPE_PARAMETERS);// if (insertSpaceBeforeClosingAngleBracketInTypeParametersOption != null) {// this.insert_space_before_closing_angle_bracket_in_type_parameters = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingAngleBracketInTypeParametersOption);// }// final Object insertSpaceBeforeClosingBraceInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER);// if (insertSpaceBeforeClosingBraceInArrayInitializerOption != null) {// this.insert_space_before_closing_brace_in_array_initializer = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingBraceInArrayInitializerOption);// }// final Object insertSpaceBeforeClosingBracketInArrayAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION);// if (insertSpaceBeforeClosingBracketInArrayAllocationExpressionOption != null) {// this.insert_space_before_closing_bracket_in_array_allocation_expression = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingBracketInArrayAllocationExpressionOption);// }// final Object insertSpaceBeforeClosingBracketInArrayReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACKET_IN_ARRAY_REFERENCE);// if (insertSpaceBeforeClosingBracketInArrayReferenceOption != null) {// this.insert_space_before_closing_bracket_in_array_reference = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingBracketInArrayReferenceOption);// }// final Object insertSpaceBeforeClosingParenInCastOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CAST);// if (insertSpaceBeforeClosingParenInCastOption != null) {// this.insert_space_before_closing_paren_in_cast = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInCastOption);// }// final Object insertSpaceBeforeClosingParenInCatchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CATCH);// if (insertSpaceBeforeClosingParenInCatchOption != null) {// this.insert_space_before_closing_paren_in_catch = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInCatchOption);// }// final Object insertSpaceBeforeClosingParenInConstructorDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CONSTRUCTOR_DECLARATION);// if (insertSpaceBeforeClosingParenInConstructorDeclarationOption != null) {// this.insert_space_before_closing_paren_in_constructor_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInConstructorDeclarationOption);// }// final Object insertSpaceBeforeClosingParenInEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_ENUM_CONSTANT);// if (insertSpaceBeforeClosingParenInEnumConstantOption != null) {// this.insert_space_before_closing_paren_in_enum_constant = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInEnumConstantOption);// }// final Object insertSpaceBeforeClosingParenInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_FOR);// if (insertSpaceBeforeClosingParenInForOption != null) {// this.insert_space_before_closing_paren_in_for = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInForOption);// }// final Object insertSpaceBeforeClosingParenInIfOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_IF);// if (insertSpaceBeforeClosingParenInIfOption != null) {// this.insert_space_before_closing_paren_in_if = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInIfOption);// }// final Object insertSpaceBeforeClosingParenInMethodDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_DECLARATION);// if (insertSpaceBeforeClosingParenInMethodDeclarationOption != null) {// this.insert_space_before_closing_paren_in_method_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInMethodDeclarationOption);// }// final Object insertSpaceBeforeClosingParenInMethodInvocationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_INVOCATION);// if (insertSpaceBeforeClosingParenInMethodInvocationOption != null) {// this.insert_space_before_closing_paren_in_method_invocation = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInMethodInvocationOption);// }// final Object insertSpaceBeforeClosingParenInParenthesizedExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_PARENTHESIZED_EXPRESSION);// if (insertSpaceBeforeClosingParenInParenthesizedExpressionOption != null) {// this.insert_space_before_closing_paren_in_parenthesized_expression = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInParenthesizedExpressionOption);// }// final Object insertSpaceBeforeClosingParenInSwitchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SWITCH);// if (insertSpaceBeforeClosingParenInSwitchOption != null) {// this.insert_space_before_closing_paren_in_switch = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInSwitchOption);// }// final Object insertSpaceBeforeClosingParenInSynchronizedOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SYNCHRONIZED);// if (insertSpaceBeforeClosingParenInSynchronizedOption != null) {// this.insert_space_before_closing_paren_in_synchronized = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInSynchronizedOption);// }// final Object insertSpaceBeforeClosingParenInWhileOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_WHILE);// if (insertSpaceBeforeClosingParenInWhileOption != null) {// this.insert_space_before_closing_paren_in_while = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInWhileOption);// }// final Object insertSpaceBeforeColonInAssertOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_ASSERT);// if (insertSpaceBeforeColonInAssertOption != null) {// this.insert_space_before_colon_in_assert = CCorePlugin.INSERT.equals(insertSpaceBeforeColonInAssertOption);// }// final Object insertSpaceBeforeColonInCaseOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CASE);// if (insertSpaceBeforeColonInCaseOption != null) {// this.insert_space_before_colon_in_case = CCorePlugin.INSERT.equals(insertSpaceBeforeColonInCaseOption);// }// final Object insertSpaceBeforeColonInConditionalOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CONDITIONAL);// if (insertSpaceBeforeColonInConditionalOption != null) {// this.insert_space_before_colon_in_conditional = CCorePlugin.INSERT.equals(insertSpaceBeforeColonInConditionalOption);// }// final Object insertSpaceBeforeColonInDefaultOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_DEFAULT);// if (insertSpaceBeforeColonInDefaultOption != null) {// this.insert_space_before_colon_in_default = CCorePlugin.INSERT.equals(insertSpaceBeforeColonInDefaultOption);// }// final Object insertSpaceBeforeColonInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_FOR);// if (insertSpaceBeforeColonInForOption != null) {// this.insert_space_before_colon_in_for = CCorePlugin.INSERT.equals(insertSpaceBeforeColonInForOption);// }// final Object insertSpaceBeforeColonInLabeledStatementOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_LABELED_STATEMENT);// if (insertSpaceBeforeColonInLabeledStatementOption != null) {// this.insert_space_before_colon_in_labeled_statement = CCorePlugin.INSERT.equals(insertSpaceBeforeColonInLabeledStatementOption);// }// final Object insertSpaceBeforeCommaInAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ALLOCATION_EXPRESSION);// if (insertSpaceBeforeCommaInAllocationExpressionOption != null) {// this.insert_space_before_comma_in_allocation_expression = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInAllocationExpressionOption);// }// final Object insertSpaceBeforeCommaInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ARRAY_INITIALIZER);// if (insertSpaceBeforeCommaInArrayInitializerOption != null) {// this.insert_space_before_comma_in_array_initializer = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInArrayInitializerOption);// }// final Object insertSpaceBeforeCommaInConstructorDeclarationParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_CONSTRUCTOR_DECLARATION_PARAMETERS);// if (insertSpaceBeforeCommaInConstructorDeclarationParametersOption != null) {// this.insert_space_before_comma_in_constructor_declaration_parameters = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInConstructorDeclarationParametersOption);// }// final Object insertSpaceBeforeCommaInConstructorDeclarationThrowsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_CONSTRUCTOR_DECLARATION_THROWS);// if (insertSpaceBeforeCommaInConstructorDeclarationThrowsOption != null) {// this.insert_space_before_comma_in_constructor_declaration_throws = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInConstructorDeclarationThrowsOption);// }// final Object insertSpaceBeforeCommaInEnumConstantArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ENUM_CONSTANT_ARGUMENTS);// if (insertSpaceBeforeCommaInEnumConstantArgumentsOption != null) {// this.insert_space_before_comma_in_enum_constant_arguments = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInEnumConstantArgumentsOption);// }// final Object insertSpaceBeforeCommaInEnumDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ENUM_DECLARATIONS);// if (insertSpaceBeforeCommaInEnumDeclarationsOption != null) {// this.insert_space_before_comma_in_enum_declarations = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInEnumDeclarationsOption);// }// final Object insertSpaceBeforeCommaInExplicitConstructorCallArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_EXPLICIT_CONSTRUCTOR_CALL_ARGUMENTS);// if (insertSpaceBeforeCommaInExplicitConstructorCallArgumentsOption != null) {// this.insert_space_before_comma_in_explicit_constructor_call_arguments = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInExplicitConstructorCallArgumentsOption);// }// final Object insertSpaceBeforeCommaInForIncrementsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_FOR_INCREMENTS);// if (insertSpaceBeforeCommaInForIncrementsOption != null) {// this.insert_space_before_comma_in_for_increments = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInForIncrementsOption);// }// final Object insertSpaceBeforeCommaInForInitsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_FOR_INITS);// if (insertSpaceBeforeCommaInForInitsOption != null) {// this.insert_space_before_comma_in_for_inits = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInForInitsOption);// }// final Object insertSpaceBeforeCommaInMethodInvocationArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_INVOCATION_ARGUMENTS);// if (insertSpaceBeforeCommaInMethodInvocationArgumentsOption != null) {// this.insert_space_before_comma_in_method_invocation_arguments = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInMethodInvocationArgumentsOption);// }// final Object insertSpaceBeforeCommaInMethodDeclarationParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_PARAMETERS);// if (insertSpaceBeforeCommaInMethodDeclarationParametersOption != null) {// this.insert_space_before_comma_in_method_declaration_parameters = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInMethodDeclarationParametersOption);// }// final Object insertSpaceBeforeCommaInMethodDeclarationThrowsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_THROWS);// if (insertSpaceBeforeCommaInMethodDeclarationThrowsOption != null) {// this.insert_space_before_comma_in_method_declaration_throws = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInMethodDeclarationThrowsOption);// }// final Object insertSpaceBeforeCommaInMultipleFieldDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MULTIPLE_FIELD_DECLARATIONS);// if (insertSpaceBeforeCommaInMultipleFieldDeclarationsOption != null) {// this.insert_space_before_comma_in_multiple_field_declarations = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInMultipleFieldDeclarationsOption);// }// final Object insertSpaceBeforeCommaInMultipleLocalDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MULTIPLE_LOCAL_DECLARATIONS);// if (insertSpaceBeforeCommaInMultipleLocalDeclarationsOption != null) {// this.insert_space_before_comma_in_multiple_local_declarations = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInMultipleLocalDeclarationsOption);// }// final Object insertSpaceBeforeCommaInParameterizedTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_PARAMETERIZED_TYPE_REFERENCE);// if (insertSpaceBeforeCommaInParameterizedTypeReferenceOption != null) {// this.insert_space_before_comma_in_parameterized_type_reference = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInParameterizedTypeReferenceOption);// }// final Object insertSpaceBeforeCommaInSuperinterfacesOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_SUPERINTERFACES);// if (insertSpaceBeforeCommaInSuperinterfacesOption != null) {// this.insert_space_before_comma_in_superinterfaces = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInSuperinterfacesOption);// }// final Object insertSpaceBeforeCommaInTypeArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TYPE_ARGUMENTS);// if (insertSpaceBeforeCommaInTypeArgumentsOption != null) {// this.insert_space_before_comma_in_type_arguments = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInTypeArgumentsOption);// }// final Object insertSpaceBeforeCommaInTypeParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TYPE_PARAMETERS);// if (insertSpaceBeforeCommaInTypeParametersOption != null) {// this.insert_space_before_comma_in_type_parameters = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInTypeParametersOption);// }// final Object insertSpaceBeforeEllipsisOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_ELLIPSIS);// if (insertSpaceBeforeEllipsisOption != null) {// this.insert_space_before_ellipsis = CCorePlugin.INSERT.equals(insertSpaceBeforeEllipsisOption);// }// final Object insertSpaceBeforeOpeningAngleBrackerInParameterizedTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE);// if (insertSpaceBeforeOpeningAngleBrackerInParameterizedTypeReferenceOption != null) {// this.insert_space_before_opening_angle_bracket_in_parameterized_type_reference = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningAngleBrackerInParameterizedTypeReferenceOption);// }// final Object insertSpaceBeforeOpeningAngleBrackerInTypeArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS);// if (insertSpaceBeforeOpeningAngleBrackerInTypeArgumentsOption != null) {// this.insert_space_before_opening_angle_bracket_in_type_arguments = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningAngleBrackerInTypeArgumentsOption);// }// final Object insertSpaceBeforeOpeningAngleBrackerInTypeParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_TYPE_PARAMETERS);// if (insertSpaceBeforeOpeningAngleBrackerInTypeParametersOption != null) {// this.insert_space_before_opening_angle_bracket_in_type_parameters = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningAngleBrackerInTypeParametersOption);// }// final Object insertSpaceBeforeOpeningBraceInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ARRAY_INITIALIZER);// if (insertSpaceBeforeOpeningBraceInArrayInitializerOption != null) {// this.insert_space_before_opening_brace_in_array_initializer = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInArrayInitializerOption);// }// final Object insertSpaceBeforeOpeningBraceInBlockOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_BLOCK);// if (insertSpaceBeforeOpeningBraceInBlockOption != null) {// this.insert_space_before_opening_brace_in_block = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInBlockOption);// }// final Object insertSpaceBeforeOpeningBraceInConstructorDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_CONSTRUCTOR_DECLARATION);// if (insertSpaceBeforeOpeningBraceInConstructorDeclarationOption != null) {// this.insert_space_before_opening_brace_in_constructor_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInConstructorDeclarationOption);// }// final Object insertSpaceBeforeOpeningBraceInEnumDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ENUM_DECLARATION);// if (insertSpaceBeforeOpeningBraceInEnumDeclarationOption != null) {// this.insert_space_before_opening_brace_in_enum_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInEnumDeclarationOption);// }// final Object insertSpaceBeforeOpeningBraceInEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ENUM_CONSTANT);// if (insertSpaceBeforeOpeningBraceInEnumConstantOption != null) {// this.insert_space_before_opening_brace_in_enum_constant = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInEnumConstantOption);// }// final Object insertSpaceBeforeOpeningBraceInMethodDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_METHOD_DECLARATION);// if (insertSpaceBeforeOpeningBraceInMethodDeclarationOption != null) {// this.insert_space_before_opening_brace_in_method_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInMethodDeclarationOption);// }// final Object insertSpaceBeforeOpeningBraceInTypeDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_TYPE_DECLARATION);// if (insertSpaceBeforeOpeningBraceInTypeDeclarationOption != null) {// this.insert_space_before_opening_brace_in_type_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInTypeDeclarationOption);// }// final Object insertSpaceBeforeOpeningBracketInArrayAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION);// if (insertSpaceBeforeOpeningBracketInArrayAllocationExpressionOption != null) {// this.insert_space_before_opening_bracket_in_array_allocation_expression = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBracketInArrayAllocationExpressionOption);// }// final Object insertSpaceBeforeOpeningBracketInArrayReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_REFERENCE);// if (insertSpaceBeforeOpeningBracketInArrayReferenceOption != null) {// this.insert_space_before_opening_bracket_in_array_reference = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBracketInArrayReferenceOption);// }// final Object insertSpaceBeforeOpeningBracketInArrayTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_TYPE_REFERENCE);// if (insertSpaceBeforeOpeningBracketInArrayTypeReferenceOption != null) {// this.insert_space_before_opening_bracket_in_array_type_reference = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBracketInArrayTypeReferenceOption);// }// final Object insertSpaceBeforeOpeningParenInCatchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CATCH);// if (insertSpaceBeforeOpeningParenInCatchOption != null) {// this.insert_space_before_opening_paren_in_catch = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInCatchOption);// }// final Object insertSpaceBeforeOpeningParenInConstructorDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION);// if (insertSpaceBeforeOpeningParenInConstructorDeclarationOption != null) {// this.insert_space_before_opening_paren_in_constructor_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInConstructorDeclarationOption);// }// final Object insertSpaceBeforeOpeningParenInEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_ENUM_CONSTANT);// if (insertSpaceBeforeOpeningParenInEnumConstantOption != null) {// this.insert_space_before_opening_paren_in_enum_constant = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInEnumConstantOption);// }// final Object insertSpaceBeforeOpeningParenInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_FOR);// if (insertSpaceBeforeOpeningParenInForOption != null) {// this.insert_space_before_opening_paren_in_for = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInForOption);// }// final Object insertSpaceBeforeOpeningParenInIfOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_IF);// if (insertSpaceBeforeOpeningParenInIfOption != null) {// this.insert_space_before_opening_paren_in_if = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInIfOption);// }// final Object insertSpaceBeforeOpeningParenInMethodInvocationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_INVOCATION);// if (insertSpaceBeforeOpeningParenInMethodInvocationOption != null) {// this.insert_space_before_opening_paren_in_method_invocation = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInMethodInvocationOption);// }// final Object insertSpaceBeforeOpeningParenInMethodDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_DECLARATION);// if (insertSpaceBeforeOpeningParenInMethodDeclarationOption != null) {// this.insert_space_before_opening_paren_in_method_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInMethodDeclarationOption);// }// final Object insertSpaceBeforeOpeningParenInSwitchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SWITCH);// if (insertSpaceBeforeOpeningParenInSwitchOption != null) {// this.insert_space_before_opening_paren_in_switch = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInSwitchOption);// }// final Object insertSpaceBeforeOpeningBraceInSwitchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_SWITCH);// if (insertSpaceBeforeOpeningBraceInSwitchOption != null) {// this.insert_space_before_opening_brace_in_switch = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInSwitchOption);// }// final Object insertSpaceBeforeOpeningParenInSynchronizedOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SYNCHRONIZED);// if (insertSpaceBeforeOpeningParenInSynchronizedOption != null) {// this.insert_space_before_opening_paren_in_synchronized = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInSynchronizedOption);// }// final Object insertSpaceBeforeOpeningParenInParenthesizedExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION);// if (insertSpaceBeforeOpeningParenInParenthesizedExpressionOption != null) {// this.insert_space_before_opening_paren_in_parenthesized_expression = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInParenthesizedExpressionOption);// }// final Object insertSpaceBeforeOpeningParenInWhileOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_WHILE);// if (insertSpaceBeforeOpeningParenInWhileOption != null) {// this.insert_space_before_opening_paren_in_while = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInWhileOption);// }// final Object insertSpaceBeforeParenthesizedExpressionInReturnOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_PARENTHESIZED_EXPRESSION_IN_RETURN);// if (insertSpaceBeforeParenthesizedExpressionInReturnOption != null) {// this.insert_space_before_parenthesized_expression_in_return = CCorePlugin.INSERT.equals(insertSpaceBeforeParenthesizedExpressionInReturnOption);// }// final Object insertSpaceBeforePostfixOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_POSTFIX_OPERATOR);// if (insertSpaceBeforePostfixOperatorOption != null) {// this.insert_space_before_postfix_operator = CCorePlugin.INSERT.equals(insertSpaceBeforePostfixOperatorOption);// }// final Object insertSpaceBeforePrefixOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_PREFIX_OPERATOR);// if (insertSpaceBeforePrefixOperatorOption != null) {// this.insert_space_before_prefix_operator = CCorePlugin.INSERT.equals(insertSpaceBeforePrefixOperatorOption);// }// final Object insertSpaceBeforeQuestionInConditionalOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_CONDITIONAL);// if (insertSpaceBeforeQuestionInConditionalOption != null) {// this.insert_space_before_question_in_conditional = CCorePlugin.INSERT.equals(insertSpaceBeforeQuestionInConditionalOption);// }// final Object insertSpaceBeforeQuestionInWildcardOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_WILDCARD);// if (insertSpaceBeforeQuestionInWildcardOption != null) {// this.insert_space_before_question_in_wilcard = CCorePlugin.INSERT.equals(insertSpaceBeforeQuestionInWildcardOption);// }// final Object insertSpaceBeforeSemicolonOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON);// if (insertSpaceBeforeSemicolonOption != null) {// this.insert_space_before_semicolon = CCorePlugin.INSERT.equals(insertSpaceBeforeSemicolonOption);// }// final Object insertSpaceBeforeSemicolonInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON_IN_FOR);// if (insertSpaceBeforeSemicolonInForOption != null) {// this.insert_space_before_semicolon_in_for = CCorePlugin.INSERT.equals(insertSpaceBeforeSemicolonInForOption);// }// final Object insertSpaceBeforeUnaryOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_UNARY_OPERATOR);// if (insertSpaceBeforeUnaryOperatorOption != null) {// this.insert_space_before_unary_operator = CCorePlugin.INSERT.equals(insertSpaceBeforeUnaryOperatorOption);// }// final Object insertSpaceBetweenBracketsInArrayTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_BRACKETS_IN_ARRAY_TYPE_REFERENCE);// if (insertSpaceBetweenBracketsInArrayTypeReferenceOption != null) {// this.insert_space_between_brackets_in_array_type_reference = CCorePlugin.INSERT.equals(insertSpaceBetweenBracketsInArrayTypeReferenceOption);// }// final Object insertSpaceBetweenEmptyBracesInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACES_IN_ARRAY_INITIALIZER);// if (insertSpaceBetweenEmptyBracesInArrayInitializerOption != null) {// this.insert_space_between_empty_braces_in_array_initializer = CCorePlugin.INSERT.equals(insertSpaceBetweenEmptyBracesInArrayInitializerOption);// }// final Object insertSpaceBetweenEmptyBracketsInArrayAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACKETS_IN_ARRAY_ALLOCATION_EXPRESSION);// if (insertSpaceBetweenEmptyBracketsInArrayAllocationExpressionOption != null) {// this.insert_space_between_empty_brackets_in_array_allocation_expression = CCorePlugin.INSERT.equals(insertSpaceBetweenEmptyBracketsInArrayAllocationExpressionOption);// }// final Object insertSpaceBetweenEmptyParensInConstructorDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_CONSTRUCTOR_DECLARATION);// if (insertSpaceBetweenEmptyParensInConstructorDeclarationOption != null) {// this.insert_space_between_empty_parens_in_constructor_declaration = CCorePlugin.INSERT.equals(insertSpaceBetweenEmptyParensInConstructorDeclarationOption);// }// final Object insertSpaceBetweenEmptyParensInEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_ENUM_CONSTANT);// if (insertSpaceBetweenEmptyParensInEnumConstantOption != null) {// this.insert_space_between_empty_parens_in_enum_constant = CCorePlugin.INSERT.equals(insertSpaceBetweenEmptyParensInEnumConstantOption);// }// final Object insertSpaceBetweenEmptyParensInMethodDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_DECLARATION);// if (insertSpaceBetweenEmptyParensInMethodDeclarationOption != null) {// this.insert_space_between_empty_parens_in_method_declaration = CCorePlugin.INSERT.equals(insertSpaceBetweenEmptyParensInMethodDeclarationOption);// }// final Object insertSpaceBetweenEmptyParensInMethodInvocationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_INVOCATION);// if (insertSpaceBetweenEmptyParensInMethodInvocationOption != null) {// this.insert_space_between_empty_parens_in_method_invocation = CCorePlugin.INSERT.equals(insertSpaceBetweenEmptyParensInMethodInvocationOption);// }// final Object compactElseIfOption = settings.get(CodeFormatterConstants.FORMATTER_COMPACT_ELSE_IF);// if (compactElseIfOption != null) {// this.compact_else_if = CodeFormatterConstants.TRUE.equals(compactElseIfOption);// }// final Object keepGuardianClauseOnOneLineOption = settings.get(CodeFormatterConstants.FORMATTER_KEEP_GUARDIAN_CLAUSE_ON_ONE_LINE);// if (keepGuardianClauseOnOneLineOption != null) {// this.keep_guardian_clause_on_one_line = CodeFormatterConstants.TRUE.equals(keepGuardianClauseOnOneLineOption);// }// final Object keepElseStatementOnSameLineOption = settings.get(CodeFormatterConstants.FORMATTER_KEEP_ELSE_STATEMENT_ON_SAME_LINE);// if (keepElseStatementOnSameLineOption != null) {// this.keep_else_statement_on_same_line = CodeFormatterConstants.TRUE.equals(keepElseStatementOnSameLineOption);// }// final Object keepEmptyArrayInitializerOnOneLineOption = settings.get(CodeFormatterConstants.FORMATTER_KEEP_EMPTY_ARRAY_INITIALIZER_ON_ONE_LINE);// if (keepEmptyArrayInitializerOnOneLineOption != null) {// this.keep_empty_array_initializer_on_one_line = CodeFormatterConstants.TRUE.equals(keepEmptyArrayInitializerOnOneLineOption);// }// final Object keepSimpleIfOnOneLineOption = settings.get(CodeFormatterConstants.FORMATTER_KEEP_SIMPLE_IF_ON_ONE_LINE);// if (keepSimpleIfOnOneLineOption != null) {// this.keep_simple_if_on_one_line = CodeFormatterConstants.TRUE.equals(keepSimpleIfOnOneLineOption);// }// final Object keepThenStatementOnSameLineOption = settings.get(CodeFormatterConstants.FORMATTER_KEEP_THEN_STATEMENT_ON_SAME_LINE);// if (keepThenStatementOnSameLineOption != null) {// this.keep_then_statement_on_same_line = CodeFormatterConstants.TRUE.equals(keepThenStatementOnSameLineOption);// }// final Object numberOfEmptyLinesToPreserveOption = settings.get(CodeFormatterConstants.FORMATTER_NUMBER_OF_EMPTY_LINES_TO_PRESERVE);// if (numberOfEmptyLinesToPreserveOption != null) {// try {// this.number_of_empty_lines_to_preserve = Integer.parseInt((String) numberOfEmptyLinesToPreserveOption);// } catch (NumberFormatException e) {// this.number_of_empty_lines_to_preserve = 0;// } catch(ClassCastException e) {// this.number_of_empty_lines_to_preserve = 0;// }// }// final Object putEmptyStatementOnNewLineOption = settings.get(CodeFormatterConstants.FORMATTER_PUT_EMPTY_STATEMENT_ON_NEW_LINE);// if (putEmptyStatementOnNewLineOption != null) {// this.put_empty_statement_on_new_line = CodeFormatterConstants.TRUE.equals(putEmptyStatementOnNewLineOption);// } final Object tabSizeOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_TAB_SIZE); if (tabSizeOption != null) { try { this.tab_size = Integer.parseInt((String) tabSizeOption); } catch (NumberFormatException e) { this.tab_size = 4; } catch(ClassCastException e) { this.tab_size = 4; } } final Object useTabsOnlyForLeadingIndentationsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_USE_TABS_ONLY_FOR_LEADING_INDENTATIONS); if (useTabsOnlyForLeadingIndentationsOption != null) { this.use_tabs_only_for_leading_indentations = DefaultCodeFormatterConstants.TRUE.equals(useTabsOnlyForLeadingIndentationsOption); } final Object pageWidthOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_LINE_SPLIT); if (pageWidthOption != null) { try { this.page_width = Integer.parseInt((String) pageWidthOption); } catch (NumberFormatException e) { this.page_width = 80; } catch(ClassCastException e) { this.page_width = 80; } } final Object useTabOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR); if (useTabOption != null) { if (CCorePlugin.TAB.equals(useTabOption)) { this.tab_char = TAB; } else if (CCorePlugin.SPACE.equals(useTabOption)) { this.tab_char = SPACE; } else { this.tab_char = MIXED; } } }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/12f3dd59c579048e11942c9768bb3f6c6a45e156/DefaultCodeFormatterOptions.java/clean/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/formatter/DefaultCodeFormatterOptions.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
12,
863,
1947,
13,
288,
202,
202,
6385,
1033,
8710,
1290,
4628,
382,
17353,
2300,
1895,
273,
1947,
18,
588,
12,
1868,
1085,
5074,
2918,
18,
7254,
2560,
67,
26439,
3212,
67,
7473,
67,
18311,
55,
67,
706,
67,
1013,
15277,
67,
19111,
1769,
202,
202,
430,
261,
14409,
1290,
4628,
382,
17353,
2300,
1895,
480,
446,
13,
288,
1082,
202,
698,
288,
9506,
202,
2211,
18,
14409,
67,
1884,
67,
7099,
67,
267,
67,
29299,
67,
8692,
273,
2144,
18,
2670,
1702,
12443,
780,
13,
8710,
1290,
4628,
382,
17353,
2300,
1895,
1769,
1082,
202,
97,
1044,
261,
1854,
9291,
425,
13,
288,
9506,
202,
2211,
18,
14409,
67,
1884,
67,
7099,
67,
267,
67,
29299,
67,
8692,
273,
17804,
18,
49,
67,
4208,
4066,
1268,
67,
17482,
31,
1082,
202,
97,
1044,
261,
797,
22768,
425,
13,
288,
9506,
202,
2211,
18,
14409,
67,
1884,
67,
7099,
67,
267,
67,
29299,
67,
8692,
273,
17804,
18,
49,
67,
4208,
4066,
1268,
67,
17482,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
6385,
1033,
8710,
1290,
4628,
382,
3572,
6902,
1895,
273,
1947,
18,
588,
12,
1868,
1085,
5074,
2918,
18,
7254,
2560,
67,
26439,
3212,
67,
7473,
67,
18311,
55,
67,
706,
67,
16509,
67,
25878,
1769,
202,
202,
430,
261,
14409,
1290,
4628,
382,
3572,
6902,
1895,
480,
446,
13,
288,
1082,
202,
698,
288,
9506,
202,
2211,
18,
14409,
67,
1884,
67,
7099,
67,
267,
67,
7924,
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,
444,
12,
863,
1947,
13,
288,
202,
202,
6385,
1033,
8710,
1290,
4628,
382,
17353,
2300,
1895,
273,
1947,
18,
588,
12,
1868,
1085,
5074,
2918,
18,
7254,
2560,
67,
26439,
3212,
67,
7473,
67,
18311,
55,
67,
706,
67,
1013,
15277,
67,
19111,
1769,
202,
202,
430,
261,
14409,
1290,
4628,
382,
17353,
2300,
1895,
480,
446,
13,
288,
1082,
202,
698,
288,
9506,
202,
2211,
18,
14409,
67,
1884,
67,
7099,
67,
267,
67,
29299,
67,
8692,
273,
2144,
18,
2670,
1702,
12443,
780,
13,
8710,
1290,
4628,
382,
17353,
2300,
1895,
1769,
1082,
202,
97,
1044,
261,
1854,
9291,
425,
13,
288,
9506,
202,
2211,
18,
14409,
67,
1884,
67,
7099,
67,
2
] |
||
this.tableDecorator);
|
this.tableDecorator, this.pageOffset);
|
public RowIterator getRowIterator(boolean full) { RowIterator iterator = new RowIterator( full ? this.rowListFull : this.rowListPage, this.headerCellList, this.tableDecorator); // copy id for logging iterator.setId(this.id); return iterator; }
|
7284 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7284/facb5b6a6cba08c3d760a129447691c0ce9b6668/TableModel.java/buggy/displaytag/src/main/java/org/displaytag/model/TableModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6556,
3198,
11835,
3198,
12,
6494,
1983,
13,
565,
288,
3639,
6556,
3198,
2775,
273,
394,
6556,
3198,
12,
5411,
1983,
692,
333,
18,
492,
682,
5080,
294,
333,
18,
492,
682,
1964,
16,
5411,
333,
18,
3374,
4020,
682,
16,
5411,
333,
18,
2121,
10361,
16,
333,
18,
2433,
2335,
1769,
3639,
368,
1610,
612,
364,
2907,
3639,
2775,
18,
542,
548,
12,
2211,
18,
350,
1769,
3639,
327,
2775,
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,
6556,
3198,
11835,
3198,
12,
6494,
1983,
13,
565,
288,
3639,
6556,
3198,
2775,
273,
394,
6556,
3198,
12,
5411,
1983,
692,
333,
18,
492,
682,
5080,
294,
333,
18,
492,
682,
1964,
16,
5411,
333,
18,
3374,
4020,
682,
16,
5411,
333,
18,
2121,
10361,
16,
333,
18,
2433,
2335,
1769,
3639,
368,
1610,
612,
364,
2907,
3639,
2775,
18,
542,
548,
12,
2211,
18,
350,
1769,
3639,
327,
2775,
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
] |
try {
|
try {
|
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html; charset=UTF-8"); response.setHeader("Cache-Control", "no-cache"); PrintWriter out = response.getWriter(); String command = request.getParameter("Command"); String type = request.getParameter("Type"); String currentFolder = request.getParameter("CurrentFolder"); String currentDirPath = "/access/content" + currentFolder; String fileName = ""; String errorMessage = ""; String status="0"; if (!"FileUpload".equals(command) && !"QuickUpload".equals(command)) { status = "203"; } else { DiskFileUpload upload = new DiskFileUpload(); try { List items = upload.parseRequest(request); Map fields = new HashMap(); Iterator iter = items.iterator(); while (iter.hasNext()) { FileItem item = (FileItem) iter.next(); if (item.isFormField()) fields.put(item.getFieldName(), item.getString()); else fields.put(item.getFieldName(), item); } FileItem uplFile = (FileItem)fields.get("NewFile"); String filePath = uplFile.getName(); filePath = filePath.replace('\\','/'); String[] pathParts = filePath.split("/"); fileName = pathParts[pathParts.length-1]; String nameWithoutExt = fileName; String ext = ""; if (fileName.lastIndexOf(".") > 0) { nameWithoutExt = fileName.substring(0, fileName.lastIndexOf(".")); ext = fileName.substring(fileName.lastIndexOf(".")); } String mime = uplFile.getContentType(); int counter = 1; boolean done = false; while(!done) { try { ResourcePropertiesEdit resourceProperties = ContentHostingService.newResourceProperties(); resourceProperties.addProperty (ResourceProperties.PROP_DISPLAY_NAME, fileName); int noti = NotificationService.NOTI_NONE; ContentHostingService.addResource(currentFolder+fileName, mime, uplFile.get(), resourceProperties, noti); done = true; } catch (IdUsedException iue) { //the name is already used, so we do a slight rename to prevent the colision fileName = nameWithoutExt + "(" + counter + ")" + ext; status = "201"; counter++; } catch (Exception ex) { //this user can't write where they are trying to write. done = true; ex.printStackTrace(); status = "203"; } } } catch (Exception ex) { ex.printStackTrace(); status = "203"; } } out.println("<script type=\"text/javascript\">"); if ("QuickUpload".equals(command)) { out.println("window.parent.OnUploadCompleted("+status+",'"+currentDirPath+fileName+"','"+fileName+"','"+errorMessage+"');"); } else { out.println("window.parent.frames['frmUpload'].OnUploadCompleted("+status+",'"+fileName+"');"); } out.println("</script>"); out.flush(); out.close(); }
|
2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/ef6de0c1a2ebede6fc20642b3226269849ae4a93/FCKConnectorServlet.java/clean/textarea/FCKeditor/connector/src/java/org/sakaiproject/connector/fck/FCKConnectorServlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
1071,
918,
741,
3349,
12,
2940,
18572,
590,
16,
12446,
766,
13,
1216,
16517,
16,
1860,
1377,
288,
1850,
766,
18,
542,
8046,
2932,
955,
19,
2620,
31,
4856,
33,
5159,
17,
28,
8863,
1850,
766,
18,
542,
1864,
2932,
1649,
17,
3367,
3113,
315,
2135,
17,
2493,
8863,
1850,
14071,
596,
273,
766,
18,
588,
2289,
5621,
1850,
514,
1296,
273,
590,
18,
588,
1662,
2932,
2189,
8863,
10792,
514,
618,
273,
590,
18,
588,
1662,
2932,
559,
8863,
1850,
514,
783,
3899,
273,
590,
18,
588,
1662,
2932,
3935,
3899,
8863,
10792,
514,
783,
20129,
273,
2206,
3860,
19,
1745,
6,
397,
783,
3899,
31,
1850,
514,
3968,
273,
1408,
31,
1850,
514,
9324,
273,
1408,
31,
10792,
514,
1267,
1546,
20,
14432,
1850,
309,
261,
4442,
812,
4777,
9654,
14963,
12,
3076,
13,
597,
29054,
13663,
4777,
9654,
14963,
12,
3076,
3719,
6647,
288,
9079,
1267,
273,
315,
3462,
23,
14432,
1850,
289,
1850,
469,
6647,
288,
9079,
12951,
812,
4777,
3617,
273,
394,
12951,
812,
4777,
5621,
9079,
775,
7734,
288,
10792,
987,
1516,
273,
3617,
18,
2670,
691,
12,
2293,
1769,
4766,
282,
1635,
1466,
273,
394,
4317,
5621,
4766,
282,
4498,
1400,
273,
1516,
18,
9838,
5621,
10792,
1323,
261,
2165,
18,
5332,
2134,
10756,
5397,
288,
13491,
1387,
1180,
761,
273,
261,
812,
1180,
13,
1400,
18,
4285,
5621,
13491,
309,
261,
1726,
18,
291,
27317,
10756,
17311,
1466,
18,
458,
12,
1726,
18,
588,
7287,
9334,
761,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
1071,
918,
741,
3349,
12,
2940,
18572,
590,
16,
12446,
766,
13,
1216,
16517,
16,
1860,
1377,
288,
1850,
766,
18,
542,
8046,
2932,
955,
19,
2620,
31,
4856,
33,
5159,
17,
28,
8863,
1850,
766,
18,
542,
1864,
2932,
1649,
17,
3367,
3113,
315,
2135,
17,
2493,
8863,
1850,
14071,
596,
273,
766,
18,
588,
2289,
5621,
1850,
514,
1296,
273,
590,
18,
588,
1662,
2932,
2189,
8863,
10792,
514,
618,
273,
590,
18,
588,
1662,
2932,
559,
8863,
1850,
514,
783,
3899,
273,
590,
18,
588,
1662,
2932,
3935,
3899,
8863,
10792,
514,
783,
20129,
273,
2206,
3860,
19,
1745,
6,
397,
783,
3899,
31,
1850,
514,
3968,
273,
1408,
31,
1850,
514,
9324,
273,
1408,
2
] |
tabScroll.setState( Settings.tabScroll );
|
ctlScroll.setState( Settings.ctlScroll );
|
public void show() { minimapEnabled.setState( Settings.minimapEnabled ); autoEndFiring.setState( Settings.autoEndFiring ); nagForMASC.setState( Settings.nagForMASC ); nagForPSR.setState( Settings.nagForPSR ); nagForNoAction.setState( Settings.nagForNoAction ); animateMove.setState( Settings.showMoveStep ); showWrecks.setState( Settings.showWrecks ); soundMute.setState( Settings.soundMute ); showMapHexPopup.setState( Settings.showMapHexPopup ); tooltipDelay.setText( Integer.toString(Settings.tooltipDelay ) ); // Select the correct char set (give a nice default to start). unitStartChar.select(0); for ( int loop = 0; loop < unitStartChar.getItemCount(); loop++ ) { if ( unitStartChar.getItem(loop).charAt(0) == Settings.unitStartChar ) { unitStartChar.select(loop); break; } } maxPathfinderTime.setText( Integer.toString(Settings.maxPathfinderTime ) ); rightDragScroll.setState( Settings.rightDragScroll ); tabScroll.setState( Settings.tabScroll ); clickEdgeScroll.setState( Settings.clickEdgeScroll ); autoEdgeScroll.setState( Settings.autoEdgeScroll ); scrollSensitivity.setText( Integer.toString(Settings.scrollSensitivity ) ); getFocus.setState( Settings.getFocus ); super.show(); }
|
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/04f0c587792c6ec3c64d57ba27b116b51468ffff/CommonSettingsDialog.java/buggy/megamek/src/megamek/client/ui/AWT/CommonSettingsDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2405,
1435,
288,
3639,
1131,
12161,
1526,
18,
542,
1119,
12,
8709,
18,
1154,
12161,
1526,
11272,
3639,
3656,
1638,
42,
11256,
18,
542,
1119,
12,
8709,
18,
6079,
1638,
42,
11256,
11272,
3639,
290,
346,
1290,
5535,
2312,
18,
542,
1119,
12,
8709,
18,
27132,
1290,
5535,
2312,
11272,
3639,
290,
346,
1290,
5857,
54,
18,
542,
1119,
12,
8709,
18,
27132,
1290,
5857,
54,
11272,
3639,
290,
346,
1290,
2279,
1803,
18,
542,
1119,
12,
8709,
18,
27132,
1290,
2279,
1803,
11272,
3639,
14671,
7607,
18,
542,
1119,
12,
8709,
18,
4500,
7607,
4160,
11272,
3639,
2405,
59,
266,
363,
87,
18,
542,
1119,
12,
8709,
18,
4500,
59,
266,
363,
87,
11272,
3639,
14190,
49,
624,
18,
542,
1119,
12,
8709,
18,
29671,
49,
624,
11272,
3639,
2405,
863,
7037,
13770,
18,
542,
1119,
12,
8709,
18,
4500,
863,
7037,
13770,
11272,
3639,
11915,
6763,
18,
542,
1528,
12,
2144,
18,
10492,
12,
2628,
18,
19798,
6763,
262,
11272,
3639,
368,
6766,
326,
3434,
1149,
444,
261,
75,
688,
279,
13752,
805,
358,
787,
2934,
3639,
2836,
1685,
2156,
18,
4025,
12,
20,
1769,
3639,
364,
261,
509,
2798,
273,
374,
31,
2798,
411,
2836,
1685,
2156,
18,
588,
30687,
5621,
2798,
9904,
262,
288,
5411,
309,
261,
2836,
1685,
2156,
18,
588,
1180,
12,
6498,
2934,
3001,
861,
12,
20,
13,
422,
1171,
8709,
18,
4873,
1685,
2156,
262,
288,
7734,
2836,
1685,
2156,
18,
4025,
12,
6498,
1769,
7734,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2405,
1435,
288,
3639,
1131,
12161,
1526,
18,
542,
1119,
12,
8709,
18,
1154,
12161,
1526,
11272,
3639,
3656,
1638,
42,
11256,
18,
542,
1119,
12,
8709,
18,
6079,
1638,
42,
11256,
11272,
3639,
290,
346,
1290,
5535,
2312,
18,
542,
1119,
12,
8709,
18,
27132,
1290,
5535,
2312,
11272,
3639,
290,
346,
1290,
5857,
54,
18,
542,
1119,
12,
8709,
18,
27132,
1290,
5857,
54,
11272,
3639,
290,
346,
1290,
2279,
1803,
18,
542,
1119,
12,
8709,
18,
27132,
1290,
2279,
1803,
11272,
3639,
14671,
7607,
18,
542,
1119,
12,
8709,
18,
4500,
7607,
4160,
11272,
3639,
2405,
59,
266,
363,
87,
18,
542,
1119,
12,
8709,
18,
4500,
59,
266,
363,
87,
11272,
3639,
2
] |
for (int j=0; j<outExts.length; j++) { for (int k=0; k<buildTools.length; k++) { ITool tool = buildTools[k]; if (!buildToolsUsed[k]) { IInputType inType = tool.getInputType(outExts[j]); if (inType != null) { String inVariable = inType.getBuildVariable(); if ((outVariable == null && inVariable == null) || (outVariable != null && inVariable != null && outVariable.equals(inVariable))) { if (addRuleForTool(buildTools[k], buffer, false, null, null, outputVarsAdditionsList, null, false)) { buildToolsUsed[k] = true; generateRulesForConsumers(buildTools[k], outputVarsAdditionsList, buffer);
|
if (outExts != null) { for (int j=0; j<outExts.length; j++) { for (int k=0; k<buildTools.length; k++) { ITool tool = buildTools[k]; if (!buildToolsUsed[k]) { IInputType inType = tool.getInputType(outExts[j]); if (inType != null) { String inVariable = inType.getBuildVariable(); if ((outVariable == null && inVariable == null) || (outVariable != null && inVariable != null && outVariable.equals(inVariable))) { if (addRuleForTool(buildTools[k], buffer, false, null, null, outputVarsAdditionsList, null, false)) { buildToolsUsed[k] = true; generateRulesForConsumers(buildTools[k], outputVarsAdditionsList, buffer); }
|
private void generateRulesForConsumers(ITool generatingTool, List outputVarsAdditionsList, StringBuffer buffer) { // Generate a build rule for any tool that consumes the output of this tool IOutputType[] outTypes = generatingTool.getOutputTypes(); for (int i=0; i<outTypes.length; i++) { String[] outExts = outTypes[i].getOutputExtensions(); String outVariable = outTypes[i].getBuildVariable(); for (int j=0; j<outExts.length; j++) { for (int k=0; k<buildTools.length; k++) { ITool tool = buildTools[k]; if (!buildToolsUsed[k]) { // Also has to match build variables if specified IInputType inType = tool.getInputType(outExts[j]); if (inType != null) { String inVariable = inType.getBuildVariable(); if ((outVariable == null && inVariable == null) || (outVariable != null && inVariable != null && outVariable.equals(inVariable))) { if (addRuleForTool(buildTools[k], buffer, false, null, null, outputVarsAdditionsList, null, false)) { buildToolsUsed[k] = true; // Look for tools that consume the output generateRulesForConsumers(buildTools[k], outputVarsAdditionsList, buffer); } } } } } } } }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/d2122bb6df9a681edea5a1d201215714d12bb286/GnuMakefileGenerator.java/clean/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
3238,
918,
2103,
4478,
1290,
23538,
12,
45,
6364,
12516,
6364,
16,
987,
876,
5555,
986,
5029,
682,
16,
6674,
1613,
13,
288,
202,
202,
759,
225,
6654,
279,
1361,
1720,
364,
1281,
5226,
716,
25479,
326,
876,
434,
333,
5226,
202,
202,
45,
1447,
559,
8526,
596,
2016,
273,
12516,
6364,
18,
588,
1447,
2016,
5621,
202,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
659,
2016,
18,
2469,
31,
277,
27245,
288,
1082,
202,
780,
8526,
596,
2482,
87,
273,
596,
2016,
63,
77,
8009,
588,
1447,
7513,
5621,
1082,
202,
780,
596,
3092,
273,
596,
2016,
63,
77,
8009,
588,
3116,
3092,
5621,
1082,
202,
1884,
261,
474,
525,
33,
20,
31,
525,
32,
659,
2482,
87,
18,
2469,
31,
525,
27245,
288,
9506,
202,
1884,
261,
474,
417,
33,
20,
31,
417,
32,
3510,
10348,
18,
2469,
31,
417,
27245,
288,
6862,
202,
45,
6364,
5226,
273,
1361,
10348,
63,
79,
15533,
6862,
202,
430,
16051,
3510,
10348,
6668,
63,
79,
5717,
288,
25083,
202,
759,
8080,
711,
358,
845,
1361,
3152,
309,
1269,
25083,
202,
45,
1210,
559,
316,
559,
273,
5226,
18,
588,
1210,
559,
12,
659,
2482,
87,
63,
78,
19226,
25083,
202,
430,
261,
267,
559,
480,
446,
13,
288,
6862,
1082,
202,
780,
316,
3092,
273,
316,
559,
18,
588,
3116,
3092,
5621,
6862,
1082,
202,
430,
14015,
659,
3092,
422,
446,
597,
316,
3092,
422,
446,
13,
747,
6862,
9506,
565,
261,
659,
3092,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
3238,
918,
2103,
4478,
1290,
23538,
12,
45,
6364,
12516,
6364,
16,
987,
876,
5555,
986,
5029,
682,
16,
6674,
1613,
13,
288,
202,
202,
759,
225,
6654,
279,
1361,
1720,
364,
1281,
5226,
716,
25479,
326,
876,
434,
333,
5226,
202,
202,
45,
1447,
559,
8526,
596,
2016,
273,
12516,
6364,
18,
588,
1447,
2016,
5621,
202,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
659,
2016,
18,
2469,
31,
277,
27245,
288,
1082,
202,
780,
8526,
596,
2482,
87,
273,
596,
2016,
63,
77,
8009,
588,
1447,
7513,
5621,
1082,
202,
780,
596,
3092,
273,
596,
2016,
63,
77,
8009,
588,
3116,
3092,
5621,
1082,
202,
1884,
261,
474,
525,
33,
20,
31,
525,
2
] |
return db.name; } catch (IOException e) { Core.consoleErrorMessage (component_name, "IOerror saving file " + f); return db.name; }
|
return db.name;
|
public String saveChunkDBFile (ConfigChunkDB db, File f) { if (f == null) return db.name; try { DataOutputStream out = new DataOutputStream(new FileOutputStream(f)); ConfigIO.writeConfigChunkDB (out, db, ConfigIO.DEFAULT); Core.consoleInfoMessage (component_name, "Saved ChunkDB file: " + f); db.need_to_save = false; /* do some fixing up if the name changed */ db.setFile (f); renameChunkDB (db, f.getName());// String newname = db.getFile().getName();// if (!newname.equals(db.getName())) {// db.setName (createUniqueChunkDBName(newname));// } return db.name; } catch (IOException e) { Core.consoleErrorMessage (component_name, "IOerror saving file " + f); return db.name; } }
|
49828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49828/10b854969f65413cc815bea5c04bca7665b8a67a/ConfigModule.java/buggy/modules/jackal/editorgui/org/vrjuggler/jccl/editorgui/ConfigModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1923,
5579,
2290,
812,
261,
809,
5579,
2290,
1319,
16,
1387,
284,
13,
288,
202,
430,
261,
74,
422,
446,
13,
202,
565,
327,
1319,
18,
529,
31,
202,
698,
288,
202,
565,
28680,
596,
273,
394,
28680,
12,
2704,
12942,
12,
74,
10019,
5411,
1903,
4294,
18,
2626,
809,
5579,
2290,
261,
659,
16,
1319,
16,
1903,
4294,
18,
5280,
1769,
202,
565,
4586,
18,
8698,
966,
1079,
261,
4652,
67,
529,
16,
315,
16776,
13021,
2290,
585,
30,
315,
397,
284,
1769,
5411,
1319,
18,
14891,
67,
869,
67,
5688,
273,
629,
31,
202,
565,
1748,
741,
2690,
28716,
731,
309,
326,
508,
3550,
1195,
202,
565,
1319,
18,
542,
812,
261,
74,
1769,
5411,
6472,
5579,
2290,
261,
1966,
16,
284,
18,
17994,
10663,
759,
2398,
514,
26722,
273,
1319,
18,
29925,
7675,
17994,
5621,
759,
2398,
309,
16051,
2704,
529,
18,
14963,
12,
1966,
18,
17994,
1435,
3719,
288,
759,
1171,
1319,
18,
542,
461,
261,
2640,
6303,
5579,
2290,
461,
12,
2704,
529,
10019,
759,
2398,
289,
5411,
327,
1319,
18,
529,
31,
202,
97,
202,
14683,
261,
14106,
425,
13,
288,
202,
565,
4586,
18,
8698,
14935,
261,
4652,
67,
529,
16,
315,
4294,
1636,
12392,
585,
315,
397,
284,
1769,
202,
565,
327,
1319,
18,
529,
31,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1923,
5579,
2290,
812,
261,
809,
5579,
2290,
1319,
16,
1387,
284,
13,
288,
202,
430,
261,
74,
422,
446,
13,
202,
565,
327,
1319,
18,
529,
31,
202,
698,
288,
202,
565,
28680,
596,
273,
394,
28680,
12,
2704,
12942,
12,
74,
10019,
5411,
1903,
4294,
18,
2626,
809,
5579,
2290,
261,
659,
16,
1319,
16,
1903,
4294,
18,
5280,
1769,
202,
565,
4586,
18,
8698,
966,
1079,
261,
4652,
67,
529,
16,
315,
16776,
13021,
2290,
585,
30,
315,
397,
284,
1769,
5411,
1319,
18,
14891,
67,
869,
67,
5688,
273,
629,
31,
202,
565,
1748,
741,
2690,
28716,
731,
309,
326,
508,
3550,
1195,
202,
565,
1319,
18,
542,
812,
261,
74,
1769,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.