rem
stringlengths 1
53.3k
| add
stringlengths 0
80.5k
| context
stringlengths 6
326k
| meta
stringlengths 141
403
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
public org.quickfix.field.PartyID getPartyID() throws FieldNotFound { org.quickfix.field.PartyID value = new org.quickfix.field.PartyID();
|
public quickfix.field.PartyID getPartyID() throws FieldNotFound { quickfix.field.PartyID value = new quickfix.field.PartyID();
|
public org.quickfix.field.PartyID getPartyID() throws FieldNotFound { org.quickfix.field.PartyID value = new org.quickfix.field.PartyID(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralRequest.java/clean/src/java/src/quickfix/fix44/CollateralRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
17619,
734,
1689,
7325,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
17619,
734,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
17619,
734,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
17619,
734,
1689,
7325,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
17619,
734,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
17619,
734,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
else { buf.append(objRef.uniqueID());
|
finally { StringBuilderSpinAllocator.dispose(buf);
|
public static String getIdLabel(ObjectReference objRef) { StringBuffer buf = new StringBuffer(); buf.append('{'); buf.append(objRef.type().name()).append('@'); if(ApplicationManager.getApplication().isUnitTestMode()) { //noinspection HardCodedStringLiteral buf.append("uniqueID"); } else { buf.append(objRef.uniqueID()); } buf.append('}'); if (objRef instanceof ArrayReference) { int idx = buf.indexOf("["); if(idx >= 0) { buf.insert(idx + 1, Integer.toString(((ArrayReference)objRef).length())); } } return buf.toString(); }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/8e66c6ade7528383e653e9880faf93a29d2331d7/ValueDescriptorImpl.java/clean/debugger/impl/com/intellij/debugger/ui/impl/watch/ValueDescriptorImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
514,
2634,
2224,
12,
22101,
1081,
1957,
13,
288,
565,
6674,
1681,
273,
394,
6674,
5621,
565,
1681,
18,
6923,
2668,
95,
8284,
565,
1681,
18,
6923,
12,
2603,
1957,
18,
723,
7675,
529,
1435,
2934,
6923,
2668,
36,
8284,
565,
309,
12,
3208,
1318,
18,
588,
3208,
7675,
291,
2802,
4709,
2309,
10756,
288,
1377,
368,
13242,
670,
1060,
1085,
72,
28565,
1377,
1681,
18,
6923,
2932,
6270,
734,
8863,
565,
289,
565,
469,
288,
1377,
1681,
18,
6923,
12,
2603,
1957,
18,
6270,
734,
10663,
565,
289,
565,
1681,
18,
6923,
2668,
1713,
1769,
565,
309,
261,
2603,
1957,
1276,
1510,
2404,
13,
288,
1377,
509,
2067,
273,
1681,
18,
31806,
2932,
63,
8863,
1377,
309,
12,
3465,
1545,
374,
13,
288,
3639,
1681,
18,
6387,
12,
3465,
397,
404,
16,
2144,
18,
10492,
12443,
12,
1076,
2404,
13,
2603,
1957,
2934,
2469,
1435,
10019,
1377,
289,
565,
289,
565,
327,
1681,
18,
10492,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
514,
2634,
2224,
12,
22101,
1081,
1957,
13,
288,
565,
6674,
1681,
273,
394,
6674,
5621,
565,
1681,
18,
6923,
2668,
95,
8284,
565,
1681,
18,
6923,
12,
2603,
1957,
18,
723,
7675,
529,
1435,
2934,
6923,
2668,
36,
8284,
565,
309,
12,
3208,
1318,
18,
588,
3208,
7675,
291,
2802,
4709,
2309,
10756,
288,
1377,
368,
13242,
670,
1060,
1085,
72,
28565,
1377,
1681,
18,
6923,
2932,
6270,
734,
8863,
565,
289,
565,
469,
288,
1377,
1681,
18,
6923,
12,
2603,
1957,
18,
6270,
734,
10663,
565,
289,
565,
1681,
18,
6923,
2668,
1713,
1769,
565,
309,
261,
2603,
1957,
1276,
1510,
2404,
13,
288,
1377,
509,
2067,
273,
1681,
18,
31806,
2932,
63,
8863,
2
] |
CalculatedStyle derived = getCss().getDerivedStyle(parent, s);
|
CalculatedStyle derived = parent.deriveStyle(s);
|
public void pushStyle(CascadedStyle s) { CalculatedStyle parent = (CalculatedStyle) styleStack.peek(); CalculatedStyle derived = getCss().getDerivedStyle(parent, s); styleStack.push(derived); }
|
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/0bcb35d367c0f0b2a89eb6aabedfe9807525ad3a/ContextImpl.java/clean/src/java/org/xhtmlrenderer/layout/ContextImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1817,
2885,
12,
39,
3691,
2435,
2885,
272,
13,
288,
3639,
15994,
690,
2885,
982,
273,
261,
4844,
690,
2885,
13,
2154,
2624,
18,
347,
3839,
5621,
3639,
15994,
690,
2885,
10379,
273,
982,
18,
765,
688,
2885,
12,
87,
1769,
3639,
2154,
2624,
18,
6206,
12,
765,
2950,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1817,
2885,
12,
39,
3691,
2435,
2885,
272,
13,
288,
3639,
15994,
690,
2885,
982,
273,
261,
4844,
690,
2885,
13,
2154,
2624,
18,
347,
3839,
5621,
3639,
15994,
690,
2885,
10379,
273,
982,
18,
765,
688,
2885,
12,
87,
1769,
3639,
2154,
2624,
18,
6206,
12,
765,
2950,
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
] |
public void mTokens() throws RecognitionException { // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:10: ( T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | T43 | T44 | T45 | T46 | T47 | T48 | T49 | T50 | T51 | T52 | T53 | T54 | T55 | T56 | T57 | T58 | T59 | T60 | T61 | MISC | WS | EOL | INT | FLOAT | STRING | BOOL | ID | SH_STYLE_SINGLE_LINE_COMMENT | C_STYLE_SINGLE_LINE_COMMENT | MULTI_LINE_COMMENT ) int alt16=58; alt16 = dfa16.predict(input); if (failed) return ; switch (alt16) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:10: T15 { mT15(); if (failed) return ; } break; case 2 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:14: T16 { mT16(); if (failed) return ; } break; case 3 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:18: T17 { mT17(); if (failed) return ; } break; case 4 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:22: T18 { mT18(); if (failed) return ; } break; case 5 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:26: T19 { mT19(); if (failed) return ; } break; case 6 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:30: T20 { mT20(); if (failed) return ; } break; case 7 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:34: T21 { mT21(); if (failed) return ; } break; case 8 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:38: T22 { mT22(); if (failed) return ; } break; case 9 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:42: T23 { mT23(); if (failed) return ; } break; case 10 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:46: T24 { mT24(); if (failed) return ; } break; case 11 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:50: T25 { mT25(); if (failed) return ; } break; case 12 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:54: T26 { mT26(); if (failed) return ; } break; case 13 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:58: T27 { mT27(); if (failed) return ; } break; case 14 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:62: T28 { mT28(); if (failed) return ; } break; case 15 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:66: T29 { mT29(); if (failed) return ; } break; case 16 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:70: T30 { mT30(); if (failed) return ; } break; case 17 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:74: T31 { mT31(); if (failed) return ; } break; case 18 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:78: T32 { mT32(); if (failed) return ; } break; case 19 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:82: T33 { mT33(); if (failed) return ; } break; case 20 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:86: T34 { mT34(); if (failed) return ; } break; case 21 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:90: T35 { mT35(); if (failed) return ; } break; case 22 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:94: T36 { mT36(); if (failed) return ; } break; case 23 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:98: T37 { mT37(); if (failed) return ; } break; case 24 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:102: T38 { mT38(); if (failed) return ; } break; case 25 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:106: T39 { mT39(); if (failed) return ; } break; case 26 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:110: T40 { mT40(); if (failed) return ; } break; case 27 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:114: T41 { mT41(); if (failed) return ; } break; case 28 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:118: T42 { mT42(); if (failed) return ; } break; case 29 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:122: T43 { mT43(); if (failed) return ; } break; case 30 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:126: T44 { mT44(); if (failed) return ; } break; case 31 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:130: T45 { mT45(); if (failed) return ; } break; case 32 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:134: T46 { mT46(); if (failed) return ; } break; case 33 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:138: T47 { mT47(); if (failed) return ; } break; case 34 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:142: T48 { mT48(); if (failed) return ; } break; case 35 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:146: T49 { mT49(); if (failed) return ; } break; case 36 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:150: T50 { mT50(); if (failed) return ; } break; case 37 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:154: T51 { mT51(); if (failed) return ; } break; case 38 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:158: T52 { mT52(); if (failed) return ; } break; case 39 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:162: T53 { mT53(); if (failed) return ; } break; case 40 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:166: T54 { mT54(); if (failed) return ; } break; case 41 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:170: T55 { mT55(); if (failed) return ; } break; case 42 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:174: T56 { mT56(); if (failed) return ; } break; case 43 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:178: T57 { mT57(); if (failed) return ; } break; case 44 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:182: T58 { mT58(); if (failed) return ; } break; case 45 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:186: T59 { mT59(); if (failed) return ; } break; case 46 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:190: T60 { mT60(); if (failed) return ; } break; case 47 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:194: T61 { mT61(); if (failed) return ; } break; case 48 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:198: MISC { mMISC(); if (failed) return ; } break; case 49 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:203: WS { mWS(); if (failed) return ; } break; case 50 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:206: EOL { mEOL(); if (failed) return ; } break; case 51 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:210: INT { mINT(); if (failed) return ; } break; case 52 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:214: FLOAT { mFLOAT(); if (failed) return ; } break; case 53 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:220: STRING { mSTRING(); if (failed) return ; } break; case 54 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:227: BOOL { mBOOL(); if (failed) return ; } break; case 55 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:232: ID { mID(); if (failed) return ; } break; case 56 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:235: SH_STYLE_SINGLE_LINE_COMMENT { mSH_STYLE_SINGLE_LINE_COMMENT(); if (failed) return ; } break; case 57 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:264: C_STYLE_SINGLE_LINE_COMMENT { mC_STYLE_SINGLE_LINE_COMMENT(); if (failed) return ; } break; case 58 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1:292: MULTI_LINE_COMMENT { mMULTI_LINE_COMMENT(); if (failed) return ; } break; } }
|
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/cb210a30853642e270a3bba6ce570409f6046852/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
5157,
1435,
1216,
9539,
288,
3639,
368,
342,
8712,
19,
81,
1354,
69,
292,
19,
13582,
19,
10649,
8464,
17,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
21,
30,
2163,
30,
261,
399,
3600,
571,
399,
2313,
571,
399,
4033,
571,
399,
2643,
571,
399,
3657,
571,
399,
3462,
571,
399,
5340,
571,
399,
3787,
571,
399,
4366,
571,
399,
3247,
571,
399,
2947,
571,
399,
5558,
571,
399,
5324,
571,
399,
6030,
571,
399,
5540,
571,
399,
5082,
571,
399,
6938,
571,
399,
1578,
571,
399,
3707,
571,
399,
5026,
571,
399,
4763,
571,
399,
5718,
571,
399,
6418,
571,
399,
7414,
571,
399,
5520,
571,
399,
7132,
571,
399,
9803,
571,
399,
9452,
571,
399,
8942,
571,
399,
6334,
571,
399,
7950,
571,
399,
8749,
571,
399,
9462,
571,
399,
8875,
571,
399,
7616,
571,
399,
3361,
571,
399,
10593,
571,
399,
9401,
571,
399,
8643,
571,
399,
6564,
571,
399,
2539,
571,
399,
4313,
571,
399,
10321,
571,
399,
8204,
571,
399,
6162,
571,
399,
4848,
571,
399,
9498,
571,
20806,
2312,
571,
7649,
571,
19995,
571,
6137,
571,
15483,
571,
9469,
571,
9784,
1741,
571,
1599,
571,
6122,
67,
15066,
67,
20184,
67,
5997,
67,
12200,
571,
385,
67,
15066,
67,
20184,
67,
5997,
67,
12200,
571,
27125,
67,
5997,
67,
12200,
262,
3639,
509,
3770,
2313,
33,
8204,
31,
3639,
3770,
2313,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
5157,
1435,
1216,
9539,
288,
3639,
368,
342,
8712,
19,
81,
1354,
69,
292,
19,
13582,
19,
10649,
8464,
17,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
21,
30,
2163,
30,
261,
399,
3600,
571,
399,
2313,
571,
399,
4033,
571,
399,
2643,
571,
399,
3657,
571,
399,
3462,
571,
399,
5340,
571,
399,
3787,
571,
399,
4366,
571,
399,
3247,
571,
399,
2947,
571,
399,
5558,
571,
399,
5324,
571,
399,
6030,
571,
399,
5540,
571,
399,
5082,
571,
399,
6938,
571,
399,
1578,
571,
399,
3707,
571,
399,
5026,
571,
399,
4763,
571,
399,
5718,
571,
399,
2
] |
||
public void set(org.quickfix.field.SecurityAltID value)
|
public void set(quickfix.field.SecurityAltID value)
|
public void set(org.quickfix.field.SecurityAltID value) { setField(value); }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralRequest.java/clean/src/java/src/quickfix/fix44/CollateralRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
12,
19525,
904,
18,
1518,
18,
4368,
10655,
734,
460,
13,
225,
288,
16331,
12,
1132,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
12,
19525,
904,
18,
1518,
18,
4368,
10655,
734,
460,
13,
225,
288,
16331,
12,
1132,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return ctorObj.construct(cx, ctorObj.getParentScope(), args);
|
return ctorObj.construct(cx, scope, args);
|
public static Object jsConstructor(Context cx, Object[] args, Function ctorObj, boolean inNewExpr) throws JavaScriptException { if (!inNewExpr) { // FunctionObject.construct will set up parent, proto return ctorObj.construct(cx, ctorObj.getParentScope(), args); } if (args.length == 0) return new NativeArray(); // Only use 1 arg as first element for version 1.2; for // any other version (including 1.3) follow ECMA and use it as // a length. if (cx.getLanguageVersion() == cx.VERSION_1_2) { return new NativeArray(args); } else { if ((args.length > 1) || (!(args[0] instanceof Number))) return new NativeArray(args); else { long len = ScriptRuntime.toUint32(args[0]); if (len != (((Number)(args[0])).doubleValue())) throw Context.reportRuntimeError0("msg.arraylength.bad"); return new NativeArray(len); } } }
|
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeArray.java/clean/js/rhino/src/org/mozilla/javascript/NativeArray.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
3828,
6293,
12,
1042,
9494,
16,
1033,
8526,
833,
16,
4766,
3639,
4284,
15120,
2675,
16,
1250,
316,
1908,
4742,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
16051,
267,
1908,
4742,
13,
288,
5411,
368,
4284,
921,
18,
10062,
903,
444,
731,
982,
16,
3760,
5411,
327,
15120,
2675,
18,
10062,
12,
71,
92,
16,
2146,
16,
833,
1769,
3639,
289,
3639,
309,
261,
1968,
18,
2469,
422,
374,
13,
5411,
327,
394,
16717,
1076,
5621,
3639,
368,
5098,
999,
404,
1501,
487,
1122,
930,
364,
1177,
404,
18,
22,
31,
364,
3639,
368,
1281,
1308,
1177,
261,
31348,
404,
18,
23,
13,
2805,
7773,
5535,
471,
999,
518,
487,
3639,
368,
279,
769,
18,
3639,
309,
261,
71,
92,
18,
588,
3779,
1444,
1435,
422,
9494,
18,
5757,
67,
21,
67,
22,
13,
288,
5411,
327,
394,
16717,
1076,
12,
1968,
1769,
3639,
289,
3639,
469,
288,
5411,
309,
14015,
1968,
18,
2469,
405,
404,
13,
747,
16051,
12,
1968,
63,
20,
65,
1276,
3588,
20349,
7734,
327,
394,
16717,
1076,
12,
1968,
1769,
5411,
469,
288,
7734,
1525,
562,
273,
7739,
5576,
18,
869,
5487,
1578,
12,
1968,
63,
20,
19226,
7734,
309,
261,
1897,
480,
261,
12443,
1854,
21433,
1968,
63,
20,
5717,
2934,
9056,
620,
1435,
3719,
10792,
604,
1772,
18,
6006,
5576,
668,
20,
2932,
3576,
18,
1126,
2469,
18,
8759,
8863,
7734,
327,
394,
16717,
1076,
12,
1897,
1769,
5411,
289,
3639,
289,
565,
289,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
3828,
6293,
12,
1042,
9494,
16,
1033,
8526,
833,
16,
4766,
3639,
4284,
15120,
2675,
16,
1250,
316,
1908,
4742,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
16051,
267,
1908,
4742,
13,
288,
5411,
368,
4284,
921,
18,
10062,
903,
444,
731,
982,
16,
3760,
5411,
327,
15120,
2675,
18,
10062,
12,
71,
92,
16,
2146,
16,
833,
1769,
3639,
289,
3639,
309,
261,
1968,
18,
2469,
422,
374,
13,
5411,
327,
394,
16717,
1076,
5621,
3639,
368,
5098,
999,
404,
1501,
487,
1122,
930,
364,
1177,
404,
18,
22,
31,
364,
3639,
368,
1281,
1308,
1177,
261,
31348,
404,
18,
23,
13,
2805,
7773,
5535,
471,
999,
518,
487,
3639,
368,
279,
2
] |
removed.removePropertyChangeListener(measureClassChangeListener);
|
removed.removePropertyChangeListener(JRDesignCrosstabMeasure.PROPERTY_VALUE_CLASS, measureClassChangeListener);
|
public JRCrosstabMeasure removeMeasure(String measureName) { JRDesignCrosstabMeasure removed = null; Integer idx = (Integer) measuresMap.remove(measureName); if (idx != null) { removed = (JRDesignCrosstabMeasure) measures.remove(idx.intValue()); for (ListIterator it = measures.listIterator(idx.intValue()); it.hasNext();) { JRCrosstabMeasure group = (JRCrosstabMeasure) it.next(); measuresMap.put(group.getName(), new Integer(it.previousIndex())); } removeMeasureVars(removed); removed.removePropertyChangeListener(measureClassChangeListener); } return removed; }
|
9031 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9031/cfb751f55c301ced4876a42ac7e39534878f808a/JRDesignCrosstab.java/clean/jasperreports/src/net/sf/jasperreports/crosstabs/design/JRDesignCrosstab.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
804,
11529,
6973,
334,
378,
7197,
1206,
7197,
12,
780,
6649,
461,
13,
202,
95,
202,
202,
46,
54,
15478,
39,
6973,
334,
378,
7197,
3723,
273,
446,
31,
9506,
202,
4522,
2067,
273,
261,
4522,
13,
22692,
863,
18,
4479,
12,
10772,
461,
1769,
202,
202,
430,
261,
3465,
480,
446,
13,
202,
202,
95,
1082,
202,
14923,
273,
261,
46,
54,
15478,
39,
6973,
334,
378,
7197,
13,
22692,
18,
4479,
12,
3465,
18,
474,
620,
10663,
25083,
202,
1884,
261,
682,
3198,
518,
273,
22692,
18,
1098,
3198,
12,
3465,
18,
474,
620,
10663,
518,
18,
5332,
2134,
5621,
13,
1082,
202,
95,
9506,
202,
46,
11529,
6973,
334,
378,
7197,
1041,
273,
261,
46,
11529,
6973,
334,
378,
7197,
13,
518,
18,
4285,
5621,
9506,
202,
21992,
1823,
863,
18,
458,
12,
1655,
18,
17994,
9334,
394,
2144,
12,
305,
18,
11515,
1016,
1435,
10019,
1082,
202,
97,
25083,
202,
4479,
7197,
5555,
12,
14923,
1769,
25083,
202,
14923,
18,
4479,
1396,
15744,
12,
10772,
797,
15744,
1769,
202,
202,
97,
9506,
202,
2463,
3723,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
804,
11529,
6973,
334,
378,
7197,
1206,
7197,
12,
780,
6649,
461,
13,
202,
95,
202,
202,
46,
54,
15478,
39,
6973,
334,
378,
7197,
3723,
273,
446,
31,
9506,
202,
4522,
2067,
273,
261,
4522,
13,
22692,
863,
18,
4479,
12,
10772,
461,
1769,
202,
202,
430,
261,
3465,
480,
446,
13,
202,
202,
95,
1082,
202,
14923,
273,
261,
46,
54,
15478,
39,
6973,
334,
378,
7197,
13,
22692,
18,
4479,
12,
3465,
18,
474,
620,
10663,
25083,
202,
1884,
261,
682,
3198,
518,
273,
22692,
18,
1098,
3198,
12,
3465,
18,
474,
620,
10663,
518,
18,
5332,
2134,
5621,
13,
1082,
202,
95,
9506,
202,
46,
11529,
6973,
334,
378,
7197,
1041,
273,
2
] |
if ((LA(1)==NLS||LA(1)==LITERAL_catch) && (LA(2)==LPAREN||LA(2)==LITERAL_catch) && (_tokenSet_102.member(LA(3)))) {
|
if ((LA(1)==NLS||LA(1)==LITERAL_catch) && (LA(2)==LPAREN||LA(2)==LITERAL_catch) && (_tokenSet_98.member(LA(3)))) {
|
public final void tryBlock() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST tryBlock_AST = null; AST tmp179_AST = null; tmp179_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp179_AST); match(LITERAL_try); nlsWarn(); compoundStatement(); astFactory.addASTChild(currentAST, returnAST); { _loop317: do { if ((LA(1)==NLS||LA(1)==LITERAL_catch) && (LA(2)==LPAREN||LA(2)==LITERAL_catch) && (_tokenSet_102.member(LA(3)))) { nls(); handler(); astFactory.addASTChild(currentAST, returnAST); } else { break _loop317; } } while (true); } { if ((LA(1)==NLS||LA(1)==LITERAL_finally) && (_tokenSet_103.member(LA(2))) && (_tokenSet_73.member(LA(3)))) { nls(); finallyClause(); astFactory.addASTChild(currentAST, returnAST); } else if ((_tokenSet_10.member(LA(1))) && (_tokenSet_11.member(LA(2))) && (_tokenSet_6.member(LA(3)))) { } else { throw new NoViableAltException(LT(1), getFilename()); } } tryBlock_AST = (AST)currentAST.root; returnAST = tryBlock_AST; }
|
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/402b6bb60ff460172ee2d793373e0aa52b284687/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,
775,
1768,
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,
775,
1768,
67,
9053,
273,
446,
31,
9506,
202,
9053,
1853,
28814,
67,
9053,
273,
446,
31,
202,
202,
5645,
28814,
67,
9053,
273,
3364,
1733,
18,
2640,
12,
12050,
12,
21,
10019,
202,
202,
689,
1733,
18,
6540,
9053,
2375,
12,
2972,
9053,
16,
1853,
28814,
67,
9053,
1769,
202,
202,
1916,
12,
23225,
67,
698,
1769,
202,
202,
82,
3251,
3160,
5621,
202,
202,
22585,
3406,
5621,
202,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
327,
9053,
1769,
202,
202,
95,
202,
202,
67,
6498,
23,
4033,
30,
202,
202,
2896,
288,
1082,
202,
430,
14015,
2534,
12,
21,
13,
631,
5106,
20081,
2534,
12,
21,
13,
631,
23225,
67,
14683,
13,
597,
261,
2534,
12,
22,
13,
631,
48,
15111,
20081,
2534,
12,
22,
13,
631,
23225,
67,
14683,
13,
597,
261,
67,
2316,
694,
67,
20481,
18,
5990,
12,
2534,
12,
23,
3719,
3719,
288,
9506,
202,
82,
3251,
5621,
9506,
202,
4176,
5621,
9506,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
327,
9053,
1769,
1082,
202,
97,
1082,
202,
12107,
288,
9506,
202,
8820,
389,
6498,
23,
4033,
31,
1082,
202,
97,
6862,
202,
97,
1323,
261,
3767,
1769,
202,
202,
97,
202,
202,
95,
202,
202,
430,
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,
775,
1768,
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,
775,
1768,
67,
9053,
273,
446,
31,
9506,
202,
9053,
1853,
28814,
67,
9053,
273,
446,
31,
202,
202,
5645,
28814,
67,
9053,
273,
3364,
1733,
18,
2640,
12,
12050,
12,
21,
10019,
202,
202,
689,
1733,
18,
6540,
9053,
2375,
12,
2972,
9053,
16,
1853,
28814,
67,
9053,
1769,
202,
202,
1916,
12,
23225,
67,
698,
1769,
202,
202,
82,
3251,
3160,
5621,
202,
202,
22585,
3406,
5621,
202,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
327,
9053,
2
] |
return true;
|
return false;
|
public boolean canCreateElementFor(ITask task) { return true; }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/35e7b7cb2c31ce5495000c5822f4b048825e825e/DelegatingTaskExternalizer.java/buggy/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/DelegatingTaskExternalizer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
848,
1684,
1046,
1290,
12,
1285,
835,
1562,
13,
288,
202,
202,
2463,
638,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
848,
1684,
1046,
1290,
12,
1285,
835,
1562,
13,
288,
202,
202,
2463,
638,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
"select " +CLDR_DATA+".type from "+ CLDR_DATA+","+XPathTable.CLDR_XPATHS+" where "+CLDR_DATA+".xpath="+ XPathTable.CLDR_XPATHS+".id AND "+XPathTable.CLDR_XPATHS+".xpath like ?");
|
"select " +CLDR_DATA+".type from "+ CLDR_DATA+","+XPathTable.CLDR_XPATHS+" where "+CLDR_DATA+".xpath="+ XPathTable.CLDR_XPATHS+".id AND "+XPathTable.CLDR_XPATHS+".xpath like ?");
|
MyStatements(Connection conn) { insert = prepareStatement("insert", "INSERT INTO " + CLDR_DATA + " (xpath,locale,source,origxpath,value,type,alt_type,txpath,submitter,base_xpath,modtime) " + "VALUES (?,?,?,?,?,?,?,?,?,?,CURRENT_TIMESTAMP)"); // xpath - contains type, no draft // origxpath - original xpath (full) - // txpath - tiny xpath (no TYPE) queryXpathPrefixes = prepareStatement("queryXpathPrefixes", "select "+XPathTable.CLDR_XPATHS+".id from "+ XPathTable.CLDR_XPATHS+","+CLDR_DATA+" where "+CLDR_DATA+".xpath="+ XPathTable.CLDR_XPATHS+".id AND "+XPathTable.CLDR_XPATHS+".xpath like ? AND "+CLDR_DATA+".locale=?"); queryXpathTypes = prepareStatement("queryXpathTypes", "select " +CLDR_DATA+".type from "+ CLDR_DATA+","+XPathTable.CLDR_XPATHS+" where "+CLDR_DATA+".xpath="+ XPathTable.CLDR_XPATHS+".id AND "+XPathTable.CLDR_XPATHS+".xpath like ?"); oxpathFromXpath = prepareStatement("oxpathFromXpath", "select " +CLDR_DATA+".origxpath from "+CLDR_DATA+" where "+CLDR_DATA+".xpath=? AND "+CLDR_DATA+".locale=?"); queryTypeValues = prepareStatement("queryTypeValues", "select "+CLDR_DATA+".value,"+CLDR_DATA+".alt_type,"+CLDR_DATA+".alt_proposed,"+CLDR_DATA+".submitter,"+CLDR_DATA+".xpath,"+CLDR_DATA+".origxpath " + " from "+ CLDR_DATA+" where "+CLDR_DATA+".txpath=? AND "+CLDR_DATA+".locale=? AND "+CLDR_DATA+".type=?"); queryValue = prepareStatement("queryValue", "SELECT value FROM " + CLDR_DATA + " WHERE locale=? AND xpath=?"); // TODO: 1 need to be more specific! ! ! ! queryVetValue = prepareStatement("queryVetValue", "SELECT CLDR_DATA.value FROM CLDR_RESULT," + CLDR_DATA + " WHERE CLDR_RESULT.locale=? AND CLDR_RESULT.base_xpath=? AND " +" (CLDR_RESULT.locale=CLDR_DATA.locale) AND (CLDR_RESULT.result_xpath=CLDR_DATA.xpath)"); // TODO: 1 need to be more specific! ! ! ! keyASet = prepareStatement("keyASet", /* "SELECT "+CLDR_DATA+".xpath from "+ XPathTable.CLDR_XPATHS+","+CLDR_DATA+" where "+CLDR_DATA+".xpath="+ XPathTable.CLDR_XPATHS+".id AND "+XPathTable.CLDR_XPATHS+".xpath like ? AND "+CLDR_DATA+".locale=?" */// "SELECT CLDR_DATA.xpath from CLDR_XPATHS,CLDR_DATA where CLDR_DATA.xpath=CLDR_XPATHS.id AND CLDR_XPATHS.xpath like '%/alias%' AND CLDR_DATA.locale=?" "SELECT CLDR_DATA.origxpath from CLDR_XPATHS,CLDR_DATA where CLDR_DATA.origxpath=CLDR_XPATHS.id AND CLDR_XPATHS.xpath like '%/alias%' AND CLDR_DATA.locale=?" ); keySet = prepareStatement("keySet", "SELECT " + "xpath FROM " + CLDR_DATA + // was origxpath " WHERE locale=?"); // TODO: 1 need to be more specific! keyVettingSet = prepareStatement("keyVettingSet", "SELECT base_xpath from CLDR_RESULT where locale=? AND result_xpath IS NOT NULL AND result_xpath > 0 AND type<"+Vetting.RES_REMOVAL ); keyUnconfirmedSet = prepareStatement("keyUnconfirmedSet", "select distinct CLDR_VET.vote_xpath from CLDR_VET where CLDR_VET.vote_xpath!=-1 AND CLDR_VET.locale=? AND NOT EXISTS ( SELECT CLDR_RESULT.result_xpath from CLDR_RESULT where CLDR_RESULT.result_xpath=CLDR_VET.vote_xpath and CLDR_RESULT.locale=CLDR_VET.locale AND CLDR_RESULT.type>="+Vetting.RES_ADMIN+") AND NOT EXISTS ( SELECT CLDR_RESULT.base_xpath from CLDR_RESULT where CLDR_RESULT.base_xpath=CLDR_VET.base_xpath and CLDR_RESULT.locale=CLDR_VET.locale AND CLDR_RESULT.type="+Vetting.RES_ADMIN+") AND EXISTS (select * from CLDR_DATA where CLDR_DATA.locale=CLDR_VET.locale AND CLDR_DATA.xpath=CLDR_VET.vote_xpath and CLDR_DATA.value != '')"); keyNoVotesSet = prepareStatement("keyUnconfirmedSet", "select distinct CLDR_DATA.xpath from CLDR_DATA,CLDR_RESULT where CLDR_DATA.locale=? AND CLDR_DATA.locale=CLDR_RESULT.locale AND CLDR_DATA.xpath=CLDR_RESULT.base_xpath AND CLDR_RESULT.type="+Vetting.RES_NO_VOTES); querySource = prepareStatement("querySource", "SELECT id,rev FROM " + CLDR_SRC + " where locale=? AND tree=? AND inactive IS NULL"); querySourceInfo = prepareStatement("querySourceInfo", "SELECT rev FROM " + CLDR_SRC + " where id=?"); querySourceActives = prepareStatement("querySourceActives", "SELECT id,locale,rev FROM " + CLDR_SRC + " where inactive IS NULL"); insertSource = prepareStatement("insertSource", "INSERT INTO " + CLDR_SRC + " (locale,tree,rev,inactive) VALUES (?,?,?,null)"); }
|
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/80a9c4132d2c9a27275f7ad9b0848d0efa7795b7/CLDRDBSource.java/clean/tools/java/org/unicode/cldr/web/CLDRDBSource.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
8005,
14663,
12,
1952,
1487,
13,
288,
5411,
2243,
273,
21406,
2932,
6387,
3113,
13491,
315,
11356,
12421,
315,
397,
14934,
6331,
67,
4883,
397,
13491,
315,
261,
18644,
16,
6339,
16,
3168,
16,
4949,
18644,
16,
1132,
16,
723,
16,
2390,
67,
723,
16,
978,
803,
16,
9297,
387,
16,
1969,
67,
18644,
16,
1711,
957,
13,
315,
397,
13491,
315,
16386,
13590,
27166,
27166,
27166,
27166,
27166,
27166,
27166,
27166,
27166,
16,
15487,
67,
17201,
2225,
1769,
4766,
5411,
368,
6748,
300,
1914,
618,
16,
1158,
12246,
10792,
368,
1647,
18644,
300,
2282,
6748,
261,
2854,
13,
300,
5397,
368,
2229,
803,
300,
24405,
6748,
225,
261,
2135,
3463,
13,
5411,
843,
28137,
11700,
273,
21406,
2932,
2271,
28137,
11700,
3113,
7734,
315,
4025,
13773,
14124,
1388,
18,
5017,
6331,
67,
60,
4211,
55,
9078,
18,
350,
628,
13773,
13491,
10172,
1388,
18,
5017,
6331,
67,
60,
4211,
55,
15,
15937,
15,
5017,
6331,
67,
4883,
9078,
1625,
13773,
5017,
6331,
67,
4883,
9078,
18,
18644,
1546,
15,
13491,
10172,
1388,
18,
5017,
6331,
67,
60,
4211,
55,
9078,
18,
350,
4116,
13773,
14124,
1388,
18,
5017,
6331,
67,
60,
4211,
55,
9078,
18,
18644,
3007,
692,
4116,
13773,
5017,
6331,
67,
4883,
9078,
18,
6339,
25501,
1769,
5411,
843,
28137,
2016,
273,
21406,
2932,
2271,
28137,
2016,
3113,
7734,
315,
4025,
315,
397,
5017,
6331,
67,
4883,
9078,
18,
723,
628,
13773,
13491,
14934,
6331,
67,
4883,
15,
15937,
15,
14124,
1388,
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,
540,
8005,
14663,
12,
1952,
1487,
13,
288,
5411,
2243,
273,
21406,
2932,
6387,
3113,
13491,
315,
11356,
12421,
315,
397,
14934,
6331,
67,
4883,
397,
13491,
315,
261,
18644,
16,
6339,
16,
3168,
16,
4949,
18644,
16,
1132,
16,
723,
16,
2390,
67,
723,
16,
978,
803,
16,
9297,
387,
16,
1969,
67,
18644,
16,
1711,
957,
13,
315,
397,
13491,
315,
16386,
13590,
27166,
27166,
27166,
27166,
27166,
27166,
27166,
27166,
27166,
16,
15487,
67,
17201,
2225,
1769,
4766,
5411,
368,
6748,
300,
1914,
618,
16,
1158,
12246,
10792,
368,
1647,
18644,
300,
2282,
6748,
261,
2854,
13,
300,
5397,
368,
2229,
803,
300,
24405,
6748,
225,
261,
2135,
3463,
13,
5411,
843,
28137,
11700,
273,
21406,
2
] |
if (!force) { if (!showConfirmation()){ saveAll(); return; } } saveAll(); if (!canExit()) return; dispose();
|
public void run() { if (!force) { if (!showConfirmation()){ saveAll(); return; } } saveAll(); if (!canExit()) return; dispose(); System.exit(0); }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/5e3098ca729ac75ebf13baf50dace441b8a06746/ApplicationImpl.java/clean/source/com/intellij/openapi/application/impl/ApplicationImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
1850,
309,
16051,
5734,
13,
288,
5411,
309,
16051,
4500,
17597,
10756,
95,
2868,
1923,
1595,
5621,
2868,
327,
31,
5411,
289,
1850,
289,
1850,
1923,
1595,
5621,
1850,
309,
16051,
4169,
6767,
10756,
327,
31,
1850,
15825,
5621,
1850,
2332,
18,
8593,
12,
20,
1769,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
540,
1071,
918,
1086,
1435,
288,
1850,
309,
16051,
5734,
13,
288,
5411,
309,
16051,
4500,
17597,
10756,
95,
2868,
1923,
1595,
5621,
2868,
327,
31,
5411,
289,
1850,
289,
1850,
1923,
1595,
5621,
1850,
309,
16051,
4169,
6767,
10756,
327,
31,
1850,
15825,
5621,
1850,
2332,
18,
8593,
12,
20,
1769,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
currentOrder[0] = (zSize > tSize) ? "XYCZT" : "XYCTZ";
|
Object check = metadata.get("Image Channel Index"); if (check != null) { int[] dims = {sizeZ[0], sizeC[0], sizeT[0]}; int max = 0, min = Integer.MAX_VALUE, maxNdx = 0, minNdx = 0; String[] axes = {"Z", "C", "T"}; for (int i=0; i<dims.length; i++) { if (dims[i] > max) { max = dims[i]; maxNdx = i; } if (dims[i] < min) { min = dims[i]; minNdx = i; } } int medNdx = 0; for (int i=0; i<3; i++) { if (i != maxNdx && i != minNdx) medNdx = i; } currentOrder[0] = "XY" + axes[maxNdx] + axes[medNdx] + axes[minNdx]; } else currentOrder[0] = (zSize > tSize) ? "XYCZT" : "XYCTZ";
|
protected void initFile(String id) throws FormatException, IOException { if (noPOI) { legacy.initFile(id); return; } currentId = id; metadata = new Hashtable(); pixels = new Hashtable(); names = new Hashtable(); offsets = new Hashtable(); zIndices = new Vector(); cIndices = new Vector(); tIndices = new Vector(); nImages = 0; try { RandomAccessStream ras = new RandomAccessStream(id); // Don't uncomment this block. Even though OIBReader has something // like this, it's really a bad idea here. Every ZVI file we have *will* // break if you uncomment it. // //if (ras.length() % 4096 != 0) { // ras.setExtend((4096 - (int) (ras.length() % 4096))); //} r.setVar("fis", ras); r.exec("fs = new POIFSFileSystem(fis)"); r.exec("dir = fs.getRoot()"); parseDir(0, r.getVar("dir")); zSize = zIndices.size(); tSize = tIndices.size(); nChannels *= cIndices.size(); sizeX = new int[1]; sizeY = new int[1]; sizeZ = new int[1]; sizeC = new int[1]; sizeT = new int[1]; pixelType = new int[1]; currentOrder = new String[1]; sizeX[0] = width; sizeY[0] = height; sizeZ[0] = zSize; sizeC[0] = nChannels; sizeT[0] = tSize; currentOrder[0] = (zSize > tSize) ? "XYCZT" : "XYCTZ"; } catch (Throwable t) { /* debug */ t.printStackTrace(); noPOI = true; if (DEBUG) t.printStackTrace(); initFile(id); } try { initMetadata(); } catch (Exception e) { } }
|
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/35326399e5856594c8272f8e7b6afafae9258d4f/ZeissZVIReader.java/buggy/loci/formats/in/ZeissZVIReader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
309,
261,
2135,
2419,
45,
13,
288,
1377,
8866,
18,
2738,
812,
12,
350,
1769,
1377,
327,
31,
565,
289,
565,
783,
548,
273,
612,
31,
565,
1982,
273,
394,
18559,
5621,
565,
8948,
273,
394,
18559,
5621,
565,
1257,
273,
394,
18559,
5621,
565,
8738,
273,
394,
18559,
5621,
565,
998,
8776,
273,
394,
5589,
5621,
565,
276,
8776,
273,
394,
5589,
5621,
565,
268,
8776,
273,
394,
5589,
5621,
565,
290,
8946,
273,
374,
31,
565,
775,
288,
1377,
8072,
1862,
1228,
18306,
273,
394,
8072,
1862,
1228,
12,
350,
1769,
1377,
368,
7615,
1404,
12704,
475,
333,
1203,
18,
225,
25067,
11376,
531,
13450,
2514,
711,
5943,
4202,
368,
3007,
333,
16,
518,
1807,
8654,
279,
5570,
21463,
2674,
18,
225,
16420,
2285,
4136,
585,
732,
1240,
380,
20194,
14,
1377,
368,
898,
309,
1846,
12704,
475,
518,
18,
1377,
368,
4202,
368,
430,
261,
21636,
18,
2469,
1435,
738,
16797,
480,
374,
13,
288,
1377,
368,
225,
18306,
18,
542,
16675,
12443,
24,
5908,
26,
300,
261,
474,
13,
261,
21636,
18,
2469,
1435,
738,
16797,
3719,
1769,
1377,
19363,
5411,
436,
18,
542,
1537,
2932,
74,
291,
3113,
18306,
1769,
1377,
436,
18,
4177,
2932,
2556,
273,
394,
13803,
45,
4931,
11785,
12,
74,
291,
2225,
1769,
1377,
436,
18,
4177,
2932,
1214,
273,
2662,
18,
588,
2375,
1435,
8863,
1377,
1109,
1621,
12,
20,
16,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
309,
261,
2135,
2419,
45,
13,
288,
1377,
8866,
18,
2738,
812,
12,
350,
1769,
1377,
327,
31,
565,
289,
565,
783,
548,
273,
612,
31,
565,
1982,
273,
394,
18559,
5621,
565,
8948,
273,
394,
18559,
5621,
565,
1257,
273,
394,
18559,
5621,
565,
8738,
273,
394,
18559,
5621,
565,
998,
8776,
273,
394,
5589,
5621,
565,
276,
8776,
273,
394,
5589,
5621,
565,
268,
8776,
273,
394,
5589,
5621,
565,
290,
8946,
273,
374,
31,
565,
775,
288,
1377,
8072,
1862,
1228,
18306,
273,
394,
8072,
1862,
1228,
12,
350,
1769,
1377,
368,
7615,
1404,
12704,
475,
333,
1203,
18,
225,
2
] |
FormatReader r = reader.getReader(id);
|
IFormatReader r = reader.getReader(id);
|
public void open(String id) { wait(true); String format = null; try { File f = new File(id); id = f.getAbsolutePath(); format = reader.getFormat(id); //images = reader.open(id); FormatReader r = reader.getReader(id); FileStitcher fs = new FileStitcher(r); ChannelMerger cm = new ChannelMerger(fs); int num = cm.getImageCount(id); ProgressMonitor progress = new ProgressMonitor(this, "Reading " + id, null, 0, num); BufferedImage[] img = new BufferedImage[num]; for (int i=0; i<num; i++) { if (progress.isCanceled()) break; progress.setProgress(i); img[i] = cm.openImage(id, i); if (i == 0) setImages(id, format, img); } reader.close(); progress.setProgress(num); } catch (Exception exc) { exc.printStackTrace(); wait(false); return; } wait(false); }
|
46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/79c68841e32f59c9fb9b47e52395c52b534dd1a2/ImageViewer.java/buggy/loci/formats/ImageViewer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1696,
12,
780,
612,
13,
288,
565,
2529,
12,
3767,
1769,
565,
514,
740,
273,
446,
31,
565,
775,
288,
1377,
1387,
284,
273,
394,
1387,
12,
350,
1769,
1377,
612,
273,
284,
18,
588,
10368,
743,
5621,
1377,
740,
273,
2949,
18,
588,
1630,
12,
350,
1769,
1377,
368,
7369,
273,
2949,
18,
3190,
12,
350,
1769,
1377,
467,
1630,
2514,
436,
273,
2949,
18,
588,
2514,
12,
350,
1769,
1377,
1387,
510,
1437,
264,
2662,
273,
394,
1387,
510,
1437,
264,
12,
86,
1769,
1377,
5307,
8478,
693,
5003,
273,
394,
5307,
8478,
693,
12,
2556,
1769,
1377,
509,
818,
273,
5003,
18,
588,
2040,
1380,
12,
350,
1769,
1377,
10980,
7187,
4007,
273,
394,
10980,
7187,
12,
2211,
16,
3639,
315,
15714,
315,
397,
612,
16,
446,
16,
374,
16,
818,
1769,
1377,
12362,
8526,
3774,
273,
394,
12362,
63,
2107,
15533,
1377,
364,
261,
474,
277,
33,
20,
31,
277,
32,
2107,
31,
277,
27245,
288,
3639,
309,
261,
8298,
18,
291,
23163,
10756,
898,
31,
3639,
4007,
18,
542,
5491,
12,
77,
1769,
3639,
3774,
63,
77,
65,
273,
5003,
18,
3190,
2040,
12,
350,
16,
277,
1769,
3639,
309,
261,
77,
422,
374,
13,
444,
8946,
12,
350,
16,
740,
16,
3774,
1769,
1377,
289,
1377,
2949,
18,
4412,
5621,
1377,
4007,
18,
542,
5491,
12,
2107,
1769,
565,
289,
565,
1044,
261,
503,
3533,
13,
288,
1377,
3533,
18,
1188,
6332,
5621,
1377,
2529,
12,
5743,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1696,
12,
780,
612,
13,
288,
565,
2529,
12,
3767,
1769,
565,
514,
740,
273,
446,
31,
565,
775,
288,
1377,
1387,
284,
273,
394,
1387,
12,
350,
1769,
1377,
612,
273,
284,
18,
588,
10368,
743,
5621,
1377,
740,
273,
2949,
18,
588,
1630,
12,
350,
1769,
1377,
368,
7369,
273,
2949,
18,
3190,
12,
350,
1769,
1377,
467,
1630,
2514,
436,
273,
2949,
18,
588,
2514,
12,
350,
1769,
1377,
1387,
510,
1437,
264,
2662,
273,
394,
1387,
510,
1437,
264,
12,
86,
1769,
1377,
5307,
8478,
693,
5003,
273,
394,
5307,
8478,
693,
12,
2556,
1769,
1377,
509,
818,
273,
5003,
18,
588,
2040,
1380,
12,
350,
1769,
1377,
10980,
7187,
4007,
273,
2
] |
if (!is_identchar(c)) {
|
if (!isIdentifierChar(c)) {
|
private Node str_extend(Node list, int term) { int c; int brace = -1; RubyObject ss; Node node; int nest; c = nextc(); switch (c) { case '$' : case '@' : case '{' : break; default : tokadd('#'); pushback(c); return list; } ss = RubyString.newString(ruby, tok(), toklen()); if (list == null) { list = nf.newDStr(ss); } else if (toklen() > 0) { ph.list_append(list, nf.newStr(ss)); } newtok(); fetch_id : for (;;) { switch (c) { case '$' : tokadd('$'); c = nextc(); if (c == -1) { return Node.MINUS_ONE; } switch (c) { case '1' : case '2' : case '3' : case '4' : case '5' : case '6' : case '7' : case '8' : case '9' : while (Character.isDigit((char) c)) { tokadd(c); c = nextc(); } pushback(c); break fetch_id; case '&' : case '+' : case '_' : case '~' : case '*' : case '$' : case '?' : case '!' : case '@' : case ',' : case '.' : case '=' : case ':' : case '<' : case '>' : case '\\' : //refetch: tokadd(c); break fetch_id; default : if (c == term) { ph.list_append(list, nf.newStr(RubyString.newString(ruby, "#$"))); pushback(c); newtok(); return list; } switch (c) { case '\"' : case '/' : case '\'' : case '`' : //goto refetch; tokadd(c); break fetch_id; } if (!is_identchar(c)) { yyerror("bad global variable in string"); newtok(); return list; } } while (is_identchar(c)) { tokadd(c); c = nextc(); } pushback(c); break; case '@' : tokadd(c); c = nextc(); if (c == '@') { tokadd(c); c = nextc(); } while (is_identchar(c)) { tokadd(c); c = nextc(); } pushback(c); break; case '{' : if (c == '{') { brace = '}'; } nest = 0; do { loop_again : for (;;) { c = nextc(); switch (c) { case -1 : if (nest > 0) { yyerror("bad substitution in string"); newtok(); return list; } return Node.MINUS_ONE; case '}' : if (c == brace) { if (nest == 0) { break; } nest--; } tokadd(c); continue loop_again; case '\\' : c = nextc(); if (c == -1) { return Node.MINUS_ONE; } if (c == term) { tokadd(c); } else { tokadd('\\'); tokadd(c); } break; case '{' : if (brace != -1) { nest++; } case '\"' : case '/' : case '`' : if (c == term) { pushback(c); ph.list_append(list, nf.newStr(RubyString.newString(ruby, "#"))); ph.rb_warning("bad substitution in string"); tokfix(); ph.list_append(list, nf.newStr(RubyString.newString(ruby, tok(), toklen()))); newtok(); return list; } default : tokadd(c); break; } break loop_again; } } while (c != brace); } break; } //fetch_id: tokfix(); node = nf.newEVStr(tok(), toklen()); ph.list_append(list, node); newtok(); return list; }
|
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/d31a76ee29d5978a9bec41e3ac9134cee024bcab/DefaultRubyScanner.java/buggy/org/jruby/parser/DefaultRubyScanner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2029,
609,
67,
14313,
12,
907,
666,
16,
509,
2481,
13,
288,
3639,
509,
276,
31,
3639,
509,
22500,
273,
300,
21,
31,
3639,
19817,
921,
5202,
31,
3639,
2029,
756,
31,
3639,
509,
15095,
31,
3639,
276,
273,
1024,
71,
5621,
3639,
1620,
261,
71,
13,
288,
5411,
648,
11874,
294,
5411,
648,
9175,
294,
5411,
648,
9790,
294,
7734,
898,
31,
5411,
805,
294,
7734,
946,
1289,
2668,
7,
8284,
7734,
1817,
823,
12,
71,
1769,
7734,
327,
666,
31,
3639,
289,
3639,
5202,
273,
19817,
780,
18,
2704,
780,
12,
27768,
16,
946,
9334,
946,
1897,
10663,
3639,
309,
261,
1098,
422,
446,
13,
288,
5411,
666,
273,
13958,
18,
2704,
40,
1585,
12,
1049,
1769,
3639,
289,
469,
309,
261,
17692,
1897,
1435,
405,
374,
13,
288,
5411,
1844,
18,
1098,
67,
6923,
12,
1098,
16,
13958,
18,
2704,
1585,
12,
1049,
10019,
3639,
289,
3639,
394,
17692,
5621,
3639,
2158,
67,
350,
294,
364,
261,
25708,
13,
288,
5411,
1620,
261,
71,
13,
288,
7734,
648,
11874,
294,
10792,
946,
1289,
2668,
8,
8284,
10792,
276,
273,
1024,
71,
5621,
10792,
309,
261,
71,
422,
300,
21,
13,
288,
13491,
327,
2029,
18,
6236,
3378,
67,
5998,
31,
10792,
289,
10792,
1620,
261,
71,
13,
288,
13491,
648,
296,
21,
11,
294,
13491,
648,
296,
22,
11,
294,
13491,
648,
296,
23,
11,
294,
13491,
648,
296,
24,
11,
294,
13491,
648,
296,
25,
11,
294,
13491,
648,
296,
26,
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,
2029,
609,
67,
14313,
12,
907,
666,
16,
509,
2481,
13,
288,
3639,
509,
276,
31,
3639,
509,
22500,
273,
300,
21,
31,
3639,
19817,
921,
5202,
31,
3639,
2029,
756,
31,
3639,
509,
15095,
31,
3639,
276,
273,
1024,
71,
5621,
3639,
1620,
261,
71,
13,
288,
5411,
648,
11874,
294,
5411,
648,
9175,
294,
5411,
648,
9790,
294,
7734,
898,
31,
5411,
805,
294,
7734,
946,
1289,
2668,
7,
8284,
7734,
1817,
823,
12,
71,
1769,
7734,
327,
666,
31,
3639,
289,
3639,
5202,
273,
19817,
780,
18,
2704,
780,
12,
27768,
16,
946,
9334,
946,
1897,
10663,
3639,
309,
261,
1098,
422,
446,
13,
288,
5411,
666,
273,
13958,
18,
2704,
40,
1585,
12,
2
] |
if(include.contains(inc)){ errln("This build does not support multiple <include> or <exclude> elements with same locale attribute: "+inc.locale, true); } include.add(inc);
|
localesList.add(inc);
|
public void addConfiguredInclude(Include inc){ if(include.contains(inc)){ errln("This build does not support multiple <include> or <exclude> elements with same locale attribute: "+inc.locale, true); } include.add(inc); }
|
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/5de842e633b15da52224bdc6c27396f58ea2a741/CLDRBuild.java/clean/tools/java/org/unicode/cldr/ant/CLDRBuild.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
527,
15334,
8752,
12,
8752,
7290,
15329,
5411,
309,
12,
6702,
18,
12298,
12,
9523,
3719,
95,
7734,
393,
2370,
2932,
2503,
1361,
1552,
486,
2865,
3229,
411,
6702,
34,
578,
411,
10157,
34,
2186,
598,
1967,
2573,
1566,
30,
13773,
9523,
18,
6339,
16,
638,
1769,
5411,
289,
5411,
2341,
18,
1289,
12,
9523,
1769,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
527,
15334,
8752,
12,
8752,
7290,
15329,
5411,
309,
12,
6702,
18,
12298,
12,
9523,
3719,
95,
7734,
393,
2370,
2932,
2503,
1361,
1552,
486,
2865,
3229,
411,
6702,
34,
578,
411,
10157,
34,
2186,
598,
1967,
2573,
1566,
30,
13773,
9523,
18,
6339,
16,
638,
1769,
5411,
289,
5411,
2341,
18,
1289,
12,
9523,
1769,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
case Id_concat: return jsFunction_concat(cx, thisObj, args, f);
|
case Id_concat: return jsFunction_concat(cx, thisObj, args, f);
|
public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case Id_constructor: return jsConstructor(cx, scope, args, f, thisObj == null); case Id_toString: return jsFunction_toString(cx, thisObj, args); case Id_toLocaleString: return jsFunction_toLocaleString(cx, thisObj, args); case Id_join: return jsFunction_join(cx, thisObj, args); case Id_reverse: return jsFunction_reverse(cx, thisObj, args); case Id_sort: return jsFunction_sort(cx, thisObj, args, f); case Id_push: return jsFunction_push(cx, thisObj, args); case Id_pop: return jsFunction_pop(cx, thisObj, args); case Id_shift: return jsFunction_shift(cx, thisObj, args); case Id_unshift: return jsFunction_unshift(cx, thisObj, args); case Id_splice: return jsFunction_splice(cx, thisObj, args, f); case Id_concat: return jsFunction_concat(cx, thisObj, args, f); case Id_slice: return jsFunction_slice(cx, thisObj, args); } return super.execMethod(methodId, f, cx, scope, thisObj, args); }
|
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/35caf7c2bb93872680ae16e34746d94fe1e533e3/NativeArray.java/clean/js/rhino/src/org/mozilla/javascript/NativeArray.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1620,
261,
2039,
548,
13,
288,
3639,
648,
3124,
67,
12316,
30,
5411,
327,
3828,
6293,
12,
71,
92,
16,
2146,
16,
833,
16,
284,
16,
15261,
422,
446,
1769,
3639,
648,
3124,
67,
10492,
30,
5411,
327,
3828,
2083,
67,
10492,
12,
71,
92,
16,
15261,
16,
833,
1769,
3639,
648,
3124,
67,
869,
3916,
780,
30,
5411,
327,
3828,
2083,
67,
869,
3916,
780,
12,
71,
92,
16,
15261,
16,
833,
1769,
3639,
648,
3124,
67,
5701,
30,
5411,
327,
3828,
2083,
67,
5701,
12,
71,
92,
16,
15261,
16,
833,
1769,
3639,
648,
3124,
67,
9845,
30,
5411,
327,
3828,
2083,
67,
9845,
12,
71,
92,
16,
15261,
16,
833,
1769,
3639,
648,
3124,
67,
3804,
30,
5411,
327,
3828,
2083,
67,
3804,
12,
71,
92,
16,
15261,
16,
833,
16,
284,
1769,
3639,
648,
3124,
67,
6206,
30,
5411,
327,
3828,
2083,
67,
6206,
12,
71,
92,
16,
15261,
16,
833,
1769,
3639,
648,
3124,
67,
5120,
30,
5411,
327,
3828,
2083,
67,
5120,
12,
71,
92,
16,
15261,
16,
833,
1769,
3639,
648,
3124,
67,
4012,
30,
5411,
327,
3828,
2083,
67,
4012,
12,
71,
92,
16,
15261,
16,
833,
1769,
3639,
648,
3124,
67,
13858,
30,
5411,
327,
3828,
2083,
67,
13858,
12,
71,
92,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1620,
261,
2039,
548,
13,
288,
3639,
648,
3124,
67,
12316,
30,
5411,
327,
3828,
6293,
12,
71,
92,
16,
2146,
16,
833,
16,
284,
16,
15261,
422,
446,
1769,
3639,
648,
3124,
67,
10492,
30,
5411,
327,
3828,
2083,
67,
10492,
12,
71,
92,
16,
15261,
16,
833,
1769,
3639,
648,
3124,
67,
869,
3916,
780,
30,
5411,
327,
3828,
2083,
67,
869,
3916,
780,
12,
71,
92,
16,
15261,
16,
833,
1769,
3639,
648,
3124,
67,
5701,
30,
5411,
327,
3828,
2
] |
void lockedQueue( Stage a_stage, EventObject an_event ) ;
|
void lockedQueue( Stage stage, EventObject event ) ;
|
void lockedQueue( Stage a_stage, EventObject an_event ) ;
|
17035 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17035/3c44e553bec32a1c486c37615cd1a2bca43cf59f/StageMonitor.java/clean/eve/frontend/common/api/src/java/org/apache/eve/seda/StageMonitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
8586,
3183,
12,
16531,
279,
67,
12869,
16,
2587,
921,
392,
67,
2575,
262,
274,
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,
377,
918,
8586,
3183,
12,
16531,
279,
67,
12869,
16,
2587,
921,
392,
67,
2575,
262,
274,
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
] |
public void insert_float(float value) {
|
public void insert_float(float value) {
|
public void insert_float(float value) { org.omg.CORBA.portable.OutputStream output = create_output_stream(); output.write_float(value); read_value(null, TypeCode.FLOAT); }
|
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/5c788225030ea2bb15cb5f3f9696c52b755b6d54/Any.java/clean/modules/interop/src/java/org/apache/geronimo/interop/rmi/iiop/Any.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2243,
67,
5659,
12,
5659,
460,
13,
288,
3639,
2358,
18,
362,
75,
18,
9428,
12536,
18,
655,
429,
18,
4632,
876,
273,
752,
67,
2844,
67,
3256,
5621,
3639,
876,
18,
2626,
67,
5659,
12,
1132,
1769,
3639,
855,
67,
1132,
12,
2011,
16,
30332,
18,
15640,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2243,
67,
5659,
12,
5659,
460,
13,
288,
3639,
2358,
18,
362,
75,
18,
9428,
12536,
18,
655,
429,
18,
4632,
876,
273,
752,
67,
2844,
67,
3256,
5621,
3639,
876,
18,
2626,
67,
5659,
12,
1132,
1769,
3639,
855,
67,
1132,
12,
2011,
16,
30332,
18,
15640,
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
] |
configurer.setShowShortcutBar(true);
|
public void preWindowOpen(IWorkbenchWindowConfigurer configurer) { super.preWindowOpen(configurer); configurer.setShowCoolBar(true); configurer.setShowShortcutBar(true); configurer.setShowStatusLine(true); configurer.setShowMenuBar(true); }
|
10398 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10398/7ae083af60e84af8102c04e3bffb503442335b7f/GnogitoWorkbenchAdvisor.java/clean/gnogito/javaprojekte/gnogitoworkbench/src/gnogitoworkbench/GnogitoWorkbenchAdvisor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
675,
3829,
3678,
12,
45,
2421,
22144,
3829,
809,
11278,
642,
11278,
13,
288,
202,
202,
9565,
18,
1484,
3829,
3678,
12,
1425,
11278,
1769,
202,
202,
1425,
11278,
18,
542,
5706,
39,
1371,
5190,
12,
3767,
1769,
202,
202,
1425,
11278,
18,
542,
5706,
15576,
5190,
12,
3767,
1769,
202,
202,
1425,
11278,
18,
542,
5706,
1482,
1670,
12,
3767,
1769,
202,
202,
1425,
11278,
18,
542,
5706,
4599,
5190,
12,
3767,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
675,
3829,
3678,
12,
45,
2421,
22144,
3829,
809,
11278,
642,
11278,
13,
288,
202,
202,
9565,
18,
1484,
3829,
3678,
12,
1425,
11278,
1769,
202,
202,
1425,
11278,
18,
542,
5706,
39,
1371,
5190,
12,
3767,
1769,
202,
202,
1425,
11278,
18,
542,
5706,
15576,
5190,
12,
3767,
1769,
202,
202,
1425,
11278,
18,
542,
5706,
1482,
1670,
12,
3767,
1769,
202,
202,
1425,
11278,
18,
542,
5706,
4599,
5190,
12,
3767,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
public org.quickfix.field.AllocPrice getAllocPrice() throws FieldNotFound { org.quickfix.field.AllocPrice value = new org.quickfix.field.AllocPrice();
|
public quickfix.field.AllocPrice getAllocPrice() throws FieldNotFound { quickfix.field.AllocPrice value = new quickfix.field.AllocPrice();
|
public org.quickfix.field.AllocPrice getAllocPrice() throws FieldNotFound { org.quickfix.field.AllocPrice value = new org.quickfix.field.AllocPrice(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/Allocation.java/clean/src/java/src/quickfix/fix42/Allocation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8763,
5147,
336,
8763,
5147,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8763,
5147,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8763,
5147,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8763,
5147,
336,
8763,
5147,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8763,
5147,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8763,
5147,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public WCharHolder(char initial_value)
|
public WCharHolder()
|
public WCharHolder(char initial_value) { value = initial_value; }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/WCharHolder.java/buggy/core/src/classpath/gnu/gnu/CORBA/WCharHolder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
678,
2156,
6064,
1435,
225,
288,
565,
460,
273,
2172,
67,
1132,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
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,
678,
2156,
6064,
1435,
225,
288,
565,
460,
273,
2172,
67,
1132,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
notifyObservers(editTypeArray);
|
notifyObservers(editTypeArray); setInfoFinishedTask(true);
|
public Task editMetadataRecord() { final Task task = new Task() { public Object task() throws DBLayerException, RemoteException { try { database.executeUpdate(metadataRecord); metadataList.set(idRecord, metadataRecord); }catch (RemoteException e) { logger.error("Process update metadata failed. Remote exception caught in MetadataManager. Details: "+e.getMessage()); database.rollbackTransaction(); RemoteException remex = new RemoteException(ERROR_EDIT + e.getMessage()); remex.setStackTrace(e.getStackTrace()); throw remex; } catch (DBLayerException e) { logger.error("Process update metadata failed. DBLayer exception caught in MetadataManager. Details: "+e.getMessage()); database.rollbackTransaction(); DBLayerException dbex = new DBLayerException(ERROR_EDIT + e.getMessage()); dbex.setStackTrace(e.getStackTrace()); throw dbex; } //Tell AppCore observerber setChanged(); notifyObservers(editTypeArray); return null; } }; return task; }
|
57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/1d5ae42aeb11ae7c5b21d77d7542e50f605b1475/MetadataManager.java/buggy/trunk/src/net/sf/plantlore/client/metadata/MetadataManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3837,
3874,
2277,
2115,
1435,
288,
10792,
202,
6385,
3837,
1562,
273,
394,
3837,
1435,
288,
377,
1082,
377,
1082,
377,
202,
202,
482,
1033,
1562,
1435,
1216,
2383,
4576,
503,
16,
18361,
288,
377,
1082,
202,
698,
288,
1082,
540,
202,
6231,
18,
8837,
1891,
12,
4165,
2115,
1769,
1082,
540,
202,
4165,
682,
18,
542,
12,
350,
2115,
16,
1982,
2115,
1769,
1082,
3639,
289,
14683,
261,
5169,
503,
425,
13,
288,
1082,
540,
202,
4901,
18,
1636,
2932,
2227,
1089,
1982,
2535,
18,
6304,
1520,
13537,
316,
6912,
1318,
18,
21897,
30,
13773,
73,
18,
24906,
10663,
1082,
540,
202,
6231,
18,
20050,
3342,
5621,
10792,
18361,
849,
338,
273,
394,
18361,
12,
3589,
67,
10776,
397,
425,
18,
24906,
10663,
10792,
849,
338,
18,
542,
6332,
12,
73,
18,
588,
6332,
10663,
10792,
604,
849,
338,
31,
1875,
5411,
1082,
3639,
202,
377,
1082,
3639,
289,
1044,
261,
2290,
4576,
503,
425,
13,
288,
1082,
540,
202,
4901,
18,
1636,
2932,
2227,
1089,
1982,
2535,
18,
2383,
4576,
1520,
13537,
316,
6912,
1318,
18,
21897,
30,
13773,
73,
18,
24906,
10663,
3639,
202,
4766,
10792,
1082,
540,
202,
6231,
18,
20050,
3342,
5621,
10792,
2383,
4576,
503,
1319,
338,
273,
394,
2383,
4576,
503,
12,
3589,
67,
10776,
397,
425,
18,
24906,
10663,
10792,
1319,
338,
18,
542,
6332,
12,
73,
18,
588,
6332,
10663,
10792,
604,
1319,
338,
31,
1875,
2398,
1082,
3639,
289,
1875,
540,
1082,
3639,
368,
21009,
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,
3837,
3874,
2277,
2115,
1435,
288,
10792,
202,
6385,
3837,
1562,
273,
394,
3837,
1435,
288,
377,
1082,
377,
1082,
377,
202,
202,
482,
1033,
1562,
1435,
1216,
2383,
4576,
503,
16,
18361,
288,
377,
1082,
202,
698,
288,
1082,
540,
202,
6231,
18,
8837,
1891,
12,
4165,
2115,
1769,
1082,
540,
202,
4165,
682,
18,
542,
12,
350,
2115,
16,
1982,
2115,
1769,
1082,
3639,
289,
14683,
261,
5169,
503,
425,
13,
288,
1082,
540,
202,
4901,
18,
1636,
2932,
2227,
1089,
1982,
2535,
18,
6304,
1520,
13537,
316,
6912,
1318,
18,
21897,
30,
13773,
73,
18,
24906,
10663,
1082,
540,
202,
6231,
18,
20050,
3342,
5621,
10792,
18361,
849,
338,
273,
394,
18361,
12,
3589,
2
] |
id=channelid;
|
id=resourceid;
|
public byte[] getContentEdit(CmsObject cms, CmsXmlWpTemplateFile template, String elementName, Hashtable parameters, String templateSelector) throws CmsException { //get the Languagedata CmsXmlLanguageFile lang = new CmsXmlLanguageFile(cms); //create appropriate class name with underscores for labels String moduleName = ""; moduleName = (String) getClass().toString(); //get name moduleName = moduleName.substring(5); //remove 'class' substring at the beginning moduleName = moduleName.trim(); moduleName = moduleName.replace('.', '_'); //replace dots with underscores //session I_CmsSession session = cms.getRequestContext().getSession(true); //default error String error=""; //get values of all fields //gets the parameter action from the hashtable. String action = (String) parameters.get("action"); if (action == null){ action=""; } else if (action.equals("exit")){ clearSession(session); templateSelector= "done"; return startProcessing(cms, template, "", parameters, templateSelector); } // Get the parameter values //get value of id String id = (String) parameters.get("id"); String channelid = (String) parameters.get("channelId"); //get value of parentId String parentName = (String) parameters.get("parentName"); if(parentName == null || parentName.equals("")){ parentName="/"; } //channelname String channelname = (String) parameters.get("channelName"); if(channelname == null){ channelname = ""; } //plausibility check if(!action.equals("") && channelname.trim().equals("")){ error = lang.getLanguageValue(moduleName+".error.message2"); } //title of channel String title = (String) parameters.get("title"); String owner=(String) parameters.get("owner"); owner=(owner!=null?owner.trim():""); String group=(String) parameters.get("groupId"); group=(group!=null?group.trim():""); int accessFlags = this.getAccessValue(parameters); //new channel if (id == null || id.equals("")){ id = "new"; } if(channelid==null || channelid.trim().equals("")){ channelid="-1"; } if(id.equals("new")){ if(channelid.equals("-1")){ cd=null; }else{ id=channelid; } } // for the first call check if the id exist, i.e. if the category is to edit // and it is not created new one then read the information of category if (action.equals("") && !id.equals("new")) { try { Integer.parseInt(id); } catch (Exception err) { throw new CmsException(err.getMessage()); } // gets the already existing ouputchannel's content definition. cd = new CmsChannelContent(cms,new Integer(id)); parentName=cd.getParentName(); idvalue=cd.getChannelId(); channelname=cd.getChannelName(); title=cd.getTitle(); owner=new Integer(cd.getOwner()).toString(); group=new Integer(cd.getGroupId()).toString(); accessFlags=cd.getAccessFlags(); }else if(cd==null){ //create a new ouputchannels content definition. cd = new CmsChannelContent(cms); idvalue=C_UNKNOWN_ID+""; } //put parentId in session for user method session.putValue("parentName",parentName); session.putValue("id",idvalue+""); //set data in CD when data is correct if(error.equals("") && !action.equals("")){ cd.setChannelId(idvalue); cd.setParentName(parentName); cd.setChannelName(channelname); cd.setTitle(title); cd.setGroup(new Integer(group).intValue()); cd.setOwner(new Integer(owner).intValue()); cd.setAccessFlags(accessFlags); } //get values of the user for new entry String defaultGroup=cms.getRequestContext().currentGroup().getName(); String defaultUser=cms.getRequestContext().currentUser().getName(); //get all groups Vector cmsGroups=cms.getGroups(); // select box of group String groupOptions=""; for (int i=0; i<cmsGroups.size(); i++) { String groupName=((CmsGroup)cmsGroups.elementAt(i)).getName(); int groupId=((CmsGroup)cmsGroups.elementAt(i)).getId(); template.setData("name",groupName); template.setData("value",(new Integer(groupId)).toString()); if (!group.equals("") && (cms.readGroup(Integer.parseInt(group)).getName()).equals(groupName)) { template.setData("check","selected"); }else if(idvalue.equals(C_UNKNOWN_ID+"") && groupName.equals(defaultGroup)){ template.setData("check","selected"); }else{ template.setData("check",""); } groupOptions=groupOptions+template.getProcessedDataValue("selectoption",this); } template.setData("groups",groupOptions); // select box of owner String userOptions=""; Vector cmsUsers=cms.getUsers(); for (int i=0;i<cmsUsers.size();i++) { String userName=((CmsUser)cmsUsers.elementAt(i)).getName(); int userId=((CmsUser)cmsUsers.elementAt(i)).getId(); template.setData("name",userName); template.setData("value",(new Integer(userId)).toString()); if (!owner.equals("") && (cms.readUser(Integer.parseInt(owner)).getName()).equals(userName)) { template.setData("check","selected"); }else if(idvalue.equals(C_UNKNOWN_ID+"") && userName.equals(defaultUser)){ template.setData("check","selected"); }else{ template.setData("check",""); } userOptions=userOptions+template.getProcessedDataValue("selectoption",this); } template.setData("users",userOptions); // set the access flags this.setAccessValue(template, cd.getAccessFlags()); //set data in template template.setData("channelId", ""+cd.getChannelId()); template.setData("channelName", cd.getChannelName()); template.setData("title", Encoder.escape(cd.getTitle())); template.setData("parentName", cd.getParentName()); template.setData("error", error); //if the saveexit-button has been clicked. if(action.equals("saveexit") && error.equals("")){ try{ //write/save cd.write(cms); //exit clearSession(session); templateSelector = "done"; return startProcessing(cms, template, "", parameters, templateSelector); }catch (CmsException exc){ template.setData("channelId", idvalue); template.setData("channelName", channelname); template.setData("title", Encoder.escape(title)); template.setData("parentName", parentName); error = lang.getLanguageValue(moduleName+".error.message3")+" "+exc.getShortException(); template.setData("error", error); //log exc.printStackTrace(System.err); }catch (Exception e){ template.setData("channelId", idvalue); template.setData("channelName", channelname); template.setData("title", Encoder.escape(title)); template.setData("parentName", parentName); error = lang.getLanguageValue(moduleName+".error.message3")+" "+e.getMessage(); template.setData("error", error); //log e.printStackTrace(System.err); } } //if the "save"-button has been clicked. if(action.equals("save") && error.equals("")){ try{ //write cd.write(cms); idvalue=cd.getChannelId(); template.setData("channelId", idvalue); //indicator for saved new entrys - the new id template.setData("newChannelId", idvalue); }catch (CmsException exc){ template.setData("channelId", idvalue); template.setData("channelName", channelname); template.setData("title", Encoder.escape(title)); template.setData("parentName", parentName); error = lang.getLanguageValue(moduleName+".error.message3")+" "+exc.getShortException(); template.setData("error", error); //log exc.printStackTrace(System.err); }catch (Exception e){ e.printStackTrace(System.err); template.setData("channelId", idvalue); template.setData("channelName", channelname); template.setData("title", Encoder.escape(title)); template.setData("parentName", parentName); error = lang.getLanguageValue(moduleName+".error.message3")+" "+e.getMessage(); template.setData("error", error); } } //finally start the processing return startProcessing(cms, template, elementName, parameters, templateSelector); }
|
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/c4f6677f21acec1cee7a668daf3ceea59193eb07/CmsChannelBackoffice.java/clean/src/com/opencms/defaults/master/CmsChannelBackoffice.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1160,
8526,
5154,
4666,
12,
4747,
921,
6166,
16,
16084,
59,
84,
2283,
812,
1542,
16,
514,
14453,
16,
6862,
9506,
18559,
1472,
16,
514,
1542,
4320,
13,
1216,
11228,
288,
3639,
368,
588,
326,
511,
1563,
11349,
396,
3639,
16084,
3779,
812,
3303,
273,
394,
16084,
3779,
812,
12,
6851,
1769,
3639,
368,
2640,
5505,
667,
508,
598,
24714,
364,
3249,
3639,
514,
9780,
273,
1408,
31,
3639,
9780,
273,
261,
780,
13,
2900,
7675,
10492,
5621,
368,
588,
508,
3639,
9780,
273,
9780,
18,
28023,
12,
25,
1769,
368,
4479,
296,
1106,
11,
3019,
622,
326,
8435,
3639,
9780,
273,
9780,
18,
5290,
5621,
3639,
9780,
273,
9780,
18,
2079,
2668,
1093,
16,
4427,
1769,
368,
2079,
19522,
598,
24714,
3639,
368,
3184,
3639,
467,
67,
4747,
2157,
1339,
273,
6166,
18,
588,
21426,
7675,
588,
2157,
12,
3767,
1769,
3639,
368,
1886,
555,
3639,
514,
555,
1546,
14432,
3639,
368,
588,
924,
434,
777,
1466,
3639,
368,
14665,
326,
1569,
1301,
628,
326,
711,
14544,
18,
3639,
514,
1301,
273,
261,
780,
13,
1472,
18,
588,
2932,
1128,
8863,
3639,
309,
261,
1128,
422,
446,
15329,
5411,
1301,
1546,
14432,
3639,
289,
469,
309,
261,
1128,
18,
14963,
2932,
8593,
6,
3719,
95,
5411,
2424,
2157,
12,
3184,
1769,
5411,
1542,
4320,
33,
315,
8734,
14432,
5411,
327,
787,
7798,
12,
6851,
16,
1542,
16,
23453,
1472,
16,
1542,
4320,
1769,
3639,
289,
3639,
368,
968,
326,
1569,
924,
3639,
368,
588,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1160,
8526,
5154,
4666,
12,
4747,
921,
6166,
16,
16084,
59,
84,
2283,
812,
1542,
16,
514,
14453,
16,
6862,
9506,
18559,
1472,
16,
514,
1542,
4320,
13,
1216,
11228,
288,
3639,
368,
588,
326,
511,
1563,
11349,
396,
3639,
16084,
3779,
812,
3303,
273,
394,
16084,
3779,
812,
12,
6851,
1769,
3639,
368,
2640,
5505,
667,
508,
598,
24714,
364,
3249,
3639,
514,
9780,
273,
1408,
31,
3639,
9780,
273,
261,
780,
13,
2900,
7675,
10492,
5621,
368,
588,
508,
3639,
9780,
273,
9780,
18,
28023,
12,
25,
1769,
368,
4479,
296,
1106,
11,
3019,
622,
326,
8435,
3639,
9780,
273,
9780,
18,
5290,
5621,
3639,
9780,
273,
9780,
18,
2079,
2668,
1093,
16,
4427,
1769,
2
] |
emptyBlockStatement.add(elseBranch);
|
emptyBlockStatement.getCodeBlock().add(elseBranch);
|
private static PsiDeclarationStatement insertAtAnchor(final PsiInstanceOfExpression instanceOfExpression, PsiDeclarationStatement toInsert) throws IncorrectOperationException { boolean negated = isNegated(instanceOfExpression); PsiStatement statement = PsiTreeUtil.getParentOfType(instanceOfExpression, PsiStatement.class); PsiElementFactory factory = toInsert.getManager().getElementFactory(); PsiElement anchorAfter = null; PsiBlockStatement emptyBlockStatement = (PsiBlockStatement)factory.createStatementFromText("{}", instanceOfExpression); if (statement instanceof PsiIfStatement) { PsiIfStatement ifStatement = (PsiIfStatement)statement; if (negated) { PsiStatement elseBranch = ifStatement.getElseBranch(); if (elseBranch == null) { anchorAfter = ifStatement; } else if (!(elseBranch instanceof PsiBlockStatement)) { emptyBlockStatement.add(elseBranch); PsiBlockStatement newBranch = (PsiBlockStatement)elseBranch.replace(emptyBlockStatement); anchorAfter = newBranch.getCodeBlock().getLBrace(); } else { anchorAfter = ((PsiBlockStatement)elseBranch).getCodeBlock().getLBrace(); } } else { PsiStatement thenBranch = ifStatement.getThenBranch(); if (thenBranch == null) { ifStatement.setThenBranch(emptyBlockStatement); anchorAfter = ((PsiBlockStatement)ifStatement.getThenBranch()).getCodeBlock().getLBrace(); } else if (!(thenBranch instanceof PsiBlockStatement)) { emptyBlockStatement.add(thenBranch); PsiBlockStatement newBranch = (PsiBlockStatement)thenBranch.replace(emptyBlockStatement); anchorAfter = newBranch.getCodeBlock().getLBrace(); } else { anchorAfter = ((PsiBlockStatement)thenBranch).getCodeBlock().getLBrace(); } } } if (statement instanceof PsiWhileStatement) { PsiWhileStatement whileStatement = (PsiWhileStatement)statement; LOG.assertTrue(whileStatement.getLParenth() != null); LOG.assertTrue(whileStatement.getCondition() != null); if (whileStatement.getRParenth() == null) { PsiWhileStatement statementPattern = (PsiWhileStatement)factory.createStatementFromText("while (){}", instanceOfExpression); whileStatement.addAfter(statementPattern.getRParenth(), whileStatement.getCondition()); } if (negated) { anchorAfter = whileStatement; } else { PsiStatement body = whileStatement.getBody(); if (body == null) { whileStatement.add(emptyBlockStatement); } else if (!(body instanceof PsiBlockStatement)) { emptyBlockStatement.add(body); whileStatement.getBody().replace(emptyBlockStatement); } anchorAfter = ((PsiBlockStatement)whileStatement.getBody()).getCodeBlock().getLBrace(); } } if (anchorAfter == null) { return null; } return (PsiDeclarationStatement)anchorAfter.getParent().addAfter(toInsert, anchorAfter); }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/84ce5f6c0eb876b896ed706ff37d0801ef370239/CreateLocalVarFromInstanceofAction.java/clean/source/com/intellij/codeInsight/daemon/impl/quickfix/CreateLocalVarFromInstanceofAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
453,
7722,
6094,
3406,
2243,
861,
11605,
12,
6385,
453,
7722,
1442,
951,
2300,
28397,
2300,
16,
453,
7722,
6094,
3406,
358,
4600,
13,
1216,
657,
6746,
10602,
288,
565,
1250,
24765,
273,
8197,
1332,
690,
12,
1336,
951,
2300,
1769,
565,
453,
7722,
3406,
3021,
273,
453,
7722,
2471,
1304,
18,
588,
3054,
18859,
12,
1336,
951,
2300,
16,
453,
7722,
3406,
18,
1106,
1769,
565,
453,
7722,
1046,
1733,
3272,
273,
358,
4600,
18,
588,
1318,
7675,
21336,
1733,
5621,
565,
453,
7722,
1046,
6984,
4436,
273,
446,
31,
565,
453,
7722,
1768,
3406,
1008,
1768,
3406,
273,
261,
52,
7722,
1768,
3406,
13,
6848,
18,
2640,
3406,
1265,
1528,
2932,
9338,
16,
28397,
2300,
1769,
565,
309,
261,
11516,
1276,
453,
7722,
2047,
3406,
13,
288,
1377,
453,
7722,
2047,
3406,
309,
3406,
273,
261,
52,
7722,
2047,
3406,
13,
11516,
31,
1377,
309,
261,
14518,
690,
13,
288,
3639,
453,
7722,
3406,
469,
7108,
273,
309,
3406,
18,
588,
12427,
7108,
5621,
3639,
309,
261,
12107,
7108,
422,
446,
13,
288,
1850,
6984,
4436,
273,
309,
3406,
31,
3639,
289,
3639,
469,
309,
16051,
12,
12107,
7108,
1276,
453,
7722,
1768,
3406,
3719,
288,
1850,
1008,
1768,
3406,
18,
588,
1085,
1768,
7675,
1289,
12,
12107,
7108,
1769,
1850,
453,
7722,
1768,
3406,
394,
7108,
273,
261,
52,
7722,
1768,
3406,
13,
12107,
7108,
18,
2079,
12,
5531,
1768,
3406,
1769,
1850,
6984,
4436,
273,
394,
7108,
18,
588,
1085,
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,
760,
453,
7722,
6094,
3406,
2243,
861,
11605,
12,
6385,
453,
7722,
1442,
951,
2300,
28397,
2300,
16,
453,
7722,
6094,
3406,
358,
4600,
13,
1216,
657,
6746,
10602,
288,
565,
1250,
24765,
273,
8197,
1332,
690,
12,
1336,
951,
2300,
1769,
565,
453,
7722,
3406,
3021,
273,
453,
7722,
2471,
1304,
18,
588,
3054,
18859,
12,
1336,
951,
2300,
16,
453,
7722,
3406,
18,
1106,
1769,
565,
453,
7722,
1046,
1733,
3272,
273,
358,
4600,
18,
588,
1318,
7675,
21336,
1733,
5621,
565,
453,
7722,
1046,
6984,
4436,
273,
446,
31,
565,
453,
7722,
1768,
3406,
1008,
1768,
3406,
273,
261,
52,
7722,
1768,
3406,
13,
6848,
18,
2640,
3406,
1265,
1528,
2932,
9338,
16,
28397,
2
] |
if (fThread != null) { try { fThread.resume(); int count= 0; while (fThread != null && !fThread.isSuspended() && count < 20) { try { count++; Thread.sleep(100); } catch (InterruptedException e) { } } } catch (DebugException e) { } }
|
public void evaluationComplete(final IJavaEvaluationResult result) { if (fThread != null) { try { fThread.resume(); int count= 0; while (fThread != null && !fThread.isSuspended() && count < 20) { try { count++; Thread.sleep(100); } catch (InterruptedException e) { } } } catch (DebugException e) { // XXX: error } } Runnable r = new Runnable() { public void run() { if (result.hasProblems()) { IMarker[] problems = result.getProblems(); int count= problems.length; if (count == 0) { showException(result.getException()); } else { for (int i = 0; i < count; i++) { showProblem(problems[i]); } } } else { final IJavaValue value = result.getValue(); if (value != null) { switch (fResultMode) { case RESULT_DISPLAY: Runnable r = new Runnable() { public void run() { displayResult(value); } }; getSite().getShell().getDisplay().asyncExec(r); break; case RESULT_INSPECT: String snippet = result.getSnippet().trim(); int snippetLength = snippet.length(); if (snippetLength > 30) { snippet = snippet.substring(0, 15) + "..." + snippet.substring(snippetLength - 15, snippetLength); } snippet = snippet.replace('\n', ' '); snippet = snippet.replace('\r', ' '); snippet = snippet.replace('\t', ' '); DebugUITools.inspect(snippet, value); break; case RESULT_RUN: // no action break; } } } evaluationEnds(); } }; Control control= getVerticalRuler().getControl(); if (!control.isDisposed()) { control.getDisplay().asyncExec(r); } }
|
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/c58689bf501d044dffcd91690676feb407a0ccea/JavaSnippetEditor.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/snippeteditor/JavaSnippetEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
9873,
6322,
12,
6385,
467,
5852,
13468,
1253,
563,
13,
288,
202,
202,
430,
261,
74,
3830,
480,
446,
13,
288,
1082,
202,
698,
288,
9506,
202,
74,
3830,
18,
25158,
5621,
9506,
202,
474,
1056,
33,
374,
31,
9506,
202,
17523,
261,
74,
3830,
480,
446,
597,
401,
74,
3830,
18,
291,
55,
22942,
1435,
597,
1056,
411,
4200,
13,
288,
6862,
202,
698,
288,
25083,
202,
1883,
9904,
31,
25083,
202,
3830,
18,
19607,
12,
6625,
1769,
6862,
202,
97,
1044,
261,
24485,
503,
425,
13,
288,
6862,
202,
97,
9506,
202,
97,
1082,
202,
97,
1044,
261,
2829,
503,
425,
13,
288,
9506,
202,
759,
11329,
30,
555,
1082,
202,
97,
202,
202,
97,
202,
202,
20013,
436,
273,
394,
10254,
1435,
288,
1082,
202,
482,
918,
1086,
1435,
288,
9506,
202,
430,
261,
2088,
18,
5332,
626,
19122,
10756,
288,
6862,
202,
3445,
1313,
264,
8526,
9688,
273,
563,
18,
588,
626,
19122,
5621,
6862,
202,
474,
1056,
33,
9688,
18,
2469,
31,
6862,
202,
430,
261,
1883,
422,
374,
13,
288,
25083,
202,
4500,
503,
12,
2088,
18,
588,
503,
10663,
6862,
202,
97,
469,
288,
25083,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1056,
31,
277,
27245,
288,
6862,
1082,
202,
4500,
13719,
12,
29812,
63,
77,
19226,
25083,
202,
97,
6862,
202,
97,
9506,
202,
97,
469,
288,
6862,
202,
6385,
467,
5852,
620,
460,
273,
563,
18,
24805,
5621,
6862,
202,
430,
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,
9873,
6322,
12,
6385,
467,
5852,
13468,
1253,
563,
13,
288,
202,
202,
430,
261,
74,
3830,
480,
446,
13,
288,
1082,
202,
698,
288,
9506,
202,
74,
3830,
18,
25158,
5621,
9506,
202,
474,
1056,
33,
374,
31,
9506,
202,
17523,
261,
74,
3830,
480,
446,
597,
401,
74,
3830,
18,
291,
55,
22942,
1435,
597,
1056,
411,
4200,
13,
288,
6862,
202,
698,
288,
25083,
202,
1883,
9904,
31,
25083,
202,
3830,
18,
19607,
12,
6625,
1769,
6862,
202,
97,
1044,
261,
24485,
503,
425,
13,
288,
6862,
202,
97,
9506,
202,
97,
1082,
202,
97,
1044,
261,
2829,
503,
425,
13,
288,
9506,
202,
759,
11329,
30,
555,
1082,
202,
97,
202,
2
] |
|
ContentType ct; try { ct = new ContentType(contentType); if (!ct.match(CT_TEXT_WILD)) throw new IllegalArgumentException("unsupported content type: " + contentType); } catch (ParseException e1) { ct = new ContentType("text", "plain", null); }
|
ContentType ct = new ContentType(contentType); if (!ct.getValue().matches(CT_TEXT_WILD)) throw new IllegalArgumentException("unsupported content type: " + contentType);
|
public static String getCharset(String contentType) { ContentType ct; try { ct = new ContentType(contentType); // we shouldn't get called with anything other then text/*, but if we do... if (!ct.match(CT_TEXT_WILD)) throw new IllegalArgumentException("unsupported content type: " + contentType); } catch (ParseException e1) { // TODO: treat as text/plain? run some sanity checks on it? ct = new ContentType("text", "plain", null); } String charset = ct.getParameter(Mime.P_CHARSET); if (charset == null) charset = Mime.P_CHARSET_DEFAULT; return charset; }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/504661a79adf262de204e3ef384d37868e1169ed/Mime.java/buggy/ZimbraServer/src/java/com/zimbra/cs/mime/Mime.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
30428,
12,
780,
5064,
13,
288,
3639,
11691,
5691,
31,
3639,
775,
288,
5411,
5691,
273,
394,
11691,
12,
22194,
1769,
5411,
368,
732,
12044,
1404,
336,
2566,
598,
6967,
1308,
1508,
977,
20308,
16,
1496,
309,
732,
741,
2777,
5411,
309,
16051,
299,
18,
1916,
12,
1268,
67,
5151,
67,
59,
11382,
3719,
7734,
604,
394,
2754,
2932,
24666,
913,
618,
30,
315,
397,
5064,
1769,
10792,
289,
1044,
261,
13047,
425,
21,
13,
288,
5411,
368,
2660,
30,
10116,
487,
977,
19,
7446,
35,
1086,
2690,
16267,
4271,
603,
518,
35,
5411,
5691,
273,
394,
11691,
2932,
955,
3113,
315,
7446,
3113,
446,
1769,
3639,
289,
6647,
514,
4856,
273,
5691,
18,
588,
1662,
12,
13320,
18,
52,
67,
26977,
1769,
3639,
309,
261,
9999,
422,
446,
13,
5411,
4856,
273,
22059,
18,
52,
67,
26977,
67,
5280,
31,
3639,
327,
4856,
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,
1071,
760,
514,
30428,
12,
780,
5064,
13,
288,
3639,
11691,
5691,
31,
3639,
775,
288,
5411,
5691,
273,
394,
11691,
12,
22194,
1769,
5411,
368,
732,
12044,
1404,
336,
2566,
598,
6967,
1308,
1508,
977,
20308,
16,
1496,
309,
732,
741,
2777,
5411,
309,
16051,
299,
18,
1916,
12,
1268,
67,
5151,
67,
59,
11382,
3719,
7734,
604,
394,
2754,
2932,
24666,
913,
618,
30,
315,
397,
5064,
1769,
10792,
289,
1044,
261,
13047,
425,
21,
13,
288,
5411,
368,
2660,
30,
10116,
487,
977,
19,
7446,
35,
1086,
2690,
16267,
4271,
603,
518,
35,
5411,
5691,
273,
394,
11691,
2932,
955,
3113,
315,
7446,
3113,
446,
1769,
3639,
289,
6647,
514,
4856,
273,
5691,
18,
588,
2
] |
value = getNode(startSet.value, jexlContext, jxpathContext);
|
value = getNode(startSet.value, jexlContext, jxpathContext);
|
private void execute(final XMLConsumer consumer, MyJexlContext jexlContext, JXPathContext jxpathContext, StartElement macroCall, Event startEvent, Event endEvent) throws SAXException { Event ev = startEvent; LocatorFacade loc = new LocatorFacade(ev.location); consumer.setDocumentLocator(loc); while (ev != endEvent) { loc.setDocumentLocator(ev.location); if (ev instanceof Characters) { TextEvent text = (TextEvent)ev; Iterator iter = text.substitutions.iterator(); while (iter.hasNext()) { Object subst = iter.next(); char[] chars; if (subst instanceof char[]) { chars = (char[])subst; } else { JXTExpression expr = (JXTExpression)subst; try { Object val = getNode(expr, jexlContext, jxpathContext); if (val instanceof Node) { executeDOM(consumer, jexlContext, jxpathContext, (Node)val); continue; } else if (val instanceof NodeList) { NodeList nodeList = (NodeList)val; int len = nodeList.getLength(); for (int i = 0; i < len; i++) { Node n = nodeList.item(i); executeDOM(consumer, jexlContext, jxpathContext, n); } continue; } else if (val instanceof Node[]) { Node[] nodeList = (Node[])val; int len = nodeList.length; for (int i = 0; i < len; i++) { Node n = nodeList[i]; executeDOM(consumer, jexlContext, jxpathContext, n); } continue; } else if (val instanceof XMLizable) { ((XMLizable)val).toSAX(new IncludeXMLConsumer(consumer)); continue; } if (val != null) { chars = val.toString().toCharArray(); } else { chars = ArrayUtils.EMPTY_CHAR_ARRAY; } } catch (Exception e) { throw new SAXParseException(e.getMessage(), ev.location, e); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } } consumer.characters(chars, 0, chars.length); } } else if (ev instanceof EndElement) { EndElement endElement = (EndElement)ev; StartElement startElement = endElement.startElement; consumer.endElement(startElement.namespaceURI, startElement.localName, startElement.raw); } else if (ev instanceof EndPrefixMapping) { EndPrefixMapping endPrefixMapping = (EndPrefixMapping)ev; consumer.endPrefixMapping(endPrefixMapping.prefix); } else if (ev instanceof IgnorableWhitespace) { TextEvent text = (TextEvent)ev; characters(jexlContext, jxpathContext, text, new CharHandler() { public void characters(char[] ch, int offset, int len) throws SAXException { consumer.ignorableWhitespace(ch, offset, len); } }); } else if (ev instanceof SkippedEntity) { SkippedEntity skippedEntity = (SkippedEntity)ev; consumer.skippedEntity(skippedEntity.name); } else if (ev instanceof StartIf) { StartIf startIf = (StartIf)ev; Object val; try { val = getValue(startIf.test, jexlContext, jxpathContext, Boolean.TRUE); } catch (Exception e) { throw new SAXParseException(e.getMessage(), ev.location, e); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } boolean result = false; if (val instanceof Boolean) { result = ((Boolean)val).booleanValue(); } else { result = (val != null); } if (!result) { ev = startIf.endInstruction.next; continue; } } else if (ev instanceof StartForEach) { StartForEach startForEach = (StartForEach)ev; final Object items = startForEach.items; Iterator iter = null; int begin, end, step; String var, varStatus; try { if (items != null) { JXTExpression expr = (JXTExpression)items; if (expr.compiledExpression instanceof CompiledExpression) { CompiledExpression compiledExpression = (CompiledExpression)expr.compiledExpression; Object val = compiledExpression.getPointer(jxpathContext, expr.raw).getNode(); // FIXME: workaround for JXPath bug if (val instanceof NativeArray) { iter = new JSIntrospector.NativeArrayIterator((NativeArray)val); } else { iter = compiledExpression.iteratePointers(jxpathContext); } } else if (expr.compiledExpression instanceof org.apache.commons.jexl.Expression) { org.apache.commons.jexl.Expression e = (org.apache.commons.jexl.Expression)expr.compiledExpression; Object result = e.evaluate(jexlContext); if (result != null) { iter = Introspector.getUberspect().getIterator( result, new Info(ev.location.getSystemId(), ev.location.getLineNumber(), ev.location.getColumnNumber())); } if (iter == null) { iter = EMPTY_ITER; } } else { // literal value iter = new Iterator() { Object val = items; public boolean hasNext() { return val != null; } public Object next() { Object res = val; val = null; return res; } public void remove() { } }; } } else { iter = NULL_ITER; } begin = startForEach.begin == null ? 0 : getIntValue(startForEach.begin, jexlContext, jxpathContext); end = startForEach.end == null ? Integer.MAX_VALUE : getIntValue(startForEach.end, jexlContext, jxpathContext); step = startForEach.step == null ? 1 : getIntValue(startForEach.step, jexlContext, jxpathContext); var = getStringValue(startForEach.var, jexlContext, jxpathContext); varStatus = getStringValue(startForEach.varStatus, jexlContext, jxpathContext); } catch (Exception exc) { throw new SAXParseException(exc.getMessage(), ev.location, exc); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } MyJexlContext localJexlContext = new MyJexlContext(jexlContext); MyVariables localJXPathVariables = new MyVariables((MyVariables)jxpathContext.getVariables()); int i = 0; // Move to the begin row while (i < begin && iter.hasNext()) { iter.next(); i++; } LoopTagStatus status = null; if (varStatus != null) { status = new LoopTagStatus(); status.begin = begin; status.end = end; status.step = step; status.first = true; localJexlContext.put(varStatus, status); localJXPathVariables.declareVariable(varStatus, status); } int skipCounter, count = 1; JXPathContext localJXPathContext = null; while (i <= end && iter.hasNext()) { Object value = iter.next(); if (value instanceof Pointer) { Pointer ptr = (Pointer)value; localJXPathContext = jxpathContext.getRelativeContext(ptr); try { value = ptr.getNode(); } catch (Exception exc) { throw new SAXParseException(exc.getMessage(), ev.location, null); } } else { localJXPathContext = jxpathContextFactory.newContext(jxpathContext, value); } localJXPathContext.setVariables(localJXPathVariables); if (var != null) { localJexlContext.put(var, value); } if (status != null) { status.index = i; status.count = count; status.first = i == begin; status.current = value; status.last = (i == end || !iter.hasNext()); } execute(consumer, localJexlContext, localJXPathContext, macroCall, startForEach.next, startForEach.endInstruction); // Skip rows skipCounter = step; while (--skipCounter > 0 && iter.hasNext()) { iter.next(); } // Increase index i += step; count++; } ev = startForEach.endInstruction.next; continue; } else if (ev instanceof StartChoose) { StartChoose startChoose = (StartChoose)ev; StartWhen startWhen = startChoose.firstChoice; while (startWhen != null) { Object val; try { val = getValue(startWhen.test, jexlContext, jxpathContext, Boolean.TRUE); } catch (Exception e) { throw new SAXParseException(e.getMessage(), ev.location, e); } boolean result; if (val instanceof Boolean) { result = ((Boolean)val).booleanValue(); } else { result = (val != null); } if (result) { execute(consumer, jexlContext, jxpathContext, macroCall, startWhen.next, startWhen.endInstruction); break; } startWhen = startWhen.nextChoice; } if (startWhen == null && startChoose.otherwise != null) { execute(consumer, jexlContext, jxpathContext, macroCall, startChoose.otherwise.next, startChoose.otherwise.endInstruction); } ev = startChoose.endInstruction.next; continue; } else if (ev instanceof StartSet) { StartSet startSet = (StartSet)ev; Object value = null; String var = null; try { if (startSet.var != null) { var = getStringValue(startSet.var, jexlContext, jxpathContext); } if (startSet.value != null) { value = getNode(startSet.value, jexlContext, jxpathContext); } } catch (Exception exc) { throw new SAXParseException(exc.getMessage(), ev.location, exc); } if (value == null) { NodeList nodeList = toDOMNodeList("set", startSet, jexlContext, macroCall); // JXPath doesn't handle NodeList, so convert it to an array int len = nodeList.getLength(); Node[] nodeArr = new Node[len]; for (int i = 0; i < len; i++) { nodeArr[i] = nodeList.item(i); } value = nodeArr; } if (var != null) { jxpathContext.getVariables().declareVariable(var, value); jexlContext.put(var, value); } ev = startSet.endInstruction.next; continue; } else if (ev instanceof StartElement) { StartElement startElement = (StartElement)ev; StartDefine def = (StartDefine)definitions.get(startElement.qname); if (def != null) { Map attributeMap = new HashMap(); Iterator i = startElement.attributeEvents.iterator(); while (i.hasNext()) { String attributeName; Object attributeValue; AttributeEvent attrEvent = (AttributeEvent) i.next(); attributeName = attrEvent.localName; if (attrEvent instanceof CopyAttribute) { CopyAttribute copy = (CopyAttribute)attrEvent; attributeValue = copy.value; } else if (attrEvent instanceof SubstituteAttribute) { SubstituteAttribute substEvent = (SubstituteAttribute)attrEvent; if (substEvent.substitutions.size() == 1 && substEvent.substitutions.get(0) instanceof JXTExpression) { JXTExpression expr = (JXTExpression) substEvent.substitutions.get(0); Object val; try { val = getNode(expr, jexlContext, jxpathContext); } catch (Exception e) { throw new SAXParseException(e.getMessage(), ev.location, e); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } if (val == null) { val = ""; } attributeValue = val; } else { StringBuffer buf = new StringBuffer(); Iterator iterSubst = substEvent.substitutions.iterator(); while (iterSubst.hasNext()) { Subst subst = (Subst)iterSubst.next(); if (subst instanceof Literal) { Literal lit = (Literal)subst; buf.append(lit.value); } else if (subst instanceof JXTExpression) { JXTExpression expr = (JXTExpression)subst; Object val; try { val = getValue(expr, jexlContext, jxpathContext); } catch (Exception e) { throw new SAXParseException( e.getMessage(), ev.location, e); } catch (Error err) { throw new SAXParseException( err.getMessage(), ev.location, new ErrorHolder(err)); } if (val == null) { val = ""; } buf.append(val.toString()); } } attributeValue = buf.toString(); } } else { throw new Error("this shouldn't have happened"); } attributeMap.put(attributeName, attributeValue); } MyVariables parent = (MyVariables)jxpathContext.getVariables(); MyVariables vars = new MyVariables(parent); MyJexlContext localJexlContext = new MyJexlContext(jexlContext); HashMap macro = new HashMap(); macro.put("body", startElement); macro.put("arguments", attributeMap); localJexlContext.put("macro", macro); vars.declareVariable("macro", macro); Iterator iter = def.parameters.entrySet().iterator(); while (iter.hasNext()) { Map.Entry e = (Map.Entry)iter.next(); String key = (String)e.getKey(); StartParameter startParam = (StartParameter)e.getValue(); Object default_ = startParam.default_; Object val = attributeMap.get(key); if (val == null) { val = default_; } localJexlContext.put(key, val); vars.declareVariable(key, val); } JXPathContext localJXPathContext = jxpathContextFactory.newContext(null, jxpathContext.getContextBean()); localJXPathContext.setVariables(vars); call(ev.location, startElement, consumer, localJexlContext, localJXPathContext, def.body, def.endInstruction); ev = startElement.endElement.next; continue; } Iterator i = startElement.attributeEvents.iterator(); AttributesImpl attrs = new AttributesImpl(); while (i.hasNext()) { AttributeEvent attrEvent = (AttributeEvent) i.next(); if (attrEvent instanceof CopyAttribute) { CopyAttribute copy = (CopyAttribute)attrEvent; attrs.addAttribute(copy.namespaceURI, copy.localName, copy.raw, copy.type, copy.value); } else if (attrEvent instanceof SubstituteAttribute) { StringBuffer buf = new StringBuffer(); SubstituteAttribute substEvent = (SubstituteAttribute)attrEvent; Iterator iterSubst = substEvent.substitutions.iterator(); while (iterSubst.hasNext()) { Subst subst = (Subst)iterSubst.next(); if (subst instanceof Literal) { Literal lit = (Literal)subst; buf.append(lit.value); } else if (subst instanceof JXTExpression) { JXTExpression expr = (JXTExpression)subst; Object val; try { val = getValue(expr, jexlContext, jxpathContext); } catch (Exception e) { throw new SAXParseException(e.getMessage(), ev.location, e); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } if (val == null) { val = ""; } buf.append(val.toString()); } } attrs.addAttribute(attrEvent.namespaceURI, attrEvent.localName, attrEvent.raw, attrEvent.type, buf.toString()); } } consumer.startElement(startElement.namespaceURI, startElement.localName, startElement.raw, attrs); } else if (ev instanceof StartFormatNumber) { StartFormatNumber startFormatNumber = (StartFormatNumber)ev; try { String result = startFormatNumber.format(jexlContext, jxpathContext); if (result != null) { char[] chars = result.toCharArray(); consumer.characters(chars, 0, chars.length); } } catch (Exception e) { throw new SAXParseException(e.getMessage(), ev.location, e); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } } else if (ev instanceof StartFormatDate) { StartFormatDate startFormatDate = (StartFormatDate)ev; try { String result = startFormatDate.format(jexlContext, jxpathContext); if (result != null) { char[] chars = result.toCharArray(); consumer.characters(chars, 0, chars.length); } } catch (Exception e) { throw new SAXParseException(e.getMessage(), ev.location, e); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } } else if (ev instanceof StartPrefixMapping) { StartPrefixMapping startPrefixMapping = (StartPrefixMapping)ev; consumer.startPrefixMapping(startPrefixMapping.prefix, startPrefixMapping.uri); } else if (ev instanceof StartComment) { StartComment startJXComment = (StartComment)ev; // Parse the body of the comment NodeList nodeList = toDOMNodeList("comment", startJXComment, jexlContext, macroCall); // JXPath doesn't handle NodeList, so convert it to an array int len = nodeList.getLength(); final StringBuffer buf = new StringBuffer(); Properties omit = XMLUtils.createPropertiesForXML(true); for (int i = 0; i < len; i++) { try { String str = XMLUtils.serializeNode(nodeList.item(i), omit); buf.append(StringUtils.substringAfter(str, ">")); // cut the XML header } catch (ProcessingException e) { throw new SAXParseException(e.getMessage(), startJXComment.location, e); } } char[] chars = new char[buf.length()]; buf.getChars(0, chars.length, chars, 0); consumer.comment(chars, 0, chars.length); ev = startJXComment.endInstruction.next; continue; } else if (ev instanceof EndCDATA) { consumer.endCDATA(); } else if (ev instanceof EndDTD) { consumer.endDTD(); } else if (ev instanceof EndEntity) { consumer.endEntity(((EndEntity)ev).name); } else if (ev instanceof StartCDATA) { consumer.startCDATA(); } else if (ev instanceof StartDTD) { StartDTD startDTD = (StartDTD)ev; consumer.startDTD(startDTD.name, startDTD.publicId, startDTD.systemId); } else if (ev instanceof StartEntity) { consumer.startEntity(((StartEntity)ev).name); } else if (ev instanceof StartOut) { StartOut startOut = (StartOut)ev; Object val; try { val = getNode(startOut.compiledExpression, jexlContext, jxpathContext, startOut.lenient); if (val instanceof Node) { executeDOM(consumer, jexlContext, jxpathContext, (Node)val); } else if (val instanceof NodeList) { NodeList nodeList = (NodeList)val; int len = nodeList.getLength(); for (int i = 0; i < len; i++) { Node n = nodeList.item(i); executeDOM(consumer, jexlContext, jxpathContext, n); } } else if (val instanceof Node[]) { Node[] nodeList = (Node[])val; int len = nodeList.length; for (int i = 0;i < len; i++) { Node n = nodeList[i]; executeDOM(consumer, jexlContext, jxpathContext, n); } } else if (val instanceof XMLizable) { ((XMLizable)val).toSAX(new IncludeXMLConsumer(consumer)); } else { char[] ch; if (val == null) { ch = ArrayUtils.EMPTY_CHAR_ARRAY; } else { ch = val.toString().toCharArray(); } consumer.characters(ch, 0, ch.length); } } catch (Exception e) { throw new SAXParseException(e.getMessage(), ev.location, e); } } else if (ev instanceof StartTemplate) { } else if (ev instanceof StartEval) { StartEval startEval = (StartEval)ev; JXTExpression expr = startEval.value; try { Object val = getNode(expr, jexlContext, jxpathContext); if (!(val instanceof StartElement)) { throw new Exception("macro invocation required instead of: " + val); } StartElement call = (StartElement)val; execute(consumer, jexlContext, jxpathContext, call, call.next, call.endElement); } catch (Exception exc) { throw new SAXParseException(exc.getMessage(), ev.location, exc); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } ev = startEval.endInstruction.next; continue; } else if (ev instanceof StartEvalBody) { StartEvalBody startEval = (StartEvalBody)ev; try { execute(consumer, jexlContext, jxpathContext, null, macroCall.next, macroCall.endElement); } catch (Exception exc) { throw new SAXParseException(exc.getMessage(), ev.location, exc); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } ev = startEval.endInstruction.next; continue; } else if (ev instanceof StartDefine) { StartDefine startDefine = (StartDefine)ev; definitions.put(startDefine.qname, startDefine); ev = startDefine.endInstruction.next; continue; } else if (ev instanceof StartImport) { StartImport startImport = (StartImport)ev; String uri; AttributeEvent e = startImport.uri; if (e instanceof CopyAttribute) { CopyAttribute copy = (CopyAttribute)e; uri = copy.value; } else { StringBuffer buf = new StringBuffer(); SubstituteAttribute substAttr = (SubstituteAttribute)e; Iterator i = substAttr.substitutions.iterator(); while (i.hasNext()) { Subst subst = (Subst)i.next(); if (subst instanceof Literal) { Literal lit = (Literal)subst; buf.append(lit.value); } else if (subst instanceof JXTExpression) { JXTExpression expr = (JXTExpression)subst; Object val; try { val = getValue(expr, jexlContext, jxpathContext); } catch (Exception exc) { throw new SAXParseException(exc.getMessage(), ev.location, exc); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } if (val == null) { val = ""; } buf.append(val.toString()); } } uri = buf.toString(); } Source input = null; StartDocument doc; try { input = resolver.resolveURI(uri); SourceValidity validity = null; synchronized (cache) { doc = (StartDocument)cache.get(input.getURI()); if (doc != null) { boolean recompile = false; if ( doc.compileTime == null) { recompile = true; } else { int valid = doc.compileTime.isValid(); if ( valid == SourceValidity.UNKNOWN ) { validity = input.getValidity(); valid = doc.compileTime.isValid(validity); } if ( valid != SourceValidity.VALID ) { recompile = true; } } if ( recompile ) { doc = null; // recompile } } } if (doc == null) { Parser parser = new Parser(); // call getValidity before using the stream is faster if the source is a SitemapSource if (validity == null) { validity = input.getValidity(); } SourceUtil.parse(this.manager, input, parser); doc = parser.getStartEvent(); doc.compileTime = validity; synchronized (cache) { cache.put(input.getURI(), doc); } } } catch (Exception exc) { throw new SAXParseException(exc.getMessage(), ev.location, exc); } finally { resolver.release(input); } JXPathContext selectJXPath = jxpathContext; MyJexlContext selectJexl = jexlContext; if (startImport.select != null) { try { Object obj = getValue(startImport.select, jexlContext, jxpathContext); selectJXPath = jxpathContextFactory.newContext(null, obj); selectJXPath.setVariables(variables); selectJexl = new MyJexlContext(jexlContext); fillContext(obj, selectJexl); } catch (Exception exc) { throw new SAXParseException(exc.getMessage(), ev.location, exc); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } } try { execute(consumer, selectJexl, selectJXPath, macroCall, doc.next, doc.endDocument); } catch (Exception exc) { throw new SAXParseException( "Exception occurred in imported template " + uri + ": "+ exc.getMessage(), ev.location, exc); } ev = startImport.endInstruction.next; continue; } else if (ev instanceof StartDocument) { if (((StartDocument)ev).endDocument != null) { // if this isn't a document fragment consumer.startDocument(); } } else if (ev instanceof EndDocument) { consumer.endDocument(); } else if (ev instanceof ProcessingInstruction) { ProcessingInstruction pi = (ProcessingInstruction)ev; consumer.processingInstruction(pi.target, pi.data); } ev = ev.next; } }
|
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/5825dcbb894fc7e13def0d7cbe9add87b9888009/JXTemplateGenerator.java/clean/src/java/org/apache/cocoon/generation/JXTemplateGenerator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1836,
12,
6385,
3167,
5869,
4765,
16,
5411,
8005,
46,
338,
80,
1042,
525,
338,
80,
1042,
16,
804,
14124,
1042,
525,
18644,
1042,
16,
5411,
3603,
1046,
11522,
1477,
16,
2587,
787,
1133,
16,
2587,
679,
1133,
13,
5411,
1216,
14366,
288,
3639,
2587,
2113,
273,
787,
1133,
31,
3639,
2851,
639,
12467,
1515,
273,
394,
2851,
639,
12467,
12,
14965,
18,
3562,
1769,
3639,
4765,
18,
542,
2519,
5786,
12,
1829,
1769,
3639,
1323,
261,
14965,
480,
679,
1133,
13,
288,
5411,
1515,
18,
542,
2519,
5786,
12,
14965,
18,
3562,
1769,
5411,
309,
261,
14965,
1276,
3703,
9202,
13,
288,
7734,
3867,
1133,
977,
273,
261,
1528,
1133,
13,
14965,
31,
7734,
4498,
1400,
273,
977,
18,
1717,
30892,
18,
9838,
5621,
7734,
1323,
261,
2165,
18,
5332,
2134,
10756,
288,
10792,
1033,
27750,
273,
1400,
18,
4285,
5621,
10792,
1149,
8526,
5230,
31,
10792,
309,
261,
1717,
334,
1276,
1149,
63,
5717,
288,
13491,
5230,
273,
261,
3001,
63,
5717,
1717,
334,
31,
10792,
289,
469,
288,
13491,
804,
3983,
2300,
3065,
273,
261,
46,
3983,
2300,
13,
1717,
334,
31,
13491,
775,
288,
18701,
1033,
1244,
273,
5973,
12,
8638,
16,
525,
338,
80,
1042,
16,
4766,
565,
525,
18644,
1042,
1769,
18701,
309,
261,
1125,
1276,
2029,
13,
288,
27573,
1836,
8168,
12,
13230,
16,
525,
338,
80,
1042,
16,
4766,
3639,
525,
18644,
1042,
16,
261,
907,
13,
1125,
1769,
27573,
1324,
31,
18701,
289,
469,
309,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1836,
12,
6385,
3167,
5869,
4765,
16,
5411,
8005,
46,
338,
80,
1042,
525,
338,
80,
1042,
16,
804,
14124,
1042,
525,
18644,
1042,
16,
5411,
3603,
1046,
11522,
1477,
16,
2587,
787,
1133,
16,
2587,
679,
1133,
13,
5411,
1216,
14366,
288,
3639,
2587,
2113,
273,
787,
1133,
31,
3639,
2851,
639,
12467,
1515,
273,
394,
2851,
639,
12467,
12,
14965,
18,
3562,
1769,
3639,
4765,
18,
542,
2519,
5786,
12,
1829,
1769,
3639,
1323,
261,
14965,
480,
679,
1133,
13,
288,
5411,
1515,
18,
542,
2519,
5786,
12,
14965,
18,
3562,
1769,
5411,
309,
261,
14965,
1276,
3703,
9202,
13,
288,
7734,
3867,
1133,
977,
273,
261,
1528,
1133,
13,
14965,
31,
7734,
4498,
2
] |
public void put (String name, double value) { ObjectStreamField field = currentObjectStreamClass.getField (name); checkType (field, 'D'); int off = field.getOffset (); long l_value = Double.doubleToLongBits (value); prim_field_data[off++] = (byte)(l_value >>> 52); prim_field_data[off++] = (byte)(l_value >>> 48); prim_field_data[off++] = (byte)(l_value >>> 40); prim_field_data[off++] = (byte)(l_value >>> 32); prim_field_data[off++] = (byte)(l_value >>> 24); prim_field_data[off++] = (byte)(l_value >>> 16); prim_field_data[off++] = (byte)(l_value >>> 8); prim_field_data[off] = (byte)l_value; }
|
checkType(field, 'B'); prim_field_data[field.getOffset()] = value; }
|
public PutField putFields() throws IOException { if (currentPutField == null) { currentPutField = new PutField () { private byte[] prim_field_data = new byte[currentObjectStreamClass.primFieldSize]; private Object[] objs = new Object[currentObjectStreamClass.objectFieldCount]; public void put (String name, boolean value) { ObjectStreamField field = currentObjectStreamClass.getField (name); checkType (field, 'Z'); prim_field_data[field.getOffset ()] = (byte)(value ? 1 : 0); } public void put (String name, byte value) { ObjectStreamField field = currentObjectStreamClass.getField (name); checkType (field, 'B'); prim_field_data[field.getOffset ()] = value; } public void put (String name, char value) { ObjectStreamField field = currentObjectStreamClass.getField (name); checkType (field, 'C'); int off = field.getOffset (); prim_field_data[off++] = (byte)(value >>> 8); prim_field_data[off] = (byte)value; } public void put (String name, double value) { ObjectStreamField field = currentObjectStreamClass.getField (name); checkType (field, 'D'); int off = field.getOffset (); long l_value = Double.doubleToLongBits (value); prim_field_data[off++] = (byte)(l_value >>> 52); prim_field_data[off++] = (byte)(l_value >>> 48); prim_field_data[off++] = (byte)(l_value >>> 40); prim_field_data[off++] = (byte)(l_value >>> 32); prim_field_data[off++] = (byte)(l_value >>> 24); prim_field_data[off++] = (byte)(l_value >>> 16); prim_field_data[off++] = (byte)(l_value >>> 8); prim_field_data[off] = (byte)l_value; } public void put (String name, float value) { ObjectStreamField field = currentObjectStreamClass.getField (name); checkType (field, 'F'); int off = field.getOffset (); int i_value = Float.floatToIntBits (value); prim_field_data[off++] = (byte)(i_value >>> 24); prim_field_data[off++] = (byte)(i_value >>> 16); prim_field_data[off++] = (byte)(i_value >>> 8); prim_field_data[off] = (byte)i_value; } public void put (String name, int value) { ObjectStreamField field = currentObjectStreamClass.getField (name); checkType (field, 'I'); int off = field.getOffset (); prim_field_data[off++] = (byte)(value >>> 24); prim_field_data[off++] = (byte)(value >>> 16); prim_field_data[off++] = (byte)(value >>> 8); prim_field_data[off] = (byte)value; } public void put (String name, long value) { ObjectStreamField field = currentObjectStreamClass.getField (name); checkType (field, 'J'); int off = field.getOffset (); prim_field_data[off++] = (byte)(value >>> 52); prim_field_data[off++] = (byte)(value >>> 48); prim_field_data[off++] = (byte)(value >>> 40); prim_field_data[off++] = (byte)(value >>> 32); prim_field_data[off++] = (byte)(value >>> 24); prim_field_data[off++] = (byte)(value >>> 16); prim_field_data[off++] = (byte)(value >>> 8); prim_field_data[off] = (byte)value; } public void put (String name, short value) { ObjectStreamField field = currentObjectStreamClass.getField (name); checkType (field, 'S'); int off = field.getOffset (); prim_field_data[off++] = (byte)(value >>> 8); prim_field_data[off] = (byte)value; } public void put (String name, Object value) { ObjectStreamField field = currentObjectStreamClass.getField (name); if (field == null) throw new IllegalArgumentException (); if (value != null && ! field.getType ().isAssignableFrom (value.getClass ())) throw new IllegalArgumentException (); objs[field.getOffset ()] = value; } public void write (ObjectOutput out) throws IOException { // Apparently Block data is not used with PutField as per // empirical evidence against JDK 1.2. Also see Mauve test // java.io.ObjectInputOutput.Test.GetPutField. boolean oldmode = setBlockDataMode (false); out.write (prim_field_data); for (int i = 0; i < objs.length; ++ i) out.writeObject (objs[i]); setBlockDataMode (oldmode); } private void checkType (ObjectStreamField field, char type) throws IllegalArgumentException { if (TypeSignature.getEncodingOfClass(field.getType ()).charAt(0) != type) throw new IllegalArgumentException (); } }; } return currentPutField; }
|
1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/aa9a1e51dfe3c217d861f0795af77c53a43ecefb/ObjectOutputStream.java/clean/libjava/java/io/ObjectOutputStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4399,
974,
1378,
2314,
1435,
1216,
1860,
225,
288,
565,
309,
261,
2972,
6426,
974,
422,
446,
13,
1377,
288,
202,
2972,
6426,
974,
273,
394,
4399,
974,
1832,
202,
225,
288,
202,
565,
3238,
1160,
8526,
15610,
67,
1518,
67,
892,
273,
202,
1377,
394,
1160,
63,
2972,
921,
1228,
797,
18,
30438,
974,
1225,
15533,
202,
565,
3238,
1033,
8526,
12721,
273,
202,
1377,
394,
1033,
63,
2972,
921,
1228,
797,
18,
1612,
974,
1380,
15533,
202,
565,
1071,
918,
1378,
261,
780,
508,
16,
1250,
460,
13,
202,
565,
288,
202,
1377,
1033,
1228,
974,
652,
202,
202,
33,
27138,
1228,
797,
18,
588,
974,
261,
529,
1769,
202,
1377,
23008,
261,
1518,
16,
296,
62,
8284,
202,
1377,
15610,
67,
1518,
67,
892,
63,
1518,
18,
588,
2335,
1832,
65,
273,
261,
7229,
21433,
1132,
692,
404,
294,
374,
1769,
202,
565,
289,
202,
565,
1071,
918,
1378,
261,
780,
508,
16,
1160,
460,
13,
202,
565,
288,
202,
1377,
1033,
1228,
974,
652,
202,
202,
33,
27138,
1228,
797,
18,
588,
974,
261,
529,
1769,
202,
1377,
23008,
261,
1518,
16,
296,
38,
8284,
202,
1377,
15610,
67,
1518,
67,
892,
63,
1518,
18,
588,
2335,
1832,
65,
273,
460,
31,
202,
565,
289,
202,
565,
1071,
918,
1378,
261,
780,
508,
16,
1149,
460,
13,
202,
565,
288,
202,
1377,
1033,
1228,
974,
652,
202,
202,
33,
27138,
1228,
797,
18,
588,
974,
261,
529,
1769,
202,
1377,
23008,
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,
4399,
974,
1378,
2314,
1435,
1216,
1860,
225,
288,
565,
309,
261,
2972,
6426,
974,
422,
446,
13,
1377,
288,
202,
2972,
6426,
974,
273,
394,
4399,
974,
1832,
202,
225,
288,
202,
565,
3238,
1160,
8526,
15610,
67,
1518,
67,
892,
273,
202,
1377,
394,
1160,
63,
2972,
921,
1228,
797,
18,
30438,
974,
1225,
15533,
202,
565,
3238,
1033,
8526,
12721,
273,
202,
1377,
394,
1033,
63,
2972,
921,
1228,
797,
18,
1612,
974,
1380,
15533,
202,
565,
1071,
918,
1378,
261,
780,
508,
16,
1250,
460,
13,
202,
565,
288,
202,
1377,
1033,
1228,
974,
652,
202,
202,
33,
27138,
1228,
797,
18,
588,
974,
261,
529,
1769,
202,
1377,
23008,
261,
1518,
16,
2
] |
else if ( MasterPageHandle.RIGHT_MARGIN_PROP.equals( event.getPropertyName( ) ) )
|
else if ( MasterPageHandle.RIGHT_MARGIN_PROP.equals( event .getPropertyName( ) ) )
|
public void elementChanged( DesignElementHandle focus, NotificationEvent ev ) { switch ( ev.getEventType( ) ) { case NotificationEvent.PROPERTY_EVENT : { PropertyEvent event = (PropertyEvent) ev; if ( ReportDesignHandle.UNITS_PROP.equals( event.getPropertyName( ) ) ) { setUnit( getUnitFromDesign( getReportDesignHandle( ).getDefaultUnits( ) ) ); } else if ( MasterPageHandle.LEFT_MARGIN_PROP.equals( event.getPropertyName( ) ) ) { setMargin( TOP_LEFT ); } else if ( MasterPageHandle.RIGHT_MARGIN_PROP.equals( event.getPropertyName( ) ) ) { setMargin( TOP_RIGHT ); } else if ( MasterPageHandle.TOP_MARGIN_PROP.equals( event.getPropertyName( ) ) ) { setMargin( LEFT_TOP ); } else if ( MasterPageHandle.BOTTOM_MARGIN_PROP.equals( event.getPropertyName( ) ) ) { setMargin( LEFT_BOTTOM ); } else if ( MasterPageHandle.TYPE_PROP.equals( event.getPropertyName( ) ) ) { layout( true ); resetAllGuide( ); } else if ( MasterPageHandle.WIDTH_PROP.equals( event.getPropertyName( ) ) ) { layout( true ); setMargin( TOP_LEFT ); setMargin( TOP_RIGHT ); } else if ( MasterPageHandle.HEIGHT_PROP.equals( event.getPropertyName( ) ) ) { layout( true ); setMargin( LEFT_TOP ); setMargin( LEFT_BOTTOM ); } break; } } }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/61cce071e25248ce85d293e05344845aab740350/EditorRulerComposite.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/rulers/EditorRulerComposite.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
930,
5033,
12,
29703,
1046,
3259,
7155,
16,
9506,
202,
4386,
1133,
2113,
262,
202,
202,
95,
1082,
202,
9610,
261,
2113,
18,
588,
16346,
12,
262,
262,
1082,
202,
95,
9506,
202,
3593,
8050,
1133,
18,
9900,
67,
10454,
294,
9506,
202,
95,
6862,
202,
1396,
1133,
871,
273,
261,
1396,
1133,
13,
2113,
31,
6862,
202,
430,
261,
8706,
15478,
3259,
18,
24325,
67,
15811,
18,
14963,
12,
871,
18,
588,
13073,
12,
262,
262,
262,
6862,
202,
95,
25083,
202,
542,
2802,
12,
19194,
1265,
15478,
12,
22452,
15478,
3259,
12,
262,
18,
588,
1868,
7537,
12,
262,
262,
11272,
6862,
202,
97,
6862,
202,
12107,
309,
261,
13453,
1964,
3259,
18,
10066,
67,
19772,
7702,
67,
15811,
18,
14963,
12,
871,
18,
588,
13073,
12,
262,
262,
262,
6862,
202,
95,
25083,
202,
542,
9524,
12,
18680,
67,
10066,
11272,
6862,
202,
97,
6862,
202,
12107,
309,
261,
13453,
1964,
3259,
18,
11847,
67,
19772,
7702,
67,
15811,
18,
14963,
12,
871,
18,
588,
13073,
12,
262,
262,
262,
6862,
202,
95,
25083,
202,
542,
9524,
12,
18680,
67,
11847,
11272,
6862,
202,
97,
6862,
202,
12107,
309,
261,
13453,
1964,
3259,
18,
10462,
67,
19772,
7702,
67,
15811,
18,
14963,
12,
871,
18,
588,
13073,
12,
262,
262,
262,
6862,
202,
95,
25083,
202,
542,
9524,
12,
9686,
67,
10462,
11272,
6862,
202,
97,
6862,
202,
12107,
309,
261,
13453,
1964,
3259,
18,
28891,
67,
19772,
7702,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
930,
5033,
12,
29703,
1046,
3259,
7155,
16,
9506,
202,
4386,
1133,
2113,
262,
202,
202,
95,
1082,
202,
9610,
261,
2113,
18,
588,
16346,
12,
262,
262,
1082,
202,
95,
9506,
202,
3593,
8050,
1133,
18,
9900,
67,
10454,
294,
9506,
202,
95,
6862,
202,
1396,
1133,
871,
273,
261,
1396,
1133,
13,
2113,
31,
6862,
202,
430,
261,
8706,
15478,
3259,
18,
24325,
67,
15811,
18,
14963,
12,
871,
18,
588,
13073,
12,
262,
262,
262,
6862,
202,
95,
25083,
202,
542,
2802,
12,
19194,
1265,
15478,
12,
22452,
15478,
3259,
12,
262,
18,
588,
1868,
7537,
12,
262,
262,
11272,
6862,
202,
97,
6862,
202,
12107,
309,
261,
13453,
1964,
3259,
18,
2
] |
initialize(null, msg, peer);
|
initialize(msg, msg.getMessage(), null);
|
public boolean initialize(I2NPMessage msg, PeerState peer) { try { initialize(null, msg, peer); return true; } catch (OutOfMemoryError oom) { throw oom; } catch (Exception e) { _log.log(Log.CRIT, "Error initializing " + msg, e); return false; } }
|
27433 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27433/4ce51261f1b36eeb8bc0e9d51c3abee10d9a4440/OutboundMessageState.java/buggy/router/java/src/net/i2p/router/transport/udp/OutboundMessageState.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
4046,
12,
45,
22,
23430,
1079,
1234,
16,
10669,
1119,
4261,
13,
288,
3639,
775,
288,
5411,
4046,
12,
3576,
16,
1234,
18,
24906,
9334,
446,
1769,
5411,
327,
638,
31,
3639,
289,
1044,
261,
11224,
6031,
668,
320,
362,
13,
288,
5411,
604,
320,
362,
31,
3639,
289,
1044,
261,
503,
425,
13,
288,
5411,
389,
1330,
18,
1330,
12,
1343,
18,
5093,
1285,
16,
315,
668,
22584,
315,
397,
1234,
16,
425,
1769,
5411,
327,
629,
31,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
4046,
12,
45,
22,
23430,
1079,
1234,
16,
10669,
1119,
4261,
13,
288,
3639,
775,
288,
5411,
4046,
12,
3576,
16,
1234,
18,
24906,
9334,
446,
1769,
5411,
327,
638,
31,
3639,
289,
1044,
261,
11224,
6031,
668,
320,
362,
13,
288,
5411,
604,
320,
362,
31,
3639,
289,
1044,
261,
503,
425,
13,
288,
5411,
389,
1330,
18,
1330,
12,
1343,
18,
5093,
1285,
16,
315,
668,
22584,
315,
397,
1234,
16,
425,
1769,
5411,
327,
629,
31,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public boolean equals(Object other) { if (other == this) return true; if (other == null) return false; if (getClass() != other.getClass()) return false; CombinationLookupMeta o = (CombinationLookupMeta)other; if ( getCommitSize() != o.getCommitSize() ) return false; if ( ! getTechKeyCreation().equals(o.getTechKeyCreation()) ) return false; if ( replaceFields() != o.replaceFields() ) return false; if ( useHash() != o.useHash() ) return false; if ( replaceFields() != o.replaceFields() ) return false; if ( (getSequenceFrom() == null && o.getSequenceFrom() != null) || (getSequenceFrom() != null && o.getSequenceFrom() == null) || (getSequenceFrom() != null && o.getSequenceFrom() != null && ! getSequenceFrom().equals(o.getSequenceFrom())) ) return false; if ( (getTablename() == null && o.getTablename() != null) || (getTablename() != null && o.getTablename() == null) || (getTablename() != null && o.getTablename() != null && ! getTablename().equals(o.getTablename())) ) return false; if ( (getHashField() == null && o.getHashField() != null) || (getHashField() != null && o.getHashField() == null) || (getHashField() != null && o.getHashField() != null && ! getHashField().equals(o.getHashField())) ) return false; if ( (getTechnicalKeyField() == null && o.getTechnicalKeyField() != null) || (getTechnicalKeyField() != null && o.getTechnicalKeyField() == null) || (getTechnicalKeyField() != null && o.getTechnicalKeyField() != null && ! getTechnicalKeyField().equals(o.getTechnicalKeyField())) ) return false; // comparison missing for the following, but can be added later // if required. // getKeyField() // getKeyLookup() return true; }
|
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/5db6fed3c18b3fd5d27412ffd996ebadf8f01e51/CombinationLookupMeta.java/buggy/src/be/ibridge/kettle/trans/step/combinationlookup/CombinationLookupMeta.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1606,
12,
921,
1308,
13,
377,
288,
3639,
309,
261,
3011,
422,
333,
13,
327,
638,
31,
3639,
309,
261,
3011,
422,
446,
13,
327,
629,
31,
3639,
309,
261,
588,
797,
1435,
480,
1308,
18,
588,
797,
10756,
327,
629,
31,
3639,
15645,
1735,
6609,
2781,
320,
273,
261,
26062,
6609,
2781,
13,
3011,
31,
7734,
309,
261,
336,
5580,
1225,
1435,
480,
320,
18,
588,
5580,
1225,
1435,
262,
327,
629,
31,
3639,
309,
261,
401,
3181,
8987,
653,
9906,
7675,
14963,
12,
83,
18,
588,
56,
8987,
653,
9906,
10756,
262,
327,
629,
31,
7734,
309,
261,
1453,
2314,
1435,
480,
320,
18,
2079,
2314,
1435,
262,
327,
629,
31,
7734,
309,
261,
999,
2310,
1435,
480,
320,
18,
1202,
2310,
1435,
262,
202,
2463,
629,
31,
3639,
309,
261,
1453,
2314,
1435,
480,
320,
18,
2079,
2314,
1435,
262,
202,
2463,
629,
31,
3639,
309,
261,
261,
588,
4021,
1265,
1435,
422,
446,
597,
320,
18,
588,
4021,
1265,
1435,
480,
446,
13,
747,
540,
202,
261,
588,
4021,
1265,
1435,
480,
446,
597,
320,
18,
588,
4021,
1265,
1435,
422,
446,
13,
747,
540,
202,
261,
588,
4021,
1265,
1435,
480,
446,
597,
320,
18,
588,
4021,
1265,
1435,
480,
446,
597,
540,
202,
225,
401,
27763,
1265,
7675,
14963,
12,
83,
18,
588,
4021,
1265,
1435,
3719,
262,
1082,
1850,
202,
327,
629,
31,
3639,
309,
261,
261,
588,
5661,
14724,
1435,
422,
446,
597,
320,
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,
1071,
1250,
1606,
12,
921,
1308,
13,
377,
288,
3639,
309,
261,
3011,
422,
333,
13,
327,
638,
31,
3639,
309,
261,
3011,
422,
446,
13,
327,
629,
31,
3639,
309,
261,
588,
797,
1435,
480,
1308,
18,
588,
797,
10756,
327,
629,
31,
3639,
15645,
1735,
6609,
2781,
320,
273,
261,
26062,
6609,
2781,
13,
3011,
31,
7734,
309,
261,
336,
5580,
1225,
1435,
480,
320,
18,
588,
5580,
1225,
1435,
262,
327,
629,
31,
3639,
309,
261,
401,
3181,
8987,
653,
9906,
7675,
14963,
12,
83,
18,
588,
56,
8987,
653,
9906,
10756,
262,
327,
629,
31,
7734,
309,
261,
1453,
2314,
1435,
480,
320,
18,
2079,
2314,
1435,
262,
327,
629,
31,
7734,
309,
261,
2
] |
||
if (lengthx3 >= buf_length - count)
|
if (length >= BYTES_MAX - count)
|
public void directWrite(final String s) throws IOException { // We multiply the length by three since this is the maximum length // of the characters that we can put into the buffer. It is possible // for each Unicode character to expand to three bytes. final int length = s.length(); int lengthx3 = (length << 1) + length; if (lengthx3 >= buf_length - count) { // The requested length is greater than the unused part of the buffer flushBuffer(); if (lengthx3 >= buf_length) { /* * The requested length exceeds the size of the buffer, * so don't bother to buffer this one, just write it out * directly. The buffer is already flushed so this is a * safe thing to do. */ writeWithoutBuffering(s); return; } } s.getChars(0, length , m_inputChars, 0); final char[] chars = m_inputChars; final byte[] buf_loc = m_outputBytes; // local reference for faster access int count_loc = count; // local integer for faster access int i = 0; while( i < length) buf_loc[count_loc++] = (byte)chars[i++]; // Store the local integer back into the instance variable count = count_loc; }
|
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/7330d9a0deb7723cd01986a10cae56da8236edb7/WriterToUTF8Buffered.java/clean/src/org/apache/xml/serializer/WriterToUTF8Buffered.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2657,
3067,
12,
6385,
514,
272,
13,
1216,
1860,
225,
288,
565,
368,
1660,
10194,
326,
769,
635,
8925,
3241,
333,
353,
326,
4207,
769,
565,
368,
434,
326,
3949,
716,
732,
848,
1378,
1368,
326,
1613,
18,
225,
2597,
353,
3323,
565,
368,
364,
1517,
9633,
3351,
358,
4542,
358,
8925,
1731,
18,
565,
727,
509,
769,
273,
272,
18,
2469,
5621,
565,
509,
769,
92,
23,
273,
261,
2469,
2296,
404,
13,
397,
769,
31,
377,
309,
261,
2469,
1545,
26214,
67,
6694,
300,
1056,
13,
565,
288,
1377,
368,
1021,
3764,
769,
353,
6802,
2353,
326,
10197,
1087,
434,
326,
1613,
1377,
3663,
1892,
5621,
1377,
309,
261,
2469,
92,
23,
1545,
1681,
67,
2469,
13,
1377,
288,
3639,
1748,
540,
380,
1021,
3764,
769,
14399,
326,
963,
434,
326,
1613,
16,
540,
380,
1427,
2727,
1404,
23440,
358,
1613,
333,
1245,
16,
2537,
1045,
518,
596,
540,
380,
5122,
18,
1021,
1613,
353,
1818,
22604,
1427,
333,
353,
279,
1850,
380,
4183,
7757,
358,
741,
18,
540,
1195,
3639,
1045,
8073,
1892,
310,
12,
87,
1769,
3639,
327,
31,
1377,
289,
565,
289,
565,
272,
18,
588,
7803,
12,
20,
16,
769,
269,
312,
67,
2630,
7803,
16,
374,
1769,
565,
727,
1149,
8526,
5230,
273,
312,
67,
2630,
7803,
31,
565,
727,
1160,
8526,
1681,
67,
1829,
273,
312,
67,
2844,
2160,
31,
368,
1191,
2114,
364,
12063,
2006,
565,
509,
1056,
67,
1829,
273,
1056,
31,
1377,
368,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2657,
3067,
12,
6385,
514,
272,
13,
1216,
1860,
225,
288,
565,
368,
1660,
10194,
326,
769,
635,
8925,
3241,
333,
353,
326,
4207,
769,
565,
368,
434,
326,
3949,
716,
732,
848,
1378,
1368,
326,
1613,
18,
225,
2597,
353,
3323,
565,
368,
364,
1517,
9633,
3351,
358,
4542,
358,
8925,
1731,
18,
565,
727,
509,
769,
273,
272,
18,
2469,
5621,
565,
509,
769,
92,
23,
273,
261,
2469,
2296,
404,
13,
397,
769,
31,
377,
309,
261,
2469,
1545,
26214,
67,
6694,
300,
1056,
13,
565,
288,
1377,
368,
1021,
3764,
769,
353,
6802,
2353,
326,
10197,
1087,
434,
326,
1613,
1377,
3663,
1892,
5621,
1377,
309,
261,
2469,
92,
23,
1545,
1681,
2
] |
} else {
|
} else {
|
public String getName() { if (getBaseName() == null) { if (isClass()) { return "#<" + "Class" + ":01x" + Integer.toHexString(System.identityHashCode(this)) + ">"; } else { return "#<" + "Module" + ":01x" + Integer.toHexString(System.identityHashCode(this)) + ">"; } } StringBuffer result = new StringBuffer(getBaseName()); RubyClass objectClass = getRuntime().getObject(); for (RubyModule p = this.getParent(); p != null && p != objectClass; p = p.getParent()) { result.insert(0, "::").insert(0, p.getBaseName()); } return result.toString(); }
|
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/1278c5bb3507a052d150d814f15453542ae41aed/RubyModule.java/buggy/src/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1723,
1435,
288,
3639,
309,
261,
588,
29907,
1435,
422,
446,
13,
288,
540,
202,
430,
261,
291,
797,
10756,
288,
7734,
327,
6619,
32,
6,
397,
315,
797,
6,
397,
6398,
1611,
92,
6,
397,
2144,
18,
869,
14866,
12,
3163,
18,
10781,
21952,
12,
2211,
3719,
397,
14675,
31,
540,
202,
97,
469,
288,
7734,
327,
6619,
32,
6,
397,
315,
3120,
6,
397,
6398,
1611,
92,
6,
397,
2144,
18,
869,
14866,
12,
3163,
18,
10781,
21952,
12,
2211,
3719,
397,
14675,
31,
540,
202,
97,
3639,
289,
7734,
6674,
563,
273,
394,
6674,
12,
588,
29907,
10663,
3639,
19817,
797,
23992,
273,
18814,
7675,
588,
921,
5621,
7734,
364,
261,
54,
10340,
3120,
293,
273,
333,
18,
588,
3054,
5621,
293,
480,
446,
597,
293,
480,
23992,
31,
293,
273,
293,
18,
588,
3054,
10756,
288,
5411,
563,
18,
6387,
12,
20,
16,
31120,
2934,
6387,
12,
20,
16,
293,
18,
588,
29907,
10663,
3639,
289,
3639,
327,
563,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1723,
1435,
288,
3639,
309,
261,
588,
29907,
1435,
422,
446,
13,
288,
540,
202,
430,
261,
291,
797,
10756,
288,
7734,
327,
6619,
32,
6,
397,
315,
797,
6,
397,
6398,
1611,
92,
6,
397,
2144,
18,
869,
14866,
12,
3163,
18,
10781,
21952,
12,
2211,
3719,
397,
14675,
31,
540,
202,
97,
469,
288,
7734,
327,
6619,
32,
6,
397,
315,
3120,
6,
397,
6398,
1611,
92,
6,
397,
2144,
18,
869,
14866,
12,
3163,
18,
10781,
21952,
12,
2211,
3719,
397,
14675,
31,
540,
202,
97,
3639,
289,
7734,
6674,
563,
273,
394,
6674,
12,
588,
29907,
10663,
3639,
19817,
797,
23992,
273,
18814,
7675,
588,
921,
5621,
7734,
364,
261,
54,
10340,
2
] |
return myCO2ProducerDefinitionImpl.getCorbaObject(); }
|
return myCO2ProducerDefinitionImpl.getCorbaObject(); }
|
public CO2ProducerDefinition getCO2ProducerDefinition() { return myCO2ProducerDefinitionImpl.getCorbaObject(); }
|
5015 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5015/397a74b47f2f52b66dbe5e307fb37ee5e164487d/InjectorImpl.java/buggy/BIOSIM/src/com/traclabs/biosim/server/simulation/framework/InjectorImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7910,
22,
12140,
1852,
1927,
51,
22,
12140,
1852,
1435,
288,
3639,
327,
3399,
3865,
22,
12140,
1852,
2828,
18,
588,
6217,
12124,
921,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7910,
22,
12140,
1852,
1927,
51,
22,
12140,
1852,
1435,
288,
3639,
327,
3399,
3865,
22,
12140,
1852,
2828,
18,
588,
6217,
12124,
921,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public static BugReport parseBug(Reader in, int id, String serverUrl, boolean is218, String userName, String password, String contentType) throws IOException, ParseException, LoginException { // create a new bug report and set the parser state to the start state BugReport bug = new BugReport(id, serverUrl); boolean contentTypeResolved = false; if (contentType != null) { String charsetFromContentType = getCharsetFromString(contentType); if (charsetFromContentType != null) { bug.setCharset(charsetFromContentType); contentTypeResolved = true; } } ParserState state = ParserState.START; Comment comment = null; String attribute = null; HtmlStreamTokenizer tokenizer = new HtmlStreamTokenizer(in, null); boolean isTitle = false; boolean possibleBadLogin = false; boolean checkBody = false; String title = ""; StringBuffer body = new StringBuffer(); for (Token token = tokenizer.nextToken(); token.getType() != Token.EOF; token = tokenizer.nextToken()) { // get the charset from the HTML if not specified if (!contentTypeResolved) { if (token.getType() == Token.TAG && ((HtmlTag) (token.getValue())).getTagType() == HtmlTag.Type.META && !((HtmlTag) (token.getValue())).isEndTag()) { String charsetFromHtml = getCharsetFromString(token.toString()); if (charsetFromHtml != null) bug.setCharset(charsetFromHtml); } } // make sure that bugzilla doesn't want us to login if (token.getType() == Token.TAG && ((HtmlTag) (token.getValue())).getTagType() == HtmlTag.Type.TITLE && !((HtmlTag) (token.getValue())).isEndTag()) { isTitle = true; continue; } if (isTitle) { // get all of the data in the title tag if (token.getType() != Token.TAG) { title += ((StringBuffer) token.getValue()).toString().toLowerCase() + " "; continue; } else if (token.getType() == Token.TAG && ((HtmlTag) token.getValue()).getTagType() == HtmlTag.Type.TITLE && ((HtmlTag) token.getValue()).isEndTag()) { // check and see if the title seems as though we have wrong // login info if (title.indexOf("login") != -1 || (title.indexOf("invalid") != -1 && title.indexOf("password") != -1) || title.indexOf("check e-mail") != -1) possibleBadLogin = true; // we possibly have a bad // login // if the title starts with error, we may have a login // problem, or // there is a problem with the bug (doesn't exist), so we // must do // some more checks if (title.startsWith("error")) checkBody = true; isTitle = false; title = ""; } continue; } // if we have to add all of the text so that we can check it later // for problems with the username and password if (checkBody && token.getType() == Token.TEXT) { body.append((StringBuffer) token.getValue()); body.append(" "); } // we have found the start of an attribute name if ((state == ParserState.ATT_NAME || state == ParserState.START) && token.getType() == Token.TAG) { HtmlTag tag = (HtmlTag) token.getValue(); if (tag.getTagType() == HtmlTag.Type.TD && "right".equalsIgnoreCase(tag.getAttribute("align"))) { // parse the attribute's name attribute = parseAttributeName(tokenizer); if (attribute.toLowerCase().startsWith("opened")) { // find the colon so we can get the date int index = attribute.toLowerCase().indexOf(":"); String date; if (index != -1) date = attribute.substring(index + 1).trim(); else date = attribute.substring(6).trim(); // set the bugs opened date to be the date we parsed bug.setCreated(df.parse(date)); state = ParserState.ATT_NAME; continue; } // in 2.18, the last modified looks like the opened so we // need to parse it differently if (attribute.toLowerCase().startsWith("last modified") && is218) { // find the colon so we can get the date int index = attribute.toLowerCase().indexOf(":"); String date; if (index != -1) date = attribute.substring(index + 1).trim(); else date = attribute.substring(6).trim(); // create a new attribute and set the date Attribute t = new Attribute("Last Modified"); t.setValue(date); // add the attribute to the bug report bug.addAttribute(t); state = ParserState.ATT_NAME; continue; } state = ParserState.ATT_VALUE; continue; } else if (tag.getTagType() == HtmlTag.Type.INPUT && "radio".equalsIgnoreCase(tag.getAttribute("type")) && "knob".equalsIgnoreCase(tag.getAttribute("name"))) { // we found a radio button parseOperations(bug, tokenizer, tag, is218); } } // we have found the start of attribute values if (state == ParserState.ATT_VALUE && token.getType() == Token.TAG) { HtmlTag tag = (HtmlTag) token.getValue(); if (tag.getTagType() == HtmlTag.Type.TD) { // parse the attribute values parseAttributeValue(bug, attribute, tokenizer, serverUrl, userName, password); state = ParserState.ATT_NAME; attribute = null; continue; } } // we have found the start of a comment if (state == ParserState.DESC_START && token.getType() == Token.TAG) { HtmlTag tag = (HtmlTag) token.getValue(); if (tag.getTagType() == HtmlTag.Type.I) { // parse the comment's start comment = parseCommentHead(bug, tokenizer); state = ParserState.DESC_VALUE; continue; } } // we have found the start of the comment text if (state == ParserState.DESC_VALUE && token.getType() == Token.TAG) { HtmlTag tag = (HtmlTag) token.getValue(); if (tag.getTagType() == HtmlTag.Type.PRE) { // parse the text of the comment parseCommentText(bug, comment, tokenizer); comment = null; state = ParserState.DESC_START; continue; } } // we have found the description of the bug if ((state == ParserState.ATT_NAME || state == ParserState.START) && token.getType() == Token.TAG) { HtmlTag tag = (HtmlTag) token.getValue(); if (tag.getTagType() == HtmlTag.Type.PRE) { // parse the description for the bug parseDescription(bug, tokenizer); state = ParserState.DESC_START; continue; } } // parse hidden fields if ((state == ParserState.ATT_NAME || state == ParserState.START) && token.getType() == Token.TAG) { HtmlTag tag = (HtmlTag) token.getValue(); if (tag.getTagType() == HtmlTag.Type.INPUT && tag.getAttribute("type") != null && "hidden".equalsIgnoreCase(tag.getAttribute("type").trim())) { Attribute a = new Attribute(tag.getAttribute("name")); a.setParameterName(tag.getAttribute("name")); a.setValue(tag.getAttribute("value")); a.setHidden(true); bug.addAttribute(a); continue; } } } // if we are to check the body, make sure that there wasn't a bad login if (checkBody) { String b = body.toString(); if (b.indexOf("login") != -1 || ((b.indexOf("invalid") != -1 || b.indexOf("not valid") != -1) && b.indexOf("password") != -1) || b.indexOf("check e-mail") != -1) possibleBadLogin = true; // we possibly have a bad login } // if there is no summary or created date, we expect that // the bug doesn't exist, so set it to null // if the bug seems like it doesn't exist, and we suspect a login // problem, assume that there was a login problem if (bug.getCreated() == null && bug.getAttributes().isEmpty()) { if (possibleBadLogin) { throw new LoginException(IBugzillaConstants.MESSAGE_LOGIN_FAILURE); } else { return null; } } // we are done...return the bug return bug; }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/2c57c682797fcf6e7969d662a7030b293027a046/BugParser.java/clean/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/internal/BugParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
16907,
4820,
1109,
19865,
12,
2514,
316,
16,
509,
612,
16,
514,
1438,
1489,
16,
1250,
353,
22,
2643,
16,
514,
12065,
16,
1082,
202,
780,
2201,
16,
514,
5064,
13,
1216,
1860,
16,
10616,
16,
11744,
503,
288,
202,
202,
759,
752,
279,
394,
7934,
2605,
471,
444,
326,
2082,
919,
358,
326,
787,
919,
202,
202,
19865,
4820,
7934,
273,
394,
16907,
4820,
12,
350,
16,
1438,
1489,
1769,
202,
202,
6494,
5064,
12793,
273,
629,
31,
202,
202,
430,
261,
22194,
480,
446,
13,
288,
1082,
202,
780,
4856,
1265,
8046,
273,
30428,
9193,
12,
22194,
1769,
1082,
202,
430,
261,
9999,
1265,
8046,
480,
446,
13,
288,
9506,
202,
925,
18,
542,
9652,
12,
9999,
1265,
8046,
1769,
9506,
202,
22194,
12793,
273,
638,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
2678,
1119,
919,
273,
6783,
1119,
18,
7570,
31,
202,
202,
4469,
2879,
273,
446,
31,
202,
202,
780,
1566,
273,
446,
31,
202,
202,
4353,
1228,
10524,
10123,
273,
394,
5430,
1228,
10524,
12,
267,
16,
446,
1769,
202,
202,
6494,
353,
4247,
273,
629,
31,
202,
202,
6494,
3323,
6434,
5358,
273,
629,
31,
202,
202,
6494,
866,
2250,
273,
629,
31,
202,
202,
780,
2077,
273,
1408,
31,
202,
202,
780,
1892,
1417,
273,
394,
6674,
5621,
202,
202,
1884,
261,
1345,
1147,
273,
10123,
18,
4285,
1345,
5621,
1147,
18,
588,
559,
1435,
480,
3155,
18,
12706,
31,
1147,
273,
10123,
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,
760,
16907,
4820,
1109,
19865,
12,
2514,
316,
16,
509,
612,
16,
514,
1438,
1489,
16,
1250,
353,
22,
2643,
16,
514,
12065,
16,
1082,
202,
780,
2201,
16,
514,
5064,
13,
1216,
1860,
16,
10616,
16,
11744,
503,
288,
202,
202,
759,
752,
279,
394,
7934,
2605,
471,
444,
326,
2082,
919,
358,
326,
787,
919,
202,
202,
19865,
4820,
7934,
273,
394,
16907,
4820,
12,
350,
16,
1438,
1489,
1769,
202,
202,
6494,
5064,
12793,
273,
629,
31,
202,
202,
430,
261,
22194,
480,
446,
13,
288,
1082,
202,
780,
4856,
1265,
8046,
273,
30428,
9193,
12,
22194,
1769,
1082,
202,
430,
261,
9999,
1265,
8046,
480,
446,
13,
288,
9506,
202,
925,
18,
2
] |
||
public JobEntryInterface open() { Shell parent = getParent(); Display display = parent.getDisplay(); shell = new Shell(parent, SWT.DIALOG_TRIM | SWT.RESIZE | SWT.MAX | SWT.MIN); props.setLook(shell); ModifyListener lsMod = new ModifyListener() { public void modifyText(ModifyEvent e) { jobentry.setChanged(); } }; changed = jobentry.hasChanged(); FormLayout formLayout = new FormLayout (); formLayout.marginWidth = Const.FORM_MARGIN; formLayout.marginHeight = Const.FORM_MARGIN; shell.setLayout(formLayout); shell.setText("Get files by FTP"); int middle = props.getMiddlePct(); int margin = Const.MARGIN; // Filename line wlName=new Label(shell, SWT.RIGHT); wlName.setText("Job entry name "); props.setLook(wlName); fdlName=new FormData(); fdlName.left = new FormAttachment(0, 0); fdlName.right= new FormAttachment(middle, -margin); fdlName.top = new FormAttachment(0, margin); wlName.setLayoutData(fdlName); wName=new Text(shell, SWT.SINGLE | SWT.LEFT | SWT.BORDER); props.setLook(wName); wName.addModifyListener(lsMod); fdName=new FormData(); fdName.left = new FormAttachment(middle, 0); fdName.top = new FormAttachment(0, margin); fdName.right= new FormAttachment(100, 0); wName.setLayoutData(fdName); // ServerName line wlServerName=new Label(shell, SWT.RIGHT); wlServerName.setText("FTP-server name (IP)"); props.setLook(wlServerName); fdlServerName=new FormData(); fdlServerName.left = new FormAttachment(0, 0); fdlServerName.top = new FormAttachment(wName, margin); fdlServerName.right= new FormAttachment(middle, -margin); wlServerName.setLayoutData(fdlServerName); wServerName=new Text(shell, SWT.SINGLE | SWT.LEFT | SWT.BORDER); props.setLook(wServerName); wServerName.addModifyListener(lsMod); fdServerName=new FormData(); fdServerName.left = new FormAttachment(middle, 0); fdServerName.top = new FormAttachment(wName, margin); fdServerName.right= new FormAttachment(100, 0); wServerName.setLayoutData(fdServerName); // UserName line wlUserName=new Label(shell, SWT.RIGHT); wlUserName.setText("Username"); props.setLook(wlUserName); fdlUserName=new FormData(); fdlUserName.left = new FormAttachment(0, 0); fdlUserName.top = new FormAttachment(wServerName, margin); fdlUserName.right= new FormAttachment(middle, -margin); wlUserName.setLayoutData(fdlUserName); wUserName=new Text(shell, SWT.SINGLE | SWT.LEFT | SWT.BORDER); props.setLook(wUserName); wUserName.addModifyListener(lsMod); fdUserName=new FormData(); fdUserName.left = new FormAttachment(middle, 0); fdUserName.top = new FormAttachment(wServerName, margin); fdUserName.right= new FormAttachment(100, 0); wUserName.setLayoutData(fdUserName); // Password line wlPassword=new Label(shell, SWT.RIGHT); wlPassword.setText("Password"); props.setLook(wlPassword); fdlPassword=new FormData(); fdlPassword.left = new FormAttachment(0, 0); fdlPassword.top = new FormAttachment(wUserName, margin); fdlPassword.right= new FormAttachment(middle, -margin); wlPassword.setLayoutData(fdlPassword); wPassword=new Text(shell, SWT.SINGLE | SWT.LEFT | SWT.BORDER); props.setLook(wPassword); wPassword.setEchoChar('*'); wPassword.addModifyListener(lsMod); fdPassword=new FormData(); fdPassword.left = new FormAttachment(middle, 0); fdPassword.top = new FormAttachment(wUserName, margin); fdPassword.right= new FormAttachment(100, 0); wPassword.setLayoutData(fdPassword); // FtpDirectory line wlFtpDirectory=new Label(shell, SWT.RIGHT); wlFtpDirectory.setText("Remote directory"); props.setLook(wlFtpDirectory); fdlFtpDirectory=new FormData(); fdlFtpDirectory.left = new FormAttachment(0, 0); fdlFtpDirectory.top = new FormAttachment(wPassword, margin); fdlFtpDirectory.right= new FormAttachment(middle, -margin); wlFtpDirectory.setLayoutData(fdlFtpDirectory); wFtpDirectory=new Text(shell, SWT.SINGLE | SWT.LEFT | SWT.BORDER); props.setLook(wFtpDirectory); wFtpDirectory.addModifyListener(lsMod); fdFtpDirectory=new FormData(); fdFtpDirectory.left = new FormAttachment(middle, 0); fdFtpDirectory.top = new FormAttachment(wPassword, margin); fdFtpDirectory.right= new FormAttachment(100, 0); wFtpDirectory.setLayoutData(fdFtpDirectory); // TargetDirectory line wlTargetDirectory=new Label(shell, SWT.RIGHT); wlTargetDirectory.setText("Target directory"); props.setLook(wlTargetDirectory); fdlTargetDirectory=new FormData(); fdlTargetDirectory.left = new FormAttachment(0, 0); fdlTargetDirectory.top = new FormAttachment(wFtpDirectory, margin); fdlTargetDirectory.right= new FormAttachment(middle, -margin); wlTargetDirectory.setLayoutData(fdlTargetDirectory); wTargetDirectory=new Text(shell, SWT.SINGLE | SWT.LEFT | SWT.BORDER); props.setLook(wTargetDirectory); wTargetDirectory.addModifyListener(lsMod); fdTargetDirectory=new FormData(); fdTargetDirectory.left = new FormAttachment(middle, 0); fdTargetDirectory.top = new FormAttachment(wFtpDirectory, margin); fdTargetDirectory.right= new FormAttachment(100, 0); wTargetDirectory.setLayoutData(fdTargetDirectory); // Wildcard line wlWildcard=new Label(shell, SWT.RIGHT); wlWildcard.setText("Wildcard (regular expression)"); props.setLook(wlWildcard); fdlWildcard=new FormData(); fdlWildcard.left = new FormAttachment(0, 0); fdlWildcard.top = new FormAttachment(wTargetDirectory, margin); fdlWildcard.right= new FormAttachment(middle, -margin); wlWildcard.setLayoutData(fdlWildcard); wWildcard=new Text(shell, SWT.SINGLE | SWT.LEFT | SWT.BORDER); props.setLook(wWildcard); wWildcard.addModifyListener(lsMod); fdWildcard=new FormData(); fdWildcard.left = new FormAttachment(middle, 0); fdWildcard.top = new FormAttachment(wTargetDirectory, margin); fdWildcard.right= new FormAttachment(100, 0); wWildcard.setLayoutData(fdWildcard); // Binary mode selection... wlBinaryMode=new Label(shell, SWT.RIGHT); wlBinaryMode.setText("Use binary mode? "); props.setLook(wlBinaryMode); fdlBinaryMode=new FormData(); fdlBinaryMode.left = new FormAttachment(0, 0); fdlBinaryMode.top = new FormAttachment(wWildcard, margin); fdlBinaryMode.right= new FormAttachment(middle, -margin); wlBinaryMode.setLayoutData(fdlBinaryMode); wBinaryMode=new Button(shell, SWT.CHECK); props.setLook(wBinaryMode); fdBinaryMode=new FormData(); fdBinaryMode.left = new FormAttachment(middle, 0); fdBinaryMode.top = new FormAttachment(wWildcard, margin); fdBinaryMode.right= new FormAttachment(100, 0); wBinaryMode.setLayoutData(fdBinaryMode); // Timeout line wlTimeout=new Label(shell, SWT.RIGHT); wlTimeout.setText("Timeout"); props.setLook(wlTimeout); fdlTimeout=new FormData(); fdlTimeout.left = new FormAttachment(0, 0); fdlTimeout.top = new FormAttachment(wlBinaryMode, margin); fdlTimeout.right= new FormAttachment(middle, -margin); wlTimeout.setLayoutData(fdlTimeout); wTimeout=new Text(shell, SWT.SINGLE | SWT.LEFT | SWT.BORDER); props.setLook(wTimeout); wTimeout.addModifyListener(lsMod); fdTimeout=new FormData(); fdTimeout.left = new FormAttachment(middle, 0); fdTimeout.top = new FormAttachment(wlBinaryMode, margin); fdTimeout.right= new FormAttachment(100, 0); wTimeout.setLayoutData(fdTimeout); // Remove files after retreival... wlRemove=new Label(shell, SWT.RIGHT); wlRemove.setText("Remove files after retreival? "); props.setLook(wlRemove); fdlRemove=new FormData(); fdlRemove.left = new FormAttachment(0, 0); fdlRemove.top = new FormAttachment(wTimeout, margin); fdlRemove.right= new FormAttachment(middle, -margin); wlRemove.setLayoutData(fdlRemove); wRemove=new Button(shell, SWT.CHECK); props.setLook(wRemove); fdRemove=new FormData(); fdRemove.left = new FormAttachment(middle, 0); fdRemove.top = new FormAttachment(wTimeout, margin); fdRemove.right= new FormAttachment(100, 0); wRemove.setLayoutData(fdRemove); // OnlyNew files after retreival... wlOnlyNew=new Label(shell, SWT.RIGHT); wlOnlyNew.setText("Only download new files?"); props.setLook(wlOnlyNew); fdlOnlyNew=new FormData(); fdlOnlyNew.left = new FormAttachment(0, 0); fdlOnlyNew.top = new FormAttachment(wRemove, margin); fdlOnlyNew.right= new FormAttachment(middle, -margin); wlOnlyNew.setLayoutData(fdlOnlyNew); wOnlyNew=new Button(shell, SWT.CHECK); props.setLook(wOnlyNew); fdOnlyNew=new FormData(); fdOnlyNew.left = new FormAttachment(middle, 0); fdOnlyNew.top = new FormAttachment(wRemove, margin); fdOnlyNew.right= new FormAttachment(100, 0); wOnlyNew.setLayoutData(fdOnlyNew); wOK=new Button(shell, SWT.PUSH); wOK.setText(" &OK "); wCancel=new Button(shell, SWT.PUSH); wCancel.setText(" &Cancel "); BaseStepDialog.positionBottomButtons(shell, new Button[] { wOK, wCancel }, margin, wOnlyNew); // Add listeners lsCancel = new Listener() { public void handleEvent(Event e) { cancel(); } }; lsOK = new Listener() { public void handleEvent(Event e) { ok(); } }; wCancel.addListener(SWT.Selection, lsCancel); wOK.addListener (SWT.Selection, lsOK ); lsDef=new SelectionAdapter() { public void widgetDefaultSelected(SelectionEvent e) { ok(); } }; wName.addSelectionListener( lsDef ); wServerName.addSelectionListener( lsDef ); wUserName.addSelectionListener( lsDef ); wPassword.addSelectionListener( lsDef ); wFtpDirectory.addSelectionListener( lsDef ); wTargetDirectory.addSelectionListener( lsDef ); wFtpDirectory.addSelectionListener( lsDef ); wWildcard.addSelectionListener( lsDef ); wTimeout.addSelectionListener( lsDef ); // Detect X or ALT-F4 or something that kills this window... shell.addShellListener( new ShellAdapter() { public void shellClosed(ShellEvent e) { cancel(); } } ); getData(); BaseStepDialog.setSize(shell); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } return jobentry; }
|
58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/786d4c7e68f23c4c038d9651f65b265e02b991d1/JobEntryFTPDialog.java/buggy/kettle/src/be/ibridge/kettle/job/entry/ftp/JobEntryFTPDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3956,
1622,
1358,
1696,
1435,
202,
95,
202,
202,
13220,
982,
273,
5089,
5621,
202,
202,
4236,
2562,
273,
982,
18,
588,
4236,
5621,
3639,
5972,
273,
394,
19433,
12,
2938,
16,
348,
8588,
18,
2565,
18683,
67,
6566,
49,
571,
348,
8588,
18,
862,
4574,
571,
348,
8588,
18,
6694,
571,
348,
8588,
18,
6236,
1769,
3196,
202,
9693,
18,
542,
9794,
12,
10304,
1769,
202,
202,
11047,
2223,
7180,
1739,
273,
394,
9518,
2223,
1435,
3196,
202,
95,
1082,
202,
482,
918,
5612,
1528,
12,
11047,
1133,
425,
13,
1875,
202,
95,
9506,
202,
4688,
4099,
18,
542,
5033,
5621,
1082,
202,
97,
202,
202,
20451,
202,
202,
6703,
273,
1719,
4099,
18,
5332,
5033,
5621,
202,
202,
1204,
3744,
646,
3744,
273,
394,
2748,
3744,
261,
1769,
202,
202,
687,
3744,
18,
10107,
2384,
225,
273,
9333,
18,
4983,
67,
19772,
7702,
31,
202,
202,
687,
3744,
18,
10107,
2686,
273,
9333,
18,
4983,
67,
19772,
7702,
31,
202,
202,
10304,
18,
542,
3744,
12,
687,
3744,
1769,
202,
202,
10304,
18,
542,
1528,
2932,
967,
1390,
635,
19324,
8863,
9506,
202,
474,
7689,
273,
3458,
18,
588,
21924,
52,
299,
5621,
202,
202,
474,
7333,
273,
9333,
18,
19772,
7702,
31,
202,
202,
759,
16671,
980,
202,
202,
21504,
461,
33,
2704,
5287,
12,
10304,
16,
348,
8588,
18,
11847,
1769,
202,
202,
21504,
461,
18,
542,
1528,
2932,
2278,
1241,
508,
315,
1769,
3196,
202,
9693,
18,
542,
9794,
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,
3956,
1622,
1358,
1696,
1435,
202,
95,
202,
202,
13220,
982,
273,
5089,
5621,
202,
202,
4236,
2562,
273,
982,
18,
588,
4236,
5621,
3639,
5972,
273,
394,
19433,
12,
2938,
16,
348,
8588,
18,
2565,
18683,
67,
6566,
49,
571,
348,
8588,
18,
862,
4574,
571,
348,
8588,
18,
6694,
571,
348,
8588,
18,
6236,
1769,
3196,
202,
9693,
18,
542,
9794,
12,
10304,
1769,
202,
202,
11047,
2223,
7180,
1739,
273,
394,
9518,
2223,
1435,
3196,
202,
95,
1082,
202,
482,
918,
5612,
1528,
12,
11047,
1133,
425,
13,
1875,
202,
95,
9506,
202,
4688,
4099,
18,
542,
5033,
5621,
1082,
202,
97,
202,
202,
20451,
202,
202,
6703,
273,
1719,
4099,
18,
5332,
2
] |
||
result[k] = new TemplateDomainObject( id, name );
|
result[k] = new TemplateGroupDomainObject( id, name );
|
private static TemplateDomainObject[] sprocGetTemplateGroupsForUser( IMCService service, int user_id, int meta_id ){ String[] params = new String[]{ String.valueOf(meta_id), String.valueOf(user_id)}; String[] sprocResult = service.sqlProcedure( SPROC_GET_TEMPLATE_GROUPS_FOR_USER, params ); int noOfColumnsInResult = 2; TemplateDomainObject[] result = new TemplateDomainObject[sprocResult.length/noOfColumnsInResult]; for( int i = 0, k = 0 ; i < sprocResult.length; i=i + noOfColumnsInResult, k++ ) { String name = sprocResult[i+1]; int id = Integer.parseInt(sprocResult[i]); result[k] = new TemplateDomainObject( id, name ); } return result; }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/d18f19a08ed65cf09a35ee11134c140ab1d561e0/TemplateMapper.java/buggy/server/src/imcode/server/document/TemplateMapper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
5035,
3748,
921,
8526,
272,
9381,
967,
2283,
3621,
19894,
12,
6246,
39,
1179,
1156,
16,
509,
729,
67,
350,
16,
509,
2191,
67,
350,
262,
95,
3639,
514,
8526,
859,
273,
394,
514,
63,
7073,
514,
18,
1132,
951,
12,
3901,
67,
350,
3631,
514,
18,
1132,
951,
12,
1355,
67,
350,
16869,
31,
3639,
514,
8526,
272,
9381,
1253,
273,
1156,
18,
4669,
17213,
12,
348,
3373,
39,
67,
3264,
67,
12205,
67,
28977,
67,
7473,
67,
4714,
16,
859,
11272,
3639,
509,
1158,
951,
3380,
382,
1253,
273,
576,
31,
3639,
5035,
3748,
921,
8526,
563,
273,
394,
5035,
3748,
921,
63,
87,
9381,
1253,
18,
2469,
19,
2135,
951,
3380,
382,
1253,
15533,
3639,
364,
12,
509,
277,
273,
374,
16,
417,
273,
374,
274,
277,
411,
272,
9381,
1253,
18,
2469,
31,
277,
33,
77,
397,
1158,
951,
3380,
382,
1253,
16,
417,
9904,
262,
288,
5411,
514,
508,
273,
272,
9381,
1253,
63,
77,
15,
21,
15533,
5411,
509,
612,
273,
2144,
18,
2670,
1702,
12,
87,
9381,
1253,
63,
77,
19226,
5411,
563,
63,
79,
65,
273,
394,
5035,
1114,
3748,
921,
12,
612,
16,
508,
11272,
3639,
289,
3639,
327,
563,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
5035,
3748,
921,
8526,
272,
9381,
967,
2283,
3621,
19894,
12,
6246,
39,
1179,
1156,
16,
509,
729,
67,
350,
16,
509,
2191,
67,
350,
262,
95,
3639,
514,
8526,
859,
273,
394,
514,
63,
7073,
514,
18,
1132,
951,
12,
3901,
67,
350,
3631,
514,
18,
1132,
951,
12,
1355,
67,
350,
16869,
31,
3639,
514,
8526,
272,
9381,
1253,
273,
1156,
18,
4669,
17213,
12,
348,
3373,
39,
67,
3264,
67,
12205,
67,
28977,
67,
7473,
67,
4714,
16,
859,
11272,
3639,
509,
1158,
951,
3380,
382,
1253,
273,
576,
31,
3639,
5035,
3748,
921,
8526,
563,
273,
394,
5035,
3748,
921,
63,
87,
9381,
1253,
18,
2469,
19,
2135,
951,
3380,
382,
1253,
2
] |
else if (m_definition.inTransformationScope(cg.getClassName())) {
|
if (!m_definition.inTransformationScope(cg.getClassName())) { return true; } if (m_definition.hasMethodPointcut(classMetaData) || m_definition.hasThrowsPointcut(classMetaData)) {
|
private boolean classFilter(final ClassGen cg) { if (cg.isInterface() || cg.getSuperclassName().equals("org.codehaus.aspectwerkz.advice.AroundAdvice") || cg.getSuperclassName().equals("org.codehaus.aspectwerkz.advice.PreAdvice") || cg.getSuperclassName().equals("org.codehaus.aspectwerkz.advice.PostAdvice")) { return true; } else if (m_definition.inTransformationScope(cg.getClassName())) { return false; } else { return true; } }
|
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/0ad3b8b0b4c8cf5efd75d59ea014b0d7f710afd3/AdviseStaticMethodTransformer.java/clean/aspectwerkz/src/main/org/codehaus/aspectwerkz/transform/AdviseStaticMethodTransformer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
667,
1586,
12,
6385,
1659,
7642,
14947,
13,
288,
3639,
309,
261,
26275,
18,
291,
1358,
1435,
747,
7734,
14947,
18,
588,
8051,
12434,
7675,
14963,
2932,
3341,
18,
710,
3395,
407,
18,
23579,
2051,
79,
94,
18,
361,
633,
18,
30022,
1871,
633,
7923,
747,
7734,
14947,
18,
588,
8051,
12434,
7675,
14963,
2932,
3341,
18,
710,
3395,
407,
18,
23579,
2051,
79,
94,
18,
361,
633,
18,
1386,
1871,
633,
7923,
747,
7734,
14947,
18,
588,
8051,
12434,
7675,
14963,
2932,
3341,
18,
710,
3395,
407,
18,
23579,
2051,
79,
94,
18,
361,
633,
18,
3349,
1871,
633,
6,
3719,
288,
5411,
327,
638,
31,
3639,
289,
3639,
309,
16051,
81,
67,
6907,
18,
267,
15292,
3876,
12,
26275,
18,
588,
3834,
1435,
3719,
288,
327,
638,
31,
289,
309,
261,
81,
67,
6907,
18,
5332,
1305,
2148,
5150,
12,
1106,
6998,
13,
747,
312,
67,
6907,
18,
5332,
21845,
2148,
5150,
12,
1106,
6998,
3719,
288,
5411,
327,
629,
31,
3639,
289,
3639,
469,
288,
5411,
327,
638,
31,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
667,
1586,
12,
6385,
1659,
7642,
14947,
13,
288,
3639,
309,
261,
26275,
18,
291,
1358,
1435,
747,
7734,
14947,
18,
588,
8051,
12434,
7675,
14963,
2932,
3341,
18,
710,
3395,
407,
18,
23579,
2051,
79,
94,
18,
361,
633,
18,
30022,
1871,
633,
7923,
747,
7734,
14947,
18,
588,
8051,
12434,
7675,
14963,
2932,
3341,
18,
710,
3395,
407,
18,
23579,
2051,
79,
94,
18,
361,
633,
18,
1386,
1871,
633,
7923,
747,
7734,
14947,
18,
588,
8051,
12434,
7675,
14963,
2932,
3341,
18,
710,
3395,
407,
18,
23579,
2051,
79,
94,
18,
361,
633,
18,
3349,
1871,
633,
6,
3719,
288,
5411,
327,
638,
31,
3639,
289,
3639,
309,
16051,
81,
67,
6907,
18,
2
] |
if (DEBUG) System.out.println("[trace reconciler] > translating JSP in JSP TRANSLATE step");
|
protected IReconcileResult[] reconcileModel(DirtyRegion dirtyRegion, IRegion subRegion) { if (DEBUG) System.out.println("[trace reconciler] > translating JSP in JSP TRANSLATE step"); //$NON-NLS-1$ if (isCanceled() || dirtyRegion == null) return EMPTY_RECONCILE_RESULT_SET; // create java model for java reconcile JSPTranslationAdapter adapter = getJSPTranslationAdapter(); if (adapter != null) { fJSPTranslation = adapter.getJSPTranslation(); fModel = new JSPTranslationWrapper(fJSPTranslation); if (DEBUG) { System.out.println("[trace reconciler] > JSP TRANSLATE step done"); //$NON-NLS-1$ } return EMPTY_RECONCILE_RESULT_SET; } return adaptELProblems(); }
|
13989 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13989/88fd1b5f2d7c59c18d16acd40fbb443dd6f8a190/ReconcileStepForJspTranslation.java/clean/bundles/org.eclipse.jst.jsp.ui/src/org/eclipse/jst/jsp/ui/internal/reconcile/ReconcileStepForJspTranslation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
467,
426,
11504,
398,
1253,
8526,
27163,
1488,
12,
10785,
5165,
9603,
5165,
16,
467,
5165,
720,
5165,
13,
288,
202,
202,
430,
261,
9394,
13,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
63,
5129,
19078,
2895,
65,
405,
2162,
1776,
804,
3118,
316,
804,
3118,
14996,
4559,
1777,
2235,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
430,
261,
291,
23163,
1435,
747,
9603,
5165,
422,
446,
13,
1082,
202,
2463,
8984,
67,
862,
2248,
7266,
900,
67,
12289,
67,
4043,
31,
202,
202,
759,
752,
2252,
938,
364,
2252,
27163,
202,
202,
46,
3118,
6717,
4216,
4516,
273,
9285,
3118,
6717,
4216,
5621,
202,
202,
430,
261,
10204,
480,
446,
13,
288,
1082,
202,
74,
46,
3118,
6717,
273,
4516,
18,
588,
46,
3118,
6717,
5621,
1082,
202,
74,
1488,
273,
394,
804,
3118,
6717,
3611,
12,
74,
46,
3118,
6717,
1769,
1082,
202,
430,
261,
9394,
13,
288,
9506,
202,
3163,
18,
659,
18,
8222,
2932,
63,
5129,
19078,
2895,
65,
405,
804,
3118,
14996,
4559,
1777,
2235,
2731,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
97,
1082,
202,
2463,
8984,
67,
862,
2248,
7266,
900,
67,
12289,
67,
4043,
31,
202,
202,
97,
202,
202,
2463,
5855,
2247,
626,
19122,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
467,
426,
11504,
398,
1253,
8526,
27163,
1488,
12,
10785,
5165,
9603,
5165,
16,
467,
5165,
720,
5165,
13,
288,
202,
202,
430,
261,
9394,
13,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
63,
5129,
19078,
2895,
65,
405,
2162,
1776,
804,
3118,
316,
804,
3118,
14996,
4559,
1777,
2235,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
430,
261,
291,
23163,
1435,
747,
9603,
5165,
422,
446,
13,
1082,
202,
2463,
8984,
67,
862,
2248,
7266,
900,
67,
12289,
67,
4043,
31,
202,
202,
759,
752,
2252,
938,
364,
2252,
27163,
202,
202,
46,
3118,
6717,
4216,
4516,
273,
9285,
3118,
6717,
4216,
5621,
202,
202,
430,
261,
10204,
480,
446,
13,
2
] |
|
} catch ( IOException ex )
|
} catch ( IOException ex )
|
public void loadScript( String fileName ) { File script = new File( report.getBasePath( ), fileName ); // read the script in the file, and execution. try { FileInputStream in = new FileInputStream( script ); byte[] buffer = new byte[in.available( )]; in.read( buffer ); execute( new String( buffer, "UTF-8" ), fileName, 1 ); //$NON-NLS-1$ in.close( ); } catch ( IOException ex ) { log.log( Level.SEVERE, "loading external script file " + fileName + " failed.", //$NON-NLS-1$ //$NON-NLS-2$ ex ); addException( new EngineException( MessageConstants.SCRIPT_FILE_LOAD_ERROR, script .getAbsolutePath( ), ex ) ); //$NON-NLS-1$ // TODO This is a fatal error. Should throw an exception. } }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/c0422a1db84842d1e332663c3d4c7e2a8109aca8/ExecutionContext.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1262,
3651,
12,
514,
3968,
262,
202,
95,
202,
202,
812,
2728,
273,
394,
1387,
12,
2605,
18,
588,
15912,
12,
262,
16,
3968,
11272,
202,
202,
759,
855,
326,
2728,
316,
326,
585,
16,
471,
4588,
18,
202,
202,
698,
202,
202,
95,
1082,
202,
812,
4348,
316,
273,
394,
11907,
12,
2728,
11272,
1082,
202,
7229,
8526,
1613,
273,
394,
1160,
63,
267,
18,
5699,
12,
262,
15533,
1082,
202,
267,
18,
896,
12,
1613,
11272,
1082,
202,
8837,
12,
394,
514,
12,
1613,
16,
315,
5159,
17,
28,
6,
262,
16,
3968,
16,
404,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
267,
18,
4412,
12,
11272,
202,
202,
97,
202,
202,
14683,
261,
1860,
431,
262,
202,
202,
95,
1082,
202,
1330,
18,
1330,
12,
4557,
18,
1090,
2204,
41,
16,
6862,
202,
6,
15174,
3903,
2728,
585,
315,
397,
3968,
397,
315,
2535,
1199,
16,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
6862,
202,
338,
11272,
1082,
202,
1289,
503,
12,
394,
10507,
503,
12,
6862,
202,
1079,
2918,
18,
10885,
67,
3776,
67,
7783,
67,
3589,
16,
2728,
6862,
1082,
202,
18,
588,
10368,
743,
12,
262,
16,
431,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
759,
2660,
1220,
353,
279,
10081,
555,
18,
9363,
604,
392,
1520,
18,
202,
202,
97,
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,
482,
918,
1262,
3651,
12,
514,
3968,
262,
202,
95,
202,
202,
812,
2728,
273,
394,
1387,
12,
2605,
18,
588,
15912,
12,
262,
16,
3968,
11272,
202,
202,
759,
855,
326,
2728,
316,
326,
585,
16,
471,
4588,
18,
202,
202,
698,
202,
202,
95,
1082,
202,
812,
4348,
316,
273,
394,
11907,
12,
2728,
11272,
1082,
202,
7229,
8526,
1613,
273,
394,
1160,
63,
267,
18,
5699,
12,
262,
15533,
1082,
202,
267,
18,
896,
12,
1613,
11272,
1082,
202,
8837,
12,
394,
514,
12,
1613,
16,
315,
5159,
17,
28,
6,
262,
16,
3968,
16,
404,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
267,
18,
4412,
12,
11272,
202,
202,
97,
2
] |
private static Object[][] resize(Object array[][], int newsize) { Object newarray[][] = new Object[newsize][];
|
private static byte[][] resize(byte array[][], int newsize) { byte newarray[][] = new byte[newsize][];
|
private static Object[][] resize(Object array[][], int newsize) { Object newarray[][] = new Object[newsize][]; System.arraycopy(array, 0, newarray, 0, array.length); return newarray; }
|
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/5308e75bb25cdec66f898b7bf734e44b44f5db3b/AbstractDTDGrammar.java/clean/src/org/apache/xerces/impl/dtd/AbstractDTDGrammar.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1033,
63,
6362,
65,
7041,
12,
921,
526,
63,
6362,
6487,
509,
394,
1467,
13,
288,
3639,
1033,
394,
1126,
63,
6362,
65,
273,
394,
1033,
63,
2704,
1467,
6362,
15533,
3639,
2332,
18,
1126,
3530,
12,
1126,
16,
374,
16,
394,
1126,
16,
374,
16,
526,
18,
2469,
1769,
3639,
327,
394,
1126,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3238,
760,
1033,
63,
6362,
65,
7041,
12,
921,
526,
63,
6362,
6487,
509,
394,
1467,
13,
288,
3639,
1033,
394,
1126,
63,
6362,
65,
273,
394,
1033,
63,
2704,
1467,
6362,
15533,
3639,
2332,
18,
1126,
3530,
12,
1126,
16,
374,
16,
394,
1126,
16,
374,
16,
526,
18,
2469,
1769,
3639,
327,
394,
1126,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
case 9: { String s = yytext(); if(s.startsWith("url")) throwError("Invalid contents of url()"); w.write(s); if(debug) log("Matched function start: "+s); } case 46: break;
|
public Yytoken yylex() throws java.io.IOException { int zzInput; int zzAction; // cached fields: int zzCurrentPosL; int zzMarkedPosL; int zzEndReadL = zzEndRead; char [] zzBufferL = zzBuffer; char [] zzCMapL = ZZ_CMAP; int [] zzTransL = ZZ_TRANS; int [] zzRowMapL = ZZ_ROWMAP; int [] zzAttrL = ZZ_ATTRIBUTE; while (true) { zzMarkedPosL = zzMarkedPos; zzAction = -1; zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL; zzState = zzLexicalState; zzForAction: { while (true) { if (zzCurrentPosL < zzEndReadL) zzInput = zzBufferL[zzCurrentPosL++]; else if (zzAtEOF) { zzInput = YYEOF; break zzForAction; } else { // store back cached positions zzCurrentPos = zzCurrentPosL; zzMarkedPos = zzMarkedPosL; boolean eof = zzRefill(); // get translated positions and possibly new buffer zzCurrentPosL = zzCurrentPos; zzMarkedPosL = zzMarkedPos; zzBufferL = zzBuffer; zzEndReadL = zzEndRead; if (eof) { zzInput = YYEOF; break zzForAction; } else { zzInput = zzBufferL[zzCurrentPosL++]; } } int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ]; if (zzNext == -1) break zzForAction; zzState = zzNext; int zzAttributes = zzAttrL[zzState]; if ( (zzAttributes & 1) == 1 ) { zzAction = zzState; zzMarkedPosL = zzCurrentPosL; if ( (zzAttributes & 8) == 8 ) break zzForAction; } } } // store back cached position zzMarkedPos = zzMarkedPosL; switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) { case 18: { String s = yytext(); w.write(s); if(debug) log("Matched unicode: "+s); } case 31: break; case 8: { String s = yytext(); w.write(s); if(debug) log("Matched close braces: "+s); } case 32: break; case 21: { String s = yytext(); w.write(s); if(debug) log("Matched HTML comment: "+s); } case 33: break; case 15: { String s = yytext(); w.write(s); if(debug) log("Matched ~=: "+s); } case 34: break; case 12: { String s = yytext(); if(debug) log("Matched string: "+s); if(paranoidStringCheck && s.indexOf(':') != -1) { w.write("/* Deleted disallowed string */"); log("Deleted disallowed string: "+s); } else { w.write(s); } } case 35: break; case 24: { String s = yytext(); w.write(s); if(debug) log("Matched @page: "+s); } case 36: break; case 13: { String s = yytext(); w.write(s); if(debug) log("Matched number: "+s); } case 37: break; case 1: { String s = yytext(); char c = s.charAt(0); log("Matched anything: "+yytext()+" - ignoring"); w.write("/* ignored unmatched char: "+c+" */"); // single char cannot break out of comment } case 38: break; case 6: { String s = yytext(); w.write(s); if(debug) log("Matched semicolon: "+s); } case 39: break; case 19: { String s = yytext(); if(debug) log("Got hexcolor: "+s); w.write(s); } case 40: break; case 7: { String s = yytext(); w.write(s); if(debug) log("Matched open braces: "+s); } case 41: break; case 26: { String s = yytext(); s = s.substring("@media".length()).trim(); w.write("@media "+s+" "); if(debug) log("Matched @media: "+s); } case 42: break; case 2: { String s = yytext(); w.write(s); if(debug) log("Matched ident: "+s); } case 43: break; case 23: { String s = yytext(); w.write(s); if(debug) log("Matched unicode range: "+s); } case 44: break; case 28: { String s = yytext(); w.write(s); if(debug) log("Matched @font-face: "+s); } case 45: break; case 9: { String s = yytext(); if(s.startsWith("url")) throwError("Invalid contents of url()"); w.write(s); if(debug) log("Matched function start: "+s); } case 46: break; case 17: { String s = yytext(); w.write(s); if(debug) log("Matched HTML comment: "+s); } case 47: break; case 3: { String s = yytext(); w.write(s); if(debug) log("Matched whitespace: "+s); } case 48: break; case 22: { String s = yytext(); if(debug) log("Ignoring unrecognizable url: "+s); w.write("/* Ignoring unmatchable URL */url()"); } case 49: break; case 27: { String s = yytext(); if(debug) log("Found @import: "+s); s = s.substring("@import".length()); s = s.trim(); DecodedStringThingy dst = new DecodedStringThingy(s); s = dst.data; if(debug) log("URL: "+s); s = processImportURL(s); dst.data = s; if(debug) log("Processed URL: "+s); if(dst.quote == ' ') dst.quote = '\"'; if (!(s == null || s.equals(""))) { if(debug) log("URL now: "+s); s = "@import "+dst.toString(); if(debug) log("Writing: "+s); w.write(s); } else if(debug) log("Dropped @import"); } case 50: break; case 29: { String s = yytext(); w.write(s); if(debug) log("Matched important: "+s); } case 51: break; case 20: { String s = yytext(); StringBuffer sb = new StringBuffer(s.length()); sb.append("/* "); boolean inPrefix = true; for(int i=2;i<s.length()-2;i++) { char c = s.charAt(i); if(inPrefix && Character.isWhitespace(c)) { continue; } inPrefix = false; if(Character.isDigit(c) || Character.isWhitespace(c) || Character.isLetter(c) || c == '.' || c == '_' || c == '-') { // No @, no !, etc; IE has been known to do things with comments // in CSS, and other browsers may too sb.append(c); } } while(Character.isWhitespace(sb.charAt(sb.length()-1))) sb.deleteCharAt(sb.length()-1); sb.append(" */"); w.write(sb.toString()); if(debug) log("Matched comment: "+s+" -> "+sb.toString()); } case 52: break; case 25: { // This is horrible. However it seems that there is no other way to do it with either jflex or CUP, as {URL} cannot be an unambiguous token :( String s = yytext(); if(debug) log("Recognized URL: "+s); DecodedStringThingy dst = new DecodedStringThingy(s); if(!dst.url) { throw new IllegalStateException("parsing url().. isn't a url()"); } if(dst.suffix.length() > 0) { yypushback(dst.suffix.length()); dst.suffix = ""; } s = dst.data; if(debug) log("URL now: "+s); s = processURL(s); dst.data = s; if(s == null || s.equals("")) { if(debug) log("URL invalid"); w.write("url()"); } else { s = dst.toString(); if(debug) log("Writing: "+s); w.write(s); } } case 53: break; case 11: { String s = yytext(); w.write(s); if(debug) log("Matched measurement: "+s); } case 54: break; case 16: { String s = yytext(); w.write(s); if(debug) log("Matched |=: "+s); } case 55: break; case 30: { String s = yytext(); detectedCharset = s; if(debug) log("Matched and ignoring charset: "+s); // Ignore } case 56: break; case 10: { if(postBadImportFlag) { // Ignore postBadImportFlag = false; if(debug) log("Ignoring mediums list because after bad import: "+ yytext()); } else { String s = yytext(); w.write(s); if(debug) log("Matched and passing on mediums list: "+s); } } case 57: break; case 4: { String s = yytext(); w.write(s); if(debug) log("Matched single char: "+s); } case 58: break; case 14: { String s = yytext(); w.write(s); if(debug) log("Matched #name: "+s); } case 59: break; case 5: { String s = yytext(); w.write(s); if(debug) log("Matched function end: "+s); } case 60: break; default: if (zzInput == YYEOF && zzStartRead == zzCurrentPos) { zzAtEOF = true; return null; } else { zzScanError(ZZ_NO_MATCH); } } } }
|
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/e8996198a75deffbf4dc9e1ed08d3120115f4fa9/CSSTokenizerFilter.java/buggy/src/freenet/clients/http/filter/CSSTokenizerFilter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1624,
93,
2316,
677,
1362,
92,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
509,
11273,
1210,
31,
565,
509,
11273,
1803,
31,
565,
368,
3472,
1466,
30,
565,
509,
11273,
3935,
1616,
48,
31,
565,
509,
11273,
21486,
1616,
48,
31,
565,
509,
11273,
1638,
1994,
48,
273,
11273,
1638,
1994,
31,
565,
1149,
5378,
11273,
1892,
48,
273,
11273,
1892,
31,
565,
1149,
5378,
11273,
39,
863,
48,
273,
2285,
62,
67,
39,
8352,
31,
565,
509,
5378,
11273,
1429,
48,
273,
2285,
62,
67,
16596,
31,
565,
509,
5378,
11273,
1999,
863,
48,
273,
2285,
62,
67,
11226,
8352,
31,
565,
509,
5378,
11273,
3843,
48,
273,
2285,
62,
67,
11616,
31,
565,
1323,
261,
3767,
13,
288,
1377,
11273,
21486,
1616,
48,
273,
11273,
21486,
1616,
31,
1377,
11273,
1803,
273,
300,
21,
31,
1377,
11273,
3935,
1616,
48,
273,
11273,
3935,
1616,
273,
11273,
1685,
1994,
273,
11273,
21486,
1616,
48,
31,
3639,
11273,
1119,
273,
11273,
14756,
1706,
1119,
31,
1377,
11273,
1290,
1803,
30,
288,
3639,
1323,
261,
3767,
13,
288,
2868,
309,
261,
6378,
3935,
1616,
48,
411,
11273,
1638,
1994,
48,
13,
5411,
11273,
1210,
273,
11273,
1892,
48,
63,
6378,
3935,
1616,
48,
9904,
15533,
1850,
469,
309,
261,
6378,
861,
12706,
13,
288,
5411,
11273,
1210,
273,
1624,
61,
12706,
31,
5411,
898,
11273,
1290,
1803,
31,
1850,
289,
1850,
469,
288,
5411,
368,
1707,
1473,
3472,
6865,
5411,
11273,
3935,
1616,
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,
282,
1071,
1624,
93,
2316,
677,
1362,
92,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
509,
11273,
1210,
31,
565,
509,
11273,
1803,
31,
565,
368,
3472,
1466,
30,
565,
509,
11273,
3935,
1616,
48,
31,
565,
509,
11273,
21486,
1616,
48,
31,
565,
509,
11273,
1638,
1994,
48,
273,
11273,
1638,
1994,
31,
565,
1149,
5378,
11273,
1892,
48,
273,
11273,
1892,
31,
565,
1149,
5378,
11273,
39,
863,
48,
273,
2285,
62,
67,
39,
8352,
31,
565,
509,
5378,
11273,
1429,
48,
273,
2285,
62,
67,
16596,
31,
565,
509,
5378,
11273,
1999,
863,
48,
273,
2285,
62,
67,
11226,
8352,
31,
565,
509,
5378,
11273,
3843,
48,
273,
2285,
62,
67,
11616,
31,
565,
2
] |
|
public void run() { if (workbenchWindow == null) { return; } IWorkbenchPage page = workbenchWindow.getActivePage(); if (page == null) { return; }
|
protected void run(IWorkbenchPage page, IPerspectiveDescriptor persp) {
|
public void run() { if (workbenchWindow == null) { // action has been disposed return; } IWorkbenchPage page = workbenchWindow.getActivePage(); if (page == null) { return; } ((WorkbenchPage) page).editActionSets(); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/1aadb33b1696d4c46ccd382efd0fe8706d9923ca/EditActionSetsAction.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditActionSetsAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
309,
261,
1252,
22144,
3829,
422,
446,
13,
288,
5411,
368,
1301,
711,
2118,
1015,
7423,
5411,
327,
31,
3639,
289,
3639,
467,
2421,
22144,
1964,
1363,
273,
1440,
22144,
3829,
18,
588,
3896,
1964,
5621,
3639,
309,
261,
2433,
422,
446,
13,
288,
5411,
327,
31,
3639,
289,
3639,
14015,
2421,
22144,
1964,
13,
1363,
2934,
4619,
1803,
2785,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
309,
261,
1252,
22144,
3829,
422,
446,
13,
288,
5411,
368,
1301,
711,
2118,
1015,
7423,
5411,
327,
31,
3639,
289,
3639,
467,
2421,
22144,
1964,
1363,
273,
1440,
22144,
3829,
18,
588,
3896,
1964,
5621,
3639,
309,
261,
2433,
422,
446,
13,
288,
5411,
327,
31,
3639,
289,
3639,
14015,
2421,
22144,
1964,
13,
1363,
2934,
4619,
1803,
2785,
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
] |
{ Class c = getRendererClass(i); presentation.setModelPane(activate(c), true); QuantumPane qp = presentation.getQuantumPane(); if (i == GREY) { qp.setSelectionWavelengthsEnable(false); ChannelData[] channelData = getChannelData(); for (int j = 0; j < channelData.length; j++) { if (isActive(j)) { qp.setSelectedWavelength(j); presentation.getTabs().setSelectedIndex( RenderingAgtUIF.POS_MODEL); break; } } } else qp.setSelectionWavelengthsEnable(true); abstraction.setModel(i); }
|
{ Class c = getRendererClass(i); presentation.setModelPane(activate(c), true); QuantumPane qp = presentation.getQuantumPane(); if (i == GREY) { qp.setSelectionWavelengthsEnable(false); ChannelData[] channelData = getChannelData(); for (int j = 0; j < channelData.length; j++) { if (isActive(j)) { qp.setSelectedWavelength(j); presentation.getTabs().setSelectedIndex( RenderingAgtUIF.POS_MODEL); break; } } } else qp.setSelectionWavelengthsEnable(true); abstraction.setModel(i); }
|
public void activateRenderingModel(int i) { Class c = getRendererClass(i); presentation.setModelPane(activate(c), true); QuantumPane qp = presentation.getQuantumPane(); if (i == GREY) { qp.setSelectionWavelengthsEnable(false); ChannelData[] channelData = getChannelData(); for (int j = 0; j < channelData.length; j++) { if (isActive(j)) { qp.setSelectedWavelength(j); presentation.getTabs().setSelectedIndex( RenderingAgtUIF.POS_MODEL); break; } } } else qp.setSelectionWavelengthsEnable(true); abstraction.setModel(i); }
|
55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/1722ebf9ac60fc8e45cdc8d0049e85db5b86715c/RenderingAgtCtrl.java/clean/SRC/org/openmicroscopy/shoola/agents/rnd/RenderingAgtCtrl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
10235,
14261,
1488,
12,
474,
277,
13,
202,
95,
202,
202,
797,
276,
273,
336,
6747,
797,
12,
77,
1769,
202,
202,
10364,
18,
542,
1488,
8485,
12,
10014,
12,
71,
3631,
638,
1769,
202,
202,
19471,
379,
8485,
22859,
273,
22525,
18,
588,
19471,
379,
8485,
5621,
202,
202,
430,
261,
77,
422,
611,
862,
61,
13,
288,
1082,
202,
14166,
18,
542,
6233,
59,
16775,
87,
8317,
12,
5743,
1769,
1082,
202,
2909,
751,
8526,
1904,
751,
273,
16454,
751,
5621,
1082,
202,
1884,
261,
474,
525,
273,
374,
31,
525,
411,
1904,
751,
18,
2469,
31,
525,
27245,
288,
9506,
202,
430,
261,
291,
3896,
12,
78,
3719,
288,
6862,
202,
14166,
18,
542,
7416,
59,
16775,
12,
78,
1769,
6862,
202,
10364,
18,
588,
17348,
7675,
542,
7416,
1016,
12,
6862,
6862,
1082,
202,
14261,
2577,
88,
5370,
42,
18,
7057,
67,
17391,
1769,
6862,
202,
8820,
31,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
469,
22859,
18,
542,
6233,
59,
16775,
87,
8317,
12,
3767,
1769,
202,
202,
378,
701,
1128,
18,
542,
1488,
12,
77,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
10235,
14261,
1488,
12,
474,
277,
13,
202,
95,
202,
202,
797,
276,
273,
336,
6747,
797,
12,
77,
1769,
202,
202,
10364,
18,
542,
1488,
8485,
12,
10014,
12,
71,
3631,
638,
1769,
202,
202,
19471,
379,
8485,
22859,
273,
22525,
18,
588,
19471,
379,
8485,
5621,
202,
202,
430,
261,
77,
422,
611,
862,
61,
13,
288,
1082,
202,
14166,
18,
542,
6233,
59,
16775,
87,
8317,
12,
5743,
1769,
1082,
202,
2909,
751,
8526,
1904,
751,
273,
16454,
751,
5621,
1082,
202,
1884,
261,
474,
525,
273,
374,
31,
525,
411,
1904,
751,
18,
2469,
31,
525,
27245,
288,
9506,
202,
430,
261,
291,
3896,
12,
78,
3719,
288,
6862,
202,
14166,
2
] |
public void init(ICommonActionExtensionSite aConfig) { // super.init(aSite); // createActions(); if (aConfig.getViewSite() instanceof ICommonViewerWorkbenchSite) { viewSite = (ICommonViewerWorkbenchSite) aConfig.getViewSite();// openAction = new OpenFileAction();// contribute = true; } }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/713c93451d49130dbf5e9f3683d87f71af1f0b32/WebSiteNavigatorActionProvider.java/buggy/sandbox/org.eclipse.mylyn.web.ui/src/org/eclipse/mylyn/internal/hypertext/ui/WebSiteNavigatorActionProvider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1208,
12,
45,
6517,
1803,
3625,
4956,
279,
809,
13,
288,
202,
202,
759,
2240,
18,
2738,
12,
69,
4956,
1769,
202,
202,
759,
752,
6100,
5621,
202,
202,
430,
261,
69,
809,
18,
588,
1767,
4956,
1435,
1276,
467,
6517,
18415,
2421,
22144,
4956,
13,
288,
1082,
202,
1945,
4956,
273,
261,
45,
6517,
18415,
2421,
22144,
4956,
13,
279,
809,
18,
588,
1767,
4956,
5621,
759,
1082,
202,
3190,
1803,
273,
394,
25284,
1803,
5621,
759,
1082,
202,
591,
887,
273,
638,
31,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1208,
12,
45,
6517,
1803,
3625,
4956,
279,
809,
13,
288,
202,
202,
759,
2240,
18,
2738,
12,
69,
4956,
1769,
202,
202,
759,
752,
6100,
5621,
202,
202,
430,
261,
69,
809,
18,
588,
1767,
4956,
1435,
1276,
467,
6517,
18415,
2421,
22144,
4956,
13,
288,
1082,
202,
1945,
4956,
273,
261,
45,
6517,
18415,
2421,
22144,
4956,
13,
279,
809,
18,
588,
1767,
4956,
5621,
759,
1082,
202,
3190,
1803,
273,
394,
25284,
1803,
5621,
759,
1082,
202,
591,
887,
273,
638,
31,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
public JScrollPane(Component view)
|
public JScrollPane()
|
public JScrollPane(Component view) { this(view, VERTICAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_AS_NEEDED); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
804,
26360,
1435,
282,
288,
565,
333,
12,
1945,
16,
1850,
29109,
67,
2312,
14555,
21908,
67,
3033,
67,
5407,
22832,
16,
1850,
24606,
67,
2312,
14555,
21908,
67,
3033,
67,
5407,
22832,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
804,
26360,
1435,
282,
288,
565,
333,
12,
1945,
16,
1850,
29109,
67,
2312,
14555,
21908,
67,
3033,
67,
5407,
22832,
16,
1850,
24606,
67,
2312,
14555,
21908,
67,
3033,
67,
5407,
22832,
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
] |
next(); skipToMatchingCloseTag(startTag);
|
if (startTag.hasNoCloseTag() == false) { next(); skipToMatchingCloseTag(startTag); }
|
public final void skipComponent() { // Get start tag final ComponentTag startTag = getTag(); if (startTag.isOpen()) { // Skip <tag> next(); // Skip nested components skipToMatchingCloseTag(startTag); // Skip </tag> next(); } else if (startTag.isOpenClose()) { // Skip <tag/> next(); } else { // We were something other than <tag> or <tag/> throwMarkupException("Skip component called on bad markup element " + startTag); } }
|
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/36a60936419fc863036ad7b1894d1171b0250119/MarkupStream.java/clean/wicket/src/java/wicket/markup/MarkupStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2488,
1841,
1435,
202,
95,
202,
202,
759,
968,
787,
1047,
202,
202,
6385,
5435,
1805,
787,
1805,
273,
11362,
5621,
202,
202,
430,
261,
1937,
1805,
18,
291,
3678,
10756,
202,
202,
95,
1082,
202,
759,
6611,
411,
2692,
34,
1082,
202,
4285,
5621,
1082,
202,
759,
6611,
4764,
4085,
1082,
202,
7457,
774,
9517,
4605,
1805,
12,
1937,
1805,
1769,
1082,
202,
759,
6611,
7765,
2692,
34,
1082,
202,
4285,
5621,
202,
202,
97,
202,
202,
12107,
309,
261,
1937,
1805,
18,
291,
3678,
4605,
10756,
202,
202,
95,
1082,
202,
759,
6611,
411,
2692,
21259,
1082,
202,
4285,
5621,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
759,
1660,
4591,
5943,
1308,
2353,
411,
2692,
34,
578,
411,
2692,
21259,
1082,
202,
12849,
13111,
503,
2932,
6368,
1794,
2566,
603,
5570,
9813,
930,
315,
397,
787,
1805,
1769,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2488,
1841,
1435,
202,
95,
202,
202,
759,
968,
787,
1047,
202,
202,
6385,
5435,
1805,
787,
1805,
273,
11362,
5621,
202,
202,
430,
261,
1937,
1805,
18,
291,
3678,
10756,
202,
202,
95,
1082,
202,
759,
6611,
411,
2692,
34,
1082,
202,
4285,
5621,
1082,
202,
759,
6611,
4764,
4085,
1082,
202,
7457,
774,
9517,
4605,
1805,
12,
1937,
1805,
1769,
1082,
202,
759,
6611,
7765,
2692,
34,
1082,
202,
4285,
5621,
202,
202,
97,
202,
202,
12107,
309,
261,
1937,
1805,
18,
291,
3678,
4605,
10756,
202,
202,
95,
1082,
202,
759,
6611,
411,
2692,
21259,
1082,
202,
4285,
5621,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
759,
2
] |
shell.setVisible(false);
|
popupShell.setVisible(false);
|
protected void createFilterControl(final Composite parent) { filterText = new Text(parent, SWT.DROP_DOWN | SWT.BORDER); filterText.setFont(parent.getFont()); searchHistory = getPreferenceSearchHistory(); final Shell shell = new Shell(parent.getShell(), SWT.NO_TRIM); shell .setBackground(parent.getDisplay().getSystemColor( SWT.COLOR_WHITE)); GridLayout shellGL = new GridLayout(); shellGL.marginHeight = 0; shellGL.marginWidth = 0; shell.setLayout(shellGL); shell.setLayoutData(new GridData( (GridData.FILL_BOTH | GridData.GRAB_HORIZONTAL))); currentSeachTable = new Table(shell, SWT.SINGLE | SWT.BORDER); currentSeachTable.setLayoutData(new GridData( (GridData.FILL_BOTH | GridData.GRAB_HORIZONTAL))); filterText.addTraverseListener(new TraverseListener() { public void keyTraversed(TraverseEvent e) { if (e.detail == SWT.TRAVERSE_RETURN) { e.doit = false; shell.setVisible(false); if (getViewer().getTree().getItemCount() == 0) { Display.getCurrent().beep(); setFilterText(""); //$NON-NLS-1$ } else { getViewer().getTree().setFocus(); } } } }); filterText.addKeyListener(new KeyAdapter() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.KeyAdapter#keyReleased(org.eclipse.swt.events.KeyEvent) */ public void keyReleased(KeyEvent e) { if (e.keyCode == SWT.ARROW_DOWN) { if (currentSeachTable.isVisible()) { // Make selection at popup table if (currentSeachTable.getSelectionCount() < 1) currentSeachTable.setSelection(0); currentSeachTable.setFocus(); } else // Make selection be on the left tree treeViewer.getTree().setFocus(); } else { if (e.character == SWT.CR) return; textChanged(); List result = new ArrayList(); result = reduceSearch(searchHistory, filterText.getText()); upDateTable(currentSeachTable, result); if (currentSeachTable.getItemCount() > 0) { Rectangle textBounds = filterText.getBounds(); Point point = getDisplay().map(parent, null, textBounds.x, textBounds.y); int space = currentSeachTable.getItemHeight(); shell.setBounds(point.x, point.y + textBounds.height, textBounds.width, currentSeachTable .getItemHeight() * currentSeachTable.getItemCount() + space); if (shell.isDisposed()) shell.open(); if (!shell.getVisible()) { shell.setVisible(true); filterText.setFocus(); } } else shell.setVisible(false); } } }); parent.getDisplay().addFilter(SWT.MouseDown, new Listener() { /* * (non-Javadoc) * * @see org.eclipse.swt.widgets.Listener#handleEvent(org.eclipse.swt.widgets.Events) */ public void handleEvent(Event event) { if (!shell.isDisposed()) shell.setVisible(false); } }); getShell().addControlListener(new ControlAdapter() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.ControlListener#controlMoved(org.eclipse.swt.events.ControlEvent) */ public void controlMoved(ControlEvent e) { shell.setVisible(false); } }); currentSeachTable.addSelectionListener(new SelectionAdapter() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.SelectionAdapter#widgetSelected(org.eclipse.swt.events.SelectionEvent) */ public void widgetSelected(SelectionEvent e) { setFilterText(currentSeachTable.getSelection()[0].getText()); textChanged(); } public void widgetDefaultSelected(SelectionEvent e) { shell.setVisible(false); } }); filterText.addDisposeListener(new DisposeListener() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.DisposeListener#widgetDisposed(org.eclipse.swt.events.DisposeEvent) */ public void widgetDisposed(DisposeEvent e) { saveDialogSettings(); } }); filterText.getAccessible().addAccessibleListener( getAccessibleListener()); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/b66dc8401316f5e8e8d6761255634b0c5712e4f9/FilteredTextTree.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/FilteredTextTree.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
1586,
3367,
12,
6385,
14728,
982,
13,
288,
202,
202,
2188,
1528,
273,
394,
3867,
12,
2938,
16,
348,
8588,
18,
18768,
67,
12711,
571,
348,
8588,
18,
38,
7954,
1769,
202,
202,
2188,
1528,
18,
542,
5711,
12,
2938,
18,
588,
5711,
10663,
202,
202,
3072,
5623,
273,
336,
9624,
2979,
5623,
5621,
202,
202,
6385,
19433,
5972,
273,
394,
19433,
12,
2938,
18,
588,
13220,
9334,
348,
8588,
18,
3417,
67,
6566,
49,
1769,
202,
202,
10304,
9506,
202,
18,
542,
8199,
12,
2938,
18,
588,
4236,
7675,
588,
3163,
2957,
12,
25083,
202,
55,
8588,
18,
10989,
67,
16861,
10019,
202,
202,
6313,
3744,
5972,
11261,
273,
394,
7145,
3744,
5621,
202,
202,
10304,
11261,
18,
10107,
2686,
273,
374,
31,
202,
202,
10304,
11261,
18,
10107,
2384,
273,
374,
31,
202,
202,
10304,
18,
542,
3744,
12,
10304,
11261,
1769,
202,
202,
10304,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
9506,
202,
12,
6313,
751,
18,
29818,
67,
38,
18307,
571,
7145,
751,
18,
6997,
2090,
67,
44,
20344,
3719,
1769,
202,
202,
2972,
1761,
497,
1388,
273,
394,
3555,
12,
10304,
16,
348,
8588,
18,
20184,
571,
348,
8588,
18,
38,
7954,
1769,
202,
202,
2972,
1761,
497,
1388,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
9506,
202,
12,
6313,
751,
18,
29818,
67,
38,
18307,
571,
7145,
751,
18,
6997,
2090,
67,
44,
20344,
3719,
1769,
202,
202,
2188,
1528,
18,
1289,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
1586,
3367,
12,
6385,
14728,
982,
13,
288,
202,
202,
2188,
1528,
273,
394,
3867,
12,
2938,
16,
348,
8588,
18,
18768,
67,
12711,
571,
348,
8588,
18,
38,
7954,
1769,
202,
202,
2188,
1528,
18,
542,
5711,
12,
2938,
18,
588,
5711,
10663,
202,
202,
3072,
5623,
273,
336,
9624,
2979,
5623,
5621,
202,
202,
6385,
19433,
5972,
273,
394,
19433,
12,
2938,
18,
588,
13220,
9334,
348,
8588,
18,
3417,
67,
6566,
49,
1769,
202,
202,
10304,
9506,
202,
18,
542,
8199,
12,
2938,
18,
588,
4236,
7675,
588,
3163,
2957,
12,
25083,
202,
55,
8588,
18,
10989,
67,
16861,
10019,
202,
202,
6313,
3744,
5972,
11261,
273,
394,
7145,
3744,
5621,
2
] |
listenerList.add (ChangeListener.class, listener);
|
listenerList.add(ChangeListener.class, listener);
|
public void addChangeListener (ChangeListener listener) { listenerList.add (ChangeListener.class, listener); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/MenuSelectionManager.java/clean/core/src/classpath/javax/javax/swing/MenuSelectionManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
527,
15744,
261,
15744,
2991,
13,
225,
288,
565,
2991,
682,
18,
1289,
12,
15744,
18,
1106,
16,
2991,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
527,
15744,
261,
15744,
2991,
13,
225,
288,
565,
2991,
682,
18,
1289,
12,
15744,
18,
1106,
16,
2991,
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
] |
get.abort();
|
public void run() { setName(outputFile.toString()); setState(DLState.CONNECTING); BufferedOutputStream out = null; File partFile; boolean needToResume = false; boolean needToRename = true; long resumePoint = 0; try { File parent = outputFile.getParentFile(); if (parent != null) parent.mkdirs(); partFile = new File(outputFile+".part"); if (!partFile.exists() && outputFile.exists()) { // see if we have a plain old file instead, if so, resume on it needToRename = false; partFile = outputFile; } if (partFile.exists()) { needToResume = true; resumePoint = partFile.length(); } out = new BufferedOutputStream(new FileOutputStream(partFile, needToResume)); } catch (FileNotFoundException e) { downloadError(e); try { out.close(); } catch (IOException e2) {} return; } while (pause && !abort); if (abort) return; HttpClient http = new HttpClient(); Preferences prefs = Preferences.getInstance(); if (!prefs.getProxyHost().equals("")) { HostConfiguration hostConf = new HostConfiguration(); hostConf.setProxy(prefs.getProxyHost(), prefs.getProxyPort()); http.setHostConfiguration(hostConf); } HttpMethodParams params = new HttpMethodParams(); // Two minute timeout if no data is received params.setSoTimeout(120000); HttpMethod get = new GetMethod(url.toString()); get.setParams(params); if (needToResume) get.setRequestHeader("Range","bytes="+resumePoint+"-"); InputStream in; try { int statusCode = http.executeMethod(get); if (statusCode != HttpStatus.SC_OK && statusCode != HttpStatus.SC_PARTIAL_CONTENT) { get.abort(); get.releaseConnection(); downloadError("Download failed: server returned code "+statusCode); out.close(); return; } if (statusCode == HttpStatus.SC_OK && needToResume) { // It seems we can't resume. Start the file over resumePoint = 0; } Header[] responseHeaders = get.getResponseHeaders(); for (int i=0; i<responseHeaders.length; i++){ String hLine = responseHeaders[i].toString(); String[] hParts = hLine.split(" "); if (hParts[0].equals("Content-Length:")) { fileLength = Long.parseLong(hParts[1]. substring(0,hParts[1].length()-2)) + resumePoint; // resumePoint will be 0 if no resume } } while (pause && !abort); if (abort) { try { out.close(); } catch (IOException e) {} if (!hardAbort) { get.abort(); get.releaseConnection(); } out.close(); return; } // TODO better checking that we are getting what we expect if (fileLength == -1) { downloadError("Didn't get a Content-Length: header."); get.abort(); out.close(); get.releaseConnection(); return; } if (statusCode == HttpStatus.SC_OK && needToResume) { // This test has to come after the test above so that // we don't zero out the file by mistake. needToResume = false; out.close(); out = new BufferedOutputStream(new FileOutputStream(partFile)); } in = get.getResponseBodyAsStream(); } catch (IOException e) { get.releaseConnection(); downloadError(e); try { out.close(); } catch (IOException e2) {} return; } while (pause && !abort); if (abort) { try { out.close(); } catch (IOException e) {} if (!hardAbort) { get.abort(); try { in.close(); } catch (IOException e) {} get.releaseConnection(); } return; } byte[] buff = new byte[8192]; // we'll work in 8K chunks setState(DLState.DOWNLOADING); int count; bytesDown = resumePoint; try { while ((count = in.read(buff)) != -1) { synchronized (HTTPDownloader.this) { // synch because an assignment to a long isn't atomic bytesDown += count; } out.write(buff, 0, count); try { while (pause && !abort) sleep(100); } catch(InterruptedException e) {} if (abort) { get.abort(); try { out.close(); } catch (IOException e) {} if (!hardAbort) { try { in.close(); } catch (IOException e) {} get.releaseConnection(); } return; } } if (bytesDown == fileLength) { setState(DLState.FINISHED); if (needToRename) partFile.renameTo(outputFile); out.close(); in.close(); get.releaseConnection(); } else { // if we didn't get the whole file, mark it and it'll // be tried again later //setState(DLState.FAILED); downloadError("File downloaded not the size it should have "+ "been: got "+bytesDown+", expected "+fileLength); out.close(); in.close(); get.releaseConnection(); } } catch (IOException e) { try { out.close(); in.close(); } catch (Exception ex) {} get.abort(); get.releaseConnection(); downloadError(e); return; } }
|
36868 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36868/3e4cc53e97c3c7a3aa2d366391df389ceeb2a8cd/HTTPDownloader.java/clean/src/nz/net/kallisti/emusicj/download/HTTPDownloader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1086,
1435,
288,
1082,
202,
542,
461,
12,
2844,
812,
18,
10492,
10663,
202,
3639,
12947,
12,
8914,
1119,
18,
11032,
1360,
1769,
1082,
202,
17947,
4632,
596,
273,
446,
31,
1082,
202,
812,
1087,
812,
31,
1082,
202,
6494,
1608,
774,
20911,
273,
629,
31,
1082,
202,
6494,
1608,
774,
16019,
273,
638,
31,
1082,
202,
5748,
10774,
2148,
273,
374,
31,
1082,
202,
698,
288,
9506,
202,
812,
982,
273,
15047,
18,
588,
3054,
812,
5621,
9506,
202,
430,
261,
2938,
480,
446,
13,
6862,
202,
2938,
18,
24816,
8291,
5621,
9506,
202,
2680,
812,
273,
394,
1387,
12,
2844,
812,
9078,
18,
2680,
8863,
9506,
202,
430,
16051,
2680,
812,
18,
1808,
1435,
597,
15047,
18,
1808,
10756,
288,
6862,
202,
759,
2621,
309,
732,
1240,
279,
7351,
1592,
585,
3560,
16,
309,
1427,
16,
10774,
603,
518,
6862,
202,
14891,
774,
16019,
273,
629,
31,
6862,
202,
2680,
812,
273,
15047,
31,
9506,
202,
97,
9506,
202,
430,
261,
2680,
812,
18,
1808,
10756,
288,
6862,
202,
14891,
774,
20911,
273,
638,
31,
6862,
202,
25158,
2148,
273,
1087,
812,
18,
2469,
5621,
9506,
202,
97,
9506,
202,
659,
273,
394,
28649,
12,
2704,
12942,
12,
2680,
812,
16,
1608,
774,
20911,
10019,
1082,
202,
97,
1044,
261,
812,
3990,
425,
13,
288,
9506,
202,
7813,
668,
12,
73,
1769,
7734,
775,
288,
10792,
596,
18,
4412,
5621,
7734,
289,
1044,
261,
14106,
425,
22,
13,
2618,
9506,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1086,
1435,
288,
1082,
202,
542,
461,
12,
2844,
812,
18,
10492,
10663,
202,
3639,
12947,
12,
8914,
1119,
18,
11032,
1360,
1769,
1082,
202,
17947,
4632,
596,
273,
446,
31,
1082,
202,
812,
1087,
812,
31,
1082,
202,
6494,
1608,
774,
20911,
273,
629,
31,
1082,
202,
6494,
1608,
774,
16019,
273,
638,
31,
1082,
202,
5748,
10774,
2148,
273,
374,
31,
1082,
202,
698,
288,
9506,
202,
812,
982,
273,
15047,
18,
588,
3054,
812,
5621,
9506,
202,
430,
261,
2938,
480,
446,
13,
6862,
202,
2938,
18,
24816,
8291,
5621,
9506,
202,
2680,
812,
273,
394,
1387,
12,
2844,
812,
9078,
18,
2680,
8863,
9506,
202,
430,
16051,
2680,
812,
18,
1808,
2
] |
|
throw (BuildException)firstException;
|
throw (BuildException) firstException;
|
public void execute() throws BuildException { TaskThread[] threads = new TaskThread[nestedTasks.size()]; int threadNumber = 0; for (Enumeration e = nestedTasks.elements(); e.hasMoreElements(); threadNumber++) { Task nestedTask = (Task)e.nextElement(); threads[threadNumber] = new TaskThread(threadNumber, nestedTask); } // now start all threads for (int i = 0; i < threads.length; ++i) { threads[i].start(); } // now join to all the threads for (int i = 0; i < threads.length; ++i) { try { threads[i].join(); } catch (InterruptedException ie) { // who would interrupt me at a time like this? } } // now did any of the threads throw an exception StringBuffer exceptionMessage = new StringBuffer(); int numExceptions = 0; Throwable firstException = null; Location firstLocation = Location.UNKNOWN_LOCATION;; for (int i = 0; i < threads.length; ++i) { Throwable t = threads[i].getException(); if (t != null) { numExceptions++; if (firstException == null) { firstException = t; } if (t instanceof BuildException && firstLocation == Location.UNKNOWN_LOCATION) { firstLocation = ((BuildException)t).getLocation(); } exceptionMessage.append(StringUtils.LINE_SEP); exceptionMessage.append(t.getMessage()); } } if (numExceptions == 1) { if (firstException instanceof BuildException) { throw (BuildException)firstException; } else { throw new BuildException(firstException); } } else if (numExceptions > 1) { throw new BuildException(exceptionMessage.toString(), firstLocation); } }
|
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/6154080061f869b4e425d608da3bd61fad967564/Parallel.java/buggy/src/main/org/apache/tools/ant/taskdefs/Parallel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1435,
1216,
18463,
288,
3639,
3837,
3830,
8526,
7403,
273,
394,
3837,
3830,
63,
12985,
6685,
18,
1467,
1435,
15533,
3639,
509,
2650,
1854,
273,
374,
31,
3639,
364,
261,
21847,
425,
273,
4764,
6685,
18,
6274,
5621,
425,
18,
5332,
7417,
3471,
5621,
2868,
2650,
1854,
27245,
288,
5411,
3837,
4764,
2174,
273,
261,
2174,
13,
73,
18,
4285,
1046,
5621,
5411,
7403,
63,
5930,
1854,
65,
273,
394,
3837,
3830,
12,
5930,
1854,
16,
4764,
2174,
1769,
3639,
289,
3639,
368,
2037,
787,
777,
7403,
7734,
364,
261,
474,
277,
273,
374,
31,
277,
411,
7403,
18,
2469,
31,
965,
77,
13,
288,
5411,
7403,
63,
77,
8009,
1937,
5621,
3639,
289,
3639,
368,
2037,
1233,
358,
777,
326,
7403,
540,
364,
261,
474,
277,
273,
374,
31,
277,
411,
7403,
18,
2469,
31,
965,
77,
13,
288,
5411,
775,
288,
7734,
7403,
63,
77,
8009,
5701,
5621,
5411,
289,
5411,
1044,
261,
24485,
503,
9228,
13,
288,
7734,
368,
10354,
4102,
13123,
1791,
622,
279,
813,
3007,
333,
35,
5411,
289,
3639,
289,
7734,
368,
2037,
5061,
1281,
434,
326,
7403,
604,
392,
1520,
3639,
6674,
1520,
1079,
273,
394,
6674,
5621,
3639,
509,
818,
11416,
273,
374,
31,
3639,
4206,
1122,
503,
273,
446,
31,
3639,
7050,
1122,
2735,
273,
7050,
18,
14737,
67,
15277,
25708,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
7403,
18,
2469,
31,
965,
77,
13,
288,
5411,
4206,
268,
273,
7403,
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,
1216,
18463,
288,
3639,
3837,
3830,
8526,
7403,
273,
394,
3837,
3830,
63,
12985,
6685,
18,
1467,
1435,
15533,
3639,
509,
2650,
1854,
273,
374,
31,
3639,
364,
261,
21847,
425,
273,
4764,
6685,
18,
6274,
5621,
425,
18,
5332,
7417,
3471,
5621,
2868,
2650,
1854,
27245,
288,
5411,
3837,
4764,
2174,
273,
261,
2174,
13,
73,
18,
4285,
1046,
5621,
5411,
7403,
63,
5930,
1854,
65,
273,
394,
3837,
3830,
12,
5930,
1854,
16,
4764,
2174,
1769,
3639,
289,
3639,
368,
2037,
787,
777,
7403,
7734,
364,
261,
474,
277,
273,
374,
31,
277,
411,
7403,
18,
2469,
31,
965,
77,
13,
288,
5411,
7403,
63,
77,
8009,
1937,
5621,
3639,
289,
3639,
2
] |
return result;
|
return result.toString();
|
private String getSpaces(int count) { String result = ""; for (int i = 0; i < count * SPACE_COUNT; i++) { result += " "; } return result; }
|
48585 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48585/57653c89911a6f0d5c928d7f3bef883748275bd0/HTMLPage.java/clean/statsvn/src/net/sf/statcvs/output/HTMLPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
1322,
4996,
12,
474,
1056,
13,
288,
202,
202,
780,
563,
273,
1408,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1056,
380,
20583,
67,
7240,
31,
277,
27245,
288,
1082,
202,
2088,
1011,
31235,
16874,
4868,
31,
202,
202,
97,
202,
202,
2463,
563,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
1322,
4996,
12,
474,
1056,
13,
288,
202,
202,
780,
563,
273,
1408,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1056,
380,
20583,
67,
7240,
31,
277,
27245,
288,
1082,
202,
2088,
1011,
31235,
16874,
4868,
31,
202,
202,
97,
202,
202,
2463,
563,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} return new Vector[] {names, files};
|
} return new Vector[] {names, files};
|
public Vector[] getFiles() throws IOException { Vector leaves = fileSystem.getLeaf(); Vector names = new Vector(); // should be the full path through the tree Vector files = new Vector(); for (int i=0; i<leaves.size(); i++) { RedBlackTreeNode node = (RedBlackTreeNode) leaves.get(i); names.add(node.getName()); int start = node.getFirstBlock(); int size = node.getSize() + bigBlock; byte[] file = new byte[size]; int numRead = 0; // if the size of the file is less than 4096, use the SBAT // otherwise, use the BAT if (size < 4096) { // offset is start * smallBlock int ndx = start; while ((numRead < size) && (ndx >= 0)) { int toCopy = smallBlock; if ((size - numRead) < smallBlock) { toCopy = size - numRead; } System.arraycopy(smallBlockArray, ndx*smallBlock, file, numRead, toCopy); numRead += toCopy; int old = ndx; if (ndx < sbat.length) ndx = sbat[ndx]; else ndx++; if (ndx * smallBlock >= smallBlockArray.length || (ndx*smallBlock < 0)) { ndx = old + 1; } } } else { start++; while ((numRead < size) && (start < (in.length() / bigBlock))) { in.seek(bigBlock * start); read.add(new Integer(bigBlock)); int toCopy = bigBlock; if ((size - numRead) < bigBlock) { toCopy = size - numRead; } in.read(file, numRead, toCopy); numRead += toCopy; if (start < bat.length) { start = bat[start]; } else { start++; while (inBat(start - 1) && !read.contains(new Integer(start))) { start++; } } } } files.add(file); } return new Vector[] {names, files}; }
|
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/e1c1aa6cc0c7d00068e668cc26f365c20679cd01/OLEParser.java/clean/loci/formats/OLEParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5589,
8526,
18262,
1435,
1216,
1860,
288,
565,
5589,
15559,
273,
18458,
18,
588,
9858,
5621,
565,
5589,
1257,
273,
394,
5589,
5621,
225,
368,
1410,
506,
326,
1983,
589,
3059,
326,
2151,
565,
5589,
1390,
273,
394,
5589,
5621,
565,
364,
261,
474,
277,
33,
20,
31,
277,
32,
298,
6606,
18,
1467,
5621,
277,
27245,
288,
1377,
4621,
13155,
12513,
756,
273,
261,
3715,
13155,
12513,
13,
15559,
18,
588,
12,
77,
1769,
1377,
1257,
18,
1289,
12,
2159,
18,
17994,
10663,
1377,
509,
787,
273,
756,
18,
588,
3759,
1768,
5621,
1377,
509,
963,
273,
756,
18,
588,
1225,
1435,
397,
5446,
1768,
31,
1377,
1160,
8526,
585,
273,
394,
1160,
63,
1467,
15533,
1377,
509,
818,
1994,
273,
374,
31,
1377,
368,
309,
326,
963,
434,
326,
585,
353,
5242,
2353,
16797,
16,
999,
326,
348,
38,
789,
1377,
368,
3541,
16,
999,
326,
605,
789,
1377,
309,
261,
1467,
411,
16797,
13,
288,
3639,
368,
1384,
353,
787,
380,
5264,
1768,
3639,
509,
5346,
92,
273,
787,
31,
3639,
1323,
14015,
2107,
1994,
411,
963,
13,
597,
261,
4880,
92,
1545,
374,
3719,
288,
1850,
509,
358,
2951,
273,
5264,
1768,
31,
1850,
309,
14015,
1467,
300,
818,
1994,
13,
411,
5264,
1768,
13,
288,
5411,
358,
2951,
273,
963,
300,
818,
1994,
31,
1850,
289,
1850,
2332,
18,
1126,
3530,
12,
12019,
1768,
1076,
16,
5346,
92,
14,
12019,
1768,
16,
585,
16,
5411,
818,
1994,
16,
358,
2951,
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,
5589,
8526,
18262,
1435,
1216,
1860,
288,
565,
5589,
15559,
273,
18458,
18,
588,
9858,
5621,
565,
5589,
1257,
273,
394,
5589,
5621,
225,
368,
1410,
506,
326,
1983,
589,
3059,
326,
2151,
565,
5589,
1390,
273,
394,
5589,
5621,
565,
364,
261,
474,
277,
33,
20,
31,
277,
32,
298,
6606,
18,
1467,
5621,
277,
27245,
288,
1377,
4621,
13155,
12513,
756,
273,
261,
3715,
13155,
12513,
13,
15559,
18,
588,
12,
77,
1769,
1377,
1257,
18,
1289,
12,
2159,
18,
17994,
10663,
1377,
509,
787,
273,
756,
18,
588,
3759,
1768,
5621,
1377,
509,
963,
273,
756,
18,
588,
1225,
1435,
397,
5446,
1768,
31,
1377,
1160,
8526,
585,
273,
394,
1160,
63,
1467,
15533,
2
] |
linkName = packagePath + currDecl.getName();
|
linkName = packagePath; if (currDecl.getParent().getKind().isType()) { linkName = linkName + currDecl.getParent().getName() + "."; } linkName = linkName + currDecl.getName(); linkRef = getRelativeComponent(packagePath) + packagePath; if (currDecl.getParent().getKind().isType()) { linkRef = linkRef + currDecl.getParent().getName() + "."; } linkRef = linkRef + currDecl.toLabelString() + ".html"; } else { linkName = packagePath; if (currDecl.getParent().getParent().getKind().isType()) { linkName = linkName + currDecl.getParent().getParent().getName() + "."; } linkName = linkName + currDecl.getParent().getName() + "." + currDecl.getName(); linkRef = getRelativeComponent(packagePath) + packagePath; if (currDecl.getParent().getParent().getKind().isType()) { linkRef = linkRef + currDecl.getParent().getParent().getName() + "."; }
|
static String generateAffects(IProgramElement decl, boolean isIntroduction) { List targets = StructureUtil.getTargets(decl, IRelationship.Kind.ADVICE); if (targets == null) return null; List packageList = new ArrayList(); String entry = "<TABLE WIDTH=\"100%\" BGCOLOR=#FFFFFF><TR>" + "<TD width=\"10%\" bgcolor=\"#FFD8B0\"><B><FONT COLOR=000000> Advises:</b></font></td><td>"; List addedNames = new ArrayList(); // for ensuring that we don't add duplciates for (Iterator it = targets.iterator(); it.hasNext(); ) { String currHandle = (String)it.next(); IProgramElement currDecl = AsmManager.getDefault().getHierarchy().findElementForHandle(currHandle); if (currDecl.getKind().equals(IProgramElement.Kind.CODE)) { currDecl = currDecl.getParent(); // promote to enclosing } if (currDecl != null) { String packagePath = ""; if (currDecl.getPackageName() != null && !currDecl.getPackageName().equals("")) { packagePath = currDecl.getPackageName().replace('.', '/') + Config.DIR_SEP_CHAR; } String linkRef = ""; String linkName = rootDir.getAbsolutePath() + "/"; if (currDecl.getKind().isType()) { linkName = packagePath + currDecl.getName(); linkRef = getRelativeComponent(packagePath) + packagePath + currDecl.toLabelString() + ".html"; } else { linkName = packagePath + currDecl.getParent().getName() + "." + currDecl.getName(); linkRef = currDecl.getParent().getName() + ".html" + "#" + currDecl.toLabelString();// linkRef =// getRelativeComponent(packagePath)// + packagePath// + currDecl.getParent().getName()// + ".html"// + "#"// + currDecl.toLabelString();// // XXX: only one level of nested classes if (currDecl.getParent().getParent().getKind().isType()) { linkRef = currDecl.getParent().getParent().getName() + "." + linkRef; } } if (!addedNames.contains(linkName)) { entry += "<A HREF=\"" + linkRef + "\"><tt>" + linkName.replace('/', '.') + "</tt></A>"; // !!! don't replace if (it.hasNext()) entry += ", "; addedNames.add(linkName); } } } entry += "</B></FONT></TD></TR></TABLE>\n</TR></TD>\n"; return entry; }
|
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/172f6f9edc3f295616e41196bfe36fcb653b61c7/HtmlDecorator.java/clean/ajdoc/src/org/aspectj/tools/ajdoc/HtmlDecorator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
514,
2103,
37,
3736,
87,
12,
45,
9459,
1046,
3496,
16,
1250,
353,
1702,
303,
2544,
349,
13,
288,
1377,
987,
5774,
273,
13348,
1304,
18,
588,
9432,
12,
8840,
16,
467,
8180,
18,
5677,
18,
1880,
6829,
1769,
1377,
309,
261,
11358,
422,
446,
13,
327,
446,
31,
3639,
987,
2181,
682,
273,
394,
2407,
5621,
3639,
514,
1241,
3639,
273,
3532,
7775,
22631,
5189,
6625,
9,
2412,
30609,
10989,
33,
7,
18343,
4438,
4349,
2984,
397,
1850,
3532,
23409,
1835,
5189,
2163,
9,
2412,
31509,
5189,
7,
2246,
40,
28,
38,
20,
2412,
4438,
38,
4438,
25221,
15590,
33,
9449,
22393,
10600,
31,
1871,
3516,
281,
19814,
70,
4695,
5776,
4695,
4465,
4438,
4465,
2984,
31,
5411,
987,
3096,
1557,
273,
394,
2407,
5621,
368,
364,
24831,
716,
732,
2727,
1404,
527,
9978,
412,
8450,
815,
3639,
364,
261,
3198,
518,
273,
5774,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
288,
540,
202,
780,
4306,
3259,
273,
261,
780,
13,
305,
18,
4285,
5621,
540,
202,
45,
9459,
1046,
4306,
3456,
273,
2970,
81,
1318,
18,
588,
1868,
7675,
588,
12074,
7675,
4720,
1046,
1290,
3259,
12,
17016,
3259,
1769,
5411,
309,
261,
17016,
3456,
18,
588,
5677,
7675,
14963,
12,
45,
9459,
1046,
18,
5677,
18,
5572,
3719,
288,
2398,
202,
17016,
3456,
273,
4306,
3456,
18,
588,
3054,
5621,
368,
28374,
358,
16307,
5411,
289,
540,
202,
430,
261,
17016,
3456,
480,
446,
13,
288,
540,
202,
202,
780,
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,
514,
2103,
37,
3736,
87,
12,
45,
9459,
1046,
3496,
16,
1250,
353,
1702,
303,
2544,
349,
13,
288,
1377,
987,
5774,
273,
13348,
1304,
18,
588,
9432,
12,
8840,
16,
467,
8180,
18,
5677,
18,
1880,
6829,
1769,
1377,
309,
261,
11358,
422,
446,
13,
327,
446,
31,
3639,
987,
2181,
682,
273,
394,
2407,
5621,
3639,
514,
1241,
3639,
273,
3532,
7775,
22631,
5189,
6625,
9,
2412,
30609,
10989,
33,
7,
18343,
4438,
4349,
2984,
397,
1850,
3532,
23409,
1835,
5189,
2163,
9,
2412,
31509,
5189,
7,
2246,
40,
28,
38,
20,
2412,
4438,
38,
4438,
25221,
15590,
33,
9449,
22393,
10600,
31,
1871,
3516,
281,
19814,
70,
4695,
5776,
4695,
4465,
4438,
4465,
2984,
2
] |
LOG.debug(" imageHeight='"+imageHeight+"'");
|
protected void setProperties(UIComponent uiComponent) { if (LOG.isDebugEnabled()) { if (ImageComboComponent.COMPONENT_TYPE==getComponentType()) { LOG.debug("Component id='"+getId()+"' type='"+getComponentType()+"'."); } LOG.debug(" imageURL='"+imageURL+"'"); LOG.debug(" disabledImageURL='"+disabledImageURL+"'"); LOG.debug(" hoverImageURL='"+hoverImageURL+"'"); LOG.debug(" selectedImageURL='"+selectedImageURL+"'"); LOG.debug(" border='"+border+"'"); LOG.debug(" borderType='"+borderType+"'"); LOG.debug(" text='"+text+"'"); LOG.debug(" textPosition='"+textPosition+"'"); LOG.debug(" imageWidth='"+imageWidth+"'"); LOG.debug(" imageHeight='"+imageHeight+"'"); LOG.debug(" popupRowNumber='"+popupRowNumber+"'"); } super.setProperties(uiComponent); if ((uiComponent instanceof ImageComboComponent)==false) { throw new IllegalStateException("Component specified by tag is not instanceof of 'ImageComboComponent'."); } ImageComboComponent component = (ImageComboComponent) uiComponent; FacesContext facesContext = getFacesContext(); Application application = facesContext.getApplication(); if (imageURL != null) { if (isValueReference(imageURL)) { ValueBinding vb = application.createValueBinding(imageURL); component.setImageURL(vb); } else { component.setImageURL(imageURL); } } if (disabledImageURL != null) { if (isValueReference(disabledImageURL)) { ValueBinding vb = application.createValueBinding(disabledImageURL); component.setDisabledImageURL(vb); } else { component.setDisabledImageURL(disabledImageURL); } } if (hoverImageURL != null) { if (isValueReference(hoverImageURL)) { ValueBinding vb = application.createValueBinding(hoverImageURL); component.setHoverImageURL(vb); } else { component.setHoverImageURL(hoverImageURL); } } if (selectedImageURL != null) { if (isValueReference(selectedImageURL)) { ValueBinding vb = application.createValueBinding(selectedImageURL); component.setSelectedImageURL(vb); } else { component.setSelectedImageURL(selectedImageURL); } } if (border != null) { if (isValueReference(border)) { ValueBinding vb = application.createValueBinding(border); component.setBorder(vb); } else { component.setBorder(getBool(border)); } } if (borderType != null) { if (isValueReference(borderType)) { ValueBinding vb = application.createValueBinding(borderType); component.setBorderType(vb); } else { component.setBorderType(borderType); } } if (text != null) { if (isValueReference(text)) { ValueBinding vb = application.createValueBinding(text); component.setText(vb); } else { component.setText(text); } } if (textPosition != null) { if (isValueReference(textPosition)) { ValueBinding vb = application.createValueBinding(textPosition); component.setTextPosition(vb); } else { component.setTextPosition(textPosition); } } if (imageWidth != null) { if (isValueReference(imageWidth)) { ValueBinding vb = application.createValueBinding(imageWidth); component.setImageWidth(vb); } else { component.setImageWidth(getInt(imageWidth)); } } if (imageHeight != null) { if (isValueReference(imageHeight)) { ValueBinding vb = application.createValueBinding(imageHeight); component.setImageHeight(vb); } else { component.setImageHeight(getInt(imageHeight)); } } if (popupRowNumber != null) { if (isValueReference(popupRowNumber)) { ValueBinding vb = application.createValueBinding(popupRowNumber); component.setPopupRowNumber(vb); } else { component.setPopupRowNumber(getInt(popupRowNumber)); } } }
|
6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/ImageComboTag.java/clean/org.rcfaces.core/src/org/rcfaces/core/internal/taglib/ImageComboTag.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
23126,
12,
5370,
1841,
5915,
1841,
13,
288,
202,
202,
430,
261,
4842,
18,
291,
2829,
1526,
10756,
288,
1082,
202,
430,
261,
2040,
16156,
1841,
18,
22922,
67,
2399,
631,
588,
28116,
10756,
288,
9506,
202,
4842,
18,
4148,
2932,
1841,
612,
13396,
15,
26321,
1435,
15,
5187,
618,
13396,
15,
588,
28116,
1435,
15,
5187,
1199,
1769,
1082,
202,
97,
1082,
202,
4842,
18,
4148,
2932,
225,
1316,
1785,
13396,
15,
2730,
1785,
9078,
4970,
1769,
1082,
202,
4842,
18,
4148,
2932,
225,
5673,
2040,
1785,
13396,
15,
9278,
2040,
1785,
9078,
4970,
1769,
1082,
202,
4842,
18,
4148,
2932,
225,
15758,
2040,
1785,
13396,
15,
24969,
2040,
1785,
9078,
4970,
1769,
1082,
202,
4842,
18,
4148,
2932,
225,
3170,
2040,
1785,
13396,
15,
8109,
2040,
1785,
9078,
4970,
1769,
1082,
202,
4842,
18,
4148,
2932,
225,
5795,
13396,
15,
8815,
9078,
4970,
1769,
1082,
202,
4842,
18,
4148,
2932,
225,
5795,
559,
13396,
15,
8815,
559,
9078,
4970,
1769,
1082,
202,
4842,
18,
4148,
2932,
225,
977,
13396,
15,
955,
9078,
4970,
1769,
1082,
202,
4842,
18,
4148,
2932,
225,
977,
2555,
13396,
15,
955,
2555,
9078,
4970,
1769,
1082,
202,
4842,
18,
4148,
2932,
225,
1316,
2384,
13396,
15,
2730,
2384,
9078,
4970,
1769,
1082,
202,
4842,
18,
4148,
2932,
225,
1316,
2686,
13396,
15,
2730,
2686,
9078,
4970,
1769,
1082,
202,
4842,
18,
4148,
2932,
225,
10431,
1999,
1854,
13396,
15,
16086,
1999,
1854,
9078,
4970,
1769,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
23126,
12,
5370,
1841,
5915,
1841,
13,
288,
202,
202,
430,
261,
4842,
18,
291,
2829,
1526,
10756,
288,
1082,
202,
430,
261,
2040,
16156,
1841,
18,
22922,
67,
2399,
631,
588,
28116,
10756,
288,
9506,
202,
4842,
18,
4148,
2932,
1841,
612,
13396,
15,
26321,
1435,
15,
5187,
618,
13396,
15,
588,
28116,
1435,
15,
5187,
1199,
1769,
1082,
202,
97,
1082,
202,
4842,
18,
4148,
2932,
225,
1316,
1785,
13396,
15,
2730,
1785,
9078,
4970,
1769,
1082,
202,
4842,
18,
4148,
2932,
225,
5673,
2040,
1785,
13396,
15,
9278,
2040,
1785,
9078,
4970,
1769,
1082,
202,
4842,
18,
4148,
2932,
225,
15758,
2040,
1785,
13396,
15,
24969,
2040,
1785,
9078,
4970,
1769,
1082,
2
] |
|
wrap(new String[] {
|
fold(new String[] {
|
public void testAggregate() { assertQueryReturns( wrap(new String[] { "WITH MEMBER [Store].[CA plus OR] AS 'AGGREGATE({[Store].[USA].[CA], [Store].[USA].[OR]})'", "SELECT {[Measures].[Unit Sales], [Measures].[Store Sales]} ON COLUMNS,", " {[Store].[USA].[CA], [Store].[USA].[OR], [Store].[CA plus OR]} ON ROWS", "FROM Sales", "WHERE ([1997].[Q1])"}), wrap(new String[] { "Axis #0:", "{[Time].[1997].[Q1]}", "Axis #1:", "{[Measures].[Unit Sales]}", "{[Measures].[Store Sales]}", "Axis #2:", "{[Store].[All Stores].[USA].[CA]}", "{[Store].[All Stores].[USA].[OR]}", "{[Store].[CA plus OR]}", "Row #0: 16,890", "Row #0: 36,175.20", "Row #1: 19,287", "Row #1: 40,170.29", "Row #2: 36,177", "Row #2: 76,345.49" + nl})); }
|
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/bb703add381acf854e2d5aed1045911b7ab143b4/FunctionTest.java/buggy/testsrc/main/mondrian/olap/fun/FunctionTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
11490,
1435,
288,
3639,
1815,
1138,
1356,
12,
7734,
11590,
12,
2704,
514,
8526,
288,
10792,
315,
9147,
18990,
6271,
306,
2257,
8009,
63,
3587,
8737,
4869,
65,
5355,
296,
1781,
43,
5937,
1777,
12590,
63,
2257,
8009,
63,
3378,
37,
8009,
63,
3587,
6487,
306,
2257,
8009,
63,
3378,
37,
8009,
63,
916,
65,
17644,
3113,
10792,
315,
4803,
288,
63,
23177,
1823,
8009,
63,
2802,
25996,
6487,
306,
23177,
1823,
8009,
63,
2257,
25996,
18322,
6229,
5597,
19639,
16,
3113,
10792,
315,
1377,
288,
63,
2257,
8009,
63,
3378,
37,
8009,
63,
3587,
6487,
306,
2257,
8009,
63,
3378,
37,
8009,
63,
916,
6487,
306,
2257,
8009,
63,
3587,
8737,
4869,
18322,
6229,
6525,
2651,
3113,
10792,
315,
11249,
25996,
3113,
10792,
315,
12299,
23265,
19818,
27,
8009,
63,
53,
21,
65,
2225,
97,
3631,
7734,
11590,
12,
2704,
514,
8526,
288,
10792,
315,
6558,
468,
20,
2773,
16,
10792,
4144,
63,
950,
8009,
63,
19818,
27,
8009,
63,
53,
21,
20817,
16,
10792,
315,
6558,
468,
21,
2773,
16,
10792,
4144,
63,
23177,
1823,
8009,
63,
2802,
25996,
20817,
16,
10792,
4144,
63,
23177,
1823,
8009,
63,
2257,
25996,
20817,
16,
10792,
315,
6558,
468,
22,
2773,
16,
10792,
4144,
63,
2257,
8009,
63,
1595,
20296,
455,
8009,
63,
3378,
37,
8009,
63,
3587,
20817,
16,
10792,
4144,
63,
2257,
8009,
63,
1595,
20296,
455,
8009,
63,
3378,
37,
8009,
63,
916,
20817,
16,
10792,
4144,
63,
2257,
8009,
63,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
11490,
1435,
288,
3639,
1815,
1138,
1356,
12,
7734,
11590,
12,
2704,
514,
8526,
288,
10792,
315,
9147,
18990,
6271,
306,
2257,
8009,
63,
3587,
8737,
4869,
65,
5355,
296,
1781,
43,
5937,
1777,
12590,
63,
2257,
8009,
63,
3378,
37,
8009,
63,
3587,
6487,
306,
2257,
8009,
63,
3378,
37,
8009,
63,
916,
65,
17644,
3113,
10792,
315,
4803,
288,
63,
23177,
1823,
8009,
63,
2802,
25996,
6487,
306,
23177,
1823,
8009,
63,
2257,
25996,
18322,
6229,
5597,
19639,
16,
3113,
10792,
315,
1377,
288,
63,
2257,
8009,
63,
3378,
37,
8009,
63,
3587,
6487,
306,
2257,
8009,
63,
3378,
37,
8009,
63,
916,
6487,
306,
2257,
8009,
63,
3587,
8737,
4869,
18322,
6229,
2
] |
public Object getProxy() { return mProxy; }
|
public Object getProxy() { return mProxy; }
|
public Object getProxy() { return mProxy; }
|
3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/a7ec19bd0d393598353bc28570a3728429b54552/AnnotationImpl.java/clean/v2/jam/src/org/apache/xmlbeans/impl/jam/internal/elements/AnnotationImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
18992,
1435,
288,
565,
327,
312,
3886,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
18992,
1435,
288,
565,
327,
312,
3886,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return new SashContainerDropTarget(sourcePart, side, cursor, null);
|
return createDropTarget(sourcePart, side, cursor, null);
|
public IDropTarget drag(Control currentControl, Object draggedObject, Point position, Rectangle dragRectangle) { if (!(draggedObject instanceof LayoutPart)) { return null; } final LayoutPart sourcePart = (LayoutPart) draggedObject; if (!isStackType(sourcePart) && !isPaneType(sourcePart)) { return null; } if (sourcePart.getWorkbenchWindow() != getWorkbenchWindow()) { return null; } Rectangle containerBounds = DragUtil.getDisplayBounds(parent); LayoutPart targetPart = null; ILayoutContainer sourceContainer = isStackType(sourcePart) ? (ILayoutContainer) sourcePart : sourcePart.getContainer(); if (containerBounds.contains(position)) { if (root != null) { targetPart = root.findPart(parent.toControl(position)); } if (targetPart != null) { final Control targetControl = targetPart.getControl(); int side = CompatibilityDragTarget.getRelativePosition( targetControl, position); final Rectangle targetBounds = DragUtil .getDisplayBounds(targetControl); // Disallow stacking if this isn't a container if (side == SWT.DEFAULT || (side == SWT.CENTER && !isStackType(targetPart))) { side = Geometry.getClosestSide(targetBounds, position); } // A "pointless drop" would be one that will put the dragged object back where it started. // Note that it should be perfectly valid to drag an object back to where it came from -- however, // the drop should be ignored. boolean pointlessDrop = isZoomed(); if (sourcePart == targetPart) { pointlessDrop = true; } if ((sourceContainer != null) && (sourceContainer == targetPart) && getVisibleChildrenCount(sourceContainer) <= 1) { pointlessDrop = true; } if (side == SWT.CENTER && sourcePart.getContainer() == targetPart) { pointlessDrop = true; } int cursor = side; if (pointlessDrop) { side = SWT.NONE; cursor = SWT.CENTER; } return new SashContainerDropTarget(sourcePart, side, cursor, targetPart); } } else { int side = Geometry.getClosestSide(containerBounds, position); boolean pointlessDrop = isZoomed(); if (isStackType(sourcePart) || (sourcePart.getContainer() != null && isPaneType(sourcePart) && getVisibleChildrenCount(sourcePart .getContainer()) <= 1)) { if (root == null || getVisibleChildrenCount(this) <= 1) { pointlessDrop = true; } } ; int cursor = Geometry.getOppositeSide(side); if (pointlessDrop) { side = SWT.NONE; } return new SashContainerDropTarget(sourcePart, side, cursor, null); } return null; }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/f43823957a434ef1348401eb00754046c71f332d/PartSashContainer.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartSashContainer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1599,
1764,
2326,
8823,
12,
3367,
783,
3367,
16,
1033,
8823,
2423,
921,
16,
5411,
4686,
1754,
16,
13264,
8823,
19463,
13,
288,
3639,
309,
16051,
12,
15997,
2423,
921,
1276,
9995,
1988,
3719,
288,
5411,
327,
446,
31,
3639,
289,
3639,
727,
9995,
1988,
1084,
1988,
273,
261,
3744,
1988,
13,
8823,
2423,
921,
31,
3639,
309,
16051,
291,
2624,
559,
12,
3168,
1988,
13,
597,
401,
291,
8485,
559,
12,
3168,
1988,
3719,
288,
5411,
327,
446,
31,
3639,
289,
3639,
309,
261,
3168,
1988,
18,
588,
2421,
22144,
3829,
1435,
480,
29026,
22144,
3829,
10756,
288,
5411,
327,
446,
31,
3639,
289,
3639,
13264,
1478,
5694,
273,
28425,
1304,
18,
588,
4236,
5694,
12,
2938,
1769,
3639,
9995,
1988,
1018,
1988,
273,
446,
31,
3639,
467,
3744,
2170,
1084,
2170,
273,
353,
2624,
559,
12,
3168,
1988,
13,
692,
261,
2627,
2012,
2170,
13,
1084,
1988,
7734,
294,
1084,
1988,
18,
588,
2170,
5621,
3639,
309,
261,
3782,
5694,
18,
12298,
12,
3276,
3719,
288,
5411,
309,
261,
3085,
480,
446,
13,
288,
7734,
1018,
1988,
273,
1365,
18,
4720,
1988,
12,
2938,
18,
869,
3367,
12,
3276,
10019,
5411,
289,
5411,
309,
261,
3299,
1988,
480,
446,
13,
288,
7734,
727,
8888,
1018,
3367,
273,
1018,
1988,
18,
588,
3367,
5621,
7734,
509,
4889,
273,
5427,
270,
3628,
11728,
2326,
18,
588,
8574,
2555,
12,
13491,
1018,
3367,
16,
1754,
1769,
7734,
727,
13264,
1018,
5694,
273,
28425,
1304,
13491,
263,
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,
1599,
1764,
2326,
8823,
12,
3367,
783,
3367,
16,
1033,
8823,
2423,
921,
16,
5411,
4686,
1754,
16,
13264,
8823,
19463,
13,
288,
3639,
309,
16051,
12,
15997,
2423,
921,
1276,
9995,
1988,
3719,
288,
5411,
327,
446,
31,
3639,
289,
3639,
727,
9995,
1988,
1084,
1988,
273,
261,
3744,
1988,
13,
8823,
2423,
921,
31,
3639,
309,
16051,
291,
2624,
559,
12,
3168,
1988,
13,
597,
401,
291,
8485,
559,
12,
3168,
1988,
3719,
288,
5411,
327,
446,
31,
3639,
289,
3639,
309,
261,
3168,
1988,
18,
588,
2421,
22144,
3829,
1435,
480,
29026,
22144,
3829,
10756,
288,
5411,
327,
446,
31,
3639,
289,
3639,
13264,
1478,
5694,
273,
28425,
1304,
18,
588,
4236,
5694,
12,
2
] |
private void checkReminders() { // if (getPrefs().getBoolean(REMINDER_CHECK)) { // getPrefs().setValue(REMINDER_CHECK, false); final TaskReportGenerator parser = new TaskReportGenerator(MylarTaskListPlugin.getTaskListManager().getTaskList()); parser.addCollector(new ReminderRequiredCollector()); parser.collectTasks(); if (!parser.getAllCollectedTasks().isEmpty()) { Workbench.getInstance().getDisplay().asyncExec(new Runnable() { public void run() { TasksReminderDialog dialog = new TasksReminderDialog(Workbench.getInstance().getDisplay().getActiveShell(), parser.getAllCollectedTasks()); dialog.setBlockOnOpen(false); dialog.open(); } }); } // } }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/7595eee5bca5acc3004862830a8fd7a286cd30f2/MylarTaskListPlugin.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/MylarTaskListPlugin.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
866,
1933,
728,
414,
1435,
288,
202,
202,
759,
202,
430,
261,
588,
1386,
2556,
7675,
588,
5507,
12,
862,
49,
14822,
67,
10687,
3719,
288,
202,
202,
759,
202,
202,
588,
1386,
2556,
7675,
542,
620,
12,
862,
49,
14822,
67,
10687,
16,
629,
1769,
202,
202,
6385,
3837,
4820,
3908,
2082,
273,
394,
3837,
4820,
3908,
12,
12062,
7901,
2174,
682,
3773,
18,
588,
2174,
682,
1318,
7675,
588,
2174,
682,
10663,
202,
202,
4288,
18,
1289,
7134,
12,
2704,
2663,
14055,
3705,
7134,
10663,
202,
202,
4288,
18,
14676,
6685,
5621,
202,
202,
430,
16051,
4288,
18,
588,
1595,
10808,
329,
6685,
7675,
291,
1921,
10756,
288,
1082,
202,
2421,
22144,
18,
588,
1442,
7675,
588,
4236,
7675,
3810,
1905,
12,
2704,
10254,
1435,
288,
9506,
202,
482,
918,
1086,
1435,
288,
6862,
202,
6685,
1933,
14055,
6353,
6176,
273,
394,
20350,
1933,
14055,
6353,
12,
2421,
22144,
18,
588,
1442,
7675,
588,
4236,
7675,
588,
3896,
13220,
9334,
2082,
18,
588,
1595,
10808,
329,
6685,
10663,
6862,
202,
12730,
18,
542,
1768,
1398,
3678,
12,
5743,
1769,
6862,
202,
12730,
18,
3190,
5621,
9506,
202,
97,
1082,
202,
22938,
202,
202,
97,
202,
202,
759,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
866,
1933,
728,
414,
1435,
288,
202,
202,
759,
202,
430,
261,
588,
1386,
2556,
7675,
588,
5507,
12,
862,
49,
14822,
67,
10687,
3719,
288,
202,
202,
759,
202,
202,
588,
1386,
2556,
7675,
542,
620,
12,
862,
49,
14822,
67,
10687,
16,
629,
1769,
202,
202,
6385,
3837,
4820,
3908,
2082,
273,
394,
3837,
4820,
3908,
12,
12062,
7901,
2174,
682,
3773,
18,
588,
2174,
682,
1318,
7675,
588,
2174,
682,
10663,
202,
202,
4288,
18,
1289,
7134,
12,
2704,
2663,
14055,
3705,
7134,
10663,
202,
202,
4288,
18,
14676,
6685,
5621,
202,
202,
430,
16051,
4288,
18,
588,
1595,
10808,
329,
6685,
7675,
291,
1921,
10756,
288,
1082,
202,
2421,
22144,
18,
2
] |
||
else if ((active1 & 0x20000000000000L) != 0L) return jjStopAtPos(1, 117);
|
private final int jjMoveStringLiteralDfa1_0(long active0, long active1){ try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(0, active0, active1); return 1; } switch(curChar) { case 38: if ((active1 & 0x100000000L) != 0L) return jjStopAtPos(1, 96); break; case 42: if ((active0 & 0x100L) != 0L) return jjStartNfaWithStates_0(1, 8, 54); break; case 43: if ((active1 & 0x200000000L) != 0L) return jjStopAtPos(1, 97); break; case 45: if ((active1 & 0x400000000L) != 0L) return jjStopAtPos(1, 98); break; case 60: if ((active1 & 0x80000000000L) != 0L) { jjmatchedKind = 107; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x40000000000000L); case 61: if ((active1 & 0x8000000L) != 0L) return jjStopAtPos(1, 91); else if ((active1 & 0x10000000L) != 0L) return jjStopAtPos(1, 92); else if ((active1 & 0x20000000L) != 0L) return jjStopAtPos(1, 93); else if ((active1 & 0x40000000L) != 0L) return jjStopAtPos(1, 94); else if ((active1 & 0x400000000000L) != 0L) return jjStopAtPos(1, 110); else if ((active1 & 0x800000000000L) != 0L) return jjStopAtPos(1, 111); else if ((active1 & 0x1000000000000L) != 0L) return jjStopAtPos(1, 112); else if ((active1 & 0x2000000000000L) != 0L) return jjStopAtPos(1, 113); else if ((active1 & 0x4000000000000L) != 0L) return jjStopAtPos(1, 114); else if ((active1 & 0x8000000000000L) != 0L) return jjStopAtPos(1, 115); else if ((active1 & 0x10000000000000L) != 0L) return jjStopAtPos(1, 116); else if ((active1 & 0x20000000000000L) != 0L) return jjStopAtPos(1, 117); break; case 62: if ((active1 & 0x100000000000L) != 0L) { jjmatchedKind = 108; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x180200000000000L); case 91: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x400000000000000L); case 97: return jjMoveStringLiteralDfa2_0(active0, 0x90008030000L, active1, 0L); case 98: return jjMoveStringLiteralDfa2_0(active0, 0x1000L, active1, 0L); case 101: return jjMoveStringLiteralDfa2_0(active0, 0x820000400000L, active1, 0L); case 102: if ((active0 & 0x200000000L) != 0L) return jjStartNfaWithStates_0(1, 33, 28); break; case 104: return jjMoveStringLiteralDfa2_0(active0, 0x20e1000000040000L, active1, 0L); case 105: return jjMoveStringLiteralDfa2_0(active0, 0x30000000L, active1, 0L); case 108: return jjMoveStringLiteralDfa2_0(active0, 0x42080000L, active1, 0L); case 109: return jjMoveStringLiteralDfa2_0(active0, 0xc00000000L, active1, 0L); case 110: return jjMoveStringLiteralDfa2_0(active0, 0x7000000000L, active1, 0L); case 111: if ((active0 & 0x800000L) != 0L) { jjmatchedKind = 23; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0x1800008181302000L, active1, 0L); case 114: return jjMoveStringLiteralDfa2_0(active0, 0x700300000004000L, active1, 0L); case 115: return jjMoveStringLiteralDfa2_0(active0, 0x8000000000000000L, active1, 0L); case 116: return jjMoveStringLiteralDfa2_0(active0, 0x4002000000000000L, active1, 0L); case 117: return jjMoveStringLiteralDfa2_0(active0, 0x4440000000000L, active1, 0L); case 119: return jjMoveStringLiteralDfa2_0(active0, 0x8000000000000L, active1, 0L); case 120: return jjMoveStringLiteralDfa2_0(active0, 0x4000000L, active1, 0L); case 121: return jjMoveStringLiteralDfa2_0(active0, 0x10000000008000L, active1, 0L); case 124: if ((active1 & 0x80000000L) != 0L) return jjStopAtPos(1, 95); break; default : break; } return jjStartNfa_0(0, active0, active1);}
|
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/83d81b076b32acdf3f82077c7f4c2a2e160aa32f/JavaParserTokenManager.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParserTokenManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
28565,
40,
507,
21,
67,
20,
12,
5748,
2695,
20,
16,
1525,
2695,
21,
15329,
282,
775,
288,
662,
2156,
273,
810,
67,
3256,
18,
896,
2156,
5621,
289,
282,
1044,
12,
6290,
18,
1594,
18,
14106,
425,
13,
288,
1377,
10684,
4947,
28565,
40,
507,
67,
20,
12,
20,
16,
2695,
20,
16,
2695,
21,
1769,
1377,
327,
404,
31,
282,
289,
282,
1620,
12,
1397,
2156,
13,
282,
288,
1377,
648,
18012,
30,
540,
309,
14015,
3535,
21,
473,
374,
92,
21,
12648,
48,
13,
480,
374,
48,
13,
5411,
327,
10684,
4947,
861,
1616,
12,
21,
16,
19332,
1769,
540,
898,
31,
1377,
648,
14856,
30,
540,
309,
14015,
3535,
20,
473,
374,
92,
6625,
48,
13,
480,
374,
48,
13,
5411,
327,
10684,
1685,
50,
507,
1190,
7629,
67,
20,
12,
21,
16,
1725,
16,
22431,
1769,
540,
898,
31,
1377,
648,
21193,
30,
540,
309,
14015,
3535,
21,
473,
374,
92,
22,
12648,
48,
13,
480,
374,
48,
13,
5411,
327,
10684,
4947,
861,
1616,
12,
21,
16,
16340,
1769,
540,
898,
31,
1377,
648,
12292,
30,
540,
309,
14015,
3535,
21,
473,
374,
92,
24,
12648,
48,
13,
480,
374,
48,
13,
5411,
327,
10684,
4947,
861,
1616,
12,
21,
16,
24645,
1769,
540,
898,
31,
1377,
648,
4752,
30,
540,
309,
14015,
3535,
21,
473,
374,
92,
28,
2787,
9449,
48,
13,
480,
374,
48,
13,
540,
288,
5411,
10684,
11073,
5677,
273,
1728,
27,
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,
3238,
727,
509,
10684,
7607,
28565,
40,
507,
21,
67,
20,
12,
5748,
2695,
20,
16,
1525,
2695,
21,
15329,
282,
775,
288,
662,
2156,
273,
810,
67,
3256,
18,
896,
2156,
5621,
289,
282,
1044,
12,
6290,
18,
1594,
18,
14106,
425,
13,
288,
1377,
10684,
4947,
28565,
40,
507,
67,
20,
12,
20,
16,
2695,
20,
16,
2695,
21,
1769,
1377,
327,
404,
31,
282,
289,
282,
1620,
12,
1397,
2156,
13,
282,
288,
1377,
648,
18012,
30,
540,
309,
14015,
3535,
21,
473,
374,
92,
21,
12648,
48,
13,
480,
374,
48,
13,
5411,
327,
10684,
4947,
861,
1616,
12,
21,
16,
19332,
1769,
540,
898,
31,
1377,
648,
14856,
30,
540,
309,
14015,
3535,
20,
2
] |
|
return timeDV.compareDates(((IntSequence)value1).getInts(), ((IntSequence)value2).getInts(), true);
|
return XMLCalendar.compare((XMLCalendar)value1, (XMLCalendar)value2);
|
public int compareValues(Object value1, Object value2) { return timeDV.compareDates(((IntSequence)value1).getInts(), ((IntSequence)value2).getInts(), true); }
|
11226 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11226/b3e321e8f543516d1f086439850cedc9357c0174/XSDTimeType.java/clean/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/type/XSDTimeType.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
3400,
1972,
12,
921,
460,
21,
16,
1033,
460,
22,
13,
225,
288,
565,
327,
3167,
7335,
18,
9877,
12443,
4201,
7335,
13,
1132,
21,
16,
261,
4201,
7335,
13,
1132,
22,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
3400,
1972,
12,
921,
460,
21,
16,
1033,
460,
22,
13,
225,
288,
565,
327,
3167,
7335,
18,
9877,
12443,
4201,
7335,
13,
1132,
21,
16,
261,
4201,
7335,
13,
1132,
22,
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
] |
protected void process() { if (multiPart) { // Change the request to a multipart web request so parameters are // parsed out correctly final HttpServletRequest request = ((WebRequest)getRequest()).getHttpServletRequest(); try { final MultipartWebRequest multipartWebRequest = new MultipartWebRequest(this.maxSize, request); getRequestCycle().setRequest(multipartWebRequest); } catch (FileUploadException e) { // Create model with exception and maximum size values final HashMap model = new HashMap(); model.put("exception", e); model.put("maxSize", maxSize); if (e instanceof SizeLimitExceededException) { // Resource key should be <form-id>.uploadTooLarge to override default message final String defaultValue = "Upload must be less than " + maxSize; String msg = getString(getId() + ".uploadTooLarge", Model.valueOf(model), defaultValue); error(msg); if (log.isDebugEnabled()) { log.error(msg, e); } else { log.error(msg); } } else { // Resource key should be <form-id>.uploadFailed to override default message final String defaultValue = "Upload failed: " + e.getLocalizedMessage(); String msg = getString(getId() + ".uploadFailed", Model.valueOf(model), defaultValue); error(msg); log.error(msg, e); } // don't process the form if there is a FileUploadException return; } } // first, see if the processing was triggered by a Wicket button final Button submittingButton = findSubmittingButton(); // when processing was triggered by a Wicket button and that button indicates // it wants to be called immediately (without validating), call onSubmit right away. if (submittingButton != null && (submittingButton.isImmediate())) { submittingButton.onSubmit(); } else { // as processing was not triggered by a button with immediate == true, // we execute validation now before anything else validate(); // If a validation error occurred if (hasError()) { // mark all children as invalid markFormComponentsInvalid(); // let subclass handle error onError(); } else { // before updating, call the interception method for clients beforeUpdateFormComponentModels(); // Update model using form data updateFormComponentModels(); // Persist FormComponents if requested persistFormComponentData(); // let clients handle further processing delegateSubmit(submittingButton); } } }
|
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/c3f613a1d24372f28bec4bb387a13fae21585bed/Form.java/clean/wicket/src/java/wicket/markup/html/form/Form.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1207,
1435,
202,
95,
202,
202,
430,
261,
7027,
1988,
13,
3196,
202,
95,
1082,
202,
759,
7576,
326,
590,
358,
279,
10263,
3311,
590,
1427,
1472,
854,
1082,
202,
759,
2707,
596,
8783,
1082,
202,
6385,
9984,
590,
273,
14015,
4079,
691,
13,
588,
691,
1435,
2934,
588,
2940,
18572,
5621,
1082,
202,
698,
1082,
202,
95,
9506,
202,
6385,
19919,
4079,
691,
10263,
4079,
691,
273,
394,
19919,
4079,
691,
12,
2211,
18,
1896,
1225,
16,
590,
1769,
9506,
202,
588,
691,
13279,
7675,
542,
691,
12,
16404,
4079,
691,
1769,
1082,
202,
97,
1082,
202,
14683,
261,
812,
4777,
503,
425,
13,
1082,
202,
95,
9506,
202,
759,
1788,
938,
598,
1520,
471,
4207,
963,
924,
9506,
202,
6385,
4317,
938,
273,
394,
4317,
5621,
9506,
202,
2284,
18,
458,
2932,
4064,
3113,
425,
1769,
9506,
202,
2284,
18,
458,
2932,
1896,
1225,
3113,
14777,
1769,
9506,
202,
430,
261,
73,
1276,
6321,
21512,
13,
9506,
202,
95,
6862,
202,
759,
2591,
498,
1410,
506,
411,
687,
17,
350,
18652,
6327,
10703,
20020,
358,
3849,
805,
883,
6862,
202,
6385,
514,
4593,
273,
315,
4777,
1297,
506,
5242,
2353,
315,
397,
14777,
31,
6862,
202,
780,
1234,
273,
4997,
12,
26321,
1435,
397,
3552,
6327,
10703,
20020,
3113,
3164,
18,
1132,
951,
12,
2284,
3631,
4593,
1769,
6862,
202,
1636,
12,
3576,
1769,
6862,
202,
430,
261,
1330,
18,
291,
2829,
1526,
10756,
6862,
202,
95,
25083,
202,
1330,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1207,
1435,
202,
95,
202,
202,
430,
261,
7027,
1988,
13,
3196,
202,
95,
1082,
202,
759,
7576,
326,
590,
358,
279,
10263,
3311,
590,
1427,
1472,
854,
1082,
202,
759,
2707,
596,
8783,
1082,
202,
6385,
9984,
590,
273,
14015,
4079,
691,
13,
588,
691,
1435,
2934,
588,
2940,
18572,
5621,
1082,
202,
698,
1082,
202,
95,
9506,
202,
6385,
19919,
4079,
691,
10263,
4079,
691,
273,
394,
19919,
4079,
691,
12,
2211,
18,
1896,
1225,
16,
590,
1769,
9506,
202,
588,
691,
13279,
7675,
542,
691,
12,
16404,
4079,
691,
1769,
1082,
202,
97,
1082,
202,
14683,
261,
812,
4777,
503,
425,
13,
1082,
202,
95,
9506,
202,
759,
1788,
938,
598,
1520,
2
] |
||
val = dbElement.get(ref);
|
dis = dbElement.getAsStream(ref);
|
public void reindex(DocumentImpl oldDoc, NodeImpl node) { if (elementIds.size() == 0) return; Lock lock = dbElement.getLock(); Map.Entry entry; String elementName; List oldList = new ArrayList(), idList; NodeProxy p; VariableByteOutputStream os; VariableByteInputStream is; int len, docId; byte[] data; Value ref; Value val; short sym; short collectionId = oldDoc.getCollection().getId(); long delta, last, gid, address; try { // iterate through elements for (Iterator i = elementIds.entrySet().iterator(); i.hasNext();) { entry = (Map.Entry) i.next(); idList = (ArrayList) entry.getValue(); elementName = (String) entry.getKey(); sym = NativeBroker.getSymbols().getSymbol(elementName); ref = new NativeBroker.ElementValue(collectionId, sym); // try to retrieve old index entry for the element try { lock.acquire(Lock.READ_LOCK); val = dbElement.get(ref); } catch (LockException e) { LOG.error("could not acquire lock for index on " + elementName); return; } finally { lock.release(); } os = new VariableByteOutputStream(); oldList.clear(); if (val != null) { // add old entries to the new list data = val.getData(); is = new VariableByteInputStream(data); try { while (is.available() > 0) { docId = is.readInt(); len = is.readInt(); if (docId != oldDoc.getDocId()) { // section belongs to another document: // copy data to new buffer os.writeInt(docId); os.writeInt(len); for (int j = 0; j < len * 4; j++) { is.copyTo(os); } } else { // copy nodes to new list last = 0; for (int j = 0; j < len; j++) { delta = is.readLong(); gid = last + delta; last = gid; address = StorageAddress.read(is); if (node == null && oldDoc.getTreeLevel(gid) < oldDoc.reindexRequired()) { idList.add(new NodeProxy(oldDoc, gid, address)); } else if ( node != null && (!XMLUtil .isDescendantOrSelf(oldDoc, node.getGID(), gid))) { if (!containsNode(idList, gid)) { oldList.add(new NodeProxy(oldDoc, gid, address)); } } } } } } catch (EOFException e) { LOG.error("end-of-file while updating index for element " + elementName); } catch (IOException e) { LOG.error("io-error while updating index for element " + elementName); } } if (node != null) idList.addAll(oldList); // write out the updated list FastQSort.sort(idList, 0, idList.size() - 1); len = idList.size(); os.writeInt(doc.getDocId()); os.writeInt(len); last = 0; for (int j = 0; j < len; j++) { p = (NodeProxy) idList.get(j); delta = p.gid - last; last = p.gid; os.writeLong(delta); StorageAddress.write(p.internalAddress, os); } data = os.toByteArray(); try { lock.acquire(Lock.WRITE_LOCK); if (val == null) dbElement.put(ref, data); else dbElement.update(val.getAddress(), ref, data); } catch (LockException e) { LOG.error("could not acquire lock on elements", e); } finally { lock.release(); } } } catch (ReadOnlyException e) { LOG.warn("database is read only"); } elementIds.clear(); }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/31167aa387bb2d591946940b8fba00662b4c8930/NativeElementIndex.java/clean/src/org/exist/storage/NativeElementIndex.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
17492,
12,
2519,
2828,
1592,
1759,
16,
2029,
2828,
756,
13,
288,
202,
202,
430,
261,
2956,
2673,
18,
1467,
1435,
422,
374,
13,
1082,
202,
2463,
31,
202,
202,
2531,
2176,
273,
1319,
1046,
18,
588,
2531,
5621,
202,
202,
863,
18,
1622,
1241,
31,
202,
202,
780,
14453,
31,
202,
202,
682,
1592,
682,
273,
394,
2407,
9334,
29174,
31,
202,
202,
907,
3886,
293,
31,
202,
202,
3092,
3216,
4632,
1140,
31,
202,
202,
3092,
3216,
4348,
353,
31,
202,
202,
474,
562,
16,
20111,
31,
202,
202,
7229,
8526,
501,
31,
202,
202,
620,
1278,
31,
202,
202,
620,
1244,
31,
202,
202,
6620,
5382,
31,
202,
202,
6620,
1849,
548,
273,
1592,
1759,
18,
588,
2532,
7675,
26321,
5621,
202,
202,
5748,
3622,
16,
1142,
16,
11399,
16,
1758,
31,
202,
202,
698,
288,
1082,
202,
759,
7401,
3059,
2186,
1082,
202,
1884,
261,
3198,
277,
273,
930,
2673,
18,
4099,
694,
7675,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
9506,
202,
4099,
273,
261,
863,
18,
1622,
13,
277,
18,
4285,
5621,
9506,
202,
350,
682,
273,
261,
19558,
13,
1241,
18,
24805,
5621,
9506,
202,
2956,
461,
273,
261,
780,
13,
1241,
18,
588,
653,
5621,
9506,
202,
8117,
273,
16717,
11194,
18,
588,
14821,
7675,
588,
5335,
12,
2956,
461,
1769,
9506,
202,
1734,
273,
394,
16717,
11194,
18,
1046,
620,
12,
5548,
548,
16,
5382,
1769,
9506,
202,
759,
775,
358,
4614,
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,
17492,
12,
2519,
2828,
1592,
1759,
16,
2029,
2828,
756,
13,
288,
202,
202,
430,
261,
2956,
2673,
18,
1467,
1435,
422,
374,
13,
1082,
202,
2463,
31,
202,
202,
2531,
2176,
273,
1319,
1046,
18,
588,
2531,
5621,
202,
202,
863,
18,
1622,
1241,
31,
202,
202,
780,
14453,
31,
202,
202,
682,
1592,
682,
273,
394,
2407,
9334,
29174,
31,
202,
202,
907,
3886,
293,
31,
202,
202,
3092,
3216,
4632,
1140,
31,
202,
202,
3092,
3216,
4348,
353,
31,
202,
202,
474,
562,
16,
20111,
31,
202,
202,
7229,
8526,
501,
31,
202,
202,
620,
1278,
31,
202,
202,
620,
1244,
31,
202,
202,
6620,
5382,
31,
202,
202,
6620,
1849,
548,
2
] |
String sourceName = getNormilizedUrl(fnOrScript); SourceInfo si; synchronized (sourceNames) { si = (SourceInfo)sourceNames.get(sourceName); if (si != null) { si.setSource(source); }else { si = new SourceInfo(sourceName, source); sourceNames.put(sourceName, si); } } ScriptItem item = new ScriptItem(fnOrScript, si); si.updateLineInfo(item); scriptItems.put(fnOrScript, item); String name = fnOrScript.getFunctionName(); if (name != null && name.length() > 0 && !name.equals("anonymous")) { functionNames.put(name, item); } loadedFile(si);
|
String sourceUrl = getNormilizedUrl(fnOrScript); SourceInfo si = registerSource(sourceUrl, source); registerScript(si, fnOrScript);
|
public void handleCompilationDone(Context cx, DebuggableScript fnOrScript, String source) { String sourceName = getNormilizedUrl(fnOrScript); SourceInfo si; synchronized (sourceNames) { si = (SourceInfo)sourceNames.get(sourceName); if (si != null) { si.setSource(source); }else { si = new SourceInfo(sourceName, source); sourceNames.put(sourceName, si); } } ScriptItem item = new ScriptItem(fnOrScript, si); si.updateLineInfo(item); scriptItems.put(fnOrScript, item); String name = fnOrScript.getFunctionName(); if (name != null && name.length() > 0 && !name.equals("anonymous")) { functionNames.put(name, item); } loadedFile(si); }
|
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/50029c37e2419ff529758cddb93bb0c01830ae0a/Main.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1640,
19184,
7387,
12,
1042,
9494,
16,
4015,
8455,
3651,
2295,
1162,
3651,
16,
4766,
1377,
514,
1084,
13,
565,
288,
3639,
514,
28337,
273,
11069,
535,
330,
1235,
1489,
12,
4293,
1162,
3651,
1769,
3639,
4998,
966,
7533,
31,
3639,
3852,
261,
3168,
1557,
13,
288,
5411,
7533,
273,
261,
1830,
966,
13,
3168,
1557,
18,
588,
12,
3168,
461,
1769,
5411,
309,
261,
7722,
480,
446,
13,
288,
7734,
7533,
18,
542,
1830,
12,
3168,
1769,
5411,
289,
12107,
288,
7734,
7533,
273,
394,
4998,
966,
12,
3168,
461,
16,
1084,
1769,
7734,
1084,
1557,
18,
458,
12,
3168,
461,
16,
7533,
1769,
5411,
289,
3639,
289,
3639,
7739,
1180,
761,
273,
394,
7739,
1180,
12,
4293,
1162,
3651,
16,
7533,
1769,
3639,
7533,
18,
2725,
1670,
966,
12,
1726,
1769,
3639,
2728,
3126,
18,
458,
12,
4293,
1162,
3651,
16,
761,
1769,
3639,
514,
508,
273,
2295,
1162,
3651,
18,
588,
25258,
5621,
3639,
309,
261,
529,
480,
446,
597,
508,
18,
2469,
1435,
405,
374,
597,
401,
529,
18,
14963,
2932,
19070,
6,
3719,
288,
5411,
445,
1557,
18,
458,
12,
529,
16,
761,
1769,
3639,
289,
3639,
4203,
812,
12,
7722,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1640,
19184,
7387,
12,
1042,
9494,
16,
4015,
8455,
3651,
2295,
1162,
3651,
16,
4766,
1377,
514,
1084,
13,
565,
288,
3639,
514,
28337,
273,
11069,
535,
330,
1235,
1489,
12,
4293,
1162,
3651,
1769,
3639,
4998,
966,
7533,
31,
3639,
3852,
261,
3168,
1557,
13,
288,
5411,
7533,
273,
261,
1830,
966,
13,
3168,
1557,
18,
588,
12,
3168,
461,
1769,
5411,
309,
261,
7722,
480,
446,
13,
288,
7734,
7533,
18,
542,
1830,
12,
3168,
1769,
5411,
289,
12107,
288,
7734,
7533,
273,
394,
4998,
966,
12,
3168,
461,
16,
1084,
1769,
7734,
1084,
1557,
18,
458,
12,
3168,
461,
16,
7533,
1769,
5411,
289,
3639,
289,
3639,
7739,
1180,
761,
273,
394,
7739,
2
] |
save();
|
save( );
|
public void testScalarParameterFormatCompatible( ) throws Exception { openDesign( "CompatibleScalarParameterFormat.xml" ); //$NON-NLS-1$ save(); assertTrue( compareFile( "CompatibleScalarParameterFormat_golden.xml") ); //$NON-NLS-1$ }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/172b2d92316f30282ab12ffaad5d23912936b8f3/ParserCompatibilityTest.java/clean/model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/ParserCompatibilityTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
13639,
1662,
1630,
14599,
12,
262,
1216,
1185,
202,
95,
202,
202,
3190,
15478,
12,
315,
14599,
13639,
1662,
1630,
18,
2902,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
5688,
5621,
202,
202,
11231,
5510,
12,
3400,
812,
12,
9506,
202,
6,
14599,
13639,
1662,
1630,
67,
75,
1673,
275,
18,
2902,
7923,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1842,
13639,
1662,
1630,
14599,
12,
262,
1216,
1185,
202,
95,
202,
202,
3190,
15478,
12,
315,
14599,
13639,
1662,
1630,
18,
2902,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
5688,
5621,
202,
202,
11231,
5510,
12,
3400,
812,
12,
9506,
202,
6,
14599,
13639,
1662,
1630,
67,
75,
1673,
275,
18,
2902,
7923,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
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
] |
else if (column.equals(coordEnd))
|
else if (column.equals(coordEnd) && endIndex < 0)
|
protected void processResultSet(Connection conn, ResultSet rs) throws IOException, SQLException { ResultSetMetaData rmeta = rs.getMetaData(); // process columnNames for required attribute indices for (int i = 1, nColumns = rmeta.getColumnCount(); i <= nColumns; ++i) { String column = rmeta.getColumnName(i); if (column.equals(queryID)) queryIDindex = i; else if (column.equals(coordStart)) startIndex = i; else if (column.equals(coordEnd)) endIndex = i; else if (column.equals(chrField)) chromIndex = i; else if (column.equals(strandField)) strandIndex = i; else otherIndices.add(new Integer(i)); } while (rs.next()) { Integer keyID = new Integer(rs.getInt(queryIDindex)); if ( keyID.intValue() != lastID ) { if ( lastID > -1 ) { //This is not the first ID in a batch, process the previous ID sequences seqWriter.writeSequences(new Integer(lastID), conn); } //refresh the iDs TreeMap iDs = new TreeMap(); lastIDRowsProcessed = 0; // refresh for the new ID Hashtable atts = new Hashtable(); iDs.put(keyID, atts); } Hashtable atts = (Hashtable) iDs.get(keyID); int start = rs.getInt(startIndex); if (start > 0) { // if start is not null, create a new SequenceLocation object from the chr, start, end, and strand String chr = rs.getString(chromIndex); int end = rs.getInt(endIndex); int strand = rs.getInt(strandIndex); // keep track of the lowest start and highest end for the gene if (!(atts.containsKey(GENELOC))) { atts.put(GENELOC, new SequenceLocation(chr, start, end, strand)); } else { SequenceLocation geneloc = (SequenceLocation) atts.get(GENELOC); if (start < geneloc.getStart()) atts.put(GENELOC, new SequenceLocation(chr, start, geneloc.getEnd(), strand)); // overwrite the previous copy if (end > geneloc.getEnd()) atts.put(GENELOC, new SequenceLocation(chr, geneloc.getStart(), end, strand)); // overwrite the previous copy } } // Rest can be duplicates, or novel values for a given field, collect lists of values for each field // currindex is now the last index of the DisplayIDs. Increment it, and iterate over the rest of the ResultSet to print the description for (int i = 0, n = otherIndices.size(); i < n; i++) { int currindex = ((Integer) otherIndices.get(i)).intValue(); if (rs.getString(currindex) != null) { String field = attributes[currindex - 1].getField(); if (!fields.contains(field)) fields.add(field); String value = rs.getString(currindex); if (atts.containsKey(field)) { if (!((ArrayList) atts.get(field)).contains(value)) ((ArrayList) atts.get(field)).add(value); } else { List values = new ArrayList(); values.add(value); atts.put(field, values); } } } totalRows++; totalRowsThisExecute++; resultSetRowsProcessed++; lastID = keyID.intValue(); lastIDRowsProcessed++; } }
|
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/6671cbbcb14579637249dca27eb9ceb0fb9c7b7d/GeneEISeqQueryRunner.java/clean/src/java/org/ensembl/mart/lib/GeneEISeqQueryRunner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1207,
13198,
12,
1952,
1487,
16,
10842,
3597,
13,
1216,
1860,
16,
6483,
288,
202,
202,
13198,
6998,
436,
3901,
273,
3597,
18,
588,
6998,
5621,
202,
202,
759,
1207,
19975,
364,
1931,
1566,
4295,
202,
202,
1884,
261,
474,
277,
273,
404,
16,
290,
3380,
273,
436,
3901,
18,
588,
1494,
1380,
5621,
277,
1648,
290,
3380,
31,
965,
77,
13,
288,
1082,
202,
780,
1057,
273,
436,
3901,
18,
588,
8516,
12,
77,
1769,
5411,
309,
261,
2827,
18,
14963,
12,
2271,
734,
3719,
7734,
843,
734,
1615,
273,
277,
31,
5411,
469,
309,
261,
2827,
18,
14963,
12,
5732,
1685,
3719,
7734,
10588,
273,
277,
31,
5411,
469,
309,
261,
2827,
18,
14963,
12,
5732,
1638,
13,
597,
13818,
411,
374,
13,
7734,
13818,
273,
277,
31,
5411,
469,
309,
261,
2827,
18,
14963,
12,
15182,
974,
3719,
7734,
8123,
1016,
273,
277,
31,
5411,
469,
309,
261,
2827,
18,
14963,
12,
701,
464,
974,
3719,
7734,
16706,
1016,
273,
277,
31,
5411,
469,
7734,
1308,
8776,
18,
1289,
12,
2704,
2144,
12,
77,
10019,
202,
202,
97,
202,
202,
17523,
261,
5453,
18,
4285,
10756,
288,
1082,
202,
4522,
31761,
273,
394,
2144,
12,
5453,
18,
588,
1702,
12,
2271,
734,
1615,
10019,
1082,
202,
430,
261,
31761,
18,
474,
620,
1435,
480,
1142,
734,
225,
262,
288,
9506,
202,
430,
261,
1142,
734,
405,
300,
21,
225,
262,
288,
6862,
202,
759,
2503,
353,
486,
326,
1122,
1599,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1207,
13198,
12,
1952,
1487,
16,
10842,
3597,
13,
1216,
1860,
16,
6483,
288,
202,
202,
13198,
6998,
436,
3901,
273,
3597,
18,
588,
6998,
5621,
202,
202,
759,
1207,
19975,
364,
1931,
1566,
4295,
202,
202,
1884,
261,
474,
277,
273,
404,
16,
290,
3380,
273,
436,
3901,
18,
588,
1494,
1380,
5621,
277,
1648,
290,
3380,
31,
965,
77,
13,
288,
1082,
202,
780,
1057,
273,
436,
3901,
18,
588,
8516,
12,
77,
1769,
5411,
309,
261,
2827,
18,
14963,
12,
2271,
734,
3719,
7734,
843,
734,
1615,
273,
277,
31,
5411,
469,
309,
261,
2827,
18,
14963,
12,
5732,
1685,
3719,
7734,
10588,
273,
277,
31,
5411,
469,
309,
261,
2827,
18,
2
] |
public void visitBlockNode(Node iVisited) { visit(iVisited); if (!_expandBlocks) { for (Node node = iVisited; node != null; node = node.getNextNode()) node.getHeadNode().accept(this); } else { iVisited.getHeadNode().accept(this); Node lNext = iVisited.getNextNode(); if (lNext != null) lNext.accept(this); } leave(iVisited); }
|
public void visitBlockNode(Node iVisited) { visit(iVisited); if (!_expandBlocks) { for (Node node = iVisited; node != null; node = node.getNextNode()) { node.getHeadNode().accept(this); } } else { iVisited.getHeadNode().accept(this); Node lNext = iVisited.getNextNode(); if (lNext != null) { lNext.accept(this); } } leave(iVisited); }
|
public void visitBlockNode(Node iVisited) { visit(iVisited); if (!_expandBlocks) { for (Node node = iVisited; node != null; node = node.getNextNode()) node.getHeadNode().accept(this); } else { iVisited.getHeadNode().accept(this); Node lNext = iVisited.getNextNode(); if (lNext != null) lNext.accept(this); } leave(iVisited); }
|
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
1768,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
430,
16051,
67,
12320,
6450,
13,
202,
202,
95,
1082,
202,
1884,
261,
907,
756,
273,
277,
30019,
31,
756,
480,
446,
31,
756,
273,
756,
18,
588,
2134,
907,
10756,
9506,
202,
2159,
18,
588,
1414,
907,
7675,
9436,
12,
2211,
1769,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
77,
30019,
18,
588,
1414,
907,
7675,
9436,
12,
2211,
1769,
1082,
202,
907,
328,
2134,
273,
277,
30019,
18,
588,
2134,
907,
5621,
1082,
202,
430,
261,
80,
2134,
480,
446,
13,
9506,
202,
80,
2134,
18,
9436,
12,
2211,
1769,
202,
202,
97,
202,
202,
19574,
12,
77,
30019,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
1768,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
430,
16051,
67,
12320,
6450,
13,
202,
202,
95,
1082,
202,
1884,
261,
907,
756,
273,
277,
30019,
31,
756,
480,
446,
31,
756,
273,
756,
18,
588,
2134,
907,
10756,
9506,
202,
2159,
18,
588,
1414,
907,
7675,
9436,
12,
2211,
1769,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
77,
30019,
18,
588,
1414,
907,
7675,
9436,
12,
2211,
1769,
1082,
202,
907,
328,
2134,
273,
277,
30019,
18,
588,
2134,
907,
5621,
1082,
202,
430,
261,
80,
2134,
480,
446,
13,
9506,
202,
80,
2134,
18,
9436,
12,
2211,
1769,
2
] |
if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { Point p = findPointForIndex(currentScrollLocation); diff = p.x; }
|
protected void paintContentBorderBottomEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h) { Color saved = g.getColor(); int startgap = rects[selectedIndex].x; int endgap = rects[selectedIndex].x + rects[selectedIndex].width; int diff = 0; if (tabPlacement == SwingConstants.BOTTOM) { if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { Point p = findPointForIndex(currentScrollLocation); diff = p.x; } g.setColor(shadow); g.drawLine(x + 1, y + h - 1, startgap - diff, y + h - 1); g.drawLine(endgap - diff, y + h - 1, x + w - 1, y + h - 1); g.setColor(darkShadow); g.drawLine(x, y + h, startgap - diff, y + h); g.drawLine(endgap - diff, y + h, x + w, y + h); } else { g.setColor(shadow); g.drawLine(x + 1, y + h - 1, x + w - 1, y + h - 1); g.setColor(darkShadow); g.drawLine(x, y + h, x + w, y + h); } g.setColor(saved); }
|
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/c3578ff8df212cfd845d637bc8e129d627f9d68f/BasicTabbedPaneUI.java/clean/javax/swing/plaf/basic/BasicTabbedPaneUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
12574,
1350,
8107,
10393,
6098,
12,
17558,
314,
16,
509,
3246,
12420,
16,
4766,
2868,
509,
29244,
16,
509,
619,
16,
509,
677,
16,
4766,
2868,
509,
341,
16,
509,
366,
13,
225,
288,
565,
5563,
5198,
273,
314,
18,
588,
2957,
5621,
565,
509,
787,
14048,
273,
4917,
87,
63,
8109,
1016,
8009,
92,
31,
565,
509,
679,
14048,
273,
4917,
87,
63,
8109,
1016,
8009,
92,
397,
4917,
87,
63,
8109,
1016,
8009,
2819,
31,
565,
509,
3122,
273,
374,
31,
565,
309,
261,
7032,
12420,
422,
26145,
2918,
18,
28891,
13,
1377,
288,
3639,
309,
261,
7032,
8485,
18,
588,
5661,
3744,
2582,
1435,
422,
804,
5661,
2992,
8485,
18,
2312,
14555,
67,
28899,
67,
7868,
5069,
13,
1850,
288,
5411,
4686,
293,
273,
1104,
2148,
1290,
1016,
12,
2972,
6806,
2735,
1769,
5411,
3122,
273,
293,
18,
92,
31,
1850,
289,
3639,
314,
18,
542,
2957,
12,
19119,
1769,
3639,
314,
18,
9446,
1670,
12,
92,
397,
404,
16,
677,
397,
366,
300,
404,
16,
787,
14048,
300,
3122,
16,
677,
397,
366,
300,
404,
1769,
3639,
314,
18,
9446,
1670,
12,
409,
14048,
300,
3122,
16,
677,
397,
366,
300,
404,
16,
619,
397,
341,
300,
404,
16,
677,
397,
366,
300,
404,
1769,
3639,
314,
18,
542,
2957,
12,
25045,
12957,
1769,
3639,
314,
18,
9446,
1670,
12,
92,
16,
677,
397,
366,
16,
787,
14048,
300,
3122,
16,
677,
397,
366,
1769,
3639,
314,
18,
9446,
1670,
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,
918,
12574,
1350,
8107,
10393,
6098,
12,
17558,
314,
16,
509,
3246,
12420,
16,
4766,
2868,
509,
29244,
16,
509,
619,
16,
509,
677,
16,
4766,
2868,
509,
341,
16,
509,
366,
13,
225,
288,
565,
5563,
5198,
273,
314,
18,
588,
2957,
5621,
565,
509,
787,
14048,
273,
4917,
87,
63,
8109,
1016,
8009,
92,
31,
565,
509,
679,
14048,
273,
4917,
87,
63,
8109,
1016,
8009,
92,
397,
4917,
87,
63,
8109,
1016,
8009,
2819,
31,
565,
509,
3122,
273,
374,
31,
565,
309,
261,
7032,
12420,
422,
26145,
2918,
18,
28891,
13,
1377,
288,
3639,
309,
261,
7032,
8485,
18,
588,
5661,
3744,
2582,
1435,
422,
804,
5661,
2992,
8485,
18,
2312,
14555,
67,
2
] |
|
if (arbitraryStepSize != 0) { GVector xI = new GVector(kPoint.getSize()); double fxI = 0; direction.setSize(searchDirection.getSize()); double fMinimumMinus1 = fxa; double fMinimum = fxb; do { parabolicInterpolation(); xI.set(kPoint); scaleDirection.set(direction); scaleDirection.scale(parabolMinimumLambda); xI.add(scaleDirection);
|
direction.setSize(searchDirection.getSize()); bracketingTheMinimum(kPoint, searchDirection, forceFieldFunction); if (fxb < fxa & fxb < fxc) { GVector xI = new GVector(kPoint.getSize()); double fxI = 0; double fMinimumMinus1 = fxa; double fMinimum = fxb;
|
public void setLineSearchLambda(GVector kPoint, GVector searchDirection, PotentialFunction forceFieldFunction, int iterNum) { //System.out.println(""); //System.out.println("Start the line search: "); bracketingTheMinimum(kPoint, searchDirection, forceFieldFunction, iterNum); if (arbitraryStepSize != 0) { //System.out.print("xb = " + xb + " "); //System.out.println("fxb = " + fxb); //System.out.println("Parabolic interpolation : "); GVector xI = new GVector(kPoint.getSize()); double fxI = 0; direction.setSize(searchDirection.getSize()); double fMinimumMinus1 = fxa; double fMinimum = fxb; do { parabolicInterpolation(); xI.set(kPoint); scaleDirection.set(direction); scaleDirection.scale(parabolMinimumLambda); xI.add(scaleDirection); fxI = f * forceFieldFunction.energyFunction(xI); //if (fxI<fxa & fxI < fxb & fxI<fxc) { if (parabolMinimumLambda >lambdaa & fxI < fxb & parabolMinimumLambda < lambdac) { if (fxa < fxc) { fxc = fxb; lambdac = lambdab; fxb = fxI; lambdab = parabolMinimumLambda; } else { fxa = fxb; lambdaa = lambdab; fxb = fxI; lambdab = parabolMinimumLambda; } } else if (fxI > fxb) { if (fxa < fxc) { fxc = fxI; lambdac = parabolMinimumLambda; } else { fxa = fxI; lambdac = parabolMinimumLambda; } } fMinimumMinus1 = fMinimum; fMinimum = fxb; } while (Math.abs(fMinimum - fMinimumMinus1) > 0.0001); lineSearchLambda = lambdab; } else { lineSearchLambda = arbitraryStepSize; } }
|
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/9adcbd5769512fe518277f87ee5cc7c84de1ccb0/LineSearch.java/buggy/src/org/openscience/cdk/modeling/forcefield/LineSearch.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
26482,
2979,
12025,
12,
43,
5018,
417,
2148,
16,
611,
5018,
1623,
8212,
16,
23435,
2001,
2083,
2944,
974,
2083,
16,
509,
1400,
2578,
13,
288,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
8863,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
1685,
326,
980,
1623,
30,
315,
1769,
202,
202,
21025,
310,
1986,
13042,
12,
79,
2148,
16,
1623,
8212,
16,
2944,
974,
2083,
16,
1400,
2578,
1769,
9506,
202,
430,
261,
297,
3682,
3345,
4160,
1225,
480,
374,
13,
288,
1082,
202,
759,
3163,
18,
659,
18,
1188,
2932,
6114,
273,
315,
397,
15970,
397,
315,
202,
8863,
1082,
202,
759,
3163,
18,
659,
18,
8222,
2932,
74,
6114,
273,
315,
397,
284,
6114,
1769,
7682,
1082,
202,
759,
3163,
18,
659,
18,
8222,
2932,
1553,
378,
1415,
12851,
294,
315,
1769,
1082,
202,
43,
5018,
619,
45,
273,
394,
611,
5018,
12,
79,
2148,
18,
588,
1225,
10663,
1082,
202,
9056,
12661,
45,
273,
374,
31,
1082,
202,
9855,
18,
542,
1225,
12,
3072,
8212,
18,
588,
1225,
10663,
1082,
202,
9056,
284,
13042,
18434,
21,
273,
284,
6995,
31,
1082,
202,
9056,
284,
13042,
273,
284,
6114,
31,
25083,
202,
2896,
288,
9506,
202,
1065,
378,
1415,
31516,
5621,
9506,
202,
92,
45,
18,
542,
12,
79,
2148,
1769,
9506,
202,
5864,
8212,
18,
542,
12,
9855,
1769,
9506,
202,
5864,
8212,
18,
5864,
12,
1065,
378,
355,
13042,
12025,
1769,
9506,
202,
92,
45,
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,
26482,
2979,
12025,
12,
43,
5018,
417,
2148,
16,
611,
5018,
1623,
8212,
16,
23435,
2001,
2083,
2944,
974,
2083,
16,
509,
1400,
2578,
13,
288,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
8863,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
1685,
326,
980,
1623,
30,
315,
1769,
202,
202,
21025,
310,
1986,
13042,
12,
79,
2148,
16,
1623,
8212,
16,
2944,
974,
2083,
16,
1400,
2578,
1769,
9506,
202,
430,
261,
297,
3682,
3345,
4160,
1225,
480,
374,
13,
288,
1082,
202,
759,
3163,
18,
659,
18,
1188,
2932,
6114,
273,
315,
397,
15970,
397,
315,
202,
8863,
1082,
202,
759,
3163,
18,
659,
18,
8222,
2932,
74,
6114,
273,
2
] |
oid = entry.getOID(); locks.put( oid, entry );
|
OID cacheOid = entry.getOID(); boolean isSuper; isSuper = oid.getName().equals(cacheOid.getName()); if (!isSuper) { String[] superClassNames = cacheOid.getSuperClassNames(); if (superClassNames != null) { for (int i = 0; i < superClassNames.length; i++) { if (oid.getName().equals(superClassNames[i])) { isSuper = true; break; } } } } if (isSuper) { oid = entry.getOID(); locks.put( oid, entry ); } else { entry = null; }
|
private ObjectLock acquire( OID oid, TransactionContext tx, short lockAction, int timeout ) throws ObjectDeletedWaitingForLockException, LockNotGrantedException, ObjectDeletedException { ObjectLock entry = null; boolean newentry = false; boolean failed = true; // sync on "locks" is, unfortunately, necessary if we employ // some LRU mechanism, especially if we allow NoCache, to avoid // duplicated LockEntry exist at the same time. synchronized( this ) { entry = (ObjectLock) locks.get( oid ); if ( entry == null ) { entry = (ObjectLock) cache.remove( oid ); if ( entry != null ) { oid = entry.getOID(); locks.put( oid, entry ); } } if ( entry == null ) { newentry = true; entry = new ObjectLock( oid ); locks.put( oid, entry ); } else { oid = entry.getOID(); } entry.enter(); } // ObjectLock.acquire() may call Object.wait(), so a thread can not // been synchronized with ANY shared object before acquire(). // So, it must be called outside synchronized( locks ) block. try { switch ( lockAction ) { case ObjectLock.ACTION_READ: entry.acquireLoadLock( tx, false, timeout ); break; case ObjectLock.ACTION_WRITE: entry.acquireLoadLock( tx, true, timeout ); break; case ObjectLock.ACTION_CREATE: entry.acquireCreateLock( tx ); break; case ObjectLock.ACTION_UPDATE: entry.acquireUpdateLock( tx, timeout ); break; default: throw new IllegalArgumentException( "lockType "+lockAction+" is undefined!"); } failed = false; return entry; } finally { synchronized( this ) { entry.leave(); if ( failed ) { // The need of this block may not be too obvious. // At the very moment, if it happens, current thread // failed to acquire a lock. Then, another thread just // release the lock right after. The released entry // then will not be moved to cache because inLocksGap // isn't zero. So, there maybe a chance of memory // leak, as the entry was in "locks", but not in // "cache" as supposed. To avoid it from happening, // we ensure here that the entry which should be move // to "cache" from "locks" is actually moved. if ( entry.isDisposable() ) { locks.remove( oid ); cache.put( oid, entry ); } } } } }
|
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/d176d48b5bdac0505a6a86aead38b92760ba43cd/LockEngine.java/clean/trunk/castor-2002/castor/src/main/org/exolab/castor/persist/LockEngine.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
1033,
2531,
10533,
12,
18026,
7764,
16,
5947,
1042,
2229,
16,
3025,
2176,
1803,
16,
1171,
509,
2021,
262,
1216,
1033,
7977,
15946,
1290,
2531,
503,
16,
1171,
3488,
1248,
14570,
503,
16,
1033,
7977,
503,
288,
5411,
1033,
2531,
1241,
273,
446,
31,
5411,
1250,
394,
4099,
273,
629,
31,
5411,
1250,
2535,
273,
638,
31,
5411,
368,
3792,
603,
315,
23581,
6,
353,
16,
640,
24233,
16,
4573,
309,
732,
24539,
2398,
368,
2690,
511,
19866,
12860,
16,
29440,
309,
732,
1699,
2631,
1649,
16,
358,
4543,
5411,
368,
16975,
3488,
1622,
1005,
622,
326,
1967,
813,
18,
5411,
3852,
12,
333,
262,
288,
7734,
1241,
273,
261,
921,
2531,
13,
13046,
18,
588,
12,
7764,
11272,
7734,
309,
261,
1241,
422,
446,
262,
288,
10792,
1241,
273,
261,
921,
2531,
13,
1247,
18,
4479,
12,
7764,
11272,
10792,
309,
261,
1241,
480,
446,
262,
288,
13491,
7764,
273,
1241,
18,
588,
12945,
5621,
13491,
13046,
18,
458,
12,
7764,
16,
1241,
11272,
10792,
289,
7734,
289,
7734,
309,
261,
1241,
422,
446,
262,
288,
10792,
394,
4099,
273,
638,
31,
10792,
1241,
273,
394,
1033,
2531,
12,
7764,
11272,
10792,
13046,
18,
458,
12,
7764,
16,
1241,
11272,
7734,
289,
469,
288,
10792,
7764,
273,
1241,
18,
588,
12945,
5621,
7734,
289,
7734,
1241,
18,
2328,
5621,
5411,
289,
5411,
368,
1033,
2531,
18,
1077,
1039,
1435,
2026,
745,
1033,
18,
7048,
9334,
1427,
279,
2650,
848,
486,
5411,
368,
2118,
3852,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
1033,
2531,
10533,
12,
18026,
7764,
16,
5947,
1042,
2229,
16,
3025,
2176,
1803,
16,
1171,
509,
2021,
262,
1216,
1033,
7977,
15946,
1290,
2531,
503,
16,
1171,
3488,
1248,
14570,
503,
16,
1033,
7977,
503,
288,
5411,
1033,
2531,
1241,
273,
446,
31,
5411,
1250,
394,
4099,
273,
629,
31,
5411,
1250,
2535,
273,
638,
31,
5411,
368,
3792,
603,
315,
23581,
6,
353,
16,
640,
24233,
16,
4573,
309,
732,
24539,
2398,
368,
2690,
511,
19866,
12860,
16,
29440,
309,
732,
1699,
2631,
1649,
16,
358,
4543,
5411,
368,
16975,
3488,
1622,
1005,
622,
326,
1967,
813,
18,
5411,
3852,
12,
333,
262,
288,
7734,
1241,
273,
261,
921,
2531,
13,
13046,
18,
588,
12,
2
] |
setPreferredSize(new Dimension(128 + 10, 128 + 10));
|
Dimension dimension = new Dimension(128 + 10, 128 + 10); setPreferredSize(dimension); setMaximumSize(dimension);
|
public ImagePanel() { setPreferredSize(new Dimension(128 + 10, 128 + 10)); }
|
51310 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51310/de0bab7710e4d5cdfb77a115fdd9311e2faf5f42/SimpleDialogs.java/buggy/src/net/sf/gogui/gui/SimpleDialogs.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
3421,
5537,
1435,
3639,
288,
5411,
13037,
4968,
273,
394,
13037,
12,
10392,
397,
1728,
16,
8038,
397,
1728,
1769,
31099,
1225,
12,
11808,
1769,
10851,
2422,
1225,
12,
11808,
1769,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
3421,
5537,
1435,
3639,
288,
5411,
13037,
4968,
273,
394,
13037,
12,
10392,
397,
1728,
16,
8038,
397,
1728,
1769,
31099,
1225,
12,
11808,
1769,
10851,
2422,
1225,
12,
11808,
1769,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return mreq.getParameterValues(name);
|
return (String[])parameters.values().toArray();
|
public String[] getParameterValues(String name) { return mreq.getParameterValues(name); }
|
51882 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51882/9c36b12214f663b4c680fd3b8fafa35c61983d76/FileUploadRequest.java/buggy/dspace/src/org/dspace/app/webui/util/FileUploadRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8526,
5575,
1972,
12,
780,
508,
13,
565,
288,
3639,
327,
261,
780,
63,
5717,
3977,
18,
2372,
7675,
31447,
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,
0,
0,
0,
0,
0,
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,
1071,
514,
8526,
5575,
1972,
12,
780,
508,
13,
565,
288,
3639,
327,
261,
780,
63,
5717,
3977,
18,
2372,
7675,
31447,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
iCodeTop = addByte(Token.TRUE, iCodeTop);
|
iCodeTop = addToken(Token.TRUE, iCodeTop);
|
private int generateICode(Node node, int iCodeTop) { int type = node.getType(); Node child = node.getFirstChild(); Node firstChild = child; switch (type) { case Token.FUNCTION : { int fnIndex = node.getExistingIntProp(Node.FUNCTION_PROP); FunctionNode fn = scriptOrFn.getFunctionNode(fnIndex); if (fn.itsFunctionType != FunctionNode.FUNCTION_STATEMENT) { // Only function expressions or function expression // statements needs closure code creating new function // object on stack as function statements are initialized // at script/function start iCodeTop = addByte(Token.CLOSURE, iCodeTop); iCodeTop = addIndex(fnIndex, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } case Token.SCRIPT : iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { if (child.getType() != Token.FUNCTION) iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } break; case Token.CASE : iCodeTop = updateLineNumber(node, iCodeTop); child = child.getNext(); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } break; case Token.LABEL : case Token.LOOP : case Token.DEFAULT : case Token.BLOCK : case Token.VOID : case Token.NOP : iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } break; case Token.WITH : ++itsWithDepth; iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } --itsWithDepth; break; case Token.COMMA : iCodeTop = generateICode(child, iCodeTop); while (null != (child = child.getNext())) { iCodeTop = addByte(Token.POP, iCodeTop); itsStackDepth--; iCodeTop = generateICode(child, iCodeTop); } break; case Token.SWITCH : { iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); int theLocalSlot = itsData.itsMaxLocals++; iCodeTop = addByte(Token.NEWTEMP, iCodeTop); iCodeTop = addByte(theLocalSlot, iCodeTop); iCodeTop = addByte(Token.POP, iCodeTop); itsStackDepth--; ObjArray cases = (ObjArray) node.getProp(Node.CASES_PROP); for (int i = 0; i < cases.size(); i++) { Node thisCase = (Node)cases.get(i); Node first = thisCase.getFirstChild(); // the case expression is the firstmost child // the rest will be generated when the case // statements are encountered as siblings of // the switch statement. iCodeTop = generateICode(first, iCodeTop); iCodeTop = addByte(Token.USETEMP, iCodeTop); iCodeTop = addByte(theLocalSlot, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte(Token.SHEQ, iCodeTop); itsStackDepth--; Node target = new Node(Token.TARGET); thisCase.addChildAfter(target, first); iCodeTop = addGoto(target, Token.IFEQ, iCodeTop); } Node defaultNode = (Node) node.getProp(Node.DEFAULT_PROP); if (defaultNode != null) { Node defaultTarget = new Node(Token.TARGET); defaultNode.getFirstChild(). addChildToFront(defaultTarget); iCodeTop = addGoto(defaultTarget, Token.GOTO, iCodeTop); } Node breakTarget = (Node) node.getProp(Node.BREAK_PROP); iCodeTop = addGoto(breakTarget, Token.GOTO, iCodeTop); break; } case Token.TARGET : { markTargetLabel(node, iCodeTop); break; } case Token.EQOP : case Token.RELOP : { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); int op = node.getOperation(); if (version == Context.VERSION_1_2) { if (op == Token.EQ) { op = Token.SHEQ; } else if (op == Token.NE) { op = Token.SHNE; } } iCodeTop = addByte(op, iCodeTop); itsStackDepth--; break; } case Token.NEW : case Token.CALL : { int childCount = 0; String functionName = null; while (child != null) { iCodeTop = generateICode(child, iCodeTop); if (functionName == null) { int childType = child.getType(); if (childType == Token.NAME || childType == Token.GETPROP) { functionName = lastAddString; } } child = child.getNext(); childCount++; } int callType = node.getIntProp(Node.SPECIALCALL_PROP, Node.NON_SPECIALCALL); if (callType != Node.NON_SPECIALCALL) { // embed line number and source filename iCodeTop = addByte(Icode_CALLSPECIAL, iCodeTop); iCodeTop = addByte(callType, iCodeTop); iCodeTop = addByte(type == Token.NEW ? 1 : 0, iCodeTop); iCodeTop = addShort(itsLineNumber, iCodeTop); } else { iCodeTop = addByte(type, iCodeTop); iCodeTop = addString(functionName, iCodeTop); } itsStackDepth -= (childCount - 1); // always a result value // subtract from child count to account for [thisObj &] fun if (type == Token.NEW) { childCount -= 1; } else { childCount -= 2; } iCodeTop = addIndex(childCount, iCodeTop); if (childCount > itsData.itsMaxCalleeArgs) itsData.itsMaxCalleeArgs = childCount; break; } case Token.NEWLOCAL : case Token.NEWTEMP : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.NEWTEMP, iCodeTop); iCodeTop = addLocalRef(node, iCodeTop); break; } case Token.USELOCAL : { if (node.getProp(Node.TARGET_PROP) != null) { iCodeTop = addByte(Icode_RETSUB, iCodeTop); } else { iCodeTop = addByte(Token.USETEMP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } Node temp = (Node) node.getProp(Node.LOCAL_PROP); iCodeTop = addLocalRef(temp, iCodeTop); break; } case Token.USETEMP : { iCodeTop = addByte(Token.USETEMP, iCodeTop); Node temp = (Node) node.getProp(Node.TEMP_PROP); iCodeTop = addLocalRef(temp, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case Token.IFEQ : case Token.IFNE : iCodeTop = generateICode(child, iCodeTop); itsStackDepth--; // after the conditional GOTO, really // fall thru... case Token.GOTO : { Node target = (Node)(node.getProp(Node.TARGET_PROP)); iCodeTop = addGoto(target, (byte) type, iCodeTop); break; } case Token.JSR : { Node target = (Node)(node.getProp(Node.TARGET_PROP)); iCodeTop = addGoto(target, Icode_GOSUB, iCodeTop); break; } case Token.AND : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Icode_DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int falseJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.IFNE, iCodeTop); iCodeTop = addByte(Token.POP, iCodeTop); itsStackDepth--; child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); resolveForwardGoto(falseJumpStart, iCodeTop); break; } case Token.OR : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Icode_DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int trueJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.IFEQ, iCodeTop); iCodeTop = addByte(Token.POP, iCodeTop); itsStackDepth--; child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); resolveForwardGoto(trueJumpStart, iCodeTop); break; } case Token.GETPROP : { iCodeTop = generateICode(child, iCodeTop); String s = (String) node.getProp(Node.SPECIAL_PROP_PROP); if (s != null) { if (s.equals("__proto__")) { iCodeTop = addByte(Icode_GETPROTO, iCodeTop); } else if (s.equals("__parent__")) { iCodeTop = addByte(Icode_GETSCOPEPARENT, iCodeTop); } else { badTree(node); } } else { child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.GETPROP, iCodeTop); itsStackDepth--; } break; } case Token.DELPROP : case Token.BITAND : case Token.BITOR : case Token.BITXOR : case Token.LSH : case Token.RSH : case Token.URSH : case Token.ADD : case Token.SUB : case Token.MOD : case Token.DIV : case Token.MUL : case Token.GETELEM : iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(type, iCodeTop); itsStackDepth--; break; case Token.CONVERT : { iCodeTop = generateICode(child, iCodeTop); Object toType = node.getProp(Node.TYPE_PROP); if (toType == ScriptRuntime.NumberClass) { iCodeTop = addByte(Token.POS, iCodeTop); } else { badTree(node); } break; } case Token.UNARYOP : iCodeTop = generateICode(child, iCodeTop); switch (node.getOperation()) { case Token.VOID : iCodeTop = addByte(Token.POP, iCodeTop); iCodeTop = addByte(Token.UNDEFINED, iCodeTop); break; case Token.NOT : { int trueJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.IFEQ, iCodeTop); iCodeTop = addByte(Token.TRUE, iCodeTop); int beyondJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.GOTO, iCodeTop); resolveForwardGoto(trueJumpStart, iCodeTop); iCodeTop = addByte(Token.FALSE, iCodeTop); resolveForwardGoto(beyondJumpStart, iCodeTop); break; } case Token.BITNOT : iCodeTop = addByte(Token.BITNOT, iCodeTop); break; case Token.TYPEOF : iCodeTop = addByte(Token.TYPEOF, iCodeTop); break; case Token.SUB : iCodeTop = addByte(Token.NEG, iCodeTop); break; case Token.ADD : iCodeTop = addByte(Token.POS, iCodeTop); break; default: badTree(node); break; } break; case Token.SETPROP : { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); String s = (String) node.getProp(Node.SPECIAL_PROP_PROP); if (s != null) { if (s.equals("__proto__")) { iCodeTop = addByte(Icode_SETPROTO, iCodeTop); } else if (s.equals("__parent__")) { iCodeTop = addByte(Icode_SETPARENT, iCodeTop); } else { badTree(node); } } else { child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.SETPROP, iCodeTop); itsStackDepth -= 2; } break; } case Token.SETELEM : iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(type, iCodeTop); itsStackDepth -= 2; break; case Token.SETNAME : iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.SETNAME, iCodeTop); iCodeTop = addString(firstChild.getString(), iCodeTop); itsStackDepth--; break; case Token.TYPEOF : { String name = node.getString(); int index = -1; // use typeofname if an activation frame exists // since the vars all exist there instead of in jregs if (itsInFunctionFlag && !itsData.itsNeedsActivation) index = scriptOrFn.getParamOrVarIndex(name); if (index == -1) { iCodeTop = addByte(Token.TYPEOFNAME, iCodeTop); iCodeTop = addString(name, iCodeTop); } else { iCodeTop = addByte(Token.GETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); iCodeTop = addByte(Token.TYPEOF, iCodeTop); } itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case Token.PARENT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Icode_GETPARENT, iCodeTop); break; case Token.GETBASE : case Token.BINDNAME : case Token.NAME : case Token.STRING : iCodeTop = addByte(type, iCodeTop); iCodeTop = addString(node.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case Token.INC : case Token.DEC : { int childType = child.getType(); switch (childType) { case Token.GETVAR : { String name = child.getString(); if (itsData.itsNeedsActivation) { iCodeTop = addByte(Icode_SCOPE, iCodeTop); iCodeTop = addByte(Token.STRING, iCodeTop); iCodeTop = addString(name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte(type == Token.INC ? Token.PROPINC : Token.PROPDEC, iCodeTop); itsStackDepth--; } else { int i = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addByte(type == Token.INC ? Token.VARINC : Token.VARDEC, iCodeTop); iCodeTop = addByte(i, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } case Token.GETPROP : case Token.GETELEM : { Node getPropChild = child.getFirstChild(); iCodeTop = generateICode(getPropChild, iCodeTop); getPropChild = getPropChild.getNext(); iCodeTop = generateICode(getPropChild, iCodeTop); if (childType == Token.GETPROP) { iCodeTop = addByte(type == Token.INC ? Token.PROPINC : Token.PROPDEC, iCodeTop); } else { iCodeTop = addByte(type == Token.INC ? Token.ELEMINC : Token.ELEMDEC, iCodeTop); } itsStackDepth--; break; } default : { iCodeTop = addByte(type == Token.INC ? Token.NAMEINC : Token.NAMEDEC, iCodeTop); iCodeTop = addString(child.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } } break; } case Token.NUMBER : { double num = node.getDouble(); int inum = (int)num; if (inum == num) { if (inum == 0) { iCodeTop = addByte(Token.ZERO, iCodeTop); } else if (inum == 1) { iCodeTop = addByte(Token.ONE, iCodeTop); } else if ((short)inum == inum) { iCodeTop = addByte(Icode_SHORTNUMBER, iCodeTop); iCodeTop = addShort(inum, iCodeTop); } else { iCodeTop = addByte(Icode_INTNUMBER, iCodeTop); iCodeTop = addInt(inum, iCodeTop); } } else { iCodeTop = addByte(Token.NUMBER, iCodeTop); iCodeTop = addDouble(num, iCodeTop); } itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case Token.POP : case Token.POPV : iCodeTop = updateLineNumber(node, iCodeTop); case Token.ENTERWITH : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(type, iCodeTop); itsStackDepth--; break; case Token.GETTHIS : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(type, iCodeTop); break; case Token.NEWSCOPE : iCodeTop = addByte(type, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case Token.LEAVEWITH : iCodeTop = addByte(type, iCodeTop); break; case Token.TRY : { Node catchTarget = (Node)node.getProp(Node.TARGET_PROP); Node finallyTarget = (Node)node.getProp(Node.FINALLY_PROP); int tryStart = iCodeTop; int tryEnd = -1; int catchStart = -1; int finallyStart = -1; while (child != null) { boolean generated = false; if (child == catchTarget) { if (child.getType() != Token.TARGET) Context.codeBug(); if (tryEnd >= 0) Context.codeBug(); tryEnd = iCodeTop; catchStart = iCodeTop; markTargetLabel(child, iCodeTop); generated = true; // Catch code has exception object on the stack itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } else if (child == finallyTarget) { if (child.getType() != Token.TARGET) Context.codeBug(); if (tryEnd < 0) { tryEnd = iCodeTop; } finallyStart = iCodeTop; markTargetLabel(child, iCodeTop); generated = true; // Adjust stack for finally code: on the top of the // stack it has either a PC value when called from // GOSUB or exception object to rethrow when called // from exception handler itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) { itsData.itsMaxStack = itsStackDepth; } } if (!generated) { iCodeTop = generateICode(child, iCodeTop); } child = child.getNext(); } itsStackDepth = 0; // [tryStart, tryEnd) contains GOSUB to call finally when it // presents at the end of try code and before return, break // continue that transfer control outside try. // After finally is executed the control will be // transfered back into [tryStart, tryEnd) and exception // handling assumes that the only code executed after // finally returns will be a jump outside try which could not // trigger exceptions. // It does not hold if instruction observer throws during // goto. Currently it may lead to double execution of finally. addExceptionHandler(tryStart, tryEnd, catchStart, finallyStart, itsWithDepth); break; } case Token.THROW : iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.THROW, iCodeTop); itsStackDepth--; break; case Token.RETURN : iCodeTop = updateLineNumber(node, iCodeTop); if (child != null) { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.RETURN, iCodeTop); itsStackDepth--; } else { iCodeTop = addByte(Icode_RETUNDEF, iCodeTop); } break; case Token.GETVAR : { String name = node.getString(); if (itsData.itsNeedsActivation) { // SETVAR handled this by turning into a SETPROP, but // we can't do that to a GETVAR without manufacturing // bogus children. Instead we use a special op to // push the current scope. iCodeTop = addByte(Icode_SCOPE, iCodeTop); iCodeTop = addByte(Token.STRING, iCodeTop); iCodeTop = addString(name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte(Token.GETPROP, iCodeTop); itsStackDepth--; } else { int index = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addByte(Token.GETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } case Token.SETVAR : { if (itsData.itsNeedsActivation) { child.setType(Token.BINDNAME); node.setType(Token.SETNAME); iCodeTop = generateICode(node, iCodeTop); } else { String name = child.getString(); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); int index = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addByte(Token.SETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); } break; } case Token.PRIMARY: iCodeTop = addByte(node.getOperation(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case Token.ENUMINIT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.ENUMINIT, iCodeTop); iCodeTop = addLocalRef(node, iCodeTop); itsStackDepth--; break; case Token.ENUMNEXT : { iCodeTop = addByte(Token.ENUMNEXT, iCodeTop); Node init = (Node)node.getProp(Node.ENUM_PROP); iCodeTop = addLocalRef(init, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case Token.ENUMDONE : // could release the local here?? break; case Token.REGEXP : { int index = node.getExistingIntProp(Node.REGEXP_PROP); iCodeTop = addByte(Token.REGEXP, iCodeTop); iCodeTop = addIndex(index, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } default : badTree(node); break; } return iCodeTop; }
|
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/faf2a30c39fc508f2635416a94f9662c4ae41ad3/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
2103,
45,
1085,
12,
907,
756,
16,
509,
277,
1085,
3401,
13,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
2029,
1151,
273,
756,
18,
588,
3759,
1763,
5621,
3639,
2029,
15070,
273,
1151,
31,
3639,
1620,
261,
723,
13,
288,
5411,
648,
3155,
18,
7788,
294,
288,
7734,
509,
2295,
1016,
273,
756,
18,
588,
9895,
1702,
4658,
12,
907,
18,
7788,
67,
15811,
1769,
7734,
4284,
907,
2295,
273,
2728,
1162,
5372,
18,
588,
2083,
907,
12,
4293,
1016,
1769,
7734,
309,
261,
4293,
18,
1282,
2083,
559,
480,
4284,
907,
18,
7788,
67,
28411,
13,
288,
10792,
368,
5098,
445,
8041,
578,
445,
2652,
10792,
368,
6317,
4260,
7213,
981,
4979,
394,
445,
10792,
368,
733,
603,
2110,
487,
445,
6317,
854,
6454,
10792,
368,
622,
2728,
19,
915,
787,
10792,
277,
1085,
3401,
273,
527,
3216,
12,
1345,
18,
22693,
55,
4830,
16,
277,
1085,
3401,
1769,
10792,
277,
1085,
3401,
273,
26794,
12,
4293,
1016,
16,
277,
1085,
3401,
1769,
10792,
2097,
2624,
6148,
9904,
31,
10792,
309,
261,
1282,
2624,
6148,
405,
2097,
751,
18,
1282,
2747,
2624,
13,
13491,
2097,
751,
18,
1282,
2747,
2624,
273,
2097,
2624,
6148,
31,
7734,
289,
7734,
898,
31,
5411,
289,
5411,
648,
3155,
18,
10885,
294,
7734,
277,
1085,
3401,
273,
1089,
31063,
12,
2159,
16,
277,
1085,
3401,
1769,
7734,
1323,
261,
3624,
480,
446,
13,
288,
10792,
309,
261,
3624,
18,
588,
559,
1435,
480,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
2103,
45,
1085,
12,
907,
756,
16,
509,
277,
1085,
3401,
13,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
2029,
1151,
273,
756,
18,
588,
3759,
1763,
5621,
3639,
2029,
15070,
273,
1151,
31,
3639,
1620,
261,
723,
13,
288,
5411,
648,
3155,
18,
7788,
294,
288,
7734,
509,
2295,
1016,
273,
756,
18,
588,
9895,
1702,
4658,
12,
907,
18,
7788,
67,
15811,
1769,
7734,
4284,
907,
2295,
273,
2728,
1162,
5372,
18,
588,
2083,
907,
12,
4293,
1016,
1769,
7734,
309,
261,
4293,
18,
1282,
2083,
559,
480,
4284,
907,
18,
7788,
67,
28411,
13,
288,
10792,
368,
5098,
445,
8041,
578,
445,
2652,
10792,
368,
6317,
4260,
7213,
981,
2
] |
return DateTime.parse(StringValue.stringValue(value), DateTime.TIME_MASK);
|
return XTimeType.parseDateTime(StringValue.stringValue(value), DateTime.TIME_MASK);
|
static DateTime coerceToTime (String fun, Object value) { if (XTimeType.timeType.isInstance(value)) return (DateTime) value; if (value instanceof KNode || value instanceof UntypedAtomic) return DateTime.parse(StringValue.stringValue(value), DateTime.TIME_MASK); throw new WrongType(fun, 1, value, "xs:time"); }
|
37648 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37648/17d1e907057b7ea9cf7fd39cddb89988d433bca5/TimeUtils.java/clean/gnu/xquery/util/TimeUtils.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
3716,
12270,
774,
950,
261,
780,
9831,
16,
1033,
460,
13,
225,
288,
565,
309,
261,
60,
950,
559,
18,
957,
559,
18,
291,
1442,
12,
1132,
3719,
1377,
327,
261,
5096,
13,
460,
31,
565,
309,
261,
1132,
1276,
1475,
907,
747,
460,
1276,
23931,
6140,
23102,
13,
1377,
327,
3716,
18,
2670,
12,
19733,
18,
1080,
620,
12,
1132,
3631,
18701,
3716,
18,
4684,
67,
11704,
1769,
565,
604,
394,
24668,
559,
12,
12125,
16,
404,
16,
460,
16,
315,
13713,
30,
957,
8863,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
3716,
12270,
774,
950,
261,
780,
9831,
16,
1033,
460,
13,
225,
288,
565,
309,
261,
60,
950,
559,
18,
957,
559,
18,
291,
1442,
12,
1132,
3719,
1377,
327,
261,
5096,
13,
460,
31,
565,
309,
261,
1132,
1276,
1475,
907,
747,
460,
1276,
23931,
6140,
23102,
13,
1377,
327,
3716,
18,
2670,
12,
19733,
18,
1080,
620,
12,
1132,
3631,
18701,
3716,
18,
4684,
67,
11704,
1769,
565,
604,
394,
24668,
559,
12,
12125,
16,
404,
16,
460,
16,
315,
13713,
30,
957,
8863,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
try { JavadocModel jm = _model.getJavadocModel(); File suggestedDir = jm.suggestJavadocDestination(_model.getActiveDocument()); _javadocSelector.setSuggestedDir(suggestedDir); String cps = _model.getClassPath().toString(); jm.javadocAll(_javadocSelector, _saveSelector, cps); } catch (IOException ioe) { _showIOError(ioe); } finally { }
|
_junitProject(); _findReplace.updateFirstDocInSearch();
|
public void actionPerformed(ActionEvent ae) { if (_mainSplit.getDividerLocation() > _mainSplit.getMaximumDividerLocation()) _mainSplit.resetToPreferredSizes(); try { // hourglassOn(); JavadocModel jm = _model.getJavadocModel(); File suggestedDir = jm.suggestJavadocDestination(_model.getActiveDocument()); _javadocSelector.setSuggestedDir(suggestedDir); String cps = _model.getClassPath().toString(); jm.javadocAll(_javadocSelector, _saveSelector, cps); } catch (IOException ioe) { _showIOError(ioe); } finally { // hourglassOff(); } }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/94ede5fc3e289a571a76fcd6a91c26510fe57b12/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
14221,
13,
288,
1377,
309,
261,
67,
5254,
5521,
18,
588,
25558,
2735,
1435,
405,
389,
5254,
5521,
18,
588,
13528,
25558,
2735,
10756,
540,
389,
5254,
5521,
18,
6208,
774,
16028,
11923,
5621,
1377,
775,
288,
3639,
368,
6126,
75,
459,
1398,
5621,
3639,
5195,
1488,
28296,
273,
389,
2284,
18,
588,
24060,
1488,
5621,
3639,
1387,
22168,
1621,
273,
28296,
18,
87,
8679,
24060,
5683,
24899,
2284,
18,
588,
3896,
2519,
10663,
3639,
389,
78,
4805,
4320,
18,
542,
55,
28892,
1621,
12,
87,
28892,
1621,
1769,
3639,
514,
276,
1121,
273,
389,
2284,
18,
588,
22158,
7675,
10492,
5621,
3639,
28296,
18,
78,
4805,
1595,
24899,
78,
4805,
4320,
16,
389,
5688,
4320,
16,
276,
1121,
1769,
1377,
289,
1377,
1044,
261,
14106,
10847,
13,
288,
389,
4500,
4294,
668,
12,
1594,
73,
1769,
289,
1377,
3095,
288,
3639,
368,
6126,
75,
459,
7210,
5621,
1377,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
14221,
13,
288,
1377,
309,
261,
67,
5254,
5521,
18,
588,
25558,
2735,
1435,
405,
389,
5254,
5521,
18,
588,
13528,
25558,
2735,
10756,
540,
389,
5254,
5521,
18,
6208,
774,
16028,
11923,
5621,
1377,
775,
288,
3639,
368,
6126,
75,
459,
1398,
5621,
3639,
5195,
1488,
28296,
273,
389,
2284,
18,
588,
24060,
1488,
5621,
3639,
1387,
22168,
1621,
273,
28296,
18,
87,
8679,
24060,
5683,
24899,
2284,
18,
588,
3896,
2519,
10663,
3639,
389,
78,
4805,
4320,
18,
542,
55,
28892,
1621,
12,
87,
28892,
1621,
1769,
3639,
514,
276,
1121,
273,
389,
2284,
18,
588,
22158,
7675,
10492,
5621,
3639,
28296,
18,
78,
4805,
1595,
24899,
78,
4805,
4320,
2
] |
_cnt302++;
|
_cnt303++;
|
public final void attributeValue() throws RecognitionException, TokenStreamException, XPathException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST attributeValue_AST = null; { int _cnt302=0; _loop302: do { switch ( LA(1)) { case ATTRIBUTE_CONTENT: { org.exist.xquery.parser.XQueryAST tmp317_AST = null; tmp317_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp317_AST); match(ATTRIBUTE_CONTENT); break; } case LCURLY: { attributeEnclosedExpr(); astFactory.addASTChild(currentAST, returnAST); break; } default: { if ( _cnt302>=1 ) { break _loop302; } else {throw new NoViableAltException(LT(1), getFilename());} } } _cnt302++; } while (true); } attributeValue_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; returnAST = attributeValue_AST; }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/00430aa4dd6963441696c4ac7250593b74a38b39/XQueryParser.java/clean/src/org/exist/xquery/parser/XQueryParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
14615,
1435,
1216,
9539,
16,
3155,
1228,
503,
16,
10172,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
14615,
67,
9053,
273,
446,
31,
9506,
202,
95,
202,
202,
474,
389,
13085,
23,
3103,
33,
20,
31,
202,
202,
67,
6498,
23,
3103,
30,
202,
202,
2896,
288,
1082,
202,
9610,
261,
2928,
12,
21,
3719,
288,
1082,
202,
3593,
15941,
67,
9689,
30,
1082,
202,
95,
9506,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1853,
23,
4033,
67,
9053,
273,
446,
31,
9506,
202,
5645,
23,
4033,
67,
9053,
273,
261,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
13,
689,
1733,
18,
2640,
12,
12050,
12,
21,
10019,
9506,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
1853,
23,
4033,
67,
9053,
1769,
9506,
202,
1916,
12,
11616,
67,
9689,
1769,
9506,
202,
8820,
31,
1082,
202,
97,
1082,
202,
3593,
511,
26314,
30,
1082,
202,
95,
9506,
202,
4589,
4280,
13783,
4742,
5621,
9506,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
327,
9053,
1769,
9506,
202,
8820,
31,
1082,
202,
97,
1082,
202,
1886,
30,
1082,
202,
95,
9506,
202,
430,
261,
389,
13085,
23,
3103,
34,
33,
21,
262,
288,
898,
389,
6498,
23,
3103,
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,
14615,
1435,
1216,
9539,
16,
3155,
1228,
503,
16,
10172,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
14615,
67,
9053,
273,
446,
31,
9506,
202,
95,
202,
202,
474,
389,
13085,
23,
3103,
33,
20,
31,
202,
202,
67,
6498,
23,
3103,
30,
202,
202,
2896,
288,
1082,
202,
9610,
261,
2928,
12,
21,
3719,
288,
1082,
202,
3593,
15941,
67,
9689,
30,
1082,
202,
95,
9506,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1853,
23,
4033,
67,
9053,
273,
446,
2
] |
args = ArgsUtil.setupArgs(threadContext, this, iVisited.getArgsNode());
|
args = ArgsUtil.setupArgs(runtime, threadContext, this, iVisited.getArgsNode());
|
public void visitSuperNode(SuperNode iVisited) { if (threadContext.getCurrentFrame().getLastClass() == null) { throw new NameError(runtime, "Superclass method '" + threadContext.getCurrentFrame().getLastFunc() + "' disabled."); } Block tmpBlock = ArgsUtil.beginCallArgs(threadContext); IRubyObject[] args = null; try { args = ArgsUtil.setupArgs(threadContext, this, iVisited.getArgsNode()); } finally { ArgsUtil.endCallArgs(threadContext, tmpBlock); } result = threadContext.callSuper(args); }
|
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/f5c9a1ebd775712f2dc086acfce1a14a123ec632/EvaluateVisitor.java/clean/src/org/jruby/evaluator/EvaluateVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
8051,
907,
12,
8051,
907,
277,
30019,
13,
288,
3639,
309,
261,
5930,
1042,
18,
588,
3935,
3219,
7675,
588,
3024,
797,
1435,
422,
446,
13,
288,
5411,
604,
394,
25473,
12,
9448,
16,
315,
28471,
707,
2119,
397,
2650,
1042,
18,
588,
3935,
3219,
7675,
588,
3024,
2622,
1435,
397,
2491,
5673,
1199,
1769,
3639,
289,
3639,
3914,
1853,
1768,
273,
6634,
1304,
18,
10086,
1477,
2615,
12,
5930,
1042,
1769,
3639,
15908,
10340,
921,
8526,
833,
273,
446,
31,
3639,
775,
288,
5411,
833,
273,
6634,
1304,
18,
8401,
2615,
12,
9448,
16,
2650,
1042,
16,
333,
16,
277,
30019,
18,
588,
2615,
907,
10663,
3639,
289,
3095,
288,
5411,
6634,
1304,
18,
409,
1477,
2615,
12,
5930,
1042,
16,
1853,
1768,
1769,
3639,
289,
3639,
563,
273,
2650,
1042,
18,
1991,
8051,
12,
1968,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
8051,
907,
12,
8051,
907,
277,
30019,
13,
288,
3639,
309,
261,
5930,
1042,
18,
588,
3935,
3219,
7675,
588,
3024,
797,
1435,
422,
446,
13,
288,
5411,
604,
394,
25473,
12,
9448,
16,
315,
28471,
707,
2119,
397,
2650,
1042,
18,
588,
3935,
3219,
7675,
588,
3024,
2622,
1435,
397,
2491,
5673,
1199,
1769,
3639,
289,
3639,
3914,
1853,
1768,
273,
6634,
1304,
18,
10086,
1477,
2615,
12,
5930,
1042,
1769,
3639,
15908,
10340,
921,
8526,
833,
273,
446,
31,
3639,
775,
288,
5411,
833,
273,
6634,
1304,
18,
8401,
2615,
12,
9448,
16,
2650,
1042,
16,
333,
16,
277,
30019,
18,
588,
2615,
907,
10663,
3639,
289,
3095,
288,
5411,
6634,
1304,
18,
2
] |
break _loop399;
|
break _loop413;
|
protected final void mEXPR_COMMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = EXPR_COMMENT; int _saveIndex; match("(:"); { _loop399: do { boolean synPredMatched398 = false; if (((LA(1)==':') && (_tokenSet_7.member(LA(2))) && (_tokenSet_7.member(LA(3))))) { int _m398 = mark(); synPredMatched398 = true; inputState.guessing++; try { { match(':'); { match(_tokenSet_8); } } } catch (RecognitionException pe) { synPredMatched398 = false; } rewind(_m398); inputState.guessing--; } if ( synPredMatched398 ) { match(':'); } else if ((_tokenSet_9.member(LA(1)))) { mCHAR(false); } else { break _loop399; } } while (true); } match(":)"); if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ca3671ce7c752480b17278b434be7f75e3ec7d57/XPathLexer2.java/clean/src/org/exist/parser/XPathLexer2.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
727,
918,
312,
2294,
8025,
67,
12200,
12,
6494,
389,
2640,
1345,
13,
1216,
9539,
16,
3703,
1228,
503,
16,
3155,
1228,
503,
288,
202,
202,
474,
389,
88,
723,
31,
3155,
389,
2316,
33,
2011,
31,
509,
389,
10086,
33,
955,
18,
2469,
5621,
202,
202,
67,
88,
723,
273,
5675,
8025,
67,
12200,
31,
202,
202,
474,
389,
5688,
1016,
31,
9506,
202,
1916,
2932,
12,
2773,
1769,
202,
202,
95,
202,
202,
67,
6498,
23,
2733,
30,
202,
202,
2896,
288,
1082,
202,
6494,
6194,
10391,
15400,
5520,
28,
273,
629,
31,
1082,
202,
430,
261,
12443,
2534,
12,
21,
13,
18920,
2497,
13,
597,
261,
67,
2316,
694,
67,
27,
18,
5990,
12,
2534,
12,
22,
20349,
597,
261,
67,
2316,
694,
67,
27,
18,
5990,
12,
2534,
12,
23,
3719,
20349,
288,
9506,
202,
474,
389,
81,
5520,
28,
273,
2267,
5621,
9506,
202,
11982,
10391,
15400,
5520,
28,
273,
638,
31,
9506,
202,
2630,
1119,
18,
20885,
310,
9904,
31,
9506,
202,
698,
288,
6862,
202,
95,
6862,
202,
1916,
2668,
2497,
1769,
6862,
202,
95,
6862,
202,
1916,
24899,
2316,
694,
67,
28,
1769,
6862,
202,
97,
6862,
202,
97,
9506,
202,
97,
9506,
202,
14683,
261,
5650,
7909,
503,
2804,
13,
288,
6862,
202,
11982,
10391,
15400,
5520,
28,
273,
629,
31,
9506,
202,
97,
9506,
202,
266,
10094,
24899,
81,
5520,
28,
1769,
9506,
202,
2630,
1119,
18,
20885,
310,
413,
31,
1082,
202,
97,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
727,
918,
312,
2294,
8025,
67,
12200,
12,
6494,
389,
2640,
1345,
13,
1216,
9539,
16,
3703,
1228,
503,
16,
3155,
1228,
503,
288,
202,
202,
474,
389,
88,
723,
31,
3155,
389,
2316,
33,
2011,
31,
509,
389,
10086,
33,
955,
18,
2469,
5621,
202,
202,
67,
88,
723,
273,
5675,
8025,
67,
12200,
31,
202,
202,
474,
389,
5688,
1016,
31,
9506,
202,
1916,
2932,
12,
2773,
1769,
202,
202,
95,
202,
202,
67,
6498,
23,
2733,
30,
202,
202,
2896,
288,
1082,
202,
6494,
6194,
10391,
15400,
5520,
28,
273,
629,
31,
1082,
202,
430,
261,
12443,
2534,
12,
21,
13,
18920,
2497,
13,
597,
261,
67,
2316,
694,
67,
27,
18,
5990,
2
] |
return validateDataPointComponentTypeObject((DataPointComponentType)value, diagnostics, context);
|
return validateDataPointComponentTypeObject((DataPointComponentType) value, diagnostics, context);
|
protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map context) { switch (classifierID) { case AttributePackage.ACTION_VALUE: return validateActionValue((ActionValue)value, diagnostics, context); case AttributePackage.AXIS_ORIGIN: return validateAxisOrigin((AxisOrigin)value, diagnostics, context); case AttributePackage.BOUNDS: return validateBounds((Bounds)value, diagnostics, context); case AttributePackage.COLOR_DEFINITION: return validateColorDefinition((ColorDefinition)value, diagnostics, context); case AttributePackage.DATA_POINT: return validateDataPoint((DataPoint)value, diagnostics, context); case AttributePackage.DATA_POINT_COMPONENT: return validateDataPointComponent((DataPointComponent)value, diagnostics, context); case AttributePackage.DATE_FORMAT_SPECIFIER: return validateDateFormatSpecifier((DateFormatSpecifier)value, diagnostics, context); case AttributePackage.EXTENDED_PROPERTY: return validateExtendedProperty((ExtendedProperty)value, diagnostics, context); case AttributePackage.FILL: return validateFill((Fill)value, diagnostics, context); case AttributePackage.FONT_DEFINITION: return validateFontDefinition((FontDefinition)value, diagnostics, context); case AttributePackage.FORMAT_SPECIFIER: return validateFormatSpecifier((FormatSpecifier)value, diagnostics, context); case AttributePackage.GRADIENT: return validateGradient((Gradient)value, diagnostics, context); case AttributePackage.IMAGE: return validateImage((Image)value, diagnostics, context); case AttributePackage.INSETS: return validateInsets((Insets)value, diagnostics, context); case AttributePackage.JAVA_DATE_FORMAT_SPECIFIER: return validateJavaDateFormatSpecifier((JavaDateFormatSpecifier)value, diagnostics, context); case AttributePackage.JAVA_NUMBER_FORMAT_SPECIFIER: return validateJavaNumberFormatSpecifier((JavaNumberFormatSpecifier)value, diagnostics, context); case AttributePackage.LINE_ATTRIBUTES: return validateLineAttributes((LineAttributes)value, diagnostics, context); case AttributePackage.LOCATION: return validateLocation((Location)value, diagnostics, context); case AttributePackage.MARKER: return validateMarker((Marker)value, diagnostics, context); case AttributePackage.NUMBER_FORMAT_SPECIFIER: return validateNumberFormatSpecifier((NumberFormatSpecifier)value, diagnostics, context); case AttributePackage.PALETTE: return validatePalette((Palette)value, diagnostics, context); case AttributePackage.SCRIPT_VALUE: return validateScriptValue((ScriptValue)value, diagnostics, context); case AttributePackage.SERIES_HINT: return validateSeriesHint((SeriesHint)value, diagnostics, context); case AttributePackage.SERIES_VALUE: return validateSeriesValue((SeriesValue)value, diagnostics, context); case AttributePackage.SIZE: return validateSize((Size)value, diagnostics, context); case AttributePackage.STYLE_MAP: return validateStyleMap((StyleMap)value, diagnostics, context); case AttributePackage.TEXT: return validateText((Text)value, diagnostics, context); case AttributePackage.TEXT_ALIGNMENT: return validateTextAlignment((TextAlignment)value, diagnostics, context); case AttributePackage.TOOLTIP_VALUE: return validateTooltipValue((TooltipValue)value, diagnostics, context); case AttributePackage.URL_VALUE: return validateURLValue((URLValue)value, diagnostics, context); case AttributePackage.ACTION_TYPE: return validateActionType((Object)value, diagnostics, context); case AttributePackage.ANCHOR: return validateAnchor((Object)value, diagnostics, context); case AttributePackage.AXIS_TYPE: return validateAxisType((Object)value, diagnostics, context); case AttributePackage.CHART_DIMENSION: return validateChartDimension((Object)value, diagnostics, context); case AttributePackage.CHART_TYPE: return validateChartType((Object)value, diagnostics, context); case AttributePackage.DATA_POINT_COMPONENT_TYPE: return validateDataPointComponentType((Object)value, diagnostics, context); case AttributePackage.DATE_FORMAT_DETAIL: return validateDateFormatDetail((Object)value, diagnostics, context); case AttributePackage.DATE_FORMAT_TYPE: return validateDateFormatType((Object)value, diagnostics, context); case AttributePackage.DIRECTION: return validateDirection((Object)value, diagnostics, context); case AttributePackage.HORIZONTAL_ALIGNMENT: return validateHorizontalAlignment((Object)value, diagnostics, context); case AttributePackage.INTERSECTION_TYPE: return validateIntersectionType((Object)value, diagnostics, context); case AttributePackage.LEADER_LINE_STYLE: return validateLeaderLineStyle((Object)value, diagnostics, context); case AttributePackage.LEGEND_ITEM_TYPE: return validateLegendItemType((Object)value, diagnostics, context); case AttributePackage.LINE_STYLE: return validateLineStyle((Object)value, diagnostics, context); case AttributePackage.MARKER_TYPE: return validateMarkerType((Object)value, diagnostics, context); case AttributePackage.ORIENTATION: return validateOrientation((Object)value, diagnostics, context); case AttributePackage.POSITION: return validatePosition((Object)value, diagnostics, context); case AttributePackage.RISER_TYPE: return validateRiserType((Object)value, diagnostics, context); case AttributePackage.RULE_TYPE: return validateRuleType((Object)value, diagnostics, context); case AttributePackage.SCALE_UNIT_TYPE: return validateScaleUnitType((Object)value, diagnostics, context); case AttributePackage.SORT_OPTION: return validateSortOption((Object)value, diagnostics, context); case AttributePackage.STRETCH: return validateStretch((Object)value, diagnostics, context); case AttributePackage.STYLED_COMPONENT: return validateStyledComponent((Object)value, diagnostics, context); case AttributePackage.TICK_STYLE: return validateTickStyle((Object)value, diagnostics, context); case AttributePackage.TRIGGER_CONDITION: return validateTriggerCondition((Object)value, diagnostics, context); case AttributePackage.VERTICAL_ALIGNMENT: return validateVerticalAlignment((Object)value, diagnostics, context); case AttributePackage.ACTION_TYPE_OBJECT: return validateActionTypeObject((ActionType)value, diagnostics, context); case AttributePackage.ANCHOR_OBJECT: return validateAnchorObject((Anchor)value, diagnostics, context); case AttributePackage.AXIS_TYPE_OBJECT: return validateAxisTypeObject((AxisType)value, diagnostics, context); case AttributePackage.CHART_DIMENSION_OBJECT: return validateChartDimensionObject((ChartDimension)value, diagnostics, context); case AttributePackage.CHART_TYPE_OBJECT: return validateChartTypeObject((ChartType)value, diagnostics, context); case AttributePackage.DATA_POINT_COMPONENT_TYPE_OBJECT: return validateDataPointComponentTypeObject((DataPointComponentType)value, diagnostics, context); case AttributePackage.DATE_FORMAT_DETAIL_OBJECT: return validateDateFormatDetailObject((DateFormatDetail)value, diagnostics, context); case AttributePackage.DATE_FORMAT_TYPE_OBJECT: return validateDateFormatTypeObject((DateFormatType)value, diagnostics, context); case AttributePackage.DIRECTION_OBJECT: return validateDirectionObject((Direction)value, diagnostics, context); case AttributePackage.HORIZONTAL_ALIGNMENT_OBJECT: return validateHorizontalAlignmentObject((HorizontalAlignment)value, diagnostics, context); case AttributePackage.ID: return validateID((String)value, diagnostics, context); case AttributePackage.INTERSECTION_TYPE_OBJECT: return validateIntersectionTypeObject((IntersectionType)value, diagnostics, context); case AttributePackage.LEADER_LINE_STYLE_OBJECT: return validateLeaderLineStyleObject((LeaderLineStyle)value, diagnostics, context); case AttributePackage.LEGEND_ITEM_TYPE_OBJECT: return validateLegendItemTypeObject((LegendItemType)value, diagnostics, context); case AttributePackage.LINE_STYLE_OBJECT: return validateLineStyleObject((LineStyle)value, diagnostics, context); case AttributePackage.MARKER_TYPE_OBJECT: return validateMarkerTypeObject((MarkerType)value, diagnostics, context); case AttributePackage.ORIENTATION_OBJECT: return validateOrientationObject((Orientation)value, diagnostics, context); case AttributePackage.PERCENTAGE: return validatePercentage(((Double)value).doubleValue(), diagnostics, context); case AttributePackage.PERCENTAGE_OBJECT: return validatePercentageObject((Double)value, diagnostics, context); case AttributePackage.POSITION_OBJECT: return validatePositionObject((Position)value, diagnostics, context); case AttributePackage.RGB_VALUE: return validateRGBValue(((Integer)value).intValue(), diagnostics, context); case AttributePackage.RGB_VALUE_OBJECT: return validateRGBValueObject((Integer)value, diagnostics, context); case AttributePackage.RISER_TYPE_OBJECT: return validateRiserTypeObject((RiserType)value, diagnostics, context); case AttributePackage.RULE_TYPE_OBJECT: return validateRuleTypeObject((RuleType)value, diagnostics, context); case AttributePackage.SCALE_UNIT_TYPE_OBJECT: return validateScaleUnitTypeObject((ScaleUnitType)value, diagnostics, context); case AttributePackage.SORT_OPTION_OBJECT: return validateSortOptionObject((SortOption)value, diagnostics, context); case AttributePackage.STRETCH_OBJECT: return validateStretchObject((Stretch)value, diagnostics, context); case AttributePackage.STYLED_COMPONENT_OBJECT: return validateStyledComponentObject((StyledComponent)value, diagnostics, context); case AttributePackage.TICK_STYLE_OBJECT: return validateTickStyleObject((TickStyle)value, diagnostics, context); case AttributePackage.TRIGGER_CONDITION_OBJECT: return validateTriggerConditionObject((TriggerCondition)value, diagnostics, context); case AttributePackage.VERTICAL_ALIGNMENT_OBJECT: return validateVerticalAlignmentObject((VerticalAlignment)value, diagnostics, context); default: return true; } }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/AttributeValidator.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/util/AttributeValidator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
1954,
12,
474,
14622,
734,
16,
1033,
460,
16,
21450,
3893,
22568,
16,
1635,
819,
13,
565,
288,
3639,
1620,
261,
1106,
1251,
734,
13,
3639,
288,
5411,
648,
3601,
2261,
18,
12249,
67,
4051,
30,
7734,
327,
1954,
1803,
620,
12443,
1803,
620,
13,
1132,
16,
22568,
16,
819,
1769,
5411,
648,
3601,
2261,
18,
25614,
67,
24685,
30,
7734,
327,
1954,
6558,
7571,
12443,
6558,
7571,
13,
1132,
16,
22568,
16,
819,
1769,
5411,
648,
3601,
2261,
18,
5315,
2124,
3948,
30,
7734,
327,
1954,
5694,
12443,
5694,
13,
1132,
16,
22568,
16,
819,
1769,
5411,
648,
3601,
2261,
18,
10989,
67,
25312,
30,
7734,
327,
1954,
2957,
1852,
12443,
2957,
1852,
13,
1132,
16,
22568,
16,
819,
1769,
5411,
648,
3601,
2261,
18,
4883,
67,
8941,
30,
7734,
327,
1954,
751,
2148,
12443,
751,
2148,
13,
1132,
16,
22568,
16,
819,
1769,
5411,
648,
3601,
2261,
18,
4883,
67,
8941,
67,
22922,
30,
7734,
327,
1954,
751,
2148,
1841,
12443,
751,
2148,
1841,
13,
1132,
16,
22568,
16,
819,
1769,
5411,
648,
3601,
2261,
18,
4594,
67,
7254,
67,
13847,
10591,
30,
7734,
327,
1954,
11878,
21416,
12443,
11878,
21416,
13,
1132,
16,
22568,
16,
819,
1769,
5411,
648,
3601,
2261,
18,
4142,
22088,
67,
9900,
30,
7734,
327,
1954,
11456,
1396,
12443,
11456,
1396,
13,
1132,
16,
22568,
16,
819,
1769,
5411,
648,
3601,
2261,
18,
29818,
30,
7734,
327,
1954,
8026,
12443,
8026,
13,
1132,
16,
22568,
16,
819,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
1954,
12,
474,
14622,
734,
16,
1033,
460,
16,
21450,
3893,
22568,
16,
1635,
819,
13,
565,
288,
3639,
1620,
261,
1106,
1251,
734,
13,
3639,
288,
5411,
648,
3601,
2261,
18,
12249,
67,
4051,
30,
7734,
327,
1954,
1803,
620,
12443,
1803,
620,
13,
1132,
16,
22568,
16,
819,
1769,
5411,
648,
3601,
2261,
18,
25614,
67,
24685,
30,
7734,
327,
1954,
6558,
7571,
12443,
6558,
7571,
13,
1132,
16,
22568,
16,
819,
1769,
5411,
648,
3601,
2261,
18,
5315,
2124,
3948,
30,
7734,
327,
1954,
5694,
12443,
5694,
13,
1132,
16,
22568,
16,
819,
1769,
5411,
648,
3601,
2261,
18,
10989,
67,
25312,
30,
7734,
327,
1954,
2957,
1852,
12443,
2957,
1852,
13,
1132,
2
] |
deleteWithReferences(sel);
|
deleteWithReferences(sel, ds);
|
public void mouseClicked(MouseEvent e) { if (e.getButton() != MouseEvent.BUTTON1) return; OsmPrimitive sel = mv.getNearest(e.getPoint(), (e.getModifiersEx() & MouseEvent.ALT_DOWN_MASK) != 0); if (sel == null) return; if ((e.getModifiersEx() & MouseEvent.CTRL_DOWN_MASK) != 0) deleteWithReferences(sel); else delete(sel); mv.repaint(); }
|
2204 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2204/5d520d84b7e4202a0cab0efc04a3a4ceaa9324d7/DeleteAction.java/buggy/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
7644,
27633,
12,
9186,
1133,
425,
13,
288,
202,
202,
430,
261,
73,
18,
588,
3616,
1435,
480,
17013,
1133,
18,
20068,
21,
13,
1082,
202,
2463,
31,
9506,
202,
51,
4808,
9840,
357,
273,
7701,
18,
588,
28031,
12,
73,
18,
588,
2148,
9334,
261,
73,
18,
588,
11948,
424,
1435,
473,
17013,
1133,
18,
18255,
67,
12711,
67,
11704,
13,
480,
374,
1769,
202,
202,
430,
261,
1786,
422,
446,
13,
1082,
202,
2463,
31,
202,
202,
430,
14015,
73,
18,
588,
11948,
424,
1435,
473,
17013,
1133,
18,
23876,
48,
67,
12711,
67,
11704,
13,
480,
374,
13,
1082,
202,
3733,
1190,
8221,
12,
1786,
1769,
202,
202,
12107,
1082,
202,
3733,
12,
1786,
1769,
202,
202,
17509,
18,
14462,
1598,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
7644,
27633,
12,
9186,
1133,
425,
13,
288,
202,
202,
430,
261,
73,
18,
588,
3616,
1435,
480,
17013,
1133,
18,
20068,
21,
13,
1082,
202,
2463,
31,
9506,
202,
51,
4808,
9840,
357,
273,
7701,
18,
588,
28031,
12,
73,
18,
588,
2148,
9334,
261,
73,
18,
588,
11948,
424,
1435,
473,
17013,
1133,
18,
18255,
67,
12711,
67,
11704,
13,
480,
374,
1769,
202,
202,
430,
261,
1786,
422,
446,
13,
1082,
202,
2463,
31,
202,
202,
430,
14015,
73,
18,
588,
11948,
424,
1435,
473,
17013,
1133,
18,
23876,
48,
67,
12711,
67,
11704,
13,
480,
374,
13,
1082,
202,
3733,
1190,
8221,
12,
1786,
1769,
202,
202,
12107,
1082,
202,
3733,
2
] |
szptr[wr] = (short) EOB;
|
szptr[ wr ] = (short) EOB;
|
private void generateMTFValues() { char[] yy = new char[256]; int i, j; char tmp; char tmp2; int zPend; int wr; int EOB; makeMaps(); EOB = nInUse + 1; for (i = 0; i <= EOB; i++) { mtfFreq[i] = 0; } wr = 0; zPend = 0; for (i = 0; i < nInUse; i++) { yy[i] = (char) i; } for (i = 0; i <= last; i++) { char ll_i; ll_i = unseqToSeq[block[zptr[i]]]; j = 0; tmp = yy[j]; while (ll_i != tmp) { j++; tmp2 = tmp; tmp = yy[j]; yy[j] = tmp2; }; yy[0] = tmp; if (j == 0) { zPend++; } else { if (zPend > 0) { zPend--; while (true) { switch (zPend % 2) { case 0: szptr[wr] = (short) RUNA; wr++; mtfFreq[RUNA]++; break; case 1: szptr[wr] = (short) RUNB; wr++; mtfFreq[RUNB]++; break; }; if (zPend < 2) { break; } zPend = (zPend - 2) / 2; }; zPend = 0; } szptr[wr] = (short) (j + 1); wr++; mtfFreq[j + 1]++; } } if (zPend > 0) { zPend--; while (true) { switch (zPend % 2) { case 0: szptr[wr] = (short) RUNA; wr++; mtfFreq[RUNA]++; break; case 1: szptr[wr] = (short) RUNB; wr++; mtfFreq[RUNB]++; break; } if (zPend < 2) { break; } zPend = (zPend - 2) / 2; } } szptr[wr] = (short) EOB; wr++; mtfFreq[EOB]++; nMTF = wr; }
|
55907 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55907/4da7a225ba9c01ca94805923e06e3fb2d46bf201/CBZip2OutputStream.java/buggy/plexus-archiver/src/main/java/org/codehaus/plexus/archiver/bzip2/CBZip2OutputStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
6152,
42,
1972,
1435,
288,
3639,
1149,
8526,
9016,
273,
394,
1149,
63,
5034,
15533,
3639,
509,
225,
277,
16,
525,
31,
3639,
1149,
1853,
31,
3639,
1149,
1853,
22,
31,
3639,
509,
998,
52,
409,
31,
3639,
509,
12408,
31,
3639,
509,
512,
5704,
31,
3639,
1221,
8903,
5621,
3639,
512,
5704,
273,
290,
15435,
397,
404,
31,
3639,
364,
261,
77,
273,
374,
31,
277,
1648,
512,
5704,
31,
277,
27245,
288,
5411,
20397,
14485,
63,
77,
65,
273,
374,
31,
3639,
289,
3639,
12408,
273,
374,
31,
3639,
998,
52,
409,
273,
374,
31,
3639,
364,
261,
77,
273,
374,
31,
277,
411,
290,
15435,
31,
277,
27245,
288,
5411,
9016,
63,
77,
65,
273,
261,
3001,
13,
277,
31,
3639,
289,
3639,
364,
261,
77,
273,
374,
31,
277,
1648,
1142,
31,
277,
27245,
288,
5411,
1149,
6579,
67,
77,
31,
5411,
6579,
67,
77,
273,
640,
5436,
774,
6926,
63,
2629,
63,
94,
6723,
63,
77,
13563,
15533,
5411,
525,
273,
374,
31,
5411,
1853,
273,
9016,
63,
78,
15533,
5411,
1323,
261,
2906,
67,
77,
480,
1853,
13,
288,
7734,
525,
9904,
31,
7734,
1853,
22,
273,
1853,
31,
7734,
1853,
273,
9016,
63,
78,
15533,
7734,
9016,
63,
78,
65,
273,
1853,
22,
31,
5411,
289,
31,
5411,
9016,
63,
20,
65,
273,
1853,
31,
5411,
309,
261,
78,
422,
374,
13,
288,
7734,
998,
52,
409,
9904,
31,
5411,
289,
469,
288,
7734,
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,
377,
3238,
918,
2103,
6152,
42,
1972,
1435,
288,
3639,
1149,
8526,
9016,
273,
394,
1149,
63,
5034,
15533,
3639,
509,
225,
277,
16,
525,
31,
3639,
1149,
1853,
31,
3639,
1149,
1853,
22,
31,
3639,
509,
998,
52,
409,
31,
3639,
509,
12408,
31,
3639,
509,
512,
5704,
31,
3639,
1221,
8903,
5621,
3639,
512,
5704,
273,
290,
15435,
397,
404,
31,
3639,
364,
261,
77,
273,
374,
31,
277,
1648,
512,
5704,
31,
277,
27245,
288,
5411,
20397,
14485,
63,
77,
65,
273,
374,
31,
3639,
289,
3639,
12408,
273,
374,
31,
3639,
998,
52,
409,
273,
374,
31,
3639,
364,
261,
77,
273,
374,
31,
277,
411,
290,
15435,
31,
277,
27245,
288,
5411,
9016,
63,
2
] |
if (startIdx < lookbackTotal) startIdx = lookbackTotal;
|
public TA_RetCode MINUS_DM(int startIdx, int endIdx, double inHigh[], double inLow[], int optInTimePeriod, MInteger outBegIdx, MInteger outNbElement, double outReal[]) { int today, lookbackTotal, outIdx; double prevHigh, prevLow, tempReal; double prevMinusDM; double diffP, diffM; int i; if (startIdx < 0) return TA_RetCode.TA_OUT_OF_RANGE_START_INDEX; if ((endIdx < 0) || (endIdx < startIdx)) return TA_RetCode.TA_OUT_OF_RANGE_END_INDEX; if ((int) optInTimePeriod == (Integer.MIN_VALUE )) optInTimePeriod = 14; else if (((int) optInTimePeriod < 1) || ((int) optInTimePeriod > 100000)) return TA_RetCode.TA_BAD_PARAM; if (optInTimePeriod > 1) lookbackTotal = optInTimePeriod + (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_MINUS_DM .ordinal()]) - 1; else lookbackTotal = 1; if (startIdx < lookbackTotal) startIdx = lookbackTotal; if (startIdx > endIdx) { outBegIdx.value = 0; outNbElement.value = 0; return TA_RetCode.TA_SUCCESS; } outIdx = 0; if (optInTimePeriod <= 1) { outBegIdx.value = startIdx; today = startIdx - 1; prevHigh = inHigh[today]; prevLow = inLow[today]; while (today < endIdx) { today++; tempReal = inHigh[today]; diffP = tempReal - prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow - tempReal; prevLow = tempReal; if ((diffM > 0) && (diffP < diffM)) { outReal[outIdx++] = diffM; } else outReal[outIdx++] = 0; } outNbElement.value = outIdx; return TA_RetCode.TA_SUCCESS; } outBegIdx.value = startIdx; prevMinusDM = 0.0; today = startIdx - lookbackTotal; prevHigh = inHigh[today]; prevLow = inLow[today]; i = optInTimePeriod - 1; while (i-- > 0) { today++; tempReal = inHigh[today]; diffP = tempReal - prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow - tempReal; prevLow = tempReal; if ((diffM > 0) && (diffP < diffM)) { prevMinusDM += diffM; } } i = (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_MINUS_DM.ordinal()]); while (i-- != 0) { today++; tempReal = inHigh[today]; diffP = tempReal - prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow - tempReal; prevLow = tempReal; if ((diffM > 0) && (diffP < diffM)) { prevMinusDM = prevMinusDM - (prevMinusDM / optInTimePeriod) + diffM; } else { prevMinusDM = prevMinusDM - (prevMinusDM / optInTimePeriod); } } outReal[0] = prevMinusDM; outIdx = 1; while (today < endIdx) { today++; tempReal = inHigh[today]; diffP = tempReal - prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow - tempReal; prevLow = tempReal; if ((diffM > 0) && (diffP < diffM)) { prevMinusDM = prevMinusDM - (prevMinusDM / optInTimePeriod) + diffM; } else { prevMinusDM = prevMinusDM - (prevMinusDM / optInTimePeriod); } outReal[outIdx++] = prevMinusDM; } outNbElement.value = outIdx; return TA_RetCode.TA_SUCCESS; }
|
2365 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2365/8c26ea7a2c59f9148f3db0db7ab39ed48689e601/Core.java/buggy/ta-lib/java/src/TA/Lib/Core.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
399,
37,
67,
7055,
1085,
6989,
3378,
67,
16125,
12,
474,
27108,
16,
509,
679,
4223,
16,
1645,
316,
8573,
63,
6487,
1082,
202,
9056,
316,
10520,
63,
6487,
509,
2153,
382,
26540,
16,
490,
4522,
596,
24059,
4223,
16,
1082,
202,
49,
4522,
596,
22816,
1046,
16,
1645,
29205,
63,
5717,
288,
202,
202,
474,
10074,
16,
2324,
823,
5269,
16,
596,
4223,
31,
202,
202,
9056,
2807,
8573,
16,
2807,
10520,
16,
31497,
31,
202,
202,
9056,
2807,
18434,
16125,
31,
202,
202,
9056,
3122,
52,
16,
3122,
49,
31,
202,
202,
474,
277,
31,
202,
202,
430,
261,
1937,
4223,
411,
374,
13,
1082,
202,
2463,
399,
37,
67,
7055,
1085,
18,
9833,
67,
5069,
67,
3932,
67,
15928,
67,
7570,
67,
9199,
31,
202,
202,
430,
14015,
409,
4223,
411,
374,
13,
747,
261,
409,
4223,
411,
27108,
3719,
1082,
202,
2463,
399,
37,
67,
7055,
1085,
18,
9833,
67,
5069,
67,
3932,
67,
15928,
67,
4415,
67,
9199,
31,
202,
202,
430,
14015,
474,
13,
2153,
382,
26540,
422,
261,
4522,
18,
6236,
67,
4051,
8623,
1082,
202,
3838,
382,
26540,
273,
5045,
31,
202,
202,
12107,
309,
261,
12443,
474,
13,
2153,
382,
26540,
411,
404,
13,
9506,
202,
20081,
14015,
474,
13,
2153,
382,
26540,
405,
25259,
3719,
1082,
202,
2463,
399,
37,
67,
7055,
1085,
18,
9833,
67,
16234,
67,
8388,
31,
202,
202,
430,
261,
3838,
382,
26540,
405,
404,
13,
1082,
202,
7330,
823,
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,
399,
37,
67,
7055,
1085,
6989,
3378,
67,
16125,
12,
474,
27108,
16,
509,
679,
4223,
16,
1645,
316,
8573,
63,
6487,
1082,
202,
9056,
316,
10520,
63,
6487,
509,
2153,
382,
26540,
16,
490,
4522,
596,
24059,
4223,
16,
1082,
202,
49,
4522,
596,
22816,
1046,
16,
1645,
29205,
63,
5717,
288,
202,
202,
474,
10074,
16,
2324,
823,
5269,
16,
596,
4223,
31,
202,
202,
9056,
2807,
8573,
16,
2807,
10520,
16,
31497,
31,
202,
202,
9056,
2807,
18434,
16125,
31,
202,
202,
9056,
3122,
52,
16,
3122,
49,
31,
202,
202,
474,
277,
31,
202,
202,
430,
261,
1937,
4223,
411,
374,
13,
1082,
202,
2463,
399,
37,
67,
7055,
1085,
18,
9833,
2
] |
|
while(oldLogFilesDiskSpaceUsage > maxOldLogfilesDiskUsage) { OldLogFile olf; synchronized(logFiles) { olf = (OldLogFile) logFiles.removeFirst();
|
synchronized(trimOldLogFilesLock) { while(oldLogFilesDiskSpaceUsage > maxOldLogfilesDiskUsage) { OldLogFile olf; synchronized(logFiles) { olf = (OldLogFile) logFiles.removeFirst(); } olf.filename.delete(); oldLogFilesDiskSpaceUsage -= olf.size; Logger.minor(this, "Deleting "+olf.filename+" - saving "+olf.size+ " bytes, disk usage now: "+oldLogFilesDiskSpaceUsage+" of "+maxOldLogfilesDiskUsage);
|
public void trimOldLogFiles() { while(oldLogFilesDiskSpaceUsage > maxOldLogfilesDiskUsage) { OldLogFile olf; synchronized(logFiles) { olf = (OldLogFile) logFiles.removeFirst(); } olf.filename.delete(); oldLogFilesDiskSpaceUsage -= olf.size; Logger.minor(this, "Deleting "+olf.filename+" - saving "+olf.size+ " bytes, disk usage now: "+oldLogFilesDiskSpaceUsage+" of "+maxOldLogfilesDiskUsage); } }
|
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/2d2b5012400f5bab60d65d3d26d67efa9cf7d1d6/FileLoggerHook.java/clean/src/freenet/support/FileLoggerHook.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2209,
7617,
1343,
2697,
1435,
288,
202,
202,
17523,
12,
1673,
1343,
2697,
6247,
3819,
5357,
405,
943,
7617,
1343,
2354,
6247,
5357,
13,
288,
1082,
202,
7617,
19103,
8793,
74,
31,
1082,
202,
22043,
12,
1330,
2697,
13,
288,
9506,
202,
355,
74,
273,
261,
7617,
19103,
13,
613,
2697,
18,
4479,
3759,
5621,
1082,
202,
97,
1082,
202,
355,
74,
18,
3459,
18,
3733,
5621,
1082,
202,
1673,
1343,
2697,
6247,
3819,
5357,
3947,
8793,
74,
18,
1467,
31,
1082,
202,
3328,
18,
17364,
12,
2211,
16,
315,
20433,
13773,
355,
74,
18,
3459,
9078,
300,
12392,
13773,
355,
74,
18,
1467,
15,
6862,
202,
6,
1731,
16,
4234,
4084,
2037,
30,
13773,
1673,
1343,
2697,
6247,
3819,
5357,
9078,
434,
13773,
1896,
7617,
1343,
2354,
6247,
5357,
1769,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2209,
7617,
1343,
2697,
1435,
288,
202,
202,
17523,
12,
1673,
1343,
2697,
6247,
3819,
5357,
405,
943,
7617,
1343,
2354,
6247,
5357,
13,
288,
1082,
202,
7617,
19103,
8793,
74,
31,
1082,
202,
22043,
12,
1330,
2697,
13,
288,
9506,
202,
355,
74,
273,
261,
7617,
19103,
13,
613,
2697,
18,
4479,
3759,
5621,
1082,
202,
97,
1082,
202,
355,
74,
18,
3459,
18,
3733,
5621,
1082,
202,
1673,
1343,
2697,
6247,
3819,
5357,
3947,
8793,
74,
18,
1467,
31,
1082,
202,
3328,
18,
17364,
12,
2211,
16,
315,
20433,
13773,
355,
74,
18,
3459,
9078,
300,
12392,
13773,
355,
74,
18,
1467,
15,
6862,
202,
6,
1731,
16,
4234,
4084,
2037,
30,
13773,
2
] |
int packets = 1; if (precount-prepos<28) {
|
int packets = 0; if (precount-prepos<27) {
|
private void readOggPageHeader() throws IOException { int packets = 1; if (precount-prepos<28) { int avail = in.available(); if (avail > 0) { int size = Math.min(prebuf.length - precount, avail); int read = in.read(prebuf, precount, size); if (read < 0) { // inputstream has ended throw new IOException("End of stream but available was positive"); } precount += read; } } if (precount-prepos>=28) { // can read beginning of Page header if (!(new String(prebuf, prepos, 4).equals("OggS"))) { throw new StreamCorruptedException("Lost Ogg Sync"); } if (streamSerialNumber != readInt(prebuf, prepos+14)) { throw new StreamCorruptedException("Ogg Stream Serial Number mismatch"); } packets = 0xff & prebuf[prepos+26]; } if (precount-prepos<27+packets) { int avail = in.available(); if (avail > 0) { int size = Math.min(prebuf.length - precount, avail); int read = in.read(prebuf, precount, size); if (read < 0) { // inputstream has ended throw new IOException("End of stream but available was positive"); } precount += read; } } if (precount-prepos>=27+packets) { // can read entire Page header System.arraycopy(prebuf, prepos+27, packetSizes, 0, packets); packetCount = 0; prepos += 27+packets; packetsPerOggPage = packets; } }
|
6221 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6221/df514e5f152fdd4e46dd2a0da739b0370bc01a56/Speex2PcmAudioInputStream.java/clean/main/trunk/src/java/org/xiph/speex/spi/Speex2PcmAudioInputStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
855,
51,
14253,
1964,
1864,
1435,
565,
1216,
1860,
225,
288,
565,
509,
12640,
273,
404,
31,
565,
309,
261,
1484,
1883,
17,
1484,
917,
32,
6030,
13,
288,
1377,
509,
15783,
273,
316,
18,
5699,
5621,
1377,
309,
261,
842,
671,
405,
374,
13,
288,
3639,
509,
963,
273,
2361,
18,
1154,
12,
1484,
4385,
18,
2469,
300,
675,
1883,
16,
15783,
1769,
3639,
509,
855,
273,
316,
18,
896,
12,
1484,
4385,
16,
675,
1883,
16,
963,
1769,
3639,
309,
261,
896,
411,
374,
13,
288,
368,
810,
3256,
711,
16926,
1850,
604,
394,
1860,
2932,
1638,
434,
1407,
1496,
2319,
1703,
6895,
8863,
3639,
289,
3639,
675,
1883,
1011,
855,
31,
1377,
289,
565,
289,
565,
309,
261,
1484,
1883,
17,
1484,
917,
34,
33,
6030,
13,
288,
368,
848,
855,
8435,
434,
3460,
1446,
1377,
309,
16051,
12,
2704,
514,
12,
1484,
4385,
16,
675,
917,
16,
1059,
2934,
14963,
2932,
51,
14253,
55,
6,
20349,
288,
3639,
604,
394,
3961,
22701,
329,
503,
2932,
19024,
531,
14253,
9721,
8863,
1377,
289,
1377,
309,
261,
3256,
6342,
1854,
480,
13731,
12,
1484,
4385,
16,
675,
917,
15,
3461,
3719,
288,
3639,
604,
394,
3961,
22701,
329,
503,
2932,
51,
14253,
3961,
7366,
3588,
13484,
8863,
1377,
289,
1377,
12640,
273,
374,
5297,
473,
675,
4385,
63,
1484,
917,
15,
5558,
15533,
565,
289,
565,
309,
261,
1484,
1883,
17,
1484,
917,
32,
5324,
15,
28717,
13,
288,
1377,
509,
15783,
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,
918,
855,
51,
14253,
1964,
1864,
1435,
565,
1216,
1860,
225,
288,
565,
509,
12640,
273,
404,
31,
565,
309,
261,
1484,
1883,
17,
1484,
917,
32,
6030,
13,
288,
1377,
509,
15783,
273,
316,
18,
5699,
5621,
1377,
309,
261,
842,
671,
405,
374,
13,
288,
3639,
509,
963,
273,
2361,
18,
1154,
12,
1484,
4385,
18,
2469,
300,
675,
1883,
16,
15783,
1769,
3639,
509,
855,
273,
316,
18,
896,
12,
1484,
4385,
16,
675,
1883,
16,
963,
1769,
3639,
309,
261,
896,
411,
374,
13,
288,
368,
810,
3256,
711,
16926,
1850,
604,
394,
1860,
2932,
1638,
434,
1407,
1496,
2319,
1703,
6895,
8863,
3639,
289,
3639,
675,
1883,
1011,
855,
31,
1377,
289,
2
] |
if (isAvailable) return; UniqueID id = null; if (futureEventProducer != null) { id = ProActive.getBodyOnThis().getID(); if (LocalBodyStore.getInstance().getLocalBody(id) != null) { futureEventProducer.notifyListeners(id, getCreatorID(), FutureEvent.WAIT_BY_NECESSITY); } else id = null; }
|
public synchronized void waitFor() { while (!isAvailable) { try { this.wait(); } catch (InterruptedException e) { } } }
|
50951 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50951/2666230e00db643175e81dac0b52f3f8ba384784/FutureProxy.java/clean/src/org/objectweb/proactive/core/body/future/FutureProxy.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
309,
261,
291,
5268,
13,
327,
31,
225,
14584,
734,
612,
273,
446,
31,
282,
309,
261,
14343,
1133,
12140,
480,
446,
13,
288,
612,
273,
1186,
3896,
18,
588,
2250,
1398,
2503,
7675,
588,
734,
5621,
309,
261,
2042,
2250,
2257,
18,
588,
1442,
7675,
588,
2042,
2250,
12,
350,
13,
480,
446,
13,
288,
225,
3563,
1133,
12140,
18,
12336,
5583,
12,
350,
16,
15759,
639,
734,
9334,
9108,
1133,
18,
19046,
67,
6486,
67,
5407,
5119,
4107,
1769,
289,
469,
612,
273,
446,
31,
289,
3852,
309,
261,
291,
5268,
13,
327,
31,
225,
14584,
734,
612,
273,
446,
31,
282,
309,
261,
14343,
1133,
12140,
480,
446,
13,
288,
612,
273,
1186,
3896,
18,
588,
2250,
1398,
2503,
7675,
588,
734,
5621,
309,
261,
2042,
2250,
2257,
18,
588,
1442,
7675,
588,
2042,
2250,
12,
350,
13,
480,
446,
13,
288,
225,
3563,
1133,
12140,
18,
12336,
5583,
12,
350,
16,
15759,
639,
734,
9334,
9108,
1133,
18,
19046,
67,
6486,
67,
5407,
5119,
4107,
1769,
289,
469,
612,
273,
446,
31,
289,
918,
309,
261,
291,
5268,
13,
327,
31,
225,
14584,
734,
612,
273,
446,
31,
282,
309,
261,
14343,
1133,
12140,
480,
446,
13,
288,
612,
273,
1186,
3896,
18,
588,
2250,
1398,
2503,
7675,
588,
734,
5621,
309,
261,
2042,
2250,
2257,
18,
588,
1442,
7675,
588,
2042,
2250,
12,
350,
13,
480,
446,
13,
288,
225,
3563,
1133,
12140,
18,
12336,
5583,
12,
350,
16,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
309,
261,
291,
5268,
13,
327,
31,
225,
14584,
734,
612,
273,
446,
31,
282,
309,
261,
14343,
1133,
12140,
480,
446,
13,
288,
612,
273,
1186,
3896,
18,
588,
2250,
1398,
2503,
7675,
588,
734,
5621,
309,
261,
2042,
2250,
2257,
18,
588,
1442,
7675,
588,
2042,
2250,
12,
350,
13,
480,
446,
13,
288,
225,
3563,
1133,
12140,
18,
12336,
5583,
12,
350,
16,
15759,
639,
734,
9334,
9108,
1133,
18,
19046,
67,
6486,
67,
5407,
5119,
4107,
1769,
289,
469,
612,
273,
446,
31,
289,
3852,
309,
261,
291,
5268,
13,
327,
31,
225,
14584,
734,
612,
273,
446,
31,
282,
309,
261,
14343,
1133,
12140,
480,
446,
13,
288,
612,
273,
1186,
2
] |
|
public org.quickfix.field.NestedPartyID get(org.quickfix.field.NestedPartyID value)
|
public quickfix.field.NestedPartyID get(quickfix.field.NestedPartyID value)
|
public org.quickfix.field.NestedPartyID get(org.quickfix.field.NestedPartyID value) throws FieldNotFound { getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderCross.java/buggy/src/java/src/quickfix/fix43/NewOrderCross.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9549,
904,
18,
1518,
18,
8649,
17619,
734,
336,
12,
19525,
904,
18,
1518,
18,
8649,
17619,
734,
225,
460,
13,
565,
1216,
2286,
2768,
225,
288,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
9549,
904,
18,
1518,
18,
8649,
17619,
734,
336,
12,
19525,
904,
18,
1518,
18,
8649,
17619,
734,
225,
460,
13,
565,
1216,
2286,
2768,
225,
288,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if ( formatPattern != null )
|
if ( formatCategroy != DesignChoiceConstants.STRING_FORMAT_TYPE_CUSTOM )
|
private void updateFormatField( ) { String displayFormat; IChoiceSet choiceSet = getFormatChoiceSet( getSelectedDataType( ) ); if ( choiceSet == null ) {// Boolean type; displayFormat = DesignEngine.getMetaDataDictionary( ) .getChoiceSet( DesignChoiceConstants.CHOICE_STRING_FORMAT_TYPE ) .findChoice( DesignChoiceConstants.STRING_FORMAT_TYPE_UNFORMATTED ) .getDisplayName( ); } else { displayFormat = choiceSet.findChoice( formatCategroy ) .getDisplayName( ); if ( formatPattern != null ) { displayFormat += ": " + formatPattern; //$NON-NLS-1$ } } formatField.setText( "" + displayFormat ); //$NON-NLS-1$ changeFormat.setEnabled( choiceSet != null ); if ( selectedParameter != null ) { doPreview( formatPattern == null ? formatCategroy : formatPattern ); } }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/93723d1ddc3fa20d0b82117bc4c24722aab6a837/CascadingParametersDialog.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/CascadingParametersDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1089,
1630,
974,
12,
262,
202,
95,
202,
202,
780,
2562,
1630,
31,
202,
202,
45,
10538,
694,
6023,
694,
273,
10959,
10538,
694,
12,
16625,
6273,
12,
262,
11272,
202,
202,
430,
261,
6023,
694,
422,
446,
262,
202,
202,
95,
759,
3411,
618,
31,
1082,
202,
5417,
1630,
273,
29703,
4410,
18,
588,
6998,
10905,
12,
262,
6862,
202,
18,
588,
10538,
694,
12,
29703,
10538,
2918,
18,
22213,
11774,
67,
5804,
67,
7254,
67,
2399,
262,
6862,
202,
18,
4720,
10538,
12,
29703,
10538,
2918,
18,
5804,
67,
7254,
67,
2399,
67,
2124,
7254,
6404,
262,
6862,
202,
18,
588,
20524,
12,
11272,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
5417,
1630,
273,
6023,
694,
18,
4720,
10538,
12,
740,
39,
1287,
3800,
262,
6862,
202,
18,
588,
20524,
12,
11272,
1082,
202,
430,
261,
740,
3234,
480,
446,
262,
1082,
202,
95,
9506,
202,
5417,
1630,
1011,
6398,
225,
315,
397,
740,
3234,
31,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
202,
202,
97,
202,
202,
2139,
974,
18,
542,
1528,
12,
1408,
397,
2562,
1630,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
3427,
1630,
18,
542,
1526,
12,
6023,
694,
480,
446,
11272,
202,
202,
430,
261,
3170,
1662,
480,
446,
262,
202,
202,
95,
1082,
202,
2896,
11124,
12,
740,
3234,
422,
446,
692,
740,
39,
1287,
3800,
294,
740,
3234,
11272,
202,
202,
97,
202,
97,
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,
1089,
1630,
974,
12,
262,
202,
95,
202,
202,
780,
2562,
1630,
31,
202,
202,
45,
10538,
694,
6023,
694,
273,
10959,
10538,
694,
12,
16625,
6273,
12,
262,
11272,
202,
202,
430,
261,
6023,
694,
422,
446,
262,
202,
202,
95,
759,
3411,
618,
31,
1082,
202,
5417,
1630,
273,
29703,
4410,
18,
588,
6998,
10905,
12,
262,
6862,
202,
18,
588,
10538,
694,
12,
29703,
10538,
2918,
18,
22213,
11774,
67,
5804,
67,
7254,
67,
2399,
262,
6862,
202,
18,
4720,
10538,
12,
29703,
10538,
2918,
18,
5804,
67,
7254,
67,
2399,
67,
2124,
7254,
6404,
262,
6862,
202,
18,
588,
20524,
12,
11272,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
2
] |
protected RubyModule(IRuby runtime, RubyClass metaClass, RubyClass superClass, SinglyLinkedList parentCRef, String name) { super(runtime, metaClass); this.superClass = superClass; //this.parentModule = parentModule; setBaseName(name); // If no parent is passed in, it is safe to assume Object. if (parentCRef == null) { if (runtime.getObject() != null) { parentCRef = runtime.getObject().getCRef(); } } this.cref = new SinglyLinkedList(this, parentCRef); }
|
45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/10c73ed2ca5db89e8e32669e4a9d4a933d0f98ca/RubyModule.java/clean/src/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
54,
10340,
3120,
12,
7937,
10340,
9448,
16,
54,
10340,
797,
3901,
797,
16,
54,
10340,
797,
9565,
797,
16,
55,
310,
715,
13174,
682,
2938,
39,
1957,
16,
780,
529,
15329,
9565,
12,
9448,
16,
3901,
797,
1769,
2211,
18,
9565,
797,
33,
9565,
797,
31,
759,
2211,
18,
2938,
3120,
33,
2938,
3120,
31,
202,
202,
542,
29907,
12,
529,
1769,
759,
2047,
82,
556,
817,
291,
23603,
267,
16,
305,
1054,
1727,
11453,
428,
2066,
921,
18,
430,
12,
2938,
39,
1957,
631,
2011,
15329,
430,
12,
9448,
18,
588,
921,
1435,
5,
33,
2011,
15329,
2938,
39,
1957,
33,
9448,
18,
588,
921,
7675,
588,
39,
1957,
5621,
9090,
2211,
18,
71,
1734,
33,
2704,
55,
310,
715,
13174,
682,
12,
2211,
16,
2938,
39,
1957,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
54,
10340,
3120,
12,
7937,
10340,
9448,
16,
54,
10340,
797,
3901,
797,
16,
54,
10340,
797,
9565,
797,
16,
55,
310,
715,
13174,
682,
2938,
39,
1957,
16,
780,
529,
15329,
9565,
12,
9448,
16,
3901,
797,
1769,
2211,
18,
9565,
797,
33,
9565,
797,
31,
759,
2211,
18,
2938,
3120,
33,
2938,
3120,
31,
202,
202,
542,
29907,
12,
529,
1769,
759,
2047,
82,
556,
817,
291,
23603,
267,
16,
305,
1054,
1727,
11453,
428,
2066,
921,
18,
430,
12,
2938,
39,
1957,
631,
2011,
15329,
430,
12,
9448,
18,
588,
921,
1435,
5,
33,
2011,
15329,
2938,
39,
1957,
33,
9448,
18,
588,
921,
7675,
588,
39,
1957,
5621,
9090,
2211,
18,
71,
1734,
33,
2
] |
||
return filterCacheResult(context, subResources, filter);
|
return setFullResourceNames(context, subResources, filter);
|
protected List getSubResources(CmsRequestContext context, String parentFolderName, CmsResourceFilter filter, boolean getFolders, boolean getFiles) throws CmsException { CmsFolder parentFolder = null; try { // validate the parent folder name if (! CmsResource.isFolder(parentFolderName)) { parentFolderName += '/'; } // read the parent folder parentFolder = readFolder(context, parentFolderName, filter); checkPermissions(context, parentFolder, I_CmsConstants.C_READ_ACCESS, filter, -1); } catch (CmsException e) { return new ArrayList(0); } if ((!CmsResourceFilter.IGNORE_EXPIRATION.isValid(context, parentFolder))) { // the parent folder was found, but it is deleted -> sub resources are not available return new ArrayList(0); } // try to get the sub resources from the cache String cacheKey; if (getFolders && getFiles) { cacheKey = CmsCacheKey.C_CACHE_KEY_SUBALL; } else if (getFolders) { cacheKey = CmsCacheKey.C_CACHE_KEY_SUBFOLDERS; } else { cacheKey = CmsCacheKey.C_CACHE_KEY_SUBFILES; } cacheKey = getCacheKey(context.currentUser().getName() + cacheKey + filter.getCacheId(), context.currentProject(), parentFolderName); List subResources = (List)m_resourceListCache.get(cacheKey); if (subResources != null && subResources.size() > 0) { // the parent folder is not deleted, and the sub resources were cached, no further operations required // we must however still filter the cached results for release/expiration date return filterCacheResult(context, subResources, filter); } // now read the result form the database subResources = m_vfsDriver.readChildResources(context.currentProject(), parentFolder, getFolders, getFiles); for (int i = 0; i < subResources.size(); i++) { CmsResource currentResource = (CmsResource)subResources.get(i); Integer perms = hasPermissions(context, currentResource, I_CmsConstants.C_READ_OR_VIEW_ACCESS, filter); if (PERM_DENIED == perms) { subResources.remove(i--); } else { if (currentResource.isFolder() && !CmsResource.isFolder(currentResource.getName())) { currentResource.setFullResourceName(parentFolderName.concat(currentResource.getName().concat("/"))); } else { currentResource.setFullResourceName(parentFolderName.concat(currentResource.getName())); } } } // cache the sub resources m_resourceListCache.put(cacheKey, subResources); // filter the result to remove resources outside release / expiration time window return filterCacheResult(context, subResources, filter); }
|
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/7c93c499a4f04d6e31b315986a724a7eb599a8d4/CmsDriverManager.java/buggy/src/org/opencms/db/CmsDriverManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
987,
7040,
3805,
12,
4747,
21426,
819,
16,
514,
982,
26169,
16,
21082,
1034,
16,
1250,
2812,
4665,
16,
1250,
18262,
13,
1216,
11228,
288,
13491,
2149,
3899,
982,
3899,
273,
446,
31,
3639,
775,
288,
5411,
368,
1954,
326,
982,
3009,
508,
5411,
309,
16051,
7630,
18,
291,
3899,
12,
2938,
26169,
3719,
288,
7734,
982,
26169,
1011,
2023,
31,
5411,
289,
5411,
368,
855,
326,
982,
3009,
2868,
982,
3899,
273,
855,
3899,
12,
2472,
16,
982,
26169,
16,
1034,
1769,
5411,
866,
6521,
12,
2472,
16,
982,
3899,
16,
467,
67,
4747,
2918,
18,
39,
67,
6949,
67,
13204,
16,
1034,
16,
300,
21,
1769,
3639,
289,
1044,
261,
4747,
503,
425,
13,
288,
5411,
327,
394,
2407,
12,
20,
1769,
3639,
289,
3639,
309,
14015,
5,
4747,
1420,
1586,
18,
20118,
67,
18433,
24284,
18,
26810,
12,
2472,
16,
982,
3899,
20349,
288,
5411,
368,
326,
982,
3009,
1703,
1392,
16,
1496,
518,
353,
4282,
317,
720,
2703,
854,
486,
2319,
5411,
327,
394,
2407,
12,
20,
1769,
3639,
289,
7734,
368,
775,
358,
336,
326,
720,
2703,
628,
326,
1247,
3639,
514,
9097,
31,
3639,
309,
261,
588,
14885,
597,
18262,
13,
288,
5411,
9097,
273,
2149,
15554,
18,
39,
67,
8495,
67,
3297,
67,
8362,
4685,
31,
3639,
289,
469,
309,
261,
588,
14885,
13,
288,
5411,
9097,
273,
2149,
15554,
18,
39,
67,
8495,
67,
3297,
67,
8362,
17357,
55,
31,
3639,
289,
469,
288,
5411,
9097,
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,
4750,
987,
7040,
3805,
12,
4747,
21426,
819,
16,
514,
982,
26169,
16,
21082,
1034,
16,
1250,
2812,
4665,
16,
1250,
18262,
13,
1216,
11228,
288,
13491,
2149,
3899,
982,
3899,
273,
446,
31,
3639,
775,
288,
5411,
368,
1954,
326,
982,
3009,
508,
5411,
309,
16051,
7630,
18,
291,
3899,
12,
2938,
26169,
3719,
288,
7734,
982,
26169,
1011,
2023,
31,
5411,
289,
5411,
368,
855,
326,
982,
3009,
2868,
982,
3899,
273,
855,
3899,
12,
2472,
16,
982,
26169,
16,
1034,
1769,
5411,
866,
6521,
12,
2472,
16,
982,
3899,
16,
467,
67,
4747,
2918,
18,
39,
67,
6949,
67,
13204,
16,
1034,
16,
300,
21,
1769,
3639,
289,
1044,
261,
4747,
503,
425,
13,
288,
2
] |
runTests(new TestDescriptor[]{ new TestDescriptor(TEST1, "label inside switch", 1, rule), new TestDescriptor(TEST2, "ok", 0, rule), }); }
|
runTests(rule); }
|
public void testAll() { runTests(new TestDescriptor[]{ new TestDescriptor(TEST1, "label inside switch", 1, rule), new TestDescriptor(TEST2, "ok", 0, rule), }); }
|
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/4e45de9075eeb015245ff09f8f8c58cf0f98bbf3/NonCaseLabelInSwitchStatementRuleTest.java/clean/pmd/regress/test/net/sourceforge/pmd/rules/NonCaseLabelInSwitchStatementRuleTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1595,
1435,
288,
3639,
1086,
14650,
12,
2704,
7766,
3187,
63,
7073,
5411,
394,
7766,
3187,
12,
16961,
21,
16,
315,
1925,
4832,
1620,
3113,
404,
16,
1720,
3631,
5411,
394,
7766,
3187,
12,
16961,
22,
16,
315,
601,
3113,
374,
16,
1720,
3631,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1595,
1435,
288,
3639,
1086,
14650,
12,
2704,
7766,
3187,
63,
7073,
5411,
394,
7766,
3187,
12,
16961,
21,
16,
315,
1925,
4832,
1620,
3113,
404,
16,
1720,
3631,
5411,
394,
7766,
3187,
12,
16961,
22,
16,
315,
601,
3113,
374,
16,
1720,
3631,
3639,
15549,
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
] |
&& this.names != null && this.names[0].equals("anonymous"))
|
&& this.functionName != null && this.functionName.equals("anonymous"))
|
public String decompile(int indent, boolean toplevel, boolean justbody) { if (source == null) return "function " + jsGet_name() + "() {\n\t[native code]\n}\n"; // Spew tokens in source, for debugging. // as TYPE number char if (printSource) { System.err.println("length:" + source.length()); for (int i = 0; i < source.length(); i++) { // Note that tokenToName will fail unless Context.printTrees // is true. String tokenname = TokenStream.tokenToName(source.charAt(i)); if (tokenname == null) tokenname = "---"; String pad = tokenname.length() > 7 ? "\t" : "\t\t"; System.err.println (tokenname + pad + (int)source.charAt(i) + "\t'" + ScriptRuntime.escapeString (source.substring(i, i+1)) + "'"); } System.err.println(); } StringBuffer result = new StringBuffer(); int i = 0; if (source.length() > 0) { /* special-case FUNCTION as the first token; if it is, * (and it's not followed by a NAME or LP) then we're * decompiling a function (and not the toplevel script.) * FUNCTION appearing elsewhere is an escape that means we'll * need to call toString of the given function (object). * If not at the top level, don't add an initial indent; * let the caller do it, so functions as expressions look * reasonable. */ if (toplevel) { // add an initial newline to exactly match js. if (!justbody) result.append('\n'); for (int j = 0; j < indent; j++) result.append(' '); } if (source.charAt(0) == TokenStream.FUNCTION // make sure it's not a script that begins with a // reference to a function definition. && source.length() > 1 && (source.charAt(1) == TokenStream.NAME || source.charAt(1) == TokenStream.LP)) { if (!justbody) { result.append("function "); /* version != 1.2 Function constructor behavior - if * there's no function name in the source info, and * the names[0] entry is the empty string, then it must * have been created by the Function constructor; * print 'anonymous' as the function name if the * version (under which the function was compiled) is * less than 1.2... or if it's greater than 1.2, because * we need to be closer to ECMA. (ToSource, please?) */ if (nextIs(i, TokenStream.LP) && this.version != Context.VERSION_1_2 && this.names != null && this.names[0].equals("anonymous")) result.append("anonymous"); i++; } else { /* Skip past the entire function header to the next EOL. * Depends on how NAMEs are encoded. */ while (i < source.length() && (source.charAt(i) != TokenStream.EOL // the length char of a NAME sequence // can look like an EOL. || (i > 0 && source.charAt(i-1) == TokenStream.NAME))) { i++; } // Skip past the EOL, too. i++; } } } while (i < source.length()) { int stop; switch(source.charAt(i)) { case TokenStream.NAME: case TokenStream.OBJECT: // re-wrapped in '/'s in parser... /* NAMEs are encoded as NAME, (char) length, string... * Note that lookahead for detecting labels depends on * this encoding; change there if this changes. * Also change function-header skipping code above, * used when decompling under decompileFunctionBody. */ i++; stop = i + (int)source.charAt(i); result.append(source.substring(i + 1, stop + 1)); i = stop; break; case TokenStream.NUMBER: i++; long lbits = 0; switch(source.charAt(i)) { case 'S': i++; result.append((int)source.charAt(i)); break; case 'J': i++; lbits |= (long)source.charAt(i++) << 48; lbits |= (long)source.charAt(i++) << 32; lbits |= (long)source.charAt(i++) << 16; lbits |= (long)source.charAt(i); result.append(lbits); break; case 'D': i++; lbits |= (long)source.charAt(i++) << 48; lbits |= (long)source.charAt(i++) << 32; lbits |= (long)source.charAt(i++) << 16; lbits |= (long)source.charAt(i); double dval = Double.longBitsToDouble(lbits); result.append(ScriptRuntime.numberToString(dval, 10)); break; } break; case TokenStream.STRING: i++; stop = i + (int)source.charAt(i); result.append('"'); result.append(ScriptRuntime.escapeString (source.substring(i + 1, stop + 1))); result.append('"'); i = stop; break; case TokenStream.PRIMARY: i++; switch(source.charAt(i)) { case TokenStream.TRUE: result.append("true"); break; case TokenStream.FALSE: result.append("false"); break; case TokenStream.NULL: result.append("null"); break; case TokenStream.THIS: result.append("this"); break; case TokenStream.TYPEOF: result.append("typeof"); break; case TokenStream.VOID: result.append("void"); break; case TokenStream.UNDEFINED: result.append("undefined"); break; } break; case TokenStream.FUNCTION: { /* decompile a FUNCTION token as an escape; call * toString on the nth enclosed nested function, * where n is given by the byte that follows. */ i++; int functionNumber = source.charAt(i); if (nestedFunctions == null || functionNumber > nestedFunctions.length) { String message; if (names != null && names.length > 0 && names[0].length() > 0) { message = Context.getMessage2 ("msg.no.function.ref.found.in", new Integer((int)source.charAt(i)), names[0]); } else { message = Context.getMessage1 ("msg.no.function.ref.found", new Integer((int)source.charAt(i))); } throw Context.reportRuntimeError(message); } result.append(nestedFunctions[functionNumber].decompile(indent, false, false)); break; } case TokenStream.COMMA: result.append(", "); break; case TokenStream.LC: if (nextIs(i, TokenStream.EOL)) indent += OFFSET; result.append("{"); break; case TokenStream.RC: /* don't print the closing RC if it closes the * toplevel function and we're called from * decompileFunctionBody. */ if (justbody && toplevel && i + 1 == source.length()) break; if (nextIs(i, TokenStream.EOL)) indent -= OFFSET; if (nextIs(i, TokenStream.WHILE) || nextIs(i, TokenStream.ELSE)) { indent -= OFFSET; result.append("} "); } else result.append('}'); break; case TokenStream.LP: result.append('('); break; case TokenStream.RP: if (nextIs(i, TokenStream.LC)) result.append(") "); else result.append(')'); break; case TokenStream.LB: result.append('['); break; case TokenStream.RB: result.append(']'); break; case TokenStream.EOL: result.append('\n'); /* add indent if any tokens remain, * less setback if next token is * a label, case or default. */ if (i + 1 < source.length()) { int less = 0; if (nextIs(i, TokenStream.CASE) || nextIs(i, TokenStream.DEFAULT)) less = SETBACK; else if (nextIs(i, TokenStream.RC)) less = OFFSET; /* elaborate check against label... skip past a * following inlined NAME and look for a COLON. * Depends on how NAME is encoded. */ else if (nextIs(i, TokenStream.NAME)) { int skip = source.charAt(i + 2); if (source.charAt(i + skip + 3) == TokenStream.COLON) less = OFFSET; } for (; less < indent; less++) result.append(' '); } break; case TokenStream.DOT: result.append('.'); break; case TokenStream.NEW: result.append("new "); break; case TokenStream.DELPROP: result.append("delete "); break; case TokenStream.IF: result.append("if "); break; case TokenStream.ELSE: result.append("else "); break; case TokenStream.FOR: result.append("for "); break; case TokenStream.IN: result.append(" in "); break; case TokenStream.WITH: result.append("with "); break; case TokenStream.WHILE: result.append("while "); break; case TokenStream.DO: result.append("do "); break; case TokenStream.TRY: result.append("try "); break; case TokenStream.CATCH: result.append("catch "); break; case TokenStream.FINALLY: result.append("finally "); break; case TokenStream.THROW: result.append("throw "); break; case TokenStream.SWITCH: result.append("switch "); break; case TokenStream.BREAK: if (nextIs(i, TokenStream.NAME)) result.append("break "); else result.append("break"); break; case TokenStream.CONTINUE: if (nextIs(i, TokenStream.NAME)) result.append("continue "); else result.append("continue"); break; case TokenStream.CASE: result.append("case "); break; case TokenStream.DEFAULT: result.append("default"); break; case TokenStream.RETURN: if (nextIs(i, TokenStream.SEMI)) result.append("return"); else result.append("return "); break; case TokenStream.VAR: result.append("var "); break; case TokenStream.SEMI: if (nextIs(i, TokenStream.EOL)) // statement termination result.append(";"); else // separators in FOR result.append("; "); break; case TokenStream.ASSIGN: i++; switch(source.charAt(i)) { case TokenStream.NOP: result.append(" = "); break; case TokenStream.ADD: result.append(" += "); break; case TokenStream.SUB: result.append(" -= "); break; case TokenStream.MUL: result.append(" *= "); break; case TokenStream.DIV: result.append(" /= "); break; case TokenStream.MOD: result.append(" %= "); break; case TokenStream.BITOR: result.append(" |= "); break; case TokenStream.BITXOR: result.append(" ^= "); break; case TokenStream.BITAND: result.append(" &= "); break; case TokenStream.LSH: result.append(" <<= "); break; case TokenStream.RSH: result.append(" >>= "); break; case TokenStream.URSH: result.append(" >>>= "); break; } break; case TokenStream.HOOK: result.append(" ? "); break; case TokenStream.OBJLIT: // pun OBJLIT to mean colon in objlit property initialization. // this needs to be distinct from COLON in the general case // to distinguish from the colon in a ternary... which needs // different spacing. result.append(':'); break; case TokenStream.COLON: if (nextIs(i, TokenStream.EOL)) // it's the end of a label result.append(":"); else // it's the middle part of a ternary result.append(" : "); break; case TokenStream.OR: result.append(" || "); break; case TokenStream.AND: result.append(" && "); break; case TokenStream.BITOR: result.append(" | "); break; case TokenStream.BITXOR: result.append(" ^ "); break; case TokenStream.BITAND: result.append(" & "); break; case TokenStream.EQOP: i++; switch(source.charAt(i)) { case TokenStream.SHEQ: /* * Emulate the C engine; if we're under version * 1.2, then the == operator behaves like the === * operator (and the source is generated by * decompiling a === opcode), so print the === * operator as ==. */ result.append(this.version == Context.VERSION_1_2 ? " == " : " === "); break; case TokenStream.SHNE: result.append(this.version == Context.VERSION_1_2 ? " != " : " !== "); break; case TokenStream.EQ: result.append(" == "); break; case TokenStream.NE: result.append(" != "); break; } break; case TokenStream.RELOP: i++; switch(source.charAt(i)) { case TokenStream.LE: result.append(" <= "); break; case TokenStream.LT: result.append(" < "); break; case TokenStream.GE: result.append(" >= "); break; case TokenStream.GT: result.append(" > "); break; case TokenStream.INSTANCEOF: result.append(" instanceof "); break; } break; case TokenStream.SHOP: i++; switch(source.charAt(i)) { case TokenStream.LSH: result.append(" << "); break; case TokenStream.RSH: result.append(" >> "); break; case TokenStream.URSH: result.append(" >>> "); break; } break; case TokenStream.UNARYOP: i++; switch(source.charAt(i)) { case TokenStream.TYPEOF: result.append("typeof "); break; case TokenStream.VOID: result.append("void "); break; case TokenStream.NOT: result.append('!'); break; case TokenStream.BITNOT: result.append('~'); break; case TokenStream.ADD: result.append('+'); break; case TokenStream.SUB: result.append('-'); break; } break; case TokenStream.INC: result.append("++"); break; case TokenStream.DEC: result.append("--"); break; case TokenStream.ADD: result.append(" + "); break; case TokenStream.SUB: result.append(" - "); break; case TokenStream.MUL: result.append(" * "); break; case TokenStream.DIV: result.append(" / "); break; case TokenStream.MOD: result.append(" % "); break; default: // If we don't know how to decompile it, raise an exception. throw new RuntimeException("Unknown token " + source.charAt(i)); } i++; } // add that trailing newline if it's an outermost function. if (toplevel && !justbody) result.append('\n'); return result.toString(); }
|
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/e53045755f5170abf79488c129f3ab6756b813e1/NativeFunction.java/clean/src/org/mozilla/javascript/NativeFunction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
443,
11100,
12,
474,
3504,
16,
1250,
28999,
16,
1250,
2537,
3432,
13,
288,
540,
309,
261,
3168,
422,
446,
13,
2398,
327,
315,
915,
315,
397,
3828,
967,
67,
529,
1435,
397,
7734,
25605,
18890,
82,
64,
88,
63,
13635,
981,
13944,
82,
6280,
82,
14432,
3639,
368,
348,
347,
91,
2430,
316,
1084,
16,
364,
10450,
18,
3639,
368,
487,
3463,
1300,
1149,
3639,
309,
261,
1188,
1830,
13,
288,
5411,
2332,
18,
370,
18,
8222,
2932,
2469,
2773,
397,
1084,
18,
2469,
10663,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1084,
18,
2469,
5621,
277,
27245,
288,
7734,
368,
3609,
716,
1147,
774,
461,
903,
2321,
3308,
1772,
18,
1188,
26590,
7734,
368,
353,
638,
18,
7734,
514,
1147,
529,
273,
3155,
1228,
18,
2316,
774,
461,
12,
3168,
18,
3001,
861,
12,
77,
10019,
7734,
309,
261,
2316,
529,
422,
446,
13,
10792,
1147,
529,
273,
5238,
10951,
31,
7734,
514,
4627,
273,
1147,
529,
18,
2469,
1435,
405,
2371,
10792,
692,
1548,
88,
6,
10792,
294,
1548,
88,
64,
88,
14432,
7734,
2332,
18,
370,
18,
8222,
10792,
261,
2316,
529,
5397,
397,
4627,
397,
261,
474,
13,
3168,
18,
3001,
861,
12,
77,
13,
5397,
397,
1548,
88,
4970,
397,
7739,
5576,
18,
6939,
780,
5397,
261,
3168,
18,
28023,
12,
77,
16,
277,
15,
21,
3719,
5397,
397,
5862,
1769,
5411,
289,
5411,
2332,
18,
370,
18,
8222,
5621,
3639,
289,
3639,
6674,
563,
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,
443,
11100,
12,
474,
3504,
16,
1250,
28999,
16,
1250,
2537,
3432,
13,
288,
540,
309,
261,
3168,
422,
446,
13,
2398,
327,
315,
915,
315,
397,
3828,
967,
67,
529,
1435,
397,
7734,
25605,
18890,
82,
64,
88,
63,
13635,
981,
13944,
82,
6280,
82,
14432,
3639,
368,
348,
347,
91,
2430,
316,
1084,
16,
364,
10450,
18,
3639,
368,
487,
3463,
1300,
1149,
3639,
309,
261,
1188,
1830,
13,
288,
5411,
2332,
18,
370,
18,
8222,
2932,
2469,
2773,
397,
1084,
18,
2469,
10663,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1084,
18,
2469,
5621,
277,
27245,
288,
7734,
368,
3609,
716,
1147,
774,
461,
903,
2321,
3308,
1772,
18,
1188,
2
] |
dd.addField(field); dd.addMsgField(msgtype, field); } if (componentFieldNode.getNodeName().equals("group")) { String required = getAttribute(componentFieldNode, "required"); boolean isRequired = required.equalsIgnoreCase("Y"); addXMLGroup(document, componentFieldNode, msgtype, dd, isRequired); } } return firstField;
|
dd.addField(field); dd.addMsgField(msgtype, field); } if (componentFieldNode.getNodeName().equals("group")) { String required = getAttribute(componentFieldNode, "required"); boolean isRequired = required.equalsIgnoreCase("Y"); addXMLGroup(document, componentFieldNode, msgtype, dd, isRequired); } } return firstField;
|
private int addXMLComponentFields(Document document, Node node, String msgtype, DataDictionary dd, boolean componentRequired) throws ConfigError { int firstField = 0; String name = getAttribute(node, "name"); if (name == null) { throw new ConfigError("No name given to component"); } Node componentNode = (Node) components.get(name); if (componentNode == null) { throw new ConfigError("Component not found"); } NodeList componentFieldNodes = componentNode.getChildNodes(); for (int i = 0; i < componentFieldNodes.getLength(); i++) { Node componentFieldNode = componentFieldNodes.item(i); if (componentFieldNode.getNodeName().equals("field") || componentFieldNode.getNodeName().equals("group")) { name = getAttribute(componentFieldNode, "name"); if (name == null) { throw new ConfigError("No name given to field"); } int field = lookupXMLFieldNumber(document, name); if (firstField == 0) { firstField = field; } String required = getAttribute(componentFieldNode, "required"); if (required.equalsIgnoreCase("Y") && componentRequired) { addRequiredField(msgtype, field); } dd.addField(field); dd.addMsgField(msgtype, field); } if (componentFieldNode.getNodeName().equals("group")) { String required = getAttribute(componentFieldNode, "required"); boolean isRequired = required.equalsIgnoreCase("Y"); addXMLGroup(document, componentFieldNode, msgtype, dd, isRequired); } } return firstField; }
|
6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/471e51d3be0cac334894cdffe31d3d9a14644fbe/DataDictionary.java/clean/src/quickfix/DataDictionary.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
527,
4201,
1841,
2314,
12,
2519,
1668,
16,
2029,
756,
16,
514,
1234,
723,
16,
5411,
1910,
10905,
6957,
16,
1250,
1794,
3705,
13,
1216,
1903,
668,
288,
3639,
509,
1122,
974,
273,
374,
31,
3639,
514,
508,
273,
4061,
12,
2159,
16,
315,
529,
8863,
3639,
309,
261,
529,
422,
446,
13,
288,
5411,
604,
394,
1903,
668,
2932,
2279,
508,
864,
358,
1794,
8863,
3639,
289,
3639,
2029,
1794,
907,
273,
261,
907,
13,
4085,
18,
588,
12,
529,
1769,
3639,
309,
261,
4652,
907,
422,
446,
13,
288,
5411,
604,
394,
1903,
668,
2932,
1841,
486,
1392,
8863,
3639,
289,
3639,
16781,
1794,
974,
3205,
273,
1794,
907,
18,
588,
22460,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1794,
974,
3205,
18,
588,
1782,
5621,
277,
27245,
288,
5411,
2029,
1794,
974,
907,
273,
1794,
974,
3205,
18,
1726,
12,
77,
1769,
5411,
309,
261,
4652,
974,
907,
18,
588,
18948,
7675,
14963,
2932,
1518,
7923,
10792,
747,
1794,
974,
907,
18,
588,
18948,
7675,
14963,
2932,
1655,
6,
3719,
288,
7734,
508,
273,
4061,
12,
4652,
974,
907,
16,
315,
529,
8863,
7734,
309,
261,
529,
422,
446,
13,
288,
10792,
604,
394,
1903,
668,
2932,
2279,
508,
864,
358,
652,
8863,
7734,
289,
7734,
509,
652,
273,
3689,
4201,
974,
1854,
12,
5457,
16,
508,
1769,
7734,
309,
261,
3645,
974,
422,
374,
13,
288,
10792,
1122,
974,
273,
652,
31,
7734,
289,
7734,
514,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
527,
4201,
1841,
2314,
12,
2519,
1668,
16,
2029,
756,
16,
514,
1234,
723,
16,
5411,
1910,
10905,
6957,
16,
1250,
1794,
3705,
13,
1216,
1903,
668,
288,
3639,
509,
1122,
974,
273,
374,
31,
3639,
514,
508,
273,
4061,
12,
2159,
16,
315,
529,
8863,
3639,
309,
261,
529,
422,
446,
13,
288,
5411,
604,
394,
1903,
668,
2932,
2279,
508,
864,
358,
1794,
8863,
3639,
289,
3639,
2029,
1794,
907,
273,
261,
907,
13,
4085,
18,
588,
12,
529,
1769,
3639,
309,
261,
4652,
907,
422,
446,
13,
288,
5411,
604,
394,
1903,
668,
2932,
1841,
486,
1392,
8863,
3639,
289,
3639,
16781,
1794,
974,
3205,
273,
1794,
907,
18,
588,
22460,
5621,
3639,
2
] |
} else if (SVNProviderPlugin.getPlugin().isAdminDirectory(resource.getName())) { if (handleSVNDir((IContainer)resource, delta.getKind())) { return false; }
|
public void resourceChanged(IResourceChangeEvent event) { try { final List modifiedResources = new ArrayList(); final List modifiedInfiniteDepthResources = new ArrayList(); event.getDelta().accept(new IResourceDeltaVisitor() { public boolean visit(IResourceDelta delta) { IResource resource = delta.getResource(); if (resource.getType()==IResource.FILE) { if (delta.getKind() == IResourceDelta.CHANGED && resource.exists()) { if((delta.getFlags() & INTERESTING_CHANGES) != 0) { modifiedResources.add(resource); return true; } } else if (delta.getKind() == IResourceDelta.ADDED) { modifiedResources.add(resource); return true; } else if (delta.getKind() == IResourceDelta.REMOVED) { // provide notifications for deletions since they may not have been managed // The move/delete hook would have updated the parent counts properly modifiedResources.add(resource); return true; } } else if(resource.getType()==IResource.FOLDER) { if (delta.getKind() == IResourceDelta.ADDED) { modifiedInfiniteDepthResources.add(resource); if (SVNProviderPlugin.getPlugin().isAdminDirectory(resource.getName())) { handleSVNDir((IContainer) resource, delta.getKind()); } else { handleSVNDir(((IContainer) resource).getFolder(new Path(SVNProviderPlugin.getPlugin().getAdminDirectoryName())), delta.getKind()); } return false; } else if (delta.getKind() == IResourceDelta.REMOVED) { modifiedInfiniteDepthResources.add(resource); return false; } else if (SVNProviderPlugin.getPlugin().isAdminDirectory(resource.getName())) { if (handleSVNDir((IContainer)resource, delta.getKind())) { return false; } } return true; } else if (resource.getType()==IResource.PROJECT) { IProject project = (IProject)resource; if (!project.isAccessible()) { return false; } if ((delta.getFlags() & IResourceDelta.OPEN) != 0) { return false; } if (RepositoryProvider.getProvider(project, SVNProviderPlugin.getTypeId()) == null) { return false; // not a svn handled project } if (delta.getKind() == IResourceDelta.ADDED) { modifiedInfiniteDepthResources.add(resource); return false; } else if (delta.getKind() == IResourceDelta.REMOVED) { modifiedInfiniteDepthResources.add(resource); return false; } } return true; } }); // we refresh all changed resources and broadcast the changes to all listeners (ex : SVNLightweightDecorator) if (!modifiedResources.isEmpty()) { IResource[] resources = (IResource[])modifiedResources.toArray(new IResource[modifiedResources.size()]); refreshStatus(resources); SVNProviderPlugin.broadcastModificationStateChanges(resources); } if (!modifiedInfiniteDepthResources.isEmpty()) { IResource[] resources = (IResource[])modifiedInfiniteDepthResources.toArray(new IResource[modifiedInfiniteDepthResources.size()]); refreshStatusInfitite(resources); SVNProviderPlugin.broadcastModificationStateChanges(resources); } } catch (CoreException e) { SVNProviderPlugin.log(e.getStatus()); } }
|
6016 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6016/0890bb648ed50af41254ac81d4543874223ac3e8/FileModificationManager.java/clean/subclipse/core/src/org/tigris/subversion/subclipse/core/resourcesListeners/FileModificationManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1058,
5033,
12,
45,
1420,
20930,
871,
13,
288,
202,
202,
698,
288,
1082,
202,
6385,
987,
4358,
3805,
273,
394,
2407,
5621,
1082,
202,
6385,
987,
4358,
382,
9551,
6148,
3805,
273,
394,
2407,
5621,
1082,
202,
2575,
18,
588,
9242,
7675,
9436,
12,
2704,
467,
1420,
9242,
7413,
1435,
288,
9506,
202,
482,
1250,
3757,
12,
45,
1420,
9242,
3622,
13,
288,
6862,
202,
45,
1420,
1058,
273,
3622,
18,
588,
1420,
5621,
6862,
202,
430,
261,
3146,
18,
588,
559,
1435,
631,
45,
1420,
18,
3776,
13,
288,
25083,
202,
430,
261,
9878,
18,
588,
5677,
1435,
422,
467,
1420,
9242,
18,
24435,
597,
1058,
18,
1808,
10756,
288,
6862,
1082,
202,
430,
12443,
9878,
18,
588,
5094,
1435,
473,
11391,
11027,
1360,
67,
1792,
3388,
3991,
13,
480,
374,
13,
288,
6862,
9506,
202,
7342,
3805,
18,
1289,
12,
3146,
1769,
6862,
9506,
202,
2463,
638,
31,
6862,
1082,
202,
97,
25083,
202,
97,
469,
309,
261,
9878,
18,
588,
5677,
1435,
422,
467,
1420,
9242,
18,
1880,
7660,
13,
288,
6862,
1082,
202,
7342,
3805,
18,
1289,
12,
3146,
1769,
7682,
6862,
1082,
202,
2463,
638,
31,
25083,
202,
97,
469,
309,
261,
9878,
18,
588,
5677,
1435,
422,
467,
1420,
9242,
18,
11122,
12135,
13,
288,
6862,
1082,
202,
759,
5615,
9208,
364,
26334,
3241,
2898,
2026,
486,
1240,
2118,
7016,
6862,
1082,
202,
759,
1021,
3635,
19,
3733,
3953,
4102,
1240,
3526,
326,
982,
6880,
8214,
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,
1058,
5033,
12,
45,
1420,
20930,
871,
13,
288,
202,
202,
698,
288,
1082,
202,
6385,
987,
4358,
3805,
273,
394,
2407,
5621,
1082,
202,
6385,
987,
4358,
382,
9551,
6148,
3805,
273,
394,
2407,
5621,
1082,
202,
2575,
18,
588,
9242,
7675,
9436,
12,
2704,
467,
1420,
9242,
7413,
1435,
288,
9506,
202,
482,
1250,
3757,
12,
45,
1420,
9242,
3622,
13,
288,
6862,
202,
45,
1420,
1058,
273,
3622,
18,
588,
1420,
5621,
6862,
202,
430,
261,
3146,
18,
588,
559,
1435,
631,
45,
1420,
18,
3776,
13,
288,
25083,
202,
430,
261,
9878,
18,
588,
5677,
1435,
422,
467,
1420,
9242,
18,
24435,
597,
1058,
18,
1808,
10756,
288,
6862,
1082,
202,
2
] |
|
sm.setIdPos(src.getIdStartPos() + sdata.fSize,src.getIdLength()); sm.setPos(src.getStartPos() + sdata.fSize, src.getLength()); sm.setLines(src.getStartLine() + sdata.fLines, src.getEndLine() + sdata.fLines);
|
sm.setIdPos(src.getIdStartPos() + sdata.getSize(), src.getIdLength()); sm.setPos(src.getStartPos() + sdata.getSize(), src.getLength()); sm.setLines(src.getStartLine() + sdata.getLines(), src.getEndLine() + sdata.getLines());
|
public void contentShift(CShiftData sdata) { try { ICElement[] el = root.getChildren(); for (int i=0; i< el.length; i++) { if (!(el[i] instanceof SourceManipulation)) continue; SourceManipulation sm = (SourceManipulation) el[i]; ISourceRange src = sm.getSourceRange(); int endOffset = src.getStartPos() + src.getLength(); // code BELOW this element changed - do nothing ! if (sdata.fOffset > endOffset) { continue; } if (sdata.fOffset < src.getStartPos()) { // code ABOVE this element changed - modify offset sm.setIdPos(src.getIdStartPos() + sdata.fSize,src.getIdLength()); sm.setPos(src.getStartPos() + sdata.fSize, src.getLength()); sm.setLines(src.getStartLine() + sdata.fLines, src.getEndLine() + sdata.fLines); } else { // code INSIDE of this element changed - modify length sm.setPos(src.getStartPos(), src.getLength() + sdata.fSize); sm.setLines(src.getStartLine(), src.getEndLine() + sdata.fLines); } } } catch (CModelException e) {} }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/0c006716b379168daba0d662b14e4675628d3a23/CContentOutlinerProvider.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CContentOutlinerProvider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
913,
10544,
12,
39,
10544,
751,
272,
892,
13,
288,
202,
202,
698,
288,
1082,
202,
2871,
1046,
8526,
415,
273,
1365,
18,
588,
4212,
5621,
1082,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
415,
18,
2469,
31,
277,
27245,
288,
9506,
202,
430,
16051,
12,
292,
63,
77,
65,
1276,
4998,
19308,
6234,
3719,
1324,
31,
9506,
202,
1830,
19308,
6234,
3029,
273,
261,
1830,
19308,
6234,
13,
415,
63,
77,
15533,
9506,
202,
45,
1830,
2655,
1705,
273,
3029,
18,
588,
1830,
2655,
5621,
9506,
202,
474,
25507,
273,
1705,
18,
588,
1685,
1616,
1435,
397,
1705,
18,
588,
1782,
5621,
6862,
9506,
202,
759,
981,
9722,
4130,
333,
930,
3550,
300,
741,
5083,
401,
9506,
202,
430,
261,
87,
892,
18,
74,
2335,
405,
25507,
13,
288,
1324,
31,
202,
97,
6862,
9506,
202,
430,
261,
87,
892,
18,
74,
2335,
411,
1705,
18,
588,
1685,
1616,
10756,
288,
6862,
202,
759,
981,
432,
5315,
3412,
333,
930,
3550,
300,
5612,
1384,
6862,
202,
4808,
18,
542,
548,
1616,
12,
4816,
18,
26321,
1685,
1616,
1435,
397,
272,
892,
18,
74,
1225,
16,
4816,
18,
26321,
1782,
10663,
6862,
202,
4808,
18,
542,
1616,
12,
4816,
18,
588,
1685,
1616,
1435,
397,
272,
892,
18,
74,
1225,
16,
1705,
18,
588,
1782,
10663,
6862,
202,
4808,
18,
542,
5763,
12,
4816,
18,
588,
1685,
1670,
1435,
397,
272,
892,
18,
74,
5763,
16,
1705,
18,
588,
1638,
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,
913,
10544,
12,
39,
10544,
751,
272,
892,
13,
288,
202,
202,
698,
288,
1082,
202,
2871,
1046,
8526,
415,
273,
1365,
18,
588,
4212,
5621,
1082,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
415,
18,
2469,
31,
277,
27245,
288,
9506,
202,
430,
16051,
12,
292,
63,
77,
65,
1276,
4998,
19308,
6234,
3719,
1324,
31,
9506,
202,
1830,
19308,
6234,
3029,
273,
261,
1830,
19308,
6234,
13,
415,
63,
77,
15533,
9506,
202,
45,
1830,
2655,
1705,
273,
3029,
18,
588,
1830,
2655,
5621,
9506,
202,
474,
25507,
273,
1705,
18,
588,
1685,
1616,
1435,
397,
1705,
18,
588,
1782,
5621,
6862,
9506,
202,
759,
981,
9722,
4130,
333,
930,
2
] |
return false;
|
if (isSelectionEmpty()) return false; RowMapper mapper = getRowMapper(); if (mapper instanceof AbstractLayoutCache) { AbstractLayoutCache ama = (AbstractLayoutCache) mapper; TreePath path = ama.getPathForRow(row); return isPathSelected(path); } else { int[] rows = mapper.getRowsForPaths(selection); for (int i = 0; i < rows.length; i++) if (rows[i] == row) return true; return false; }
|
public boolean isRowSelected(int row) throws NotImplementedException { return false; // TODO }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8e6a933c7311b8af73a149d26777089b7dc8bd68/DefaultTreeSelectionModel.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultTreeSelectionModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
353,
1999,
7416,
12,
474,
1027,
13,
1216,
10051,
503,
225,
288,
1082,
309,
261,
291,
6233,
1921,
10756,
327,
629,
31,
225,
6556,
4597,
5815,
273,
11835,
4597,
5621,
225,
309,
261,
13919,
1276,
4115,
3744,
1649,
13,
288,
282,
4115,
3744,
1649,
2125,
69,
273,
261,
7469,
3744,
1649,
13,
5815,
31,
4902,
743,
589,
273,
2125,
69,
18,
588,
743,
1290,
1999,
12,
492,
1769,
327,
353,
743,
7416,
12,
803,
1769,
289,
469,
288,
225,
509,
8526,
2595,
273,
5815,
18,
588,
4300,
1290,
4466,
12,
10705,
1769,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2595,
18,
2469,
31,
277,
27245,
309,
261,
3870,
63,
77,
65,
422,
1027,
13,
327,
638,
31,
327,
629,
31,
289,
368,
2660,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
1071,
1250,
353,
1999,
7416,
12,
474,
1027,
13,
1216,
10051,
503,
225,
288,
1082,
309,
261,
291,
6233,
1921,
10756,
327,
629,
31,
225,
6556,
4597,
5815,
273,
11835,
4597,
5621,
225,
309,
261,
13919,
1276,
4115,
3744,
1649,
13,
288,
282,
4115,
3744,
1649,
2125,
69,
273,
261,
7469,
3744,
1649,
13,
5815,
31,
4902,
743,
589,
273,
2125,
69,
18,
588,
743,
1290,
1999,
12,
492,
1769,
327,
353,
743,
7416,
12,
803,
1769,
289,
469,
288,
225,
509,
8526,
2595,
273,
5815,
18,
588,
4300,
1290,
4466,
12,
10705,
1769,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2595,
18,
2469,
31,
277,
27245,
309,
261,
3870,
63,
77,
65,
422,
1027,
13,
2
] |
}
|
}
|
readExternal(ObjectInput stream) throws IOException, ClassNotFoundException{ // FIXME: Implement me}
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/c0997df57feec0722568b1f1cc390b475c418086/DataFlavor.java/clean/core/src/classpath/java/java/awt/datatransfer/DataFlavor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
855,
6841,
12,
921,
1210,
1407,
13,
1216,
1860,
16,
10403,
95,
225,
368,
9852,
30,
10886,
1791,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
855,
6841,
12,
921,
1210,
1407,
13,
1216,
1860,
16,
10403,
95,
225,
368,
9852,
30,
10886,
1791,
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
] |
Date begin, Date end, TimeZone tz, Time timeOfDay, int period, int daysOfWeekBitmap) { DateSchedule dateSchedule = new WeeklyDateSchedule( begin == null ? null : ScheduleUtil.createCalendar(begin), period, daysOfWeekBitmap); return new Schedule( dateSchedule, new OnceTimeSchedule(ScheduleUtil.createTimeCalendar(timeOfDay)), tz, begin, end); }
|
Date begin, Date end, TimeZone tz, Time timeOfDay, int period, int daysOfWeekBitmap) { DateSchedule dateSchedule = new WeeklyDateSchedule( begin == null ? null : ScheduleUtil.createCalendar(begin), period, daysOfWeekBitmap); return new Schedule( dateSchedule, new OnceTimeSchedule(ScheduleUtil.createTimeCalendar(timeOfDay)), tz, begin, end); }
|
public static Schedule createWeekly( Date begin, Date end, TimeZone tz, Time timeOfDay, int period, int daysOfWeekBitmap) { DateSchedule dateSchedule = new WeeklyDateSchedule( begin == null ? null : ScheduleUtil.createCalendar(begin), period, daysOfWeekBitmap); return new Schedule( dateSchedule, new OnceTimeSchedule(ScheduleUtil.createTimeCalendar(timeOfDay)), tz, begin, end); }
|
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/Schedule.java/clean/src/main/mondrian/util/Schedule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
10674,
752,
6630,
715,
12,
1082,
202,
1626,
2376,
16,
2167,
679,
16,
16491,
6016,
16,
1082,
202,
950,
813,
17263,
16,
509,
3879,
16,
509,
4681,
12250,
12224,
13,
288,
202,
202,
1626,
6061,
1509,
6061,
273,
394,
10527,
715,
1626,
6061,
12,
9506,
202,
10086,
422,
446,
692,
446,
294,
10674,
1304,
18,
2640,
7335,
12,
10086,
3631,
9506,
202,
6908,
16,
9506,
202,
9810,
12250,
12224,
1769,
202,
202,
2463,
394,
10674,
12,
9506,
202,
712,
6061,
16,
9506,
202,
2704,
12419,
950,
6061,
12,
6061,
1304,
18,
2640,
950,
7335,
12,
957,
17263,
13,
3631,
9506,
202,
12994,
16,
9506,
202,
10086,
16,
9506,
202,
409,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
10674,
752,
6630,
715,
12,
1082,
202,
1626,
2376,
16,
2167,
679,
16,
16491,
6016,
16,
1082,
202,
950,
813,
17263,
16,
509,
3879,
16,
509,
4681,
12250,
12224,
13,
288,
202,
202,
1626,
6061,
1509,
6061,
273,
394,
10527,
715,
1626,
6061,
12,
9506,
202,
10086,
422,
446,
692,
446,
294,
10674,
1304,
18,
2640,
7335,
12,
10086,
3631,
9506,
202,
6908,
16,
9506,
202,
9810,
12250,
12224,
1769,
202,
202,
2463,
394,
10674,
12,
9506,
202,
712,
6061,
16,
9506,
202,
2704,
12419,
950,
6061,
12,
6061,
1304,
18,
2640,
950,
7335,
12,
957,
17263,
13,
3631,
9506,
202,
12994,
16,
9506,
202,
10086,
16,
9506,
202,
409,
1769,
202,
97,
2,
-100,
-100
] |
boolean isMain = myProfile.getParameter(Profile.MAIN, "").equals("true"); if(isMain) {
|
String isMain = myProfile.getParameter(Profile.MAIN, null); if(isMain == null || CaseInsensitiveString.equalsIgnoreCase(isMain, "true")) {
|
void joinPlatform() { try { // Create and initialize the IMTPManager myIMTPManager = myProfile.getIMTPManager(); myIMTPManager.initialize(myProfile, myCommandProcessor); // Get the Service Manager and the Service Finder myServiceManager = myProfile.getServiceManager(); myServiceFinder = myProfile.getServiceFinder(); //#MIDP_EXCLUDE_BEGIN // FIXME: It should probably go away... myMainContainer = myProfile.getMain(); //#MIDP_EXCLUDE_END // Create and init container-authority try { if (myProfile.getParameter(Profile.OWNER, null) != null) { // if there is an owner for this container // then try to use the full implementation of security myProfile.setParameter(Profile.MAINAUTH_CLASS,"jade.security.impl.PlatformAuthority"); myProfile.setParameter(Profile.AUTHORITY_CLASS,"jade.security.impl.ContainerAuthority"); } String type = myProfile.getParameter(Profile.AUTHORITY_CLASS, null); if (type != null) { authority = (Authority)Class.forName(type).newInstance(); authority.setName("container-authority"); //#MIDP_EXCLUDE_BEGIN authority.init(myProfile, myMainContainer); //#MIDP_EXCLUDE_END } } catch (Exception e1) { System.out.println("Some problems occured during the initialization of the security. JADE will continue execution by using dummy security."); authority = null; //e1.printStackTrace(); } try { if (authority == null) { authority = new jade.security.dummy.DummyAuthority(); authority.setName("container-authority"); //#MIDP_EXCLUDE_BEGIN authority.init(myProfile, myMainContainer); //#MIDP_EXCLUDE_END } } catch (Exception e2) { e2.printStackTrace(); } // This string will be used to build the GUID for every agent on // this platform. AID.setPlatformID(myServiceManager.getPlatformName()); // Build the Agent IDs for the AMS and for the Default DF. theAMS = new AID("ams", AID.ISLOCALNAME); theDefaultDF = new AID("df", AID.ISLOCALNAME); // Create the ResourceManager myResourceManager = myProfile.getResourceManager(); // Initialize the Container ID TransportAddress addr = (TransportAddress) myIMTPManager.getLocalAddresses().get(0); // Acquire username and password //#MIDP_EXCLUDE_BEGIN // the name for this container is got from the Profile, if exists // "No-name" is needed because the NAME is mandatory in the Ontology myID = new ContainerID(myProfile.getParameter(Profile.CONTAINER_NAME, AgentManager.UNNAMED_CONTAINER_NAME), addr); String ownership = myProfile.getParameter(Profile.OWNER, ContainerPrincipal.NONE); password = Agent.extractPassword(ownership); username = Agent.extractUsername(ownership); //#MIDP_EXCLUDE_END /*#MIDP_INCLUDE_BEGIN myID = new ContainerID(myProfile.getParameter(Profile.CONTAINER_NAME, "No-Name"), addr); password = new byte[] {}; username = ContainerPrincipal.NONE; #MIDP_INCLUDE_END*/ myProfile.setParameter(Profile.OWNER, username); // FIXME: Temporary Hack --- Start certs = new CertificateFolder(); IdentityCertificate identity = new jade.security.dummy.DummyCertificate(); identity.setSubject(new jade.security.dummy.DummyPrincipal(myID, username)); certs.setIdentityCertificate(identity); // FIXME: Temporary Hack --- End // Create the agent management service jade.core.management.AgentManagementService agentManagement = new jade.core.management.AgentManagementService(); agentManagement.init(this, myProfile); //#MIDP_EXCLUDE_BEGIN // Create the messaging service jade.core.messaging.MessagingService messaging = new jade.core.messaging.MessagingService(); //#MIDP_EXCLUDE_END /*#MIDP_INCLUDE_BEGIN jade.core.messaging.LightMessagingService messaging = new jade.core.messaging.LightMessagingService(); #MIDP_INCLUDE_END*/ messaging.init(this, myProfile); myNodeDescriptor = new NodeDescriptor(myID, myIMTPManager.getLocalNode(), username, password); ServiceDescriptor[] baseServices = new ServiceDescriptor[] { new ServiceDescriptor(agentManagement.getName(), agentManagement), new ServiceDescriptor(messaging.getName(), messaging) }; // Register with the platform and activate all the container fundamental services // This call can modify the name of this container myServiceManager.addNode(myNodeDescriptor, baseServices); // Start the Service Manager address notification service startService("jade.core.replication.AddressNotificationService"); //#MIDP_EXCLUDE_BEGIN // FIXME: It should be already set in the profile as a boolean value boolean disableMobility = myProfile.getParameter("mobility", "").equals("jade.core.DummyMobilityManager"); if(!disableMobility) { startService("jade.core.mobility.AgentMobilityService"); } //#MIDP_EXCLUDE_END //#J2ME_EXCLUDE_BEGIN startService("jade.core.event.NotificationService"); //#J2ME_EXCLUDE_END // Install all ACL Codecs and MTPs specified in the Profile messaging.boot(myProfile); //#MIDP_EXCLUDE_BEGIN if(myMainContainer != null) { boolean startThem = (myProfile.getParameter(Profile.LOCAL_SERVICE_MANAGER_HOST, null) == null); myMainContainer.initSystemAgents(this, startThem); } // Install the main container replication service, if needed boolean isMain = myProfile.getParameter(Profile.MAIN, "").equals("true"); if(isMain) { startService("jade.core.replication.MainReplicationService"); } //#MIDP_EXCLUDE_END } catch (IMTPException imtpe) { Logger.println("Communication failure while contacting agent platform: " + imtpe.getMessage()); imtpe.printStackTrace(); endContainer(); return; } catch (AuthException ae) { Logger.println("Authentication or authorization failure while contacting agent platform."); ae.printStackTrace(); endContainer(); return; } catch (Exception e) { Logger.println("Some problem occurred while contacting agent platform."); e.printStackTrace(); endContainer(); return; } // Create and activate agents that must be launched at bootstrap try { List l = myProfile.getSpecifiers(Profile.AGENTS); Iterator agentSpecifiers = l.iterator(); while(agentSpecifiers.hasNext()) { Specifier s = (Specifier) agentSpecifiers.next(); AID agentID = new AID(s.getName(), AID.ISLOCALNAME); try { String agentOwnership = username; /*AgentPrincipal agentPrincipal = authority.createAgentPrincipal(agentID, username); IdentityCertificate agentIdentity = authority.createIdentityCertificate(); agentIdentity.setSubject(agentPrincipal); authority.sign(agentIdentity, certs); DelegationCertificate agentDelegation = authority.createDelegationCertificate(); agentDelegation.setSubject(agentPrincipal); for (int c = 0; c < certs.getDelegationCertificates().size(); c++) agentDelegation.addPermissions(((DelegationCertificate)certs.getDelegationCertificates().get(c)).getPermissions()); authority.sign(agentDelegation, certs); CertificateFolder agentCerts = new CertificateFolder(); agentCerts.setIdentityCertificate(agentIdentity); agentCerts.addDelegationCertificate(agentDelegation); */ CertificateFolder agentCerts = createCertificateFolder(agentID); createAgent(agentID, s.getClassName(), s.getArgs(), agentOwnership, agentCerts, CREATE_ONLY); } catch (AuthException ae) { Logger.println("Authorization or authentication error while adding a new agent to the platform."); localAgents.remove(agentID); } } // Now activate all agents (this call starts their embedded threads) AID[] allLocalNames = localAgents.keys(); for (int i = 0; i < allLocalNames.length; i++) { AID id = allLocalNames[i]; if(!id.equals(theAMS) && !id.equals(theDefaultDF)) { startAgent(id); } } } catch (ProfileException pe) { System.out.println("Warning: error reading initial agents"); } System.out.println("Agent container " + myID + " is ready."); }
|
5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/c0ab47eed4732bc2dc47a84940b2fcf0213c104b/AgentContainerImpl.java/clean/src/jade/core/AgentContainerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
1233,
8201,
1435,
288,
1377,
775,
288,
1850,
368,
1788,
471,
4046,
326,
467,
14636,
1318,
1850,
3399,
3445,
11130,
1318,
273,
3399,
4029,
18,
588,
3445,
11130,
1318,
5621,
1850,
3399,
3445,
11130,
1318,
18,
11160,
12,
4811,
4029,
16,
3399,
2189,
5164,
1769,
202,
225,
368,
968,
326,
1956,
8558,
471,
326,
1956,
19307,
202,
225,
3399,
1179,
1318,
273,
3399,
4029,
18,
588,
1179,
1318,
5621,
202,
225,
3399,
1179,
8441,
273,
3399,
4029,
18,
588,
1179,
8441,
5621,
202,
225,
368,
7,
49,
734,
52,
67,
2294,
14829,
67,
16061,
202,
225,
368,
9852,
30,
2597,
1410,
8656,
1960,
10804,
2777,
202,
225,
3399,
6376,
2170,
273,
3399,
4029,
18,
588,
6376,
5621,
202,
225,
368,
7,
49,
734,
52,
67,
2294,
14829,
67,
4415,
1850,
368,
1788,
471,
1208,
1478,
17,
24763,
1850,
775,
288,
202,
1377,
309,
261,
4811,
4029,
18,
588,
1662,
12,
4029,
18,
29602,
16,
446,
13,
480,
446,
13,
288,
1082,
225,
368,
309,
1915,
353,
392,
3410,
364,
333,
1478,
1082,
225,
368,
1508,
775,
358,
999,
326,
1983,
4471,
434,
4373,
1082,
225,
3399,
4029,
18,
542,
1662,
12,
4029,
18,
19803,
7131,
67,
5237,
10837,
78,
2486,
18,
7462,
18,
11299,
18,
8201,
10962,
8863,
1082,
225,
3399,
4029,
18,
542,
1662,
12,
4029,
18,
7131,
14751,
67,
5237,
10837,
78,
2486,
18,
7462,
18,
11299,
18,
2170,
10962,
8863,
202,
1377,
289,
2868,
514,
618,
273,
3399,
4029,
18,
588,
1662,
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,
918,
1233,
8201,
1435,
288,
1377,
775,
288,
1850,
368,
1788,
471,
4046,
326,
467,
14636,
1318,
1850,
3399,
3445,
11130,
1318,
273,
3399,
4029,
18,
588,
3445,
11130,
1318,
5621,
1850,
3399,
3445,
11130,
1318,
18,
11160,
12,
4811,
4029,
16,
3399,
2189,
5164,
1769,
202,
225,
368,
968,
326,
1956,
8558,
471,
326,
1956,
19307,
202,
225,
3399,
1179,
1318,
273,
3399,
4029,
18,
588,
1179,
1318,
5621,
202,
225,
3399,
1179,
8441,
273,
3399,
4029,
18,
588,
1179,
8441,
5621,
202,
225,
368,
7,
49,
734,
52,
67,
2294,
14829,
67,
16061,
202,
225,
368,
9852,
30,
2597,
1410,
8656,
1960,
10804,
2777,
202,
225,
3399,
6376,
2170,
273,
3399,
4029,
18,
588,
6376,
5621,
2
] |
org.exist.xquery.parser.XQueryAST tmp263_AST = null; tmp263_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp263_AST); match(182);
|
org.exist.xquery.parser.XQueryAST tmp272_AST = null; tmp272_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp272_AST); match(184);
|
public final void reverseAxisSpecifier() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST reverseAxisSpecifier_AST = null; switch ( LA(1)) { case LITERAL_parent: { org.exist.xquery.parser.XQueryAST tmp261_AST = null; tmp261_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp261_AST); match(LITERAL_parent); reverseAxisSpecifier_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_ancestor: { org.exist.xquery.parser.XQueryAST tmp262_AST = null; tmp262_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp262_AST); match(LITERAL_ancestor); reverseAxisSpecifier_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 182: { org.exist.xquery.parser.XQueryAST tmp263_AST = null; tmp263_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp263_AST); match(182); reverseAxisSpecifier_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 183: { org.exist.xquery.parser.XQueryAST tmp264_AST = null; tmp264_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp264_AST); match(183); reverseAxisSpecifier_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_preceding: { org.exist.xquery.parser.XQueryAST tmp265_AST = null; tmp265_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp265_AST); match(LITERAL_preceding); reverseAxisSpecifier_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } returnAST = reverseAxisSpecifier_AST; }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/68bb69fc2bc91cbece43dcdf563e1be3ba003e1b/XQueryParser.java/buggy/src/org/exist/xquery/parser/XQueryParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
4219,
6558,
21416,
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,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
4219,
6558,
21416,
67,
9053,
273,
446,
31,
9506,
202,
9610,
261,
2928,
12,
21,
3719,
288,
202,
202,
3593,
511,
18454,
67,
2938,
30,
202,
202,
95,
1082,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1853,
5558,
21,
67,
9053,
273,
446,
31,
1082,
202,
5645,
5558,
21,
67,
9053,
273,
261,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
13,
689,
1733,
18,
2640,
12,
12050,
12,
21,
10019,
1082,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
1853,
5558,
21,
67,
9053,
1769,
1082,
202,
1916,
12,
23225,
67,
2938,
1769,
1082,
202,
9845,
6558,
21416,
67,
9053,
273,
261,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
13,
2972,
9053,
18,
3085,
31,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
511,
18454,
67,
28798,
30,
202,
202,
95,
1082,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1853,
5558,
22,
67,
9053,
273,
446,
31,
1082,
202,
5645,
5558,
22,
67,
9053,
273,
261,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
13,
689,
1733,
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,
727,
918,
4219,
6558,
21416,
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,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
4219,
6558,
21416,
67,
9053,
273,
446,
31,
9506,
202,
9610,
261,
2928,
12,
21,
3719,
288,
202,
202,
3593,
511,
18454,
67,
2938,
30,
202,
202,
95,
1082,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1853,
5558,
21,
67,
9053,
273,
446,
31,
1082,
202,
5645,
5558,
21,
67,
9053,
273,
261,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
2
] |
releaseProperties.setProperty( SCM_INFO_PREFIX + projectId + ".connection", connection );
|
setReleaseProperty( SCM_INFO_PREFIX + projectId + ".connection", connection );
|
public void addOriginalScmInfo( String projectId, Scm scm ) { String connection = scm.getConnection(); if ( connection != null ) { releaseProperties.setProperty( SCM_INFO_PREFIX + projectId + ".connection", connection ); } String devConnection = scm.getDeveloperConnection(); if ( devConnection != null ) { releaseProperties.setProperty( SCM_INFO_PREFIX + projectId + ".developerConnection", devConnection ); } String url = scm.getUrl(); if ( url != null ) { releaseProperties.setProperty( SCM_INFO_PREFIX + projectId + ".url", url ); } String tag = scm.getTag(); if ( tag != null ) { releaseProperties.setProperty( SCM_INFO_PREFIX + projectId + ".tag", tag ); } }
|
7444 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7444/3771bfdc88fc5a46222348fbae200a4d78679beb/ReleaseProgressTracker.java/buggy/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/helpers/ReleaseProgressTracker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
8176,
1541,
81,
966,
12,
514,
9882,
16,
2850,
81,
29207,
262,
565,
288,
3639,
514,
1459,
273,
29207,
18,
588,
1952,
5621,
3639,
309,
261,
1459,
480,
446,
262,
3639,
288,
5411,
444,
7391,
1396,
12,
8795,
49,
67,
5923,
67,
6307,
397,
9882,
397,
3552,
4071,
3113,
1459,
11272,
3639,
289,
3639,
514,
4461,
1952,
273,
29207,
18,
588,
28145,
1952,
5621,
3639,
309,
261,
4461,
1952,
480,
446,
262,
3639,
288,
5411,
3992,
2297,
18,
542,
1396,
12,
8795,
49,
67,
5923,
67,
6307,
397,
9882,
397,
3552,
23669,
1952,
3113,
4461,
1952,
11272,
3639,
289,
3639,
514,
880,
273,
29207,
18,
588,
1489,
5621,
3639,
309,
261,
880,
480,
446,
262,
3639,
288,
5411,
3992,
2297,
18,
542,
1396,
12,
8795,
49,
67,
5923,
67,
6307,
397,
9882,
397,
3552,
718,
3113,
880,
11272,
3639,
289,
3639,
514,
1047,
273,
29207,
18,
588,
1805,
5621,
3639,
309,
261,
1047,
480,
446,
262,
3639,
288,
5411,
3992,
2297,
18,
542,
1396,
12,
8795,
49,
67,
5923,
67,
6307,
397,
9882,
397,
3552,
2692,
3113,
1047,
11272,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
8176,
1541,
81,
966,
12,
514,
9882,
16,
2850,
81,
29207,
262,
565,
288,
3639,
514,
1459,
273,
29207,
18,
588,
1952,
5621,
3639,
309,
261,
1459,
480,
446,
262,
3639,
288,
5411,
444,
7391,
1396,
12,
8795,
49,
67,
5923,
67,
6307,
397,
9882,
397,
3552,
4071,
3113,
1459,
11272,
3639,
289,
3639,
514,
4461,
1952,
273,
29207,
18,
588,
28145,
1952,
5621,
3639,
309,
261,
4461,
1952,
480,
446,
262,
3639,
288,
5411,
3992,
2297,
18,
542,
1396,
12,
8795,
49,
67,
5923,
67,
6307,
397,
9882,
397,
3552,
23669,
1952,
3113,
4461,
1952,
11272,
3639,
289,
3639,
514,
880,
273,
29207,
18,
588,
1489,
5621,
3639,
309,
261,
880,
480,
446,
262,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.