rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
listlengths 256
256
| attention_mask
listlengths 256
256
| labels
listlengths 128
128
|
|---|---|---|---|---|---|---|
private void createTitleGroup(Composite composite) { if(scontainer != null) return; Group group = new Group(composite, SWT.NONE); group.setText(TITLE_QUERY_TITLE); GridLayout layout = new GridLayout(); layout.numColumns = 1;
|
private void createTitleGroup(Composite parent) { Composite group = new Composite(parent, SWT.NONE); GridLayout layout = new GridLayout(2, false);
|
private void createTitleGroup(Composite composite) { if(scontainer != null) return; Group group = new Group(composite, SWT.NONE); group.setText(TITLE_QUERY_TITLE); GridLayout layout = new GridLayout(); layout.numColumns = 1; group.setLayout(layout); GridData gd = new GridData(GridData.FILL_HORIZONTAL); gd.horizontalSpan = 1; group.setLayoutData(gd); title = new Text(group, SWT.BORDER); gd = new GridData(GridData.FILL_HORIZONTAL | GridData.GRAB_HORIZONTAL); title.setLayoutData(gd); title.setText(titleString); title.addKeyListener(new KeyListener() { public void keyPressed(KeyEvent e) { // ignore } public void keyReleased(KeyEvent e) { setPageComplete(canFlipToNextPage()); } }); }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/2335a4647648640aec5f44de66b2c21c53e4a74f/AbstractRepositoryQueryPage.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/search/AbstractRepositoryQueryPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
4247,
1114,
12,
9400,
9635,
13,
288,
202,
202,
430,
12,
87,
3782,
480,
446,
13,
327,
31,
202,
202,
1114,
1041,
273,
394,
3756,
12,
27676,
16,
348,
8588,
18,
9826,
1769,
202,
202,
1655,
18,
542,
1528,
12,
14123,
67,
10753,
67,
14123,
1769,
202,
202,
6313,
3744,
3511,
273,
394,
7145,
3744,
5621,
202,
202,
6741,
18,
2107,
3380,
273,
404,
31,
202,
202,
1655,
18,
542,
3744,
12,
6741,
1769,
202,
202,
6313,
751,
15551,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
1769,
202,
202,
19016,
18,
18396,
6952,
273,
404,
31,
202,
202,
1655,
18,
542,
3744,
751,
12,
19016,
1769,
202,
202,
2649,
273,
394,
3867,
12,
1655,
16,
348,
8588,
18,
38,
7954,
1769,
202,
202,
19016,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
571,
7145,
751,
18,
6997,
2090,
67,
44,
20344,
1769,
202,
202,
2649,
18,
542,
3744,
751,
12,
19016,
1769,
202,
202,
2649,
18,
542,
1528,
12,
2649,
780,
1769,
202,
202,
2649,
18,
1289,
653,
2223,
12,
2704,
1929,
2223,
1435,
288,
1082,
202,
482,
918,
498,
24624,
12,
653,
1133,
425,
13,
288,
9506,
202,
759,
2305,
1082,
202,
97,
1082,
202,
482,
918,
498,
26363,
12,
653,
1133,
425,
13,
288,
9506,
202,
542,
1964,
6322,
12,
4169,
28535,
774,
21563,
10663,
1082,
202,
97,
202,
202,
22938,
202,
97,
2,
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,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
4247,
1114,
12,
9400,
9635,
13,
288,
202,
202,
430,
12,
87,
3782,
480,
446,
13,
327,
31,
202,
202,
1114,
1041,
273,
394,
3756,
12,
27676,
16,
348,
8588,
18,
9826,
1769,
202,
202,
1655,
18,
542,
1528,
12,
14123,
67,
10753,
67,
14123,
1769,
202,
202,
6313,
3744,
3511,
273,
394,
7145,
3744,
5621,
202,
202,
6741,
18,
2107,
3380,
273,
404,
31,
202,
202,
1655,
18,
542,
3744,
12,
6741,
1769,
202,
202,
6313,
751,
15551,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
1769,
202,
202,
19016,
18,
18396,
6952,
273,
404,
31,
202,
202,
1655,
18,
542,
3744,
751,
12,
19016,
1769,
202,
202,
2649,
2
] |
return ImageTools.makeImage(data, width, height, 4, false);
|
return ImageTools.makeImage(data, width, height);
|
public BufferedImage openBytes(byte[] pix) throws FormatException { // handles case when we call this method directly, instead of // through initFile(String) if (DEBUG) System.out.println("PictReader.openBytes"); strips = new Vector(); state = 0; pictState = INITIAL; bytes = pix; pt = 0; try { while (driveDecoder()); } catch (Exception e) { e.printStackTrace(); return ImageTools.makeBuffered(qtReader.pictToImage(pix)); } // combine everything in the strips Vector if ((height*4 < strips.size()) && (((strips.size() / 3) % height) != 0)) { height = strips.size(); } if (strips.size() == 0) { return ImageTools.makeBuffered(qtReader.pictToImage(pix)); } if (lookup != null) { // 8 bit data short[][] data = new short[3][height * width]; byte[] row; for (int i=0; i<height; i++) { row = (byte[]) strips.get(i); for (int j=0; j<row.length; j++) { if (j < width) { int ndx = row[j]; if (ndx < 0) ndx += lookup[0].length; ndx = ndx % lookup[0].length; int outIndex = i*width + j; if (outIndex >= data[0].length) outIndex = data[0].length - 1; data[0][outIndex] = lookup[0][ndx]; data[1][outIndex] = lookup[1][ndx]; data[2][outIndex] = lookup[2][ndx]; } else j = row.length; } } if (DEBUG) { System.out.println("PictReader.openBytes: 8-bit data, " + width + " x " + height + ", length=" + data.length + "x" + data[0].length); } return ImageTools.makeImage(data, width, height); } else if (height*3 == strips.size()) { // 24 bit data byte[][] data = new byte[3][width * height]; int outIndex = 0; for (int i=0; i<3*height; i+=3) { byte[] c0 = (byte[]) strips.get(i); byte[] c1 = (byte[]) strips.get(i+1); byte[] c2 = (byte[]) strips.get(i+2); System.arraycopy(c0, 0, data[0], outIndex, c0.length); System.arraycopy(c1, 0, data[1], outIndex, c1.length); System.arraycopy(c2, 0, data[2], outIndex, c2.length); outIndex += c0.length; } if (DEBUG) { System.out.println("PictReader.openBytes: 24-bit data, " + width + " x " + height + ", length=" + data.length + "x" + data[0].length); } return ImageTools.makeImage(data, width, height); } else if (height*4 == strips.size()) { // 32 bit data // could be broken, since we don't have any data for this case byte[] data = new byte[4 * height * width]; byte[] channel1; int outIndex = 0; int rowNum = 0; for (int i=0; i<4*height; i+=4, rowNum++) { channel1 = (byte[]) strips.get(i); for (int j=0; j<channel1.length; j++, outIndex++) { if (j < 2*width) { if (outIndex >= data.length) outIndex = data.length - 1; data[outIndex] = channel1[j]; data[outIndex+1] = channel1[j]; data[outIndex+2] = channel1[j]; data[outIndex+3] = channel1[j]; } else j = channel1.length; } } if (DEBUG) { System.out.println("PictReader.openBytes: 32-bit data, " + width + " x " + height + ", length=" + data.length); } return ImageTools.makeImage(data, width, height, 4, false); } else { // 16 bit data short[] data = new short[3 * height * width]; int outIndex = 0; for (int i=0; i<height; i++) { int[] row = (int[]) strips.get(i); for (int j=0; j<row.length; j++, outIndex+=3) { if (j < width) { if (outIndex >= data.length) outIndex = data.length - 1; int s0 = (row[j] & 0x1f); int s1 = (row[j] & 0x3e0); // 0x1f << 5; int s2 = (row[j] & 0x7c00); // 0x1f << 10; data[outIndex] = (short) (s2 >> 10); data[outIndex+1] = (short) (s1 >> 5); data[outIndex+2] = (short) s0; } else j = row.length; } } if (DEBUG) { System.out.println("PictReader.openBytes: 16-bit data, " + width + " x " + height + ", length=" + data.length); } return ImageTools.makeImage(data, width, height, 3, true); } }
|
55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/4cf4a7ff76a166988d770aa51d298fa2f84c9e2c/PictReader.java/buggy/loci/formats/PictReader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
12362,
1696,
2160,
12,
7229,
8526,
11871,
13,
1216,
4077,
503,
288,
565,
368,
7372,
648,
1347,
732,
745,
333,
707,
5122,
16,
3560,
434,
565,
368,
3059,
1208,
812,
12,
780,
13,
565,
309,
261,
9394,
13,
2332,
18,
659,
18,
8222,
2932,
52,
933,
2514,
18,
3190,
2160,
8863,
565,
2569,
87,
273,
394,
5589,
5621,
565,
919,
273,
374,
31,
565,
293,
933,
1119,
273,
28226,
31,
565,
1731,
273,
11871,
31,
565,
5818,
273,
374,
31,
565,
775,
288,
1377,
1323,
261,
25431,
7975,
10663,
565,
289,
565,
1044,
261,
503,
425,
13,
288,
1377,
425,
18,
1188,
6332,
5621,
1377,
327,
3421,
10348,
18,
6540,
17947,
12,
23311,
2514,
18,
84,
933,
774,
2040,
12,
14861,
10019,
565,
289,
565,
368,
8661,
7756,
316,
326,
2569,
87,
5589,
565,
309,
14015,
4210,
14,
24,
411,
2569,
87,
18,
1467,
10756,
597,
261,
12443,
6406,
87,
18,
1467,
1435,
342,
890,
13,
738,
2072,
13,
480,
374,
3719,
288,
1377,
2072,
273,
2569,
87,
18,
1467,
5621,
565,
289,
565,
309,
261,
6406,
87,
18,
1467,
1435,
422,
374,
13,
288,
1377,
327,
3421,
10348,
18,
6540,
17947,
12,
23311,
2514,
18,
84,
933,
774,
2040,
12,
14861,
10019,
565,
289,
565,
309,
261,
8664,
480,
446,
13,
288,
1377,
368,
1725,
2831,
501,
1377,
3025,
63,
6362,
65,
501,
273,
394,
3025,
63,
23,
6362,
4210,
380,
1835,
15533,
1377,
1160,
8526,
1027,
31,
1377,
364,
261,
474,
277,
33,
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,
12362,
1696,
2160,
12,
7229,
8526,
11871,
13,
1216,
4077,
503,
288,
565,
368,
7372,
648,
1347,
732,
745,
333,
707,
5122,
16,
3560,
434,
565,
368,
3059,
1208,
812,
12,
780,
13,
565,
309,
261,
9394,
13,
2332,
18,
659,
18,
8222,
2932,
52,
933,
2514,
18,
3190,
2160,
8863,
565,
2569,
87,
273,
394,
5589,
5621,
565,
919,
273,
374,
31,
565,
293,
933,
1119,
273,
28226,
31,
565,
1731,
273,
11871,
31,
565,
5818,
273,
374,
31,
565,
775,
288,
1377,
1323,
261,
25431,
7975,
10663,
565,
289,
565,
1044,
261,
503,
425,
13,
288,
1377,
425,
18,
1188,
6332,
5621,
1377,
327,
3421,
10348,
18,
6540,
17947,
12,
23311,
2514,
18,
84,
933,
2
] |
String sInsert = "UPDATE UP_SEQUENCE SET SEQUENCE_VALUE=" + nextId + " WHERE SEQUENCE_NAME='" + counterName + "'" +
|
String sUpdate = "UPDATE UP_SEQUENCE SET SEQUENCE_VALUE=" + nextId + " WHERE SEQUENCE_NAME='" + counterName + "'" +
|
public synchronized int getIncrementIntegerId (String counterName) throws Exception { Connection con = RDBMServices.getConnection(); try { RDBMServices.setAutoCommit(con, false); Statement stmt = con.createStatement(); try { String sQuery = "SELECT SEQUENCE_VALUE FROM UP_SEQUENCE WHERE SEQUENCE_NAME='" + counterName + "'"; for (int i = 0; i < 25; i++) { try { LogService.log(LogService.DEBUG, "RDBMCounterStore::getIncrementInteger(): " + sQuery); ResultSet rs = stmt.executeQuery(sQuery); int origId; int nextId; try { rs.next(); origId = rs.getInt(1); nextId = origId + 1; } catch (SQLException e) { // If the query fails, there is no hope in h**l throw new Exception("RDBMCounterStore::getIncrementInteger():" + e); } finally { rs.close(); } String sInsert = "UPDATE UP_SEQUENCE SET SEQUENCE_VALUE=" + nextId + " WHERE SEQUENCE_NAME='" + counterName + "'" + " AND SEQUENCE_VALUE=" + origId; LogService.log(LogService.DEBUG, "RDBMCounterStore::getIncrementInteger(): " + sInsert); stmt.executeUpdate(sInsert); RDBMServices.commit(con); return nextId; } catch (SQLException e) { RDBMServices.rollback(con); /** * Assume a concurrent update. Try again after some random amount of milliseconds. */ Thread.sleep(java.lang.Math.round(java.lang.Math.random()* 3 * 1000)); // Retry in up to 3 seconds } } } finally { stmt.close(); } } catch (Exception e) { LogService.log(LogService.ERROR, e); } finally { RDBMServices.releaseConnection(con); } throw new Exception("Unable to increment counter for " + counterName); }
|
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/de64608b3695fad076dc59810bf467d7f914aba7/RDBMCounterStore.java/clean/source/org/jasig/portal/utils/RDBMCounterStore.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
509,
7854,
3702,
4522,
548,
261,
780,
3895,
461,
13,
1216,
1185,
288,
3639,
4050,
356,
273,
534,
2290,
49,
5676,
18,
588,
1952,
5621,
3639,
775,
288,
5411,
534,
2290,
49,
5676,
18,
542,
4965,
5580,
12,
591,
16,
629,
1769,
5411,
8056,
3480,
273,
356,
18,
2640,
3406,
5621,
5411,
775,
288,
7734,
514,
26656,
273,
315,
4803,
27118,
67,
4051,
4571,
7376,
67,
25330,
4852,
27118,
67,
1985,
13396,
397,
3895,
461,
397,
5862,
31,
7734,
364,
261,
474,
277,
273,
374,
31,
277,
411,
6969,
31,
277,
27245,
288,
10792,
775,
288,
13491,
1827,
1179,
18,
1330,
12,
1343,
1179,
18,
9394,
16,
315,
54,
2290,
49,
4789,
2257,
2866,
588,
10798,
4522,
13332,
315,
397,
26656,
1769,
13491,
10842,
3597,
273,
3480,
18,
8837,
1138,
12,
87,
1138,
1769,
13491,
509,
1647,
548,
31,
13491,
509,
1024,
548,
31,
13491,
775,
288,
18701,
3597,
18,
4285,
5621,
18701,
1647,
548,
273,
3597,
18,
588,
1702,
12,
21,
1769,
18701,
1024,
548,
273,
1647,
548,
397,
404,
31,
13491,
289,
1044,
261,
23116,
425,
13,
288,
368,
971,
326,
843,
6684,
16,
1915,
353,
1158,
27370,
316,
366,
636,
80,
18701,
604,
394,
1185,
2932,
54,
2290,
49,
4789,
2257,
2866,
588,
10798,
4522,
1435,
2773,
397,
425,
1769,
13491,
289,
3095,
288,
18701,
3597,
18,
4412,
5621,
13491,
289,
13491,
514,
272,
1891,
273,
315,
8217,
7376,
67,
25330,
7855,
27118,
67,
4051,
1546,
397,
1024,
548,
397,
315,
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,
3852,
509,
7854,
3702,
4522,
548,
261,
780,
3895,
461,
13,
1216,
1185,
288,
3639,
4050,
356,
273,
534,
2290,
49,
5676,
18,
588,
1952,
5621,
3639,
775,
288,
5411,
534,
2290,
49,
5676,
18,
542,
4965,
5580,
12,
591,
16,
629,
1769,
5411,
8056,
3480,
273,
356,
18,
2640,
3406,
5621,
5411,
775,
288,
7734,
514,
26656,
273,
315,
4803,
27118,
67,
4051,
4571,
7376,
67,
25330,
4852,
27118,
67,
1985,
13396,
397,
3895,
461,
397,
5862,
31,
7734,
364,
261,
474,
277,
273,
374,
31,
277,
411,
6969,
31,
277,
27245,
288,
10792,
775,
288,
13491,
1827,
1179,
18,
1330,
12,
1343,
1179,
18,
9394,
16,
315,
54,
2290,
49,
4789,
2257,
2866,
588,
10798,
2
] |
return dataSet.getJSRowObject();
|
if ( ModeManager.isOldMode( ) ) return dataSet.getJSRowObject( ); else return dataSet.getJSResultRowObject( );
|
public Scriptable getRow() { return dataSet.getJSRowObject(); }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/83c61e18ec014b0a0d7683b4196d0a84fb37ac77/JSDataSetImpl.java/buggy/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/JSDataSetImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
22780,
11835,
1435,
202,
95,
202,
202,
2463,
14837,
18,
588,
6479,
1999,
921,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
22780,
11835,
1435,
202,
95,
202,
202,
2463,
14837,
18,
588,
6479,
1999,
921,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
{ return new String("PostgreSQL"); }
|
{ return new String("PostgreSQL"); }
|
public String getDatabaseProductName() throws SQLException { return new String("PostgreSQL"); }
|
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/0c8299478c05542a0f240973829223c7dae7e4dd/DatabaseMetaData.java/buggy/postgresql/DatabaseMetaData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
11263,
4133,
461,
1435,
1216,
6483,
202,
95,
202,
202,
2463,
394,
514,
2932,
3349,
23896,
8863,
202,
97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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
11263,
4133,
461,
1435,
1216,
6483,
202,
95,
202,
202,
2463,
394,
514,
2932,
3349,
23896,
8863,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void mouseDragged(MouseEvent event) { }
|
public void mouseDragged(MouseEvent event) { }
|
public void mouseDragged(MouseEvent event) { } // mouseDragged()
|
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/edff572fc942f9bf32cad3d48acec15b77e484a7/MouseInputAdapter.java/buggy/libraries/javalib/javax/swing/event/MouseInputAdapter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
7644,
11728,
2423,
12,
9186,
1133,
871,
13,
288,
202,
97,
368,
7644,
11728,
2423,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
7644,
11728,
2423,
12,
9186,
1133,
871,
13,
288,
202,
97,
368,
7644,
11728,
2423,
1435,
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
] |
insideNegativeLookahead = true;
|
state.push(NEG);
|
public static String globToRE(String glob) { StringBuffer buf = new StringBuffer(); boolean backslash = false; int insideGroup = 0; boolean insideNegativeLookahead = false; for(int i = 0; i < glob.length(); i++) { char c = glob.charAt(i); if(backslash) { buf.append('\\'); buf.append(c); backslash = false; continue; } switch(c) { case '\\': backslash = true; break; case '?': buf.append('.'); break; case '.': buf.append("\\."); break; case '*': buf.append(".*"); break; case '{': buf.append('('); if(i + 1 != glob.length() && glob.charAt(i + 1) == '!') { buf.append('?'); insideNegativeLookahead = true; } else insideGroup++; break; case ',': if(insideGroup != 0) { if(insideNegativeLookahead) { buf.append(").*"); insideNegativeLookahead = false; } buf.append('|'); } else buf.append(','); break; case '}': if(insideNegativeLookahead) { buf.append(").*"); insideNegativeLookahead = false; } else if(insideGroup != 0) { buf.append(')'); insideGroup--; } else buf.append('}'); break; default: buf.append(c); } } return buf.toString(); } //}}}
|
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/6685ffd5ef21236d4403a343b86cc48ccbfe9ba7/MiscUtilities.java/buggy/org/gjt/sp/jedit/MiscUtilities.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
4715,
774,
862,
12,
780,
4715,
13,
202,
95,
202,
202,
780,
1892,
1681,
273,
394,
6674,
5621,
202,
202,
6494,
23253,
273,
629,
31,
202,
202,
474,
4832,
1114,
273,
374,
31,
202,
202,
6494,
4832,
14959,
9794,
11617,
273,
629,
31,
202,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
411,
4715,
18,
2469,
5621,
277,
27245,
202,
202,
95,
1082,
202,
3001,
276,
273,
4715,
18,
3001,
861,
12,
77,
1769,
1082,
202,
430,
12,
823,
12877,
13,
1082,
202,
95,
9506,
202,
4385,
18,
6923,
2668,
1695,
8284,
9506,
202,
4385,
18,
6923,
12,
71,
1769,
9506,
202,
823,
12877,
273,
629,
31,
9506,
202,
17143,
31,
1082,
202,
97,
1082,
202,
9610,
12,
71,
13,
1082,
202,
95,
1082,
202,
3593,
3718,
4278,
9506,
202,
823,
12877,
273,
638,
31,
9506,
202,
8820,
31,
1082,
202,
3593,
13023,
4278,
9506,
202,
4385,
18,
6923,
2668,
1093,
1769,
9506,
202,
8820,
31,
1082,
202,
3593,
2611,
30,
9506,
202,
4385,
18,
6923,
2932,
1695,
1199,
1769,
9506,
202,
8820,
31,
1082,
202,
3593,
5306,
30,
9506,
202,
4385,
18,
6923,
2932,
4509,
8863,
9506,
202,
8820,
31,
1082,
202,
3593,
2292,
4278,
9506,
202,
4385,
18,
6923,
2668,
2668,
1769,
9506,
202,
430,
12,
77,
397,
404,
480,
4715,
18,
2469,
1435,
597,
4715,
18,
3001,
861,
12,
77,
397,
404,
13,
422,
15502,
13,
9506,
202,
95,
6862,
202,
4385,
18,
6923,
2668,
4899,
1769,
6862,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
4715,
774,
862,
12,
780,
4715,
13,
202,
95,
202,
202,
780,
1892,
1681,
273,
394,
6674,
5621,
202,
202,
6494,
23253,
273,
629,
31,
202,
202,
474,
4832,
1114,
273,
374,
31,
202,
202,
6494,
4832,
14959,
9794,
11617,
273,
629,
31,
202,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
411,
4715,
18,
2469,
5621,
277,
27245,
202,
202,
95,
1082,
202,
3001,
276,
273,
4715,
18,
3001,
861,
12,
77,
1769,
1082,
202,
430,
12,
823,
12877,
13,
1082,
202,
95,
9506,
202,
4385,
18,
6923,
2668,
1695,
8284,
9506,
202,
4385,
18,
6923,
12,
71,
1769,
9506,
202,
823,
12877,
273,
629,
31,
9506,
202,
17143,
31,
1082,
202,
2
] |
if(running)
|
if (running)
|
synchronized public void setStatus(boolean running) { if(running) status = RUNNING; else status = WAITING; }
|
52783 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52783/76de0d07321daa7be9b0aac6d02de2ff018b5f0e/SchedulerProcessor.java/clean/src/java/org/orbeon/oxf/processor/SchedulerProcessor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3852,
1071,
918,
9433,
12,
6494,
3549,
13,
288,
5411,
309,
261,
8704,
13,
7734,
1267,
273,
23574,
31,
5411,
469,
7734,
1267,
273,
26859,
1360,
31,
3639,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3852,
1071,
918,
9433,
12,
6494,
3549,
13,
288,
5411,
309,
261,
8704,
13,
7734,
1267,
273,
23574,
31,
5411,
469,
7734,
1267,
273,
26859,
1360,
31,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
fTrimBuilder.build(layout);
|
fTrimBuilder.build(layout, hideTopTrim);
|
public void update(boolean force, boolean recursive) { if (force || isDirty()) { // Re-render the trim based on the new layout SMenuLayout layout = fMenuService.getLayout(); fTrimBuilder.build(layout); setDirty(false); } }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/46007bfb42897ea7a1d591f41f3fadf2e8109e38/TrimBarManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/TrimBarManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1089,
12,
6494,
2944,
16,
1250,
5904,
13,
288,
202,
202,
430,
261,
5734,
747,
25206,
10756,
288,
1082,
202,
759,
868,
17,
5902,
326,
2209,
2511,
603,
326,
394,
3511,
1082,
202,
55,
4599,
3744,
3511,
273,
284,
4599,
1179,
18,
588,
3744,
5621,
1082,
202,
74,
14795,
1263,
18,
3510,
12,
6741,
1769,
1082,
202,
542,
10785,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1089,
12,
6494,
2944,
16,
1250,
5904,
13,
288,
202,
202,
430,
261,
5734,
747,
25206,
10756,
288,
1082,
202,
759,
868,
17,
5902,
326,
2209,
2511,
603,
326,
394,
3511,
1082,
202,
55,
4599,
3744,
3511,
273,
284,
4599,
1179,
18,
588,
3744,
5621,
1082,
202,
74,
14795,
1263,
18,
3510,
12,
6741,
1769,
1082,
202,
542,
10785,
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
] |
owner.display_warning("Error occurred retrieving indicator list.");
|
owner.display_warning(INDICATOR_LIST_RETRIEVAL_FAILURE_ERROR);
|
private void rebuild_indicators_if_needed() { assert data_requester != null: PRECONDITION; if (tradable_specification.all_indicator_specifications().size() == 0 || new_indicators) { new_indicators = false; Vector inds_from_server = data_requester.indicator_list_result(); if (previous_open_interest != data_builder.has_open_interest() || ! Utilities.lists_match(inds_from_server, old_indicators_from_server)) { // The old indicators are not the same as the indicators // just obtained from the server (or there are not yet // any old indicators), so the indicator lists need to // be rebuilt. old_indicators_from_server = inds_from_server; make_indicator_lists(inds_from_server); } previous_open_interest = data_builder.has_open_interest(); } if (data_builder.connection().error_occurred()) { owner.display_warning("Error occurred retrieving indicator list."); } }
|
13245 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13245/e6631591bb4b0ebd52b9e6a310cc2c5961de704c/ChartDataManager.java/buggy/src/clients/mas_gui/ChartDataManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
13419,
67,
728,
24994,
67,
430,
67,
17471,
1435,
288,
202,
202,
11231,
501,
67,
26192,
480,
446,
30,
7071,
22017,
31,
202,
202,
430,
261,
313,
361,
429,
67,
31543,
18,
454,
67,
18741,
67,
2793,
6640,
7675,
1467,
1435,
422,
374,
9506,
202,
20081,
394,
67,
728,
24994,
13,
288,
1082,
202,
2704,
67,
728,
24994,
273,
629,
31,
1082,
202,
5018,
19173,
67,
2080,
67,
3567,
273,
501,
67,
26192,
18,
18741,
67,
1098,
67,
2088,
5621,
1082,
202,
430,
261,
11515,
67,
3190,
67,
2761,
395,
480,
501,
67,
9574,
18,
5332,
67,
3190,
67,
2761,
395,
1435,
747,
6862,
202,
5,
26703,
18,
9772,
67,
1916,
12,
15882,
67,
2080,
67,
3567,
16,
6862,
202,
1673,
67,
728,
24994,
67,
2080,
67,
3567,
3719,
288,
9506,
202,
759,
1021,
1592,
27121,
854,
486,
326,
1967,
487,
326,
27121,
9506,
202,
759,
2537,
12700,
628,
326,
1438,
261,
280,
1915,
854,
486,
4671,
9506,
202,
759,
1281,
1592,
27121,
3631,
1427,
326,
10664,
6035,
1608,
358,
9506,
202,
759,
506,
283,
12406,
18,
9506,
202,
1673,
67,
728,
24994,
67,
2080,
67,
3567,
273,
19173,
67,
2080,
67,
3567,
31,
9506,
202,
6540,
67,
18741,
67,
9772,
12,
15882,
67,
2080,
67,
3567,
1769,
1082,
202,
97,
1082,
202,
11515,
67,
3190,
67,
2761,
395,
273,
501,
67,
9574,
18,
5332,
67,
3190,
67,
2761,
395,
5621,
202,
202,
97,
202,
202,
430,
261,
892,
67,
9574,
18,
4071,
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,
13419,
67,
728,
24994,
67,
430,
67,
17471,
1435,
288,
202,
202,
11231,
501,
67,
26192,
480,
446,
30,
7071,
22017,
31,
202,
202,
430,
261,
313,
361,
429,
67,
31543,
18,
454,
67,
18741,
67,
2793,
6640,
7675,
1467,
1435,
422,
374,
9506,
202,
20081,
394,
67,
728,
24994,
13,
288,
1082,
202,
2704,
67,
728,
24994,
273,
629,
31,
1082,
202,
5018,
19173,
67,
2080,
67,
3567,
273,
501,
67,
26192,
18,
18741,
67,
1098,
67,
2088,
5621,
1082,
202,
430,
261,
11515,
67,
3190,
67,
2761,
395,
480,
501,
67,
9574,
18,
5332,
67,
3190,
67,
2761,
395,
1435,
747,
6862,
202,
5,
26703,
18,
9772,
67,
1916,
12,
15882,
67,
2080,
2
] |
new StructMember("value", new primitiveTypeCode(TCKind.tk_any), null);
|
new StructMember("value", new PrimitiveTypeCode(TCKind.tk_any), null);
|
public static TypeCode type() { if (typeCode == null) { StructMember[] members = new StructMember[ 2 ]; TypeCode t_id = new aliasTypeCode(new stringTypeCode(TCKind.tk_string), "", "id"); members [ 0 ] = new StructMember("id", t_id, null); members [ 1 ] = new StructMember("value", new primitiveTypeCode(TCKind.tk_any), null); typeCode = ORB.init().create_struct_tc(id(), "NameValuePair", members); } return typeCode; }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e9344cb85925e12da0e0cccb4ba0521d8696a226/NameValuePairHelper.java/buggy/core/src/classpath/org/org/omg/CORBA/NameValuePairHelper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
30332,
618,
1435,
225,
288,
565,
309,
261,
723,
1085,
422,
446,
13,
1377,
288,
3639,
7362,
4419,
8526,
4833,
273,
394,
7362,
4419,
63,
576,
308,
31,
3639,
30332,
268,
67,
350,
273,
1850,
394,
2308,
15460,
12,
2704,
533,
15460,
12,
56,
3507,
728,
18,
16099,
67,
1080,
3631,
23453,
315,
350,
8863,
3639,
4833,
306,
374,
308,
273,
394,
7362,
4419,
2932,
350,
3113,
268,
67,
350,
16,
446,
1769,
3639,
4833,
306,
404,
308,
273,
1850,
394,
7362,
4419,
2932,
1132,
3113,
394,
14488,
15460,
12,
56,
3507,
728,
18,
16099,
67,
2273,
3631,
446,
1769,
3639,
618,
1085,
273,
4869,
38,
18,
2738,
7675,
2640,
67,
1697,
67,
5111,
12,
350,
9334,
315,
461,
20337,
3113,
4833,
1769,
1377,
289,
565,
327,
618,
1085,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
30332,
618,
1435,
225,
288,
565,
309,
261,
723,
1085,
422,
446,
13,
1377,
288,
3639,
7362,
4419,
8526,
4833,
273,
394,
7362,
4419,
63,
576,
308,
31,
3639,
30332,
268,
67,
350,
273,
1850,
394,
2308,
15460,
12,
2704,
533,
15460,
12,
56,
3507,
728,
18,
16099,
67,
1080,
3631,
23453,
315,
350,
8863,
3639,
4833,
306,
374,
308,
273,
394,
7362,
4419,
2932,
350,
3113,
268,
67,
350,
16,
446,
1769,
3639,
4833,
306,
404,
308,
273,
1850,
394,
7362,
4419,
2932,
1132,
3113,
394,
14488,
15460,
12,
56,
3507,
728,
18,
16099,
67,
2273,
3631,
446,
1769,
3639,
618,
1085,
273,
4869,
38,
18,
2738,
7675,
2640,
67,
1697,
67,
5111,
12,
350,
2
] |
public void clearLiveAcrossCall() { itsLiveAcrossCall = false; }
|
void clearLiveAcrossCall() { itsLiveAcrossCall = false; }
|
public void clearLiveAcrossCall() { itsLiveAcrossCall = false; }
|
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/e497d2b898e781a5052344191ab878cd469f3f53/OptLocalVariable.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/OptLocalVariable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2424,
12328,
9988,
3984,
1477,
1435,
565,
288,
2097,
12328,
9988,
3984,
1477,
273,
629,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2424,
12328,
9988,
3984,
1477,
1435,
565,
288,
2097,
12328,
9988,
3984,
1477,
273,
629,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (!Character.isJavaIdentifierPart(c))
|
if (!Character.isJavaIdentifierPart(c) && (c != '-'))
|
public static boolean isJavaClassNameInternalForm( char val[], int first, int last) { if (val[first++] != ClassTypeCode) // the L return false; if (val[last--] != ';') // malformed("a class ('L') must end in a ';'"); return false; boolean identStart = true; // pretend we just saw a separator for (int i = first; i <= last; ++i) { char c = val[i]; if (identStart) { if (! Character.isJavaIdentifierStart(c)) return false; // failure to match identifier start. identStart = false; // on to the next one. continue; } if (c == '/') { identStart = true; continue; } /* We have a character that is not the first one of a Java identifier */ if (!Character.isJavaIdentifierPart(c)) return false; /* And on we go around the loop */ } // Must not finish by needing the start of another identifier. return ! identStart; }
|
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/ec910ebd96b04eb3025068399cfd2fd4ad5a8468/VM_TypeDescriptorParsing.java/clean/rvm/src/vm/classLoader/VM_TypeDescriptorParsing.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1250,
353,
5852,
3834,
3061,
1204,
12,
7734,
1149,
1244,
63,
6487,
509,
1122,
16,
509,
1142,
13,
282,
288,
565,
309,
261,
1125,
63,
3645,
9904,
65,
480,
1659,
15460,
13,
368,
326,
511,
1377,
327,
629,
31,
565,
309,
261,
1125,
63,
2722,
413,
65,
480,
7554,
13,
1377,
368,
17458,
2932,
69,
667,
7707,
48,
6134,
1297,
679,
316,
279,
7554,
8863,
1377,
327,
629,
31,
565,
1250,
3390,
1685,
273,
638,
31,
225,
368,
675,
17445,
732,
2537,
19821,
279,
4182,
565,
364,
261,
474,
277,
273,
1122,
31,
277,
1648,
1142,
31,
965,
77,
13,
288,
1377,
1149,
276,
273,
1244,
63,
77,
15533,
1377,
309,
261,
6392,
1685,
13,
288,
3639,
309,
16051,
6577,
18,
291,
5852,
3004,
1685,
12,
71,
3719,
1850,
327,
629,
31,
540,
368,
5166,
358,
845,
2756,
787,
18,
3639,
3390,
1685,
273,
629,
31,
377,
368,
603,
358,
326,
1024,
1245,
18,
3639,
1324,
31,
1377,
289,
1377,
309,
261,
71,
422,
2023,
13,
288,
3639,
3390,
1685,
273,
638,
31,
3639,
1324,
31,
1377,
289,
1377,
1748,
1660,
1240,
279,
3351,
716,
353,
486,
326,
1122,
1245,
434,
279,
5110,
2756,
1195,
1377,
309,
16051,
7069,
18,
291,
5852,
3004,
1988,
12,
71,
13,
597,
261,
71,
480,
4014,
3719,
3639,
327,
629,
31,
1377,
1748,
7835,
603,
732,
1960,
6740,
326,
2798,
1195,
565,
289,
565,
368,
6753,
486,
4076,
635,
1608,
310,
326,
787,
434,
4042,
2756,
18,
565,
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,
1250,
353,
5852,
3834,
3061,
1204,
12,
7734,
1149,
1244,
63,
6487,
509,
1122,
16,
509,
1142,
13,
282,
288,
565,
309,
261,
1125,
63,
3645,
9904,
65,
480,
1659,
15460,
13,
368,
326,
511,
1377,
327,
629,
31,
565,
309,
261,
1125,
63,
2722,
413,
65,
480,
7554,
13,
1377,
368,
17458,
2932,
69,
667,
7707,
48,
6134,
1297,
679,
316,
279,
7554,
8863,
1377,
327,
629,
31,
565,
1250,
3390,
1685,
273,
638,
31,
225,
368,
675,
17445,
732,
2537,
19821,
279,
4182,
565,
364,
261,
474,
277,
273,
1122,
31,
277,
1648,
1142,
31,
965,
77,
13,
288,
1377,
1149,
276,
273,
1244,
63,
77,
15533,
1377,
309,
261,
6392,
1685,
13,
288,
2
] |
" [--help] | pathtospells2da\n"+
|
" [--help] | [-f replacestart] pathtospells2da\n"+
|
private static void readMe(){ System.out.println("Usage:\n"+ " [--help] | pathtospells2da\n"+ "\n" + " pathtospells2da path of the spells.2da to check\n"+ "\n" + " --help prints this text\n" + "\n" + "\n" + "Looks for duplicate subradial IDs in the FeatID column of the given\n" + "spells.2da\n" ); System.exit(0); }
|
9794 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9794/01c25f39a8c2e199ed8fa0e3bdd47b0ad552f4b7/DuplicateSubradials.java/clean/DocGen/prc/utils/DuplicateSubradials.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
855,
4667,
1435,
95,
202,
202,
3163,
18,
659,
18,
8222,
2932,
5357,
5581,
82,
6,
15,
21821,
315,
225,
306,
413,
5201,
65,
571,
23059,
74,
6831,
1077,
27893,
65,
589,
14627,
84,
1165,
87,
22,
2414,
64,
82,
6,
15,
21821,
1548,
82,
6,
397,
21821,
315,
589,
14627,
84,
1165,
87,
22,
2414,
225,
589,
434,
326,
22377,
87,
18,
22,
2414,
358,
866,
64,
82,
6,
15,
21821,
1548,
82,
6,
397,
21821,
315,
225,
1493,
5201,
225,
14971,
333,
977,
64,
82,
6,
397,
21821,
1548,
82,
6,
397,
21821,
1548,
82,
6,
397,
21821,
315,
20475,
364,
6751,
720,
6012,
649,
7115,
316,
326,
5782,
270,
734,
1057,
434,
326,
864,
64,
82,
6,
397,
21821,
315,
1752,
1165,
87,
18,
22,
2414,
64,
82,
6,
7734,
11272,
202,
202,
3163,
18,
8593,
12,
20,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
855,
4667,
1435,
95,
202,
202,
3163,
18,
659,
18,
8222,
2932,
5357,
5581,
82,
6,
15,
21821,
315,
225,
306,
413,
5201,
65,
571,
23059,
74,
6831,
1077,
27893,
65,
589,
14627,
84,
1165,
87,
22,
2414,
64,
82,
6,
15,
21821,
1548,
82,
6,
397,
21821,
315,
589,
14627,
84,
1165,
87,
22,
2414,
225,
589,
434,
326,
22377,
87,
18,
22,
2414,
358,
866,
64,
82,
6,
15,
21821,
1548,
82,
6,
397,
21821,
315,
225,
1493,
5201,
225,
14971,
333,
977,
64,
82,
6,
397,
21821,
1548,
82,
6,
397,
21821,
1548,
82,
6,
397,
21821,
315,
20475,
364,
6751,
720,
6012,
649,
7115,
316,
326,
5782,
270,
734,
1057,
2
] |
return "select next value for notifNxtId from seqQueryTable;";
|
return "select next value for notifNxtId from seqQueryTable";
|
public String getNextNotifIdSql() { return "select next value for notifNxtId from seqQueryTable;"; }
|
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/04746173cf38a546ba42b9bcbba17788505818bb/MockDatabase.java/buggy/src/services/org/opennms/netmgt/mock/MockDatabase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
6927,
1248,
430,
548,
5101,
1435,
288,
3639,
327,
315,
4025,
1024,
460,
364,
486,
430,
50,
15239,
548,
628,
3833,
1138,
1388,
14432,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
6927,
1248,
430,
548,
5101,
1435,
288,
3639,
327,
315,
4025,
1024,
460,
364,
486,
430,
50,
15239,
548,
628,
3833,
1138,
1388,
14432,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public abstract List<String> getAllTagNames();
|
public List<String> getAllTagNames() { ArrayList<String> names = new ArrayList<String>(mNameToTag.keySet()); Collections.sort(names); return names; }
|
public abstract List<String> getAllTagNames();
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/b17d05d071612293d6f09ab67b1bbdcf47c5a136/ZMailbox.java/clean/ZimbraServer/src/java/com/zimbra/cs/zclient/ZMailbox.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8770,
987,
32,
780,
34,
5514,
1805,
1557,
5621,
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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1557,
5621,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if(i >= 0) {
|
if (i >= 0) {
|
void runToCursor(String fileName, int lineNumber, ActionEvent evt) { Vector v = (Vector) sourceNames.get(fileName); if(v == null) { System.out.println("debugger error: Couldn't find source: " + fileName); } int i; SourceEntry se = null; for (i = v.size() -1; i >= 0; i--) { se = (SourceEntry) v.elementAt(i); if (se.fnOrScript.removeBreakpoint(lineNumber)) { se.fnOrScript.placeBreakpoint(lineNumber); break; } else if(se.fnOrScript.placeBreakpoint(lineNumber)) { se.fnOrScript.removeBreakpoint(lineNumber); break; } } if(i >= 0) { runToCursorFile = fileName; runToCursorLine = lineNumber; actionPerformed(evt); } }
|
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/bebd557da53b74c60ab8525aa96904d4cee6224c/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1086,
774,
6688,
12,
780,
3968,
16,
5397,
509,
13629,
16,
5397,
19641,
6324,
13,
288,
3639,
5589,
331,
273,
261,
5018,
13,
1084,
1557,
18,
588,
12,
17812,
1769,
3639,
309,
12,
90,
422,
446,
13,
288,
5411,
2332,
18,
659,
18,
8222,
2932,
4148,
693,
555,
30,
14312,
82,
1404,
1104,
1084,
30,
315,
397,
3968,
1769,
3639,
289,
3639,
509,
277,
31,
3639,
4998,
1622,
695,
273,
446,
31,
3639,
364,
261,
77,
273,
331,
18,
1467,
1435,
300,
21,
31,
277,
1545,
374,
31,
277,
413,
13,
288,
5411,
695,
273,
261,
1830,
1622,
13,
331,
18,
2956,
861,
12,
77,
1769,
5411,
309,
261,
307,
18,
4293,
1162,
3651,
18,
4479,
20552,
12,
1369,
1854,
3719,
288,
7734,
695,
18,
4293,
1162,
3651,
18,
964,
20552,
12,
1369,
1854,
1769,
7734,
898,
31,
5411,
289,
469,
309,
12,
307,
18,
4293,
1162,
3651,
18,
964,
20552,
12,
1369,
1854,
3719,
288,
7734,
695,
18,
4293,
1162,
3651,
18,
4479,
20552,
12,
1369,
1854,
1769,
7734,
898,
31,
5411,
289,
3639,
289,
3639,
309,
261,
77,
1545,
374,
13,
288,
5411,
1086,
774,
6688,
812,
273,
3968,
31,
5411,
1086,
774,
6688,
1670,
273,
13629,
31,
5411,
26100,
12,
73,
11734,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1086,
774,
6688,
12,
780,
3968,
16,
5397,
509,
13629,
16,
5397,
19641,
6324,
13,
288,
3639,
5589,
331,
273,
261,
5018,
13,
1084,
1557,
18,
588,
12,
17812,
1769,
3639,
309,
12,
90,
422,
446,
13,
288,
5411,
2332,
18,
659,
18,
8222,
2932,
4148,
693,
555,
30,
14312,
82,
1404,
1104,
1084,
30,
315,
397,
3968,
1769,
3639,
289,
3639,
509,
277,
31,
3639,
4998,
1622,
695,
273,
446,
31,
3639,
364,
261,
77,
273,
331,
18,
1467,
1435,
300,
21,
31,
277,
1545,
374,
31,
277,
413,
13,
288,
5411,
695,
273,
261,
1830,
1622,
13,
331,
18,
2956,
861,
12,
77,
1769,
5411,
309,
261,
307,
18,
4293,
1162,
3651,
18,
4479,
20552,
2
] |
if (i == 0) {
|
if (c == divider) { if (maximize == Maximize.NONE) { if (splitVertical) { c.setBounds(firstSize + margin, margin, dividerSize, innerHeight - (margin * 2)); } else { c.setBounds(margin, firstSize + margin, innerWidth - (margin * 2), dividerSize); } c.setVisible(true); } else { c.setVisible(false); } } else if (cnt == 0) { if (maximize == Maximize.FIRST) { c.setVisible(false); } else { if (splitVertical) { c.setBounds(firstSize + dividerSize + margin, margin, secondSize, innerHeight - (margin * 2)); } else { c.setBounds(margin, firstSize + dividerSize + margin, innerWidth - (margin * 2), secondSize); } c.setVisible(true); } cnt++; } else if (cnt == 1) {
|
public void apply() { if (container == null) return; int innerHeight = container.getInnerHeight(); int innerWidth = container.getInnerWidth(); if (innerHeight < 10 || innerWidth < 10) return; layoutInProgress = true; int firstSize = (splitVertical ? innerWidth : innerHeight) - dividerSize; int secondSize; if (maximize == Maximize.NONE) { secondSize = firstSize; if (split >= 1) { firstSize = (int)Math.floor(split); } else { firstSize *= split; } secondSize -= firstSize; } else { if (maximize == Maximize.FIRST) { secondSize = 0; } else { secondSize = firstSize; firstSize = 0; } } List<Component> children = container.getChildren(); for (int i = children.size(); --i >= 0;) { Component c = children.get(i); if (i == 0) { if (maximize == Maximize.SECOND) { c.setVisible(false); } else { if (splitVertical) { c.setBounds(0, 0, firstSize, innerHeight); } else { c.setBounds(0, 0, innerWidth, firstSize); } c.setVisible(true); } } else if (i == 1) { if (maximize == Maximize.FIRST) { c.setVisible(false); } else { if (splitVertical) { c.setBounds(firstSize + dividerSize, 0, secondSize, innerHeight); } else { c.setBounds(0, firstSize + dividerSize, innerWidth, secondSize); } c.setVisible(true); } } else if (c == divider) { if (splitVertical) { c.setBounds(firstSize, 0, dividerSize, innerHeight); } else { c.setBounds(0, firstSize, innerWidth, dividerSize); } c.setVisible(true); } else { c.setVisible(false); } } layoutInProgress = false; }
|
51553 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51553/6042f676d50664ac240f4d4b2ddb5ede5cd53200/SplitLayout.java/buggy/src/thinwire/ui/layout/SplitLayout.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2230,
1435,
288,
4202,
309,
261,
3782,
422,
446,
13,
327,
31,
4202,
509,
3443,
2686,
273,
1478,
18,
588,
2857,
2686,
5621,
4202,
509,
3443,
2384,
273,
1478,
18,
588,
2857,
2384,
5621,
4202,
309,
261,
7872,
2686,
411,
1728,
747,
3443,
2384,
411,
1728,
13,
327,
31,
4202,
3511,
13434,
273,
638,
31,
4202,
509,
1122,
1225,
273,
261,
4939,
15704,
692,
3443,
2384,
294,
3443,
2686,
13,
300,
21713,
1225,
31,
4202,
509,
2205,
1225,
31,
2868,
309,
261,
1896,
10153,
422,
4238,
10153,
18,
9826,
13,
288,
6647,
2205,
1225,
273,
1122,
1225,
31,
8227,
309,
261,
4939,
1545,
404,
13,
288,
9079,
1122,
1225,
273,
261,
474,
13,
10477,
18,
74,
5807,
12,
4939,
1769,
6647,
289,
469,
288,
9079,
1122,
1225,
6413,
1416,
31,
6647,
289,
5375,
2205,
1225,
3947,
1122,
1225,
31,
4202,
289,
469,
288,
6647,
309,
261,
1896,
10153,
422,
4238,
10153,
18,
15354,
13,
288,
9079,
2205,
1225,
273,
374,
31,
6647,
289,
469,
288,
9079,
2205,
1225,
273,
1122,
1225,
31,
9079,
1122,
1225,
273,
374,
31,
6647,
289,
4202,
289,
2868,
987,
32,
1841,
34,
2325,
273,
1478,
18,
588,
4212,
5621,
2868,
364,
261,
474,
277,
273,
2325,
18,
1467,
5621,
1493,
77,
1545,
374,
30943,
288,
6647,
5435,
276,
273,
2325,
18,
588,
12,
77,
1769,
8227,
309,
261,
71,
422,
21713,
13,
288,
309,
261,
1896,
10153,
422,
4238,
10153,
18,
9826,
13,
288,
309,
261,
4939,
15704,
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,
918,
2230,
1435,
288,
4202,
309,
261,
3782,
422,
446,
13,
327,
31,
4202,
509,
3443,
2686,
273,
1478,
18,
588,
2857,
2686,
5621,
4202,
509,
3443,
2384,
273,
1478,
18,
588,
2857,
2384,
5621,
4202,
309,
261,
7872,
2686,
411,
1728,
747,
3443,
2384,
411,
1728,
13,
327,
31,
4202,
3511,
13434,
273,
638,
31,
4202,
509,
1122,
1225,
273,
261,
4939,
15704,
692,
3443,
2384,
294,
3443,
2686,
13,
300,
21713,
1225,
31,
4202,
509,
2205,
1225,
31,
2868,
309,
261,
1896,
10153,
422,
4238,
10153,
18,
9826,
13,
288,
6647,
2205,
1225,
273,
1122,
1225,
31,
8227,
309,
261,
4939,
1545,
404,
13,
288,
9079,
1122,
1225,
273,
261,
474,
13,
10477,
18,
74,
2
] |
public org.quickfix.field.ExpireDate getExpireDate() throws FieldNotFound { org.quickfix.field.ExpireDate value = new org.quickfix.field.ExpireDate();
|
public quickfix.field.ExpireDate getExpireDate() throws FieldNotFound { quickfix.field.ExpireDate value = new quickfix.field.ExpireDate();
|
public org.quickfix.field.ExpireDate getExpireDate() throws FieldNotFound { org.quickfix.field.ExpireDate value = new org.quickfix.field.ExpireDate(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderList.java/clean/src/java/src/quickfix/fix44/NewOrderList.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
17033,
1626,
336,
17033,
1626,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
17033,
1626,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
17033,
1626,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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621,
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
] |
null, null, Binding.SYSTEM);
|
null, null, Binding.SYSTEM, null);
|
public void testDoubleParent() throws NotDefinedException { final String parent = "parent"; final String child = "child"; // Set-up the contexts final Context parentContext = contextManager.getContext(parent); parentContext.define(parent, parent, null); final Context childContext = contextManager.getContext(child); childContext.define(child, child, parent); final Set activeContextIds = new HashSet(); activeContextIds.add(parent); activeContextIds.add(child); contextManager.setActiveContextIds(activeContextIds); // Set-up the schemes. final Scheme parentScheme = bindingManager.getScheme(parent); parentScheme.define(parent, parent, null); final Scheme childScheme = bindingManager.getScheme(child); childScheme.define(child, child, parent); bindingManager.setActiveScheme(childScheme); // Add two bindings. final Binding parentBinding = new TestBinding(parent, parent, parent, null, null, Binding.SYSTEM); final Binding childBinding = new TestBinding(child, child, child, null, null, Binding.SYSTEM); bindingManager.addBinding(parentBinding); bindingManager.addBinding(childBinding); // Test to see that only the child is active. assertTrue("The parent should not be active", bindingManager .getActiveBindingsFor(parent).length == 0); assertTrue("The child should be active", bindingManager .getActiveBindingsFor(child).length != 0); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e61bf96d546738a5dfebc5feb8c2bcbe110e4371/BindingInteractionsTest.java/clean/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/keys/BindingInteractionsTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
5265,
3054,
1435,
1216,
2288,
8116,
503,
288,
202,
202,
6385,
514,
982,
273,
315,
2938,
14432,
202,
202,
6385,
514,
1151,
273,
315,
3624,
14432,
202,
202,
759,
1000,
17,
416,
326,
5781,
202,
202,
6385,
1772,
982,
1042,
273,
819,
1318,
18,
29120,
12,
2938,
1769,
202,
202,
2938,
1042,
18,
11255,
12,
2938,
16,
982,
16,
446,
1769,
202,
202,
6385,
1772,
1151,
1042,
273,
819,
1318,
18,
29120,
12,
3624,
1769,
202,
202,
3624,
1042,
18,
11255,
12,
3624,
16,
1151,
16,
982,
1769,
202,
202,
6385,
1000,
2695,
1042,
2673,
273,
394,
6847,
5621,
202,
202,
3535,
1042,
2673,
18,
1289,
12,
2938,
1769,
202,
202,
3535,
1042,
2673,
18,
1289,
12,
3624,
1769,
202,
202,
2472,
1318,
18,
542,
3896,
1042,
2673,
12,
3535,
1042,
2673,
1769,
202,
202,
759,
1000,
17,
416,
326,
20436,
18,
202,
202,
6385,
10714,
982,
9321,
273,
5085,
1318,
18,
588,
9321,
12,
2938,
1769,
202,
202,
2938,
9321,
18,
11255,
12,
2938,
16,
982,
16,
446,
1769,
202,
202,
6385,
10714,
1151,
9321,
273,
5085,
1318,
18,
588,
9321,
12,
3624,
1769,
202,
202,
3624,
9321,
18,
11255,
12,
3624,
16,
1151,
16,
982,
1769,
202,
202,
7374,
1318,
18,
542,
3896,
9321,
12,
3624,
9321,
1769,
202,
202,
759,
1436,
2795,
7394,
18,
202,
202,
6385,
15689,
982,
5250,
273,
394,
7766,
5250,
12,
2938,
16,
982,
16,
982,
16,
9506,
202,
2011,
16,
446,
16,
15689,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
5265,
3054,
1435,
1216,
2288,
8116,
503,
288,
202,
202,
6385,
514,
982,
273,
315,
2938,
14432,
202,
202,
6385,
514,
1151,
273,
315,
3624,
14432,
202,
202,
759,
1000,
17,
416,
326,
5781,
202,
202,
6385,
1772,
982,
1042,
273,
819,
1318,
18,
29120,
12,
2938,
1769,
202,
202,
2938,
1042,
18,
11255,
12,
2938,
16,
982,
16,
446,
1769,
202,
202,
6385,
1772,
1151,
1042,
273,
819,
1318,
18,
29120,
12,
3624,
1769,
202,
202,
3624,
1042,
18,
11255,
12,
3624,
16,
1151,
16,
982,
1769,
202,
202,
6385,
1000,
2695,
1042,
2673,
273,
394,
6847,
5621,
202,
202,
3535,
1042,
2673,
18,
1289,
12,
2938,
1769,
202,
202,
3535,
1042,
2673,
2
] |
return ((RubyString) getClassPath()).getValue(); }
|
return ((RubyString) getClassPath()).getValue(); }
|
public String toName() { if (this == getRuby().getClasses().getNilClass()) { return "nil"; } if (this == getRuby().getClasses().getTrueClass()) { return "true"; } if (this == getRuby().getClasses().getFalseClass()) { return "false"; } return ((RubyString) getClassPath()).getValue(); }
|
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/buggy/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
358,
461,
1435,
288,
202,
202,
430,
261,
2211,
422,
4170,
10340,
7675,
588,
4818,
7675,
588,
12616,
797,
10756,
288,
1082,
202,
2463,
315,
20154,
14432,
202,
202,
97,
202,
202,
430,
261,
2211,
422,
4170,
10340,
7675,
588,
4818,
7675,
588,
5510,
797,
10756,
288,
1082,
202,
2463,
315,
3767,
14432,
202,
202,
97,
202,
202,
430,
261,
2211,
422,
4170,
10340,
7675,
588,
4818,
7675,
588,
8381,
797,
10756,
288,
1082,
202,
2463,
315,
5743,
14432,
202,
202,
97,
202,
202,
2463,
14015,
54,
10340,
780,
13,
2900,
743,
1435,
2934,
24805,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
514,
358,
461,
1435,
288,
202,
202,
430,
261,
2211,
422,
4170,
10340,
7675,
588,
4818,
7675,
588,
12616,
797,
10756,
288,
1082,
202,
2463,
315,
20154,
14432,
202,
202,
97,
202,
202,
430,
261,
2211,
422,
4170,
10340,
7675,
588,
4818,
7675,
588,
5510,
797,
10756,
288,
1082,
202,
2463,
315,
3767,
14432,
202,
202,
97,
202,
202,
430,
261,
2211,
422,
4170,
10340,
7675,
588,
4818,
7675,
588,
8381,
797,
10756,
288,
1082,
202,
2463,
315,
5743,
14432,
202,
202,
97,
202,
202,
2463,
14015,
54,
10340,
780,
13,
2900,
743,
1435,
2934,
24805,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public synchronized void add(EventKey key, MElementListener listener) { if (listener == null || key == null) throw new IllegalArgumentException("Null key or null listener"); // check if there allready is a listener // if (!Arrays.asList(getListeners(key)).contains(listener)) { if (listenerList == NULL_ARRAY) { // if this is the first listener added, // initialize the lists listenerList = new Object[] { key.getType(), key.getName(), listener }; } else { if (!contains(key, listener)) { // Otherwise copy the array and add the new listener int i = listenerList.length; Object[] tmp = new Object[i + 3]; System.arraycopy(listenerList, 0, tmp, 0, i); tmp[i] = key.getType(); tmp[i + 1] = key.getName(); tmp[i + 2] = listener; listenerList = tmp; } } // } }
|
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/77a71243718889b5cdf554ddc64e2c066e3441a5/UmlModelEventPump.java/buggy/src_new/org/argouml/model/uml/UmlModelEventPump.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
527,
12,
1133,
653,
498,
16,
490,
1046,
2223,
2991,
13,
288,
3639,
309,
261,
12757,
422,
446,
747,
498,
422,
446,
13,
5411,
604,
394,
2754,
2932,
2041,
498,
578,
446,
2991,
8863,
3639,
368,
866,
309,
1915,
777,
1672,
353,
279,
2991,
3639,
368,
309,
16051,
12726,
18,
345,
682,
12,
588,
5583,
12,
856,
13,
2934,
12298,
12,
12757,
3719,
288,
3639,
309,
261,
12757,
682,
422,
3206,
67,
8552,
13,
288,
5411,
368,
309,
333,
353,
326,
1122,
2991,
3096,
16,
2398,
368,
4046,
326,
6035,
5411,
2991,
682,
273,
7734,
394,
1033,
8526,
288,
1082,
565,
498,
18,
588,
559,
9334,
498,
18,
17994,
9334,
2991,
202,
202,
20451,
3639,
289,
469,
288,
5411,
309,
16051,
12298,
12,
856,
16,
2991,
3719,
288,
5411,
368,
5272,
1610,
326,
526,
471,
527,
326,
394,
2991,
7734,
509,
277,
273,
2991,
682,
18,
2469,
31,
7734,
1033,
8526,
1853,
273,
394,
1033,
63,
77,
397,
890,
15533,
7734,
2332,
18,
1126,
3530,
12,
12757,
682,
16,
374,
16,
1853,
16,
374,
16,
277,
1769,
27573,
1853,
63,
77,
65,
273,
498,
18,
588,
559,
5621,
7734,
1853,
63,
77,
397,
404,
65,
273,
498,
18,
17994,
5621,
7734,
1853,
63,
77,
397,
576,
65,
273,
2991,
31,
4766,
5411,
2991,
682,
273,
1853,
31,
5411,
289,
3639,
289,
3639,
368,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
918,
527,
12,
1133,
653,
498,
16,
490,
1046,
2223,
2991,
13,
288,
3639,
309,
261,
12757,
422,
446,
747,
498,
422,
446,
13,
5411,
604,
394,
2754,
2932,
2041,
498,
578,
446,
2991,
8863,
3639,
368,
866,
309,
1915,
777,
1672,
353,
279,
2991,
3639,
368,
309,
16051,
12726,
18,
345,
682,
12,
588,
5583,
12,
856,
13,
2934,
12298,
12,
12757,
3719,
288,
3639,
309,
261,
12757,
682,
422,
3206,
67,
8552,
13,
288,
5411,
368,
309,
333,
353,
326,
1122,
2991,
3096,
16,
2398,
368,
4046,
326,
6035,
5411,
2991,
682,
273,
7734,
394,
1033,
8526,
288,
1082,
565,
498,
18,
588,
559,
9334,
498,
18,
17994,
9334,
2991,
202,
202,
20451,
3639,
2
] |
||
favorites = new LinkedList();
|
public static void loadFavorites() { favorites = new LinkedList(); synchronized(lock) { String favorite; int i = 0; while((favorite = jEdit.getProperty("vfs.favorite." + i)) != null) { favorites.add(new FavoritesEntry(favorite, jEdit.getIntegerProperty("vfs.favorite." + i + ".type", VFS.DirectoryEntry.DIRECTORY))); i++; } } } //}}}
|
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/175462262085673c8ed99e5470fc1d9acb48400b/FavoritesVFS.java/buggy/org/gjt/sp/jedit/io/FavoritesVFS.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1262,
31745,
2997,
1435,
202,
95,
202,
202,
19731,
280,
2997,
273,
394,
10688,
5621,
202,
202,
22043,
12,
739,
13,
202,
202,
95,
1082,
202,
780,
30705,
31,
1082,
202,
474,
277,
273,
374,
31,
1082,
202,
17523,
12443,
19731,
280,
1137,
273,
525,
4666,
18,
588,
1396,
2932,
90,
2556,
18,
19731,
280,
1137,
1199,
397,
277,
3719,
480,
446,
13,
1082,
202,
95,
9506,
202,
19731,
280,
2997,
18,
1289,
12,
2704,
478,
9444,
2997,
1622,
12,
19731,
280,
1137,
16,
6862,
202,
78,
4666,
18,
588,
4522,
1396,
2932,
90,
2556,
18,
19731,
280,
1137,
1199,
6862,
202,
15,
277,
397,
3552,
723,
3113,
6862,
202,
58,
4931,
18,
2853,
1622,
18,
17229,
3719,
1769,
9506,
202,
77,
9904,
31,
1082,
202,
97,
202,
202,
97,
202,
97,
368,
9090,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1262,
31745,
2997,
1435,
202,
95,
202,
202,
19731,
280,
2997,
273,
394,
10688,
5621,
202,
202,
22043,
12,
739,
13,
202,
202,
95,
1082,
202,
780,
30705,
31,
1082,
202,
474,
277,
273,
374,
31,
1082,
202,
17523,
12443,
19731,
280,
1137,
273,
525,
4666,
18,
588,
1396,
2932,
90,
2556,
18,
19731,
280,
1137,
1199,
397,
277,
3719,
480,
446,
13,
1082,
202,
95,
9506,
202,
19731,
280,
2997,
18,
1289,
12,
2704,
478,
9444,
2997,
1622,
12,
19731,
280,
1137,
16,
6862,
202,
78,
4666,
18,
588,
4522,
1396,
2932,
90,
2556,
18,
19731,
280,
1137,
1199,
6862,
202,
15,
277,
397,
3552,
723,
3113,
6862,
202,
58,
4931,
18,
2853,
2
] |
|
CHECK_INTERVAL = 0;
|
checkInterval = 0;
|
public static boolean checkNeeded() { if (alreadyChecked) { return false; } final UpdateSettingsConfigurable settings = UpdateSettingsConfigurable.getInstance(); if (settings == null || UPDATE_URL == null) return false; final String checkPeriod = settings.CHECK_PERIOD; if (checkPeriod.equals(UpdateSettingsConfigurable.ON_START_UP)) { CHECK_INTERVAL = 0; } if (checkPeriod.equals(UpdateSettingsConfigurable.DAILY)) { CHECK_INTERVAL = DateFormatUtil.DAY; } if (settings.CHECK_PERIOD.equals(UpdateSettingsConfigurable.WEEKLY)) { CHECK_INTERVAL = DateFormatUtil.WEEK; } if (settings.CHECK_PERIOD.equals(UpdateSettingsConfigurable.MONTHLY)) { CHECK_INTERVAL = DateFormatUtil.MONTH; } final long timeDelta = System.currentTimeMillis() - settings.LAST_TIME_CHECKED; if (Math.abs(timeDelta) < CHECK_INTERVAL) return false; return settings.CHECK_NEEDED; }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/e78d542acc516f7398ad2fa3a200de135592eda9/UpdateChecker.java/buggy/source/com/intellij/openapi/updateSettings/impl/UpdateChecker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1250,
866,
11449,
1435,
288,
565,
309,
261,
17583,
11454,
13,
288,
3639,
327,
629,
31,
565,
289,
565,
727,
2315,
2628,
31660,
1947,
273,
2315,
2628,
31660,
18,
588,
1442,
5621,
565,
309,
261,
4272,
422,
446,
747,
11028,
67,
1785,
422,
446,
13,
327,
629,
31,
565,
727,
514,
866,
5027,
273,
1947,
18,
10687,
67,
28437,
31,
565,
309,
261,
1893,
5027,
18,
14963,
12,
1891,
2628,
31660,
18,
673,
67,
7570,
67,
3079,
3719,
288,
1377,
866,
4006,
273,
374,
31,
565,
289,
565,
309,
261,
1893,
5027,
18,
14963,
12,
1891,
2628,
31660,
18,
40,
6575,
61,
3719,
288,
1377,
14565,
67,
16435,
273,
18371,
1304,
18,
10339,
31,
565,
289,
565,
309,
261,
4272,
18,
10687,
67,
28437,
18,
14963,
12,
1891,
2628,
31660,
18,
20274,
7076,
3719,
288,
1377,
14565,
67,
16435,
273,
18371,
1304,
18,
20274,
31,
565,
289,
565,
309,
261,
4272,
18,
10687,
67,
28437,
18,
14963,
12,
1891,
2628,
31660,
18,
13942,
7076,
3719,
288,
1377,
14565,
67,
16435,
273,
18371,
1304,
18,
13942,
31,
565,
289,
565,
727,
1525,
813,
9242,
273,
2332,
18,
2972,
28512,
1435,
300,
1947,
18,
14378,
67,
4684,
67,
10687,
2056,
31,
565,
309,
261,
10477,
18,
5113,
12,
957,
9242,
13,
411,
14565,
67,
16435,
13,
327,
629,
31,
565,
327,
1947,
18,
10687,
67,
5407,
22832,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1250,
866,
11449,
1435,
288,
565,
309,
261,
17583,
11454,
13,
288,
3639,
327,
629,
31,
565,
289,
565,
727,
2315,
2628,
31660,
1947,
273,
2315,
2628,
31660,
18,
588,
1442,
5621,
565,
309,
261,
4272,
422,
446,
747,
11028,
67,
1785,
422,
446,
13,
327,
629,
31,
565,
727,
514,
866,
5027,
273,
1947,
18,
10687,
67,
28437,
31,
565,
309,
261,
1893,
5027,
18,
14963,
12,
1891,
2628,
31660,
18,
673,
67,
7570,
67,
3079,
3719,
288,
1377,
866,
4006,
273,
374,
31,
565,
289,
565,
309,
261,
1893,
5027,
18,
14963,
12,
1891,
2628,
31660,
18,
40,
6575,
61,
3719,
288,
1377,
14565,
67,
16435,
273,
18371,
1304,
18,
10339,
31,
565,
289,
2
] |
int bracketLevel = 0; while(true) { char ch = more(); if(ch == '[') ++bracketLevel; if(ch == ']') --bracketLevel; if(ch == '>' && bracketLevel == 0) break;
|
char ch = requireNextS(); if(!isNameStartChar(ch)) { throwNotNameStart(ch);
|
protected void parseDocdecl() throws XMLStreamException { //ASSUMPTION: seen <!D posStart = pos-3; try { if(more() != 'O' || more() != 'C' || more() != 'T' || more() != 'Y' || more() != 'P' || more() != 'E') { throw new XMLStreamException("expected <!DOCTYPE", getLocation()); } // do simple and crude scanning for end of doctype // [28] doctypedecl ::= '<!DOCTYPE' S Name (S ExternalID)? S? ('[' // (markupdecl | DeclSep)* ']' S?)? '>' /* 07-Nov-2004, TSa: Should be fairly easy to verify (obligatory) * root element, and optional public/system ids too. */ int bracketLevel = 0; while(true) { char ch = more(); if(ch == '[') ++bracketLevel; if(ch == ']') --bracketLevel; if(ch == '>' && bracketLevel == 0) break; } posEnd = pos ; processDTD(); } catch (EOFException eofe) { throw new XMLStreamException(EOF_MSG, getLocation(), eofe); } }
|
2047 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2047/0a48261e76a836a4396f2c4bf6848c3d734fe1fd/MXParser.java/buggy/dev/src/com/bea/xml/stream/MXParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1109,
1759,
8840,
1435,
3639,
1216,
21526,
565,
288,
3639,
368,
8423,
2799,
3725,
30,
5881,
5719,
40,
3639,
949,
1685,
273,
949,
17,
23,
31,
3639,
775,
288,
5411,
309,
12,
10161,
1435,
480,
296,
51,
11,
10402,
747,
1898,
1435,
480,
296,
39,
11,
10402,
747,
1898,
1435,
480,
296,
56,
11,
10402,
747,
1898,
1435,
480,
296,
61,
11,
10402,
747,
1898,
1435,
480,
296,
52,
11,
10402,
747,
1898,
1435,
480,
296,
41,
6134,
288,
7734,
604,
394,
21526,
2932,
3825,
5719,
29824,
3113,
13312,
10663,
5411,
289,
13491,
368,
741,
4143,
471,
4422,
1317,
21138,
364,
679,
434,
24909,
13491,
368,
306,
6030,
65,
225,
24909,
8840,
493,
33,
2368,
5,
29824,
11,
348,
1770,
261,
55,
11352,
734,
9945,
348,
35,
7707,
3292,
5411,
368,
8227,
261,
15056,
8840,
571,
16110,
5097,
17653,
8641,
348,
8535,
35,
7481,
13491,
1748,
10934,
17,
50,
1527,
17,
6976,
24,
16,
15508,
69,
30,
9363,
506,
284,
1826,
715,
12779,
358,
3929,
261,
947,
80,
360,
8452,
13,
2398,
380,
282,
1365,
930,
16,
471,
3129,
1071,
19,
4299,
3258,
4885,
18,
2398,
1195,
13491,
509,
9843,
2355,
273,
374,
31,
5411,
1323,
12,
3767,
13,
288,
7734,
1149,
462,
273,
1898,
5621,
7734,
309,
12,
343,
422,
8375,
13,
965,
21025,
2355,
31,
7734,
309,
12,
343,
422,
8641,
13,
1493,
21025,
2355,
31,
7734,
309,
12,
343,
422,
7481,
597,
9843,
2355,
422,
374,
13,
898,
31,
5411,
289,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1109,
1759,
8840,
1435,
3639,
1216,
21526,
565,
288,
3639,
368,
8423,
2799,
3725,
30,
5881,
5719,
40,
3639,
949,
1685,
273,
949,
17,
23,
31,
3639,
775,
288,
5411,
309,
12,
10161,
1435,
480,
296,
51,
11,
10402,
747,
1898,
1435,
480,
296,
39,
11,
10402,
747,
1898,
1435,
480,
296,
56,
11,
10402,
747,
1898,
1435,
480,
296,
61,
11,
10402,
747,
1898,
1435,
480,
296,
52,
11,
10402,
747,
1898,
1435,
480,
296,
41,
6134,
288,
7734,
604,
394,
21526,
2932,
3825,
5719,
29824,
3113,
13312,
10663,
5411,
289,
13491,
368,
741,
4143,
471,
4422,
1317,
21138,
364,
679,
434,
24909,
13491,
368,
306,
6030,
65,
225,
24909,
8840,
493,
33,
2368,
5,
2
] |
anchor = null;
|
public static SVNWCAccess create(File file) throws SVNException { File parentFile = file.getParentFile(); String name = file.getName(); try { if (file.exists()) { name = file.getCanonicalFile().getName(); } } catch (IOException e) { } if (parentFile != null && (!parentFile.exists() || !parentFile.isDirectory())) { // parent doesn't exist or not a directory SVNErrorManager.error(1, null); } SVNDirectory anchor = parentFile != null ? new SVNDirectory(parentFile) : null; SVNDirectory target = file.isDirectory() ? new SVNDirectory(file) : null; if (anchor == null || !anchor.isVersioned()) { // parent is not versioned, do not use it. anchor = null; } if (target == null || !target.isVersioned()) { // target is missing, target is file or not versioned dir. // do not use it. target = null; } if (target != null && anchor != null) { // both are versioned dirs, // check whether target is switched. SVNEntry targetInAnchor = anchor.getEntries().getEntry(name); SVNDirectory anchorCopy = anchor; try { if (targetInAnchor == null) { // target is disjoint, do not use anchor. anchor = null; } else { SVNEntry anchorEntry = anchor.getEntries().getEntry(""); SVNEntry targetEntry = target.getEntries().getEntry(""); String anchorURL = anchorEntry.getURL(); String targetURL = targetEntry.getURL(); if (anchorURL != null && targetURL != null) { String urlName = PathUtil.encode(targetInAnchor.getName()); String expectedURL = PathUtil.append(anchorURL, urlName); if (!expectedURL.equals(targetURL) || !anchorURL.equals(PathUtil.removeTail(targetURL))) { // switched, do not use anchor. anchor = null; } else if (targetInAnchor.isDirectory()){ // not switched, target is valid dir, just use it. anchor = null; } } } } finally { // close entries. if (anchor == null) { anchorCopy.getEntries().close(); anchorCopy.dispose(); anchorCopy = null; } target.dispose(); } } else if (target == null && anchor == null) { // both are not versioned :( SVNErrorManager.error(1, null); } return new SVNWCAccess( anchor != null ? anchor : target, target != null ? target : anchor, anchor != null ? name : ""); }
|
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/ca031849d6f28ee2148e391794aba07de239432a/SVNWCAccess.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/ws/log/SVNWCAccess.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
29537,
50,
59,
39,
1862,
752,
12,
812,
585,
13,
1216,
29537,
50,
503,
288,
3639,
1387,
982,
812,
273,
585,
18,
588,
3054,
812,
5621,
3639,
514,
508,
273,
585,
18,
17994,
5621,
3639,
775,
288,
5411,
309,
261,
768,
18,
1808,
10756,
288,
7734,
508,
273,
585,
18,
588,
15512,
812,
7675,
17994,
5621,
5411,
289,
3639,
289,
1044,
261,
14106,
425,
13,
288,
3639,
289,
3639,
309,
261,
2938,
812,
480,
446,
597,
16051,
2938,
812,
18,
1808,
1435,
747,
401,
2938,
812,
18,
291,
2853,
1435,
3719,
288,
5411,
368,
982,
3302,
1404,
1005,
578,
486,
279,
1867,
5411,
29537,
50,
668,
1318,
18,
1636,
12,
21,
16,
446,
1769,
3639,
289,
3639,
29537,
50,
2853,
6984,
273,
982,
812,
480,
446,
692,
394,
29537,
50,
2853,
12,
2938,
812,
13,
294,
446,
31,
3639,
29537,
50,
2853,
1018,
273,
585,
18,
291,
2853,
1435,
692,
394,
29537,
50,
2853,
12,
768,
13,
294,
446,
31,
7734,
309,
261,
16215,
422,
446,
747,
401,
16215,
18,
291,
23676,
10756,
288,
5411,
368,
982,
353,
486,
17083,
16,
741,
486,
999,
518,
18,
10792,
289,
3639,
309,
261,
3299,
422,
446,
747,
401,
3299,
18,
291,
23676,
10756,
288,
5411,
368,
1018,
353,
3315,
16,
1018,
353,
585,
578,
486,
17083,
1577,
18,
5411,
368,
741,
486,
999,
518,
18,
5411,
1018,
273,
446,
31,
3639,
289,
3639,
309,
261,
3299,
480,
446,
597,
6984,
480,
446,
13,
288,
5411,
368,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
29537,
50,
59,
39,
1862,
752,
12,
812,
585,
13,
1216,
29537,
50,
503,
288,
3639,
1387,
982,
812,
273,
585,
18,
588,
3054,
812,
5621,
3639,
514,
508,
273,
585,
18,
17994,
5621,
3639,
775,
288,
5411,
309,
261,
768,
18,
1808,
10756,
288,
7734,
508,
273,
585,
18,
588,
15512,
812,
7675,
17994,
5621,
5411,
289,
3639,
289,
1044,
261,
14106,
425,
13,
288,
3639,
289,
3639,
309,
261,
2938,
812,
480,
446,
597,
16051,
2938,
812,
18,
1808,
1435,
747,
401,
2938,
812,
18,
291,
2853,
1435,
3719,
288,
5411,
368,
982,
3302,
1404,
1005,
578,
486,
279,
1867,
5411,
29537,
50,
668,
1318,
18,
1636,
12,
21,
16,
446,
1769,
3639,
289,
2
] |
|
public void setSelectedScope(int scope) {}
|
public void setSelectedScope(int scope) { }
|
public BugzillaSearchOptionPage(){ scontainer = new ISearchPageContainer(){ public ISelection getSelection() { // TODO Auto-generated method stub return null; } public IRunnableContext getRunnableContext() { return null; } public void setPerformActionEnabled(boolean state) { Button ok = BugzillaQueryDialog.this.getButton(Dialog.OK); if(ok != null) ok.setEnabled(state); } public int getSelectedScope() { return 0; } public void setSelectedScope(int scope) {} public boolean hasValidScope() { return true; } public IWorkingSet[] getSelectedWorkingSets() { return null; } public void setSelectedWorkingSets(IWorkingSet[] workingSets) {} }; }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/dccfe33af49d21c69bb06978dc05b7fc4ac8d8b1/BugzillaQueryDialog.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasks/BugzillaQueryDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
16907,
15990,
2979,
1895,
1964,
1435,
95,
1082,
202,
87,
3782,
273,
394,
467,
2979,
1964,
2170,
1435,
95,
9506,
202,
482,
467,
6233,
23204,
1435,
288,
6862,
202,
759,
2660,
8064,
17,
11168,
707,
7168,
6862,
202,
2463,
446,
31,
9506,
202,
97,
9506,
202,
482,
467,
20013,
1042,
336,
20013,
1042,
1435,
288,
6862,
202,
2463,
446,
31,
9506,
202,
97,
9506,
202,
482,
918,
444,
4990,
1803,
1526,
12,
6494,
919,
13,
288,
6862,
202,
3616,
1529,
273,
16907,
15990,
1138,
6353,
18,
2211,
18,
588,
3616,
12,
6353,
18,
3141,
1769,
6862,
202,
430,
12,
601,
480,
446,
13,
25083,
202,
601,
18,
542,
1526,
12,
2019,
1769,
9506,
202,
97,
9506,
202,
482,
509,
16625,
3876,
1435,
288,
6862,
202,
2463,
374,
31,
9506,
202,
97,
9506,
202,
482,
918,
23006,
3876,
12,
474,
2146,
13,
2618,
9506,
202,
482,
1250,
711,
1556,
3876,
1435,
288,
6862,
202,
2463,
638,
31,
9506,
202,
97,
9506,
202,
482,
467,
14836,
694,
8526,
16625,
14836,
2785,
1435,
288,
6862,
202,
2463,
446,
31,
9506,
202,
97,
9506,
202,
482,
918,
23006,
14836,
2785,
12,
45,
14836,
694,
8526,
5960,
2785,
13,
2618,
1082,
202,
20451,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3196,
202,
482,
16907,
15990,
2979,
1895,
1964,
1435,
95,
1082,
202,
87,
3782,
273,
394,
467,
2979,
1964,
2170,
1435,
95,
9506,
202,
482,
467,
6233,
23204,
1435,
288,
6862,
202,
759,
2660,
8064,
17,
11168,
707,
7168,
6862,
202,
2463,
446,
31,
9506,
202,
97,
9506,
202,
482,
467,
20013,
1042,
336,
20013,
1042,
1435,
288,
6862,
202,
2463,
446,
31,
9506,
202,
97,
9506,
202,
482,
918,
444,
4990,
1803,
1526,
12,
6494,
919,
13,
288,
6862,
202,
3616,
1529,
273,
16907,
15990,
1138,
6353,
18,
2211,
18,
588,
3616,
12,
6353,
18,
3141,
1769,
6862,
202,
430,
12,
601,
480,
446,
13,
25083,
202,
601,
18,
542,
1526,
12,
2019,
1769,
9506,
202,
97,
9506,
2
] |
return toPDFColorSpace(fopImage.getColorSpace());
|
if (isCCF || isDCT || isPS) { return toPDFColorSpace(fopImage.getColorSpace()); } else { return toPDFColorSpace(ColorSpace.getInstance(ColorSpace.CS_sRGB)); }
|
public PDFColorSpace getColorSpace() { // DeviceGray, DeviceRGB, or DeviceCMYK return toPDFColorSpace(fopImage.getColorSpace()); }
|
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/f7ad4807b947517931b8b97513de728104cea2e2/FopPDFImage.java/clean/src/java/org/apache/fop/render/pdf/FopPDFImage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
12667,
2957,
3819,
15672,
3819,
1435,
288,
3639,
368,
6077,
23521,
16,
6077,
11343,
16,
578,
6077,
9611,
61,
47,
3639,
309,
261,
291,
6743,
42,
747,
353,
40,
1268,
747,
353,
5857,
13,
288,
327,
358,
17508,
2957,
3819,
12,
74,
556,
2040,
18,
588,
2957,
3819,
10663,
289,
469,
288,
327,
358,
17508,
2957,
3819,
12,
2957,
3819,
18,
588,
1442,
12,
2957,
3819,
18,
4596,
67,
87,
11343,
10019,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
12667,
2957,
3819,
15672,
3819,
1435,
288,
3639,
368,
6077,
23521,
16,
6077,
11343,
16,
578,
6077,
9611,
61,
47,
3639,
309,
261,
291,
6743,
42,
747,
353,
40,
1268,
747,
353,
5857,
13,
288,
327,
358,
17508,
2957,
3819,
12,
74,
556,
2040,
18,
588,
2957,
3819,
10663,
289,
469,
288,
327,
358,
17508,
2957,
3819,
12,
2957,
3819,
18,
588,
1442,
12,
2957,
3819,
18,
4596,
67,
87,
11343,
10019,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
_min = null; _size = 0;
|
_min = null; _size = 0;
|
public void clear() { _modify++; _min = null; _size = 0; }
|
47032 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47032/f63e1142cae73862c9c4f7b6ce46225b40f3ef86/FibonacciHeap.java/clean/src/org/_3pq/jgrapht/experimental/heap/FibonacciHeap.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2424,
1435,
288,
3639,
389,
17042,
9904,
31,
3639,
389,
1154,
273,
446,
31,
3639,
389,
1467,
273,
374,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2424,
1435,
288,
3639,
389,
17042,
9904,
31,
3639,
389,
1154,
273,
446,
31,
3639,
389,
1467,
273,
374,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (perspList.isEmpty()) return;
|
if (perspList.isEmpty()) { return; }
|
public void closeAllPerspectives(boolean saveEditors, boolean closePage) { if (perspList.isEmpty()) return; // Always unzoom if (isZoomed()) zoomOut(); // Close all editors if (!closeAllEditors(saveEditors)) return; // Deactivate the active perspective and part setPerspective((Perspective) null); // Close each perspective in turn PerspectiveList oldList = perspList; perspList = new PerspectiveList(); Iterator itr = oldList.iterator(); while (itr.hasNext()) closePerspective((Perspective) itr.next(), false, false); if (closePage) { close(); } }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/WorkbenchPage.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1746,
1595,
14781,
1181,
3606,
12,
6494,
1923,
4666,
1383,
16,
1250,
1746,
1964,
13,
288,
3639,
309,
261,
10422,
84,
682,
18,
291,
1921,
10756,
5411,
327,
31,
3639,
368,
14178,
640,
14932,
3639,
309,
261,
291,
11497,
329,
10756,
5411,
7182,
1182,
5621,
3639,
368,
3527,
777,
29431,
3639,
309,
16051,
4412,
1595,
4666,
1383,
12,
5688,
4666,
1383,
3719,
5411,
327,
31,
3639,
368,
1505,
10014,
326,
2695,
26651,
471,
1087,
3639,
444,
14781,
16772,
12443,
14781,
16772,
13,
446,
1769,
3639,
368,
3527,
1517,
26651,
316,
7005,
3639,
453,
414,
16772,
682,
1592,
682,
273,
13508,
84,
682,
31,
3639,
13508,
84,
682,
273,
394,
453,
414,
16772,
682,
5621,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1746,
1595,
14781,
1181,
3606,
12,
6494,
1923,
4666,
1383,
16,
1250,
1746,
1964,
13,
288,
3639,
309,
261,
10422,
84,
682,
18,
291,
1921,
10756,
5411,
327,
31,
3639,
368,
14178,
640,
14932,
3639,
309,
261,
291,
11497,
329,
10756,
5411,
7182,
1182,
5621,
3639,
368,
3527,
777,
29431,
3639,
309,
16051,
4412,
1595,
4666,
1383,
12,
5688,
4666,
1383,
3719,
5411,
327,
31,
3639,
368,
1505,
10014,
326,
2695,
26651,
471,
1087,
3639,
444,
14781,
16772,
12443,
14781,
16772,
13,
446,
1769,
3639,
368,
3527,
1517,
26651,
316,
7005,
3639,
453,
414,
16772,
682,
1592,
682,
273,
13508,
84,
682,
31,
3639,
13508,
84,
682,
273,
394,
453,
414,
16772,
682,
5621,
3639,
4498,
2
] |
private void createDropDownComponent(int iXLoc, int iYLoc) { int iShellHeight = 220; int iShellWidth = 160; if (!bGradientEnabled) { iShellHeight = iShellHeight - 30; } if (!bImageEnabled) { iShellHeight = iShellHeight - 30; } Shell shell = new Shell(this.getShell(), SWT.NONE); shell.setLayout(new FillLayout()); shell.setSize(iShellWidth, iShellHeight); shell.setLocation(iXLoc, iYLoc);
|
private void createDropDownComponent(int iXLoc, int iYLoc) { int iShellHeight = 220; int iShellWidth = 160; if (!bGradientEnabled) { iShellHeight = iShellHeight - 30; } if (!bImageEnabled) { iShellHeight = iShellHeight - 30; } Shell shell = new Shell(this.getShell(), SWT.NONE); shell.setLayout(new FillLayout()); shell.setSize(iShellWidth, iShellHeight); shell.setLocation(iXLoc, iYLoc);
|
private void createDropDownComponent(int iXLoc, int iYLoc) { int iShellHeight = 220; int iShellWidth = 160; // Reduce the height based on which buttons are to be shown. if (!bGradientEnabled) { iShellHeight = iShellHeight - 30; } if (!bImageEnabled) { iShellHeight = iShellHeight - 30; } Shell shell = new Shell(this.getShell(), SWT.NONE); shell.setLayout(new FillLayout()); shell.setSize(iShellWidth, iShellHeight); shell.setLocation(iXLoc, iYLoc); cmpDropDown = new Composite(shell, SWT.NONE); GridLayout glDropDown = new GridLayout(); glDropDown.marginHeight = 2; glDropDown.marginWidth = 2; glDropDown.horizontalSpacing = 1; glDropDown.verticalSpacing = 1; glDropDown.numColumns = 8; cmpDropDown.setLayout(glDropDown); cmpDropDown.addKeyListener(this); if (colorArray == null) { colorArray = createColorMap(getDisplay()); } ColorSelectionCanvas cnv = new ColorSelectionCanvas(cmpDropDown, SWT.BORDER, colorArray); GridData gdCnv = new GridData(GridData.FILL_BOTH); gdCnv.horizontalSpan = 8; gdCnv.heightHint = 100; cnv.setLayoutData(gdCnv); cnv.addMouseListener(this); if (this.fCurrent instanceof ColorDefinition) { cnv.setColor(new Color(this.getDisplay(), ((ColorDefinition) fCurrent).getRed(), ((ColorDefinition) fCurrent).getGreen(), ((ColorDefinition) fCurrent).getBlue())); } btnTransparent = new Button(cmpDropDown, SWT.TOGGLE); GridData gdTransparent = new GridData(GridData.FILL_BOTH); gdTransparent.heightHint = 26; gdTransparent.horizontalSpan = 8; btnTransparent.setLayoutData(gdTransparent); btnTransparent.setText("Transparent"); btnTransparent.addSelectionListener(this); if (fCurrent == null) { btnTransparent.setSelection(true); } else { btnTransparent.setSelection(false); } if (this.bGradientEnabled) { btnGradient = new Button(cmpDropDown, SWT.NONE); GridData gdGradient = new GridData(GridData.FILL_BOTH); gdTransparent.heightHint = 26; gdGradient.horizontalSpan = 8; btnGradient.setLayoutData(gdGradient); btnGradient.setText("Gradient..."); btnGradient.addSelectionListener(this); } btnCustom = new Button(cmpDropDown, SWT.NONE); GridData gdCustom = new GridData(GridData.FILL_BOTH); gdTransparent.heightHint = 26; gdCustom.horizontalSpan = 8; btnCustom.setLayoutData(gdCustom); btnCustom.setText("Custom Color..."); btnCustom.addSelectionListener(this); if (this.bImageEnabled) { btnImage = new Button(cmpDropDown, SWT.NONE); GridData gdImage = new GridData(GridData.FILL_BOTH); gdTransparent.heightHint = 26; gdImage.horizontalSpan = 8; btnImage.setLayoutData(gdImage); btnImage.setText("Image..."); btnImage.addSelectionListener(this); } shell.layout(); shell.open(); }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/12ceaf47df2f9cd8a8b8c900d32f0a3b4518158f/FillChooserComposite.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FillChooserComposite.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
7544,
4164,
1841,
12,
474,
277,
60,
1333,
16,
509,
277,
61,
1333,
13,
288,
202,
202,
474,
277,
13220,
2686,
273,
576,
3462,
31,
202,
202,
474,
277,
13220,
2384,
273,
25430,
31,
202,
202,
759,
24614,
326,
2072,
2511,
603,
1492,
9502,
854,
358,
506,
12188,
18,
202,
202,
430,
16051,
70,
15651,
1526,
13,
288,
1082,
202,
77,
13220,
2686,
273,
277,
13220,
2686,
300,
5196,
31,
202,
202,
97,
202,
202,
430,
16051,
70,
2040,
1526,
13,
288,
1082,
202,
77,
13220,
2686,
273,
277,
13220,
2686,
300,
5196,
31,
202,
202,
97,
202,
202,
13220,
5972,
273,
394,
19433,
12,
2211,
18,
588,
13220,
9334,
348,
8588,
18,
9826,
1769,
202,
202,
10304,
18,
542,
3744,
12,
2704,
14192,
3744,
10663,
202,
202,
10304,
18,
542,
1225,
12,
77,
13220,
2384,
16,
277,
13220,
2686,
1769,
202,
202,
10304,
18,
542,
2735,
12,
77,
60,
1333,
16,
277,
61,
1333,
1769,
202,
202,
9625,
7544,
4164,
273,
394,
14728,
12,
10304,
16,
348,
8588,
18,
9826,
1769,
202,
202,
6313,
3744,
5118,
7544,
4164,
273,
394,
7145,
3744,
5621,
202,
202,
7043,
7544,
4164,
18,
10107,
2686,
273,
576,
31,
202,
202,
7043,
7544,
4164,
18,
10107,
2384,
273,
576,
31,
202,
202,
7043,
7544,
4164,
18,
18396,
18006,
273,
404,
31,
202,
202,
7043,
7544,
4164,
18,
17824,
18006,
273,
404,
31,
202,
202,
7043,
7544,
4164,
18,
2107,
3380,
273,
1725,
31,
202,
202,
9625,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
7544,
4164,
1841,
12,
474,
277,
60,
1333,
16,
509,
277,
61,
1333,
13,
288,
202,
202,
474,
277,
13220,
2686,
273,
576,
3462,
31,
202,
202,
474,
277,
13220,
2384,
273,
25430,
31,
202,
202,
759,
24614,
326,
2072,
2511,
603,
1492,
9502,
854,
358,
506,
12188,
18,
202,
202,
430,
16051,
70,
15651,
1526,
13,
288,
1082,
202,
77,
13220,
2686,
273,
277,
13220,
2686,
300,
5196,
31,
202,
202,
97,
202,
202,
430,
16051,
70,
2040,
1526,
13,
288,
1082,
202,
77,
13220,
2686,
273,
277,
13220,
2686,
300,
5196,
31,
202,
202,
97,
202,
202,
13220,
5972,
273,
394,
19433,
12,
2211,
18,
588,
13220,
9334,
348,
8588,
18,
9826,
2
] |
error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED);
|
error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED);
|
public DocumentType getDoctype() { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; }
|
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/b8535aab90f53557026b4cc2ea5220c402d57322/UnImplNode.java/clean/src/org/apache/xml/utils/UnImplNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4319,
559,
11165,
12387,
1435,
225,
288,
565,
555,
12,
4201,
668,
3805,
18,
654,
67,
7788,
67,
4400,
67,
21134,
1769,
565,
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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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4319,
559,
11165,
12387,
1435,
225,
288,
565,
555,
12,
4201,
668,
3805,
18,
654,
67,
7788,
67,
4400,
67,
21134,
1769,
565,
327,
446,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public IStatus run(IProgressMonitor monitor) { if (shutdown)// Cancelled on shutdown return Status.CANCEL_STATUS; while(updatesPending()){ try { Thread.sleep(100); } catch (InterruptedException e) { //Cancel and try again if there was an error schedule(); return Status.CANCEL_STATUS; } } monitor.beginTask( WorkbenchMessages.DecorationScheduler_CalculatingTask, 100); // will block if there are no resources to be decorated DecorationReference reference; monitor.worked(5); int workCount = 5; while ((reference = nextElement()) != null) { // Count up to 90 to give the appearance of updating if (workCount < 90) { monitor.worked(1); workCount++; } DecorationBuilder cacheResult = new DecorationBuilder(); monitor.subTask(reference.getSubTask()); // Don't decorate if there is already a pending result Object element = reference.getElement(); boolean elementIsCached = true; // Synchronize on the result lock as we want to // be sure that we do not try and decorate during // label update servicing. elementIsCached = resultCache.containsKey(element); if (elementIsCached) { pendingUpdate.add(element); } if (!elementIsCached) { // Calculate the decoration decoratorManager.getLightweightManager() .getDecorations(element, cacheResult); // If we should update regardless then put a result // anyways if (cacheResult.hasValue() || reference.shouldForceUpdate()) { // Synchronize on the result lock as we want to // be sure that we do not try and decorate during // label update servicing. // Note: resultCache and pendingUpdate modifications // must be done atomically. // Add the decoration even if it's empty in // order to indicate that the decoration is // ready resultCache .put(element, cacheResult.createResult()); // Add an update for only the original element // to // prevent multiple updates and clear the cache. pendingUpdate.add(element); } } // Only notify listeners when we have exhausted the // queue of decoration requests. if (awaitingDecoration.isEmpty()) { decorated(); } } monitor.worked(100 - workCount); monitor.done(); return Status.OK_STATUS; }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/9f91fdc102dc0bda0f133ae3012af277ee55d3ef/DecorationScheduler.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/DecorationScheduler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
45,
1482,
2681,
12,
45,
5491,
11415,
305,
535,
4089,
15329,
9506,
202,
430,
12,
15132,
13,
759,
21890,
265,
15132,
6862,
202,
2463,
1482,
18,
25268,
67,
8608,
31,
6862,
9506,
202,
17523,
12,
14703,
8579,
10756,
95,
6862,
25083,
202,
698,
95,
25083,
202,
3830,
18,
19607,
12,
6625,
1769,
6862,
202,
97,
14683,
12,
24485,
503,
73,
15329,
25083,
202,
759,
6691,
464,
698,
23095,
430,
1136,
359,
345,
304,
1636,
25083,
202,
10676,
5621,
25083,
202,
2463,
1482,
18,
25268,
67,
8608,
31,
6862,
202,
97,
9506,
202,
97,
9506,
202,
10259,
18,
10086,
2174,
12,
25083,
202,
2421,
22144,
5058,
18,
7859,
367,
11870,
67,
30238,
2174,
16,
25083,
202,
6625,
1769,
9506,
202,
759,
20194,
2629,
430,
18664,
834,
2135,
455,
477,
5710,
947,
73,
11880,
690,
9506,
202,
7859,
367,
426,
586,
1331,
822,
1134,
31,
9506,
202,
10259,
18,
1252,
329,
12,
25,
1769,
9506,
202,
474,
1252,
1380,
33,
25,
31,
9506,
202,
17523,
12443,
6180,
33,
4285,
1046,
10756,
5,
33,
2011,
15329,
6862,
202,
759,
1380,
3648,
83,
9349,
88,
717,
427,
546,
73,
438,
27668,
792,
5533,
1776,
6862,
202,
430,
12,
1252,
1380,
32,
9349,
15329,
25083,
202,
10259,
18,
1252,
329,
12,
21,
1769,
25083,
202,
1252,
1380,
9904,
31,
6862,
202,
97,
6862,
202,
7859,
367,
1263,
2493,
1253,
33,
2704,
7859,
367,
1263,
5621,
6862,
202,
10259,
18,
1717,
2174,
12,
6180,
18,
588,
1676,
2174,
10663,
6862,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
45,
1482,
2681,
12,
45,
5491,
11415,
305,
535,
4089,
15329,
9506,
202,
430,
12,
15132,
13,
759,
21890,
265,
15132,
6862,
202,
2463,
1482,
18,
25268,
67,
8608,
31,
6862,
9506,
202,
17523,
12,
14703,
8579,
10756,
95,
6862,
25083,
202,
698,
95,
25083,
202,
3830,
18,
19607,
12,
6625,
1769,
6862,
202,
97,
14683,
12,
24485,
503,
73,
15329,
25083,
202,
759,
6691,
464,
698,
23095,
430,
1136,
359,
345,
304,
1636,
25083,
202,
10676,
5621,
25083,
202,
2463,
1482,
18,
25268,
67,
8608,
31,
6862,
202,
97,
9506,
202,
97,
9506,
202,
10259,
18,
10086,
2174,
12,
25083,
202,
2421,
22144,
5058,
18,
7859,
367,
11870,
67,
30238,
2174,
16,
25083,
202,
6625,
2
] |
||
options.upgmaStartingTree = upgmaStartingTreeCheck.isSelected(); }
|
options.upgmaStartingTree = upgmaStartingTreeCheck.isSelected(); }
|
public void getOptions(BeautiOptions options) { if (settingOptions) return; if (treePriorCombo.getSelectedIndex() == 0) { options.nodeHeightPrior = BeautiOptions.CONSTANT; } else if (treePriorCombo.getSelectedIndex() == 1) { options.nodeHeightPrior = BeautiOptions.EXPONENTIAL; } else if (treePriorCombo.getSelectedIndex() == 2) { options.nodeHeightPrior = BeautiOptions.LOGISTIC; } else if (treePriorCombo.getSelectedIndex() == 3) { options.nodeHeightPrior = BeautiOptions.EXPANSION; } else if (treePriorCombo.getSelectedIndex() == 4) { options.nodeHeightPrior = BeautiOptions.SKYLINE; Integer groupCount = groupCountField.getValue(); if (groupCount != null) { options.skylineGroupCount = groupCount.intValue(); } else { options.skylineGroupCount = 5; } } else if (treePriorCombo.getSelectedIndex() == 5) { options.nodeHeightPrior = BeautiOptions.YULE; } else if (treePriorCombo.getSelectedIndex() == 6) { options.nodeHeightPrior = BeautiOptions.BIRTH_DEATH; Double samplingProportion = samplingProportionField.getValue(); if (samplingProportion != null) { options.birthDeathSamplingProportion = samplingProportion.doubleValue(); } else { options.birthDeathSamplingProportion = 1.0; } } else { throw new RuntimeException("Unexpected value from treePriorCombo"); } options.parameterization = parameterizationCombo.getSelectedIndex(); options.skylineModel = bayesianSkylineCombo.getSelectedIndex(); options.upgmaStartingTree = upgmaStartingTreeCheck.isSelected(); }
|
51824 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51824/1e32ed210b082e8b868c30911b1bb42c7fed4f71/PriorsPanel.java/buggy/src/dr/app/beauti/PriorsPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
9849,
12,
1919,
5854,
77,
1320,
702,
13,
288,
3639,
309,
261,
8920,
1320,
13,
327,
31,
3639,
309,
261,
3413,
25355,
16156,
18,
588,
7416,
1016,
1435,
422,
374,
13,
288,
5411,
702,
18,
2159,
2686,
25355,
273,
4823,
5854,
77,
1320,
18,
25878,
31,
3639,
289,
469,
309,
261,
3413,
25355,
16156,
18,
588,
7416,
1016,
1435,
422,
404,
13,
288,
5411,
702,
18,
2159,
2686,
25355,
273,
4823,
5854,
77,
1320,
18,
16109,
15624,
6365,
31,
3639,
289,
469,
309,
261,
3413,
25355,
16156,
18,
588,
7416,
1016,
1435,
422,
576,
13,
288,
5411,
702,
18,
2159,
2686,
25355,
273,
4823,
5854,
77,
1320,
18,
4842,
5511,
2871,
31,
3639,
289,
469,
309,
261,
3413,
25355,
16156,
18,
588,
7416,
1016,
1435,
422,
890,
13,
288,
5411,
702,
18,
2159,
2686,
25355,
273,
4823,
5854,
77,
1320,
18,
16109,
1258,
3686,
31,
3639,
289,
469,
309,
261,
3413,
25355,
16156,
18,
588,
7416,
1016,
1435,
422,
1059,
13,
288,
5411,
702,
18,
2159,
2686,
25355,
273,
4823,
5854,
77,
1320,
18,
11129,
61,
5997,
31,
5411,
2144,
1041,
1380,
273,
1041,
1380,
974,
18,
24805,
5621,
5411,
309,
261,
1655,
1380,
480,
446,
13,
288,
7734,
702,
18,
22921,
1369,
1114,
1380,
273,
1041,
1380,
18,
474,
620,
5621,
5411,
289,
469,
288,
7734,
702,
18,
22921,
1369,
1114,
1380,
273,
1381,
31,
5411,
289,
3639,
289,
469,
309,
261,
3413,
25355,
16156,
18,
588,
7416,
1016,
1435,
422,
1381,
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,
918,
9849,
12,
1919,
5854,
77,
1320,
702,
13,
288,
3639,
309,
261,
8920,
1320,
13,
327,
31,
3639,
309,
261,
3413,
25355,
16156,
18,
588,
7416,
1016,
1435,
422,
374,
13,
288,
5411,
702,
18,
2159,
2686,
25355,
273,
4823,
5854,
77,
1320,
18,
25878,
31,
3639,
289,
469,
309,
261,
3413,
25355,
16156,
18,
588,
7416,
1016,
1435,
422,
404,
13,
288,
5411,
702,
18,
2159,
2686,
25355,
273,
4823,
5854,
77,
1320,
18,
16109,
15624,
6365,
31,
3639,
289,
469,
309,
261,
3413,
25355,
16156,
18,
588,
7416,
1016,
1435,
422,
576,
13,
288,
5411,
702,
18,
2159,
2686,
25355,
273,
4823,
5854,
77,
1320,
18,
4842,
5511,
2871,
31,
3639,
289,
469,
309,
2
] |
stopRadioButtons.setEnabled(true);
|
stopOnErrorButton.setEnabled(true);
|
public void widgetSelected(SelectionEvent e) { if (defButton.getSelection() == true) { commandText.setEnabled(false); stopRadioButtons.setEnabled(true); } else { commandText.setEnabled(true); stopRadioButtons.setEnabled(false); } }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/c1d289e14d321f3ae46d5e7502730f784a338546/MakeTargetDialog.java/buggy/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/MakeTargetDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
9506,
202,
430,
261,
536,
3616,
18,
588,
6233,
1435,
422,
638,
13,
288,
6862,
202,
3076,
1528,
18,
542,
1526,
12,
5743,
1769,
6862,
202,
5681,
19984,
14388,
18,
542,
1526,
12,
3767,
1769,
9506,
202,
97,
469,
288,
6862,
202,
3076,
1528,
18,
542,
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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,
1875,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
9506,
202,
430,
261,
536,
3616,
18,
588,
6233,
1435,
422,
638,
13,
288,
6862,
202,
3076,
1528,
18,
542,
1526,
12,
5743,
1769,
6862,
202,
5681,
19984,
14388,
18,
542,
1526,
12,
3767,
1769,
9506,
202,
97,
469,
288,
6862,
202,
3076,
1528,
18,
542,
1526,
12,
3767,
1769,
6862,
202,
5681,
19984,
14388,
18,
542,
1526,
12,
5743,
1769,
9506,
202,
97,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
String s = executeExpr("[Gender].DefaultMember.Level.UniqueName"); Assert.assertEquals("[Gender].[(All)]", s);
|
assertExprReturns("[Gender].DefaultMember.Level.UniqueName", "[Gender].[(All)]");
|
public void testLevelUniqueName() { String s = executeExpr("[Gender].DefaultMember.Level.UniqueName"); Assert.assertEquals("[Gender].[(All)]", s); }
|
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/3041f930b5fc4bf6aa3339845b828801c1d8b366/FunctionTest.java/clean/testsrc/main/mondrian/olap/fun/FunctionTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2355,
6303,
461,
1435,
288,
3639,
514,
272,
273,
1836,
4742,
2932,
63,
43,
2345,
8009,
1868,
4419,
18,
2355,
18,
6303,
461,
8863,
3639,
5452,
18,
11231,
8867,
2932,
63,
43,
2345,
8009,
63,
12,
1595,
25887,
3113,
272,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2355,
6303,
461,
1435,
288,
3639,
514,
272,
273,
1836,
4742,
2932,
63,
43,
2345,
8009,
1868,
4419,
18,
2355,
18,
6303,
461,
8863,
3639,
5452,
18,
11231,
8867,
2932,
63,
43,
2345,
8009,
63,
12,
1595,
25887,
3113,
272,
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
] |
parse(0, in.getFilePointer(), in.length());
|
parse(0, 0, in.length());
|
protected void initFile(String id) throws FormatException, IOException { super.initFile(id); in = new RandomAccessFile(id, "r"); spork = true; offsets = new Vector(); chunkSizes = new Vector(); parse(0, 0, in.length()); numImages = offsets.size(); String pixelType = "int"; int bpp = bitsPerPixel / 8; bpp %= 4; if (bpp == 0) bpp++; bpp *= 8; pixelType += bpp; // The metadata store we're working with. MetadataStore store = getMetadataStore(); store.setPixels( new Integer(width), new Integer(height), new Integer(numImages), new Integer(bitsPerPixel < 40 ? 3 : 1), new Integer(1), pixelType, new Boolean(little), "XYCZT", null); // this handles the case where the data and resource forks have been // separated if (spork) { // first we want to check if there is a resource fork present // the resource fork will generally have the same name as the data fork, // but will have either the prefix "._" or the suffix ".qtr" // (or <filename>/rsrc on a Mac) String base = null; if (id.indexOf(".") != -1) { base = id.substring(0, id.lastIndexOf(".")); } else base = id; File f = new File(base + ".qtr"); if (f.exists()) { in = new RandomAccessFile(f.getAbsolutePath(), "r"); stripHeader(); parse(0, in.getFilePointer(), in.length()); numImages = offsets.size(); return; } else { f = new File(base.substring(0, base.lastIndexOf(File.separator) + 1) + "._" + base.substring(base.lastIndexOf(File.separator) + 1)); if (f.exists()) { in = new RandomAccessFile(f.getAbsolutePath(), "r"); stripHeader(); parse(0, in.getFilePointer(), in.length()); numImages = offsets.size(); return; } else { f = new File(base + "/rsrc"); if (f.exists()) { in = new RandomAccessFile(f.getAbsolutePath(), "r"); stripHeader(); parse(0, in.getFilePointer(), in.length()); numImages = offsets.size(); return; } } } throw new FormatException("QuickTime resource fork not found. " + " To avoid this issue, please flatten your QuickTime movies " + "before importing with Bio-Formats."); /* TODO // If we didn't find the resource fork, we can check to see if the file // uses a JPEG-compatible codec. In this case, we can do some guesswork // to read the file; otherwise we will fail gracefully. if (DEBUG) { System.out.println("Failed to find the QuickTime resource fork. " + "Attempting to proceed using only the data fork."); } // read through the file looking for occurences of the codec string numImages = 0; String codecString = new String(pixels, 4, 4); if (codecString.equals("mjpg")) codec = "mjpb"; else codec = codecString; if (codec.equals("mjpb") || codec.equals("jpeg")) { // grab the width, height, and bits per pixel from the first plane } else { throw new FormatException("Sorry, this QuickTime movie does not " + "contain a Resource Fork. Support for this case will be improved " + "as time permits. To avoid this issue, please flatten your " + "QuickTime movies before importing with Bio-Formats."); } boolean canAdd = true; for (int i=0; i<pixels.length-5; i++) { if (codecString.equals(new String(pixels, i, 4))) { if (canAdd) { offsets.add(new Integer(i - 4)); numImages++; canAdd = false; } else { canAdd = true; } i += 1000; } } */ } }
|
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/2df09d33bfdc966378aae0cc09cb503afb983bc2/QTReader.java/clean/loci/formats/in/QTReader.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,
316,
273,
394,
8072,
26933,
12,
350,
16,
315,
86,
8863,
565,
1694,
778,
273,
638,
31,
565,
8738,
273,
394,
5589,
5621,
565,
2441,
11923,
273,
394,
5589,
5621,
565,
1109,
12,
20,
16,
374,
16,
316,
18,
2469,
10663,
565,
818,
8946,
273,
8738,
18,
1467,
5621,
565,
514,
4957,
559,
273,
315,
474,
14432,
565,
509,
9107,
84,
273,
4125,
2173,
9037,
342,
1725,
31,
565,
9107,
84,
30582,
1059,
31,
565,
309,
261,
70,
11858,
422,
374,
13,
9107,
84,
9904,
31,
565,
9107,
84,
6413,
1725,
31,
565,
4957,
559,
1011,
9107,
84,
31,
565,
368,
1021,
1982,
1707,
732,
4565,
5960,
598,
18,
565,
6912,
2257,
1707,
273,
11159,
2257,
5621,
565,
1707,
18,
542,
18079,
12,
1377,
394,
2144,
12,
2819,
3631,
1377,
394,
2144,
12,
4210,
3631,
1377,
394,
2144,
12,
2107,
8946,
3631,
1377,
394,
2144,
12,
6789,
2173,
9037,
411,
8063,
692,
890,
294,
404,
3631,
1377,
394,
2144,
12,
21,
3631,
1377,
4957,
559,
16,
1377,
394,
3411,
12,
80,
7188,
3631,
1377,
315,
8546,
39,
62,
56,
3113,
1377,
446,
1769,
565,
368,
333,
7372,
326,
648,
1625,
326,
501,
471,
1058,
364,
7904,
1240,
2118,
565,
368,
8936,
565,
309,
261,
1752,
778,
13,
288,
1377,
368,
1122,
732,
2545,
358,
866,
309,
1915,
353,
279,
1058,
12515,
3430,
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,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
316,
273,
394,
8072,
26933,
12,
350,
16,
315,
86,
8863,
565,
1694,
778,
273,
638,
31,
565,
8738,
273,
394,
5589,
5621,
565,
2441,
11923,
273,
394,
5589,
5621,
565,
1109,
12,
20,
16,
374,
16,
316,
18,
2469,
10663,
565,
818,
8946,
273,
8738,
18,
1467,
5621,
565,
514,
4957,
559,
273,
315,
474,
14432,
565,
509,
9107,
84,
273,
4125,
2173,
9037,
342,
1725,
31,
565,
9107,
84,
30582,
1059,
31,
565,
309,
261,
70,
11858,
422,
374,
13,
9107,
84,
9904,
31,
565,
9107,
84,
6413,
1725,
31,
565,
4957,
559,
2
] |
public void visitFADD(FADD obj) { pushValue(Type.FLOAT); }
|
public void visitFADD(FADD obj) { consumeStack(obj); pushValue(Type.FLOAT); }
|
public void visitFADD(FADD obj) { pushValue(Type.FLOAT); }
|
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/9e55b32a478d9bf623212d8a8aa6e1446e58c8b5/TypeFrameModelingVisitor.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/TypeFrameModelingVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
42,
8355,
12,
42,
8355,
1081,
13,
6862,
202,
95,
1817,
620,
12,
559,
18,
15640,
1769,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
42,
8355,
12,
42,
8355,
1081,
13,
6862,
202,
95,
1817,
620,
12,
559,
18,
15640,
1769,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
SendEMailDialog semd = new SendEMailDialog(me.frame,screen);
|
SendEMailDialog semd = new SendEMailDialog(me.getParentView((Session)this),screen);
|
private void sendScreenEMail() { SendEMailDialog semd = new SendEMailDialog(me.frame,screen); }
|
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a61dbdd53c996e8a76dc4165e5010c2379355b80/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
918,
1366,
7956,
3375,
671,
1435,
288,
1377,
2479,
3375,
671,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
918,
1366,
7956,
3375,
671,
1435,
288,
1377,
2479,
3375,
671,
6353,
6111,
72,
273,
394,
2479,
3375,
671,
6353,
12,
3501,
18,
588,
3054,
1767,
12443,
2157,
13,
2211,
3631,
9252,
1769,
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
] |
WorkbenchJob openJob = new WorkbenchJob(ProgressMessages.ProgressMonitorFocusJobDialog_UserDialogJob) {
|
WorkbenchJob openJob = new WorkbenchJob( ProgressMessages.ProgressMonitorFocusJobDialog_UserDialogJob) {
|
public void show(Job jobToWatch,final Shell originatingShell) { job = jobToWatch; //after the dialog is opened we can get access to its monitor job.setProperty(IProgressConstants.PROPERTY_IN_DIALOG, Boolean.TRUE); ProgressManager.getInstance().progressFor(job).addProgressListener( getBlockingProgressMonitor()); setOpenOnRun(false); aboutToRun(); //start with a quick busy indicator. Lock the UI as we //want to preserve modality BusyIndicator.showWhile(PlatformUI.getWorkbench().getDisplay(), new Runnable() { public void run() { try { Thread .sleep(ProgressManagerUtil.SHORT_OPERATION_TIME); } catch (InterruptedException e) { //Do not log as this is a common operation from the lock listener } } }); WorkbenchJob openJob = new WorkbenchJob(ProgressMessages.ProgressMonitorFocusJobDialog_UserDialogJob) { /* * (non-Javadoc) * * @see org.eclipse.ui.progress.UIJob#runInUIThread(org.eclipse.core.runtime.IProgressMonitor) */ public IStatus runInUIThread(IProgressMonitor monitor) { //if the job is done at this point, we don't need the dialog if (job.getState() == Job.NONE) { finishedRun(); cleanUpFinishedJob(); return Status.CANCEL_STATUS; } //now open the progress dialog if nothing else is if (!ProgressManagerUtil .safeToOpen(ProgressMonitorFocusJobDialog.this,originatingShell)) { return Status.CANCEL_STATUS; } //Do not bother if the parent is disposed if (getParentShell() != null && getParentShell().isDisposed()) { return Status.CANCEL_STATUS; } open(); return Status.OK_STATUS; } }; openJob.setSystem(true); openJob.schedule(); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/35d15f71cf899f7392f14dee1944aa390f1a1388/ProgressMonitorFocusJobDialog.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressMonitorFocusJobDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2405,
12,
2278,
1719,
774,
5234,
16,
6385,
19433,
4026,
1776,
13220,
13,
288,
202,
202,
4688,
273,
1719,
774,
5234,
31,
202,
202,
759,
5205,
326,
6176,
353,
10191,
732,
848,
336,
2006,
358,
2097,
6438,
202,
202,
4688,
18,
542,
1396,
12,
45,
5491,
2918,
18,
9900,
67,
706,
67,
2565,
18683,
16,
3411,
18,
18724,
1769,
202,
202,
5491,
1318,
18,
588,
1442,
7675,
8298,
1290,
12,
4688,
2934,
1289,
5491,
2223,
12,
9506,
202,
588,
8728,
5491,
7187,
10663,
202,
202,
542,
3678,
1398,
1997,
12,
5743,
1769,
202,
202,
21071,
774,
1997,
5621,
202,
202,
759,
1937,
598,
279,
9549,
21697,
10664,
18,
3488,
326,
6484,
487,
732,
202,
202,
759,
17369,
358,
9420,
681,
7919,
202,
202,
29289,
13140,
18,
4500,
15151,
12,
8201,
5370,
18,
588,
2421,
22144,
7675,
588,
4236,
9334,
9506,
202,
2704,
10254,
1435,
288,
6862,
202,
482,
918,
1086,
1435,
288,
25083,
202,
698,
288,
6862,
1082,
202,
3830,
6862,
6862,
202,
18,
19607,
12,
5491,
1318,
1304,
18,
15993,
67,
22040,
67,
4684,
1769,
25083,
202,
97,
1044,
261,
24485,
503,
425,
13,
288,
6862,
1082,
202,
759,
3244,
486,
613,
487,
333,
353,
279,
2975,
1674,
628,
326,
2176,
2991,
25083,
202,
97,
6862,
202,
97,
9506,
202,
22938,
202,
202,
2421,
22144,
2278,
1696,
2278,
273,
394,
4147,
22144,
2278,
12,
10980,
5058,
18,
5491,
7187,
9233,
2278,
6353,
67,
1299,
6353,
2278,
13,
288,
1875,
202,
20308,
9506,
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,
2405,
12,
2278,
1719,
774,
5234,
16,
6385,
19433,
4026,
1776,
13220,
13,
288,
202,
202,
4688,
273,
1719,
774,
5234,
31,
202,
202,
759,
5205,
326,
6176,
353,
10191,
732,
848,
336,
2006,
358,
2097,
6438,
202,
202,
4688,
18,
542,
1396,
12,
45,
5491,
2918,
18,
9900,
67,
706,
67,
2565,
18683,
16,
3411,
18,
18724,
1769,
202,
202,
5491,
1318,
18,
588,
1442,
7675,
8298,
1290,
12,
4688,
2934,
1289,
5491,
2223,
12,
9506,
202,
588,
8728,
5491,
7187,
10663,
202,
202,
542,
3678,
1398,
1997,
12,
5743,
1769,
202,
202,
21071,
774,
1997,
5621,
202,
202,
759,
1937,
598,
279,
9549,
21697,
10664,
18,
3488,
326,
6484,
487,
732,
202,
202,
2
] |
try { while (true) {
|
while (true) { try {
|
public void run() { try { while (true) { MapOutputLocation loc = null; long size = -1; synchronized (scheduledCopies) { while (scheduledCopies.isEmpty()) { scheduledCopies.wait(); } loc = (MapOutputLocation)scheduledCopies.remove(0); } try { start(loc); pingTimer.progress(); size = copyOutput(loc, pingTimer); pingTimer.reset(); } catch (IOException e) { LOG.warn(reduceTask.getTaskId() + " copy failed: " + loc.getMapTaskId() + " from " + loc.getHost()); LOG.warn(StringUtils.stringifyException(e)); } finish(size); } } catch (InterruptedException e) { } // ALL DONE! }
|
55137 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55137/68bc787be3d35fb0628d5185b88a6cc2f0576a87/ReduceTaskRunner.java/buggy/src/java/org/apache/hadoop/mapred/ReduceTaskRunner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
1377,
775,
288,
3639,
1323,
261,
3767,
13,
288,
5375,
1635,
1447,
2735,
1515,
273,
446,
31,
1850,
1525,
963,
273,
300,
21,
31,
10792,
3852,
261,
23307,
15670,
13,
288,
5411,
1323,
261,
23307,
15670,
18,
291,
1921,
10756,
288,
2868,
9755,
15670,
18,
7048,
5621,
5411,
289,
5411,
1515,
273,
261,
863,
1447,
2735,
13,
23307,
15670,
18,
4479,
12,
20,
1769,
1850,
289,
1850,
775,
288,
5411,
787,
12,
1829,
1769,
5411,
10087,
6777,
18,
8298,
5621,
5411,
963,
273,
1610,
1447,
12,
1829,
16,
10087,
6777,
1769,
5411,
10087,
6777,
18,
6208,
5621,
1850,
289,
1044,
261,
14106,
425,
13,
288,
5411,
2018,
18,
8935,
12,
12498,
2174,
18,
588,
30182,
1435,
397,
315,
1610,
2535,
30,
315,
397,
13491,
1515,
18,
588,
863,
30182,
1435,
397,
315,
628,
315,
397,
1515,
18,
588,
2594,
10663,
5411,
2018,
18,
8935,
12,
780,
1989,
18,
25650,
503,
12,
73,
10019,
1850,
289,
1850,
4076,
12,
1467,
1769,
3639,
289,
1377,
289,
1044,
261,
24485,
503,
425,
13,
288,
289,
225,
368,
8061,
26346,
5,
565,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,
3639,
1323,
261,
3767,
13,
288,
5375,
1635,
1447,
2735,
1515,
273,
446,
31,
1850,
1525,
963,
273,
300,
21,
31,
10792,
3852,
261,
23307,
15670,
13,
288,
5411,
1323,
261,
23307,
15670,
18,
291,
1921,
10756,
288,
2868,
9755,
15670,
18,
7048,
5621,
5411,
289,
5411,
1515,
273,
261,
863,
1447,
2735,
13,
23307,
15670,
18,
4479,
12,
20,
1769,
1850,
289,
1850,
775,
288,
5411,
787,
12,
1829,
1769,
5411,
10087,
6777,
18,
8298,
5621,
5411,
963,
273,
1610,
1447,
12,
1829,
16,
10087,
6777,
1769,
5411,
10087,
6777,
18,
6208,
5621,
1850,
289,
1044,
261,
14106,
425,
13,
288,
5411,
2018,
18,
8935,
12,
12498,
2174,
18,
2
] |
public static void sync() throws InlinePragma {}
|
public static void sync() throws InlinePragma { }
|
public static void sync() throws InlinePragma {}
|
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/30524c62fa391922d51289c03075f714c772951c/Memory.java/buggy/MMTk/ext/vm/stub/org/mmtk/vm/Memory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
3792,
1435,
1216,
16355,
2050,
9454,
2618,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
3792,
1435,
1216,
16355,
2050,
9454,
2618,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
m_report.print(Messages.get().container(Messages.RPT_WRITE_CONTENT_1, resFolder1Name), I_CmsReport.C_FORMAT_NOTE);
|
m_report.print( Messages.get().container(Messages.RPT_WRITE_CONTENT_1, resFolder1Name), I_CmsReport.C_FORMAT_NOTE);
|
private void mergePages() throws CmsException { int size = m_foldersEqualnames.size(); if (size > 0) { m_report.println(Messages.get().container(Messages.RPT_MERGE_PAGES_BEGIN_1, String.valueOf(size)) , I_CmsReport.C_FORMAT_HEADLINE); String defaultLocale = CmsLocaleManager.getDefaultLocale().toString(); String locale2 = m_cms.readPropertyObject(getParamFolder2(), "locale", true).getValue(defaultLocale); // lock the source and the target folder m_report.print(Messages.get().container(Messages.RPT_LOCK_FOLDER_0), I_CmsReport.C_FORMAT_NOTE); m_report.print(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_ARGUMENT_1, getParamFolder1())); m_report.print(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_DOTS_0)); m_cms.lockResource(getParamFolder1()); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); m_report.print(Messages.get().container(Messages.RPT_LOCK_FOLDER_0), I_CmsReport.C_FORMAT_NOTE); m_report.print(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_ARGUMENT_1, getParamFolder2())); m_report.print(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_DOTS_0)); m_cms.lockResource(getParamFolder2()); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); // now loop through all collected resources int count = 1; Iterator i = m_foldersEqualnames.iterator(); while (i.hasNext()) { String resFolder1Name = (String)i.next(); try { String resFolder2Name = getResourceNameInOtherFolder(resFolder1Name, getParamFolder1(), getParamFolder2()); m_report.print(org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_SUCCESSION_2, String.valueOf(count++), String.valueOf(size)), I_CmsReport.C_FORMAT_NOTE); m_report.print(Messages.get().container(Messages.RPT_PROCESS_0), I_CmsReport.C_FORMAT_NOTE); m_report.print(org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_ARGUMENT_1, resFolder1Name)); m_report.print(Messages.get().container(Messages.RPT_DOUBLE_ARROW_0), I_CmsReport.C_FORMAT_NOTE); m_report.print(org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_ARGUMENT_1, resFolder2Name)); m_report.println(org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_DOTS_0)); // get the content of the resource in folder1 String locale = m_cms.readPropertyObject(resFolder1Name, "locale", true).getValue(defaultLocale); m_report.print(Messages.get().container(Messages.RPT_READ_CONTENT_2, resFolder1Name, locale), I_CmsReport.C_FORMAT_NOTE); CmsResource resFolder1 = m_cms.readResource(resFolder1Name, CmsResourceFilter.IGNORE_EXPIRATION); CmsFile fileFolder1 = CmsFile.upgrade(resFolder1, m_cms); CmsXmlPage pageFolder1 = CmsXmlPageFactory.unmarshal(m_cms, fileFolder1); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); // get the content of the resource in folder2 locale = m_cms.readPropertyObject(resFolder2Name, "locale", true).getValue(defaultLocale); m_report.print(Messages.get().container(Messages.RPT_READ_CONTENT_2, resFolder2Name, locale), I_CmsReport.C_FORMAT_NOTE); CmsResource resFolder2 = m_cms.readResource(resFolder2Name, CmsResourceFilter.IGNORE_EXPIRATION); CmsFile fileFolder2 = CmsFile.upgrade(resFolder2, m_cms); CmsXmlPage pageFolder2 = CmsXmlPageFactory.unmarshal(m_cms, fileFolder2); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); // now get all the text elements from the resource in folder 2 which match the the locale of folder 2 Locale loc = new Locale(locale2); List textElements2 = pageFolder2.getNames(loc); Iterator j = textElements2.iterator(); while (j.hasNext()) { String textElementName = (String) j.next(); m_report.print(Messages.get().container(Messages.RPT_PROCESS_TEXT_ELEM_1, textElementName), I_CmsReport.C_FORMAT_NOTE); // get the text element from the resource in folder 2... String textElement = pageFolder2.getValue(textElementName, loc).getStringValue(m_cms); // and set it in the resource in folder 1... // WARNING: An existing content will be overwritten! if (!pageFolder1.hasValue(textElementName, loc)) { pageFolder1.addValue(textElementName, loc); } pageFolder1.setStringValue(m_cms, textElementName, loc, textElement); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); } // the resource in folder 1 now has all text elements in both locales, so update it in the vfs m_report.print(Messages.get().container(Messages.RPT_WRITE_CONTENT_1, resFolder1Name), I_CmsReport.C_FORMAT_NOTE); fileFolder1.setContents(pageFolder1.marshal()); m_cms.writeFile(fileFolder1); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); // save all properties from the resource in folder2 m_report.print(Messages.get().container(Messages.RPT_READ_PROPERTIES_1, resFolder2Name), I_CmsReport.C_FORMAT_NOTE); List properties = m_cms.readPropertyObjects(resFolder2Name, false); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); // the next thing to do is to delete the old resource in folder 2 m_report.print(Messages.get().container(Messages.RPT_DELETE_PAGE_1, resFolder2Name), I_CmsReport.C_FORMAT_NOTE); m_cms.deleteResource(resFolder2Name, I_CmsConstants.C_DELETE_OPTION_PRESERVE_SIBLINGS); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); // copy a sibling of the resource from folder 1 to folder 2 m_report.print(Messages.get().container(Messages.RPT_COPY_2, resFolder1Name, resFolder2Name), I_CmsReport.C_FORMAT_NOTE); m_cms.copyResource(resFolder1Name, resFolder2Name, I_CmsConstants.C_COPY_AS_SIBLING); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); // restore the properties at the sibling in folder 2 m_report.print(Messages.get().container(Messages.RPT_RESORE_PROPERTIES_1, resFolder2Name), I_CmsReport.C_FORMAT_NOTE); m_cms.writePropertyObjects(resFolder2Name, properties); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); resFolder1 = null; resFolder2 = null; fileFolder1 = null; fileFolder2 = null; pageFolder1 = null; pageFolder2 = null; } catch (CmsException e) { m_report.println(e); } } // lock the source and the target folder m_report.print(Messages.get().container(Messages.RPT_UNLOCK_1, getParamFolder1()), I_CmsReport.C_FORMAT_NOTE); m_cms.unlockResource(getParamFolder1()); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); m_report.print(Messages.get().container(Messages.RPT_UNLOCK_1, getParamFolder2()), I_CmsReport.C_FORMAT_NOTE); m_cms.unlockResource(getParamFolder2()); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); m_report.println(Messages.get().container(Messages.RPT_MERGE_PAGES_END_0), I_CmsReport.C_FORMAT_HEADLINE); } }
|
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/41dcaa9d1a1b8f8fa6c1dd9a04fc8532eb83ebb7/CmsMergePages.java/buggy/src-modules/org/opencms/workplace/tools/content/CmsMergePages.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2691,
5716,
1435,
1216,
11228,
288,
3639,
509,
963,
273,
312,
67,
16064,
5812,
1973,
18,
1467,
5621,
3639,
309,
261,
1467,
405,
374,
13,
288,
13491,
312,
67,
6006,
18,
8222,
12,
5058,
18,
588,
7675,
3782,
12,
5058,
18,
54,
1856,
67,
20969,
7113,
67,
11219,
55,
67,
16061,
67,
21,
16,
514,
18,
1132,
951,
12,
1467,
3719,
269,
467,
67,
25702,
18,
39,
67,
7254,
67,
12458,
5997,
1769,
5411,
514,
30108,
273,
2149,
3916,
1318,
18,
588,
1868,
3916,
7675,
10492,
5621,
5411,
514,
2573,
22,
273,
312,
67,
6851,
18,
896,
1396,
921,
12,
588,
786,
3899,
22,
9334,
315,
6339,
3113,
638,
2934,
24805,
12,
1886,
3916,
1769,
4766,
15604,
368,
2176,
326,
1084,
471,
326,
1018,
3009,
5411,
312,
67,
6006,
18,
1188,
12,
5058,
18,
588,
7675,
3782,
12,
5058,
18,
54,
1856,
67,
6589,
67,
17357,
67,
20,
3631,
467,
67,
25702,
18,
39,
67,
7254,
67,
17857,
1769,
5411,
312,
67,
6006,
18,
1188,
12,
3341,
18,
556,
14645,
18,
6006,
18,
5058,
18,
588,
7675,
3782,
12,
7734,
2358,
18,
556,
14645,
18,
6006,
18,
5058,
18,
54,
1856,
67,
18311,
67,
21,
16,
9027,
3899,
21,
1435,
10019,
5411,
312,
67,
6006,
18,
1188,
12,
3341,
18,
556,
14645,
18,
6006,
18,
5058,
18,
588,
7675,
3782,
12,
7734,
2358,
18,
556,
14645,
18,
6006,
18,
5058,
18,
54,
1856,
67,
17591,
55,
67,
20,
10019,
5411,
312,
67,
6851,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2691,
5716,
1435,
1216,
11228,
288,
3639,
509,
963,
273,
312,
67,
16064,
5812,
1973,
18,
1467,
5621,
3639,
309,
261,
1467,
405,
374,
13,
288,
13491,
312,
67,
6006,
18,
8222,
12,
5058,
18,
588,
7675,
3782,
12,
5058,
18,
54,
1856,
67,
20969,
7113,
67,
11219,
55,
67,
16061,
67,
21,
16,
514,
18,
1132,
951,
12,
1467,
3719,
269,
467,
67,
25702,
18,
39,
67,
7254,
67,
12458,
5997,
1769,
5411,
514,
30108,
273,
2149,
3916,
1318,
18,
588,
1868,
3916,
7675,
10492,
5621,
5411,
514,
2573,
22,
273,
312,
67,
6851,
18,
896,
1396,
921,
12,
588,
786,
3899,
22,
9334,
315,
6339,
3113,
638,
2934,
24805,
12,
1886,
3916,
1769,
4766,
2
] |
synchronized (SynchronizedMap.this.sync) { return e.getValue(); } }
|
return e.getValue(); }
|
public Object getValue() { synchronized (SynchronizedMap.this.sync) { return e.getValue(); } }
|
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/47cce1a055a8b9980001e3157e04b9b6369a7b0e/Collections.java/buggy/java/util/Collections.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
15604,
1071,
1033,
2366,
1435,
288,
13491,
3852,
261,
55,
15666,
863,
18,
2211,
18,
8389,
13,
288,
12900,
327,
425,
18,
24805,
5621,
13491,
289,
8227,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
15604,
1071,
1033,
2366,
1435,
288,
13491,
3852,
261,
55,
15666,
863,
18,
2211,
18,
8389,
13,
288,
12900,
327,
425,
18,
24805,
5621,
13491,
289,
8227,
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
] |
throw new ServletException(sm.getString( "applicationDispatcher.specViolation.request"));
|
throw new ServletException(sm.getString("applicationDispatcher.specViolation.request"));
|
private void checkSameObjects() throws ServletException { ServletRequest originalRequest = ApplicationFilterChain.getLastServicedRequest(); ServletResponse originalResponse = ApplicationFilterChain.getLastServicedResponse(); // Some forwards, eg from valves will not set original values if (originalRequest == null || originalResponse == null) { return; } boolean same = false; ServletRequest dispatchedRequest = appRequest; while (!same) { if (originalRequest.equals(dispatchedRequest)) { same = true; } if (!same && dispatchedRequest instanceof ServletRequestWrapper) { dispatchedRequest = ((ServletRequestWrapper) dispatchedRequest).getRequest(); } else { break; } } if (!same) { throw new ServletException(sm.getString( "applicationDispatcher.specViolation.request")); } same = false; ServletResponse dispatchedResponse = appResponse; while (!same) { if (originalResponse.equals(dispatchedResponse)) { same = true; } if (!same && dispatchedResponse instanceof ServletResponseWrapper) { dispatchedResponse = ((ServletResponseWrapper) dispatchedResponse).getResponse(); } else { break; } } if (!same) { throw new ServletException(sm.getString( "applicationDispatcher.specViolation.response")); } }
|
48155 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48155/144a62199d7fa8bfdc26b6496909b07fde5f71dc/ApplicationDispatcher.java/clean/java/org/apache/catalina/core/ApplicationDispatcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
866,
8650,
4710,
1435,
1216,
16517,
288,
3639,
26470,
2282,
691,
273,
5411,
4257,
1586,
3893,
18,
588,
3024,
1179,
72,
691,
5621,
3639,
7971,
1064,
2282,
1064,
273,
5411,
4257,
1586,
3893,
18,
588,
3024,
1179,
72,
1064,
5621,
7734,
368,
10548,
24578,
16,
9130,
628,
1244,
3324,
903,
486,
444,
2282,
924,
540,
309,
261,
8830,
691,
422,
446,
747,
2282,
1064,
422,
446,
13,
288,
5411,
327,
31,
3639,
289,
7734,
1250,
1967,
273,
629,
31,
3639,
26470,
25513,
691,
273,
595,
691,
31,
7734,
1323,
16051,
14307,
13,
288,
5411,
309,
261,
8830,
691,
18,
14963,
12,
10739,
329,
691,
3719,
288,
7734,
1967,
273,
638,
31,
5411,
289,
5411,
309,
16051,
14307,
597,
25513,
691,
1276,
26470,
3611,
13,
288,
7734,
25513,
691,
273,
10792,
14015,
18572,
3611,
13,
25513,
691,
2934,
588,
691,
5621,
5411,
289,
469,
288,
7734,
898,
31,
5411,
289,
3639,
289,
3639,
309,
16051,
14307,
13,
288,
5411,
604,
394,
16517,
12,
4808,
18,
588,
780,
12,
10792,
315,
3685,
6681,
18,
2793,
11683,
18,
2293,
7923,
1769,
3639,
289,
7734,
1967,
273,
629,
31,
3639,
7971,
1064,
25513,
1064,
273,
595,
1064,
31,
7734,
1323,
16051,
14307,
13,
288,
5411,
309,
261,
8830,
1064,
18,
14963,
12,
10739,
27619,
3719,
288,
7734,
1967,
273,
638,
31,
5411,
289,
13491,
309,
16051,
14307,
597,
25513,
1064,
1276,
7971,
1064,
3611,
13,
288,
7734,
25513,
1064,
273,
10792,
14015,
29910,
3611,
13,
25513,
1064,
2934,
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,
866,
8650,
4710,
1435,
1216,
16517,
288,
3639,
26470,
2282,
691,
273,
5411,
4257,
1586,
3893,
18,
588,
3024,
1179,
72,
691,
5621,
3639,
7971,
1064,
2282,
1064,
273,
5411,
4257,
1586,
3893,
18,
588,
3024,
1179,
72,
1064,
5621,
7734,
368,
10548,
24578,
16,
9130,
628,
1244,
3324,
903,
486,
444,
2282,
924,
540,
309,
261,
8830,
691,
422,
446,
747,
2282,
1064,
422,
446,
13,
288,
5411,
327,
31,
3639,
289,
7734,
1250,
1967,
273,
629,
31,
3639,
26470,
25513,
691,
273,
595,
691,
31,
7734,
1323,
16051,
14307,
13,
288,
5411,
309,
261,
8830,
691,
18,
14963,
12,
10739,
329,
691,
3719,
288,
7734,
1967,
273,
638,
31,
5411,
289,
5411,
309,
16051,
2
] |
} tree.movedFile(source, destination); destination.refreshLocal(IResource.DEPTH_ZERO, monitor); } catch (SVNClientException e) { throw SVNException.wrapException(e); } catch (TeamException e) { throw SVNException.wrapException(e); } catch (CoreException e) { throw SVNException.wrapException(e); } finally { OperationManager.getInstance().endOperation(); }
|
svnClient.addFile(destination.getLocation().toFile()); svnClient.remove( new File[] { source.getLocation().toFile() }, true); tree.deletedFile(source); } else { svnClient.move(source.getLocation().toFile(), destination .getLocation().toFile(), true);
|
public boolean moveFile(IResourceTree tree, IFile source, IFile destination, int updateFlags, IProgressMonitor monitor) { try { ISVNLocalFile resource = new LocalFile(source); if (!resource.isManaged()) return false; // pass ISVNClientAdapter svnClient = resource.getRepository() .getSVNClient(); monitor.beginTask(null, 1000); monitor.setTaskName("Working.."); boolean force = (updateFlags & IResource.FORCE) != 0; boolean keepHistory = (updateFlags & IResource.KEEP_HISTORY) != 0; // If the file is not in sync with the local file system and force // is false, // then signal that we have an error. if (!force && !tree.isSynchronized(source, IResource.DEPTH_INFINITE)) { String message = org.eclipse.core.internal.utils.Policy .bind( "localstore.resourceIsOutOfSync", source.getFullPath().toString()); //$NON-NLS-1$ IStatus status = new ResourceStatus( IResourceStatus.OUT_OF_SYNC_LOCAL, source.getFullPath(), message); tree.failed(status); return true; // we attempted even if we failed } // Add the file contents to the local history if requested by the // user. if (keepHistory) tree.addToLocalHistory(source); try { OperationManager.getInstance().beginOperation(svnClient); // add destination directory to version control if necessary // see bug #15 if (!SVNWorkspaceRoot.getSVNFolderFor(destination.getParent()) .isManaged()) { SVNTeamProvider provider = (SVNTeamProvider) RepositoryProvider .getProvider(destination.getProject()); provider.add(new IResource[]{destination.getParent()}, IResource.DEPTH_ZERO, new NullProgressMonitor()); } // force is set to true because when we rename (refactor) a // java class, the file is modified before being moved // A modified file cannot be moved without force if(SVNWorkspaceRoot.getSVNFileFor(source).getStatus().isAdded()){ //can't move a file that's in state added, so copy to new location //remove old location, add new location //fix for issue 87 -mml source.copy(destination.getFullPath(), force, monitor); svnClient.addFile(destination.getLocation().toFile()); svnClient.remove(new File[]{source.getLocation().toFile()},true); tree.deletedFile(source); }else{ svnClient.move(source.getLocation().toFile(), destination .getLocation().toFile(), true); } //movedFile must be done before endOperation because // destination file must not already exist in the workspace // resource tree. tree.movedFile(source, destination); destination.refreshLocal(IResource.DEPTH_ZERO, monitor); } catch (SVNClientException e) { throw SVNException.wrapException(e); } catch (TeamException e) { throw SVNException.wrapException(e); } catch (CoreException e) { throw SVNException.wrapException(e); } finally { OperationManager.getInstance().endOperation(); } } catch (SVNException e) { tree.failed(new org.eclipse.core.runtime.Status( org.eclipse.core.runtime.Status.ERROR, "SUBCLIPSE", 0, "Error move file", e)); e.printStackTrace(); return true; // we attempted } finally { monitor.done(); } return true; }
|
6016 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6016/d9753466f2b16a2d61f18e2ed7b37335853cfb44/SVNMoveDeleteHook.java/buggy/core/src/org/tigris/subversion/subclipse/core/resources/SVNMoveDeleteHook.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3635,
812,
12,
45,
1420,
2471,
2151,
16,
467,
812,
1084,
16,
1082,
202,
45,
812,
2929,
16,
509,
1089,
5094,
16,
467,
5491,
7187,
6438,
13,
288,
202,
202,
698,
288,
1082,
202,
5127,
58,
50,
2042,
812,
1058,
273,
394,
3566,
812,
12,
3168,
1769,
1082,
202,
430,
16051,
3146,
18,
291,
10055,
10756,
9506,
202,
2463,
629,
31,
368,
1342,
1082,
202,
5127,
58,
50,
1227,
4216,
5893,
82,
1227,
273,
1058,
18,
588,
3305,
1435,
6862,
202,
18,
588,
23927,
50,
1227,
5621,
1082,
202,
10259,
18,
10086,
2174,
12,
2011,
16,
4336,
1769,
1082,
202,
10259,
18,
542,
2174,
461,
2932,
14836,
838,
8863,
1082,
202,
6494,
2944,
273,
261,
2725,
5094,
473,
467,
1420,
18,
27817,
13,
480,
374,
31,
1082,
202,
6494,
3455,
5623,
273,
261,
2725,
5094,
473,
467,
1420,
18,
6859,
10541,
67,
31746,
13,
480,
374,
31,
1082,
202,
759,
971,
326,
585,
353,
486,
316,
3792,
598,
326,
1191,
585,
2619,
471,
2944,
1082,
202,
759,
353,
629,
16,
1082,
202,
759,
1508,
4277,
716,
732,
1240,
392,
555,
18,
1082,
202,
430,
16051,
5734,
6862,
202,
10,
10,
401,
3413,
18,
291,
55,
15666,
12,
3168,
16,
467,
1420,
18,
27479,
67,
706,
7263,
5398,
3719,
288,
9506,
202,
780,
883,
273,
2358,
18,
20416,
18,
3644,
18,
7236,
18,
5471,
18,
2582,
25083,
202,
18,
4376,
12,
6862,
9506,
202,
6,
3729,
2233,
18,
3146,
2520,
11224,
4047,
3113,
1084,
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,
3635,
812,
12,
45,
1420,
2471,
2151,
16,
467,
812,
1084,
16,
1082,
202,
45,
812,
2929,
16,
509,
1089,
5094,
16,
467,
5491,
7187,
6438,
13,
288,
202,
202,
698,
288,
1082,
202,
5127,
58,
50,
2042,
812,
1058,
273,
394,
3566,
812,
12,
3168,
1769,
1082,
202,
430,
16051,
3146,
18,
291,
10055,
10756,
9506,
202,
2463,
629,
31,
368,
1342,
1082,
202,
5127,
58,
50,
1227,
4216,
5893,
82,
1227,
273,
1058,
18,
588,
3305,
1435,
6862,
202,
18,
588,
23927,
50,
1227,
5621,
1082,
202,
10259,
18,
10086,
2174,
12,
2011,
16,
4336,
1769,
1082,
202,
10259,
18,
542,
2174,
461,
2932,
14836,
838,
8863,
1082,
202,
6494,
2944,
273,
261,
2
] |
ValueNumberAnalysis analysis = new ValueNumberAnalysis(methodGen, dfs);
|
ValueNumberAnalysis analysis = new ValueNumberAnalysis(methodGen, dfs, lookupFailureCallback);
|
public ValueNumberDataflow getValueNumberDataflow(Method method) throws DataflowAnalysisException, CFGBuilderException { ValueNumberDataflow vnaDataflow = vnaDataflowMap.get(method); if (vnaDataflow == null) { MethodGen methodGen = getMethodGen(method); DepthFirstSearch dfs = getDepthFirstSearch(method); ValueNumberAnalysis analysis = new ValueNumberAnalysis(methodGen, dfs); CFG cfg = getCFG(method); vnaDataflow = new ValueNumberDataflow(cfg, analysis); vnaDataflow.execute(); vnaDataflowMap.put(method, vnaDataflow); } return vnaDataflow; }
|
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/0cb8b5532a501fb30117ec4a7118ae06a10c5f62/ClassContext.java/clean/findbugs/src/java/edu/umd/cs/findbugs/ba/ClassContext.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1445,
1854,
751,
2426,
2366,
1854,
751,
2426,
12,
1305,
707,
13,
1216,
1910,
2426,
9418,
503,
16,
7577,
1263,
503,
288,
202,
202,
620,
1854,
751,
2426,
331,
6582,
751,
2426,
273,
331,
6582,
751,
2426,
863,
18,
588,
12,
2039,
1769,
202,
202,
430,
261,
90,
6582,
751,
2426,
422,
446,
13,
288,
1082,
202,
1305,
7642,
707,
7642,
273,
6272,
7642,
12,
2039,
1769,
1082,
202,
6148,
3759,
2979,
13868,
273,
31038,
3759,
2979,
12,
2039,
1769,
1082,
202,
620,
1854,
9418,
6285,
273,
394,
1445,
1854,
9418,
12,
2039,
7642,
16,
13868,
1769,
1082,
202,
19727,
2776,
273,
1927,
42,
43,
12,
2039,
1769,
1082,
202,
90,
6582,
751,
2426,
273,
394,
1445,
1854,
751,
2426,
12,
7066,
16,
6285,
1769,
1082,
202,
90,
6582,
751,
2426,
18,
8837,
5621,
1082,
202,
90,
6582,
751,
2426,
863,
18,
458,
12,
2039,
16,
331,
6582,
751,
2426,
1769,
202,
202,
97,
202,
202,
2463,
331,
6582,
751,
2426,
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,
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582,
751,
2426,
863,
18,
588,
12,
2039,
1769,
202,
202,
430,
261,
90,
6582,
751,
2426,
422,
446,
13,
288,
1082,
202,
1305,
7642,
707,
7642,
273,
6272,
7642,
12,
2039,
1769,
1082,
202,
6148,
3759,
2979,
13868,
273,
31038,
3759,
2979,
12,
2039,
1769,
1082,
202,
620,
1854,
9418,
6285,
273,
394,
1445,
1854,
9418,
12,
2039,
7642,
16,
13868,
1769,
1082,
202,
19727,
2776,
273,
1927,
42,
43,
12,
2039,
1769,
1082,
202,
90,
6582,
751,
2426,
273,
394,
2
] |
BugzillaReportSubmitForm bugReportPostHandler;
|
BugzillaReportSubmitForm form;
|
public static BugzillaReportSubmitForm makeExistingBugPost(RepositoryTaskData bug, String repositoryUrl, String userName, String password, Proxy proxySettings, Set<String> removeCC, String characterEncoding) throws UnsupportedEncodingException { BugzillaReportSubmitForm bugReportPostHandler; if (characterEncoding != null) { bugReportPostHandler = new BugzillaReportSubmitForm(characterEncoding); } else { bugReportPostHandler = new BugzillaReportSubmitForm(BugzillaPlugin.ENCODING_UTF_8); } // setDefaultCCValue(bug, userName); setConnectionsSettings(bugReportPostHandler, repositoryUrl, userName, password, proxySettings, PROCESS_BUG_CGI); // go through all of the attributes and add them to the bug post for (Iterator<RepositoryTaskAttribute> it = bug.getAttributes().iterator(); it.hasNext();) { RepositoryTaskAttribute a = it.next(); if (a.getID().equals(BugzillaReportElement.CC.getKeyString()) || a.getID().equals(BugzillaReportElement.REPORTER.getKeyString()) || a.getID().equals(BugzillaReportElement.ASSIGNED_TO.getKeyString()) || a.getID().equals(BugzillaReportElement.CREATION_TS.getKeyString())) { continue; } if (a != null && a.getID() != null && a.getID().compareTo("") != 0 && !a.isHidden()) { String value = a.getValue(); // System.err.println(a.getID()+" "+a.getValue()); // add the attribute to the bug post bugReportPostHandler.add(a.getID(), value != null ? value : ""); } else if (a != null && a.getID() != null && a.getID().compareTo("") != 0 && a.isHidden()) { // we have a hidden attribute and we should send it back. // System.err.println(a.getID()+" "+a.getValue()); String value = a.getValue(); // Strip off timezone information // 149513: Constant bugzilla mid-air collisions if (a.getID().equals(BugzillaReportElement.DELTA_TS.getKeyString()) && value != null) { value = stripTimeZone(value); } bugReportPostHandler.add(a.getID(), value); } } bugReportPostHandler.add("cc", "somewhere@nowhere.com"); // when posting the bug id is encoded in a hidden field named 'id' bugReportPostHandler.add(KEY_ID, bug.getAttributeValue(BugzillaReportElement.BUG_ID.getKeyString())); // add the operation to the bug post RepositoryOperation o = bug.getSelectedOperation(); if (o == null) bugReportPostHandler.add(KEY_KNOB, VAL_NONE); else { bugReportPostHandler.add(KEY_KNOB, o.getKnobName()); if (o.hasOptions()) { String sel = o.getOptionValue(o.getOptionSelection()); bugReportPostHandler.add(o.getOptionName(), sel); } else if (o.isInput()) { String sel = o.getInputValue(); bugReportPostHandler.add(o.getInputName(), sel); } } bugReportPostHandler.add(KEY_FORM_NAME, VAL_PROCESS_BUG); if (bug.getAttribute(BugzillaReportElement.SHORT_DESC.getKeyString()) != null) { bugReportPostHandler.add(KEY_SHORT_DESC, bug.getAttribute(BugzillaReportElement.SHORT_DESC.getKeyString()) .getValue()); } if (bug.getNewComment().length() != 0) { bugReportPostHandler.add(KEY_COMMENT, bug.getNewComment()); } if (removeCC != null && removeCC.size() > 0) { String[] s = new String[removeCC.size()]; bugReportPostHandler.add(KEY_CC, toCommaSeparatedList(removeCC.toArray(s))); bugReportPostHandler.add(KEY_REMOVECC, VAL_TRUE); } bugReportPostHandler.attachment = bug.getNewAttachment(); return bugReportPostHandler; }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/882c44a389a07bdae03037a4deadb1c1bc05cdc8/BugzillaReportSubmitForm.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaReportSubmitForm.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
16907,
15990,
4820,
11620,
1204,
1221,
9895,
19865,
3349,
12,
3305,
2174,
751,
7934,
16,
514,
3352,
1489,
16,
1082,
202,
780,
12065,
16,
514,
2201,
16,
7659,
2889,
2628,
16,
1000,
32,
780,
34,
1206,
6743,
16,
514,
3351,
4705,
13,
1082,
202,
15069,
15367,
288,
202,
202,
19865,
15990,
4820,
11620,
1204,
7934,
4820,
3349,
1503,
31,
202,
202,
430,
261,
11560,
4705,
480,
446,
13,
288,
1082,
202,
925,
4820,
3349,
1503,
273,
394,
16907,
15990,
4820,
11620,
1204,
12,
11560,
4705,
1769,
202,
202,
97,
469,
288,
1082,
202,
925,
4820,
3349,
1503,
273,
394,
16907,
15990,
4820,
11620,
1204,
12,
19865,
15990,
3773,
18,
14672,
67,
5159,
67,
28,
1769,
202,
202,
97,
202,
202,
759,
9277,
6743,
620,
12,
925,
16,
12065,
1769,
202,
202,
542,
9314,
2628,
12,
925,
4820,
3349,
1503,
16,
3352,
1489,
16,
12065,
16,
2201,
16,
2889,
2628,
16,
20647,
67,
4827,
67,
39,
13797,
1769,
202,
202,
759,
1960,
3059,
777,
434,
326,
1677,
471,
527,
2182,
358,
326,
7934,
1603,
202,
202,
1884,
261,
3198,
32,
3305,
2174,
1499,
34,
518,
273,
7934,
18,
588,
2498,
7675,
9838,
5621,
518,
18,
5332,
2134,
5621,
13,
288,
1082,
202,
3305,
2174,
1499,
279,
273,
518,
18,
4285,
5621,
1082,
202,
430,
261,
69,
18,
588,
734,
7675,
14963,
12,
19865,
15990,
4820,
1046,
18,
6743,
18,
588,
653,
780,
10756,
6862,
202,
20081,
279,
18,
588,
734,
7675,
14963,
12,
19865,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
16907,
15990,
4820,
11620,
1204,
1221,
9895,
19865,
3349,
12,
3305,
2174,
751,
7934,
16,
514,
3352,
1489,
16,
1082,
202,
780,
12065,
16,
514,
2201,
16,
7659,
2889,
2628,
16,
1000,
32,
780,
34,
1206,
6743,
16,
514,
3351,
4705,
13,
1082,
202,
15069,
15367,
288,
202,
202,
19865,
15990,
4820,
11620,
1204,
7934,
4820,
3349,
1503,
31,
202,
202,
430,
261,
11560,
4705,
480,
446,
13,
288,
1082,
202,
925,
4820,
3349,
1503,
273,
394,
16907,
15990,
4820,
11620,
1204,
12,
11560,
4705,
1769,
202,
202,
97,
469,
288,
1082,
202,
925,
4820,
3349,
1503,
273,
394,
16907,
15990,
4820,
11620,
1204,
12,
19865,
15990,
3773,
18,
14672,
67,
5159,
67,
28,
1769,
2
] |
else if ( (executions/iteration)*100 <= getPercentThroughput() )
|
else if ( ((float)executions/iteration)*100 <= getPercentThroughputAsFloat() )
|
public boolean canExecute() { if (returnTrue) return true; int executions, iterations; boolean retval = false; executions = getExecutions(); iterations = getIteration(); if ( getStyle() == BYNUMBER ) { if ( executions < getMaxThroughput() ) { retval = true; } } else { if (iteration==0 && getPercentThroughput()>0) retval = true; else if ( (executions/iteration)*100 <= getPercentThroughput() ) retval = true; } if (retval) { returnTrue = true; increaseExecutions(); } return retval; }
|
50179 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50179/2dd71f5312e21ddd32750913cfa2757294487393/ThroughputController.java/clean/src/components/org/apache/jmeter/control/ThroughputController.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
848,
5289,
1435,
225,
202,
95,
202,
202,
430,
261,
2463,
5510,
13,
1082,
202,
2463,
638,
31,
202,
202,
474,
26845,
16,
11316,
31,
202,
202,
6494,
5221,
273,
629,
31,
202,
202,
4177,
6170,
273,
336,
15875,
5621,
202,
202,
19330,
273,
336,
10795,
5621,
202,
202,
430,
261,
14210,
1435,
422,
6953,
9931,
262,
202,
202,
95,
1875,
202,
430,
261,
26845,
411,
7288,
24478,
1435,
262,
1082,
202,
95,
9506,
202,
18341,
273,
638,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
3196,
202,
95,
1082,
202,
430,
261,
16108,
631,
20,
597,
22612,
2998,
24478,
1435,
34,
20,
13,
9506,
202,
18341,
273,
638,
31,
1082,
202,
12107,
309,
261,
261,
4177,
6170,
19,
16108,
17653,
6625,
1648,
22612,
2998,
24478,
1435,
262,
9506,
202,
18341,
273,
638,
31,
202,
202,
97,
202,
202,
430,
261,
18341,
13,
202,
202,
95,
1082,
202,
2463,
5510,
273,
638,
31,
1082,
202,
267,
11908,
15875,
5621,
202,
202,
97,
202,
202,
2463,
5221,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
5510,
13,
1082,
202,
2463,
638,
31,
202,
202,
474,
26845,
16,
11316,
31,
202,
202,
6494,
5221,
273,
629,
31,
202,
202,
4177,
6170,
273,
336,
15875,
5621,
202,
202,
19330,
273,
336,
10795,
5621,
202,
202,
430,
261,
14210,
1435,
422,
6953,
9931,
262,
202,
202,
95,
1875,
202,
430,
261,
26845,
411,
7288,
24478,
1435,
262,
1082,
202,
95,
9506,
202,
18341,
273,
638,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
3196,
202,
95,
1082,
202,
430,
261,
16108,
631,
20,
597,
22612,
2998,
24478,
1435,
34,
20,
13,
9506,
202,
18341,
273,
638,
31,
1082,
202,
12107,
2
] |
if (property != null && modifications.size() > 0) { properties.put(property, "true");
|
if (modifications.size() > 0) { properties.modificationFound();
|
public List getModifications(Date lastBuild, Date now) { List modifications = new ArrayList(); Process p = null; try { LOG.info("Getting modifications for " + vssPath); p = Runtime.getRuntime().exec(getCommandLine(lastBuild, now), VSSHelper.loadVSSEnvironment(serverPath)); logErrorStream(p.getErrorStream()); p.waitFor(); parseTempFile(modifications); } catch (Exception e) { // TODO: Revisit this when ThreadQueue is more stable. Would prefer throwing a RuntimeException. LOG.error("Problem occurred while attempting to get VSS modifications. Returning empty modifications.", e); return Collections.EMPTY_LIST; } finally { if (p != null) { try { p.getInputStream().close(); p.getOutputStream().close(); p.getErrorStream().close(); } catch (IOException e) { LOG.error("Could not close process streams. Destroying anyway...", e); } finally { if (p != null) { p.destroy(); } } } } if (property != null && modifications.size() > 0) { properties.put(property, "true"); } return modifications; }
|
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/9d75e2a7ce76b395549de6ca3875fafce57946c9/Vss.java/buggy/main/src/net/sourceforge/cruisecontrol/sourcecontrols/Vss.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
336,
28340,
12,
1626,
1142,
3116,
16,
2167,
2037,
13,
288,
3639,
987,
17953,
273,
394,
2407,
5621,
3639,
4389,
293,
273,
446,
31,
3639,
775,
288,
5411,
2018,
18,
1376,
2932,
19213,
17953,
364,
315,
397,
331,
1049,
743,
1769,
5411,
293,
273,
2509,
18,
588,
5576,
7675,
4177,
12,
588,
21391,
12,
2722,
3116,
16,
2037,
3631,
776,
1260,
2276,
18,
945,
58,
1260,
5494,
12,
3567,
743,
10019,
5411,
20638,
1228,
12,
84,
18,
588,
668,
1228,
10663,
5411,
293,
18,
7048,
1290,
5621,
5411,
1109,
20181,
12,
1711,
6640,
1769,
3639,
289,
1044,
261,
503,
425,
13,
288,
5411,
368,
2660,
30,
868,
11658,
333,
1347,
4884,
3183,
353,
1898,
14114,
18,
225,
678,
1006,
13256,
19440,
279,
3235,
18,
5411,
2018,
18,
1636,
2932,
13719,
7841,
1323,
15600,
358,
336,
776,
1260,
17953,
18,
225,
2000,
310,
1008,
17953,
1199,
16,
425,
1769,
5411,
327,
5737,
18,
13625,
67,
7085,
31,
3639,
289,
3095,
288,
5411,
309,
261,
84,
480,
446,
13,
288,
7734,
775,
288,
10792,
293,
18,
588,
4348,
7675,
4412,
5621,
10792,
293,
18,
588,
4632,
7675,
4412,
5621,
10792,
293,
18,
588,
668,
1228,
7675,
4412,
5621,
7734,
289,
1044,
261,
14106,
425,
13,
288,
10792,
2018,
18,
1636,
2932,
4445,
486,
1746,
1207,
8205,
18,
225,
15701,
310,
13466,
7070,
16,
425,
1769,
7734,
289,
3095,
288,
10792,
309,
261,
84,
480,
446,
13,
288,
13491,
293,
18,
11662,
5621,
10792,
289,
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,
1071,
987,
336,
28340,
12,
1626,
1142,
3116,
16,
2167,
2037,
13,
288,
3639,
987,
17953,
273,
394,
2407,
5621,
3639,
4389,
293,
273,
446,
31,
3639,
775,
288,
5411,
2018,
18,
1376,
2932,
19213,
17953,
364,
315,
397,
331,
1049,
743,
1769,
5411,
293,
273,
2509,
18,
588,
5576,
7675,
4177,
12,
588,
21391,
12,
2722,
3116,
16,
2037,
3631,
776,
1260,
2276,
18,
945,
58,
1260,
5494,
12,
3567,
743,
10019,
5411,
20638,
1228,
12,
84,
18,
588,
668,
1228,
10663,
5411,
293,
18,
7048,
1290,
5621,
5411,
1109,
20181,
12,
1711,
6640,
1769,
3639,
289,
1044,
261,
503,
425,
13,
288,
5411,
368,
2660,
30,
868,
11658,
333,
1347,
4884,
3183,
353,
1898,
14114,
18,
2
] |
boolean toolFound = false;
|
ITool tool = null; if (resConfig != null) { ITool[] tools = resConfig.getToolsToInvoke(); if (tools != null && tools.length > 0) { tool = tools[0]; } }
|
protected void addFragmentMakefileEntriesForSource (LinkedHashMap buildVarToRuleStringMap, StringBuffer ruleBuffer, IFolder folder, String relativePath, IResource resource, IPath sourceLocation, String varName, boolean generatedSource) { // Determine which tool, if any, builds files with this extension String ext = sourceLocation.getFileExtension(); boolean toolFound = false; for (int j=0; j<buildTools.length; j++) { if (buildTools[j].buildsFileType(ext)) { toolFound = true; ITool tool = buildTools[j]; // look for the extension in the map StringBuffer bufferForExtension = new StringBuffer(); if (varName == null) { varName = getSourceMacroName(ext).toString(); // Add the resource to the list of all resources associated with a variable. List varList = (List)buildSrcVars.get(varName); // Since we don't know how these files will be used, we store them using a "location" // path rather than a relative path varList.add(sourceLocation); } else { // Add the resource to the list of all resources associated with a variable. List varList = (List)buildOutVars.get(varName); if (varList != null) { // Since we don't know how these files will be used, we store them using a "location" // path rather than a relative path varList.add(sourceLocation); } } if (!buildVarToRuleStringMap.containsKey(varName)) { // TODO - is this an error? continue; } // Add the resource name to the makefile line that adds resources to the build variable addMacroAdditionFile(buildVarToRuleStringMap, varName, relativePath, sourceLocation, generatedSource); // Generate the rule to build this source file IInputType primaryInputType = tool.getPrimaryInputType(); IInputType inputType = tool.getInputType(ext); if ((primaryInputType != null && !primaryInputType.getMultipleOfType()) || (inputType == null && !(tool == info.getToolFromOutputExtension(buildTargetExt)))) { // Try to add the rule for the file StringBuffer generatedDepFile = new StringBuffer(); Vector generatedOutputs = new Vector(); addRuleForSource(relativePath, ruleBuffer, resource, sourceLocation, generatedSource, generatedDepFile, generatedOutputs); // If the rule generates a dependency file, add the file to the DEPS variable if (generatedDepFile.length() > 0) { addMacroAdditionFile(buildVarToRuleStringMap, DEPS_MACRO, generatedDepFile.toString()); } // If the generated outputs of this tool are input to another tool, // 1. add the output to the appropriate macro // 2. If the tool does not have multipleOfType input, generate the rule. IOutputType outType = tool.getPrimaryOutputType(); String buildVariable = null; if (outType != null) { buildVariable = outType.getBuildVariable(); } else { // For support of pre-CDT 3.0 integrations. buildVariable = OBJS_MACRO; } for (int k=0; k<generatedOutputs.size(); k++) { IPath generatedOutput; if (((IPath)generatedOutputs.get(k)).isAbsolute()) { // TODO: Should we use relative paths when possible (e.g., see MbsMacroSupplier.calculateRelPath) generatedOutput = (IPath)generatedOutputs.get(k); } else { generatedOutput = project.getLocation().append(getBuildWorkingDir()).append((IPath)generatedOutputs.get(k)); } // If this file has an absolute path, then the generateOutputResource will not be correct // because the file is not under the project. We use this resource in the calls to the dependency generator IResource generateOutputResource = project.getFile(generatedOutput); addFragmentMakefileEntriesForSource(buildVarToRuleStringMap, ruleBuffer, folder, relativePath, generateOutputResource, generatedOutput, buildVariable, true); } } } } if (!toolFound) { // If this generated output is identified as a secondary output, add the file to the build variable if (varName != null) { IOutputType[] secondaryOutputs = config.getToolChain().getSecondaryOutputs(); if (secondaryOutputs.length > 0) { if (isSecondaryOutputVar(secondaryOutputs, varName)) { addMacroAdditionFile(buildVarToRuleStringMap, varName, relativePath, sourceLocation, generatedSource); } } } } }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/1eb10a46a0557db040085203edd85b33f11279dd/GnuMakefileGenerator.java/buggy/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
527,
7456,
6464,
768,
5400,
1290,
1830,
261,
13174,
8658,
1361,
1537,
774,
2175,
780,
863,
16,
6674,
1720,
1892,
16,
1875,
202,
45,
3899,
3009,
16,
514,
12820,
16,
467,
1420,
1058,
16,
467,
743,
1084,
2735,
16,
514,
13722,
16,
1250,
4374,
1830,
13,
288,
202,
202,
759,
225,
10229,
1492,
5226,
16,
309,
1281,
16,
10736,
1390,
598,
333,
2710,
202,
202,
780,
1110,
273,
1084,
2735,
18,
29925,
3625,
5621,
202,
202,
6494,
5226,
2043,
273,
629,
31,
202,
202,
1884,
261,
474,
525,
33,
20,
31,
525,
32,
3510,
10348,
18,
2469,
31,
525,
27245,
288,
1082,
202,
430,
261,
3510,
10348,
63,
78,
8009,
27324,
28941,
12,
408,
3719,
288,
9506,
202,
6738,
2043,
273,
638,
31,
9506,
202,
45,
6364,
5226,
273,
1361,
10348,
63,
78,
15533,
9506,
202,
759,
2324,
364,
326,
2710,
316,
326,
852,
9506,
202,
780,
1892,
1613,
1290,
3625,
273,
394,
6674,
5621,
9506,
202,
430,
261,
1401,
461,
422,
446,
13,
288,
6862,
202,
1401,
461,
273,
7889,
17392,
461,
12,
408,
2934,
10492,
5621,
6862,
202,
759,
225,
1436,
326,
1058,
358,
326,
666,
434,
777,
2703,
3627,
598,
279,
2190,
18,
6862,
202,
682,
569,
682,
273,
261,
682,
13,
3510,
7740,
5555,
18,
588,
12,
1401,
461,
1769,
6862,
202,
759,
225,
7897,
732,
2727,
1404,
5055,
3661,
4259,
1390,
903,
506,
1399,
16,
732,
1707,
2182,
1450,
279,
315,
3562,
6,
6862,
202,
759,
225,
589,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
527,
7456,
6464,
768,
5400,
1290,
1830,
261,
13174,
8658,
1361,
1537,
774,
2175,
780,
863,
16,
6674,
1720,
1892,
16,
1875,
202,
45,
3899,
3009,
16,
514,
12820,
16,
467,
1420,
1058,
16,
467,
743,
1084,
2735,
16,
514,
13722,
16,
1250,
4374,
1830,
13,
288,
202,
202,
759,
225,
10229,
1492,
5226,
16,
309,
1281,
16,
10736,
1390,
598,
333,
2710,
202,
202,
780,
1110,
273,
1084,
2735,
18,
29925,
3625,
5621,
202,
202,
6494,
5226,
2043,
273,
629,
31,
202,
202,
1884,
261,
474,
525,
33,
20,
31,
525,
32,
3510,
10348,
18,
2469,
31,
525,
27245,
288,
1082,
202,
430,
261,
3510,
10348,
63,
78,
8009,
27324,
28941,
12,
408,
3719,
2
] |
try { return _native.getExpLangRuntime().evaluateNode(expr, new ExprEvaluationContextImpl(_scopeInstance, _native, root)); } catch (org.apache.ode.bpel.explang.EvaluationException e) { throw new InvalidProcessException("Expression Failed: " + expr, e);
|
try { return _native.getExpLangRuntime().evaluateNode(expr, new ExprEvaluationContextImpl(_scopeInstance, _native, root)); } catch (org.apache.ode.bpel.explang.EvaluationException e) { throw new InvalidProcessException("Expression Failed: " + expr, e); }
|
public Node evaluateQuery(Node root, OExpression expr) throws FaultException { try { return _native.getExpLangRuntime().evaluateNode(expr, new ExprEvaluationContextImpl(_scopeInstance, _native, root)); } catch (org.apache.ode.bpel.explang.EvaluationException e) { throw new InvalidProcessException("Expression Failed: " + expr, e); } }
|
47044 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47044/1183932ca4a81d65d22482f0b44fb17eebce0f37/ExprEvaluationContextImpl.java/buggy/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ExprEvaluationContextImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2029,
5956,
1138,
12,
907,
1365,
16,
531,
2300,
3065,
13,
1216,
25609,
503,
288,
565,
775,
288,
1377,
327,
389,
13635,
18,
588,
2966,
7275,
5576,
7675,
21024,
907,
12,
8638,
16,
1850,
394,
8074,
13468,
1042,
2828,
24899,
4887,
1442,
16,
389,
13635,
16,
1365,
10019,
565,
289,
1044,
261,
3341,
18,
19211,
18,
390,
18,
17152,
292,
18,
338,
412,
539,
18,
13468,
503,
425,
13,
288,
1377,
604,
394,
1962,
2227,
503,
2932,
2300,
11175,
30,
315,
397,
3065,
16,
425,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2029,
5956,
1138,
12,
907,
1365,
16,
531,
2300,
3065,
13,
1216,
25609,
503,
288,
565,
775,
288,
1377,
327,
389,
13635,
18,
588,
2966,
7275,
5576,
7675,
21024,
907,
12,
8638,
16,
1850,
394,
8074,
13468,
1042,
2828,
24899,
4887,
1442,
16,
389,
13635,
16,
1365,
10019,
565,
289,
1044,
261,
3341,
18,
19211,
18,
390,
18,
17152,
292,
18,
338,
412,
539,
18,
13468,
503,
425,
13,
288,
1377,
604,
394,
1962,
2227,
503,
2932,
2300,
11175,
30,
315,
397,
3065,
16,
425,
1769,
565,
289,
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
] |
index -= occurrences;
|
index -= occurrences;
|
public void backup(int occurrences) { index -= occurrences; if (index < 0) { throw new IllegalArgumentException(); } }
|
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/415b1e0db282c02d672a7e34a34a2bea0f69ccb2/Pack.java/clean/src/org/jruby/util/Pack.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
5114,
12,
474,
15698,
13,
288,
1082,
565,
770,
3947,
15698,
31,
1082,
565,
309,
261,
1615,
411,
374,
13,
288,
1082,
3639,
604,
394,
2754,
5621,
1082,
565,
289,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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565,
309,
261,
1615,
411,
374,
13,
288,
1082,
3639,
604,
394,
2754,
5621,
1082,
565,
289,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Font font = parent.getFont();
|
initializeDialogUnits(parent);
|
public void createControl(Composite parent) { Font font = parent.getFont(); Composite composite = new Composite(parent, SWT.NULL); composite.setLayout(new GridLayout()); composite.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL)); setControl(composite); PlatformUI.getWorkbench().getHelpSystem().setHelp(composite, IIDEHelpContextIds.WORKING_SET_RESOURCE_PAGE); Label label = new Label(composite, SWT.WRAP); label.setText(IDEWorkbenchMessages.ResourceWorkingSetPage_message); GridData data = new GridData(GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_FILL | GridData.VERTICAL_ALIGN_CENTER); label.setLayoutData(data); label.setFont(font); text = new Text(composite, SWT.SINGLE | SWT.BORDER); text.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_FILL)); text.setFont(font); text.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent e) { validateInput(); } }); text.setFocus(); text.setBackground(FieldAssistColors.getRequiredFieldBackgroundColor(text)); label = new Label(composite, SWT.WRAP); label.setText(IDEWorkbenchMessages.ResourceWorkingSetPage_label_tree); data = new GridData(GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_FILL | GridData.VERTICAL_ALIGN_CENTER); label.setLayoutData(data); label.setFont(font); tree = new CheckboxTreeViewer(composite); tree.setUseHashlookup(true); final ITreeContentProvider treeContentProvider = new WorkbenchContentProvider(); tree.setContentProvider(treeContentProvider); tree.setLabelProvider(new DecoratingLabelProvider( new WorkbenchLabelProvider(), IDEWorkbenchPlugin.getDefault() .getWorkbench().getDecoratorManager() .getLabelDecorator())); tree.setInput(IDEWorkbenchPlugin.getPluginWorkspace().getRoot()); tree.setSorter(new ResourceSorter(ResourceSorter.NAME)); data = new GridData(GridData.FILL_BOTH | GridData.GRAB_VERTICAL); data.heightHint = SIZING_SELECTION_WIDGET_HEIGHT; data.widthHint = SIZING_SELECTION_WIDGET_WIDTH; tree.getControl().setLayoutData(data); tree.getControl().setFont(font); tree.addCheckStateListener(new ICheckStateListener() { public void checkStateChanged(CheckStateChangedEvent event) { handleCheckStateChange(event); } }); tree.addTreeListener(new ITreeViewerListener() { public void treeCollapsed(TreeExpansionEvent event) { } public void treeExpanded(TreeExpansionEvent event) { final Object element = event.getElement(); if (tree.getGrayed(element) == false) { BusyIndicator.showWhile(getShell().getDisplay(), new Runnable() { public void run() { setSubtreeChecked((IContainer) element, tree.getChecked(element), false); } }); } } }); // Add select / deselect all buttons for bug 46669 Composite buttonComposite = new Composite(composite, SWT.NONE); buttonComposite.setLayout(new GridLayout(2, false)); buttonComposite.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL)); Button selectAllButton = new Button(buttonComposite, SWT.PUSH); selectAllButton.setText(IDEWorkbenchMessages.ResourceWorkingSetPage_selectAll_label); selectAllButton.setToolTipText(IDEWorkbenchMessages.ResourceWorkingSetPage_selectAll_toolTip); selectAllButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent selectionEvent) { tree.setCheckedElements(treeContentProvider.getElements(tree.getInput())); validateInput(); } }); selectAllButton.setFont(font); setButtonLayoutData(selectAllButton); Button deselectAllButton = new Button(buttonComposite, SWT.PUSH); deselectAllButton.setText(IDEWorkbenchMessages.ResourceWorkingSetPage_deselectAll_label); deselectAllButton.setToolTipText(IDEWorkbenchMessages.ResourceWorkingSetPage_deselectAll_toolTip); deselectAllButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent selectionEvent) { tree.setCheckedElements(new Object[0]); validateInput(); } }); deselectAllButton.setFont(font); setButtonLayoutData(deselectAllButton); initializeCheckedState(); if (workingSet != null) { text.setText(workingSet.getName()); } setPageComplete(false); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/a0d24374fa989b241b43a0fdb846df0624ab7054/ResourceWorkingSetPage.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceWorkingSetPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
752,
3367,
12,
9400,
982,
13,
288,
3639,
4046,
6353,
7537,
12,
2938,
1769,
540,
14728,
9635,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
8560,
1769,
3639,
9635,
18,
542,
3744,
12,
2704,
7145,
3744,
10663,
3639,
9635,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
44,
20344,
67,
26439,
67,
29818,
10019,
3639,
444,
3367,
12,
27676,
1769,
3639,
11810,
5370,
18,
588,
2421,
22144,
7675,
588,
6696,
3163,
7675,
542,
6696,
12,
27676,
16,
7734,
467,
10385,
6696,
1042,
2673,
18,
10566,
1360,
67,
4043,
67,
11395,
67,
11219,
1769,
3639,
5287,
1433,
273,
394,
5287,
12,
27676,
16,
348,
8588,
18,
27664,
1769,
3639,
1433,
18,
542,
1528,
12,
10385,
2421,
22144,
5058,
18,
1420,
14836,
694,
1964,
67,
2150,
1769,
3639,
7145,
751,
501,
273,
394,
7145,
751,
12,
6313,
751,
18,
6997,
2090,
67,
44,
20344,
7734,
571,
7145,
751,
18,
44,
20344,
67,
26439,
67,
29818,
7734,
571,
7145,
751,
18,
21654,
10109,
67,
26439,
67,
19835,
1769,
3639,
1433,
18,
542,
3744,
751,
12,
892,
1769,
3639,
1433,
18,
542,
5711,
12,
5776,
1769,
3639,
977,
273,
394,
3867,
12,
27676,
16,
348,
8588,
18,
20184,
571,
348,
8588,
18,
38,
7954,
1769,
3639,
977,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
6997,
2090,
67,
44,
20344,
7734,
571,
7145,
751,
18,
44,
20344,
67,
26439,
67,
29818,
10019,
3639,
977,
18,
542,
5711,
12,
5776,
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,
752,
3367,
12,
9400,
982,
13,
288,
3639,
4046,
6353,
7537,
12,
2938,
1769,
540,
14728,
9635,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
8560,
1769,
3639,
9635,
18,
542,
3744,
12,
2704,
7145,
3744,
10663,
3639,
9635,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
44,
20344,
67,
26439,
67,
29818,
10019,
3639,
444,
3367,
12,
27676,
1769,
3639,
11810,
5370,
18,
588,
2421,
22144,
7675,
588,
6696,
3163,
7675,
542,
6696,
12,
27676,
16,
7734,
467,
10385,
6696,
1042,
2673,
18,
10566,
1360,
67,
4043,
67,
11395,
67,
11219,
1769,
3639,
5287,
1433,
273,
394,
5287,
12,
27676,
16,
348,
8588,
18,
27664,
1769,
3639,
1433,
18,
542,
2
] |
public void testSetReturn() throws SQLException
|
public void testSetReturn() throws SQLException
|
public void testSetReturn() throws SQLException { System.out.println("*** testSetReturn()"); Statement stmt = m_connection.createStatement(); ResultSet rs = stmt.executeQuery("SELECT base, incbase, ctime FROM setReturnExample(1, 5)"); while(rs.next()) { int base = rs.getInt(1); int incbase = rs.getInt(2); Timestamp ctime = rs.getTimestamp(3); System.out.println( "Base = \"" + base + "\", incbase = \"" + incbase + "\", ctime = \"" + ctime + "\""); } rs.close(); }
|
1170 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1170/efa76a6b7645e410731c10cec532ef6e6ea9f3f1/Tester.java/buggy/src/java/test/org/postgresql/pljava/test/Tester.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
694,
990,
1435,
202,
15069,
6483,
202,
95,
202,
202,
3163,
18,
659,
18,
8222,
2932,
14465,
1842,
694,
990,
1435,
8863,
202,
202,
3406,
3480,
273,
312,
67,
4071,
18,
2640,
3406,
5621,
202,
202,
13198,
3597,
273,
3480,
18,
8837,
1138,
2932,
4803,
1026,
16,
7290,
1969,
16,
276,
957,
4571,
444,
990,
10908,
12,
21,
16,
1381,
2225,
1769,
202,
202,
17523,
12,
5453,
18,
4285,
10756,
202,
202,
95,
1082,
202,
474,
1026,
273,
3597,
18,
588,
1702,
12,
21,
1769,
1082,
202,
474,
7290,
1969,
273,
3597,
18,
588,
1702,
12,
22,
1769,
1082,
202,
4921,
276,
957,
273,
3597,
18,
588,
4921,
12,
23,
1769,
1082,
202,
3163,
18,
659,
18,
8222,
12,
6862,
202,
6,
2171,
273,
11843,
397,
1026,
397,
6862,
202,
6,
22564,
7290,
1969,
273,
11843,
397,
7290,
1969,
397,
6862,
202,
6,
22564,
276,
957,
273,
11843,
397,
276,
957,
397,
11143,
1769,
202,
202,
97,
202,
202,
5453,
18,
4412,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
694,
990,
1435,
202,
15069,
6483,
202,
95,
202,
202,
3163,
18,
659,
18,
8222,
2932,
14465,
1842,
694,
990,
1435,
8863,
202,
202,
3406,
3480,
273,
312,
67,
4071,
18,
2640,
3406,
5621,
202,
202,
13198,
3597,
273,
3480,
18,
8837,
1138,
2932,
4803,
1026,
16,
7290,
1969,
16,
276,
957,
4571,
444,
990,
10908,
12,
21,
16,
1381,
2225,
1769,
202,
202,
17523,
12,
5453,
18,
4285,
10756,
202,
202,
95,
1082,
202,
474,
1026,
273,
3597,
18,
588,
1702,
12,
21,
1769,
1082,
202,
474,
7290,
1969,
273,
3597,
18,
588,
1702,
12,
22,
1769,
1082,
202,
4921,
276,
957,
273,
3597,
18,
588,
4921,
12,
23,
1769,
1082,
202,
3163,
2
] |
manager.fireDataChanged(IGroup.class, new DataEvent(g, "lstBusy", type, new Object[] { lesson }));
|
else if (r instanceof IRoom) { IRoom ro = (IRoom) r; if(newOne || !ro.getSetBusy().contains(lesson)) ro.addBusy(lesson); try { RoomStorage.save(ro); } catch (HibernateException e) { e.printStackTrace(); return null; } manager.fireDataChanged(IRoom.class, new DataEvent(ro, "lstBusy", type, new Object[] { lesson })); } else if (r instanceof ITeacher) { ITeacher t = (ITeacher) r; if(newOne || !t.getSetBusy().contains(lesson)) t.addBusy(lesson); try { TeacherStorage.save(t); } catch (HibernateException e) { e.printStackTrace(); return null; } manager.fireDataChanged(ITeacher.class, new DataEvent(t, "lstBusy", type, new Object[] { lesson })); }
|
public ILesson saveOrUpdateLesson(ILesson lesson) throws RemoteException { int type = lesson.getIdBusy() == null ? DataEvent.TYPE_PROPERTY_SUBDATA_ADDED : DataEvent.TYPE_PROPERTY_SUBDATA_CHANGED; for (Iterator<IGroup> it = lesson.getLstGroup().iterator() ; it .hasNext() ;) { IGroup g = it.next(); try { GroupStorage.save(g); } catch (HibernateException e) { // TODO Auto-generated catch block e.printStackTrace(); return null; } manager.fireDataChanged(IGroup.class, new DataEvent(g, "lstBusy", type, new Object[] { lesson })); } for (Iterator<IDevice> it = lesson.getLstDevice().iterator() ; it .hasNext() ;) { IDevice d = it.next(); try { DeviceStorage.save(d); } catch (HibernateException e) { // TODO Auto-generated catch block e.printStackTrace(); return null; } manager.fireDataChanged(IDevice.class, new DataEvent(d, "lstBusy", type, new Object[] { lesson })); } for (Iterator<IRoom> it = lesson.getLstRoom().iterator() ; it.hasNext() ;) { IRoom r = it.next(); try { RoomStorage.save(r); } catch (HibernateException e) { // TODO Auto-generated catch block e.printStackTrace(); return null; } manager.fireDataChanged(IRoom.class, new DataEvent(r, "lstBusy", type, new Object[] { lesson })); } for (Iterator<ITeacher> it = lesson.getLstTeacher().iterator() ; it .hasNext() ;) { ITeacher t = it.next(); try { TeacherStorage.save(t); } catch (HibernateException e) { // TODO Auto-generated catch block e.printStackTrace(); return null; } manager.fireDataChanged(ITeacher.class, new DataEvent(t, "lstBusy", type, new Object[] { lesson })); } return lesson; }
|
13357 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13357/88394371c35f4389a1cd4ba2e6c30c902f533ddc/DataManagerImpl.java/clean/current/src/fr/umlv/ir3/flexitime/server/core/DataManagerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
15313,
265,
1923,
10466,
15313,
265,
12,
2627,
403,
265,
22766,
13,
1216,
18361,
565,
288,
3639,
509,
618,
273,
22766,
18,
26321,
29289,
1435,
422,
446,
692,
1910,
1133,
18,
2399,
67,
9900,
67,
8362,
4883,
67,
1880,
7660,
7734,
294,
1910,
1133,
18,
2399,
67,
9900,
67,
8362,
4883,
67,
24435,
31,
3639,
364,
261,
3198,
32,
45,
1114,
34,
518,
273,
22766,
18,
588,
28134,
1114,
7675,
9838,
1435,
274,
518,
7734,
263,
5332,
2134,
1435,
274,
13,
3639,
288,
5411,
467,
1114,
314,
273,
518,
18,
4285,
5621,
5411,
775,
5411,
288,
7734,
3756,
3245,
18,
5688,
12,
75,
1769,
5411,
289,
5411,
1044,
261,
44,
24360,
503,
425,
13,
5411,
288,
7734,
368,
2660,
8064,
17,
11168,
1044,
1203,
7734,
425,
18,
1188,
6332,
5621,
7734,
327,
446,
31,
5411,
289,
13491,
3301,
18,
12179,
751,
5033,
12,
45,
1114,
18,
1106,
16,
394,
1910,
1133,
12,
75,
16,
315,
16923,
29289,
3113,
10792,
618,
16,
394,
1033,
8526,
288,
22766,
289,
10019,
3639,
289,
3639,
364,
261,
3198,
32,
734,
73,
633,
34,
518,
273,
22766,
18,
588,
28134,
3654,
7675,
9838,
1435,
274,
518,
7734,
263,
5332,
2134,
1435,
274,
13,
3639,
288,
5411,
467,
3654,
302,
273,
518,
18,
4285,
5621,
5411,
775,
5411,
288,
7734,
6077,
3245,
18,
5688,
12,
72,
1769,
5411,
289,
5411,
1044,
261,
44,
24360,
503,
425,
13,
5411,
288,
7734,
368,
2660,
8064,
17,
11168,
1044,
1203,
7734,
425,
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,
467,
15313,
265,
1923,
10466,
15313,
265,
12,
2627,
403,
265,
22766,
13,
1216,
18361,
565,
288,
3639,
509,
618,
273,
22766,
18,
26321,
29289,
1435,
422,
446,
692,
1910,
1133,
18,
2399,
67,
9900,
67,
8362,
4883,
67,
1880,
7660,
7734,
294,
1910,
1133,
18,
2399,
67,
9900,
67,
8362,
4883,
67,
24435,
31,
3639,
364,
261,
3198,
32,
45,
1114,
34,
518,
273,
22766,
18,
588,
28134,
1114,
7675,
9838,
1435,
274,
518,
7734,
263,
5332,
2134,
1435,
274,
13,
3639,
288,
5411,
467,
1114,
314,
273,
518,
18,
4285,
5621,
5411,
775,
5411,
288,
7734,
3756,
3245,
18,
5688,
12,
75,
1769,
5411,
289,
5411,
1044,
261,
44,
24360,
503,
425,
13,
5411,
288,
2
] |
if (s_length==8) { X="toString";id=Id_toString; }
|
if (s_length==8) { c=s.charAt(3); if (c=='o') { X="toSource";id=Id_toSource; } else if (c=='t') { X="toString";id=Id_toString; } }
|
protected int findPrototypeId(String s) { int id;// #generated# Last update: 2004-07-18 12:32:51 CEST L0: { id = 0; String X = null; int s_length = s.length(); if (s_length==8) { X="toString";id=Id_toString; } else if (s_length==11) { X="constructor";id=Id_constructor; } if (X!=null && X!=s && !X.equals(s)) id = 0; }// #/generated# return id; }
|
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/347734a288cc52cc58154ef5e55d0c26058627eb/QName.java/clean/js/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/QName.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
1104,
15846,
548,
12,
780,
272,
13,
565,
288,
3639,
509,
612,
31,
759,
468,
11168,
7,
6825,
1089,
30,
4044,
24,
17,
8642,
17,
2643,
2593,
30,
1578,
30,
10593,
385,
11027,
3639,
511,
20,
30,
288,
612,
273,
374,
31,
514,
1139,
273,
446,
31,
5411,
509,
272,
67,
2469,
273,
272,
18,
2469,
5621,
5411,
309,
261,
87,
67,
2469,
631,
28,
13,
288,
276,
33,
87,
18,
3001,
861,
12,
23,
1769,
309,
261,
71,
18920,
83,
6134,
288,
1139,
1546,
869,
1830,
14432,
350,
33,
548,
67,
869,
1830,
31,
289,
469,
309,
261,
71,
18920,
88,
6134,
288,
1139,
1546,
10492,
14432,
350,
33,
548,
67,
10492,
31,
289,
289,
5411,
469,
309,
261,
87,
67,
2469,
631,
2499,
13,
288,
1139,
1546,
12316,
14432,
350,
33,
548,
67,
12316,
31,
289,
5411,
309,
261,
60,
5,
33,
2011,
597,
1139,
5,
33,
87,
597,
401,
60,
18,
14963,
12,
87,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,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
1104,
15846,
548,
12,
780,
272,
13,
565,
288,
3639,
509,
612,
31,
759,
468,
11168,
7,
6825,
1089,
30,
4044,
24,
17,
8642,
17,
2643,
2593,
30,
1578,
30,
10593,
385,
11027,
3639,
511,
20,
30,
288,
612,
273,
374,
31,
514,
1139,
273,
446,
31,
5411,
509,
272,
67,
2469,
273,
272,
18,
2469,
5621,
5411,
309,
261,
87,
67,
2469,
631,
28,
13,
288,
276,
33,
87,
18,
3001,
861,
12,
23,
1769,
309,
261,
71,
18920,
83,
6134,
288,
1139,
1546,
869,
1830,
14432,
350,
33,
548,
67,
869,
1830,
31,
289,
469,
309,
261,
71,
18920,
88,
6134,
288,
1139,
1546,
10492,
14432,
350,
33,
548,
67,
10492,
31,
289,
289,
2
] |
RubyFixnum.newFixnum(getRuntime(), getValue().charAt(idx));
|
getRuntime().newFixnum(getValue().charAt(idx));
|
public IRubyObject aref(IRubyObject[] args) { if (checkArgumentCount(args, 1, 2) == 2) { return substr(RubyNumeric.fix2int(args[0]), RubyNumeric.fix2int(args[1])); } if (args[0] instanceof RubyFixnum) { int idx = RubyNumeric.fix2int(args[0]); if (idx < 0) { idx += getValue().length(); } return idx < 0 || idx >= getValue().length() ? getRuntime().getNil() : RubyFixnum.newFixnum(getRuntime(), getValue().charAt(idx)); } else if (args[0] instanceof RubyRegexp) { return RubyRegexp.regexpValue(args[0]).search(this, 0) >= 0 ? RubyRegexp.last_match(getRuntime().getBackref()) : getRuntime().getNil(); } else if (args[0] instanceof RubyString) { return getValue().indexOf(stringValue(args[0]).getValue()) != -1 ? args[0] : getRuntime().getNil(); } else if (args[0] instanceof RubyRange) { long[] begLen = ((RubyRange) args[0]).getBeginLength(getValue().length(), true, false); return begLen == null ? getRuntime().getNil() : substr((int) begLen[0], (int) begLen[1]); } int idx = (int) RubyNumeric.num2long(args[0]); if (idx < 0) { idx += getValue().length(); } return idx < 0 || idx >= getValue().length() ? getRuntime().getNil() : RubyFixnum.newFixnum(getRuntime(), getValue().charAt(idx)); }
|
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyString.java/clean/src/org/jruby/RubyString.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15908,
10340,
921,
854,
74,
12,
7937,
10340,
921,
8526,
833,
13,
288,
202,
565,
309,
261,
1893,
1379,
1380,
12,
1968,
16,
404,
16,
576,
13,
422,
576,
13,
288,
202,
3639,
327,
2373,
12,
54,
10340,
9902,
18,
904,
22,
474,
12,
1968,
63,
20,
65,
3631,
202,
1171,
202,
225,
19817,
9902,
18,
904,
22,
474,
12,
1968,
63,
21,
5717,
1769,
202,
565,
289,
202,
565,
309,
261,
1968,
63,
20,
65,
1276,
19817,
8585,
2107,
13,
288,
202,
3639,
509,
2067,
273,
19817,
9902,
18,
904,
22,
474,
12,
1968,
63,
20,
19226,
202,
3639,
309,
261,
3465,
411,
374,
13,
288,
202,
5411,
2067,
1011,
2366,
7675,
2469,
5621,
202,
3639,
289,
202,
3639,
327,
2067,
411,
374,
747,
2067,
1545,
2366,
7675,
2469,
1435,
692,
18814,
7675,
588,
12616,
1435,
294,
202,
540,
202,
54,
10340,
8585,
2107,
18,
2704,
8585,
2107,
12,
588,
5576,
9334,
2366,
7675,
3001,
861,
12,
3465,
10019,
202,
565,
289,
469,
309,
261,
1968,
63,
20,
65,
1276,
19817,
14621,
13,
288,
202,
377,
202,
2463,
19817,
14621,
18,
17745,
620,
12,
1968,
63,
20,
65,
2934,
3072,
12,
2211,
16,
374,
13,
1545,
374,
692,
202,
5411,
19817,
14621,
18,
2722,
67,
1916,
12,
588,
5576,
7675,
588,
2711,
1734,
10756,
294,
202,
2398,
202,
588,
5576,
7675,
588,
12616,
5621,
202,
565,
289,
469,
309,
261,
1968,
63,
20,
65,
1276,
19817,
780,
13,
288,
202,
3639,
327,
2366,
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,
15908,
10340,
921,
854,
74,
12,
7937,
10340,
921,
8526,
833,
13,
288,
202,
565,
309,
261,
1893,
1379,
1380,
12,
1968,
16,
404,
16,
576,
13,
422,
576,
13,
288,
202,
3639,
327,
2373,
12,
54,
10340,
9902,
18,
904,
22,
474,
12,
1968,
63,
20,
65,
3631,
202,
1171,
202,
225,
19817,
9902,
18,
904,
22,
474,
12,
1968,
63,
21,
5717,
1769,
202,
565,
289,
202,
565,
309,
261,
1968,
63,
20,
65,
1276,
19817,
8585,
2107,
13,
288,
202,
3639,
509,
2067,
273,
19817,
9902,
18,
904,
22,
474,
12,
1968,
63,
20,
19226,
202,
3639,
309,
261,
3465,
411,
374,
13,
288,
202,
5411,
2067,
1011,
2366,
7675,
2469,
5621,
202,
2
] |
if (! use_addr2line)
|
if (! use_addr2line || blacklist.contains(file))
|
public void lookup (String file, long addr) { binaryFile = file; sourceFile = null; lineNum = -1; if (! use_addr2line) return; Addr2Line addr2line = (Addr2Line) procs.get(file); if (addr2line == null) { addr2line = new Addr2Line(file); procs.put(file, addr2line); } if (addr2line.proc == null) return; String hexAddr = "0x" + Long.toHexString(addr); String name; try { addr2line.out.write(hexAddr); addr2line.out.newLine(); addr2line.out.flush(); String result = addr2line.in.readLine(); if (result.indexOf("??") == -1) { int split = result.lastIndexOf(':'); sourceFile = result.substring(0, split); String lineNumStr = result.substring(split + 1, result.length()); lineNum = Integer.parseInt (lineNumStr); } } catch (IOException ioe) { addr2line = null; } catch (NumberFormatException x) { } }
|
25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/af2b21637931567dec52f37c2a8397b26936d8d1/NameFinder.java/clean/libjava/gnu/gcj/runtime/NameFinder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3689,
261,
780,
585,
16,
1525,
3091,
13,
225,
288,
565,
3112,
812,
273,
585,
31,
565,
16338,
273,
446,
31,
565,
980,
2578,
273,
300,
21,
31,
3639,
309,
16051,
999,
67,
4793,
22,
1369,
747,
11709,
18,
12298,
12,
768,
3719,
1377,
327,
31,
565,
10216,
22,
1670,
3091,
22,
1369,
273,
261,
3178,
22,
1670,
13,
27009,
18,
588,
12,
768,
1769,
565,
309,
261,
4793,
22,
1369,
422,
446,
13,
1377,
288,
1377,
3091,
22,
1369,
273,
394,
10216,
22,
1670,
12,
768,
1769,
1377,
27009,
18,
458,
12,
768,
16,
3091,
22,
1369,
1769,
1377,
289,
3639,
309,
261,
4793,
22,
1369,
18,
9381,
422,
446,
13,
5411,
327,
31,
3639,
514,
3827,
3178,
273,
315,
20,
92,
6,
397,
3407,
18,
869,
14866,
12,
4793,
1769,
565,
514,
508,
31,
565,
775,
1377,
288,
1377,
3091,
22,
1369,
18,
659,
18,
2626,
12,
7118,
3178,
1769,
1377,
3091,
22,
1369,
18,
659,
18,
2704,
1670,
5621,
1377,
3091,
22,
1369,
18,
659,
18,
11330,
5621,
1377,
514,
563,
273,
3091,
22,
1369,
18,
267,
18,
896,
1670,
5621,
1377,
309,
261,
2088,
18,
31806,
2932,
35,
7225,
13,
422,
300,
21,
13,
202,
95,
202,
225,
509,
1416,
273,
563,
18,
2722,
31985,
2668,
2497,
1769,
202,
225,
16338,
273,
563,
18,
28023,
12,
20,
16,
1416,
1769,
202,
225,
514,
980,
2578,
1585,
273,
563,
18,
28023,
12,
4939,
397,
404,
16,
563,
18,
2469,
10663,
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,
1071,
918,
3689,
261,
780,
585,
16,
1525,
3091,
13,
225,
288,
565,
3112,
812,
273,
585,
31,
565,
16338,
273,
446,
31,
565,
980,
2578,
273,
300,
21,
31,
3639,
309,
16051,
999,
67,
4793,
22,
1369,
747,
11709,
18,
12298,
12,
768,
3719,
1377,
327,
31,
565,
10216,
22,
1670,
3091,
22,
1369,
273,
261,
3178,
22,
1670,
13,
27009,
18,
588,
12,
768,
1769,
565,
309,
261,
4793,
22,
1369,
422,
446,
13,
1377,
288,
1377,
3091,
22,
1369,
273,
394,
10216,
22,
1670,
12,
768,
1769,
1377,
27009,
18,
458,
12,
768,
16,
3091,
22,
1369,
1769,
1377,
289,
3639,
309,
261,
4793,
22,
1369,
18,
9381,
422,
446,
13,
5411,
327,
31,
3639,
2
] |
c2dm.setDrawMode(c2dm.RING);
|
c2dm.setDrawMode(Controller2DModel.RING);
|
public void actionPerformed(ActionEvent e) { if (jcpPanel.lastAction != null) { jcpPanel.lastAction.setBackground(Color.LIGHT_GRAY); } else { (((JChemPaintEditorPanel)jcpPanel).getToolBar().getComponentAtIndex(0)).setBackground(Color.LIGHT_GRAY); } ((JComponent) e.getSource()).setBackground(Color.GRAY); jcpPanel.lastAction = (JComponent) e.getSource(); logger.debug("ChemAction performed!"); JChemPaintModel jcpm; Controller2DModel c2dm; String s = e.getActionCommand(); String type = s.substring(s.indexOf("@") + 1); logger.info(" type ", type); logger.debug(" source ", e.getSource()); jcpm = jcpPanel.getJChemPaintModel(); if (jcpm != null) { c2dm = jcpm.getControllerModel(); if (type.equals("bond")) { c2dm.setDrawMode(c2dm.DRAWBOND); } else if (type.equals("select")) { c2dm.setDrawMode(c2dm.SELECT); } else if (type.equals("move")) { c2dm.setDrawMode(c2dm.MOVE); } else if (type.equals("select")) { c2dm.setDrawMode(c2dm.SELECT); } else if (type.equals("eraser")) { c2dm.setDrawMode(c2dm.ERASER); } else if (type.equals("element")) { if (dialog == null) { // open PeriodicTable panel dialog = new PTDialog( new PTDialogChangeListener(c2dm) ); } dialog.pack(); dialog.show(); c2dm.setDrawMode(c2dm.ELEMENT); } else if (type.equals("symbol")) { c2dm.setDrawMode(c2dm.SYMBOL); } else if (type.equals("triangle")) { c2dm.setDrawMode(c2dm.RING); c2dm.setRingSize(3); } else if (type.equals("square")) { c2dm.setDrawMode(c2dm.RING); c2dm.setRingSize(4); } else if (type.equals("pentagon")) { c2dm.setDrawMode(c2dm.RING); c2dm.setRingSize(5); } else if (type.equals("hexagon")) { c2dm.setDrawMode(c2dm.RING); c2dm.setRingSize(6); } else if (type.equals("heptagon")) { c2dm.setDrawMode(c2dm.RING); c2dm.setRingSize(7); } else if (type.equals("octagon")) { c2dm.setDrawMode(c2dm.RING); c2dm.setRingSize(8); } else if (type.equals("benzene")) { c2dm.setDrawMode(c2dm.BENZENERING); c2dm.setRingSize(6); } else if (type.equals("cleanup")) { c2dm.setDrawMode(c2dm.CLEANUP); } else if (type.equals("flip_H")) { // not implemented c2dm.setDrawMode(c2dm.FLIP_H); } else if (type.equals("flip_V")) { // not implemented c2dm.setDrawMode(c2dm.FLIP_V); } else if (type.equals("rotation")) { // not implemented c2dm.setDrawMode(c2dm.ROTATION); } else if (type.equals("up_bond")) { c2dm.setDrawMode(c2dm.UP_BOND); } else if (type.equals("down_bond")) { c2dm.setDrawMode(c2dm.DOWN_BOND); } else if (type.equals("normalize")) { c2dm.setDrawMode(c2dm.NORMALIZE); } else if (type.equals("plus")) { c2dm.setDrawMode(c2dm.INCCHARGE); } else if (type.equals("minus")) { c2dm.setDrawMode(c2dm.DECCHARGE); } else if (type.equals("lasso")) { c2dm.setDrawMode(c2dm.LASSO); } else if (type.equals("map")) { c2dm.setDrawMode(c2dm.MAPATOMATOM); } } jcpPanel.stateChanged(new ChangeEvent(this)); if (jcpm != null) { jcpm.fireChange(); } }
|
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/b26a7336f19d2669cc404aabf392e4fc14a8d7ad/ChemAction.java/clean/src/org/openscience/cdk/applications/jchempaint/action/ChemAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
26100,
12,
1803,
1133,
425,
13,
202,
95,
565,
309,
261,
78,
4057,
5537,
18,
2722,
1803,
480,
446,
13,
202,
202,
95,
1082,
202,
78,
4057,
5537,
18,
2722,
1803,
18,
542,
8199,
12,
2957,
18,
23516,
67,
43,
6722,
1769,
202,
202,
97,
469,
202,
202,
95,
1377,
261,
12443,
46,
20200,
12699,
6946,
5537,
13,
78,
4057,
5537,
2934,
588,
6364,
5190,
7675,
588,
1841,
24499,
12,
20,
13,
2934,
542,
8199,
12,
2957,
18,
23516,
67,
43,
6722,
1769,
202,
202,
97,
202,
202,
12443,
46,
1841,
13,
425,
18,
588,
1830,
1435,
2934,
542,
8199,
12,
2957,
18,
43,
6722,
1769,
202,
202,
78,
4057,
5537,
18,
2722,
1803,
273,
261,
46,
1841,
13,
425,
18,
588,
1830,
5621,
202,
202,
4901,
18,
4148,
2932,
20200,
1803,
9591,
4442,
1769,
202,
202,
46,
20200,
12699,
1488,
525,
4057,
81,
31,
202,
202,
2933,
22,
40,
1488,
276,
22,
10956,
31,
202,
202,
780,
272,
273,
425,
18,
588,
1803,
2189,
5621,
202,
202,
780,
618,
273,
272,
18,
28023,
12,
87,
18,
31806,
2932,
36,
7923,
397,
404,
1769,
202,
202,
4901,
18,
1376,
2932,
225,
618,
225,
3104,
618,
1769,
202,
202,
4901,
18,
4148,
2932,
225,
1084,
3104,
425,
18,
588,
1830,
10663,
202,
202,
78,
4057,
81,
273,
525,
4057,
5537,
18,
588,
46,
20200,
12699,
1488,
5621,
565,
309,
261,
78,
4057,
81,
480,
446,
13,
202,
202,
95,
1082,
202,
71,
22,
10956,
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,
26100,
12,
1803,
1133,
425,
13,
202,
95,
565,
309,
261,
78,
4057,
5537,
18,
2722,
1803,
480,
446,
13,
202,
202,
95,
1082,
202,
78,
4057,
5537,
18,
2722,
1803,
18,
542,
8199,
12,
2957,
18,
23516,
67,
43,
6722,
1769,
202,
202,
97,
469,
202,
202,
95,
1377,
261,
12443,
46,
20200,
12699,
6946,
5537,
13,
78,
4057,
5537,
2934,
588,
6364,
5190,
7675,
588,
1841,
24499,
12,
20,
13,
2934,
542,
8199,
12,
2957,
18,
23516,
67,
43,
6722,
1769,
202,
202,
97,
202,
202,
12443,
46,
1841,
13,
425,
18,
588,
1830,
1435,
2934,
542,
8199,
12,
2957,
18,
43,
6722,
1769,
202,
202,
78,
4057,
5537,
18,
2722,
1803,
273,
2
] |
m_aspectManager.getUuid());
|
m_aspectManager);
|
public void register(final AspectContainer container, final PointcutManager pointcutManager) { if (container == null) { throw new IllegalArgumentException("aspect container can not be null"); } if (pointcutManager == null) { throw new IllegalArgumentException("pointcut manager can not be null"); } synchronized (m_aspectContainers) { synchronized (m_aspectIndexes) { synchronized (m_adviceIndexes) { synchronized (m_mixins) { synchronized (m_pointcutManagerMap) { try { CrossCuttingInfo crossCuttingInfo = container.getCrossCuttingInfo(); m_pointcutManagerMap.put(crossCuttingInfo.getName(), pointcutManager); final int indexAspect = m_aspectContainers.length + 1; m_aspectIndexes.put(crossCuttingInfo.getName(), indexAspect); final Object[] tmpAspects = new Object[m_aspectContainers.length + 1]; java.lang.System.arraycopy(m_aspectContainers, 0, tmpAspects, 0, m_aspectContainers.length); tmpAspects[m_aspectContainers.length] = container; m_aspectContainers = new AspectContainer[m_aspectContainers.length + 1]; java.lang.System.arraycopy(tmpAspects, 0, m_aspectContainers, 0, tmpAspects.length); // retrieve a sorted advices list => matches the sorted method list in the container List advices = crossCuttingInfo.getAspectDefinition().getAllAdvices(); for (Iterator it = advices.iterator(); it.hasNext();) { final AdviceDefinition adviceDef = (AdviceDefinition)it.next(); IndexTuple tuple = new IndexTuple(indexAspect, adviceDef.getMethodIndex(), m_aspectManager.getUuid()); //prefix AdviceName with AspectName to allow AspectReuse m_adviceIndexes.put(crossCuttingInfo.getName() + "/" + adviceDef.getName(), tuple); } // mixins List introductions = crossCuttingInfo.getAspectDefinition().getIntroductions(); for (Iterator it = introductions.iterator(); it.hasNext();) { IntroductionDefinition introDef = (IntroductionDefinition)it.next(); // load default mixin impl from the aspect which defines it Class defaultImplClass = crossCuttingInfo.getAspectClass().getClassLoader() .loadClass(introDef.getName()); Introduction mixin = new Introduction(introDef.getName(), defaultImplClass, crossCuttingInfo, introDef); // prepare the container mixin.setContainer(new IntroductionContainer(mixin, container)); final Mixin[] tmpMixins = new Mixin[m_mixins.length + 1]; java.lang.System.arraycopy(m_mixins, 0, tmpMixins, 0, m_mixins.length); tmpMixins[m_mixins.length] = mixin; m_mixins = new Mixin[m_mixins.length + 1]; java.lang.System.arraycopy(tmpMixins, 0, m_mixins, 0, tmpMixins.length); } } catch (Exception e) { throw new DefinitionException("could not register aspect [" + container.getCrossCuttingInfo().getName() + "] due to: " + e.toString()); } if (m_aspectContainers.length != m_aspectIndexes.size()) { throw new IllegalStateException("aspect indexing out of synch"); } } } } } } }
|
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/f4570b533c4b1d9eb8f134919d9eedbccc4ea1ce/AspectRegistry.java/clean/aspectwerkz3/src/main/org/codehaus/aspectwerkz/aspect/management/AspectRegistry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1744,
12,
6385,
2970,
1181,
2170,
1478,
16,
727,
4686,
5150,
1318,
29774,
1318,
13,
288,
3639,
309,
261,
3782,
422,
446,
13,
288,
5411,
604,
394,
2754,
2932,
23579,
1478,
848,
486,
506,
446,
8863,
3639,
289,
3639,
309,
261,
1153,
5150,
1318,
422,
446,
13,
288,
5411,
604,
394,
2754,
2932,
1153,
5150,
3301,
848,
486,
506,
446,
8863,
3639,
289,
3639,
3852,
261,
81,
67,
23579,
11177,
13,
288,
5411,
3852,
261,
81,
67,
23579,
8639,
13,
288,
7734,
3852,
261,
81,
67,
361,
633,
8639,
13,
288,
10792,
3852,
261,
81,
67,
14860,
2679,
13,
288,
13491,
3852,
261,
81,
67,
1153,
5150,
1318,
863,
13,
288,
18701,
775,
288,
27573,
19742,
15812,
1787,
966,
6828,
15812,
1787,
966,
273,
1478,
18,
588,
13941,
15812,
1787,
966,
5621,
27573,
312,
67,
1153,
5150,
1318,
863,
18,
458,
12,
14653,
15812,
1787,
966,
18,
17994,
9334,
29774,
1318,
1769,
27573,
727,
509,
770,
17468,
273,
312,
67,
23579,
11177,
18,
2469,
397,
404,
31,
27573,
312,
67,
23579,
8639,
18,
458,
12,
14653,
15812,
1787,
966,
18,
17994,
9334,
770,
17468,
1769,
27573,
727,
1033,
8526,
1853,
17468,
87,
273,
394,
1033,
63,
81,
67,
23579,
11177,
18,
2469,
397,
404,
15533,
27573,
2252,
18,
4936,
18,
3163,
18,
1126,
3530,
12,
81,
67,
23579,
11177,
16,
374,
16,
1853,
17468,
87,
16,
374,
16,
4766,
21821,
312,
67,
23579,
11177,
18,
2469,
1769,
27573,
1853,
17468,
87,
63,
81,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1744,
12,
6385,
2970,
1181,
2170,
1478,
16,
727,
4686,
5150,
1318,
29774,
1318,
13,
288,
3639,
309,
261,
3782,
422,
446,
13,
288,
5411,
604,
394,
2754,
2932,
23579,
1478,
848,
486,
506,
446,
8863,
3639,
289,
3639,
309,
261,
1153,
5150,
1318,
422,
446,
13,
288,
5411,
604,
394,
2754,
2932,
1153,
5150,
3301,
848,
486,
506,
446,
8863,
3639,
289,
3639,
3852,
261,
81,
67,
23579,
11177,
13,
288,
5411,
3852,
261,
81,
67,
23579,
8639,
13,
288,
7734,
3852,
261,
81,
67,
361,
633,
8639,
13,
288,
10792,
3852,
261,
81,
67,
14860,
2679,
13,
288,
13491,
3852,
261,
81,
67,
1153,
5150,
1318,
863,
13,
288,
18701,
775,
288,
27573,
19742,
2
] |
}
|
}
|
public GameData loadGame(File savedGameFile) throws IOException { ObjectInputStream input = null; try { input = new ObjectInputStream(new FileInputStream(savedGameFile)); return loadGame(input); } finally { try { input.close(); } catch(Exception e) {} } }
|
8339 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8339/e67103093b828d2ca7762eb2192fac18f472393c/GameDataManager.java/buggy/src/games/strategy/engine/framework/GameDataManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
14121,
751,
1262,
12496,
12,
812,
5198,
12496,
812,
13,
1216,
1860,
202,
95,
202,
202,
921,
4348,
810,
273,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
2630,
273,
394,
22726,
12,
2704,
11907,
12,
14077,
12496,
812,
10019,
1082,
202,
2463,
1262,
12496,
12,
2630,
1769,
202,
202,
97,
202,
202,
23417,
202,
565,
288,
1082,
202,
698,
1082,
202,
95,
9506,
202,
2630,
18,
4412,
5621,
1082,
202,
97,
1044,
12,
503,
425,
13,
2618,
202,
565,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
14121,
751,
1262,
12496,
12,
812,
5198,
12496,
812,
13,
1216,
1860,
202,
95,
202,
202,
921,
4348,
810,
273,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
2630,
273,
394,
22726,
12,
2704,
11907,
12,
14077,
12496,
812,
10019,
1082,
202,
2463,
1262,
12496,
12,
2630,
1769,
202,
202,
97,
202,
202,
23417,
202,
565,
288,
1082,
202,
698,
1082,
202,
95,
9506,
202,
2630,
18,
4412,
5621,
1082,
202,
97,
1044,
12,
503,
425,
13,
2618,
202,
565,
289,
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
] |
SplitFileInserter sfi = new SplitFileInserter(parent, sh, data, bestCodec, block.clientMetadata, ctx, getCHKOnly, metadata, token, insertAsArchiveManifest);
|
SplitFileInserter sfi = new SplitFileInserter(parent, sh, data, bestCodec, block.clientMetadata, ctx, getCHKOnly, metadata, token, insertAsArchiveManifest, false);
|
private void tryCompress() throws InserterException { // First, determine how small it needs to be Bucket origData = block.getData(); Bucket data = origData; int blockSize; boolean dontCompress = ctx.dontCompress; long origSize = data.size(); String type = block.desiredURI.getKeyType().toUpperCase(); if(type.equals("SSK") || type.equals("KSK") || type.equals("USK")) { blockSize = SSKBlock.DATA_LENGTH; } else if(type.equals("CHK")) { blockSize = CHKBlock.DATA_LENGTH; } else { throw new InserterException(InserterException.INVALID_URI, "Unknown key type: "+type, null); } Compressor bestCodec = null; Bucket bestCompressedData = null; if((origSize > blockSize) && (!ctx.dontCompress) && (!dontCompress)) { // Try to compress the data. // Try each algorithm, starting with the fastest and weakest. // Stop when run out of algorithms, or the compressed data fits in a single block. int algos = Compressor.countCompressAlgorithms(); try { for(int i=0;i<algos;i++) { // Only produce if we are compressing *the original data* if(parent == cb) ctx.eventProducer.produceEvent(new StartedCompressionEvent(i)); Compressor comp = Compressor.getCompressionAlgorithmByDifficulty(i); Bucket result; result = comp.compress(origData, ctx.persistentBucketFactory, Long.MAX_VALUE); if(result.size() < blockSize) { bestCodec = comp; data = result; if(bestCompressedData != null) ctx.bf.freeBucket(bestCompressedData); bestCompressedData = data; break; } if((bestCompressedData != null) && (result.size() < bestCompressedData.size())) { ctx.bf.freeBucket(bestCompressedData); bestCompressedData = result; data = result; bestCodec = comp; } else if((bestCompressedData == null) && (result.size() < data.size())) { bestCompressedData = result; bestCodec = comp; data = result; } } } catch (IOException e) { throw new InserterException(InserterException.BUCKET_ERROR, e, null); } catch (CompressionOutputSizeException e) { // Impossible throw new Error(e); } } if(parent == cb) { ctx.eventProducer.produceEvent(new FinishedCompressionEvent(bestCodec == null ? -1 : bestCodec.codecNumberForMetadata(), origSize, data.size())); Logger.minor(this, "Compressed "+origSize+" to "+data.size()+" on "+this); } // Compressed data // Insert it... short codecNumber = bestCodec == null ? -1 : bestCodec.codecNumberForMetadata(); if(block.getData().size() > Integer.MAX_VALUE) throw new InserterException(InserterException.INTERNAL_ERROR, "2GB+ should not encode to one block!", null); if(((block.clientMetadata == null) || block.clientMetadata.isTrivial()) && !insertAsArchiveManifest) { if(data.size() < blockSize) { // Just insert it ClientPutState bi = createInserter(parent, data, codecNumber, block.desiredURI, ctx, cb, metadata, (int)block.getData().size(), -1, getCHKOnly, true); cb.onTransition(this, bi); bi.schedule(); cb.onBlockSetFinished(this); return; } } if (data.size() < ClientCHKBlock.MAX_COMPRESSED_DATA_LENGTH) { // Insert single block, then insert pointer to it if(reportMetadataOnly) { SingleBlockInserter dataPutter = new SingleBlockInserter(parent, data, codecNumber, FreenetURI.EMPTY_CHK_URI, ctx, cb, metadata, (int)origSize, -1, getCHKOnly, true, true, token); Metadata meta = new Metadata(insertAsArchiveManifest ? Metadata.ZIP_MANIFEST : Metadata.SIMPLE_REDIRECT, dataPutter.getURI(), block.clientMetadata); cb.onMetadata(meta, this); cb.onTransition(this, dataPutter); dataPutter.schedule(); cb.onBlockSetFinished(this); } else { MultiPutCompletionCallback mcb = new MultiPutCompletionCallback(cb, parent, token); SingleBlockInserter dataPutter = new SingleBlockInserter(parent, data, codecNumber, FreenetURI.EMPTY_CHK_URI, ctx, mcb, metadata, (int)origSize, -1, getCHKOnly, true, false, token); Metadata meta = new Metadata(insertAsArchiveManifest ? Metadata.ZIP_MANIFEST : Metadata.SIMPLE_REDIRECT, dataPutter.getURI(), block.clientMetadata); Bucket metadataBucket; try { metadataBucket = BucketTools.makeImmutableBucket(ctx.bf, meta.writeToByteArray()); } catch (IOException e) { Logger.error(this, "Caught "+e, e); throw new InserterException(InserterException.BUCKET_ERROR, e, null); } catch (MetadataUnresolvedException e) { // Impossible, we're not inserting a manifest. Logger.error(this, "Caught "+e, e); throw new InserterException(InserterException.INTERNAL_ERROR, "Got MetadataUnresolvedException in SingleFileInserter: "+e.toString(), null); } ClientPutState metaPutter = createInserter(parent, metadataBucket, (short) -1, block.desiredURI, ctx, mcb, true, (int)origSize, -1, getCHKOnly, true); mcb.addURIGenerator(metaPutter); mcb.add(dataPutter); cb.onTransition(this, mcb); mcb.arm(); dataPutter.schedule(); metaPutter.schedule(); cb.onBlockSetFinished(this); } return; } // Otherwise the file is too big to fit into one block // We therefore must make a splitfile // Job of SplitHandler: when the splitinserter has the metadata, // insert it. Then when the splitinserter has finished, and the // metadata insert has finished too, tell the master callback. if(reportMetadataOnly) { SplitFileInserter sfi = new SplitFileInserter(parent, cb, data, bestCodec, block.clientMetadata, ctx, getCHKOnly, metadata, token, insertAsArchiveManifest); cb.onTransition(this, sfi); sfi.start(); } else { SplitHandler sh = new SplitHandler(); SplitFileInserter sfi = new SplitFileInserter(parent, sh, data, bestCodec, block.clientMetadata, ctx, getCHKOnly, metadata, token, insertAsArchiveManifest); sh.sfi = sfi; cb.onTransition(this, sh); sfi.start(); } }
|
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/ba61984610fbdc6ae89adf37e39660cc27c3f343/SingleFileInserter.java/clean/src/freenet/client/async/SingleFileInserter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
775,
16552,
1435,
1216,
657,
550,
387,
503,
288,
202,
202,
759,
5783,
16,
4199,
3661,
5264,
518,
4260,
358,
506,
202,
202,
4103,
1647,
751,
273,
1203,
18,
588,
751,
5621,
202,
202,
4103,
501,
273,
1647,
751,
31,
202,
202,
474,
13766,
31,
202,
202,
6494,
14046,
16552,
273,
1103,
18,
72,
1580,
16552,
31,
9506,
202,
5748,
1647,
1225,
273,
501,
18,
1467,
5621,
202,
202,
780,
618,
273,
1203,
18,
30458,
3098,
18,
588,
22100,
7675,
869,
8915,
5621,
202,
202,
430,
12,
723,
18,
14963,
2932,
1260,
47,
7923,
747,
618,
18,
14963,
2932,
47,
11129,
7923,
747,
618,
18,
14963,
2932,
3378,
47,
6,
3719,
288,
1082,
202,
2629,
1225,
273,
348,
11129,
1768,
18,
4883,
67,
7096,
31,
202,
202,
97,
469,
309,
12,
723,
18,
14963,
2932,
1792,
47,
6,
3719,
288,
1082,
202,
2629,
1225,
273,
6469,
47,
1768,
18,
4883,
67,
7096,
31,
202,
202,
97,
469,
288,
1082,
202,
12849,
394,
657,
550,
387,
503,
12,
382,
550,
387,
503,
18,
9347,
67,
3098,
16,
315,
4874,
498,
618,
30,
13773,
723,
16,
446,
1769,
202,
202,
97,
9506,
202,
16552,
280,
3796,
11008,
273,
446,
31,
202,
202,
4103,
3796,
16841,
751,
273,
446,
31,
202,
202,
430,
12443,
4949,
1225,
405,
13766,
13,
597,
16051,
5900,
18,
72,
1580,
16552,
13,
597,
16051,
72,
1580,
16552,
3719,
288,
1082,
202,
759,
6161,
358,
8099,
326,
501,
18,
1082,
202,
759,
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,
775,
16552,
1435,
1216,
657,
550,
387,
503,
288,
202,
202,
759,
5783,
16,
4199,
3661,
5264,
518,
4260,
358,
506,
202,
202,
4103,
1647,
751,
273,
1203,
18,
588,
751,
5621,
202,
202,
4103,
501,
273,
1647,
751,
31,
202,
202,
474,
13766,
31,
202,
202,
6494,
14046,
16552,
273,
1103,
18,
72,
1580,
16552,
31,
9506,
202,
5748,
1647,
1225,
273,
501,
18,
1467,
5621,
202,
202,
780,
618,
273,
1203,
18,
30458,
3098,
18,
588,
22100,
7675,
869,
8915,
5621,
202,
202,
430,
12,
723,
18,
14963,
2932,
1260,
47,
7923,
747,
618,
18,
14963,
2932,
47,
11129,
7923,
747,
618,
18,
14963,
2932,
3378,
47,
6,
3719,
288,
1082,
202,
2629,
2
] |
String encoding = connection.getEncoding(); if (encoding == null) return new String(this_row[columnIndex - 1]); else { try { return new String(this_row[columnIndex - 1], encoding); } catch (UnsupportedEncodingException unse) { throw new PSQLException("postgresql.res.encoding", unse); } }
|
Encoding encoding = connection.getEncoding(); return encoding.decode(this_row[columnIndex - 1]);
|
public String getString(int columnIndex) throws SQLException { //byte[] bytes = getBytes(columnIndex); // //if (bytes == null) //return null; //return new String(bytes); if (columnIndex < 1 || columnIndex > fields.length) throw new PSQLException("postgresql.res.colrange"); wasNullFlag = (this_row[columnIndex - 1] == null); if(wasNullFlag) return null; String encoding = connection.getEncoding(); if (encoding == null) return new String(this_row[columnIndex - 1]); else { try { return new String(this_row[columnIndex - 1], encoding); } catch (UnsupportedEncodingException unse) { throw new PSQLException("postgresql.res.encoding", unse); } } }
|
49504 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49504/ff21a8e5c86457e205ff7c598b930efd711cb2dc/ResultSet.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/ResultSet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
4997,
12,
474,
14882,
13,
1216,
6483,
225,
288,
565,
368,
7229,
8526,
1731,
273,
8425,
12,
2827,
1016,
1769,
565,
368,
565,
368,
430,
261,
3890,
422,
446,
13,
565,
368,
2463,
446,
31,
565,
368,
2463,
394,
514,
12,
3890,
1769,
565,
309,
261,
2827,
1016,
411,
404,
747,
14882,
405,
1466,
18,
2469,
13,
1377,
604,
394,
453,
23116,
2932,
2767,
24330,
18,
455,
18,
1293,
3676,
8863,
565,
1703,
2041,
4678,
273,
261,
2211,
67,
492,
63,
2827,
1016,
300,
404,
65,
422,
446,
1769,
565,
309,
12,
17416,
2041,
4678,
13,
1377,
327,
446,
31,
565,
514,
2688,
273,
1459,
18,
588,
4705,
5621,
565,
309,
261,
5999,
422,
446,
13,
3639,
327,
394,
514,
12,
2211,
67,
492,
63,
2827,
1016,
300,
404,
19226,
565,
469,
288,
3639,
775,
288,
5411,
327,
394,
514,
12,
2211,
67,
492,
63,
2827,
1016,
300,
404,
6487,
2688,
1769,
3639,
289,
1044,
261,
8544,
13836,
640,
307,
13,
288,
5411,
604,
394,
453,
23116,
2932,
2767,
24330,
18,
455,
18,
5999,
3113,
640,
307,
1769,
3639,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
4997,
12,
474,
14882,
13,
1216,
6483,
225,
288,
565,
368,
7229,
8526,
1731,
273,
8425,
12,
2827,
1016,
1769,
565,
368,
565,
368,
430,
261,
3890,
422,
446,
13,
565,
368,
2463,
446,
31,
565,
368,
2463,
394,
514,
12,
3890,
1769,
565,
309,
261,
2827,
1016,
411,
404,
747,
14882,
405,
1466,
18,
2469,
13,
1377,
604,
394,
453,
23116,
2932,
2767,
24330,
18,
455,
18,
1293,
3676,
8863,
565,
1703,
2041,
4678,
273,
261,
2211,
67,
492,
63,
2827,
1016,
300,
404,
65,
422,
446,
1769,
565,
309,
12,
17416,
2041,
4678,
13,
1377,
327,
446,
31,
565,
514,
2688,
273,
1459,
18,
588,
4705,
5621,
565,
309,
261,
5999,
422,
446,
13,
2
] |
Map map = new HashMap();
|
Map map = new LinkedHashMap();
|
private Object getValue(Element setting) { if ("map".equals(setting.getAttributeValue("type"))) { Map map = new HashMap(); for (Iterator it = setting.getChildren().iterator(); it.hasNext();) { Element child = (Element)it.next(); Object key = getKey(child); if (key != null) { map.put(key, getValue(child)); } } return map; } else { return (setting.getText() == null) ? "" : setting.getTextTrim(); } }
|
12751 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12751/0e63e98cd8c849d0fc649e82deff90ba4a162544/ReportSettings.java/clean/statcvs-xml2/src/de/berlios/statcvs/xml/output/ReportSettings.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1033,
2366,
12,
1046,
3637,
13,
202,
95,
202,
202,
430,
7566,
1458,
9654,
14963,
12,
8920,
18,
588,
14942,
2932,
723,
6,
20349,
288,
1082,
202,
863,
852,
273,
394,
4317,
5621,
1082,
202,
1884,
261,
3198,
518,
273,
3637,
18,
588,
4212,
7675,
9838,
5621,
518,
18,
5332,
2134,
5621,
13,
288,
9506,
202,
1046,
1151,
273,
261,
1046,
13,
305,
18,
4285,
5621,
9506,
202,
921,
498,
273,
3579,
12,
3624,
1769,
4697,
202,
430,
261,
856,
480,
446,
13,
288,
6862,
202,
1458,
18,
458,
12,
856,
16,
2366,
12,
3624,
10019,
9506,
202,
97,
1082,
202,
97,
1082,
202,
2463,
852,
31,
202,
202,
97,
202,
202,
12107,
288,
1082,
202,
2463,
261,
8920,
18,
588,
1528,
1435,
422,
446,
13,
692,
1408,
294,
3637,
18,
588,
1528,
14795,
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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,
30,
225,
202,
1152,
1033,
2366,
12,
1046,
3637,
13,
202,
95,
202,
202,
430,
7566,
1458,
9654,
14963,
12,
8920,
18,
588,
14942,
2932,
723,
6,
20349,
288,
1082,
202,
863,
852,
273,
394,
4317,
5621,
1082,
202,
1884,
261,
3198,
518,
273,
3637,
18,
588,
4212,
7675,
9838,
5621,
518,
18,
5332,
2134,
5621,
13,
288,
9506,
202,
1046,
1151,
273,
261,
1046,
13,
305,
18,
4285,
5621,
9506,
202,
921,
498,
273,
3579,
12,
3624,
1769,
4697,
202,
430,
261,
856,
480,
446,
13,
288,
6862,
202,
1458,
18,
458,
12,
856,
16,
2366,
12,
3624,
10019,
9506,
202,
97,
1082,
202,
97,
1082,
202,
2463,
852,
31,
202,
202,
97,
202,
202,
12107,
288,
1082,
202,
2
] |
public boolean isSet(org.quickfix.field.SecurityStatusReqID field)
|
public boolean isSet(quickfix.field.SecurityStatusReqID field)
|
public boolean isSet(org.quickfix.field.SecurityStatusReqID field) { return isSetField(field); }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityStatusRequest.java/clean/src/java/src/quickfix/fix42/SecurityStatusRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
4368,
1482,
6113,
734,
652,
13,
225,
288,
327,
13532,
974,
12,
1518,
1769,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
4368,
1482,
6113,
734,
652,
13,
225,
288,
327,
13532,
974,
12,
1518,
1769,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
String path = ""; if (aMozBinDirectory != null) { path = aMozBinDirectory + File.separator; } System.load(path + System.mapLibraryName("javaxpcomglue"));
|
registerJavaXPCOMMethods(aMozBinDirectory);
|
public nsIServiceManager initXPCOM(File aMozBinDirectory, IAppFileLocProvider aAppFileLocProvider) { // load JNI library String path = ""; if (aMozBinDirectory != null) { path = aMozBinDirectory + File.separator; } System.load(path + System.mapLibraryName("javaxpcomglue")); return initXPCOMNative(aMozBinDirectory, aAppFileLocProvider); }
|
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/dee2288e08fadd7ad27ae2fdfb1375b392c75ea9/XPCOMImpl.java/clean/extensions/java/xpcom/src/XPCOMImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3153,
45,
1179,
1318,
1208,
60,
3513,
1872,
12,
812,
279,
49,
11142,
9913,
2853,
16,
1850,
467,
3371,
812,
1333,
2249,
279,
3371,
812,
1333,
2249,
13,
288,
565,
368,
1262,
804,
50,
45,
5313,
565,
514,
589,
273,
1408,
31,
565,
309,
261,
69,
49,
11142,
9913,
2853,
480,
446,
13,
288,
1377,
589,
273,
279,
49,
11142,
9913,
2853,
397,
1387,
18,
11287,
31,
565,
289,
565,
2332,
18,
945,
12,
803,
397,
2332,
18,
1458,
9313,
461,
2932,
28384,
84,
832,
7043,
344,
7923,
1769,
565,
327,
1208,
60,
3513,
1872,
9220,
12,
69,
49,
11142,
9913,
2853,
16,
279,
3371,
812,
1333,
2249,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3153,
45,
1179,
1318,
1208,
60,
3513,
1872,
12,
812,
279,
49,
11142,
9913,
2853,
16,
1850,
467,
3371,
812,
1333,
2249,
279,
3371,
812,
1333,
2249,
13,
288,
565,
368,
1262,
804,
50,
45,
5313,
565,
514,
589,
273,
1408,
31,
565,
309,
261,
69,
49,
11142,
9913,
2853,
480,
446,
13,
288,
1377,
589,
273,
279,
49,
11142,
9913,
2853,
397,
1387,
18,
11287,
31,
565,
289,
565,
2332,
18,
945,
12,
803,
397,
2332,
18,
1458,
9313,
461,
2932,
28384,
84,
832,
7043,
344,
7923,
1769,
565,
327,
1208,
60,
3513,
1872,
9220,
12,
69,
49,
11142,
9913,
2853,
16,
279,
3371,
812,
1333,
2249,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100
] |
settings), settings);
|
settings));
|
public JavaLanguage() { super("JAVA", "text/java"); myFormattingModelBuilder = new FormattingModelBuilder() { public FormattingModel createModel(final PsiElement element, final CodeStyleSettings settings) { return new PsiBasedFormattingModel(element.getContainingFile(), AbstractJavaBlock.createJavaBlock(SourceTreeToPsiMap.psiElementToTree(element), settings), settings); } }; }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/8440b555a5532a243be03bd555d1348ef20331b3/JavaLanguage.java/buggy/source/com/intellij/lang/java/JavaLanguage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5110,
3779,
1435,
288,
565,
2240,
2932,
27264,
3113,
315,
955,
19,
6290,
8863,
565,
3399,
23974,
1488,
1263,
273,
394,
4077,
1787,
1488,
1263,
1435,
288,
1377,
1071,
4077,
1787,
1488,
15552,
12,
6385,
453,
7722,
1046,
930,
16,
727,
3356,
2885,
2628,
1947,
13,
288,
3639,
327,
394,
453,
7722,
9802,
23974,
1488,
12,
2956,
18,
588,
24344,
812,
9334,
4115,
5852,
1768,
18,
2640,
5852,
1768,
12,
1830,
2471,
774,
52,
7722,
863,
18,
24275,
1046,
774,
2471,
12,
2956,
3631,
28524,
4766,
1850,
1947,
10019,
1377,
289,
565,
289,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
5110,
3779,
1435,
288,
565,
2240,
2932,
27264,
3113,
315,
955,
19,
6290,
8863,
565,
3399,
23974,
1488,
1263,
273,
394,
4077,
1787,
1488,
1263,
1435,
288,
1377,
1071,
4077,
1787,
1488,
15552,
12,
6385,
453,
7722,
1046,
930,
16,
727,
3356,
2885,
2628,
1947,
13,
288,
3639,
327,
394,
453,
7722,
9802,
23974,
1488,
12,
2956,
18,
588,
24344,
812,
9334,
4115,
5852,
1768,
18,
2640,
5852,
1768,
12,
1830,
2471,
774,
52,
7722,
863,
18,
24275,
1046,
774,
2471,
12,
2956,
3631,
28524,
4766,
1850,
1947,
10019,
1377,
289,
565,
289,
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
] |
Iterator names = _runtimeSettings.getNames();
|
Iterator names = _buildSettings.getNames();
|
private final CallResult doGetSettings() { CallResultBuilder builder = new CallResultBuilder(); // Build settings Iterator names = _runtimeSettings.getNames(); builder.startTag("build"); while (names.hasNext()) { String key = (String) names.next(); String value = _buildSettings.get(key); builder.startTag("property"); builder.attribute("name", key); builder.pcdata(value); builder.endTag(); } builder.endTag(); // Runtime settings names = _runtimeSettings.getNames(); builder.startTag("runtime"); while (names.hasNext()) { String key = (String) names.next(); String value = _runtimeSettings.get(key); builder.startTag("property"); builder.attribute("name", key); builder.pcdata(value); builder.endTag(); } builder.endTag(); // System properties Enumeration e = System.getProperties().propertyNames(); builder.startTag("system"); while (e.hasMoreElements()) { String key = (String) e.nextElement(); String value = System.getProperty(key); if (key != null && value != null && key.length() > 0 && value.length() > 0) { builder.startTag("property"); builder.attribute("name", key); builder.pcdata(value); builder.endTag(); } } builder.endTag(); return builder; }
|
45757 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45757/721e431f06f662bd7851822bce2d5c4a0441030c/API.java/buggy/src/java-server-framework/org/xins/server/API.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
727,
3049,
1253,
23611,
2628,
1435,
288,
1377,
3049,
1253,
1263,
2089,
273,
394,
3049,
1253,
1263,
5621,
1377,
368,
3998,
1947,
1377,
4498,
1257,
273,
389,
3510,
2628,
18,
588,
1557,
5621,
1377,
2089,
18,
1937,
1805,
2932,
3510,
8863,
1377,
1323,
261,
1973,
18,
5332,
2134,
10756,
288,
540,
514,
498,
282,
273,
261,
780,
13,
1257,
18,
4285,
5621,
540,
514,
460,
273,
389,
3510,
2628,
18,
588,
12,
856,
1769,
540,
2089,
18,
1937,
1805,
2932,
4468,
8863,
540,
2089,
18,
4589,
2932,
529,
3113,
498,
1769,
540,
2089,
18,
2436,
892,
12,
1132,
1769,
540,
2089,
18,
409,
1805,
5621,
1377,
289,
1377,
2089,
18,
409,
1805,
5621,
1377,
368,
2509,
1947,
1377,
1257,
273,
389,
9448,
2628,
18,
588,
1557,
5621,
1377,
2089,
18,
1937,
1805,
2932,
9448,
8863,
1377,
1323,
261,
1973,
18,
5332,
2134,
10756,
288,
540,
514,
498,
282,
273,
261,
780,
13,
1257,
18,
4285,
5621,
540,
514,
460,
273,
389,
9448,
2628,
18,
588,
12,
856,
1769,
540,
2089,
18,
1937,
1805,
2932,
4468,
8863,
540,
2089,
18,
4589,
2932,
529,
3113,
498,
1769,
540,
2089,
18,
2436,
892,
12,
1132,
1769,
540,
2089,
18,
409,
1805,
5621,
1377,
289,
1377,
2089,
18,
409,
1805,
5621,
1377,
368,
2332,
1790,
1377,
13864,
425,
273,
2332,
18,
588,
2297,
7675,
4468,
1557,
5621,
1377,
2089,
18,
1937,
1805,
2932,
4299,
8863,
1377,
1323,
261,
73,
18,
5332,
7417,
3471,
10756,
288,
540,
514,
498,
282,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
727,
3049,
1253,
23611,
2628,
1435,
288,
1377,
3049,
1253,
1263,
2089,
273,
394,
3049,
1253,
1263,
5621,
1377,
368,
3998,
1947,
1377,
4498,
1257,
273,
389,
3510,
2628,
18,
588,
1557,
5621,
1377,
2089,
18,
1937,
1805,
2932,
3510,
8863,
1377,
1323,
261,
1973,
18,
5332,
2134,
10756,
288,
540,
514,
498,
282,
273,
261,
780,
13,
1257,
18,
4285,
5621,
540,
514,
460,
273,
389,
3510,
2628,
18,
588,
12,
856,
1769,
540,
2089,
18,
1937,
1805,
2932,
4468,
8863,
540,
2089,
18,
4589,
2932,
529,
3113,
498,
1769,
540,
2089,
18,
2436,
892,
12,
1132,
1769,
540,
2089,
18,
409,
1805,
5621,
1377,
289,
1377,
2089,
18,
409,
1805,
5621,
1377,
368,
2509,
1947,
2
] |
ze.csize = ze.size; if (ze.crc == -1) {
|
ze.setCompressedSize(ze.getSize()); if (ze.getCrc() == -1) {
|
public void putNextEntry(ZipEntry ze) throws IOException{ closeEntry(); // Close previous entry if (ze.method == -1) { ze.method = method; } if (ze.method == STORED) { if (ze.size == -1) { throw new ZipException("size not set in stored entry"); } ze.csize = ze.size; if (ze.crc == -1) { throw new ZipException("crc not set in stored entry"); } ze.flag = 0; } else { ze.flag = 0x0008; } if (curr == null || curr.method != ze.method) { if (ze.method == STORED) { def = new Storer(); } else { def = new Deflater(level, true); } } // Convert name to UTF-8 binary byte[] nameBuf = (ze.name != null) ? UTF8.encode(ze.name) : new byte[0]; byte[] lh = new byte[LOCHDR]; put32(lh, 0, (int)LOCSIG); put16(lh, LOCVER, ze.method == STORED ? ZIPVER_1_0 : ZIPVER_2_0); put16(lh, LOCFLG, ze.flag); put16(lh, LOCHOW, ze.method); put32(lh, LOCTIM, ze.dosTime); if (ze.method == STORED) { put32(lh, LOCCRC, (int)ze.crc); put32(lh, LOCSIZ, (int)ze.csize); put32(lh, LOCLEN, (int)ze.size); } else { put32(lh, LOCCRC, 0); put32(lh, LOCSIZ, 0); put32(lh, LOCLEN, 0); } put16(lh, LOCNAM, nameBuf.length); put16(lh, LOCEXT, ze.extra == null ? 0 : ze.extra.length); strm.write(lh); ze.offset = dout; dout += LOCHDR; // Write name strm.write(nameBuf); dout += nameBuf.length; // Write any extra stuff if (ze.extra != null) { strm.write(ze.extra); dout += ze.extra.length; } // Add entry to list of entries we need to write at the end. dir.addElement(ze); curr = ze;}
|
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/548f0268ceac96f6ee3dd768a091b0017e5d68fe/ZipOutputStream.java/clean/libraries/javalib/java/util/zip/ZipOutputStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1378,
2134,
1622,
12,
9141,
1622,
26637,
13,
1216,
1860,
95,
202,
4412,
1622,
5621,
202,
759,
3527,
2416,
1241,
202,
430,
261,
8489,
18,
2039,
422,
300,
21,
13,
288,
202,
202,
8489,
18,
2039,
273,
707,
31,
202,
97,
202,
430,
261,
8489,
18,
2039,
422,
2347,
51,
5879,
13,
288,
202,
202,
430,
261,
8489,
18,
1467,
422,
300,
21,
13,
288,
1082,
202,
12849,
394,
8603,
503,
2932,
1467,
486,
444,
316,
4041,
1241,
8863,
202,
202,
97,
202,
202,
8489,
18,
71,
1467,
273,
26637,
18,
1467,
31,
202,
202,
430,
261,
8489,
18,
22988,
422,
300,
21,
13,
288,
1082,
202,
12849,
394,
8603,
503,
2932,
22988,
486,
444,
316,
4041,
1241,
8863,
202,
202,
97,
202,
202,
8489,
18,
6420,
273,
374,
31,
202,
97,
469,
288,
202,
202,
8489,
18,
6420,
273,
374,
92,
3784,
28,
31,
202,
97,
202,
430,
261,
17016,
422,
446,
747,
4306,
18,
2039,
480,
26637,
18,
2039,
13,
288,
202,
202,
430,
261,
8489,
18,
2039,
422,
2347,
51,
5879,
13,
288,
1082,
202,
536,
273,
394,
934,
8922,
5621,
202,
202,
97,
202,
202,
12107,
288,
1082,
202,
536,
273,
394,
1505,
2242,
2045,
12,
2815,
16,
638,
1769,
202,
202,
97,
202,
97,
202,
759,
4037,
508,
358,
6380,
17,
28,
3112,
202,
7229,
8526,
508,
5503,
273,
261,
8489,
18,
529,
480,
446,
13,
692,
202,
565,
6380,
28,
18,
3015,
12,
8489,
18,
529,
13,
294,
394,
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,
1378,
2134,
1622,
12,
9141,
1622,
26637,
13,
1216,
1860,
95,
202,
4412,
1622,
5621,
202,
759,
3527,
2416,
1241,
202,
430,
261,
8489,
18,
2039,
422,
300,
21,
13,
288,
202,
202,
8489,
18,
2039,
273,
707,
31,
202,
97,
202,
430,
261,
8489,
18,
2039,
422,
2347,
51,
5879,
13,
288,
202,
202,
430,
261,
8489,
18,
1467,
422,
300,
21,
13,
288,
1082,
202,
12849,
394,
8603,
503,
2932,
1467,
486,
444,
316,
4041,
1241,
8863,
202,
202,
97,
202,
202,
8489,
18,
71,
1467,
273,
26637,
18,
1467,
31,
202,
202,
430,
261,
8489,
18,
22988,
422,
300,
21,
13,
288,
1082,
202,
12849,
394,
8603,
503,
2932,
22988,
486,
444,
316,
4041,
2
] |
_list.set(previousIndex(),o); }
|
throw new java.lang.UnsupportedOperationException("Method set() not yet implemented."); }
|
public void set(Object o) { _list.set(previousIndex(),o); }
|
52001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52001/b9fbb270ca27018c79852f6e7ea1a7f2aeff42b8/IDOPrimaryKeyList.java/buggy/src/java/com/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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
444,
12,
921,
320,
13,
288,
9506,
202,
67,
1098,
18,
542,
12,
11515,
1016,
9334,
83,
1769,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
updateTreeWithRoot(event.getRoot());
|
SModelTreeNode.this.update();
|
public void run() { SModelEventVisitor visitor = new SModelEventVisitor() { public void visitRootEvent(SModelRootEvent event) { updateTreeWithRoot(event.getRoot()); } public void visitChildEvent(SModelChildEvent event) { updateTreeWithRoot(event.getParent()); } public void visitPropertyEvent(SModelPropertyEvent event) { } public void visitReferenceEvent(SModelReferenceEvent event) { } }; for (SModelEvent event : events) { event.accept(visitor); } ((DefaultTreeModel) myTree.getModel()).nodeStructureChanged(SModelTreeNode.this); }
|
14939 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14939/7b4629c0ecf21b65692579527562aed76818854c/ProjectPane.java/buggy/source/jetbrains/mps/ide/projectPane/ProjectPane.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1086,
1435,
288,
2868,
348,
1488,
1133,
7413,
8000,
273,
394,
348,
1488,
1133,
7413,
1435,
288,
7734,
1071,
918,
3757,
2375,
1133,
12,
55,
1488,
2375,
1133,
871,
13,
288,
5375,
348,
1488,
12513,
18,
2211,
18,
2725,
5621,
7734,
289,
7734,
1071,
918,
3757,
1763,
1133,
12,
55,
1488,
1763,
1133,
871,
13,
288,
5375,
1089,
2471,
1190,
2375,
12,
2575,
18,
588,
3054,
10663,
7734,
289,
7734,
1071,
918,
3757,
1396,
1133,
12,
55,
1488,
1396,
1133,
871,
13,
288,
7734,
289,
7734,
1071,
918,
3757,
2404,
1133,
12,
55,
1488,
2404,
1133,
871,
13,
288,
7734,
289,
2868,
289,
31,
2868,
364,
261,
55,
1488,
1133,
871,
294,
2641,
13,
288,
7734,
871,
18,
9436,
12,
3516,
1811,
1769,
2868,
289,
2868,
14015,
1868,
2471,
1488,
13,
3399,
2471,
18,
588,
1488,
1435,
2934,
2159,
6999,
5033,
12,
55,
1488,
12513,
18,
2211,
1769,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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398,
316,
326,
981,
30,
2398,
1071,
918,
1086,
1435,
288,
2868,
348,
1488,
1133,
7413,
8000,
273,
394,
348,
1488,
1133,
7413,
1435,
288,
7734,
1071,
918,
3757,
2375,
1133,
12,
55,
1488,
2375,
1133,
871,
13,
288,
5375,
348,
1488,
12513,
18,
2211,
18,
2725,
5621,
7734,
289,
7734,
1071,
918,
3757,
1763,
1133,
12,
55,
1488,
1763,
1133,
871,
13,
288,
5375,
1089,
2471,
1190,
2375,
12,
2575,
18,
588,
3054,
10663,
7734,
289,
7734,
1071,
918,
3757,
1396,
1133,
12,
55,
1488,
1396,
1133,
871,
13,
288,
7734,
289,
7734,
1071,
918,
3757,
2404,
1133,
12,
55,
1488,
2404,
1133,
871,
13,
288,
7734,
289,
2868,
289,
31,
2868,
364,
261,
55,
1488,
1133,
871,
294,
2641,
13,
288,
7734,
2
] |
super("Interaction", _interactionIcon, 3);
|
super("Interaction", _interactionIcon, 2); addCaption(Argo.localize("UMLMenu", "label.name"),1,0,0); addField(nameField,1,0,0); addCaption(Argo.localize("UMLMenu", "label.stereotype"),2,0,1); addField(stereotypeBox,2,0,0); /* addCaption("Messages:",0,1,0); JList messageList = new UMLList(new UMLMessagesListModel(this,"message",true), true); messageList.setBackground(getBackground()); messageList.setForeground(Color.blue); addField(new JScrollPane(messageList),0,1,1); */
|
public PropPanelInteraction() { super("Interaction", _interactionIcon, 3); }
|
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ce70ef5bfb9cd8048629e594c83ac220e41b89b0/PropPanelInteraction.java/clean/src_new/org/argouml/uml/ui/behavior/collaborations/PropPanelInteraction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
10484,
5537,
17419,
1435,
288,
202,
202,
9565,
2932,
17419,
3113,
389,
30303,
5554,
16,
890,
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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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
10484,
5537,
17419,
1435,
288,
202,
202,
9565,
2932,
17419,
3113,
389,
30303,
5554,
16,
890,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
RenderRequest renderRequest = new RenderRequestImpl(request, portalContext, portletContext);
|
RenderRequest renderRequest = new RenderRequestImpl(request, portalContext, portletContext, supports);
|
public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { registry = PortletRegistry.getInstance(); // If no portlet ID exists, this may be a command to init or shutdown a portlet instance // currently either all portlets are initailized or shutdown, not one individually... String method = (String) request.getAttribute(SportletProperties.PORTLET_LIFECYCLE_METHOD); if (method.equals(SportletProperties.INIT)) { Set set = portlets.keySet(); Iterator it = set.iterator(); while (it.hasNext()) { String portletClass = (String) it.next(); Portlet portlet = (Portlet) portlets.get(portletClass); log.debug("in PortletServlet: service(): Initializing portlet " + portletClass); PortletDefinition portletDef = portletWebApp.getPortletDefinition(portletClass); PortletConfig portletConfig = new PortletConfigImpl(getServletConfig(), portletDef, Thread.currentThread().getContextClassLoader()); try { portlet.init(portletConfig); portletConfigHash.put(portletClass, portletConfig); } catch (Exception e) { log.error("in PortletServlet: service(): Unable to INIT portlet " + portletClass, e); // PLT.5.5.2.1 Portlet that fails to initialize must not be placed in active service it.remove(); } } manager.addWebApp(portletWebApp); return; } else if (method.equals(SportletProperties.INIT_CONCRETE)) { // do nothing for concrete portlets return; } else if (method.equals(SportletProperties.DESTROY)) { Iterator it = portlets.keySet().iterator(); while (it.hasNext()) { String portletClass = (String) it.next(); Portlet portlet = (Portlet) portlets.get(portletClass); log.debug("in PortletServlet: service(): Destroying portlet " + portletClass); try { portlet.destroy(); } catch (RuntimeException e) { log.error("Caught exception during portlet destroy", e); } } manager.removePortletWebApplication(portletWebApp); return; } else if (method.equals(SportletProperties.DESTROY_CONCRETE)) { // do nothing for concrete portlets return; } // There must be a portlet ID to know which portlet to service String portletClassName = (String) request.getAttribute(SportletProperties.PORTLETID); String compId = (String) request.getAttribute(SportletProperties.COMPONENT_ID); if (portletClassName == null) { // it may be in the request parameter portletClassName = request.getParameter(SportletProperties.PORTLETID); if (portletClassName == null) { log.debug("in PortletServlet: service(): No PortletID found in request!"); return; } request.setAttribute(SportletProperties.PORTLETID, portletClassName); } log.debug("have a portlet id " + portletClassName + " component id= " + compId); Portlet portlet = (Portlet) portlets.get(portletClassName); JSRApplicationPortletImpl appPortlet = (JSRApplicationPortletImpl) registry.getApplicationPortlet(portletClassName); //Supports[] supports = appPortlet.getSupports(); setPortletModes(request, appPortlet); // perform user conversion from gridsphere to JSR model User user = (User) request.getAttribute(SportletProperties.PORTLET_USER); Map userInfo; if (user instanceof GuestUser) { userInfo = null; } else { userInfo = new HashMap(); userInfo.put("user.name", user.getUserName()); //userInfo.put("user.name.nickName", user.getUserName()); userInfo.put("user.id", user.getID()); userInfo.put("user.email", user.getEmailAddress()); userInfo.put("user.organization", user.getOrganization()); userInfo.put("user.lastlogintime", new Long(user.getLastLoginTime()).toString()); userInfo.put("user.name.full", user.getFullName()); userInfo.put("user.timezone", user.getAttribute(User.TIMEZONE)); userInfo.put("user.locale", user.getAttribute(User.LOCALE)); userInfo.put("user.theme", user.getAttribute(User.THEME)); //userInfo.put("user.name.given", user.getGivenName()); //userInfo.put("user.name.family", user.getFamilyName()); request.setAttribute(PortletRequest.USER_INFO, userInfo); } /* UserAttribute[] userAttrs = portletWebApp.getUserAttributes(); for (int i = 0; i < userAttrs.length; i++) { UserAttribute userAttr = userAttrs[i]; String name = userAttr.getName().getContent(); userInfo.put(name, ""); } request.setAttribute(PortletRequest.USER_INFO, userInfo); */ // portlet preferences PortalContext portalContext = appPortlet.getPortalContext(); request.setAttribute(SportletProperties.PORTAL_CONTEXT, portalContext); request.setAttribute(SportletProperties.PORTLET_CONFIG, portletConfigHash.get(portletClassName)); if (portlet == null) { log.error("in PortletServlet: service(): No portlet matching " + portletClassName + " found!"); return; } if (method.equals(SportletProperties.SERVICE)) { String action = (String) request.getAttribute(SportletProperties.PORTLET_ACTION_METHOD); if (action != null) { log.debug("in PortletServlet: action is not NULL"); if (action.equals(SportletProperties.DO_TITLE)) { RenderRequest renderRequest = new RenderRequestImpl(request, portalContext, portletContext); RenderResponse renderResponse = new RenderResponseImpl(request, response, portalContext); renderRequest.setAttribute(SportletProperties.RENDER_REQUEST, renderRequest); renderRequest.setAttribute(SportletProperties.RENDER_RESPONSE, renderResponse); log.debug("in PortletServlet: do title " + portletClassName); try { doTitle(portlet, renderRequest, renderResponse); } catch (PortletException e) { log.error("Error during doTitle:", e); } } else if (action.equals(SportletProperties.WINDOW_EVENT)) { // do nothing } else if (action.equals(SportletProperties.MESSAGE_RECEIVED)) { // do nothing } else if (action.equals(SportletProperties.ACTION_PERFORMED)) { PortletPreferences prefs = prefsManager.getPortletPreferences(appPortlet, user, Thread.currentThread().getContextClassLoader(), false); request.setAttribute(SportletProperties.PORTLET_PREFERENCES, prefs); ActionRequestImpl actionRequest = new ActionRequestImpl(request, portalContext, portletContext); ActionResponse actionResponse = new ActionResponseImpl(request, response, portalContext); //setGroupAndRole(actionRequest, actionResponse); log.debug("in PortletServlet: action handling portlet " + portletClassName); try { portlet.processAction(actionRequest, actionResponse); } catch (Exception e) { log.error("Error during processAction:", e); request.setAttribute(SportletProperties.PORTLETERROR + portletClassName, new org.gridlab.gridsphere.portlet.PortletException(e)); } Map params = ((ActionResponseImpl) actionResponse).getRenderParameters(); String cid = (String) request.getAttribute(SportletProperties.COMPONENT_ID); actionRequest.setAttribute("renderParams" + "_" + portletClassName + "_" + cid, params); log.debug("placing render params in attribute: " + "renderParams" + "_" + portletClassName + "_" + cid); //actionRequest.clearParameters(); redirect(request, response, actionRequest, actionResponse, portalContext); } } else { PortletPreferences prefs = prefsManager.getPortletPreferences(appPortlet, user, Thread.currentThread().getContextClassLoader(), true); request.setAttribute(SportletProperties.PORTLET_PREFERENCES, prefs); RenderRequest renderRequest = new RenderRequestImpl(request, portalContext, portletContext); RenderResponse renderResponse = new RenderResponseImpl(request, response, portalContext); renderRequest.setAttribute(SportletProperties.RENDER_REQUEST, renderRequest); renderRequest.setAttribute(SportletProperties.RENDER_RESPONSE, renderResponse); //setGroupAndRole(renderRequest, renderResponse); log.debug("in PortletServlet: rendering portlet " + portletClassName); if (renderRequest.getAttribute(SportletProperties.RESPONSE_COMMITTED) == null) { try { portlet.render(renderRequest, renderResponse); } catch (UnavailableException e) { log.error("in PortletServlet(): doRender() caught unavailable exception: "); try { portlet.destroy(); } catch (Exception d) { log.error("in PortletServlet(): destroy caught unavailable exception: ", d); } } catch (Exception e) { if (request.getAttribute(SportletProperties.PORTLETERROR + portletClassName) == null) { request.setAttribute(SportletProperties.PORTLETERROR + portletClassName, e); } log.error("in PortletServlet(): doRender() caught exception", e); throw new ServletException(e); } request.removeAttribute(SportletProperties.PORTLET_MODE_JSR); } } request.removeAttribute(SportletProperties.PORTLET_ACTION_METHOD); } else { log.error("in PortletServlet: service(): No " + SportletProperties.PORTLET_LIFECYCLE_METHOD + " found in request!"); } request.removeAttribute(SportletProperties.PORTLET_LIFECYCLE_METHOD); }
|
49343 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49343/bba92452c598d888d0f72546fa610dec7ba5b8f5/PortletServlet.java/buggy/src/org/gridlab/gridsphere/provider/portlet/jsr/PortletServlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1156,
12,
2940,
18572,
590,
16,
12446,
766,
13,
1216,
16517,
16,
1860,
288,
3639,
4023,
273,
21305,
4243,
18,
588,
1442,
5621,
3639,
368,
971,
1158,
13114,
1599,
1704,
16,
333,
2026,
506,
279,
1296,
358,
1208,
578,
5731,
279,
13114,
791,
3639,
368,
4551,
3344,
777,
13114,
87,
854,
1208,
671,
1235,
578,
5731,
16,
486,
1245,
28558,
2777,
3639,
514,
707,
273,
261,
780,
13,
590,
18,
588,
1499,
12,
55,
655,
1810,
2297,
18,
6354,
15146,
67,
2053,
42,
7228,
61,
23181,
67,
5327,
1769,
3639,
309,
261,
2039,
18,
14963,
12,
55,
655,
1810,
2297,
18,
12919,
3719,
288,
5411,
1000,
444,
273,
13114,
87,
18,
856,
694,
5621,
5411,
4498,
518,
273,
444,
18,
9838,
5621,
5411,
1323,
261,
305,
18,
5332,
2134,
10756,
288,
7734,
514,
13114,
797,
273,
261,
780,
13,
518,
18,
4285,
5621,
7734,
21305,
13114,
273,
261,
18566,
13,
13114,
87,
18,
588,
12,
655,
1810,
797,
1769,
7734,
613,
18,
4148,
2932,
267,
21305,
4745,
30,
1156,
13332,
10188,
6894,
13114,
315,
397,
13114,
797,
1769,
7734,
21305,
1852,
13114,
3262,
273,
13114,
4079,
3371,
18,
588,
18566,
1852,
12,
655,
1810,
797,
1769,
7734,
21305,
809,
13114,
809,
273,
394,
21305,
809,
2828,
12,
588,
4745,
809,
9334,
13114,
3262,
16,
4884,
18,
2972,
3830,
7675,
29120,
7805,
10663,
7734,
775,
288,
10792,
13114,
18,
2738,
12,
655,
1810,
809,
1769,
10792,
13114,
809,
2310,
18,
458,
12,
655,
1810,
797,
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,
1156,
12,
2940,
18572,
590,
16,
12446,
766,
13,
1216,
16517,
16,
1860,
288,
3639,
4023,
273,
21305,
4243,
18,
588,
1442,
5621,
3639,
368,
971,
1158,
13114,
1599,
1704,
16,
333,
2026,
506,
279,
1296,
358,
1208,
578,
5731,
279,
13114,
791,
3639,
368,
4551,
3344,
777,
13114,
87,
854,
1208,
671,
1235,
578,
5731,
16,
486,
1245,
28558,
2777,
3639,
514,
707,
273,
261,
780,
13,
590,
18,
588,
1499,
12,
55,
655,
1810,
2297,
18,
6354,
15146,
67,
2053,
42,
7228,
61,
23181,
67,
5327,
1769,
3639,
309,
261,
2039,
18,
14963,
12,
55,
655,
1810,
2297,
18,
12919,
3719,
288,
5411,
1000,
444,
273,
13114,
87,
18,
856,
694,
5621,
5411,
4498,
2
] |
assertEquals("/nextapp/echo2/test/componentxml/BackgroundImage.png",
|
assertEquals("nextapp/echo2/test/componentxml/BackgroundImage.png",
|
public void testSimple() { Style alphaStyle = styleSheet.getStyle(WindowPane.class, "alpha"); FillImageBorder fillImageBorder = (FillImageBorder) alphaStyle.getProperty(WindowPane.PROPERTY_BORDER); assertEquals(new Color(0xabcdef), fillImageBorder.getColor()); assertEquals(new Insets(12), fillImageBorder.getContentInsets()); assertEquals(new Insets(6, 4), fillImageBorder.getBorderInsets()); FillImage topLeftFillImage = fillImageBorder.getFillImage(FillImageBorder.TOP_LEFT); assertNotNull(topLeftFillImage); ImageReference imageReference = topLeftFillImage.getImage(); assertNotNull(imageReference); assertTrue(imageReference instanceof ResourceImageReference); assertEquals("/nextapp/echo2/test/componentxml/BackgroundImage.png", ((ResourceImageReference) imageReference).getResource()); assertEquals(FillImage.REPEAT_HORIZONTAL, topLeftFillImage.getRepeat()); assertEquals(new Extent(50), topLeftFillImage.getHorizontalOffset()); assertEquals(new Extent(-30, Extent.PERCENT), topLeftFillImage.getVerticalOffset()); }
|
45635 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45635/5fcac2fd891a28c14ed2f2c9a85e98b45e7eba44/FillImageBorderPeerTest.java/buggy/src/app/test/nextapp/echo2/app/test/componentxml/FillImageBorderPeerTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
5784,
1435,
288,
3639,
9767,
4190,
2885,
273,
2154,
8229,
18,
588,
2885,
12,
3829,
8485,
18,
1106,
16,
315,
5429,
8863,
3639,
14192,
2040,
8107,
3636,
2040,
8107,
273,
261,
8026,
2040,
8107,
13,
4190,
2885,
18,
588,
1396,
12,
3829,
8485,
18,
9900,
67,
38,
7954,
1769,
3639,
1815,
8867,
12,
2704,
5563,
12,
20,
92,
28953,
3631,
3636,
2040,
8107,
18,
588,
2957,
10663,
3639,
1815,
8867,
12,
2704,
22300,
12,
2138,
3631,
3636,
2040,
8107,
18,
588,
1350,
382,
4424,
10663,
3639,
1815,
8867,
12,
2704,
22300,
12,
26,
16,
1059,
3631,
3636,
2040,
8107,
18,
588,
8107,
382,
4424,
10663,
7734,
14192,
2040,
1760,
3910,
8026,
2040,
273,
3636,
2040,
8107,
18,
588,
8026,
2040,
12,
8026,
2040,
8107,
18,
10462,
67,
10066,
1769,
3639,
25395,
12,
3669,
3910,
8026,
2040,
1769,
3639,
3421,
2404,
1316,
2404,
273,
1760,
3910,
8026,
2040,
18,
588,
2040,
5621,
3639,
25395,
12,
2730,
2404,
1769,
3639,
1815,
5510,
12,
2730,
2404,
1276,
2591,
2040,
2404,
1769,
3639,
1815,
8867,
2932,
4285,
2910,
19,
12946,
22,
19,
3813,
19,
4652,
2902,
19,
8199,
2040,
18,
6446,
3113,
1171,
14015,
1420,
2040,
2404,
13,
1316,
2404,
2934,
588,
1420,
10663,
3639,
1815,
8867,
12,
8026,
2040,
18,
862,
31804,
67,
44,
20344,
16,
1760,
3910,
8026,
2040,
18,
588,
16750,
10663,
3639,
1815,
8867,
12,
2704,
6419,
319,
12,
3361,
3631,
1760,
3910,
8026,
2040,
18,
588,
14457,
2335,
10663,
3639,
1815,
8867,
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,
5784,
1435,
288,
3639,
9767,
4190,
2885,
273,
2154,
8229,
18,
588,
2885,
12,
3829,
8485,
18,
1106,
16,
315,
5429,
8863,
3639,
14192,
2040,
8107,
3636,
2040,
8107,
273,
261,
8026,
2040,
8107,
13,
4190,
2885,
18,
588,
1396,
12,
3829,
8485,
18,
9900,
67,
38,
7954,
1769,
3639,
1815,
8867,
12,
2704,
5563,
12,
20,
92,
28953,
3631,
3636,
2040,
8107,
18,
588,
2957,
10663,
3639,
1815,
8867,
12,
2704,
22300,
12,
2138,
3631,
3636,
2040,
8107,
18,
588,
1350,
382,
4424,
10663,
3639,
1815,
8867,
12,
2704,
22300,
12,
26,
16,
1059,
3631,
3636,
2040,
8107,
18,
588,
8107,
382,
4424,
10663,
7734,
14192,
2040,
1760,
3910,
8026,
2040,
273,
3636,
2040,
2
] |
Object p = getSelectedProposal();
|
IContentProposal p = getSelectedProposal();
|
private void showProposalDescription(String description) { // If we have not created an info popup yet, do so now. if (infoPopup == null && description != null) { // Create a thread that will sleep for the specified delay // before creating the popup. We do not use Jobs since this // code must be able to run independently of the Eclipse runtime. Runnable runnable = new Runnable() { public void run() { try { Thread.sleep(POPUP_DELAY); } catch (InterruptedException e) { } if (!isValid()) return; getShell().getDisplay().syncExec(new Runnable() { public void run() { // The selection may have changed by the time we // open, so double check it. Object p = getSelectedProposal(); if (p != null) { infoPopup = new InfoPopupDialog(getShell()); infoPopup .setContents(getProposalDescription(p)); infoPopup.open(); infoPopup.getShell().addDisposeListener( new DisposeListener() { public void widgetDisposed( DisposeEvent event) { infoPopup = null; } }); } } }); } }; Thread t = new Thread(runnable); t.start(); } else if (infoPopup != null) { // We already have a popup, so just reset the contents. infoPopup.setContents(description); } }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/54f5816382677a87ac1d149868af2370808e4f06/ContentProposalPopup.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/ContentProposalPopup.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2405,
14592,
3291,
12,
780,
2477,
13,
288,
202,
202,
759,
971,
732,
1240,
486,
2522,
392,
1123,
10431,
4671,
16,
741,
1427,
2037,
18,
202,
202,
430,
261,
1376,
13770,
422,
446,
597,
2477,
480,
446,
13,
288,
1082,
202,
759,
1788,
279,
2650,
716,
903,
5329,
364,
326,
1269,
4624,
1082,
202,
759,
1865,
4979,
326,
10431,
18,
1660,
741,
486,
999,
26909,
3241,
333,
1082,
202,
759,
981,
1297,
506,
7752,
358,
1086,
14807,
715,
434,
326,
20840,
10472,
3099,
18,
1082,
202,
20013,
14685,
273,
394,
10254,
1435,
288,
9506,
202,
482,
918,
1086,
1435,
288,
6862,
202,
698,
288,
25083,
202,
3830,
18,
19607,
12,
30374,
3079,
67,
26101,
1769,
6862,
202,
97,
1044,
261,
24485,
503,
425,
13,
288,
6862,
202,
97,
6862,
202,
430,
16051,
26810,
10756,
25083,
202,
2463,
31,
6862,
202,
588,
13220,
7675,
588,
4236,
7675,
8389,
1905,
12,
2704,
10254,
1435,
288,
25083,
202,
482,
918,
1086,
1435,
288,
6862,
1082,
202,
759,
1021,
4421,
2026,
1240,
3550,
635,
326,
813,
732,
6862,
1082,
202,
759,
1696,
16,
1427,
1645,
866,
518,
18,
6862,
1082,
202,
921,
293,
273,
16625,
14592,
5621,
6862,
1082,
202,
430,
261,
84,
480,
446,
13,
288,
6862,
9506,
202,
1376,
13770,
273,
394,
3807,
13770,
6353,
12,
588,
13220,
10663,
6862,
9506,
202,
1376,
13770,
6862,
25083,
202,
18,
542,
6323,
12,
588,
14592,
3291,
12,
84,
10019,
6862,
9506,
202,
1376,
13770,
18,
3190,
5621,
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,
2405,
14592,
3291,
12,
780,
2477,
13,
288,
202,
202,
759,
971,
732,
1240,
486,
2522,
392,
1123,
10431,
4671,
16,
741,
1427,
2037,
18,
202,
202,
430,
261,
1376,
13770,
422,
446,
597,
2477,
480,
446,
13,
288,
1082,
202,
759,
1788,
279,
2650,
716,
903,
5329,
364,
326,
1269,
4624,
1082,
202,
759,
1865,
4979,
326,
10431,
18,
1660,
741,
486,
999,
26909,
3241,
333,
1082,
202,
759,
981,
1297,
506,
7752,
358,
1086,
14807,
715,
434,
326,
20840,
10472,
3099,
18,
1082,
202,
20013,
14685,
273,
394,
10254,
1435,
288,
9506,
202,
482,
918,
1086,
1435,
288,
6862,
202,
698,
288,
25083,
202,
3830,
18,
19607,
12,
30374,
3079,
67,
26101,
1769,
2
] |
keepAliveTimer.scheduleAtFixedRate(new KeepAliveTask(), 30000, 30000);
|
int keepAliveInterval = SmackConfiguration.getKeepAliveInterval(); if (keepAliveInterval > 0) { Thread keepAliveThread = new Thread(new KeepAliveTask(keepAliveInterval)); keepAliveThread.setDaemon(true); keepAliveThread.start(); }
|
protected PacketWriter(XMPPConnection connection) { this.connection = connection; this.writer = connection.writer; this.queue = new LinkedList(); writerThread = new Thread() { public void run() { writePackets(); } }; writerThread.setName("Smack Packet Writer"); writerThread.setDaemon(true); listenerThread = new Thread() { public void run() { processListeners(); } }; listenerThread.setName("Smack Writer Listener Processor"); listenerThread.setDaemon(true); // Schedule a keep-alive task for once every 30 seconds. It will write // out a space character each time it runs to keep the TCP/IP connection open. keepAliveTimer.scheduleAtFixedRate(new KeepAliveTask(), 30000, 30000); }
|
1538 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1538/4459125f7d162fa876ea443fcf97c40a489e81a3/PacketWriter.java/buggy/source/org/jivesoftware/smack/PacketWriter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
11114,
2289,
12,
60,
19388,
1952,
1459,
13,
288,
3639,
333,
18,
4071,
273,
1459,
31,
3639,
333,
18,
6299,
273,
1459,
18,
6299,
31,
3639,
333,
18,
4000,
273,
394,
10688,
5621,
3639,
2633,
3830,
273,
394,
4884,
1435,
288,
5411,
1071,
918,
1086,
1435,
288,
7734,
1045,
27328,
5621,
5411,
289,
3639,
289,
31,
3639,
2633,
3830,
18,
542,
461,
2932,
9552,
484,
11114,
5497,
8863,
3639,
2633,
3830,
18,
542,
12858,
12,
3767,
1769,
3639,
2991,
3830,
273,
394,
4884,
1435,
288,
5411,
1071,
918,
1086,
1435,
288,
7734,
1207,
5583,
5621,
5411,
289,
3639,
289,
31,
3639,
2991,
3830,
18,
542,
461,
2932,
9552,
484,
5497,
10652,
15476,
8863,
3639,
2991,
3830,
18,
542,
12858,
12,
3767,
1769,
3639,
368,
10674,
279,
3455,
17,
11462,
1562,
364,
3647,
3614,
5196,
3974,
18,
2597,
903,
1045,
3639,
368,
596,
279,
3476,
3351,
1517,
813,
518,
7597,
358,
3455,
326,
9911,
19,
2579,
1459,
1696,
18,
3639,
509,
24115,
4006,
273,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,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
11114,
2289,
12,
60,
19388,
1952,
1459,
13,
288,
3639,
333,
18,
4071,
273,
1459,
31,
3639,
333,
18,
6299,
273,
1459,
18,
6299,
31,
3639,
333,
18,
4000,
273,
394,
10688,
5621,
3639,
2633,
3830,
273,
394,
4884,
1435,
288,
5411,
1071,
918,
1086,
1435,
288,
7734,
1045,
27328,
5621,
5411,
289,
3639,
289,
31,
3639,
2633,
3830,
18,
542,
461,
2932,
9552,
484,
11114,
5497,
8863,
3639,
2633,
3830,
18,
542,
12858,
12,
3767,
1769,
3639,
2991,
3830,
273,
394,
4884,
1435,
288,
5411,
1071,
918,
1086,
1435,
288,
7734,
1207,
5583,
5621,
5411,
289,
3639,
289,
31,
3639,
2991,
3830,
18,
542,
461,
2932,
9552,
484,
5497,
10652,
15476,
8863,
3639,
2991,
3830,
18,
2
] |
return null;
|
return new Boolean(facade.isAuthorized(agent, WizardFunctionConstants.VIEW_WIZARD, id));
|
protected Boolean isWizardViewAuth(AuthorizationFacade facade, Agent agent, Id id, boolean allowAnonymous) { String siteStr = getWizardManager().getWizardIdSiteId(id); if (siteStr == null) { return null; } return isWizardViewAuth(id, facade, agent, id, allowAnonymous); }
|
48996 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48996/2d3b6798d600d5fd9e95ed1fe9a998e6c9900bea/WizardAuthorizerImpl.java/clean/wizard/api-impl/src/java/org/theospi/portfolio/wizard/WizardAuthorizerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
3411,
353,
27130,
1767,
1730,
12,
6063,
12467,
11270,
16,
8669,
4040,
16,
3124,
612,
16,
1250,
1699,
18792,
13,
288,
5411,
514,
2834,
1585,
273,
13876,
13412,
1318,
7675,
588,
27130,
548,
4956,
548,
12,
350,
1769,
5411,
309,
261,
4256,
1585,
422,
446,
13,
288,
540,
327,
394,
3411,
12,
507,
5065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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
3411,
353,
27130,
1767,
1730,
12,
6063,
12467,
11270,
16,
8669,
4040,
16,
3124,
612,
16,
1250,
1699,
18792,
13,
288,
5411,
514,
2834,
1585,
273,
13876,
13412,
1318,
7675,
588,
27130,
548,
4956,
548,
12,
350,
1769,
5411,
309,
261,
4256,
1585,
422,
446,
13,
288,
540,
327,
394,
3411,
12,
507,
5065,
18,
291,
15341,
12,
5629,
16,
678,
13412,
2083,
2918,
18,
12145,
67,
59,
6867,
8085,
16,
612,
10019,
1377,
289,
1377,
327,
353,
27130,
1767,
1730,
12,
350,
16,
11270,
16,
4040,
16,
612,
16,
1699,
18792,
1769,
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
] |
if(range.getFrom().compareTo( propertyValue ) == -1) {
|
if(range.getFrom().compareTo( propertyValue ) == 1) {
|
protected void processValidate(Object propertyValue, Errors errors) { Object[] args = new Object[] { constraintPropertyName, constraintOwningClass, propertyValue, range.getFrom(), range.getTo() }; if(propertyValue == null) { super.rejectValue(errors,SIZE_CONSTRAINT + INVALID_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_SIZE_MESSAGE, args )); return; } if(propertyValue.getClass().isArray()) { Integer length = new Integer(Array.getLength( propertyValue )); if(!range.contains(length)) { if(range.getFrom().compareTo( length ) == -1) { super.rejectValue(errors,LENGTH_CONSTRAINT + TOOSHORT_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_LENGTH_MESSAGE, args )); } else if(range.getFrom().compareTo(length) == 1) { super.rejectValue(errors,LENGTH_CONSTRAINT + TOOLONG_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_LENGTH_MESSAGE, args )); } return; } } if(propertyValue instanceof Collection) { Integer collectionSize = new Integer(((Collection)propertyValue).size()); if(!range.contains( collectionSize )) { if(range.getFrom().compareTo( collectionSize ) == -1) { super.rejectValue(errors,SIZE_CONSTRAINT + TOOSMALL_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_SIZE_MESSAGE, args )); } else if(range.getFrom().compareTo(collectionSize) == 1) { super.rejectValue(errors,SIZE_CONSTRAINT + TOOBIG_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_SIZE_MESSAGE, args )); } } } else if(propertyValue instanceof Number) { if(range.getFrom().compareTo( propertyValue ) == -1) { super.rejectValue(errors,SIZE_CONSTRAINT + TOOSMALL_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_SIZE_MESSAGE, args )); } else if(range.getFrom().compareTo(propertyValue) == 1) { super.rejectValue(errors,SIZE_CONSTRAINT + TOOBIG_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_SIZE_MESSAGE, args )); } } else if(propertyValue instanceof String) { Integer stringLength = new Integer(((String)propertyValue ).length()); if(!range.contains(stringLength)) { if(range.getFrom().compareTo( stringLength ) == -1) { super.rejectValue(errors,LENGTH_CONSTRAINT + TOOSHORT_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_LENGTH_MESSAGE, args )); } else if(range.getFrom().compareTo(stringLength) == 1) { super.rejectValue(errors,LENGTH_CONSTRAINT + TOOLONG_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_LENGTH_MESSAGE, args )); } } } }
|
50670 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50670/1db9771587982d3c4e7d8b077a7c3357d6207c4c/ConstrainedProperty.java/clean/src/commons/org/codehaus/groovy/grails/validation/ConstrainedProperty.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
4750,
918,
1207,
4270,
12,
921,
12337,
16,
9372,
1334,
13,
288,
5411,
1033,
8526,
833,
273,
394,
1033,
8526,
288,
4954,
13073,
16,
4954,
3494,
2093,
797,
16,
12337,
16,
225,
1048,
18,
588,
1265,
9334,
1048,
18,
588,
774,
1435,
225,
289,
31,
5411,
309,
12,
4468,
620,
422,
446,
13,
288,
7734,
2240,
18,
24163,
620,
12,
4324,
16,
4574,
67,
15199,
397,
10071,
67,
14964,
16,
1968,
16,
1079,
1630,
18,
2139,
12,
3331,
67,
9347,
67,
4574,
67,
8723,
16,
833,
262,
1769,
7734,
327,
31,
5411,
289,
5411,
309,
12,
4468,
620,
18,
588,
797,
7675,
291,
1076,
10756,
288,
7734,
2144,
769,
273,
394,
2144,
12,
1076,
18,
588,
1782,
12,
12337,
262,
1769,
7734,
309,
12,
5,
3676,
18,
12298,
12,
2469,
3719,
288,
10792,
309,
12,
3676,
18,
588,
1265,
7675,
9877,
774,
12,
769,
262,
422,
300,
21,
13,
288,
13491,
2240,
18,
24163,
620,
12,
4324,
16,
7096,
67,
15199,
397,
8493,
51,
15993,
67,
14964,
16,
1968,
16,
1079,
1630,
18,
2139,
12,
3331,
67,
9347,
67,
7096,
67,
8723,
16,
833,
262,
1769,
10792,
289,
10792,
469,
309,
12,
3676,
18,
588,
1265,
7675,
9877,
774,
12,
2469,
13,
422,
404,
13,
288,
13491,
2240,
18,
24163,
620,
12,
4324,
16,
7096,
67,
15199,
397,
8493,
1741,
7390,
67,
14964,
16,
1968,
16,
1079,
1630,
18,
2139,
12,
3331,
67,
9347,
67,
7096,
67,
8723,
16,
833,
262,
1769,
10792,
289,
10792,
327,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
4750,
918,
1207,
4270,
12,
921,
12337,
16,
9372,
1334,
13,
288,
5411,
1033,
8526,
833,
273,
394,
1033,
8526,
288,
4954,
13073,
16,
4954,
3494,
2093,
797,
16,
12337,
16,
225,
1048,
18,
588,
1265,
9334,
1048,
18,
588,
774,
1435,
225,
289,
31,
5411,
309,
12,
4468,
620,
422,
446,
13,
288,
7734,
2240,
18,
24163,
620,
12,
4324,
16,
4574,
67,
15199,
397,
10071,
67,
14964,
16,
1968,
16,
1079,
1630,
18,
2139,
12,
3331,
67,
9347,
67,
4574,
67,
8723,
16,
833,
262,
1769,
7734,
327,
31,
5411,
289,
5411,
309,
12,
4468,
620,
18,
588,
797,
7675,
291,
1076,
10756,
288,
7734,
2144,
769,
273,
394,
2144,
12,
1076,
18,
588,
1782,
12,
2
] |
return user;
|
if (user == null) { log.warn("Username '" + username + "' not found in database."); } return user;
|
public User getUser(String username) { User user = dao.getUser(username); if (user == null) { log.warn("Username '" + username + "' not found in database."); } return user; }
|
12750 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12750/9103df0ad33639349fd96f1968e8e3d6d08d8dcd/UserManagerImpl.java/buggy/Springbreak/src/at/newsagg/service/impl/UserManagerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2177,
4735,
12,
780,
2718,
13,
288,
3196,
202,
1299,
729,
273,
15229,
18,
588,
1299,
12,
5053,
1769,
4697,
202,
430,
261,
1355,
422,
446,
13,
288,
1875,
202,
1330,
18,
8935,
2932,
8575,
2119,
397,
2718,
397,
2491,
486,
1392,
316,
2063,
1199,
1769,
3196,
202,
97,
3196,
202,
430,
261,
1355,
422,
446,
13,
288,
613,
18,
8935,
2932,
8575,
2119,
397,
2718,
397,
2491,
486,
1392,
316,
2063,
1199,
1769,
289,
225,
327,
729,
31,
225,
202,
97,
225,
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,
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
1299,
729,
273,
15229,
18,
588,
1299,
12,
5053,
1769,
4697,
202,
430,
261,
1355,
422,
446,
13,
288,
1875,
202,
1330,
18,
8935,
2932,
8575,
2119,
397,
2718,
397,
2491,
486,
1392,
316,
2063,
1199,
1769,
3196,
202,
97,
3196,
202,
430,
261,
1355,
422,
446,
13,
288,
613,
18,
8935,
2932,
8575,
2119,
397,
2718,
397,
2491,
486,
1392,
316,
2063,
1199,
1769,
289,
225,
327,
729,
31,
225,
202,
97,
225,
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
] |
f.show();
|
f.setVisible(true);
|
public void actionPerformed(ActionEvent e) { // create a SerialDriverFrame SerialDriverFrame f = new SerialDriverFrame(); try { f.initComponents(); } catch (Exception ex) { log.error("starting SerialDriverFrame caught exception: "+ex.toString()); } f.show(); };
|
2652 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2652/89dff04b232b6f5481d3316073942be783334028/SerialDriverAction.java/buggy/jmri/jmrix/xpa/serialdriver/SerialDriverAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
202,
202,
759,
752,
279,
7366,
4668,
3219,
202,
202,
6342,
4668,
3219,
284,
273,
394,
7366,
4668,
3219,
5621,
202,
202,
698,
288,
1082,
202,
74,
18,
2738,
7171,
5621,
1082,
202,
97,
202,
202,
14683,
261,
503,
431,
13,
288,
1082,
202,
1330,
18,
1636,
2932,
18526,
7366,
4668,
3219,
13537,
1520,
30,
13773,
338,
18,
10492,
10663,
1082,
202,
97,
202,
202,
74,
18,
4500,
5621,
202,
20451,
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,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
202,
202,
759,
752,
279,
7366,
4668,
3219,
202,
202,
6342,
4668,
3219,
284,
273,
394,
7366,
4668,
3219,
5621,
202,
202,
698,
288,
1082,
202,
74,
18,
2738,
7171,
5621,
1082,
202,
97,
202,
202,
14683,
261,
503,
431,
13,
288,
1082,
202,
1330,
18,
1636,
2932,
18526,
7366,
4668,
3219,
13537,
1520,
30,
13773,
338,
18,
10492,
10663,
1082,
202,
97,
202,
202,
74,
18,
4500,
5621,
202,
20451,
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
] |
JMenuItem replaceInProjectItem = new JMenuItem("Replace In Project"); replaceInProjectItem.addActionListener(replaceInProjectAction); replaceInProjectAction.addPropertyChangeListener(new ActionButtonAssociation(replaceInProjectAction, replaceInProjectItem));
|
JMenuItem replaceInProjectItem = new JMenuItem("Replace In Project"); replaceInProjectItem.addActionListener(replaceInProjectAction); replaceInProjectAction.addPropertyChangeListener( new ActionButtonAssociation(replaceInProjectAction, replaceInProjectItem));
|
private JMenu createSearchMenu() { JMenu searchMenu = new JMenu("Search"); JMenuItem findInProjectItem = new JMenuItem("Find In Project"); findInProjectItem.addActionListener(findInProjectAction); findInProjectAction.addPropertyChangeListener(new ActionButtonAssociation(findInProjectAction,findInProjectItem)); JMenuItem replaceInProjectItem = new JMenuItem("Replace In Project"); replaceInProjectItem.addActionListener(replaceInProjectAction); replaceInProjectAction.addPropertyChangeListener(new ActionButtonAssociation(replaceInProjectAction, replaceInProjectItem)); searchMenu.add(findInProjectAction); searchMenu.add(replaceInProjectAction); searchMenu.setMnemonic(KeyEvent.VK_A); return searchMenu; }
|
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/b614d4abef68545f39b6afc1e8521d6ccc484b8e/MainFrame.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/MainFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
804,
4599,
30396,
4599,
1435,
288,
202,
202,
46,
4599,
1623,
4599,
273,
394,
804,
4599,
2932,
2979,
8863,
202,
202,
46,
12958,
1104,
382,
4109,
1180,
273,
394,
804,
12958,
2932,
3125,
657,
5420,
8863,
202,
202,
4720,
382,
4109,
1180,
18,
1289,
1803,
2223,
12,
4720,
382,
4109,
1803,
1769,
202,
202,
4720,
382,
4109,
1803,
18,
1289,
1396,
15744,
12,
2704,
4382,
3616,
7174,
12,
4720,
382,
4109,
1803,
16,
4720,
382,
4109,
1180,
10019,
565,
804,
12958,
1453,
382,
4109,
1180,
273,
394,
804,
12958,
2932,
5729,
657,
5420,
8863,
565,
1453,
382,
4109,
1180,
18,
1289,
1803,
2223,
12,
2079,
382,
4109,
1803,
1769,
565,
1453,
382,
4109,
1803,
18,
1289,
1396,
15744,
12,
2704,
4382,
3616,
7174,
12,
2079,
382,
4109,
1803,
16,
1453,
382,
4109,
1180,
10019,
202,
202,
3072,
4599,
18,
1289,
12,
4720,
382,
4109,
1803,
1769,
565,
1623,
4599,
18,
1289,
12,
2079,
382,
4109,
1803,
1769,
202,
202,
3072,
4599,
18,
542,
29668,
20918,
12,
653,
1133,
18,
58,
47,
67,
37,
1769,
202,
202,
2463,
1623,
4599,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4109,
1180,
273,
394,
804,
12958,
2932,
3125,
657,
5420,
8863,
202,
202,
4720,
382,
4109,
1180,
18,
1289,
1803,
2223,
12,
4720,
382,
4109,
1803,
1769,
202,
202,
4720,
382,
4109,
1803,
18,
1289,
1396,
15744,
12,
2704,
4382,
3616,
7174,
12,
4720,
382,
4109,
1803,
16,
4720,
382,
4109,
1180,
10019,
565,
804,
12958,
1453,
382,
4109,
1180,
273,
394,
804,
12958,
2932,
5729,
657,
5420,
8863,
565,
1453,
382,
4109,
1180,
18,
1289,
1803,
2223,
12,
2079,
382,
4109,
1803,
1769,
565,
1453,
382,
4109,
1803,
18,
1289,
2
] |
catch (AuthenticationException authentication) { JOptionPane.showMessageDialog(getDialog(), authentication .getMessage(), "Authentication Failure", JOptionPane.ERROR_MESSAGE); return false; } if (displaySuccess) JOptionPane.showMessageDialog(getDialog(), "You have logged in as '" + loginGeneralPanel.getValue(SessionDetails.PROPERTY_USERNAME) + "'.", "Authentication Successful", JOptionPane.INFORMATION_MESSAGE); return true; }
|
protected boolean onFinish() { // todo EXCEPTION workflow! this joption pane stuff has got to // go...:-) try { loginGeneralPanel.commit(); } catch (AuthenticationException authentication) { JOptionPane.showMessageDialog(getDialog(), authentication .getMessage(), "Authentication Failure", JOptionPane.ERROR_MESSAGE); return false; } if (displaySuccess) JOptionPane.showMessageDialog(getDialog(), "You have logged in as '" + loginGeneralPanel.getValue(SessionDetails.PROPERTY_USERNAME) + "'.", "Authentication Successful", JOptionPane.INFORMATION_MESSAGE); return true; }
|
55916 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55916/dce5fadf490cdd0ae7869f6955e264cb546dc632/LoginCommand.java/clean/src/org/springframework/richclient/security/LoginCommand.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
4750,
1250,
603,
11641,
1435,
288,
7734,
368,
10621,
23136,
6095,
5,
333,
525,
3482,
13618,
10769,
711,
2363,
358,
7734,
368,
1960,
2777,
30,
17,
13,
7734,
775,
288,
10792,
3925,
12580,
5537,
18,
7371,
5621,
7734,
289,
7734,
1044,
261,
6492,
503,
5107,
13,
288,
10792,
804,
1895,
8485,
18,
4500,
1079,
6353,
12,
588,
6353,
9334,
5107,
18701,
263,
24906,
9334,
315,
6492,
13436,
3113,
18701,
804,
1895,
8485,
18,
3589,
67,
8723,
1769,
10792,
327,
629,
31,
7734,
289,
7734,
309,
261,
5417,
4510,
13,
10792,
804,
1895,
8485,
18,
4500,
1079,
6353,
12,
588,
6353,
9334,
18701,
315,
6225,
1240,
7545,
316,
487,
2119,
4766,
565,
397,
3925,
12580,
5537,
18,
24805,
12,
2157,
3790,
18,
9900,
67,
21292,
13,
4766,
565,
397,
30156,
16,
315,
6492,
11958,
2706,
3113,
18701,
804,
1895,
8485,
18,
706,
23805,
67,
8723,
1769,
7734,
327,
638,
31,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
4750,
1250,
603,
11641,
1435,
288,
7734,
368,
10621,
23136,
6095,
5,
333,
525,
3482,
13618,
10769,
711,
2363,
358,
7734,
368,
1960,
2777,
30,
17,
13,
7734,
775,
288,
10792,
3925,
12580,
5537,
18,
7371,
5621,
7734,
289,
7734,
1044,
261,
6492,
503,
5107,
13,
288,
10792,
804,
1895,
8485,
18,
4500,
1079,
6353,
12,
588,
6353,
9334,
5107,
18701,
263,
24906,
9334,
315,
6492,
13436,
3113,
18701,
804,
1895,
8485,
18,
3589,
67,
8723,
1769,
10792,
327,
629,
31,
7734,
289,
7734,
309,
261,
5417,
4510,
13,
10792,
804,
1895,
8485,
18,
4500,
1079,
6353,
12,
588,
6353,
9334,
18701,
315,
6225,
1240,
7545,
316,
487,
2119,
4766,
565,
397,
3925,
12580,
5537,
18,
24805,
12,
2
] |
|
ret = INCREASING_MAX_CAPACITY_COMPARATOR;
|
ret = INCREASING_CAPACITY_COUNT_COMPARATOR;
|
public static final Comparator getComparator( boolean increasing, String name) { Comparator ret; if (name == null) { ret = null; } else if (name.equals(SIZE)) { if (increasing) { ret = INCREASING_SIZE_COMPARATOR; } else { ret = DECREASING_SIZE_COMPARATOR; } } else if (name.equals(COMPARE_TO)) { if (increasing) { ret = INCREASING_COMPARE_TO_COMPARATOR; } else { ret = DECREASING_COMPARE_TO_COMPARATOR; } } else if (name.equals(HASHCODE)) { if (increasing) { ret = INCREASING_HASHCODE_COMPARATOR; } else { ret = DECREASING_HASHCODE_COMPARATOR; } } else if (name.equals(CAPACITY)) { if (increasing) { ret = INCREASING_CAPACITY_COMPARATOR; } else { ret = DECREASING_CAPACITY_COMPARATOR; } } else if (name.equals(MAX_SIZE)) { if (increasing) { ret = INCREASING_MAX_SIZE_COMPARATOR; } else { ret = DECREASING_MAX_SIZE_COMPARATOR; } } else if (name.equals(MAX_CAPACITY)) { if (increasing) { ret = INCREASING_MAX_CAPACITY_COMPARATOR; } else { ret = DECREASING_MAX_CAPACITY_COMPARATOR; } } else if (name.equals(EXCESS_CAPACITY)) { if (increasing) { ret = INCREASING_EXCESS_CAPACITY_COMPARATOR; } else { ret = DECREASING_EXCESS_CAPACITY_COMPARATOR; } } else if (name.equals(TIME)) { if (increasing) { ret = INCREASING_TIME_COMPARATOR; } else { ret = DECREASING_TIME_COMPARATOR; } } else if (name.equals(GROUP_COUNT)) { if (increasing) { ret = INCREASING_GROUP_COUNT_COMPARATOR; } else { ret = DECREASING_GROUP_COUNT_COMPARATOR; } } else { ret = null; } return ret; }
|
10688 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10688/1d14349b46f4d57f1262d289891f1194920c84c0/Comparators.java/clean/profiler_impl/src/org/cougaar/profiler/Comparators.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
727,
13359,
336,
5559,
12,
1377,
1250,
21006,
16,
514,
508,
13,
288,
565,
13359,
325,
31,
565,
309,
261,
529,
422,
446,
13,
288,
1377,
325,
273,
446,
31,
565,
289,
469,
309,
261,
529,
18,
14963,
12,
4574,
3719,
288,
1377,
309,
261,
267,
1793,
11730,
13,
288,
3639,
325,
273,
2120,
5458,
3033,
1360,
67,
4574,
67,
4208,
4255,
31,
1377,
289,
469,
288,
3639,
325,
273,
2030,
5458,
3033,
1360,
67,
4574,
67,
4208,
4255,
31,
1377,
289,
565,
289,
469,
309,
261,
529,
18,
14963,
12,
4208,
11713,
67,
4296,
3719,
288,
1377,
309,
261,
267,
1793,
11730,
13,
288,
3639,
325,
273,
2120,
5458,
3033,
1360,
67,
4208,
11713,
67,
4296,
67,
4208,
4255,
31,
1377,
289,
469,
288,
3639,
325,
273,
2030,
5458,
3033,
1360,
67,
4208,
11713,
67,
4296,
67,
4208,
4255,
31,
1377,
289,
565,
289,
469,
309,
261,
529,
18,
14963,
12,
15920,
5572,
3719,
288,
1377,
309,
261,
267,
1793,
11730,
13,
288,
3639,
325,
273,
2120,
5458,
3033,
1360,
67,
15920,
5572,
67,
4208,
4255,
31,
1377,
289,
469,
288,
3639,
325,
273,
2030,
5458,
3033,
1360,
67,
15920,
5572,
67,
4208,
4255,
31,
1377,
289,
565,
289,
469,
309,
261,
529,
18,
14963,
12,
17296,
30041,
3719,
288,
1377,
309,
261,
267,
1793,
11730,
13,
288,
3639,
325,
273,
2120,
5458,
3033,
1360,
67,
17296,
30041,
67,
4208,
4255,
31,
1377,
289,
469,
288,
3639,
325,
273,
2030,
5458,
3033,
1360,
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,
727,
13359,
336,
5559,
12,
1377,
1250,
21006,
16,
514,
508,
13,
288,
565,
13359,
325,
31,
565,
309,
261,
529,
422,
446,
13,
288,
1377,
325,
273,
446,
31,
565,
289,
469,
309,
261,
529,
18,
14963,
12,
4574,
3719,
288,
1377,
309,
261,
267,
1793,
11730,
13,
288,
3639,
325,
273,
2120,
5458,
3033,
1360,
67,
4574,
67,
4208,
4255,
31,
1377,
289,
469,
288,
3639,
325,
273,
2030,
5458,
3033,
1360,
67,
4574,
67,
4208,
4255,
31,
1377,
289,
565,
289,
469,
309,
261,
529,
18,
14963,
12,
4208,
11713,
67,
4296,
3719,
288,
1377,
309,
261,
267,
1793,
11730,
13,
288,
3639,
325,
273,
2120,
5458,
3033,
1360,
67,
4208,
11713,
67,
2
] |
return errorInfo.isNil() ? runtime.getNil() : errorInfo.callMethod(errorInfo.getRuntime().getCurrentContext(), "backtrace");
|
IRubyObject backtrace = errorInfo.isNil() ? runtime.getNil() : errorInfo.callMethod(errorInfo.getRuntime().getCurrentContext(), "backtrace"); if (!(backtrace instanceof RubyArray)) { backtrace = runtime.getNil(); } return backtrace;
|
public IRubyObject get() { IRubyObject errorInfo = runtime.getGlobalVariables().get("$!"); return errorInfo.isNil() ? runtime.getNil() : errorInfo.callMethod(errorInfo.getRuntime().getCurrentContext(), "backtrace"); }
|
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/fe628a940467ceda783730ea34173dec3d365fa4/RubyGlobal.java/clean/src/org/jruby/RubyGlobal.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
15908,
10340,
921,
336,
1435,
288,
5411,
15908,
10340,
921,
23280,
273,
3099,
18,
588,
5160,
6158,
7675,
588,
2932,
8,
4442,
1769,
5411,
15908,
10340,
921,
13902,
273,
23280,
18,
291,
12616,
1435,
692,
3099,
18,
588,
12616,
1435,
294,
23280,
18,
1991,
1305,
12,
1636,
966,
18,
588,
5576,
7675,
588,
3935,
1042,
9334,
315,
18728,
8863,
225,
309,
16051,
12,
18728,
1276,
19817,
1076,
3719,
288,
13902,
273,
3099,
18,
588,
12616,
5621,
289,
327,
13902,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
15908,
10340,
921,
336,
1435,
288,
5411,
15908,
10340,
921,
23280,
273,
3099,
18,
588,
5160,
6158,
7675,
588,
2932,
8,
4442,
1769,
5411,
15908,
10340,
921,
13902,
273,
23280,
18,
291,
12616,
1435,
692,
3099,
18,
588,
12616,
1435,
294,
23280,
18,
1991,
1305,
12,
1636,
966,
18,
588,
5576,
7675,
588,
3935,
1042,
9334,
315,
18728,
8863,
225,
309,
16051,
12,
18728,
1276,
19817,
1076,
3719,
288,
13902,
273,
3099,
18,
588,
12616,
5621,
289,
327,
13902,
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
] |
VM.sysExit(VM.exitStatusHPMTrouble);
|
VM.sysExit(VM.EXIT_STATUS_HPM_TROUBLE);
|
static public String short_name(int i) throws UninterruptiblePragma { if (i>numberOfEvents) { VM.sysWrite("***HPM_info.short_name(");VM.sysWrite(i);VM.sysWrite(") ");VM.sysWrite(i); VM.sysWrite(" > number of events ");VM.sysWrite(numberOfEvents);VM.sysWrite("!***"); VM.sysWriteln(); VM.sysExit(VM.exitStatusHPMTrouble); } return short_names[i]; }
|
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/d6068c5ba70e6ee40bffe9c49b0e352cd82ebe7e/HPM_info.java/clean/rvm/src/vm/HPM/HPM_info.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
1071,
514,
3025,
67,
529,
12,
474,
277,
13,
1216,
1351,
31847,
1523,
2050,
9454,
288,
565,
309,
261,
77,
34,
2696,
951,
3783,
13,
288,
1377,
8251,
18,
9499,
3067,
2932,
14465,
2500,
49,
67,
1376,
18,
6620,
67,
529,
2932,
1769,
7397,
18,
9499,
3067,
12,
77,
1769,
7397,
18,
9499,
3067,
2932,
13,
315,
1769,
7397,
18,
9499,
3067,
12,
77,
1769,
1377,
8251,
18,
9499,
3067,
2932,
405,
1300,
434,
2641,
315,
1769,
7397,
18,
9499,
3067,
12,
2696,
951,
3783,
1769,
7397,
18,
9499,
3067,
2932,
5,
636,
7388,
1769,
1377,
8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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
1071,
514,
3025,
67,
529,
12,
474,
277,
13,
1216,
1351,
31847,
1523,
2050,
9454,
288,
565,
309,
261,
77,
34,
2696,
951,
3783,
13,
288,
1377,
8251,
18,
9499,
3067,
2932,
14465,
2500,
49,
67,
1376,
18,
6620,
67,
529,
2932,
1769,
7397,
18,
9499,
3067,
12,
77,
1769,
7397,
18,
9499,
3067,
2932,
13,
315,
1769,
7397,
18,
9499,
3067,
12,
77,
1769,
1377,
8251,
18,
9499,
3067,
2932,
405,
1300,
434,
2641,
315,
1769,
7397,
18,
9499,
3067,
12,
2696,
951,
3783,
1769,
7397,
18,
9499,
3067,
2932,
5,
636,
7388,
1769,
1377,
8251,
18,
9499,
4913,
292,
82,
5621,
1377,
8251,
18,
9499,
6767,
12,
7397,
18,
28682,
67,
8608,
67,
2500,
49,
2
] |
Hierarchy hierarchy, int returnType,
|
Type type, int returnCategory,
|
ParameterFunDef(FunDef funDef, String parameterName, Hierarchy hierarchy, int returnType, Exp exp, String description) { super(funDef.getName(), funDef.getSignature(), funDef.getDescription(), funDef.getSyntax(), returnType, funDef.getParameterCategories()); assertPrecondition(getName().equals("Parameter") || getName().equals("ParamRef")); this.parameterName = parameterName; this.hierarchy = hierarchy; this.exp = exp; this.parameterDescription = description; }
|
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/9a688e588ec59e84012f03e73f06a05a27fccd8e/ParameterFunDef.java/buggy/src/main/mondrian/olap/fun/ParameterFunDef.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
5498,
22783,
3262,
12,
22783,
3262,
9831,
3262,
16,
5411,
514,
15524,
16,
5411,
670,
6000,
9360,
16,
5411,
509,
9424,
16,
5411,
7784,
1329,
16,
5411,
514,
2477,
13,
288,
3639,
2240,
12,
12125,
3262,
18,
17994,
9334,
7734,
9831,
3262,
18,
588,
5374,
9334,
7734,
9831,
3262,
18,
588,
3291,
9334,
7734,
9831,
3262,
18,
588,
8070,
9334,
7734,
9424,
16,
7734,
9831,
3262,
18,
588,
1662,
10487,
10663,
3639,
1815,
1386,
4175,
12,
17994,
7675,
14963,
2932,
1662,
7923,
747,
7734,
1723,
7675,
14963,
2932,
786,
1957,
7923,
1769,
3639,
333,
18,
6775,
461,
273,
15524,
31,
3639,
333,
18,
17937,
273,
9360,
31,
3639,
333,
18,
2749,
273,
1329,
31,
3639,
333,
18,
6775,
3291,
273,
2477,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
5498,
22783,
3262,
12,
22783,
3262,
9831,
3262,
16,
5411,
514,
15524,
16,
5411,
670,
6000,
9360,
16,
5411,
509,
9424,
16,
5411,
7784,
1329,
16,
5411,
514,
2477,
13,
288,
3639,
2240,
12,
12125,
3262,
18,
17994,
9334,
7734,
9831,
3262,
18,
588,
5374,
9334,
7734,
9831,
3262,
18,
588,
3291,
9334,
7734,
9831,
3262,
18,
588,
8070,
9334,
7734,
9424,
16,
7734,
9831,
3262,
18,
588,
1662,
10487,
10663,
3639,
1815,
1386,
4175,
12,
17994,
7675,
14963,
2932,
1662,
7923,
747,
7734,
1723,
7675,
14963,
2932,
786,
1957,
7923,
1769,
3639,
333,
18,
6775,
461,
273,
15524,
31,
3639,
333,
18,
17937,
273,
9360,
31,
3639,
333,
18,
2749,
273,
1329,
31,
3639,
333,
18,
6775,
2
] |
void disableNotifications() { mNotificationsSuspended = true; }
|
void disableNotifications() { mNotificationsSuspended = true; }
|
void disableNotifications() { mNotificationsSuspended = true; }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/3c20b46d84fb970a4580fe8a0ff9f824a8fbf34d/ImapFolder.java/clean/ZimbraServer/src/java/com/zimbra/cs/imap/ImapFolder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
4056,
14111,
1435,
377,
288,
312,
14111,
55,
22942,
273,
638,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
4056,
14111,
1435,
377,
288,
312,
14111,
55,
22942,
273,
638,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
sortOrder = request.getParameter( REQUEST_PARAMETER__SORT_ORDER ); if ( null != sortOrder ) {
|
String sortOrderParameter = request.getParameter( REQUEST_PARAMETER__SORT_ORDER ); if ( null != sortOrderParameter ) { sortOrder = sortOrderParameter ;
|
public void updateFromRequest( HttpServletRequest request ) { DocumentMapper documentMapper = Imcms.getServices().getDocumentMapper(); if ( documentFinder.isDocumentsSelectable() ) { try { selectedDocument = documentMapper.getDocument( Integer.parseInt( request.getParameter( REQUEST_PARAMETER__SELECTED_DOCUMENT_ID ) ) ); } catch ( NumberFormatException nfe ) { } } firstDocumentIndex = Math.max( 0, NumberUtils.stringToInt( request.getParameter( REQUEST_PARAMETER__FIRST_DOCUMENT_INDEX ) ) ); boolean gotNewFirstDocumentIndex = Utility.parameterIsSet( request, REQUEST_PARAMETER__FIRST_DOCUMENT_INDEX ); if ( !gotNewFirstDocumentIndex ) { try { sections.clear(); int[] sectionIds = Utility.getParameterInts( request, REQUEST_PARAMETER__SECTION_ID ); for ( int i = 0; i < sectionIds.length; i++ ) { int sectionId = sectionIds[i]; SectionDomainObject section = documentMapper.getSectionById( sectionId ); sections.add( section ); } } catch ( NumberFormatException nfe ) { } statusIds = Utility.getParameterInts( request, REQUEST_PARAMETER__STATUS_ID ); } String userDocumentsRestrictionParameter = request.getParameter( REQUEST_PARAMETER__PERMISSION ); if ( null != userDocumentsRestrictionParameter ) { userDocumentsRestriction = userDocumentsRestrictionParameter; } String dateTypeRestrictionParameter = request.getParameter( REQUEST_PARAMETER__DATE_TYPE ); if ( null != dateTypeRestrictionParameter ) { dateTypeRestriction = dateTypeRestrictionParameter; } DateFormat dateFormat = createDateFormat(); String startDateParameter = request.getParameter( REQUEST_PARAMETER__START_DATE ); if ( null != startDateParameter ) { try { startDate = dateFormat.parse( startDateParameter ); } catch ( java.text.ParseException pe ) { startDate = null; } } String endDateParameter = request.getParameter( REQUEST_PARAMETER__END_DATE ); if ( null != endDateParameter ) { try { endDate = dateFormat.parse( endDateParameter ); } catch ( java.text.ParseException ignored ) { endDate = null; } } sortOrder = request.getParameter( REQUEST_PARAMETER__SORT_ORDER ); if ( null != sortOrder ) { Comparator documentComparator = AdminManager.getComparator( sortOrder ); documentFinder.setDocumentComparator( documentComparator ); } try { documentsPerPage = Integer.parseInt( request.getParameter( REQUEST_PARAMETER__DOCUMENTS_PER_PAGE ) ); } catch ( NumberFormatException ignored ) {} if ( documentsPerPage <= 0 ) { documentsPerPage = DEFAULT_DOCUMENTS_PER_PAGE; } queryString = StringUtils.defaultString( request.getParameter( REQUEST_PARAMETER__QUERY_STRING ) ); searchButtonPressed = null != request.getParameter( REQUEST_PARAMETER__SEARCH_BUTTON ); query = createQuery( documentFinder, Utility.getLoggedOnUser( request ) ); }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/f277e1a65ca5f7fc353a8e8c2ae4008d0c4af966/SearchDocumentsPage.java/buggy/server/src/com/imcode/imcms/servlet/SearchDocumentsPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1089,
25074,
12,
9984,
590,
262,
288,
3639,
4319,
4597,
1668,
4597,
273,
2221,
6851,
18,
588,
5676,
7675,
588,
2519,
4597,
5621,
3639,
309,
261,
1668,
8441,
18,
291,
12922,
31544,
1435,
262,
288,
5411,
775,
288,
7734,
3170,
2519,
273,
1668,
4597,
18,
588,
2519,
12,
2144,
18,
2670,
1702,
12,
590,
18,
588,
1662,
12,
12492,
67,
9819,
972,
4803,
2056,
67,
18450,
67,
734,
262,
262,
11272,
5411,
289,
1044,
261,
12100,
25386,
262,
288,
5411,
289,
3639,
289,
3639,
1122,
2519,
1016,
273,
2361,
18,
1896,
12,
374,
16,
3588,
1989,
18,
1080,
17864,
12,
590,
18,
588,
1662,
12,
12492,
67,
9819,
972,
15354,
67,
18450,
67,
9199,
262,
262,
11272,
3639,
1250,
2363,
1908,
3759,
2519,
1016,
273,
13134,
18,
6775,
15737,
12,
590,
16,
12492,
67,
9819,
972,
15354,
67,
18450,
67,
9199,
11272,
3639,
309,
261,
401,
13212,
1908,
3759,
2519,
1016,
262,
288,
5411,
775,
288,
7734,
7178,
18,
8507,
5621,
7734,
509,
8526,
2442,
2673,
273,
13134,
18,
588,
1662,
24712,
12,
590,
16,
12492,
67,
9819,
972,
19082,
67,
734,
11272,
7734,
364,
261,
509,
277,
273,
374,
31,
277,
411,
2442,
2673,
18,
2469,
31,
277,
9904,
262,
288,
10792,
509,
2442,
548,
273,
2442,
2673,
63,
77,
15533,
10792,
10092,
3748,
921,
2442,
273,
1668,
4597,
18,
588,
5285,
5132,
12,
2442,
548,
11272,
10792,
7178,
18,
1289,
12,
2442,
11272,
7734,
289,
5411,
289,
1044,
261,
12100,
25386,
262,
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,
1089,
25074,
12,
9984,
590,
262,
288,
3639,
4319,
4597,
1668,
4597,
273,
2221,
6851,
18,
588,
5676,
7675,
588,
2519,
4597,
5621,
3639,
309,
261,
1668,
8441,
18,
291,
12922,
31544,
1435,
262,
288,
5411,
775,
288,
7734,
3170,
2519,
273,
1668,
4597,
18,
588,
2519,
12,
2144,
18,
2670,
1702,
12,
590,
18,
588,
1662,
12,
12492,
67,
9819,
972,
4803,
2056,
67,
18450,
67,
734,
262,
262,
11272,
5411,
289,
1044,
261,
12100,
25386,
262,
288,
5411,
289,
3639,
289,
3639,
1122,
2519,
1016,
273,
2361,
18,
1896,
12,
374,
16,
3588,
1989,
18,
1080,
17864,
12,
590,
18,
588,
1662,
12,
12492,
67,
9819,
972,
15354,
67,
18450,
67,
9199,
262,
262,
2
] |
throw new IllegalArgumentException("can use only one violation macro.");
|
throw new IllegalParameterException("can use only one violation macro.");
|
protected void processParameter() throws IOException, IllegalParameterException { if("--violation-macro".equals(args[i])||"-vm".equals(args[i])) { if(violationmacro!=null) throw new IllegalArgumentException("can use only one violation macro."); i++; if(i>=args.length) throw new IllegalArgumentException("violation macro not given."); violationmacro=args[i]; } else if("--trace-types".equals(args[i])||"-tt".equals(args[i])) { if(typeTraceConfig==null) typeTraceConfig=new TypeTraceConfig(); } else if("--modify".equals(args[i])||"-m".equals(args[i])) modify=true; else if("--clean".equals(args[i])||"-c".equals(args[i])) conf.clean=true; else if("--insert-immediately".equals(args[i])) conf.insertimmediately=true; else if("--simple-hash".equals(args[i])) conf.hashmode=HashSize.class; else if("--modcount-hash".equals(args[i])) conf.hashmode=HashModCount.class; else if(args[i].startsWith("-")) throw new IllegalArgumentException("unknown option: "+args[i]); else { for(; i<args.length; i++) expand(sourcefiles, args[i]); } }
|
6381 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6381/2e097add93b2bec59bd88e5b54b4bb12c99ba219/Main.java/buggy/ocl/src/tudresden/ocl/injection/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1207,
1662,
1435,
1216,
1860,
16,
2141,
14819,
202,
95,
202,
202,
430,
2932,
413,
522,
12255,
17,
26448,
9654,
14963,
12,
1968,
63,
77,
5717,
20081,
6,
17,
3489,
9654,
14963,
12,
1968,
63,
77,
22643,
202,
202,
95,
1082,
202,
430,
12,
522,
12255,
26448,
5,
33,
2011,
13,
9506,
202,
12849,
394,
2754,
2932,
4169,
999,
1338,
1245,
17893,
11522,
1199,
1769,
1082,
202,
77,
9904,
31,
1082,
202,
430,
12,
77,
34,
33,
1968,
18,
2469,
13,
9506,
202,
12849,
394,
2754,
2932,
522,
12255,
11522,
486,
864,
1199,
1769,
1082,
202,
522,
12255,
26448,
33,
1968,
63,
77,
15533,
202,
202,
97,
202,
202,
12107,
309,
2932,
413,
5129,
17,
2352,
9654,
14963,
12,
1968,
63,
77,
5717,
20081,
6,
17,
748,
9654,
14963,
12,
1968,
63,
77,
22643,
202,
202,
95,
1082,
202,
430,
12,
723,
3448,
809,
631,
2011,
13,
9506,
202,
723,
3448,
809,
33,
2704,
1412,
3448,
809,
5621,
202,
202,
97,
202,
202,
12107,
309,
2932,
413,
17042,
9654,
14963,
12,
1968,
63,
77,
5717,
20081,
6,
17,
81,
9654,
14963,
12,
1968,
63,
77,
22643,
1082,
202,
17042,
33,
3767,
31,
202,
202,
12107,
309,
2932,
413,
6200,
9654,
14963,
12,
1968,
63,
77,
5717,
20081,
6,
17,
71,
9654,
14963,
12,
1968,
63,
77,
22643,
1082,
202,
3923,
18,
6200,
33,
3767,
31,
202,
202,
12107,
309,
2932,
413,
6387,
17,
381,
7101,
9654,
14963,
12,
1968,
63,
77,
22643,
1082,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1207,
1662,
1435,
1216,
1860,
16,
2141,
14819,
202,
95,
202,
202,
430,
2932,
413,
522,
12255,
17,
26448,
9654,
14963,
12,
1968,
63,
77,
5717,
20081,
6,
17,
3489,
9654,
14963,
12,
1968,
63,
77,
22643,
202,
202,
95,
1082,
202,
430,
12,
522,
12255,
26448,
5,
33,
2011,
13,
9506,
202,
12849,
394,
2754,
2932,
4169,
999,
1338,
1245,
17893,
11522,
1199,
1769,
1082,
202,
77,
9904,
31,
1082,
202,
430,
12,
77,
34,
33,
1968,
18,
2469,
13,
9506,
202,
12849,
394,
2754,
2932,
522,
12255,
11522,
486,
864,
1199,
1769,
1082,
202,
522,
12255,
26448,
33,
1968,
63,
77,
15533,
202,
202,
97,
202,
202,
12107,
309,
2932,
413,
5129,
17,
2
] |
htmlStr = IMCServiceRMI.parseDoc(imcserver,vec,"inPage_admin_no_template.html",lang_prefix) ;
|
String htmlStr = IMCServiceRMI.parseDoc(imcserver,vec,"inPage_admin_no_template.html",lang_prefix) ;
|
public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { String host = req.getHeader("Host") ; String imcserver = Utility.getDomainPref("adminserver",host) ; String start_url = Utility.getDomainPref( "start_url",host ) ; imcode.server.User user ; String htmlStr = "" ; String submit_name = "" ; String search_string = "" ; String text = "" ; String values[] ; int txt_no = 0 ; // get meta_id int meta_id = Integer.parseInt(req.getParameter("meta_id")) ; // int parent_meta_id = Integer.parseInt(req.getParameter("parent_meta_id")) ; // get form data imcode.server.Table doc = new imcode.server.Table() ; String template = req.getParameter("template") ; String groupId = req.getParameter("group"); //the template group admin is a ugly mess but lets try to do the best of it //we save the group_id but if the group gets deleted else where it doesn't get changed //in the text_docs table, but the system vill not crash it only shows an empty group string. if(groupId == null) groupId= "-1"; //if there isn'n anyone lets set it to -1 if ( template != null ) { doc.addField("template",template) ; // String menu_template = req.getParameter("menu_template") ; doc.addField("menu_template",template) ; // String text_template = req.getParameter("text_template") ; doc.addField("text_template",template) ; doc.addField("group_id",groupId); } // Check if user logged on if( (user=Check.userLoggedOn( req,res,start_url ))==null ) { return ; } // Check if user has write rights if ( !IMCServiceRMI.checkDocAdminRights(imcserver,meta_id,user,imcode.server.IMCConstants.PERM_DT_TEXT_CHANGE_TEMPLATE ) ) { // Checking to see if user may edit this res.setContentType("text/html"); String output = AdminDoc.adminDoc(meta_id,meta_id,host,user,req,res) ; if ( output != null ) { Writer out = res.getWriter(); out.write(output) ; } return ; } String lang_prefix = IMCServiceRMI.sqlQueryStr(imcserver, "select lang_prefix from lang_prefixes where lang_id = "+user.getInt("lang_id")) ; /*if (req.getParameter("metadata")!=null) { //htmlStr = IMCServiceRMI.interpretAdminTemplate(imcserver,meta_id,user,"change_meta.html",1,meta_id,0,0) ; htmlStr = imcode.util.MetaDataParser.parseMetaData(String.valueOf(meta_id), String.valueOf(meta_id),user,host) ; } else */ if (req.getParameter("update")!=null) { Writer out = res.getWriter(); res.setContentType("text/html"); user.put("flags",new Integer(0)) ; if ( template == null ) { Vector vec = new Vector() ; vec.add("#meta_id#") ; vec.add(String.valueOf(meta_id)) ; htmlStr = IMCServiceRMI.parseDoc(imcserver,vec,"inPage_admin_no_template.html",lang_prefix) ; out.write(htmlStr) ; return ; } // save textdoc IMCServiceRMI.saveTextDoc(imcserver,meta_id,user,doc) ; SimpleDateFormat dateformat = new SimpleDateFormat("yyyy-MM-dd") ; Date dt = IMCServiceRMI.getCurrentDate(imcserver) ; // FIXME: Move to SProc String sqlStr = "update meta set date_modified = '"+dateformat.format(dt)+"' where meta_id = "+meta_id ; IMCServiceRMI.sqlUpdateQuery(imcserver,sqlStr); // return page String output = AdminDoc.adminDoc(meta_id,meta_id,host,user,req,res) ; if ( output != null ) { out.write(output) ; } return ; } else if (req.getParameter("preview")!=null) { if ( template == null ) { Vector vec = new Vector() ; vec.add("#meta_id#") ; vec.add(String.valueOf(meta_id)) ; htmlStr = IMCServiceRMI.parseDoc(imcserver,vec,"inPage_admin_no_template.html",lang_prefix) ; Writer out = res.getWriter(); out.write(htmlStr) ; return ; } Object[] temp = null ; try { temp = IMCServiceRMI.getDemoTemplate(imcserver,Integer.parseInt(template)) ; String demoTemplateName = template+"."+(String)temp[0] ; // Set content-type depending on type of demo-template. res.setContentType(getServletContext().getMimeType(demoTemplateName)) ; byte[] bytes = (byte[])temp[1] ; ServletOutputStream out = res.getOutputStream() ; res.setContentLength(bytes.length) ; out.write(bytes) ; return; } catch ( Exception ex ) { htmlStr = IMCServiceRMI.parseDoc( imcserver, null, "no_demotemplate.html", lang_prefix ) ; } } else if ( req.getParameter("change_group")!=null ) { res.setContentType("text/html"); Writer out = res.getWriter(); user.put("flags",new Integer(imcode.server.IMCConstants.PERM_DT_TEXT_CHANGE_TEMPLATE)) ; String group = req.getParameter("group") ; if ( group != null ) { user.setTemplateGroup(Integer.parseInt(req.getParameter("group"))) ; } String output = AdminDoc.adminDoc(meta_id,meta_id,host,user,req,res) ; if ( output != null ) { out.write(output) ; } return ; } Writer out = res.getWriter(); out.write(htmlStr) ; }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/e68d5aa511615d27212fb0539680d961c3f0ea6b/SaveInPage.java/buggy/servlets/SaveInPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
1216,
16517,
16,
1860,
288,
202,
780,
1479,
9506,
202,
33,
1111,
18,
588,
1864,
2932,
2594,
7923,
274,
202,
780,
709,
71,
3567,
1082,
202,
33,
13134,
18,
588,
3748,
23218,
2932,
3666,
3567,
3113,
2564,
13,
274,
202,
780,
787,
67,
718,
202,
33,
13134,
18,
588,
3748,
23218,
12,
315,
1937,
67,
718,
3113,
2564,
262,
274,
202,
381,
710,
18,
3567,
18,
1299,
729,
274,
202,
780,
1729,
1585,
273,
1408,
274,
202,
780,
4879,
67,
529,
273,
1408,
274,
202,
780,
1623,
67,
1080,
273,
1408,
274,
202,
780,
977,
273,
1408,
274,
202,
780,
924,
8526,
274,
202,
474,
6463,
67,
2135,
273,
374,
274,
202,
759,
336,
2191,
67,
350,
202,
474,
2191,
67,
350,
273,
2144,
18,
2670,
1702,
12,
3658,
18,
588,
1662,
2932,
3901,
67,
350,
6,
3719,
274,
202,
759,
202,
202,
474,
982,
67,
3901,
67,
350,
273,
2144,
18,
2670,
1702,
12,
3658,
18,
588,
1662,
2932,
2938,
67,
3901,
67,
350,
6,
3719,
274,
202,
759,
336,
646,
501,
202,
381,
710,
18,
3567,
18,
1388,
997,
273,
394,
709,
710,
18,
3567,
18,
1388,
1435,
274,
202,
780,
1542,
225,
273,
1111,
18,
588,
1662,
2932,
3202,
7923,
274,
202,
780,
6612,
225,
273,
1111,
18,
588,
1662,
2932,
1655,
8863,
202,
759,
5787,
1542,
1041,
3981,
353,
279,
26920,
12755,
1496,
14557,
775,
358,
741,
326,
3796,
434,
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,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
1216,
16517,
16,
1860,
288,
202,
780,
1479,
9506,
202,
33,
1111,
18,
588,
1864,
2932,
2594,
7923,
274,
202,
780,
709,
71,
3567,
1082,
202,
33,
13134,
18,
588,
3748,
23218,
2932,
3666,
3567,
3113,
2564,
13,
274,
202,
780,
787,
67,
718,
202,
33,
13134,
18,
588,
3748,
23218,
12,
315,
1937,
67,
718,
3113,
2564,
262,
274,
202,
381,
710,
18,
3567,
18,
1299,
729,
274,
202,
780,
1729,
1585,
273,
1408,
274,
202,
780,
4879,
67,
529,
273,
1408,
274,
202,
780,
1623,
67,
1080,
273,
1408,
274,
202,
780,
977,
273,
1408,
274,
202,
780,
924,
8526,
274,
202,
474,
6463,
2
] |
if( htmlElement instanceof HtmlButton ) { javaScriptClassName = getJavaScriptClassNameForButtonKludge((HtmlButton)htmlElement); } else { javaScriptClassName = (String)getHtmlJavaScriptMapping().get(htmlElement.getClass()); }
|
javaScriptClassName = (String)getHtmlJavaScriptMapping().get(htmlElement.getClass());
|
public SimpleScriptable getScriptableFor( final HtmlElement htmlElement ) { final Object scriptObject = htmlElement.getScriptObject(); if( scriptObject != null ) { return (SimpleScriptable)scriptObject; } final String javaScriptClassName; if( htmlElement instanceof HtmlButton ) { // TODO: The proper solution is to make HtmlButton abstract and have a hierarchy just like HtmlInput // Until that happens, we touch up the javascript name here. javaScriptClassName = getJavaScriptClassNameForButtonKludge((HtmlButton)htmlElement); } else { javaScriptClassName = (String)getHtmlJavaScriptMapping().get(htmlElement.getClass()); } if( javaScriptClassName == null ) { // We don't have a specific subclass for this element so create something generic. final SimpleScriptable scriptable = makeJavaScriptObject("HTMLElement"); scriptable.setHtmlElement(htmlElement); //getLog().info("No javascript class found for element <"+htmlElement.getTagName()+">. Using HTMLElement"); return scriptable; } else { final SimpleScriptable scriptable = makeJavaScriptObject(javaScriptClassName); scriptable.setHtmlElement(htmlElement); return scriptable; } }
|
3508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3508/f7dbdc20c547b2f09395f3a0a0085bb7a76492f0/SimpleScriptable.java/clean/htmlunit/src/java/com/gargoylesoftware/htmlunit/javascript/SimpleScriptable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4477,
3651,
429,
22611,
429,
1290,
12,
727,
5430,
1046,
1729,
1046,
262,
288,
3639,
727,
1033,
2728,
921,
273,
1729,
1046,
18,
588,
3651,
921,
5621,
3639,
309,
12,
2728,
921,
480,
446,
262,
288,
5411,
327,
261,
5784,
3651,
429,
13,
4263,
921,
31,
3639,
289,
3639,
727,
514,
2252,
3651,
3834,
31,
3639,
309,
12,
1729,
1046,
1276,
5430,
3616,
262,
288,
5411,
368,
2660,
30,
1021,
5338,
6959,
353,
358,
1221,
5430,
3616,
8770,
471,
1240,
279,
9360,
2537,
3007,
5430,
1210,
5411,
368,
30608,
716,
10555,
16,
732,
6920,
731,
326,
11341,
508,
2674,
18,
5411,
2252,
3651,
3834,
273,
336,
16634,
3834,
1290,
3616,
47,
80,
27110,
12443,
4353,
3616,
13,
2620,
1046,
1769,
3639,
289,
3639,
469,
288,
5411,
2252,
3651,
3834,
273,
261,
780,
13,
588,
4353,
16634,
3233,
7675,
588,
12,
2620,
1046,
18,
588,
797,
10663,
3639,
289,
3639,
309,
12,
2252,
3651,
3834,
422,
446,
262,
288,
5411,
368,
1660,
2727,
1404,
1240,
279,
2923,
10177,
364,
333,
930,
1427,
752,
5943,
5210,
18,
5411,
727,
4477,
3651,
429,
2728,
429,
273,
1221,
16634,
921,
2932,
5062,
11155,
8863,
5411,
2728,
429,
18,
542,
4353,
1046,
12,
2620,
1046,
1769,
5411,
368,
588,
1343,
7675,
1376,
2932,
2279,
11341,
667,
1392,
364,
930,
411,
6,
15,
2620,
1046,
18,
588,
8520,
1435,
15,
6441,
18,
225,
11637,
19408,
11155,
8863,
5411,
327,
2728,
429,
31,
3639,
289,
3639,
469,
288,
5411,
727,
4477,
3651,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4477,
3651,
429,
22611,
429,
1290,
12,
727,
5430,
1046,
1729,
1046,
262,
288,
3639,
727,
1033,
2728,
921,
273,
1729,
1046,
18,
588,
3651,
921,
5621,
3639,
309,
12,
2728,
921,
480,
446,
262,
288,
5411,
327,
261,
5784,
3651,
429,
13,
4263,
921,
31,
3639,
289,
3639,
727,
514,
2252,
3651,
3834,
31,
3639,
309,
12,
1729,
1046,
1276,
5430,
3616,
262,
288,
5411,
368,
2660,
30,
1021,
5338,
6959,
353,
358,
1221,
5430,
3616,
8770,
471,
1240,
279,
9360,
2537,
3007,
5430,
1210,
5411,
368,
30608,
716,
10555,
16,
732,
6920,
731,
326,
11341,
508,
2674,
18,
5411,
2252,
3651,
3834,
273,
336,
16634,
3834,
1290,
3616,
47,
80,
27110,
12443,
4353,
3616,
13,
2
] |
public Iterator getItems(String name, String node, JID senderJID)
|
public Iterator<Element> getItems(String name, String node, JID senderJID)
|
public Iterator getItems(String name, String node, JID senderJID) throws UnauthorizedException { return serverItems.iterator(); }
|
6312 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6312/0fd0788165fac0a5126b55650ec10b6cc71ee351/IQDiscoItemsHandler.java/buggy/src/java/org/jivesoftware/messenger/disco/IQDiscoItemsHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
4498,
32,
1046,
34,
15515,
12,
780,
508,
16,
514,
756,
16,
804,
734,
5793,
46,
734,
13,
10792,
1216,
24830,
288,
7734,
327,
1438,
3126,
18,
9838,
5621,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
4498,
32,
1046,
34,
15515,
12,
780,
508,
16,
514,
756,
16,
804,
734,
5793,
46,
734,
13,
10792,
1216,
24830,
288,
7734,
327,
1438,
3126,
18,
9838,
5621,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
subsecond = false; } else { subsecond = true; }
|
public Timestamp getTimestamp(int columnIndex) throws SQLException { String s = getString(columnIndex); if (s == null) return null; boolean subsecond; //if string contains a '.' we have fractional seconds if (s.indexOf('.') == -1) { subsecond = false; } else { subsecond = true; } //here we are modifying the string from ISO format to a format java can understand //java expects timezone info as 'GMT-08:00' instead of '-08' in postgres ISO format //and java expects three digits if fractional seconds are present instead of two for postgres //so this code strips off timezone info and adds on the GMT+/-... //as well as adds a third digit for partial seconds if necessary StringBuffer strBuf = new StringBuffer(s); //we are looking to see if the backend has appended on a timezone. //currently postgresql will return +/-HH:MM or +/-HH for timezone offset //(i.e. -06, or +06:30, note the expectation of the leading zero for the //hours, and the use of the : for delimiter between hours and minutes) //if the backend ISO format changes in the future this code will //need to be changed as well char sub = strBuf.charAt(strBuf.length() - 3); if (sub == '+' || sub == '-') { strBuf.setLength(strBuf.length() - 3); if (subsecond) { strBuf.append('0').append("GMT").append(s.substring(s.length() - 3, s.length())).append(":00"); } else { strBuf.append("GMT").append(s.substring(s.length() - 3, s.length())).append(":00"); } } else if (sub == ':') { //we may have found timezone info of format +/-HH:MM, or there is no //timezone info at all and this is the : preceding the seconds char sub2 = strBuf.charAt(strBuf.length() - 5); if (sub2 == '+' || sub2 == '-') { //we have found timezone info of format +/-HH:MM strBuf.setLength(strBuf.length() - 5); if (subsecond) { strBuf.append('0').append("GMT").append(s.substring(s.length() - 5)); } else { strBuf.append("GMT").append(s.substring(s.length() - 5)); } } else if (subsecond) { strBuf.append('0'); } } else if (subsecond) { strBuf = strBuf.append('0'); } s = strBuf.toString(); SimpleDateFormat df = null; if (s.length() > 23 && subsecond) { df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSSzzzzzzzzz"); } else if (s.length() > 23 && !subsecond) { df = new SimpleDateFormat("yyyy-MM-dd HH:mm:sszzzzzzzzz"); } else if (s.length() > 10 && subsecond) { df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); } else if (s.length() > 10 && !subsecond) { df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); } else { df = new SimpleDateFormat("yyyy-MM-dd"); } try { return new Timestamp(df.parse(s).getTime()); } catch (ParseException e) { throw new PSQLException("postgresql.res.badtimestamp", new Integer(e.getErrorOffset()), s); } }
|
45497 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45497/3dd85bcb08440bae6210114124aa0002a83c957c/ResultSet.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/ResultSet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8159,
11940,
12,
474,
14882,
13,
1216,
6483,
202,
95,
202,
202,
780,
272,
273,
4997,
12,
2827,
1016,
1769,
202,
202,
430,
261,
87,
422,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
6494,
720,
8538,
31,
202,
202,
759,
430,
533,
1914,
279,
2611,
732,
1240,
20462,
3974,
202,
202,
430,
261,
87,
18,
31806,
2668,
1093,
13,
422,
300,
21,
13,
202,
202,
95,
1082,
202,
1717,
8538,
273,
629,
31,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
1717,
8538,
273,
638,
31,
202,
202,
97,
202,
202,
759,
14852,
732,
854,
21920,
326,
533,
628,
9351,
740,
358,
279,
740,
2252,
848,
22413,
202,
202,
759,
6290,
10999,
6371,
1123,
487,
296,
25315,
17,
6840,
30,
713,
11,
3560,
434,
2400,
6840,
11,
316,
1603,
14107,
9351,
740,
202,
202,
759,
464,
2252,
10999,
8925,
6815,
309,
20462,
3974,
854,
3430,
3560,
434,
2795,
364,
1603,
14107,
202,
202,
759,
2048,
333,
981,
2569,
87,
3397,
6371,
1123,
471,
4831,
603,
326,
21706,
31298,
17,
2777,
202,
202,
759,
345,
5492,
487,
4831,
279,
12126,
8035,
364,
4702,
3974,
309,
4573,
202,
202,
780,
1892,
609,
5503,
273,
394,
6674,
12,
87,
1769,
202,
202,
759,
1814,
854,
7849,
358,
2621,
309,
326,
4221,
711,
12317,
603,
279,
6371,
18,
202,
202,
759,
2972,
715,
1603,
24330,
903,
327,
397,
19,
17,
17500,
30,
8206,
578,
397,
19,
17,
17500,
364,
6371,
1384,
202,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8159,
11940,
12,
474,
14882,
13,
1216,
6483,
202,
95,
202,
202,
780,
272,
273,
4997,
12,
2827,
1016,
1769,
202,
202,
430,
261,
87,
422,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
6494,
720,
8538,
31,
202,
202,
759,
430,
533,
1914,
279,
2611,
732,
1240,
20462,
3974,
202,
202,
430,
261,
87,
18,
31806,
2668,
1093,
13,
422,
300,
21,
13,
202,
202,
95,
1082,
202,
1717,
8538,
273,
629,
31,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
1717,
8538,
273,
638,
31,
202,
202,
97,
202,
202,
759,
14852,
732,
854,
21920,
326,
533,
628,
9351,
740,
358,
279,
740,
2252,
848,
22413,
202,
202,
759,
6290,
2
] |
|
String childName = fSymbolTable.addSymbol(DOMUtil.getLocalName(child));
|
String childName = DOMUtil.getLocalName(child);
|
XSElementDecl traverseNamedElement(Element elmDecl, Object[] attrValues, XSDocumentInfo schemaDoc, SchemaGrammar grammar, boolean isGlobal) { Boolean abstractAtt = (Boolean) attrValues[XSAttributeChecker.ATTIDX_ABSTRACT]; XInt blockAtt = (XInt) attrValues[XSAttributeChecker.ATTIDX_BLOCK]; String defaultAtt = (String) attrValues[XSAttributeChecker.ATTIDX_DEFAULT]; XInt finalAtt = (XInt) attrValues[XSAttributeChecker.ATTIDX_FINAL]; String fixedAtt = (String) attrValues[XSAttributeChecker.ATTIDX_FIXED]; XInt formAtt = (XInt) attrValues[XSAttributeChecker.ATTIDX_FORM]; String nameAtt = (String) attrValues[XSAttributeChecker.ATTIDX_NAME]; Boolean nillableAtt = (Boolean) attrValues[XSAttributeChecker.ATTIDX_NILLABLE]; QName subGroupAtt = (QName) attrValues[XSAttributeChecker.ATTIDX_SUBSGROUP]; QName typeAtt = (QName) attrValues[XSAttributeChecker.ATTIDX_TYPE]; // Step 1: get declaration information XSElementDecl element = new XSElementDecl(); // get 'name' if (nameAtt != null) element.fName = fSymbolTable.addSymbol(nameAtt); // get 'target namespace' if (isGlobal) { element.fTargetNamespace = schemaDoc.fTargetNamespace; } else if (formAtt != null) { if (formAtt.intValue() == SchemaSymbols.FORM_QUALIFIED) element.fTargetNamespace = schemaDoc.fTargetNamespace; else element.fTargetNamespace = null; } else if (schemaDoc.fAreLocalElementsQualified) { element.fTargetNamespace = schemaDoc.fTargetNamespace; } else { element.fTargetNamespace = null; } // get 'block', 'final', 'nillable', 'abstract' element.fBlock = blockAtt == null ? schemaDoc.fBlockDefault : blockAtt.shortValue(); element.fFinal = finalAtt == null ? schemaDoc.fFinalDefault : finalAtt.shortValue(); if (nillableAtt.booleanValue()) element.setIsNillable(); if (abstractAtt != null && abstractAtt.booleanValue()) element.setIsAbstract(); // get 'value constraint' if (fixedAtt != null) { element.fDefault = fixedAtt; element.setConstraintType(XSElementDecl.FIXED_VALUE); } else if (defaultAtt != null) { element.fDefault = defaultAtt; element.setConstraintType(XSElementDecl.DEFAULT_VALUE); } else { element.setConstraintType(XSElementDecl.NO_CONSTRAINT); } // get 'substitutionGroup affiliation' // REVISIT: allow mutual-substitution // we need to back-patch both fSubGroup and fType // if there is no type attribute and no anonymous type if (subGroupAtt != null) { element.fSubGroup = (XSElementDecl)fSchemaHandler.getGlobalDecl(schemaDoc, XSDHandler.ELEMENT_TYPE, subGroupAtt); } // get 'annotation' Element child = DOMUtil.getFirstChildElement(elmDecl); if(child != null && DOMUtil.getLocalName(child).equals(SchemaSymbols.ELT_ANNOTATION)) { traverseAnnotationDecl(child, attrValues, false, schemaDoc); child = DOMUtil.getNextSiblingElement(child); } // get 'type definition' XSTypeDecl elementType = null; boolean haveAnonType = false; // Handle Anonymous type if there is one if (child != null) { String childName = DOMUtil.getLocalName(child); if (childName.equals(SchemaSymbols.ELT_COMPLEXTYPE)) { elementType = fSchemaHandler.fComplexTypeTraverser.traverseLocal(child, schemaDoc, grammar); haveAnonType = true; child = DOMUtil.getNextSiblingElement(child); } else if (childName.equals(SchemaSymbols.ELT_SIMPLETYPE)) { elementType = fSchemaHandler.fSimpleTypeTraverser.traverseLocal(child, schemaDoc, grammar); haveAnonType = true; child = DOMUtil.getNextSiblingElement(child); } } // Handler type attribute if (elementType == null && typeAtt != null) { elementType = (XSTypeDecl)fSchemaHandler.getGlobalDecl(schemaDoc, XSDHandler.TYPEDECL_TYPE, typeAtt); } // Get it from the substitutionGroup declaration if (elementType == null && element.fSubGroup != null) { elementType = element.fSubGroup.fType; } if (elementType == null) { elementType = SchemaGrammar.fAnyType; } element.fType = elementType; // get 'identity constraint' // see if there's something here; it had better be key, keyref or unique. if (child != null) { String childName = fSymbolTable.addSymbol(DOMUtil.getLocalName(child)); while (child != null && (childName.equals(SchemaSymbols.ELT_KEY) || childName.equals(SchemaSymbols.ELT_KEYREF) || childName.equals(SchemaSymbols.ELT_UNIQUE))) { if(childName == SchemaSymbols.ELT_KEY || childName == SchemaSymbols.ELT_UNIQUE) { fSchemaHandler.fUniqueOrKeyTraverser.traverse(child, element, schemaDoc, grammar); if(DOMUtil.getAttrValue(child, SchemaSymbols.ATT_NAME).length() != 0 ) { fSchemaHandler.checkForDuplicateNames( (schemaDoc.fTargetNamespace == null) ? ","+DOMUtil.getAttrValue(child, SchemaSymbols.ATT_NAME) : schemaDoc.fTargetNamespace+","+ DOMUtil.getAttrValue(child, SchemaSymbols.ATT_NAME), fSchemaHandler.getIDRegistry(), child, schemaDoc); } } else if (childName == SchemaSymbols.ELT_KEYREF) { fSchemaHandler.storeKeyRef(child, schemaDoc, element); } child = DOMUtil.getNextSiblingElement(child); if (child != null) { childName = fSymbolTable.addSymbol(DOMUtil.getLocalName(child)); } } } // Step 2: register the element decl to the grammar if (nameAtt != null) grammar.addGlobalElementDecl(element); // Step 3: check against schema for schemas // required attributes if (nameAtt == null) { if (isGlobal) reportSchemaError("s4s-att-must-appear", new Object[]{NO_NAME, SchemaSymbols.ATT_NAME}); else reportSchemaError("src-element.2.1", null); nameAtt = NO_NAME; } // element if (child != null) { reportSchemaError("s4s-elt-must-match", new Object[]{nameAtt, "(annotation?, (simpleType | complexType)?, (unique | key | keyref)*))"}); } // Step 4: check 3.3.3 constraints // src-element // 1 default and fixed must not both be present. if (defaultAtt != null && fixedAtt != null) { reportSchemaError("src-element.1", new Object[]{nameAtt}); } // 2 If the item's parent is not <schema>, then all of the following must be true: // 2.1 One of ref or name must be present, but not both. // This is checked in XSAttributeChecker // 2.2 If ref is present, then all of <complexType>, <simpleType>, <key>, <keyref>, <unique>, nillable, default, fixed, form, block and type must be absent, i.e. only minOccurs, maxOccurs, id are allowed in addition to ref, along with <annotation>. // Attributes are checked in XSAttributeChecker, elements are checked in "traverse" method // 3 type and either <simpleType> or <complexType> are mutually exclusive. if (haveAnonType && (typeAtt != null)) { reportSchemaError("src-element.3", new Object[]{nameAtt}); } // Step 5: check 3.3.6 constraints // check for NOTATION type checkNotationType(nameAtt, elementType); // e-props-correct // 2 If there is a {value constraint}, the canonical lexical representation of its value must be valid with respect to the {type definition} as defined in Element Default Valid (Immediate) (3.3.6). if (element.fDefault != null) { if (!checkDefaultValid(element)) { reportSchemaError ("e-props-correct.2", new Object[]{nameAtt, element.fDefault}); } } // 3 If there is an {substitution group affiliation}, the {type definition} of the element declaration must be validly derived from the {type definition} of the {substitution group affiliation}, given the value of the {substitution group exclusions} of the {substitution group affiliation}, as defined in Type Derivation OK (Complex) (3.4.6) (if the {type definition} is complex) or as defined in Type Derivation OK (Simple) (3.14.6) (if the {type definition} is simple). if (element.fSubGroup != null) { if (!fSubGroupHandler.checkSubstitutionGroupOK(element)) { reportSchemaError ("e-props-correct.3", new Object[]{nameAtt, subGroupAtt.prefix+":"+subGroupAtt.localpart}); } } // 4 If the {type definition} or {type definition}'s {content type} is or is derived from ID then there must not be a {value constraint}. if (element.fDefault != null) { if (elementType instanceof IDDatatypeValidator || elementType instanceof XSComplexTypeDecl && ((XSComplexTypeDecl)elementType).containsTypeID()) { reportSchemaError ("e-props-correct.4", new Object[]{element.fName}); } } // Step 6: add substitutionGroup information to the handler if (element.fSubGroup != null) { fSubGroupHandler.addSubstitutionGroup(element); } return element; }
|
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/430ad6c0c52b8ba0b9168957afb30c3ea45959d8/XSDElementTraverser.java/clean/src/org/apache/xerces/impl/v2/XSDElementTraverser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1139,
55,
1046,
3456,
10080,
7604,
1046,
12,
1046,
12531,
3456,
16,
4766,
4202,
1033,
8526,
1604,
1972,
16,
4766,
4202,
1139,
55,
2519,
966,
1963,
1759,
16,
4766,
4202,
4611,
18576,
6473,
16,
4766,
4202,
1250,
353,
5160,
13,
288,
3639,
3411,
8770,
3075,
225,
273,
261,
5507,
13,
1604,
1972,
63,
60,
55,
1499,
8847,
18,
789,
56,
25647,
67,
26756,
15533,
3639,
1139,
1702,
565,
1203,
3075,
377,
273,
261,
60,
1702,
13,
565,
1604,
1972,
63,
60,
55,
1499,
8847,
18,
789,
56,
25647,
67,
11403,
15533,
3639,
514,
225,
805,
3075,
282,
273,
261,
780,
13,
225,
1604,
1972,
63,
60,
55,
1499,
8847,
18,
789,
56,
25647,
67,
5280,
15533,
3639,
1139,
1702,
565,
727,
3075,
377,
273,
261,
60,
1702,
13,
565,
1604,
1972,
63,
60,
55,
1499,
8847,
18,
789,
56,
25647,
67,
7263,
1013,
15533,
3639,
514,
225,
5499,
3075,
377,
273,
261,
780,
13,
225,
1604,
1972,
63,
60,
55,
1499,
8847,
18,
789,
56,
25647,
67,
30406,
15533,
3639,
1139,
1702,
565,
646,
3075,
1377,
273,
261,
60,
1702,
13,
565,
1604,
1972,
63,
60,
55,
1499,
8847,
18,
789,
56,
25647,
67,
4983,
15533,
3639,
514,
225,
508,
3075,
1377,
273,
261,
780,
13,
225,
1604,
1972,
63,
60,
55,
1499,
8847,
18,
789,
56,
25647,
67,
1985,
15533,
3639,
3411,
515,
80,
429,
3075,
225,
273,
261,
5507,
13,
1604,
1972,
63,
60,
55,
1499,
8847,
18,
789,
56,
25647,
67,
50,
15125,
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,
1139,
55,
1046,
3456,
10080,
7604,
1046,
12,
1046,
12531,
3456,
16,
4766,
4202,
1033,
8526,
1604,
1972,
16,
4766,
4202,
1139,
55,
2519,
966,
1963,
1759,
16,
4766,
4202,
4611,
18576,
6473,
16,
4766,
4202,
1250,
353,
5160,
13,
288,
3639,
3411,
8770,
3075,
225,
273,
261,
5507,
13,
1604,
1972,
63,
60,
55,
1499,
8847,
18,
789,
56,
25647,
67,
26756,
15533,
3639,
1139,
1702,
565,
1203,
3075,
377,
273,
261,
60,
1702,
13,
565,
1604,
1972,
63,
60,
55,
1499,
8847,
18,
789,
56,
25647,
67,
11403,
15533,
3639,
514,
225,
805,
3075,
282,
273,
261,
780,
13,
225,
1604,
1972,
63,
60,
55,
1499,
8847,
18,
789,
56,
25647,
67,
5280,
15533,
3639,
1139,
2
] |
private void jButtonToEndActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonToEndActionPerformed myParent.mTableEnd(); jButtonToEnd.setEnabled(false); jButtonOneRowP.setEnabled(false); jButtonToEnd.repaint(); jButtonOneRowP.repaint(); jButtonToBegin.setEnabled(true); jButtonOneRowM.setEnabled(true); jButtonToBegin.repaint(); jButtonOneRowM.repaint(); repaintComp(); }//GEN-LAST:event_jButtonToEndActionPerformed
|
12667 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12667/569073a4ee24627a55124c91e85973b13ebcffa2/aeIncom.java/clean/src/nom/aeIncom.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
525,
3616,
774,
1638,
19449,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
759,
16652,
17,
15354,
30,
2575,
67,
78,
3616,
774,
1638,
19449,
4811,
3054,
18,
81,
1388,
1638,
5621,
78,
3616,
774,
1638,
18,
542,
1526,
12,
5743,
1769,
78,
3616,
3335,
1999,
52,
18,
542,
1526,
12,
5743,
1769,
78,
3616,
774,
1638,
18,
14462,
1598,
5621,
78,
3616,
3335,
1999,
52,
18,
14462,
1598,
5621,
78,
3616,
774,
8149,
18,
542,
1526,
12,
3767,
1769,
78,
3616,
3335,
1999,
49,
18,
542,
1526,
12,
3767,
1769,
78,
3616,
774,
8149,
18,
14462,
1598,
5621,
78,
3616,
3335,
1999,
49,
18,
14462,
1598,
5621,
14462,
1598,
2945,
5621,
97,
759,
16652,
17,
14378,
30,
2575,
67,
78,
3616,
774,
1638,
19449,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
525,
3616,
774,
1638,
19449,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
759,
16652,
17,
15354,
30,
2575,
67,
78,
3616,
774,
1638,
19449,
4811,
3054,
18,
81,
1388,
1638,
5621,
78,
3616,
774,
1638,
18,
542,
1526,
12,
5743,
1769,
78,
3616,
3335,
1999,
52,
18,
542,
1526,
12,
5743,
1769,
78,
3616,
774,
1638,
18,
14462,
1598,
5621,
78,
3616,
3335,
1999,
52,
18,
14462,
1598,
5621,
78,
3616,
774,
8149,
18,
542,
1526,
12,
3767,
1769,
78,
3616,
3335,
1999,
49,
18,
542,
1526,
12,
3767,
1769,
78,
3616,
774,
8149,
18,
14462,
1598,
5621,
78,
3616,
3335,
1999,
49,
18,
14462,
1598,
5621,
14462,
1598,
2945,
5621,
2
] |
||
titleCountString = Integer.valueOf(numberOfSimpleConnected).toString();
|
titleCountString = String.valueOf(numberOfSimpleConnected);
|
public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { String path = uri.getPath(); if(path.endsWith("myref.txt")) { SimpleFieldSet fs = node.exportPublicFieldSet(); StringWriter sw = new StringWriter(); fs.writeTo(sw); this.writeReply(ctx, 200, "text/plain", "OK", sw.toString()); return; } StringBuffer buf = new StringBuffer(1024); //HTTPRequest request = new HTTPRequest(uri); final boolean advancedEnabled = node.getToadletContainer().isAdvancedDarknetEnabled(); /* gather connection statistics */ int numberOfConnected = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_CONNECTED); int numberOfRoutingBackedOff = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_ROUTING_BACKED_OFF); int numberOfTooNew = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_TOO_NEW); int numberOfTooOld = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_TOO_OLD); int numberOfDisconnected = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_DISCONNECTED); int numberOfNeverConnected = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_NEVER_CONNECTED); int numberOfDisabled = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_DISABLED); int numberOfListening = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_LISTENING); int numberOfSimpleConnected = numberOfConnected + numberOfRoutingBackedOff; int numberOfNotConnected = numberOfTooNew + numberOfTooOld + numberOfDisconnected + numberOfNeverConnected + numberOfDisabled + numberOfListening; String titleCountString = null; if(advancedEnabled) { titleCountString = "(" + numberOfConnected + "/" + numberOfRoutingBackedOff + "/" + numberOfTooNew+numberOfTooOld + "/" + numberOfNotConnected + ")"; } else { titleCountString = Integer.valueOf(numberOfSimpleConnected).toString(); } String pageTitle = titleCountString + " Darknet Peers"; ctx.getPageMaker().makeHead(buf, pageTitle); // FIXME! We need some nice images PeerNode[] peerNodes = node.getDarknetConnections(); long now = System.currentTimeMillis(); node.alerts.toSummaryHtml(buf); /* node status values */ int bwlimitDelayTime = (int) node.getBwlimitDelayTime(); int nodeAveragePingTime = (int) node.getNodeAveragePingTime(); int networkSizeEstimate = (int) node.getNetworkSizeEstimate( 0 ); DecimalFormat fix4 = new DecimalFormat("0.0000"); double missRoutingDistance = node.missRoutingDistance.currentValue(); DecimalFormat fix1 = new DecimalFormat("##0.0%"); double backedoffPercent = node.backedoffPercent.currentValue(); String nodeUptimeString = timeIntervalToString(( now - node.startupTime ) / 1000); buf.append("<table class=\"column\"><tr><td class=\"first\">"); /* node status overview box */ if(advancedEnabled) { buf.append("<div class=\"infobox\">"); buf.append("<div class=\"infobox-header\">Node status overview</div>"); buf.append("<div class=\"infobox-content\">"); buf.append("<ul>"); buf.append("<li>bwlimitDelayTime: ").append(bwlimitDelayTime).append("ms</li>"); buf.append("<li>nodeAveragePingTime: ").append(nodeAveragePingTime).append("ms</li>"); buf.append("<li>networkSizeEstimate: ").append(networkSizeEstimate).append(" nodes</li>"); buf.append("<li>nodeUptime: ").append(nodeUptimeString).append("</li>"); buf.append("<li>missRoutingDistance: ").append(fix4.format(missRoutingDistance)).append("</li>"); buf.append("<li>backedoffPercent: ").append(fix1.format(backedoffPercent)).append("</li>"); buf.append("</ul></div>"); buf.append("</div>\n"); buf.append("</td><td>"); } // Activity box int numInserts = node.getNumInserts(); int numRequests = node.getNumRequests(); int numTransferringRequests = node.getNumTransferringRequests(); int numARKFetchers = node.getNumARKFetchers(); buf.append("<div class=\"infobox\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append("Current Activity\n"); buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); if ((numInserts == 0) && (numRequests == 0) && (numTransferringRequests == 0) && (numARKFetchers == 0)) { buf.append("Your node is not processing any requests right now."); } else { buf.append("<ul id=\"activity\">\n"); if (numInserts > 0) { buf.append("<li>Inserts: ").append(numInserts).append("</li>"); } if (numRequests > 0) { buf.append("<li>Requests: ").append(numRequests).append("</li>"); } if (numTransferringRequests > 0) { buf.append("<li>Transferring Requests: ").append(numTransferringRequests).append("</li>"); } if(advancedEnabled) { if (numARKFetchers > 0) { buf.append("<li>ARK Fetch Requests: ").append(numARKFetchers).append("</li>"); } } buf.append("</ul>\n"); } buf.append("</div>\n"); buf.append("</div>\n"); buf.append("</td><td>"); // Peer statistics box buf.append("<div class=\"infobox\">"); buf.append("<div class=\"infobox-header\">Peer statistics</div>"); buf.append("<div class=\"infobox-content\">"); buf.append("<ul>"); if (numberOfConnected > 0) { buf.append("<li><span class=\"peer_connected\">Connected: ").append(numberOfConnected).append("</span></li>"); } if (numberOfRoutingBackedOff > 0) { String backoffName = "Busy"; if(advancedEnabled) { backoffName = "Backed off"; } buf.append("<li><span class=\"peer_backedoff\">").append(backoffName).append(": ").append(numberOfRoutingBackedOff).append("</span></li>"); } if (numberOfTooNew > 0) { buf.append("<li><span class=\"peer_too_new\">Too new: ").append(numberOfTooNew).append("</span></li>"); } if (numberOfTooOld > 0) { buf.append("<li><span class=\"peer_too_old\">Too old: ").append(numberOfTooOld).append("</span></li>"); } if (numberOfDisconnected > 0) { buf.append("<li><span class=\"peer_disconnected\">Disconnected: ").append(numberOfDisconnected).append("</span></li>"); } if (numberOfNeverConnected > 0) { buf.append("<li><span class=\"peer_never_connected\">Never Connected: ").append(numberOfNeverConnected).append("</span></li>"); } if (numberOfDisabled > 0) { buf.append("<li><span class=\"peer_never_connected\">Disabled: ").append(numberOfDisabled).append("</span></li>"); // **FIXME** } if (numberOfListening > 0) { buf.append("<li><span class=\"peer_never_connected\">Listening: ").append(numberOfListening).append("</span></li>"); // **FIXME** } buf.append("</ul>"); buf.append("</div>"); buf.append("</div>\n"); // Peer routing backoff reason box if(advancedEnabled) { buf.append("</td><td class=\"last\">"); buf.append("<div class=\"infobox\">"); buf.append("<div class=\"infobox-header\">Peer backoff reasons</div>"); buf.append("<div class=\"infobox-content\">"); String [] routingBackoffReasons = node.getPeerNodeRoutingBackoffReasons(); if(routingBackoffReasons.length == 0) { buf.append("Good, your node is not backed off from any peers!<br/>\n"); } else { buf.append("<ul>\n"); for(int i=0;i<routingBackoffReasons.length;i++) { int reasonCount = node.getPeerNodeRoutingBackoffReasonSize(routingBackoffReasons[i]); if(reasonCount > 0) { buf.append("<li>").append(routingBackoffReasons[i]).append(": ").append(reasonCount).append("</li>\n"); } } buf.append("</ul>\n"); } buf.append("</div>"); buf.append("</div>\n"); } buf.append("</td></tr></table>\n"); buf.append("<div class=\"infobox infobox-normal\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append("My Peers"); if(advancedEnabled) { if (!path.endsWith("displaymessagetypes.html")) { buf.append(" <a href=\"displaymessagetypes.html\">(more detailed)</a>"); } } buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); buf.append("<form action=\".\" method=\"post\" enctype=\"multipart/form-data\">\n"); StringBuffer buf2 = new StringBuffer(1024); buf2.append("<table class=\"darknet_connections\">\n"); buf2.append(" <tr>\n"); buf2.append(" <th></th>\n"); buf2.append(" <th>Status</th>\n"); buf2.append(" <th><span title=\"Click on the nodename link to send a N2NTM\" style=\"border-bottom:1px dotted;cursor:help;\">Name</span></th>\n"); if(advancedEnabled) { buf2.append(" <th><span title=\"Address:Port\" style=\"border-bottom:1px dotted;cursor:help;\">Address</span></th>\n"); } buf2.append(" <th>Version</th>\n"); if(advancedEnabled) { buf2.append(" <th>Location</th>\n"); buf2.append(" <th><span title=\"Temporarily disconnected. Other node busy? Wait time(s) remaining/total\" style=\"border-bottom:1px dotted;cursor:help;\">Backoff</span></th>\n"); } buf2.append(" <th><span title=\"How long since the node was last seen\" style=\"border-bottom:1px dotted;cursor:help;\">Idle</span></th>\n"); buf2.append(" </tr>\n"); if (peerNodes.length == 0) { buf2.append("<tr><td colspan=\"8\">Freenet can't work - you have not added any peers so far. <a href=\"/\">Go here</a> and read the top infobox to see how it's done.</td></tr>\n"); buf2.append("</table>\n"); // buf.append(buf2); } else { // Create array Object[][] rows = new Object[peerNodes.length][]; for(int i=0;i<peerNodes.length;i++) { PeerNode pn = peerNodes[i]; long routingBackedOffUntil = pn.getRoutingBackedOffUntil(); int backoff = (int)(Math.max(routingBackedOffUntil - now, 0)); // Don't list the backoff as zero before it's actually zero if((backoff > 0) && (backoff < 1000) ) backoff = 1000; // Elements must be HTML encoded. Object[] row = new Object[10]; // where [0] is the pn object and 9 is the node name only for sorting! rows[i] = row; Object status = new Integer(pn.getPeerNodeStatus()); long idle = pn.lastReceivedPacketTime(); if(((Integer) status).intValue() == Node.PEER_NODE_STATUS_NEVER_CONNECTED) idle = pn.getPeerAddedTime(); String lastBackoffReasonOutputString = ""; if(advancedEnabled) { String backoffReason = pn.getLastBackoffReason(); if( backoffReason != null ) { lastBackoffReasonOutputString = "/"+backoffReason; } else { lastBackoffReasonOutputString = "/"; } } String avgPingTimeString = ""; if(advancedEnabled) { if(pn.isConnected()) { avgPingTimeString = " ("+(int) pn.averagePingTime()+"ms)"; } } String versionPrefixString = ""; String versionString = ""; String versionSuffixString = ""; if(pn.publicInvalidVersion() || pn.publicReverseInvalidVersion()) { versionPrefixString = "<span class=\"peer_version_problem\">"; versionSuffixString = "</span>"; } String namePrefixString = ""; String nameSuffixString = ""; if(pn.isConnected()) { namePrefixString = "<a href=\"/send_n2ntm/?peernode_hashcode="+pn.hashCode()+"\">"; nameSuffixString = "</a>"; } if(advancedEnabled) { versionString = HTMLEncoder.encode(pn.getVersion()); } else { versionString = HTMLEncoder.encode(pn.getSimpleVersion()); } row[0] = pn; row[1] = "<input type=\"checkbox\" name=\"node_"+pn.hashCode()+"\" />"; row[2] = status; row[3] = namePrefixString+HTMLEncoder.encode(pn.getName())+nameSuffixString; row[4] = ( pn.getDetectedPeer() != null ? HTMLEncoder.encode(pn.getDetectedPeer().toString()) : "(address unknown)" ) + avgPingTimeString; row[5] = versionPrefixString+versionString+versionSuffixString; row[6] = new Double(pn.getLocation().getValue()); row[7] = fix1.format(pn.backedOffPercent.currentValue())+" "+backoff/1000 + "/" + pn.getRoutingBackoffLength()/1000+lastBackoffReasonOutputString; row[8] = idleToString(now, idle, ((Integer) status).intValue()); row[9] = HTMLEncoder.encode(pn.getName()); } // Sort array Arrays.sort(rows, new MyComparator()); // Convert status codes into status strings for(int i=0;i<rows.length;i++) { Object[] row = rows[i]; String arkAsterisk = ""; if(advancedEnabled) { if(((PeerNode) row[0]).isFetchingARK()) { arkAsterisk = "*"; } } String statusString = ((PeerNode) row[0]).getPeerNodeStatusString(); if(!advancedEnabled && (((PeerNode) row[0]).getPeerNodeStatus() == Node.PEER_NODE_STATUS_ROUTING_BACKED_OFF)) { statusString = "BUSY"; } row[2] = "<span class=\""+((PeerNode) row[0]).getPeerNodeStatusCSSClassName()+"\">"+statusString+arkAsterisk+"</span>"; } // Turn array into HTML for(int i=0;i<rows.length;i++) { Object[] row = rows[i]; buf2.append("<tr>"); for(int j=1;j<row.length;j++) { // skip index 0 as it's the PeerNode object if(j == 9) { // skip index 9 as it's used for sorting purposes only continue; } if(!advancedEnabled) { // if not in advanced Darknet page output mode if( (j == 4) || (j == 6) || (j == 7) ) { // skip IP address/name, location and backoff times continue; } } buf2.append("<td>"+row[j]+"</td>"); } buf2.append("</tr>\n"); if (path.endsWith("displaymessagetypes.html")) { buf2.append("<tr class=\"messagetypes\"><td colspan=\"8\">\n"); buf2.append("<table class=\"sentmessagetypes\">\n"); buf2.append("<tr><th>Sent Message Type</th><th>Count</th></tr>\n"); for (Enumeration keys=((PeerNode)row[0]).getLocalNodeSentMessagesToStatistic().keys(); keys.hasMoreElements(); ) { Object curkey = keys.nextElement(); buf2.append("<tr><td>"); buf2.append((String)curkey); buf2.append("</td><td>"); buf2.append(((Long)((PeerNode)row[0]).getLocalNodeSentMessagesToStatistic().get(curkey)) + ""); buf2.append("</td></tr>\n"); } buf2.append("</table>\n"); buf2.append("<table class=\"receivedmessagetypes\">\n"); buf2.append("<tr><th>Received Message Type</th><th>Count</th></tr>\n"); for (Enumeration keys=((PeerNode)row[0]).getLocalNodeReceivedMessagesFromStatistic().keys(); keys.hasMoreElements(); ) { Object curkey = keys.nextElement(); buf2.append("<tr><td>"); buf2.append((String)curkey); buf2.append("</td><td>"); buf2.append(((Long)((PeerNode)row[0]).getLocalNodeReceivedMessagesFromStatistic().get(curkey)) + ""); buf2.append("</td></tr>\n"); } buf2.append("</table>\n"); buf2.append("</td></tr>\n"); } } buf2.append("</table>\n"); // buf.append(buf2); // if(!advancedEnabled) { buf.append("<input type=\"submit\" name=\"remove\" value=\"Remove selected peers\" />"); } else { buf.append("<select name=\"action\">\n"); buf.append(" <option value=\"\">-- Select Action --</option>\n"); buf.append(" <option value=\"enable\">Enable Selected Peers</option>\n"); buf.append(" <option value=\"disable\">Disable Selected Peers</option>\n"); buf.append(" <option value=\"set_listen_only\">On Selected Peers, Set ListenOnly</option>\n"); buf.append(" <option value=\"clear_listen_only\">On Selected Peers, Clear ListenOnly</option>\n"); buf.append(" <option value=\"\">-- -- --</option>\n"); buf.append(" <option value=\"remove\">Remove Selected Peers</option>\n"); buf.append("</select>\n"); buf.append("<input type=\"submit\" name=\"submit\" value=\"Go\" />\n"); buf.append(" <span class=\"darknet_connections\">* Requesting ARK</span>\n"); } buf.append("<input type=\"hidden\" name=\"formPassword\" value=\"").append(node.formPassword).append("\" />"); buf.append("</form>\n"); } buf.append("</div>\n"); buf.append("</div>\n"); // new peer addition box buf.append("<div class=\"infobox infobox-normal\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append("Add another peer\n"); buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); buf.append("<form action=\".\" method=\"post\" enctype=\"multipart/form-data\">\n"); buf.append("Reference:<br />\n"); buf.append("<textarea id=\"reftext\" name=\"ref\" rows=\"8\" cols=\"74\"></textarea>\n"); buf.append("<br />\n"); buf.append("or URL:\n"); buf.append("<input id=\"refurl\" type=\"text\" name=\"url\" />\n"); buf.append("<br />\n"); buf.append("or file:\n"); buf.append("<input id=\"reffile\" type=\"file\" name=\"reffile\" />\n"); buf.append("<br />\n"); buf.append("<input type=\"hidden\" name=\"formPassword\" value=\"").append(node.formPassword).append("\" />"); buf.append("<input type=\"submit\" name=\"add\" value=\"Add\" />\n"); buf.append("</form>\n"); buf.append("</div>\n"); buf.append("</div>\n"); // our reference buf.append("<div class=\"infobox infobox-normal\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append("<a href=\"myref.txt\">My Reference</a>\n"); buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); buf.append("<pre id=\"reference\">\n"); buf.append(HTMLEncoder.encode(this.node.exportPublicFieldSet().toString())); buf.append("</pre>\n"); buf.append("</div>\n"); buf.append("</div>\n"); ctx.getPageMaker().makeTail(buf); this.writeReply(ctx, 200, "text/html", "OK", buf.toString()); }
|
50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/e4b56ee557db84a1625b3568c05150291fe2d5bb/DarknetConnectionsToadlet.java/clean/src/freenet/clients/http/DarknetConnectionsToadlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
9506,
202,
780,
589,
273,
2003,
18,
588,
743,
5621,
202,
202,
430,
12,
803,
18,
5839,
1190,
2932,
4811,
1734,
18,
5830,
6,
3719,
288,
1082,
202,
5784,
974,
694,
2662,
273,
756,
18,
6530,
4782,
974,
694,
5621,
1082,
202,
780,
2289,
1352,
273,
394,
17436,
5621,
1082,
202,
2556,
18,
2626,
774,
12,
5328,
1769,
1082,
202,
2211,
18,
2626,
7817,
12,
5900,
16,
4044,
16,
315,
955,
19,
7446,
3113,
315,
3141,
3113,
1352,
18,
10492,
10663,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
780,
1892,
1681,
273,
394,
6674,
12,
2163,
3247,
1769,
9506,
202,
759,
23891,
590,
273,
394,
25238,
12,
1650,
1769,
9506,
202,
6385,
1250,
16111,
1526,
273,
756,
18,
588,
774,
361,
1810,
2170,
7675,
291,
23618,
40,
1313,
2758,
1526,
5621,
9506,
202,
20308,
11090,
1459,
7691,
1195,
202,
202,
474,
7922,
8932,
273,
756,
18,
588,
6813,
907,
1482,
1225,
12,
907,
18,
1423,
654,
67,
8744,
67,
8608,
67,
29011,
1769,
202,
202,
474,
7922,
13966,
2711,
329,
7210,
273,
756,
18,
588,
6813,
907,
1482,
1225,
12,
907,
18,
1423,
654,
67,
8744,
67,
8608,
67,
1457,
1693,
1360,
67,
8720,
2056,
67,
8797,
1769,
202,
202,
474,
7922,
10703,
1908,
273,
756,
18,
588,
6813,
907,
1482,
1225,
12,
907,
18,
1423,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
9506,
202,
780,
589,
273,
2003,
18,
588,
743,
5621,
202,
202,
430,
12,
803,
18,
5839,
1190,
2932,
4811,
1734,
18,
5830,
6,
3719,
288,
1082,
202,
5784,
974,
694,
2662,
273,
756,
18,
6530,
4782,
974,
694,
5621,
1082,
202,
780,
2289,
1352,
273,
394,
17436,
5621,
1082,
202,
2556,
18,
2626,
774,
12,
5328,
1769,
1082,
202,
2211,
18,
2626,
7817,
12,
5900,
16,
4044,
16,
315,
955,
19,
7446,
3113,
315,
3141,
3113,
1352,
18,
10492,
10663,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
2
] |
int moveNumber = NodeUtils.getMoveNumber(node);
|
int moveNumber = NodeUtil.getMoveNumber(node);
|
private String printTree(GameTree gameTree) { GameInformation gameInformation = gameTree.getGameInformation(); StringBuffer comment = new StringBuffer(); int size = gameInformation.m_boardSize; Node firstMoveAtPoint[][] = new Node[size][size]; ArrayList needsComment = new ArrayList(); boolean blackToMove = true; m_out.println("\\setcounter{gomove}{0}"); Node node = gameTree.getRoot(); while (node != null) { for (int i = 0; i < node.getNumberAddBlack(); ++i) printStone(GoColor.BLACK, node.getAddBlack(i), null, false, false); for (int i = 0; i < node.getNumberAddWhite(); ++i) printStone(GoColor.WHITE, node.getAddWhite(i), null, false, false); Move move = node.getMove(); if (move == null) { node = node.getChild(); continue; } GoPoint point = move.getPoint(); GoColor color = move.getColor(); int moveNumber = NodeUtils.getMoveNumber(node); boolean isColorUnexpected = (blackToMove && color != GoColor.BLACK) || (! blackToMove && color != GoColor.WHITE); boolean isPass = (point == null); if (isPass || firstMoveAtPoint[point.getX()][point.getY()] != null) { needsComment.add(node); if (m_usePass) m_out.print("\\pass"); else m_out.print("\\refstepcounter{gomove} \\toggleblackmove"); if (isPass) { if (! m_usePass) m_out.print(" % \\pass"); } else { m_out.print(" % \\move"); printCoordinates(point); } m_out.println(" % " + (blackToMove ? "B " : "W ") + moveNumber); } else { if (isColorUnexpected) { m_out.println("\\toggleblackmove"); blackToMove = ! blackToMove; } m_out.print("\\move"); printCoordinates(point); m_out.println(" % " + (blackToMove ? "B " : "W ") + moveNumber); firstMoveAtPoint[point.getX()][point.getY()] = node; } blackToMove = ! blackToMove; node = node.getChild(); } for (int i = 0; i < needsComment.size(); ++i) { node = (Node)needsComment.get(i); Move move = node.getMove(); GoPoint point = move.getPoint(); GoColor color = move.getColor(); if (comment.length() > 0) comment.append(" \\enspace\n"); comment.append(getStoneInTextString(i + 1, color)); if (point == null) comment.append("~pass"); else { int x = point.getX(); int y = point.getY(); comment.append("~at~"); Node first = firstMoveAtPoint[x][y]; GoColor firstMoveColor = first.getMove().getColor(); int firstMoveNumber = NodeUtils.getMoveNumber(first); comment.append(getStoneInTextString(firstMoveNumber, firstMoveColor)); } } return comment.toString(); }
|
51310 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51310/1f50ffb219183ddaf94720a4aba453e11f412425/TexWriter.java/buggy/src/net/sf/gogui/tex/TexWriter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
1172,
2471,
12,
12496,
2471,
7920,
2471,
13,
565,
288,
3639,
14121,
5369,
7920,
5369,
273,
7920,
2471,
18,
588,
12496,
5369,
5621,
3639,
6674,
2879,
273,
394,
6674,
5621,
3639,
509,
963,
273,
7920,
5369,
18,
81,
67,
3752,
1225,
31,
3639,
2029,
1122,
7607,
861,
2148,
63,
6362,
65,
273,
394,
2029,
63,
1467,
6362,
1467,
15533,
3639,
2407,
4260,
4469,
273,
394,
2407,
5621,
3639,
1250,
7721,
774,
7607,
273,
638,
31,
3639,
312,
67,
659,
18,
8222,
2932,
1695,
542,
7476,
95,
75,
362,
841,
8637,
20,
1532,
1769,
3639,
2029,
756,
273,
7920,
2471,
18,
588,
2375,
5621,
3639,
1323,
261,
2159,
480,
446,
13,
3639,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
756,
18,
588,
1854,
986,
13155,
5621,
965,
77,
13,
7734,
1172,
510,
476,
12,
5741,
2957,
18,
14618,
3649,
16,
756,
18,
588,
986,
13155,
12,
77,
3631,
446,
16,
629,
16,
21821,
629,
1769,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
756,
18,
588,
1854,
986,
13407,
5621,
965,
77,
13,
7734,
1172,
510,
476,
12,
5741,
2957,
18,
16861,
16,
756,
18,
588,
986,
13407,
12,
77,
3631,
446,
16,
629,
16,
21821,
629,
1769,
5411,
9933,
3635,
273,
756,
18,
588,
7607,
5621,
5411,
309,
261,
8501,
422,
446,
13,
5411,
288,
7734,
756,
273,
756,
18,
588,
1763,
5621,
7734,
1324,
31,
5411,
289,
5411,
4220,
2148,
1634,
273,
3635,
18,
588,
2148,
5621,
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,
514,
1172,
2471,
12,
12496,
2471,
7920,
2471,
13,
565,
288,
3639,
14121,
5369,
7920,
5369,
273,
7920,
2471,
18,
588,
12496,
5369,
5621,
3639,
6674,
2879,
273,
394,
6674,
5621,
3639,
509,
963,
273,
7920,
5369,
18,
81,
67,
3752,
1225,
31,
3639,
2029,
1122,
7607,
861,
2148,
63,
6362,
65,
273,
394,
2029,
63,
1467,
6362,
1467,
15533,
3639,
2407,
4260,
4469,
273,
394,
2407,
5621,
3639,
1250,
7721,
774,
7607,
273,
638,
31,
3639,
312,
67,
659,
18,
8222,
2932,
1695,
542,
7476,
95,
75,
362,
841,
8637,
20,
1532,
1769,
3639,
2029,
756,
273,
7920,
2471,
18,
588,
2375,
5621,
3639,
1323,
261,
2159,
480,
446,
13,
3639,
288,
5411,
364,
261,
474,
2
] |
DirectoryScanner ds = fileset.getDirectoryScanner(this.project); if (ds.getIncludedFiles().length == 0) { return; }
|
DirectoryScanner ds = fileset.getDirectoryScanner(this.project); if (ds.getIncludedFiles().length == 0) { return; }
|
protected void importFileset(FileSet fileset) { DirectoryScanner ds = fileset.getDirectoryScanner(this.project); if (ds.getIncludedFiles().length == 0) { return; } Vector classes = new Vector(); Vector sources = new Vector(); Vector resources = new Vector(); String[] classesArr = null; String[] sourcesArr = null; String[] resourcesArr = null; StringBuffer msg = new StringBuffer(); msg.append("Importing "); String connector = ""; ImportCodeSpec importSpec = new ImportCodeSpec(); importSpec.setDefaultProject(vajproject); scan( fileset.getDir(this.project), ds.getIncludedFiles(), classes, sources, resources); if (importClasses) { classesArr = new String[classes.size()]; classes.copyInto(classesArr); importSpec.setClassFiles(classesArr); if (classesArr.length > 0) { logFiles(classes, "class"); msg.append( classesArr.length ); msg.append( " class " ); msg.append( classesArr.length > 1 ? "files" : "file" ); connector = ", "; } } if (importSources) { sourcesArr = new String[sources.size()]; sources.copyInto(sourcesArr); importSpec.setJavaFiles(sourcesArr); if (sourcesArr.length > 0) { logFiles(sources, "source"); msg.append( connector ); msg.append( sourcesArr.length ); msg.append( " source " ); msg.append( sourcesArr.length > 1 ? "files" : "file" ); connector = ", "; } } if (importResources) { String resourcePath = fileset.getDir(this.project).getAbsolutePath(); resourcesArr = new String[resources.size()]; resources.copyInto(resourcesArr); importSpec.setResourcePath(resourcePath); importSpec.setResourceFiles(resourcesArr); if (resourcesArr.length > 0) { logFiles(resources, "resource"); log( " (relative to resource path '" + resourcePath + "')", org.apache.tools.ant.Project.MSG_VERBOSE ); msg.append( connector ); msg.append( resourcesArr.length ); msg.append( " resource " ); msg.append( resourcesArr.length > 1 ? "files" : "file" ); } } msg.append( " into the " ); msg.append( importProject ); msg.append( " project." ); log(msg.toString()); try { Type[] importedTypes = VAJUtil.getWorkspace().importData(importSpec); if (importedTypes == null) { throw new BuildException("Unable to import into Workspace!"); } } catch (IvjException ivje) { throw VAJUtil.createBuildException("Error while importing into Workspace: ", ivje); } }
|
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/fcd6548344aa3f590435beff55530cfdb6983588/VAJImport.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJImport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1930,
2697,
278,
12,
812,
694,
1390,
278,
13,
288,
3639,
8930,
11338,
3780,
273,
1390,
278,
18,
588,
2853,
11338,
12,
2211,
18,
4406,
1769,
3639,
309,
261,
2377,
18,
588,
19323,
2697,
7675,
2469,
422,
374,
13,
288,
5411,
327,
31,
3639,
289,
3639,
5589,
3318,
273,
394,
5589,
5621,
3639,
5589,
5550,
273,
394,
5589,
5621,
3639,
5589,
2703,
273,
394,
5589,
5621,
3639,
514,
8526,
3318,
5715,
273,
446,
31,
3639,
514,
8526,
5550,
5715,
273,
446,
31,
3639,
514,
8526,
2703,
5715,
273,
446,
31,
3639,
6674,
1234,
273,
394,
6674,
5621,
3639,
1234,
18,
6923,
2932,
5010,
310,
315,
1769,
3639,
514,
8703,
273,
1408,
31,
3639,
6164,
1085,
1990,
1930,
1990,
273,
394,
6164,
1085,
1990,
5621,
3639,
1930,
1990,
18,
542,
1868,
4109,
12,
90,
4365,
4406,
1769,
3639,
4135,
12,
2398,
1390,
278,
18,
588,
1621,
12,
2211,
18,
4406,
3631,
2868,
3780,
18,
588,
19323,
2697,
9334,
2868,
3318,
16,
2868,
5550,
16,
2868,
2703,
1769,
540,
309,
261,
5666,
4818,
13,
288,
5411,
3318,
5715,
273,
394,
514,
63,
4701,
18,
1467,
1435,
15533,
5411,
3318,
18,
3530,
5952,
12,
4701,
5715,
1769,
5411,
1930,
1990,
18,
542,
797,
2697,
12,
4701,
5715,
1769,
5411,
309,
261,
4701,
5715,
18,
2469,
405,
374,
13,
288,
7734,
613,
2697,
12,
4701,
16,
315,
1106,
8863,
7734,
1234,
18,
6923,
12,
3318,
5715,
18,
2469,
11272,
7734,
1234,
18,
6923,
12,
315,
667,
315,
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,
4750,
918,
1930,
2697,
278,
12,
812,
694,
1390,
278,
13,
288,
3639,
8930,
11338,
3780,
273,
1390,
278,
18,
588,
2853,
11338,
12,
2211,
18,
4406,
1769,
3639,
309,
261,
2377,
18,
588,
19323,
2697,
7675,
2469,
422,
374,
13,
288,
5411,
327,
31,
3639,
289,
3639,
5589,
3318,
273,
394,
5589,
5621,
3639,
5589,
5550,
273,
394,
5589,
5621,
3639,
5589,
2703,
273,
394,
5589,
5621,
3639,
514,
8526,
3318,
5715,
273,
446,
31,
3639,
514,
8526,
5550,
5715,
273,
446,
31,
3639,
514,
8526,
2703,
5715,
273,
446,
31,
3639,
6674,
1234,
273,
394,
6674,
5621,
3639,
1234,
18,
6923,
2932,
5010,
310,
315,
1769,
3639,
514,
8703,
273,
1408,
31,
3639,
6164,
1085,
1990,
2
] |
if (newStr.equals(getValue())) {
|
if (sameAs(newStr)) {
|
public IRubyObject tr_bang(IRubyObject search, IRubyObject replace) { String newStr = tr(search, replace, false); if (newStr.equals(getValue())) { return getRuntime().getNil(); } setValue(newStr); return this; }
|
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/9f2efc63a858fa0507245b207025eab027840a04/RubyString.java/clean/src/org/jruby/RubyString.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15908,
10340,
921,
433,
67,
70,
539,
12,
7937,
10340,
921,
1623,
16,
15908,
10340,
921,
1453,
13,
288,
202,
202,
780,
394,
1585,
273,
433,
12,
3072,
16,
1453,
16,
629,
1769,
202,
202,
430,
261,
2704,
1585,
18,
14963,
12,
24805,
1435,
3719,
288,
1082,
202,
2463,
18814,
7675,
588,
12616,
5621,
202,
202,
97,
202,
202,
542,
620,
12,
2704,
1585,
1769,
202,
202,
2463,
333,
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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
15908,
10340,
921,
1453,
13,
288,
202,
202,
780,
394,
1585,
273,
433,
12,
3072,
16,
1453,
16,
629,
1769,
202,
202,
430,
261,
2704,
1585,
18,
14963,
12,
24805,
1435,
3719,
288,
1082,
202,
2463,
18814,
7675,
588,
12616,
5621,
202,
202,
97,
202,
202,
542,
620,
12,
2704,
1585,
1769,
202,
202,
2463,
333,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.