rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
sequencelengths 256
256
| attention_mask
sequencelengths 256
256
| labels
sequencelengths 128
128
|
---|---|---|---|---|---|---|
return 0; | return -1; | static public synchronized int getDecodedDataLength( byte[] base64Data ) { if (base64Data == null) return 0; //byte[] normalizedBase64Data = removeWhiteSpace( base64Data );//Remove any whiteSpace byte[] decodedData = null; if ((decodedData = decode( base64Data ) ) == null)//decode could return a null byte array return 0; return decodedData.length; } | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/45e22dff1ad897916568881983b72f7b21d75377/Base64.java/buggy/src/org/apache/xerces/utils/Base64.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1071,
3852,
509,
336,
24888,
751,
1782,
12,
1160,
8526,
1026,
1105,
751,
262,
288,
3639,
309,
261,
1969,
1105,
751,
422,
446,
13,
5411,
327,
300,
21,
31,
3639,
368,
7229,
8526,
5640,
2171,
1105,
751,
273,
225,
1206,
23108,
12,
1026,
1105,
751,
11272,
759,
3288,
1281,
9578,
3819,
540,
1160,
8526,
6383,
751,
273,
446,
31,
3639,
309,
14015,
26646,
751,
273,
2495,
12,
1026,
1105,
751,
262,
262,
422,
446,
13,
759,
3922,
3377,
327,
279,
446,
1160,
526,
5411,
327,
300,
21,
31,
3639,
327,
6383,
751,
18,
2469,
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,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,
1969,
1105,
751,
422,
446,
13,
5411,
327,
300,
21,
31,
3639,
368,
7229,
8526,
5640,
2171,
1105,
751,
273,
225,
1206,
23108,
12,
1026,
1105,
751,
11272,
759,
3288,
1281,
9578,
3819,
540,
1160,
8526,
6383,
751,
273,
446,
31,
3639,
309,
14015,
26646,
751,
273,
2495,
12,
1026,
1105,
751,
262,
262,
422,
446,
13,
759,
3922,
3377,
327,
279,
446,
1160,
526,
5411,
327,
300,
21,
31,
3639,
327,
6383,
751,
18,
2469,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if ('0' <= c && c <= '9') { return c - '0'; } if ('a' <= c && c <= 'f') { return c - ('a' - 10); } if ('A' <= c && c <= 'F') { return c - ('A' - 10); } | if (c <= '9') { c -= '0'; if (0 <= c) { return c; } } else if (c <= 'F') { if ('A' <= c) { return c - ('A' - 10); } } else if (c <= 'f') { if ('a' <= c) { return c - ('a' - 10); } } | static int xDigitToInt(int c) { if ('0' <= c && c <= '9') { return c - '0'; } if ('a' <= c && c <= 'f') { return c - ('a' - 10); } if ('A' <= c && c <= 'F') { return c - ('A' - 10); } return -1; } | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/5739d875ab983543fdf729f70a15773fdbe9b1bd/TokenStream.java/clean/src/org/mozilla/javascript/TokenStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
509,
619,
10907,
17864,
12,
474,
276,
13,
288,
3639,
309,
7707,
20,
11,
1648,
276,
597,
276,
1648,
296,
29,
6134,
288,
327,
276,
300,
296,
20,
13506,
289,
3639,
309,
7707,
69,
11,
1648,
276,
597,
276,
1648,
296,
74,
6134,
288,
327,
276,
300,
7707,
69,
11,
300,
1728,
1769,
289,
3639,
309,
7707,
37,
11,
1648,
276,
597,
276,
1648,
296,
42,
6134,
288,
327,
276,
300,
7707,
37,
11,
300,
1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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
760,
509,
619,
10907,
17864,
12,
474,
276,
13,
288,
3639,
309,
7707,
20,
11,
1648,
276,
597,
276,
1648,
296,
29,
6134,
288,
327,
276,
300,
296,
20,
13506,
289,
3639,
309,
7707,
69,
11,
1648,
276,
597,
276,
1648,
296,
74,
6134,
288,
327,
276,
300,
7707,
69,
11,
300,
1728,
1769,
289,
3639,
309,
7707,
37,
11,
1648,
276,
597,
276,
1648,
296,
42,
6134,
288,
327,
276,
300,
7707,
37,
11,
300,
1728,
1769,
289,
3639,
327,
300,
21,
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
] |
getHistory().removeOperationHistoryListener(this); site.getPage().removePartListener(partListener); | public void dispose() { // nothing to dispose } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/f2e3de5ef2b8a6e3f7ff548a57814536495aa48d/OperationHistoryActionHandler.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/operations/OperationHistoryActionHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
588,
5623,
7675,
4479,
2988,
5623,
2223,
12,
2211,
1769,
2834,
18,
588,
1964,
7675,
4479,
1988,
2223,
12,
2680,
2223,
1769,
282,
918,
588,
5623,
7675,
4479,
2988,
5623,
2223,
12,
2211,
1769,
2834,
18,
588,
1964,
7675,
4479,
1988,
2223,
12,
2680,
2223,
1769,
282,
15825,
1435,
588,
5623,
7675,
4479,
2988,
5623,
2223,
12,
2211,
1769,
2834,
18,
588,
1964,
7675,
4479,
1988,
2223,
12,
2680,
2223,
1769,
282,
288,
202,
202,
759,
588,
5623,
7675,
4479,
2988,
5623,
2223,
12,
2211,
1769,
2834,
18,
588,
1964,
7675,
4479,
1988,
2223,
12,
2680,
2223,
1769,
282,
5083,
588,
5623,
7675,
4479,
2988,
5623,
2223,
12,
2211,
1769,
2834,
18,
588,
1964,
7675,
4479,
1988,
2223,
12,
2680,
2223,
1769,
282,
358,
588,
5623,
7675,
4479,
2988,
5623,
2223,
12,
2211,
1769,
2834,
18,
588,
1964,
7675,
4479,
1988,
2223,
12,
2680,
2223,
1769,
282,
15825,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
588,
5623,
7675,
4479,
2988,
5623,
2223,
12,
2211,
1769,
2834,
18,
588,
1964,
7675,
4479,
1988,
2223,
12,
2680,
2223,
1769,
282,
918,
588,
5623,
7675,
4479,
2988,
5623,
2223,
12,
2211,
1769,
2834,
18,
588,
1964,
7675,
4479,
1988,
2223,
12,
2680,
2223,
1769,
282,
15825,
1435,
588,
5623,
7675,
4479,
2988,
5623,
2223,
12,
2211,
1769,
2834,
18,
588,
1964,
7675,
4479,
1988,
2223,
12,
2680,
2223,
1769,
282,
288,
202,
202,
759,
588,
5623,
7675,
4479,
2988,
5623,
2223,
12,
2211,
1769,
2834,
18,
588,
1964,
7675,
4479,
1988,
2223,
12,
2680,
2223,
1769,
282,
5083,
588,
5623,
7675,
4479,
2988,
5623,
2223,
12,
2211,
1769,
2834,
18,
588,
1964,
7675,
4479,
2
] |
|
} protected void dropSource( Object source ) throws SemanticException | } | public void execute( ) { try { dropSource( model ); if ( !embeddedImageList.isEmpty( ) ) { for ( int i = 0; i < embeddedImageList.size( ); i++ ) { IStructure item = ((EmbeddedImageHandle)embeddedImageList.get( i )).getStructure(); String name = ((EmbeddedImageHandle)embeddedImageList.get( i )).getName(); SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ) .getPropertyHandle( ReportDesignHandle.IMAGES_PROP ). removeItem( item ); //remove cached image String key=ImageManager.getInstance().generateKey(SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ),name); ImageManager.getInstance().removeCachedImage(key); } } } catch ( SemanticException e ) { e.printStackTrace( ); } } protected void dropSource( Object source ) throws SemanticException | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e2d8ec77281fa364175bddf06c365b04defdce9a/DeleteCommand.java/buggy/UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/core/commands/DeleteCommand.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1836,
12,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
7285,
1830,
12,
938,
11272,
1082,
202,
430,
261,
401,
20722,
2040,
682,
18,
291,
1921,
12,
262,
262,
1082,
202,
95,
9506,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
7488,
2040,
682,
18,
1467,
12,
11272,
277,
9904,
262,
9506,
202,
95,
6862,
202,
45,
6999,
761,
273,
14015,
14980,
2040,
3259,
13,
20722,
2040,
682,
18,
588,
12,
277,
262,
2934,
588,
6999,
5621,
6862,
202,
780,
508,
273,
14015,
14980,
2040,
3259,
13,
20722,
2040,
682,
18,
588,
12,
277,
262,
2934,
17994,
5621,
6862,
202,
2157,
3259,
4216,
18,
588,
1442,
12,
262,
6862,
202,
18,
588,
4820,
15478,
3259,
12,
262,
6862,
202,
18,
588,
1396,
3259,
12,
8706,
15478,
3259,
18,
13603,
55,
67,
15811,
262,
18,
6862,
202,
4479,
1180,
12,
761,
11272,
6862,
25083,
202,
759,
4479,
3472,
1316,
6862,
202,
780,
498,
33,
2040,
1318,
18,
588,
1442,
7675,
7163,
653,
12,
2157,
3259,
4216,
18,
588,
1442,
12,
262,
6862,
202,
18,
588,
4820,
15478,
3259,
12,
262,
16,
529,
1769,
6862,
202,
2040,
1318,
18,
588,
1442,
7675,
4479,
9839,
2040,
12,
856,
1769,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
14683,
261,
24747,
503,
425,
262,
202,
202,
95,
1082,
202,
73,
18,
1188,
6332,
12,
11272,
202,
202,
97,
202,
97,
202,
1117,
918,
3640,
1830,
12,
1033,
1084,
262,
1216,
24747,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1836,
12,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
7285,
1830,
12,
938,
11272,
1082,
202,
430,
261,
401,
20722,
2040,
682,
18,
291,
1921,
12,
262,
262,
1082,
202,
95,
9506,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
7488,
2040,
682,
18,
1467,
12,
11272,
277,
9904,
262,
9506,
202,
95,
6862,
202,
45,
6999,
761,
273,
14015,
14980,
2040,
3259,
13,
20722,
2040,
682,
18,
588,
12,
277,
262,
2934,
588,
6999,
5621,
6862,
202,
780,
508,
273,
14015,
14980,
2040,
3259,
13,
20722,
2040,
682,
18,
588,
12,
277,
262,
2934,
17994,
5621,
6862,
202,
2157,
3259,
4216,
18,
588,
1442,
12,
262,
6862,
202,
18,
588,
2
] |
int outputPointer = 0; | int outputPointer = 1; | private void processNewNoderef(byte[] data, int offset, int length) throws FSParseException { if(length == 0) throw new FSParseException("Too short"); // Firstly, is it compressed? if(data[offset] == 1) { // Gzipped Inflater i = new Inflater(); i.setInput(data, offset+1, length-1); byte[] output = new byte[4096]; int outputPointer = 0; while(true) { try { int x = i.inflate(output, outputPointer, output.length-outputPointer); if(x == output.length-outputPointer) { // More to decompress! byte[] newOutput = new byte[output.length*2]; System.arraycopy(output, 0, newOutput, 0, output.length); continue; } else { // Finished data = output; offset = 0; length = outputPointer + x; break; } } catch (DataFormatException e) { throw new FSParseException("Invalid compressed data"); } } } // Now decode it ByteArrayInputStream bais = new ByteArrayInputStream(data, offset+1, length-1); InputStreamReader isr; try { isr = new InputStreamReader(bais, "UTF-8"); } catch (UnsupportedEncodingException e1) { throw new Error(e1); } BufferedReader br = new BufferedReader(isr); SimpleFieldSet fs; try { fs = new SimpleFieldSet(br, false); } catch (IOException e) { Logger.error(this, "Impossible: e", e); return; } processNewNoderef(fs); } | 50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/0bd1514e258f4d6614ab3151315b5068c279da0d/PeerNode.java/buggy/src/freenet/node/PeerNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
1908,
50,
369,
822,
74,
12,
7229,
8526,
501,
16,
509,
1384,
16,
509,
769,
13,
1216,
9247,
13047,
288,
3639,
309,
12,
2469,
422,
374,
13,
604,
394,
9247,
13047,
2932,
10703,
3025,
8863,
3639,
368,
5783,
715,
16,
353,
518,
8968,
35,
3639,
309,
12,
892,
63,
3348,
65,
422,
404,
13,
288,
5411,
368,
31712,
1845,
5411,
657,
2242,
2045,
277,
273,
394,
657,
2242,
2045,
5621,
5411,
277,
18,
542,
1210,
12,
892,
16,
1384,
15,
21,
16,
769,
17,
21,
1769,
5411,
1160,
8526,
876,
273,
394,
1160,
63,
24,
5908,
26,
15533,
5411,
509,
876,
4926,
273,
404,
31,
5411,
1323,
12,
3767,
13,
288,
7734,
775,
288,
10792,
509,
619,
273,
277,
18,
267,
2242,
340,
12,
2844,
16,
876,
4926,
16,
876,
18,
2469,
17,
2844,
4926,
1769,
10792,
309,
12,
92,
422,
876,
18,
2469,
17,
2844,
4926,
13,
288,
13491,
368,
16053,
358,
16824,
5,
13491,
1160,
8526,
394,
1447,
273,
394,
1160,
63,
2844,
18,
2469,
14,
22,
15533,
13491,
2332,
18,
1126,
3530,
12,
2844,
16,
374,
16,
394,
1447,
16,
374,
16,
876,
18,
2469,
1769,
13491,
1324,
31,
10792,
289,
469,
288,
13491,
368,
29745,
13491,
501,
273,
876,
31,
13491,
1384,
273,
374,
31,
13491,
769,
273,
876,
4926,
397,
619,
31,
13491,
898,
31,
10792,
289,
7734,
289,
1044,
261,
751,
9291,
425,
13,
288,
10792,
604,
394,
9247,
13047,
2932,
1941,
8968,
501,
8863,
7734,
289,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
1908,
50,
369,
822,
74,
12,
7229,
8526,
501,
16,
509,
1384,
16,
509,
769,
13,
1216,
9247,
13047,
288,
3639,
309,
12,
2469,
422,
374,
13,
604,
394,
9247,
13047,
2932,
10703,
3025,
8863,
3639,
368,
5783,
715,
16,
353,
518,
8968,
35,
3639,
309,
12,
892,
63,
3348,
65,
422,
404,
13,
288,
5411,
368,
31712,
1845,
5411,
657,
2242,
2045,
277,
273,
394,
657,
2242,
2045,
5621,
5411,
277,
18,
542,
1210,
12,
892,
16,
1384,
15,
21,
16,
769,
17,
21,
1769,
5411,
1160,
8526,
876,
273,
394,
1160,
63,
24,
5908,
26,
15533,
5411,
509,
876,
4926,
273,
404,
31,
5411,
1323,
12,
3767,
13,
288,
7734,
775,
288,
10792,
2
] |
long curLatest = uskManager.lookup(origUSK); | void onDNF(USKAttempt att) { Logger.minor(this, "DNF: "+att); boolean finished = false; synchronized(this) { if(completed || cancelled) return; lastFetchedEdition = Math.max(lastFetchedEdition, att.number); runningAttempts.remove(att); if(runningAttempts.isEmpty()) { long curLatest = uskManager.lookup(origUSK); Logger.minor(this, "latest: "+curLatest+", last fetched: "+lastFetchedEdition+", curLatest+MIN_FAILURES: "+(curLatest+minFailures)); if(started) { finished = true; } } else Logger.minor(this, "Remaining: "+runningAttempts.size()); } if(finished) { finishSuccess(); } } | 50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/03e3c37737640c23e25aacfa0ab1bf8a0d4b535f/USKFetcher.java/clean/src/freenet/client/async/USKFetcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
603,
8609,
42,
12,
3378,
47,
7744,
2403,
13,
288,
202,
202,
3328,
18,
17364,
12,
2211,
16,
315,
8609,
42,
30,
13773,
4558,
1769,
202,
202,
6494,
6708,
273,
629,
31,
202,
202,
22043,
12,
2211,
13,
288,
1082,
202,
430,
12,
13615,
747,
13927,
13,
327,
31,
1082,
202,
2722,
30771,
41,
1460,
273,
2361,
18,
1896,
12,
2722,
30771,
41,
1460,
16,
2403,
18,
2696,
1769,
1082,
202,
8704,
10113,
18,
4479,
12,
4558,
1769,
1082,
202,
430,
12,
8704,
10113,
18,
291,
1921,
10756,
288,
9506,
202,
5748,
662,
18650,
273,
584,
79,
1318,
18,
8664,
12,
4949,
3378,
47,
1769,
9506,
202,
3328,
18,
17364,
12,
2211,
16,
315,
13550,
30,
13773,
1397,
18650,
15,
3113,
1142,
12807,
30,
13773,
2722,
30771,
41,
1460,
15,
3113,
662,
18650,
15,
6236,
67,
17623,
55,
30,
13773,
12,
1397,
18650,
15,
1154,
14479,
10019,
9506,
202,
430,
12,
14561,
13,
288,
6862,
202,
13527,
273,
638,
31,
9506,
202,
97,
1082,
202,
97,
469,
4697,
202,
3328,
18,
17364,
12,
2211,
16,
315,
11429,
30,
13773,
8704,
10113,
18,
1467,
10663,
202,
202,
97,
202,
202,
430,
12,
13527,
13,
288,
1082,
202,
13749,
4510,
5621,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6459,
603,
8609,
42,
12,
3378,
47,
7744,
2403,
13,
288,
202,
202,
3328,
18,
17364,
12,
2211,
16,
315,
8609,
42,
30,
13773,
4558,
1769,
202,
202,
6494,
6708,
273,
629,
31,
202,
202,
22043,
12,
2211,
13,
288,
1082,
202,
430,
12,
13615,
747,
13927,
13,
327,
31,
1082,
202,
2722,
30771,
41,
1460,
273,
2361,
18,
1896,
12,
2722,
30771,
41,
1460,
16,
2403,
18,
2696,
1769,
1082,
202,
8704,
10113,
18,
4479,
12,
4558,
1769,
1082,
202,
430,
12,
8704,
10113,
18,
291,
1921,
10756,
288,
9506,
202,
5748,
662,
18650,
273,
584,
79,
1318,
18,
8664,
12,
4949,
3378,
47,
1769,
9506,
202,
3328,
18,
17364,
12,
2211,
16,
315,
13550,
30,
2
] |
|
verifyAnticipated(10000); | verifyAnticipated(10000); | public void testBug709() { m_pollerConfig.setNodeOutageProcessingEnabled(true); MockNode node = m_network.getNode(2); MockService icmpService = m_network.getService(2, "192.168.1.3", "ICMP"); MockService httpService = m_network.getService(2, "192.168.1.3", "HTTP"); // start the poller startDaemons(); // // Bring Down the HTTP service and expect nodeLostService Event // resetAnticipated(); anticipateDown(httpService); // bring down the HTTP service httpService.bringDown(); verifyAnticipated(10000); // // Bring Down the ICMP (on the only interface on the node) now expect nodeDown // only. // resetAnticipated(); anticipateDown(node); // bring down the ICMP service icmpService.bringDown(); // make sure the down events are received //verifyAnticipated(10000); sleep(5000); // // Bring up both the node and the httpService at the same time. Expect // both a nodeUp and a nodeRegainedService // resetAnticipated(); // the order matters here anticipateUp(httpService); anticipateUp(node); // bring up all the services on the node node.bringUp(); // make sure the down events are received verifyAnticipated(10000); } | 48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/b4e7756e33fc2d9129c42f673171d390be34705f/PollerTest.java/clean/opennms-services/src/test/java/org/opennms/netmgt/poller/PollerTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
19865,
27,
5908,
1435,
288,
3639,
312,
67,
3915,
749,
809,
18,
542,
907,
1182,
410,
7798,
1526,
12,
3767,
1769,
3639,
7867,
907,
756,
273,
312,
67,
5185,
18,
588,
907,
12,
22,
1769,
3639,
7867,
1179,
277,
9625,
1179,
273,
312,
67,
5185,
18,
588,
1179,
12,
22,
16,
315,
15561,
18,
23329,
18,
21,
18,
23,
3113,
315,
2871,
4566,
8863,
3639,
7867,
1179,
1062,
1179,
273,
312,
67,
5185,
18,
588,
1179,
12,
22,
16,
315,
15561,
18,
23329,
18,
21,
18,
23,
3113,
315,
3693,
8863,
3639,
368,
787,
326,
24525,
3639,
787,
12858,
87,
5621,
3639,
368,
3639,
368,
605,
8022,
10077,
326,
2239,
1156,
471,
4489,
756,
19024,
1179,
2587,
3639,
368,
3639,
2715,
14925,
24629,
690,
5621,
3639,
17841,
24629,
340,
4164,
12,
2505,
1179,
1769,
3639,
368,
5186,
310,
2588,
326,
2239,
1156,
3639,
1062,
1179,
18,
2848,
310,
4164,
5621,
3639,
3929,
14925,
24629,
690,
12,
23899,
1769,
3639,
368,
3639,
368,
605,
8022,
10077,
326,
26899,
4566,
261,
265,
326,
1338,
1560,
603,
326,
756,
13,
2037,
4489,
756,
4164,
3639,
368,
1338,
18,
3639,
368,
3639,
2715,
14925,
24629,
690,
5621,
3639,
17841,
24629,
340,
4164,
12,
2159,
1769,
3639,
368,
5186,
310,
2588,
326,
26899,
4566,
1156,
3639,
277,
9625,
1179,
18,
2848,
310,
4164,
5621,
3639,
368,
1221,
3071,
326,
2588,
2641,
854,
5079,
3639,
368,
8705,
14925,
24629,
690,
12,
23899,
1769,
3639,
5329,
12,
25,
3784,
1769,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
19865,
27,
5908,
1435,
288,
3639,
312,
67,
3915,
749,
809,
18,
542,
907,
1182,
410,
7798,
1526,
12,
3767,
1769,
3639,
7867,
907,
756,
273,
312,
67,
5185,
18,
588,
907,
12,
22,
1769,
3639,
7867,
1179,
277,
9625,
1179,
273,
312,
67,
5185,
18,
588,
1179,
12,
22,
16,
315,
15561,
18,
23329,
18,
21,
18,
23,
3113,
315,
2871,
4566,
8863,
3639,
7867,
1179,
1062,
1179,
273,
312,
67,
5185,
18,
588,
1179,
12,
22,
16,
315,
15561,
18,
23329,
18,
21,
18,
23,
3113,
315,
3693,
8863,
3639,
368,
787,
326,
24525,
3639,
787,
12858,
87,
5621,
3639,
368,
3639,
368,
605,
8022,
10077,
326,
2239,
1156,
471,
4489,
756,
19024,
2
] |
if( response!=null ) { | if (response != null) { | public TransportConnection(TransportConnector connector, final Transport transport, Broker broker, TaskRunnerFactory taskRunnerFactory) { super(connector, broker, taskRunnerFactory); connector.setBrokerName(broker.getBrokerName()); this.transport = transport; this.transport.setTransportListener(new DefaultTransportListener() { public void onCommand(Command command) { Response response = service(command); if( response!=null ) { dispatch(response); } } public void onException(IOException exception) { serviceTransportException(exception); } }); connected = true; } | 17032 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17032/4b595ea6dc2d0bd3dcd7e80d0ddb670ead17245d/TransportConnection.java/clean/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
9514,
1952,
12,
6568,
7487,
8703,
16,
727,
9514,
4736,
16,
20438,
8625,
16,
3837,
9709,
1733,
1562,
9709,
1733,
13,
288,
3639,
2240,
12,
23159,
16,
8625,
16,
1562,
9709,
1733,
1769,
3639,
8703,
18,
542,
11194,
461,
12,
21722,
18,
588,
11194,
461,
10663,
3639,
333,
18,
13049,
273,
4736,
31,
3639,
333,
18,
13049,
18,
542,
6568,
2223,
12,
2704,
2989,
6568,
2223,
1435,
288,
5411,
1071,
918,
603,
2189,
12,
2189,
1296,
13,
288,
7734,
2306,
766,
273,
1156,
12,
3076,
1769,
7734,
309,
261,
2740,
480,
446,
13,
288,
10792,
3435,
12,
2740,
1769,
7734,
289,
5411,
289,
5411,
1071,
918,
603,
503,
12,
14106,
1520,
13,
288,
7734,
1156,
6568,
503,
12,
4064,
1769,
5411,
289,
3639,
15549,
3639,
5840,
273,
638,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
9514,
1952,
12,
6568,
7487,
8703,
16,
727,
9514,
4736,
16,
20438,
8625,
16,
3837,
9709,
1733,
1562,
9709,
1733,
13,
288,
3639,
2240,
12,
23159,
16,
8625,
16,
1562,
9709,
1733,
1769,
3639,
8703,
18,
542,
11194,
461,
12,
21722,
18,
588,
11194,
461,
10663,
3639,
333,
18,
13049,
273,
4736,
31,
3639,
333,
18,
13049,
18,
542,
6568,
2223,
12,
2704,
2989,
6568,
2223,
1435,
288,
5411,
1071,
918,
603,
2189,
12,
2189,
1296,
13,
288,
7734,
2306,
766,
273,
1156,
12,
3076,
1769,
7734,
309,
261,
2740,
480,
446,
13,
288,
10792,
3435,
12,
2740,
1769,
7734,
289,
5411,
289,
5411,
1071,
918,
603,
503,
12,
14106,
1520,
13,
288,
7734,
1156,
6568,
503,
2
] |
public org.quickfix.field.AsgnRptID get(org.quickfix.field.AsgnRptID value) | public quickfix.field.AsgnRptID get(quickfix.field.AsgnRptID value) | public org.quickfix.field.AsgnRptID get(org.quickfix.field.AsgnRptID value) throws FieldNotFound { getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/AssignmentReport.java/buggy/src/java/src/quickfix/fix44/AssignmentReport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9549,
904,
18,
1518,
18,
37,
1055,
82,
54,
337,
734,
336,
12,
19525,
904,
18,
1518,
18,
37,
1055,
82,
54,
337,
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,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9549,
904,
18,
1518,
18,
37,
1055,
82,
54,
337,
734,
336,
12,
19525,
904,
18,
1518,
18,
37,
1055,
82,
54,
337,
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
] |
semanticHint = UMLVisualIDRegistry.getType(org.eclipse.uml2.diagram.profile.edit.parts.Stereotype2EditPart.VISUAL_ID); | semanticHint = UMLVisualIDRegistry.getType(Stereotype2EditPart.VISUAL_ID); | protected void decorateView(View containerView, View view, IAdaptable semanticAdapter, String semanticHint, int index, boolean persisted) { if (semanticHint == null) { semanticHint = UMLVisualIDRegistry.getType(org.eclipse.uml2.diagram.profile.edit.parts.Stereotype2EditPart.VISUAL_ID); view.setType(semanticHint); } super.decorateView(containerView, view, semanticAdapter, semanticHint, index, persisted); if (!ProfileEditPart.MODEL_ID.equals(UMLVisualIDRegistry.getModelID(containerView))) { EAnnotation shortcutAnnotation = EcoreFactory.eINSTANCE.createEAnnotation(); shortcutAnnotation.setSource("Shortcut"); //$NON-NLS-1$ shortcutAnnotation.getDetails().put("modelID", ProfileEditPart.MODEL_ID); //$NON-NLS-1$ view.getEAnnotations().add(shortcutAnnotation); } } | 56962 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56962/c8f96358e1fd7a3bf8a8fc61b57f2694f6ab2aee/Stereotype2ViewFactory.java/buggy/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/view/factories/Stereotype2ViewFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
15752,
1767,
12,
1767,
1478,
1767,
16,
4441,
1476,
16,
467,
13716,
429,
15178,
4216,
16,
514,
15178,
7002,
16,
509,
770,
16,
1250,
14249,
13,
288,
202,
202,
430,
261,
12000,
9941,
7002,
422,
446,
13,
288,
1082,
202,
12000,
9941,
7002,
273,
587,
1495,
25780,
734,
4243,
18,
588,
559,
12,
3341,
18,
20416,
18,
22192,
22,
18,
12264,
1940,
18,
5040,
18,
4619,
18,
6019,
18,
55,
387,
73,
10570,
22,
4666,
1988,
18,
4136,
6639,
1013,
67,
734,
1769,
1082,
202,
1945,
18,
542,
559,
12,
12000,
9941,
7002,
1769,
202,
202,
97,
202,
202,
9565,
18,
11880,
340,
1767,
12,
3782,
1767,
16,
1476,
16,
15178,
4216,
16,
15178,
7002,
16,
770,
16,
14249,
1769,
202,
202,
430,
16051,
4029,
4666,
1988,
18,
17391,
67,
734,
18,
14963,
12,
57,
1495,
25780,
734,
4243,
18,
588,
1488,
734,
12,
3782,
1767,
20349,
288,
1082,
202,
41,
3257,
10995,
3257,
273,
512,
3644,
1733,
18,
73,
13341,
18,
2640,
41,
3257,
5621,
1082,
202,
24744,
3257,
18,
542,
1830,
2932,
15576,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
24744,
3257,
18,
588,
3790,
7675,
458,
2932,
2284,
734,
3113,
11357,
4666,
1988,
18,
17391,
67,
734,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
1945,
18,
588,
41,
5655,
7675,
1289,
12,
24744,
3257,
1769,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
15752,
1767,
12,
1767,
1478,
1767,
16,
4441,
1476,
16,
467,
13716,
429,
15178,
4216,
16,
514,
15178,
7002,
16,
509,
770,
16,
1250,
14249,
13,
288,
202,
202,
430,
261,
12000,
9941,
7002,
422,
446,
13,
288,
1082,
202,
12000,
9941,
7002,
273,
587,
1495,
25780,
734,
4243,
18,
588,
559,
12,
3341,
18,
20416,
18,
22192,
22,
18,
12264,
1940,
18,
5040,
18,
4619,
18,
6019,
18,
55,
387,
73,
10570,
22,
4666,
1988,
18,
4136,
6639,
1013,
67,
734,
1769,
1082,
202,
1945,
18,
542,
559,
12,
12000,
9941,
7002,
1769,
202,
202,
97,
202,
202,
9565,
18,
11880,
340,
1767,
12,
3782,
1767,
16,
1476,
16,
15178,
4216,
16,
15178,
7002,
2
] |
this(); update(vars); | super(); | public IpAddrTableEntry(SnmpVarBind[] vars) { this(); update(vars); } | 48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/b3612967cb053036bdb295ee74cb2e369c6ca18d/IpAddrTableEntry.java/buggy/src/services/org/opennms/netmgt/capsd/snmp/IpAddrTableEntry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
14709,
3178,
1388,
1622,
12,
10461,
1291,
1537,
3357,
8526,
4153,
13,
202,
95,
202,
202,
2211,
5621,
202,
202,
2725,
12,
4699,
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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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
14709,
3178,
1388,
1622,
12,
10461,
1291,
1537,
3357,
8526,
4153,
13,
202,
95,
202,
202,
2211,
5621,
202,
202,
2725,
12,
4699,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
int currentSize = Geometry.getDimension(currentPane.getBounds(), isVertical); | int currentSize = Geometry.getDimension(getBounds(), isVertical); | public float getCurrentRatio() { if (currentPane == null) { return 0.0f; } boolean isVertical = !Geometry.isHorizontal(side); Rectangle clientArea = clientComposite.getClientArea(); int clientSize = Geometry.getDimension(clientArea, isVertical); int currentSize = Geometry.getDimension(currentPane.getBounds(), isVertical); return (float)currentSize / (float)clientSize; } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/a98cad1adde6ab0253cd08ca00c5be95f5fb13a0/FastViewPane.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/FastViewPane.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1431,
5175,
8541,
1435,
288,
202,
202,
430,
261,
2972,
8485,
422,
446,
13,
288,
1082,
202,
2463,
374,
18,
20,
74,
31,
202,
202,
97,
9506,
202,
6494,
353,
15704,
273,
401,
9823,
18,
291,
14457,
12,
5564,
1769,
202,
202,
19463,
1004,
5484,
273,
1004,
9400,
18,
588,
1227,
5484,
5621,
202,
202,
474,
1004,
1225,
273,
8344,
18,
588,
8611,
12,
2625,
5484,
16,
353,
15704,
1769,
202,
202,
474,
783,
1225,
273,
8344,
18,
588,
8611,
12,
2972,
8485,
18,
588,
5694,
9334,
353,
15704,
1769,
9506,
202,
2463,
261,
5659,
13,
2972,
1225,
342,
261,
5659,
13,
2625,
1225,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1431,
5175,
8541,
1435,
288,
202,
202,
430,
261,
2972,
8485,
422,
446,
13,
288,
1082,
202,
2463,
374,
18,
20,
74,
31,
202,
202,
97,
9506,
202,
6494,
353,
15704,
273,
401,
9823,
18,
291,
14457,
12,
5564,
1769,
202,
202,
19463,
1004,
5484,
273,
1004,
9400,
18,
588,
1227,
5484,
5621,
202,
202,
474,
1004,
1225,
273,
8344,
18,
588,
8611,
12,
2625,
5484,
16,
353,
15704,
1769,
202,
202,
474,
783,
1225,
273,
8344,
18,
588,
8611,
12,
2972,
8485,
18,
588,
5694,
9334,
353,
15704,
1769,
9506,
202,
2463,
261,
5659,
13,
2972,
1225,
342,
261,
5659,
13,
2625,
1225,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if ((style & SWT.APPLICATION_MODAL | style & SWT.SYSTEM_MODAL | style & SWT.PRIMARY_MODAL) > 0) { defer[0] = true; | if ((style & modal) != 0) { schedule(LONG_OPERATION_MILLISECONDS); | private void scheduleProgressMonitorJob( final ProgressMonitorJobsDialog dialog, final boolean[] busy) { final boolean[] defer = new boolean[1]; defer[0] = false; final WorkbenchJob updateJob = new WorkbenchJob(ProgressMessages.getString("ProgressManager.openJobName")) {//$NON-NLS-1$ /* * (non-Javadoc) * * @see org.eclipse.ui.progress.UIJob#runInUIThread(org.eclipse.core.runtime.IProgressMonitor) */ public IStatus runInUIThread(IProgressMonitor monitor) { //If there is a modal shell open then wait Display currentDisplay = getDisplay(); if (currentDisplay == null || currentDisplay.isDisposed()) return Status.CANCEL_STATUS; Shell[] shells = currentDisplay.getShells(); for (int i = 0; i < shells.length; i++) { //Do not stop for shells that will not //block the user. if (shells[i].isVisible()) { int style = shells[i].getStyle(); if ((style & SWT.APPLICATION_MODAL | style & SWT.SYSTEM_MODAL | style & SWT.PRIMARY_MODAL) > 0) { defer[0] = true; return Status.CANCEL_STATUS; } } } busy[0] = false; dialog.open(); if (monitor.isCanceled()) return Status.CANCEL_STATUS; else return Status.OK_STATUS; } /* (non-Javadoc) * @see org.eclipse.ui.progress.WorkbenchJob#performDone(org.eclipse.core.runtime.jobs.IJobChangeEvent) */ public void performDone(IJobChangeEvent event) { //If we are deferring try again. if (defer[0]) { defer[0] = false; schedule(LONG_OPERATION_MILLISECONDS); } } }; updateJob.schedule(LONG_OPERATION_MILLISECONDS); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e0ca3cd35ce03d54a636441b2cdd9e3502bb60a7/ProgressManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4788,
5491,
7187,
2278,
12,
202,
202,
6385,
10980,
7187,
7276,
6353,
6176,
16,
202,
202,
6385,
1250,
8526,
21697,
13,
288,
202,
202,
6385,
1250,
8526,
2220,
273,
394,
1250,
63,
21,
15533,
202,
202,
18974,
63,
20,
65,
273,
629,
31,
1082,
202,
6385,
4147,
22144,
2278,
1089,
2278,
273,
394,
4147,
22144,
2278,
12,
5491,
5058,
18,
588,
780,
2932,
5491,
1318,
18,
3190,
29425,
6,
3719,
288,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
20308,
202,
380,
261,
5836,
17,
24060,
13,
202,
380,
3196,
380,
632,
5946,
2358,
18,
20416,
18,
4881,
18,
8298,
18,
5370,
2278,
7,
2681,
382,
57,
1285,
76,
896,
12,
3341,
18,
20416,
18,
3644,
18,
9448,
18,
45,
5491,
7187,
13,
202,
1195,
1082,
202,
482,
467,
1482,
1086,
382,
57,
1285,
76,
896,
12,
45,
5491,
7187,
6438,
13,
288,
6862,
202,
759,
2047,
1915,
353,
279,
13010,
5972,
1696,
1508,
2529,
202,
4236,
783,
4236,
273,
13854,
5621,
9506,
202,
430,
261,
2972,
4236,
422,
446,
747,
783,
4236,
18,
291,
1669,
7423,
10756,
6862,
202,
2463,
2685,
18,
25268,
67,
8608,
31,
9506,
202,
13220,
8526,
5972,
87,
273,
783,
4236,
18,
588,
13220,
87,
5621,
9506,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
5972,
87,
18,
2469,
31,
277,
27245,
288,
6862,
202,
759,
3244,
486,
2132,
364,
5972,
87,
716,
903,
486,
6862,
202,
759,
2629,
326,
729,
18,
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,
1152,
918,
4788,
5491,
7187,
2278,
12,
202,
202,
6385,
10980,
7187,
7276,
6353,
6176,
16,
202,
202,
6385,
1250,
8526,
21697,
13,
288,
202,
202,
6385,
1250,
8526,
2220,
273,
394,
1250,
63,
21,
15533,
202,
202,
18974,
63,
20,
65,
273,
629,
31,
1082,
202,
6385,
4147,
22144,
2278,
1089,
2278,
273,
394,
4147,
22144,
2278,
12,
5491,
5058,
18,
588,
780,
2932,
5491,
1318,
18,
3190,
29425,
6,
3719,
288,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
20308,
202,
380,
261,
5836,
17,
24060,
13,
202,
380,
3196,
380,
632,
5946,
2358,
18,
20416,
18,
4881,
18,
8298,
18,
5370,
2278,
7,
2681,
382,
57,
1285,
76,
896,
12,
3341,
18,
20416,
2
] |
String[] files = new Glob(System.getProperty("user.dir"), pattern).getNames(); | String[] files = new Glob(NormalizedFile.getFileProperty("user.dir"), pattern).getNames(); | public static RubyArray glob(IRubyObject recv, RubyString pat) { String pattern = pat.toString(); String[] files = new Glob(System.getProperty("user.dir"), pattern).getNames(); return recv.getRuntime().newArray(JavaUtil.convertJavaArrayToRuby(recv.getRuntime(), files)); } | 50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/c506a9979e35512d57d5f29f0d18b3da14ef2919/RubyDir.java/buggy/src/org/jruby/RubyDir.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
1076,
4715,
12,
7937,
10340,
921,
10665,
16,
19817,
780,
9670,
13,
288,
3639,
514,
1936,
273,
9670,
18,
10492,
5621,
3639,
514,
8526,
1390,
273,
394,
18901,
12,
15577,
812,
18,
29925,
1396,
2932,
1355,
18,
1214,
6,
3631,
1936,
2934,
588,
1557,
5621,
3639,
327,
10665,
18,
588,
5576,
7675,
2704,
1076,
12,
5852,
1304,
18,
6283,
5852,
1076,
774,
54,
10340,
12,
18334,
18,
588,
5576,
9334,
1390,
10019,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
1076,
4715,
12,
7937,
10340,
921,
10665,
16,
19817,
780,
9670,
13,
288,
3639,
514,
1936,
273,
9670,
18,
10492,
5621,
3639,
514,
8526,
1390,
273,
394,
18901,
12,
15577,
812,
18,
29925,
1396,
2932,
1355,
18,
1214,
6,
3631,
1936,
2934,
588,
1557,
5621,
3639,
327,
10665,
18,
588,
5576,
7675,
2704,
1076,
12,
5852,
1304,
18,
6283,
5852,
1076,
774,
54,
10340,
12,
18334,
18,
588,
5576,
9334,
1390,
10019,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} else if(!sm.containsFig(underMouse)) { | } else if(!sm.containsFig(underMouse)) { | public void mousePressed(MouseEvent me) { if(me.isConsumed()) { //System.out.println("ModeSelect consumed"); return; } if(me.getModifiers() == InputEvent.BUTTON3_MASK) { _selectAnchor = new Point(me.getX(), me.getY()); //System.out.println("ModeSelect: from awt component " + Globals.curEditor().getJComponent()); return; } if(me.isAltDown()) { return; } int x = me.getX(); int y = me.getY(); _selectAnchor = new Point(x, y); _selectRect.setBounds(x, y, 0, 0); _toggleSelection = me.isControlDown(); SelectionManager sm = editor.getSelectionManager(); Rectangle hitRect = new Rectangle(x - 4, y - 4, 8, 8); /* Check if multiple things are selected and user clicked one of them. */ Fig underMouse = editor.hit(_selectAnchor); Rectangle smallHitRect = new Rectangle(x - 1, y - 1, 3, 3); if(underMouse instanceof FigGroup) { underMouse = ((FigGroup)underMouse).deepSelect(smallHitRect); } if(underMouse == null && !sm.hit(hitRect)) { return; } Handle h = new Handle(-1); sm.hitHandle(new Rectangle(x - 4, y - 4, 8, 8), h); if(h.index >= 0) { gotoModifyMode(me); me.consume(); return; } if(underMouse != null) { if(_toggleSelection) { sm.toggle(underMouse); } else if(!sm.containsFig(underMouse)) { sm.select(underMouse); } } if(sm.hit(hitRect)) { //System.out.println("gotoModifyMode"); gotoModifyMode(me); } me.consume(); } | 1732 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1732/c8d8a2522f9b4372bce6903200fed4c04e3517f4/ModeSelect.java/clean/src/org/tigris/gef/base/ModeSelect.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7644,
24624,
12,
9186,
1133,
1791,
13,
288,
3639,
309,
12,
3501,
18,
291,
20554,
10756,
288,
5411,
368,
3163,
18,
659,
18,
8222,
2932,
2309,
3391,
12393,
8863,
5411,
327,
31,
3639,
289,
3639,
309,
12,
3501,
18,
588,
11948,
1435,
422,
2741,
1133,
18,
20068,
23,
67,
11704,
13,
288,
5411,
389,
4025,
11605,
273,
394,
4686,
12,
3501,
18,
588,
60,
9334,
1791,
18,
588,
61,
10663,
5411,
368,
3163,
18,
659,
18,
8222,
2932,
2309,
3391,
30,
628,
8237,
1794,
315,
397,
18901,
1031,
18,
1397,
6946,
7675,
588,
46,
1841,
10663,
5411,
327,
31,
3639,
289,
3639,
309,
12,
3501,
18,
291,
10655,
4164,
10756,
288,
5411,
327,
31,
3639,
289,
3639,
509,
619,
273,
1791,
18,
588,
60,
5621,
3639,
509,
677,
273,
1791,
18,
588,
61,
5621,
3639,
389,
4025,
11605,
273,
394,
4686,
12,
92,
16,
677,
1769,
3639,
389,
4025,
6120,
18,
542,
5694,
12,
92,
16,
677,
16,
374,
16,
374,
1769,
3639,
389,
14401,
6233,
273,
1791,
18,
291,
3367,
4164,
5621,
3639,
12977,
1318,
3029,
273,
4858,
18,
588,
6233,
1318,
5621,
3639,
13264,
6800,
6120,
273,
394,
13264,
12,
92,
300,
1059,
16,
677,
300,
1059,
16,
1725,
16,
1725,
1769,
3639,
1748,
2073,
309,
3229,
9198,
854,
3170,
471,
729,
17688,
1245,
434,
2182,
18,
1195,
3639,
478,
360,
3613,
9186,
273,
4858,
18,
15989,
24899,
4025,
11605,
1769,
3639,
13264,
5264,
13616,
6120,
273,
394,
13264,
12,
92,
300,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7644,
24624,
12,
9186,
1133,
1791,
13,
288,
3639,
309,
12,
3501,
18,
291,
20554,
10756,
288,
5411,
368,
3163,
18,
659,
18,
8222,
2932,
2309,
3391,
12393,
8863,
5411,
327,
31,
3639,
289,
3639,
309,
12,
3501,
18,
588,
11948,
1435,
422,
2741,
1133,
18,
20068,
23,
67,
11704,
13,
288,
5411,
389,
4025,
11605,
273,
394,
4686,
12,
3501,
18,
588,
60,
9334,
1791,
18,
588,
61,
10663,
5411,
368,
3163,
18,
659,
18,
8222,
2932,
2309,
3391,
30,
628,
8237,
1794,
315,
397,
18901,
1031,
18,
1397,
6946,
7675,
588,
46,
1841,
10663,
5411,
327,
31,
3639,
289,
3639,
309,
12,
3501,
18,
291,
10655,
4164,
10756,
288,
5411,
327,
31,
3639,
289,
2
] |
if (jj_scan_token(15)) { jj_scanpos = xsp; | final private boolean jj_3R_18() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(15)) { jj_scanpos = xsp; if (jj_3R_23()) { jj_scanpos = xsp; if (jj_scan_token(0)) return true; } } return false; } | 1316 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1316/0faf643f0efa6f2ad848fed686443d8e4c4ad978/NutchAnalysis.java/buggy/src/java/org/apache/nutch/analysis/NutchAnalysis.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
2643,
1435,
288,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
3600,
3719,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
4366,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
20,
3719,
327,
638,
31,
565,
289,
565,
289,
565,
327,
629,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
2643,
1435,
288,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
3600,
3719,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
4366,
10756,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
20,
3719,
327,
638,
31,
565,
289,
565,
289,
565,
327,
629,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
FormattedTextFieldMacFix.apply(regexField); | public JComponent createOptionsPanel() { final GridBagLayout layout = new GridBagLayout(); final JPanel panel = new JPanel(layout); final JLabel patternLabel = new JLabel("Pattern:"); patternLabel.setHorizontalAlignment(SwingConstants.TRAILING); final JLabel minLengthLabel = new JLabel("Min Length:"); minLengthLabel.setHorizontalAlignment(SwingConstants.TRAILING); final JLabel maxLengthLabel = new JLabel("Max Length:"); maxLengthLabel.setHorizontalAlignment(SwingConstants.TRAILING); final NumberFormat numberFormat = NumberFormat.getIntegerInstance(); numberFormat.setParseIntegerOnly(true); numberFormat.setMinimumIntegerDigits(1); numberFormat.setMaximumIntegerDigits(2); final InternationalFormatter formatter = new InternationalFormatter(numberFormat); formatter.setAllowsInvalid(false); formatter.setCommitsOnValidEdit(true); final JFormattedTextField minLengthField = new JFormattedTextField(formatter); final Font panelFont = panel.getFont(); minLengthField.setFont(panelFont); minLengthField.setValue(m_minLength); minLengthField.setColumns(2); final JFormattedTextField maxLengthField = new JFormattedTextField(formatter); maxLengthField.setFont(panelFont); maxLengthField.setValue(m_maxLength); maxLengthField.setColumns(2); final JFormattedTextField regexField = new JFormattedTextField(new RegExFormatter()); regexField.setFont(panelFont); regexField.setValue(m_regexPattern); regexField.setColumns(REGEX_COLUMN_COUNT); regexField.setInputVerifier(new RegExInputVerifier()); regexField.setFocusLostBehavior(JFormattedTextField.COMMIT); final DocumentListener listener = new DocumentListener() { public void changedUpdate(DocumentEvent e) { textChanged(); } public void insertUpdate(DocumentEvent e) { textChanged(); } public void removeUpdate(DocumentEvent e) { textChanged(); } private void textChanged() { m_regexPattern = (Pattern) regexField.getValue(); m_regex = m_regexPattern.pattern(); m_minLength = ((Number) minLengthField.getValue()).intValue(); m_maxLength = ((Number) maxLengthField.getValue()).intValue(); } }; final Document regexDocument = regexField.getDocument(); regexDocument.addDocumentListener(listener); final Document minLengthDocument = minLengthField.getDocument(); minLengthDocument.addDocumentListener(listener); final Document maxLengthDocument = maxLengthField.getDocument(); maxLengthDocument.addDocumentListener(listener); final GridBagConstraints constraints = new GridBagConstraints(); constraints.gridx = 0; constraints.gridy = 0; constraints.weightx = 1.0; constraints.anchor = GridBagConstraints.EAST; constraints.fill = GridBagConstraints.HORIZONTAL; panel.add(patternLabel, constraints); constraints.gridx = 1; constraints.gridy = 0; constraints.gridwidth = 3; constraints.anchor = GridBagConstraints.WEST; panel.add(regexField, constraints); constraints.gridx = 0; constraints.gridy = 1; constraints.gridwidth = 1; constraints.anchor = GridBagConstraints.EAST; panel.add(minLengthLabel, constraints); constraints.gridx = 1; constraints.gridy = 1; constraints.anchor = GridBagConstraints.WEST; panel.add(minLengthField, constraints); constraints.gridx = 2; constraints.gridy = 1; constraints.anchor = GridBagConstraints.EAST; panel.add(maxLengthLabel, constraints); constraints.gridx = 3; constraints.gridy = 1; constraints.anchor = GridBagConstraints.WEST; panel.add(maxLengthField, constraints); return panel; } | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/af4548d755b24ddbf38f521ab4bbaeda65f8d0d9/ConventionInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/naming/ConventionInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4077,
2344,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
4077,
2344,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
4077,
2344,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
4077,
2344,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
1071,
18298,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
29058,
18298,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
752,
1320,
5537,
1435,
18298,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
288,
18298,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
4077,
2344,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
4077,
2344,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
4077,
2344,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
4077,
2344,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
4077,
2344,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
4077,
2344,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
4077,
2344,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
727,
18298,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
7145,
5013,
3744,
18298,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
3511,
18298,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
273,
18298,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
394,
18298,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
7145,
5013,
3744,
5621,
18298,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
4077,
2344,
16157,
9990,
8585,
18,
9010,
12,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4077,
2344,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
4077,
2344,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
4077,
2344,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
4077,
2344,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
1071,
18298,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
29058,
18298,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
752,
1320,
5537,
1435,
18298,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
288,
18298,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
4077,
2344,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
4077,
2344,
16157,
9990,
8585,
18,
9010,
12,
7584,
974,
1769,
4077,
2344,
16157,
9990,
8585,
18,
2
] |
|
result = compare(retEnv, tempPath); assertTrue(result); | compareXML(retEnv, tempPath); | public void testR3GDI3EchoStruct() throws AxisFault { url = "http://mssoapinterop.org/stkV3/wsdl/import3.wsdl"; soapAction = "http://soapinterop.org/"; util = new GDImport2EchoStructUtil(); retEnv = client.sendMsg(util, url, soapAction); tempPath = resFilePath + "MsStkv3GDImport3StructRes.xml"; result = compare(retEnv, tempPath); assertTrue(result); } | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/6295a3864398ed319578fb0b345f1adafef73782/MsStkv3Round3InteropTest.java/clean/modules/integration/itest/test/interop/whitemesa/round3/MsStkv3Round3InteropTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
54,
23,
43,
2565,
23,
19704,
3823,
1435,
1216,
15509,
7083,
288,
3639,
880,
273,
315,
2505,
2207,
959,
19215,
30376,
18,
3341,
19,
334,
79,
58,
23,
19,
4749,
5761,
19,
5666,
23,
18,
4749,
5761,
14432,
3639,
9930,
1803,
273,
315,
2505,
2207,
19215,
30376,
18,
3341,
4898,
31,
3639,
1709,
273,
394,
30176,
5010,
22,
19704,
3823,
1304,
5621,
3639,
325,
3491,
273,
1004,
18,
4661,
3332,
12,
1367,
16,
880,
16,
9930,
1803,
1769,
3639,
1906,
743,
273,
400,
5598,
397,
315,
6947,
510,
18152,
23,
27338,
5010,
23,
3823,
607,
18,
2902,
14432,
3639,
563,
273,
3400,
12,
1349,
3491,
16,
1906,
743,
1769,
3639,
1815,
5510,
12,
2088,
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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
9930,
1803,
273,
315,
2505,
2207,
19215,
30376,
18,
3341,
4898,
31,
3639,
1709,
273,
394,
30176,
5010,
22,
19704,
3823,
1304,
5621,
3639,
325,
3491,
273,
1004,
18,
4661,
3332,
12,
1367,
16,
880,
16,
9930,
1803,
1769,
3639,
1906,
743,
273,
400,
5598,
397,
315,
6947,
510,
18152,
23,
27338,
5010,
23,
3823,
607,
18,
2902,
14432,
3639,
563,
273,
3400,
12,
1349,
3491,
16,
1906,
743,
1769,
3639,
1815,
5510,
12,
2088,
1769,
2
] |
return new Parser(handler.getCommands()); | return new Parser(handler.getCommands(), handler.getCategories()); | public static Parser load(String filename, Context context) throws IOException, UnexpectedException { MessageFormatter formatter = context.getMessageFormatter(); try { List list = new ArrayList(); BufferedReader rdr = new BufferedReader(new InputStreamReader( Parser.class.getResourceAsStream(filename))); InputStream is = Parser.class.getResourceAsStream(filename); SAXParser p = SAXParserFactory.newInstance().newSAXParser(); CommandListParser handler = new CommandListParser(context); p.parse(is, handler); is.close(); return new Parser(handler.getCommands()); } catch (SAXException e) { throw new UnexpectedException(-1, e); } catch (ParserConfigurationException e) { throw new UnexpectedException(-1, e); } } | 3907 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3907/8dc548aaf5b524952e65a5e03b1ec3f2d44b5e4b/Parser.java/clean/kom/java/nu/rydin/kom/frontend/text/parser/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
6783,
1262,
12,
780,
1544,
16,
1772,
819,
13,
5411,
1216,
1860,
16,
9649,
503,
565,
288,
3639,
2350,
5074,
4453,
273,
819,
18,
24906,
5074,
5621,
3639,
775,
3639,
288,
5411,
987,
666,
273,
394,
2407,
5621,
5411,
10633,
436,
3069,
273,
394,
10633,
12,
2704,
15322,
12,
10792,
6783,
18,
1106,
18,
588,
1420,
17052,
12,
3459,
3719,
1769,
5411,
5037,
353,
273,
6783,
18,
1106,
18,
588,
1420,
17052,
12,
3459,
1769,
5411,
10168,
2678,
293,
273,
10168,
2678,
1733,
18,
2704,
1442,
7675,
2704,
55,
2501,
2678,
5621,
5411,
3498,
682,
2678,
1838,
273,
394,
3498,
682,
2678,
12,
2472,
1769,
5411,
293,
18,
2670,
12,
291,
16,
1838,
1769,
5411,
353,
18,
4412,
5621,
5411,
327,
394,
6783,
12,
4176,
18,
588,
9127,
9334,
1838,
18,
588,
10487,
10663,
3639,
289,
540,
1044,
261,
55,
2501,
503,
425,
13,
3639,
288,
5411,
604,
394,
9649,
503,
19236,
21,
16,
425,
1769,
3639,
289,
540,
1044,
261,
2678,
10737,
425,
13,
3639,
288,
5411,
604,
394,
9649,
503,
19236,
21,
16,
425,
1769,
3639,
289,
377,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
6783,
1262,
12,
780,
1544,
16,
1772,
819,
13,
5411,
1216,
1860,
16,
9649,
503,
565,
288,
3639,
2350,
5074,
4453,
273,
819,
18,
24906,
5074,
5621,
3639,
775,
3639,
288,
5411,
987,
666,
273,
394,
2407,
5621,
5411,
10633,
436,
3069,
273,
394,
10633,
12,
2704,
15322,
12,
10792,
6783,
18,
1106,
18,
588,
1420,
17052,
12,
3459,
3719,
1769,
5411,
5037,
353,
273,
6783,
18,
1106,
18,
588,
1420,
17052,
12,
3459,
1769,
5411,
10168,
2678,
293,
273,
10168,
2678,
1733,
18,
2704,
1442,
7675,
2704,
55,
2501,
2678,
5621,
5411,
3498,
682,
2678,
1838,
273,
394,
3498,
682,
2678,
12,
2472,
1769,
5411,
293,
18,
2670,
12,
291,
16,
1838,
1769,
5411,
353,
2
] |
pages.addDimensionView(channelView); pages.addDimensionView(measView); | pages.getDimensionView().add(channelView); pages.getDimensionView().add(measView); | private CubeCursor foo() throws OLAPException { // Create a DimensionView for each dimension Connection connection = getConnection(); Cube salesCube = getCube(connection, "Sales"); DimensionView channelView = connection.createDimensionView(); channelView.setDimension(getDimension(salesCube, "Promotions" /*"Channel"*/)); DimensionView productView = connection.createDimensionView(); productView.setDimension(getDimension(salesCube, "Product")); DimensionView geographyView = connection.createDimensionView(); geographyView.setDimension(getDimension(salesCube, "Gender" /*"Geography"*/)); DimensionView timeView = connection.createDimensionView(); timeView.setDimension(getDimension(salesCube, "Marital Status"/*"Time"*/)); MeasureView measView = connection.createMeasureView(); // jhyde added CubeView query = connection.createCubeView(salesCube); // Create a columns edge and add the time and geography views //EdgeView columns = connection.createEdgeView(); EdgeView columns = query.createOrdinateEdge(); columns.addDimensionView(timeView); columns.addDimensionView(geographyView); // Create a rows edge and add the product view //EdgeView rows = connection.createEdgeView(); EdgeView rows = query.createOrdinateEdge(); rows.addDimensionView(productView); // Create a pages edge and add the channel dimension view //EdgeCursor pages = connection.createDimensionView(); EdgeView pages = query.createPageEdge(); pages.addDimensionView(channelView); pages.addDimensionView(measView); // Create the query cube view and add edges and the measure //CubeView query = connection.createCubeView(); //query.addOrdinateEdge(rows); //query.addOrdinateEdge(columns); //query.addPageEdge(pages); CubeCursor dataCursor = query.createCursor(); //EdgeCursor pageCursor=(List)dataCursor.getPageEdge().elementAt(0); EdgeCursor pageCursor=(EdgeCursor) dataCursor.getPageEdge().iterator().next(); //EdgeCursor rowCursor=(List)dataCursor.getOrdinateEdge().elementAt(0); EdgeCursor columnCursor = (EdgeCursor) dataCursor.getOrdinateEdge().get(0); EdgeCursor rowCursor = (EdgeCursor) dataCursor.getOrdinateEdge().get(1); DimensionCursor measureCursor = (DimensionCursor) pageCursor.getDimensionCursor().get(0); DimensionCursor channelCursor = (DimensionCursor) pageCursor.getDimensionCursor().get(1); DimensionCursor productCursor = (DimensionCursor) rowCursor.getDimensionCursor().get(0); DimensionCursor geographyCursor =(DimensionCursor) columnCursor.getDimensionCursor().get(0); DimensionCursor timeCursor = (DimensionCursor) columnCursor.getDimensionCursor().get(1); columnCursor.setFetchSize(6); rowCursor.setFetchSize(4); return dataCursor; } | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/7d6a0c3d02156aab207b5017ce3ba65883fef640/JolapTest.java/buggy/src/main/mondrian/test/JolapTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
385,
4895,
6688,
8431,
1435,
1216,
531,
48,
2203,
503,
288,
202,
202,
759,
1788,
279,
13037,
1767,
364,
1517,
4968,
202,
202,
1952,
1459,
273,
6742,
5621,
202,
202,
39,
4895,
272,
5408,
39,
4895,
273,
1927,
4895,
12,
4071,
16,
315,
23729,
8863,
202,
202,
8611,
1767,
1904,
1767,
273,
1459,
18,
2640,
8611,
1767,
5621,
202,
202,
4327,
1767,
18,
542,
8611,
12,
588,
8611,
12,
87,
5408,
39,
4895,
16,
315,
13224,
352,
1115,
6,
1748,
6,
2909,
6,
5549,
10019,
202,
202,
8611,
1767,
3017,
1767,
273,
1459,
18,
2640,
8611,
1767,
5621,
202,
202,
5896,
1767,
18,
542,
8611,
12,
588,
8611,
12,
87,
5408,
39,
4895,
16,
315,
4133,
7923,
1769,
202,
202,
8611,
1767,
8244,
15669,
1767,
273,
1459,
18,
2640,
8611,
1767,
5621,
202,
202,
908,
15669,
1767,
18,
542,
8611,
12,
588,
8611,
12,
87,
5408,
39,
4895,
16,
315,
43,
2345,
6,
1748,
6,
18809,
15669,
6,
5549,
10019,
202,
202,
8611,
1767,
813,
1767,
273,
1459,
18,
2640,
8611,
1767,
5621,
202,
202,
957,
1767,
18,
542,
8611,
12,
588,
8611,
12,
87,
5408,
39,
4895,
16,
315,
49,
297,
7053,
2685,
6,
19,
7388,
950,
6,
5549,
10019,
202,
202,
7197,
1767,
10017,
1767,
273,
1459,
18,
2640,
7197,
1767,
5621,
202,
202,
759,
525,
18112,
323,
3096,
202,
202,
39,
4895,
1767,
843,
273,
1459,
18,
2640,
39,
4895,
1767,
12,
87,
5408,
39,
4895,
1769,
202,
202,
759,
1788,
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,
385,
4895,
6688,
8431,
1435,
1216,
531,
48,
2203,
503,
288,
202,
202,
759,
1788,
279,
13037,
1767,
364,
1517,
4968,
202,
202,
1952,
1459,
273,
6742,
5621,
202,
202,
39,
4895,
272,
5408,
39,
4895,
273,
1927,
4895,
12,
4071,
16,
315,
23729,
8863,
202,
202,
8611,
1767,
1904,
1767,
273,
1459,
18,
2640,
8611,
1767,
5621,
202,
202,
4327,
1767,
18,
542,
8611,
12,
588,
8611,
12,
87,
5408,
39,
4895,
16,
315,
13224,
352,
1115,
6,
1748,
6,
2909,
6,
5549,
10019,
202,
202,
8611,
1767,
3017,
1767,
273,
1459,
18,
2640,
8611,
1767,
5621,
202,
202,
5896,
1767,
18,
542,
8611,
12,
588,
8611,
12,
87,
5408,
39,
4895,
16,
315,
4133,
2
] |
switch(areq) { case AUTH_REQ_OK: break; | switch(areq) { case AUTH_REQ_OK: break; | protected void openConnection(String host, int port, Properties info, String database, String url, Driver d) throws SQLException { // Throw an exception if the user or password properties are missing // This occasionally occurs when the client uses the properties version // of getConnection(), and is a common question on the email lists if(info.getProperty("user")==null) throw new PSQLException("postgresql.con.user"); if(info.getProperty("password")==null) throw new PSQLException("postgresql.con.pass"); this_driver = d; this_url = url; PG_DATABASE = database; PG_PASSWORD = info.getProperty("password"); PG_USER = info.getProperty("user"); PG_PORT = port; PG_HOST = host; PG_STATUS = CONNECTION_BAD; if(info.getProperty("compatible")==null) { compatible = d.getMajorVersion() + "." + d.getMinorVersion(); } else { compatible = info.getProperty("compatible"); } // Now make the initial connection try { pg_stream = new PG_Stream(host, port); } catch (ConnectException cex) { // Added by Peter Mount <[email protected]> // ConnectException is thrown when the connection cannot be made. // we trap this an return a more meaningful message for the end user throw new PSQLException ("postgresql.con.refused"); } catch (IOException e) { throw new PSQLException ("postgresql.con.failed",e); } // Now we need to construct and send a startup packet try { // Ver 6.3 code pg_stream.SendInteger(4+4+SM_DATABASE+SM_USER+SM_OPTIONS+SM_UNUSED+SM_TTY,4); pg_stream.SendInteger(PG_PROTOCOL_LATEST_MAJOR,2); pg_stream.SendInteger(PG_PROTOCOL_LATEST_MINOR,2); pg_stream.Send(database.getBytes(),SM_DATABASE); // This last send includes the unused fields pg_stream.Send(PG_USER.getBytes(),SM_USER+SM_OPTIONS+SM_UNUSED+SM_TTY); // now flush the startup packets to the backend pg_stream.flush(); // Now get the response from the backend, either an error message // or an authentication request int areq = -1; // must have a value here do { int beresp = pg_stream.ReceiveChar(); switch(beresp) { case 'E': // An error occured, so pass the error message to the // user. // // The most common one to be thrown here is: // "User authentication failed" // throw new SQLException(pg_stream.ReceiveString(encoding)); case 'R': // Get the type of request areq = pg_stream.ReceiveIntegerR(4); // Get the password salt if there is one if(areq == AUTH_REQ_CRYPT) { byte[] rst = new byte[2]; rst[0] = (byte)pg_stream.ReceiveChar(); rst[1] = (byte)pg_stream.ReceiveChar(); salt = new String(rst,0,2); DriverManager.println("Salt="+salt); } // now send the auth packet switch(areq) { case AUTH_REQ_OK: break; case AUTH_REQ_KRB4: DriverManager.println("postgresql: KRB4"); throw new PSQLException("postgresql.con.kerb4"); case AUTH_REQ_KRB5: DriverManager.println("postgresql: KRB5"); throw new PSQLException("postgresql.con.kerb5"); case AUTH_REQ_PASSWORD: DriverManager.println("postgresql: PASSWORD"); pg_stream.SendInteger(5+PG_PASSWORD.length(),4); pg_stream.Send(PG_PASSWORD.getBytes()); pg_stream.SendInteger(0,1); pg_stream.flush(); break; case AUTH_REQ_CRYPT: DriverManager.println("postgresql: CRYPT"); String crypted = UnixCrypt.crypt(salt,PG_PASSWORD); pg_stream.SendInteger(5+crypted.length(),4); pg_stream.Send(crypted.getBytes()); pg_stream.SendInteger(0,1); pg_stream.flush(); break; default: throw new PSQLException("postgresql.con.auth",new Integer(areq)); } break; default: throw new PSQLException("postgresql.con.authfail"); } } while(areq != AUTH_REQ_OK); } catch (IOException e) { throw new PSQLException("postgresql.con.failed",e); } // As of protocol version 2.0, we should now receive the cancellation key and the pid int beresp = pg_stream.ReceiveChar(); switch(beresp) { case 'K': pid = pg_stream.ReceiveInteger(4); ckey = pg_stream.ReceiveInteger(4); break; case 'E': case 'N': throw new SQLException(pg_stream.ReceiveString(encoding)); default: throw new PSQLException("postgresql.con.setup"); } // Expect ReadyForQuery packet beresp = pg_stream.ReceiveChar(); switch(beresp) { case 'Z': break; case 'E': case 'N': throw new SQLException(pg_stream.ReceiveString(encoding)); default: throw new PSQLException("postgresql.con.setup"); } firstWarning = null; // "pg_encoding_to_char(1)" will return 'EUC_JP' for a backend compiled with multibyte, // otherwise it's hardcoded to 'SQL_ASCII'. // If the backend doesn't know about multibyte we can't assume anything about the encoding // used, so we denote this with 'UNKNOWN'. final String encodingQuery = "case when pg_encoding_to_char(1) = 'SQL_ASCII' then 'UNKNOWN' else getdatabaseencoding() end"; // Set datestyle and fetch db encoding in a single call, to avoid making // more than one round trip to the backend during connection startup. java.sql.ResultSet resultSet = ExecSQL("set datestyle to 'ISO'; select version(), " + encodingQuery + ";"); if (! resultSet.next()) { throw new PSQLException("postgresql.con.failed", "failed getting backend encoding"); } String version = resultSet.getString(1); dbVersionNumber = extractVersionNumber(version); String dbEncoding = resultSet.getString(2); encoding = Encoding.getEncoding(dbEncoding, info.getProperty("charSet")); // Initialise object handling initObjectTypes(); // Mark the connection as ok, and cleanup firstWarning = null; PG_STATUS = CONNECTION_OK; } | 52628 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52628/839b9bc0117946afd62ee385a4c8a36c01b3053b/Connection.java/buggy/src/interfaces/jdbc/org/postgresql/Connection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
24982,
12,
780,
1479,
16,
509,
1756,
16,
6183,
1123,
16,
514,
2063,
16,
514,
880,
16,
9396,
302,
13,
1216,
6483,
565,
288,
565,
368,
3743,
392,
1520,
309,
326,
729,
578,
2201,
1790,
854,
3315,
565,
368,
1220,
9145,
345,
285,
1230,
9938,
1347,
326,
1004,
4692,
326,
1790,
1177,
565,
368,
434,
6742,
9334,
471,
353,
279,
2975,
5073,
603,
326,
2699,
6035,
565,
309,
12,
1376,
18,
588,
1396,
2932,
1355,
7923,
631,
2011,
13,
1377,
604,
394,
453,
23116,
2932,
2767,
24330,
18,
591,
18,
1355,
8863,
565,
309,
12,
1376,
18,
588,
1396,
2932,
3664,
7923,
631,
2011,
13,
1377,
604,
394,
453,
23116,
2932,
2767,
24330,
18,
591,
18,
5466,
8863,
565,
333,
67,
7407,
273,
302,
31,
565,
333,
67,
718,
273,
880,
31,
565,
22116,
67,
22366,
273,
2063,
31,
565,
22116,
67,
13784,
273,
1123,
18,
588,
1396,
2932,
3664,
8863,
565,
22116,
67,
4714,
273,
1123,
18,
588,
1396,
2932,
1355,
8863,
565,
22116,
67,
6354,
273,
1756,
31,
565,
22116,
67,
8908,
273,
1479,
31,
565,
22116,
67,
8608,
273,
20695,
67,
16234,
31,
565,
309,
12,
1376,
18,
588,
1396,
2932,
10943,
7923,
631,
2011,
13,
288,
1377,
7318,
273,
302,
18,
588,
17581,
1444,
1435,
397,
4585,
397,
302,
18,
588,
19549,
1444,
5621,
565,
289,
469,
288,
1377,
7318,
273,
1123,
18,
588,
1396,
2932,
10943,
8863,
565,
289,
565,
368,
4494,
1221,
326,
2172,
1459,
565,
775,
1377,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
24982,
12,
780,
1479,
16,
509,
1756,
16,
6183,
1123,
16,
514,
2063,
16,
514,
880,
16,
9396,
302,
13,
1216,
6483,
565,
288,
565,
368,
3743,
392,
1520,
309,
326,
729,
578,
2201,
1790,
854,
3315,
565,
368,
1220,
9145,
345,
285,
1230,
9938,
1347,
326,
1004,
4692,
326,
1790,
1177,
565,
368,
434,
6742,
9334,
471,
353,
279,
2975,
5073,
603,
326,
2699,
6035,
565,
309,
12,
1376,
18,
588,
1396,
2932,
1355,
7923,
631,
2011,
13,
1377,
604,
394,
453,
23116,
2932,
2767,
24330,
18,
591,
18,
1355,
8863,
565,
309,
12,
1376,
18,
588,
1396,
2932,
3664,
7923,
631,
2011,
13,
1377,
604,
394,
453,
23116,
2932,
2767,
24330,
18,
591,
18,
2
] |
Event ev; | protected void dispatchSVGLoad(Element elt, boolean checkCanRun, String lang) { for (Node n = elt.getFirstChild(); n != null; n = n.getNextSibling()) { if (n.getNodeType() == Node.ELEMENT_NODE) { dispatchSVGLoad((Element)n, checkCanRun, lang); } } Event ev; DocumentEvent de = (DocumentEvent)elt.getOwnerDocument(); ev = de.createEvent("SVGEvents"); ev.initEvent("SVGLoad", false, false); EventTarget t = (EventTarget)elt; final String s = elt.getAttributeNS(null, SVGConstants.SVG_ONLOAD_ATTRIBUTE); if (s.length() == 0) { // No script to run so just dispatch the event to DOM // (For java presumably). t.dispatchEvent(ev); return; } final Interpreter interp = getInterpreter(); if (interp == null) { // Can't load interpreter so just dispatch normal event // to the DOM (for java presumably). t.dispatchEvent(ev); return; } if (checkCanRun) { // Check that it is ok to run embeded scripts checkCompatibleScriptURL(lang, docPURL); checkCanRun = false; // we only check once for onload handlers } DocumentLoader dl = bridgeContext.getDocumentLoader(); SVGDocument d = (SVGDocument)elt.getOwnerDocument(); int line = dl.getLineNumber(elt); final String desc = Messages.formatMessage (EVENT_SCRIPT_DESCRIPTION, new Object [] {d.getURL(), SVGConstants.SVG_ONLOAD_ATTRIBUTE, new Integer(line)}); EventListener l = new EventListener() { public void handleEvent(Event evt) { try { interp.bindObject(EVENT_NAME, evt); interp.bindObject(ALTERNATE_EVENT_NAME, evt); interp.evaluate(new StringReader(s), desc); } catch (IOException io) { } catch (InterpreterException e) { handleInterpreterException(e); } } }; t.addEventListener("SVGLoad", l, false); t.dispatchEvent(ev); t.removeEventListener("SVGLoad", l, false); } | 46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/e0f764dff72dfeed9e7f33e5d48e195946accb74/BaseScriptingEnvironment.java/clean/sources/org/apache/batik/bridge/BaseScriptingEnvironment.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
3435,
26531,
2563,
12,
1046,
11572,
16,
4766,
282,
1250,
866,
2568,
1997,
16,
4766,
282,
514,
3303,
13,
288,
3639,
364,
261,
907,
290,
273,
11572,
18,
588,
3759,
1763,
5621,
2398,
290,
480,
446,
31,
2398,
290,
273,
290,
18,
588,
2134,
10291,
10756,
288,
5411,
309,
261,
82,
18,
588,
15101,
1435,
422,
2029,
18,
10976,
67,
8744,
13,
288,
7734,
3435,
26531,
2563,
12443,
1046,
13,
82,
16,
866,
2568,
1997,
16,
3303,
1769,
5411,
289,
3639,
289,
9079,
4319,
1133,
443,
273,
261,
2519,
1133,
13,
20224,
18,
588,
5541,
2519,
5621,
3639,
2113,
273,
443,
18,
2640,
1133,
2932,
26531,
3783,
8863,
3639,
2113,
18,
2738,
1133,
2932,
26531,
2563,
3113,
629,
16,
629,
1769,
3639,
2587,
2326,
268,
273,
261,
1133,
2326,
13,
20224,
31,
3639,
727,
514,
272,
273,
5411,
11572,
18,
588,
1499,
3156,
12,
2011,
16,
11281,
2918,
18,
26531,
67,
673,
7783,
67,
11616,
1769,
3639,
309,
261,
87,
18,
2469,
1435,
422,
374,
13,
288,
5411,
368,
2631,
2728,
358,
1086,
1427,
2537,
3435,
326,
871,
358,
4703,
5411,
368,
261,
1290,
2252,
4075,
379,
6906,
2934,
5411,
268,
18,
10739,
1133,
12,
14965,
1769,
5411,
327,
31,
3639,
289,
3639,
727,
5294,
11599,
8174,
273,
336,
30010,
5621,
3639,
309,
261,
24940,
422,
446,
13,
288,
5411,
368,
4480,
1404,
1262,
16048,
1427,
2537,
3435,
2212,
871,
5411,
368,
358,
326,
4703,
261,
1884,
2252,
4075,
379,
6906,
2934,
5411,
268,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
3435,
26531,
2563,
12,
1046,
11572,
16,
4766,
282,
1250,
866,
2568,
1997,
16,
4766,
282,
514,
3303,
13,
288,
3639,
364,
261,
907,
290,
273,
11572,
18,
588,
3759,
1763,
5621,
2398,
290,
480,
446,
31,
2398,
290,
273,
290,
18,
588,
2134,
10291,
10756,
288,
5411,
309,
261,
82,
18,
588,
15101,
1435,
422,
2029,
18,
10976,
67,
8744,
13,
288,
7734,
3435,
26531,
2563,
12443,
1046,
13,
82,
16,
866,
2568,
1997,
16,
3303,
1769,
5411,
289,
3639,
289,
9079,
4319,
1133,
443,
273,
261,
2519,
1133,
13,
20224,
18,
588,
5541,
2519,
5621,
3639,
2113,
273,
443,
18,
2640,
1133,
2932,
26531,
3783,
8863,
3639,
2113,
18,
2738,
1133,
2932,
26531,
2563,
2
] |
|
getViewer().refresh(false); | getViewer().refresh(false); | private void restoreState() { if (taskListMemento != null) { IMemento taskListWidth = taskListMemento.getChild(columnWidthIdentifier); if (taskListWidth != null) { for (int i = 0; i < columnWidths.length; i++) { IMemento m = taskListWidth.getChild("col" + i); if (m != null) { int width = m.getInteger(MEMENTO_KEY_WIDTH); columnWidths[i] = width; columns[i].setWidth(width); } } } IMemento sorterMemento = taskListMemento.getChild(tableSortIdentifier); if (sorterMemento != null) { IMemento m = sorterMemento.getChild(MEMENTO_KEY_SORTER); if (m != null) { sortIndex = m.getInteger(MEMENTO_KEY_SORT_INDEX); Integer sortDirInt = m.getInteger(MEMENTO_KEY_SORT_DIRECTION); if (sortDirInt != null) { sortDirection = sortDirInt.intValue(); } } else { sortIndex = 2; sortDirection = DEFAULT_SORT_DIRECTION; } } else { sortIndex = 2; // default priority sortDirection = DEFAULT_SORT_DIRECTION; } tableSorter.setColumn(columnNames[sortIndex]); getViewer().refresh(false); // getViewer().setSorter(new TaskListTableSorter(this, columnNames[sortIndex])); } addFilter(FILTER_PRIORITY); // if (MylarTaskListPlugin.getDefault().isFilterInCompleteMode()) // MylarTaskListPlugin.getTaskListManager().getTaskList().addFilter(inCompleteFilter); if (MylarTaskListPlugin.getMylarCorePrefs().contains(TaskListPreferenceConstants.FILTER_COMPLETE_MODE)) addFilter(FILTER_COMPLETE); if (MylarTaskListPlugin.getMylarCorePrefs().contains(TaskListPreferenceConstants.FILTER_ARCHIVE_MODE)) addFilter(FILTER_ARCHIVE); if (MylarTaskListPlugin.getDefault().isMultipleActiveTasksMode()) { togglePreviousAction(false); toggleNextAction(false); } getViewer().refresh(); } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/27288d503c710fca7552d26676afc1a7c8ba63b5/TaskListView.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/views/TaskListView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
5217,
1119,
1435,
288,
202,
202,
430,
261,
4146,
682,
49,
820,
83,
480,
446,
13,
288,
1082,
202,
3445,
820,
83,
1562,
682,
2384,
273,
1562,
682,
49,
820,
83,
18,
588,
1763,
12,
2827,
2384,
3004,
1769,
1082,
202,
430,
261,
4146,
682,
2384,
480,
446,
13,
288,
9506,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1057,
22407,
18,
2469,
31,
277,
27245,
288,
6862,
202,
3445,
820,
83,
312,
273,
1562,
682,
2384,
18,
588,
1763,
2932,
1293,
6,
397,
277,
1769,
6862,
202,
430,
261,
81,
480,
446,
13,
288,
25083,
202,
474,
1835,
273,
312,
18,
588,
4522,
12,
958,
3212,
51,
67,
3297,
67,
10023,
1769,
25083,
202,
2827,
22407,
63,
77,
65,
273,
1835,
31,
25083,
202,
5112,
63,
77,
8009,
542,
2384,
12,
2819,
1769,
6862,
202,
97,
9506,
202,
97,
1082,
202,
97,
1082,
202,
3445,
820,
83,
19867,
49,
820,
83,
273,
1562,
682,
49,
820,
83,
18,
588,
1763,
12,
2121,
4416,
3004,
1769,
1082,
202,
430,
261,
2467,
387,
49,
820,
83,
480,
446,
13,
288,
9506,
202,
3445,
820,
83,
312,
273,
19867,
49,
820,
83,
18,
588,
1763,
12,
958,
3212,
51,
67,
3297,
67,
55,
916,
2560,
1769,
9506,
202,
430,
261,
81,
480,
446,
13,
288,
6862,
202,
3804,
1016,
273,
312,
18,
588,
4522,
12,
958,
3212,
51,
67,
3297,
67,
23988,
67,
9199,
1769,
6862,
202,
4522,
1524,
1621,
1702,
273,
312,
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,
5217,
1119,
1435,
288,
202,
202,
430,
261,
4146,
682,
49,
820,
83,
480,
446,
13,
288,
1082,
202,
3445,
820,
83,
1562,
682,
2384,
273,
1562,
682,
49,
820,
83,
18,
588,
1763,
12,
2827,
2384,
3004,
1769,
1082,
202,
430,
261,
4146,
682,
2384,
480,
446,
13,
288,
9506,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1057,
22407,
18,
2469,
31,
277,
27245,
288,
6862,
202,
3445,
820,
83,
312,
273,
1562,
682,
2384,
18,
588,
1763,
2932,
1293,
6,
397,
277,
1769,
6862,
202,
430,
261,
81,
480,
446,
13,
288,
25083,
202,
474,
1835,
273,
312,
18,
588,
4522,
12,
958,
3212,
51,
67,
3297,
67,
10023,
1769,
2
] |
realOutput.write (b, off, len); | realOutput.write (data); | public void write (byte b[], int off, int len) throws IOException { if (writeDataAsBlocks) { if (len < 0) throw new IndexOutOfBoundsException (); if (blockDataCount + len < BUFFER_SIZE) { System.arraycopy (b, off, blockData, blockDataCount, len); blockDataCount += len; } else { drain (); writeBlockDataHeader (len); realOutput.write (b, off, len); } } else realOutput.write (b, off, len); } | 25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/19f06d8622c5119a2b265f34d018cd1646e244f1/ObjectOutputStream.java/buggy/libjava/java/io/ObjectOutputStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1045,
261,
7229,
324,
63,
6487,
509,
3397,
16,
509,
562,
13,
1216,
1860,
225,
288,
565,
309,
261,
2626,
751,
1463,
6450,
13,
565,
288,
1377,
309,
261,
1897,
411,
374,
13,
202,
12849,
394,
17768,
261,
1769,
1377,
309,
261,
2629,
751,
1380,
397,
562,
411,
25859,
67,
4574,
13,
1377,
288,
202,
3163,
18,
1126,
3530,
261,
70,
16,
3397,
16,
1203,
751,
16,
1203,
751,
1380,
16,
562,
1769,
202,
2629,
751,
1380,
1011,
562,
31,
1377,
289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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1045,
261,
7229,
324,
63,
6487,
509,
3397,
16,
509,
562,
13,
1216,
1860,
225,
288,
565,
309,
261,
2626,
751,
1463,
6450,
13,
565,
288,
1377,
309,
261,
1897,
411,
374,
13,
202,
12849,
394,
17768,
261,
1769,
1377,
309,
261,
2629,
751,
1380,
397,
562,
411,
25859,
67,
4574,
13,
1377,
288,
202,
3163,
18,
1126,
3530,
261,
70,
16,
3397,
16,
1203,
751,
16,
1203,
751,
1380,
16,
562,
1769,
202,
2629,
751,
1380,
1011,
562,
31,
1377,
289,
1377,
469,
1377,
288,
202,
72,
7596,
261,
1769,
202,
2626,
1768,
751,
1864,
261,
1897,
1769,
202,
7688,
1447,
18,
2626,
261,
892,
1769,
1377,
289,
565,
289,
565,
469,
1377,
2863,
1447,
2
] |
String source) { | String source) { | public void handleCompilationDone(Context cx, DebuggableScript fnOrScript, String source) { String sourceName = fnOrScript.getSourceName(); if (sourceName == null) { sourceName = "<stdin>"; } if (sourceName.endsWith("(eval)")) { String origSourceName = sourceName.substring(0, sourceName.length() - 6); SourceInfo si = (SourceInfo)sourceNames.get(origSourceName); if (si != null) { si.addScript(fnOrScript); return; } } SourceInfo si = (SourceInfo)sourceNames.get(sourceName); if (si == null) { si = new SourceInfo(source); sourceNames.put(sourceName, si); } si.addScript(fnOrScript); if (fnOrScript.getScriptable() instanceof NativeFunction) { NativeFunction f = (NativeFunction)fnOrScript.getScriptable(); String name = f.getFunctionName(); if (name.length() > 0 && !name.equals("anonymous")) { functionMap.put(name, fnOrScript); } } loadedFile(sourceName, source); } | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/ba0661c4930bce05ad78b222083c34077170a9e4/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,
288,
3639,
514,
28337,
273,
2295,
1162,
3651,
18,
588,
1830,
461,
5621,
3639,
309,
261,
3168,
461,
422,
446,
13,
288,
5411,
28337,
273,
3532,
21772,
2984,
31,
3639,
289,
3639,
309,
261,
3168,
461,
18,
5839,
1190,
2932,
12,
8622,
2225,
3719,
288,
5411,
514,
1647,
1830,
461,
273,
7734,
28337,
18,
28023,
12,
20,
16,
28337,
18,
2469,
1435,
300,
1666,
1769,
5411,
4998,
966,
7533,
273,
261,
1830,
966,
13,
3168,
1557,
18,
588,
12,
4949,
1830,
461,
1769,
5411,
309,
261,
7722,
480,
446,
13,
288,
7734,
7533,
18,
1289,
3651,
12,
4293,
1162,
3651,
1769,
7734,
327,
31,
5411,
289,
3639,
289,
3639,
4998,
966,
7533,
273,
261,
1830,
966,
13,
3168,
1557,
18,
588,
12,
3168,
461,
1769,
3639,
309,
261,
7722,
422,
446,
13,
288,
5411,
7533,
273,
394,
4998,
966,
12,
3168,
1769,
5411,
1084,
1557,
18,
458,
12,
3168,
461,
16,
7533,
1769,
3639,
289,
3639,
7533,
18,
1289,
3651,
12,
4293,
1162,
3651,
1769,
3639,
309,
261,
4293,
1162,
3651,
18,
588,
3651,
429,
1435,
1276,
16717,
2083,
13,
288,
5411,
16717,
2083,
284,
273,
261,
9220,
2083,
13,
4293,
1162,
3651,
18,
588,
3651,
429,
5621,
5411,
514,
508,
273,
284,
18,
588,
25258,
5621,
5411,
309,
261,
529,
18,
2469,
1435,
405,
374,
597,
401,
529,
18,
14963,
2932,
19070,
6,
3719,
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,
1640,
19184,
7387,
12,
1042,
9494,
16,
4015,
8455,
3651,
2295,
1162,
3651,
16,
4766,
1377,
514,
1084,
13,
288,
3639,
514,
28337,
273,
2295,
1162,
3651,
18,
588,
1830,
461,
5621,
3639,
309,
261,
3168,
461,
422,
446,
13,
288,
5411,
28337,
273,
3532,
21772,
2984,
31,
3639,
289,
3639,
309,
261,
3168,
461,
18,
5839,
1190,
2932,
12,
8622,
2225,
3719,
288,
5411,
514,
1647,
1830,
461,
273,
7734,
28337,
18,
28023,
12,
20,
16,
28337,
18,
2469,
1435,
300,
1666,
1769,
5411,
4998,
966,
7533,
273,
261,
1830,
966,
13,
3168,
1557,
18,
588,
12,
4949,
1830,
461,
1769,
5411,
309,
261,
7722,
480,
446,
13,
288,
7734,
7533,
18,
1289,
3651,
12,
2
] |
keyCell.addChild("span", "class", "key_is").addChild("a", "href", '/' + uri.toString(false), uri.toShortString()); | keyCell.addChild("span", "class", "key_is").addChild("a", "href", '/' + uri.toString(), uri.toShortString()); | private HTMLNode createKeyCell(FreenetURI uri) { HTMLNode keyCell = new HTMLNode("td", "class", "request-key"); if (uri != null) { keyCell.addChild("span", "class", "key_is").addChild("a", "href", '/' + uri.toString(false), uri.toShortString()); } else { keyCell.addChild("span", "class", "key_unknown", "unknown"); } return keyCell; } | 48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/1c876261ab73159d57a26624667ec7bf7acd15b8/QueueToadlet.java/clean/src/freenet/clients/http/QueueToadlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
3982,
907,
752,
653,
4020,
12,
42,
2842,
278,
3098,
2003,
13,
288,
202,
202,
4870,
907,
498,
4020,
273,
394,
3982,
907,
2932,
4465,
3113,
315,
1106,
3113,
315,
2293,
17,
856,
8863,
202,
202,
430,
261,
1650,
480,
446,
13,
288,
1082,
202,
856,
4020,
18,
1289,
1763,
2932,
3969,
3113,
315,
1106,
3113,
315,
856,
67,
291,
20387,
1289,
1763,
2932,
69,
3113,
315,
7547,
3113,
2023,
397,
2003,
18,
10492,
12,
5743,
3631,
2003,
18,
869,
4897,
780,
10663,
202,
202,
97,
469,
288,
1082,
202,
856,
4020,
18,
1289,
1763,
2932,
3969,
3113,
315,
1106,
3113,
315,
856,
67,
8172,
3113,
315,
8172,
8863,
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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
3982,
907,
752,
653,
4020,
12,
42,
2842,
278,
3098,
2003,
13,
288,
202,
202,
4870,
907,
498,
4020,
273,
394,
3982,
907,
2932,
4465,
3113,
315,
1106,
3113,
315,
2293,
17,
856,
8863,
202,
202,
430,
261,
1650,
480,
446,
13,
288,
1082,
202,
856,
4020,
18,
1289,
1763,
2932,
3969,
3113,
315,
1106,
3113,
315,
856,
67,
291,
20387,
1289,
1763,
2932,
69,
3113,
315,
7547,
3113,
2023,
397,
2003,
18,
10492,
12,
5743,
3631,
2003,
18,
869,
4897,
780,
10663,
202,
202,
97,
469,
288,
1082,
202,
856,
4020,
18,
1289,
1763,
2932,
3969,
3113,
315,
1106,
3113,
315,
856,
67,
8172,
3113,
315,
8172,
8863,
202,
202,
97,
202,
202,
2463,
498,
2
] |
return new CASTReturnStatement(); } | return new CASTReturnStatement(); } | protected IASTReturnStatement createReturnStatement() { return new CASTReturnStatement(); } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/8d833f012a81dac41a0d33c7e0f047c1dfe415f2/GNUCSourceParser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/GNUCSourceParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
467,
9053,
990,
3406,
752,
990,
3406,
1435,
288,
1377,
327,
394,
6425,
882,
990,
3406,
5621,
282,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
467,
9053,
990,
3406,
752,
990,
3406,
1435,
288,
1377,
327,
394,
6425,
882,
990,
3406,
5621,
282,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
field = FBField.createField(longField); } | field = FBField.createField(longField); } | protected void setUp() throws SQLException{ XSQLVAR longField = new XSQLVAR(); longField.sqldata = new Long(TEST_LONG); longField.sqlind = 0; longField.sqltype = GDS.SQL_INT64; field = FBField.createField(longField); } | 6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/026a06cad7ac909fff09e3c7d23e34e158b0f803/TestFBLongField.java/clean/src/org/firebirdsql/jdbc/TestFBLongField.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
24292,
1435,
1216,
6483,
95,
202,
202,
60,
3997,
7716,
1525,
974,
273,
394,
1139,
3997,
7716,
5621,
202,
202,
5748,
974,
18,
4669,
892,
273,
394,
3407,
12,
16961,
67,
14639,
1769,
202,
202,
5748,
974,
18,
4669,
728,
273,
374,
31,
202,
202,
5748,
974,
18,
4669,
723,
273,
611,
3948,
18,
3997,
67,
3217,
1105,
31,
202,
202,
1518,
273,
478,
38,
974,
18,
2640,
974,
12,
5748,
974,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
24292,
1435,
1216,
6483,
95,
202,
202,
60,
3997,
7716,
1525,
974,
273,
394,
1139,
3997,
7716,
5621,
202,
202,
5748,
974,
18,
4669,
892,
273,
394,
3407,
12,
16961,
67,
14639,
1769,
202,
202,
5748,
974,
18,
4669,
728,
273,
374,
31,
202,
202,
5748,
974,
18,
4669,
723,
273,
611,
3948,
18,
3997,
67,
3217,
1105,
31,
202,
202,
1518,
273,
478,
38,
974,
18,
2640,
974,
12,
5748,
974,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public AttributeDescr rule_attribute() throws RecognitionException { AttributeDescr d; AttributeDescr a = null; d = null; try { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:265:25: (a= salience | a= no_loop | a= agenda_group | a= duration | a= xor_group ) int alt29=5; switch ( input.LA(1) ) { case 32: alt29=1; break; case 33: alt29=2; break; case 35: alt29=3; break; case 36: alt29=4; break; case 34: alt29=5; break; default: NoViableAltException nvae = new NoViableAltException("260:1: rule_attribute returns [AttributeDescr d] : (a= salience | a= no_loop | a= agenda_group | a= duration | a= xor_group );", 29, 0, input); throw nvae; } switch (alt29) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:265:25: a= salience { following.push(FOLLOW_salience_in_rule_attribute753); a=salience(); following.pop(); d = a; } break; case 2 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:266:25: a= no_loop { following.push(FOLLOW_no_loop_in_rule_attribute763); a=no_loop(); following.pop(); d = a; } break; case 3 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:267:25: a= agenda_group { following.push(FOLLOW_agenda_group_in_rule_attribute774); a=agenda_group(); following.pop(); d = a; } break; case 4 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:268:25: a= duration { following.push(FOLLOW_duration_in_rule_attribute787); a=duration(); following.pop(); d = a; } break; case 5 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:269:25: a= xor_group { following.push(FOLLOW_xor_group_in_rule_attribute801); a=xor_group(); following.pop(); d = a; } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; } | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/afa2dad261bf082d1acd2655e8290f80c6bffb15/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3601,
16198,
1720,
67,
4589,
1435,
1216,
9539,
288,
6647,
3601,
16198,
302,
31,
3639,
3601,
16198,
279,
273,
446,
31,
1171,
202,
202,
72,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
30281,
30,
2947,
30,
261,
69,
33,
12814,
6254,
571,
279,
33,
1158,
67,
6498,
571,
279,
33,
28809,
67,
1655,
571,
279,
33,
3734,
571,
279,
33,
17586,
67,
1655,
262,
5411,
509,
3770,
5540,
33,
25,
31,
5411,
1620,
261,
810,
18,
2534,
12,
21,
13,
262,
288,
5411,
648,
3847,
30,
7734,
3770,
5540,
33,
21,
31,
7734,
898,
31,
5411,
648,
13159,
30,
7734,
3770,
5540,
33,
22,
31,
7734,
898,
31,
5411,
648,
13191,
30,
7734,
3770,
5540,
33,
23,
31,
7734,
898,
31,
5411,
648,
6580,
30,
7734,
3770,
5540,
33,
24,
31,
7734,
898,
31,
5411,
648,
13438,
30,
7734,
3770,
5540,
33,
25,
31,
7734,
898,
31,
5411,
805,
30,
7734,
17114,
15077,
273,
10792,
394,
17114,
2932,
22,
4848,
30,
21,
30,
1720,
67,
4589,
1135,
306,
1499,
16198,
302,
65,
294,
261,
69,
33,
12814,
6254,
571,
279,
33,
1158,
67,
6498,
571,
279,
33,
28809,
67,
1655,
571,
279,
33,
3734,
571,
279,
33,
17586,
67,
1655,
11272,
3113,
12899,
16,
374,
16,
810,
1769,
7734,
604,
15077,
31,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3601,
16198,
1720,
67,
4589,
1435,
1216,
9539,
288,
6647,
3601,
16198,
302,
31,
3639,
3601,
16198,
279,
273,
446,
31,
1171,
202,
202,
72,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
30281,
30,
2947,
30,
261,
69,
33,
12814,
6254,
571,
279,
33,
1158,
67,
6498,
571,
279,
33,
28809,
67,
1655,
571,
279,
33,
3734,
571,
279,
33,
17586,
67,
1655,
262,
5411,
509,
3770,
5540,
33,
25,
31,
5411,
1620,
261,
810,
18,
2534,
12,
21,
13,
262,
288,
5411,
648,
2
] |
||
if (log) { os.log("Start of basic block " + bb); } if (debug) { BootLog.debug("-- Start of BB " + bb); } startOfBB = true; this.vstack.reset(); eContext.getPool().reset(os); if (inlinedMethod != null) { inlinedMethod.pushOuterMethodStack(vstack); } final TypeStack tstack = bb.getStartStack(); vstack.pushAll(tstack); | if (log) { os.log("Start of basic block " + bb); } if (debug) { BootLog.debug("-- Start of BB " + bb); } startOfBB = true; this.vstack.reset(); eContext.getPool().reset(os); if (inlinedMethod != null) { inlinedMethod.pushOuterMethodStack(vstack); } final TypeStack tstack = bb.getStartStack(); vstack.pushAll(tstack); | public void startBasicBlock(BasicBlock bb) { if (log) { os.log("Start of basic block " + bb); } if (debug) { BootLog.debug("-- Start of BB " + bb); } startOfBB = true; this.vstack.reset(); eContext.getPool().reset(os); // Push the result from the outer method stack on the vstack if (inlinedMethod != null) { inlinedMethod.pushOuterMethodStack(vstack); } // Push the items on the vstack the result from a previous basic block. final TypeStack tstack = bb.getStartStack(); vstack.pushAll(tstack); if (debug) { BootLog.debug("-- VStack: " + vstack.toString()); } } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/4c9e1b93fdcd3878abf615621ec6a36bf839ab10/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
787,
8252,
1768,
12,
8252,
1768,
7129,
13,
288,
202,
202,
430,
261,
1330,
13,
288,
1082,
202,
538,
18,
1330,
2932,
1685,
434,
5337,
1203,
315,
397,
7129,
1769,
202,
202,
97,
202,
202,
430,
261,
4148,
13,
288,
1082,
202,
15817,
1343,
18,
4148,
2932,
413,
3603,
434,
21752,
315,
397,
7129,
1769,
202,
202,
97,
202,
202,
1937,
951,
9676,
273,
638,
31,
202,
202,
2211,
18,
90,
3772,
18,
6208,
5621,
202,
202,
73,
1042,
18,
588,
2864,
7675,
6208,
12,
538,
1769,
202,
202,
759,
8547,
326,
563,
628,
326,
6390,
707,
2110,
603,
326,
19510,
202,
202,
430,
261,
267,
22316,
1305,
480,
446,
13,
288,
1082,
202,
267,
22316,
1305,
18,
6206,
15040,
1305,
2624,
12,
90,
3772,
1769,
202,
202,
97,
202,
202,
759,
8547,
326,
1516,
603,
326,
19510,
326,
563,
628,
279,
2416,
5337,
1203,
18,
202,
202,
6385,
1412,
2624,
268,
3772,
273,
7129,
18,
588,
1685,
2624,
5621,
202,
202,
90,
3772,
18,
6206,
1595,
12,
88,
3772,
1769,
202,
202,
430,
261,
4148,
13,
288,
1082,
202,
15817,
1343,
18,
4148,
2932,
413,
776,
2624,
30,
315,
397,
19510,
18,
10492,
10663,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
787,
8252,
1768,
12,
8252,
1768,
7129,
13,
288,
202,
202,
430,
261,
1330,
13,
288,
1082,
202,
538,
18,
1330,
2932,
1685,
434,
5337,
1203,
315,
397,
7129,
1769,
202,
202,
97,
202,
202,
430,
261,
4148,
13,
288,
1082,
202,
15817,
1343,
18,
4148,
2932,
413,
3603,
434,
21752,
315,
397,
7129,
1769,
202,
202,
97,
202,
202,
1937,
951,
9676,
273,
638,
31,
202,
202,
2211,
18,
90,
3772,
18,
6208,
5621,
202,
202,
73,
1042,
18,
588,
2864,
7675,
6208,
12,
538,
1769,
202,
202,
759,
8547,
326,
563,
628,
326,
6390,
707,
2110,
603,
326,
19510,
202,
202,
430,
261,
267,
22316,
1305,
480,
446,
13,
288,
1082,
202,
267,
2
] |
Logger.debug(this, "Map: "+getKeyMap().size()); Logger.debug(this, "Contains "+key+"?: "+getKeyMap().containsKey(key)); | private DataBlock getBlockByKey(Key key) { Logger.debug(this, "Map: "+getKeyMap().size()); Logger.debug(this, "Contains "+key+"?: "+getKeyMap().containsKey(key)); return (DataBlock) getKeyMap().get(key); } | 48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/468622124d6c873f5829a9d551c994b13f38cb37/DataStore.java/buggy/src/freenet/store/DataStore.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1910,
1768,
11902,
14560,
12,
653,
498,
13,
288,
202,
565,
4242,
18,
4148,
12,
2211,
16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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1910,
1768,
11902,
14560,
12,
653,
498,
13,
288,
202,
565,
4242,
18,
4148,
12,
2211,
16,
315,
863,
30,
13773,
588,
653,
863,
7675,
1467,
10663,
202,
565,
4242,
18,
4148,
12,
2211,
16,
315,
10846,
13773,
856,
9078,
35,
30,
13773,
588,
653,
863,
7675,
12298,
653,
12,
856,
10019,
202,
202,
2463,
261,
751,
1768,
13,
3579,
863,
7675,
588,
12,
856,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
if(m_statistics != null) { m_statistics.setObserver(null); m_statistics.setFileObserver(null); | if(statistics != null) { statistics.setObserver(null); statistics.setFileObserver(null); | public void refresh(IFtpConfig ftpConfig) { m_ftpConfig = ftpConfig; if (m_ftpConfig != null) { m_statistics = (IFtpStatistics)m_ftpConfig.getFtpStatistics(); m_statistics.setObserver(this); m_statistics.setFileObserver(this); // reset component values String startTime = DateUtils.getISO8601Date(m_statistics.getStartTime().getTime()); setValue(I_START_TIME, startTime); notifyMkdir(); notifyRmdir(); notifyUpload(); notifyDownload(); notifyDelete(); notifyLogin(true); notifyOpenConnection(); } else { if(m_statistics != null) { m_statistics.setObserver(null); m_statistics.setFileObserver(null); } m_statistics = null; } } | 48500 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48500/f8bdbb2dab0d67be139dd05d6110e466306c8868/StatisticsPanel.java/buggy/src/java/org/apache/ftpserver/gui/StatisticsPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4460,
12,
5501,
6834,
809,
13487,
809,
13,
288,
3639,
312,
67,
11727,
809,
273,
13487,
809,
31,
3639,
309,
261,
81,
67,
11727,
809,
480,
446,
13,
288,
5411,
312,
67,
14438,
273,
261,
5501,
6834,
8569,
13,
81,
67,
11727,
809,
18,
588,
42,
6834,
8569,
5621,
5411,
312,
67,
14438,
18,
542,
11048,
12,
2211,
1769,
5411,
312,
67,
14438,
18,
542,
812,
11048,
12,
2211,
1769,
13491,
368,
2715,
1794,
924,
5411,
514,
8657,
273,
2167,
1989,
18,
588,
12609,
14181,
1626,
12,
81,
67,
14438,
18,
588,
13649,
7675,
588,
950,
10663,
5411,
5524,
12,
45,
67,
7570,
67,
4684,
16,
8657,
1769,
5411,
5066,
49,
12979,
5621,
5411,
5066,
54,
81,
1214,
5621,
5411,
5066,
4777,
5621,
5411,
5066,
7109,
5621,
5411,
5066,
2613,
5621,
5411,
5066,
5358,
12,
3767,
1769,
5411,
5066,
3678,
1952,
5621,
3639,
289,
3639,
469,
288,
5411,
309,
12,
81,
67,
14438,
480,
446,
13,
288,
7734,
312,
67,
14438,
18,
542,
11048,
12,
2011,
1769,
7734,
312,
67,
14438,
18,
542,
812,
11048,
12,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4460,
12,
5501,
6834,
809,
13487,
809,
13,
288,
3639,
312,
67,
11727,
809,
273,
13487,
809,
31,
3639,
309,
261,
81,
67,
11727,
809,
480,
446,
13,
288,
5411,
312,
67,
14438,
273,
261,
5501,
6834,
8569,
13,
81,
67,
11727,
809,
18,
588,
42,
6834,
8569,
5621,
5411,
312,
67,
14438,
18,
542,
11048,
12,
2211,
1769,
5411,
312,
67,
14438,
18,
542,
812,
11048,
12,
2211,
1769,
13491,
368,
2715,
1794,
924,
5411,
514,
8657,
273,
2167,
1989,
18,
588,
12609,
14181,
1626,
12,
81,
67,
14438,
18,
588,
13649,
7675,
588,
950,
10663,
5411,
5524,
12,
45,
67,
7570,
67,
4684,
16,
8657,
1769,
5411,
5066,
49,
12979,
5621,
5411,
5066,
54,
2
] |
mode = ((RubyString) args[1]).toString(); | newModes = new IOModes(getRuntime(), ((RubyString) args[1]).toString()); | public IRubyObject reopen(IRubyObject[] args) { if (args.length < 1) { throw getRuntime().newArgumentError("wrong number of arguments"); } if (args[0].isKindOf(getRuntime().getClass("IO"))) { RubyIO ios = (RubyIO) args[0]; int keepFileno = handler.getFileno(); // close the old handler before it gets overwritten if (handler.isOpen()) { try { handler.close(); } catch (IOHandler.BadDescriptorException e) { throw getRuntime().newErrnoEBADFError(); } catch (EOFException e) { return getRuntime().getNil(); } catch (IOException e) { throw getRuntime().newIOError(e.getMessage()); } } // When we reopen, we want our fileno to be preserved even // though we have a new IOHandler. // Note: When we clone we get a new fileno...then we replace it. // This ends up incrementing our fileno index up, which makes the // fileno we choose different from ruby. Since this seems a bit // too implementation specific, I did not bother trying to get // these to agree (what scary code would depend on fileno generating // a particular way?) try { handler = ios.handler.cloneIOHandler(); } catch (IOHandler.InvalidValueException e) { throw getRuntime().newErrnoEINVALError(); } catch (IOHandler.PipeException e) { throw getRuntime().newErrnoESPIPEError(); } catch (FileNotFoundException e) { throw getRuntime().newErrnoENOENTError(); } catch (IOException e) { throw getRuntime().newIOError(e.getMessage()); } handler.setFileno(keepFileno); // Update fileno list with our new handler registerIOHandler(handler); } else if (args[0].isKindOf(getRuntime().getClass("String"))) { String path = ((RubyString) args[0]).toString(); String mode = "r"; if (args.length > 1) { if (!args[1].isKindOf(getRuntime().getClass("String"))) { throw getRuntime().newTypeError(args[1], getRuntime().getClass("String")); } mode = ((RubyString) args[1]).toString(); } try { if (handler != null) { close(); } modes = new IOModes(getRuntime(), mode); handler = new IOHandlerSeekable(getRuntime(), path, modes); registerIOHandler(handler); } catch (IOHandler.InvalidValueException e) { throw getRuntime().newErrnoEINVALError(); } catch (IOException e) { throw getRuntime().newIOError(e.toString()); } } // A potentially previously close IO is being 'reopened'. isOpen = true; return this; } | 47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/24fc00ac9f647542a77f440ea686cea2d209f347/RubyIO.java/buggy/src/org/jruby/RubyIO.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
31563,
12,
7937,
10340,
921,
8526,
833,
13,
288,
377,
202,
430,
261,
1968,
18,
2469,
411,
404,
13,
288,
5411,
604,
18814,
7675,
2704,
1379,
668,
2932,
21530,
1300,
434,
1775,
8863,
377,
202,
97,
377,
202,
3639,
309,
261,
1968,
63,
20,
8009,
291,
5677,
951,
12,
588,
5576,
7675,
588,
797,
2932,
4294,
6,
20349,
288,
5411,
19817,
4294,
30993,
273,
261,
54,
10340,
4294,
13,
833,
63,
20,
15533,
5411,
509,
3455,
25579,
5764,
273,
1838,
18,
588,
25579,
5764,
5621,
13491,
368,
1746,
326,
1592,
1838,
1865,
518,
5571,
15345,
5411,
309,
261,
4176,
18,
291,
3678,
10756,
288,
7734,
775,
288,
10792,
1838,
18,
4412,
5621,
7734,
289,
1044,
261,
4294,
1503,
18,
6434,
3187,
503,
425,
13,
288,
10792,
604,
18814,
7675,
2704,
2524,
2135,
41,
16234,
42,
668,
5621,
7734,
289,
1044,
261,
12706,
503,
425,
13,
288,
10792,
327,
18814,
7675,
588,
12616,
5621,
7734,
289,
1044,
261,
14106,
425,
13,
288,
10792,
604,
18814,
7675,
2704,
4294,
668,
12,
73,
18,
24906,
10663,
7734,
289,
5411,
289,
5411,
368,
5203,
732,
31563,
16,
732,
2545,
3134,
24256,
358,
506,
21096,
5456,
5411,
368,
11376,
732,
1240,
279,
394,
1665,
1503,
18,
5411,
368,
3609,
30,
5203,
732,
3236,
732,
336,
279,
394,
24256,
2777,
15991,
732,
1453,
518,
18,
5411,
368,
1220,
3930,
731,
5504,
310,
3134,
24256,
770,
731,
16,
1492,
7297,
326,
5411,
368,
24256,
732,
9876,
3775,
628,
22155,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
31563,
12,
7937,
10340,
921,
8526,
833,
13,
288,
377,
202,
430,
261,
1968,
18,
2469,
411,
404,
13,
288,
5411,
604,
18814,
7675,
2704,
1379,
668,
2932,
21530,
1300,
434,
1775,
8863,
377,
202,
97,
377,
202,
3639,
309,
261,
1968,
63,
20,
8009,
291,
5677,
951,
12,
588,
5576,
7675,
588,
797,
2932,
4294,
6,
20349,
288,
5411,
19817,
4294,
30993,
273,
261,
54,
10340,
4294,
13,
833,
63,
20,
15533,
5411,
509,
3455,
25579,
5764,
273,
1838,
18,
588,
25579,
5764,
5621,
13491,
368,
1746,
326,
1592,
1838,
1865,
518,
5571,
15345,
5411,
309,
261,
4176,
18,
291,
3678,
10756,
288,
7734,
775,
288,
10792,
1838,
18,
4412,
5621,
7734,
289,
2
] |
{ Connection cx = getConnection(); Statement stmt = cx.createStatement(); | { Connection cx = getConnection(); Statement stmt = cx.createStatement(); | public void testResultSet0043() throws Exception { Connection cx = getConnection(); Statement stmt = cx.createStatement(); try { ResultSet rs = stmt.executeQuery("select 1"); assertNotNull(rs); rs.getInt(1); assertTrue("Did not expect to reach here", false); } catch (SQLException e) { assertTrue(e.getMessage().startsWith("No current row in the result set")); } } | 439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/d9d3f9d24e5fe3f189bd2899a4d10846c0832a3b/TimestampTest.java/buggy/trunk/jtds/src.old/test/freetds/TimestampTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
13198,
713,
8942,
1435,
1216,
1185,
202,
95,
202,
202,
1952,
9494,
273,
6742,
5621,
202,
202,
3406,
3480,
273,
9494,
18,
2640,
3406,
5621,
202,
202,
698,
202,
202,
95,
1082,
202,
13198,
3597,
273,
3480,
18,
8837,
1138,
2932,
4025,
404,
8863,
1082,
202,
11231,
5962,
12,
5453,
1769,
1082,
202,
5453,
18,
588,
1702,
12,
21,
1769,
1082,
202,
11231,
5510,
2932,
18250,
486,
4489,
358,
9287,
2674,
3113,
629,
1769,
202,
202,
97,
202,
202,
14683,
261,
23116,
425,
13,
202,
202,
95,
1082,
202,
11231,
5510,
12,
73,
18,
24906,
7675,
17514,
1190,
2932,
2279,
783,
1027,
316,
326,
563,
444,
7923,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
13198,
713,
8942,
1435,
1216,
1185,
202,
95,
202,
202,
1952,
9494,
273,
6742,
5621,
202,
202,
3406,
3480,
273,
9494,
18,
2640,
3406,
5621,
202,
202,
698,
202,
202,
95,
1082,
202,
13198,
3597,
273,
3480,
18,
8837,
1138,
2932,
4025,
404,
8863,
1082,
202,
11231,
5962,
12,
5453,
1769,
1082,
202,
5453,
18,
588,
1702,
12,
21,
1769,
1082,
202,
11231,
5510,
2932,
18250,
486,
4489,
358,
9287,
2674,
3113,
629,
1769,
202,
202,
97,
202,
202,
14683,
261,
23116,
425,
13,
202,
202,
95,
1082,
202,
11231,
5510,
12,
73,
18,
24906,
7675,
17514,
1190,
2932,
2279,
783,
1027,
316,
326,
563,
444,
7923,
1769,
202,
202,
97,
202,
97,
2,
-100
] |
vec.add( ""+image.getBorder() ); | vec.add( ""+imageDomainObject.getBorder() ); | public void doGet( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException { IMCServiceInterface imcref = ApplicationServer.getIMCServiceInterface(); Utility.setDefaultHtmlContentType( res ); PrintWriter out = res.getWriter(); String metaIdStr = req.getParameter( "meta_id" ); int meta_id = Integer.parseInt( metaIdStr ); String label = req.getParameter( "label" ); if ( label == null ) { label = ""; } UserDomainObject user = Utility.getLoggedOnUser( req ); // Check if user has write rights if ( !imcref.checkDocAdminRights( meta_id, user ) ) { Utility.redirectToStartDocument( req, res ); return; } //*lets get some path we need later on File image_path = Utility.getDomainPrefPath( "image_path" ); //*lets get the dirlist, and add the rootdir to it List imageFolders = GetImages.getImageFolders( image_path, true ); imageFolders.add( 0, image_path ); //*the StringBuffers to save the image directories list html-code in StringBuffer folderOptions = createImageFolderOptionList(imageFolders,image_path); HttpSession session = req.getSession( true ); session.setAttribute( "imageFolderOptionList", folderOptions.toString() ); String imgNoStr = ( req.getParameter( "img_no" ) != null ) ? req.getParameter( "img_no" ) : req.getParameter( "img" ); int img_no = Integer.parseInt( imgNoStr ); DocumentMapper documentMapper = imcref.getDocumentMapper() ; ImageDomainObject image = documentMapper.getDocumentImage( meta_id, img_no ); // Check if ChangeImage is invoked by ImageBrowse, hence containing // an image filename as option value. String paramCancel = req.getParameter( ImageBrowse.PARAMETER_BUTTON__CANCEL ); String imageListParam = ""; if( null == paramCancel ) { imageListParam = req.getParameter( "imglist" ); } String browsedImageUrl = ( imageListParam == null ) ? "" : URLDecoder.decode( imageListParam ); String imageUrl = ( "".equals( browsedImageUrl ) && null != image ? image.getUrl() : browsedImageUrl ); // selected OPTION or "" //**************************************************************** File imageFile = new File( image_path, imageUrl ); int widthFromFile = 0; int heightFromFile = 0; if (imageFile.isFile()) { ImageFileMetaData imageFileMetaData = new ImageFileMetaData( imageFile ); widthFromFile = imageFileMetaData.getWidth(); heightFromFile = imageFileMetaData.getHeight(); } //**************************************************************** Vector vec = new Vector(); if ( null != image ) { int current_width = 0; try { current_width = "".equals( browsedImageUrl ) ? image.getWidth() : widthFromFile; } catch ( NumberFormatException ex ) { } int current_height = 0; try { current_height = "".equals( browsedImageUrl ) ? image.getHeight() : heightFromFile; } catch ( NumberFormatException ex ) { } int aspect = 0; if ( current_width * current_height != 0 ) { aspect = 100 * current_width / current_height; } String keepAspect = "checked"; if ( widthFromFile * heightFromFile != 0 && aspect != ( 100 * widthFromFile / heightFromFile ) ) { keepAspect = ""; } vec.add( "#imgName#" ); vec.add( HTMLConv.toHTMLSpecial(image.getName())); vec.add( "#imgRef#" ); vec.add( HTMLConv.toHTMLSpecial(imageUrl)); vec.add( "#imgWidth#" ); vec.add( current_width != 0 ? "" + current_width : "" + widthFromFile ); vec.add( "#origW#" ); // original imageWidth vec.add( "" + widthFromFile ); vec.add( "#imgHeight#" ); vec.add( current_height != 0 ? "" + current_height : "" + heightFromFile ); vec.add( "#origH#" ); vec.add( "" + heightFromFile ); // original imageHeight vec.add( "#keep_aspect#" ); vec.add( keepAspect ); vec.add( "#imgBorder#" ); vec.add( ""+image.getBorder() ); vec.add( "#imgVerticalSpace#" ); vec.add( ""+image.getVerticalSpace() ); vec.add( "#imgHorizontalSpace#" ); vec.add( ""+image.getHorizontalSpace() ); if ( "_top".equals( image.getTarget() ) ) { vec.add( "#target_name#" ); vec.add( "" ); vec.add( "#top_checked#" ); } else if ( "_self".equals( image.getTarget() ) ) { vec.add( "#target_name#" ); vec.add( "" ); vec.add( "#self_checked#" ); } else if ( "_blank".equals( image.getTarget() ) ) { vec.add( "#target_name#" ); vec.add( "" ); vec.add( "#blank_checked#" ); } else if ( "_parent".equals( image.getTarget() ) ) { vec.add( "#target_name#" ); vec.add( "" ); vec.add( "#blank_checked#" ); } else { vec.add( "#target_name#" ); vec.add( image.getTarget() ); vec.add( "#other_checked#" ); } vec.add( "selected" ); if ( "baseline".equals( image.getAlign() ) ) { vec.add( "#baseline_selected#" ); } else if ( "top".equals( image.getAlign() ) ) { vec.add( "#top_selected#" ); } else if ( "middle".equals( image.getAlign() ) ) { vec.add( "#middle_selected#" ); } else if ( "bottom".equals( image.getAlign() ) ) { vec.add( "#bottom_selected#" ); } else if ( "texttop".equals( image.getAlign() ) ) { vec.add( "#texttop_selected#" ); } else if ( "absmiddle".equals( image.getAlign() ) ) { vec.add( "#absmiddle_selected#" ); } else if ( "absbottom".equals( image.getAlign() ) ) { vec.add( "#absbottom_selected#" ); } else if ( "left".equals( image.getAlign() ) ) { vec.add( "#left_selected#" ); } else if ( "right".equals( image.getAlign() ) ) { vec.add( "#right_selected#" ); } else { vec.add( "#none_selected#" ); } vec.add( "selected" ); vec.add( "#imgAltText#" ); vec.add( image.getAlternateText()); vec.add( "#imgLowScr#" ); vec.add( image.getLowResolutionUrl() ); vec.add( "#imgRefLink#" ); vec.add( image.getLinkUrl() ); } else { vec.add( "#imgName#" ); vec.add( "" ); vec.add( "#imgRef#" ); vec.add( imageUrl ); vec.add( "#imgWidth#" ); vec.add( "" + widthFromFile ); vec.add( "#imgHeight#" ); vec.add( "" + heightFromFile ); vec.add( "#origW#" ); vec.add( "" + widthFromFile ); vec.add( "#origH#" ); vec.add( "" + heightFromFile ); vec.add( "#imgBorder#" ); vec.add( "0" ); vec.add( "#imgVerticalSpace#" ); vec.add( "0" ); vec.add( "#imgHorizontalSpace#" ); vec.add( "0" ); vec.add( "#target_name#" ); vec.add( "" ); vec.add( "#self_checked#" ); vec.add( "selected" ); vec.add( "#top_selected#" ); vec.add( "selected" ); vec.add( "#imgAltText#" ); vec.add( "" ); vec.add( "#imgLowScr#" ); vec.add( "" ); vec.add( "#imgRefLink#" ); vec.add( "" ); } vec.add( "#imgUrl#" ); vec.add( imcref.getImageUrl() ); vec.add( "#getMetaId#" ); vec.add( String.valueOf( meta_id ) ); vec.add( "#img_no#" ); vec.add( String.valueOf( img_no ) ); vec.add( "#folders#" ); vec.add( folderOptions.toString() ); vec.add( "#label#" ); vec.add( label ); String htmlStr = imcref.getAdminTemplate( "change_img.html", user, vec ); out.print( htmlStr ); } | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/ff9b2edfb82af582993934591d4051e42e2887ab/ChangeImage.java/clean/server/src/com/imcode/imcms/servlet/admin/ChangeImage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
23611,
12,
9984,
1111,
16,
12446,
400,
262,
1216,
16517,
16,
1860,
288,
3639,
6246,
39,
18348,
709,
71,
1734,
273,
4257,
2081,
18,
588,
3445,
39,
18348,
5621,
3639,
13134,
18,
542,
1868,
4353,
8046,
12,
400,
11272,
3639,
14071,
596,
273,
400,
18,
588,
2289,
5621,
3639,
514,
2191,
548,
1585,
273,
1111,
18,
588,
1662,
12,
315,
3901,
67,
350,
6,
11272,
3639,
509,
2191,
67,
350,
273,
2144,
18,
2670,
1702,
12,
2191,
548,
1585,
11272,
3639,
514,
1433,
273,
1111,
18,
588,
1662,
12,
315,
1925,
6,
11272,
3639,
309,
261,
1433,
422,
446,
262,
288,
5411,
1433,
273,
1408,
31,
3639,
289,
3639,
2177,
3748,
921,
729,
273,
13134,
18,
588,
19862,
1398,
1299,
12,
1111,
11272,
3639,
368,
2073,
309,
729,
711,
1045,
14989,
3639,
309,
261,
401,
381,
71,
1734,
18,
1893,
1759,
4446,
18464,
12,
2191,
67,
350,
16,
729,
262,
262,
288,
5411,
13134,
18,
7590,
28939,
2519,
12,
1111,
16,
400,
11272,
5411,
327,
31,
3639,
289,
3639,
368,
14,
17307,
336,
2690,
589,
732,
1608,
5137,
603,
3639,
1387,
1316,
67,
803,
273,
13134,
18,
588,
3748,
23218,
743,
12,
315,
2730,
67,
803,
6,
11272,
3639,
368,
14,
17307,
336,
326,
1577,
1098,
16,
471,
527,
326,
1365,
1214,
358,
518,
3639,
987,
1316,
14885,
273,
968,
8946,
18,
588,
2040,
14885,
12,
1316,
67,
803,
16,
638,
11272,
3639,
1316,
14885,
18,
1289,
12,
374,
16,
1316,
67,
803,
11272,
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,
23611,
12,
9984,
1111,
16,
12446,
400,
262,
1216,
16517,
16,
1860,
288,
3639,
6246,
39,
18348,
709,
71,
1734,
273,
4257,
2081,
18,
588,
3445,
39,
18348,
5621,
3639,
13134,
18,
542,
1868,
4353,
8046,
12,
400,
11272,
3639,
14071,
596,
273,
400,
18,
588,
2289,
5621,
3639,
514,
2191,
548,
1585,
273,
1111,
18,
588,
1662,
12,
315,
3901,
67,
350,
6,
11272,
3639,
509,
2191,
67,
350,
273,
2144,
18,
2670,
1702,
12,
2191,
548,
1585,
11272,
3639,
514,
1433,
273,
1111,
18,
588,
1662,
12,
315,
1925,
6,
11272,
3639,
309,
261,
1433,
422,
446,
262,
288,
5411,
1433,
273,
1408,
31,
3639,
289,
3639,
2177,
3748,
921,
729,
273,
13134,
18,
2
] |
result = ERXExtensions.rawPrimaryKeyFromPrimaryKeyAndEO(pk, this); | NSArray primaryKeyAttributeNames=primaryKeyAttributeNames(); if (primaryKeyAttributeNames.count()>1) throw new RuntimeException("rawPrimaryKeyInTransaction does not support compound primary keys"); result=pk.objectForKey(primaryKeyAttributeNames.lastObject()); | public Object rawPrimaryKeyInTransaction() { Object result = rawPrimaryKey(); if (result == null) { NSDictionary pk = primaryKeyDictionary(false); if (cat.isDebugEnabled()) cat.debug("pk: " + pk); // FIXME: What the heck is this?!?! result = ERXExtensions.rawPrimaryKeyFromPrimaryKeyAndEO(pk, this); } return result; } | 22541 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/22541/b0f544472d1c1d3ccc96b88298a3965feadb64c5/ERXGenericRecord.java/clean/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXGenericRecord.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1831,
11575,
382,
3342,
1435,
288,
3639,
1033,
563,
273,
1831,
11575,
5621,
3639,
309,
261,
2088,
422,
446,
13,
288,
5411,
423,
9903,
3192,
2365,
273,
8841,
10905,
12,
5743,
1769,
5411,
309,
261,
2574,
18,
291,
2829,
1526,
10756,
6573,
18,
4148,
2932,
5465,
30,
315,
397,
2365,
1769,
5411,
368,
9852,
30,
18734,
326,
366,
762,
353,
333,
35,
5,
35,
5,
6647,
11472,
1076,
8841,
26080,
33,
8258,
653,
26080,
5621,
309,
261,
8258,
653,
26080,
18,
1883,
1435,
34,
21,
13,
604,
394,
3235,
2932,
1899,
11575,
382,
3342,
1552,
486,
2865,
11360,
3354,
1311,
8863,
563,
33,
5465,
18,
1612,
19759,
12,
8258,
653,
26080,
18,
2722,
921,
10663,
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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
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1831,
11575,
382,
3342,
1435,
288,
3639,
1033,
563,
273,
1831,
11575,
5621,
3639,
309,
261,
2088,
422,
446,
13,
288,
5411,
423,
9903,
3192,
2365,
273,
8841,
10905,
12,
5743,
1769,
5411,
309,
261,
2574,
18,
291,
2829,
1526,
10756,
6573,
18,
4148,
2932,
5465,
30,
315,
397,
2365,
1769,
5411,
368,
9852,
30,
18734,
326,
366,
762,
353,
333,
35,
5,
35,
5,
6647,
11472,
1076,
8841,
26080,
33,
8258,
653,
26080,
5621,
309,
261,
8258,
653,
26080,
18,
1883,
1435,
34,
21,
13,
604,
394,
3235,
2932,
1899,
11575,
382,
3342,
1552,
486,
2865,
11360,
3354,
1311,
8863,
563,
33,
5465,
18,
1612,
19759,
12,
8258,
653,
26080,
18,
2722,
921,
10663,
3639,
2
] |
if (element instanceof CompositeElement) { ASTNode parent = element; ChameleonTransforming.transformChildren(parent); child1 = null; child2 = Helper.shiftForwardToNonSpace(parent.getFirstChildNode()); int indent = -1; for (; child2 != null; child1 = child2, child2 = Helper.shiftForwardToNonSpace(child2.getTreeNext())) { if (child1 != null || SourceTreeToPsiMap.treeElementToPsi(parent) instanceof PsiFile) { child2 = myCodeFormatter.format(SourceTreeToPsiMap.treeElementToPsi(parent), child1, child2, mySettings, myHelper); } if (indent < 0) { indent = myIndentAdjuster.calculateIndent(child2, -1); } if (child2 != null) { child2 = myIndentAdjuster.adjustIndent(child2, indent); } } element = myWrapper.wrap(element); element = myIndentAdjuster.adjustIndent(element, parent_indent); myCommentFormatter.process(element); indent = -1; for (ASTNode child = element.getFirstChildNode(); child != null; child = child.getTreeNext()) { if (indent < 0) { indent = myIndentAdjuster.calculateIndent(child, -1); } child = process(child, indent); } } | public ASTNode process(ASTNode element, int parent_indent) { final FormattingModelBuilder builder = SourceTreeToPsiMap.treeElementToPsi(element).getContainingFile().getLanguage() .getFormattingModelBuilder(); if (builder != null) { TextRange range = element.getTextRange(); return processRange(element, range.getStartOffset(), range.getEndOffset()); } if (useNewFormatter(myHelper.getFileType())) { TextRange range = element.getTextRange(); int startOffset = range.getStartOffset(); int endOffset = range.getEndOffset(); processRange(element, startOffset, endOffset); return element; } if (element instanceof CompositeElement) { ASTNode parent = element; ChameleonTransforming.transformChildren(parent); child1 = null; child2 = Helper.shiftForwardToNonSpace(parent.getFirstChildNode()); int indent = -1; for (; child2 != null; child1 = child2, child2 = Helper.shiftForwardToNonSpace(child2.getTreeNext())) { if (child1 != null || SourceTreeToPsiMap.treeElementToPsi(parent) instanceof PsiFile) { child2 = myCodeFormatter.format(SourceTreeToPsiMap.treeElementToPsi(parent), child1, child2, mySettings, myHelper); } if (indent < 0) { indent = myIndentAdjuster.calculateIndent(child2, -1); } if (child2 != null) { child2 = myIndentAdjuster.adjustIndent(child2, indent); } } element = myWrapper.wrap(element); element = myIndentAdjuster.adjustIndent(element, parent_indent); myCommentFormatter.process(element); indent = -1; for (ASTNode child = element.getFirstChildNode(); child != null; child = child.getTreeNext()) { if (indent < 0) { indent = myIndentAdjuster.calculateIndent(child, -1); } child = process(child, indent); } } return element; } | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/b0751de4f90f5cf60ea788424eae6a1c0e6435f9/CodeFormatterFacade.java/buggy/source/com/intellij/psi/impl/source/codeStyle/CodeFormatterFacade.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9183,
907,
1207,
12,
9053,
907,
930,
16,
509,
982,
67,
9355,
13,
288,
565,
727,
4077,
1787,
1488,
1263,
2089,
273,
4998,
2471,
774,
52,
7722,
863,
18,
3413,
1046,
774,
52,
7722,
12,
2956,
2934,
588,
24344,
812,
7675,
588,
3779,
1435,
1377,
263,
588,
23974,
1488,
1263,
5621,
565,
309,
261,
9574,
480,
446,
13,
288,
1377,
3867,
2655,
1048,
273,
930,
18,
588,
1528,
2655,
5621,
1377,
327,
1207,
2655,
12,
2956,
16,
1048,
18,
588,
1685,
2335,
9334,
1048,
18,
588,
1638,
2335,
10663,
565,
289,
565,
309,
261,
1202,
1908,
5074,
12,
4811,
2276,
18,
588,
28941,
1435,
3719,
288,
1377,
3867,
2655,
1048,
273,
930,
18,
588,
1528,
2655,
5621,
1377,
509,
18245,
273,
1048,
18,
588,
1685,
2335,
5621,
1377,
509,
25507,
273,
1048,
18,
588,
1638,
2335,
5621,
1377,
1207,
2655,
12,
2956,
16,
18245,
16,
25507,
1769,
1377,
327,
930,
31,
565,
289,
565,
309,
261,
2956,
1276,
14728,
1046,
13,
288,
1377,
9183,
907,
982,
273,
930,
31,
1377,
1680,
301,
6516,
265,
4059,
310,
18,
6547,
4212,
12,
2938,
1769,
1377,
1151,
21,
273,
446,
31,
1377,
1151,
22,
273,
9705,
18,
4012,
8514,
774,
3989,
3819,
12,
2938,
18,
588,
3759,
25550,
10663,
1377,
509,
3504,
273,
300,
21,
31,
1377,
364,
261,
31,
1151,
22,
480,
446,
31,
1151,
21,
273,
1151,
22,
16,
1151,
22,
273,
9705,
18,
4012,
8514,
774,
3989,
3819,
12,
3624,
22,
18,
588,
2471,
2134,
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,
9183,
907,
1207,
12,
9053,
907,
930,
16,
509,
982,
67,
9355,
13,
288,
565,
727,
4077,
1787,
1488,
1263,
2089,
273,
4998,
2471,
774,
52,
7722,
863,
18,
3413,
1046,
774,
52,
7722,
12,
2956,
2934,
588,
24344,
812,
7675,
588,
3779,
1435,
1377,
263,
588,
23974,
1488,
1263,
5621,
565,
309,
261,
9574,
480,
446,
13,
288,
1377,
3867,
2655,
1048,
273,
930,
18,
588,
1528,
2655,
5621,
1377,
327,
1207,
2655,
12,
2956,
16,
1048,
18,
588,
1685,
2335,
9334,
1048,
18,
588,
1638,
2335,
10663,
565,
289,
565,
309,
261,
1202,
1908,
5074,
12,
4811,
2276,
18,
588,
28941,
1435,
3719,
288,
1377,
3867,
2655,
1048,
273,
930,
18,
588,
1528,
2655,
5621,
2
] |
|
finally { try { logstr.close(); } catch( IOException e ) { throw new TaskException( "Error", e ); } } | public boolean execute() throws TaskException { getLogger().debug( "Using SUN rmic compiler" ); Commandline cmd = setupRmicCommand(); // Create an instance of the rmic, redirecting output to // the project log try { Class c = Class.forName( "sun.rmi.rmic.Main" ); Constructor cons = c.getConstructor( new Class[] {OutputStream.class, String.class} ); Object rmic = cons.newInstance( new Object[]{System.out, "rmic"} ); Method doRmic = c.getMethod( "compile", new Class[]{String[].class} ); Boolean ok = (Boolean)doRmic.invoke( rmic, ( new Object[]{cmd.getArguments()} ) ); return ok.booleanValue(); } catch( ClassNotFoundException ex ) { throw new TaskException( "Cannot use SUN rmic, as it is not available" + " A common solution is to set the environment variable" + " JAVA_HOME or CLASSPATH." ); } catch( Exception ex ) { if( ex instanceof TaskException ) { throw (TaskException)ex; } else { throw new TaskException( "Error starting SUN rmic: ", ex ); } } finally { try { logstr.close(); } catch( IOException e ) { throw new TaskException( "Error", e ); } } } | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/0c1e2fd1049fcf9b534ff1e4c07d646990aee62e/SunRmic.java/buggy/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/rmic/SunRmic.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1836,
1435,
3639,
1216,
3837,
503,
565,
288,
3639,
7156,
7675,
4148,
12,
315,
7736,
348,
2124,
6692,
335,
5274,
6,
11272,
3639,
3498,
1369,
1797,
273,
3875,
54,
27593,
2189,
5621,
3639,
368,
1788,
392,
791,
434,
326,
6692,
335,
16,
3136,
310,
876,
358,
3639,
368,
326,
1984,
613,
3639,
775,
3639,
288,
5411,
1659,
276,
273,
1659,
18,
1884,
461,
12,
315,
16924,
18,
8864,
77,
18,
8864,
335,
18,
6376,
6,
11272,
5411,
11417,
1959,
273,
276,
18,
588,
6293,
12,
394,
1659,
8526,
5411,
288,
4632,
18,
1106,
16,
514,
18,
1106,
97,
11272,
5411,
1033,
6692,
335,
273,
1959,
18,
2704,
1442,
12,
394,
1033,
63,
7073,
3163,
18,
659,
16,
315,
8864,
335,
6,
97,
11272,
5411,
2985,
741,
54,
27593,
273,
276,
18,
588,
1305,
12,
315,
11100,
3113,
29159,
394,
1659,
63,
7073,
780,
63,
8009,
1106,
97,
11272,
5411,
3411,
1529,
273,
261,
5507,
13,
2896,
54,
27593,
18,
14407,
12,
6692,
335,
16,
4766,
1171,
261,
394,
1033,
63,
7073,
4172,
18,
588,
4628,
17767,
262,
11272,
5411,
327,
1529,
18,
6494,
620,
5621,
3639,
289,
3639,
1044,
12,
10403,
431,
262,
3639,
288,
5411,
604,
394,
3837,
503,
12,
315,
4515,
999,
348,
2124,
6692,
335,
16,
487,
518,
353,
486,
2319,
6,
397,
19694,
315,
432,
2975,
6959,
353,
358,
444,
326,
3330,
2190,
6,
397,
19694,
315,
21227,
67,
14209,
578,
7383,
4211,
1199,
11272,
3639,
289,
3639,
1044,
12,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1836,
1435,
3639,
1216,
3837,
503,
565,
288,
3639,
7156,
7675,
4148,
12,
315,
7736,
348,
2124,
6692,
335,
5274,
6,
11272,
3639,
3498,
1369,
1797,
273,
3875,
54,
27593,
2189,
5621,
3639,
368,
1788,
392,
791,
434,
326,
6692,
335,
16,
3136,
310,
876,
358,
3639,
368,
326,
1984,
613,
3639,
775,
3639,
288,
5411,
1659,
276,
273,
1659,
18,
1884,
461,
12,
315,
16924,
18,
8864,
77,
18,
8864,
335,
18,
6376,
6,
11272,
5411,
11417,
1959,
273,
276,
18,
588,
6293,
12,
394,
1659,
8526,
5411,
288,
4632,
18,
1106,
16,
514,
18,
1106,
97,
11272,
5411,
1033,
6692,
335,
273,
1959,
18,
2704,
1442,
12,
394,
1033,
63,
7073,
3163,
18,
659,
2
] |
|
floatingWindow = new ProgressFloatingWindow(window, imageCanvas); | synchronized(windowLock){ floatingWindow = new ProgressFloatingWindow(window, imageCanvas); } | void openFloatingWindow() { //Do we already have one? if (floatingWindow != null) return; //Don't bother if there is nothing showing yet if (!window.getShell().isVisible()) return; floatingWindow = new ProgressFloatingWindow(window, imageCanvas); WorkbenchJob floatingJob = new WorkbenchJob(ProgressMessages .getString("AnimationItem.openFloatingWindowJob")) { //$NON-NLS-1$ /* * (non-Javadoc) * * @see org.eclipse.ui.progress.UIJob#runInUIThread(org.eclipse.core.runtime.IProgressMonitor) */ public IStatus runInUIThread(IProgressMonitor monitor) { synchronized (windowLock) { //Clear the window if the parent is not visibile if (window.getShell() == null || !window.getShell().isVisible() || getControl().isDisposed()) floatingWindow = null; if (floatingWindow == null) return Status.CANCEL_STATUS; floatingWindow.open(); return Status.OK_STATUS; } } /* (non-Javadoc) * @see org.eclipse.ui.progress.WorkbenchJob#shouldRun() */ public boolean shouldRun() { if (AnimationManager.getInstance().isAnimated()) return true; //If there is no window than do not run floatingWindow = null; return false; } }; floatingJob.setSystem(true); floatingJob.schedule(500); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/cc098a5f454d6e378ebe3305bdbd85ec68305434/AnimationItem.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/AnimationItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
1696,
28344,
3829,
1435,
288,
202,
202,
759,
3244,
732,
1818,
1240,
1245,
35,
202,
202,
430,
261,
5659,
310,
3829,
480,
446,
13,
1082,
202,
2463,
31,
202,
202,
759,
22293,
1404,
23440,
309,
1915,
353,
5083,
17253,
4671,
202,
202,
430,
16051,
5668,
18,
588,
13220,
7675,
291,
6207,
10756,
1082,
202,
2463,
31,
202,
202,
5659,
310,
3829,
273,
394,
10980,
28344,
3829,
12,
5668,
16,
1316,
12971,
1769,
202,
202,
2421,
22144,
2278,
13861,
2278,
273,
394,
4147,
22144,
2278,
12,
5491,
5058,
9506,
202,
18,
588,
780,
2932,
10816,
1180,
18,
3190,
28344,
3829,
2278,
6,
3719,
288,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
20308,
9506,
380,
261,
5836,
17,
24060,
13,
9506,
380,
4697,
380,
632,
5946,
2358,
18,
20416,
18,
4881,
18,
8298,
18,
5370,
2278,
7,
2681,
382,
57,
1285,
76,
896,
12,
3341,
18,
20416,
18,
3644,
18,
9448,
18,
45,
5491,
7187,
13,
9506,
1195,
1082,
202,
482,
467,
1482,
1086,
382,
57,
1285,
76,
896,
12,
45,
5491,
7187,
6438,
13,
288,
9506,
202,
22043,
261,
5668,
2531,
13,
288,
6862,
202,
759,
9094,
326,
2742,
309,
326,
982,
353,
486,
2281,
495,
398,
6862,
202,
430,
261,
5668,
18,
588,
13220,
1435,
422,
446,
15106,
202,
20081,
401,
5668,
18,
588,
13220,
7675,
291,
6207,
1435,
15106,
202,
20081,
27174,
7675,
291,
1669,
7423,
10756,
25083,
202,
5659,
310,
3829,
273,
446,
31,
6862,
25083,
202,
430,
261,
5659,
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,
6459,
1696,
28344,
3829,
1435,
288,
202,
202,
759,
3244,
732,
1818,
1240,
1245,
35,
202,
202,
430,
261,
5659,
310,
3829,
480,
446,
13,
1082,
202,
2463,
31,
202,
202,
759,
22293,
1404,
23440,
309,
1915,
353,
5083,
17253,
4671,
202,
202,
430,
16051,
5668,
18,
588,
13220,
7675,
291,
6207,
10756,
1082,
202,
2463,
31,
202,
202,
5659,
310,
3829,
273,
394,
10980,
28344,
3829,
12,
5668,
16,
1316,
12971,
1769,
202,
202,
2421,
22144,
2278,
13861,
2278,
273,
394,
4147,
22144,
2278,
12,
5491,
5058,
9506,
202,
18,
588,
780,
2932,
10816,
1180,
18,
3190,
28344,
3829,
2278,
6,
3719,
288,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
20308,
9506,
380,
261,
2
] |
public static String getReportDocument( HttpServletRequest request ) { String filePath = getParameter( request, PARAM_REPORT_DOCUMENT ); filePath = preProcess( filePath ); if ( "".equals( filePath ) ) //$NON-NLS-1$ { filePath = generateDocumentFromReport( request ); filePath = createDocumentPath( filePath, request ); } else { filePath = createAbsolutePath( filePath ); } return filePath; } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/5c8dd96b2b7249db362e597132210258101979a5/ParameterAccessor.java/clean/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
22452,
2519,
12,
9984,
590,
262,
202,
95,
202,
202,
780,
4612,
273,
5575,
12,
590,
16,
4655,
67,
22710,
67,
18450,
11272,
202,
202,
22787,
273,
675,
2227,
12,
4612,
11272,
202,
202,
430,
261,
1408,
18,
14963,
12,
4612,
262,
262,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
95,
1082,
202,
22787,
273,
2103,
2519,
1265,
4820,
12,
590,
11272,
1082,
202,
22787,
273,
27569,
743,
12,
4612,
16,
590,
11272,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
22787,
273,
752,
10368,
743,
12,
4612,
11272,
202,
202,
97,
9506,
202,
2463,
4612,
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,
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,
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,
514,
22452,
2519,
12,
9984,
590,
262,
202,
95,
202,
202,
780,
4612,
273,
5575,
12,
590,
16,
4655,
67,
22710,
67,
18450,
11272,
202,
202,
22787,
273,
675,
2227,
12,
4612,
11272,
202,
202,
430,
261,
1408,
18,
14963,
12,
4612,
262,
262,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
95,
1082,
202,
22787,
273,
2103,
2519,
1265,
4820,
12,
590,
11272,
1082,
202,
22787,
273,
27569,
743,
12,
4612,
16,
590,
11272,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
22787,
273,
752,
10368,
743,
12,
4612,
11272,
202,
202,
97,
9506,
202,
2463,
4612,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
subArrayElementJavaType == java.lang.String.class); | subArrayElementJavaType == java.lang.String.class || isNIOBufferClass(subArrayElementJavaType)); | protected boolean javaArgTypeNeedsDataCopy(JavaType javaArgType) { if (javaArgType.isArray()) { Class subArrayElementJavaType = javaArgType.getJavaClass().getComponentType(); return (subArrayElementJavaType.isArray() || subArrayElementJavaType == java.lang.String.class); } return false; } | 47702 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47702/4b93bb531605fa082bdad6452d3e6a51cbb15bed/CMethodBindingEmitter.java/buggy/src/net/java/games/gluegen/CMethodBindingEmitter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1250,
2252,
4117,
559,
26419,
751,
2951,
12,
31819,
2252,
4117,
559,
13,
288,
565,
309,
261,
6290,
4117,
559,
18,
291,
1076,
10756,
288,
1377,
1659,
720,
1076,
1046,
31819,
273,
2252,
4117,
559,
18,
588,
5852,
797,
7675,
588,
28116,
5621,
1377,
327,
261,
1717,
1076,
1046,
31819,
18,
291,
1076,
1435,
747,
2868,
720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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1250,
2252,
4117,
559,
26419,
751,
2951,
12,
31819,
2252,
4117,
559,
13,
288,
565,
309,
261,
6290,
4117,
559,
18,
291,
1076,
10756,
288,
1377,
1659,
720,
1076,
1046,
31819,
273,
2252,
4117,
559,
18,
588,
5852,
797,
7675,
588,
28116,
5621,
1377,
327,
261,
1717,
1076,
1046,
31819,
18,
291,
1076,
1435,
747,
2868,
720,
1076,
1046,
31819,
422,
2252,
18,
4936,
18,
780,
18,
1106,
747,
8197,
4294,
1892,
797,
12,
1717,
1076,
1046,
31819,
10019,
565,
289,
565,
327,
629,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
String editName= RefactoringCoreMessages.getString("RenamePrivateMethodRefactoring.rename_method"); | String editName= "Update method reference"; | private void addReferenceUpdates(TextChange change) throws JavaModelException{ SearchResultGroup[] grouped= getOccurrences(null); if (grouped.length != 0){ SearchResult[] results= grouped[0].getSearchResults(); for (int i= 0; i < results.length; i++){ String editName= RefactoringCoreMessages.getString("RenamePrivateMethodRefactoring.rename_method"); change.addTextEdit(editName , createTextChange(results[i])); } } } | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/4eadb7bc2e48237df21551b8d58cc1e7a3f7bcca/RenamePrivateMethodRefactoring.java/buggy/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePrivateMethodRefactoring.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
527,
2404,
5121,
12,
1528,
3043,
2549,
13,
1216,
5110,
1488,
503,
95,
202,
202,
24916,
1114,
8526,
10303,
33,
336,
12397,
12228,
12,
2011,
1769,
1082,
202,
430,
261,
25472,
18,
2469,
480,
374,
15329,
9506,
202,
24916,
8526,
1686,
33,
10303,
63,
20,
8009,
588,
2979,
3447,
5621,
9506,
202,
1884,
261,
474,
277,
33,
374,
31,
277,
411,
1686,
18,
2469,
31,
277,
27245,
95,
6862,
202,
780,
3874,
461,
33,
868,
3493,
6053,
4670,
5058,
18,
588,
780,
2932,
16019,
6014,
1305,
426,
3493,
6053,
18,
18539,
67,
2039,
8863,
6862,
202,
3427,
18,
1289,
1528,
4666,
12,
4619,
461,
269,
752,
1528,
3043,
12,
4717,
63,
77,
5717,
1769,
9506,
202,
97,
202,
202,
97,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
527,
2404,
5121,
12,
1528,
3043,
2549,
13,
1216,
5110,
1488,
503,
95,
202,
202,
24916,
1114,
8526,
10303,
33,
336,
12397,
12228,
12,
2011,
1769,
1082,
202,
430,
261,
25472,
18,
2469,
480,
374,
15329,
9506,
202,
24916,
8526,
1686,
33,
10303,
63,
20,
8009,
588,
2979,
3447,
5621,
9506,
202,
1884,
261,
474,
277,
33,
374,
31,
277,
411,
1686,
18,
2469,
31,
277,
27245,
95,
6862,
202,
780,
3874,
461,
33,
868,
3493,
6053,
4670,
5058,
18,
588,
780,
2932,
16019,
6014,
1305,
426,
3493,
6053,
18,
18539,
67,
2039,
8863,
6862,
202,
3427,
18,
1289,
1528,
4666,
12,
4619,
461,
269,
752,
1528,
3043,
12,
4717,
63,
77,
5717,
1769,
9506,
2
] |
public void wrap(InputStream inStream, OutputStream outStream, MessageProp mp) throws GSSException { //System.out.println("GSSUPContextSpi.wrap"); } | 46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/2e5a24f22ae8a6308d5b0dcf6a5ef1926141f3e6/GSSUPContextSpi.java/buggy/src/org/jacorb/security/sas/GSSUPContextSpi.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
4113,
12,
4348,
267,
1228,
16,
4632,
659,
1228,
16,
1079,
4658,
1291,
13,
15069,
43,
1260,
503,
95,
759,
3163,
18,
659,
18,
8222,
2932,
43,
1260,
3079,
1042,
21887,
18,
4113,
8863,
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,
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079,
1042,
21887,
18,
4113,
8863,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
public final void emitSTFDtoc (int FRT, Offset off, int Rz) { int offset = off.toInt(); if (VM.VerifyAssertions) VM._assert(fits(offset, 32)); | public final void emitSTFDtoc (int FRT, Offset offset, int Rz) { | public final void emitSTFDtoc (int FRT, Offset off, int Rz) { //KV:todo int offset = off.toInt(); if (VM.VerifyAssertions) VM._assert(fits(offset, 32)); if (fits(offset, 16)) { emitSTFD(FRT, offset, JTOC); } else if (0 == (offset&0x8000)) { emitADDIS ( Rz, JTOC, offset>>16); emitSTFD(FRT, offset&0xFFFF, Rz); } else { emitADDIS ( Rz, JTOC, (offset>>16)+1); emitSTFD(FRT, offset|0xFFFF0000, Rz); } } | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/9b22bffbb06319b08a93aed2a8f11de10ba3fecf/VM_Assembler.java/clean/rvm/src/vm/arch/powerPC/compilers/baseline/VM_Assembler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
918,
3626,
882,
16894,
1391,
261,
474,
478,
12185,
16,
9874,
3397,
16,
509,
534,
94,
13,
288,
565,
368,
16945,
30,
9012,
565,
509,
1384,
273,
3397,
18,
869,
1702,
5621,
565,
309,
261,
7397,
18,
8097,
8213,
1115,
13,
8251,
6315,
11231,
12,
18352,
12,
3348,
16,
3847,
10019,
565,
309,
261,
18352,
12,
3348,
16,
2872,
3719,
288,
1377,
3626,
882,
16894,
12,
9981,
56,
16,
1384,
16,
804,
4296,
39,
1769,
565,
289,
469,
309,
261,
20,
422,
261,
3348,
10,
20,
92,
26021,
3719,
288,
1377,
3626,
1880,
13498,
261,
534,
94,
16,
804,
4296,
39,
16,
1384,
9778,
2313,
1769,
1377,
3626,
882,
16894,
12,
9981,
56,
16,
1384,
10,
20,
21718,
16,
534,
94,
1769,
565,
289,
469,
288,
1377,
3626,
1880,
13498,
261,
534,
94,
16,
804,
4296,
39,
16,
261,
3348,
9778,
2313,
27921,
21,
1769,
1377,
3626,
882,
16894,
12,
9981,
56,
16,
1384,
96,
20,
21718,
2787,
16,
534,
94,
1769,
565,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
918,
3626,
882,
16894,
1391,
261,
474,
478,
12185,
16,
9874,
3397,
16,
509,
534,
94,
13,
288,
565,
368,
16945,
30,
9012,
565,
509,
1384,
273,
3397,
18,
869,
1702,
5621,
565,
309,
261,
7397,
18,
8097,
8213,
1115,
13,
8251,
6315,
11231,
12,
18352,
12,
3348,
16,
3847,
10019,
565,
309,
261,
18352,
12,
3348,
16,
2872,
3719,
288,
1377,
3626,
882,
16894,
12,
9981,
56,
16,
1384,
16,
804,
4296,
39,
1769,
565,
289,
469,
309,
261,
20,
422,
261,
3348,
10,
20,
92,
26021,
3719,
288,
1377,
3626,
1880,
13498,
261,
534,
94,
16,
804,
4296,
39,
16,
1384,
9778,
2313,
1769,
1377,
3626,
882,
16894,
12,
9981,
56,
16,
1384,
10,
2
] |
public int hashCode() | public final int hashCode() | public int hashCode() { return port + addr.hashCode(); } | 45163 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45163/b36f8eef237505f078dd95cd2d50183f990c35aa/InetSocketAddress.java/buggy/libjava/java/net/InetSocketAddress.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
509,
13374,
1435,
565,
288,
202,
2463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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
509,
13374,
1435,
565,
288,
202,
2463,
1756,
397,
3091,
18,
2816,
1085,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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(); } | 45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/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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
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
] |
||
private static int PushLocalFrame(VM_JNIEnvironment env) { | private static int PushLocalFrame(VM_JNIEnvironment env, int capacity) { | private static int PushLocalFrame(VM_JNIEnvironment env) { if (traceJNI) VM.sysWrite("JNI called: PushLocalFrame \n"); VM.sysWrite("JNI ERROR: PushLocalFrame not implemented yet, exiting ...\n"); VM.sysExit(VM.exitStatusUnsupportedInternalOp); return -1; } | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/6092d61f50a21ad2a2c1edb89aa22449a5d0a9c1/VM_JNIFunctions.java/buggy/rvm/src/vm/jni/VM_JNIFunctions.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
509,
8547,
2042,
3219,
12,
7397,
67,
46,
50,
45,
5494,
1550,
16,
509,
7519,
13,
288,
565,
309,
261,
5129,
46,
50,
45,
13,
8251,
18,
9499,
3067,
2932,
46,
50,
45,
2566,
30,
8547,
2042,
3219,
521,
82,
8863,
4202,
8251,
18,
9499,
3067,
2932,
46,
50,
45,
5475,
30,
8547,
2042,
3219,
486,
8249,
4671,
16,
15702,
1372,
64,
82,
8863,
565,
8251,
18,
9499,
6767,
12,
7397,
18,
8593,
1482,
8544,
3061,
3817,
1769,
565,
327,
300,
21,
31,
282,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
509,
8547,
2042,
3219,
12,
7397,
67,
46,
50,
45,
5494,
1550,
16,
509,
7519,
13,
288,
565,
309,
261,
5129,
46,
50,
45,
13,
8251,
18,
9499,
3067,
2932,
46,
50,
45,
2566,
30,
8547,
2042,
3219,
521,
82,
8863,
4202,
8251,
18,
9499,
3067,
2932,
46,
50,
45,
5475,
30,
8547,
2042,
3219,
486,
8249,
4671,
16,
15702,
1372,
64,
82,
8863,
565,
8251,
18,
9499,
6767,
12,
7397,
18,
8593,
1482,
8544,
3061,
3817,
1769,
565,
327,
300,
21,
31,
282,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ListBandDesign header = createListBand( headerSlot ); header.setBandType( ListBandDesign.BAND_HEADER ); listItem.setHeader( header ); listItem.setRepeatHeader( handle.repeatHeader( ) ); | if ( headerSlot.getCount( ) > 0 ) { ListBandDesign header = createListBand( headerSlot ); header.setBandType( ListBandDesign.BAND_HEADER ); listItem.setHeader( header ); listItem.setRepeatHeader( handle.repeatHeader( ) ); } | public void visitList( ListHandle handle ) { // Create ListItem ListItemDesign listItem = new ListItemDesign( ); setupListingItem( listItem, handle ); // Header SlotHandle headerSlot = handle.getHeader( ); ListBandDesign header = createListBand( headerSlot ); header.setBandType( ListBandDesign.BAND_HEADER ); listItem.setHeader( header ); listItem.setRepeatHeader( handle.repeatHeader( ) ); // Multiple groups SlotHandle groupsSlot = handle.getGroups( ); for ( int i = 0; i < groupsSlot.getCount( ); i++ ) { apply( groupsSlot.get( i ) ); if ( currentElement != null ) { GroupDesign group = (GroupDesign) currentElement; group.setGroupLevel(i); listItem.addGroup( group ); } } // List detail SlotHandle detailSlot = handle.getDetail( ); ListBandDesign detail =createListBand( detailSlot ); detail.setBandType( ListBandDesign.BAND_DETAIL ); listItem.setDetail( detail ); // List Footer SlotHandle footerSlot = handle.getFooter( ); ListBandDesign footer =createListBand( footerSlot ); footer.setBandType( ListBandDesign.BAND_DETAIL ); listItem.setFooter( footer ); currentElement = listItem; } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/aae2e17b3a4d3ea45b489ef2f0c59ab5e9576e76/EngineIRVisitor.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
682,
12,
987,
3259,
1640,
262,
202,
95,
202,
202,
759,
1788,
987,
1180,
202,
202,
13575,
15478,
19859,
273,
394,
987,
1180,
15478,
12,
11272,
202,
202,
8401,
19081,
1180,
12,
19859,
16,
1640,
11272,
202,
202,
759,
4304,
202,
202,
8764,
3259,
1446,
8764,
273,
1640,
18,
588,
1864,
12,
11272,
202,
202,
682,
14231,
15478,
1446,
273,
752,
682,
14231,
12,
1446,
8764,
11272,
202,
202,
3374,
18,
542,
14231,
559,
12,
987,
14231,
15478,
18,
38,
4307,
67,
7557,
11272,
202,
202,
1098,
1180,
18,
542,
1864,
12,
1446,
11272,
202,
202,
1098,
1180,
18,
542,
16750,
1864,
12,
1640,
18,
9374,
1864,
12,
262,
11272,
202,
202,
759,
13531,
3252,
202,
202,
8764,
3259,
3252,
8764,
273,
1640,
18,
588,
3621,
12,
11272,
202,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
3252,
8764,
18,
588,
1380,
12,
11272,
277,
9904,
262,
202,
202,
95,
1082,
202,
9010,
12,
3252,
8764,
18,
588,
12,
277,
262,
11272,
1082,
202,
430,
261,
22993,
480,
446,
262,
1082,
202,
95,
9506,
202,
1114,
15478,
1041,
273,
261,
1114,
15478,
13,
22993,
31,
9506,
202,
1655,
18,
542,
1114,
2355,
12,
77,
1769,
9506,
202,
1098,
1180,
18,
1289,
1114,
12,
1041,
11272,
1082,
202,
97,
202,
202,
97,
202,
202,
759,
987,
7664,
202,
202,
8764,
3259,
7664,
8764,
273,
1640,
18,
588,
6109,
12,
11272,
202,
202,
682,
14231,
15478,
7664,
273,
2640,
682,
14231,
12,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
682,
12,
987,
3259,
1640,
262,
202,
95,
202,
202,
759,
1788,
987,
1180,
202,
202,
13575,
15478,
19859,
273,
394,
987,
1180,
15478,
12,
11272,
202,
202,
8401,
19081,
1180,
12,
19859,
16,
1640,
11272,
202,
202,
759,
4304,
202,
202,
8764,
3259,
1446,
8764,
273,
1640,
18,
588,
1864,
12,
11272,
202,
202,
682,
14231,
15478,
1446,
273,
752,
682,
14231,
12,
1446,
8764,
11272,
202,
202,
3374,
18,
542,
14231,
559,
12,
987,
14231,
15478,
18,
38,
4307,
67,
7557,
11272,
202,
202,
1098,
1180,
18,
542,
1864,
12,
1446,
11272,
202,
202,
1098,
1180,
18,
542,
16750,
1864,
12,
1640,
18,
9374,
1864,
12,
262,
11272,
202,
202,
759,
13531,
2
] |
notifyViewerSelectionManager(getSelectedRange().x, getSelectedRange().y); | setModel(model, null); | public void setModel(IStructuredModel model, IAnnotationModel annotationModel) { // due to various forms of init, sometimes // the same variable is set more than once // with the same data, causing unneccesary updates, so // we do nothing if someones' trying to set the same // model we already have // if ((fModel != null) && (fModel == model) && (getDocument() == model.getStructuredDocument())) { return; } fModel = model; setDocument(model.getStructuredDocument(), annotationModel); // CaretEvent is not sent to ViewerSelectionManager after Save As. // Need to notify ViewerSelectionManager here. notifyViewerSelectionManager(getSelectedRange().x, getSelectedRange().y); } | 13989 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13989/425ffe7b68526a8574007dbae9d4ecfb097cff08/StructuredTextViewer.java/buggy/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/StructuredTextViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
19027,
12,
45,
30733,
1488,
938,
16,
467,
3257,
1488,
3204,
1488,
13,
288,
202,
202,
759,
6541,
358,
11191,
10138,
434,
1208,
16,
16594,
202,
202,
759,
326,
1967,
2190,
353,
444,
1898,
2353,
3647,
202,
202,
759,
598,
326,
1967,
501,
16,
25416,
16209,
557,
764,
814,
4533,
16,
1427,
202,
202,
759,
732,
741,
5083,
309,
2690,
5322,
11,
8374,
358,
444,
326,
1967,
202,
202,
759,
938,
732,
1818,
1240,
202,
202,
759,
3196,
202,
430,
14015,
74,
1488,
480,
446,
13,
597,
261,
74,
1488,
422,
938,
13,
597,
261,
588,
2519,
1435,
422,
938,
18,
588,
30733,
2519,
1435,
3719,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
74,
1488,
273,
938,
31,
202,
202,
542,
2519,
12,
2284,
18,
588,
30733,
2519,
9334,
3204,
1488,
1769,
202,
202,
759,
385,
20731,
1133,
353,
486,
3271,
358,
4441,
264,
6233,
1318,
1839,
7074,
2970,
18,
202,
202,
759,
12324,
358,
5066,
4441,
264,
6233,
1318,
2674,
18,
202,
202,
12336,
18415,
6233,
1318,
12,
588,
7416,
2655,
7675,
92,
16,
16625,
2655,
7675,
93,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
19027,
12,
45,
30733,
1488,
938,
16,
467,
3257,
1488,
3204,
1488,
13,
288,
202,
202,
759,
6541,
358,
11191,
10138,
434,
1208,
16,
16594,
202,
202,
759,
326,
1967,
2190,
353,
444,
1898,
2353,
3647,
202,
202,
759,
598,
326,
1967,
501,
16,
25416,
16209,
557,
764,
814,
4533,
16,
1427,
202,
202,
759,
732,
741,
5083,
309,
2690,
5322,
11,
8374,
358,
444,
326,
1967,
202,
202,
759,
938,
732,
1818,
1240,
202,
202,
759,
3196,
202,
430,
14015,
74,
1488,
480,
446,
13,
597,
261,
74,
1488,
422,
938,
13,
597,
261,
588,
2519,
1435,
422,
938,
18,
588,
30733,
2519,
1435,
3719,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
2
] |
public int TRIMA_Lookback( int optInTimePeriod ){ return optInTimePeriod-1;} | 7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/1bccb7a13486c61b10e8ebdf0c938797539a3f3d/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
474,
6566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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
474,
6566,
5535,
67,
9794,
823,
12,
474,
3838,
382,
26540,
15329,
2463,
3838,
382,
26540,
17,
21,
31,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
public void run(ITask task) {// MylarPlugin.getContextManager().actionObserved(this, Boolean.FALSE.toString()); try { if (task != null) { MylarTaskListPlugin.getTaskListManager().deactivateTask(task); TaskListView.getDefault().refreshAndFocus(); TaskUiUtil.closeEditorInActivePage(task);// TaskListView.getDefault().closeTaskEditors(task, page); } } catch (Exception e) { MylarStatusHandler.log(e, " Closing task editor on task deactivation failed"); } } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/df356cadf6d39e7b743e798df40d5dec91871dcc/TaskDeactivateAction.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/actions/TaskDeactivateAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
2681,
12,
1285,
835,
4146,
15329,
759,
202,
202,
12062,
7901,
3773,
18,
29120,
1318,
7675,
1128,
9013,
2155,
12,
2211,
16,
5507,
18,
21053,
18,
10492,
10663,
202,
202,
698,
95,
1082,
202,
430,
12,
4146,
5,
33,
2011,
15329,
9506,
202,
12062,
7901,
2174,
682,
3773,
18,
588,
2174,
682,
1318,
7675,
323,
10014,
2174,
12,
4146,
1769,
9506,
202,
2174,
682,
1767,
18,
588,
1868,
7675,
9144,
1876,
9233,
5621,
9506,
202,
2174,
13943,
1304,
18,
4412,
6946,
382,
3896,
1964,
12,
4146,
1769,
759,
9506,
202,
2174,
682,
1767,
18,
588,
1868,
7675,
4412,
2174,
4666,
1383,
12,
4146,
16,
2433,
1769,
1082,
202,
97,
202,
202,
97,
14683,
12,
503,
73,
15329,
1082,
202,
12062,
7901,
1482,
1503,
18,
1330,
12,
73,
10837,
15745,
4146,
9177,
1580,
835,
323,
16908,
7307,
8863,
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,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
12,
2211,
16,
5507,
18,
21053,
18,
10492,
10663,
202,
202,
698,
95,
1082,
202,
430,
12,
4146,
5,
33,
2011,
15329,
9506,
202,
12062,
7901,
2174,
682,
3773,
18,
588,
2174,
682,
1318,
7675,
323,
10014,
2174,
12,
4146,
1769,
9506,
202,
2174,
682,
1767,
18,
588,
1868,
7675,
9144,
1876,
9233,
5621,
9506,
202,
2174,
13943,
1304,
18,
4412,
6946,
382,
3896,
1964,
12,
4146,
1769,
759,
9506,
202,
2174,
682,
1767,
18,
588,
1868,
7675,
4412,
2174,
4666,
1383,
12,
4146,
16,
2433,
1769,
1082,
202,
97,
202,
202,
97,
14683,
12,
503,
2
] |
||
layout(); | layout(false); | public void setBorderVisible(boolean show) { checkWidget(); if (showBorder == show) return; showBorder = show; if (showBorder) { borderLeft = borderTop = borderRight = borderBottom = 1; if ((getStyle() & SWT.FLAT)== 0) highlight = 2; } else { borderBottom = borderTop = borderLeft = borderRight = 0; highlight = 0; } layout(); redraw();} | 12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/a6b48034db4656132c943ef122f732c8fe096a59/ViewForm.java/clean/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ViewForm.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
25715,
6207,
12,
6494,
2405,
13,
288,
202,
1893,
4609,
5621,
202,
430,
261,
4500,
8107,
422,
2405,
13,
327,
31,
202,
202,
4500,
8107,
273,
2405,
31,
202,
430,
261,
4500,
8107,
13,
288,
202,
202,
8815,
3910,
273,
5795,
3401,
273,
5795,
4726,
273,
5795,
10393,
273,
404,
31,
202,
202,
430,
14015,
588,
2885,
1435,
473,
348,
8588,
18,
42,
12190,
13,
631,
374,
13,
8839,
273,
576,
31,
202,
97,
469,
288,
202,
202,
8815,
10393,
273,
5795,
3401,
273,
5795,
3910,
273,
5795,
4726,
273,
374,
31,
202,
202,
15978,
273,
374,
31,
202,
97,
202,
6741,
5621,
202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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
25715,
6207,
12,
6494,
2405,
13,
288,
202,
1893,
4609,
5621,
202,
430,
261,
4500,
8107,
422,
2405,
13,
327,
31,
202,
202,
4500,
8107,
273,
2405,
31,
202,
430,
261,
4500,
8107,
13,
288,
202,
202,
8815,
3910,
273,
5795,
3401,
273,
5795,
4726,
273,
5795,
10393,
273,
404,
31,
202,
202,
430,
14015,
588,
2885,
1435,
473,
348,
8588,
18,
42,
12190,
13,
631,
374,
13,
8839,
273,
576,
31,
202,
97,
469,
288,
202,
202,
8815,
10393,
273,
5795,
3401,
273,
5795,
3910,
273,
5795,
4726,
273,
374,
31,
202,
202,
15978,
273,
374,
31,
202,
97,
202,
6741,
5621,
202,
1118,
1899,
5621,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
specialGetArrayDesignForPhysicalBioAssay( ( ( MeasuredBioAssay ) bioAssay ).getFeatureExtraction() .getPhysicalBioAssaySource(), result ); | specialConvertAssociationsForPhysicalBioAssay( ( ( MeasuredBioAssay ) bioAssay ) .getFeatureExtraction().getPhysicalBioAssaySource(), result ); | public ubic.gemma.model.expression.bioAssay.BioAssay convertDerivedBioAssay( DerivedBioAssay mageObj ) { if ( mageObj == null ) return null; ubic.gemma.model.expression.bioAssay.BioAssay result = convertBioAssay( mageObj ); // Attempt to get the array design for this bioassay. ( so far this hasn't worked - the information isn't linked // to the derived bioassay!) List map = mageObj.getDerivedBioAssayMap(); if ( map.size() > 0 ) { BioAssayMap dbap = ( BioAssayMap ) map.get( 0 ); List bioAssays = dbap.getSourceBioAssays(); // if ( bioAssays.size() == 0 ) log.debug( "DerivedBioAssayMap, but no sourcebioAssays" ); if ( bioAssays.size() > 1 ) log.warn( "More than one sourcebioAssay for a MeasuredBioAssay!" ); for ( Iterator iter = bioAssays.iterator(); iter.hasNext(); ) { BioAssay bioAssay = ( BioAssay ) iter.next(); if ( bioAssay instanceof MeasuredBioAssay ) { specialGetArrayDesignForPhysicalBioAssay( ( ( MeasuredBioAssay ) bioAssay ).getFeatureExtraction() .getPhysicalBioAssaySource(), result ); } else { log.error( "What kind of bioassay is associated?: " + bioAssay.getClass().getName() ); } } } convertAssociations( mageObj, result ); return result; } | 4335 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4335/3c425ed09e57d6c9d829aedb2fb6033a1097bae8/MageMLConverterHelper.java/buggy/gemma-core/src/main/java/ubic/gemma/loader/expression/mage/MageMLConverterHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13910,
335,
18,
23465,
2540,
18,
2284,
18,
8692,
18,
21010,
2610,
528,
18,
38,
1594,
2610,
528,
1765,
21007,
38,
1594,
2610,
528,
12,
14969,
2950,
38,
1594,
2610,
528,
312,
410,
2675,
262,
288,
3639,
309,
261,
312,
410,
2675,
422,
446,
262,
327,
446,
31,
3639,
13910,
335,
18,
23465,
2540,
18,
2284,
18,
8692,
18,
21010,
2610,
528,
18,
38,
1594,
2610,
528,
563,
273,
1765,
38,
1594,
2610,
528,
12,
312,
410,
2675,
11272,
3639,
368,
12864,
358,
336,
326,
526,
8281,
364,
333,
25091,
428,
528,
18,
261,
1427,
10247,
333,
13342,
1404,
28613,
300,
326,
1779,
5177,
1404,
8459,
3639,
368,
358,
326,
10379,
25091,
428,
528,
24949,
3639,
987,
852,
273,
312,
410,
2675,
18,
588,
21007,
38,
1594,
2610,
528,
863,
5621,
3639,
309,
261,
852,
18,
1467,
1435,
405,
374,
262,
288,
5411,
21209,
2610,
528,
863,
1319,
438,
273,
261,
21209,
2610,
528,
863,
262,
852,
18,
588,
12,
374,
11272,
5411,
987,
25091,
2610,
8271,
273,
1319,
438,
18,
588,
1830,
38,
1594,
2610,
8271,
5621,
5411,
368,
309,
261,
25091,
2610,
8271,
18,
1467,
1435,
422,
374,
262,
613,
18,
4148,
12,
315,
21007,
38,
1594,
2610,
528,
863,
16,
1496,
1158,
1084,
21010,
2610,
8271,
6,
11272,
5411,
309,
261,
25091,
2610,
8271,
18,
1467,
1435,
405,
404,
262,
613,
18,
8935,
12,
315,
7417,
2353,
1245,
1084,
21010,
2610,
528,
364,
279,
18174,
2862,
38,
1594,
2610,
528,
4442,
11272,
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,
13910,
335,
18,
23465,
2540,
18,
2284,
18,
8692,
18,
21010,
2610,
528,
18,
38,
1594,
2610,
528,
1765,
21007,
38,
1594,
2610,
528,
12,
14969,
2950,
38,
1594,
2610,
528,
312,
410,
2675,
262,
288,
3639,
309,
261,
312,
410,
2675,
422,
446,
262,
327,
446,
31,
3639,
13910,
335,
18,
23465,
2540,
18,
2284,
18,
8692,
18,
21010,
2610,
528,
18,
38,
1594,
2610,
528,
563,
273,
1765,
38,
1594,
2610,
528,
12,
312,
410,
2675,
11272,
3639,
368,
12864,
358,
336,
326,
526,
8281,
364,
333,
25091,
428,
528,
18,
261,
1427,
10247,
333,
13342,
1404,
28613,
300,
326,
1779,
5177,
1404,
8459,
3639,
368,
358,
326,
10379,
25091,
428,
528,
24949,
3639,
987,
2
] |
public org.quickfix.field.PartyRole getPartyRole() throws FieldNotFound { org.quickfix.field.PartyRole value = new org.quickfix.field.PartyRole(); | public quickfix.field.PartyRole getPartyRole() throws FieldNotFound { quickfix.field.PartyRole value = new quickfix.field.PartyRole(); | public org.quickfix.field.PartyRole getPartyRole() throws FieldNotFound { org.quickfix.field.PartyRole value = new org.quickfix.field.PartyRole(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderMultileg.java/buggy/src/java/src/quickfix/fix44/NewOrderMultileg.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
17619,
2996,
1689,
7325,
2996,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
17619,
2996,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
17619,
2996,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
17619,
2996,
1689,
7325,
2996,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
17619,
2996,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
17619,
2996,
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
] |
list.setFont(defaultFont); | list.setFont(getDefaultFont()); | public NewProgressViewer(Composite parent, int flags) { super(parent, flags); Tree c = getTree(); if (c instanceof Tree) c.dispose(); dialogContext = (flags & SWT.BORDER) != 0; // hack to determine context finishedJobs = FinishedJobs.getInstance(); finishedJobs.addListener(this); Display display = parent.getDisplay(); handCursor = new Cursor(display, SWT.CURSOR_HAND); normalCursor = new Cursor(display, SWT.CURSOR_ARROW); defaultJobIcon = ImageSupport.getImageDescriptor( "icons/full/progress/progress_task.gif").createImage(display); //$NON-NLS-1$ cancelJobIcon = ImageSupport.getImageDescriptor( "icons/full/elcl16/progress_stop.gif").createImage(display); //$NON-NLS-1$ cancelJobDIcon = ImageSupport.getImageDescriptor( "icons/full/dlcl16/progress_stop.gif").createImage(display); //$NON-NLS-1$ clearJobIcon = ImageSupport.getImageDescriptor( "icons/full/elcl16/progress_rem.gif").createImage(display); //$NON-NLS-1$ clearJobDIcon = ImageSupport.getImageDescriptor( "icons/full/dlcl16/progress_rem.gif").createImage(display); //$NON-NLS-1$ boldFont = defaultFont; FontData fds[] = defaultFont.getFontData(); if (fds.length > 0) { FontData fd = fds[0]; int h = fd.getHeight(); boldFont = new Font(display, fd.getName(), h, fd.getStyle() | SWT.BOLD); smallerFont = new Font(display, fd.getName(), h, fd.getStyle()); } int shift = isCarbon ? -25 : -10; // Mac has different Gamma value lightColor = display.getSystemColor(SWT.COLOR_LIST_BACKGROUND); darkColor = new Color(display, Math.max(0, lightColor.getRed() + shift), Math.max(0, lightColor.getGreen() + shift), Math.max(0, lightColor .getBlue() + shift)); textColor = display.getSystemColor(SWT.COLOR_LIST_FOREGROUND); selectedTextColor = display .getSystemColor(SWT.COLOR_LIST_SELECTION_TEXT); selectedColor = display.getSystemColor(SWT.COLOR_LIST_SELECTION); linkColor = display.getSystemColor(SWT.COLOR_DARK_BLUE); linkColor2 = display.getSystemColor(SWT.COLOR_BLUE); errorColor = display.getSystemColor(SWT.COLOR_DARK_RED); errorColor2 = display.getSystemColor(SWT.COLOR_RED); highlightColor = display.getSystemColor(SWT.COLOR_DARK_RED); scroller = new ScrolledComposite(parent, SWT.H_SCROLL | SWT.V_SCROLL | flags); int height = defaultFont.getFontData()[0].getHeight(); scroller.getVerticalBar().setIncrement(height * 2); scroller.setExpandHorizontal(true); scroller.setExpandVertical(true); list = new Composite(scroller, SWT.NONE); list.setFont(defaultFont); list.setBackground(lightColor); list.setLayout(new ListLayout()); list.addListener(SWT.MouseDown, new Listener() { public void handleEvent(Event event) { select(null, event); // clear selection } }); scroller.addListener(SWT.Dispose, new Listener() { public void handleEvent(Event event) { finishedJobs.removeListener(NewProgressViewer.this); defaultJobIcon.dispose(); cancelJobIcon.dispose(); cancelJobDIcon.dispose(); clearJobIcon.dispose(); clearJobDIcon.dispose(); handCursor.dispose(); normalCursor.dispose(); if (boldFont != defaultFont) boldFont.dispose(); if (smallerFont != defaultFont) smallerFont.dispose(); darkColor.dispose(); NewProgressViewer.this.handleDispose(null); } }); scroller.setContent(list); // refresh UI refresh(true); } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/55f2c478759fd3ded9d317bd7990fdd9e1ccbf88/NewProgressViewer.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/NewProgressViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1166,
5491,
18415,
12,
9400,
982,
16,
509,
2943,
13,
288,
3639,
2240,
12,
2938,
16,
2943,
1769,
3639,
4902,
276,
273,
15867,
5621,
3639,
309,
261,
71,
1276,
4902,
13,
5411,
276,
18,
2251,
4150,
5621,
3639,
6176,
1042,
273,
261,
7133,
473,
348,
8588,
18,
38,
7954,
13,
480,
374,
31,
368,
11769,
358,
4199,
819,
3639,
6708,
7276,
273,
29745,
7276,
18,
588,
1442,
5621,
3639,
6708,
7276,
18,
1289,
2223,
12,
2211,
1769,
3639,
9311,
2562,
273,
982,
18,
588,
4236,
5621,
3639,
948,
6688,
273,
394,
13949,
12,
5417,
16,
348,
8588,
18,
7509,
55,
916,
67,
12346,
1769,
3639,
2212,
6688,
273,
394,
13949,
12,
5417,
16,
348,
8588,
18,
7509,
55,
916,
67,
985,
11226,
1769,
3639,
805,
2278,
5554,
273,
3421,
6289,
18,
588,
2040,
3187,
12,
7734,
315,
14516,
19,
2854,
19,
8298,
19,
8298,
67,
4146,
18,
13905,
20387,
2640,
2040,
12,
5417,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
3755,
2278,
5554,
273,
3421,
6289,
18,
588,
2040,
3187,
12,
7734,
315,
14516,
19,
2854,
19,
292,
830,
2313,
19,
8298,
67,
5681,
18,
13905,
20387,
2640,
2040,
12,
5417,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
3755,
2278,
2565,
591,
273,
3421,
6289,
18,
588,
2040,
3187,
12,
7734,
315,
14516,
19,
2854,
19,
5761,
830,
2313,
19,
8298,
67,
5681,
18,
13905,
20387,
2640,
2040,
12,
5417,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
2424,
2278,
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,
1166,
5491,
18415,
12,
9400,
982,
16,
509,
2943,
13,
288,
3639,
2240,
12,
2938,
16,
2943,
1769,
3639,
4902,
276,
273,
15867,
5621,
3639,
309,
261,
71,
1276,
4902,
13,
5411,
276,
18,
2251,
4150,
5621,
3639,
6176,
1042,
273,
261,
7133,
473,
348,
8588,
18,
38,
7954,
13,
480,
374,
31,
368,
11769,
358,
4199,
819,
3639,
6708,
7276,
273,
29745,
7276,
18,
588,
1442,
5621,
3639,
6708,
7276,
18,
1289,
2223,
12,
2211,
1769,
3639,
9311,
2562,
273,
982,
18,
588,
4236,
5621,
3639,
948,
6688,
273,
394,
13949,
12,
5417,
16,
348,
8588,
18,
7509,
55,
916,
67,
12346,
1769,
3639,
2212,
6688,
273,
394,
13949,
12,
5417,
16,
348,
8588,
18,
7509,
2
] |
public void bracketingTheMinimum(GVector kPoint, GVector searchDirection, PotentialFunction forceFieldFunction, int iterNum) { //System.out.println("Bracketing the minimum:"); //System.out.print("X" + iterNum + " = " + kPoint + " "); //System.out.println("f(X" + iterNum + ") = " + forceFieldFunction.energyFunction(kPoint)); direction.setSize(searchDirection.getSize()); direction.set(searchDirection); scaleDirection.setSize(searchDirection.getSize()); GVector xa = new GVector(kPoint); lambdaa = 0; fxa = forceFieldFunction.energyFunction(xa); if (fxa < 0) { direction.scale(-1); f = -1; fxa = f * fxa; } GVector xb = new GVector(kPoint); lambdab = 2; scaleDirection.set(direction); scaleDirection.scale(lambdab); xb.add(scaleDirection); fxb = f * forceFieldFunction.energyFunction(xb); GVector xc = new GVector(kPoint.getSize()); //System.out.print("lambdaa = " + lambdaa + " "); //System.out.println("fxa = " + fxa); //System.out.print("lambdab = " + lambdab + " "); //System.out.println("fxb = " + fxb); //System.out.println("f = " + f); boolean finish = false; if (fxb < fxa) { //System.out.println("The energy decrease with the current step size. The stepsize will be increase by 20%"); lambdac = 1.2 * lambdab; xc.set(kPoint); scaleDirection.set(direction); scaleDirection.scale(lambdac); xc.add(scaleDirection); fxc = f * forceFieldFunction.energyFunction(xc); //System.out.print("lambdaa = " + lambdaa + " "); //System.out.println("fxa = " + fxa); //System.out.print("lambdab = " + lambdab + " "); //System.out.println("fxb = " + fxb); //System.out.print("lambdac = " + lambdac + " "); //System.out.println("fxc = " + fxc); while (finish == false) { if (fxc > fxb) { finish = true; } else { xa.set(xb); lambdaa = lambdab; fxa = fxb; xb.set(xc); lambdab = lambdac; fxb = fxc; //System.out.println("The energy decrease with the current step size. The stepsize will be increase by 20%"); lambdac = 1.2 * lambdac; xc.set(kPoint); scaleDirection.set(direction); scaleDirection.scale(lambdac); xc.add(scaleDirection); fxc = f * forceFieldFunction.energyFunction(xc); //System.out.print("lambdaa = " + lambdaa + " "); //System.out.println("fxa = " + fxa); //System.out.print("lambdab = " + lambdab + " "); //System.out.println("fxb = " + fxb); //System.out.print("lambdac = " + lambdac + " "); //System.out.println("fxc = " + fxc); } } } else { while (finish == false) { //System.out.println("The energy increase with the current step size. The step size will be halve"); xc.set(xb); lambdac = lambdab; fxc = fxb; lambdab = lambdab / 2; xb.set(kPoint); scaleDirection.set(direction); scaleDirection.scale(lambdab); xb.add(scaleDirection); fxb = f * forceFieldFunction.energyFunction(xb); //System.out.print("lambdaa = " + lambdaa + " "); //System.out.println("fxa = " + fxa); //System.out.print("lambdab = " + lambdab + " "); //System.out.println("fxb = " + fxb); //System.out.print("lambdac = " + lambdac + " "); //System.out.println("fxc = " + fxc); if (fxb < fxa) { finish = true; } if (lambdab < 0.0000000000000001) { finish = true; } } } if (fxb < fxa) { arbitraryStepSize = lambdab; } else { arbitraryStepSize = lambdaa; } //System.out.println(""); //System.out.println("ArbitraryStep: "); //System.out.println("arbitraryStepSize = " + arbitraryStepSize); return; } | 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,
6459,
21025,
310,
1986,
13042,
12,
25269,
386,
778,
2148,
16,
43,
5018,
3072,
8212,
16,
24947,
2083,
5734,
974,
2083,
16,
474,
2165,
2578,
15329,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
11450,
310,
451,
351,
267,
2422,
2773,
1769,
202,
202,
759,
3163,
18,
659,
18,
1188,
2932,
60,
6,
15,
2165,
2578,
9078,
1546,
15,
79,
2148,
9078,
202,
8863,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
74,
12,
60,
6,
15,
2165,
2578,
15,
7923,
1546,
15,
5734,
974,
2083,
18,
15358,
2083,
12,
79,
2148,
10019,
202,
202,
9855,
18,
542,
1225,
12,
3072,
8212,
18,
588,
1225,
10663,
202,
202,
9855,
18,
542,
12,
3072,
8212,
1769,
202,
202,
5864,
8212,
18,
542,
1225,
12,
3072,
8212,
18,
588,
1225,
10663,
9506,
202,
43,
5018,
6995,
33,
2704,
43,
5018,
12,
79,
2148,
1769,
202,
202,
14661,
69,
33,
20,
31,
202,
202,
74,
6995,
33,
5734,
974,
2083,
18,
15358,
2083,
12,
6995,
1769,
202,
202,
430,
12,
74,
6995,
32,
20,
15329,
1082,
202,
9855,
18,
5864,
19236,
21,
1769,
1082,
202,
74,
29711,
21,
31,
1082,
202,
74,
6995,
33,
74,
14,
74,
6995,
31,
202,
202,
97,
202,
202,
43,
5018,
6114,
33,
2704,
43,
5018,
12,
79,
2148,
1769,
202,
202,
80,
2536,
72,
378,
33,
22,
31,
202,
202,
5864,
8212,
18,
542,
12,
9855,
1769,
202,
202,
5864,
8212,
18,
5864,
12,
80,
2536,
72,
378,
1769,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
21025,
310,
1986,
13042,
12,
25269,
386,
778,
2148,
16,
43,
5018,
3072,
8212,
16,
24947,
2083,
5734,
974,
2083,
16,
474,
2165,
2578,
15329,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
11450,
310,
451,
351,
267,
2422,
2773,
1769,
202,
202,
759,
3163,
18,
659,
18,
1188,
2932,
60,
6,
15,
2165,
2578,
9078,
1546,
15,
79,
2148,
9078,
202,
8863,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
74,
12,
60,
6,
15,
2165,
2578,
15,
7923,
1546,
15,
5734,
974,
2083,
18,
15358,
2083,
12,
79,
2148,
10019,
202,
202,
9855,
18,
542,
1225,
12,
3072,
8212,
18,
588,
1225,
10663,
202,
202,
9855,
18,
542,
12,
3072,
8212,
2
] |
||
assertNumberOf("proposals", proposals.size(), 1); | assertNumberOf("proposals", proposals.size(), 2); | public void testNativeMethodWithBody() throws Exception { IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); StringBuffer buf= new StringBuffer(); buf.append("package test1;\n"); buf.append("public class E {\n"); buf.append(" public native void foo() {\n"); buf.append(" }\n"); buf.append("}\n"); ICompilationUnit cu= pack1.createCompilationUnit("E.java", buf.toString(), false, null); CompilationUnit astRoot= AST.parseCompilationUnit(cu, true); ArrayList proposals= collectCorrections(cu, astRoot); assertNumberOf("proposals", proposals.size(), 1); assertCorrectLabels(proposals); CUCorrectionProposal proposal= (CUCorrectionProposal) proposals.get(0); String preview1= proposal.getCompilationUnitChange().getPreviewContent(); buf= new StringBuffer(); buf.append("package test1;\n"); buf.append("public class E {\n"); buf.append(" public void foo() {\n"); buf.append(" }\n"); buf.append("}\n"); String expected1= buf.toString(); /* no body proposal= (CUCorrectionProposal) proposals.get(1); String preview2= proposal.getCompilationUnitChange().getPreviewContent(); buf= new StringBuffer(); buf.append("package test1;\n"); buf.append("public abstract class E {\n"); buf.append(" public abstract int foo();\n"); buf.append("}\n"); String expected2= buf.toString(); */ assertEqualStringsIgnoreOrder(new String[] { preview1 }, new String[] { expected1 }); } | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/d8cdb97f3fe970aed161fcf2c5e8dac3b0822890/ModifierCorrectionsQuickFixTest.java/buggy/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/ModifierCorrectionsQuickFixTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
9220,
1305,
1190,
2250,
1435,
1216,
1185,
288,
1082,
202,
45,
2261,
7456,
2298,
21,
33,
284,
1830,
3899,
18,
2640,
2261,
7456,
2932,
3813,
21,
3113,
629,
16,
446,
1769,
202,
202,
780,
1892,
1681,
33,
394,
6674,
5621,
202,
202,
4385,
18,
6923,
2932,
5610,
1842,
21,
9747,
82,
8863,
202,
202,
4385,
18,
6923,
2932,
482,
667,
512,
18890,
82,
8863,
202,
202,
4385,
18,
6923,
2932,
565,
1071,
6448,
918,
8431,
1435,
18890,
82,
8863,
202,
202,
4385,
18,
6923,
2932,
565,
289,
64,
82,
8863,
202,
202,
4385,
18,
6923,
2932,
6280,
82,
8863,
9506,
202,
45,
19184,
2802,
15985,
33,
2298,
21,
18,
2640,
19184,
2802,
2932,
41,
18,
6290,
3113,
1681,
18,
10492,
9334,
629,
16,
446,
1769,
9506,
202,
19184,
2802,
3364,
2375,
33,
9183,
18,
2670,
19184,
2802,
12,
6319,
16,
638,
1769,
202,
202,
19558,
450,
22536,
33,
3274,
20884,
87,
12,
6319,
16,
3364,
2375,
1769,
202,
202,
11231,
9226,
2932,
685,
22536,
3113,
450,
22536,
18,
1467,
9334,
404,
1769,
202,
202,
11231,
16147,
5888,
12,
685,
22536,
1769,
9506,
202,
16001,
20884,
14592,
14708,
33,
261,
16001,
20884,
14592,
13,
450,
22536,
18,
588,
12,
20,
1769,
202,
202,
780,
10143,
21,
33,
14708,
18,
588,
19184,
2802,
3043,
7675,
588,
11124,
1350,
5621,
202,
202,
4385,
33,
394,
6674,
5621,
202,
202,
4385,
18,
6923,
2932,
5610,
1842,
21,
9747,
82,
8863,
202,
202,
4385,
18,
6923,
2932,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
9220,
1305,
1190,
2250,
1435,
1216,
1185,
288,
1082,
202,
45,
2261,
7456,
2298,
21,
33,
284,
1830,
3899,
18,
2640,
2261,
7456,
2932,
3813,
21,
3113,
629,
16,
446,
1769,
202,
202,
780,
1892,
1681,
33,
394,
6674,
5621,
202,
202,
4385,
18,
6923,
2932,
5610,
1842,
21,
9747,
82,
8863,
202,
202,
4385,
18,
6923,
2932,
482,
667,
512,
18890,
82,
8863,
202,
202,
4385,
18,
6923,
2932,
565,
1071,
6448,
918,
8431,
1435,
18890,
82,
8863,
202,
202,
4385,
18,
6923,
2932,
565,
289,
64,
82,
8863,
202,
202,
4385,
18,
6923,
2932,
6280,
82,
8863,
9506,
202,
45,
19184,
2802,
15985,
33,
2298,
21,
18,
2640,
19184,
2802,
2932,
41,
2
] |
input.setKeySpeed(100); | protected void simpleInitGame() { // Point to a URL of my model URL model=HelloModelLoading.class.getClassLoader().getResource("jmetest/data/model/maggie.obj"); // Create something to convert .obj format to .jme FormatConverter converter=new ObjToJme(); // Point the converter to where it will find the .mtl file from converter.setProperty("mtllib",model); // This byte array will hold my .jme file ByteArrayOutputStream BO=new ByteArrayOutputStream(); // This will read the .jme format and convert it into a scene graph JmeBinaryReader jbr=new JmeBinaryReader(); // Use an exact BoundingSphere bounds BoundingSphere.useExactBounds=true; Node meshParent=null; try { // Use the format converter to convert .obj to .jme converter.convert(model.openStream(), BO); // Load the binary .jme format into a scene graph Node maggie=jbr.loadBinaryFormat(new ByteArrayInputStream(BO.toByteArray())); meshParent=(Node) maggie.getChild(0); } catch (IOException e) { // Just in case anything happens System.out.println("Damn exceptions!" + e); e.printStackTrace(); System.exit(0); } // Create a node to hold my cLOD mesh objects Node clodNode=new Node("Clod node"); // For each mesh in maggie for (int i=0;i<meshParent.getQuantity();i++){ // Create an AreaClodMesh for that mesh. Let it compute records automatically AreaClodMesh acm=new AreaClodMesh("part"+i,(TriMesh) meshParent.getChild(i),null); acm.setModelBound(new BoundingSphere()); acm.updateModelBound(); // Allow 1/2 of a triangle in every pixel on the screen in the bounds. acm.setTrisPerPixel(.5f); // Force a move of 2 units before updating the mesh geometry acm.setDistanceTolerance(2); // Give the clodMesh node the material state that the original had. acm.setRenderState(meshParent.getChild(i).getRenderStateList()[RenderState.RS_MATERIAL]); // Attach clod node. clodNode.attachChild(acm); } // Speed up key movement. input.setKeySpeed(100); // Attach the clod mesh at the origin. clodNode.setLocalScale(.1f); rootNode.attachChild(clodNode); // Attach the original at -15,0,0 meshParent.setLocalScale(.1f); meshParent.setLocalTranslation(new Vector3f(-15,0,0)); rootNode.attachChild(meshParent); input.clearKeyboardActions(); input.clearMouseActions(); input.addKeyboardAction("exit",KeyInput.KEY_ESCAPE,new KeyExitAction(this)); Vector3f[]cameraPoints=new Vector3f[]{ new Vector3f(0,0,0), new Vector3f(0,5,20), new Vector3f(0,10,40), new Vector3f(0,20,90), new Vector3f(0,25,150), new Vector3f(0,30,200) }; BezierCurve bc=new BezierCurve("camera path",cameraPoints); cn=new CameraNode("camera node",display.getRenderer().getCamera()); CurveController cc=new CurveController(bc,cn); cc.setActive(true); cc.setUpVector(new Vector3f(0,1,0)); cc.setAutoRotation(false); cc.setRepeatType(Controller.RT_CYCLE); cc.setSpeed(.1f); cn.addController(cc);// rootNode.setForceView(true); } | 19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/71de8e2a1358dc7c08dd8fd2daecf0bcd07579ec/HelloLOD.java/buggy/src/jmetest/TutorialGuide/HelloLOD.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4143,
2570,
12496,
1435,
288,
3639,
368,
4686,
358,
279,
1976,
434,
3399,
938,
3639,
1976,
938,
33,
18601,
1488,
10515,
18,
1106,
18,
588,
7805,
7675,
588,
1420,
2932,
78,
10578,
395,
19,
892,
19,
2284,
19,
4527,
75,
1385,
18,
2603,
8863,
3639,
368,
1788,
5943,
358,
1765,
263,
2603,
740,
358,
263,
78,
3501,
3639,
4077,
5072,
6027,
33,
2704,
18760,
774,
46,
3501,
5621,
3639,
368,
4686,
326,
6027,
358,
1625,
518,
903,
1104,
326,
263,
1010,
80,
585,
628,
3639,
6027,
18,
542,
1396,
2932,
1010,
2906,
495,
3113,
2284,
1769,
3639,
368,
1220,
1160,
526,
903,
6887,
3399,
263,
78,
3501,
585,
3639,
11559,
9784,
33,
2704,
11559,
5621,
3639,
368,
1220,
903,
855,
326,
263,
78,
3501,
740,
471,
1765,
518,
1368,
279,
9065,
2667,
3639,
804,
3501,
5905,
2514,
525,
2848,
33,
2704,
804,
3501,
5905,
2514,
5621,
3639,
368,
2672,
392,
5565,
12281,
310,
22747,
4972,
3639,
12281,
310,
22747,
18,
1202,
14332,
5694,
33,
3767,
31,
3639,
2029,
6986,
3054,
33,
2011,
31,
3639,
775,
288,
5411,
368,
2672,
326,
740,
6027,
358,
1765,
263,
2603,
358,
263,
78,
3501,
5411,
6027,
18,
6283,
12,
2284,
18,
3190,
1228,
9334,
9784,
1769,
5411,
368,
4444,
326,
3112,
263,
78,
3501,
740,
1368,
279,
9065,
2667,
5411,
2029,
4447,
75,
1385,
33,
78,
2848,
18,
945,
5905,
1630,
12,
2704,
16180,
12,
5315,
18,
869,
8826,
1435,
10019,
5411,
6986,
3054,
28657,
907,
13,
4447,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4143,
2570,
12496,
1435,
288,
3639,
368,
4686,
358,
279,
1976,
434,
3399,
938,
3639,
1976,
938,
33,
18601,
1488,
10515,
18,
1106,
18,
588,
7805,
7675,
588,
1420,
2932,
78,
10578,
395,
19,
892,
19,
2284,
19,
4527,
75,
1385,
18,
2603,
8863,
3639,
368,
1788,
5943,
358,
1765,
263,
2603,
740,
358,
263,
78,
3501,
3639,
4077,
5072,
6027,
33,
2704,
18760,
774,
46,
3501,
5621,
3639,
368,
4686,
326,
6027,
358,
1625,
518,
903,
1104,
326,
263,
1010,
80,
585,
628,
3639,
6027,
18,
542,
1396,
2932,
1010,
2906,
495,
3113,
2284,
1769,
3639,
368,
1220,
1160,
526,
903,
6887,
3399,
263,
78,
3501,
585,
3639,
11559,
9784,
33,
2704,
11559,
5621,
3639,
2
] |
|
VM.sysWrite("JNI ERROR: ToReflectedField not implemented yet, exiting ...\n"); VM.sysExit(VM.exitStatusUnsupportedInternalOp); return -1; | VM_Field field = VM_MemberReference.getMemberRef(fieldID).asFieldReference().resolve(); return env.pushJNIRef (java.lang.reflect.JikesRVMSupport.createField(field)); | private static int ToReflectedField(VM_JNIEnvironment env) { if (traceJNI) VM.sysWrite("JNI called: ToReflectedField \n"); VM.sysWrite("JNI ERROR: ToReflectedField not implemented yet, exiting ...\n"); VM.sysExit(VM.exitStatusUnsupportedInternalOp); return -1; } | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/98179d29994efc2448ad73f979061d014897af7b/VM_JNIFunctions.java/buggy/rvm/src/vm/jni/VM_JNIFunctions.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
509,
2974,
24452,
329,
974,
12,
7397,
67,
46,
50,
45,
5494,
1550,
13,
288,
565,
309,
261,
5129,
46,
50,
45,
13,
8251,
18,
9499,
3067,
2932,
46,
50,
45,
2566,
30,
2974,
24452,
329,
974,
521,
82,
8863,
4202,
8251,
18,
9499,
3067,
2932,
46,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
509,
2974,
24452,
329,
974,
12,
7397,
67,
46,
50,
45,
5494,
1550,
13,
288,
565,
309,
261,
5129,
46,
50,
45,
13,
8251,
18,
9499,
3067,
2932,
46,
50,
45,
2566,
30,
2974,
24452,
329,
974,
521,
82,
8863,
4202,
8251,
18,
9499,
3067,
2932,
46,
50,
45,
5475,
30,
2974,
24452,
329,
974,
486,
8249,
4671,
16,
15702,
1372,
64,
82,
8863,
565,
8251,
18,
9499,
6767,
12,
7397,
18,
8593,
1482,
8544,
3061,
3817,
1769,
565,
327,
300,
21,
31,
282,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
int totalLen = comm.getTdsShort(); | final int totalLen = comm.getTdsShort(); | private PacketColumnNamesResult processColumnNames() throws java.io.IOException, net.sourceforge.jtds.jdbc.TdsException { Columns columns = new Columns(); int totalLen = comm.getTdsShort(); int bytesRead = 0; int i = 0; while (bytesRead < totalLen) { int colNameLen = comm.getByte(); String colName = encoder.getString( comm.getBytes(colNameLen, false), 0, colNameLen); bytesRead = bytesRead + 1 + colNameLen; i++; columns.setName(i, colName); columns.setLabel(i, colName); } currentContext = new Context(columns, encoder); return new PacketColumnNamesResult(columns); } | 439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/d40d3f03f21e7087ea2cd7d2b5b43625542770cc/Tds.java/buggy/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/Tds.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
11114,
20718,
1253,
1207,
20718,
1435,
5411,
1216,
2252,
18,
1594,
18,
14106,
16,
2901,
18,
3168,
1884,
908,
18,
78,
88,
2377,
18,
24687,
18,
56,
2377,
503,
288,
3639,
14962,
2168,
273,
394,
14962,
5621,
3639,
727,
509,
2078,
2891,
273,
1543,
18,
588,
56,
2377,
4897,
5621,
3639,
509,
17244,
273,
374,
31,
3639,
509,
277,
273,
374,
31,
3639,
1323,
261,
3890,
1994,
411,
2078,
2891,
13,
288,
5411,
509,
18655,
2891,
273,
1543,
18,
588,
3216,
5621,
5411,
514,
18655,
273,
7261,
18,
588,
780,
12,
10792,
1543,
18,
588,
2160,
12,
1293,
461,
2891,
16,
629,
3631,
374,
16,
18655,
2891,
1769,
5411,
17244,
273,
17244,
397,
404,
397,
18655,
2891,
31,
5411,
277,
9904,
31,
5411,
2168,
18,
542,
461,
12,
77,
16,
18655,
1769,
5411,
2168,
18,
542,
2224,
12,
77,
16,
18655,
1769,
3639,
289,
3639,
31184,
273,
394,
1772,
12,
5112,
16,
7261,
1769,
3639,
327,
394,
11114,
20718,
1253,
12,
5112,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
11114,
20718,
1253,
1207,
20718,
1435,
5411,
1216,
2252,
18,
1594,
18,
14106,
16,
2901,
18,
3168,
1884,
908,
18,
78,
88,
2377,
18,
24687,
18,
56,
2377,
503,
288,
3639,
14962,
2168,
273,
394,
14962,
5621,
3639,
727,
509,
2078,
2891,
273,
1543,
18,
588,
56,
2377,
4897,
5621,
3639,
509,
17244,
273,
374,
31,
3639,
509,
277,
273,
374,
31,
3639,
1323,
261,
3890,
1994,
411,
2078,
2891,
13,
288,
5411,
509,
18655,
2891,
273,
1543,
18,
588,
3216,
5621,
5411,
514,
18655,
273,
7261,
18,
588,
780,
12,
10792,
1543,
18,
588,
2160,
12,
1293,
461,
2891,
16,
629,
3631,
374,
16,
18655,
2891,
1769,
5411,
17244,
273,
17244,
397,
404,
397,
18655,
2891,
2
] |
return null; } | return null; } | protected String getInitialScopeId() { return null; } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/afe32b7cd5a2841a41e657289a0d2b7cf1ef5416/PartSite.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartSite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
24044,
3876,
548,
1435,
288,
3639,
327,
446,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
int maxWidth = FieldDecorationRegistry.getDefault() .geMaximumDecorationWidth(); | int newWidth = widthOf(decData.decoration.getImage()); | private void updateControlAttachments(int index, FieldDecorationData decData) { FormData formData = (FormData) control.getLayoutData(); int maxWidth = FieldDecorationRegistry.getDefault() .geMaximumDecorationWidth(); switch (index) { case LEFT_TOP: if (decDatas[LEFT_BOTTOM] == null || decDatas[LEFT_BOTTOM].data.width < maxWidth) { formData.left = new FormAttachment(decData.label); } else formData = null; break; case LEFT_BOTTOM: if (decDatas[LEFT_TOP] == null || decDatas[LEFT_TOP].data.width < maxWidth) { formData.left = new FormAttachment(decData.label); } else formData = null; break; case RIGHT_TOP: if (decDatas[RIGHT_BOTTOM] == null || decDatas[RIGHT_BOTTOM].data.width < maxWidth) { formData.right = new FormAttachment(decData.label); } else formData = null; break; case RIGHT_BOTTOM: if (decDatas[RIGHT_TOP] == null || decDatas[RIGHT_TOP].data.width < maxWidth) { formData.right = new FormAttachment(decData.label); } else formData = null; break; default: return; } if (formData != null) { // Form data was updated. control.setLayoutData(formData); form.layout(); } } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/4a358afc8d93c75badf1e31f688464be70e02b8d/DecoratedField.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/DecoratedField.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1089,
3367,
12961,
12,
474,
770,
16,
2286,
7859,
367,
751,
2109,
751,
13,
288,
202,
202,
30079,
14224,
273,
261,
30079,
13,
3325,
18,
588,
3744,
751,
5621,
202,
202,
474,
17681,
273,
2286,
7859,
367,
4243,
18,
588,
1868,
1435,
9506,
202,
18,
908,
13528,
7859,
367,
2384,
5621,
202,
202,
9610,
261,
1615,
13,
288,
202,
202,
3593,
9686,
67,
10462,
30,
1082,
202,
430,
261,
4924,
14305,
63,
10066,
67,
28891,
65,
422,
446,
6862,
202,
20081,
2109,
14305,
63,
10066,
67,
28891,
8009,
892,
18,
2819,
411,
17681,
13,
288,
9506,
202,
687,
751,
18,
4482,
273,
394,
2748,
6803,
12,
4924,
751,
18,
1925,
1769,
1082,
202,
97,
469,
9506,
202,
687,
751,
273,
446,
31,
1082,
202,
8820,
31,
202,
202,
3593,
9686,
67,
28891,
30,
1082,
202,
430,
261,
4924,
14305,
63,
10066,
67,
10462,
65,
422,
446,
6862,
202,
20081,
2109,
14305,
63,
10066,
67,
10462,
8009,
892,
18,
2819,
411,
17681,
13,
288,
9506,
202,
687,
751,
18,
4482,
273,
394,
2748,
6803,
12,
4924,
751,
18,
1925,
1769,
1082,
202,
97,
469,
9506,
202,
687,
751,
273,
446,
31,
1082,
202,
8820,
31,
202,
202,
3593,
13135,
67,
10462,
30,
1082,
202,
430,
261,
4924,
14305,
63,
11847,
67,
28891,
65,
422,
446,
6862,
202,
20081,
2109,
14305,
63,
11847,
67,
28891,
8009,
892,
18,
2819,
411,
17681,
13,
288,
9506,
202,
687,
751,
18,
4083,
273,
394,
2748,
6803,
12,
4924,
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,
3367,
12961,
12,
474,
770,
16,
2286,
7859,
367,
751,
2109,
751,
13,
288,
202,
202,
30079,
14224,
273,
261,
30079,
13,
3325,
18,
588,
3744,
751,
5621,
202,
202,
474,
17681,
273,
2286,
7859,
367,
4243,
18,
588,
1868,
1435,
9506,
202,
18,
908,
13528,
7859,
367,
2384,
5621,
202,
202,
9610,
261,
1615,
13,
288,
202,
202,
3593,
9686,
67,
10462,
30,
1082,
202,
430,
261,
4924,
14305,
63,
10066,
67,
28891,
65,
422,
446,
6862,
202,
20081,
2109,
14305,
63,
10066,
67,
28891,
8009,
892,
18,
2819,
411,
17681,
13,
288,
9506,
202,
687,
751,
18,
4482,
273,
394,
2748,
6803,
12,
4924,
751,
18,
1925,
1769,
1082,
202,
97,
469,
2
] |
isDragging = false; | public void mousePressed(MouseEvent event) { // Check to see that the slider is enabled before proceeeding. if (!slider.isEnabled()) return; // Get mouse x, y positions. currentMouseX = event.getX(); currentMouseY = event.getY(); // If the slider has {@link #setFocusEnabled} true then // request focus. if (slider.isRequestFocusEnabled()) slider.requestFocus(); // Check to see if the thumb was clicked. if (thumbRect.contains(currentMouseX, currentMouseY)) { // Depending on orientation of the mouse. switch (slider.getOrientation()) { case JSlider.HORIZONTAL: offset = currentMouseX-thumbRect.x; break; case JSlider.VERTICAL: offset = currentMouseY-thumbRect.y; } isDragging = true; return; } if (showArrows) { if (minArrowRect.contains(currentMouseX, currentMouseY)) { int value = slider.getValue(); if (value > slider.getMinimum()) { scrollTimer.stop(); scrollListener.setScrollByBlock(false); scrollListener.setDirection(OneKnobSliderUI.NEGATIVE_SCROLL); scrollTimer.start(); slider.repaint(); } isDragging = false; return; } if (maxArrowRect.contains(currentMouseX, currentMouseY)) { int value = slider.getValue(); if (value < slider.getMaximum()) { scrollTimer.stop(); scrollListener.setScrollByBlock(false); scrollListener.setDirection( OneKnobSliderUI.POSITIVE_SCROLL); scrollTimer.start(); slider.repaint(); } isDragging = false; return; } } // We have clicked outside of the thumb and onto the track. isDragging = false; slider.repaint(); } | 55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/1c6472710140ce7700bb1cb3c30b584ae3057a53/OneKnobSliderUI.java/clean/SRC/org/openmicroscopy/shoola/util/ui/slider/OneKnobSliderUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
7644,
24624,
12,
9186,
1133,
871,
13,
3196,
202,
95,
1082,
202,
759,
2073,
358,
2621,
716,
326,
18442,
353,
3696,
1865,
450,
311,
73,
329,
310,
18,
1875,
202,
430,
16051,
28372,
18,
291,
1526,
10756,
9506,
202,
2463,
31,
1082,
202,
759,
968,
7644,
619,
16,
677,
6865,
18,
1082,
202,
2972,
9186,
60,
273,
871,
18,
588,
60,
5621,
1082,
202,
2972,
9186,
61,
273,
871,
18,
588,
61,
5621,
1082,
202,
759,
971,
326,
18442,
711,
8901,
1232,
468,
542,
9233,
1526,
97,
638,
1508,
1875,
202,
759,
590,
7155,
18,
1082,
202,
430,
261,
28372,
18,
291,
691,
9233,
1526,
10756,
9506,
202,
28372,
18,
2293,
9233,
5621,
1082,
202,
759,
2073,
358,
2621,
309,
326,
11156,
1703,
17688,
18,
1875,
202,
430,
261,
21639,
6120,
18,
12298,
12,
2972,
9186,
60,
16,
783,
9186,
61,
3719,
1875,
202,
95,
9506,
202,
759,
4019,
2846,
603,
9820,
434,
326,
7644,
18,
4697,
202,
9610,
261,
28372,
18,
588,
14097,
10756,
288,
377,
9506,
202,
3593,
804,
21824,
18,
44,
20344,
30,
377,
6862,
202,
3348,
273,
783,
9186,
60,
17,
21639,
6120,
18,
92,
31,
377,
6862,
202,
8820,
31,
377,
9506,
202,
3593,
804,
21824,
18,
21654,
10109,
30,
377,
6862,
202,
3348,
273,
783,
9186,
61,
17,
21639,
6120,
18,
93,
31,
9506,
202,
97,
9506,
202,
291,
11728,
1998,
273,
638,
31,
9506,
202,
2463,
31,
1082,
202,
97,
25083,
202,
430,
261,
4500,
686,
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,
7644,
24624,
12,
9186,
1133,
871,
13,
3196,
202,
95,
1082,
202,
759,
2073,
358,
2621,
716,
326,
18442,
353,
3696,
1865,
450,
311,
73,
329,
310,
18,
1875,
202,
430,
16051,
28372,
18,
291,
1526,
10756,
9506,
202,
2463,
31,
1082,
202,
759,
968,
7644,
619,
16,
677,
6865,
18,
1082,
202,
2972,
9186,
60,
273,
871,
18,
588,
60,
5621,
1082,
202,
2972,
9186,
61,
273,
871,
18,
588,
61,
5621,
1082,
202,
759,
971,
326,
18442,
711,
8901,
1232,
468,
542,
9233,
1526,
97,
638,
1508,
1875,
202,
759,
590,
7155,
18,
1082,
202,
430,
261,
28372,
18,
291,
691,
9233,
1526,
10756,
9506,
202,
28372,
18,
2293,
9233,
5621,
1082,
202,
2
] |
|
return value == null ? defaultValue : Long.parseLong(value); | if (value == null) { return defaultValue; } try { return Long.parseLong(value); } catch (NumberFormatException e) { throw (NumberFormatException) new NumberFormatException( "The value of the " + name + " property must be a valid " + "long: \"" + value + "\"").initCause(e); } | public static long getLongProperty( Properties properties, String name, long defaultValue) { String value = properties.getProperty(name); return value == null ? defaultValue : Long.parseLong(value); } | 55380 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55380/3be8ecaaa7c3a5e0596ab32fe08bd5a1b114ec27/PropertiesUtil.java/buggy/src/server/j2se/com/sun/sgs/impl/util/PropertiesUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1525,
11105,
1396,
12,
202,
2297,
1790,
16,
514,
508,
16,
1525,
4593,
13,
565,
288,
202,
780,
460,
273,
1790,
18,
588,
1396,
12,
529,
1769,
202,
430,
261,
1132,
422,
446,
13,
288,
327,
4593,
31,
289,
775,
288,
327,
3407,
18,
2670,
3708,
12,
1132,
1769,
289,
1044,
261,
1854,
9291,
425,
13,
288,
604,
261,
1854,
9291,
13,
394,
12100,
12,
315,
1986,
460,
434,
326,
315,
397,
508,
397,
315,
1272,
1297,
506,
279,
923,
315,
397,
315,
5748,
30,
11843,
397,
460,
397,
11143,
2934,
2738,
10683,
12,
73,
1769,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1525,
11105,
1396,
12,
202,
2297,
1790,
16,
514,
508,
16,
1525,
4593,
13,
565,
288,
202,
780,
460,
273,
1790,
18,
588,
1396,
12,
529,
1769,
202,
430,
261,
1132,
422,
446,
13,
288,
327,
4593,
31,
289,
775,
288,
327,
3407,
18,
2670,
3708,
12,
1132,
1769,
289,
1044,
261,
1854,
9291,
425,
13,
288,
604,
261,
1854,
9291,
13,
394,
12100,
12,
315,
1986,
460,
434,
326,
315,
397,
508,
397,
315,
1272,
1297,
506,
279,
923,
315,
397,
315,
5748,
30,
11843,
397,
460,
397,
11143,
2934,
2738,
10683,
12,
73,
1769,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} catch(ArrayIndexOutOfBoundsException aioobe) { setRow(getRow() + 1); } | } catch(ArrayIndexOutOfBoundsException aioobe) { setRow(getRow() + 1); } | public void mOneRowMinus() { if(getRow() >= 0) { if(getRow() > 0) { setRow(getRow() - 1); } setAtEnd(false); try {// setAllVariables(); table.changeSelection(getRow(), 2, false, false); } catch(ArrayIndexOutOfBoundsException aioobe) { setRow(getRow() + 1); } } if(getRow() == 0){ setAtBegining(true); } } | 12667 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12667/355f2fb7070ecb8a0f602a1fa44e0f58ef00fb55/FrmCopiuri.java/buggy/src/imakante/sales/FrmCopiuri.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
225,
918,
312,
3335,
1999,
18434,
1435,
288,
3639,
309,
12,
588,
1999,
1435,
1545,
374,
13,
288,
5411,
309,
12,
588,
1999,
1435,
405,
374,
13,
288,
7734,
444,
1999,
12,
588,
1999,
1435,
300,
404,
1769,
5411,
289,
5411,
444,
861,
1638,
12,
5743,
1769,
5411,
775,
288,
759,
7734,
30213,
6158,
5621,
7734,
1014,
18,
3427,
6233,
12,
588,
1999,
9334,
576,
16,
629,
16,
629,
1769,
5411,
289,
1044,
12,
1076,
30548,
23003,
947,
73,
13,
288,
7734,
444,
1999,
12,
588,
1999,
1435,
397,
404,
1769,
5411,
289,
3639,
289,
3639,
309,
12,
588,
1999,
1435,
422,
374,
15329,
5411,
444,
861,
8149,
310,
12,
3767,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
225,
918,
312,
3335,
1999,
18434,
1435,
288,
3639,
309,
12,
588,
1999,
1435,
1545,
374,
13,
288,
5411,
309,
12,
588,
1999,
1435,
405,
374,
13,
288,
7734,
444,
1999,
12,
588,
1999,
1435,
300,
404,
1769,
5411,
289,
5411,
444,
861,
1638,
12,
5743,
1769,
5411,
775,
288,
759,
7734,
30213,
6158,
5621,
7734,
1014,
18,
3427,
6233,
12,
588,
1999,
9334,
576,
16,
629,
16,
629,
1769,
5411,
289,
1044,
12,
1076,
30548,
23003,
947,
73,
13,
288,
7734,
444,
1999,
12,
588,
1999,
1435,
397,
404,
1769,
5411,
289,
3639,
289,
3639,
309,
12,
588,
1999,
1435,
422,
374,
15329,
5411,
444,
861,
8149,
310,
12,
3767,
1769,
3639,
289,
565,
289,
2,
-100
] |
setVisible(false); | dispose(); | private void closeOrKeepDialog() { if(keepDialog.isSelected()) return; else { GUIUtilities.saveGeometry(this,"search"); setVisible(false); } } | 8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/e558666642895259956d98b00ac352973beb1d14/SearchDialog.java/buggy/org/gjt/sp/jedit/search/SearchDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1746,
1162,
11523,
6353,
1435,
202,
95,
202,
202,
430,
12,
10102,
6353,
18,
291,
7416,
10756,
1082,
202,
2463,
31,
202,
202,
12107,
202,
202,
95,
1082,
202,
43,
5370,
11864,
18,
5688,
9823,
12,
2211,
10837,
3072,
8863,
1082,
202,
542,
6207,
12,
5743,
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,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1746,
1162,
11523,
6353,
1435,
202,
95,
202,
202,
430,
12,
10102,
6353,
18,
291,
7416,
10756,
1082,
202,
2463,
31,
202,
202,
12107,
202,
202,
95,
1082,
202,
43,
5370,
11864,
18,
5688,
9823,
12,
2211,
10837,
3072,
8863,
1082,
202,
542,
6207,
12,
5743,
1769,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
runtime.getRubyClass()); | (ArrayStack)threadContext.getClassStack().clone()); | public void visitDefsNode(DefsNode iVisited) { IRubyObject receiver = eval(iVisited.getReceiverNode()); if (runtime.getSafeLevel() >= 4 && !receiver.isTaint()) { throw new SecurityError(runtime, "Insecure; can't define singleton method."); } if (receiver.isFrozen()) { throw new FrozenError(runtime, "object"); } if (! receiver.singletonMethodsAllowed()) { throw new TypeError(runtime, "can't define singleton method \"" + iVisited.getName() + "\" for " + receiver.getType()); } RubyClass rubyClass = receiver.getSingletonClass(); if (runtime.getSafeLevel() >= 4) { ICallable method = (ICallable) rubyClass.getMethods().get(iVisited.getName()); if (method != null) { throw new SecurityError(runtime, "Redefining method prohibited."); } } DefaultMethod newMethod = new DefaultMethod(iVisited.getBodyNode(), (ArgsNode) iVisited.getArgsNode(), Visibility.PUBLIC, runtime.getRubyClass()); iVisited.getBodyNode().accept(new CreateJumpTargetVisitor(newMethod)); rubyClass.addMethod(iVisited.getName(), newMethod); receiver.callMethod("singleton_method_added", runtime.newSymbol(iVisited.getName())); result = runtime.getNil(); } | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/7fd129dfcc9660fb6d3c382cc48a2692d03890ca/EvaluateVisitor.java/clean/src/org/jruby/evaluator/EvaluateVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
14554,
907,
12,
14554,
907,
277,
30019,
13,
288,
3639,
15908,
10340,
921,
5971,
273,
5302,
12,
77,
30019,
18,
588,
12952,
907,
10663,
3639,
309,
261,
9448,
18,
588,
9890,
2355,
1435,
1545,
1059,
597,
401,
24454,
18,
291,
29048,
10756,
288,
5411,
604,
394,
6036,
668,
12,
9448,
16,
315,
382,
8869,
31,
848,
1404,
4426,
6396,
707,
1199,
1769,
3639,
289,
3639,
309,
261,
24454,
18,
291,
42,
9808,
10756,
288,
5411,
604,
394,
478,
9808,
668,
12,
9448,
16,
315,
1612,
8863,
3639,
289,
3639,
309,
16051,
5971,
18,
24487,
4712,
5042,
10756,
288,
5411,
604,
394,
3580,
12,
9448,
16,
27573,
315,
4169,
1404,
4426,
6396,
707,
11843,
397,
27573,
277,
30019,
18,
17994,
1435,
397,
27573,
7023,
364,
315,
397,
27573,
5971,
18,
588,
559,
10663,
3639,
289,
3639,
19817,
797,
22155,
797,
273,
5971,
18,
588,
19571,
797,
5621,
3639,
309,
261,
9448,
18,
588,
9890,
2355,
1435,
1545,
1059,
13,
288,
5411,
467,
11452,
707,
273,
261,
45,
11452,
13,
22155,
797,
18,
588,
4712,
7675,
588,
12,
77,
30019,
18,
17994,
10663,
5411,
309,
261,
2039,
480,
446,
13,
288,
7734,
604,
394,
6036,
668,
12,
9448,
16,
315,
426,
5649,
310,
707,
450,
29993,
1199,
1769,
5411,
289,
3639,
289,
3639,
2989,
1305,
394,
1305,
273,
394,
2989,
1305,
12,
77,
30019,
18,
588,
2250,
907,
9334,
4766,
10792,
261,
2615,
907,
13,
277,
30019,
18,
588,
2615,
907,
9334,
4766,
10792,
27791,
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,
3757,
14554,
907,
12,
14554,
907,
277,
30019,
13,
288,
3639,
15908,
10340,
921,
5971,
273,
5302,
12,
77,
30019,
18,
588,
12952,
907,
10663,
3639,
309,
261,
9448,
18,
588,
9890,
2355,
1435,
1545,
1059,
597,
401,
24454,
18,
291,
29048,
10756,
288,
5411,
604,
394,
6036,
668,
12,
9448,
16,
315,
382,
8869,
31,
848,
1404,
4426,
6396,
707,
1199,
1769,
3639,
289,
3639,
309,
261,
24454,
18,
291,
42,
9808,
10756,
288,
5411,
604,
394,
478,
9808,
668,
12,
9448,
16,
315,
1612,
8863,
3639,
289,
3639,
309,
16051,
5971,
18,
24487,
4712,
5042,
10756,
288,
5411,
604,
394,
3580,
12,
9448,
16,
27573,
315,
4169,
1404,
4426,
6396,
707,
11843,
397,
27573,
2
] |
waitForIndexer(fPdom, file, MAX_TIME_INDEXER); | waitForIndexer(fIndex, file, MAX_TIME_INDEXER); | public void _testAutomaticConstructor_156668() throws Exception { String content = readTaggedComment("testAutomaticConstructor"); IFile file= createFile(getProject(), "testConstructor.cpp", content); waitForIndexer(fPdom, file, MAX_TIME_INDEXER); IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); CEditor editor= (CEditor) IDE.openEditor(page, file); editor.selectAndReveal(content.indexOf("MyClass()"), 2); openCallHierarchy(editor); Tree tree = getCHTree(page); checkTreeNode(tree, 0, "MyClass::MyClass()"); checkTreeNode(tree, 0, 0, "automatic()"); editor.selectAndReveal(content.indexOf("~MyClass"), 2); openCallHierarchy(editor); checkTreeNode(tree, 0, "MyClass::~MyClass()"); checkTreeNode(tree, 0, 0, "automatic()"); } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/f5a4ba1d7638b16bde80c2f1086c78aa03af1f90/BasicCppCallHierarchyTest.java/clean/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/callhierarchy/BasicCppCallHierarchyTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
389,
3813,
7150,
4941,
6293,
67,
3600,
6028,
9470,
1435,
1216,
1185,
288,
202,
202,
780,
913,
273,
855,
18674,
4469,
2932,
3813,
7150,
4941,
6293,
8863,
202,
202,
45,
812,
585,
33,
21266,
12,
588,
4109,
9334,
315,
3813,
6293,
18,
4057,
84,
3113,
913,
1769,
202,
202,
7048,
1290,
20877,
12,
74,
52,
9859,
16,
585,
16,
4552,
67,
4684,
67,
9199,
654,
1769,
202,
202,
45,
2421,
22144,
1964,
1363,
273,
11810,
5370,
18,
588,
2421,
22144,
7675,
588,
3896,
2421,
22144,
3829,
7675,
588,
3896,
1964,
5621,
202,
202,
1441,
72,
1811,
4858,
33,
261,
1441,
72,
1811,
13,
1599,
41,
18,
3190,
6946,
12,
2433,
16,
585,
1769,
202,
202,
9177,
18,
4025,
1876,
426,
24293,
12,
1745,
18,
31806,
2932,
12062,
797,
10031,
3631,
576,
1769,
202,
202,
3190,
1477,
12074,
12,
9177,
1769,
202,
202,
2471,
2151,
273,
336,
1792,
2471,
12,
2433,
1769,
202,
202,
1893,
12513,
12,
3413,
16,
374,
16,
315,
12062,
797,
2866,
12062,
797,
1435,
8863,
202,
202,
1893,
12513,
12,
3413,
16,
374,
16,
374,
16,
315,
5854,
4941,
1435,
8863,
202,
202,
9177,
18,
4025,
1876,
426,
24293,
12,
1745,
18,
31806,
2932,
98,
12062,
797,
6,
3631,
576,
1769,
202,
202,
3190,
1477,
12074,
12,
9177,
1769,
202,
202,
1893,
12513,
12,
3413,
16,
374,
16,
315,
12062,
797,
2866,
98,
12062,
797,
1435,
8863,
202,
202,
1893,
12513,
12,
3413,
16,
374,
16,
374,
16,
315,
5854,
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,
389,
3813,
7150,
4941,
6293,
67,
3600,
6028,
9470,
1435,
1216,
1185,
288,
202,
202,
780,
913,
273,
855,
18674,
4469,
2932,
3813,
7150,
4941,
6293,
8863,
202,
202,
45,
812,
585,
33,
21266,
12,
588,
4109,
9334,
315,
3813,
6293,
18,
4057,
84,
3113,
913,
1769,
202,
202,
7048,
1290,
20877,
12,
74,
52,
9859,
16,
585,
16,
4552,
67,
4684,
67,
9199,
654,
1769,
202,
202,
45,
2421,
22144,
1964,
1363,
273,
11810,
5370,
18,
588,
2421,
22144,
7675,
588,
3896,
2421,
22144,
3829,
7675,
588,
3896,
1964,
5621,
202,
202,
1441,
72,
1811,
4858,
33,
261,
1441,
72,
1811,
13,
1599,
41,
18,
3190,
6946,
12,
2433,
16,
585,
1769,
202,
202,
2
] |
if (option.equals("-getRevisionNamesFromFilenames")) { | if (option.equals("-overrideRevisionNames")) { | protected void handleOption(String option, String optionExtraPart) throws IOException { if (option.equals("-getRevisionNamesFromFilenames")) { if (optionExtraPart.length() == 0) getRevisionNamesFromFiles = true; else getRevisionNamesFromFiles = Boolean.parseBoolean(optionExtraPart); } else throw new IllegalArgumentException("no option " + option); } | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/eefb9576df97ca214907a2f7ca1cb2564095f837/Update.java/clean/findbugs/src/java/edu/umd/cs/findbugs/workflow/Update.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
918,
1640,
1895,
12,
780,
1456,
16,
514,
1456,
7800,
1988,
13,
9506,
202,
15069,
1860,
288,
1082,
202,
430,
261,
3482,
18,
14963,
2932,
17,
588,
7939,
1557,
1265,
25579,
6809,
6,
3719,
288,
9506,
202,
430,
261,
3482,
7800,
1988,
18,
2469,
1435,
422,
374,
13,
6862,
202,
588,
7939,
1557,
1265,
2697,
273,
638,
31,
9506,
202,
12107,
6862,
202,
588,
7939,
1557,
1265,
2697,
273,
3411,
18,
2670,
5507,
12,
3482,
7800,
1988,
1769,
1082,
202,
97,
1082,
202,
12107,
1875,
202,
12849,
394,
2754,
2932,
2135,
1456,
315,
397,
1456,
1769,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
7800,
1988,
18,
2469,
1435,
422,
374,
13,
6862,
202,
588,
7939,
1557,
1265,
2697,
273,
638,
31,
9506,
202,
12107,
6862,
202,
588,
7939,
1557,
1265,
2697,
273,
3411,
18,
2670,
5507,
12,
3482,
7800,
1988,
1769,
1082,
202,
97,
1082,
202,
12107,
1875,
202,
12849,
394,
2754,
2932,
2135,
1456,
315,
397,
1456,
1769,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
al.sourcefv(source[0],AL.POSITION,Sys.getDirectBufferAddress(source0Pos)); | al.sourcefv(source.getInt(4*0),AL.POSITION,Sys.getDirectBufferAddress(source0Pos)); | protected void i_GainTest() { int error; int[] source = new int[2]; int ch = -1; ByteBuffer source0Pos = ByteBuffer.allocateDirect(12); source0Pos.order(ByteOrder.nativeOrder()); source0Pos.putFloat(2.0f); source0Pos.putFloat(0.0f); source0Pos.putFloat(-2.0f); ByteBuffer source0Vel = ByteBuffer.allocateDirect(12); source0Vel.order(ByteOrder.nativeOrder()); source0Vel.putFloat(0.0f); source0Vel.putFloat(0.0f); source0Vel.putFloat(0.0f); ByteBuffer source1Pos = ByteBuffer.allocateDirect(12); source1Pos.order(ByteOrder.nativeOrder()); source1Pos.putFloat(-2.0f); source1Pos.putFloat(0.0f); source1Pos.putFloat(-2.0f); ByteBuffer source1Vel = ByteBuffer.allocateDirect(12); source1Vel.order(ByteOrder.nativeOrder()); source1Vel.putFloat(0.0f); source1Vel.putFloat(0.0f); source1Vel.putFloat(0.0f); al.genSources(2,source); if ((error = al.getError()) != AL.NO_ERROR) { displayALError("alGenSources 2 : ", error); return; } al.sourcef(source[0],AL.PITCH,1.0f); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcef 0 AL_PITCH : \n", error); al.sourcef(source[0],AL.GAIN,1.0f); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcef 0 AL_GAIN : \n", error); al.sourcefv(source[0],AL.POSITION,Sys.getDirectBufferAddress(source0Pos)); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcefv 0 AL_POSITION : \n", error); al.sourcefv(source[0],AL.VELOCITY,Sys.getDirectBufferAddress(source0Vel)); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcefv 0 AL_VELOCITY : \n", error); al.sourcei(source[0],AL.BUFFER, buffers[0]); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcei 0 AL_BUFFER buffer 0 : \n", error); al.sourcei(source[0],AL.LOOPING,AL.TRUE); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcei 0 AL_LOOPING true: \n", error); al.sourcef(source[1],AL.PITCH,1.0f); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcef 1 AL_PITCH : \n", error); al.sourcef(source[1],AL.GAIN,1.0f); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcef 1 AL_GAIN : \n", error); al.sourcefv(source[1],AL.POSITION,Sys.getDirectBufferAddress(source1Pos)); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcefv 1 AL_POSITION : \n", error); al.sourcefv(source[1],AL.VELOCITY,Sys.getDirectBufferAddress(source1Vel)); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcefv 1 AL_VELOCITY : \n", error); al.sourcei(source[1],AL.BUFFER, buffers[1]); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcei 1 AL_BUFFER buffer 1 : \n", error); al.sourcei(source[1],AL.LOOPING,AL.TRUE); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcei 1 AL_LOOPING true: \n", error); System.out.print("Gain Test\n"); System.out.print("Press '1' to play source 0 (looping)\n"); System.out.print("Press '2' to play source 1 (looping)\n"); System.out.print("Press '3' to stop source 0\n"); System.out.print("Press '4' to stop source 1\n"); System.out.print("Press '5' to set source 0 gain to 1.0\n"); System.out.print("Press '6' to set source 0 gain to 0.5\n"); System.out.print("Press '7' to set source 0 gain to 0.25\n"); System.out.print("Press '8' to set source 0 gain to 0\n"); System.out.print("Press 'A' to set Listener Gain to 1.0\n"); System.out.print("Press 'B' to set Listener Gain to 0.5\n"); System.out.print("Press 'C' to set Listener Gain to 0.25\n"); System.out.print("Press 'D' to set Listener Gain to 0.0\n"); System.out.print("Press 'Q' to quit\n"); do { try { ch = System.in.read(); } catch (IOException ioe) { } switch (ch) { case '1': al.sourcePlay(source[0]); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcePlay source 0 : ", error); break; case '2': al.sourcePlay(source[1]); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcePlay source 1 : ", error); break; case '3': al.sourceStop(source[0]); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourceStop source 0 : \n", error); break; case '4': al.sourceStop(source[1]); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourceStop source 1 : \n", error); break; case '5': al.sourcef(source[0],AL.GAIN,1.0f); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcef 0 AL_GAIN 1.0 : \n", error); break; case '6': al.sourcef(source[0],AL.GAIN,0.5f); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcef 0 AL_GAIN 0.5 : \n", error); break; case '7': al.sourcef(source[0],AL.GAIN,0.25f); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcef 0 AL_GAIN 0.25 : \n", error); break; case '8': al.sourcef(source[0],AL.GAIN,0.0f); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcef 0 AL_GAIN 0.0 : \n", error); break; case 'A': al.listenerf(AL.GAIN,1.0f); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alListenerf AL_GAIN 1.0 : \n", error); break; case 'B': al.listenerf(AL.GAIN,0.5f); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alListenerf AL_GAIN 0.5 : \n", error); break; case 'C': al.listenerf(AL.GAIN,0.25f); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alListenerf AL_GAIN 0.25 : \n", error); break; case 'D': al.listenerf(AL.GAIN,0.0f); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alListenerf AL_GAIN 0.0 : \n", error); break; } } while (ch != 'Q'); // Reset & Release resources al.listenerf(AL.GAIN,1.0f); al.sourceStopv(2,source); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourceStop : ", error); al.deleteSources(2, source); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alDeleteSources 2 : ", error); } | 5076 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5076/f85aaf6b019e121ae356134303adfe86ac9476bb/ALTest.java/clean/src/java/org/lwjgl/openal/test/ALTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
277,
67,
43,
530,
4709,
1435,
288,
3639,
509,
377,
555,
31,
3639,
509,
8526,
282,
1084,
273,
394,
509,
63,
22,
15533,
3639,
509,
377,
462,
273,
300,
21,
31,
7734,
7400,
1084,
20,
1616,
273,
7400,
18,
16247,
5368,
12,
2138,
1769,
3639,
1084,
20,
1616,
18,
1019,
12,
3216,
2448,
18,
13635,
2448,
10663,
3639,
1084,
20,
1616,
18,
458,
4723,
12,
22,
18,
20,
74,
1769,
3639,
1084,
20,
1616,
18,
458,
4723,
12,
20,
18,
20,
74,
1769,
3639,
1084,
20,
1616,
18,
458,
4723,
19236,
22,
18,
20,
74,
1769,
7734,
7400,
1084,
20,
58,
292,
273,
7400,
18,
16247,
5368,
12,
2138,
1769,
3639,
1084,
20,
58,
292,
18,
1019,
12,
3216,
2448,
18,
13635,
2448,
10663,
3639,
1084,
20,
58,
292,
18,
458,
4723,
12,
20,
18,
20,
74,
1769,
3639,
1084,
20,
58,
292,
18,
458,
4723,
12,
20,
18,
20,
74,
1769,
3639,
1084,
20,
58,
292,
18,
458,
4723,
12,
20,
18,
20,
74,
1769,
7734,
7400,
1084,
21,
1616,
273,
7400,
18,
16247,
5368,
12,
2138,
1769,
3639,
1084,
21,
1616,
18,
1019,
12,
3216,
2448,
18,
13635,
2448,
10663,
3639,
1084,
21,
1616,
18,
458,
4723,
19236,
22,
18,
20,
74,
1769,
3639,
1084,
21,
1616,
18,
458,
4723,
12,
20,
18,
20,
74,
1769,
3639,
1084,
21,
1616,
18,
458,
4723,
19236,
22,
18,
20,
74,
1769,
7734,
7400,
1084,
21,
58,
292,
273,
7400,
18,
16247,
5368,
12,
2138,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
277,
67,
43,
530,
4709,
1435,
288,
3639,
509,
377,
555,
31,
3639,
509,
8526,
282,
1084,
273,
394,
509,
63,
22,
15533,
3639,
509,
377,
462,
273,
300,
21,
31,
7734,
7400,
1084,
20,
1616,
273,
7400,
18,
16247,
5368,
12,
2138,
1769,
3639,
1084,
20,
1616,
18,
1019,
12,
3216,
2448,
18,
13635,
2448,
10663,
3639,
1084,
20,
1616,
18,
458,
4723,
12,
22,
18,
20,
74,
1769,
3639,
1084,
20,
1616,
18,
458,
4723,
12,
20,
18,
20,
74,
1769,
3639,
1084,
20,
1616,
18,
458,
4723,
19236,
22,
18,
20,
74,
1769,
7734,
7400,
1084,
20,
58,
292,
273,
7400,
18,
16247,
5368,
12,
2138,
1769,
3639,
1084,
20,
58,
292,
18,
2
] |
TinyWindowUI(TinyWindow window, BufferedImage image) | public TinyWindowUI(TinyWindow window, BufferedImage image) | TinyWindowUI(TinyWindow window, BufferedImage image) { if (window == null) throw new NullPointerException("No window."); this.window = window; titleBar = new TitleBar(window.getTitle()); canvas = new ThumbnailCanvas(image); makeBorders(); makeComponentsSize(image); buildUI(); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/11fc11c4e769e382f5279d4e21088d468940d1b6/TinyWindowUI.java/clean/SRC/org/openmicroscopy/shoola/agents/hiviewer/twindow/TinyWindowUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
399,
11652,
3829,
5370,
12,
56,
11652,
3829,
2742,
16,
12362,
1316,
13,
565,
288,
3639,
309,
261,
5668,
422,
446,
13,
604,
394,
10108,
2932,
2279,
2742,
1199,
1769,
3639,
333,
18,
5668,
273,
2742,
31,
3639,
2077,
5190,
273,
394,
10984,
5190,
12,
5668,
18,
588,
4247,
10663,
3639,
5953,
273,
394,
935,
6196,
12971,
12,
2730,
1769,
3639,
1221,
21621,
5621,
3639,
1221,
7171,
1225,
12,
2730,
1769,
3639,
1361,
5370,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
399,
11652,
3829,
5370,
12,
56,
11652,
3829,
2742,
16,
12362,
1316,
13,
565,
288,
3639,
309,
261,
5668,
422,
446,
13,
604,
394,
10108,
2932,
2279,
2742,
1199,
1769,
3639,
333,
18,
5668,
273,
2742,
31,
3639,
2077,
5190,
273,
394,
10984,
5190,
12,
5668,
18,
588,
4247,
10663,
3639,
5953,
273,
394,
935,
6196,
12971,
12,
2730,
1769,
3639,
1221,
21621,
5621,
3639,
1221,
7171,
1225,
12,
2730,
1769,
3639,
1361,
5370,
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
] |
public boolean addTaxa(int starting, int num){ setDirty(true); if (starting<0) starting = -1; else if (starting>=numTaxa) starting = numTaxa-1; int newNumTaxa = numTaxa + num; try { incrementStatesVersion(); if (usingShortMatrix()){ short shortUnassigned = CategoricalState.compressToShort(getDefaultState()); for (int ic=0; ic<numChars; ic++) { matrixShort[ic] = ShortArray.addParts(matrixShort[ic], starting, num, CategoricalState.compressToShort(getDefaultState())); } } else { for (int ic=0; ic<numChars; ic++) { matrix[ic] = LongArray.addParts(matrix[ic], starting, num, getDefaultState()); } } } catch (OutOfMemoryError e){ MesquiteMessage.warnProgrammer("Sorry, taxa could not be added to the Character Matrix because of lack of memory"); } numTaxa = newNumTaxa; return super.addTaxa(starting, num); } | 56479 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56479/f13d81739af31354f83b14c9490772258666d61b/CategoricalData.java/clean/Source/mesquite/categ/lib/CategoricalData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
527,
7731,
69,
12,
474,
5023,
16,
509,
818,
15329,
202,
202,
542,
10785,
12,
3767,
1769,
202,
202,
430,
261,
18526,
32,
20,
13,
1082,
202,
18526,
273,
300,
21,
31,
202,
202,
12107,
309,
261,
18526,
34,
33,
2107,
7731,
69,
13,
1082,
202,
18526,
273,
818,
7731,
69,
17,
21,
31,
202,
202,
474,
394,
2578,
7731,
69,
273,
818,
7731,
69,
397,
818,
31,
9506,
202,
698,
288,
1082,
202,
15016,
7629,
1444,
5621,
1082,
202,
430,
261,
9940,
4897,
4635,
10756,
95,
9506,
202,
6620,
3025,
984,
15938,
273,
385,
14341,
1119,
18,
14706,
774,
4897,
12,
588,
1868,
1119,
10663,
9506,
202,
1884,
261,
474,
13579,
33,
20,
31,
13579,
32,
2107,
7803,
31,
13579,
27245,
288,
6862,
202,
5667,
4897,
63,
335,
65,
273,
7925,
1076,
18,
1289,
4305,
12,
5667,
4897,
63,
335,
6487,
5023,
16,
818,
16,
385,
14341,
1119,
18,
14706,
774,
4897,
12,
588,
1868,
1119,
1435,
10019,
9506,
202,
97,
1082,
202,
97,
1082,
202,
12107,
288,
9506,
202,
1884,
261,
474,
13579,
33,
20,
31,
13579,
32,
2107,
7803,
31,
13579,
27245,
288,
6862,
202,
5667,
63,
335,
65,
273,
3407,
1076,
18,
1289,
4305,
12,
5667,
63,
335,
6487,
5023,
16,
818,
16,
4829,
1119,
10663,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
14683,
261,
11224,
6031,
668,
425,
15329,
1082,
202,
49,
281,
372,
1137,
1079,
18,
8935,
9459,
6592,
2932,
28898,
16,
5320,
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,
1250,
527,
7731,
69,
12,
474,
5023,
16,
509,
818,
15329,
202,
202,
542,
10785,
12,
3767,
1769,
202,
202,
430,
261,
18526,
32,
20,
13,
1082,
202,
18526,
273,
300,
21,
31,
202,
202,
12107,
309,
261,
18526,
34,
33,
2107,
7731,
69,
13,
1082,
202,
18526,
273,
818,
7731,
69,
17,
21,
31,
202,
202,
474,
394,
2578,
7731,
69,
273,
818,
7731,
69,
397,
818,
31,
9506,
202,
698,
288,
1082,
202,
15016,
7629,
1444,
5621,
1082,
202,
430,
261,
9940,
4897,
4635,
10756,
95,
9506,
202,
6620,
3025,
984,
15938,
273,
385,
14341,
1119,
18,
14706,
774,
4897,
12,
588,
1868,
1119,
10663,
9506,
202,
1884,
261,
474,
13579,
33,
20,
31,
2
] |
||
private Set<IFile> cleanupAllGeneratedFilesForParent( IFile parent ) | private Set<IFile> cleanupAllGeneratedFilesForParent( IFile parent, ICompilationUnit parentCompilationUnit ) | private Set<IFile> cleanupAllGeneratedFilesForParent( IFile parent ) { GeneratedFileManager gfm = GeneratedFileManager.getGeneratedFileManager( parent.getProject() ); Set<IFile> lastGeneratedFiles = gfm.getGeneratedFilesForParent( parent ); return cleanupNoLongerGeneratedFiles( parent, lastGeneratedFiles, Collections.<IFile>emptySet(), gfm ); } | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/1604c4cb884aee860a1cc5ef654a628a5e36afd0/APTDispatchRunnable.java/buggy/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/APTDispatchRunnable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1000,
32,
45,
812,
34,
6686,
1595,
7823,
2697,
20374,
12,
467,
812,
982,
262,
202,
95,
202,
202,
7823,
812,
1318,
13828,
81,
273,
11025,
812,
1318,
18,
588,
7823,
812,
1318,
12,
982,
18,
588,
4109,
1435,
11272,
202,
202,
694,
32,
45,
812,
34,
1142,
7823,
2697,
273,
13828,
81,
18,
588,
7823,
2697,
20374,
12,
982,
11272,
202,
202,
2463,
6686,
2279,
15927,
693,
7823,
2697,
12,
982,
16,
1142,
7823,
2697,
16,
5737,
22782,
45,
812,
34,
5531,
694,
9334,
13828,
81,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1000,
32,
45,
812,
34,
6686,
1595,
7823,
2697,
20374,
12,
467,
812,
982,
262,
202,
95,
202,
202,
7823,
812,
1318,
13828,
81,
273,
11025,
812,
1318,
18,
588,
7823,
812,
1318,
12,
982,
18,
588,
4109,
1435,
11272,
202,
202,
694,
32,
45,
812,
34,
1142,
7823,
2697,
273,
13828,
81,
18,
588,
7823,
2697,
20374,
12,
982,
11272,
202,
202,
2463,
6686,
2279,
15927,
693,
7823,
2697,
12,
982,
16,
1142,
7823,
2697,
16,
5737,
22782,
45,
812,
34,
5531,
694,
9334,
13828,
81,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return sendRequestToSlave(defaultSlaveURL, new RunRequest(job)); | return sendRequestToSlave(job.getSlaveURL(), new RunRequest(job)); | protected JobTimings runJob(Job job) { return sendRequestToSlave(defaultSlaveURL, new RunRequest(job)); } | 3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/96f752d06dba37742f7716ee54f31f1982df763e/PerfRunner.java/clean/tests/src/org/jboss/test/messaging/jms/perf/PerfRunner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
3956,
10178,
899,
1086,
2278,
12,
2278,
1719,
13,
282,
288,
1377,
327,
12413,
774,
20302,
12,
4688,
18,
588,
20302,
1785,
9334,
394,
1939,
691,
12,
4688,
10019,
282,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
3956,
10178,
899,
1086,
2278,
12,
2278,
1719,
13,
282,
288,
1377,
327,
12413,
774,
20302,
12,
4688,
18,
588,
20302,
1785,
9334,
394,
1939,
691,
12,
4688,
10019,
282,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
String hasFilterParam = (String) session.getValue("filterparameter"); template.setData("filternumber","0"); | String hasFilterParam = (String) session.getValue("filterparameter"); template.setData("filternumber","0"); | public byte[] getContent(CmsObject cms, String templateFile, String elementName, Hashtable parameters, String templateSelector) throws CmsException { //return var byte[] returnProcess = null; String error=""; // the CD to be used A_CmsContentDefinition cd=null; // session will be created or fetched I_CmsSession session = (CmsSession) cms.getRequestContext().getSession(true); //create new workplace templatefile object CmsXmlWpTemplateFile template = new CmsXmlWpTemplateFile(cms, templateFile); //get parameters String selectBox = (String) parameters.get("selectbox"); String filterParam = (String) parameters.get("filterparameter"); String id = (String) parameters.get("id"); String idlock = (String) parameters.get("idlock"); String iddelete = (String) parameters.get("iddelete"); String idedit = (String) parameters.get("idedit"); String idview = (String) parameters.get("idview"); String action = (String) parameters.get("action"); String parentId = (String) parameters.get("parentId"); String ok = (String) parameters.get("ok"); String setaction = (String) parameters.get("setaction"); // debug-code /* System.err.println("### "+this.getContentDefinitionClass().getName()); System.err.println("### PARAMETERS"); Enumeration enu=parameters.keys(); while (enu.hasMoreElements()) { String a=(String)enu.nextElement(); System.err.println("## "+a); String b=parameters.get(a).toString(); System.err.println("## "+a+" -> "+b); } System.err.println(""); System.err.println("+++ SESSION"); String[] ses=session.getValueNames(); for (int i=0;i<ses.length;i++) { String a=ses[i]; String b=session.getValue(a).toString(); System.err.println("++ "+a+" -> "+b); } System.err.println(""); System.err.println("-------------------------------------------------"); */ String hasFilterParam = (String) session.getValue("filterparameter"); template.setData("filternumber","0"); //change filter if ((hasFilterParam == null) && (filterParam == null) && (setaction == null)) { if (selectBox != null) { session.putValue("filter", selectBox); template.setData("filternumber",selectBox); } } else { template.setData("filternumber", (String)session.getValue("filter")); } //move id values to id, remove old markers if (idlock != null) { id = idlock; session.putValue("idlock", idlock); session.removeValue("idedit"); session.removeValue("idnew"); session.removeValue("iddelete"); } if (idedit != null) { id = idedit; session.putValue("idedit", idedit); session.removeValue("idlock"); session.removeValue("idnew"); session.removeValue("iddelete"); } if (iddelete != null) { id = iddelete; session.putValue("iddelete", iddelete); session.removeValue("idedit"); session.removeValue("idnew"); session.removeValue("idlock"); } if ((id != null) && (id.equals("new"))) { session.putValue("idnew", id); session.removeValue("idedit"); session.removeValue("idnew"); session.removeValue("iddelete"); session.removeValue("idlock"); } //get marker id from session String idsave = (String) session.getValue("idsave"); if (ok == null) { idsave = null; } if(parentId != null) { session.putValue("parentId", parentId); } //get marker for accessing the new dialog String idnewsave = (String) session.getValue("idnew"); // --- This is the part when getContentNew is called --- //access to new dialog if ((id != null) && (id.equals("new")) || ((idsave != null) && (idsave.equals("new")))) { if (idsave != null) { parameters.put("id", idsave); } if (id != null) { parameters.put("id", id); session.putValue("idsave", id); } return getContentNewInternal(cms,id,cd,session,template,elementName,parameters,templateSelector); // --- This was the part when getContentNew is called --- } //go to the appropriate getContent methods if ((id == null) && (idsave == null) && (action == null) && (idlock==null) && (iddelete == null) && (idedit == null)) { //process the head frame containing the filter returnProcess = getContentHead(cms, template, elementName, parameters, templateSelector); //finally return processed data return returnProcess; } else { //process the body frame containing the table if(action == null) { action = ""; } if (action.equalsIgnoreCase("list")){ //process the list output // clear "idsave" here in case user verification of data failed and input has to be shown again ... session.removeValue("idsave"); returnProcess = getContentList(cms, template, elementName, parameters, templateSelector); //finally return processed data return returnProcess; } else { // --- This is the part where getContentEdit is called --- //get marker for accessing the edit dialog String ideditsave = (String) session.getValue("idedit"); //go to the edit dialog if ((idedit != null) || (ideditsave != null)) { if (idsave != null) { parameters.put("id", idsave); } if (id != null) { parameters.put("id", id); session.putValue("idsave", id); } return getContentEditInternal(cms,id,cd,session,template,elementName,parameters,templateSelector); // --- This was the part where getContentEdit is called --- } else { //store id parameters for delete and lock if (idsave != null) { parameters.put("id", idsave); session.removeValue("idsave"); } else { parameters.put("id", id); session.putValue("idsave", id); } //get marker for accessing the delete dialog String iddeletesave = (String) session.getValue("iddelete"); //access delete dialog if (((iddelete != null) || (iddeletesave != null)) && (idlock == null)) { returnProcess = getContentDelete(cms, template, elementName, parameters, templateSelector); return returnProcess; }else { //access lock dialog returnProcess = getContentLock(cms, template, elementName, parameters, templateSelector); //finally return processed data return returnProcess; } } } }} | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/608a6c7da3a21b6fd20069a5c4071d0b5686024f/A_CmsBackoffice.java/buggy/src/com/opencms/defaults/A_CmsBackoffice.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
1160,
8526,
5154,
12,
4747,
921,
6166,
16,
514,
28215,
16,
514,
14453,
16,
18559,
1472,
16,
514,
1542,
4320,
13,
1216,
11228,
288,
565,
368,
2463,
569,
565,
1160,
8526,
327,
2227,
273,
446,
31,
3639,
514,
555,
1546,
14432,
3639,
368,
326,
21508,
358,
506,
1399,
540,
432,
67,
4747,
1350,
1852,
7976,
33,
2011,
31,
565,
368,
1339,
903,
506,
2522,
578,
12807,
565,
467,
67,
4747,
2157,
1339,
273,
261,
4747,
2157,
13,
6166,
18,
588,
21426,
7675,
588,
2157,
12,
3767,
1769,
565,
368,
2640,
394,
28676,
1542,
768,
733,
565,
16084,
59,
84,
2283,
812,
1542,
273,
394,
16084,
59,
84,
2283,
812,
12,
6851,
16,
28215,
1769,
565,
368,
588,
1472,
565,
514,
2027,
3514,
273,
261,
780,
13,
1472,
18,
588,
2932,
4025,
2147,
8863,
565,
514,
1034,
786,
273,
261,
780,
13,
1472,
18,
588,
2932,
2188,
6775,
8863,
565,
514,
612,
273,
261,
780,
13,
1472,
18,
588,
2932,
350,
8863,
565,
514,
612,
739,
273,
261,
780,
13,
1472,
18,
588,
2932,
350,
739,
8863,
565,
514,
277,
449,
929,
273,
261,
780,
13,
1472,
18,
588,
2932,
1873,
929,
8863,
565,
514,
277,
785,
305,
273,
261,
780,
13,
1472,
18,
588,
2932,
13898,
305,
8863,
3639,
514,
612,
1945,
273,
261,
780,
13,
1472,
18,
588,
2932,
350,
1945,
8863,
565,
514,
1301,
273,
261,
780,
13,
1472,
18,
588,
2932,
1128,
8863,
3639,
514,
11582,
273,
261,
780,
13,
1472,
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,
1071,
1160,
8526,
5154,
12,
4747,
921,
6166,
16,
514,
28215,
16,
514,
14453,
16,
18559,
1472,
16,
514,
1542,
4320,
13,
1216,
11228,
288,
565,
368,
2463,
569,
565,
1160,
8526,
327,
2227,
273,
446,
31,
3639,
514,
555,
1546,
14432,
3639,
368,
326,
21508,
358,
506,
1399,
540,
432,
67,
4747,
1350,
1852,
7976,
33,
2011,
31,
565,
368,
1339,
903,
506,
2522,
578,
12807,
565,
467,
67,
4747,
2157,
1339,
273,
261,
4747,
2157,
13,
6166,
18,
588,
21426,
7675,
588,
2157,
12,
3767,
1769,
565,
368,
2640,
394,
28676,
1542,
768,
733,
565,
16084,
59,
84,
2283,
812,
1542,
273,
394,
16084,
59,
84,
2283,
812,
12,
6851,
16,
28215,
1769,
565,
368,
588,
1472,
2
] |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, true) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, true) }; | public void test_Simple_XNP_LCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons = sessReceive.createConsumer(queue1); MessageProducer prod = sessSend.createProducer(queue1); prod.setDeliveryMode(DeliveryMode.NON_PERSISTENT); Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, true) }; runRunners(runners); conn.close(); } | 3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/854a630fe1e9177482e054121f2fd66ee7f5e035/StressQueueSameConnection.java/clean/tests/src/org/jboss/test/messaging/jms/stress/StressQueueSameConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
67,
5784,
67,
60,
23430,
67,
48,
3587,
1435,
1216,
1185,
282,
288,
1377,
4050,
1487,
273,
6080,
18,
2640,
1952,
5621,
1377,
1487,
18,
1937,
5621,
5411,
12410,
2157,
8451,
3826,
273,
14015,
17269,
1952,
13,
4646,
2934,
2640,
17269,
2157,
5621,
1377,
3877,
8451,
11323,
273,
1487,
18,
2640,
2157,
12,
5743,
16,
3877,
18,
11935,
67,
3649,
27091,
6687,
7113,
1769,
5411,
2350,
5869,
1959,
273,
8451,
11323,
18,
2640,
5869,
12,
4000,
21,
1769,
1377,
2350,
12140,
10791,
273,
8451,
3826,
18,
2640,
12140,
12,
4000,
21,
1769,
1377,
10791,
18,
542,
8909,
2309,
12,
8909,
2309,
18,
3993,
67,
3194,
28175,
1769,
5411,
22712,
8526,
1086,
9646,
273,
394,
22712,
8526,
288,
394,
28124,
22,
3513,
12021,
2932,
17672,
21,
3113,
8451,
3826,
16,
10791,
16,
9443,
67,
3194,
28175,
67,
26195,
16,
2130,
16,
13159,
3631,
4766,
3639,
394,
868,
3165,
310,
12952,
12,
23828,
11323,
16,
1959,
16,
9443,
67,
3194,
28175,
67,
26195,
16,
2130,
16,
21017,
16,
638,
13,
289,
31,
1377,
1086,
1997,
9646,
12,
2681,
9646,
1769,
1377,
1487,
18,
4412,
5621,
540,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
67,
5784,
67,
60,
23430,
67,
48,
3587,
1435,
1216,
1185,
282,
288,
1377,
4050,
1487,
273,
6080,
18,
2640,
1952,
5621,
1377,
1487,
18,
1937,
5621,
5411,
12410,
2157,
8451,
3826,
273,
14015,
17269,
1952,
13,
4646,
2934,
2640,
17269,
2157,
5621,
1377,
3877,
8451,
11323,
273,
1487,
18,
2640,
2157,
12,
5743,
16,
3877,
18,
11935,
67,
3649,
27091,
6687,
7113,
1769,
5411,
2350,
5869,
1959,
273,
8451,
11323,
18,
2640,
5869,
12,
4000,
21,
1769,
1377,
2350,
12140,
10791,
273,
8451,
3826,
18,
2640,
12140,
12,
4000,
21,
1769,
1377,
10791,
18,
542,
8909,
2309,
12,
8909,
2309,
18,
3993,
67,
3194,
28175,
1769,
5411,
22712,
8526,
1086,
9646,
273,
394,
22712,
2
] |
return RubyFixnum.newFixnum(runtime, value == null ? 0 : value.hashCode()); | return getRuntime().newFixnum(value == null ? 0 : value.hashCode()); | public RubyFixnum hash() { return RubyFixnum.newFixnum(runtime, value == null ? 0 : value.hashCode()); } | 45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/870e1da9b41bfdbae259e1fc5f18fc8b76686998/JavaObject.java/buggy/src/org/jruby/javasupport/JavaObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
8585,
2107,
1651,
1435,
288,
3639,
327,
18814,
7675,
2704,
8585,
2107,
12,
1132,
422,
446,
692,
374,
294,
460,
18,
2816,
1085,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
(2000 * 3600, "Asia/Jerusalem", Calendar.APRIL, 1, 0, 1000 * 3600, Calendar.OCTOBER, 1, 0, 1000 * 3600); timezones0.put("Asia/Jerusalem", tz); tz = new SimpleTimeZone | static synchronized HashMap timezones() { if (timezones0 == null) { HashMap timezones = new HashMap(); timezones0 = timezones; TimeZone tz; // Automatically generated by scripts/timezones.pl // XXX - Should we read this data from a file? tz = new SimpleTimeZone(-11000 * 3600, "MIT"); timezones0.put("MIT", tz); timezones0.put("Pacific/Apia", tz); timezones0.put("Pacific/Midway", tz); timezones0.put("Pacific/Niue", tz); timezones0.put("Pacific/Pago_Pago", tz); tz = new SimpleTimeZone (-10000 * 3600, "America/Adak", Calendar.APRIL, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("America/Adak", tz); tz = new SimpleTimeZone(-10000 * 3600, "HST"); timezones0.put("HST", tz); timezones0.put("Pacific/Fakaofo", tz); timezones0.put("Pacific/Honolulu", tz); timezones0.put("Pacific/Johnston", tz); timezones0.put("Pacific/Rarotonga", tz); timezones0.put("Pacific/Tahiti", tz); tz = new SimpleTimeZone(-9500 * 3600, "Pacific/Marquesas"); timezones0.put("Pacific/Marquesas", tz); tz = new SimpleTimeZone (-9000 * 3600, "AST", Calendar.APRIL, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("AST", tz); timezones0.put("America/Anchorage", tz); timezones0.put("America/Juneau", tz); timezones0.put("America/Nome", tz); timezones0.put("America/Yakutat", tz); tz = new SimpleTimeZone(-9000 * 3600, "Pacific/Gambier"); timezones0.put("Pacific/Gambier", tz); tz = new SimpleTimeZone (-8000 * 3600, "PST", Calendar.APRIL, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("PST", tz); timezones0.put("PST8PDT", tz); timezones0.put("America/Dawson", tz); timezones0.put("America/Los_Angeles", tz); timezones0.put("America/Tijuana", tz); timezones0.put("America/Vancouver", tz); timezones0.put("America/Whitehorse", tz); timezones0.put("US/Pacific-New", tz); tz = new SimpleTimeZone(-8000 * 3600, "Pacific/Pitcairn"); timezones0.put("Pacific/Pitcairn", tz); tz = new SimpleTimeZone (-7000 * 3600, "MST", Calendar.APRIL, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("MST", tz); timezones0.put("MST7MDT", tz); timezones0.put("America/Boise", tz); timezones0.put("America/Chihuahua", tz); timezones0.put("America/Denver", tz); timezones0.put("America/Edmonton", tz); timezones0.put("America/Inuvik", tz); timezones0.put("America/Mazatlan", tz); timezones0.put("America/Shiprock", tz); timezones0.put("America/Yellowknife", tz); tz = new SimpleTimeZone(-7000 * 3600, "MST7"); timezones0.put("MST7", tz); timezones0.put("PNT", tz); timezones0.put("America/Dawson_Creek", tz); timezones0.put("America/Hermosillo", tz); timezones0.put("America/Phoenix", tz); tz = new SimpleTimeZone (-6000 * 3600, "CST", Calendar.APRIL, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("CST", tz); timezones0.put("CST6CDT", tz); timezones0.put("America/Cambridge_Bay", tz); timezones0.put("America/Cancun", tz); timezones0.put("America/Chicago", tz); timezones0.put("America/Menominee", tz); timezones0.put("America/Merida", tz); timezones0.put("America/Mexico_City", tz); timezones0.put("America/Monterrey", tz); timezones0.put("America/Rainy_River", tz); timezones0.put("America/Winnipeg", tz); tz = new SimpleTimeZone(-6000 * 3600, "America/Belize"); timezones0.put("America/Belize", tz); timezones0.put("America/Costa_Rica", tz); timezones0.put("America/El_Salvador", tz); timezones0.put("America/Guatemala", tz); timezones0.put("America/Managua", tz); timezones0.put("America/Regina", tz); timezones0.put("America/Swift_Current", tz); timezones0.put("America/Tegucigalpa", tz); timezones0.put("Pacific/Galapagos", tz); tz = new SimpleTimeZone (-6000 * 3600, "Pacific/Easter", Calendar.OCTOBER, 9, -Calendar.SUNDAY, 0 * 3600, Calendar.MARCH, 9, -Calendar.SUNDAY, 0 * 3600); timezones0.put("Pacific/Easter", tz); tz = new SimpleTimeZone (-5000 * 3600, "America/Grand_Turk", Calendar.APRIL, 1, Calendar.SUNDAY, 0 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 0 * 3600); timezones0.put("America/Grand_Turk", tz); timezones0.put("America/Havana", tz); tz = new SimpleTimeZone(-5000 * 3600, "EST5"); timezones0.put("EST5", tz); timezones0.put("IET", tz); timezones0.put("America/Bogota", tz); timezones0.put("America/Cayman", tz); timezones0.put("America/Eirunepe", tz); timezones0.put("America/Guayaquil", tz); timezones0.put("America/Indiana/Indianapolis", tz); timezones0.put("America/Indiana/Knox", tz); timezones0.put("America/Indiana/Marengo", tz); timezones0.put("America/Indiana/Vevay", tz); timezones0.put("America/Indianapolis", tz); timezones0.put("America/Iqaluit", tz); timezones0.put("America/Jamaica", tz); timezones0.put("America/Lima", tz); timezones0.put("America/Panama", tz); timezones0.put("America/Pangnirtung", tz); timezones0.put("America/Port-au-Prince", tz); timezones0.put("America/Porto_Acre", tz); timezones0.put("America/Rankin_Inlet", tz); tz = new SimpleTimeZone (-5000 * 3600, "EST", Calendar.APRIL, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("EST", tz); timezones0.put("EST5EDT", tz); timezones0.put("America/Detroit", tz); timezones0.put("America/Kentucky/Louisville", tz); timezones0.put("America/Kentucky/Monticello", tz); timezones0.put("America/Louisville", tz); timezones0.put("America/Montreal", tz); timezones0.put("America/Nassau", tz); timezones0.put("America/New_York", tz); timezones0.put("America/Nipigon", tz); timezones0.put("America/Thunder_Bay", tz); tz = new SimpleTimeZone(-4000 * 3600, "PRT"); timezones0.put("PRT", tz); timezones0.put("America/Anguilla", tz); timezones0.put("America/Antigua", tz); timezones0.put("America/Aruba", tz); timezones0.put("America/Barbados", tz); timezones0.put("America/Boa_Vista", tz); timezones0.put("America/Caracas", tz); timezones0.put("America/Curacao", tz); timezones0.put("America/Dominica", tz); timezones0.put("America/Grenada", tz); timezones0.put("America/Guadeloupe", tz); timezones0.put("America/Guyana", tz); timezones0.put("America/La_Paz", tz); timezones0.put("America/Manaus", tz); timezones0.put("America/Martinique", tz); timezones0.put("America/Montserrat", tz); timezones0.put("America/Port_of_Spain", tz); timezones0.put("America/Porto_Velho", tz); timezones0.put("America/Puerto_Rico", tz); timezones0.put("America/Santo_Domingo", tz); timezones0.put("America/St_Kitts", tz); timezones0.put("America/St_Lucia", tz); timezones0.put("America/St_Thomas", tz); timezones0.put("America/St_Vincent", tz); timezones0.put("America/Tortola", tz); tz = new SimpleTimeZone (-4000 * 3600, "America/Asuncion", Calendar.OCTOBER, 1, Calendar.SUNDAY, 0 * 3600, Calendar.FEBRUARY, -1, Calendar.SUNDAY, 0 * 3600); timezones0.put("America/Asuncion", tz); tz = new SimpleTimeZone (-4000 * 3600, "America/Cuiaba", Calendar.OCTOBER, 2, Calendar.SUNDAY, 0 * 3600, Calendar.FEBRUARY, 3, Calendar.SUNDAY, 0 * 3600); timezones0.put("America/Cuiaba", tz); tz = new SimpleTimeZone (-4000 * 3600, "America/Goose_Bay", Calendar.APRIL, 1, Calendar.SUNDAY, 60000, Calendar.OCTOBER, -1, Calendar.SUNDAY, 60000); timezones0.put("America/Goose_Bay", tz); tz = new SimpleTimeZone (-4000 * 3600, "America/Glace_Bay", Calendar.APRIL, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("America/Glace_Bay", tz); timezones0.put("America/Halifax", tz); timezones0.put("America/Thule", tz); timezones0.put("Atlantic/Bermuda", tz); tz = new SimpleTimeZone (-4000 * 3600, "America/Santiago", Calendar.OCTOBER, 9, -Calendar.SUNDAY, 0 * 3600, Calendar.MARCH, 9, -Calendar.SUNDAY, 0 * 3600); timezones0.put("America/Santiago", tz); timezones0.put("Antarctica/Palmer", tz); tz = new SimpleTimeZone (-4000 * 3600, "Atlantic/Stanley", Calendar.SEPTEMBER, 2, Calendar.SUNDAY, 0 * 3600, Calendar.APRIL, 16, -Calendar.SUNDAY, 0 * 3600); timezones0.put("Atlantic/Stanley", tz); tz = new SimpleTimeZone (-3500 * 3600, "CNT", Calendar.APRIL, 1, Calendar.SUNDAY, 60000, Calendar.OCTOBER, -1, Calendar.SUNDAY, 60000); timezones0.put("CNT", tz); timezones0.put("America/St_Johns", tz); tz = new SimpleTimeZone (-3000 * 3600, "America/Araguaina", Calendar.OCTOBER, 2, Calendar.SUNDAY, 0 * 3600, Calendar.FEBRUARY, 3, Calendar.SUNDAY, 0 * 3600); timezones0.put("America/Araguaina", tz); timezones0.put("America/Sao_Paulo", tz); tz = new SimpleTimeZone(-3000 * 3600, "AGT"); timezones0.put("AGT", tz); timezones0.put("America/Belem", tz); timezones0.put("America/Buenos_Aires", tz); timezones0.put("America/Catamarca", tz); timezones0.put("America/Cayenne", tz); timezones0.put("America/Cordoba", tz); timezones0.put("America/Fortaleza", tz); timezones0.put("America/Jujuy", tz); timezones0.put("America/Maceio", tz); timezones0.put("America/Mendoza", tz); timezones0.put("America/Montevideo", tz); timezones0.put("America/Paramaribo", tz); timezones0.put("America/Recife", tz); timezones0.put("America/Rosario", tz); tz = new SimpleTimeZone (-3000 * 3600, "America/Godthab", Calendar.MARCH, 30, -Calendar.SATURDAY, 22000 * 3600, Calendar.OCTOBER, 30, -Calendar.SATURDAY, 22000 * 3600); timezones0.put("America/Godthab", tz); tz = new SimpleTimeZone (-3000 * 3600, "America/Miquelon", Calendar.APRIL, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("America/Miquelon", tz); tz = new SimpleTimeZone(-2000 * 3600, "America/Noronha"); timezones0.put("America/Noronha", tz); timezones0.put("Atlantic/South_Georgia", tz); tz = new SimpleTimeZone (-1000 * 3600, "America/Scoresbysund", Calendar.MARCH, -1, Calendar.SUNDAY, 0 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 0 * 3600); timezones0.put("America/Scoresbysund", tz); timezones0.put("Atlantic/Azores", tz); tz = new SimpleTimeZone(-1000 * 3600, "Atlantic/Cape_Verde"); timezones0.put("Atlantic/Cape_Verde", tz); timezones0.put("Atlantic/Jan_Mayen", tz); tz = new SimpleTimeZone(0 * 3600, "GMT"); timezones0.put("GMT", tz); timezones0.put("UTC", tz); timezones0.put("Africa/Abidjan", tz); timezones0.put("Africa/Accra", tz); timezones0.put("Africa/Bamako", tz); timezones0.put("Africa/Banjul", tz); timezones0.put("Africa/Bissau", tz); timezones0.put("Africa/Casablanca", tz); timezones0.put("Africa/Conakry", tz); timezones0.put("Africa/Dakar", tz); timezones0.put("Africa/El_Aaiun", tz); timezones0.put("Africa/Freetown", tz); timezones0.put("Africa/Lome", tz); timezones0.put("Africa/Monrovia", tz); timezones0.put("Africa/Nouakchott", tz); timezones0.put("Africa/Ouagadougou", tz); timezones0.put("Africa/Sao_Tome", tz); timezones0.put("Africa/Timbuktu", tz); timezones0.put("Atlantic/Reykjavik", tz); timezones0.put("Atlantic/St_Helena", tz); timezones0.put("Europe/Belfast", tz); timezones0.put("Europe/Dublin", tz); timezones0.put("Europe/London", tz); tz = new SimpleTimeZone (0 * 3600, "WET", Calendar.MARCH, -1, Calendar.SUNDAY, 1000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 1000 * 3600); timezones0.put("WET", tz); timezones0.put("Atlantic/Canary", tz); timezones0.put("Atlantic/Faeroe", tz); timezones0.put("Atlantic/Madeira", tz); timezones0.put("Europe/Lisbon", tz); tz = new SimpleTimeZone(1000 * 3600, "Africa/Algiers"); timezones0.put("Africa/Algiers", tz); timezones0.put("Africa/Bangui", tz); timezones0.put("Africa/Brazzaville", tz); timezones0.put("Africa/Douala", tz); timezones0.put("Africa/Kinshasa", tz); timezones0.put("Africa/Lagos", tz); timezones0.put("Africa/Libreville", tz); timezones0.put("Africa/Luanda", tz); timezones0.put("Africa/Malabo", tz); timezones0.put("Africa/Ndjamena", tz); timezones0.put("Africa/Niamey", tz); timezones0.put("Africa/Porto-Novo", tz); timezones0.put("Africa/Tunis", tz); tz = new SimpleTimeZone (1000 * 3600, "Africa/Windhoek", Calendar.SEPTEMBER, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.APRIL, 1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Africa/Windhoek", tz); tz = new SimpleTimeZone (1000 * 3600, "CET", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("CET", tz); timezones0.put("CEST", tz); timezones0.put("ECT", tz); timezones0.put("MET", tz); timezones0.put("Africa/Ceuta", tz); timezones0.put("Arctic/Longyearbyen", tz); timezones0.put("Europe/Amsterdam", tz); timezones0.put("Europe/Andorra", tz); timezones0.put("Europe/Belgrade", tz); timezones0.put("Europe/Berlin", tz); timezones0.put("Europe/Bratislava", tz); timezones0.put("Europe/Brussels", tz); timezones0.put("Europe/Budapest", tz); timezones0.put("Europe/Copenhagen", tz); timezones0.put("Europe/Gibraltar", tz); timezones0.put("Europe/Ljubljana", tz); timezones0.put("Europe/Luxembourg", tz); timezones0.put("Europe/Madrid", tz); timezones0.put("Europe/Malta", tz); timezones0.put("Europe/Monaco", tz); timezones0.put("Europe/Oslo", tz); timezones0.put("Europe/Paris", tz); timezones0.put("Europe/Prague", tz); timezones0.put("Europe/Rome", tz); timezones0.put("Europe/San_Marino", tz); timezones0.put("Europe/Sarajevo", tz); timezones0.put("Europe/Skopje", tz); timezones0.put("Europe/Stockholm", tz); timezones0.put("Europe/Tirane", tz); timezones0.put("Europe/Vaduz", tz); timezones0.put("Europe/Vatican", tz); timezones0.put("Europe/Vienna", tz); timezones0.put("Europe/Warsaw", tz); timezones0.put("Europe/Zagreb", tz); timezones0.put("Europe/Zurich", tz); tz = new SimpleTimeZone (2000 * 3600, "ART", Calendar.APRIL, -1, Calendar.FRIDAY, 0 * 3600, Calendar.SEPTEMBER, -1, Calendar.THURSDAY, 23000 * 3600); timezones0.put("ART", tz); timezones0.put("Africa/Cairo", tz); tz = new SimpleTimeZone(2000 * 3600, "CAT"); timezones0.put("CAT", tz); timezones0.put("Africa/Blantyre", tz); timezones0.put("Africa/Bujumbura", tz); timezones0.put("Africa/Gaborone", tz); timezones0.put("Africa/Harare", tz); timezones0.put("Africa/Johannesburg", tz); timezones0.put("Africa/Kigali", tz); timezones0.put("Africa/Lubumbashi", tz); timezones0.put("Africa/Lusaka", tz); timezones0.put("Africa/Maputo", tz); timezones0.put("Africa/Maseru", tz); timezones0.put("Africa/Mbabane", tz); timezones0.put("Africa/Tripoli", tz); timezones0.put("Europe/Riga", tz); timezones0.put("Europe/Tallinn", tz); timezones0.put("Europe/Vilnius", tz); tz = new SimpleTimeZone (2000 * 3600, "Asia/Amman", Calendar.MARCH, -1, Calendar.THURSDAY, 0 * 3600, Calendar.SEPTEMBER, -1, Calendar.THURSDAY, 0 * 3600); timezones0.put("Asia/Amman", tz); tz = new SimpleTimeZone (2000 * 3600, "Asia/Beirut", Calendar.MARCH, -1, Calendar.SUNDAY, 0 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 0 * 3600); timezones0.put("Asia/Beirut", tz); tz = new SimpleTimeZone (2000 * 3600, "Asia/Damascus", Calendar.APRIL, 1, 0, 0 * 3600, Calendar.OCTOBER, 1, 0, 0 * 3600); timezones0.put("Asia/Damascus", tz); tz = new SimpleTimeZone (2000 * 3600, "Asia/Gaza", Calendar.APRIL, 3, Calendar.FRIDAY, 0 * 3600, Calendar.OCTOBER, 3, Calendar.FRIDAY, 0 * 3600); timezones0.put("Asia/Gaza", tz); tz = new SimpleTimeZone (2000 * 3600, "Asia/Jerusalem", Calendar.APRIL, 1, 0, 1000 * 3600, Calendar.OCTOBER, 1, 0, 1000 * 3600); timezones0.put("Asia/Jerusalem", tz); tz = new SimpleTimeZone (2000 * 3600, "EET", Calendar.MARCH, -1, Calendar.SUNDAY, 3000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 3000 * 3600); timezones0.put("EET", tz); timezones0.put("Asia/Istanbul", tz); timezones0.put("Asia/Nicosia", tz); timezones0.put("Europe/Athens", tz); timezones0.put("Europe/Bucharest", tz); timezones0.put("Europe/Chisinau", tz); timezones0.put("Europe/Helsinki", tz); timezones0.put("Europe/Istanbul", tz); timezones0.put("Europe/Kiev", tz); timezones0.put("Europe/Nicosia", tz); timezones0.put("Europe/Simferopol", tz); timezones0.put("Europe/Sofia", tz); timezones0.put("Europe/Uzhgorod", tz); timezones0.put("Europe/Zaporozhye", tz); tz = new SimpleTimeZone (2000 * 3600, "Europe/Kaliningrad", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Europe/Kaliningrad", tz); timezones0.put("Europe/Minsk", tz); tz = new SimpleTimeZone (3000 * 3600, "Asia/Baghdad", Calendar.APRIL, 1, 0, 3000 * 3600, Calendar.OCTOBER, 1, 0, 3000 * 3600); timezones0.put("Asia/Baghdad", tz); tz = new SimpleTimeZone (3000 * 3600, "Europe/Moscow", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Europe/Moscow", tz); timezones0.put("Europe/Tiraspol", tz); tz = new SimpleTimeZone(3000 * 3600, "EAT"); timezones0.put("EAT", tz); timezones0.put("Africa/Addis_Ababa", tz); timezones0.put("Africa/Asmera", tz); timezones0.put("Africa/Dar_es_Salaam", tz); timezones0.put("Africa/Djibouti", tz); timezones0.put("Africa/Kampala", tz); timezones0.put("Africa/Khartoum", tz); timezones0.put("Africa/Mogadishu", tz); timezones0.put("Africa/Nairobi", tz); timezones0.put("Antarctica/Syowa", tz); timezones0.put("Asia/Aden", tz); timezones0.put("Asia/Bahrain", tz); timezones0.put("Asia/Kuwait", tz); timezones0.put("Asia/Qatar", tz); timezones0.put("Asia/Riyadh", tz); timezones0.put("Indian/Antananarivo", tz); timezones0.put("Indian/Comoro", tz); timezones0.put("Indian/Mayotte", tz); tz = new SimpleTimeZone(3500 * 3600, "Asia/Tehran"); timezones0.put("Asia/Tehran", tz); tz = new SimpleTimeZone (4000 * 3600, "Asia/Baku", Calendar.MARCH, -1, Calendar.SUNDAY, 1000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 1000 * 3600); timezones0.put("Asia/Baku", tz); tz = new SimpleTimeZone (4000 * 3600, "Asia/Aqtau", Calendar.MARCH, -1, Calendar.SUNDAY, 0 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 0 * 3600); timezones0.put("Asia/Aqtau", tz); timezones0.put("Asia/Tbilisi", tz); tz = new SimpleTimeZone (4000 * 3600, "Asia/Yerevan", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Asia/Yerevan", tz); timezones0.put("Europe/Samara", tz); tz = new SimpleTimeZone(4000 * 3600, "NET"); timezones0.put("NET", tz); timezones0.put("Asia/Dubai", tz); timezones0.put("Asia/Muscat", tz); timezones0.put("Indian/Mahe", tz); timezones0.put("Indian/Mauritius", tz); timezones0.put("Indian/Reunion", tz); tz = new SimpleTimeZone(4500 * 3600, "Asia/Kabul"); timezones0.put("Asia/Kabul", tz); tz = new SimpleTimeZone (5000 * 3600, "Asia/Aqtobe", Calendar.MARCH, -1, Calendar.SUNDAY, 0 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 0 * 3600); timezones0.put("Asia/Aqtobe", tz); tz = new SimpleTimeZone (5000 * 3600, "Asia/Bishkek", Calendar.MARCH, -1, Calendar.SUNDAY, 2500 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2500 * 3600); timezones0.put("Asia/Bishkek", tz); tz = new SimpleTimeZone (5000 * 3600, "Asia/Yekaterinburg", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Asia/Yekaterinburg", tz); tz = new SimpleTimeZone(5000 * 3600, "PLT"); timezones0.put("PLT", tz); timezones0.put("Asia/Ashgabat", tz); timezones0.put("Asia/Dushanbe", tz); timezones0.put("Asia/Karachi", tz); timezones0.put("Asia/Samarkand", tz); timezones0.put("Asia/Tashkent", tz); timezones0.put("Indian/Chagos", tz); timezones0.put("Indian/Kerguelen", tz); timezones0.put("Indian/Maldives", tz); tz = new SimpleTimeZone(5500 * 3600, "IST"); timezones0.put("IST", tz); timezones0.put("Asia/Calcutta", tz); tz = new SimpleTimeZone(5750 * 3600, "Asia/Katmandu"); timezones0.put("Asia/Katmandu", tz); tz = new SimpleTimeZone(6000 * 3600, "BST"); timezones0.put("BST", tz); timezones0.put("Antarctica/Mawson", tz); timezones0.put("Asia/Colombo", tz); timezones0.put("Asia/Dhaka", tz); timezones0.put("Asia/Thimphu", tz); tz = new SimpleTimeZone (6000 * 3600, "Asia/Almaty", Calendar.MARCH, -1, Calendar.SUNDAY, 0 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 0 * 3600); timezones0.put("Asia/Almaty", tz); tz = new SimpleTimeZone (6000 * 3600, "Asia/Novosibirsk", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Asia/Novosibirsk", tz); timezones0.put("Asia/Omsk", tz); tz = new SimpleTimeZone(6500 * 3600, "Asia/Rangoon"); timezones0.put("Asia/Rangoon", tz); timezones0.put("Indian/Cocos", tz); tz = new SimpleTimeZone(7000 * 3600, "VST"); timezones0.put("VST", tz); timezones0.put("Antarctica/Davis", tz); timezones0.put("Asia/Bangkok", tz); timezones0.put("Asia/Hovd", tz); timezones0.put("Asia/Jakarta", tz); timezones0.put("Asia/Phnom_Penh", tz); timezones0.put("Asia/Saigon", tz); timezones0.put("Asia/Vientiane", tz); timezones0.put("Indian/Christmas", tz); tz = new SimpleTimeZone (7000 * 3600, "Asia/Krasnoyarsk", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Asia/Krasnoyarsk", tz); tz = new SimpleTimeZone(8000 * 3600, "CTT"); timezones0.put("CTT", tz); timezones0.put("Antarctica/Casey", tz); timezones0.put("Asia/Brunei", tz); timezones0.put("Asia/Chungking", tz); timezones0.put("Asia/Harbin", tz); timezones0.put("Asia/Hong_Kong", tz); timezones0.put("Asia/Kashgar", tz); timezones0.put("Asia/Kuala_Lumpur", tz); timezones0.put("Asia/Kuching", tz); timezones0.put("Asia/Macao", tz); timezones0.put("Asia/Manila", tz); timezones0.put("Asia/Shanghai", tz); timezones0.put("Asia/Singapore", tz); timezones0.put("Asia/Taipei", tz); timezones0.put("Asia/Ujung_Pandang", tz); timezones0.put("Asia/Ulaanbaatar", tz); timezones0.put("Asia/Urumqi", tz); timezones0.put("Australia/Perth", tz); tz = new SimpleTimeZone (8000 * 3600, "Asia/Irkutsk", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Asia/Irkutsk", tz); tz = new SimpleTimeZone(9000 * 3600, "JST"); timezones0.put("JST", tz); timezones0.put("Asia/Dili", tz); timezones0.put("Asia/Jayapura", tz); timezones0.put("Asia/Pyongyang", tz); timezones0.put("Asia/Seoul", tz); timezones0.put("Asia/Tokyo", tz); timezones0.put("Pacific/Palau", tz); tz = new SimpleTimeZone (9000 * 3600, "Asia/Yakutsk", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Asia/Yakutsk", tz); tz = new SimpleTimeZone (9500 * 3600, "Australia/Adelaide", Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Australia/Adelaide", tz); timezones0.put("Australia/Broken_Hill", tz); tz = new SimpleTimeZone(9500 * 3600, "ACT"); timezones0.put("ACT", tz); timezones0.put("Australia/Darwin", tz); tz = new SimpleTimeZone(10000 * 3600, "Antarctica/DumontDUrville"); timezones0.put("Antarctica/DumontDUrville", tz); timezones0.put("Australia/Brisbane", tz); timezones0.put("Australia/Lindeman", tz); timezones0.put("Pacific/Guam", tz); timezones0.put("Pacific/Port_Moresby", tz); timezones0.put("Pacific/Saipan", tz); timezones0.put("Pacific/Truk", tz); timezones0.put("Pacific/Yap", tz); tz = new SimpleTimeZone (10000 * 3600, "Asia/Vladivostok", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Asia/Vladivostok", tz); tz = new SimpleTimeZone (10000 * 3600, "Australia/Hobart", Calendar.OCTOBER, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Australia/Hobart", tz); tz = new SimpleTimeZone (10000 * 3600, "AET", Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("AET", tz); timezones0.put("Australia/Melbourne", tz); timezones0.put("Australia/Sydney", tz); tz = new SimpleTimeZone (10500 * 3600, "Australia/Lord_Howe", Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, 500 * 3600); timezones0.put("Australia/Lord_Howe", tz); tz = new SimpleTimeZone (11000 * 3600, "Asia/Magadan", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Asia/Magadan", tz); tz = new SimpleTimeZone(11000 * 3600, "SST"); timezones0.put("SST", tz); timezones0.put("Pacific/Efate", tz); timezones0.put("Pacific/Guadalcanal", tz); timezones0.put("Pacific/Kosrae", tz); timezones0.put("Pacific/Noumea", tz); timezones0.put("Pacific/Ponape", tz); tz = new SimpleTimeZone(11500 * 3600, "Pacific/Norfolk"); timezones0.put("Pacific/Norfolk", tz); tz = new SimpleTimeZone (12000 * 3600, "NST", Calendar.OCTOBER, 1, Calendar.SUNDAY, 2000 * 3600, Calendar.MARCH, 3, Calendar.SUNDAY, 2000 * 3600); timezones0.put("NST", tz); timezones0.put("Antarctica/McMurdo", tz); timezones0.put("Antarctica/South_Pole", tz); timezones0.put("Pacific/Auckland", tz); tz = new SimpleTimeZone (12000 * 3600, "Asia/Anadyr", Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600); timezones0.put("Asia/Anadyr", tz); timezones0.put("Asia/Kamchatka", tz); tz = new SimpleTimeZone(12000 * 3600, "Pacific/Fiji"); timezones0.put("Pacific/Fiji", tz); timezones0.put("Pacific/Funafuti", tz); timezones0.put("Pacific/Kwajalein", tz); timezones0.put("Pacific/Majuro", tz); timezones0.put("Pacific/Nauru", tz); timezones0.put("Pacific/Tarawa", tz); timezones0.put("Pacific/Wake", tz); timezones0.put("Pacific/Wallis", tz); tz = new SimpleTimeZone (12750 * 3600, "Pacific/Chatham", Calendar.OCTOBER, 1, Calendar.SUNDAY, 2750 * 3600, Calendar.MARCH, 3, Calendar.SUNDAY, 2750 * 3600); timezones0.put("Pacific/Chatham", tz); tz = new SimpleTimeZone(13000 * 3600, "Pacific/Enderbury"); timezones0.put("Pacific/Enderbury", tz); timezones0.put("Pacific/Tongatapu", tz); tz = new SimpleTimeZone(14000 * 3600, "Pacific/Kiritimati"); timezones0.put("Pacific/Kiritimati", tz); } return timezones0; } | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/98873fd331a0aa1919d4e6e1bcd20261bf760cd8/TimeZone.java/buggy/libraries/javalib/java/util/TimeZone.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
3852,
4317,
25954,
1435,
225,
288,
565,
309,
261,
957,
14203,
20,
422,
446,
13,
4202,
288,
202,
8658,
25954,
273,
394,
4317,
5621,
202,
957,
14203,
20,
273,
25954,
31,
202,
16760,
6016,
31,
202,
759,
11809,
20271,
4374,
635,
8873,
19,
957,
14203,
18,
412,
202,
759,
11329,
300,
9363,
732,
855,
333,
501,
628,
279,
585,
35,
202,
12994,
273,
394,
4477,
16760,
19236,
2499,
3784,
380,
12396,
16,
315,
6068,
8863,
202,
957,
14203,
20,
18,
458,
2932,
6068,
3113,
6016,
1769,
202,
957,
14203,
20,
18,
458,
2932,
52,
1077,
1507,
19,
1294,
1155,
3113,
6016,
1769,
202,
957,
14203,
20,
18,
458,
2932,
52,
1077,
1507,
19,
20711,
1888,
3113,
6016,
1769,
202,
957,
14203,
20,
18,
458,
2932,
52,
1077,
1507,
19,
50,
77,
344,
3113,
6016,
1769,
202,
957,
14203,
20,
18,
458,
2932,
52,
1077,
1507,
19,
10156,
83,
67,
10156,
83,
3113,
6016,
1769,
202,
12994,
273,
394,
4477,
16760,
202,
225,
24927,
23899,
380,
12396,
16,
315,
26393,
19,
1871,
581,
3113,
202,
282,
5542,
18,
2203,
2259,
48,
16,
404,
16,
5542,
18,
55,
5240,
5255,
16,
16291,
380,
12396,
16,
202,
282,
5542,
18,
51,
1268,
5704,
654,
16,
300,
21,
16,
5542,
18,
55,
5240,
5255,
16,
16291,
380,
12396,
1769,
202,
957,
14203,
20,
18,
458,
2932,
26393,
19,
1871,
581,
3113,
6016,
1769,
202,
12994,
273,
394,
4477,
16760,
19236,
23899,
380,
12396,
16,
315,
44,
882,
8863,
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,
282,
760,
3852,
4317,
25954,
1435,
225,
288,
565,
309,
261,
957,
14203,
20,
422,
446,
13,
4202,
288,
202,
8658,
25954,
273,
394,
4317,
5621,
202,
957,
14203,
20,
273,
25954,
31,
202,
16760,
6016,
31,
202,
759,
11809,
20271,
4374,
635,
8873,
19,
957,
14203,
18,
412,
202,
759,
11329,
300,
9363,
732,
855,
333,
501,
628,
279,
585,
35,
202,
12994,
273,
394,
4477,
16760,
19236,
2499,
3784,
380,
12396,
16,
315,
6068,
8863,
202,
957,
14203,
20,
18,
458,
2932,
6068,
3113,
6016,
1769,
202,
957,
14203,
20,
18,
458,
2932,
52,
1077,
1507,
19,
1294,
1155,
3113,
6016,
1769,
202,
957,
14203,
20,
18,
458,
2932,
52,
1077,
1507,
19,
20711,
1888,
3113,
6016,
2
] |
|
if (UNIPROT_TERM==null) UNIPROT_TERM = RichObjectFactory.getDefaultOntology().getOrCreateTerm("UNIPROT"); | if (UNIPROT_TERM==null) UNIPROT_TERM = RichObjectFactory.getDefaultOntology().getOrCreateTerm("UniProt"); | public static ComparableTerm getUniProtTerm() { if (UNIPROT_TERM==null) UNIPROT_TERM = RichObjectFactory.getDefaultOntology().getOrCreateTerm("UNIPROT"); return UNIPROT_TERM; } | 50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/9a08dcdce52ccb6ce2b6f8255b4d6973a9950264/UniProtFormat.java/buggy/src/org/biojavax/bio/seq/io/UniProtFormat.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
760,
13633,
4065,
10833,
77,
21189,
4065,
1435,
288,
5411,
309,
261,
2124,
2579,
1457,
56,
67,
15176,
631,
2011,
13,
5019,
2579,
1457,
56,
67,
15176,
273,
534,
1354,
921,
1733,
18,
588,
1868,
51,
19610,
7675,
588,
17717,
4065,
2932,
984,
77,
21189,
8863,
5411,
327,
5019,
2579,
1457,
56,
67,
15176,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
30,
540,
1071,
760,
13633,
4065,
10833,
77,
21189,
4065,
1435,
288,
5411,
309,
261,
2124,
2579,
1457,
56,
67,
15176,
631,
2011,
13,
5019,
2579,
1457,
56,
67,
15176,
273,
534,
1354,
921,
1733,
18,
588,
1868,
51,
19610,
7675,
588,
17717,
4065,
2932,
984,
77,
21189,
8863,
5411,
327,
5019,
2579,
1457,
56,
67,
15176,
31,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
code.put4 (start_offset); | code.put4 (delta); | public void emit_wide (CodeAttr code, int start_offset) { int delta = 1 - code.PC; if (defined ()) delta += position; else add_wide_fixup (code.PC); code.put4 (start_offset); } | 41089 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41089/acc298632a55e42cc6489d87877353f0ddc722a7/Label.java/buggy/gnu/bytecode/Label.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3626,
67,
26767,
261,
1085,
3843,
981,
16,
509,
787,
67,
3348,
13,
225,
288,
565,
509,
3622,
273,
404,
300,
981,
18,
3513,
31,
565,
309,
261,
2178,
1832,
13,
1377,
3622,
1011,
1754,
31,
565,
469,
1377,
527,
67,
26767,
67,
904,
416,
261,
710,
18,
3513,
1769,
565,
981,
18,
458,
24,
261,
9878,
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,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3626,
67,
26767,
261,
1085,
3843,
981,
16,
509,
787,
67,
3348,
13,
225,
288,
565,
509,
3622,
273,
404,
300,
981,
18,
3513,
31,
565,
309,
261,
2178,
1832,
13,
1377,
3622,
1011,
1754,
31,
565,
469,
1377,
527,
67,
26767,
67,
904,
416,
261,
710,
18,
3513,
1769,
565,
981,
18,
458,
24,
261,
9878,
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
] |
}); } | } | public void applyFix(final Project project, ProblemDescriptor descriptor) { final IntroduceConstantHandler handler = new IntroduceConstantHandler() { protected OccurenceManager createOccurenceManager(PsiExpression selectedExpr, PsiClass parentClass) { final OccurenceFilter filter = new OccurenceFilter() { public boolean isOK(PsiExpression occurence) { return true; } }; return new BaseOccurenceManager(filter) { protected PsiExpression[] defaultOccurences() { return expressions; } protected PsiExpression[] findOccurences() { return expressions; } }; } }; SwingUtilities.invokeLater(new Runnable() { public void run() { handler.invoke(project, expressions); } }); } | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/fb9e7f27d823790f3c9c5f2898aaf57207d3c5d0/DuplicateStringLiteralInspection.java/clean/source/com/intellij/codeInspection/duplicateStringLiteral/DuplicateStringLiteralInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
2230,
8585,
12,
6385,
5420,
1984,
16,
21685,
3187,
4950,
13,
288,
3639,
727,
3094,
303,
2544,
311,
6902,
1503,
1838,
273,
394,
3094,
303,
2544,
311,
6902,
1503,
1435,
288,
1850,
4750,
531,
952,
25267,
1318,
752,
24269,
25267,
1318,
12,
52,
7722,
2300,
3170,
4742,
16,
453,
7722,
797,
21366,
13,
288,
5411,
727,
531,
952,
25267,
1586,
1034,
273,
394,
531,
952,
25267,
1586,
1435,
288,
2868,
1071,
1250,
353,
3141,
12,
52,
7722,
2300,
9145,
25267,
13,
288,
7734,
327,
638,
31,
2868,
289,
5411,
289,
31,
5411,
327,
394,
3360,
24269,
25267,
1318,
12,
2188,
13,
288,
2868,
4750,
453,
7722,
2300,
8526,
805,
24269,
18842,
764,
1435,
288,
7734,
327,
8041,
31,
2868,
289,
2868,
4750,
453,
7722,
2300,
8526,
1104,
24269,
18842,
764,
1435,
288,
7734,
327,
8041,
31,
2868,
289,
5411,
289,
31,
1850,
289,
3639,
289,
31,
3639,
26145,
11864,
18,
14407,
20607,
12,
2704,
10254,
1435,
288,
1850,
1071,
918,
1086,
1435,
288,
5411,
1838,
18,
14407,
12,
4406,
16,
8041,
1769,
1850,
289,
3639,
15549,
1377,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
2230,
8585,
12,
6385,
5420,
1984,
16,
21685,
3187,
4950,
13,
288,
3639,
727,
3094,
303,
2544,
311,
6902,
1503,
1838,
273,
394,
3094,
303,
2544,
311,
6902,
1503,
1435,
288,
1850,
4750,
531,
952,
25267,
1318,
752,
24269,
25267,
1318,
12,
52,
7722,
2300,
3170,
4742,
16,
453,
7722,
797,
21366,
13,
288,
5411,
727,
531,
952,
25267,
1586,
1034,
273,
394,
531,
952,
25267,
1586,
1435,
288,
2868,
1071,
1250,
353,
3141,
12,
52,
7722,
2300,
9145,
25267,
13,
288,
7734,
327,
638,
31,
2868,
289,
5411,
289,
31,
5411,
327,
394,
3360,
24269,
25267,
1318,
12,
2188,
13,
288,
2868,
4750,
453,
7722,
2300,
8526,
805,
24269,
18842,
764,
1435,
288,
7734,
327,
2
] |
obj, RubyString.newString(runtime, obj.getClass().getName()) | obj, runtime.newString(obj.getClass().getName()) | public Object call(Object recv, String method, Object[] args) throws BSFException { try { IRubyObject rubyRecv = recv != null ? JavaUtil.convertJavaToRuby(runtime, recv) : runtime.getTopSelf(); IRubyObject[] rubyArgs = JavaUtil.convertJavaArrayToRuby(runtime, args); // Create Ruby proxies for any input arguments that are not primitives. IRubyObject javaUtilities = runtime.getClasses().getObjectClass().getConstant("JavaUtilities"); for (int i = 0; i < rubyArgs.length; i++) { IRubyObject obj = rubyArgs[i]; if (obj instanceof JavaObject) { rubyArgs[i] = javaUtilities.callMethod("wrap", new IRubyObject[] { obj, RubyString.newString(runtime, obj.getClass().getName()) }); } } IRubyObject result = rubyRecv.callMethod(method, rubyArgs); return convertToJava(result, Object.class); } catch (Exception excptn) { printException(runtime, excptn); throw new BSFException(BSFException.REASON_EXECUTION_ERROR, excptn.getMessage(), excptn); } } | 46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/870e1da9b41bfdbae259e1fc5f18fc8b76686998/JRubyEngine.java/clean/src/org/jruby/javasupport/bsf/JRubyEngine.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
745,
12,
921,
10665,
16,
514,
707,
16,
1033,
8526,
833,
13,
1216,
605,
22395,
503,
288,
3639,
775,
288,
5411,
15908,
10340,
921,
22155,
28470,
273,
10665,
480,
446,
692,
5110,
1304,
18,
6283,
5852,
774,
54,
10340,
12,
9448,
16,
10665,
13,
294,
3099,
18,
588,
3401,
10084,
5621,
5411,
15908,
10340,
921,
8526,
22155,
2615,
273,
5110,
1304,
18,
6283,
5852,
1076,
774,
54,
10340,
12,
9448,
16,
833,
1769,
5411,
368,
1788,
19817,
13263,
364,
1281,
810,
1775,
716,
854,
486,
23376,
18,
5411,
15908,
10340,
921,
2252,
11864,
273,
3099,
18,
588,
4818,
7675,
588,
921,
797,
7675,
588,
6902,
2932,
5852,
11864,
8863,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
22155,
2615,
18,
2469,
31,
277,
27245,
288,
7734,
15908,
10340,
921,
1081,
273,
22155,
2615,
63,
77,
15533,
7734,
309,
261,
2603,
1276,
5110,
921,
13,
288,
10792,
22155,
2615,
63,
77,
65,
273,
2252,
11864,
18,
1991,
1305,
2932,
4113,
3113,
394,
15908,
10340,
921,
8526,
288,
13491,
1081,
16,
3099,
18,
2704,
780,
12,
2603,
18,
588,
797,
7675,
17994,
10756,
10792,
15549,
7734,
289,
5411,
289,
5411,
15908,
10340,
921,
563,
273,
22155,
28470,
18,
1991,
1305,
12,
2039,
16,
22155,
2615,
1769,
5411,
327,
8137,
5852,
12,
2088,
16,
1033,
18,
1106,
1769,
3639,
289,
1044,
261,
503,
3533,
337,
82,
13,
288,
5411,
1172,
503,
12,
9448,
16,
3533,
337,
82,
1769,
5411,
604,
394,
605,
22395,
503,
12,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
745,
12,
921,
10665,
16,
514,
707,
16,
1033,
8526,
833,
13,
1216,
605,
22395,
503,
288,
3639,
775,
288,
5411,
15908,
10340,
921,
22155,
28470,
273,
10665,
480,
446,
692,
5110,
1304,
18,
6283,
5852,
774,
54,
10340,
12,
9448,
16,
10665,
13,
294,
3099,
18,
588,
3401,
10084,
5621,
5411,
15908,
10340,
921,
8526,
22155,
2615,
273,
5110,
1304,
18,
6283,
5852,
1076,
774,
54,
10340,
12,
9448,
16,
833,
1769,
5411,
368,
1788,
19817,
13263,
364,
1281,
810,
1775,
716,
854,
486,
23376,
18,
5411,
15908,
10340,
921,
2252,
11864,
273,
3099,
18,
588,
4818,
7675,
588,
921,
797,
7675,
588,
6902,
2932,
5852,
11864,
8863,
5411,
364,
261,
474,
277,
273,
374,
2
] |
return m_securityManager.readGroup(m_context, groupName); | return m_securityManager.readGroup(m_context, project); | public CmsGroup readGroup(String groupName) throws CmsException { return m_securityManager.readGroup(m_context, groupName); } | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/0abaf9e2cd7b40be6257fbe506683783295516ca/CmsObject.java/buggy/src/org/opencms/file/CmsObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2149,
1114,
855,
1114,
12,
780,
11619,
13,
1216,
11228,
288,
3639,
327,
312,
67,
7462,
1318,
18,
896,
1114,
12,
81,
67,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2149,
1114,
855,
1114,
12,
780,
11619,
13,
1216,
11228,
288,
3639,
327,
312,
67,
7462,
1318,
18,
896,
1114,
12,
81,
67,
2472,
16,
1984,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
case SWT.ARROW_DOWN : | case SWT.ARROW_DOWN: | protected boolean handleKeyDown(KeyEvent e) { setAutoexposeHelper(null); if (acceptArrowKey(e)) { accStepIncrement(); if (stateTransition(STATE_INITIAL, STATE_ACCESSIBLE_DRAG_IN_PROGRESS)) setStartLocation(getLocation()); switch (e.keyCode) { case SWT.ARROW_DOWN : placeMouseInViewer(getLocation().getTranslated(0, accGetStep())); break; case SWT.ARROW_UP: placeMouseInViewer(getLocation().getTranslated(0, -accGetStep())); break; case SWT.ARROW_RIGHT: placeMouseInViewer(getLocation().getTranslated(accGetStep(), 0)); break; case SWT.ARROW_LEFT: placeMouseInViewer(getLocation().getTranslated(-accGetStep(), 0)); break; } return true; } else if (acceptClone(e)) { setCloneActive(true); handleDragInProgress(); return true; } else if (acceptSHIFT(e)) { handleDragInProgress(); return true; } return false; } | 11225 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11225/d344d234614984b3a069cc8cbe9901230103870e/DragEditPartsTracker.java/clean/org.eclipse.gef/src/org/eclipse/gef/tools/DragEditPartsTracker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
1250,
1640,
653,
4164,
12,
653,
1133,
425,
13,
288,
202,
542,
4965,
338,
4150,
2276,
12,
2011,
1769,
202,
430,
261,
9436,
18691,
653,
12,
73,
3719,
288,
202,
202,
8981,
4160,
10798,
5621,
202,
202,
430,
261,
2019,
8850,
12,
7998,
67,
28497,
16,
7442,
67,
13204,
13450,
900,
67,
6331,
1781,
67,
706,
67,
24022,
3719,
1082,
202,
542,
1685,
2735,
12,
588,
2735,
10663,
202,
202,
9610,
261,
73,
18,
856,
1085,
13,
288,
1082,
202,
3593,
348,
8588,
18,
985,
11226,
67,
12711,
294,
9506,
202,
964,
9186,
382,
18415,
12,
588,
2735,
7675,
588,
20421,
12,
20,
16,
4078,
967,
4160,
1435,
10019,
9506,
202,
8820,
31,
1082,
202,
3593,
348,
8588,
18,
985,
11226,
67,
3079,
30,
9506,
202,
964,
9186,
382,
18415,
12,
588,
2735,
7675,
588,
20421,
12,
20,
16,
300,
8981,
967,
4160,
1435,
10019,
9506,
202,
8820,
31,
1082,
202,
3593,
348,
8588,
18,
985,
11226,
67,
11847,
30,
9506,
202,
964,
9186,
382,
18415,
12,
588,
2735,
7675,
588,
20421,
12,
8981,
967,
4160,
9334,
374,
10019,
9506,
202,
8820,
31,
1082,
202,
3593,
348,
8588,
18,
985,
11226,
67,
10066,
30,
9506,
202,
964,
9186,
382,
18415,
12,
588,
2735,
7675,
588,
20421,
19236,
8981,
967,
4160,
9334,
374,
10019,
9506,
202,
8820,
31,
202,
202,
97,
202,
202,
2463,
638,
31,
202,
97,
469,
309,
261,
9436,
10930,
12,
73,
3719,
288,
202,
202,
542,
10930,
3896,
12,
3767,
1769,
202,
202,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
1250,
1640,
653,
4164,
12,
653,
1133,
425,
13,
288,
202,
542,
4965,
338,
4150,
2276,
12,
2011,
1769,
202,
430,
261,
9436,
18691,
653,
12,
73,
3719,
288,
202,
202,
8981,
4160,
10798,
5621,
202,
202,
430,
261,
2019,
8850,
12,
7998,
67,
28497,
16,
7442,
67,
13204,
13450,
900,
67,
6331,
1781,
67,
706,
67,
24022,
3719,
1082,
202,
542,
1685,
2735,
12,
588,
2735,
10663,
202,
202,
9610,
261,
73,
18,
856,
1085,
13,
288,
1082,
202,
3593,
348,
8588,
18,
985,
11226,
67,
12711,
294,
9506,
202,
964,
9186,
382,
18415,
12,
588,
2735,
7675,
588,
20421,
12,
20,
16,
4078,
967,
4160,
1435,
10019,
9506,
202,
8820,
31,
1082,
202,
3593,
348,
8588,
2
] |
Object next = it.next(); if(!ModelFacade.isAAbstraction(next)) list.add(next); } | Object next = it.next(); if (!ModelFacade.isAAbstraction(next)) list.add(next); } | public Collection getChildren(Object parent) { if ( parent instanceof IncomingDependencyNode) { List list = new ArrayList(); Iterator it = ModelFacade.getSupplierDependencies(((IncomingDependencyNode)parent).getParent()).iterator(); while(it.hasNext()){ Object next = it.next(); if(!ModelFacade.isAAbstraction(next)) list.add(next); } return list; } return null; } | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/GoSummaryToIncomingDependency.java/buggy/src_new/org/argouml/uml/diagram/static_structure/ui/GoSummaryToIncomingDependency.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2200,
10268,
12,
921,
982,
13,
288,
1377,
309,
261,
982,
1276,
26437,
7787,
907,
13,
288,
10792,
987,
666,
273,
394,
2407,
5621,
10792,
4498,
518,
273,
3164,
12467,
18,
588,
13254,
8053,
12443,
12,
20370,
7787,
907,
13,
2938,
2934,
588,
3054,
1435,
2934,
9838,
5621,
10792,
1323,
12,
305,
18,
5332,
2134,
10756,
95,
18701,
1033,
1024,
273,
518,
18,
4285,
5621,
2868,
309,
12,
5,
1488,
12467,
18,
291,
5284,
70,
701,
1128,
12,
4285,
3719,
7734,
666,
18,
1289,
12,
4285,
1769,
1850,
289,
10792,
327,
666,
31,
1377,
289,
1377,
327,
446,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2200,
10268,
12,
921,
982,
13,
288,
1377,
309,
261,
982,
1276,
26437,
7787,
907,
13,
288,
10792,
987,
666,
273,
394,
2407,
5621,
10792,
4498,
518,
273,
3164,
12467,
18,
588,
13254,
8053,
12443,
12,
20370,
7787,
907,
13,
2938,
2934,
588,
3054,
1435,
2934,
9838,
5621,
10792,
1323,
12,
305,
18,
5332,
2134,
10756,
95,
18701,
1033,
1024,
273,
518,
18,
4285,
5621,
2868,
309,
12,
5,
1488,
12467,
18,
291,
5284,
70,
701,
1128,
12,
4285,
3719,
7734,
666,
18,
1289,
12,
4285,
1769,
1850,
289,
10792,
327,
666,
31,
1377,
289,
1377,
327,
446,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
debug = "get cell #" + i; | private Row fillRow(Row baserow, int startcolumn, ExcelInputRow excelInputRow) throws KettleException { debug = "fillRow start"; Row r = new Row(baserow); // Keep track whether or not we handled an error for this line yet. boolean errorHandled = false; // Set values in the row... for (int i = startcolumn; i < excelInputRow.cells.length && i - startcolumn < r.size(); i++) { debug = "get cell #" + i; Cell cell = excelInputRow.cells[i]; int rowcolumn = i - startcolumn; debug = "Rowcolumn = " + rowcolumn; Value v = r.getValue(rowcolumn); debug = "Value v = " + v; try { checkType(cell, v); } catch (KettleException ex) { if (!meta.isErrorIgnored()) throw ex; logBasic("Warning processing [" + debug + "] from Excel file [" + data.filename + "] : " + ex.getMessage()); if (!errorHandled) { data.errorHandler.handleLineError(excelInputRow.rownr, excelInputRow.sheetName); errorHandled = true; } if (meta.isErrorLineSkipped()) { r.setIgnore(); return r; } } CellType cellType = cell.getType(); if (CellType.BOOLEAN.equals(cellType) || CellType.BOOLEAN_FORMULA.equals(cellType)) { v.setValue(((BooleanCell) cell).getValue()); } else { if (CellType.DATE.equals(cellType) || CellType.DATE_FORMULA.equals(cellType) ) { Date date = ((DateCell) cell).getDate(); long time = date.getTime(); int offset = TimeZone.getDefault().getOffset(time); v.setValue(new Date(time - offset)); } else { if (CellType.LABEL.equals(cellType) || CellType.STRING_FORMULA.equals(cellType)) { v.setValue(((LabelCell) cell).getString()); switch (meta.getField()[rowcolumn].getTrimType()) { case ExcelInputMeta.TYPE_TRIM_LEFT: v.ltrim(); break; case ExcelInputMeta.TYPE_TRIM_RIGHT: v.rtrim(); break; case ExcelInputMeta.TYPE_TRIM_BOTH: v.trim(); break; default: break; } } else { if (CellType.NUMBER.equals(cellType) || CellType.NUMBER_FORMULA.equals(cellType)) { v.setValue(((NumberCell) cell).getValue()); } else { if (log.isDetailed()) logDetailed("Unknown type : " + cell.getType().toString() + " : [" + cell.getContents() + "]"); v.setNull(); } } } } ExcelInputField field = meta.getField()[rowcolumn]; // Change to the appropriate type if needed... // try { if (v.getType() != field.getType()) { switch (v.getType()) { // Use case: we find a String: convert it using the supplied format to the desired type... // case Value.VALUE_TYPE_STRING: debug = "Convert string to date/number"; switch (field.getType()) { case Value.VALUE_TYPE_DATE: v.str2dat(field.getFormat()); break; case Value.VALUE_TYPE_NUMBER: v.str2num(field.getFormat(), field.getDecimalSymbol(), field.getGroupSymbol(), field.getCurrencySymbol()); break; default: v.setType(field.getType()); break; } break; // Use case: we find a numeric value: convert it using the supplied format to the desired data type... // case Value.VALUE_TYPE_NUMBER: case Value.VALUE_TYPE_INTEGER: debug = "Convert number to string"; switch (field.getType()) { case Value.VALUE_TYPE_STRING: v.num2str(field.getFormat(), field.getDecimalSymbol(), field.getGroupSymbol(), field.getCurrencySymbol()); break; case Value.VALUE_TYPE_DATE: v.num2str("#").str2dat(field.getFormat()); break; default: v.setType(field.getType()); break; } break; // Use case: we find a date: convert it using the supplied format to String... // case Value.VALUE_TYPE_DATE: debug = "Convert date to string"; switch (field.getType()) { case Value.VALUE_TYPE_STRING: v.dat2str(field.getFormat()); break; default: v.setType(field.getType()); break; } break; default: v.setType(field.getType()); } } } catch (KettleException ex) { if (!meta.isErrorIgnored()) throw ex; logBasic("Warning processing [" + debug + "] from Excel file [" + data.filename + "] : " + ex.toString()); if (!errorHandled) // check if we didn't log an error already for this one. { data.errorHandler.handleLineError(excelInputRow.rownr, excelInputRow.sheetName); errorHandled=true; } if (meta.isErrorLineSkipped()) { r.setIgnore(); return r; } else { v.setNull(); } } // Set the meta-data of the field: length and precision // v.setLength(meta.getField()[rowcolumn].getLength(), meta.getField()[rowcolumn].getPrecision()); } debug = "filename"; // Do we need to include the filename? if (meta.getFileField() != null && meta.getFileField().length() > 0) { Value value = new Value(meta.getFileField(), data.filename); value.setLength(data.maxfilelength); r.addValue(value); } debug = "sheetname"; // Do we need to include the sheetname? if (meta.getSheetField() != null && meta.getSheetField().length() > 0) { Value value = new Value(meta.getSheetField(), excelInputRow.sheetName); value.setLength(data.maxsheetlength); r.addValue(value); } debug = "rownumber"; // Do we need to include the rownumber? if (meta.getRowNumberField() != null && meta.getRowNumberField().length() > 0) { Value value = new Value(meta.getRowNumberField(), linesWritten + 1); r.addValue(value); } debug = "end of fillRow"; return r; } | 9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/3f39d037ba2ddf06fc422d6ae1f3add16df6eae5/ExcelInput.java/buggy/src/be/ibridge/kettle/trans/step/excelinput/ExcelInput.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
6556,
3636,
1999,
12,
1999,
2580,
264,
543,
16,
509,
787,
2827,
16,
17674,
1210,
1999,
22011,
1210,
1999,
13,
1216,
1475,
278,
5929,
503,
202,
95,
202,
202,
4148,
273,
315,
5935,
1999,
787,
14432,
202,
202,
1999,
436,
273,
394,
6556,
12,
9157,
264,
543,
1769,
202,
202,
759,
10498,
3298,
2856,
578,
486,
732,
7681,
392,
555,
364,
333,
980,
4671,
18,
202,
202,
6494,
555,
23186,
273,
629,
31,
202,
202,
759,
1000,
924,
316,
326,
1027,
2777,
202,
202,
1884,
261,
474,
277,
273,
787,
2827,
31,
277,
411,
22011,
1210,
1999,
18,
14741,
18,
2469,
597,
277,
300,
787,
2827,
411,
436,
18,
1467,
5621,
277,
27245,
202,
202,
95,
1082,
202,
4148,
273,
315,
588,
2484,
31526,
397,
277,
31,
1082,
202,
4020,
2484,
273,
22011,
1210,
1999,
18,
14741,
63,
77,
15533,
1082,
202,
474,
1027,
2827,
273,
277,
300,
787,
2827,
31,
1082,
202,
4148,
273,
315,
1999,
2827,
273,
315,
397,
1027,
2827,
31,
1082,
202,
620,
331,
273,
436,
18,
24805,
12,
492,
2827,
1769,
1082,
202,
4148,
273,
315,
620,
331,
273,
315,
397,
331,
31,
1082,
202,
698,
1082,
202,
95,
9506,
202,
1893,
559,
12,
3855,
16,
331,
1769,
1082,
202,
97,
1082,
202,
14683,
261,
47,
278,
5929,
503,
431,
13,
1082,
202,
95,
9506,
202,
430,
16051,
3901,
18,
291,
668,
15596,
10756,
604,
431,
31,
9506,
202,
1330,
8252,
2932,
6210,
4929,
8247,
397,
1198,
397,
9850,
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,
6556,
3636,
1999,
12,
1999,
2580,
264,
543,
16,
509,
787,
2827,
16,
17674,
1210,
1999,
22011,
1210,
1999,
13,
1216,
1475,
278,
5929,
503,
202,
95,
202,
202,
4148,
273,
315,
5935,
1999,
787,
14432,
202,
202,
1999,
436,
273,
394,
6556,
12,
9157,
264,
543,
1769,
202,
202,
759,
10498,
3298,
2856,
578,
486,
732,
7681,
392,
555,
364,
333,
980,
4671,
18,
202,
202,
6494,
555,
23186,
273,
629,
31,
202,
202,
759,
1000,
924,
316,
326,
1027,
2777,
202,
202,
1884,
261,
474,
277,
273,
787,
2827,
31,
277,
411,
22011,
1210,
1999,
18,
14741,
18,
2469,
597,
277,
300,
787,
2827,
411,
436,
18,
1467,
5621,
277,
27245,
202,
202,
95,
2
] |
|
protected static Date fromDosTime(ZipLong l) { long dosTime = l.getValue(); Calendar cal = Calendar.getInstance(); cal.set(Calendar.YEAR, (int) ((dosTime >> 25) & 0x7f) + 1980); cal.set(Calendar.MONTH, (int) ((dosTime >> 21) & 0x0f) - 1); cal.set(Calendar.DATE, (int) (dosTime >> 16) & 0x1f); cal.set(Calendar.HOUR_OF_DAY, (int) (dosTime >> 11) & 0x1f); cal.set(Calendar.MINUTE, (int) (dosTime >> 5) & 0x3f); cal.set(Calendar.SECOND, (int) (dosTime << 1) & 0x3e); return cal.getTime(); | protected static Date fromDosTime(ZipLong zipDosTime) { long dosTime = zipDosTime.getValue(); return new Date(dosToJavaTime(dosTime)); | protected static Date fromDosTime(ZipLong l) { long dosTime = l.getValue(); Calendar cal = Calendar.getInstance(); cal.set(Calendar.YEAR, (int) ((dosTime >> 25) & 0x7f) + 1980); cal.set(Calendar.MONTH, (int) ((dosTime >> 21) & 0x0f) - 1); cal.set(Calendar.DATE, (int) (dosTime >> 16) & 0x1f); cal.set(Calendar.HOUR_OF_DAY, (int) (dosTime >> 11) & 0x1f); cal.set(Calendar.MINUTE, (int) (dosTime >> 5) & 0x3f); cal.set(Calendar.SECOND, (int) (dosTime << 1) & 0x3e); return cal.getTime(); } | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/a05d1f12196d34b23d4ab80c3598f6fb63410ac5/ZipFile.java/clean/src/main/org/apache/tools/zip/ZipFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
760,
2167,
628,
40,
538,
950,
12,
9141,
3708,
328,
13,
288,
3639,
1525,
16153,
950,
273,
328,
18,
24805,
5621,
3639,
5542,
1443,
273,
5542,
18,
588,
1442,
5621,
3639,
1443,
18,
542,
12,
7335,
18,
15137,
16,
261,
474,
13,
14015,
19219,
950,
1671,
6969,
13,
473,
374,
92,
27,
74,
13,
397,
5342,
3672,
1769,
3639,
1443,
18,
542,
12,
7335,
18,
13942,
16,
261,
474,
13,
14015,
19219,
950,
1671,
9035,
13,
473,
374,
92,
20,
74,
13,
300,
404,
1769,
3639,
1443,
18,
542,
12,
7335,
18,
4594,
16,
261,
474,
13,
261,
19219,
950,
1671,
2872,
13,
473,
374,
92,
21,
74,
1769,
3639,
1443,
18,
542,
12,
7335,
18,
21372,
67,
3932,
67,
10339,
16,
261,
474,
13,
261,
19219,
950,
1671,
4648,
13,
473,
374,
92,
21,
74,
1769,
3639,
1443,
18,
542,
12,
7335,
18,
30090,
16,
261,
474,
13,
261,
19219,
950,
1671,
1381,
13,
473,
374,
92,
23,
74,
1769,
3639,
1443,
18,
542,
12,
7335,
18,
16328,
16,
261,
474,
13,
261,
19219,
950,
2296,
404,
13,
473,
374,
92,
23,
73,
1769,
3639,
327,
1443,
18,
588,
950,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
760,
2167,
628,
40,
538,
950,
12,
9141,
3708,
328,
13,
288,
3639,
1525,
16153,
950,
273,
328,
18,
24805,
5621,
3639,
5542,
1443,
273,
5542,
18,
588,
1442,
5621,
3639,
1443,
18,
542,
12,
7335,
18,
15137,
16,
261,
474,
13,
14015,
19219,
950,
1671,
6969,
13,
473,
374,
92,
27,
74,
13,
397,
5342,
3672,
1769,
3639,
1443,
18,
542,
12,
7335,
18,
13942,
16,
261,
474,
13,
14015,
19219,
950,
1671,
9035,
13,
473,
374,
92,
20,
74,
13,
300,
404,
1769,
3639,
1443,
18,
542,
12,
7335,
18,
4594,
16,
261,
474,
13,
261,
19219,
950,
1671,
2872,
13,
473,
374,
92,
21,
74,
1769,
3639,
1443,
18,
542,
12,
7335,
18,
21372,
2
] |
throw new DomEx(DomEx.NOT_FOUND_ERR, null, node, 0); | throw new DomDOMException(DOMException.NOT_FOUND_ERR, null, node, 0); | public Attr removeAttributeNode(Attr node) { if (attributes == null) { throw new DomEx(DomEx.NOT_FOUND_ERR, null, node, 0); } return (Attr) attributes.removeNamedItem(node.getNodeName()); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomElement.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomElement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
11289,
18831,
907,
12,
3843,
756,
13,
225,
288,
565,
309,
261,
4350,
422,
446,
13,
1377,
288,
3639,
604,
394,
12965,
8168,
503,
12,
8168,
503,
18,
4400,
67,
9294,
67,
9712,
16,
446,
16,
756,
16,
374,
1769,
1377,
289,
565,
327,
261,
3843,
13,
1677,
18,
4479,
7604,
1180,
12,
2159,
18,
588,
18948,
10663,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
11289,
18831,
907,
12,
3843,
756,
13,
225,
288,
565,
309,
261,
4350,
422,
446,
13,
1377,
288,
3639,
604,
394,
12965,
8168,
503,
12,
8168,
503,
18,
4400,
67,
9294,
67,
9712,
16,
446,
16,
756,
16,
374,
1769,
1377,
289,
565,
327,
261,
3843,
13,
1677,
18,
4479,
7604,
1180,
12,
2159,
18,
588,
18948,
10663,
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
] |
private Link getLink(String text, int PageId, int parentPageID, boolean addParentID, boolean isSubPage) { Link L = new Link(text); if (_styles) { if (isSubPage && _subStyles) { if (PageId == currentPageId) L.setStyle(_subHoverName); else L.setStyle(_subName); } else { if (PageId == currentPageId) L.setStyle(_hoverName); else L.setStyle(_name); } } else { if (PageId == currentPageId) L.setFontColor(highlightFontColor); else L.setFontColor(fontColor); L.setFontSize(fontSize); } L.setPage(PageId); if (addParentID) L.addParameter("parent_id", parentPageID); if (asButton) { L.setAsImageButton(asButton, true); } else if (asTab) { L.setAsImageTab(asTab, true, asFlipped); } return L; } | 14023 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14023/538f9b6006362b4344ab71a8faa0d7405812fbe9/NavigationMenu.java/buggy/src/java/com/idega/block/navigation/presentation/NavigationMenu.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
2098,
588,
2098,
12,
780,
955,
16,
474,
23053,
16,
474,
2938,
1964,
734,
16,
6494,
1289,
29586,
16,
6494,
291,
1676,
1964,
15329,
202,
202,
2098,
48,
33,
2704,
2098,
12,
955,
1769,
202,
202,
430,
24899,
10218,
15329,
1082,
202,
430,
12,
291,
1676,
1964,
10,
10,
67,
1717,
9725,
15329,
9506,
202,
430,
12,
23053,
631,
2972,
23053,
13,
6862,
202,
48,
18,
542,
2885,
24899,
1717,
21184,
461,
1769,
9506,
202,
12107,
6862,
202,
48,
18,
542,
2885,
24899,
1717,
461,
1769,
1082,
202,
97,
1082,
202,
12107,
95,
9506,
202,
430,
12,
23053,
631,
2972,
23053,
13,
6862,
202,
48,
18,
542,
2885,
24899,
24969,
461,
1769,
9506,
202,
12107,
6862,
202,
48,
18,
542,
2885,
24899,
529,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
95,
1082,
202,
430,
12,
23053,
631,
2972,
23053,
13,
9506,
202,
48,
18,
542,
5711,
2957,
12,
15978,
5711,
2957,
1769,
1082,
202,
12107,
9506,
202,
48,
18,
542,
5711,
2957,
12,
5776,
2957,
1769,
1082,
202,
48,
18,
542,
22688,
12,
5776,
1225,
1769,
202,
202,
97,
202,
202,
48,
18,
542,
1964,
12,
23053,
1769,
202,
202,
430,
12,
1289,
29586,
13,
1082,
202,
48,
18,
1289,
1662,
2932,
2938,
67,
350,
3113,
2938,
1964,
734,
1769,
202,
202,
430,
12,
345,
3616,
15329,
1082,
202,
48,
18,
542,
1463,
2040,
3616,
12,
345,
3616,
16,
3767,
1769,
202,
202,
97,
202,
202,
12107,
430,
12,
345,
5661,
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,
2098,
588,
2098,
12,
780,
955,
16,
474,
23053,
16,
474,
2938,
1964,
734,
16,
6494,
1289,
29586,
16,
6494,
291,
1676,
1964,
15329,
202,
202,
2098,
48,
33,
2704,
2098,
12,
955,
1769,
202,
202,
430,
24899,
10218,
15329,
1082,
202,
430,
12,
291,
1676,
1964,
10,
10,
67,
1717,
9725,
15329,
9506,
202,
430,
12,
23053,
631,
2972,
23053,
13,
6862,
202,
48,
18,
542,
2885,
24899,
1717,
21184,
461,
1769,
9506,
202,
12107,
6862,
202,
48,
18,
542,
2885,
24899,
1717,
461,
1769,
1082,
202,
97,
1082,
202,
12107,
95,
9506,
202,
430,
12,
23053,
631,
2972,
23053,
13,
6862,
202,
48,
18,
542,
2885,
24899,
24969,
461,
1769,
9506,
202,
12107,
6862,
2
] |
||
workbench.close(); | closing = true; for (Iterator iterator = dialogs.iterator(); iterator.hasNext();) { InternalErrorDialog dialog = (InternalErrorDialog)iterator.next(); if(dialog != null && dialog.getShell() != null && !dialog.getShell().isDisposed()) dialog.close(); } workbench.close(IPlatformRunnable.EXIT_OK,true); | private void closeWorkbench() { try { workbench.close(); } catch (RuntimeException th) { /* It may not be possible to show the inform the user about this exception we may not * have more memory or OS handles etc. */ System.err.println("Another fatal error happened while closing the workbench."); //$NON-NLS-1$ th.printStackTrace(); throw th; } catch (Error th) { /* It may not be possible to show the inform the user about this exception we may not * have more memory or OS handles etc. */ System.err.println("Another fatal error happened while closing the workbench."); //$NON-NLS-1$ th.printStackTrace(); throw th; }} | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/85910d92d3cb65927e3fc885b355337406f3c722/ExceptionHandler.java/clean/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/ExceptionHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
1746,
2421,
22144,
1435,
288,
202,
698,
288,
202,
202,
1252,
22144,
18,
4412,
5621,
202,
97,
1044,
261,
11949,
286,
13,
288,
202,
202,
20308,
2597,
2026,
486,
506,
3323,
358,
2405,
326,
13235,
326,
729,
2973,
333,
1520,
732,
2026,
486,
1875,
380,
1240,
1898,
3778,
578,
5932,
7372,
5527,
18,
1195,
202,
202,
3163,
18,
370,
18,
8222,
2932,
37,
24413,
10081,
555,
17497,
1323,
7647,
326,
1440,
22144,
1199,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
451,
18,
1188,
6332,
5621,
202,
202,
12849,
286,
31,
202,
97,
1044,
261,
668,
286,
13,
288,
202,
202,
20308,
2597,
2026,
486,
506,
3323,
358,
2405,
326,
13235,
326,
729,
2973,
333,
1520,
732,
2026,
486,
1875,
380,
1240,
1898,
3778,
578,
5932,
7372,
5527,
18,
1195,
202,
202,
3163,
18,
370,
18,
8222,
2932,
37,
24413,
10081,
555,
17497,
1323,
7647,
326,
1440,
22144,
1199,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
451,
18,
1188,
6332,
5621,
202,
202,
12849,
286,
31,
202,
9090,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
1746,
2421,
22144,
1435,
288,
202,
698,
288,
202,
202,
1252,
22144,
18,
4412,
5621,
202,
97,
1044,
261,
11949,
286,
13,
288,
202,
202,
20308,
2597,
2026,
486,
506,
3323,
358,
2405,
326,
13235,
326,
729,
2973,
333,
1520,
732,
2026,
486,
1875,
380,
1240,
1898,
3778,
578,
5932,
7372,
5527,
18,
1195,
202,
202,
3163,
18,
370,
18,
8222,
2932,
37,
24413,
10081,
555,
17497,
1323,
7647,
326,
1440,
22144,
1199,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
451,
18,
1188,
6332,
5621,
202,
202,
12849,
286,
31,
202,
97,
1044,
261,
668,
286,
13,
288,
202,
202,
20308,
2597,
2026,
486,
506,
3323,
358,
2405,
326,
13235,
326,
729,
2973,
333,
2
] |
textIconGap = 0; iconR.width = 0; iconR.height = 0; | if (c.getComponentOrientation() == ComponentOrientation.RIGHT_TO_LEFT) horizontalTextPosition = RIGHT; else horizontalTextPosition = LEFT; | public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap) { // Work out basic height and width. if (icon == null) { textIconGap = 0; iconR.width = 0; iconR.height = 0; } else { iconR.width = icon.getIconWidth(); iconR.height = icon.getIconHeight(); } if (text == null) { textIconGap = 0; textR.width = 0; textR.height = 0; } else { textR.width = fm.stringWidth(text); textR.height = fm.getHeight(); } // Work out the position of text and icon, assuming the top-left coord // starts at (0,0). We will fix that up momentarily, after these // "position" decisions are made and we look at alignment. switch (horizontalTextPosition) { case LEFT: textR.x = 0; iconR.x = textR.width + textIconGap; break; case RIGHT: iconR.x = 0; textR.x = iconR.width + textIconGap; break; case CENTER: int centerLine = Math.max(textR.width, iconR.width) / 2; textR.x = centerLine - textR.width/2; iconR.x = centerLine - iconR.width/2; break; } switch (verticalTextPosition) { case TOP: textR.y = 0; iconR.y = textR.height + textIconGap; break; case BOTTOM: iconR.y = 0; textR.y = iconR.height + textIconGap; break; case CENTER: int centerLine = Math.max(textR.height, iconR.height) / 2; textR.y = centerLine - textR.height/2; iconR.y = centerLine - iconR.height/2; break; } // The two rectangles are laid out correctly now, but only assuming // that their upper left corner is at (0,0). If we have any alignment other // than TOP and LEFT, we need to adjust them. Rectangle u = textR.union(iconR); int horizontalAdjustment = viewR.x; int verticalAdjustment = viewR.y; switch (verticalAlignment) { case TOP: break; case BOTTOM: verticalAdjustment += (viewR.height - u.height); break; case CENTER: verticalAdjustment += ((viewR.height/2) - (u.height/2)); break; } switch (horizontalAlignment) { case LEFT: break; case RIGHT: horizontalAdjustment += (viewR.width - u.width); break; case CENTER: horizontalAdjustment += ((viewR.width/2) - (u.width/2)); break; } iconR.x += horizontalAdjustment; iconR.y += verticalAdjustment; textR.x += horizontalAdjustment; textR.y += verticalAdjustment; return text; } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/SwingUtilities.java/buggy/core/src/classpath/javax/javax/swing/SwingUtilities.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
514,
3511,
16835,
2224,
12,
5711,
5653,
10940,
16,
4766,
6647,
514,
977,
16,
4766,
6647,
16011,
4126,
16,
4766,
6647,
509,
9768,
11535,
16,
4766,
6647,
509,
10300,
11535,
16,
4766,
6647,
509,
9768,
1528,
2555,
16,
4766,
6647,
509,
10300,
1528,
2555,
16,
4766,
6647,
13264,
1476,
54,
16,
4766,
6647,
13264,
4126,
54,
16,
4766,
6647,
13264,
977,
54,
16,
4766,
6647,
509,
977,
5554,
14001,
13,
225,
288,
565,
368,
4147,
596,
5337,
2072,
471,
1835,
18,
565,
309,
261,
3950,
422,
446,
13,
1377,
288,
3639,
977,
5554,
14001,
273,
374,
31,
3639,
4126,
54,
18,
2819,
273,
374,
31,
3639,
4126,
54,
18,
4210,
273,
374,
31,
1377,
289,
565,
469,
1377,
288,
3639,
4126,
54,
18,
2819,
273,
4126,
18,
588,
5554,
2384,
5621,
3639,
4126,
54,
18,
4210,
273,
4126,
18,
588,
5554,
2686,
5621,
1377,
289,
565,
309,
261,
955,
422,
446,
13,
1377,
288,
3639,
977,
5554,
14001,
273,
374,
31,
202,
955,
54,
18,
2819,
273,
374,
31,
202,
955,
54,
18,
4210,
273,
374,
31,
1377,
289,
565,
469,
1377,
288,
3639,
977,
54,
18,
2819,
273,
10940,
18,
1080,
2384,
12,
955,
1769,
3639,
977,
54,
18,
4210,
273,
10940,
18,
588,
2686,
5621,
4202,
289,
565,
368,
4147,
596,
326,
1754,
434,
977,
471,
4126,
16,
15144,
326,
1760,
17,
4482,
2745,
565,
368,
2542,
622,
261,
20,
16,
20,
2934,
1660,
903,
2917,
716,
731,
10382,
10243,
16,
1839,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
514,
3511,
16835,
2224,
12,
5711,
5653,
10940,
16,
4766,
6647,
514,
977,
16,
4766,
6647,
16011,
4126,
16,
4766,
6647,
509,
9768,
11535,
16,
4766,
6647,
509,
10300,
11535,
16,
4766,
6647,
509,
9768,
1528,
2555,
16,
4766,
6647,
509,
10300,
1528,
2555,
16,
4766,
6647,
13264,
1476,
54,
16,
4766,
6647,
13264,
4126,
54,
16,
4766,
6647,
13264,
977,
54,
16,
4766,
6647,
509,
977,
5554,
14001,
13,
225,
288,
565,
368,
4147,
596,
5337,
2072,
471,
1835,
18,
565,
309,
261,
3950,
422,
446,
13,
1377,
288,
3639,
977,
5554,
14001,
273,
374,
31,
3639,
4126,
54,
18,
2819,
273,
374,
31,
3639,
4126,
54,
18,
4210,
273,
374,
31,
1377,
289,
565,
2
] |
bufferPool[ i ] = new ArrayList(); | bufferPool[ i ] = new ArrayList(); | private synchronized void singletonConfigure(Configuration configuration) throws ConfigurationException { time = configuration.getAttributeAsInteger("jacorb.bufferManagerMaxFlush", 0); MAX = configuration.getAttributeAsInteger("jacorb.maxManagedBufSize", 18); bufferPool = new List[ MAX ]; for( int i = 0; i < MAX; i++) { bufferPool[ i ] = new ArrayList(); } /* create a number of buffers for the preferred memory buffer size */ int m_pos = 0; int j = MEM_BUFSIZE; while( j > 1 ) { j = j >> 1; m_pos++; } for( int min = 0; min < MIN_PREFERRED_BUFS; min++ ) { bufferPool[ m_pos -MIN_OFFSET ].add(new byte[ MEM_BUFSIZE ]); } if (time > 0) { // create new reaper reaper = new Reaper (time); reaper.setName ("BufferManager MaxCache Reaper"); reaper.setDaemon (true); reaper.start(); } } | 46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/124f924aa38dc69e5384abbc34d818872107cef3/BufferManager.java/buggy/src/org/jacorb/orb/BufferManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
918,
6396,
11207,
12,
1750,
1664,
13,
3639,
1216,
22196,
565,
288,
3639,
813,
273,
2398,
1664,
18,
588,
24433,
4522,
2932,
31390,
16640,
18,
4106,
1318,
2747,
8207,
3113,
374,
1769,
3639,
4552,
273,
2398,
1664,
18,
588,
24433,
4522,
2932,
31390,
16640,
18,
1896,
10055,
5503,
1225,
3113,
6549,
1769,
202,
4106,
2864,
273,
394,
987,
63,
4552,
308,
31,
202,
1884,
12,
509,
277,
273,
374,
31,
277,
411,
4552,
31,
277,
27245,
3639,
288,
202,
565,
1613,
2864,
63,
277,
308,
273,
394,
2407,
5621,
3639,
289,
3639,
1748,
752,
279,
1300,
434,
9664,
364,
326,
9119,
3778,
1613,
6647,
963,
1195,
3639,
509,
312,
67,
917,
273,
374,
31,
3639,
509,
525,
273,
18990,
67,
3000,
42,
4574,
31,
3639,
1323,
12,
525,
405,
404,
262,
3639,
288,
5411,
525,
273,
525,
1671,
404,
31,
5411,
312,
67,
917,
9904,
31,
3639,
289,
3639,
364,
12,
509,
1131,
273,
374,
31,
1131,
411,
6989,
67,
3670,
17356,
67,
3000,
4931,
31,
1131,
9904,
262,
3639,
288,
5411,
1613,
2864,
63,
312,
67,
917,
300,
6236,
67,
11271,
308,
18,
1289,
12,
2704,
1160,
63,
18990,
67,
3000,
42,
4574,
308,
1769,
3639,
289,
3639,
309,
261,
957,
405,
374,
13,
3639,
288,
5411,
368,
752,
394,
283,
7294,
5411,
283,
7294,
273,
394,
868,
7294,
261,
957,
1769,
5411,
283,
7294,
18,
542,
461,
7566,
1892,
1318,
4238,
1649,
868,
7294,
8863,
5411,
283,
7294,
18,
542,
12858,
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,
3852,
918,
6396,
11207,
12,
1750,
1664,
13,
3639,
1216,
22196,
565,
288,
3639,
813,
273,
2398,
1664,
18,
588,
24433,
4522,
2932,
31390,
16640,
18,
4106,
1318,
2747,
8207,
3113,
374,
1769,
3639,
4552,
273,
2398,
1664,
18,
588,
24433,
4522,
2932,
31390,
16640,
18,
1896,
10055,
5503,
1225,
3113,
6549,
1769,
202,
4106,
2864,
273,
394,
987,
63,
4552,
308,
31,
202,
1884,
12,
509,
277,
273,
374,
31,
277,
411,
4552,
31,
277,
27245,
3639,
288,
202,
565,
1613,
2864,
63,
277,
308,
273,
394,
2407,
5621,
3639,
289,
3639,
1748,
752,
279,
1300,
434,
9664,
364,
326,
9119,
3778,
1613,
6647,
963,
1195,
3639,
509,
312,
67,
917,
273,
374,
31,
3639,
509,
2
] |
ruby.getScope().setLocalNames(body.getLocalNames()); | ruby.getScope().resetLocalVariables(body.getLocalNames()); | public IRubyObject call(Ruby ruby, IRubyObject receiver, String name, IRubyObject[] args, boolean noSuper) { RubyProc optionalBlockArg = null; if (argsNode.getBlockArgNode() != null && ruby.isBlockGiven()) { optionalBlockArg = RubyProc.newProc(ruby); } ruby.getScope().push(); Namespace savedNamespace = null; savedNamespace = ruby.getNamespace(); ruby.setNamespace(namespace); ruby.getCurrentFrame().setNamespace(namespace); if (body.getLocalNames() != null) { ruby.getScope().setLocalNames(body.getLocalNames()); } ruby.pushDynamicVars(); try { if (argsNode != null) { prepareArguments(ruby, receiver, args); } if (optionalBlockArg != null) { ruby.getScope().setValue(argsNode.getBlockArgNode().getCount(), optionalBlockArg); } traceCall(ruby, receiver, name); return receiver.eval(body.getBodyNode()); } catch (ReturnJump re) { return re.getReturnValue(); } finally { ruby.popDynamicVars(); ruby.getScope().pop(); ruby.setNamespace(savedNamespace); traceReturn(ruby, receiver, name); } } | 47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/6e143e1ded2275ed4da3449d4a13446b099f800d/DefaultMethod.java/buggy/src/org/jruby/internal/runtime/methods/DefaultMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
745,
12,
54,
10340,
22155,
16,
15908,
10340,
921,
5971,
16,
514,
508,
16,
15908,
10340,
921,
8526,
833,
16,
1250,
1158,
8051,
13,
288,
3639,
19817,
15417,
3129,
1768,
4117,
273,
446,
31,
3639,
309,
261,
1968,
907,
18,
588,
1768,
4117,
907,
1435,
480,
446,
597,
22155,
18,
291,
1768,
6083,
10756,
288,
5411,
3129,
1768,
4117,
273,
19817,
15417,
18,
2704,
15417,
12,
27768,
1769,
3639,
289,
3639,
22155,
18,
588,
3876,
7675,
6206,
5621,
3639,
6005,
5198,
3402,
273,
446,
31,
3639,
5198,
3402,
273,
22155,
18,
588,
3402,
5621,
3639,
22155,
18,
542,
3402,
12,
4937,
1769,
3639,
22155,
18,
588,
3935,
3219,
7675,
542,
3402,
12,
4937,
1769,
3639,
309,
261,
3432,
18,
588,
2042,
1557,
1435,
480,
446,
13,
288,
5411,
22155,
18,
588,
3876,
7675,
6208,
2042,
6158,
12,
3432,
18,
588,
2042,
1557,
10663,
3639,
289,
3639,
22155,
18,
6206,
9791,
5555,
5621,
3639,
775,
288,
5411,
309,
261,
1968,
907,
480,
446,
13,
288,
7734,
2911,
4628,
12,
27768,
16,
5971,
16,
833,
1769,
5411,
289,
5411,
309,
261,
10444,
1768,
4117,
480,
446,
13,
288,
7734,
22155,
18,
588,
3876,
7675,
542,
620,
12,
1968,
907,
18,
588,
1768,
4117,
907,
7675,
588,
1380,
9334,
3129,
1768,
4117,
1769,
5411,
289,
5411,
2606,
1477,
12,
27768,
16,
5971,
16,
508,
1769,
5411,
327,
5971,
18,
8622,
12,
3432,
18,
588,
2250,
907,
10663,
3639,
289,
1044,
261,
990,
26743,
283,
13,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
745,
12,
54,
10340,
22155,
16,
15908,
10340,
921,
5971,
16,
514,
508,
16,
15908,
10340,
921,
8526,
833,
16,
1250,
1158,
8051,
13,
288,
3639,
19817,
15417,
3129,
1768,
4117,
273,
446,
31,
3639,
309,
261,
1968,
907,
18,
588,
1768,
4117,
907,
1435,
480,
446,
597,
22155,
18,
291,
1768,
6083,
10756,
288,
5411,
3129,
1768,
4117,
273,
19817,
15417,
18,
2704,
15417,
12,
27768,
1769,
3639,
289,
3639,
22155,
18,
588,
3876,
7675,
6206,
5621,
3639,
6005,
5198,
3402,
273,
446,
31,
3639,
5198,
3402,
273,
22155,
18,
588,
3402,
5621,
3639,
22155,
18,
542,
3402,
12,
4937,
1769,
3639,
22155,
18,
588,
3935,
3219,
7675,
542,
3402,
12,
4937,
1769,
2
] |
if ( ch == '?' ) { lastProposals = getParameterCompletionProposals( viewer, offset ); return lastProposals; } else if ( ch == '.' ) | if ( ch == '.' ) | public ICompletionProposal[] computeCompletionProposals( ITextViewer viewer, int offset ) { try { if ( offset > viewer.getTopIndexStartOffset( ) ) { //Check the character before the offset char ch = viewer.getDocument( ).getChar( offset - 1 ); //If this is a ? then get the list of parameters if ( ch == '?' ) //$NON-NLS-1$ { lastProposals = getParameterCompletionProposals( viewer, offset ); return lastProposals; } else if ( ch == '.' ) //$NON-NLS-1$ { lastProposals = getTableOrColumnCompletionProposals( viewer, offset ); return lastProposals; } else { return getRelevantProposals( viewer, offset ); } } } catch ( BadLocationException e ) { } return null; } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/a55b8e0bdebeaddfcc6de7053ea057f37660876e/JdbcSQLContentAssistProcessor.java/buggy/data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/JdbcSQLContentAssistProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
11238,
14592,
8526,
3671,
11238,
626,
22536,
12,
1082,
202,
1285,
408,
18415,
14157,
16,
509,
1384,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
430,
261,
1384,
405,
14157,
18,
588,
3401,
1016,
1685,
2335,
12,
262,
262,
1082,
202,
95,
9506,
202,
759,
1564,
326,
3351,
1865,
326,
1384,
9506,
202,
3001,
462,
273,
14157,
18,
588,
2519,
12,
262,
18,
588,
2156,
12,
1384,
300,
404,
11272,
9506,
202,
759,
2047,
333,
353,
279,
692,
1508,
336,
326,
666,
434,
1472,
9506,
202,
430,
261,
462,
422,
6787,
262,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
95,
6862,
202,
2722,
626,
22536,
273,
5575,
11238,
626,
22536,
12,
14157,
16,
6862,
1082,
202,
3348,
11272,
6862,
202,
2463,
1142,
626,
22536,
31,
9506,
202,
97,
9506,
202,
12107,
309,
261,
462,
422,
2611,
262,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
95,
6862,
202,
2722,
626,
22536,
273,
5638,
1162,
1494,
11238,
626,
22536,
12,
14157,
16,
6862,
1082,
202,
3348,
11272,
6862,
202,
2463,
1142,
626,
22536,
31,
9506,
202,
97,
9506,
202,
12107,
9506,
202,
95,
6862,
202,
2463,
336,
17018,
7445,
626,
22536,
12,
14157,
16,
1384,
11272,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
14683,
261,
6107,
2735,
503,
425,
262,
202,
202,
95,
202,
202,
97,
202,
202,
2463,
446,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
11238,
14592,
8526,
3671,
11238,
626,
22536,
12,
1082,
202,
1285,
408,
18415,
14157,
16,
509,
1384,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
430,
261,
1384,
405,
14157,
18,
588,
3401,
1016,
1685,
2335,
12,
262,
262,
1082,
202,
95,
9506,
202,
759,
1564,
326,
3351,
1865,
326,
1384,
9506,
202,
3001,
462,
273,
14157,
18,
588,
2519,
12,
262,
18,
588,
2156,
12,
1384,
300,
404,
11272,
9506,
202,
759,
2047,
333,
353,
279,
692,
1508,
336,
326,
666,
434,
1472,
9506,
202,
430,
261,
462,
422,
6787,
262,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
95,
6862,
202,
2722,
626,
22536,
273,
5575,
11238,
626,
22536,
2
] |
MockRepositoryQueryLayer queryLayer = new MockRepositoryQueryLayer(); queryLayer.addReturnValue( ARTIFACT_FOUND ); Dependency dependency = new Dependency(); setRequiredElements( dependency, VALID, VALID, VALID ); model.addDependency( dependency ); queryLayer.addReturnValue( ARTIFACT_FOUND ); model.addDependency( dependency ); queryLayer.addReturnValue( ARTIFACT_FOUND ); model.addDependency( dependency ); queryLayer.addReturnValue( ARTIFACT_NOT_FOUND ); model.addDependency( dependency ); queryLayer.addReturnValue( ARTIFACT_FOUND ); model.addDependency( dependency ); queryLayer.addReturnValue( ARTIFACT_FOUND ); setRequiredElements( artifact, VALID, VALID, VALID ); processor.setRepositoryQueryLayer( queryLayer ); processor.processArtifact( model, artifact, reporter, null ); | Artifact artifact = createValidArtifact(); processor.processArtifact( model, artifact, reporter, repository ); | public void testValidArtifactWithAnInvalidDependency() { MockArtifactFactory artifactFactory = new MockArtifactFactory(); processor.setArtifactFactory( artifactFactory ); MockRepositoryQueryLayer queryLayer = new MockRepositoryQueryLayer(); queryLayer.addReturnValue( ARTIFACT_FOUND ); Dependency dependency = new Dependency(); setRequiredElements( dependency, VALID, VALID, VALID ); model.addDependency( dependency ); queryLayer.addReturnValue( ARTIFACT_FOUND ); model.addDependency( dependency ); queryLayer.addReturnValue( ARTIFACT_FOUND ); model.addDependency( dependency ); queryLayer.addReturnValue( ARTIFACT_NOT_FOUND ); model.addDependency( dependency ); queryLayer.addReturnValue( ARTIFACT_FOUND ); model.addDependency( dependency ); queryLayer.addReturnValue( ARTIFACT_FOUND ); setRequiredElements( artifact, VALID, VALID, VALID ); processor.setRepositoryQueryLayer( queryLayer ); processor.processArtifact( model, artifact, reporter, null ); assertEquals( 5, reporter.getNumSuccesses() ); assertEquals( 1, reporter.getNumFailures() ); assertEquals( 0, reporter.getNumWarnings() ); Iterator failures = reporter.getArtifactFailureIterator(); ArtifactResult result = (ArtifactResult) failures.next(); assertEquals( ArtifactReporter.DEPENDENCY_NOT_FOUND, result.getReason() ); } | 47019 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47019/3647c95d63a9889abeac4ff19b6dc271d21d6c61/ArtifactReportProcessorTest.java/buggy/archiva-reports-standard/src/test/java/org/apache/maven/archiva/reporting/ArtifactReportProcessorTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1556,
7581,
1190,
979,
1941,
7787,
1435,
565,
288,
3639,
7867,
7581,
1733,
6462,
1733,
273,
394,
7867,
7581,
1733,
5621,
3639,
6659,
18,
542,
7581,
1733,
12,
6462,
1733,
11272,
3639,
7867,
3305,
1138,
4576,
843,
4576,
273,
394,
7867,
3305,
1138,
4576,
5621,
3639,
843,
4576,
18,
1289,
19092,
12,
6052,
23240,
11625,
67,
9294,
11272,
3639,
11993,
4904,
273,
394,
11993,
5621,
3639,
22156,
3471,
12,
4904,
16,
15093,
16,
15093,
16,
15093,
11272,
3639,
938,
18,
1289,
7787,
12,
4904,
11272,
3639,
843,
4576,
18,
1289,
19092,
12,
6052,
23240,
11625,
67,
9294,
11272,
3639,
938,
18,
1289,
7787,
12,
4904,
11272,
3639,
843,
4576,
18,
1289,
19092,
12,
6052,
23240,
11625,
67,
9294,
11272,
3639,
938,
18,
1289,
7787,
12,
4904,
11272,
3639,
843,
4576,
18,
1289,
19092,
12,
6052,
23240,
11625,
67,
4400,
67,
9294,
11272,
3639,
938,
18,
1289,
7787,
12,
4904,
11272,
3639,
843,
4576,
18,
1289,
19092,
12,
6052,
23240,
11625,
67,
9294,
11272,
3639,
938,
18,
1289,
7787,
12,
4904,
11272,
3639,
843,
4576,
18,
1289,
19092,
12,
6052,
23240,
11625,
67,
9294,
11272,
3639,
22156,
3471,
12,
6462,
16,
15093,
16,
15093,
16,
15093,
11272,
3639,
6659,
18,
542,
3305,
1138,
4576,
12,
843,
4576,
11272,
3639,
6659,
18,
2567,
7581,
12,
938,
16,
6462,
16,
11528,
16,
446,
11272,
3639,
1815,
8867,
12,
1381,
16,
11528,
18,
588,
2578,
4510,
281,
1435,
11272,
3639,
1815,
8867,
12,
404,
16,
11528,
18,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1556,
7581,
1190,
979,
1941,
7787,
1435,
565,
288,
3639,
7867,
7581,
1733,
6462,
1733,
273,
394,
7867,
7581,
1733,
5621,
3639,
6659,
18,
542,
7581,
1733,
12,
6462,
1733,
11272,
3639,
7867,
3305,
1138,
4576,
843,
4576,
273,
394,
7867,
3305,
1138,
4576,
5621,
3639,
843,
4576,
18,
1289,
19092,
12,
6052,
23240,
11625,
67,
9294,
11272,
3639,
11993,
4904,
273,
394,
11993,
5621,
3639,
22156,
3471,
12,
4904,
16,
15093,
16,
15093,
16,
15093,
11272,
3639,
938,
18,
1289,
7787,
12,
4904,
11272,
3639,
843,
4576,
18,
1289,
19092,
12,
6052,
23240,
11625,
67,
9294,
11272,
3639,
938,
18,
1289,
7787,
12,
4904,
11272,
3639,
843,
4576,
18,
1289,
19092,
12,
6052,
23240,
2
] |
channel.write(buffer); | while(buffer.hasRemaining()) channel.write(buffer); | public void run () { if ( getCommand() == null ) throw new IllegalArgumentException("Given command is null!"); if ( getSocketProvider() == null ) throw new IllegalArgumentException("Given connection is not open!"); if ( getCommand() instanceof ListCommand ) { setReply(ReplyWorker.readReply(getSocketProvider(),true)); setStatus(ReplyWorker.FINISHED); return; } else if ( getCommand() instanceof RetrieveCommand ) { RetrieveCommand retrieveCommand = (RetrieveCommand) getCommand(); //TODO: Add handling for TYPE A if ( retrieveCommand.getFromFile().getType().intern() == Command.TYPE_I ) { try { FileOutputStream out = new FileOutputStream(retrieveCommand.getToFile().getFile()); FileChannel channel = out.getChannel(); int amount; try { while ((amount = getSocketProvider().read(buffer)) != -1) { if (amount == 0) { try { Thread.sleep(4); } catch (InterruptedException e) {} } if (buffer.remaining() > 0) { continue; } buffer.flip(); channel.write(buffer); buffer.clear(); } buffer.flip(); channel.write(buffer); buffer.clear(); setStatus(ReplyWorker.FINISHED); channel.close(); getSocketProvider().close(); } catch (IOException ioe) { setCaughtException(ioe); setStatus(ReplyWorker.ERROR_IO_EXCEPTION); } }catch (FileNotFoundException fnfe) { setCaughtException(fnfe); setStatus(ReplyWorker.ERROR_FILE_NOT_FOUND); } }else throw new IllegalArgumentException("Unknown file transfer type for download!"); return; } else if ( getCommand() instanceof StoreCommand ) { StoreCommand storeCommand = (StoreCommand) getCommand();// TODO: Add handling for TYPE A if ( storeCommand.getToFile().getType().intern() == Command.TYPE_I ) { try { log.debug("Upload file: " + storeCommand.getFromFile().toString()); FileInputStream in = new FileInputStream(storeCommand.getFromFile().getFile()); FileChannel channel = in.getChannel(); int amount; int socketWrite; int socketAmount = 0; try { while ((amount = channel.read(buffer)) != -1) { buffer.flip(); socketWrite = 0; while ((socketWrite = getSocketProvider().write(buffer)) != -1) { socketAmount += socketWrite; if (amount <= socketAmount) { break; } if (socketWrite == 0) { try { Thread.sleep(4); } catch (InterruptedException e) {} } } if (socketWrite == -1) { break; } socketAmount = 0; buffer.clear(); } setStatus(ReplyWorker.FINISHED); channel.close(); getSocketProvider().close(); } catch (IOException ioe) { setCaughtException(ioe); setStatus(ReplyWorker.ERROR_IO_EXCEPTION); } }catch (FileNotFoundException fnfe) { setCaughtException(fnfe); setStatus(ReplyWorker.ERROR_FILE_NOT_FOUND); } } else throw new IllegalArgumentException("Unknown file transfer type for upload!"); }else throw new IllegalArgumentException("Given command is not supported!"); } | 11835 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11835/36dd349577ea8833c77d0bd944e9451abaf349b0/ReplyWorker.java/clean/ftp4che14/src/java/org/ftp4che/util/ReplyWorker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1832,
288,
3639,
309,
261,
12856,
1435,
422,
446,
262,
5411,
604,
394,
2754,
2932,
6083,
1296,
353,
446,
4442,
1769,
3639,
309,
261,
28673,
2249,
1435,
422,
446,
262,
5411,
604,
394,
2754,
2932,
6083,
1459,
353,
486,
1696,
4442,
1769,
7734,
309,
261,
12856,
1435,
1276,
987,
2189,
262,
540,
288,
1850,
444,
7817,
12,
7817,
6671,
18,
896,
7817,
12,
588,
4534,
2249,
9334,
3767,
10019,
1850,
9433,
12,
7817,
6671,
18,
23259,
2056,
1769,
1850,
327,
31,
3639,
289,
3639,
469,
309,
261,
12856,
1435,
1276,
10708,
2189,
262,
540,
288,
5411,
10708,
2189,
4614,
2189,
273,
261,
5767,
2189,
13,
12856,
5621,
13491,
368,
6241,
30,
1436,
5057,
364,
3463,
432,
5411,
309,
261,
4614,
2189,
18,
588,
13087,
7675,
588,
559,
7675,
267,
798,
1435,
422,
3498,
18,
2399,
67,
45,
262,
2398,
288,
7734,
775,
7734,
288,
10792,
12942,
596,
273,
394,
12942,
12,
17466,
2189,
18,
588,
15450,
7675,
29925,
10663,
10792,
1387,
2909,
1904,
273,
596,
18,
588,
2909,
5621,
10792,
509,
3844,
31,
10792,
775,
288,
13491,
1323,
14015,
8949,
273,
28673,
2249,
7675,
896,
12,
4106,
3719,
480,
300,
21,
13,
7682,
288,
18701,
309,
261,
8949,
422,
374,
13,
11794,
288,
27573,
775,
288,
4766,
282,
4884,
18,
19607,
12,
24,
1769,
27573,
289,
1044,
261,
24485,
503,
425,
13,
2618,
18701,
289,
11794,
309,
261,
4106,
18,
17956,
1435,
405,
374,
13,
288,
27573,
1324,
31,
18701,
289,
18701,
1613,
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,
1086,
1832,
288,
3639,
309,
261,
12856,
1435,
422,
446,
262,
5411,
604,
394,
2754,
2932,
6083,
1296,
353,
446,
4442,
1769,
3639,
309,
261,
28673,
2249,
1435,
422,
446,
262,
5411,
604,
394,
2754,
2932,
6083,
1459,
353,
486,
1696,
4442,
1769,
7734,
309,
261,
12856,
1435,
1276,
987,
2189,
262,
540,
288,
1850,
444,
7817,
12,
7817,
6671,
18,
896,
7817,
12,
588,
4534,
2249,
9334,
3767,
10019,
1850,
9433,
12,
7817,
6671,
18,
23259,
2056,
1769,
1850,
327,
31,
3639,
289,
3639,
469,
309,
261,
12856,
1435,
1276,
10708,
2189,
262,
540,
288,
5411,
10708,
2189,
4614,
2189,
273,
261,
5767,
2189,
13,
12856,
5621,
13491,
368,
6241,
30,
1436,
5057,
364,
3463,
2
] |
t.blowup(false,Project.class,new HashSet(),new HashMap()); | public void testFindContainerHierarchies() throws Exception { T t = new T(ApiUsageException.class){ @Override public void doTest(Object[] arg) { manager.findContainerHierarchies((Class)arg[0],(Set)arg[1],(Map)arg[2]); } }; // param1: not null or wrong type t.blowup(true,null,new HashSet(), new HashMap()); t.blowup(true,Dataset.class,new HashSet(),new HashMap()); t.blowup(true,Image.class,new HashSet(),new HashMap()); t.blowup(false,Project.class,new HashSet(), new HashMap()); t.blowup(false,CategoryGroup.class,new HashSet(), new HashMap()); // param2: t.blowup(true,Project.class,null, new HashMap()); t.blowup(false,Project.class,new HashSet(),new HashMap()); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/6d331e574e46de5764580559f877bbc4be131b20/PojosConstraintsTest.java/clean/components/server/test/ome/server/utests/PojosConstraintsTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3125,
2170,
44,
5148,
606,
1435,
1216,
1185,
288,
202,
202,
56,
268,
273,
394,
399,
12,
3064,
5357,
503,
18,
1106,
15329,
1082,
202,
36,
6618,
1082,
202,
482,
918,
741,
4709,
12,
921,
8526,
1501,
13,
288,
9506,
202,
4181,
18,
4720,
2170,
44,
5148,
606,
12443,
797,
13,
3175,
63,
20,
6487,
12,
694,
13,
3175,
63,
21,
6487,
12,
863,
13,
3175,
63,
22,
19226,
1082,
202,
97,
202,
202,
20451,
9506,
202,
759,
579,
21,
30,
486,
446,
578,
7194,
618,
202,
202,
88,
18,
70,
821,
416,
12,
3767,
16,
2011,
16,
2704,
6847,
9334,
394,
4317,
10663,
202,
202,
88,
18,
70,
821,
416,
12,
3767,
16,
10656,
18,
1106,
16,
2704,
6847,
9334,
2704,
4317,
10663,
202,
202,
88,
18,
70,
821,
416,
12,
3767,
16,
2040,
18,
1106,
16,
2704,
6847,
9334,
2704,
4317,
10663,
202,
202,
88,
18,
70,
821,
416,
12,
5743,
16,
4109,
18,
1106,
16,
2704,
6847,
9334,
394,
4317,
10663,
202,
202,
88,
18,
70,
821,
416,
12,
5743,
16,
4457,
1114,
18,
1106,
16,
2704,
6847,
9334,
394,
4317,
10663,
9506,
202,
759,
579,
22,
30,
3196,
202,
88,
18,
70,
821,
416,
12,
3767,
16,
4109,
18,
1106,
16,
2011,
16,
394,
4317,
10663,
202,
202,
88,
18,
70,
821,
416,
12,
5743,
16,
4109,
18,
1106,
16,
2704,
6847,
9334,
2704,
4317,
10663,
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,
1842,
3125,
2170,
44,
5148,
606,
1435,
1216,
1185,
288,
202,
202,
56,
268,
273,
394,
399,
12,
3064,
5357,
503,
18,
1106,
15329,
1082,
202,
36,
6618,
1082,
202,
482,
918,
741,
4709,
12,
921,
8526,
1501,
13,
288,
9506,
202,
4181,
18,
4720,
2170,
44,
5148,
606,
12443,
797,
13,
3175,
63,
20,
6487,
12,
694,
13,
3175,
63,
21,
6487,
12,
863,
13,
3175,
63,
22,
19226,
1082,
202,
97,
202,
202,
20451,
9506,
202,
759,
579,
21,
30,
486,
446,
578,
7194,
618,
202,
202,
88,
18,
70,
821,
416,
12,
3767,
16,
2011,
16,
2704,
6847,
9334,
394,
4317,
10663,
202,
202,
88,
18,
70,
821,
416,
12,
3767,
16,
2
] |
|
shiftRight(val.digits, val.numberLength, val.digits, intCount, count & 31); | if (!shiftRight(val.digits, val.numberLength, val.digits, intCount, count & 31) && sign < 0) { int i; for (i = 0; ( i < val.numberLength ) && ( val.digits[i] == -1 ); i++) { val.digits[i] = 0; } if (i == val.numberLength) { val.numberLength++; } val.digits[i]++; } | static void inplaceShiftRight(BigInteger val, int count) { // PRE: val > 0 int intCount = count >> 5; // count of integers val.numberLength -= intCount; shiftRight(val.digits, val.numberLength, val.digits, intCount, count & 31); val.cutOffLeadingZeroes(); } | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/9f90bead11df6c0bbe4086809e7c597ce940830d/BitLevel.java/clean/modules/math/src/main/java/java/math/BitLevel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
918,
11783,
10544,
4726,
12,
24198,
1244,
16,
509,
1056,
13,
288,
3639,
368,
7071,
30,
1244,
405,
374,
3639,
509,
509,
1380,
273,
1056,
1671,
1381,
31,
368,
1056,
434,
12321,
3639,
1244,
18,
2696,
1782,
3947,
509,
1380,
31,
3639,
4654,
4726,
12,
1125,
18,
16649,
16,
1244,
18,
2696,
1782,
16,
1244,
18,
16649,
16,
509,
1380,
16,
7734,
1056,
473,
8231,
1769,
3639,
1244,
18,
5150,
7210,
19112,
7170,
281,
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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
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,
760,
918,
11783,
10544,
4726,
12,
24198,
1244,
16,
509,
1056,
13,
288,
3639,
368,
7071,
30,
1244,
405,
374,
3639,
509,
509,
1380,
273,
1056,
1671,
1381,
31,
368,
1056,
434,
12321,
3639,
1244,
18,
2696,
1782,
3947,
509,
1380,
31,
3639,
4654,
4726,
12,
1125,
18,
16649,
16,
1244,
18,
2696,
1782,
16,
1244,
18,
16649,
16,
509,
1380,
16,
7734,
1056,
473,
8231,
1769,
3639,
1244,
18,
5150,
7210,
19112,
7170,
281,
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
] |
public org.quickfix.field.LegOptAttribute getLegOptAttribute() throws FieldNotFound { org.quickfix.field.LegOptAttribute value = new org.quickfix.field.LegOptAttribute(); | public quickfix.field.LegOptAttribute getLegOptAttribute() throws FieldNotFound { quickfix.field.LegOptAttribute value = new quickfix.field.LegOptAttribute(); | public org.quickfix.field.LegOptAttribute getLegOptAttribute() throws FieldNotFound { org.quickfix.field.LegOptAttribute value = new org.quickfix.field.LegOptAttribute(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/MassQuoteAcknowledgement.java/buggy/src/java/src/quickfix/fix44/MassQuoteAcknowledgement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
6179,
1499,
336,
8329,
6179,
1499,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
8329,
6179,
1499,
336,
8329,
6179,
1499,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
6179,
1499,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
6179,
1499,
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
] |
String extension = filename.substring(filename.lastIndexOf(".") + 1); int num = Integer.parseInt(extension, 16); | String ext = filename.substring(filename.lastIndexOf(".") + 1); int num = Integer.parseInt(ext, 16); | protected void initFile(String id) throws FormatException, IOException { super.initFile(id); // get the working directory File tempFile = new File(id); File workingDir = tempFile.getParentFile(); if (workingDir == null) workingDir = new File("."); String workingDirPath = workingDir.getPath() + File.separator; String[] ls = workingDir.list(); // check if we have any of the required header file types int cfgPos = -1; int anoPos = -1; int recPos = -1; int timPos = -1; int csvPos = -1; int zpoPos = -1; int htmPos = -1; int filesPt = 0; files = new String[ls.length]; String tempFileName = tempFile.getName(); int dot = tempFileName.lastIndexOf("."); String check = dot < 0 ? tempFileName : tempFileName.substring(0, dot); // locate appropriate .tim, .csv, .zpo, .htm and .tif files String prefix = null; for (int i=0; i<ls.length; i++) { // make sure that the file has a name similar to the name of the // specified file int d = ls[i].lastIndexOf("."); while (d == -1 && i < ls.length) { i++; d = ls[i].lastIndexOf("."); } String s = dot < 0 ? ls[i] : ls[i].substring(0, d); String filename = ls[i].toLowerCase(); if (s.startsWith(check) || check.startsWith(s) || ((prefix != null) && (s.startsWith(prefix)))) { if (cfgPos == -1) { if (filename.endsWith(".cfg")) { cfgPos = i; prefix = ls[i].substring(0, d); } } if (anoPos == -1) { if (filename.endsWith(".ano")) { anoPos = i; prefix = ls[i].substring(0, d); } } if (recPos == -1) { if (filename.endsWith(".rec")) { recPos = i; prefix = ls[i].substring(0, d); } } if (timPos == -1) { if (filename.endsWith(".tim")) { timPos = i; prefix = ls[i].substring(0, d); } } if (csvPos == -1) { if (filename.endsWith(".csv")) { csvPos = i; prefix = ls[i].substring(0, d); } } if (zpoPos == -1) { if (filename.endsWith(".zpo")) { zpoPos = i; prefix = ls[i].substring(0, d); } } if (htmPos == -1) { if (filename.endsWith(".htm")) { htmPos = i; prefix = ls[i].substring(0, d); } } if (filename.endsWith(".tif") || filename.endsWith(".tiff")) { files[filesPt] = workingDirPath + ls[i]; filesPt++; } try { String extension = filename.substring(filename.lastIndexOf(".") + 1); int num = Integer.parseInt(extension); isTiff = false; files[filesPt] = workingDirPath + ls[i]; filesPt++; } catch (Exception e) { try { String extension = filename.substring(filename.lastIndexOf(".") + 1); int num = Integer.parseInt(extension, 16); isTiff = false; files[filesPt] = workingDirPath + ls[i]; filesPt++; } catch (Exception f) { } } } } // re-order the files String[] tempFiles = files; files = new String[filesPt]; //System.arraycopy(tempFiles, 0, files, 0, filesPt); // determine the number of different extensions we have int extCount = 0; Vector foundExts = new Vector(); for (int i=0; i<filesPt; i++) { String ext = tempFiles[i].substring(tempFiles[i].lastIndexOf(".") + 1); if (!foundExts.contains(ext)) { extCount++; foundExts.add(ext); } } for (int i=0; i<filesPt; i+=extCount) { Vector extSet = new Vector(); for (int j=0; j<extCount; j++) { if (extSet.size() == 0) extSet.add(tempFiles[i + j]); else { String ext = tempFiles[i+j].substring(tempFiles[i+j].lastIndexOf(".") + 1); int extNum = Integer.parseInt(ext, 16); int insert = -1; int pos = 0; while (insert == -1 && pos < extSet.size()) { String posString = (String) extSet.get(pos); posString = posString.substring(posString.lastIndexOf(".") + 1); int posNum = Integer.parseInt(posString, 16); if (extNum < posNum) insert = pos; pos++; } if (insert == -1) extSet.add(tempFiles[i+j]); else extSet.add(insert, tempFiles[i + j]); } } for (int j=0; j<extCount; j++) { files[i+j] = (String) extSet.get(j); } } numImages = files.length; BufferedReader read; char[] data; StringTokenizer t; tiff = new TiffReader[numImages]; for (int i=0; i<tiff.length; i++) tiff[i] = new TiffReader(); // highly questionable metadata parsing // we always parse the .tim and .htm files if they exist, along with // either the .csv file or the .zpo file if (timPos != -1) { tempFile = new File(workingDir, ls[timPos]); read = new BufferedReader(new FileReader(tempFile)); data = new char[(int) tempFile.length()]; read.read(data); t = new StringTokenizer(new String(data)); int tNum = 0; // can ignore "Zero x" and "Extra int" String[] hashKeys = {"Number of Wavelengths/Timepoints", "Zero 1", "Zero 2", "Number of slices", "Extra int", "Calibration Unit", "Pixel Size Y", "Pixel Size X", "Image Width", "Image Length", "Origin X", "SubfileType X", "Dimension Label X", "Origin Y", "SubfileType Y", "Dimension Label Y", "Origin Z", "SubfileType Z", "Dimension Label Z"}; // there are 9 additional tokens, but I don't know what they're for while (t.hasMoreTokens() && tNum<hashKeys.length) { String token = t.nextToken(); while ((tNum == 1 || tNum == 2) && !token.trim().equals("0")) { tNum++; } if (tNum == 4) { try { Integer.parseInt(token); } catch (Exception e) { tNum++; } } metadata.put(hashKeys[tNum], token); tNum++; } } if (csvPos != -1) { tempFile = new File(workingDir, ls[csvPos]); read = new BufferedReader(new FileReader(tempFile)); data = new char[(int) tempFile.length()]; read.read(data); t = new StringTokenizer(new String(data)); int tNum = 0; String[] hashKeys = {"Calibration Unit", "Pixel Size X", "Pixel Size Y", "Z slice space"}; int pt = 0; while (t.hasMoreTokens()) { if (tNum < 7) { t.nextToken(); } else if ((tNum > 7 && tNum < 12) || (tNum > 12 && tNum < 18) || (tNum > 18 && tNum < 22)) { t.nextToken(); } else if (pt < hashKeys.length) { metadata.put(hashKeys[pt], t.nextToken()); pt++; } else { metadata.put(t.nextToken() + t.nextToken(), t.nextToken()); } tNum++; } } else if (zpoPos != -1) { tempFile = new File(workingDir, ls[zpoPos]); read = new BufferedReader(new FileReader(tempFile)); data = new char[(int) tempFile.length()]; read.read(data); t = new StringTokenizer(new String(data)); int tNum = 0; while (t.hasMoreTokens()) { metadata.put("Z slice #" + tNum + " position", t.nextToken()); tNum++; } } // be aggressive about parsing the HTML file, since it's the only one that // explicitly defines the number of wavelengths and timepoints if (htmPos != -1) { // ooh, pretty HTML tempFile = new File(workingDir, ls[htmPos]); read = new BufferedReader(new FileReader(tempFile)); data = new char[(int) tempFile.length()]; read.read(data); String regex = "<p>|</p>|<br>|<hr>|<b>|</b>|<HTML>|<HEAD>|</HTML>|" + "</HEAD>|<h1>|</h1>|<HR>|</body>"; // use reflection to avoid dependency on Java 1.4-specific split method Class c = String.class; String[] tokens = new String[0]; try { Method split = c.getMethod("split", new Class[] {c}); tokens = (String[]) split.invoke(new String(data), new Object[] {regex}); } catch (Throwable e) { } for (int j=0; j<tokens.length; j++) { if (tokens[j].indexOf("<") != -1) tokens[j] = ""; } for (int j=0; j<tokens.length-1; j+=2) { if (tokens[j].indexOf("Wavelength") != -1) { metadata.put("Camera Data " + tokens[j].charAt(13), tokens[j]); j--; } else if (!tokens[j].trim().equals("")) { metadata.put(tokens[j], tokens[j+1]); } } } else { throw new FormatException("Valid header files not found."); } String details = (String) metadata.get("Experiment details:"); // parse details to get number of wavelengths and timepoints t = new StringTokenizer(details); int tokenNum = 0; String wavelengths = "1"; int numTokens = t.countTokens(); boolean foundId = false; String prevToken = ""; while (t.hasMoreTokens()) { String token = t.nextToken(); foundId = token.equals("Wavelengths"); if (foundId) { wavelengths = prevToken; } tokenNum++; prevToken = token; } channels = Integer.parseInt(wavelengths); sizeX[0] = Integer.parseInt((String) metadata.get("Image Width")); sizeY[0] = Integer.parseInt((String) metadata.get("Image Length")); sizeZ[0] = Integer.parseInt((String) metadata.get("Number of slices")); sizeC[0] = channels; sizeT[0] = getImageCount(currentId) / (sizeZ[0] * sizeC[0]); if (isTiff) pixelType[0] = tiff[0].getPixelType(files[0]); else { int bpp = openBytes(id, 0).length / (sizeX[0] * sizeY[0]); switch (bpp) { case 1: pixelType[0] = FormatReader.INT8; break; case 2: pixelType[0] = FormatReader.UINT16; break; case 3: pixelType[0] = FormatReader.INT8; break; case 4: pixelType[0] = FormatReader.INT32; break; } } currentOrder[0] = "XY"; if (sizeZ[0] <= 0) { sizeZ[0] = 1; sizeT[0] = getImageCount(currentId) / (sizeZ[0] * sizeC[0]); } if (sizeC[0] <= 0) { sizeC[0] = 1; sizeT[0] = getImageCount(currentId) / (sizeZ[0] * sizeC[0]); } if (sizeT[0] <= 0) sizeT[0] = 1; int[] sizes = {sizeZ[0], sizeC[0], sizeT[0]}; int largest = 0; int largestIndex = 0; int smallest = Integer.MAX_VALUE; int smallestIndex = 0; for (int i=0; i<sizes.length; i++) { if (sizes[i] > largest) { largest = sizes[i]; largestIndex = i; } else if (sizes[i] < smallest) { smallest = sizes[i]; smallestIndex = i; } } String[] names = {"Z", "C", "T"}; currentOrder[0] += names[largestIndex]; for (int i=0; i<names.length; i++) { if (i != largestIndex && i != smallestIndex) { currentOrder[0] += names[i]; break; } } currentOrder[0] += names[smallestIndex]; // Populate metadata store // The metadata store we're working with. MetadataStore store = getMetadataStore(id); // populate Dimensions element String pixelSizeX = (String) metadata.get("Pixel Size X"); String pixelSizeY = (String) metadata.get("Pixel Size Y"); store.setDimensions(new Float(pixelSizeX), new Float(pixelSizeY), null, null, null, null); // populate Image element String time = (String) metadata.get("Finish Time:"); time = time.substring(1).trim(); store.setImage(null, time, null, null); // populate Pixels element String x = (String) metadata.get("Image Width"); String y = (String) metadata.get("Image Length"); String z = (String) metadata.get("Number of slices"); store.setPixels( new Integer(x), // SizeX new Integer(y), // SizeY new Integer(z), // SizeZ new Integer(wavelengths), // SizeC new Integer(getSizeT(id)), // SizeT new Integer(pixelType[0]), // PixelType null, // BigEndian "XYCTZ", // DimensionOrder null); // Use index 0 // populate StageLabel element String originX = (String) metadata.get("Origin X"); String originY = (String) metadata.get("Origin Y"); String originZ = (String) metadata.get("Origin Z"); try { store.setStageLabel(null, new Float(originX), new Float(originY), new Float(originZ), null); } catch (Exception e) { } } | 55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/3dfd59718bd357815b599f69b2fb792dc8c85b62/PerkinElmerReader.java/clean/loci/formats/in/PerkinElmerReader.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,
2240,
18,
2738,
812,
12,
350,
1769,
565,
368,
336,
326,
5960,
1867,
565,
1387,
18286,
273,
394,
1387,
12,
350,
1769,
565,
1387,
5960,
1621,
273,
18286,
18,
588,
3054,
812,
5621,
565,
309,
261,
20478,
1621,
422,
446,
13,
5960,
1621,
273,
394,
1387,
2932,
1199,
1769,
565,
514,
5960,
20129,
273,
5960,
1621,
18,
588,
743,
1435,
397,
1387,
18,
11287,
31,
565,
514,
8526,
7180,
273,
5960,
1621,
18,
1098,
5621,
565,
368,
866,
309,
732,
1240,
1281,
434,
326,
1931,
1446,
585,
1953,
565,
509,
2776,
1616,
273,
300,
21,
31,
565,
509,
392,
83,
1616,
273,
300,
21,
31,
565,
509,
1950,
1616,
273,
300,
21,
31,
565,
509,
1658,
1616,
273,
300,
21,
31,
565,
509,
6101,
1616,
273,
300,
21,
31,
565,
509,
998,
1631,
1616,
273,
300,
21,
31,
565,
509,
14049,
81,
1616,
273,
300,
21,
31,
565,
509,
1390,
16484,
273,
374,
31,
565,
1390,
273,
394,
514,
63,
3251,
18,
2469,
15533,
565,
514,
1906,
4771,
273,
18286,
18,
17994,
5621,
565,
509,
3928,
273,
1906,
4771,
18,
2722,
31985,
2932,
1199,
1769,
565,
514,
866,
273,
3928,
411,
374,
692,
1906,
4771,
294,
1906,
4771,
18,
28023,
12,
20,
16,
3928,
1769,
565,
368,
10627,
5505,
263,
8584,
16,
263,
6715,
16,
263,
94,
1631,
16,
263,
31180,
471,
263,
26922,
1390,
565,
514,
1633,
273,
446,
31,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
368,
336,
326,
5960,
1867,
565,
1387,
18286,
273,
394,
1387,
12,
350,
1769,
565,
1387,
5960,
1621,
273,
18286,
18,
588,
3054,
812,
5621,
565,
309,
261,
20478,
1621,
422,
446,
13,
5960,
1621,
273,
394,
1387,
2932,
1199,
1769,
565,
514,
5960,
20129,
273,
5960,
1621,
18,
588,
743,
1435,
397,
1387,
18,
11287,
31,
565,
514,
8526,
7180,
273,
5960,
1621,
18,
1098,
5621,
565,
368,
866,
309,
732,
1240,
1281,
434,
326,
1931,
1446,
585,
1953,
565,
509,
2776,
1616,
273,
300,
21,
31,
565,
509,
392,
83,
1616,
273,
300,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.