rem
stringlengths 1
53.3k
| add
stringlengths 0
80.5k
| context
stringlengths 6
326k
| meta
stringlengths 141
403
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
return null;
|
public String saveSettings() { PropertiesManager.storeChanges(settings); PropertiesManager.storeChangesToCustomProperties(customSettings); return null; // This returns us to the same page }
|
57344 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57344/d44845c0ed1ccc410733ce30ce22eb83f265e283/ServerSettingsBean.java/buggy/src/org/genepattern/server/webapp/jsf/ServerSettingsBean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1923,
2628,
1435,
288,
3639,
6183,
1318,
18,
2233,
7173,
12,
4272,
1769,
13491,
6183,
1318,
18,
2233,
7173,
774,
3802,
2297,
12,
3662,
2628,
1769,
3639,
368,
1220,
1135,
584,
358,
326,
1967,
1363,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1923,
2628,
1435,
288,
3639,
6183,
1318,
18,
2233,
7173,
12,
4272,
1769,
13491,
6183,
1318,
18,
2233,
7173,
774,
3802,
2297,
12,
3662,
2628,
1769,
3639,
368,
1220,
1135,
584,
358,
326,
1967,
1363,
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
] |
|
as.getHostObject().broadcastChangeNotification(getID());
|
public CorporateDirectives executeCommand(String actionCommand, Session session, String topicmapID, String viewmode) { if (actionCommand.equals(CMD_UPDATE_TYPEDEF)) { CorporateDirectives directives = new CorporateDirectives(); PresentableType typeTopic = new PresentableType(this); directives.add(DIRECTIVE_UPDATE_TOPIC_TYPE, typeTopic); // // notify listeners as.getHostObject().broadcastChangeNotification(getID()); // return directives; } else if (actionCommand.equals(CMD_ASSIGN_CREATION_ICON)) { CorporateDirectives directives = new CorporateDirectives(); directives.add(DIRECTIVE_CHOOSE_FILE); return directives; } else { return super.executeCommand(actionCommand, session, topicmapID, viewmode); } }
|
13653 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13653/915771a21666cf20d388e8e7ffe02a4e81e3cae0/TopicTypeTopic.java/buggy/trunk/develop/src/de/deepamehta/topics/TopicTypeTopic.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
9557,
3831,
340,
25343,
21120,
12,
780,
1301,
2189,
16,
3877,
1339,
16,
514,
3958,
1458,
734,
16,
514,
1476,
3188,
13,
288,
202,
202,
430,
261,
1128,
2189,
18,
14963,
12,
19473,
67,
8217,
67,
2399,
12904,
3719,
288,
1082,
202,
6217,
3831,
340,
25343,
13877,
273,
394,
9557,
3831,
340,
25343,
5621,
1082,
202,
6351,
21625,
618,
6657,
273,
394,
25130,
21625,
12,
2211,
1769,
1082,
202,
30850,
18,
1289,
12,
17541,
5354,
67,
8217,
67,
4296,
20385,
67,
2399,
16,
618,
6657,
1769,
1082,
202,
759,
1082,
202,
759,
5066,
4679,
1082,
202,
345,
18,
588,
2594,
921,
7675,
19805,
3043,
4386,
12,
588,
734,
10663,
1082,
202,
759,
1082,
202,
2463,
13877,
31,
202,
202,
97,
469,
309,
261,
1128,
2189,
18,
14963,
12,
19473,
67,
23289,
67,
5458,
2689,
67,
21745,
3719,
288,
1082,
202,
6217,
3831,
340,
25343,
13877,
273,
394,
9557,
3831,
340,
25343,
5621,
1082,
202,
30850,
18,
1289,
12,
17541,
5354,
67,
22213,
51,
1090,
67,
3776,
1769,
1082,
202,
2463,
13877,
31,
202,
202,
97,
469,
288,
1082,
202,
2463,
2240,
18,
8837,
2189,
12,
1128,
2189,
16,
1339,
16,
3958,
1458,
734,
16,
1476,
3188,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
9557,
3831,
340,
25343,
21120,
12,
780,
1301,
2189,
16,
3877,
1339,
16,
514,
3958,
1458,
734,
16,
514,
1476,
3188,
13,
288,
202,
202,
430,
261,
1128,
2189,
18,
14963,
12,
19473,
67,
8217,
67,
2399,
12904,
3719,
288,
1082,
202,
6217,
3831,
340,
25343,
13877,
273,
394,
9557,
3831,
340,
25343,
5621,
1082,
202,
6351,
21625,
618,
6657,
273,
394,
25130,
21625,
12,
2211,
1769,
1082,
202,
30850,
18,
1289,
12,
17541,
5354,
67,
8217,
67,
4296,
20385,
67,
2399,
16,
618,
6657,
1769,
1082,
202,
759,
1082,
202,
759,
5066,
4679,
1082,
202,
345,
18,
588,
2594,
921,
7675,
19805,
3043,
4386,
12,
588,
734,
10663,
1082,
202,
759,
1082,
202,
2463,
13877,
2
] |
|
protected void updateMissingBitstreams(Connection conn)
|
protected void updateMissingBitstreams(Connection conn) throws SQLException
|
protected void updateMissingBitstreams(Connection conn) { PreparedStatement stmt = null; try { stmt = conn.prepareStatement(INSERT_MISSING_HISTORY_BITSTREAMS); stmt.executeUpdate(); } catch (SQLException e) { LOG.error("Problem updating missing history. " + e.getMessage(), e); throw new RuntimeException("Problem updating missing history. " + e.getMessage(), e); } finally { cleanup(stmt, conn); } }
|
1868 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1868/6c35684c85aea40f564514743cf353881f53e165/ChecksumHistoryDAO.java/buggy/dspace/src/org/dspace/checker/ChecksumHistoryDAO.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1089,
4841,
5775,
16320,
12,
1952,
1487,
13,
1216,
6483,
565,
288,
3639,
16913,
3480,
273,
446,
31,
3639,
775,
3639,
288,
5411,
3480,
273,
1487,
18,
9366,
3406,
12,
11356,
67,
19466,
67,
31746,
67,
15650,
13693,
55,
1769,
5411,
3480,
18,
8837,
1891,
5621,
3639,
289,
3639,
1044,
261,
23116,
425,
13,
3639,
288,
5411,
2018,
18,
1636,
2932,
13719,
9702,
3315,
4927,
18,
315,
397,
425,
18,
24906,
9334,
425,
1769,
5411,
604,
394,
3235,
2932,
13719,
9702,
3315,
4927,
18,
315,
10792,
397,
425,
18,
24906,
9334,
425,
1769,
3639,
289,
3639,
3095,
3639,
288,
5411,
6686,
12,
10589,
16,
1487,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
377,
4750,
918,
1089,
4841,
5775,
16320,
12,
1952,
1487,
13,
1216,
6483,
565,
288,
3639,
16913,
3480,
273,
446,
31,
3639,
775,
3639,
288,
5411,
3480,
273,
1487,
18,
9366,
3406,
12,
11356,
67,
19466,
67,
31746,
67,
15650,
13693,
55,
1769,
5411,
3480,
18,
8837,
1891,
5621,
3639,
289,
3639,
1044,
261,
23116,
425,
13,
3639,
288,
5411,
2018,
18,
1636,
2932,
13719,
9702,
3315,
4927,
18,
315,
397,
425,
18,
24906,
9334,
425,
1769,
5411,
604,
394,
3235,
2932,
13719,
9702,
3315,
4927,
18,
315,
10792,
397,
425,
18,
24906,
9334,
425,
1769,
3639,
289,
3639,
3095,
3639,
288,
5411,
6686,
12,
10589,
16,
1487,
1769,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100
] |
String name = r.getObjectName(); throw new LemRuntimeException( "Type mismatch: evaluated '" + value.getType().getName() + "', expected '" + destination.getType() + "', name: " + r.getVariableName() );
|
throw new LemRuntimeException( "Type mismatch: evaluated '" + value.getType().getName() + "', expected '" + destination.getType().getName() + "', name: " + r.getVariableName() );
|
public Variable executeAssignmentAction( AssignmentAction a, Context c ) throws LemRuntimeException { VariableReference r = a.getVariableReference(); Variable destination = getVariable( r, c ); Variable value = evaluateExpression( a.getExpression(), c ); if ( value.getCoreDataType() != destination.getCoreDataType() ) { String name = r.getObjectName(); throw new LemRuntimeException( "Type mismatch: evaluated '" + value.getType().getName() + "', expected '" + destination.getType() + "', name: " + r.getVariableName() ); } destination.setValue( value.getValue() ); return destination; }
|
10434 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10434/c3ecf85f0c3a90ddd9e5617f6cc50c5a702956c7/Interpreter.java/buggy/trunk/src/runtime/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7110,
1836,
7729,
1803,
12,
15499,
1803,
279,
16,
1772,
276,
262,
1216,
511,
351,
11949,
288,
3639,
7110,
2404,
436,
273,
279,
18,
588,
3092,
2404,
5621,
3639,
7110,
2929,
273,
13522,
12,
436,
16,
276,
11272,
7734,
7110,
460,
273,
5956,
2300,
12,
279,
18,
588,
2300,
9334,
276,
11272,
7734,
309,
261,
460,
18,
588,
4670,
6273,
1435,
480,
2929,
18,
588,
4670,
6273,
1435,
262,
288,
5411,
514,
508,
273,
436,
18,
588,
16707,
5621,
5411,
604,
394,
511,
351,
11949,
12,
315,
559,
13484,
30,
12697,
2119,
397,
460,
18,
588,
559,
7675,
17994,
1435,
397,
14912,
2665,
2119,
397,
2929,
18,
588,
559,
1435,
397,
14912,
508,
30,
315,
397,
436,
18,
588,
21519,
1435,
11272,
3639,
289,
7734,
2929,
18,
542,
620,
12,
460,
18,
24805,
1435,
11272,
3639,
327,
2929,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7110,
1836,
7729,
1803,
12,
15499,
1803,
279,
16,
1772,
276,
262,
1216,
511,
351,
11949,
288,
3639,
7110,
2404,
436,
273,
279,
18,
588,
3092,
2404,
5621,
3639,
7110,
2929,
273,
13522,
12,
436,
16,
276,
11272,
7734,
7110,
460,
273,
5956,
2300,
12,
279,
18,
588,
2300,
9334,
276,
11272,
7734,
309,
261,
460,
18,
588,
4670,
6273,
1435,
480,
2929,
18,
588,
4670,
6273,
1435,
262,
288,
5411,
514,
508,
273,
436,
18,
588,
16707,
5621,
5411,
604,
394,
511,
351,
11949,
12,
315,
559,
13484,
30,
12697,
2119,
397,
460,
18,
588,
559,
7675,
17994,
1435,
397,
14912,
2665,
2119,
397,
2929,
18,
588,
559,
1435,
397,
14912,
508,
30,
315,
397,
436,
2
] |
public void enableDebugger(AID debuggerName, AID toBeDebugged) { // AMS debug enabling must be done by a separated Thread to avoid // deadlock with ToolNotifier startup if (toBeDebugged.equals(myContainer.getAMS()) && !(Thread.currentThread().getName().equals(AMS_DEBUG_HELPER))) { final AID dn = debuggerName; final AID tbd = toBeDebugged; Thread helper = new Thread(new Runnable() { public void run() { enableDebugger(dn, tbd); } } ); helper.setName(AMS_DEBUG_HELPER); helper.start(); return; } ToolNotifier tn = findNotifier(debuggerName); if(tn == null) { // Need a new notifier tn = new ToolNotifier(debuggerName); AID id = new AID(debuggerName.getLocalName() + "-on-" + myID().getName(), AID.ISLOCALNAME); try { myContainer.initAgent(id, tn, AgentContainer.START); if (toBeDebugged.equals(myContainer.getAMS())) { // If we are debugging the AMS, let's wait for the ToolNotifier // be ready to avoid deadlock problems. Note also that in // this case this code is executed by the helper thread and not // by the AMS thread tn.waitUntilStarted(); } addMessageListener(tn); addAgentListener(tn); } catch (Exception e) { e.printStackTrace(); } } tn.addObservedAgent(toBeDebugged); synchronized (debuggers) { List l = (List) debuggers.get(toBeDebugged); if (l == null) { l = new LinkedList(); debuggers.put(toBeDebugged, l); } if (!l.contains(debuggerName)) { l.add(debuggerName); } } Agent a = localAgents.acquire(toBeDebugged); AgentState as = a.getAgentState(); Scheduler s = a.getScheduler(); a.setGenerateBehaviourEvents(true); localAgents.release(toBeDebugged); // Notify current agent state fireChangedAgentState(toBeDebugged, as, as); // Notify currently loaded behaviour (mutual exclusion with // Scheduler.add(), remove()...) synchronized (s) { Iterator it = s.readyBehaviours.iterator(); while (it.hasNext()) { Behaviour b = (Behaviour) it.next(); // We can't just call fireAddedBehaviour() as we must only notify the // ToolNotifier associated with debuggerName (NOT all AgentListeners) AgentEvent ev = new AgentEvent(AgentEvent.ADDED_BEHAVIOUR, toBeDebugged, new BehaviourID(b), myID()); tn.addedBehaviour(ev); } // Blocked behaviours: fire an ADD event and then a BLOCK event it = s.blockedBehaviours.iterator(); while (it.hasNext()) { Behaviour b = (Behaviour) it.next(); BehaviourID bid = new BehaviourID(b); AgentEvent ev = new AgentEvent(AgentEvent.ADDED_BEHAVIOUR, toBeDebugged, bid, myID()); tn.addedBehaviour(ev); ev = new AgentEvent(AgentEvent.CHANGED_BEHAVIOUR_STATE, toBeDebugged, bid, Behaviour.STATE_READY, Behaviour.STATE_BLOCKED, myID()); tn.changedBehaviourState(ev); } } // Notify essages currently pending in the message queue // FIXME: To be implemented }
|
5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/544c0c33b23235c598b2f4aa36011534a8887ff5/RealNotificationManager.java/clean/src/jade/core/RealNotificationManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
4237,
24113,
12,
37,
734,
19977,
461,
16,
432,
734,
21333,
2829,
2423,
13,
288,
565,
202,
759,
432,
3537,
1198,
570,
17912,
1297,
506,
2731,
635,
279,
8936,
4884,
358,
4543,
565,
202,
759,
8363,
739,
598,
13288,
14889,
11850,
565,
202,
430,
261,
869,
1919,
2829,
2423,
18,
14963,
12,
4811,
2170,
18,
588,
2192,
55,
10756,
597,
401,
12,
3830,
18,
2972,
3830,
7675,
17994,
7675,
14963,
12,
2192,
55,
67,
9394,
67,
20264,
3194,
20349,
288,
1082,
202,
6385,
432,
734,
8800,
273,
19977,
461,
31,
1082,
202,
6385,
432,
734,
8739,
72,
273,
21333,
2829,
2423,
31,
565,
202,
202,
3830,
4222,
273,
394,
4884,
12,
2704,
10254,
1435,
288,
565,
1082,
202,
482,
918,
1086,
1435,
288,
565,
9506,
202,
7589,
24113,
12,
5176,
16,
8739,
72,
1769,
565,
1082,
202,
97,
565,
202,
202,
97,
11272,
565,
202,
202,
4759,
18,
542,
461,
12,
2192,
55,
67,
9394,
67,
20264,
3194,
1769,
565,
202,
202,
4759,
18,
1937,
5621,
565,
202,
202,
2463,
31,
565,
202,
97,
565,
1082,
1377,
13288,
14889,
16002,
273,
1104,
14889,
12,
4148,
693,
461,
1769,
1377,
309,
12,
5088,
422,
446,
13,
288,
368,
12324,
279,
394,
19057,
4202,
202,
5088,
273,
394,
13288,
14889,
12,
4148,
693,
461,
1769,
540,
432,
734,
612,
273,
394,
432,
734,
12,
4148,
693,
461,
18,
588,
29583,
1435,
397,
3701,
265,
10951,
397,
3399,
734,
7675,
17994,
9334,
432,
734,
18,
5127,
14922,
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,
1071,
918,
4237,
24113,
12,
37,
734,
19977,
461,
16,
432,
734,
21333,
2829,
2423,
13,
288,
565,
202,
759,
432,
3537,
1198,
570,
17912,
1297,
506,
2731,
635,
279,
8936,
4884,
358,
4543,
565,
202,
759,
8363,
739,
598,
13288,
14889,
11850,
565,
202,
430,
261,
869,
1919,
2829,
2423,
18,
14963,
12,
4811,
2170,
18,
588,
2192,
55,
10756,
597,
401,
12,
3830,
18,
2972,
3830,
7675,
17994,
7675,
14963,
12,
2192,
55,
67,
9394,
67,
20264,
3194,
20349,
288,
1082,
202,
6385,
432,
734,
8800,
273,
19977,
461,
31,
1082,
202,
6385,
432,
734,
8739,
72,
273,
21333,
2829,
2423,
31,
565,
202,
202,
3830,
4222,
273,
394,
4884,
12,
2704,
10254,
1435,
288,
565,
2
] |
||
} catch (ClassCastException e) { errors.append(line).append('\n'); errors.append(e).append('\n'); e.printStackTrace(); }
|
public void testCanCast() throws Exception { StringBuffer errors= new StringBuffer(); VariableDeclarationFragment[] targets= createVariables(); for (int k= 0; k < targets.length; k++) { for (int n= 0; n < targets.length; n++) { VariableDeclarationFragment f1= targets[k]; VariableDeclarationFragment f2= targets[n]; String castType= f2.resolveBinding().getType().getQualifiedName(); String line= castType + " x= (" + castType + ") " + f1.getName().getIdentifier(); StringBuffer buf= new StringBuffer(); buf.append("package test1;\n"); buf.append("public class F<T, U extends Number> extends E<T, U> {\n"); buf.append(" void foo() {\n"); buf.append(" ").append(line).append(";\n"); buf.append(" }\n"); buf.append("}\n"); char[] content= buf.toString().toCharArray(); ASTParser parser= ASTParser.newParser(AST.JLS3); parser.setSource(content); parser.setResolveBindings(true); parser.setProject(fJProject1); parser.setUnitName("F.java"); ITypeBinding b1= f1.resolveBinding().getType(); assertNotNull(b1); ITypeBinding b2= f2.resolveBinding().getType(); assertNotNull(b2); //old implementation does not support generics: if (b1.isParameterizedType() || b1.isWildcardType() || b1.isTypeVariable()) continue; if (b2.isParameterizedType() || b2.isWildcardType() || b2.isTypeVariable()) continue; if (b1.isRawType() != b2.isRawType()) continue; //old implementation does not support autoboxing: if (b1.isPrimitive() != b2.isPrimitive()) continue; CompilationUnit astRoot= null;try { astRoot= (CompilationUnit) parser.createAST(null); IProblem[] problems= astRoot.getProblems(); boolean res= TypeRules.canCast(b2, b1); if (res != (problems.length == 0)) { errors.append(line).append('\n'); }} catch (ClassCastException e) { //TODO jdt.core bug 82504: [5.0] ClassCastException when parsing a CastExpression from type Object[] to a type variable errors.append(line).append('\n'); errors.append(e).append('\n'); e.printStackTrace();} } } assertTrue(errors.toString(), errors.length() == 0); }
|
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/1318ffe28f7166bdcbcc88094ca221ad70dd5f4a/TypeRulesTest.java/buggy/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/TypeRulesTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
2568,
9735,
1435,
1216,
1185,
288,
202,
202,
780,
1892,
1334,
33,
394,
6674,
5621,
202,
202,
26547,
7456,
8526,
5774,
33,
752,
6158,
5621,
202,
202,
1884,
261,
474,
417,
33,
374,
31,
417,
411,
5774,
18,
2469,
31,
417,
27245,
288,
1082,
202,
1884,
261,
474,
290,
33,
374,
31,
290,
411,
5774,
18,
2469,
31,
290,
27245,
288,
9506,
202,
26547,
7456,
284,
21,
33,
5774,
63,
79,
15533,
9506,
202,
26547,
7456,
284,
22,
33,
5774,
63,
82,
15533,
6862,
9506,
202,
780,
4812,
559,
33,
284,
22,
18,
10828,
5250,
7675,
588,
559,
7675,
588,
12345,
5621,
9506,
202,
780,
980,
33,
4812,
559,
397,
315,
619,
33,
7566,
397,
4812,
559,
397,
9369,
315,
397,
284,
21,
18,
17994,
7675,
588,
3004,
5621,
6862,
9506,
202,
780,
1892,
1681,
33,
394,
6674,
5621,
9506,
202,
4385,
18,
6923,
2932,
5610,
1842,
21,
9747,
82,
8863,
9506,
202,
4385,
18,
6923,
2932,
482,
667,
478,
32,
56,
16,
587,
3231,
3588,
34,
3231,
512,
32,
56,
16,
587,
34,
18890,
82,
8863,
9506,
202,
4385,
18,
6923,
2932,
565,
918,
8431,
1435,
18890,
82,
8863,
9506,
202,
4385,
18,
6923,
2932,
3639,
315,
2934,
6923,
12,
1369,
2934,
6923,
2932,
9747,
82,
8863,
9506,
202,
4385,
18,
6923,
2932,
565,
289,
64,
82,
8863,
9506,
202,
4385,
18,
6923,
2932,
6280,
82,
8863,
9506,
202,
3001,
8526,
913,
33,
1681,
18,
10492,
7675,
869,
15936,
5621,
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,
918,
1842,
2568,
9735,
1435,
1216,
1185,
288,
202,
202,
780,
1892,
1334,
33,
394,
6674,
5621,
202,
202,
26547,
7456,
8526,
5774,
33,
752,
6158,
5621,
202,
202,
1884,
261,
474,
417,
33,
374,
31,
417,
411,
5774,
18,
2469,
31,
417,
27245,
288,
1082,
202,
1884,
261,
474,
290,
33,
374,
31,
290,
411,
5774,
18,
2469,
31,
290,
27245,
288,
9506,
202,
26547,
7456,
284,
21,
33,
5774,
63,
79,
15533,
9506,
202,
26547,
7456,
284,
22,
33,
5774,
63,
82,
15533,
6862,
9506,
202,
780,
4812,
559,
33,
284,
22,
18,
10828,
5250,
7675,
588,
559,
7675,
588,
12345,
5621,
9506,
202,
780,
980,
33,
4812,
559,
397,
315,
619,
33,
7566,
2
] |
|
final int maxPoolSize =
|
int maxPoolSize =
|
private DefaultThreadPool configThreadPool( final Configuration config ) throws ConfigurationException { final String name = config.getChild( "name" ).getValue( ); final int queueSize = config.getChild( "queue-size" ).getValueAsInteger( DEFAULT_QUEUE_SIZE ); final int maxPoolSize = config.getChild( "max-pool-size" ).getValueAsInteger( DEFAULT_MAX_POOL_SIZE ); int minPoolSize = config.getChild( "min-pool-size" ).getValueAsInteger( DEFAULT_MIN_POOL_SIZE ); // make sure we have enough threads for the default thread pool as we // need one for ourself if( DEFAULT_THREADPOOL_NAME.equals( name ) && ( minPoolSize < DEFAULT_MIN_POOL_SIZE ) ) { minPoolSize = DEFAULT_MIN_POOL_SIZE; } final String priority = config.getChild( "priority" ).getValue( DEFAULT_THREAD_PRIORITY ); final boolean isDaemon = config.getChild( "daemon" ).getValueAsBoolean( DEFAULT_DAEMON_MODE ); final long keepAliveTime = config.getChild( "keep-alive-time-ms" ).getValueAsLong( DEFAULT_KEEP_ALIVE_TIME ); final String blockPolicy = config.getChild( "block-policy" ).getValue( DefaultThreadPool.POLICY_DEFAULT ); final boolean shutdownGraceful = config.getChild( "shutdown-graceful" ).getValueAsBoolean( DEFAULT_SHUTDOWN_GRACEFUL ); final int shutdownWaitTime = config.getChild( "shutdown-wait-time-ms" ).getValueAsInteger( DEFAULT_SHUTDOWN_WAIT_TIME ); return createPool( new DefaultThreadPool( ), name, queueSize, maxPoolSize, minPoolSize, getPriority( priority ), isDaemon, keepAliveTime, blockPolicy, shutdownGraceful, shutdownWaitTime ); }
|
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/290eec59c32c3607e9be520c62441b9e100171f5/DefaultRunnableManager.java/buggy/src/java/org/apache/cocoon/components/thread/DefaultRunnableManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2989,
20621,
642,
20621,
12,
727,
4659,
642,
262,
3639,
1216,
22196,
565,
288,
3639,
727,
514,
508,
273,
642,
18,
588,
1763,
12,
315,
529,
6,
262,
18,
24805,
12,
225,
11272,
3639,
727,
509,
2389,
1225,
273,
5411,
642,
18,
588,
1763,
12,
315,
4000,
17,
1467,
6,
262,
18,
24805,
1463,
4522,
12,
3331,
67,
19533,
67,
4574,
11272,
3639,
509,
943,
18834,
273,
5411,
642,
18,
588,
1763,
12,
315,
1896,
17,
6011,
17,
1467,
6,
262,
18,
24805,
1463,
4522,
12,
3331,
67,
6694,
67,
20339,
67,
4574,
11272,
3639,
509,
1131,
18834,
273,
5411,
642,
18,
588,
1763,
12,
315,
1154,
17,
6011,
17,
1467,
6,
262,
18,
24805,
1463,
4522,
12,
3331,
67,
6236,
67,
20339,
67,
4574,
11272,
3639,
368,
1221,
3071,
732,
1240,
7304,
7403,
364,
326,
805,
2650,
2845,
487,
732,
540,
368,
1608,
1245,
364,
3134,
2890,
3639,
309,
12,
3331,
67,
21730,
20339,
67,
1985,
18,
14963,
12,
508,
262,
597,
5411,
261,
1131,
18834,
411,
3331,
67,
6236,
67,
20339,
67,
4574,
262,
262,
3639,
288,
5411,
1131,
18834,
273,
3331,
67,
6236,
67,
20339,
67,
4574,
31,
3639,
289,
3639,
727,
514,
4394,
273,
5411,
642,
18,
588,
1763,
12,
315,
8457,
6,
262,
18,
24805,
12,
3331,
67,
21730,
67,
19804,
11272,
3639,
727,
1250,
353,
12858,
273,
5411,
642,
18,
588,
1763,
12,
315,
21511,
6,
262,
18,
24805,
1463,
5507,
12,
3331,
67,
9793,
3375,
673,
67,
7038,
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,
2989,
20621,
642,
20621,
12,
727,
4659,
642,
262,
3639,
1216,
22196,
565,
288,
3639,
727,
514,
508,
273,
642,
18,
588,
1763,
12,
315,
529,
6,
262,
18,
24805,
12,
225,
11272,
3639,
727,
509,
2389,
1225,
273,
5411,
642,
18,
588,
1763,
12,
315,
4000,
17,
1467,
6,
262,
18,
24805,
1463,
4522,
12,
3331,
67,
19533,
67,
4574,
11272,
3639,
509,
943,
18834,
273,
5411,
642,
18,
588,
1763,
12,
315,
1896,
17,
6011,
17,
1467,
6,
262,
18,
24805,
1463,
4522,
12,
3331,
67,
6694,
67,
20339,
67,
4574,
11272,
3639,
509,
1131,
18834,
273,
5411,
642,
18,
588,
1763,
12,
315,
1154,
17,
6011,
17,
1467,
6,
262,
18,
24805,
1463,
4522,
2
] |
public PatternDescr lhs_eval() throws RecognitionException { PatternDescr d; String c = null; d = null; String text = ""; try { // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:662:17: ( 'eval' '(' c= paren_chunk ')' ) // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:662:17: 'eval' '(' c= paren_chunk ')' { match(input,52,FOLLOW_52_in_lhs_eval2197); match(input,20,FOLLOW_20_in_lhs_eval2199); following.push(FOLLOW_paren_chunk_in_lhs_eval2203); c=paren_chunk(); following.pop(); match(input,22,FOLLOW_22_in_lhs_eval2205); d = new EvalDescr( c ); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; }
|
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/138d9a6805db25e18a7f8c70bebca33cce7b95e5/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6830,
16198,
8499,
67,
8622,
1435,
1216,
9539,
288,
6647,
6830,
16198,
302,
31,
3639,
514,
276,
273,
446,
31,
540,
202,
202,
72,
273,
446,
31,
540,
202,
202,
780,
977,
273,
1408,
31,
540,
202,
3639,
775,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
6028,
22,
30,
4033,
30,
261,
296,
8622,
11,
7321,
276,
33,
22146,
67,
6551,
5777,
262,
5411,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
6028,
22,
30,
4033,
30,
296,
8622,
11,
7321,
276,
33,
22146,
67,
6551,
5777,
5411,
288,
5411,
845,
12,
2630,
16,
9401,
16,
29890,
67,
9401,
67,
267,
67,
80,
4487,
67,
8622,
22,
31728,
1769,
2398,
845,
12,
2630,
16,
3462,
16,
29890,
67,
3462,
67,
267,
67,
80,
4487,
67,
8622,
5340,
2733,
1769,
2398,
3751,
18,
6206,
12,
29890,
67,
13012,
67,
6551,
67,
267,
67,
80,
4487,
67,
8622,
27246,
23,
1769,
5411,
276,
33,
13012,
67,
6551,
5621,
5411,
3751,
18,
5120,
5621,
5411,
845,
12,
2630,
16,
3787,
16,
29890,
67,
3787,
67,
267,
67,
80,
4487,
67,
8622,
27246,
25,
1769,
2868,
302,
273,
394,
13163,
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,
6830,
16198,
8499,
67,
8622,
1435,
1216,
9539,
288,
6647,
6830,
16198,
302,
31,
3639,
514,
276,
273,
446,
31,
540,
202,
202,
72,
273,
446,
31,
540,
202,
202,
780,
977,
273,
1408,
31,
540,
202,
3639,
775,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
6028,
22,
30,
4033,
30,
261,
296,
8622,
11,
7321,
276,
33,
22146,
67,
6551,
5777,
262,
5411,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
2
] |
||
private Map createArtifactMap( MavenProject project ) { Map artifactMap = Collections.EMPTY_MAP; List dependencies = project.getDependencies(); List remoteRepositories = Collections.EMPTY_LIST; Set dependencyArtifacts = new HashSet(); for ( Iterator it = dependencies.iterator(); it.hasNext(); ) { Dependency dependency = (Dependency) it.next(); VersionRange vr = VersionRange.createFromVersion( dependency.getVersion() ); Artifact artifact = factory.createDependencyArtifact( dependency.getGroupId(), dependency.getArtifactId(), vr, dependency.getType(), dependency.getClassifier(), dependency.getScope() ); dependencyArtifacts.add( artifact ); } if ( actTransitively ) { try { ArtifactResolutionResult result = resolver.resolveTransitively( dependencyArtifacts, project.getArtifact(), remoteRepositories, localRepository, source ); artifactMap = ArtifactUtils.artifactMapByVersionlessId( result.getArtifacts() ); } catch ( ArtifactResolutionException e ) { verbose( "Skipping: " + e.getArtifactId() + ". It cannot be resolved." ); } catch ( ArtifactNotFoundException e ) { verbose( "Skipping: " + e.getArtifactId() + ". It cannot be resolved." ); } } else { artifactMap = new HashMap(); for ( Iterator it = dependencyArtifacts.iterator(); it.hasNext(); ) { Artifact artifact = (Artifact) it.next(); try { resolver.resolve( artifact, remoteRepositories, localRepository ); artifactMap.put( ArtifactUtils.versionlessKey( artifact ), artifact ); } catch ( ArtifactResolutionException e ) { verbose( "Skipping: " + e.getArtifactId() + ". It cannot be resolved." ); } catch ( ArtifactNotFoundException e ) { verbose( "Skipping: " + e.getArtifactId() + ". It cannot be resolved." ); } } } return artifactMap; }
|
7444 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7444/cc3a01ab903ce7a1610784db39e6913daeb39597/PurgeLocalRepositoryMojo.java/clean/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/PurgeLocalRepositoryMojo.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1635,
752,
7581,
863,
12,
17176,
4109,
1984,
262,
565,
288,
3639,
1635,
6462,
863,
273,
5737,
18,
13625,
67,
8352,
31,
7734,
987,
5030,
273,
1984,
18,
588,
8053,
5621,
7734,
987,
2632,
18429,
273,
5737,
18,
13625,
67,
7085,
31,
7734,
1000,
4904,
16981,
273,
394,
6847,
5621,
3639,
364,
261,
4498,
518,
273,
5030,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
3639,
288,
5411,
11993,
4904,
273,
261,
7787,
13,
518,
18,
4285,
5621,
5411,
4049,
2655,
16612,
273,
4049,
2655,
18,
2640,
1265,
1444,
12,
4904,
18,
588,
1444,
1435,
11272,
13491,
14022,
6462,
273,
3272,
18,
2640,
7787,
7581,
12,
4904,
18,
588,
8722,
9334,
4904,
18,
588,
7581,
548,
9334,
4766,
21394,
16612,
16,
4904,
18,
588,
559,
9334,
4904,
18,
588,
13860,
9334,
4766,
21394,
4904,
18,
588,
3876,
1435,
11272,
5411,
4904,
16981,
18,
1289,
12,
6462,
11272,
3639,
289,
10792,
309,
261,
1328,
26164,
4492,
262,
3639,
288,
5411,
775,
5411,
288,
7734,
14022,
11098,
1253,
563,
273,
5039,
18,
10828,
26164,
4492,
12,
4904,
16981,
16,
1984,
18,
588,
7581,
9334,
2632,
18429,
16,
4766,
2868,
1191,
3305,
16,
1084,
11272,
27573,
6462,
863,
273,
14022,
1989,
18,
17706,
863,
858,
1444,
2656,
548,
12,
563,
18,
588,
16981,
1435,
11272,
5411,
289,
5411,
1044,
261,
14022,
11098,
503,
425,
262,
5411,
288,
7734,
3988,
12,
315,
16877,
30,
315,
397,
425,
18,
588,
7581,
548,
1435,
397,
3552,
2597,
2780,
506,
4640,
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,
1635,
752,
7581,
863,
12,
17176,
4109,
1984,
262,
565,
288,
3639,
1635,
6462,
863,
273,
5737,
18,
13625,
67,
8352,
31,
7734,
987,
5030,
273,
1984,
18,
588,
8053,
5621,
7734,
987,
2632,
18429,
273,
5737,
18,
13625,
67,
7085,
31,
7734,
1000,
4904,
16981,
273,
394,
6847,
5621,
3639,
364,
261,
4498,
518,
273,
5030,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
3639,
288,
5411,
11993,
4904,
273,
261,
7787,
13,
518,
18,
4285,
5621,
5411,
4049,
2655,
16612,
273,
4049,
2655,
18,
2640,
1265,
1444,
12,
4904,
18,
588,
1444,
1435,
11272,
13491,
14022,
6462,
273,
3272,
18,
2640,
7787,
7581,
12,
4904,
18,
588,
8722,
9334,
4904,
18,
588,
7581,
548,
2
] |
||
System.err.println("************* Encoding " + dataBlockStatus.length + " -> " + checkBlockStatus.length + " *************");
|
private void realEncode(SplitfileBlock[] dataBlockStatus, SplitfileBlock[] checkBlockStatus, int blockLength, BucketFactory bf) throws IOException {// Runtime.getRuntime().gc();// Runtime.getRuntime().runFinalization();// Runtime.getRuntime().gc();// Runtime.getRuntime().runFinalization(); long memUsedAtStart = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory(); Logger.minor(this, "Memory in use at start: "+memUsedAtStart+" max="+Runtime.getRuntime().maxMemory()); System.err.println("************* Encoding " + dataBlockStatus.length + " -> " + checkBlockStatus.length + " *************"); Logger.minor(this, "Doing encode: " + dataBlockStatus.length + " data blocks, " + checkBlockStatus.length + " check blocks, block length " + blockLength + " with " + this); if (dataBlockStatus.length + checkBlockStatus.length != n) throw new IllegalArgumentException(); if (dataBlockStatus.length != k) throw new IllegalArgumentException(); Buffer[] dataPackets = new Buffer[k]; Buffer[] checkPackets = new Buffer[n - k]; Bucket[] buckets = new Bucket[n]; DataInputStream[] readers = new DataInputStream[k]; OutputStream[] writers = new OutputStream[n - k]; try { int[] toEncode = new int[n - k]; int numberToEncode = 0; // can be less than n-k byte[] realBuffer = new byte[n * STRIPE_SIZE]; for (int i = 0; i < k; i++) dataPackets[i] = new Buffer(realBuffer, i * STRIPE_SIZE, STRIPE_SIZE); for (int i = 0; i < n - k; i++) checkPackets[i] = new Buffer(realBuffer, (i + k) * STRIPE_SIZE, STRIPE_SIZE); for (int i = 0; i < dataBlockStatus.length; i++) { buckets[i] = dataBlockStatus[i].getData(); long sz = buckets[i].size(); if (sz < blockLength) { if (i != dataBlockStatus.length - 1) throw new IllegalArgumentException( "All buckets except the last must be the full size"); if (sz < blockLength) buckets[i] = pad(buckets[i], blockLength, bf, (int) sz); else throw new IllegalArgumentException("Too big: " + sz + " bigger than " + blockLength); } readers[i] = new DataInputStream(buckets[i].getInputStream()); } for (int i = 0; i < checkBlockStatus.length; i++) { buckets[i + k] = checkBlockStatus[i].getData(); if (buckets[i + k] == null) { buckets[i + k] = bf.makeBucket(blockLength); writers[i] = buckets[i + k].getOutputStream(); toEncode[numberToEncode++] = i + k; } else { writers[i] = null; } } if (numberToEncode > 0) { // Do the (striped) encode for (int offset = 0; offset < blockLength; offset += STRIPE_SIZE) { // Read the data in first for (int i = 0; i < k; i++) { readers[i].readFully(realBuffer, i * STRIPE_SIZE, STRIPE_SIZE); } // Do the encode // Not shuffled long startTime = System.currentTimeMillis();// Runtime.getRuntime().gc();// Runtime.getRuntime().runFinalization();// Runtime.getRuntime().gc();// Runtime.getRuntime().runFinalization(); long memUsedBeforeStripe = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory(); Logger.minor(this, "Memory in use before stripe: "+memUsedBeforeStripe); encoder.encode(dataPackets, checkPackets, toEncode);// Runtime.getRuntime().gc();// Runtime.getRuntime().runFinalization();// Runtime.getRuntime().gc();// Runtime.getRuntime().runFinalization(); long memUsedAfterStripe = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory(); Logger.minor(this, "Memory in use after stripe: "+memUsedAfterStripe); long endTime = System.currentTimeMillis(); Logger.minor(this, "Stripe encode took " + (endTime - startTime) + " ms for k=" + k + ", n=" + n + ", stripeSize=" + STRIPE_SIZE); // Try to limit CPU usage!! try { Thread.sleep(endTime - startTime); } catch (InterruptedException e) { // Ignore } // packets now contains an array of decoded blocks, in order // Write the data out for (int i = k; i < n; i++) { if (writers[i - k] != null) writers[i - k].write(realBuffer, i * STRIPE_SIZE, STRIPE_SIZE); } } } } finally { for (int i = 0; i < k; i++) if (readers[i] != null) readers[i].close(); for (int i = 0; i < n - k; i++) if (writers[i] != null) writers[i].close(); } // Set new buckets only after have a successful decode. for (int i = 0; i < checkBlockStatus.length; i++) { Bucket data = buckets[i + k]; if (data == null) throw new NullPointerException(); checkBlockStatus[i].setData(data); } System.err.println("************* Encoded " + dataBlockStatus.length + " -> " + checkBlockStatus.length + " *************"); }
|
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/308b196ee77f38c4a2c6b11b7182c054b6b5e3e6/StandardOnionFECCodec.java/buggy/src/freenet/client/StandardOnionFECCodec.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2863,
5509,
12,
5521,
768,
1768,
8526,
501,
1768,
1482,
16,
1082,
202,
5521,
768,
1768,
8526,
866,
1768,
1482,
16,
509,
25367,
16,
7408,
1733,
16222,
13,
1082,
202,
15069,
1860,
288,
759,
202,
202,
5576,
18,
588,
5576,
7675,
13241,
5621,
759,
202,
202,
5576,
18,
588,
5576,
7675,
2681,
7951,
1588,
5621,
759,
202,
202,
5576,
18,
588,
5576,
7675,
13241,
5621,
759,
202,
202,
5576,
18,
588,
5576,
7675,
2681,
7951,
1588,
5621,
202,
202,
5748,
1663,
6668,
861,
1685,
273,
2509,
18,
588,
5576,
7675,
4963,
6031,
1435,
300,
2509,
18,
588,
5576,
7675,
9156,
6031,
5621,
202,
202,
3328,
18,
17364,
12,
2211,
16,
315,
6031,
316,
999,
622,
787,
30,
13773,
3917,
6668,
861,
1685,
9078,
943,
1546,
15,
5576,
18,
588,
5576,
7675,
1896,
6031,
10663,
202,
202,
3163,
18,
370,
18,
8222,
2932,
1644,
23490,
13400,
315,
397,
501,
1768,
1482,
18,
2469,
9506,
202,
15,
315,
317,
315,
397,
866,
1768,
1482,
18,
2469,
397,
315,
380,
1644,
1007,
8863,
202,
202,
3328,
18,
17364,
12,
2211,
16,
315,
3244,
310,
2017,
30,
315,
397,
501,
1768,
1482,
18,
2469,
9506,
202,
15,
315,
501,
4398,
16,
315,
397,
866,
1768,
1482,
18,
2469,
9506,
202,
15,
315,
866,
4398,
16,
1203,
769,
315,
397,
25367,
397,
315,
598,
315,
9506,
202,
15,
333,
1769,
202,
202,
430,
261,
892,
1768,
1482,
18,
2469,
397,
866,
1768,
1482,
18,
2469,
480,
290,
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,
225,
202,
1152,
918,
2863,
5509,
12,
5521,
768,
1768,
8526,
501,
1768,
1482,
16,
1082,
202,
5521,
768,
1768,
8526,
866,
1768,
1482,
16,
509,
25367,
16,
7408,
1733,
16222,
13,
1082,
202,
15069,
1860,
288,
759,
202,
202,
5576,
18,
588,
5576,
7675,
13241,
5621,
759,
202,
202,
5576,
18,
588,
5576,
7675,
2681,
7951,
1588,
5621,
759,
202,
202,
5576,
18,
588,
5576,
7675,
13241,
5621,
759,
202,
202,
5576,
18,
588,
5576,
7675,
2681,
7951,
1588,
5621,
202,
202,
5748,
1663,
6668,
861,
1685,
273,
2509,
18,
588,
5576,
7675,
4963,
6031,
1435,
300,
2509,
18,
588,
5576,
7675,
9156,
6031,
5621,
202,
202,
3328,
18,
17364,
12,
2211,
16,
315,
6031,
316,
999,
622,
2
] |
|
HashMap wordPositionsForOneUri = (HashMap)positionsByWordByURI.get(uri.toString(false)); /* For a given URI, take as key a word, and gives position */
|
HashMap wordPositionsForOneUri = (HashMap)positionsByWordByURI.get(uri.toString()); /* For a given URI, take as key a word, and gives position */
|
private synchronized void addWord(String word, int position, FreenetURI uri) { /* I know that it's bad for i18n */ /* But words separation or file filtering seems to already killed words matching [^a-zA-Z] ... */ if(word.length() < 3) return; FreenetURI[] uris = (FreenetURI[]) urisByWord.get(word); //Integer[] positions = (Integer[]) positionsByWordByURI.get(word); urisWithWords.add(uri); /* Word position indexation */ HashMap wordPositionsForOneUri = (HashMap)positionsByWordByURI.get(uri.toString(false)); /* For a given URI, take as key a word, and gives position */ if(wordPositionsForOneUri == null) { wordPositionsForOneUri = new HashMap(); wordPositionsForOneUri.put(word, new Integer[] { new Integer(position) }); positionsByWordByURI.put(uri.toString(false), wordPositionsForOneUri); } else { Integer[] positions = (Integer[])wordPositionsForOneUri.get(word); if(positions == null) { positions = new Integer[] { new Integer(position) }; wordPositionsForOneUri.put(word, positions); } else { Integer[] newPositions = new Integer[positions.length + 1]; System.arraycopy(positions, 0, newPositions, 0, positions.length); newPositions[positions.length] = new Integer(position); wordPositionsForOneUri.put(word, newPositions); } } /* Words indexation */ if (uris == null) { urisByWord.put(word, new FreenetURI[] { uri }); } else { for (int i = 0; i < uris.length; i++) { if (uris[i].equals(uri)) return; } FreenetURI[] newURIs = new FreenetURI[uris.length + 1]; System.arraycopy(uris, 0, newURIs, 0, uris.length); newURIs[uris.length] = uri; urisByWord.put(word, newURIs); } if (tProducedIndex + minTimeBetweenEachIndexRewriting * 1000 < System.currentTimeMillis()) { try { produceIndex(); } catch (IOException e) { Logger.error(this, "Caught " + e + " while creating index", e); } tProducedIndex = System.currentTimeMillis(); } }
|
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/1c876261ab73159d57a26624667ec7bf7acd15b8/NinjaSpider.java/buggy/src/freenet/clients/http/NinjaSpider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
3852,
918,
527,
3944,
12,
780,
2076,
16,
509,
1754,
16,
478,
2842,
278,
3098,
2003,
13,
288,
202,
202,
20308,
467,
5055,
716,
518,
1807,
5570,
364,
277,
2643,
82,
1195,
202,
202,
20308,
12484,
4511,
5102,
367,
578,
585,
11346,
12001,
358,
1818,
24859,
4511,
3607,
306,
66,
69,
17,
9600,
17,
62,
65,
1372,
1195,
202,
202,
430,
12,
1095,
18,
2469,
1435,
411,
890,
13,
1082,
202,
2463,
31,
202,
202,
42,
2842,
278,
3098,
8526,
21476,
273,
261,
42,
2842,
278,
3098,
63,
5717,
21476,
858,
3944,
18,
588,
12,
1095,
1769,
202,
202,
759,
4522,
8526,
6865,
273,
261,
4522,
63,
5717,
6865,
858,
3944,
858,
3098,
18,
588,
12,
1095,
1769,
202,
202,
23510,
1190,
7363,
18,
1289,
12,
1650,
1769,
202,
202,
20308,
9926,
1754,
770,
367,
1195,
202,
202,
8658,
2076,
11024,
1290,
3335,
3006,
273,
261,
8658,
13,
12388,
858,
3944,
858,
3098,
18,
588,
12,
1650,
18,
10492,
12,
5743,
10019,
1748,
2457,
279,
864,
3699,
16,
4862,
487,
498,
279,
2076,
16,
471,
14758,
1754,
1195,
9506,
202,
430,
12,
1095,
11024,
1290,
3335,
3006,
422,
446,
13,
288,
1082,
202,
1095,
11024,
1290,
3335,
3006,
273,
394,
4317,
5621,
1082,
202,
1095,
11024,
1290,
3335,
3006,
18,
458,
12,
1095,
16,
394,
2144,
8526,
288,
394,
2144,
12,
3276,
13,
15549,
1082,
202,
12388,
858,
3944,
858,
3098,
18,
458,
12,
1650,
18,
10492,
12,
5743,
3631,
2076,
11024,
1290,
3335,
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,
3852,
918,
527,
3944,
12,
780,
2076,
16,
509,
1754,
16,
478,
2842,
278,
3098,
2003,
13,
288,
202,
202,
20308,
467,
5055,
716,
518,
1807,
5570,
364,
277,
2643,
82,
1195,
202,
202,
20308,
12484,
4511,
5102,
367,
578,
585,
11346,
12001,
358,
1818,
24859,
4511,
3607,
306,
66,
69,
17,
9600,
17,
62,
65,
1372,
1195,
202,
202,
430,
12,
1095,
18,
2469,
1435,
411,
890,
13,
1082,
202,
2463,
31,
202,
202,
42,
2842,
278,
3098,
8526,
21476,
273,
261,
42,
2842,
278,
3098,
63,
5717,
21476,
858,
3944,
18,
588,
12,
1095,
1769,
202,
202,
759,
4522,
8526,
6865,
273,
261,
4522,
63,
5717,
6865,
858,
3944,
858,
3098,
18,
588,
12,
2
] |
FileUnderConstruction pendingFile = (FileUnderConstruction) pendingCreates.get(src); int nrBlocks = pendingFile.size(); Block pendingBlocks[] = (Block[]) pendingFile.toArray(new Block[nrBlocks]);
|
FileUnderConstruction pendingFile = (FileUnderConstruction) pendingCreates.get(src); Vector blocks = pendingFile.getBlocks(); int nrBlocks = blocks.size(); Block pendingBlocks[] = (Block[]) blocks.toArray(new Block[nrBlocks]);
|
public synchronized int completeFile(UTF8 src, UTF8 holder) { if (dir.getFile(src) != null || pendingCreates.get(src) == null) { LOG.info( "Failed to complete " + src + " because dir.getFile()==" + dir.getFile(src) + " and " + pendingCreates.get(src)); return OPERATION_FAILED; } else if (! checkFileProgress(src)) { return STILL_WAITING; } FileUnderConstruction pendingFile = (FileUnderConstruction) pendingCreates.get(src); int nrBlocks = pendingFile.size(); Block pendingBlocks[] = (Block[]) pendingFile.toArray(new Block[nrBlocks]); // // We have the pending blocks, but they won't have // length info in them (as they were allocated before // data-write took place). So we need to add the correct // length info to each // // REMIND - mjc - this is very inefficient! We should // improve this! // for (int i = 0; i < nrBlocks; i++) { Block b = (Block)pendingBlocks[i]; TreeSet containingNodes = (TreeSet) blocksMap.get(b); DatanodeInfo node = (DatanodeInfo) containingNodes.first(); for (Iterator it = node.getBlockIterator(); it.hasNext(); ) { Block cur = (Block) it.next(); if (b.getBlockId() == cur.getBlockId()) { b.setNumBytes(cur.getNumBytes()); break; } } } // // Now we can add the (name,blocks) tuple to the filesystem // if ( ! dir.addFile(src, pendingBlocks, pendingFile.getReplication())) { System.out.println("AddFile() for " + src + " failed"); return OPERATION_FAILED; } // The file is no longer pending pendingCreates.remove(src); LOG.fine("Removing " + src + " from pendingCreates for " + holder + ". (complete)"); for (int i = 0; i < nrBlocks; i++) { pendingCreateBlocks.remove(pendingBlocks[i]); } synchronized (leases) { Lease lease = (Lease) leases.get(holder); if (lease != null) { lease.completedCreate(src); if (! lease.hasLocks()) { leases.remove(holder); sortedLeases.remove(lease); } } } // // REMIND - mjc - this should be done only after we wait a few secs. // The namenode isn't giving datanodes enough time to report the // replicated blocks that are automatically done as part of a client // write. // // Now that the file is real, we need to be sure to replicate // the blocks. for (int i = 0; i < nrBlocks; i++) { TreeSet containingNodes = (TreeSet) blocksMap.get(pendingBlocks[i]); if (containingNodes.size() < pendingFile.getReplication()) { synchronized (neededReplications) { LOG.info("Completed file " + src + ", at holder " + holder + ". There is/are only " + containingNodes.size() + " copies of block " + pendingBlocks[i] + ", so replicating up to " + pendingFile.getReplication()); neededReplications.add(pendingBlocks[i]); } } } return COMPLETE_SUCCESS; }
|
48130 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48130/1c377fdf7ee9ffb40179e63f1d7aff9d4119897e/FSNamesystem.java/buggy/src/java/org/apache/hadoop/dfs/FSNamesystem.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
509,
3912,
812,
12,
5159,
28,
1705,
16,
6380,
28,
10438,
13,
288,
3639,
309,
261,
1214,
18,
29925,
12,
4816,
13,
480,
446,
747,
4634,
2729,
18,
588,
12,
4816,
13,
422,
446,
13,
288,
5411,
2018,
18,
1376,
12,
315,
2925,
358,
3912,
315,
397,
1705,
397,
15604,
315,
225,
2724,
1577,
18,
29925,
1435,
31713,
397,
1577,
18,
29925,
12,
4816,
13,
397,
15604,
315,
471,
315,
397,
4634,
2729,
18,
588,
12,
4816,
10019,
5411,
327,
31294,
67,
11965,
31,
3639,
289,
469,
309,
16051,
866,
812,
5491,
12,
4816,
3719,
288,
5411,
327,
2347,
15125,
67,
19046,
1360,
31,
3639,
289,
7734,
1387,
14655,
25485,
4634,
812,
273,
261,
812,
14655,
25485,
13,
4634,
2729,
18,
588,
12,
4816,
1769,
3639,
509,
9884,
6450,
273,
4634,
812,
18,
1467,
5621,
3639,
3914,
4634,
6450,
8526,
273,
261,
1768,
63,
5717,
4634,
812,
18,
31447,
12,
2704,
3914,
63,
11611,
6450,
19226,
3639,
368,
3639,
368,
1660,
1240,
326,
4634,
4398,
16,
1496,
2898,
8462,
1404,
1240,
3639,
368,
769,
1123,
316,
2182,
261,
345,
2898,
4591,
11977,
1865,
3639,
368,
501,
17,
2626,
23151,
3166,
2934,
225,
6155,
732,
1608,
358,
527,
326,
3434,
3639,
368,
769,
1123,
358,
1517,
3639,
368,
3639,
368,
2438,
49,
2356,
300,
312,
78,
71,
300,
333,
353,
8572,
316,
25403,
5,
225,
1660,
1410,
3639,
368,
21171,
333,
5,
3639,
368,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
9884,
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,
3912,
812,
12,
5159,
28,
1705,
16,
6380,
28,
10438,
13,
288,
3639,
309,
261,
1214,
18,
29925,
12,
4816,
13,
480,
446,
747,
4634,
2729,
18,
588,
12,
4816,
13,
422,
446,
13,
288,
5411,
2018,
18,
1376,
12,
315,
2925,
358,
3912,
315,
397,
1705,
397,
15604,
315,
225,
2724,
1577,
18,
29925,
1435,
31713,
397,
1577,
18,
29925,
12,
4816,
13,
397,
15604,
315,
471,
315,
397,
4634,
2729,
18,
588,
12,
4816,
10019,
5411,
327,
31294,
67,
11965,
31,
3639,
289,
469,
309,
16051,
866,
812,
5491,
12,
4816,
3719,
288,
5411,
327,
2347,
15125,
67,
19046,
1360,
31,
3639,
289,
7734,
1387,
14655,
25485,
4634,
812,
273,
261,
812,
14655,
2
] |
if (selectedObject.getDescriptionImage() != null) return true;
|
if (selectedObject.getDescriptionImage() != null) { return true; }
|
private boolean hasImage(IWizardDescriptor selectedObject) { if (selectedObject == null) return false; if (selectedObject.getDescriptionImage() != null) return true; return false; }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/NewWizardNewPage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/NewWizardNewPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
711,
2040,
12,
45,
27130,
3187,
3170,
921,
13,
288,
3639,
309,
261,
8109,
921,
422,
446,
13,
5411,
327,
629,
31,
3639,
309,
261,
8109,
921,
18,
588,
3291,
2040,
1435,
480,
446,
13,
5411,
327,
638,
31,
3639,
327,
629,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
711,
2040,
12,
45,
27130,
3187,
3170,
921,
13,
288,
3639,
309,
261,
8109,
921,
422,
446,
13,
5411,
327,
629,
31,
3639,
309,
261,
8109,
921,
18,
588,
3291,
2040,
1435,
480,
446,
13,
5411,
327,
638,
31,
3639,
327,
629,
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
] |
index++;
|
index++;
|
public final void read_char_array (final char[] value, final int offset, final int length) { for (int j = offset; j < offset + length; j++) { index++; value[j] = (char) (0xff & buffer[pos++]); } }
|
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/7271c3cbb78470b90b072d36661a5ab67199cc91/CDRInputStream.java/clean/src/org/jacorb/orb/CDRInputStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
855,
67,
3001,
67,
1126,
565,
261,
6385,
1149,
8526,
460,
16,
727,
509,
1384,
16,
727,
509,
769,
13,
565,
288,
3639,
364,
261,
474,
525,
273,
1384,
31,
525,
411,
1384,
397,
769,
31,
525,
27245,
3639,
288,
5411,
770,
9904,
31,
2398,
460,
63,
78,
65,
273,
261,
3001,
13,
261,
20,
5297,
473,
1613,
63,
917,
9904,
19226,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
855,
67,
3001,
67,
1126,
565,
261,
6385,
1149,
8526,
460,
16,
727,
509,
1384,
16,
727,
509,
769,
13,
565,
288,
3639,
364,
261,
474,
525,
273,
1384,
31,
525,
411,
1384,
397,
769,
31,
525,
27245,
3639,
288,
5411,
770,
9904,
31,
2398,
460,
63,
78,
65,
273,
261,
3001,
13,
261,
20,
5297,
473,
1613,
63,
917,
9904,
19226,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
JavaClass[] classes = javaSource.getClasses(); for (int j = 0; j < classes.length; j++) { JavaClass javaClass = classes[j]; addClassesRecursive(javaClass, resultSet); }
|
addClassesRecursive(javaSource, resultSet);
|
public JavaClass[] getClasses() { Set resultSet = new HashSet(); JavaSource[] javaSources = getSources(); for (int i = 0; i < javaSources.length; i++) { JavaSource javaSource = javaSources[i]; JavaClass[] classes = javaSource.getClasses(); for (int j = 0; j < classes.length; j++) { JavaClass javaClass = classes[j]; addClassesRecursive(javaClass, resultSet); } } JavaClass[] result = (JavaClass[]) resultSet.toArray(new JavaClass[resultSet.size()]); return result; }
|
2045 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2045/4ff15e81798170244fd18295df1d13b8d68ad970/JavaDocBuilder.java/clean/qdox/src/java/com/thoughtworks/qdox/JavaDocBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
29491,
8526,
30561,
1435,
288,
3639,
1000,
12168,
273,
394,
6847,
5621,
3639,
5110,
1830,
8526,
2252,
8628,
273,
1322,
1418,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2252,
8628,
18,
2469,
31,
277,
27245,
288,
5411,
5110,
1830,
2252,
1830,
273,
2252,
8628,
63,
77,
15533,
5411,
29491,
8526,
3318,
273,
2252,
1830,
18,
588,
4818,
5621,
5411,
364,
261,
474,
525,
273,
374,
31,
525,
411,
3318,
18,
2469,
31,
525,
27245,
288,
7734,
29491,
2252,
797,
273,
3318,
63,
78,
15533,
7734,
527,
4818,
10483,
12,
6290,
797,
16,
12168,
1769,
5411,
289,
3639,
289,
3639,
29491,
8526,
563,
273,
261,
5852,
797,
63,
5717,
12168,
18,
31447,
12,
2704,
29491,
63,
2088,
694,
18,
1467,
1435,
19226,
3639,
327,
563,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
29491,
8526,
30561,
1435,
288,
3639,
1000,
12168,
273,
394,
6847,
5621,
3639,
5110,
1830,
8526,
2252,
8628,
273,
1322,
1418,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2252,
8628,
18,
2469,
31,
277,
27245,
288,
5411,
5110,
1830,
2252,
1830,
273,
2252,
8628,
63,
77,
15533,
5411,
29491,
8526,
3318,
273,
2252,
1830,
18,
588,
4818,
5621,
5411,
364,
261,
474,
525,
273,
374,
31,
525,
411,
3318,
18,
2469,
31,
525,
27245,
288,
7734,
29491,
2252,
797,
273,
3318,
63,
78,
15533,
7734,
527,
4818,
10483,
12,
6290,
797,
16,
12168,
1769,
5411,
289,
3639,
289,
3639,
29491,
8526,
563,
273,
261,
5852,
797,
63,
5717,
12168,
18,
31447,
12,
2704,
2
] |
MavenProject clonedProject = new MavenProject( project ); Model model = clonedProject.getOriginalModel();
|
Model model = ModelUtils.cloneModel( project.getOriginalModel() );
|
protected void executeTask() throws MojoExecutionException { try { getReleaseProgress().checkpoint( basedir, ReleaseProgressTracker.CP_INITIALIZED ); } catch ( IOException e ) { getLog().warn( "Error writing checkpoint.", e ); } if ( !getReleaseProgress().verifyCheckpoint( ReleaseProgressTracker.CP_PREPARED_RELEASE ) ) { checkForLocalModifications(); if ( !getReleaseProgress().verifyCheckpoint( ReleaseProgressTracker.CP_POM_TRANSFORMED_FOR_RELEASE ) ) { for ( Iterator it = reactorProjects.iterator(); it.hasNext(); ) { MavenProject project = (MavenProject) it.next(); checkForPresenceOfSnapshots( project ); String projectId = ArtifactUtils.versionlessKey( project.getGroupId(), project.getArtifactId() ); if ( !ArtifactUtils.isSnapshot( project.getVersion() ) ) { throw new MojoExecutionException( "The project " + project.getGroupId() + ":" + project.getArtifactId() + " isn't a snapshot (" + project.getVersion() + ")." ); } getVersionResolver().resolveVersion( project.getOriginalModel(), projectId ); MavenProject clonedProject = new MavenProject( project ); Model model = clonedProject.getOriginalModel(); transformPomToReleaseVersionPom( model, projectId, project.getFile(), project.getParentArtifact(), project.getPluginArtifactRepositories() ); } try { getReleaseProgress().checkpoint( basedir, ReleaseProgressTracker.CP_POM_TRANSFORMED_FOR_RELEASE ); } catch ( IOException e ) { getLog().warn( "Error writing checkpoint.", e ); } } generateReleasePoms(); checkInRelease(); tagRelease(); if ( !getReleaseProgress().verifyCheckpoint( ReleaseProgressTracker.CP_POM_TRANSORMED_FOR_DEVELOPMENT ) ) { for ( Iterator it = reactorProjects.iterator(); it.hasNext(); ) { MavenProject project = (MavenProject) it.next(); // TODO: use clone model instead... (requires beta-3) project = new MavenProject( project ); Model model = project.getOriginalModel(); String projectId = ArtifactUtils.versionlessKey( project.getGroupId(), project.getArtifactId() ); getVersionResolver().incrementVersion( model, projectId ); getScmRewriter().restoreScmInfo( model ); transformPomToSnapshotVersionPom( model, project.getFile() ); } try { getReleaseProgress().checkpoint( basedir, ReleaseProgressTracker.CP_POM_TRANSORMED_FOR_DEVELOPMENT ); } catch ( IOException e ) { getLog().warn( "Error writing checkpoint.", e ); } } removeReleasePoms(); checkInNextSnapshot(); try { getReleaseProgress().checkpoint( basedir, ReleaseProgressTracker.CP_PREPARED_RELEASE ); } catch ( IOException e ) { getLog().warn( "Error writing checkpoint.", e ); } } }
|
47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/09a35f3c38cc8709a00fe3a77b93e0f0c13f0f4c/PrepareReleaseMojo.java/buggy/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PrepareReleaseMojo.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1836,
2174,
1435,
3639,
1216,
18780,
565,
288,
3639,
775,
3639,
288,
5411,
336,
7391,
5491,
7675,
25414,
12,
15573,
16,
10819,
5491,
8135,
18,
4258,
67,
12919,
25991,
11272,
3639,
289,
3639,
1044,
261,
1860,
425,
262,
3639,
288,
5411,
9189,
7675,
8935,
12,
315,
668,
7410,
9776,
1199,
16,
425,
11272,
3639,
289,
3639,
309,
261,
401,
588,
7391,
5491,
7675,
8705,
14431,
12,
10819,
5491,
8135,
18,
4258,
67,
3670,
4066,
5879,
67,
30762,
262,
262,
3639,
288,
5411,
13855,
2042,
28340,
5621,
5411,
309,
261,
401,
588,
7391,
5491,
7675,
8705,
14431,
12,
10819,
5491,
8135,
18,
4258,
67,
52,
1872,
67,
16596,
7473,
25773,
67,
7473,
67,
30762,
262,
262,
5411,
288,
7734,
364,
261,
4498,
518,
273,
19178,
15298,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
7734,
288,
10792,
17176,
4109,
1984,
273,
261,
49,
7638,
4109,
13,
518,
18,
4285,
5621,
10792,
13855,
22590,
951,
17095,
12,
1984,
11272,
10792,
514,
9882,
273,
14022,
1989,
18,
1589,
2656,
653,
12,
1984,
18,
588,
8722,
9334,
1984,
18,
588,
7581,
548,
1435,
11272,
10792,
309,
261,
401,
7581,
1989,
18,
291,
4568,
12,
1984,
18,
588,
1444,
1435,
262,
262,
10792,
288,
13491,
604,
394,
18780,
12,
315,
1986,
1984,
315,
397,
1984,
18,
588,
8722,
1435,
397,
6153,
397,
18701,
1984,
18,
588,
7581,
548,
1435,
397,
315,
5177,
1404,
279,
4439,
7566,
397,
1984,
18,
588,
1444,
1435,
397,
9369,
1199,
11272,
10792,
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,
1836,
2174,
1435,
3639,
1216,
18780,
565,
288,
3639,
775,
3639,
288,
5411,
336,
7391,
5491,
7675,
25414,
12,
15573,
16,
10819,
5491,
8135,
18,
4258,
67,
12919,
25991,
11272,
3639,
289,
3639,
1044,
261,
1860,
425,
262,
3639,
288,
5411,
9189,
7675,
8935,
12,
315,
668,
7410,
9776,
1199,
16,
425,
11272,
3639,
289,
3639,
309,
261,
401,
588,
7391,
5491,
7675,
8705,
14431,
12,
10819,
5491,
8135,
18,
4258,
67,
3670,
4066,
5879,
67,
30762,
262,
262,
3639,
288,
5411,
13855,
2042,
28340,
5621,
5411,
309,
261,
401,
588,
7391,
5491,
7675,
8705,
14431,
12,
10819,
5491,
8135,
18,
4258,
67,
52,
1872,
67,
16596,
7473,
25773,
67,
7473,
67,
30762,
262,
262,
5411,
2
] |
tokfix();
|
private int start_num(int c) { boolean is_float; boolean seen_point; boolean seen_e; boolean seen_uc; is_float = seen_point = seen_e = seen_uc = false; ph.setLexState(LexState.EXPR_END); newtok(); if (c == '-' || c == '+') { tokadd(c); c = nextc(); } if (c == '0') { c = nextc(); if (c == 'x' || c == 'X') { // hexadecimal c = nextc(); do { if (c == '_') { seen_uc = true; continue; } if (!ISXDIGIT(c)) { break; } seen_uc = false; tokadd(c); } while ((c = nextc()) != 0); pushback(c); tokfix(); if (toklen() == 0) { yyerror("hexadecimal number without hex-digits"); } else if (seen_uc) { return decode_num(c, is_float, seen_uc, true); } yyVal = rb_cstr2inum(tok(), 16); return Token.tINTEGER; } if (c == 'b' || c == 'B') { // binary c = nextc(); do { if (c == '_') { seen_uc = true; continue; } if (c != '0' && c != '1') { break; } seen_uc = false; tokadd(c); } while ((c = nextc()) != 0); pushback(c); tokfix(); if (toklen() == 0) { yyerror("numeric literal without digits"); } else if (seen_uc) { return decode_num(c, is_float, seen_uc, true); } yyVal = rb_cstr2inum(tok(), 2); return Token.tINTEGER; } if (c >= '0' && c <= '7' || c == '_') { // octal do { if (c == '_') { seen_uc = true; continue; } if (c < '0' || c > '7') { break; } seen_uc = false; tokadd(c); } while ((c = nextc()) != 0); pushback(c); tokfix(); if (seen_uc) { return decode_num(c, is_float, seen_uc, true); } yyVal = rb_cstr2inum(tok(), 8); return Token.tINTEGER; } if (c > '7' && c <= '9') { yyerror("Illegal octal digit"); } else if (c == '.') { tokadd('0'); } else { pushback(c); yyVal = RubyFixnum.zero(ruby); return Token.tINTEGER; } } for (;;) { switch (c) { case '0' : case '1' : case '2' : case '3' : case '4' : case '5' : case '6' : case '7' : case '8' : case '9' : seen_uc = false; tokadd(c); break; case '.' : if (seen_point || seen_e) { return decode_num(c, is_float, seen_uc); } else { int c0 = nextc(); if (!Character.isDigit((char) c0)) { pushback(c0); return decode_num(c, is_float, seen_uc); } c = c0; } tokadd('.'); tokadd(c); is_float = true; seen_point = true; seen_uc = false; break; case 'e' : case 'E' : if (seen_e) { return decode_num(c, is_float, seen_uc); } tokadd(c); seen_e = true; is_float = true; while ((c = nextc()) == '_') { seen_uc = true; } if (c == '-' || c == '+') { tokadd(c); } else { continue; } break; case '_' : // '_' in number just ignored seen_uc = true; break; default : return decode_num(c, is_float, seen_uc); } c = nextc(); } }
|
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/d31a76ee29d5978a9bec41e3ac9134cee024bcab/DefaultRubyScanner.java/clean/org/jruby/parser/DefaultRubyScanner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
787,
67,
2107,
12,
474,
276,
13,
288,
3639,
1250,
353,
67,
5659,
31,
3639,
1250,
5881,
67,
1153,
31,
3639,
1250,
5881,
67,
73,
31,
3639,
1250,
5881,
67,
5286,
31,
3639,
353,
67,
5659,
273,
5881,
67,
1153,
273,
5881,
67,
73,
273,
5881,
67,
5286,
273,
629,
31,
3639,
1844,
18,
542,
14756,
1119,
12,
14756,
1119,
18,
2294,
8025,
67,
4415,
1769,
3639,
394,
17692,
5621,
3639,
309,
261,
71,
422,
4014,
747,
276,
422,
15126,
6134,
288,
5411,
946,
1289,
12,
71,
1769,
5411,
276,
273,
1024,
71,
5621,
3639,
289,
3639,
309,
261,
71,
422,
296,
20,
6134,
288,
5411,
276,
273,
1024,
71,
5621,
5411,
309,
261,
71,
422,
296,
92,
11,
747,
276,
422,
296,
60,
6134,
288,
7734,
368,
225,
20070,
7734,
276,
273,
1024,
71,
5621,
7734,
741,
288,
10792,
309,
261,
71,
422,
4427,
13,
288,
13491,
5881,
67,
5286,
273,
638,
31,
13491,
1324,
31,
10792,
289,
10792,
309,
16051,
5127,
60,
21243,
1285,
12,
71,
3719,
288,
13491,
898,
31,
10792,
289,
10792,
5881,
67,
5286,
273,
629,
31,
10792,
946,
1289,
12,
71,
1769,
7734,
289,
1323,
14015,
71,
273,
1024,
71,
10756,
480,
374,
1769,
7734,
1817,
823,
12,
71,
1769,
1171,
9079,
309,
261,
17692,
1897,
1435,
422,
374,
13,
288,
10792,
9016,
1636,
2932,
7118,
18300,
1300,
2887,
3827,
17,
16649,
8863,
7734,
289,
469,
309,
261,
15156,
67,
5286,
13,
288,
10792,
327,
2495,
67,
2107,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
787,
67,
2107,
12,
474,
276,
13,
288,
3639,
1250,
353,
67,
5659,
31,
3639,
1250,
5881,
67,
1153,
31,
3639,
1250,
5881,
67,
73,
31,
3639,
1250,
5881,
67,
5286,
31,
3639,
353,
67,
5659,
273,
5881,
67,
1153,
273,
5881,
67,
73,
273,
5881,
67,
5286,
273,
629,
31,
3639,
1844,
18,
542,
14756,
1119,
12,
14756,
1119,
18,
2294,
8025,
67,
4415,
1769,
3639,
394,
17692,
5621,
3639,
309,
261,
71,
422,
4014,
747,
276,
422,
15126,
6134,
288,
5411,
946,
1289,
12,
71,
1769,
5411,
276,
273,
1024,
71,
5621,
3639,
289,
3639,
309,
261,
71,
422,
296,
20,
6134,
288,
5411,
276,
273,
1024,
71,
5621,
5411,
309,
261,
71,
422,
2
] |
|
if(caseInsensitiveFilesystem)
|
if((VFSManager.getVFSForPath(path).getCapabilities() & VFS.CASE_INSENSITIVE_CAP) != 0) {
|
static void updatePosition(String oldPath, Buffer buffer) { boolean caseInsensitiveFilesystem = OperatingSystem.isDOSDerived() || OperatingSystem.isMacOS(); if(caseInsensitiveFilesystem) oldPath = oldPath.toLowerCase(); bufferHash.remove(oldPath); String path = buffer.getPath(); if(caseInsensitiveFilesystem) path = path.toLowerCase(); bufferHash.put(path,buffer); if(sortBuffers) { removeBufferFromList(buffer); addBufferToList(buffer); } } //}}}
|
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/82f92882fe9b26cc5c16bb915b9e861d67f46f46/jEdit.java/clean/org/gjt/sp/jedit/jEdit.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
918,
1089,
2555,
12,
780,
1592,
743,
16,
3525,
1613,
13,
202,
95,
202,
202,
6494,
648,
21931,
12861,
273,
1082,
202,
3542,
24811,
18,
291,
3191,
9903,
264,
2950,
1435,
1082,
202,
20081,
7692,
24811,
18,
291,
9990,
4618,
5621,
202,
202,
430,
12,
3593,
21931,
12861,
13,
1082,
202,
1673,
743,
273,
1592,
743,
18,
869,
5630,
5621,
202,
202,
4106,
2310,
18,
4479,
12,
1673,
743,
1769,
202,
202,
780,
589,
273,
1613,
18,
588,
743,
5621,
202,
202,
430,
12,
3593,
21931,
12861,
13,
1082,
202,
803,
273,
589,
18,
869,
5630,
5621,
202,
202,
4106,
2310,
18,
458,
12,
803,
16,
4106,
1769,
202,
202,
430,
12,
3804,
13699,
13,
202,
202,
95,
1082,
202,
4479,
1892,
1265,
682,
12,
4106,
1769,
1082,
202,
1289,
1892,
25772,
12,
4106,
1769,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
918,
1089,
2555,
12,
780,
1592,
743,
16,
3525,
1613,
13,
202,
95,
202,
202,
6494,
648,
21931,
12861,
273,
1082,
202,
3542,
24811,
18,
291,
3191,
9903,
264,
2950,
1435,
1082,
202,
20081,
7692,
24811,
18,
291,
9990,
4618,
5621,
202,
202,
430,
12,
3593,
21931,
12861,
13,
1082,
202,
1673,
743,
273,
1592,
743,
18,
869,
5630,
5621,
202,
202,
4106,
2310,
18,
4479,
12,
1673,
743,
1769,
202,
202,
780,
589,
273,
1613,
18,
588,
743,
5621,
202,
202,
430,
12,
3593,
21931,
12861,
13,
1082,
202,
803,
273,
589,
18,
869,
5630,
5621,
202,
202,
4106,
2310,
18,
458,
12,
803,
16,
4106,
1769,
202,
202,
430,
12,
3804,
13699,
13,
202,
2
] |
0x01,0x07,0x03,0x6D,0x7F,(byte)0xFF,(byte)0xFF,(byte)0xFF, (byte)0xFE,0x02,0x07,0x00,0x00,0x0A,0x68,0x00,0x00,0x00
|
(byte)0x01,(byte)0x0A,(byte)0x03,(byte)0x84,(byte)0x0E,(byte)0xEF, (byte)0x65,(byte)0x7F,(byte)0xFF,(byte)0xFF,(byte)0xFF,(byte)0xD6, (byte)0x02,(byte)0x0A,(byte)0x00,(byte)0x02,(byte)0x00,(byte)0x07, (byte)0x9E,(byte)0x06,(byte)0x48,(byte)0x00,(byte)0x00,(byte)0x00
|
private void send50LoginPkt(final String serverName, final String user, final String password, final String charset, final String appName, final String progName, final String language, final int packetSize) throws IOException { final byte[] empty = new byte[0]; out.setPacketType(LOGIN_PKT); putLoginString(getHostName(), 30); // Host name putLoginString(user, 30); // user name putLoginString(password, 30); // password putLoginString("00000123", 30); // hostproc (offset 93 0x5d) out.write((byte) 3); // type of int2 out.write((byte) 1); // type of int4 out.write((byte) 6); // type of char out.write((byte) 10);// type of flt out.write((byte) 9); // type of date out.write((byte) 1); // notify of use db out.write((byte) 1); // disallow dump/load and bulk insert out.write((byte) 0); // sql interface type out.write((byte) 0); // type of network connection out.write(empty, 0, 7); putLoginString(appName, 30); // appname putLoginString(serverName, 30); // server name out.write((byte)0); // remote passwords out.write((byte)password.length()); byte[] tmp = Support.encodeString(connection.getCharSet(), password); out.write(tmp, 0, 253); out.write((byte) (tmp.length + 2)); out.write((byte) 5); // tds version out.write((byte) 0); out.write((byte) 0); out.write((byte) 0); putLoginString(progName, 10); // prog name out.write((byte) 5); // prog version out.write((byte) 0); out.write((byte) 0); out.write((byte) 0); out.write((byte) 0); // auto convert short out.write((byte) 0x0D); // type of flt4 out.write((byte) 0x11); // type of date4 putLoginString(language, 30); // language out.write((byte) 1); // notify on lang change out.write((short) 0); // security label hierachy out.write((byte) 0); // security encrypted out.write(empty, 0, 8); // security components out.write((short) 0); // security spare putLoginString(charset, 30); // Character set out.write((byte) 1); // notify on charset change putLoginString(String.valueOf(packetSize), 6); // length of tds packets out.write(empty, 0, 4); // Send capability request byte capString[] = { 0x01,0x07,0x03,0x6D,0x7F,(byte)0xFF,(byte)0xFF,(byte)0xFF, (byte)0xFE,0x02,0x07,0x00,0x00,0x0A,0x68,0x00,0x00,0x00 }; out.write(TDS_CAP_TOKEN); out.write((short)capString.length); out.write(capString); out.flush(); // Send the packet endOfResponse = false; }
|
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/f23675b413a471c068f08551f90854f46440ea89/TdsCore.java/buggy/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/TdsCore.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1366,
3361,
5358,
7789,
88,
12,
6385,
514,
10926,
16,
17311,
727,
514,
729,
16,
17311,
727,
514,
2201,
16,
17311,
727,
514,
4856,
16,
17311,
727,
514,
10236,
16,
17311,
727,
514,
11243,
461,
16,
17311,
727,
514,
2653,
16,
17311,
727,
509,
4414,
1225,
13,
3639,
1216,
1860,
288,
3639,
727,
1160,
8526,
1008,
273,
394,
1160,
63,
20,
15533,
3639,
596,
18,
542,
6667,
559,
12,
19022,
67,
8784,
56,
1769,
3639,
1378,
5358,
780,
12,
588,
20946,
9334,
5196,
1769,
225,
368,
4893,
508,
3639,
1378,
5358,
780,
12,
1355,
16,
5196,
1769,
6647,
368,
729,
508,
3639,
1378,
5358,
780,
12,
3664,
16,
5196,
1769,
4202,
368,
2201,
3639,
1378,
5358,
780,
2932,
2787,
1611,
4366,
3113,
5196,
1769,
377,
368,
1479,
9381,
261,
3348,
31007,
374,
92,
25,
72,
13,
3639,
596,
18,
2626,
12443,
7229,
13,
890,
1769,
368,
618,
434,
509,
22,
3639,
596,
18,
2626,
12443,
7229,
13,
404,
1769,
368,
618,
434,
509,
24,
3639,
596,
18,
2626,
12443,
7229,
13,
1666,
1769,
368,
618,
434,
1149,
3639,
596,
18,
2626,
12443,
7229,
13,
1728,
1769,
759,
618,
434,
26901,
3639,
596,
18,
2626,
12443,
7229,
13,
2468,
1769,
368,
618,
434,
1509,
3639,
596,
18,
2626,
12443,
7229,
13,
404,
1769,
368,
5066,
434,
999,
1319,
3639,
596,
18,
2626,
12443,
7229,
13,
404,
1769,
368,
29176,
4657,
19,
945,
471,
8280,
2243,
3639,
596,
18,
2626,
12443,
7229,
13,
374,
1769,
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,
3238,
918,
1366,
3361,
5358,
7789,
88,
12,
6385,
514,
10926,
16,
17311,
727,
514,
729,
16,
17311,
727,
514,
2201,
16,
17311,
727,
514,
4856,
16,
17311,
727,
514,
10236,
16,
17311,
727,
514,
11243,
461,
16,
17311,
727,
514,
2653,
16,
17311,
727,
509,
4414,
1225,
13,
3639,
1216,
1860,
288,
3639,
727,
1160,
8526,
1008,
273,
394,
1160,
63,
20,
15533,
3639,
596,
18,
542,
6667,
559,
12,
19022,
67,
8784,
56,
1769,
3639,
1378,
5358,
780,
12,
588,
20946,
9334,
5196,
1769,
225,
368,
4893,
508,
3639,
1378,
5358,
780,
12,
1355,
16,
5196,
1769,
6647,
368,
729,
508,
3639,
1378,
5358,
780,
12,
3664,
16,
5196,
1769,
4202,
368,
2201,
3639,
1378,
5358,
2
] |
getBlock().pop();
|
getBlockStack().pop();
|
public RubyObject iterate(Callback iterateMethod, RubyObject data1, Callback blockMethod, RubyObject data2) { // VALUE self = ruby_top_self; getIterStack().push(Iter.ITER_PRE); getBlock().push(null, new IterateMethod(blockMethod, data2), getRubyTopSelf()); try { while (true) { try { return iterateMethod.execute(data1, null, this); } catch (BreakJump bExcptn) { return getNil(); } catch (ReturnException rExcptn) { return rExcptn.getReturnValue(); } catch (RetryException rExcptn) { } } } finally { getIterStack().pop(); getBlock().pop(); } }
|
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/8db42974495981011f558bcce15e2dfc28681a76/Ruby.java/buggy/org/jruby/Ruby.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
7401,
12,
2428,
7401,
1305,
16,
19817,
921,
501,
21,
16,
8444,
1203,
1305,
16,
19817,
921,
501,
22,
13,
288,
3639,
368,
5848,
365,
273,
22155,
67,
3669,
67,
2890,
31,
3639,
336,
2360,
2624,
7675,
6206,
12,
2360,
18,
11844,
67,
3670,
1769,
3639,
11902,
7675,
6206,
12,
2011,
16,
394,
11436,
1305,
12,
2629,
1305,
16,
501,
22,
3631,
4170,
10340,
3401,
10084,
10663,
3639,
775,
288,
5411,
1323,
261,
3767,
13,
288,
7734,
775,
288,
10792,
327,
7401,
1305,
18,
8837,
12,
892,
21,
16,
446,
16,
333,
1769,
7734,
289,
1044,
261,
7634,
26743,
324,
29924,
337,
82,
13,
288,
10792,
327,
11069,
330,
5621,
7734,
289,
1044,
261,
990,
503,
436,
29924,
337,
82,
13,
288,
10792,
327,
436,
29924,
337,
82,
18,
588,
19092,
5621,
7734,
289,
1044,
261,
7539,
503,
436,
29924,
337,
82,
13,
288,
7734,
289,
5411,
289,
3639,
289,
3095,
288,
5411,
336,
2360,
2624,
7675,
5120,
5621,
5411,
11902,
2624,
7675,
5120,
5621,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
7401,
12,
2428,
7401,
1305,
16,
19817,
921,
501,
21,
16,
8444,
1203,
1305,
16,
19817,
921,
501,
22,
13,
288,
3639,
368,
5848,
365,
273,
22155,
67,
3669,
67,
2890,
31,
3639,
336,
2360,
2624,
7675,
6206,
12,
2360,
18,
11844,
67,
3670,
1769,
3639,
11902,
7675,
6206,
12,
2011,
16,
394,
11436,
1305,
12,
2629,
1305,
16,
501,
22,
3631,
4170,
10340,
3401,
10084,
10663,
3639,
775,
288,
5411,
1323,
261,
3767,
13,
288,
7734,
775,
288,
10792,
327,
7401,
1305,
18,
8837,
12,
892,
21,
16,
446,
16,
333,
1769,
7734,
289,
1044,
261,
7634,
26743,
324,
29924,
337,
82,
13,
288,
10792,
327,
11069,
330,
5621,
7734,
289,
1044,
261,
990,
2
] |
buf.append("to=\"").append(getTo()).append("\" ");
|
buf.append(" to=\"").append(getTo()).append("\"");
|
public String toXML() { StringBuffer buf = new StringBuffer(); buf.append("<presence "); if (getPacketID() != null) { buf.append("id=\"").append(getPacketID()).append("\" "); } if (getTo() != null) { buf.append("to=\"").append(getTo()).append("\" "); } if (getFrom() != null) { buf.append("from=\"").append(getFrom()).append("\" "); } if (type != Type.AVAILABLE) { buf.append("type=\"").append(type).append("\""); } buf.append(">"); if (status != null) { buf.append("<status>").append(status).append("</status>"); } if (priority != -1) { buf.append("<priority>").append(priority).append("</priority>"); } if (mode != null) { buf.append("<show>").append(mode).append("</show>"); } buf.append("</presence>"); return buf.toString(); }
|
4336 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4336/83016425cf33220261684027681b5d65707655b1/Presence.java/buggy/source/org/jivesoftware/smack/packet/Presence.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
30028,
1435,
288,
3639,
6674,
1681,
273,
394,
6674,
5621,
3639,
1681,
18,
6923,
2932,
32,
21731,
315,
1769,
3639,
309,
261,
588,
6667,
734,
1435,
480,
446,
13,
288,
5411,
1681,
18,
6923,
2932,
350,
13186,
2934,
6923,
12,
588,
6667,
734,
1435,
2934,
6923,
2932,
2412,
315,
1769,
3639,
289,
3639,
309,
261,
588,
774,
1435,
480,
446,
13,
288,
5411,
1681,
18,
6923,
2932,
358,
13186,
2934,
6923,
12,
588,
774,
1435,
2934,
6923,
2932,
8530,
1769,
3639,
289,
3639,
309,
261,
588,
1265,
1435,
480,
446,
13,
288,
5411,
1681,
18,
6923,
2932,
2080,
13186,
2934,
6923,
12,
588,
1265,
1435,
2934,
6923,
2932,
2412,
315,
1769,
3639,
289,
3639,
309,
261,
723,
480,
1412,
18,
23222,
13,
288,
5411,
1681,
18,
6923,
2932,
723,
13186,
2934,
6923,
12,
723,
2934,
6923,
2932,
8530,
1769,
3639,
289,
3639,
1681,
18,
6923,
2932,
2984,
1769,
3639,
309,
261,
2327,
480,
446,
13,
288,
5411,
1681,
18,
6923,
2932,
32,
2327,
2984,
2934,
6923,
12,
2327,
2934,
6923,
2932,
1757,
2327,
2984,
1769,
3639,
289,
3639,
309,
261,
8457,
480,
300,
21,
13,
288,
5411,
1681,
18,
6923,
2932,
32,
8457,
2984,
2934,
6923,
12,
8457,
2934,
6923,
2932,
1757,
8457,
2984,
1769,
3639,
289,
3639,
309,
261,
3188,
480,
446,
13,
288,
5411,
1681,
18,
6923,
2932,
32,
4500,
2984,
2934,
6923,
12,
3188,
2934,
6923,
2932,
1757,
4500,
2984,
1769,
3639,
289,
3639,
1681,
18,
6923,
2932,
1757,
21731,
2984,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
30028,
1435,
288,
3639,
6674,
1681,
273,
394,
6674,
5621,
3639,
1681,
18,
6923,
2932,
32,
21731,
315,
1769,
3639,
309,
261,
588,
6667,
734,
1435,
480,
446,
13,
288,
5411,
1681,
18,
6923,
2932,
350,
13186,
2934,
6923,
12,
588,
6667,
734,
1435,
2934,
6923,
2932,
2412,
315,
1769,
3639,
289,
3639,
309,
261,
588,
774,
1435,
480,
446,
13,
288,
5411,
1681,
18,
6923,
2932,
358,
13186,
2934,
6923,
12,
588,
774,
1435,
2934,
6923,
2932,
8530,
1769,
3639,
289,
3639,
309,
261,
588,
1265,
1435,
480,
446,
13,
288,
5411,
1681,
18,
6923,
2932,
2080,
13186,
2934,
6923,
12,
588,
1265,
1435,
2934,
6923,
2932,
2412,
315,
1769,
3639,
289,
3639,
309,
261,
2
] |
AST __t1499 = _t;
|
AST __t1500 = _t;
|
public final void argfunc(AST _t) throws RecognitionException { AST argfunc_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case AACBIT: { AST __t1401 = _t; AST tmp344_AST_in = (AST)_t; match(_t,AACBIT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1401; _t = _t.getNextSibling(); break; } case AAMSG: { AST __t1402 = _t; AST tmp345_AST_in = (AST)_t; match(_t,AAMSG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1402; _t = _t.getNextSibling(); break; } case ABSOLUTE: { AST __t1403 = _t; AST tmp346_AST_in = (AST)_t; match(_t,ABSOLUTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1403; _t = _t.getNextSibling(); break; } case ALIAS: { AST __t1404 = _t; AST tmp347_AST_in = (AST)_t; match(_t,ALIAS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1404; _t = _t.getNextSibling(); break; } case ASC: { AST __t1405 = _t; AST tmp348_AST_in = (AST)_t; match(_t,ASC); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1405; _t = _t.getNextSibling(); break; } case BASE64DECODE: { AST __t1406 = _t; AST tmp349_AST_in = (AST)_t; match(_t,BASE64DECODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1406; _t = _t.getNextSibling(); break; } case BASE64ENCODE: { AST __t1407 = _t; AST tmp350_AST_in = (AST)_t; match(_t,BASE64ENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1407; _t = _t.getNextSibling(); break; } case CANDO: { AST __t1408 = _t; AST tmp351_AST_in = (AST)_t; match(_t,CANDO); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1408; _t = _t.getNextSibling(); break; } case CANQUERY: { AST __t1409 = _t; AST tmp352_AST_in = (AST)_t; match(_t,CANQUERY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1409; _t = _t.getNextSibling(); break; } case CANSET: { AST __t1410 = _t; AST tmp353_AST_in = (AST)_t; match(_t,CANSET); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1410; _t = _t.getNextSibling(); break; } case CAPS: { AST __t1411 = _t; AST tmp354_AST_in = (AST)_t; match(_t,CAPS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1411; _t = _t.getNextSibling(); break; } case CHR: { AST __t1412 = _t; AST tmp355_AST_in = (AST)_t; match(_t,CHR); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1412; _t = _t.getNextSibling(); break; } case CODEPAGECONVERT: { AST __t1413 = _t; AST tmp356_AST_in = (AST)_t; match(_t,CODEPAGECONVERT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1413; _t = _t.getNextSibling(); break; } case COLLATE: { AST __t1414 = _t; AST tmp357_AST_in = (AST)_t; match(_t,COLLATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1414; _t = _t.getNextSibling(); break; } case COMPARE: { AST __t1415 = _t; AST tmp358_AST_in = (AST)_t; match(_t,COMPARE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1415; _t = _t.getNextSibling(); break; } case CONNECTED: { AST __t1416 = _t; AST tmp359_AST_in = (AST)_t; match(_t,CONNECTED); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1416; _t = _t.getNextSibling(); break; } case COUNTOF: { AST __t1417 = _t; AST tmp360_AST_in = (AST)_t; match(_t,COUNTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1417; _t = _t.getNextSibling(); break; } case CURRENTRESULTROW: { AST __t1418 = _t; AST tmp361_AST_in = (AST)_t; match(_t,CURRENTRESULTROW); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1418; _t = _t.getNextSibling(); break; } case DATE: { AST __t1419 = _t; AST tmp362_AST_in = (AST)_t; match(_t,DATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1419; _t = _t.getNextSibling(); break; } case DATETIME: { AST __t1420 = _t; AST tmp363_AST_in = (AST)_t; match(_t,DATETIME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1420; _t = _t.getNextSibling(); break; } case DATETIMETZ: { AST __t1421 = _t; AST tmp364_AST_in = (AST)_t; match(_t,DATETIMETZ); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1421; _t = _t.getNextSibling(); break; } case DAY: { AST __t1422 = _t; AST tmp365_AST_in = (AST)_t; match(_t,DAY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1422; _t = _t.getNextSibling(); break; } case DBCODEPAGE: { AST __t1423 = _t; AST tmp366_AST_in = (AST)_t; match(_t,DBCODEPAGE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1423; _t = _t.getNextSibling(); break; } case DBCOLLATION: { AST __t1424 = _t; AST tmp367_AST_in = (AST)_t; match(_t,DBCOLLATION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1424; _t = _t.getNextSibling(); break; } case DBPARAM: { AST __t1425 = _t; AST tmp368_AST_in = (AST)_t; match(_t,DBPARAM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1425; _t = _t.getNextSibling(); break; } case DBRESTRICTIONS: { AST __t1426 = _t; AST tmp369_AST_in = (AST)_t; match(_t,DBRESTRICTIONS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1426; _t = _t.getNextSibling(); break; } case DBTASKID: { AST __t1427 = _t; AST tmp370_AST_in = (AST)_t; match(_t,DBTASKID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1427; _t = _t.getNextSibling(); break; } case DBTYPE: { AST __t1428 = _t; AST tmp371_AST_in = (AST)_t; match(_t,DBTYPE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1428; _t = _t.getNextSibling(); break; } case DBVERSION: { AST __t1429 = _t; AST tmp372_AST_in = (AST)_t; match(_t,DBVERSION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1429; _t = _t.getNextSibling(); break; } case DECIMAL: { AST __t1430 = _t; AST tmp373_AST_in = (AST)_t; match(_t,DECIMAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1430; _t = _t.getNextSibling(); break; } case DECRYPT: { AST __t1431 = _t; AST tmp374_AST_in = (AST)_t; match(_t,DECRYPT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1431; _t = _t.getNextSibling(); break; } case DYNAMICNEXTVALUE: { AST __t1432 = _t; AST tmp375_AST_in = (AST)_t; match(_t,DYNAMICNEXTVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1432; _t = _t.getNextSibling(); break; } case ENCODE: { AST __t1433 = _t; AST tmp376_AST_in = (AST)_t; match(_t,ENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1433; _t = _t.getNextSibling(); break; } case ENCRYPT: { AST __t1434 = _t; AST tmp377_AST_in = (AST)_t; match(_t,ENCRYPT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1434; _t = _t.getNextSibling(); break; } case EXP: { AST __t1435 = _t; AST tmp378_AST_in = (AST)_t; match(_t,EXP); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1435; _t = _t.getNextSibling(); break; } case FILL: { AST __t1436 = _t; AST tmp379_AST_in = (AST)_t; match(_t,FILL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1436; _t = _t.getNextSibling(); break; } case FIRST: { AST __t1437 = _t; AST tmp380_AST_in = (AST)_t; match(_t,FIRST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1437; _t = _t.getNextSibling(); break; } case FIRSTOF: { AST __t1438 = _t; AST tmp381_AST_in = (AST)_t; match(_t,FIRSTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1438; _t = _t.getNextSibling(); break; } case GENERATEPBEKEY: { AST __t1439 = _t; AST tmp382_AST_in = (AST)_t; match(_t,GENERATEPBEKEY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1439; _t = _t.getNextSibling(); break; } case GETBITS: { AST __t1440 = _t; AST tmp383_AST_in = (AST)_t; match(_t,GETBITS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1440; _t = _t.getNextSibling(); break; } case GETBYTE: { AST __t1441 = _t; AST tmp384_AST_in = (AST)_t; match(_t,GETBYTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1441; _t = _t.getNextSibling(); break; } case GETBYTEORDER: { AST __t1442 = _t; AST tmp385_AST_in = (AST)_t; match(_t,GETBYTEORDER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1442; _t = _t.getNextSibling(); break; } case GETBYTES: { AST __t1443 = _t; AST tmp386_AST_in = (AST)_t; match(_t,GETBYTES); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1443; _t = _t.getNextSibling(); break; } case GETCOLLATIONS: { AST __t1444 = _t; AST tmp387_AST_in = (AST)_t; match(_t,GETCOLLATIONS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1444; _t = _t.getNextSibling(); break; } case GETDOUBLE: { AST __t1445 = _t; AST tmp388_AST_in = (AST)_t; match(_t,GETDOUBLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1445; _t = _t.getNextSibling(); break; } case GETFLOAT: { AST __t1446 = _t; AST tmp389_AST_in = (AST)_t; match(_t,GETFLOAT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1446; _t = _t.getNextSibling(); break; } case GETLICENSE: { AST __t1447 = _t; AST tmp390_AST_in = (AST)_t; match(_t,GETLICENSE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1447; _t = _t.getNextSibling(); break; } case GETLONG: { AST __t1448 = _t; AST tmp391_AST_in = (AST)_t; match(_t,GETLONG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1448; _t = _t.getNextSibling(); break; } case GETPOINTERVALUE: { AST __t1449 = _t; AST tmp392_AST_in = (AST)_t; match(_t,GETPOINTERVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1449; _t = _t.getNextSibling(); break; } case GETSHORT: { AST __t1450 = _t; AST tmp393_AST_in = (AST)_t; match(_t,GETSHORT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1450; _t = _t.getNextSibling(); break; } case GETSIZE: { AST __t1451 = _t; AST tmp394_AST_in = (AST)_t; match(_t,GETSIZE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1451; _t = _t.getNextSibling(); break; } case GETSTRING: { AST __t1452 = _t; AST tmp395_AST_in = (AST)_t; match(_t,GETSTRING); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1452; _t = _t.getNextSibling(); break; } case GETUNSIGNEDSHORT: { AST __t1453 = _t; AST tmp396_AST_in = (AST)_t; match(_t,GETUNSIGNEDSHORT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1453; _t = _t.getNextSibling(); break; } case HEXDECODE: { AST __t1454 = _t; AST tmp397_AST_in = (AST)_t; match(_t,HEXDECODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1454; _t = _t.getNextSibling(); break; } case HEXENCODE: { AST __t1455 = _t; AST tmp398_AST_in = (AST)_t; match(_t,HEXENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1455; _t = _t.getNextSibling(); break; } case INDEX: { AST __t1456 = _t; AST tmp399_AST_in = (AST)_t; match(_t,INDEX); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1456; _t = _t.getNextSibling(); break; } case INTEGER: { AST __t1457 = _t; AST tmp400_AST_in = (AST)_t; match(_t,INTEGER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1457; _t = _t.getNextSibling(); break; } case INTERVAL: { AST __t1458 = _t; AST tmp401_AST_in = (AST)_t; match(_t,INTERVAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1458; _t = _t.getNextSibling(); break; } case ISCODEPAGEFIXED: { AST __t1459 = _t; AST tmp402_AST_in = (AST)_t; match(_t,ISCODEPAGEFIXED); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1459; _t = _t.getNextSibling(); break; } case ISCOLUMNCODEPAGE: { AST __t1460 = _t; AST tmp403_AST_in = (AST)_t; match(_t,ISCOLUMNCODEPAGE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1460; _t = _t.getNextSibling(); break; } case ISLEADBYTE: { AST __t1461 = _t; AST tmp404_AST_in = (AST)_t; match(_t,ISLEADBYTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1461; _t = _t.getNextSibling(); break; } case ISODATE: { AST __t1462 = _t; AST tmp405_AST_in = (AST)_t; match(_t,ISODATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1462; _t = _t.getNextSibling(); break; } case KBLABEL: { AST __t1463 = _t; AST tmp406_AST_in = (AST)_t; match(_t,KBLABEL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1463; _t = _t.getNextSibling(); break; } case KEYCODE: { AST __t1464 = _t; AST tmp407_AST_in = (AST)_t; match(_t,KEYCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1464; _t = _t.getNextSibling(); break; } case KEYFUNCTION: { AST __t1465 = _t; AST tmp408_AST_in = (AST)_t; match(_t,KEYFUNCTION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1465; _t = _t.getNextSibling(); break; } case KEYLABEL: { AST __t1466 = _t; AST tmp409_AST_in = (AST)_t; match(_t,KEYLABEL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1466; _t = _t.getNextSibling(); break; } case KEYWORD: { AST __t1467 = _t; AST tmp410_AST_in = (AST)_t; match(_t,KEYWORD); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1467; _t = _t.getNextSibling(); break; } case KEYWORDALL: { AST __t1468 = _t; AST tmp411_AST_in = (AST)_t; match(_t,KEYWORDALL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1468; _t = _t.getNextSibling(); break; } case LAST: { AST __t1469 = _t; AST tmp412_AST_in = (AST)_t; match(_t,LAST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1469; _t = _t.getNextSibling(); break; } case LASTOF: { AST __t1470 = _t; AST tmp413_AST_in = (AST)_t; match(_t,LASTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1470; _t = _t.getNextSibling(); break; } case LC: { AST __t1471 = _t; AST tmp414_AST_in = (AST)_t; match(_t,LC); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1471; _t = _t.getNextSibling(); break; } case LEFTTRIM: { AST __t1472 = _t; AST tmp415_AST_in = (AST)_t; match(_t,LEFTTRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1472; _t = _t.getNextSibling(); break; } case LIBRARY: { AST __t1473 = _t; AST tmp416_AST_in = (AST)_t; match(_t,LIBRARY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1473; _t = _t.getNextSibling(); break; } case LISTEVENTS: { AST __t1474 = _t; AST tmp417_AST_in = (AST)_t; match(_t,LISTEVENTS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1474; _t = _t.getNextSibling(); break; } case LISTQUERYATTRS: { AST __t1475 = _t; AST tmp418_AST_in = (AST)_t; match(_t,LISTQUERYATTRS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1475; _t = _t.getNextSibling(); break; } case LISTSETATTRS: { AST __t1476 = _t; AST tmp419_AST_in = (AST)_t; match(_t,LISTSETATTRS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1476; _t = _t.getNextSibling(); break; } case LISTWIDGETS: { AST __t1477 = _t; AST tmp420_AST_in = (AST)_t; match(_t,LISTWIDGETS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1477; _t = _t.getNextSibling(); break; } case LOADPICTURE: { AST __t1478 = _t; AST tmp421_AST_in = (AST)_t; match(_t,LOADPICTURE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1478; _t = _t.getNextSibling(); break; } case LOG: { AST __t1479 = _t; AST tmp422_AST_in = (AST)_t; match(_t,LOG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1479; _t = _t.getNextSibling(); break; } case LOGICAL: { AST __t1480 = _t; AST tmp423_AST_in = (AST)_t; match(_t,LOGICAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1480; _t = _t.getNextSibling(); break; } case LOOKUP: { AST __t1481 = _t; AST tmp424_AST_in = (AST)_t; match(_t,LOOKUP); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1481; _t = _t.getNextSibling(); break; } case MAXIMUM: { AST __t1482 = _t; AST tmp425_AST_in = (AST)_t; match(_t,MAXIMUM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1482; _t = _t.getNextSibling(); break; } case MD5DIGEST: { AST __t1483 = _t; AST tmp426_AST_in = (AST)_t; match(_t,MD5DIGEST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1483; _t = _t.getNextSibling(); break; } case MEMBER: { AST __t1484 = _t; AST tmp427_AST_in = (AST)_t; match(_t,MEMBER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1484; _t = _t.getNextSibling(); break; } case MINIMUM: { AST __t1485 = _t; AST tmp428_AST_in = (AST)_t; match(_t,MINIMUM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1485; _t = _t.getNextSibling(); break; } case MONTH: { AST __t1486 = _t; AST tmp429_AST_in = (AST)_t; match(_t,MONTH); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1486; _t = _t.getNextSibling(); break; } case NORMALIZE: { AST __t1487 = _t; AST tmp430_AST_in = (AST)_t; match(_t,NORMALIZE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1487; _t = _t.getNextSibling(); break; } case NUMENTRIES: { AST __t1488 = _t; AST tmp431_AST_in = (AST)_t; match(_t,NUMENTRIES); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1488; _t = _t.getNextSibling(); break; } case NUMRESULTS: { AST __t1489 = _t; AST tmp432_AST_in = (AST)_t; match(_t,NUMRESULTS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1489; _t = _t.getNextSibling(); break; } case OSGETENV: { AST __t1490 = _t; AST tmp433_AST_in = (AST)_t; match(_t,OSGETENV); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1490; _t = _t.getNextSibling(); break; } case PDBNAME: { AST __t1491 = _t; AST tmp434_AST_in = (AST)_t; match(_t,PDBNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1491; _t = _t.getNextSibling(); break; } case PROGRAMNAME: { AST __t1492 = _t; AST tmp435_AST_in = (AST)_t; match(_t,PROGRAMNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1492; _t = _t.getNextSibling(); break; } case QUERYOFFEND: { AST __t1493 = _t; AST tmp436_AST_in = (AST)_t; match(_t,QUERYOFFEND); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1493; _t = _t.getNextSibling(); break; } case QUOTER: { AST __t1494 = _t; AST tmp437_AST_in = (AST)_t; match(_t,QUOTER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1494; _t = _t.getNextSibling(); break; } case RINDEX: { AST __t1495 = _t; AST tmp438_AST_in = (AST)_t; match(_t,RINDEX); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1495; _t = _t.getNextSibling(); break; } case RANDOM: { AST __t1496 = _t; AST tmp439_AST_in = (AST)_t; match(_t,RANDOM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1496; _t = _t.getNextSibling(); break; } case REPLACE: { AST __t1497 = _t; AST tmp440_AST_in = (AST)_t; match(_t,REPLACE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1497; _t = _t.getNextSibling(); break; } case RGBVALUE: { AST __t1498 = _t; AST tmp441_AST_in = (AST)_t; match(_t,RGBVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1498; _t = _t.getNextSibling(); break; } case RIGHTTRIM: { AST __t1499 = _t; AST tmp442_AST_in = (AST)_t; match(_t,RIGHTTRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1499; _t = _t.getNextSibling(); break; } case ROUND: { AST __t1500 = _t; AST tmp443_AST_in = (AST)_t; match(_t,ROUND); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1500; _t = _t.getNextSibling(); break; } case SDBNAME: { AST __t1501 = _t; AST tmp444_AST_in = (AST)_t; match(_t,SDBNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1501; _t = _t.getNextSibling(); break; } case SEARCH: { AST __t1502 = _t; AST tmp445_AST_in = (AST)_t; match(_t,SEARCH); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1502; _t = _t.getNextSibling(); break; } case SETDBCLIENT: { AST __t1503 = _t; AST tmp446_AST_in = (AST)_t; match(_t,SETDBCLIENT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1503; _t = _t.getNextSibling(); break; } case SETUSERID: { AST __t1504 = _t; AST tmp447_AST_in = (AST)_t; match(_t,SETUSERID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1504; _t = _t.getNextSibling(); break; } case SHA1DIGEST: { AST __t1505 = _t; AST tmp448_AST_in = (AST)_t; match(_t,SHA1DIGEST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1505; _t = _t.getNextSibling(); break; } case SQRT: { AST __t1506 = _t; AST tmp449_AST_in = (AST)_t; match(_t,SQRT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1506; _t = _t.getNextSibling(); break; } case SSLSERVERNAME: { AST __t1507 = _t; AST tmp450_AST_in = (AST)_t; match(_t,SSLSERVERNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1507; _t = _t.getNextSibling(); break; } case STRING: { AST __t1508 = _t; AST tmp451_AST_in = (AST)_t; match(_t,STRING); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1508; _t = _t.getNextSibling(); break; } case SUBSTITUTE: { AST __t1509 = _t; AST tmp452_AST_in = (AST)_t; match(_t,SUBSTITUTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1509; _t = _t.getNextSibling(); break; } case TOROWID: { AST __t1510 = _t; AST tmp453_AST_in = (AST)_t; match(_t,TOROWID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1510; _t = _t.getNextSibling(); break; } case TRIM: { AST __t1511 = _t; AST tmp454_AST_in = (AST)_t; match(_t,TRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1511; _t = _t.getNextSibling(); break; } case TRUNCATE: { AST __t1512 = _t; AST tmp455_AST_in = (AST)_t; match(_t,TRUNCATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1512; _t = _t.getNextSibling(); break; } case TYPEOF: { AST __t1513 = _t; AST tmp456_AST_in = (AST)_t; match(_t,TYPEOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1513; _t = _t.getNextSibling(); break; } case VALIDEVENT: { AST __t1514 = _t; AST tmp457_AST_in = (AST)_t; match(_t,VALIDEVENT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1514; _t = _t.getNextSibling(); break; } case VALIDHANDLE: { AST __t1515 = _t; AST tmp458_AST_in = (AST)_t; match(_t,VALIDHANDLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1515; _t = _t.getNextSibling(); break; } case VALIDOBJECT: { AST __t1516 = _t; AST tmp459_AST_in = (AST)_t; match(_t,VALIDOBJECT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1516; _t = _t.getNextSibling(); break; } case WEEKDAY: { AST __t1517 = _t; AST tmp460_AST_in = (AST)_t; match(_t,WEEKDAY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1517; _t = _t.getNextSibling(); break; } case WIDGETHANDLE: { AST __t1518 = _t; AST tmp461_AST_in = (AST)_t; match(_t,WIDGETHANDLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1518; _t = _t.getNextSibling(); break; } case YEAR: { AST __t1519 = _t; AST tmp462_AST_in = (AST)_t; match(_t,YEAR); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1519; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1501,
644,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1501,
644,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
432,
2226,
15650,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3461,
1611,
273,
389,
88,
31,
1082,
202,
9053,
1853,
5026,
24,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
37,
2226,
15650,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
12125,
1968,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
67,
88,
273,
1001,
88,
3461,
1611,
31,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
432,
2192,
30820,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3461,
3103,
273,
389,
88,
31,
1082,
202,
9053,
1853,
25574,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
37,
2192,
30820,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
12125,
1968,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1501,
644,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1501,
644,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
432,
2226,
15650,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3461,
1611,
273,
389,
88,
31,
1082,
202,
9053,
1853,
5026,
24,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
37,
2226,
15650,
1769,
1082,
202,
67,
88,
2
] |
public void testEnterState_Invalid_NotExitedOtherState()
|
public void testEnterState_Invalid_NotExitedOtherState() throws Exception
|
public void testEnterState_Invalid_NotExitedOtherState() { this.processContext.startProcess( this.process ); assertSame( this.process, this.processContext.getCurrentProcess() ); assertNull( this.processContext.getCurrentState() ); try { this.processContext.enterState( this.state1 ); assertSame( this.state1, this.processContext.getCurrentState() ); try { this.processContext.enterState( this.state2 ); fail( "Should have thrown InvalidMotionException" ); } catch (InvalidMotionException e) { // expected and correct } } catch (InvalidMotionException e) { fail( e.getLocalizedMessage() ); } }
|
4520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4520/7f657df1e798ae8dc4b5bce7475d85219d56a2f2/ProcessContextTest.java/buggy/blissed-jelly/src/java/test/com/werken/blissed/ProcessContextTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
10237,
1119,
67,
1941,
67,
1248,
6767,
329,
8290,
1119,
1435,
1216,
1185,
565,
288,
3639,
333,
18,
2567,
1042,
18,
1937,
2227,
12,
333,
18,
2567,
11272,
3639,
1815,
8650,
12,
333,
18,
2567,
16,
10792,
333,
18,
2567,
1042,
18,
588,
3935,
2227,
1435,
11272,
3639,
1815,
2041,
12,
333,
18,
2567,
1042,
18,
588,
3935,
1119,
1435,
11272,
3639,
775,
3639,
288,
5411,
333,
18,
2567,
1042,
18,
2328,
1119,
12,
333,
18,
2019,
21,
11272,
5411,
1815,
8650,
12,
333,
18,
2019,
21,
16,
13491,
333,
18,
2567,
1042,
18,
588,
3935,
1119,
1435,
11272,
5411,
775,
5411,
288,
7734,
333,
18,
2567,
1042,
18,
2328,
1119,
12,
333,
18,
2019,
22,
11272,
7734,
2321,
12,
315,
14309,
1240,
6718,
1962,
29360,
503,
6,
11272,
5411,
289,
5411,
1044,
261,
1941,
29360,
503,
425,
13,
5411,
288,
7734,
368,
2665,
471,
3434,
5411,
289,
3639,
289,
3639,
1044,
261,
1941,
29360,
503,
425,
13,
3639,
288,
5411,
2321,
12,
425,
18,
588,
2042,
1235,
1079,
1435,
11272,
3639,
289,
565,
289,
1377,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
10237,
1119,
67,
1941,
67,
1248,
6767,
329,
8290,
1119,
1435,
1216,
1185,
565,
288,
3639,
333,
18,
2567,
1042,
18,
1937,
2227,
12,
333,
18,
2567,
11272,
3639,
1815,
8650,
12,
333,
18,
2567,
16,
10792,
333,
18,
2567,
1042,
18,
588,
3935,
2227,
1435,
11272,
3639,
1815,
2041,
12,
333,
18,
2567,
1042,
18,
588,
3935,
1119,
1435,
11272,
3639,
775,
3639,
288,
5411,
333,
18,
2567,
1042,
18,
2328,
1119,
12,
333,
18,
2019,
21,
11272,
5411,
1815,
8650,
12,
333,
18,
2019,
21,
16,
13491,
333,
18,
2567,
1042,
18,
588,
3935,
1119,
1435,
11272,
5411,
775,
5411,
288,
7734,
333,
18,
2567,
1042,
18,
2328,
1119,
12,
333,
18,
2019,
2
] |
MethodNode methodNode = searchMethod(id);
|
MethodNode methodNode = searchMethod(id);
|
public GetMethodBodyResult getMethodBody(RubyId id, int noex) { GetMethodBodyResult result = new GetMethodBodyResult(this, id, noex); MethodNode methodNode = searchMethod(id); if (methodNode == null || methodNode.getBodyNode() == null) { System.out.println( "Cant find method \"" + id.toName() + "\" in class " + toName()); RubyMethodCacheEntry.saveEmptyEntry(getRuby(), this, id); return result; } RubyMethodCacheEntry ent = new RubyMethodCacheEntry(this, methodNode.getNoex()); Node body = methodNode.getBodyNode(); if (body instanceof FBodyNode) { FBodyNode fbody = (FBodyNode) body; ent.setMid(id); ent.setOrigin((RubyModule) fbody.getOrigin()); ent.setMid0(fbody.getMId()); ent.setMethod(fbody.getHeadNode()); result.setRecvClass((RubyModule) fbody.getOrigin()); result.setId(fbody.getMId()); body = fbody.getHeadNode(); } else { ent.setMid(id); ent.setMid0(id); ent.setOrigin(methodNode.getMethodOrigin()); ent.setMethod(body); result.setRecvClass(methodNode.getMethodOrigin()); } RubyMethodCacheEntry.saveEntry(getRuby(), this, id, ent); result.setNoex(ent.getNoex()); result.setBody(body); return result; }
|
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/buggy/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
968,
1305,
2250,
1253,
6272,
2250,
12,
54,
10340,
548,
612,
16,
509,
1158,
338,
13,
288,
202,
202,
967,
1305,
2250,
1253,
563,
273,
394,
968,
1305,
2250,
1253,
12,
2211,
16,
612,
16,
1158,
338,
1769,
202,
202,
1305,
907,
707,
907,
273,
1623,
1305,
12,
350,
1769,
202,
202,
430,
261,
2039,
907,
422,
446,
747,
707,
907,
18,
588,
2250,
907,
1435,
422,
446,
13,
288,
1082,
202,
3163,
18,
659,
18,
8222,
12,
9506,
202,
6,
39,
970,
1104,
707,
11843,
397,
612,
18,
869,
461,
1435,
397,
7023,
316,
667,
315,
397,
358,
461,
10663,
1082,
202,
54,
10340,
1305,
27630,
18,
5688,
1921,
1622,
12,
588,
54,
10340,
9334,
333,
16,
612,
1769,
1082,
202,
2463,
563,
31,
202,
202,
97,
202,
202,
54,
10340,
1305,
27630,
3281,
273,
394,
19817,
1305,
27630,
12,
2211,
16,
707,
907,
18,
588,
2279,
338,
10663,
202,
202,
907,
1417,
273,
707,
907,
18,
588,
2250,
907,
5621,
202,
202,
430,
261,
3432,
1276,
478,
2250,
907,
13,
288,
1082,
202,
42,
2250,
907,
284,
3432,
273,
261,
42,
2250,
907,
13,
1417,
31,
1082,
202,
319,
18,
542,
20711,
12,
350,
1769,
1082,
202,
319,
18,
542,
7571,
12443,
54,
10340,
3120,
13,
284,
3432,
18,
588,
7571,
10663,
1082,
202,
319,
18,
542,
20711,
20,
12,
74,
3432,
18,
588,
49,
548,
10663,
1082,
202,
319,
18,
542,
1305,
12,
74,
3432,
18,
588,
1414,
907,
10663,
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,
482,
968,
1305,
2250,
1253,
6272,
2250,
12,
54,
10340,
548,
612,
16,
509,
1158,
338,
13,
288,
202,
202,
967,
1305,
2250,
1253,
563,
273,
394,
968,
1305,
2250,
1253,
12,
2211,
16,
612,
16,
1158,
338,
1769,
202,
202,
1305,
907,
707,
907,
273,
1623,
1305,
12,
350,
1769,
202,
202,
430,
261,
2039,
907,
422,
446,
747,
707,
907,
18,
588,
2250,
907,
1435,
422,
446,
13,
288,
1082,
202,
3163,
18,
659,
18,
8222,
12,
9506,
202,
6,
39,
970,
1104,
707,
11843,
397,
612,
18,
869,
461,
1435,
397,
7023,
316,
667,
315,
397,
358,
461,
10663,
1082,
202,
54,
10340,
1305,
27630,
18,
5688,
1921,
1622,
12,
588,
54,
10340,
9334,
2
] |
fault.setFaultString( e.getLocalizedMessage( ) );
|
fault.setFaultString( e.getLocalizedMessage( ) );
|
private void throwAxisFault( Exception e ) throws RemoteException { AxisFault fault = new AxisFault( ); fault.setFaultCode( new QName( "BirtExtractDataActionHandler.execute( )" ) ); //$NON-NLS-1$ fault.setFaultString( e.getLocalizedMessage( ) ); //$NON-NLS-1$ throw fault; }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/6f200516dd6e313325dd2c5637ad596549bf99c5/AbstractExtractResultSetActionHandler.java/clean/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/AbstractExtractResultSetActionHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
604,
6558,
7083,
12,
1185,
425,
262,
1216,
18361,
202,
95,
202,
202,
6558,
7083,
12530,
273,
394,
15509,
7083,
12,
11272,
202,
202,
643,
18,
542,
7083,
1085,
12,
394,
16723,
12,
9506,
202,
6,
38,
2714,
4976,
751,
1803,
1503,
18,
8837,
12,
28796,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
643,
18,
542,
7083,
780,
12,
425,
18,
588,
2042,
1235,
1079,
12,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
12849,
12530,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
604,
6558,
7083,
12,
1185,
425,
262,
1216,
18361,
202,
95,
202,
202,
6558,
7083,
12530,
273,
394,
15509,
7083,
12,
11272,
202,
202,
643,
18,
542,
7083,
1085,
12,
394,
16723,
12,
9506,
202,
6,
38,
2714,
4976,
751,
1803,
1503,
18,
8837,
12,
28796,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
643,
18,
542,
7083,
780,
12,
425,
18,
588,
2042,
1235,
1079,
12,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
12849,
12530,
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
] |
if (toolBarMgr != null)
|
if (toolBarMgr != null) {
|
protected void setActive(boolean set) { active = set; if (menuMgr != null) menuMgr.setVisible(set); if (statusLineMgr != null) statusLineMgr.setVisible(set); if (toolBarMgr != null) toolBarMgr.setVisible(set); }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/SubActionBars.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/SubActionBars.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
20669,
12,
6494,
444,
13,
288,
202,
202,
3535,
273,
444,
31,
202,
202,
430,
261,
5414,
9455,
480,
446,
13,
1082,
202,
5414,
9455,
18,
542,
6207,
12,
542,
1769,
202,
202,
430,
261,
2327,
1670,
9455,
480,
446,
13,
1082,
202,
2327,
1670,
9455,
18,
542,
6207,
12,
542,
1769,
202,
202,
430,
261,
6738,
5190,
9455,
480,
446,
13,
1082,
202,
6738,
5190,
9455,
18,
542,
6207,
12,
542,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
20669,
12,
6494,
444,
13,
288,
202,
202,
3535,
273,
444,
31,
202,
202,
430,
261,
5414,
9455,
480,
446,
13,
1082,
202,
5414,
9455,
18,
542,
6207,
12,
542,
1769,
202,
202,
430,
261,
2327,
1670,
9455,
480,
446,
13,
1082,
202,
2327,
1670,
9455,
18,
542,
6207,
12,
542,
1769,
202,
202,
430,
261,
6738,
5190,
9455,
480,
446,
13,
1082,
202,
6738,
5190,
9455,
18,
542,
6207,
12,
542,
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
] |
if (fProgressBar == null) return;
|
if (fProgressBar == null) { return; }
|
public void beginTask(String name, int totalWork) { final long timestamp = System.currentTimeMillis(); fStartTime = timestamp; final boolean animated = (totalWork == UNKNOWN || totalWork == 0); // make sure the progress bar is made visible while // the task is running. Fixes bug 32198 for the non-animated case. Runnable timer = new Runnable() { public void run() { StatusLine.this.startTask(timestamp, animated); } }; if (fProgressBar == null) return; fProgressBar.getDisplay().timerExec(DELAY_PROGRESS, timer); if (!animated) { fProgressBar.beginTask(totalWork); } if (name == null) fTaskName = "";//$NON-NLS-1$ else fTaskName = name; setMessage(fTaskName); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/391f2606b4ea2c1fb5052d938ca90877ee7631f6/StatusLine.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/action/StatusLine.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2376,
2174,
12,
780,
508,
16,
509,
2078,
2421,
13,
288,
3639,
727,
1525,
2858,
273,
2332,
18,
2972,
28512,
5621,
3639,
284,
13649,
273,
2858,
31,
3639,
727,
1250,
29990,
273,
261,
4963,
2421,
422,
13598,
747,
2078,
2421,
422,
374,
1769,
3639,
368,
1221,
3071,
326,
4007,
4653,
353,
7165,
6021,
1323,
3639,
368,
326,
1562,
353,
3549,
18,
12139,
281,
7934,
3847,
30234,
364,
326,
1661,
17,
304,
17275,
648,
18,
3639,
10254,
5441,
273,
394,
10254,
1435,
288,
5411,
1071,
918,
1086,
1435,
288,
7734,
2685,
1670,
18,
2211,
18,
1937,
2174,
12,
5508,
16,
29990,
1769,
5411,
289,
3639,
289,
31,
3639,
309,
261,
74,
31547,
422,
446,
13,
5411,
327,
31,
3639,
284,
31547,
18,
588,
4236,
7675,
12542,
1905,
12,
26101,
67,
24022,
16,
5441,
1769,
3639,
309,
16051,
304,
17275,
13,
288,
5411,
284,
31547,
18,
10086,
2174,
12,
4963,
2421,
1769,
3639,
289,
3639,
309,
261,
529,
422,
446,
13,
5411,
284,
2174,
461,
273,
1408,
31,
759,
8,
3993,
17,
5106,
17,
21,
8,
3639,
469,
5411,
284,
2174,
461,
273,
508,
31,
3639,
15227,
12,
74,
2174,
461,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2376,
2174,
12,
780,
508,
16,
509,
2078,
2421,
13,
288,
3639,
727,
1525,
2858,
273,
2332,
18,
2972,
28512,
5621,
3639,
284,
13649,
273,
2858,
31,
3639,
727,
1250,
29990,
273,
261,
4963,
2421,
422,
13598,
747,
2078,
2421,
422,
374,
1769,
3639,
368,
1221,
3071,
326,
4007,
4653,
353,
7165,
6021,
1323,
3639,
368,
326,
1562,
353,
3549,
18,
12139,
281,
7934,
3847,
30234,
364,
326,
1661,
17,
304,
17275,
648,
18,
3639,
10254,
5441,
273,
394,
10254,
1435,
288,
5411,
1071,
918,
1086,
1435,
288,
7734,
2685,
1670,
18,
2211,
18,
1937,
2174,
12,
5508,
16,
29990,
1769,
5411,
289,
3639,
289,
31,
3639,
309,
261,
74,
31547,
422,
446,
13,
5411,
327,
2
] |
variablesButton = new Button(locationGroup, SWT.PUSH);
|
variablesButton = new Button(linkTargetGroup, SWT.PUSH);
|
private void createLinkLocationGroup(Composite locationGroup, boolean enabled) { Font font = locationGroup.getFont(); Label fill = new Label(locationGroup, SWT.NONE); GridData data = new GridData(); Button button = new Button(locationGroup, SWT.CHECK); data.widthHint = button.computeSize(SWT.DEFAULT, SWT.DEFAULT).x; button.dispose(); fill.setLayoutData(data); // link target location entry field linkTargetField = new Text(locationGroup, SWT.BORDER); data = new GridData(GridData.FILL_HORIZONTAL); linkTargetField.setLayoutData(data); linkTargetField.setFont(font); linkTargetField.setEnabled(enabled); linkTargetField.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent e) { resolveVariable(); if (listener != null) listener.handleEvent(new Event()); } }); if (initialLinkTarget != null) { linkTargetField.setText(initialLinkTarget); } // browse button browseButton = new Button(locationGroup, SWT.PUSH); setButtonLayoutData(browseButton); browseButton.setFont(font); browseButton.setText(WorkbenchMessages.getString("CreateLinkedResourceGroup.browseButton")); //$NON-NLS-1$ browseButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent event) { handleLinkTargetBrowseButtonPressed(); } }); browseButton.setEnabled(enabled); fill = new Label(locationGroup, SWT.NONE); data = new GridData(); fill.setLayoutData(data); resolvedPathLabel = new Label(locationGroup, SWT.SINGLE); data = new GridData(GridData.FILL_HORIZONTAL); resolvedPathLabel.setLayoutData(data); // variables button variablesButton = new Button(locationGroup, SWT.PUSH); setButtonLayoutData(variablesButton); variablesButton.setFont(font); variablesButton.setText(WorkbenchMessages.getString("CreateLinkedResourceGroup.variablesButton")); //$NON-NLS-1$ variablesButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent event) { handleVariablesButtonPressed(); } }); variablesButton.setEnabled(enabled);}
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/6d5fe7c7ed2841b60cc1545330ed4994c212b177/CreateLinkedResourceGroup.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/CreateLinkedResourceGroup.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
752,
2098,
2735,
1114,
12,
9400,
2117,
1114,
16,
1250,
3696,
13,
288,
202,
5711,
3512,
273,
2117,
1114,
18,
588,
5711,
5621,
202,
2224,
3636,
273,
394,
5287,
12,
3562,
1114,
16,
348,
8588,
18,
9826,
1769,
202,
6313,
751,
501,
273,
394,
7145,
751,
5621,
202,
3616,
3568,
273,
394,
12569,
12,
3562,
1114,
16,
348,
8588,
18,
10687,
1769,
202,
892,
18,
2819,
7002,
273,
3568,
18,
9200,
1225,
12,
55,
8588,
18,
5280,
16,
348,
8588,
18,
5280,
2934,
92,
31,
202,
5391,
18,
2251,
4150,
5621,
202,
5935,
18,
542,
3744,
751,
12,
892,
1769,
1082,
202,
759,
1692,
1018,
2117,
1241,
652,
202,
1232,
2326,
974,
273,
394,
3867,
12,
3562,
1114,
16,
348,
8588,
18,
38,
7954,
1769,
202,
892,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
1769,
202,
1232,
2326,
974,
18,
542,
3744,
751,
12,
892,
1769,
202,
1232,
2326,
974,
18,
542,
5711,
12,
5776,
1769,
202,
1232,
2326,
974,
18,
542,
1526,
12,
5745,
1769,
202,
1232,
2326,
974,
18,
1289,
11047,
2223,
12,
2704,
9518,
2223,
1435,
288,
202,
202,
482,
918,
5612,
1528,
12,
11047,
1133,
425,
13,
288,
1082,
202,
10828,
3092,
5621,
1082,
202,
430,
261,
12757,
480,
446,
13,
9506,
202,
12757,
18,
4110,
1133,
12,
2704,
2587,
10663,
202,
202,
97,
202,
22938,
202,
430,
261,
6769,
2098,
2326,
480,
446,
13,
288,
202,
202,
1232,
2326,
974,
18,
542,
1528,
12,
6769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
752,
2098,
2735,
1114,
12,
9400,
2117,
1114,
16,
1250,
3696,
13,
288,
202,
5711,
3512,
273,
2117,
1114,
18,
588,
5711,
5621,
202,
2224,
3636,
273,
394,
5287,
12,
3562,
1114,
16,
348,
8588,
18,
9826,
1769,
202,
6313,
751,
501,
273,
394,
7145,
751,
5621,
202,
3616,
3568,
273,
394,
12569,
12,
3562,
1114,
16,
348,
8588,
18,
10687,
1769,
202,
892,
18,
2819,
7002,
273,
3568,
18,
9200,
1225,
12,
55,
8588,
18,
5280,
16,
348,
8588,
18,
5280,
2934,
92,
31,
202,
5391,
18,
2251,
4150,
5621,
202,
5935,
18,
542,
3744,
751,
12,
892,
1769,
1082,
202,
759,
1692,
1018,
2117,
1241,
652,
202,
1232,
2326,
974,
273,
394,
3867,
12,
3562,
2
] |
assertNull( "Check no cause", e.getCause() );
|
assertTrue( true );
|
public void testRewritePomUnmappedPlugins() throws Exception { ReleaseConfiguration config = createUnmappedConfiguration( "internal-snapshot-plugins" ); try { phase.execute( config ); fail( "Should have thrown an exception" ); } catch ( ReleaseExecutionException e ) { assertNull( "Check no cause", e.getCause() ); } }
|
7444 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7444/d5c32346773fdffbb7d1fb61552050c9d9bfa5f5/AbstractRewritingReleasePhaseTestCase.java/buggy/maven-release-plugin/src/test/java/org/apache/maven/plugins/release/phase/AbstractRewritingReleasePhaseTestCase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
19618,
52,
362,
984,
13654,
9461,
1435,
3639,
1216,
1185,
565,
288,
3639,
10819,
1750,
642,
273,
752,
984,
13654,
1750,
12,
315,
7236,
17,
11171,
17,
8057,
6,
11272,
3639,
775,
3639,
288,
5411,
6855,
18,
8837,
12,
642,
11272,
5411,
2321,
12,
315,
14309,
1240,
6718,
392,
1520,
6,
11272,
3639,
289,
3639,
1044,
261,
10819,
14576,
425,
262,
3639,
288,
5411,
1815,
5510,
12,
638,
11272,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
19618,
52,
362,
984,
13654,
9461,
1435,
3639,
1216,
1185,
565,
288,
3639,
10819,
1750,
642,
273,
752,
984,
13654,
1750,
12,
315,
7236,
17,
11171,
17,
8057,
6,
11272,
3639,
775,
3639,
288,
5411,
6855,
18,
8837,
12,
642,
11272,
5411,
2321,
12,
315,
14309,
1240,
6718,
392,
1520,
6,
11272,
3639,
289,
3639,
1044,
261,
10819,
14576,
425,
262,
3639,
288,
5411,
1815,
5510,
12,
638,
11272,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
double dw = z - p1.w;
|
double dw = w - p1.w;
|
public final float distanceSquared(Point4f p1) { double dx = x - p1.x; double dy = y - p1.y; double dz = z - p1.z; double dw = z - p1.w; return (float)(dx*dx + dy*dy + dz*dz + dw*dw); }
|
1990 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1990/578d435afa17c19ab50dae1f666d2a43a2c4c175/Point4f.java/clean/classes/javax/vecmath/Point4f.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
1431,
3888,
20888,
12,
2148,
24,
74,
293,
21,
13,
288,
202,
9056,
6633,
273,
619,
300,
293,
21,
18,
92,
31,
202,
9056,
7732,
273,
677,
300,
293,
21,
18,
93,
31,
202,
9056,
24855,
273,
998,
300,
293,
21,
18,
94,
31,
202,
9056,
12394,
273,
998,
300,
293,
21,
18,
91,
31,
202,
2463,
261,
5659,
21433,
13437,
14,
13437,
397,
7732,
14,
15680,
397,
24855,
14,
72,
94,
397,
12394,
14,
22512,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
1431,
3888,
20888,
12,
2148,
24,
74,
293,
21,
13,
288,
202,
9056,
6633,
273,
619,
300,
293,
21,
18,
92,
31,
202,
9056,
7732,
273,
677,
300,
293,
21,
18,
93,
31,
202,
9056,
24855,
273,
998,
300,
293,
21,
18,
94,
31,
202,
9056,
12394,
273,
998,
300,
293,
21,
18,
91,
31,
202,
2463,
261,
5659,
21433,
13437,
14,
13437,
397,
7732,
14,
15680,
397,
24855,
14,
72,
94,
397,
12394,
14,
22512,
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
] |
if (token == TEXT_TOKEN || token == COMMENT_TOKEN)
|
if (token == TEXT_TOKEN || token == COMMENT_TOKEN || token == PI_TOKEN)
|
Expression parseMaybePrimaryExpr() throws java.io.IOException, SyntaxException { int startLine = curLine; int startColumn = curColumn; int token = peekOperand(); Expression exp; int c1, c2, c3; if (token == '(') { exp = parseParenExpr(); } else if (token == '{') { exp = syntaxError("saw unexpected '{' - assume you meant '('"); parseEnclosedExpr(); } else if (token == OP_LSS) { int next = read(); if (next == '/') { getRawToken(); String msg; if (curToken == NCNAME_TOKEN || curToken == QNAME_TOKEN || curToken == NCNAME_COLON_TOKEN) msg = "saw end tag '</" + new String(tokenBuffer, 0, tokenBufferLength) + ">' not in an element constructor"; else msg = "saw end tag '</' not in an element constructor"; curLine = startLine; curColumn = startColumn; exp = syntaxError(msg); while (curToken != OP_GRT && curToken != EOF_TOKEN && curToken != EOL_TOKEN) getRawToken(); return exp; } else { exp = parseXMLConstructor(next); exp.setFile(getName()); exp.setLine(startLine, startColumn); } } else if (token == STRING_TOKEN) { exp = new QuoteExp(new String(tokenBuffer, 0, tokenBufferLength).intern()); } else if (token == INTEGER_TOKEN) { Object val = gnu.math.IntNum.valueOf(tokenBuffer, 0, tokenBufferLength, 10, false); exp = new QuoteExp(val); } else if (token == DECIMAL_TOKEN || token == DOUBLE_TOKEN) { String str = new String(tokenBuffer, 0, tokenBufferLength); try { Object val; if (token == DECIMAL_TOKEN) val = new java.math.BigDecimal(str); else val = new java.lang.Double(str); exp = new QuoteExp(val); } catch (Throwable ex) { exp = syntaxError("invalid decimal literal: '"+str+"'"); } } /* else if (token == '<') { // ElementConstructor } */ else if (token == '$') { Object name = parseVariable(); if (name == null) return syntaxError("missing Variable"); exp = new ReferenceExp(name); } else if (token == FNAME_TOKEN) { /* if (colon >= 0) { String local, uri; String prefix = new String(tokenBuffer, 0, colon); colon++; local = new String(tokenBuffer, colon, tokenBufferLength - colon); uri = (String) lookupNamespace(prefix); if (uri == null) { try { Class clas = Class.forName(prefix); uri = "class:" + prefix; } catch (Exception ex) { syntaxError("unknown namespace '" + prefix + "'"); uri = defaultFunctionNamespace; } } name = Symbol.make(uri, local); } else */ String name = new String(tokenBuffer, 0, tokenBufferLength); char save = pushNesting('('); getRawToken(); Vector vec = new Vector(10); if (curToken != ')') { for (;;) { Expression arg = parseExpr(); vec.addElement(arg); if (curToken == ')') break; if (curToken != ',') return syntaxError("missing ')' after function call"); getRawToken(); } } Expression[] args = new Expression[vec.size()]; vec.copyInto(args); ReferenceExp rexp = new ReferenceExp(name, null); rexp.setProcedureName(true); exp = new ApplyExp(rexp, args); exp.setFile(getName()); exp.setLine(startLine, startColumn); popNesting(save); } else if (token == ELEMENT_TOKEN || token == ATTRIBUTE_TOKEN || token == COMMENT_TOKEN || token == DOCUMENT_TOKEN || token == TEXT_TOKEN || token == PI_TOKEN) { getRawToken(); // Skip 'element'. Vector vec = new Vector(); Expression func; if (token == ELEMENT_TOKEN || token == ATTRIBUTE_TOKEN) { // FIXME - rethink this after next spec revision, which // will hopefully clarify namespace management here. Expression element = parseNameSpec(defaultElementNamespace, token != ELEMENT_TOKEN); if (element == null) return syntaxError("missing element/attribute name"); vec.addElement(castQName(element)); if (token == ELEMENT_TOKEN) { MakeElement mk = new MakeElement(); if (namespaceBindings != NamespaceBinding.predefinedXML) mk.setNamespaceNodes(namespaceBindings); func = new QuoteExp(mk); } else func = MakeAttribute.makeAttributeExp; getRawToken(); } else if (token == DOCUMENT_TOKEN) func = makeFunctionExp("gnu.kawa.xml.DocumentConstructor", "documentConstructor"); else if (token == COMMENT_TOKEN) func = makeFunctionExp("gnu.kawa.xml.CommentConstructor", "commentConstructor"); else /* token == TEXT_TOKEN */ func = makeFunctionExp("gnu.kawa.xml.MakeText", "makeText"); char saveReadState = pushNesting('{'); peekNonSpace("unexpected end-of-file after '{'"); if (curToken != '{') return syntaxError("missing '{'"); getRawToken(); if (token == TEXT_TOKEN || token == COMMENT_TOKEN) vec.addElement(parseExprSequence('}')); else if (curToken != '}') { vec.addElement(parseExpr()); while (curToken == ',') { getRawToken(); vec.addElement(parseExpr()); } } popNesting(saveReadState); if (curToken != '}') return syntaxError("missing '}'"); Expression[] args = new Expression[vec.size()]; vec.copyInto(args); exp = new ApplyExp(func, args); exp.setFile(getName()); exp.setLine(startLine, startColumn); } else if (token == ORDERED_LBRACE_TOKEN || token == UNORDERED_LBRACE_TOKEN) { getRawToken(); exp = parseExprSequence('}'); } else return null; /* if (nesting == 0) { int ch = skipSpace(false); if (ch < 0 || ch == '\n' || ch == '\r') return exp; unread(ch); } */ getRawToken(); return exp; }
|
37648 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37648/bbbc267dba267afd119070f5bb163988c7948f18/XQParser.java/clean/gnu/xquery/lang/XQParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
5371,
1109,
24876,
6793,
4742,
1435,
1377,
1216,
2252,
18,
1594,
18,
14106,
16,
11517,
503,
225,
288,
565,
509,
24636,
273,
662,
1670,
31,
565,
509,
787,
1494,
273,
662,
1494,
31,
565,
509,
1147,
273,
8032,
10265,
5621,
565,
5371,
1329,
31,
565,
509,
276,
21,
16,
276,
22,
16,
276,
23,
31,
565,
309,
261,
2316,
422,
7321,
13,
1377,
288,
3639,
1329,
273,
1109,
25520,
4742,
5621,
1377,
289,
565,
469,
309,
261,
2316,
422,
2292,
6134,
1377,
288,
202,
2749,
273,
6279,
668,
2932,
87,
2219,
9733,
9790,
300,
6750,
1846,
20348,
7321,
8863,
202,
2670,
4280,
13783,
4742,
5621,
1377,
289,
565,
469,
309,
261,
2316,
422,
7247,
67,
48,
1260,
13,
1377,
288,
202,
474,
1024,
273,
855,
5621,
202,
430,
261,
4285,
422,
2023,
13,
202,
225,
288,
202,
565,
10547,
1345,
5621,
202,
565,
514,
1234,
31,
202,
565,
309,
261,
1397,
1345,
422,
423,
39,
1985,
67,
8412,
747,
662,
1345,
422,
2238,
1985,
67,
8412,
202,
202,
20081,
662,
1345,
422,
423,
39,
1985,
67,
4935,
673,
67,
8412,
13,
202,
1377,
1234,
273,
315,
87,
2219,
679,
1047,
4357,
6,
397,
394,
514,
12,
2316,
1892,
16,
374,
16,
1147,
1892,
1782,
13,
397,
315,
1870,
486,
316,
392,
930,
3885,
14432,
202,
565,
469,
202,
1377,
1234,
273,
315,
87,
2219,
679,
1047,
4357,
11,
486,
316,
392,
930,
3885,
14432,
202,
565,
662,
1670,
273,
24636,
31,
202,
565,
662,
1494,
273,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
5371,
1109,
24876,
6793,
4742,
1435,
1377,
1216,
2252,
18,
1594,
18,
14106,
16,
11517,
503,
225,
288,
565,
509,
24636,
273,
662,
1670,
31,
565,
509,
787,
1494,
273,
662,
1494,
31,
565,
509,
1147,
273,
8032,
10265,
5621,
565,
5371,
1329,
31,
565,
509,
276,
21,
16,
276,
22,
16,
276,
23,
31,
565,
309,
261,
2316,
422,
7321,
13,
1377,
288,
3639,
1329,
273,
1109,
25520,
4742,
5621,
1377,
289,
565,
469,
309,
261,
2316,
422,
2292,
6134,
1377,
288,
202,
2749,
273,
6279,
668,
2932,
87,
2219,
9733,
9790,
300,
6750,
1846,
20348,
7321,
8863,
202,
2670,
4280,
13783,
4742,
5621,
1377,
289,
565,
469,
309,
261,
2316,
422,
7247,
67,
48,
1260,
13,
2
] |
return local_addr;
|
return local_addr;
|
protected Address getLocalAddr() { return local_addr; }
|
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/13de68466e3cf7fde6ee0bde0cee09a33e837e89/TOTAL_OLD.java/buggy/src/org/jgroups/protocols/TOTAL_OLD.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
5267,
6993,
3178,
1435,
288,
202,
2463,
1191,
67,
4793,
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,
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,
4750,
5267,
6993,
3178,
1435,
288,
202,
2463,
1191,
67,
4793,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return m_store.getInt32(STP_HOLD_TIME);
|
Integer stpHoldTime = m_store.getInt32(STP_HOLD_TIME); if (stpHoldTime == null) return -1; return stpHoldTime;
|
public int getStpHoldTime(){ return m_store.getInt32(STP_HOLD_TIME); }
|
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/a22efed624b9384da0fbce8542dfae41d02b1b65/Dot1dStpGroup.java/clean/opennms-services/src/main/java/org/opennms/netmgt/linkd/snmp/Dot1dStpGroup.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
21491,
84,
20586,
950,
1435,
95,
377,
202,
4522,
384,
84,
20586,
950,
273,
312,
67,
2233,
18,
588,
1702,
1578,
12,
882,
52,
67,
44,
11846,
67,
4684,
1769,
309,
261,
20355,
20586,
950,
422,
446,
13,
327,
300,
21,
31,
327,
384,
84,
20586,
950,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
21491,
84,
20586,
950,
1435,
95,
377,
202,
4522,
384,
84,
20586,
950,
273,
312,
67,
2233,
18,
588,
1702,
1578,
12,
882,
52,
67,
44,
11846,
67,
4684,
1769,
309,
261,
20355,
20586,
950,
422,
446,
13,
327,
300,
21,
31,
327,
384,
84,
20586,
950,
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
] |
if (!first) url.append(optionSeparator);
|
if (first) url.append(optionIndicator); else url.append(optionSeparator);
|
public String getURL() { StringBuffer url=new StringBuffer( databaseInterface.getURL() ); if (databaseInterface.supportsOptionsInURL()) { // OK, now add all the options... String optionIndicator = getExtraOptionIndicator(); String optionSeparator = getExtraOptionSeparator(); String valueSeparator = getExtraOptionValueSeparator(); Map map = getExtraOptions(); if (map.size()>0) { url.append(optionIndicator); Iterator iterator = map.keySet().iterator(); boolean first=true; while (iterator.hasNext()) { String typedParameter=(String)iterator.next(); int dotIndex = typedParameter.indexOf('.'); if (dotIndex>=0) { String typeCode = typedParameter.substring(0,dotIndex); String parameter = typedParameter.substring(dotIndex+1); String value = (String) map.get(typedParameter); // Only add to the URL if it's the same database type code... // if (databaseInterface.getDatabaseTypeDesc().equals(typeCode)) { if (!first) url.append(optionSeparator); url.append(parameter); if (!Const.isEmpty(value) && !value.equals(EMPTY_OPTIONS_STRING)) { url.append(valueSeparator).append(value); } } } first=false; } } } else { // We need to put all these options in a Properties file later (Oracle & Co.) // This happens at connect time... } return url.toString(); }
|
58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/286fd783f8714d0c508ad61c7e050763569144d4/DatabaseMeta.java/clean/kettle/src/be/ibridge/kettle/core/database/DatabaseMeta.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
19341,
1435,
202,
95,
202,
202,
780,
1892,
880,
33,
2704,
6674,
12,
2063,
1358,
18,
588,
1785,
1435,
11272,
7734,
309,
261,
6231,
1358,
18,
28064,
1320,
382,
1785,
10756,
3639,
288,
5411,
368,
7791,
16,
2037,
527,
777,
326,
702,
2777,
5411,
514,
1456,
13140,
273,
24973,
1895,
13140,
5621,
5411,
514,
1456,
6581,
273,
24973,
1895,
6581,
5621,
5411,
514,
460,
6581,
273,
24973,
13366,
6581,
5621,
13491,
1635,
852,
273,
24973,
1320,
5621,
5411,
309,
261,
1458,
18,
1467,
1435,
34,
20,
13,
5411,
288,
7734,
880,
18,
6923,
12,
3482,
13140,
1769,
27573,
4498,
2775,
273,
852,
18,
856,
694,
7675,
9838,
5621,
7734,
1250,
1122,
33,
3767,
31,
7734,
1323,
261,
9838,
18,
5332,
2134,
10756,
7734,
288,
10792,
514,
9092,
1662,
28657,
780,
13,
9838,
18,
4285,
5621,
10792,
509,
3928,
1016,
273,
9092,
1662,
18,
31806,
2668,
1093,
1769,
10792,
309,
261,
9811,
1016,
34,
33,
20,
13,
10792,
288,
13491,
514,
618,
1085,
273,
9092,
1662,
18,
28023,
12,
20,
16,
9811,
1016,
1769,
13491,
514,
1569,
273,
9092,
1662,
18,
28023,
12,
9811,
1016,
15,
21,
1769,
13491,
514,
460,
273,
261,
780,
13,
852,
18,
588,
12,
11585,
1662,
1769,
4766,
7734,
368,
5098,
527,
358,
326,
1976,
309,
518,
1807,
326,
1967,
2063,
618,
981,
2777,
13491,
368,
13491,
309,
261,
6231,
1358,
18,
588,
4254,
559,
4217,
7675,
14963,
12,
723,
1085,
3719,
13491,
288,
18701,
309,
261,
3645,
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,
225,
202,
482,
514,
19341,
1435,
202,
95,
202,
202,
780,
1892,
880,
33,
2704,
6674,
12,
2063,
1358,
18,
588,
1785,
1435,
11272,
7734,
309,
261,
6231,
1358,
18,
28064,
1320,
382,
1785,
10756,
3639,
288,
5411,
368,
7791,
16,
2037,
527,
777,
326,
702,
2777,
5411,
514,
1456,
13140,
273,
24973,
1895,
13140,
5621,
5411,
514,
1456,
6581,
273,
24973,
1895,
6581,
5621,
5411,
514,
460,
6581,
273,
24973,
13366,
6581,
5621,
13491,
1635,
852,
273,
24973,
1320,
5621,
5411,
309,
261,
1458,
18,
1467,
1435,
34,
20,
13,
5411,
288,
7734,
880,
18,
6923,
12,
3482,
13140,
1769,
27573,
4498,
2775,
273,
852,
18,
856,
694,
7675,
9838,
5621,
7734,
1250,
1122,
33,
3767,
31,
7734,
2
] |
final Button useDefaultsButton = new Button(projectGroup, SWT.CHECK | SWT.RIGHT); useDefaultsButton.setFont(font); useDefaultsButton.setText(IDEWorkbenchMessages.ProjectLocationSelectionDialog_useDefaultLabel); useDefaultsButton.setSelection(this.useDefaults); GridData buttonData = new GridData(); buttonData.horizontalSpan = 3; useDefaultsButton.setLayoutData(buttonData);
|
final Button useDefaultsButton = new Button(projectGroup, SWT.CHECK | SWT.RIGHT); useDefaultsButton .setText(IDEWorkbenchMessages.ProjectLocationSelectionDialog_useDefaultLabel); useDefaultsButton.setSelection(this.useDefaults); GridData buttonData = new GridData(); buttonData.horizontalSpan = 3; useDefaultsButton.setLayoutData(buttonData);
|
private final void createProjectLocationGroup(Composite parent) { Font font = parent.getFont(); // project specification group Composite projectGroup = new Composite(parent, SWT.NONE); GridLayout layout = new GridLayout(); layout.numColumns = 3; projectGroup.setLayout(layout); projectGroup.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); projectGroup.setFont(font); final Button useDefaultsButton = new Button(projectGroup, SWT.CHECK | SWT.RIGHT); useDefaultsButton.setFont(font); useDefaultsButton.setText(IDEWorkbenchMessages.ProjectLocationSelectionDialog_useDefaultLabel); useDefaultsButton.setSelection(this.useDefaults); GridData buttonData = new GridData(); buttonData.horizontalSpan = 3; useDefaultsButton.setLayoutData(buttonData); createUserSpecifiedProjectLocationGroup(projectGroup, !this.useDefaults); SelectionListener listener = new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { useDefaults = useDefaultsButton.getSelection(); browseButton.setEnabled(!useDefaults); locationPathField.setEnabled(!useDefaults); locationLabel.setEnabled(!useDefaults); setLocationForSelection(); if (!useDefaults) { if (originalPath != null) locationPathField.setText(originalPath.toOSString()); else locationPathField.setText(""); //$NON-NLS-1$ } } }; useDefaultsButton.addSelectionListener(listener); }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/bfc4f82ef4ce3a2262bf350cb4c32da08937adaa/ProjectLocationMoveDialog.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/ProjectLocationMoveDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
727,
918,
752,
4109,
2735,
1114,
12,
9400,
982,
13,
288,
3639,
10063,
3512,
273,
982,
18,
588,
5711,
5621,
3639,
368,
1984,
7490,
1041,
3639,
14728,
1984,
1114,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
3639,
7145,
3744,
3511,
273,
394,
7145,
3744,
5621,
3639,
3511,
18,
2107,
3380,
273,
890,
31,
3639,
1984,
1114,
18,
542,
3744,
12,
6741,
1769,
3639,
1984,
1114,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
10019,
3639,
1984,
1114,
18,
542,
5711,
12,
5776,
1769,
3639,
727,
12569,
999,
7019,
3616,
273,
394,
12569,
12,
4406,
1114,
16,
348,
8588,
18,
10687,
7734,
571,
348,
8588,
18,
11847,
1769,
3639,
999,
7019,
3616,
18,
542,
5711,
12,
5776,
1769,
3639,
999,
7019,
3616,
18,
542,
1528,
12,
10385,
2421,
22144,
5058,
18,
4109,
2735,
6233,
6353,
67,
1202,
1868,
2224,
1769,
3639,
999,
7019,
3616,
18,
542,
6233,
12,
2211,
18,
1202,
7019,
1769,
3639,
7145,
751,
3568,
751,
273,
394,
7145,
751,
5621,
3639,
3568,
751,
18,
18396,
6952,
273,
890,
31,
3639,
999,
7019,
3616,
18,
542,
3744,
751,
12,
5391,
751,
1769,
3639,
22992,
17068,
4109,
2735,
1114,
12,
4406,
1114,
16,
401,
2211,
18,
1202,
7019,
1769,
3639,
12977,
2223,
2991,
273,
394,
12977,
4216,
1435,
288,
5411,
1071,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
7734,
999,
7019,
273,
999,
7019,
3616,
18,
588,
6233,
5621,
7734,
21670,
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,
727,
918,
752,
4109,
2735,
1114,
12,
9400,
982,
13,
288,
3639,
10063,
3512,
273,
982,
18,
588,
5711,
5621,
3639,
368,
1984,
7490,
1041,
3639,
14728,
1984,
1114,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
3639,
7145,
3744,
3511,
273,
394,
7145,
3744,
5621,
3639,
3511,
18,
2107,
3380,
273,
890,
31,
3639,
1984,
1114,
18,
542,
3744,
12,
6741,
1769,
3639,
1984,
1114,
18,
542,
3744,
751,
12,
2704,
7145,
751,
12,
6313,
751,
18,
29818,
67,
44,
20344,
10019,
3639,
1984,
1114,
18,
542,
5711,
12,
5776,
1769,
3639,
727,
12569,
999,
7019,
3616,
273,
394,
12569,
12,
4406,
1114,
16,
348,
8588,
18,
10687,
7734,
571,
348,
8588,
18,
2
] |
return LaunchUIPlugin.getResourceString("CSourceLookupTab.Source");
|
return LaunchMessages.getString("CSourceLookupTab.Source");
|
public String getName() { return LaunchUIPlugin.getResourceString("CSourceLookupTab.Source"); //$NON-NLS-1$ }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/a192c2f172621fd921dbaebb14ee66fcee4f8f12/CSourceLookupTab.java/buggy/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CSourceLookupTab.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1723,
1435,
202,
95,
202,
202,
2463,
14643,
5058,
18,
588,
780,
2932,
39,
1830,
6609,
5661,
18,
1830,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1723,
1435,
202,
95,
202,
202,
2463,
14643,
5058,
18,
588,
780,
2932,
39,
1830,
6609,
5661,
18,
1830,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 runtime.getTrue();
|
return getRuntime().getTrue();
|
public IRubyObject equal(IRubyObject other) { if (this == other) { return runtime.getTrue(); } else if (!(other instanceof RubyStruct)) { return runtime.getFalse(); } else if (getMetaClass() != other.getMetaClass()) { return runtime.getFalse(); } else { for (int i = 0; i < values.length; i++) { if (!values[i].equals(((RubyStruct) other).values[i])) { return runtime.getFalse(); } } return runtime.getTrue(); } }
|
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyStruct.java/clean/src/org/jruby/RubyStruct.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
3959,
12,
7937,
10340,
921,
1308,
13,
288,
3639,
309,
261,
2211,
422,
1308,
13,
288,
5411,
327,
18814,
7675,
588,
5510,
5621,
3639,
289,
469,
309,
16051,
12,
3011,
1276,
19817,
3823,
3719,
288,
5411,
327,
3099,
18,
588,
8381,
5621,
3639,
289,
469,
309,
261,
588,
2781,
797,
1435,
480,
1308,
18,
588,
2781,
797,
10756,
288,
5411,
327,
3099,
18,
588,
8381,
5621,
3639,
289,
469,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
924,
18,
2469,
31,
277,
27245,
288,
7734,
309,
16051,
2372,
63,
77,
8009,
14963,
12443,
12,
54,
10340,
3823,
13,
1308,
2934,
2372,
63,
77,
22643,
288,
10792,
327,
3099,
18,
588,
8381,
5621,
7734,
289,
5411,
289,
5411,
327,
18814,
7675,
588,
5510,
5621,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
377,
1071,
15908,
10340,
921,
3959,
12,
7937,
10340,
921,
1308,
13,
288,
3639,
309,
261,
2211,
422,
1308,
13,
288,
5411,
327,
18814,
7675,
588,
5510,
5621,
3639,
289,
469,
309,
16051,
12,
3011,
1276,
19817,
3823,
3719,
288,
5411,
327,
3099,
18,
588,
8381,
5621,
3639,
289,
469,
309,
261,
588,
2781,
797,
1435,
480,
1308,
18,
588,
2781,
797,
10756,
288,
5411,
327,
3099,
18,
588,
8381,
5621,
3639,
289,
469,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
924,
18,
2469,
31,
277,
27245,
288,
7734,
309,
16051,
2372,
63,
77,
8009,
14963,
12443,
12,
54,
10340,
3823,
13,
1308,
2934,
2372,
63,
77,
22643,
288,
10792,
327,
3099,
18,
588,
8381,
2
] |
System.out.println("No threads on the queue!");
|
System.err.println("No threads on the queue!");
|
private void runNextThread(TimeSlice slice) { ControllableThread thread = (ControllableThread)pendingThreads.next(); if (thread != null) { thread.slice(slice); thread.start(); } else { System.out.println("No threads on the queue!"); } }
|
7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/59f662bd63345f871f6546f2bbfb818c9f35c40e/TimeSliceScheduler.java/clean/core/src/org/cougaar/core/thread/TimeSliceScheduler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1086,
2134,
3830,
12,
950,
5959,
2788,
13,
288,
202,
660,
30453,
3830,
2650,
273,
202,
565,
261,
660,
30453,
3830,
13,
9561,
13233,
18,
4285,
5621,
202,
430,
261,
5930,
480,
446,
13,
288,
202,
565,
2650,
18,
6665,
12,
6665,
1769,
202,
565,
2650,
18,
1937,
5621,
202,
97,
469,
288,
202,
565,
2332,
18,
659,
18,
8222,
2932,
2279,
7403,
603,
326,
2389,
4442,
1769,
202,
97,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1086,
2134,
3830,
12,
950,
5959,
2788,
13,
288,
202,
660,
30453,
3830,
2650,
273,
202,
565,
261,
660,
30453,
3830,
13,
9561,
13233,
18,
4285,
5621,
202,
430,
261,
5930,
480,
446,
13,
288,
202,
565,
2650,
18,
6665,
12,
6665,
1769,
202,
565,
2650,
18,
1937,
5621,
202,
97,
469,
288,
202,
565,
2332,
18,
659,
18,
8222,
2932,
2279,
7403,
603,
326,
2389,
4442,
1769,
202,
97,
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
] |
super.setPartName(newName); }
|
super.setPartName(newName); }
|
public void setPartName(String newName) { super.setPartName(newName); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/bdbae565cf1bf35f486383a20cba527c70fd375b/ErrorViewPart.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ErrorViewPart.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
1988,
461,
12,
780,
13253,
13,
288,
3639,
2240,
18,
542,
1988,
461,
12,
2704,
461,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
1988,
461,
12,
780,
13253,
13,
288,
3639,
2240,
18,
542,
1988,
461,
12,
2704,
461,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
synPredMatched10 = false;
|
synPredMatched516 = false;
|
public final void prolog() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST prolog_AST = null; AST v_AST = null; AST nd_AST = null; AST dnd_AST = null; AST fd_AST = null; { boolean synPredMatched10 = false; if (((LA(1)==XQUERY))) { int _m10 = mark(); synPredMatched10 = true; inputState.guessing++; try { { match(XQUERY); match(VERSION); } } catch (RecognitionException pe) { synPredMatched10 = false; } rewind(_m10); inputState.guessing--; } if ( synPredMatched10 ) { version(); v_AST = (AST)returnAST; astFactory.addASTChild(currentAST, returnAST); match(SEMICOLON); } else if ((_tokenSet_0.member(LA(1)))) { } else { throw new NoViableAltException(LT(1), getFilename()); } } { _loop21: do { if ((LA(1)==LITERAL_declare)) { { boolean synPredMatched14 = false; if (((LA(1)==LITERAL_declare))) { int _m14 = mark(); synPredMatched14 = true; inputState.guessing++; try { { match(LITERAL_declare); match(LITERAL_namespace); } } catch (RecognitionException pe) { synPredMatched14 = false; } rewind(_m14); inputState.guessing--; } if ( synPredMatched14 ) { namespaceDecl(); nd_AST = (AST)returnAST; astFactory.addASTChild(currentAST, returnAST); } else { boolean synPredMatched16 = false; if (((LA(1)==LITERAL_declare))) { int _m16 = mark(); synPredMatched16 = true; inputState.guessing++; try { { match(LITERAL_declare); match(LITERAL_default); } } catch (RecognitionException pe) { synPredMatched16 = false; } rewind(_m16); inputState.guessing--; } if ( synPredMatched16 ) { defaultNamespaceDecl(); dnd_AST = (AST)returnAST; astFactory.addASTChild(currentAST, returnAST); } else { boolean synPredMatched18 = false; if (((LA(1)==LITERAL_declare))) { int _m18 = mark(); synPredMatched18 = true; inputState.guessing++; try { { match(LITERAL_declare); match(LITERAL_function); } } catch (RecognitionException pe) { synPredMatched18 = false; } rewind(_m18); inputState.guessing--; } if ( synPredMatched18 ) { functionDecl(); fd_AST = (AST)returnAST; astFactory.addASTChild(currentAST, returnAST); } else { boolean synPredMatched20 = false; if (((LA(1)==LITERAL_declare))) { int _m20 = mark(); synPredMatched20 = true; inputState.guessing++; try { { match(LITERAL_declare); match(LITERAL_variable); } } catch (RecognitionException pe) { synPredMatched20 = false; } rewind(_m20); inputState.guessing--; } if ( synPredMatched20 ) { varDecl(); astFactory.addASTChild(currentAST, returnAST); } else { throw new NoViableAltException(LT(1), getFilename()); } }}} } match(SEMICOLON); } else { break _loop21; } } while (true); } prolog_AST = (AST)currentAST.root; returnAST = prolog_AST; }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/78bd70965f202738e2ca56dacfd71f5d58c0db69/XPathParser2.java/buggy/src/org/exist/parser/XPathParser2.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
450,
1330,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
9053,
450,
1330,
67,
9053,
273,
446,
31,
202,
202,
9053,
331,
67,
9053,
273,
446,
31,
202,
202,
9053,
5346,
67,
9053,
273,
446,
31,
202,
202,
9053,
302,
4880,
67,
9053,
273,
446,
31,
202,
202,
9053,
5194,
67,
9053,
273,
446,
31,
9506,
202,
95,
202,
202,
6494,
6194,
10391,
15400,
2163,
273,
629,
31,
202,
202,
430,
261,
12443,
2534,
12,
21,
13,
631,
60,
10753,
20349,
288,
1082,
202,
474,
389,
81,
2163,
273,
2267,
5621,
1082,
202,
11982,
10391,
15400,
2163,
273,
638,
31,
1082,
202,
2630,
1119,
18,
20885,
310,
9904,
31,
1082,
202,
698,
288,
9506,
202,
95,
9506,
202,
1916,
12,
60,
10753,
1769,
9506,
202,
1916,
12,
5757,
1769,
9506,
202,
97,
1082,
202,
97,
1082,
202,
14683,
261,
5650,
7909,
503,
2804,
13,
288,
9506,
202,
11982,
10391,
15400,
2163,
273,
629,
31,
1082,
202,
97,
1082,
202,
266,
10094,
24899,
81,
2163,
1769,
1082,
202,
2630,
1119,
18,
20885,
310,
413,
31,
202,
202,
97,
202,
202,
430,
261,
6194,
10391,
15400,
2163,
262,
288,
1082,
202,
1589,
5621,
1082,
202,
90,
67,
9053,
273,
261,
9053,
13,
2463,
9053,
31,
1082,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
327,
9053,
1769,
1082,
202,
1916,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
450,
1330,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
9053,
450,
1330,
67,
9053,
273,
446,
31,
202,
202,
9053,
331,
67,
9053,
273,
446,
31,
202,
202,
9053,
5346,
67,
9053,
273,
446,
31,
202,
202,
9053,
302,
4880,
67,
9053,
273,
446,
31,
202,
202,
9053,
5194,
67,
9053,
273,
446,
31,
9506,
202,
95,
202,
202,
6494,
6194,
10391,
15400,
2163,
273,
629,
31,
202,
202,
430,
261,
12443,
2534,
12,
21,
13,
631,
60,
10753,
20349,
288,
1082,
202,
474,
389,
81,
2163,
273,
2267,
5621,
1082,
202,
11982,
2
] |
Vector contributorList = (Vector) contributors.get(targetType); if (contributorList == null) { contributorList = new Vector(5); contributors.put(targetType, contributorList);
|
Vector contributorList = (Vector) contributors.get(targetType); if (contributorList == null) { contributorList = new Vector(5); contributors.put(targetType, contributorList); } contributorList.addElement(contributor); flushLookup();
|
public void registerContributor(IObjectContributor contributor, String targetType) { Vector contributorList = (Vector) contributors.get(targetType); if (contributorList == null) { contributorList = new Vector(5); contributors.put(targetType, contributorList); } contributorList.addElement(contributor); flushLookup();}
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/f8685b0522e26c22b4270aa9a9be3499a2547f89/ObjectContributorManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ObjectContributorManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1744,
442,
19293,
12,
45,
921,
442,
19293,
31123,
16,
514,
16065,
13,
288,
202,
5018,
31123,
682,
273,
261,
5018,
13,
13608,
13595,
18,
588,
12,
3299,
559,
1769,
202,
430,
261,
591,
19293,
682,
422,
446,
13,
288,
202,
202,
591,
19293,
682,
273,
394,
5589,
12,
25,
1769,
202,
202,
26930,
13595,
18,
458,
12,
3299,
559,
16,
31123,
682,
1769,
202,
97,
202,
591,
19293,
682,
18,
1289,
1046,
12,
591,
19293,
1769,
202,
11330,
6609,
5621,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1071,
918,
1744,
442,
19293,
12,
45,
921,
442,
19293,
31123,
16,
514,
16065,
13,
288,
202,
5018,
31123,
682,
273,
261,
5018,
13,
13608,
13595,
18,
588,
12,
3299,
559,
1769,
202,
430,
261,
591,
19293,
682,
422,
446,
13,
288,
202,
202,
591,
19293,
682,
273,
394,
5589,
12,
25,
1769,
202,
202,
26930,
13595,
18,
458,
12,
3299,
559,
16,
31123,
682,
1769,
202,
97,
202,
591,
19293,
682,
18,
1289,
1046,
12,
591,
19293,
1769,
202,
11330,
6609,
5621,
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
] |
} else
|
} else
|
public ArgoDiagram createDiagram(MNamespace ns, Object target) { MCollaboration c = null; if (target instanceof MOperation) { c = UmlFactory.getFactory().getCollaborations().buildCollaboration(ns); c.setRepresentedOperation((MOperation)target); } else if (target instanceof MClassifier) { c = UmlFactory.getFactory().getCollaborations().buildCollaboration(ns); c.setRepresentedClassifier((MClassifier)target); } else if (target instanceof MModel) { c = UmlFactory.getFactory().getCollaborations().buildCollaboration((MModel)target); } else if (target instanceof MInteraction) { c = ((MInteraction)target).getContext(); } else if (target instanceof UMLSequenceDiagram) { Object o = ((UMLSequenceDiagram)target).getOwner(); if (o instanceof MCollaboration) { //preventing backward compat problems c = (MCollaboration)o; } } else if (target instanceof MCollaboration) { c = (MCollaboration)target; } else { c = UmlFactory.getFactory().getCollaborations().buildCollaboration(ns); } UMLSequenceDiagram d = new UMLSequenceDiagram(c); return d; }
|
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/dbb3b0ea8f615d4498f988fd694b39cb30b505ef/ActionSequenceDiagram.java/buggy/src_new/org/argouml/uml/ui/ActionSequenceDiagram.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1201,
3240,
14058,
1940,
752,
14058,
1940,
12,
49,
3402,
3153,
16,
1033,
1018,
13,
288,
3639,
490,
22894,
22226,
276,
273,
446,
31,
3639,
309,
261,
3299,
1276,
490,
2988,
13,
288,
5411,
276,
273,
587,
781,
1733,
18,
588,
1733,
7675,
588,
22894,
280,
1012,
7675,
3510,
22894,
22226,
12,
2387,
1769,
5411,
276,
18,
542,
23869,
329,
2988,
12443,
49,
2988,
13,
3299,
1769,
3639,
289,
469,
540,
309,
261,
3299,
1276,
490,
13860,
13,
288,
5411,
276,
273,
587,
781,
1733,
18,
588,
1733,
7675,
588,
22894,
280,
1012,
7675,
3510,
22894,
22226,
12,
2387,
1769,
5411,
276,
18,
542,
23869,
329,
13860,
12443,
49,
13860,
13,
3299,
1769,
3639,
289,
469,
540,
309,
261,
3299,
1276,
490,
1488,
13,
288,
5411,
276,
273,
587,
781,
1733,
18,
588,
1733,
7675,
588,
22894,
280,
1012,
7675,
3510,
22894,
22226,
12443,
49,
1488,
13,
3299,
1769,
3639,
289,
469,
540,
309,
261,
3299,
1276,
490,
17419,
13,
288,
5411,
276,
273,
14015,
49,
17419,
13,
3299,
2934,
29120,
5621,
3639,
289,
469,
3639,
309,
261,
3299,
1276,
587,
1495,
4021,
14058,
1940,
13,
288,
5411,
1033,
320,
273,
14015,
57,
1495,
4021,
14058,
1940,
13,
3299,
2934,
588,
5541,
5621,
5411,
309,
261,
83,
1276,
490,
22894,
22226,
13,
288,
368,
29150,
310,
12555,
4796,
9688,
7734,
276,
273,
261,
49,
22894,
22226,
13,
83,
31,
5411,
289,
540,
289,
469,
540,
309,
261,
3299,
1276,
490,
22894,
22226,
13,
288,
5411,
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,
1201,
3240,
14058,
1940,
752,
14058,
1940,
12,
49,
3402,
3153,
16,
1033,
1018,
13,
288,
3639,
490,
22894,
22226,
276,
273,
446,
31,
3639,
309,
261,
3299,
1276,
490,
2988,
13,
288,
5411,
276,
273,
587,
781,
1733,
18,
588,
1733,
7675,
588,
22894,
280,
1012,
7675,
3510,
22894,
22226,
12,
2387,
1769,
5411,
276,
18,
542,
23869,
329,
2988,
12443,
49,
2988,
13,
3299,
1769,
3639,
289,
469,
540,
309,
261,
3299,
1276,
490,
13860,
13,
288,
5411,
276,
273,
587,
781,
1733,
18,
588,
1733,
7675,
588,
22894,
280,
1012,
7675,
3510,
22894,
22226,
12,
2387,
1769,
5411,
276,
18,
542,
23869,
329,
13860,
12443,
49,
13860,
13,
3299,
1769,
3639,
289,
469,
540,
2
] |
return pageList.getPages(); }
|
return pageList.getPages(); }
|
public IWorkbenchPage[] getPages() { return pageList.getPages(); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/97610ef9afbe6c924e048d8d60c2f4721860850b/WorkbenchWindow.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
2421,
22144,
1964,
8526,
1689,
1023,
1435,
288,
3639,
327,
1363,
682,
18,
588,
5716,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
2421,
22144,
1964,
8526,
1689,
1023,
1435,
288,
3639,
327,
1363,
682,
18,
588,
5716,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
WorkingSetManager workingSetManager = (WorkingSetManager) WorkbenchPlugin .getDefault().getWorkingSetManager(); workingSetManager.workingSetChanged(this, IWorkingSetManager.CHANGE_WORKING_SET_CONTENT_CHANGE);
|
fireWorkingSetChanged(IWorkingSetManager.CHANGE_WORKING_SET_CONTENT_CHANGE, null);
|
public void setElements(IAdaptable[] newElements) { internalSetElements(newElements); WorkingSetManager workingSetManager = (WorkingSetManager) WorkbenchPlugin .getDefault().getWorkingSetManager(); workingSetManager.workingSetChanged(this, IWorkingSetManager.CHANGE_WORKING_SET_CONTENT_CHANGE); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/5adaf6d1b10e28b15abd67fb9b1d71ffd368dde8/WorkingSet.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkingSet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
3471,
12,
45,
13716,
429,
8526,
394,
3471,
13,
288,
3639,
2713,
694,
3471,
12,
2704,
3471,
1769,
3639,
22732,
694,
1318,
5960,
694,
1318,
273,
261,
14836,
694,
1318,
13,
4147,
22144,
3773,
7734,
263,
588,
1868,
7675,
588,
14836,
694,
1318,
5621,
3639,
5960,
694,
1318,
18,
20478,
694,
5033,
12,
2211,
16,
7734,
467,
14836,
694,
1318,
18,
14473,
67,
10566,
1360,
67,
4043,
67,
9689,
67,
14473,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
3471,
12,
45,
13716,
429,
8526,
394,
3471,
13,
288,
3639,
2713,
694,
3471,
12,
2704,
3471,
1769,
3639,
22732,
694,
1318,
5960,
694,
1318,
273,
261,
14836,
694,
1318,
13,
4147,
22144,
3773,
7734,
263,
588,
1868,
7675,
588,
14836,
694,
1318,
5621,
3639,
5960,
694,
1318,
18,
20478,
694,
5033,
12,
2211,
16,
7734,
467,
14836,
694,
1318,
18,
14473,
67,
10566,
1360,
67,
4043,
67,
9689,
67,
14473,
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
] |
return ((IExtensionPoint) element).getUniqueIdentifier();
|
String pluginId = ((IExtensionPoint)element).getParentIdentifier(); String extPointId = ((IExtensionPoint) element).getUniqueIdentifier(); return extPointId.substring(pluginId.length()+1);
|
public String getText(Object element) { if (element instanceof PluginObjectAdapter) element = ((PluginObjectAdapter) element).getObject(); if (element instanceof IPluginDescriptor) { return ((IPluginDescriptor)element).getUniqueIdentifier(); } if (element instanceof IPluginFolder) { switch (((IPluginFolder) element).getFolderId()) { case IPluginFolder.F_IMPORTS : return PDERuntimePlugin.getResourceString(KEY_IMPORTS); case IPluginFolder.F_LIBRARIES : return PDERuntimePlugin.getResourceString(KEY_LIBRARIES); case IPluginFolder.F_EXTENSION_POINTS : return PDERuntimePlugin.getResourceString(KEY_EXPOINTS); case IPluginFolder.F_EXTENSIONS : return PDERuntimePlugin.getResourceString(KEY_EXTENSIONS); } } if (element instanceof IExtension) { if (((RegistryBrowserContentProvider)viewer.getContentProvider()).isInExtensionSet) return ((IExtension) element).getExtensionPointUniqueIdentifier(); IPluginDescriptor desc = ((IExtension) element).getDeclaringPluginDescriptor(); return "from "+ desc.getUniqueIdentifier(); } if (element instanceof IExtensionPoint) { return ((IExtensionPoint) element).getUniqueIdentifier(); } if (element instanceof IPluginPrerequisite) { return ((IPluginPrerequisite) element).getUniqueIdentifier(); } if (element instanceof ILibrary) { return ((ILibrary) element).getPath().toString(); } if (element instanceof IConfigurationElement) { String label = ((IConfigurationElement) element).getAttribute("label"); if (label == null){ label = ((IConfigurationElement) element).getAttribute("name"); } if (label == null && ((IConfigurationElement) element).getAttribute("id") != null){ String[] labelSplit = ((IConfigurationElement) element).getAttribute("id").split("\\."); label = labelSplit.length == 0 ? null: labelSplit[labelSplit.length-1]; } if (label == null){ label = ((IConfigurationElement) element).getName(); } return label; } return super.getText(element); }
|
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/da9411dec7054667c47dca3c2ca1644866de8d9b/RegistryBrowserLabelProvider.java/clean/ui/org.eclipse.pde.runtime/src/org/eclipse/pde/internal/runtime/registry/RegistryBrowserLabelProvider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
6701,
12,
921,
930,
13,
288,
202,
202,
430,
261,
2956,
1276,
6258,
921,
4216,
13,
1082,
202,
2956,
273,
14015,
3773,
921,
4216,
13,
930,
2934,
588,
921,
5621,
202,
202,
430,
261,
2956,
1276,
467,
3773,
3187,
13,
288,
1082,
202,
2463,
14015,
45,
3773,
3187,
13,
2956,
2934,
588,
6303,
3004,
5621,
202,
202,
97,
202,
202,
430,
261,
2956,
1276,
467,
3773,
3899,
13,
288,
1082,
202,
9610,
261,
12443,
45,
3773,
3899,
13,
930,
2934,
588,
3899,
548,
10756,
288,
9506,
202,
3593,
467,
3773,
3899,
18,
42,
67,
20445,
55,
294,
6862,
202,
2463,
453,
4179,
29332,
3773,
18,
588,
1420,
780,
12,
3297,
67,
20445,
55,
1769,
9506,
202,
3593,
467,
3773,
3899,
18,
42,
67,
2053,
7192,
985,
8805,
294,
6862,
202,
2463,
453,
4179,
29332,
3773,
18,
588,
1420,
780,
12,
3297,
67,
2053,
7192,
985,
8805,
1769,
9506,
202,
3593,
467,
3773,
3899,
18,
42,
67,
12796,
67,
8941,
55,
294,
6862,
202,
2463,
453,
4179,
29332,
3773,
18,
588,
1420,
780,
12,
3297,
67,
2294,
8941,
55,
1769,
9506,
202,
3593,
467,
3773,
3899,
18,
42,
67,
12796,
55,
294,
6862,
202,
2463,
453,
4179,
29332,
3773,
18,
588,
1420,
780,
12,
3297,
67,
12796,
55,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
430,
261,
2956,
1276,
467,
3625,
13,
288,
1082,
202,
430,
261,
12443,
4243,
9132,
1350,
2249,
13,
25256,
18,
588,
1350,
2249,
1435,
2934,
291,
382,
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,
514,
6701,
12,
921,
930,
13,
288,
202,
202,
430,
261,
2956,
1276,
6258,
921,
4216,
13,
1082,
202,
2956,
273,
14015,
3773,
921,
4216,
13,
930,
2934,
588,
921,
5621,
202,
202,
430,
261,
2956,
1276,
467,
3773,
3187,
13,
288,
1082,
202,
2463,
14015,
45,
3773,
3187,
13,
2956,
2934,
588,
6303,
3004,
5621,
202,
202,
97,
202,
202,
430,
261,
2956,
1276,
467,
3773,
3899,
13,
288,
1082,
202,
9610,
261,
12443,
45,
3773,
3899,
13,
930,
2934,
588,
3899,
548,
10756,
288,
9506,
202,
3593,
467,
3773,
3899,
18,
42,
67,
20445,
55,
294,
6862,
202,
2463,
453,
4179,
29332,
3773,
18,
588,
1420,
780,
12,
3297,
67,
20445,
55,
1769,
9506,
2
] |
webEdit = (WebArtifactEdit) ModuleCore.getFirstArtifactEditForRead(prj);
|
webEdit = (WebArtifactEdit) StructureEdit.getFirstArtifactEditForRead(prj);
|
protected ILibModule[] getLibModules() { //TODO this will throw class cast exception, do we use ILibModule anymore? WebArtifactEdit webEdit = null; try { webEdit = (WebArtifactEdit) ModuleCore.getFirstArtifactEditForRead(prj); if (webEdit != null) return (ILibModule[]) webEdit.getLibModules(); } finally { if (webEdit != null) webEdit.dispose(); } return new ILibModule[] {}; }
|
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/0ef2c390b563971e3e8f29d60a6cc49f16ed21df/SynchronizeWLPoperation.java/clean/plugins/org.eclipse.jst.j2ee.web/webproject/org/eclipse/jst/j2ee/internal/web/operations/SynchronizeWLPoperation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
467,
5664,
3120,
8526,
336,
5664,
7782,
1435,
288,
202,
202,
759,
6241,
333,
903,
604,
667,
4812,
1520,
16,
741,
732,
999,
467,
5664,
3120,
16828,
35,
202,
202,
4079,
7581,
4666,
3311,
4666,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
4875,
4666,
273,
261,
4079,
7581,
4666,
13,
5924,
4670,
18,
588,
3759,
7581,
4666,
1290,
1994,
12,
683,
78,
1769,
1082,
202,
430,
261,
4875,
4666,
480,
446,
13,
9506,
202,
2463,
261,
2627,
495,
3120,
63,
5717,
3311,
4666,
18,
588,
5664,
7782,
5621,
202,
202,
97,
3095,
288,
1082,
202,
430,
261,
4875,
4666,
480,
446,
13,
9506,
202,
4875,
4666,
18,
2251,
4150,
5621,
202,
202,
97,
202,
202,
2463,
394,
467,
5664,
3120,
8526,
2618,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
467,
5664,
3120,
8526,
336,
5664,
7782,
1435,
288,
202,
202,
759,
6241,
333,
903,
604,
667,
4812,
1520,
16,
741,
732,
999,
467,
5664,
3120,
16828,
35,
202,
202,
4079,
7581,
4666,
3311,
4666,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
4875,
4666,
273,
261,
4079,
7581,
4666,
13,
5924,
4670,
18,
588,
3759,
7581,
4666,
1290,
1994,
12,
683,
78,
1769,
1082,
202,
430,
261,
4875,
4666,
480,
446,
13,
9506,
202,
2463,
261,
2627,
495,
3120,
63,
5717,
3311,
4666,
18,
588,
5664,
7782,
5621,
202,
202,
97,
3095,
288,
1082,
202,
430,
261,
4875,
4666,
480,
446,
13,
9506,
202,
4875,
4666,
18,
2251,
4150,
5621,
202,
202,
97,
202,
2
] |
return results;
|
return (File[]) results.toArray(new File[results.size()]);
|
protected File[] getClasspathFiles(String[] classpaths) { File[] results = new File[classpaths.length]; for (int i = 0; i < classpaths.length; i++) { if (".".equals(classpaths[i])) //$NON-NLS-1$ results[i] = getBaseFile(); else results[i] = getBaseBundleFile().getFile(classpaths[i]); } return results; }
|
2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/771476c8501cc1f93e7dce399a519ea4fbf9d531/AbstractBundleData.java/clean/bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/framework/adaptor/core/AbstractBundleData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1387,
8526,
2900,
803,
2697,
12,
780,
8526,
667,
4481,
13,
288,
202,
202,
812,
8526,
1686,
273,
394,
1387,
63,
1106,
4481,
18,
2469,
15533,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
667,
4481,
18,
2469,
31,
277,
27245,
288,
1082,
202,
430,
7566,
1199,
18,
14963,
12,
1106,
4481,
63,
77,
22643,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
4717,
63,
77,
65,
273,
8297,
812,
5621,
1082,
202,
12107,
9506,
202,
4717,
63,
77,
65,
273,
8297,
3405,
812,
7675,
29925,
12,
1106,
4481,
63,
77,
19226,
202,
202,
97,
202,
202,
2463,
1686,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1387,
8526,
2900,
803,
2697,
12,
780,
8526,
667,
4481,
13,
288,
202,
202,
812,
8526,
1686,
273,
394,
1387,
63,
1106,
4481,
18,
2469,
15533,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
667,
4481,
18,
2469,
31,
277,
27245,
288,
1082,
202,
430,
7566,
1199,
18,
14963,
12,
1106,
4481,
63,
77,
22643,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
4717,
63,
77,
65,
273,
8297,
812,
5621,
1082,
202,
12107,
9506,
202,
4717,
63,
77,
65,
273,
8297,
3405,
812,
7675,
29925,
12,
1106,
4481,
63,
77,
19226,
202,
202,
97,
202,
202,
2463,
1686,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
removeUnwatedExtensions();
|
removeUnwantedExtensions();
|
public void start(BundleContext context) throws Exception { this.context = context; RegistryProperties.setContext(context); createRegistry(); removeUnwatedExtensions(); }
|
52787 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52787/80e696a511708ae4b21e2d2ccb41b090501f001e/Activator.java/buggy/source/trunk/plugins/org.marketcetera.photon.registry/src/main/java/org/marketcetera/photon/registry/Activator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
787,
12,
3405,
1042,
819,
13,
1216,
1185,
288,
202,
202,
2211,
18,
2472,
273,
819,
31,
9506,
202,
4243,
2297,
18,
542,
1042,
12,
2472,
1769,
9506,
202,
2640,
4243,
5621,
202,
202,
4479,
984,
91,
690,
7513,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
787,
12,
3405,
1042,
819,
13,
1216,
1185,
288,
202,
202,
2211,
18,
2472,
273,
819,
31,
9506,
202,
4243,
2297,
18,
542,
1042,
12,
2472,
1769,
9506,
202,
2640,
4243,
5621,
202,
202,
4479,
984,
91,
690,
7513,
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
] |
static int get_map_element_index(java.lang.Object c, java.lang.Object e) {
|
static int get_map_element_index(java.lang.Object c, java.lang.Object n) {
|
static int get_map_element_index(java.lang.Object c, java.lang.Object e) { int index = -1; MapContainer mc = (MapContainer) c; if (mc != null) { MapElement me = (MapElement) e; if (me != null) { int i = index + 1; int size = MapHandler.get_map_container_size(c); java.lang.Object name = null; while (i < size) { name = ArrayHandler.get_array_element(mc.names, i); // If a null name is reached, then the name was not found. // In this case, reset index to -1. if (name == null) { break; } else { // If a name equal to the searched one is found, // then its index is the one to be returned. if (name.equals((java.lang.String) me.name)) { index = i; break; } } i++; } } else { System.out.println("ERROR: Could not get map element index. The map element is null."); } } else { System.out.println("ERROR: Could not get map element index. The map container is null."); } return index; }
|
11597 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11597/372738fe36182f0e29774c5bd618c8054f100ed1/MapHandler.java/buggy/trunk/src/cyboi/cyboi/MapHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
509,
336,
67,
1458,
67,
2956,
67,
1615,
12,
6290,
18,
4936,
18,
921,
276,
16,
2252,
18,
4936,
18,
921,
290,
13,
288,
3639,
509,
770,
273,
300,
21,
31,
3639,
1635,
2170,
6108,
273,
261,
863,
2170,
13,
276,
31,
3639,
309,
261,
13952,
480,
446,
13,
288,
13491,
1635,
1046,
1791,
273,
261,
863,
1046,
13,
425,
31,
13491,
309,
261,
3501,
480,
446,
13,
288,
10792,
509,
277,
273,
770,
397,
404,
31,
7734,
509,
963,
273,
1635,
1503,
18,
588,
67,
1458,
67,
3782,
67,
1467,
12,
71,
1769,
7734,
2252,
18,
4936,
18,
921,
508,
273,
446,
31,
10792,
1323,
261,
77,
411,
963,
13,
288,
13491,
508,
273,
1510,
1503,
18,
588,
67,
1126,
67,
2956,
12,
13952,
18,
1973,
16,
277,
1769,
13491,
368,
971,
279,
446,
508,
353,
8675,
16,
1508,
326,
508,
1703,
486,
1392,
18,
10792,
368,
657,
333,
648,
16,
2715,
770,
358,
300,
21,
18,
10792,
309,
261,
529,
422,
446,
13,
288,
18701,
898,
31,
4766,
3639,
289,
469,
288,
18701,
368,
971,
279,
508,
3959,
358,
326,
19242,
1245,
353,
1392,
16,
13491,
368,
1508,
2097,
770,
353,
326,
1245,
358,
506,
2106,
18,
13491,
309,
261,
529,
18,
14963,
12443,
6290,
18,
4936,
18,
780,
13,
1791,
18,
529,
3719,
288,
27573,
770,
273,
277,
31,
18701,
898,
31,
13491,
289,
10792,
289,
13491,
277,
9904,
31,
7734,
289,
5411,
289,
469,
288,
10792,
2332,
18,
659,
18,
8222,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
509,
336,
67,
1458,
67,
2956,
67,
1615,
12,
6290,
18,
4936,
18,
921,
276,
16,
2252,
18,
4936,
18,
921,
290,
13,
288,
3639,
509,
770,
273,
300,
21,
31,
3639,
1635,
2170,
6108,
273,
261,
863,
2170,
13,
276,
31,
3639,
309,
261,
13952,
480,
446,
13,
288,
13491,
1635,
1046,
1791,
273,
261,
863,
1046,
13,
425,
31,
13491,
309,
261,
3501,
480,
446,
13,
288,
10792,
509,
277,
273,
770,
397,
404,
31,
7734,
509,
963,
273,
1635,
1503,
18,
588,
67,
1458,
67,
3782,
67,
1467,
12,
71,
1769,
7734,
2252,
18,
4936,
18,
921,
508,
273,
446,
31,
10792,
1323,
261,
77,
411,
963,
13,
288,
13491,
508,
273,
1510,
1503,
2
] |
public abstract DocumentDomainObject[] search( Query query, UserDomainObject searchingUser ) throws IOException;
|
DocumentDomainObject[] search( Query query, UserDomainObject searchingUser ) throws IndexException;
|
public abstract DocumentDomainObject[] search( Query query, UserDomainObject searchingUser ) throws IOException;
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/de6a4aa076d00bce3af1543d093472bb5eb8b572/DocumentIndex.java/clean/server/src/imcode/server/document/index/DocumentIndex.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8770,
4319,
3748,
921,
8526,
1623,
12,
2770,
843,
16,
2177,
3748,
921,
15300,
1299,
262,
1216,
1860,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8770,
4319,
3748,
921,
8526,
1623,
12,
2770,
843,
16,
2177,
3748,
921,
15300,
1299,
262,
1216,
1860,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public org.quickfix.field.ClOrdID get(org.quickfix.field.ClOrdID value)
|
public quickfix.field.OrdType get(quickfix.field.OrdType value)
|
public org.quickfix.field.ClOrdID get(org.quickfix.field.ClOrdID value) throws FieldNotFound { getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderSingle.java/buggy/src/java/src/quickfix/fix42/NewOrderSingle.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9549,
904,
18,
1518,
18,
15383,
559,
336,
12,
19525,
904,
18,
1518,
18,
15383,
559,
225,
460,
13,
565,
1216,
2286,
2768,
225,
288,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9549,
904,
18,
1518,
18,
15383,
559,
336,
12,
19525,
904,
18,
1518,
18,
15383,
559,
225,
460,
13,
565,
1216,
2286,
2768,
225,
288,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return new DomCDATASection(this, buf, off, len);
|
return new DomCDATASection(this, value);
|
public CDATASection createCDATASection(char[] buf, int off, int len) { if (checkingCharacters) { checkChar(buf, off, len, "1.1".equals(version)); } return new DomCDATASection(this, buf, off, len); }
|
27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/7d27864ffb9b4cf63db1bfad84983248326cfb51/DomDocument.java/buggy/libjava/gnu/xml/dom/DomDocument.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
385,
11102,
3033,
794,
752,
10160,
789,
3033,
794,
12,
3001,
8526,
1681,
16,
509,
3397,
16,
509,
562,
13,
225,
288,
565,
309,
261,
24609,
11600,
13,
1377,
288,
3639,
866,
2156,
12,
4385,
16,
3397,
16,
562,
16,
315,
21,
18,
21,
9654,
14963,
12,
1589,
10019,
1377,
289,
565,
327,
394,
12965,
10160,
789,
3033,
794,
12,
2211,
16,
460,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
385,
11102,
3033,
794,
752,
10160,
789,
3033,
794,
12,
3001,
8526,
1681,
16,
509,
3397,
16,
509,
562,
13,
225,
288,
565,
309,
261,
24609,
11600,
13,
1377,
288,
3639,
866,
2156,
12,
4385,
16,
3397,
16,
562,
16,
315,
21,
18,
21,
9654,
14963,
12,
1589,
10019,
1377,
289,
565,
327,
394,
12965,
10160,
789,
3033,
794,
12,
2211,
16,
460,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if(textureUnit >= 0 && textureUnit < idCache.length) {
|
if (textureUnit < idCache.length && textureUnit >= 0) {
|
public final int getTextureID(int textureUnit) { if(textureUnit >= 0 && textureUnit < idCache.length) { return idCache[textureUnit]; } return 0; }
|
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/47eb9c7496058ab34e63bfc0ba0882051eb0627d/TextureState.java/buggy/src/com/jme/scene/state/TextureState.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
509,
6701,
594,
734,
12,
474,
11428,
2802,
13,
288,
3639,
309,
261,
955,
594,
2802,
411,
612,
1649,
18,
2469,
597,
11428,
2802,
1545,
374,
13,
288,
5411,
327,
612,
1649,
63,
955,
594,
2802,
15533,
3639,
289,
5397,
327,
374,
31,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
509,
6701,
594,
734,
12,
474,
11428,
2802,
13,
288,
3639,
309,
261,
955,
594,
2802,
411,
612,
1649,
18,
2469,
597,
11428,
2802,
1545,
374,
13,
288,
5411,
327,
612,
1649,
63,
955,
594,
2802,
15533,
3639,
289,
5397,
327,
374,
31,
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
] |
SchemaType.Ref result = (SchemaType.Ref)_attributeCache.get(name); if (result == null && !_attributeCache.containsKey(name))
|
Object cached = _attributeTypeCache.get(name); if (cached == CACHED_NOT_FOUND) return null; SchemaType.Ref result = (SchemaType.Ref) cached; if (result == null)
|
public SchemaType.Ref findAttributeTypeRef(QName name) { SchemaType.Ref result = (SchemaType.Ref)_attributeCache.get(name); if (result == null && !_attributeCache.containsKey(name)) { for (int i = 0; i < _searchPath.length; i++) if (null != (result = _searchPath[i].findAttributeTypeRef(name))) break; if (result == null) { SchemaTypeSystem ts = typeSystemForComponent("schema" + METADATA_PACKAGE_LOAD + "/attribute/", name); if (ts != null) { result = ts.findAttributeTypeRef(name); assert(result != null) : "Type system registered attribute " + QNameHelper.pretty(name) + " but does not contain attribute type"; } } _attributeCache.put(name, result); } return result; }
|
3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/71e0a11a7cb0d388f45892a0724854ac61dc8ab1/SchemaTypeLoaderImpl.java/buggy/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeLoaderImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4611,
559,
18,
1957,
1104,
19529,
1957,
12,
13688,
508,
13,
565,
288,
3639,
4611,
559,
18,
1957,
563,
273,
261,
3078,
559,
18,
1957,
13,
67,
4589,
1649,
18,
588,
12,
529,
1769,
3639,
309,
261,
2088,
422,
446,
597,
401,
67,
4589,
1649,
18,
12298,
653,
12,
529,
3719,
3639,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
389,
3072,
743,
18,
2469,
31,
277,
27245,
7734,
309,
261,
2011,
480,
261,
2088,
273,
389,
3072,
743,
63,
77,
8009,
4720,
19529,
1957,
12,
529,
20349,
10792,
898,
31,
5411,
309,
261,
2088,
422,
446,
13,
5411,
288,
7734,
4611,
559,
3163,
3742,
273,
618,
3163,
1290,
1841,
2932,
4821,
6,
397,
24175,
67,
19077,
67,
7783,
397,
2206,
4589,
19,
3113,
508,
1769,
7734,
309,
261,
3428,
480,
446,
13,
7734,
288,
10792,
563,
273,
3742,
18,
4720,
19529,
1957,
12,
529,
1769,
10792,
1815,
12,
2088,
480,
446,
13,
294,
315,
559,
2619,
4104,
1566,
315,
397,
16723,
2276,
18,
19073,
12,
529,
13,
397,
315,
1496,
1552,
486,
912,
1566,
618,
14432,
7734,
289,
5411,
289,
5411,
389,
4589,
1649,
18,
458,
12,
529,
16,
563,
1769,
3639,
289,
3639,
327,
563,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4611,
559,
18,
1957,
1104,
19529,
1957,
12,
13688,
508,
13,
565,
288,
3639,
4611,
559,
18,
1957,
563,
273,
261,
3078,
559,
18,
1957,
13,
67,
4589,
1649,
18,
588,
12,
529,
1769,
3639,
309,
261,
2088,
422,
446,
597,
401,
67,
4589,
1649,
18,
12298,
653,
12,
529,
3719,
3639,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
389,
3072,
743,
18,
2469,
31,
277,
27245,
7734,
309,
261,
2011,
480,
261,
2088,
273,
389,
3072,
743,
63,
77,
8009,
4720,
19529,
1957,
12,
529,
20349,
10792,
898,
31,
5411,
309,
261,
2088,
422,
446,
13,
5411,
288,
7734,
4611,
559,
3163,
3742,
273,
618,
3163,
1290,
1841,
2932,
4821,
6,
397,
2
] |
suite.addTest(new TestSuite(SvnLogUtilsTest.class));
|
public static Test suite() { TestSuite suite = new TestSuite("Test for net.sf.statcvs.util"); //$JUnit-BEGIN$ suite.addTest(new TestSuite(SvnLogUtilsTest.class)); suite.addTest(new TestSuite(FileUtilsTest.class)); suite.addTest(new TestSuite(IntegerMapTest.class)); suite.addTest(new TestSuite(LookaheadReaderTest.class)); suite.addTest(new TestSuite(OutputUtilsTest.class)); suite.addTest(new TestSuite(FilePatternMatcherTest.class)); //$JUnit-END$ return suite; }
|
49097 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49097/423c673cef5faa0b171b7adfc6bec522bb63fc49/AllTests.java/clean/tests-src/net/sf/statcvs/util/AllTests.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
7766,
11371,
1435,
288,
202,
202,
4709,
13587,
11371,
273,
394,
7766,
13587,
2932,
4709,
364,
2901,
18,
21668,
18,
5642,
71,
6904,
18,
1367,
8863,
202,
202,
759,
8,
46,
2802,
17,
16061,
8,
202,
202,
30676,
18,
1289,
4709,
12,
2704,
7766,
13587,
12,
55,
25031,
1343,
1989,
4709,
18,
1106,
10019,
202,
202,
30676,
18,
1289,
4709,
12,
2704,
7766,
13587,
12,
812,
1989,
4709,
18,
1106,
10019,
202,
202,
30676,
18,
1289,
4709,
12,
2704,
7766,
13587,
12,
4522,
863,
4709,
18,
1106,
10019,
202,
202,
30676,
18,
1289,
4709,
12,
2704,
7766,
13587,
12,
9794,
11617,
2514,
4709,
18,
1106,
10019,
202,
202,
30676,
18,
1289,
4709,
12,
2704,
7766,
13587,
12,
1447,
1989,
4709,
18,
1106,
10019,
202,
202,
30676,
18,
1289,
4709,
12,
2704,
7766,
13587,
12,
812,
3234,
6286,
4709,
18,
1106,
10019,
202,
202,
759,
8,
46,
2802,
17,
4415,
8,
202,
202,
2463,
11371,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
7766,
11371,
1435,
288,
202,
202,
4709,
13587,
11371,
273,
394,
7766,
13587,
2932,
4709,
364,
2901,
18,
21668,
18,
5642,
71,
6904,
18,
1367,
8863,
202,
202,
759,
8,
46,
2802,
17,
16061,
8,
202,
202,
30676,
18,
1289,
4709,
12,
2704,
7766,
13587,
12,
55,
25031,
1343,
1989,
4709,
18,
1106,
10019,
202,
202,
30676,
18,
1289,
4709,
12,
2704,
7766,
13587,
12,
812,
1989,
4709,
18,
1106,
10019,
202,
202,
30676,
18,
1289,
4709,
12,
2704,
7766,
13587,
12,
4522,
863,
4709,
18,
1106,
10019,
202,
202,
30676,
18,
1289,
4709,
12,
2704,
7766,
13587,
12,
9794,
11617,
2514,
4709,
18,
1106,
10019,
202,
202,
30676,
18,
1289,
4709,
12,
2704,
7766,
2
] |
|
debug("read tag == " + val.getTag());
|
if (Configuration.DEBUG) log.fine("read tag == " + val.getTag());
|
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded = val.getEncoded(); // tbsCertList ::= SEQUENCE { -- TBSCertList val = der.read(); if (!val.isConstructed()) throw new IOException("malformed TBSCertList"); debug("start tbsCertList len == " + val.getLength()); tbsCRLBytes = val.getEncoded(); // version Version OPTIONAL, // -- If present must be v2 val = der.read(); if (val.getValue() instanceof BigInteger) { version = ((BigInteger) val.getValue()).intValue() + 1; val = der.read(); } else version = 1; debug("read version == " + version); // signature AlgorithmIdentifier, debug("start AlgorithmIdentifier len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed AlgorithmIdentifier"); DERValue algIdVal = der.read(); algId = (OID) algIdVal.getValue(); debug("read object identifier == " + algId); if (val.getLength() > algIdVal.getEncodedLength()) { val = der.read(); debug("read parameters len == " + val.getEncodedLength()); algParams = val.getEncoded(); if (val.isConstructed()) in.skip(val.getLength()); } // issuer Name, val = der.read(); issuerDN = new X500DistinguishedName(val.getEncoded()); der.skip(val.getLength()); debug("read issuer == " + issuerDN); // thisUpdate Time, thisUpdate = (Date) der.read().getValue(); debug("read thisUpdate == " + thisUpdate); // nextUpdate Time OPTIONAL, val = der.read(); if (val.getValue() instanceof Date) { nextUpdate = (Date) val.getValue(); debug("read nextUpdate == " + nextUpdate); val = der.read(); } // revokedCertificates SEQUENCE OF SEQUENCE { // -- X509CRLEntry objects... // } OPTIONAL, if (val.getTag() != 0) { int len = 0; while (len < val.getLength()) { X509CRLEntry entry = new X509CRLEntry(version, der); revokedCerts.put(entry.getSerialNumber(), entry); len += entry.getEncoded().length; } val = der.read(); } // crlExtensions [0] EXPLICIT Extensions OPTIONAL // -- if present MUST be v2 if (val.getTagClass() != DER.UNIVERSAL && val.getTag() == 0) { if (version < 2) throw new IOException("extra data in CRL"); DERValue exts = der.read(); if (!exts.isConstructed()) throw new IOException("malformed Extensions"); debug("start Extensions len == " + exts.getLength()); int len = 0; while (len < exts.getLength()) { DERValue ext = der.read(); if (!ext.isConstructed()) throw new IOException("malformed Extension"); Extension e = new Extension(ext.getEncoded()); extensions.put(e.getOid(), e); der.skip(ext.getLength()); len += ext.getEncodedLength(); debug("current count == " + len); } val = der.read(); } debug("read tag == " + val.getTag()); if (!val.isConstructed()) throw new IOException("malformed AlgorithmIdentifier"); debug("start AlgorithmIdentifier len == " + val.getLength()); DERValue sigAlgVal = der.read(); debug("read tag == " + sigAlgVal.getTag()); if (sigAlgVal.getTag() != DER.OBJECT_IDENTIFIER) throw new IOException("malformed AlgorithmIdentifier"); sigAlg = (OID) sigAlgVal.getValue(); debug("signature id == " + sigAlg); debug("sigAlgVal length == " + sigAlgVal.getEncodedLength()); if (val.getLength() > sigAlgVal.getEncodedLength()) { val = der.read(); debug("sig params tag = " + val.getTag() + " len == " + val.getEncodedLength()); sigAlgParams = (byte[]) val.getEncoded(); if (val.isConstructed()) in.skip(val.getLength()); } val = der.read(); debug("read tag = " + val.getTag()); rawSig = val.getEncoded(); signature = ((BitString) val.getValue()).toByteArray(); }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRL.java/clean/core/src/classpath/gnu/gnu/java/security/x509/X509CRL.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1109,
12,
4348,
316,
13,
1216,
1185,
225,
288,
565,
368,
6660,
682,
493,
33,
27118,
288,
565,
21801,
2514,
4854,
273,
394,
21801,
2514,
12,
267,
1769,
565,
21801,
620,
1244,
273,
4854,
18,
896,
5621,
565,
1198,
2932,
1937,
6660,
682,
562,
422,
315,
397,
1244,
18,
588,
1782,
10663,
565,
309,
16051,
1125,
18,
291,
7249,
329,
10756,
1377,
604,
394,
1860,
2932,
81,
8246,
6660,
682,
8863,
565,
3749,
273,
1244,
18,
588,
10397,
5621,
565,
368,
282,
268,
2038,
5461,
682,
493,
33,
27118,
288,
225,
1493,
399,
38,
2312,
1051,
682,
565,
1244,
273,
4854,
18,
896,
5621,
565,
309,
16051,
1125,
18,
291,
7249,
329,
10756,
1377,
604,
394,
1860,
2932,
81,
8246,
399,
38,
2312,
1051,
682,
8863,
565,
1198,
2932,
1937,
268,
2038,
5461,
682,
225,
562,
422,
315,
397,
1244,
18,
588,
1782,
10663,
565,
268,
2038,
29524,
2160,
273,
1244,
18,
588,
10397,
5621,
565,
368,
377,
1177,
565,
4049,
14930,
16,
565,
368,
5375,
1493,
971,
3430,
1297,
506,
331,
22,
565,
1244,
273,
4854,
18,
896,
5621,
565,
309,
261,
1125,
18,
24805,
1435,
1276,
10246,
13,
1377,
288,
3639,
1177,
273,
14015,
24198,
13,
1244,
18,
24805,
1435,
2934,
474,
620,
1435,
397,
404,
31,
3639,
1244,
273,
4854,
18,
896,
5621,
1377,
289,
565,
469,
1377,
1177,
273,
404,
31,
565,
1198,
2932,
896,
1177,
422,
315,
397,
1177,
1769,
565,
368,
377,
3372,
282,
15067,
3004,
16,
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,
3238,
918,
1109,
12,
4348,
316,
13,
1216,
1185,
225,
288,
565,
368,
6660,
682,
493,
33,
27118,
288,
565,
21801,
2514,
4854,
273,
394,
21801,
2514,
12,
267,
1769,
565,
21801,
620,
1244,
273,
4854,
18,
896,
5621,
565,
1198,
2932,
1937,
6660,
682,
562,
422,
315,
397,
1244,
18,
588,
1782,
10663,
565,
309,
16051,
1125,
18,
291,
7249,
329,
10756,
1377,
604,
394,
1860,
2932,
81,
8246,
6660,
682,
8863,
565,
3749,
273,
1244,
18,
588,
10397,
5621,
565,
368,
282,
268,
2038,
5461,
682,
493,
33,
27118,
288,
225,
1493,
399,
38,
2312,
1051,
682,
565,
1244,
273,
4854,
18,
896,
5621,
565,
309,
16051,
1125,
18,
291,
7249,
329,
10756,
1377,
604,
394,
2
] |
public void contextReleased(Context cx) {
|
public void contextReleased(Context cx) {
|
public void contextReleased(Context cx) { if (type != IPROXY_LISTEN) Kit.codeBug(); }
|
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/e4c74a91b5c4165a9c90cde4d7b2ddd72e81af8d/Dim.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Dim.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
819,
26363,
12,
1042,
9494,
13,
3639,
288,
5411,
309,
261,
723,
480,
2971,
1457,
8546,
67,
7085,
1157,
13,
1475,
305,
18,
710,
19865,
5621,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
819,
26363,
12,
1042,
9494,
13,
3639,
288,
5411,
309,
261,
723,
480,
2971,
1457,
8546,
67,
7085,
1157,
13,
1475,
305,
18,
710,
19865,
5621,
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
] |
}
|
public static final byte[] fromBase64(String str) { int len = str.length(); if (len == 0) { throw new NumberFormatException("Empty string"); } byte[] a = new byte[len + 1]; int i, j; for (i = 0; i < len; i++) { try { a[i] = (byte) BASE64_CHARS.indexOf(str.charAt(i)); } catch (ArrayIndexOutOfBoundsException x) { throw new NumberFormatException("Illegal character at #" + i); } } i = len - 1; j = len; try { while (true) { a[j] = a[i]; if (--i < 0) { break; } a[j] |= (a[i] & 0x03) << 6; j--; a[j] = (byte) ((a[i] & 0x3C) >>> 2); if (--i < 0) { break; } a[j] |= (a[i] & 0x0F) << 4; j--; a[j] = (byte) ((a[i] & 0x30) >>> 4); if (--i < 0) { break; } a[j] |= (a[i] << 2); j--; a[j] = 0; if (--i < 0) { break; } } } catch (Exception ignored) { } try { // ignore leading 0-bytes while (a[j] == 0) { j++; } } catch (Exception x) { return new byte[1]; // one 0-byte } byte[] result = new byte[len - j + 1]; System.arraycopy(a, j, result, 0, len - j + 1); return result; }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3a66fbdd7aa8ebdfaab43610332f1a4d60081b57/Util.java/buggy/core/src/classpath/gnu/gnu/java/security/util/Util.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
727,
1160,
8526,
628,
2171,
1105,
12,
780,
609,
13,
225,
288,
565,
509,
562,
273,
609,
18,
2469,
5621,
565,
309,
261,
1897,
422,
374,
13,
1377,
288,
3639,
604,
394,
12100,
2932,
1921,
533,
8863,
540,
1160,
8526,
279,
273,
394,
1160,
63,
1897,
397,
404,
15533,
565,
509,
277,
16,
525,
31,
565,
364,
261,
77,
273,
374,
31,
277,
411,
562,
31,
277,
27245,
1377,
288,
3639,
775,
1850,
288,
5411,
279,
63,
77,
65,
273,
261,
7229,
13,
10250,
1105,
67,
21666,
18,
31806,
12,
701,
18,
3001,
861,
12,
77,
10019,
1171,
1044,
261,
1076,
30548,
619,
13,
1850,
288,
5411,
604,
394,
12100,
2932,
12195,
3351,
622,
31526,
397,
277,
1769,
5375,
277,
273,
562,
300,
404,
31,
565,
525,
273,
562,
31,
565,
775,
1377,
288,
3639,
1323,
261,
3767,
13,
1850,
288,
5411,
279,
63,
78,
65,
273,
279,
63,
77,
15533,
5411,
309,
261,
413,
77,
411,
374,
13,
2868,
288,
7734,
898,
31,
7682,
279,
63,
78,
65,
5626,
261,
69,
63,
77,
65,
473,
374,
92,
4630,
13,
2296,
1666,
31,
5411,
525,
413,
31,
5411,
279,
63,
78,
65,
273,
261,
7229,
13,
14015,
69,
63,
77,
65,
473,
374,
92,
23,
39,
13,
4080,
576,
1769,
5411,
309,
261,
413,
77,
411,
374,
13,
2868,
288,
7734,
898,
31,
7682,
279,
63,
78,
65,
5626,
261,
69,
63,
77,
65,
473,
374,
92,
20,
42,
13,
2296,
1059,
31,
5411,
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,
1160,
8526,
628,
2171,
1105,
12,
780,
609,
13,
225,
288,
565,
509,
562,
273,
609,
18,
2469,
5621,
565,
309,
261,
1897,
422,
374,
13,
1377,
288,
3639,
604,
394,
12100,
2932,
1921,
533,
8863,
540,
1160,
8526,
279,
273,
394,
1160,
63,
1897,
397,
404,
15533,
565,
509,
277,
16,
525,
31,
565,
364,
261,
77,
273,
374,
31,
277,
411,
562,
31,
277,
27245,
1377,
288,
3639,
775,
1850,
288,
5411,
279,
63,
77,
65,
273,
261,
7229,
13,
10250,
1105,
67,
21666,
18,
31806,
12,
701,
18,
3001,
861,
12,
77,
10019,
1171,
1044,
261,
1076,
30548,
619,
13,
1850,
288,
5411,
604,
394,
12100,
2932,
12195,
3351,
622,
31526,
397,
2
] |
|
final boolean isFinal() {
|
final boolean isFinal() throws VM_PragmaUninterruptible {
|
final boolean isFinal() { if (VM.VerifyAssertions) VM.assert(declaringClass.isLoaded()); if (VM.VerifyAssertions) VM.assert(isLoaded()); return (modifiers & ACC_FINAL) != 0; }
|
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/4bdcfd89af42d1c4725b81c48f2ebe6f7e29ed82/VM_Method.java/buggy/rvm/src/vm/classLoader/VM_Method.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1250,
29200,
1435,
1216,
8251,
67,
2050,
9454,
984,
31847,
1523,
288,
565,
309,
261,
7397,
18,
8097,
8213,
1115,
13,
8251,
18,
11231,
12,
8840,
14682,
18,
291,
8835,
10663,
565,
309,
261,
7397,
18,
8097,
8213,
1115,
13,
8251,
18,
11231,
12,
291,
8835,
10663,
565,
327,
261,
15432,
473,
18816,
67,
7263,
1013,
13,
480,
374,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1250,
29200,
1435,
1216,
8251,
67,
2050,
9454,
984,
31847,
1523,
288,
565,
309,
261,
7397,
18,
8097,
8213,
1115,
13,
8251,
18,
11231,
12,
8840,
14682,
18,
291,
8835,
10663,
565,
309,
261,
7397,
18,
8097,
8213,
1115,
13,
8251,
18,
11231,
12,
291,
8835,
10663,
565,
327,
261,
15432,
473,
18816,
67,
7263,
1013,
13,
480,
374,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
dumpMethods();
|
if (verbose>=6) { dumpMethods(); }
|
static private void setUpCallbacks() { VM_Callbacks.addAppStartMonitor(new VM_Callbacks.AppStartMonitor() { public void notifyAppStart(String app) { if(verbose>=1) VM.sysWriteln("VM_HPMs.notifyAppStart(",app,")"); if (hpm_thread_group) { report_MyGroup(); } else { if(verbose>=0) { stopUpdateResetReportAndStart(); } else { stopUpdateResetAndStart(); } } if(verbose>=1) VM.sysWriteln("VM_HPMs.notifyAppStart(",app,") finished"); } }); VM_Callbacks.addAppRunStartMonitor(new VM_Callbacks.AppRunStartMonitor() { public void notifyAppRunStart(String app, int run) { if(verbose>=1) VM.sysWriteln("VM_HPMs.notifyAppRunStart(",app,",", run,")"); if (hpm_thread_group) { report_MyGroup(); } else { if(verbose>=0) { stopUpdateResetReportAndStart(); } else { stopUpdateResetAndStart(); } } if(verbose>=1) VM.sysWriteln("VM_HPMs.notifyAppRunStart(",app,",", run,") finished"); } }); VM_Callbacks.addAppRunCompleteMonitor(new VM_Callbacks.AppRunCompleteMonitor() { public void notifyAppRunComplete(String app, int run) { if(verbose>=1) VM.sysWriteln("VM_HPMs.notifyAppRunComplete(",app,",", run,")"); if (hpm_thread_group) { report_MyGroup(); } else { if(verbose>=0) { stopUpdateResetReportAndStart(); } else { stopUpdateResetAndStart(); } } if(verbose>=1) VM.sysWriteln("VM_HPMs.notifyAppRunComplete(",app,",", run,") finished"); } }); VM_Callbacks.addAppCompleteMonitor(new VM_Callbacks.AppCompleteMonitor() { public void notifyAppComplete(String app) { if(verbose>=1) VM.sysWriteln("VM_HPMs.notifyAppComplete(",app,")"); if (hpm_thread_group) { report_MyGroup(); } else { if(verbose>=0) { stopUpdateResetReportAndStart(); } else { stopUpdateResetAndStart(); } } if(verbose>=1) VM.sysWriteln("VM_HPMs.notifyAppRunComplete(",app,") finished"); } }); VM_Callbacks.addExitMonitor(new VM_Callbacks.ExitMonitor() { public void notifyExit(int value) { if(verbose>=1) VM.sysWriteln("VM_HPMs.notifyExit(",value,")"); if (hpm_thread_group) { stopAndReport_MyGroup(); } else { if(verbose>=0) { stopUpdateResetAndReport(); } else { stopUpdateAndReset(); } } //BEGIN HRM dumpMethods(); //END HRM if(verbose>=1) VM.sysWriteln("VM_HPMs.notifyExit(",value,") finished"); } }); }
|
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/eed39905ce646daa6a8f2aea590f90525d5c49bd/VM_HardwarePerformanceMonitors.java/buggy/rvm/src/vm/arch/powerPC/runtime/VM_HardwarePerformanceMonitors.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
3238,
918,
24292,
10617,
1435,
225,
288,
565,
8251,
67,
10617,
18,
1289,
3371,
1685,
7187,
12,
2704,
8251,
67,
10617,
18,
3371,
1685,
7187,
1435,
288,
3639,
1071,
918,
5066,
3371,
1685,
12,
780,
595,
13,
288,
6647,
309,
12,
11369,
34,
33,
21,
13,
8251,
18,
9499,
4913,
292,
82,
2932,
7397,
67,
2500,
6947,
18,
12336,
3371,
1685,
2932,
16,
2910,
10837,
2225,
1769,
202,
225,
309,
261,
76,
7755,
67,
5930,
67,
1655,
13,
288,
202,
565,
2605,
67,
12062,
1114,
5621,
202,
225,
289,
469,
288,
202,
565,
309,
12,
11369,
34,
33,
20,
13,
288,
202,
1377,
2132,
1891,
7013,
4820,
1876,
1685,
5621,
3196,
565,
289,
469,
288,
202,
1377,
2132,
1891,
7013,
1876,
1685,
5621,
202,
565,
289,
202,
225,
289,
1850,
309,
12,
11369,
34,
33,
21,
13,
8251,
18,
9499,
4913,
292,
82,
2932,
7397,
67,
2500,
6947,
18,
12336,
3371,
1685,
2932,
16,
2910,
16,
7923,
6708,
8863,
3639,
289,
565,
15549,
565,
8251,
67,
10617,
18,
1289,
3371,
1997,
1685,
7187,
12,
2704,
8251,
67,
10617,
18,
3371,
1997,
1685,
7187,
1435,
288,
3639,
1071,
918,
5066,
3371,
1997,
1685,
12,
780,
595,
16,
509,
1086,
13,
288,
6647,
309,
12,
11369,
34,
33,
21,
13,
8251,
18,
9499,
4913,
292,
82,
2932,
7397,
67,
2500,
6947,
18,
12336,
3371,
1997,
1685,
2932,
16,
2910,
16,
3113,
3113,
1086,
10837,
2225,
1769,
202,
225,
309,
261,
76,
7755,
67,
5930,
67,
1655,
13,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
3238,
918,
24292,
10617,
1435,
225,
288,
565,
8251,
67,
10617,
18,
1289,
3371,
1685,
7187,
12,
2704,
8251,
67,
10617,
18,
3371,
1685,
7187,
1435,
288,
3639,
1071,
918,
5066,
3371,
1685,
12,
780,
595,
13,
288,
6647,
309,
12,
11369,
34,
33,
21,
13,
8251,
18,
9499,
4913,
292,
82,
2932,
7397,
67,
2500,
6947,
18,
12336,
3371,
1685,
2932,
16,
2910,
10837,
2225,
1769,
202,
225,
309,
261,
76,
7755,
67,
5930,
67,
1655,
13,
288,
202,
565,
2605,
67,
12062,
1114,
5621,
202,
225,
289,
469,
288,
202,
565,
309,
12,
11369,
34,
33,
20,
13,
288,
202,
1377,
2132,
1891,
7013,
4820,
1876,
1685,
5621,
3196,
565,
289,
469,
288,
202,
1377,
2
] |
renderGroup(node);
|
renderGroup(node, hideTopTrim);
|
public void build(SMenuLayout layout) { tearDown(); // Get all 'trim' related info ILayoutNode trimInfo = layout.getBar(SBar.TYPE_TRIM); // Walk the layout tree 'rendering' its elements List kids = trimInfo.getChildrenSorted(); for (Iterator iter = kids.iterator(); iter.hasNext();) { ILayoutNode node = (ILayoutNode) iter.next(); MenuElement element = node.getMenuElement(); if (element instanceof SWidget) { SWidget widget = (SWidget) element; renderTrim(null, widget); } else if (element instanceof SGroup) { renderGroup(node); } } }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/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,
3196,
202,
482,
918,
1361,
12,
55,
4599,
3744,
3511,
13,
288,
1082,
202,
736,
297,
4164,
5621,
1082,
202,
759,
968,
777,
296,
5290,
11,
3746,
1123,
1082,
202,
2627,
2012,
907,
2209,
966,
273,
3511,
18,
588,
5190,
12,
55,
5190,
18,
2399,
67,
6566,
49,
1769,
1082,
202,
759,
7564,
326,
3511,
2151,
296,
5902,
310,
11,
2097,
2186,
1082,
202,
682,
417,
2232,
273,
2209,
966,
18,
588,
4212,
11739,
5621,
1082,
202,
1884,
261,
3198,
1400,
273,
417,
2232,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
9506,
202,
2627,
2012,
907,
756,
273,
261,
2627,
2012,
907,
13,
1400,
18,
4285,
5621,
9506,
202,
4599,
1046,
930,
273,
756,
18,
588,
4599,
1046,
5621,
9506,
202,
430,
261,
2956,
1276,
348,
4609,
13,
288,
6862,
202,
55,
4609,
3604,
273,
261,
55,
4609,
13,
930,
31,
6862,
202,
5902,
14795,
12,
2011,
16,
3604,
1769,
9506,
202,
97,
469,
309,
261,
2956,
1276,
348,
1114,
13,
288,
6862,
202,
5902,
1114,
12,
2159,
1769,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1361,
12,
55,
4599,
3744,
3511,
13,
288,
1082,
202,
736,
297,
4164,
5621,
1082,
202,
759,
968,
777,
296,
5290,
11,
3746,
1123,
1082,
202,
2627,
2012,
907,
2209,
966,
273,
3511,
18,
588,
5190,
12,
55,
5190,
18,
2399,
67,
6566,
49,
1769,
1082,
202,
759,
7564,
326,
3511,
2151,
296,
5902,
310,
11,
2097,
2186,
1082,
202,
682,
417,
2232,
273,
2209,
966,
18,
588,
4212,
11739,
5621,
1082,
202,
1884,
261,
3198,
1400,
273,
417,
2232,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
9506,
202,
2627,
2012,
907,
756,
273,
261,
2627,
2012,
907,
13,
1400,
18,
4285,
5621,
9506,
202,
4599,
1046,
930,
273,
756,
18,
588,
2
] |
needCleanup = wasKilled || runstate == TaskStatus.FAILED;
|
needCleanup = runstate == TaskStatus.FAILED;
|
public void taskFinished() { long start = System.currentTimeMillis(); // // Wait until task reports as done. If it hasn't reported in, // wait for a second and try again. // while (! done && (System.currentTimeMillis() - start < WAIT_FOR_DONE)) { try { Thread.sleep(1000); } catch (InterruptedException ie) { } } // // Change state to success or failure, depending on whether // task was 'done' before terminating // boolean needCleanup = false; synchronized (this) { if (done) { runstate = TaskStatus.SUCCEEDED; } else { if (!wasKilled) { failures += 1; } runstate = TaskStatus.FAILED; } needCleanup = wasKilled || runstate == TaskStatus.FAILED; } // // If the task has failed, or if the task was killAndCleanup()'ed, // we should clean up right away. We only wait to cleanup // if the task succeeded, and its results might be useful // later on to downstream job processing. // if (needCleanup) { try { cleanup(); } catch (IOException ie) { } } }
|
49935 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49935/3a463f2d93d550205141db286f6b61ac79aa056d/TaskTracker.java/buggy/src/java/org/apache/hadoop/mapred/TaskTracker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1562,
10577,
1435,
288,
5411,
1525,
787,
273,
2332,
18,
2972,
28512,
5621,
5411,
368,
5411,
368,
5838,
3180,
1562,
10557,
487,
2731,
18,
225,
971,
518,
13342,
1404,
14010,
316,
16,
5411,
368,
2529,
364,
279,
2205,
471,
775,
3382,
18,
5411,
368,
5411,
1323,
16051,
2731,
597,
261,
3163,
18,
2972,
28512,
1435,
300,
787,
411,
26859,
67,
7473,
67,
26875,
3719,
288,
7734,
775,
288,
10792,
4884,
18,
19607,
12,
18088,
1769,
7734,
289,
1044,
261,
24485,
503,
9228,
13,
288,
7734,
289,
5411,
289,
5411,
368,
5411,
368,
7576,
919,
358,
2216,
578,
5166,
16,
8353,
603,
2856,
5411,
368,
1562,
1703,
296,
8734,
11,
1865,
28619,
5411,
368,
5411,
1250,
1608,
15007,
273,
629,
31,
5411,
3852,
261,
2211,
13,
288,
2868,
309,
261,
8734,
13,
288,
5375,
1086,
2019,
273,
29628,
18,
6639,
39,
26031,
31,
2868,
289,
469,
288,
5375,
309,
16051,
17416,
47,
13148,
13,
288,
10792,
11720,
1011,
404,
31,
5375,
289,
5375,
1086,
2019,
273,
29628,
18,
11965,
31,
2868,
289,
9079,
1608,
15007,
273,
1086,
2019,
422,
29628,
18,
11965,
31,
5411,
289,
5411,
368,
5411,
368,
971,
326,
1562,
711,
2535,
16,
578,
309,
326,
1562,
1703,
8673,
1876,
15007,
11866,
329,
16,
5411,
368,
732,
1410,
2721,
731,
2145,
10804,
18,
225,
1660,
1338,
2529,
358,
6686,
5411,
368,
309,
326,
1562,
15784,
16,
471,
2097,
1686,
4825,
506,
5301,
5411,
368,
5137,
603,
358,
18186,
1719,
4929,
18,
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,
540,
1071,
918,
1562,
10577,
1435,
288,
5411,
1525,
787,
273,
2332,
18,
2972,
28512,
5621,
5411,
368,
5411,
368,
5838,
3180,
1562,
10557,
487,
2731,
18,
225,
971,
518,
13342,
1404,
14010,
316,
16,
5411,
368,
2529,
364,
279,
2205,
471,
775,
3382,
18,
5411,
368,
5411,
1323,
16051,
2731,
597,
261,
3163,
18,
2972,
28512,
1435,
300,
787,
411,
26859,
67,
7473,
67,
26875,
3719,
288,
7734,
775,
288,
10792,
4884,
18,
19607,
12,
18088,
1769,
7734,
289,
1044,
261,
24485,
503,
9228,
13,
288,
7734,
289,
5411,
289,
5411,
368,
5411,
368,
7576,
919,
358,
2216,
578,
5166,
16,
8353,
603,
2856,
5411,
368,
1562,
1703,
296,
8734,
11,
1865,
28619,
5411,
368,
5411,
1250,
1608,
2
] |
return getIfMap().keySet();
|
return getIfMap().values();
|
public Collection getIfInfos() { return getIfMap().keySet(); }
|
11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/2ec3d529f0ab6ed891fe376981eb74d0a656612c/CollectionSet.java/clean/src/services/org/opennms/netmgt/collectd/CollectionSet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2200,
336,
2047,
7655,
1435,
288,
3639,
327,
336,
2047,
863,
7675,
2372,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2200,
336,
2047,
7655,
1435,
288,
3639,
327,
336,
2047,
863,
7675,
2372,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
index = newLine.indexOf( "SNAPSHOT" );
|
index = newLine.lastIndexOf( "SNAPSHOT" );
|
private static List replaceArtifacts( String line ) { String MARKER = "${artifact:"; int index = line.indexOf( MARKER ); if ( index >= 0 ) { String newLine = line.substring( 0, index ); index = line.indexOf( "}", index ); if ( index < 0 ) { throw new IllegalArgumentException( "line does not contain ending artifact marker: '" + line + "'" ); } String artifact = line.substring( newLine.length() + MARKER.length(), index ); newLine += convertArtifact( artifact ); newLine += line.substring( index + 1 ); index = newLine.indexOf( "SNAPSHOT" ); if ( index >= 0 ) { List l = new ArrayList(); l.add( newLine ); l.add( newLine.substring( 0, index ) + "SNAPSHOT.version.txt" ); return l; } else { return Collections.singletonList( line ); } } else { return Collections.singletonList( line ); } }
|
48791 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48791/0c305115a6ebaaddc5286eb8c5d71618dc88e1e8/Verifier.java/clean/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
987,
1453,
16981,
12,
514,
980,
262,
565,
288,
3639,
514,
20503,
654,
273,
27214,
17706,
2773,
31,
3639,
509,
770,
273,
980,
18,
31806,
12,
20503,
654,
11272,
3639,
309,
261,
770,
1545,
374,
262,
3639,
288,
5411,
514,
8093,
273,
980,
18,
28023,
12,
374,
16,
770,
11272,
5411,
770,
273,
980,
18,
31806,
12,
11883,
16,
770,
11272,
5411,
309,
261,
770,
411,
374,
262,
5411,
288,
7734,
604,
394,
2754,
12,
315,
1369,
1552,
486,
912,
11463,
6462,
5373,
30,
2119,
397,
980,
397,
5862,
11272,
5411,
289,
5411,
514,
6462,
273,
980,
18,
28023,
12,
8093,
18,
2469,
1435,
397,
20503,
654,
18,
2469,
9334,
770,
11272,
5411,
8093,
1011,
1765,
7581,
12,
6462,
11272,
5411,
8093,
1011,
980,
18,
28023,
12,
770,
397,
404,
11272,
5411,
770,
273,
8093,
18,
2722,
31985,
12,
315,
13653,
31667,
6,
11272,
5411,
309,
261,
770,
1545,
374,
262,
5411,
288,
7734,
987,
328,
273,
394,
2407,
5621,
7734,
328,
18,
1289,
12,
8093,
11272,
7734,
328,
18,
1289,
12,
8093,
18,
28023,
12,
374,
16,
770,
262,
397,
315,
13653,
31667,
18,
1589,
18,
5830,
6,
11272,
7734,
327,
328,
31,
5411,
289,
5411,
469,
5411,
288,
7734,
327,
5737,
18,
24487,
682,
12,
980,
11272,
5411,
289,
3639,
289,
3639,
469,
3639,
288,
5411,
327,
5737,
18,
24487,
682,
12,
980,
11272,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
987,
1453,
16981,
12,
514,
980,
262,
565,
288,
3639,
514,
20503,
654,
273,
27214,
17706,
2773,
31,
3639,
509,
770,
273,
980,
18,
31806,
12,
20503,
654,
11272,
3639,
309,
261,
770,
1545,
374,
262,
3639,
288,
5411,
514,
8093,
273,
980,
18,
28023,
12,
374,
16,
770,
11272,
5411,
770,
273,
980,
18,
31806,
12,
11883,
16,
770,
11272,
5411,
309,
261,
770,
411,
374,
262,
5411,
288,
7734,
604,
394,
2754,
12,
315,
1369,
1552,
486,
912,
11463,
6462,
5373,
30,
2119,
397,
980,
397,
5862,
11272,
5411,
289,
5411,
514,
6462,
273,
980,
18,
28023,
12,
8093,
18,
2469,
1435,
397,
20503,
654,
18,
2469,
9334,
770,
11272,
5411,
8093,
1011,
1765,
2
] |
public org.quickfix.field.SecurityExchange getSecurityExchange() throws FieldNotFound { org.quickfix.field.SecurityExchange value = new org.quickfix.field.SecurityExchange();
|
public quickfix.field.SecurityExchange getSecurityExchange() throws FieldNotFound { quickfix.field.SecurityExchange value = new quickfix.field.SecurityExchange();
|
public org.quickfix.field.SecurityExchange getSecurityExchange() throws FieldNotFound { org.quickfix.field.SecurityExchange value = new org.quickfix.field.SecurityExchange(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/RequestForPositions.java/buggy/src/java/src/quickfix/fix44/RequestForPositions.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
11688,
19288,
11688,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
11688,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
11688,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
11688,
19288,
11688,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
11688,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
11688,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if(pPassword == null)
|
if (pPassword == null)
|
protected void startCollection(Attributes attribs) throws SAXException { String uri = attribs.getValue("uri"); if (uri == null) { reportError(FATAL_ERROR, "element collection requires an uri-attribute"); return; } String pUser = attribs.getValue("user"); String pPassword = attribs.getValue("password"); // use default user and password if not specified if(pUser == null) pUser = user; if(pPassword == null) pPassword = password; try { collection = DatabaseManager.getCollection(uri, pUser, pPassword); if (collection == null) { reportError(WARNING, "collection " + uri + " not found"); return; } } catch (XMLDBException e) { reportError(WARNING, "failed to retrieve collection", e); } mode = IN_COLLECTION; }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/1c0cc42431436631d1b2e9ea8af63bb6dd883496/XMLDBTransformer.java/buggy/src/org/exist/cocoon/XMLDBTransformer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
787,
2532,
12,
2498,
11460,
13,
1216,
14366,
288,
202,
202,
780,
2003,
273,
11460,
18,
24805,
2932,
1650,
8863,
202,
202,
430,
261,
1650,
422,
446,
13,
288,
1082,
202,
6006,
668,
12,
29891,
67,
3589,
16,
315,
2956,
1849,
4991,
392,
2003,
17,
4589,
8863,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
780,
293,
1299,
273,
11460,
18,
24805,
2932,
1355,
8863,
202,
202,
780,
293,
3913,
273,
11460,
18,
24805,
2932,
3664,
8863,
202,
202,
759,
999,
805,
729,
471,
2201,
309,
486,
1269,
202,
202,
430,
12,
84,
1299,
422,
446,
13,
1082,
202,
84,
1299,
273,
729,
31,
202,
202,
430,
12,
84,
3913,
422,
446,
13,
1082,
202,
84,
3913,
273,
2201,
31,
202,
202,
698,
288,
1082,
202,
5548,
273,
5130,
1318,
18,
588,
2532,
12,
1650,
16,
293,
1299,
16,
293,
3913,
1769,
1082,
202,
430,
261,
5548,
422,
446,
13,
288,
9506,
202,
6006,
668,
12,
9511,
16,
315,
5548,
315,
397,
2003,
397,
315,
486,
1392,
8863,
9506,
202,
2463,
31,
1082,
202,
97,
202,
202,
97,
1044,
261,
4201,
2290,
503,
425,
13,
288,
1082,
202,
6006,
668,
12,
9511,
16,
315,
7307,
358,
4614,
1849,
3113,
425,
1769,
202,
202,
97,
202,
202,
3188,
273,
2120,
67,
25964,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
787,
2532,
12,
2498,
11460,
13,
1216,
14366,
288,
202,
202,
780,
2003,
273,
11460,
18,
24805,
2932,
1650,
8863,
202,
202,
430,
261,
1650,
422,
446,
13,
288,
1082,
202,
6006,
668,
12,
29891,
67,
3589,
16,
315,
2956,
1849,
4991,
392,
2003,
17,
4589,
8863,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
780,
293,
1299,
273,
11460,
18,
24805,
2932,
1355,
8863,
202,
202,
780,
293,
3913,
273,
11460,
18,
24805,
2932,
3664,
8863,
202,
202,
759,
999,
805,
729,
471,
2201,
309,
486,
1269,
202,
202,
430,
12,
84,
1299,
422,
446,
13,
1082,
202,
84,
1299,
273,
729,
31,
202,
202,
430,
12,
84,
3913,
422,
446,
13,
1082,
2
] |
if (!bigEndian) { value = Utilities.swapFloat(value);
|
if (bigEndian) { return stream.readFloat(); } else { return Utilities.readLittleEndianFloat(stream);
|
private float readFloat(DataInputStream stream, boolean bigEndian) throws IOException { float value = stream.readFloat(); bytesRead += 4; if (!bigEndian) { value = Utilities.swapFloat(value); } return value; }
|
8321 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8321/600c8d01f1c61124ed58684168edcc11c11f540b/LargeTrigramModel.java/buggy/sphinx4/edu/cmu/sphinx/knowledge/language/large/LargeTrigramModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1431,
855,
4723,
12,
751,
4348,
1407,
16,
1250,
5446,
7583,
13,
565,
1216,
1860,
288,
202,
5659,
460,
273,
1407,
18,
896,
4723,
5621,
3639,
17244,
1011,
1059,
31,
3639,
309,
16051,
14002,
7583,
13,
288,
5411,
460,
273,
26703,
18,
22270,
4723,
12,
1132,
1769,
202,
97,
3639,
327,
460,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1431,
855,
4723,
12,
751,
4348,
1407,
16,
1250,
5446,
7583,
13,
565,
1216,
1860,
288,
202,
5659,
460,
273,
1407,
18,
896,
4723,
5621,
3639,
17244,
1011,
1059,
31,
3639,
309,
16051,
14002,
7583,
13,
288,
5411,
460,
273,
26703,
18,
22270,
4723,
12,
1132,
1769,
202,
97,
3639,
327,
460,
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
] |
fQualifiedNameComponent.setEnabled(enabled); ref.setUpdateQualifiedNames(enabled); updateForcePreview();
|
updateQulifiedNameUpdating(ref, enabled);
|
private void addOptionalUpdateQualifiedNameComponent(Composite parent, RowLayouter layouter, int marginWidth) { final IQualifiedNameUpdating ref= (IQualifiedNameUpdating)getRefactoring().getAdapter(IQualifiedNameUpdating.class); if (ref == null || !ref.canEnableQualifiedNameUpdating()) return; fUpdateQualifiedNames= new Button(parent, SWT.CHECK); int indent= marginWidth + fUpdateQualifiedNames.computeSize(SWT.DEFAULT, SWT.DEFAULT).x; fUpdateQualifiedNames.setText(RefactoringMessages.getString("RenameInputWizardPage.update_qualified_names")); //$NON-NLS-1$ layouter.perform(fUpdateQualifiedNames); fQualifiedNameComponent= new QualifiedNameComponent(parent, SWT.NONE, ref, getRefactoringSettings()); layouter.perform(fQualifiedNameComponent); GridData gd= (GridData)fQualifiedNameComponent.getLayoutData(); gd.horizontalAlignment= GridData.FILL; gd.horizontalIndent= indent; boolean defaultSelection= getBooleanSetting(UPDATE_QUALIFIED_NAMES, ref.getUpdateQualifiedNames()); fUpdateQualifiedNames.setSelection(defaultSelection); fQualifiedNameComponent.setEnabled(defaultSelection); fUpdateQualifiedNames.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { boolean enabled= ((Button)e.widget).getSelection(); fQualifiedNameComponent.setEnabled(enabled); ref.setUpdateQualifiedNames(enabled); updateForcePreview(); } }); }
|
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/9b8069f7bb4d2ae883cc9d43064863e0d41714c8/RenameInputWizardPage.java/clean/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/RenameInputWizardPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
527,
6542,
1891,
12345,
1841,
12,
9400,
982,
16,
6556,
3744,
264,
3511,
264,
16,
509,
7333,
2384,
13,
288,
202,
202,
6385,
467,
12345,
17858,
1278,
33,
261,
45,
12345,
17858,
13,
588,
426,
3493,
6053,
7675,
588,
4216,
12,
45,
12345,
17858,
18,
1106,
1769,
202,
202,
430,
261,
1734,
422,
446,
747,
401,
1734,
18,
4169,
8317,
12345,
17858,
10756,
1082,
202,
2463,
31,
202,
202,
74,
1891,
8708,
1557,
33,
394,
12569,
12,
2938,
16,
348,
8588,
18,
10687,
1769,
202,
202,
474,
3504,
33,
7333,
2384,
397,
284,
1891,
8708,
1557,
18,
9200,
1225,
12,
55,
8588,
18,
5280,
16,
348,
8588,
18,
5280,
2934,
92,
31,
202,
202,
74,
1891,
8708,
1557,
18,
542,
1528,
12,
426,
3493,
6053,
5058,
18,
588,
780,
2932,
16019,
1210,
27130,
1964,
18,
2725,
67,
19724,
67,
1973,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
6741,
264,
18,
16092,
12,
74,
1891,
8708,
1557,
1769,
9506,
202,
74,
12345,
1841,
33,
394,
28696,
1841,
12,
2938,
16,
348,
8588,
18,
9826,
16,
1278,
16,
5561,
3493,
6053,
2628,
10663,
202,
202,
6741,
264,
18,
16092,
12,
74,
12345,
1841,
1769,
202,
202,
6313,
751,
15551,
33,
261,
6313,
751,
13,
74,
12345,
1841,
18,
588,
3744,
751,
5621,
202,
202,
19016,
18,
18396,
11535,
33,
7145,
751,
18,
29818,
31,
202,
202,
19016,
18,
18396,
7790,
33,
3504,
31,
9506,
202,
6494,
805,
6233,
33,
12835,
5568,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
527,
6542,
1891,
12345,
1841,
12,
9400,
982,
16,
6556,
3744,
264,
3511,
264,
16,
509,
7333,
2384,
13,
288,
202,
202,
6385,
467,
12345,
17858,
1278,
33,
261,
45,
12345,
17858,
13,
588,
426,
3493,
6053,
7675,
588,
4216,
12,
45,
12345,
17858,
18,
1106,
1769,
202,
202,
430,
261,
1734,
422,
446,
747,
401,
1734,
18,
4169,
8317,
12345,
17858,
10756,
1082,
202,
2463,
31,
202,
202,
74,
1891,
8708,
1557,
33,
394,
12569,
12,
2938,
16,
348,
8588,
18,
10687,
1769,
202,
202,
474,
3504,
33,
7333,
2384,
397,
284,
1891,
8708,
1557,
18,
9200,
1225,
12,
55,
8588,
18,
5280,
16,
348,
8588,
18,
5280,
2934,
92,
31,
202,
202,
74,
2
] |
EOQualifier qual = (EOQualifier) oriQualifiers.objectAtIndex(i);
|
EOQualifier qual = (EOQualifier)oriQualifiers.objectAtIndex(i);
|
public static EOQualifier localInstancesInQualifier(EOEditingContext ec, EOQualifier q) { if (q instanceof EOKeyValueQualifier) { EOKeyValueQualifier q1 = (EOKeyValueQualifier) q; if (q1.value() instanceof EOEnterpriseObject) { EOEnterpriseObject eo = (EOEnterpriseObject) q1.value(); if (eo.editingContext() != ec && !ERXExtensions.isNewObject(eo)) { eo = EOUtilities.localInstanceOfObject(ec, eo); EOKeyValueQualifier qual = new EOKeyValueQualifier( q1.key(), q1.selector(), eo); return qual; } } } else if (q instanceof EOAndQualifier || q instanceof EOOrQualifier) { NSArray oriQualifiers = (NSArray) NSKeyValueCoding.Utility .valueForKey(q, "qualifiers"); NSMutableArray qualifiers = new NSMutableArray(); for (int i = oriQualifiers.count(); i-- > 0;) { EOQualifier qual = (EOQualifier) oriQualifiers.objectAtIndex(i); qualifiers.addObject(localInstancesInQualifier(ec, qual)); } return new EOAndQualifier(qualifiers); } else if (q instanceof EONotQualifier) { EONotQualifier qNot = (EONotQualifier) q; EOQualifier qual = localInstancesInQualifier(ec, qNot.qualifier()); return new EONotQualifier(qual); } return q; }
|
46145 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46145/34bd76e4415f130e75e7bb5959a34935299de2cf/ERXEOControlUtilities.java/buggy/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXEOControlUtilities.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
512,
51,
16185,
1191,
5361,
382,
16185,
12,
41,
51,
28029,
1042,
6557,
16,
5411,
512,
51,
16185,
1043,
13,
288,
3639,
309,
261,
85,
1276,
512,
51,
13841,
16185,
13,
288,
5411,
512,
51,
13841,
16185,
1043,
21,
273,
261,
41,
51,
13841,
16185,
13,
1043,
31,
5411,
309,
261,
85,
21,
18,
1132,
1435,
1276,
512,
51,
30699,
921,
13,
288,
7734,
512,
51,
30699,
921,
425,
83,
273,
261,
41,
51,
30699,
921,
13,
1043,
21,
18,
1132,
5621,
7734,
309,
261,
4361,
18,
4619,
310,
1042,
1435,
480,
6557,
597,
401,
654,
60,
7513,
18,
291,
1908,
921,
12,
4361,
3719,
288,
10792,
425,
83,
273,
512,
51,
11864,
18,
3729,
1442,
951,
921,
12,
557,
16,
425,
83,
1769,
10792,
512,
51,
13841,
16185,
4544,
273,
394,
512,
51,
13841,
16185,
12,
18701,
1043,
21,
18,
856,
9334,
1043,
21,
18,
9663,
9334,
425,
83,
1769,
10792,
327,
4544,
31,
7734,
289,
5411,
289,
3639,
289,
469,
309,
261,
85,
1276,
512,
51,
1876,
16185,
747,
1043,
1276,
512,
51,
1162,
16185,
13,
288,
5411,
11472,
1076,
28361,
5628,
3383,
273,
261,
3156,
1076,
13,
11472,
13841,
30315,
18,
6497,
10792,
263,
1132,
19759,
12,
85,
16,
315,
3369,
3383,
8863,
5411,
423,
7303,
3050,
1076,
22848,
273,
394,
423,
7303,
3050,
1076,
5621,
5411,
364,
261,
474,
277,
273,
28361,
5628,
3383,
18,
1883,
5621,
277,
413,
405,
374,
30943,
288,
7734,
512,
51,
16185,
4544,
273,
261,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
512,
51,
16185,
1191,
5361,
382,
16185,
12,
41,
51,
28029,
1042,
6557,
16,
5411,
512,
51,
16185,
1043,
13,
288,
3639,
309,
261,
85,
1276,
512,
51,
13841,
16185,
13,
288,
5411,
512,
51,
13841,
16185,
1043,
21,
273,
261,
41,
51,
13841,
16185,
13,
1043,
31,
5411,
309,
261,
85,
21,
18,
1132,
1435,
1276,
512,
51,
30699,
921,
13,
288,
7734,
512,
51,
30699,
921,
425,
83,
273,
261,
41,
51,
30699,
921,
13,
1043,
21,
18,
1132,
5621,
7734,
309,
261,
4361,
18,
4619,
310,
1042,
1435,
480,
6557,
597,
401,
654,
60,
7513,
18,
291,
1908,
921,
12,
4361,
3719,
288,
10792,
425,
83,
273,
512,
51,
11864,
18,
3729,
1442,
2
] |
public BaseFormat(int base,String prefix) {
|
private BaseFormat() {
|
public BaseFormat(int base,String prefix) { super(); this.base = base; tb = new ToBase(base,prefix); fb = new FromBase(base,prefix); }
|
54194 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54194/2384a8ad804760673fd3995b8f481597b8413b56/BaseFormat.java/buggy/src/org/lsmp/djep/xjep/BaseFormat.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3360,
1630,
1435,
288,
3639,
2240,
5621,
3639,
333,
18,
1969,
273,
1026,
31,
3639,
8739,
273,
394,
2974,
2171,
12,
1969,
16,
3239,
1769,
3639,
12754,
273,
394,
6338,
2171,
12,
1969,
16,
3239,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3360,
1630,
1435,
288,
3639,
2240,
5621,
3639,
333,
18,
1969,
273,
1026,
31,
3639,
8739,
273,
394,
2974,
2171,
12,
1969,
16,
3239,
1769,
3639,
12754,
273,
394,
6338,
2171,
12,
1969,
16,
3239,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (dialog.open() == ElementListSelectionDialog.OK) {
|
if (dialog.open() == Window.OK) {
|
protected IBinary chooseBinary(List binList, String mode) { ILabelProvider programLabelProvider = new CElementLabelProvider() { public String getText(Object element) { if (element instanceof IBinary) { IBinary bin = (IBinary)element; StringBuffer name = new StringBuffer(); name.append(bin.getPath().lastSegment()); return name.toString(); } return super.getText(element); } }; ILabelProvider qualifierLabelProvider = new CElementLabelProvider() { public String getText(Object element) { if (element instanceof IBinary) { IBinary bin = (IBinary)element; StringBuffer name = new StringBuffer(); name.append(bin.getCPU() + (bin.isLittleEndian() ? "le" : "be")); //$NON-NLS-1$ //$NON-NLS-2$ name.append(" - "); //$NON-NLS-1$ name.append(bin.getPath().toString()); return name.toString(); } return super.getText(element); } }; TwoPaneElementSelector dialog = new TwoPaneElementSelector(getShell(), programLabelProvider, qualifierLabelProvider); dialog.setElements(binList.toArray()); dialog.setTitle(getBinarySelectionDialogTitleString(binList, mode)); //$NON-NLS-1$ dialog.setMessage(getBinarySelectionDialogMessageString(binList, mode)); //$NON-NLS-1$ dialog.setUpperListLabel(LaunchUIPlugin.getResourceString("Launch.common.BinariesColon")); //$NON-NLS-1$ dialog.setLowerListLabel(LaunchUIPlugin.getResourceString("Launch.common.QualifierColon")); //$NON-NLS-1$ dialog.setMultipleSelection(false); if (dialog.open() == ElementListSelectionDialog.OK) { return (IBinary) dialog.getFirstResult(); } return null; }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/e8e773e8680f1e06b1c256296f903e43698bd55d/CApplicationLaunchShortcut.java/clean/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/CApplicationLaunchShortcut.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
467,
5905,
9876,
5905,
12,
682,
4158,
682,
16,
514,
1965,
13,
288,
202,
202,
45,
2224,
2249,
5402,
2224,
2249,
273,
394,
385,
1046,
2224,
2249,
1435,
288,
1082,
202,
482,
514,
6701,
12,
921,
930,
13,
288,
9506,
202,
430,
261,
2956,
1276,
467,
5905,
13,
288,
6862,
202,
45,
5905,
4158,
273,
261,
45,
5905,
13,
2956,
31,
6862,
202,
780,
1892,
508,
273,
394,
6674,
5621,
6862,
202,
529,
18,
6923,
12,
4757,
18,
588,
743,
7675,
2722,
4131,
10663,
6862,
202,
2463,
508,
18,
10492,
5621,
9506,
202,
97,
9506,
202,
2463,
2240,
18,
588,
1528,
12,
2956,
1769,
1082,
202,
97,
202,
202,
20451,
202,
202,
45,
2224,
2249,
12327,
2224,
2249,
273,
394,
385,
1046,
2224,
2249,
1435,
288,
1082,
202,
482,
514,
6701,
12,
921,
930,
13,
288,
9506,
202,
430,
261,
2956,
1276,
467,
5905,
13,
288,
6862,
202,
45,
5905,
4158,
273,
261,
45,
5905,
13,
2956,
31,
6862,
202,
780,
1892,
508,
273,
394,
6674,
5621,
6862,
202,
529,
18,
6923,
12,
4757,
18,
588,
15222,
1435,
397,
261,
4757,
18,
291,
48,
10609,
1435,
692,
315,
298,
6,
294,
315,
2196,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
6862,
202,
529,
18,
6923,
2932,
300,
315,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
529,
18,
6923,
12,
4757,
18,
588,
743,
7675,
10492,
10663,
6862,
202,
2463,
508,
18,
10492,
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,
467,
5905,
9876,
5905,
12,
682,
4158,
682,
16,
514,
1965,
13,
288,
202,
202,
45,
2224,
2249,
5402,
2224,
2249,
273,
394,
385,
1046,
2224,
2249,
1435,
288,
1082,
202,
482,
514,
6701,
12,
921,
930,
13,
288,
9506,
202,
430,
261,
2956,
1276,
467,
5905,
13,
288,
6862,
202,
45,
5905,
4158,
273,
261,
45,
5905,
13,
2956,
31,
6862,
202,
780,
1892,
508,
273,
394,
6674,
5621,
6862,
202,
529,
18,
6923,
12,
4757,
18,
588,
743,
7675,
2722,
4131,
10663,
6862,
202,
2463,
508,
18,
10492,
5621,
9506,
202,
97,
9506,
202,
2463,
2240,
18,
588,
1528,
12,
2956,
1769,
1082,
202,
97,
202,
202,
20451,
202,
202,
45,
2224,
2249,
12327,
2
] |
List allVoices = Voice.getAvailableVoices();
|
Collection allVoices = Voice.getAvailableVoices();
|
public static Voice getSuitableVoice(MaryData d) { Locale docLocale = d.type().getLocale(); if (docLocale == null && d.type().isXMLType() && d.getDocument() != null && d.getDocument().getDocumentElement().hasAttribute("xml:lang")) { docLocale = MaryUtils.string2locale(d.getDocument().getDocumentElement().getAttribute("xml:lang")); } Voice guessedVoice = null; if (docLocale != null) { guessedVoice = Voice.getDefaultVoice(docLocale); } else { // get any voice List allVoices = Voice.getAvailableVoices(); if (allVoices.size() != 0) guessedVoice = (Voice) allVoices.get(0); } if (guessedVoice != null) logger.debug("Guessing default voice `"+guessedVoice.getName()+"'"); else logger.debug("Couldn't find any voice at all"); return guessedVoice; }
|
18648 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/18648/01b6dd118bbbf232703ca26e58c36c08865d94c8/Voice.java/clean/java/de/dfki/lt/mary/modules/synthesis/Voice.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
23582,
1322,
89,
9085,
14572,
12,
49,
814,
751,
302,
13,
288,
3639,
6458,
997,
3916,
273,
302,
18,
723,
7675,
588,
3916,
5621,
3639,
309,
261,
2434,
3916,
422,
446,
597,
302,
18,
723,
7675,
291,
4201,
559,
1435,
597,
302,
18,
588,
2519,
1435,
480,
446,
7734,
597,
302,
18,
588,
2519,
7675,
588,
2519,
1046,
7675,
5332,
1499,
2932,
2902,
30,
4936,
6,
3719,
288,
5411,
997,
3916,
273,
490,
814,
1989,
18,
1080,
22,
6339,
12,
72,
18,
588,
2519,
7675,
588,
2519,
1046,
7675,
588,
1499,
2932,
2902,
30,
4936,
7923,
1769,
3639,
289,
3639,
23582,
3058,
281,
730,
14572,
273,
446,
31,
3639,
309,
261,
2434,
3916,
480,
446,
13,
288,
5411,
3058,
281,
730,
14572,
273,
23582,
18,
588,
1868,
14572,
12,
2434,
3916,
1769,
3639,
289,
469,
288,
5411,
368,
336,
1281,
15063,
5411,
2200,
777,
58,
17725,
273,
23582,
18,
588,
5268,
58,
17725,
5621,
5411,
309,
261,
454,
58,
17725,
18,
1467,
1435,
480,
374,
13,
1171,
3058,
281,
730,
14572,
273,
261,
14572,
13,
777,
58,
17725,
18,
588,
12,
20,
1769,
3639,
289,
3639,
309,
261,
75,
3610,
730,
14572,
480,
446,
13,
5411,
1194,
18,
4148,
2932,
15977,
310,
805,
15063,
20867,
15,
75,
3610,
730,
14572,
18,
17994,
1435,
9078,
4970,
1769,
3639,
469,
5411,
1194,
18,
4148,
2932,
16342,
1404,
1104,
1281,
15063,
622,
777,
8863,
3639,
327,
3058,
281,
730,
14572,
31,
565,
289,
2,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
23582,
1322,
89,
9085,
14572,
12,
49,
814,
751,
302,
13,
288,
3639,
6458,
997,
3916,
273,
302,
18,
723,
7675,
588,
3916,
5621,
3639,
309,
261,
2434,
3916,
422,
446,
597,
302,
18,
723,
7675,
291,
4201,
559,
1435,
597,
302,
18,
588,
2519,
1435,
480,
446,
7734,
597,
302,
18,
588,
2519,
7675,
588,
2519,
1046,
7675,
5332,
1499,
2932,
2902,
30,
4936,
6,
3719,
288,
5411,
997,
3916,
273,
490,
814,
1989,
18,
1080,
22,
6339,
12,
72,
18,
588,
2519,
7675,
588,
2519,
1046,
7675,
588,
1499,
2932,
2902,
30,
4936,
7923,
1769,
3639,
289,
3639,
23582,
3058,
281,
730,
14572,
273,
446,
31,
3639,
309,
261,
2434,
3916,
480,
446,
13,
2
] |
addNext(new mLabel("Choose profile or New"),DONTSTRETCH,DONTSTRETCH|LEFT); addLast(btnNew=new mButton("New"),HSTRETCH,HFILL|RIGHT);
|
if (hasNewButton) { addNext(new mLabel(MyLocale.getMsg(1106,"Choose profile or New")),DONTSTRETCH,DONTSTRETCH|LEFT); addLast(btnNew=new mButton(MyLocale.getMsg(1107,"New")),HSTRETCH,HFILL|RIGHT); } else { addLast(new mLabel(MyLocale.getMsg(1108,"Choose profile")),DONTSTRETCH,DONTSTRETCH|LEFT); }
|
public ProfilesForm(String baseDir, String[] oldProfiles,String selectedProfile){ super(); resizable = false; int w=MyLocale.getScreenWidth(); if (w>240) w=240; setPreferredSize(w,240); defaultTags.set(this.INSETS,new Insets(2,2,2,2)); title = MyLocale.getMsg(1301,"Select Profile:"); addNext(new mLabel("Choose profile or New"),DONTSTRETCH,DONTSTRETCH|LEFT); addLast(btnNew=new mButton("New"),HSTRETCH,HFILL|RIGHT); choice=new MyList(); // First add the old style profiles (stored in pref.xml) if (oldProfiles[0].length()>0) choice.addItem(oldProfiles[0]); if (oldProfiles[1].length()>0) choice.addItem(oldProfiles[1]); if (oldProfiles[2].length()>0) choice.addItem(oldProfiles[2]); if (oldProfiles[3].length()>0) choice.addItem(oldProfiles[3]); if (choice.itemsSize()>0) choice.addItem("-"); // Get all subdirectories in the base directory File fileBaseDir=new File(baseDir); String[] existingProfiles=fileBaseDir.list("*",FileBase.LIST_DIRECTORIES_ONLY); // Now add these subdirectories to the list of profiles but // exclude the "maps" directory which will contain the moving maps for (int i=0; i<existingProfiles.length; i++) if (!existingProfiles[i].equals("maps")) choice.addItem(existingProfiles[i]); // Highlight the profile that was used last choice.selectLastProfile(selectedProfile); // Add a scroll bar to the list of profiles spMList=choice.getScrollablePanel(); spMList.setOptions(ScrollablePanel.NeverShowHorizontalScrollers); choice.setServer(spMList); addLast(spMList); addNext(btnCancel = new mButton(MyLocale.getMsg(1604,"Cancel")),DONTSTRETCH,DONTFILL|LEFT); addNext(btnOK = new mButton("OK"),DONTSTRETCH,HFILL|RIGHT); this.baseDir=baseDir; }
|
51026 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51026/382a588bb56aae33082cb2a0a796a29a3e5776d4/ProfilesForm.java/buggy/src/CacheWolf/ProfilesForm.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1186,
2354,
1204,
12,
780,
14078,
16,
514,
8526,
1592,
12450,
16,
780,
3170,
4029,
15329,
202,
202,
9565,
5621,
377,
202,
455,
6934,
273,
225,
629,
31,
202,
202,
474,
341,
33,
12062,
3916,
18,
588,
7956,
2384,
5621,
202,
202,
430,
261,
91,
34,
28784,
13,
341,
33,
28784,
31,
202,
202,
542,
16028,
1225,
12,
91,
16,
28784,
1769,
202,
565,
805,
3453,
18,
542,
12,
2211,
18,
706,
28092,
16,
2704,
22300,
12,
22,
16,
22,
16,
22,
16,
22,
10019,
9506,
202,
2649,
273,
8005,
3916,
18,
588,
3332,
12,
3437,
1611,
10837,
3391,
11357,
2773,
1769,
202,
202,
1289,
2134,
12,
2704,
312,
2224,
2932,
24529,
3042,
578,
1166,
6,
3631,
40,
10079,
882,
10238,
1792,
16,
40,
10079,
882,
10238,
1792,
96,
10066,
1769,
202,
202,
1289,
3024,
12,
11898,
1908,
33,
2704,
312,
3616,
2932,
1908,
6,
3631,
44,
882,
10238,
1792,
16,
44,
29818,
96,
11847,
1769,
9506,
202,
11569,
33,
2704,
8005,
682,
5621,
3639,
368,
5783,
527,
326,
1592,
2154,
11788,
261,
22601,
316,
11307,
18,
2902,
13,
3639,
309,
261,
1673,
12450,
63,
20,
8009,
2469,
1435,
34,
20,
13,
6023,
18,
1289,
1180,
12,
1673,
12450,
63,
20,
19226,
3639,
309,
261,
1673,
12450,
63,
21,
8009,
2469,
1435,
34,
20,
13,
6023,
18,
1289,
1180,
12,
1673,
12450,
63,
21,
19226,
3639,
309,
261,
1673,
12450,
63,
22,
8009,
2469,
1435,
34,
20,
13,
6023,
18,
1289,
1180,
12,
1673,
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,
1186,
2354,
1204,
12,
780,
14078,
16,
514,
8526,
1592,
12450,
16,
780,
3170,
4029,
15329,
202,
202,
9565,
5621,
377,
202,
455,
6934,
273,
225,
629,
31,
202,
202,
474,
341,
33,
12062,
3916,
18,
588,
7956,
2384,
5621,
202,
202,
430,
261,
91,
34,
28784,
13,
341,
33,
28784,
31,
202,
202,
542,
16028,
1225,
12,
91,
16,
28784,
1769,
202,
565,
805,
3453,
18,
542,
12,
2211,
18,
706,
28092,
16,
2704,
22300,
12,
22,
16,
22,
16,
22,
16,
22,
10019,
9506,
202,
2649,
273,
8005,
3916,
18,
588,
3332,
12,
3437,
1611,
10837,
3391,
11357,
2773,
1769,
202,
202,
1289,
2134,
12,
2704,
312,
2224,
2932,
24529,
3042,
578,
1166,
6,
2
] |
printTestDisabledMessage("incorrect for multiple declarations");
|
printTestDisabledMessage("regression for bug 11664");
|
public void test14() throws Exception{ printTestDisabledMessage("incorrect for multiple declarations"); // helper1(4, 13, 4, 14); }
|
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/9dae503cf1e3119ad14966a92dce3c41a774ebdc/InlineTempTests.java/clean/org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineTempTests.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3461,
1435,
1216,
1185,
95,
202,
202,
1188,
4709,
8853,
1079,
2932,
267,
6746,
364,
3229,
12312,
8863,
202,
202,
759,
202,
202,
4759,
21,
12,
24,
16,
5958,
16,
1059,
16,
5045,
1769,
202,
97,
202,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3461,
1435,
1216,
1185,
95,
202,
202,
1188,
4709,
8853,
1079,
2932,
267,
6746,
364,
3229,
12312,
8863,
202,
202,
759,
202,
202,
4759,
21,
12,
24,
16,
5958,
16,
1059,
16,
5045,
1769,
202,
97,
202,
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
] |
public void ruleAction(int ruleNumber) { switch (ruleNumber) { // // Rule 1: TypeName ::= TypeName . ErrorId // case 1: { //#line 6 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name TypeName = (Name) getRhsSym(1); //#line 8 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), TypeName, "*")); break; } // // Rule 2: PackageName ::= PackageName . ErrorId // case 2: { //#line 16 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name PackageName = (Name) getRhsSym(1); //#line 18 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageName, "*")); break; } // // Rule 3: ExpressionName ::= AmbiguousName . ErrorId // case 3: { //#line 26 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 28 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 4: MethodName ::= AmbiguousName . ErrorId // case 4: { //#line 36 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 38 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 5: PackageOrTypeName ::= PackageOrTypeName . ErrorId // case 5: { //#line 46 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name PackageOrTypeName = (Name) getRhsSym(1); //#line 48 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageOrTypeName, "*")); break; } // // Rule 6: AmbiguousName ::= AmbiguousName . ErrorId // case 6: { //#line 56 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 58 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 7: FieldAccess ::= Primary . ErrorId // case 7: { //#line 66 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) getRhsSym(1); //#line 68 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(), Primary, "*")); break; } // // Rule 8: FieldAccess ::= super . ErrorId // case 8: { //#line 73 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), "*")); break; } // // Rule 9: FieldAccess ::= ClassName . super$sup . ErrorId // case 9: { //#line 76 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) getRhsSym(1); //#line 76 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken sup = (IToken) getRhsIToken(3); //#line 78 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), "*")); break; } // // Rule 10: MethodInvocation ::= MethodPrimaryPrefix ( ArgumentListopt ) // case 10: { //#line 82 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Object MethodPrimaryPrefix = (Object) getRhsSym(1); //#line 82 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 84 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) ((Object[]) MethodPrimaryPrefix)[0]; polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) ((Object[]) MethodPrimaryPrefix)[1]; setResult(nf.Call(pos(), Primary, identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 11: MethodInvocation ::= MethodSuperPrefix ( ArgumentListopt ) // case 11: { //#line 89 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" polyglot.lex.Identifier MethodSuperPrefix = (polyglot.lex.Identifier) getRhsSym(1); //#line 89 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 91 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" polyglot.lex.Identifier identifier = MethodSuperPrefix; setResult(nf.Call(pos(), nf.Super(pos(getLeftSpan())), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 12: MethodInvocation ::= MethodClassNameSuperPrefix ( ArgumentListopt ) // case 12: { //#line 95 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Object MethodClassNameSuperPrefix = (Object) getRhsSym(1); //#line 95 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 97 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) ((Object[]) MethodClassNameSuperPrefix)[0]; JPGPosition super_pos = (JPGPosition) ((Object[]) MethodClassNameSuperPrefix)[1]; polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) ((Object[]) MethodClassNameSuperPrefix)[2]; setResult(nf.Call(pos(), nf.Super(super_pos, ClassName.toType()), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 13: MethodPrimaryPrefix ::= Primary . ErrorId$ErrorId // case 13: { //#line 104 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) getRhsSym(1); //#line 104 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(3); //#line 106 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Object[] a = new Object[2]; a[0] = Primary; a[1] = id(getRhsFirstTokenIndex(3)); setResult(a); break; } // // Rule 14: MethodSuperPrefix ::= super . ErrorId$ErrorId // case 14: { //#line 112 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(3); //#line 114 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" setResult(id(getRhsFirstTokenIndex(3))); break; } // // Rule 15: MethodClassNameSuperPrefix ::= ClassName . super$sup . ErrorId$ErrorId // case 15: { //#line 117 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) getRhsSym(1); //#line 117 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken sup = (IToken) getRhsIToken(3); //#line 117 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(5); //#line 119 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" Object[] a = new Object[3]; a[0] = ClassName; a[1] = pos(getRhsFirstTokenIndex(3)); a[2] = id(getRhsFirstTokenIndex(5)); setResult(a); break; } // // Rule 16: identifier ::= IDENTIFIER$ident // case 16: { //#line 94 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken ident = (IToken) getRhsIToken(1); //#line 96 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ident.setKind(X10Parsersym.TK_IDENTIFIER); setResult(id(getRhsFirstTokenIndex(1))); break; } // // Rule 19: IntegralType ::= byte // case 19: { //#line 121 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Byte())); break; } // // Rule 20: IntegralType ::= char // case 20: { //#line 126 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Char())); break; } // // Rule 21: IntegralType ::= short // case 21: { //#line 131 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Short())); break; } // // Rule 22: IntegralType ::= int // case 22: { //#line 136 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Int())); break; } // // Rule 23: IntegralType ::= long // case 23: { //#line 141 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Long())); break; } // // Rule 24: FloatingPointType ::= float // case 24: { //#line 147 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Float())); break; } // // Rule 25: FloatingPointType ::= double // case 25: { //#line 152 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Double())); break; } // // Rule 28: TypeName ::= identifier // case 28: { //#line 175 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 177 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 29: TypeName ::= TypeName . identifier // case 29: { //#line 180 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name TypeName = (Name) getRhsSym(1); //#line 180 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 182 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), TypeName, identifier.getIdentifier())); break; } // // Rule 31: ArrayType ::= Type [ ] // case 31: { //#line 194 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(1); //#line 196 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.array(Type, pos(), 1)); break; } // // Rule 32: PackageName ::= identifier // case 32: { //#line 241 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 243 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 33: PackageName ::= PackageName . identifier // case 33: { //#line 246 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageName = (Name) getRhsSym(1); //#line 246 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 248 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageName, identifier.getIdentifier())); break; } // // Rule 34: ExpressionName ::= identifier // case 34: { //#line 262 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 264 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 35: ExpressionName ::= AmbiguousName . identifier // case 35: { //#line 267 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 267 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 269 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 36: MethodName ::= identifier // case 36: { //#line 277 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 279 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 37: MethodName ::= AmbiguousName . identifier // case 37: { //#line 282 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 282 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 284 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 38: PackageOrTypeName ::= identifier // case 38: { //#line 292 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 294 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 39: PackageOrTypeName ::= PackageOrTypeName . identifier // case 39: { //#line 297 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageOrTypeName = (Name) getRhsSym(1); //#line 297 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 299 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageOrTypeName, identifier.getIdentifier())); break; } // // Rule 40: AmbiguousName ::= identifier // case 40: { //#line 307 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 309 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 41: AmbiguousName ::= AmbiguousName . identifier // case 41: { //#line 312 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 312 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 314 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 42: CompilationUnit ::= PackageDeclarationopt ImportDeclarationsopt TypeDeclarationsopt // case 42: { //#line 324 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" PackageNode PackageDeclarationopt = (PackageNode) getRhsSym(1); //#line 324 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ImportDeclarationsopt = (List) getRhsSym(2); //#line 324 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List TypeDeclarationsopt = (List) getRhsSym(3); //#line 326 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // Add import x10.lang.* by default. Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); int token_pos = (ImportDeclarationsopt.size() == 0 ? TypeDeclarationsopt.size() == 0 ? super.getSize() - 1 : getPrevious(getRhsFirstTokenIndex(3)) : getRhsLastTokenIndex(2) ); Import x10LangImport = nf.Import(pos(token_pos), Import.PACKAGE, x10Lang.toString()); ImportDeclarationsopt.add(x10LangImport); setResult(nf.SourceFile(pos(getLeftSpan(), getRightSpan()), PackageDeclarationopt, ImportDeclarationsopt, TypeDeclarationsopt)); break; } // // Rule 43: ImportDeclarations ::= ImportDeclaration // case 43: { //#line 342 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Import ImportDeclaration = (Import) getRhsSym(1); //#line 344 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Import.class, false); l.add(ImportDeclaration); setResult(l); break; } // // Rule 44: ImportDeclarations ::= ImportDeclarations ImportDeclaration // case 44: { //#line 349 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ImportDeclarations = (List) getRhsSym(1); //#line 349 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Import ImportDeclaration = (Import) getRhsSym(2); //#line 351 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (ImportDeclaration != null) ImportDeclarations.add(ImportDeclaration); //setResult(l); break; } // // Rule 45: TypeDeclarations ::= TypeDeclaration // case 45: { //#line 357 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl TypeDeclaration = (ClassDecl) getRhsSym(1); //#line 359 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TopLevelDecl.class, false); if (TypeDeclaration != null) l.add(TypeDeclaration); setResult(l); break; } // // Rule 46: TypeDeclarations ::= TypeDeclarations TypeDeclaration // case 46: { //#line 365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List TypeDeclarations = (List) getRhsSym(1); //#line 365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl TypeDeclaration = (ClassDecl) getRhsSym(2); //#line 367 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (TypeDeclaration != null) TypeDeclarations.add(TypeDeclaration); //setResult(l); break; } // // Rule 49: SingleTypeImportDeclaration ::= import TypeName ; // case 49: { //#line 380 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name TypeName = (Name) getRhsSym(2); //#line 382 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Import(pos(getLeftSpan(), getRightSpan()), Import.CLASS, TypeName.toString())); break; } // // Rule 50: TypeImportOnDemandDeclaration ::= import PackageOrTypeName . * ; // case 50: { //#line 386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageOrTypeName = (Name) getRhsSym(2); //#line 388 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Import(pos(getLeftSpan(), getRightSpan()), Import.PACKAGE, PackageOrTypeName.toString())); break; } // // Rule 53: TypeDeclaration ::= ; // case 53: { //#line 402 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(null); break; } // // Rule 56: ClassModifiers ::= ClassModifiers ClassModifier // case 56: { //#line 414 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ClassModifiers = (Flags) getRhsSym(1); //#line 414 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ClassModifier = (Flags) getRhsSym(2); //#line 416 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ClassModifiers.set(ClassModifier)); break; } // // Rule 57: ClassModifier ::= public // case 57: { //#line 424 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 58: ClassModifier ::= protected // case 58: { //#line 429 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 59: ClassModifier ::= private // case 59: { //#line 434 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 60: ClassModifier ::= abstract // case 60: { //#line 439 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 61: ClassModifier ::= static // case 61: { //#line 444 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 62: ClassModifier ::= final // case 62: { //#line 449 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 63: ClassModifier ::= strictfp // case 63: { //#line 454 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 64: Super ::= extends ClassType // case 64: { //#line 466 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ClassType = (TypeNode) getRhsSym(2); //#line 468 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ClassType); break; } // // Rule 65: Interfaces ::= implements InterfaceTypeList // case 65: { //#line 477 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceTypeList = (List) getRhsSym(2); //#line 479 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(InterfaceTypeList); break; } // // Rule 66: InterfaceTypeList ::= InterfaceType // case 66: { //#line 483 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(1); //#line 485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(InterfaceType); setResult(l); break; } // // Rule 67: InterfaceTypeList ::= InterfaceTypeList , InterfaceType // case 67: { //#line 490 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceTypeList = (List) getRhsSym(1); //#line 490 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(3); //#line 492 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" InterfaceTypeList.add(InterfaceType); setResult(InterfaceTypeList); break; } // // Rule 68: ClassBody ::= { ClassBodyDeclarationsopt } // case 68: { //#line 502 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclarationsopt = (List) getRhsSym(2); //#line 504 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassBody(pos(getLeftSpan(), getRightSpan()), ClassBodyDeclarationsopt)); break; } // // Rule 70: ClassBodyDeclarations ::= ClassBodyDeclarations ClassBodyDeclaration // case 70: { //#line 509 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclarations = (List) getRhsSym(1); //#line 509 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclaration = (List) getRhsSym(2); //#line 511 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassBodyDeclarations.addAll(ClassBodyDeclaration); // setResult(a); break; } // // Rule 72: ClassBodyDeclaration ::= InstanceInitializer // case 72: { //#line 517 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block InstanceInitializer = (Block) getRhsSym(1); //#line 519 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(nf.Initializer(pos(), Flags.NONE, InstanceInitializer)); setResult(l); break; } // // Rule 73: ClassBodyDeclaration ::= StaticInitializer // case 73: { //#line 524 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block StaticInitializer = (Block) getRhsSym(1); //#line 526 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(nf.Initializer(pos(), Flags.STATIC, StaticInitializer)); setResult(l); break; } // // Rule 74: ClassBodyDeclaration ::= ConstructorDeclaration // case 74: { //#line 531 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ConstructorDecl ConstructorDeclaration = (ConstructorDecl) getRhsSym(1); //#line 533 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ConstructorDeclaration); setResult(l); break; } // // Rule 76: ClassMemberDeclaration ::= MethodDeclaration // case 76: { //#line 540 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl MethodDeclaration = (MethodDecl) getRhsSym(1); //#line 542 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(MethodDeclaration); setResult(l); break; } // // Rule 77: ClassMemberDeclaration ::= ClassDeclaration // case 77: { //#line 547 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 549 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ClassDeclaration); setResult(l); break; } // // Rule 78: ClassMemberDeclaration ::= InterfaceDeclaration // case 78: { //#line 554 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl InterfaceDeclaration = (ClassDecl) getRhsSym(1); //#line 556 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(InterfaceDeclaration); setResult(l); break; } // // Rule 79: ClassMemberDeclaration ::= ; // case 79: { //#line 563 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); setResult(l); break; } // // Rule 80: VariableDeclarators ::= VariableDeclarator // case 80: { //#line 571 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VarDeclarator VariableDeclarator = (VarDeclarator) getRhsSym(1); //#line 573 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), X10VarDeclarator.class, false); l.add(VariableDeclarator); setResult(l); break; } // // Rule 81: VariableDeclarators ::= VariableDeclarators , VariableDeclarator // case 81: { //#line 578 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(1); //#line 578 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VarDeclarator VariableDeclarator = (VarDeclarator) getRhsSym(3); //#line 580 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableDeclarators.add(VariableDeclarator); // setResult(VariableDeclarators); break; } // // Rule 83: VariableDeclarator ::= VariableDeclaratorId = VariableInitializer // case 83: { //#line 586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(1); //#line 586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(3); //#line 588 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableDeclaratorId.init = VariableInitializer; VariableDeclaratorId.position(pos()); // setResult(VariableDeclaratorId); break; } // // Rule 84: TraditionalVariableDeclaratorId ::= identifier // case 84: { //#line 594 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 596 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), identifier.getIdentifier())); break; } // // Rule 85: TraditionalVariableDeclaratorId ::= TraditionalVariableDeclaratorId [ ] // case 85: { //#line 599 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator TraditionalVariableDeclaratorId = (X10VarDeclarator) getRhsSym(1); //#line 601 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TraditionalVariableDeclaratorId.dims++; TraditionalVariableDeclaratorId.position(pos()); // setResult(a); break; } // // Rule 87: VariableDeclaratorId ::= identifier [ IdentifierList ] // case 87: { //#line 608 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 608 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List IdentifierList = (List) getRhsSym(3); //#line 610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), identifier.getIdentifier(), IdentifierList)); break; } // // Rule 88: VariableDeclaratorId ::= [ IdentifierList ] // case 88: { //#line 613 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List IdentifierList = (List) getRhsSym(2); //#line 615 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), IdentifierList)); break; } // // Rule 92: FieldModifiers ::= FieldModifiers FieldModifier // case 92: { //#line 623 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags FieldModifiers = (Flags) getRhsSym(1); //#line 623 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags FieldModifier = (Flags) getRhsSym(2); //#line 625 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(FieldModifiers.set(FieldModifier)); break; } // // Rule 93: FieldModifier ::= public // case 93: { //#line 633 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 94: FieldModifier ::= protected // case 94: { //#line 638 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 95: FieldModifier ::= private // case 95: { //#line 643 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 96: FieldModifier ::= static // case 96: { //#line 648 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 97: FieldModifier ::= final // case 97: { //#line 653 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 98: FieldModifier ::= transient // case 98: { //#line 658 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.TRANSIENT); break; } // // Rule 100: ResultType ::= void // case 100: { //#line 675 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Void())); break; } // // Rule 101: FormalParameterList ::= LastFormalParameter // case 101: { //#line 695 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Formal LastFormalParameter = (Formal) getRhsSym(1); //#line 697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Formal.class, false); l.add(LastFormalParameter); setResult(l); break; } // // Rule 102: FormalParameterList ::= FormalParameters , LastFormalParameter // case 102: { //#line 702 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List FormalParameters = (List) getRhsSym(1); //#line 702 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Formal LastFormalParameter = (Formal) getRhsSym(3); //#line 704 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" FormalParameters.add(LastFormalParameter); // setResult(FormalParameters); break; } // // Rule 103: FormalParameters ::= FormalParameter // case 103: { //#line 709 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(1); //#line 711 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Formal.class, false); l.add(FormalParameter); setResult(l); break; } // // Rule 104: FormalParameters ::= FormalParameters , FormalParameter // case 104: { //#line 716 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List FormalParameters = (List) getRhsSym(1); //#line 716 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 718 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" FormalParameters.add(FormalParameter); // setResult(FormalParameters); break; } // // Rule 105: FormalParameter ::= VariableModifiersopt Type VariableDeclaratorId // case 105: { //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(3); //#line 725 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (VariableDeclaratorId != null) setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), VariableDeclaratorId.dims), VariableDeclaratorId.name, VariableDeclaratorId.names())); else setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), 1), "", new AmbExpr[0])); break; } // // Rule 107: VariableModifiers ::= VariableModifiers VariableModifier // case 107: { //#line 733 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiers = (Flags) getRhsSym(1); //#line 733 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifier = (Flags) getRhsSym(2); //#line 735 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(VariableModifiers.set(VariableModifier)); break; } // // Rule 108: VariableModifier ::= final // case 108: { //#line 741 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 109: LastFormalParameter ::= VariableModifiersopt Type ...opt$opt VariableDeclaratorId // case 109: { //#line 747 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 747 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 747 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Object opt = (Object) getRhsSym(3); //#line 747 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(4); //#line 749 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" assert(opt == null); setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), VariableDeclaratorId.dims), VariableDeclaratorId.name, VariableDeclaratorId.names())); break; } // // Rule 111: MethodModifiers ::= MethodModifiers MethodModifier // case 111: { //#line 761 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags MethodModifiers = (Flags) getRhsSym(1); //#line 761 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags MethodModifier = (Flags) getRhsSym(2); //#line 763 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(MethodModifiers.set(MethodModifier)); break; } // // Rule 112: MethodModifier ::= public // case 112: { //#line 771 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 113: MethodModifier ::= protected // case 113: { //#line 776 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 114: MethodModifier ::= private // case 114: { //#line 781 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 115: MethodModifier ::= abstract // case 115: { //#line 786 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 116: MethodModifier ::= static // case 116: { //#line 791 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 117: MethodModifier ::= final // case 117: { //#line 796 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 118: MethodModifier ::= native // case 118: { //#line 806 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NATIVE); break; } // // Rule 119: MethodModifier ::= strictfp // case 119: { //#line 811 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 120: Throws ::= throws ExceptionTypeList // case 120: { //#line 815 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExceptionTypeList = (List) getRhsSym(2); //#line 817 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExceptionTypeList); break; } // // Rule 121: ExceptionTypeList ::= ExceptionType // case 121: { //#line 821 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ExceptionType = (TypeNode) getRhsSym(1); //#line 823 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(ExceptionType); setResult(l); break; } // // Rule 122: ExceptionTypeList ::= ExceptionTypeList , ExceptionType // case 122: { //#line 828 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExceptionTypeList = (List) getRhsSym(1); //#line 828 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ExceptionType = (TypeNode) getRhsSym(3); //#line 830 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ExceptionTypeList.add(ExceptionType); // setResult(ExceptionTypeList); break; } // // Rule 125: MethodBody ::= ; // case 125: setResult(null); break; // // Rule 127: StaticInitializer ::= static Block // case 127: { //#line 850 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 852 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Block); break; } // // Rule 128: SimpleTypeName ::= identifier // case 128: { //#line 867 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 869 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 130: ConstructorModifiers ::= ConstructorModifiers ConstructorModifier // case 130: { //#line 874 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstructorModifiers = (Flags) getRhsSym(1); //#line 874 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstructorModifier = (Flags) getRhsSym(2); //#line 876 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ConstructorModifiers.set(ConstructorModifier)); break; } // // Rule 131: ConstructorModifier ::= public // case 131: { //#line 884 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 132: ConstructorModifier ::= protected // case 132: { //#line 889 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 133: ConstructorModifier ::= private // case 133: { //#line 894 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 134: ConstructorBody ::= { ExplicitConstructorInvocationopt BlockStatementsopt } // case 134: { //#line 898 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt ExplicitConstructorInvocationopt = (Stmt) getRhsSym(2); //#line 898 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatementsopt = (List) getRhsSym(3); //#line 900 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l; l = new TypedList(new LinkedList(), Stmt.class, false); if (ExplicitConstructorInvocationopt == null) { l.add(nf.SuperCall(pos(), Collections.EMPTY_LIST)); } else { l.add(ExplicitConstructorInvocationopt); } l.addAll(BlockStatementsopt); setResult(nf.Block(pos(), l)); break; } // // Rule 135: Arguments ::= ( ArgumentListopt ) // case 135: { //#line 933 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentListopt = (List) getRhsSym(2); //#line 935 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ArgumentListopt); break; } // // Rule 138: InterfaceModifiers ::= InterfaceModifiers InterfaceModifier // case 138: { //#line 951 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags InterfaceModifiers = (Flags) getRhsSym(1); //#line 951 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags InterfaceModifier = (Flags) getRhsSym(2); //#line 953 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(InterfaceModifiers.set(InterfaceModifier)); break; } // // Rule 139: InterfaceModifier ::= public // case 139: { //#line 961 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 140: InterfaceModifier ::= protected // case 140: { //#line 966 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 141: InterfaceModifier ::= private // case 141: { //#line 971 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 142: InterfaceModifier ::= abstract // case 142: { //#line 976 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 143: InterfaceModifier ::= static // case 143: { //#line 981 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 144: InterfaceModifier ::= strictfp // case 144: { //#line 986 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 145: ExtendsInterfaces ::= extends InterfaceType // case 145: { //#line 990 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(2); //#line 992 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(InterfaceType); setResult(l); break; } // // Rule 146: ExtendsInterfaces ::= ExtendsInterfaces , InterfaceType // case 146: { //#line 997 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExtendsInterfaces = (List) getRhsSym(1); //#line 997 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(3); //#line 999 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ExtendsInterfaces.add(InterfaceType); // setResult(ExtendsInterfaces); break; } // // Rule 147: InterfaceBody ::= { InterfaceMemberDeclarationsopt } // case 147: { //#line 1009 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclarationsopt = (List) getRhsSym(2); //#line 1011 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassBody(pos(), InterfaceMemberDeclarationsopt)); break; } // // Rule 149: InterfaceMemberDeclarations ::= InterfaceMemberDeclarations InterfaceMemberDeclaration // case 149: { //#line 1016 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclarations = (List) getRhsSym(1); //#line 1016 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclaration = (List) getRhsSym(2); //#line 1018 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" InterfaceMemberDeclarations.addAll(InterfaceMemberDeclaration); // setResult(l); break; } // // Rule 151: InterfaceMemberDeclaration ::= AbstractMethodDeclaration // case 151: { //#line 1024 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl AbstractMethodDeclaration = (MethodDecl) getRhsSym(1); //#line 1026 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(AbstractMethodDeclaration); setResult(l); break; } // // Rule 152: InterfaceMemberDeclaration ::= ClassDeclaration // case 152: { //#line 1031 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 1033 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ClassDeclaration); setResult(l); break; } // // Rule 153: InterfaceMemberDeclaration ::= InterfaceDeclaration // case 153: { //#line 1038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl InterfaceDeclaration = (ClassDecl) getRhsSym(1); //#line 1040 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(InterfaceDeclaration); setResult(l); break; } // // Rule 154: InterfaceMemberDeclaration ::= ; // case 154: { //#line 1047 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Collections.EMPTY_LIST); break; } // // Rule 155: ConstantDeclaration ::= ConstantModifiersopt Type VariableDeclarators // case 155: { //#line 1051 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifiersopt = (Flags) getRhsSym(1); //#line 1051 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1051 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(3); //#line 1053 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); for (Iterator i = VariableDeclarators.iterator(); i.hasNext();) { X10VarDeclarator d = (X10VarDeclarator) i.next(); if (d.hasExplodedVars()) // TODO: Report this exception correctly. throw new Error("Field Declarations may not have exploded variables." + pos()); l.add(nf.FieldDecl(pos(getRhsFirstTokenIndex(2), getRightSpan()), ConstantModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), d.dims), d.name, d.init)); } setResult(l); break; } // // Rule 157: ConstantModifiers ::= ConstantModifiers ConstantModifier // case 157: { //#line 1071 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifiers = (Flags) getRhsSym(1); //#line 1071 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifier = (Flags) getRhsSym(2); //#line 1073 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ConstantModifiers.set(ConstantModifier)); break; } // // Rule 158: ConstantModifier ::= public // case 158: { //#line 1081 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 159: ConstantModifier ::= static // case 159: { //#line 1086 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 160: ConstantModifier ::= final // case 160: { //#line 1091 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 162: AbstractMethodModifiers ::= AbstractMethodModifiers AbstractMethodModifier // case 162: { //#line 1098 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags AbstractMethodModifiers = (Flags) getRhsSym(1); //#line 1098 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags AbstractMethodModifier = (Flags) getRhsSym(2); //#line 1100 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(AbstractMethodModifiers.set(AbstractMethodModifier)); break; } // // Rule 163: AbstractMethodModifier ::= public // case 163: { //#line 1108 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 164: AbstractMethodModifier ::= abstract // case 164: { //#line 1113 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 165: SimpleName ::= identifier // case 165: { //#line 1169 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1171 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 166: ArrayInitializer ::= { VariableInitializersopt ,opt$opt } // case 166: { //#line 1198 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableInitializersopt = (List) getRhsSym(2); //#line 1198 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Object opt = (Object) getRhsSym(3); //#line 1200 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (VariableInitializersopt == null) setResult(nf.ArrayInit(pos())); else setResult(nf.ArrayInit(pos(), VariableInitializersopt)); break; } // // Rule 167: VariableInitializers ::= VariableInitializer // case 167: { //#line 1206 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(1); //#line 1208 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(VariableInitializer); setResult(l); break; } // // Rule 168: VariableInitializers ::= VariableInitializers , VariableInitializer // case 168: { //#line 1213 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableInitializers = (List) getRhsSym(1); //#line 1213 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(3); //#line 1215 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableInitializers.add(VariableInitializer); //setResult(VariableInitializers); break; } // // Rule 169: Block ::= { BlockStatementsopt } // case 169: { //#line 1234 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatementsopt = (List) getRhsSym(2); //#line 1236 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Block(pos(), BlockStatementsopt)); break; } // // Rule 170: BlockStatements ::= BlockStatement // case 170: { //#line 1240 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatement = (List) getRhsSym(1); //#line 1242 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.addAll(BlockStatement); setResult(l); break; } // // Rule 171: BlockStatements ::= BlockStatements BlockStatement // case 171: { //#line 1247 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatements = (List) getRhsSym(1); //#line 1247 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatement = (List) getRhsSym(2); //#line 1249 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" BlockStatements.addAll(BlockStatement); //setResult(l); break; } // // Rule 173: BlockStatement ::= ClassDeclaration // case 173: { //#line 1255 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 1257 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(nf.LocalClassDecl(pos(), ClassDeclaration)); setResult(l); break; } // // Rule 174: BlockStatement ::= Statement // case 174: { //#line 1262 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(1); //#line 1264 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(Statement); setResult(l); break; } // // Rule 176: LocalVariableDeclaration ::= VariableModifiersopt Type VariableDeclarators // case 176: { //#line 1272 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 1272 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1272 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(3); //#line 1274 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), LocalDecl.class, false); List s = new TypedList(new LinkedList(), Stmt.class, false); if (VariableDeclarators != null) { for (Iterator i = VariableDeclarators.iterator(); i.hasNext(); ) { X10VarDeclarator d = (X10VarDeclarator) i.next(); d.setFlag(VariableModifiersopt); // use d.flags below and not flags, setFlag may change it. l.add(nf.LocalDecl(d.pos, d.flags, nf.array(Type, pos(d), d.dims), d.name, d.init)); // [IP] TODO: Add X10Local with exploded variables if (d.hasExplodedVars()) s.addAll(X10Formal_c.explode(nf, ts, d.name, pos(d), d.flags, d.names())); } } l.addAll(s); setResult(l); break; } // // Rule 200: IfThenStatement ::= if ( Expression ) Statement // case 200: { //#line 1335 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1335 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(5); //#line 1337 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, Statement)); break; } // // Rule 201: IfThenElseStatement ::= if ( Expression ) StatementNoShortIf else Statement // case 201: { //#line 1341 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1341 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1341 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(7); //#line 1343 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, StatementNoShortIf, Statement)); break; } // // Rule 202: IfThenElseStatementNoShortIf ::= if ( Expression ) StatementNoShortIf$true_stmt else StatementNoShortIf$false_stmt // case 202: { //#line 1347 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1347 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt true_stmt = (Stmt) getRhsSym(5); //#line 1347 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt false_stmt = (Stmt) getRhsSym(7); //#line 1349 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, true_stmt, false_stmt)); break; } // // Rule 203: EmptyStatement ::= ; // case 203: { //#line 1355 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Empty(pos())); break; } // // Rule 204: LabeledStatement ::= identifier : Statement // case 204: { //#line 1359 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1359 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(3); //#line 1361 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Labeled(pos(), identifier.getIdentifier(), Statement)); break; } // // Rule 205: LabeledStatementNoShortIf ::= identifier : StatementNoShortIf // case 205: { //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(3); //#line 1367 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Labeled(pos(), identifier.getIdentifier(), StatementNoShortIf)); break; } // // Rule 206: ExpressionStatement ::= StatementExpression ; // case 206: { //#line 1370 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(1); //#line 1372 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Eval(pos(), StatementExpression)); break; } // // Rule 214: AssertStatement ::= assert Expression ; // case 214: { //#line 1393 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1395 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assert(pos(), Expression)); break; } // // Rule 215: AssertStatement ::= assert Expression$expr1 : Expression$expr2 ; // case 215: { //#line 1398 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr expr1 = (Expr) getRhsSym(2); //#line 1398 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr expr2 = (Expr) getRhsSym(4); //#line 1400 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assert(pos(), expr1, expr2)); break; } // // Rule 216: SwitchStatement ::= switch ( Expression ) SwitchBlock // case 216: { //#line 1404 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1404 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlock = (List) getRhsSym(5); //#line 1406 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Switch(pos(), Expression, SwitchBlock)); break; } // // Rule 217: SwitchBlock ::= { SwitchBlockStatementGroupsopt SwitchLabelsopt } // case 217: { //#line 1410 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroupsopt = (List) getRhsSym(2); //#line 1410 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabelsopt = (List) getRhsSym(3); //#line 1412 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchBlockStatementGroupsopt.addAll(SwitchLabelsopt); setResult(SwitchBlockStatementGroupsopt); break; } // // Rule 219: SwitchBlockStatementGroups ::= SwitchBlockStatementGroups SwitchBlockStatementGroup // case 219: { //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroups = (List) getRhsSym(1); //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroup = (List) getRhsSym(2); //#line 1420 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchBlockStatementGroups.addAll(SwitchBlockStatementGroup); // setResult(SwitchBlockStatementGroups); break; } // // Rule 220: SwitchBlockStatementGroup ::= SwitchLabels BlockStatements // case 220: { //#line 1425 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabels = (List) getRhsSym(1); //#line 1425 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatements = (List) getRhsSym(2); //#line 1427 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), SwitchElement.class, false); l.addAll(SwitchLabels); l.add(nf.SwitchBlock(pos(), BlockStatements)); setResult(l); break; } // // Rule 221: SwitchLabels ::= SwitchLabel // case 221: { //#line 1434 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Case SwitchLabel = (Case) getRhsSym(1); //#line 1436 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Case.class, false); l.add(SwitchLabel); setResult(l); break; } // // Rule 222: SwitchLabels ::= SwitchLabels SwitchLabel // case 222: { //#line 1441 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabels = (List) getRhsSym(1); //#line 1441 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Case SwitchLabel = (Case) getRhsSym(2); //#line 1443 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchLabels.add(SwitchLabel); //setResult(SwitchLabels); break; } // // Rule 223: SwitchLabel ::= case ConstantExpression : // case 223: { //#line 1448 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConstantExpression = (Expr) getRhsSym(2); //#line 1450 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Case(pos(), ConstantExpression)); break; } // // Rule 224: SwitchLabel ::= default : // case 224: { //#line 1457 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Default(pos())); break; } // // Rule 225: WhileStatement ::= while ( Expression ) Statement // case 225: { //#line 1464 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1464 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(5); //#line 1466 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.While(pos(), Expression, Statement)); break; } // // Rule 226: WhileStatementNoShortIf ::= while ( Expression ) StatementNoShortIf // case 226: { //#line 1470 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1470 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1472 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.While(pos(), Expression, StatementNoShortIf)); break; } // // Rule 227: DoStatement ::= do Statement while ( Expression ) ; // case 227: { //#line 1476 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(2); //#line 1476 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(5); //#line 1478 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Do(pos(), Statement, Expression)); break; } // // Rule 230: BasicForStatement ::= for ( ForInitopt ; Expressionopt ; ForUpdateopt ) Statement // case 230: { //#line 1485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForInitopt = (List) getRhsSym(3); //#line 1485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(5); //#line 1485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForUpdateopt = (List) getRhsSym(7); //#line 1485 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(9); //#line 1487 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.For(pos(), ForInitopt, Expressionopt, ForUpdateopt, Statement)); break; } // // Rule 231: ForStatementNoShortIf ::= for ( ForInitopt ; Expressionopt ; ForUpdateopt ) StatementNoShortIf // case 231: { //#line 1491 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForInitopt = (List) getRhsSym(3); //#line 1491 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(5); //#line 1491 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForUpdateopt = (List) getRhsSym(7); //#line 1491 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(9); //#line 1493 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.For(pos(), ForInitopt, Expressionopt, ForUpdateopt, StatementNoShortIf)); break; } // // Rule 233: ForInit ::= LocalVariableDeclaration // case 233: { //#line 1498 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List LocalVariableDeclaration = (List) getRhsSym(1); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ForInit.class, false); l.addAll(LocalVariableDeclaration); //setResult(l); break; } // // Rule 235: StatementExpressionList ::= StatementExpression // case 235: { //#line 1508 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(1); //#line 1510 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Eval.class, false); l.add(nf.Eval(pos(), StatementExpression)); setResult(l); break; } // // Rule 236: StatementExpressionList ::= StatementExpressionList , StatementExpression // case 236: { //#line 1515 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List StatementExpressionList = (List) getRhsSym(1); //#line 1515 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(3); //#line 1517 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" StatementExpressionList.add(nf.Eval(pos(), StatementExpression)); //setResult(StatementExpressionList); break; } // // Rule 237: BreakStatement ::= break identifieropt ; // case 237: { //#line 1525 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name identifieropt = (Name) getRhsSym(2); //#line 1527 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (identifieropt == null) setResult(nf.Break(pos())); else setResult(nf.Break(pos(), identifieropt.toString())); break; } // // Rule 238: ContinueStatement ::= continue identifieropt ; // case 238: { //#line 1533 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name identifieropt = (Name) getRhsSym(2); //#line 1535 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (identifieropt == null) setResult(nf.Continue(pos())); else setResult(nf.Continue(pos(), identifieropt.toString())); break; } // // Rule 239: ReturnStatement ::= return Expressionopt ; // case 239: { //#line 1541 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(2); //#line 1543 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Return(pos(), Expressionopt)); break; } // // Rule 240: ThrowStatement ::= throw Expression ; // case 240: { //#line 1547 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1549 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Throw(pos(), Expression)); break; } // // Rule 241: TryStatement ::= try Block Catches // case 241: { //#line 1559 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1559 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catches = (List) getRhsSym(3); //#line 1561 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Try(pos(), Block, Catches)); break; } // // Rule 242: TryStatement ::= try Block Catchesopt Finally // case 242: { //#line 1564 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1564 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catchesopt = (List) getRhsSym(3); //#line 1564 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Finally = (Block) getRhsSym(4); //#line 1566 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Try(pos(), Block, Catchesopt, Finally)); break; } // // Rule 243: Catches ::= CatchClause // case 243: { //#line 1570 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catch CatchClause = (Catch) getRhsSym(1); //#line 1572 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Catch.class, false); l.add(CatchClause); setResult(l); break; } // // Rule 244: Catches ::= Catches CatchClause // case 244: { //#line 1577 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catches = (List) getRhsSym(1); //#line 1577 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catch CatchClause = (Catch) getRhsSym(2); //#line 1579 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catches.add(CatchClause); //setResult(Catches); break; } // // Rule 245: CatchClause ::= catch ( FormalParameter ) Block // case 245: { //#line 1584 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1584 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(5); //#line 1586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Catch(pos(), FormalParameter, Block)); break; } // // Rule 246: Finally ::= finally Block // case 246: { //#line 1590 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1592 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Block); break; } // // Rule 250: PrimaryNoNewArray ::= Type . class // case 250: { //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1612 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (Type instanceof Name) { Name a = (Name) Type; setResult(nf.ClassLit(pos(), a.toType())); } else if (Type instanceof TypeNode) { setResult(nf.ClassLit(pos(), Type)); } else if (Type instanceof CanonicalTypeNode) { CanonicalTypeNode a = (CanonicalTypeNode) Type; setResult(nf.ClassLit(pos(), a)); } else assert(false); break; } // // Rule 251: PrimaryNoNewArray ::= void . class // case 251: { //#line 1631 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassLit(pos(), nf.CanonicalTypeNode(pos(getLeftSpan()), ts.Void()))); break; } // // Rule 252: PrimaryNoNewArray ::= this // case 252: { //#line 1637 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.This(pos())); break; } // // Rule 253: PrimaryNoNewArray ::= ClassName . this // case 253: { //#line 1640 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ClassName = (Name) getRhsSym(1); //#line 1642 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.This(pos(), ClassName.toType())); break; } // // Rule 254: PrimaryNoNewArray ::= ( Expression ) // case 254: { //#line 1645 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1647 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ParExpr(pos(), Expression)); break; } // // Rule 259: Literal ::= IntegerLiteral$IntegerLiteral // case 259: { //#line 1655 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken IntegerLiteral = (IToken) getRhsIToken(1); //#line 1657 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.IntegerLiteral a = int_lit(getRhsFirstTokenIndex(1)); setResult(nf.IntLit(pos(), IntLit.INT, a.getValue().intValue())); break; } // // Rule 260: Literal ::= LongLiteral$LongLiteral // case 260: { //#line 1661 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken LongLiteral = (IToken) getRhsIToken(1); //#line 1663 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.LongLiteral a = long_lit(getRhsFirstTokenIndex(1)); setResult(nf.IntLit(pos(), IntLit.LONG, a.getValue().longValue())); break; } // // Rule 261: Literal ::= FloatingPointLiteral$FloatLiteral // case 261: { //#line 1667 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken FloatLiteral = (IToken) getRhsIToken(1); //#line 1669 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.FloatLiteral a = float_lit(getRhsFirstTokenIndex(1)); setResult(nf.FloatLit(pos(), FloatLit.FLOAT, a.getValue().floatValue())); break; } // // Rule 262: Literal ::= DoubleLiteral$DoubleLiteral // case 262: { //#line 1673 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken DoubleLiteral = (IToken) getRhsIToken(1); //#line 1675 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.DoubleLiteral a = double_lit(getRhsFirstTokenIndex(1)); setResult(nf.FloatLit(pos(), FloatLit.DOUBLE, a.getValue().doubleValue())); break; } // // Rule 263: Literal ::= BooleanLiteral // case 263: { //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.BooleanLiteral BooleanLiteral = (polyglot.lex.BooleanLiteral) getRhsSym(1); //#line 1681 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.BooleanLit(pos(), BooleanLiteral.getValue().booleanValue())); break; } // // Rule 264: Literal ::= CharacterLiteral$CharacterLiteral // case 264: { //#line 1684 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken CharacterLiteral = (IToken) getRhsIToken(1); //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.CharacterLiteral a = char_lit(getRhsFirstTokenIndex(1)); setResult(nf.CharLit(pos(), a.getValue().charValue())); break; } // // Rule 265: Literal ::= StringLiteral$str // case 265: { //#line 1690 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken str = (IToken) getRhsIToken(1); //#line 1692 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.StringLiteral a = string_lit(getRhsFirstTokenIndex(1)); setResult(nf.StringLit(pos(), a.getValue())); break; } // // Rule 266: Literal ::= null // case 266: { //#line 1698 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.NullLit(pos())); break; } // // Rule 267: BooleanLiteral ::= true$trueLiteral // case 267: { //#line 1702 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken trueLiteral = (IToken) getRhsIToken(1); //#line 1704 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(boolean_lit(getRhsFirstTokenIndex(1))); break; } // // Rule 268: BooleanLiteral ::= false$falseLiteral // case 268: { //#line 1707 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken falseLiteral = (IToken) getRhsIToken(1); //#line 1709 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(boolean_lit(getRhsFirstTokenIndex(1))); break; } // // Rule 269: ArgumentList ::= Expression // case 269: { //#line 1722 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(1); //#line 1724 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(Expression); setResult(l); break; } // // Rule 270: ArgumentList ::= ArgumentList , Expression // case 270: { //#line 1729 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentList = (List) getRhsSym(1); //#line 1729 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1731 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ArgumentList.add(Expression); //setResult(ArgumentList); break; } // // Rule 271: DimExprs ::= DimExpr // case 271: { //#line 1765 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr DimExpr = (Expr) getRhsSym(1); //#line 1767 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(DimExpr); setResult(l); break; } // // Rule 272: DimExprs ::= DimExprs DimExpr // case 272: { //#line 1772 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List DimExprs = (List) getRhsSym(1); //#line 1772 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr DimExpr = (Expr) getRhsSym(2); //#line 1774 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" DimExprs.add(DimExpr); //setResult(DimExprs); break; } // // Rule 273: DimExpr ::= [ Expression ] // case 273: { //#line 1779 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1781 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Expression.position(pos())); break; } // // Rule 274: Dims ::= [ ] // case 274: { //#line 1787 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(1)); break; } // // Rule 275: Dims ::= Dims [ ] // case 275: { //#line 1790 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Integer Dims = (Integer) getRhsSym(1); //#line 1792 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(Dims.intValue() + 1)); break; } // // Rule 276: FieldAccess ::= Primary . identifier // case 276: { //#line 1796 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Primary = (Expr) getRhsSym(1); //#line 1796 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1798 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(), Primary, identifier.getIdentifier())); break; } // // Rule 277: FieldAccess ::= super . identifier // case 277: { //#line 1801 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1803 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), identifier.getIdentifier())); break; } // // Rule 278: FieldAccess ::= ClassName . super$sup . identifier // case 278: { //#line 1806 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ClassName = (Name) getRhsSym(1); //#line 1806 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken sup = (IToken) getRhsIToken(3); //#line 1806 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 1808 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier())); break; } // // Rule 279: MethodInvocation ::= MethodName ( ArgumentListopt ) // case 279: { //#line 1812 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name MethodName = (Name) getRhsSym(1); //#line 1812 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 1814 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Call(pos(), MethodName.prefix == null ? null : MethodName.prefix.toReceiver(), MethodName.name, ArgumentListopt)); break; } // // Rule 281: PostfixExpression ::= ExpressionName // case 281: { //#line 1837 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ExpressionName = (Name) getRhsSym(1); //#line 1839 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExpressionName.toExpr()); break; } // // Rule 284: PostIncrementExpression ::= PostfixExpression ++ // case 284: { //#line 1845 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr PostfixExpression = (Expr) getRhsSym(1); //#line 1847 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), PostfixExpression, Unary.POST_INC)); break; } // // Rule 285: PostDecrementExpression ::= PostfixExpression -- // case 285: { //#line 1851 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr PostfixExpression = (Expr) getRhsSym(1); //#line 1853 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), PostfixExpression, Unary.POST_DEC)); break; } // // Rule 288: UnaryExpression ::= + UnaryExpression // case 288: { //#line 1859 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1861 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.POS, UnaryExpression)); break; } // // Rule 289: UnaryExpression ::= - UnaryExpression // case 289: { //#line 1864 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1866 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.NEG, UnaryExpression)); break; } // // Rule 291: PreIncrementExpression ::= ++ UnaryExpression // case 291: { //#line 1871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1873 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.PRE_INC, UnaryExpression)); break; } // // Rule 292: PreDecrementExpression ::= -- UnaryExpression // case 292: { //#line 1877 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1879 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.PRE_DEC, UnaryExpression)); break; } // // Rule 294: UnaryExpressionNotPlusMinus ::= ~ UnaryExpression // case 294: { //#line 1884 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1886 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.BIT_NOT, UnaryExpression)); break; } // // Rule 295: UnaryExpressionNotPlusMinus ::= ! UnaryExpression // case 295: { //#line 1889 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1891 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.NOT, UnaryExpression)); break; } // // Rule 298: MultiplicativeExpression ::= MultiplicativeExpression * UnaryExpression // case 298: { //#line 1903 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1903 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1905 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.MUL, UnaryExpression)); break; } // // Rule 299: MultiplicativeExpression ::= MultiplicativeExpression / UnaryExpression // case 299: { //#line 1908 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1908 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1910 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.DIV, UnaryExpression)); break; } // // Rule 300: MultiplicativeExpression ::= MultiplicativeExpression % UnaryExpression // case 300: { //#line 1913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1915 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.MOD, UnaryExpression)); break; } // // Rule 302: AdditiveExpression ::= AdditiveExpression + MultiplicativeExpression // case 302: { //#line 1920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(1); //#line 1920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(3); //#line 1922 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AdditiveExpression, Binary.ADD, MultiplicativeExpression)); break; } // // Rule 303: AdditiveExpression ::= AdditiveExpression - MultiplicativeExpression // case 303: { //#line 1925 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(1); //#line 1925 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(3); //#line 1927 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AdditiveExpression, Binary.SUB, MultiplicativeExpression)); break; } // // Rule 305: ShiftExpression ::= ShiftExpression << AdditiveExpression // case 305: { //#line 1932 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1932 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(3); //#line 1934 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ShiftExpression, Binary.SHL, AdditiveExpression)); break; } // // Rule 306: ShiftExpression ::= ShiftExpression > > AdditiveExpression // case 306: { //#line 1937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(4); //#line 1939 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), ShiftExpression, Binary.SHR, AdditiveExpression)); break; } // // Rule 307: ShiftExpression ::= ShiftExpression > > > AdditiveExpression // case 307: { //#line 1943 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1943 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(5); //#line 1945 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), ShiftExpression, Binary.USHR, AdditiveExpression)); break; } // // Rule 309: RelationalExpression ::= RelationalExpression < ShiftExpression // case 309: { //#line 1951 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1951 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1953 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.LT, ShiftExpression)); break; } // // Rule 310: RelationalExpression ::= RelationalExpression > ShiftExpression // case 310: { //#line 1956 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1956 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1958 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.GT, ShiftExpression)); break; } // // Rule 311: RelationalExpression ::= RelationalExpression <= ShiftExpression // case 311: { //#line 1961 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1961 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1963 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.LE, ShiftExpression)); break; } // // Rule 312: RelationalExpression ::= RelationalExpression > = ShiftExpression // case 312: { //#line 1966 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1966 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(4); //#line 1968 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), RelationalExpression, Binary.GE, ShiftExpression)); break; } // // Rule 314: EqualityExpression ::= EqualityExpression == RelationalExpression // case 314: { //#line 1982 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(1); //#line 1982 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(3); //#line 1984 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), EqualityExpression, Binary.EQ, RelationalExpression)); break; } // // Rule 315: EqualityExpression ::= EqualityExpression != RelationalExpression // case 315: { //#line 1987 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(1); //#line 1987 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(3); //#line 1989 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), EqualityExpression, Binary.NE, RelationalExpression)); break; } // // Rule 317: AndExpression ::= AndExpression & EqualityExpression // case 317: { //#line 1994 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AndExpression = (Expr) getRhsSym(1); //#line 1994 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(3); //#line 1996 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AndExpression, Binary.BIT_AND, EqualityExpression)); break; } // // Rule 319: ExclusiveOrExpression ::= ExclusiveOrExpression ^ AndExpression // case 319: { //#line 2001 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ExclusiveOrExpression = (Expr) getRhsSym(1); //#line 2001 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AndExpression = (Expr) getRhsSym(3); //#line 2003 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ExclusiveOrExpression, Binary.BIT_XOR, AndExpression)); break; } // // Rule 321: InclusiveOrExpression ::= InclusiveOrExpression | ExclusiveOrExpression // case 321: { //#line 2008 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr InclusiveOrExpression = (Expr) getRhsSym(1); //#line 2008 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ExclusiveOrExpression = (Expr) getRhsSym(3); //#line 2010 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), InclusiveOrExpression, Binary.BIT_OR, ExclusiveOrExpression)); break; } // // Rule 323: ConditionalAndExpression ::= ConditionalAndExpression && InclusiveOrExpression // case 323: { //#line 2015 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalAndExpression = (Expr) getRhsSym(1); //#line 2015 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr InclusiveOrExpression = (Expr) getRhsSym(3); //#line 2017 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ConditionalAndExpression, Binary.COND_AND, InclusiveOrExpression)); break; } // // Rule 325: ConditionalOrExpression ::= ConditionalOrExpression || ConditionalAndExpression // case 325: { //#line 2022 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalOrExpression = (Expr) getRhsSym(1); //#line 2022 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalAndExpression = (Expr) getRhsSym(3); //#line 2024 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ConditionalOrExpression, Binary.COND_OR, ConditionalAndExpression)); break; } // // Rule 327: ConditionalExpression ::= ConditionalOrExpression ? Expression : ConditionalExpression // case 327: { //#line 2029 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalOrExpression = (Expr) getRhsSym(1); //#line 2029 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 2029 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalExpression = (Expr) getRhsSym(5); //#line 2031 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Conditional(pos(), ConditionalOrExpression, Expression, ConditionalExpression)); break; } // // Rule 330: Assignment ::= LeftHandSide AssignmentOperator AssignmentExpression // case 330: { //#line 2038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr LeftHandSide = (Expr) getRhsSym(1); //#line 2038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Assign.Operator AssignmentOperator = (Assign.Operator) getRhsSym(2); //#line 2038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AssignmentExpression = (Expr) getRhsSym(3); //#line 2040 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assign(pos(), LeftHandSide, AssignmentOperator, AssignmentExpression)); break; } // // Rule 331: LeftHandSide ::= ExpressionName // case 331: { //#line 2044 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ExpressionName = (Name) getRhsSym(1); //#line 2046 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExpressionName.toExpr()); break; } // // Rule 334: AssignmentOperator ::= = // case 334: { //#line 2054 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.ASSIGN); break; } // // Rule 335: AssignmentOperator ::= *= // case 335: { //#line 2059 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.MUL_ASSIGN); break; } // // Rule 336: AssignmentOperator ::= /= // case 336: { //#line 2064 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.DIV_ASSIGN); break; } // // Rule 337: AssignmentOperator ::= %= // case 337: { //#line 2069 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.MOD_ASSIGN); break; } // // Rule 338: AssignmentOperator ::= += // case 338: { //#line 2074 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.ADD_ASSIGN); break; } // // Rule 339: AssignmentOperator ::= -= // case 339: { //#line 2079 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.SUB_ASSIGN); break; } // // Rule 340: AssignmentOperator ::= <<= // case 340: { //#line 2084 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.SHL_ASSIGN); break; } // // Rule 341: AssignmentOperator ::= > > = // case 341: { //#line 2089 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(Assign.SHR_ASSIGN); break; } // // Rule 342: AssignmentOperator ::= > > > = // case 342: { //#line 2095 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(Assign.USHR_ASSIGN); break; } // // Rule 343: AssignmentOperator ::= &= // case 343: { //#line 2101 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_AND_ASSIGN); break; } // // Rule 344: AssignmentOperator ::= ^= // case 344: { //#line 2106 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_XOR_ASSIGN); break; } // // Rule 345: AssignmentOperator ::= |= // case 345: { //#line 2111 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_OR_ASSIGN); break; } // // Rule 348: Dimsopt ::= $Empty // case 348: { //#line 2124 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(0)); break; } // // Rule 350: Catchesopt ::= $Empty // case 350: { //#line 2131 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 352: identifieropt ::= $Empty // case 352: setResult(null); break; // // Rule 353: identifieropt ::= identifier // case 353: { //#line 2138 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 2140 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 354: ForUpdateopt ::= $Empty // case 354: { //#line 2146 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ForUpdate.class, false)); break; } // // Rule 356: Expressionopt ::= $Empty // case 356: setResult(null); break; // // Rule 358: ForInitopt ::= $Empty // case 358: { //#line 2157 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ForInit.class, false)); break; } // // Rule 360: SwitchLabelsopt ::= $Empty // case 360: { //#line 2164 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Case.class, false)); break; } // // Rule 362: SwitchBlockStatementGroupsopt ::= $Empty // case 362: { //#line 2171 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), SwitchElement.class, false)); break; } // // Rule 364: VariableModifiersopt ::= $Empty // case 364: { //#line 2178 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 366: VariableInitializersopt ::= $Empty // case 366: setResult(null); break; // // Rule 368: AbstractMethodModifiersopt ::= $Empty // case 368: { //#line 2208 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 370: ConstantModifiersopt ::= $Empty // case 370: { //#line 2215 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 372: InterfaceMemberDeclarationsopt ::= $Empty // case 372: { //#line 2222 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 374: ExtendsInterfacesopt ::= $Empty // case 374: { //#line 2229 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 376: InterfaceModifiersopt ::= $Empty // case 376: { //#line 2236 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 378: ClassBodyopt ::= $Empty // case 378: setResult(null); break; // // Rule 380: Argumentsopt ::= $Empty // case 380: setResult(null); break; // // Rule 381: Argumentsopt ::= Arguments // case 381: throw new Error("No action specified for rule " + 381); // // Rule 382: ,opt ::= $Empty // case 382: setResult(null); break; // // Rule 384: ArgumentListopt ::= $Empty // case 384: { //#line 2266 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 386: BlockStatementsopt ::= $Empty // case 386: { //#line 2273 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Stmt.class, false)); break; } // // Rule 388: ExplicitConstructorInvocationopt ::= $Empty // case 388: setResult(null); break; // // Rule 390: ConstructorModifiersopt ::= $Empty // case 390: { //#line 2284 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 392: ...opt ::= $Empty // case 392: setResult(null); break; // // Rule 394: FormalParameterListopt ::= $Empty // case 394: { //#line 2295 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Formal.class, false)); break; } // // Rule 396: Throwsopt ::= $Empty // case 396: { //#line 2302 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 398: MethodModifiersopt ::= $Empty // case 398: { //#line 2309 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 400: FieldModifiersopt ::= $Empty // case 400: { //#line 2316 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 402: ClassBodyDeclarationsopt ::= $Empty // case 402: { //#line 2323 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 404: Interfacesopt ::= $Empty // case 404: { //#line 2330 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 406: Superopt ::= $Empty // case 406: { //#line 2337 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), "x10.lang.Object").toType()); break; } // // Rule 408: ClassModifiersopt ::= $Empty // case 408: { //#line 2348 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 410: TypeDeclarationsopt ::= $Empty // case 410: { //#line 2360 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TopLevelDecl.class, false)); break; } // // Rule 412: ImportDeclarationsopt ::= $Empty // case 412: { //#line 2367 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Import.class, false)); break; } // // Rule 414: PackageDeclarationopt ::= $Empty // case 414: setResult(null); break; // // Rule 416: ClassType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 416: { //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 725 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DepParametersopt == null ? TypeName.toType() : ((X10TypeNode) TypeName.toType()).dep(null, DepParametersopt)); break; } // // Rule 417: InterfaceType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 417: { //#line 732 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 732 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 732 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 734 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DepParametersopt == null ? TypeName.toType() : ((X10TypeNode) TypeName.toType()).dep(null, DepParametersopt)); break; } // // Rule 418: PackageDeclaration ::= package PackageName ; // case 418: { //#line 740 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name PackageName = (Name) getRhsSym(2); //#line 742 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(PackageName.toPackage()); break; } // // Rule 419: NormalClassDeclaration ::= X10ClassModifiersopt class identifier PropertyListopt Superopt Interfacesopt ClassBody // case 419: { //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(5); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(6); //#line 746 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(7); //#line 748 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt == null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt == null ? null : (Expr) PropertyListopt[1]; setResult(X10Flags.isValue(X10ClassModifiersopt) ? nf.ValueClassDecl(pos(), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody) : nf.ClassDecl(pos(), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 421: X10ClassModifiers ::= X10ClassModifiers X10ClassModifier // case 421: { //#line 761 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiers = (X10Flags) getRhsSym(1); //#line 761 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifier = (X10Flags) getRhsSym(2); //#line 763 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags result = X10ClassModifiers.setX(X10ClassModifier); setResult(result); break; } // // Rule 422: X10ClassModifier ::= ClassModifier // case 422: { //#line 769 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags ClassModifier = (Flags) getRhsSym(1); //#line 771 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.toX10Flags(ClassModifier)); break; } // // Rule 423: X10ClassModifier ::= safe // case 423: { //#line 776 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SAFE); break; } // // Rule 424: PropertyList ::= ( Properties WhereClauseopt ) // case 424: { //#line 780 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Properties = (List) getRhsSym(2); //#line 780 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(3); //#line 782 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] result = new Object[2]; result[0] = Properties; result[1] = WhereClauseopt; setResult(result); break; } // // Rule 425: PropertyList ::= ( WhereClause ) // case 425: { //#line 787 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClause = (Expr) getRhsSym(2); //#line 789 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] result = new Object[2]; result[0] = null; result[1] = WhereClause; setResult(result); break; } // // Rule 426: Properties ::= Property // case 426: { //#line 796 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" PropertyDecl Property = (PropertyDecl) getRhsSym(1); //#line 798 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), PropertyDecl.class, false); l.add(Property); setResult(l); break; } // // Rule 427: Properties ::= Properties , Property // case 427: { //#line 803 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Properties = (List) getRhsSym(1); //#line 803 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" PropertyDecl Property = (PropertyDecl) getRhsSym(3); //#line 805 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Properties.add(Property); // setResult(FormalParameters); break; } // // Rule 428: Property ::= Type identifier // case 428: { //#line 811 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 811 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(2); //#line 813 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.PropertyDecl(pos(), Flags.PUBLIC.Final(), Type, identifier.getIdentifier())); break; } // // Rule 429: MethodDeclaration ::= ThisClauseopt MethodModifiersopt ResultType MethodDeclarator Throwsopt MethodBody // case 429: { //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags MethodModifiersopt = (Flags) getRhsSym(2); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ResultType = (TypeNode) getRhsSym(3); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(4); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(5); //#line 826 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Block MethodBody = (Block) getRhsSym(6); //#line 828 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name c = (MethodDeclarator != null) ? (Name) MethodDeclarator[0] : null; List d = (MethodDeclarator != null) ? (List) MethodDeclarator[1] : null; Integer e = (MethodDeclarator != null) ? (Integer) MethodDeclarator[2] : null; Expr where = (MethodDeclarator != null) ? (Expr) MethodDeclarator[3] : null; if (ResultType.type() == ts.Void() && e != null && e.intValue() > 0) { // TODO: error!!! System.err.println("Fix me - encountered method returning void but with non-zero rank?"); } setResult(nf.MethodDecl(pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(4)), ThisClauseopt, MethodModifiersopt, nf.array((TypeNode) ResultType, pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(3)), e != null ? e.intValue() : 1), c != null ? c.toString() : "", d, where, Throwsopt, MethodBody)); break; } // // Rule 430: ExplicitConstructorInvocation ::= this ( ArgumentListopt ) ; // case 430: { //#line 850 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(3); //#line 852 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ThisCall(pos(), ArgumentListopt)); break; } // // Rule 431: ExplicitConstructorInvocation ::= super ( ArgumentListopt ) ; // case 431: { //#line 855 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(3); //#line 857 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.SuperCall(pos(), ArgumentListopt)); break; } // // Rule 432: ExplicitConstructorInvocation ::= Primary . this ( ArgumentListopt ) ; // case 432: { //#line 860 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 860 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 862 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ThisCall(pos(), Primary, ArgumentListopt)); break; } // // Rule 433: ExplicitConstructorInvocation ::= Primary . super ( ArgumentListopt ) ; // case 433: { //#line 865 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 865 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 867 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.SuperCall(pos(), Primary, ArgumentListopt)); break; } // // Rule 434: NormalInterfaceDeclaration ::= InterfaceModifiersopt interface identifier PropertyListopt ExtendsInterfacesopt InterfaceBody // case 434: { //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags InterfaceModifiersopt = (Flags) getRhsSym(1); //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ExtendsInterfacesopt = (List) getRhsSym(5); //#line 871 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody InterfaceBody = (ClassBody) getRhsSym(6); //#line 873 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt == null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt == null ? null : (Expr) PropertyListopt[1]; setResult(nf.ClassDecl(pos(), InterfaceModifiersopt.Interface(), identifier.getIdentifier(), props, ci, null, ExtendsInterfacesopt, InterfaceBody)); break; } // // Rule 435: AbstractMethodDeclaration ::= ThisClauseopt AbstractMethodModifiersopt ResultType MethodDeclarator Throwsopt ; // case 435: { //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags AbstractMethodModifiersopt = (Flags) getRhsSym(2); //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ResultType = (TypeNode) getRhsSym(3); //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(4); //#line 888 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(5); //#line 890 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name c = (Name) MethodDeclarator[0]; List d = (List) MethodDeclarator[1]; Integer e = (Integer) MethodDeclarator[2]; Expr where = (Expr) MethodDeclarator[3]; if (ResultType.type() == ts.Void() && e.intValue() > 0) { // TODO: error!!! assert(false); } setResult(nf.MethodDecl(pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(4)), ThisClauseopt, AbstractMethodModifiersopt , nf.array((TypeNode) ResultType, pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(3)), e.intValue()), c.toString(), d, where, Throwsopt, null)); break; } // // Rule 436: ClassInstanceCreationExpression ::= new ClassOrInterfaceType ( ArgumentListopt ) ClassBodyopt // case 436: { //#line 913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ClassOrInterfaceType = (TypeNode) getRhsSym(2); //#line 913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(4); //#line 913 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(6); //#line 915 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" if (ClassBodyopt == null) setResult(nf.New(pos(), ClassOrInterfaceType, ArgumentListopt)); else setResult(nf.New(pos(), ClassOrInterfaceType, ArgumentListopt, ClassBodyopt)); break; } // // Rule 437: ClassInstanceCreationExpression ::= Primary . new identifier ( ArgumentListopt ) ClassBodyopt // case 437: { //#line 920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(6); //#line 920 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(8); //#line 922 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name b = new Name(nf, ts, pos(), identifier.getIdentifier()); if (ClassBodyopt == null) setResult(nf.New(pos(), Primary, b.toType(), ArgumentListopt)); else setResult(nf.New(pos(), Primary, b.toType(), ArgumentListopt, ClassBodyopt)); break; } // // Rule 438: ClassInstanceCreationExpression ::= AmbiguousName . new identifier ( ArgumentListopt ) ClassBodyopt // case 438: { //#line 928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name AmbiguousName = (Name) getRhsSym(1); //#line 928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(6); //#line 928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(8); //#line 930 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name b = new Name(nf, ts, pos(), identifier.getIdentifier()); if (ClassBodyopt == null) setResult(nf.New(pos(), AmbiguousName.toExpr(), b.toType(), ArgumentListopt)); else setResult(nf.New(pos(), AmbiguousName.toExpr(), b.toType(), ArgumentListopt, ClassBodyopt)); break; } // // Rule 439: MethodInvocation ::= Primary . identifier ( ArgumentListopt ) // case 439: { //#line 937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 939 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), Primary, identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 440: MethodInvocation ::= super . identifier ( ArgumentListopt ) // case 440: { //#line 942 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 942 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 944 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), nf.Super(pos(getLeftSpan())), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 441: MethodInvocation ::= ClassName . super$sup . identifier ( ArgumentListopt ) // case 441: { //#line 947 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 947 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken sup = (IToken) getRhsIToken(3); //#line 947 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 947 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(7); //#line 949 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 443: AssignPropertyCall ::= property ( ArgumentList ) // case 443: { //#line 954 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 956 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.AssignPropertyCall(pos(), ArgumentList)); break; } // // Rule 444: Type ::= DataType // case 444: { //#line 965 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode DataType = (TypeNode) getRhsSym(1); //#line 967 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DataType); break; } // // Rule 445: Type ::= nullable < Type > DepParametersopt // case 445: { //#line 970 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 970 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(5); //#line 972 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10TypeNode t = nf.Nullable(pos(), Type); setResult(DepParametersopt == null ? t : t.dep(null, DepParametersopt)); break; } // // Rule 446: Type ::= future < Type > // case 446: { //#line 978 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 980 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), Type)); break; } // // Rule 450: PrimitiveType ::= NumericType DepParametersopt // case 450: { //#line 995 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode NumericType = (TypeNode) getRhsSym(1); //#line 995 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 997 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // System.out.println("Parser: parsed PrimitiveType |" + NumericType + "| |" + DepParametersopt +"|"); setResult(DepParametersopt == null ? NumericType : ((X10TypeNode) NumericType).dep(null, DepParametersopt)); break; } // // Rule 451: PrimitiveType ::= boolean DepParametersopt // case 451: { //#line 1003 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1005 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10TypeNode res = (X10TypeNode) nf.CanonicalTypeNode(pos(), ts.Boolean()); setResult(DepParametersopt==null ? res : res.dep(null, DepParametersopt)); break; } // // Rule 456: ClassOrInterfaceType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 456: { //#line 1017 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 1017 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1017 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 1019 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10TypeNode type; if (ts.isPrimitiveTypeName(TypeName.name)) { try { type= (X10TypeNode) nf.CanonicalTypeNode(pos(), ts.primitiveForName(TypeName.name)); } catch (SemanticException e) { throw new InternalCompilerError("Unable to create primitive type for '" + TypeName.name + "'!"); } } else type= (X10TypeNode) TypeName.toType(); // System.out.println("Parser: parsed ClassOrInterfaceType |" + TypeName + "| |" + DepParametersopt +"|"); setResult(DepParametersopt == null ? type : type.dep(null, DepParametersopt)); break; } // // Rule 457: DepParameters ::= ( DepParameterExpr ) // case 457: { //#line 1036 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(2); //#line 1038 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DepParameterExpr); break; } // // Rule 458: DepParameterExpr ::= ArgumentList WhereClauseopt // case 458: { //#line 1042 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(1); //#line 1042 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(2); //#line 1044 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.DepParameterExpr(pos(), ArgumentList, WhereClauseopt)); break; } // // Rule 459: DepParameterExpr ::= WhereClause // case 459: { //#line 1047 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClause = (Expr) getRhsSym(1); //#line 1049 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.DepParameterExpr(pos(), Collections.EMPTY_LIST, WhereClause)); break; } // // Rule 460: WhereClause ::= : ConstExpression // case 460: { //#line 1053 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(2); //#line 1055 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstExpression); break; } // // Rule 461: ConstPrimary ::= Literal // case 461: { //#line 1060 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.ast.Lit Literal = (polyglot.ast.Lit) getRhsSym(1); //#line 1062 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Literal); break; } // // Rule 462: ConstPrimary ::= Type . class // case 462: { //#line 1065 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1067 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" if (Type instanceof Name) { Name a = (Name) Type; setResult(nf.ClassLit(pos(), a.toType())); } else if (Type instanceof TypeNode) { setResult(nf.ClassLit(pos(), Type)); } else if (Type instanceof CanonicalTypeNode) { CanonicalTypeNode a = (CanonicalTypeNode) Type; setResult(nf.ClassLit(pos(), a)); } else assert(false); break; } // // Rule 463: ConstPrimary ::= void . class // case 463: { //#line 1086 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ClassLit(pos(), nf.CanonicalTypeNode(pos(getLeftSpan()), ts.Void()))); break; } // // Rule 464: ConstPrimary ::= this // case 464: { //#line 1092 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.This(pos())); break; } // // Rule 465: ConstPrimary ::= here // case 465: { //#line 1097 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Here(pos())); break; } // // Rule 466: ConstPrimary ::= ClassName . this // case 466: { //#line 1100 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 1102 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.This(pos(), ClassName.toType())); break; } // // Rule 467: ConstPrimary ::= ( ConstExpression ) // case 467: { //#line 1105 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(2); //#line 1107 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstExpression); break; } // // Rule 469: ConstPrimary ::= self // case 469: { //#line 1113 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Self(pos())); break; } // // Rule 470: ConstPostfixExpression ::= ConstPrimary // case 470: { //#line 1119 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstPrimary = (Expr) getRhsSym(1); //#line 1121 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstPrimary); break; } // // Rule 471: ConstPostfixExpression ::= ExpressionName // case 471: { //#line 1124 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ExpressionName = (Name) getRhsSym(1); //#line 1126 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ExpressionName.toExpr()); break; } // // Rule 472: ConstUnaryExpression ::= ConstPostfixExpression // case 472: { //#line 1129 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstPostfixExpression = (Expr) getRhsSym(1); //#line 1131 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstPostfixExpression); break; } // // Rule 473: ConstUnaryExpression ::= + ConstUnaryExpression // case 473: { //#line 1134 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1136 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.POS, ConstUnaryExpression)); break; } // // Rule 474: ConstUnaryExpression ::= - ConstUnaryExpression // case 474: { //#line 1139 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1141 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.NEG, ConstUnaryExpression)); break; } // // Rule 475: ConstUnaryExpression ::= ! ConstUnaryExpression // case 475: { //#line 1144 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1146 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.NOT, ConstUnaryExpression)); break; } // // Rule 476: ConstMultiplicativeExpression ::= ConstUnaryExpression // case 476: { //#line 1150 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(1); //#line 1152 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstUnaryExpression); break; } // // Rule 477: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression * ConstUnaryExpression // case 477: { //#line 1155 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1155 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1157 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.MUL, ConstUnaryExpression)); break; } // // Rule 478: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression / ConstUnaryExpression // case 478: { //#line 1160 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1160 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1162 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.DIV, ConstUnaryExpression)); break; } // // Rule 479: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression % ConstUnaryExpression // case 479: { //#line 1165 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1165 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1167 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.MOD, ConstUnaryExpression)); break; } // // Rule 480: ConstAdditiveExpression ::= ConstMultiplicativeExpression // case 480: { //#line 1171 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1173 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstMultiplicativeExpression); break; } // // Rule 481: ConstAdditiveExpression ::= ConstAdditiveExpression + ConstMultiplicativeExpression // case 481: { //#line 1176 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1176 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(3); //#line 1178 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAdditiveExpression, Binary.ADD, ConstMultiplicativeExpression)); break; } // // Rule 482: ConstAdditiveExpression ::= ConstAdditiveExpression - ConstMultiplicativeExpression // case 482: { //#line 1181 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1181 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(3); //#line 1183 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAdditiveExpression, Binary.SUB, ConstMultiplicativeExpression)); break; } // // Rule 483: ConstRelationalExpression ::= ConstAdditiveExpression // case 483: { //#line 1188 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1190 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstAdditiveExpression); break; } // // Rule 484: ConstRelationalExpression ::= ConstRelationalExpression < ConstAdditiveExpression // case 484: { //#line 1193 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1193 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1195 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.LT, ConstAdditiveExpression)); break; } // // Rule 485: ConstRelationalExpression ::= ConstRelationalExpression > ConstAdditiveExpression // case 485: { //#line 1198 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1198 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1200 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.GT, ConstAdditiveExpression)); break; } // // Rule 486: ConstRelationalExpression ::= ConstRelationalExpression <= ConstAdditiveExpression // case 486: { //#line 1203 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1203 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1205 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.LE, ConstAdditiveExpression)); break; } // // Rule 487: ConstRelationalExpression ::= ConstRelationalExpression > = ConstAdditiveExpression // case 487: { //#line 1208 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1208 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(4); //#line 1210 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.GE, ConstAdditiveExpression)); break; } // // Rule 488: ConstEqualityExpression ::= ConstRelationalExpression // case 488: { //#line 1214 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1216 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstRelationalExpression); break; } // // Rule 489: ConstEqualityExpression ::= ConstEqualityExpression == ConstRelationalExpression // case 489: { //#line 1219 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1219 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(3); //#line 1221 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstEqualityExpression, Binary.EQ, ConstRelationalExpression)); break; } // // Rule 490: ConstEqualityExpression ::= ConstEqualityExpression != ConstRelationalExpression // case 490: { //#line 1224 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1224 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(3); //#line 1226 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstEqualityExpression, Binary.NE, ConstRelationalExpression)); break; } // // Rule 491: ConstAndExpression ::= ConstEqualityExpression // case 491: { //#line 1230 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1232 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstEqualityExpression); break; } // // Rule 492: ConstAndExpression ::= ConstAndExpression && ConstEqualityExpression // case 492: { //#line 1235 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(1); //#line 1235 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(3); //#line 1237 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAndExpression, Binary.COND_AND, ConstEqualityExpression)); break; } // // Rule 493: ConstExclusiveOrExpression ::= ConstAndExpression // case 493: { //#line 1241 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(1); //#line 1243 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstAndExpression); break; } // // Rule 494: ConstExclusiveOrExpression ::= ConstExclusiveOrExpression ^ ConstAndExpression // case 494: { //#line 1246 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(1); //#line 1246 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(3); //#line 1248 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstExclusiveOrExpression, Binary.BIT_XOR, ConstAndExpression)); break; } // // Rule 495: ConstInclusiveOrExpression ::= ConstExclusiveOrExpression // case 495: { //#line 1252 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(1); //#line 1254 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstExclusiveOrExpression); break; } // // Rule 496: ConstInclusiveOrExpression ::= ConstInclusiveOrExpression || ConstExclusiveOrExpression // case 496: { //#line 1257 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1257 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(3); //#line 1259 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstInclusiveOrExpression, Binary.COND_OR, ConstExclusiveOrExpression)); break; } // // Rule 497: ConstExpression ::= ConstInclusiveOrExpression // case 497: { //#line 1263 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1265 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ConstInclusiveOrExpression); break; } // // Rule 498: ConstExpression ::= ConstInclusiveOrExpression ? ConstExpression$first : ConstExpression // case 498: { //#line 1268 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1268 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr first = (Expr) getRhsSym(3); //#line 1268 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(5); //#line 1270 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Conditional(pos(), ConstInclusiveOrExpression, first, ConstExpression)); break; } // // Rule 499: ConstFieldAccess ::= ConstPrimary . identifier // case 499: { //#line 1275 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr ConstPrimary = (Expr) getRhsSym(1); //#line 1275 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1277 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(), ConstPrimary, identifier.getIdentifier())); break; } // // Rule 500: ConstFieldAccess ::= super . identifier // case 500: { //#line 1280 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1282 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), identifier.getIdentifier())); break; } // // Rule 501: ConstFieldAccess ::= ClassName . super$sup . identifier // case 501: { //#line 1285 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 1285 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken sup = (IToken) getRhsIToken(3); //#line 1285 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 1287 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier())); break; } // // Rule 503: X10ArrayType ::= Type [ . ] // case 503: { //#line 1303 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1305 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, false, null)); break; } // // Rule 504: X10ArrayType ::= Type value [ . ] // case 504: { //#line 1308 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1310 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, true, null)); break; } // // Rule 505: X10ArrayType ::= Type [ DepParameterExpr ] // case 505: { //#line 1313 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1313 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(3); //#line 1315 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, false, DepParameterExpr)); break; } // // Rule 506: X10ArrayType ::= Type value [ DepParameterExpr ] // case 506: { //#line 1318 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1318 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(4); //#line 1320 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, true, DepParameterExpr)); break; } // // Rule 507: ObjectKind ::= value // case 507: throw new Error("No action specified for rule " + 507); // // Rule 508: ObjectKind ::= reference // case 508: throw new Error("No action specified for rule " + 508); // // Rule 509: MethodModifier ::= atomic // case 509: { //#line 1334 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.ATOMIC); break; } // // Rule 510: MethodModifier ::= extern // case 510: { //#line 1339 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Flags.NATIVE); break; } // // Rule 511: MethodModifier ::= safe // case 511: { //#line 1344 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SAFE); break; } // // Rule 512: MethodModifier ::= sequential // case 512: { //#line 1349 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SEQUENTIAL); break; } // // Rule 513: MethodModifier ::= local // case 513: { //#line 1354 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.LOCAL); break; } // // Rule 514: MethodModifier ::= nonblocking // case 514: { //#line 1359 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.NON_BLOCKING); break; } // // Rule 516: ValueClassDeclaration ::= X10ClassModifiersopt value identifier PropertyListopt Superopt Interfacesopt ClassBody // case 516: { //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(5); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(6); //#line 1365 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(7); //#line 1367 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt==null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt==null ? null : (Expr) PropertyListopt[1]; setResult(nf.ValueClassDecl(pos(getLeftSpan(), getRightSpan()), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 517: ValueClassDeclaration ::= X10ClassModifiersopt value class identifier PropertyListopt Superopt Interfacesopt ClassBody // case 517: { //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(5); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(6); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(7); //#line 1375 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(8); //#line 1377 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt==null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt==null ? null : (Expr) PropertyListopt[1]; setResult(nf.ValueClassDecl(pos(getLeftSpan(), getRightSpan()), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 518: ConstructorDeclaration ::= ConstructorModifiersopt ConstructorDeclarator Throwsopt ConstructorBody // case 518: { //#line 1386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags ConstructorModifiersopt = (Flags) getRhsSym(1); //#line 1386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] ConstructorDeclarator = (Object[]) getRhsSym(2); //#line 1386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(3); //#line 1386 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Block ConstructorBody = (Block) getRhsSym(4); //#line 1388 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name a = (Name) ConstructorDeclarator[1]; DepParameterExpr c = (DepParameterExpr) ConstructorDeclarator[2]; List b = (List) ConstructorDeclarator[3]; Expr e = (Expr) ConstructorDeclarator[4]; setResult(nf.ConstructorDecl(pos(), ConstructorModifiersopt, a.toString(), c, b, e, Throwsopt, ConstructorBody)); break; } // // Rule 519: ConstructorDeclarator ::= SimpleTypeName DepParametersopt ( FormalParameterListopt WhereClauseopt ) // case 519: { //#line 1396 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name SimpleTypeName = (Name) getRhsSym(1); //#line 1396 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1396 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List FormalParameterListopt = (List) getRhsSym(4); //#line 1396 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(5); //#line 1398 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] a = new Object[5]; a[1] = SimpleTypeName; a[2] = DepParametersopt; a[3] = FormalParameterListopt; a[4] = WhereClauseopt; setResult(a); break; } // // Rule 520: ThisClause ::= this DepParameters // case 520: { //#line 1406 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameters = (DepParameterExpr) getRhsSym(2); //#line 1408 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DepParameters); break; } // // Rule 521: Super ::= extends DataType // case 521: { //#line 1412 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode DataType = (TypeNode) getRhsSym(2); //#line 1414 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(DataType); break; } // // Rule 522: MethodDeclarator ::= identifier ( FormalParameterListopt WhereClauseopt ) // case 522: { //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List FormalParameterListopt = (List) getRhsSym(3); //#line 1418 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(4); //#line 1420 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // System.out.println("Parsing methoddeclarator..."); Object[] a = new Object[5]; a[0] = new Name(nf, ts, pos(), identifier.getIdentifier()); a[1] = FormalParameterListopt; a[2] = new Integer(0); a[3] = WhereClauseopt; setResult(a); break; } // // Rule 523: MethodDeclarator ::= MethodDeclarator [ ] // case 523: { //#line 1430 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(1); //#line 1432 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" MethodDeclarator[2] = new Integer(((Integer) MethodDeclarator[2]).intValue() + 1); // setResult(MethodDeclarator); break; } // // Rule 524: FieldDeclaration ::= ThisClauseopt FieldModifiersopt Type VariableDeclarators ; // case 524: { //#line 1438 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 1438 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Flags FieldModifiersopt = (Flags) getRhsSym(2); //#line 1438 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1438 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List VariableDeclarators = (List) getRhsSym(4); //#line 1440 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), ClassMember.class, false); if (VariableDeclarators != null && VariableDeclarators.size() > 0) { for (Iterator i = VariableDeclarators.iterator(); i.hasNext();) { X10VarDeclarator d = (X10VarDeclarator) i.next(); if (d.hasExplodedVars()) // TODO: Report this exception correctly. throw new Error("Field Declarations may not have exploded variables." + pos()); d.setFlag(FieldModifiersopt); l.add(nf.FieldDecl(d.position(), ThisClauseopt, d.flags, nf.array(Type, Type.position(), d.dims), d.name, d.init)); } } setResult(l); break; } // // Rule 525: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt Dims ArrayInitializer // case 525: { //#line 1474 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1474 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1474 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Integer Dims = (Integer) getRhsSym(4); //#line 1474 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ArrayInit ArrayInitializer = (ArrayInit) getRhsSym(5); //#line 1476 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); setResult(nf.NewArray(pos(), ArrayBaseType, Dims.intValue(), ArrayInitializer)); break; } // // Rule 526: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt DimExpr Dims // case 526: { //#line 1480 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1480 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1480 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr DimExpr = (Expr) getRhsSym(4); //#line 1480 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Integer Dims = (Integer) getRhsSym(5); //#line 1482 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); setResult(nf.NewArray(pos(), ArrayBaseType, Collections.singletonList(DimExpr), Dims.intValue())); break; } // // Rule 527: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt DimExpr DimExprs Dimsopt // case 527: { //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr DimExpr = (Expr) getRhsSym(4); //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List DimExprs = (List) getRhsSym(5); //#line 1486 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Integer Dimsopt = (Integer) getRhsSym(6); //#line 1488 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(DimExpr); l.addAll(DimExprs); setResult(nf.NewArray(pos(), ArrayBaseType, l, Dimsopt.intValue())); break; } // // Rule 528: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression ] // case 528: { //#line 1495 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1495 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1495 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1495 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(6); //#line 1497 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, Expression, null)); break; } // // Rule 529: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression$distr ] Expression$initializer // case 529: { //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr distr = (Expr) getRhsSym(6); //#line 1500 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr initializer = (Expr) getRhsSym(8); //#line 1502 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, distr, initializer)); break; } // // Rule 530: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression ] ($lparen FormalParameter ) MethodBody // case 530: { //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(6); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken lparen = (IToken) getRhsIToken(8); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(9); //#line 1505 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Block MethodBody = (Block) getRhsSym(11); //#line 1507 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr initializer = makeInitializer( pos(getRhsFirstTokenIndex(8), getRightSpan()), ArrayBaseType, FormalParameter, MethodBody ); setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, Expression, initializer)); break; } // // Rule 531: Valueopt ::= $Empty // case 531: setResult(null); break; // // Rule 532: Valueopt ::= value // case 532: { //#line 1516 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // any value distinct from null setResult(this); break; } // // Rule 535: ArrayBaseType ::= nullable < Type > // case 535: { //#line 1523 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1525 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Nullable(pos(), Type)); break; } // // Rule 536: ArrayBaseType ::= future < Type > // case 536: { //#line 1528 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1530 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), Type)); break; } // // Rule 537: ArrayBaseType ::= ( Type ) // case 537: { //#line 1533 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1535 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Type); break; } // // Rule 538: ArrayAccess ::= ExpressionName [ ArgumentList ] // case 538: { //#line 1539 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name ExpressionName = (Name) getRhsSym(1); //#line 1539 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 1541 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" if (ArgumentList.size() == 1) setResult(nf.X10ArrayAccess1(pos(), ExpressionName.toExpr(), (Expr) ArgumentList.get(0))); else setResult(nf.X10ArrayAccess(pos(), ExpressionName.toExpr(), ArgumentList)); break; } // // Rule 539: ArrayAccess ::= PrimaryNoNewArray [ ArgumentList ] // case 539: { //#line 1546 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PrimaryNoNewArray = (Expr) getRhsSym(1); //#line 1546 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 1548 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" if (ArgumentList.size() == 1) setResult(nf.X10ArrayAccess1(pos(), PrimaryNoNewArray, (Expr) ArgumentList.get(0))); else setResult(nf.X10ArrayAccess(pos(), PrimaryNoNewArray, ArgumentList)); break; } // // Rule 556: NowStatement ::= now ( Clock ) Statement // case 556: { //#line 1574 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1574 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(5); //#line 1576 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Now(pos(), Clock, Statement)); break; } // // Rule 557: ClockedClause ::= clocked ( ClockList ) // case 557: { //#line 1580 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockList = (List) getRhsSym(3); //#line 1582 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(ClockList); break; } // // Rule 558: AsyncStatement ::= async PlaceExpressionSingleListopt ClockedClauseopt Statement // case 558: { //#line 1586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(3); //#line 1586 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(4); //#line 1588 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Async(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), ClockedClauseopt, Statement)); break; } // // Rule 559: AtomicStatement ::= atomic PlaceExpressionSingleListopt Statement // case 559: { //#line 1596 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1596 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(3); //#line 1598 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Atomic(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), Statement)); break; } // // Rule 560: WhenStatement ::= when ( Expression ) Statement // case 560: { //#line 1605 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1605 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(5); //#line 1607 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.When(pos(), Expression, Statement)); break; } // // Rule 561: WhenStatement ::= WhenStatement or$or ( Expression ) Statement // case 561: { //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" When WhenStatement = (When) getRhsSym(1); //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken or = (IToken) getRhsIToken(2); //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1610 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(6); //#line 1612 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" WhenStatement.addBranch(pos(getRhsFirstTokenIndex(2), getRightSpan()), Expression, Statement); setResult(WhenStatement); break; } // // Rule 562: ForEachStatement ::= foreach ( FormalParameter : Expression ) ClockedClauseopt Statement // case 562: { //#line 1617 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1617 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1617 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1617 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(8); //#line 1619 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, Statement)); break; } // // Rule 563: AtEachStatement ::= ateach ( FormalParameter : Expression ) ClockedClauseopt Statement // case 563: { //#line 1627 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1627 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1627 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1627 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(8); //#line 1629 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.AtEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, Statement)); break; } // // Rule 564: EnhancedForStatement ::= for ( FormalParameter : Expression ) Statement // case 564: { //#line 1637 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1637 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1637 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(7); //#line 1639 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForLoop(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, Statement)); break; } // // Rule 565: FinishStatement ::= finish Statement // case 565: { //#line 1646 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(2); //#line 1648 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Finish(pos(), Statement)); break; } // // Rule 566: NowStatementNoShortIf ::= now ( Clock ) StatementNoShortIf // case 566: { //#line 1653 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1653 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1655 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Now(pos(), Clock, StatementNoShortIf)); break; } // // Rule 567: AsyncStatementNoShortIf ::= async PlaceExpressionSingleListopt ClockedClauseopt StatementNoShortIf // case 567: { //#line 1659 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1659 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(3); //#line 1659 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(4); //#line 1661 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Async(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 568: AtomicStatementNoShortIf ::= atomic StatementNoShortIf // case 568: { //#line 1668 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(2); //#line 1670 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Atomic(pos(), nf.Here(pos(getLeftSpan())), StatementNoShortIf)); break; } // // Rule 569: WhenStatementNoShortIf ::= when ( Expression ) StatementNoShortIf // case 569: { //#line 1674 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1674 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1676 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.When(pos(), Expression, StatementNoShortIf)); break; } // // Rule 570: WhenStatementNoShortIf ::= WhenStatement or$or ( Expression ) StatementNoShortIf // case 570: { //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" When WhenStatement = (When) getRhsSym(1); //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IToken or = (IToken) getRhsIToken(2); //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1679 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(6); //#line 1681 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" WhenStatement.addBranch(pos(getRhsFirstTokenIndex(2), getRightSpan()), Expression, StatementNoShortIf); setResult(WhenStatement); break; } // // Rule 571: ForEachStatementNoShortIf ::= foreach ( FormalParameter : Expression ) ClockedClauseopt StatementNoShortIf // case 571: { //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1686 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(8); //#line 1688 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 572: AtEachStatementNoShortIf ::= ateach ( FormalParameter : Expression ) ClockedClauseopt StatementNoShortIf // case 572: { //#line 1697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1697 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(8); //#line 1699 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.AtEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 573: EnhancedForStatementNoShortIf ::= for ( FormalParameter : Expression ) StatementNoShortIf // case 573: { //#line 1707 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1707 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1707 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(7); //#line 1709 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForLoop(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, StatementNoShortIf)); break; } // // Rule 574: FinishStatementNoShortIf ::= finish StatementNoShortIf // case 574: { //#line 1716 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(2); //#line 1718 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Finish(pos(), StatementNoShortIf)); break; } // // Rule 575: PlaceExpressionSingleList ::= ( PlaceExpression ) // case 575: { //#line 1723 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpression = (Expr) getRhsSym(2); //#line 1725 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(PlaceExpression); break; } // // Rule 577: NextStatement ::= next ; // case 577: { //#line 1733 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Next(pos())); break; } // // Rule 578: AwaitStatement ::= await Expression ; // case 578: { //#line 1737 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(2); //#line 1739 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Await(pos(), Expression)); break; } // // Rule 579: ClockList ::= Clock // case 579: { //#line 1743 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(1); //#line 1745 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(Clock); setResult(l); break; } // // Rule 580: ClockList ::= ClockList , Clock // case 580: { //#line 1750 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List ClockList = (List) getRhsSym(1); //#line 1750 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1752 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ClockList.add(Clock); setResult(ClockList); break; } // // Rule 581: Clock ::= Expression // case 581: { //#line 1758 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(1); //#line 1760 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Expression); break; } // // Rule 582: CastExpression ::= ( Type ) UnaryExpressionNotPlusMinus // case 582: { //#line 1770 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1770 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr UnaryExpressionNotPlusMinus = (Expr) getRhsSym(4); //#line 1772 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Cast(pos(), Type, UnaryExpressionNotPlusMinus)); break; } // // Rule 583: CastExpression ::= ( @ Expression ) UnaryExpressionNotPlusMinus // case 583: { //#line 1775 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1775 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr UnaryExpressionNotPlusMinus = (Expr) getRhsSym(5); //#line 1777 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.PlaceCast(pos(), Expression, UnaryExpressionNotPlusMinus)); break; } // // Rule 584: RelationalExpression ::= RelationalExpression instanceof Type // case 584: { //#line 1787 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1787 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1789 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Instanceof(pos(), RelationalExpression, Type)); break; } // // Rule 585: IdentifierList ::= identifier // case 585: { //#line 1795 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1797 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Name.class, false); l.add(new Name(nf, ts, pos(), identifier.getIdentifier())); setResult(l); break; } // // Rule 586: IdentifierList ::= IdentifierList , identifier // case 586: { //#line 1802 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List IdentifierList = (List) getRhsSym(1); //#line 1802 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1804 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" IdentifierList.add(new Name(nf, ts, pos(), identifier.getIdentifier())); setResult(IdentifierList); break; } // // Rule 587: Primary ::= here // case 587: { //#line 1811 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(((X10NodeFactory) nf).Here(pos()));//// A "here" expression used to be treated as an ExpressionName instead// of as a primary.//// setResult(new Name(nf, ts, pos(), "here"){// public Expr toExpr() {// return ((X10NodeFactory) nf).Here(pos);// }// }); break; } // // Rule 590: RegionExpression ::= Expression$expr1 : Expression$expr2 // case 590: { //#line 1827 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr expr1 = (Expr) getRhsSym(1); //#line 1827 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr expr2 = (Expr) getRhsSym(3); //#line 1829 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" /*Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); Name x10LangRegion = new Name(nf, ts, pos(), x10Lang, "region"); Name x10LangRegionFactory = new Name(nf, ts, pos(), x10LangRegion, "factory"); Name x10LangRegionFactoryRegion = new Name(nf, ts, pos(), x10LangRegionFactory, "region"); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(expr1); l.add(expr2); Call regionCall = nf.Call( pos(), x10LangRegionFactoryRegion.prefix.toReceiver(), "region", l ); */ Call regionCall = nf.RegionMaker(pos(), expr1, expr2); setResult(regionCall); break; } // // Rule 591: RegionExpressionList ::= RegionExpression // case 591: { //#line 1845 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr RegionExpression = (Expr) getRhsSym(1); //#line 1847 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(RegionExpression); setResult(l); break; } // // Rule 592: RegionExpressionList ::= RegionExpressionList , RegionExpression // case 592: { //#line 1852 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List RegionExpressionList = (List) getRhsSym(1); //#line 1852 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr RegionExpression = (Expr) getRhsSym(3); //#line 1854 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" RegionExpressionList.add(RegionExpression); //setResult(RegionExpressionList); break; } // // Rule 593: Primary ::= [ RegionExpressionList ] // case 593: { //#line 1859 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" List RegionExpressionList = (List) getRhsSym(2); //#line 1861 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); Name x10LangRegion = new Name(nf, ts, pos(), x10Lang, "region"); Name x10LangRegionFactory = new Name(nf, ts, pos(), x10LangRegion, "factory"); Name x10LangRegionFactoryRegion = new Name(nf, ts, pos(), x10LangRegionFactory, "region"); Name x10LangPoint = new Name(nf, ts, pos(), x10Lang, "point"); Name x10LangPointFactory = new Name(nf, ts, pos(), x10LangPoint, "factory"); Name x10LangPointFactoryPoint = new Name(nf, ts, pos(), x10LangPointFactory, "point"); Tuple tuple = nf.Tuple(pos(), x10LangPointFactoryPoint, x10LangRegionFactoryRegion, RegionExpressionList); setResult(tuple); break; } // // Rule 594: AssignmentExpression ::= Expression$expr1 -> Expression$expr2 // case 594: { //#line 1875 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr expr1 = (Expr) getRhsSym(1); //#line 1875 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr expr2 = (Expr) getRhsSym(3); //#line 1877 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" ConstantDistMaker call = nf.ConstantDistMaker(pos(), expr1, expr2); setResult(call); break; } // // Rule 595: FutureExpression ::= future PlaceExpressionSingleListopt { Expression } // case 595: { //#line 1882 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1882 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1884 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), Expression)); break; } // // Rule 596: FieldModifier ::= mutable // case 596: { //#line 1892 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.MUTABLE); break; } // // Rule 597: FieldModifier ::= const // case 597: { //#line 1897 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(Flags.PUBLIC.set(Flags.STATIC).set(Flags.FINAL)); break; } // // Rule 598: FunExpression ::= fun Type ( FormalParameterListopt ) { Expression } // case 598: throw new Error("No action specified for rule " + 598); // // Rule 599: MethodInvocation ::= MethodName ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 599: throw new Error("No action specified for rule " + 599); // // Rule 600: MethodInvocation ::= Primary . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 600: throw new Error("No action specified for rule " + 600); // // Rule 601: MethodInvocation ::= super . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 601: throw new Error("No action specified for rule " + 601); // // Rule 602: MethodInvocation ::= ClassName . super . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 602: throw new Error("No action specified for rule " + 602); // // Rule 603: MethodInvocation ::= TypeName . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 603: throw new Error("No action specified for rule " + 603); // // Rule 604: ClassInstanceCreationExpression ::= new ClassOrInterfaceType ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 604: throw new Error("No action specified for rule " + 604); // // Rule 605: ClassInstanceCreationExpression ::= Primary . new identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 605: throw new Error("No action specified for rule " + 605); // // Rule 606: ClassInstanceCreationExpression ::= AmbiguousName . new identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 606: throw new Error("No action specified for rule " + 606); // // Rule 607: MethodModifier ::= synchronized // case 607: { //#line 1928 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, "\"synchronized\" is an invalid X10 Method Modifier", getErrorPosition(getLeftSpan(), getRightSpan())); setResult(Flags.SYNCHRONIZED); break; } // // Rule 608: FieldModifier ::= volatile // case 608: { //#line 1937 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, "\"volatile\" is an invalid X10 Field Modifier", getErrorPosition(getLeftSpan(), getRightSpan())); setResult(Flags.VOLATILE); break; } // // Rule 609: SynchronizedStatement ::= synchronized ( Expression ) Block // case 609: { //#line 1944 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1944 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" Block Block = (Block) getRhsSym(5); //#line 1946 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, "Synchronized Statement is invalid in X10", getErrorPosition(getLeftSpan(), getRightSpan())); setResult(nf.Synchronized(pos(), Expression, Block)); break; } // // Rule 610: ThisClauseopt ::= $Empty // case 610: setResult(null); break; // // Rule 612: PlaceTypeSpecifieropt ::= $Empty // case 612: setResult(null); break; // // Rule 614: DepParametersopt ::= $Empty // case 614: setResult(null); break; // // Rule 616: PropertyListopt ::= $Empty // case 616: setResult(null); break; // // Rule 618: WhereClauseopt ::= $Empty // case 618: setResult(null); break; // // Rule 620: ObjectKindopt ::= $Empty // case 620: setResult(null); break; // // Rule 622: ArrayInitializeropt ::= $Empty // case 622: setResult(null); break; // // Rule 624: PlaceExpressionSingleListopt ::= $Empty // case 624: setResult(null); break; // // Rule 626: ArgumentListopt ::= $Empty // case 626: setResult(null); break; // // Rule 628: X10ClassModifiersopt ::= $Empty // case 628: { //#line 1992 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.toX10Flags(Flags.NONE)); break; } // // Rule 630: DepParametersopt ::= $Empty // case 630: setResult(null); break; // // Rule 632: Unsafeopt ::= $Empty // case 632: setResult(null); break; // // Rule 633: Unsafeopt ::= unsafe // case 633: { //#line 2004 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" // any value distinct from null setResult(this); break; } // // Rule 634: ParamIdopt ::= $Empty // case 634: setResult(null); break; // // Rule 635: ParamIdopt ::= identifier // case 635: { //#line 2011 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 2013 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 636: ClockedClauseopt ::= $Empty // case 636: { //#line 2019 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/x10.g" setResult(new TypedList(new LinkedList(), Expr.class, false)); break; } default: break; } return; }
|
1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/c6a9c5919552b91fb0c4af00afd67a30f78acfc4/X10Parser.java/buggy/x10.compiler/src/x10/parser/X10Parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
6781,
404,
30,
225,
21036,
493,
33,
21036,
263,
1068,
548,
5411,
368,
5411,
648,
404,
30,
288,
7734,
368,
7,
1369,
1666,
315,
39,
27824,
1759,
2066,
98,
21,
19,
4446,
14207,
19,
12062,
1759,
89,
98,
21,
19,
1252,
19,
92,
2163,
19,
71,
6904,
19,
92,
2163,
18,
9576,
19,
4816,
19,
92,
2163,
19,
4288,
19,
4841,
548,
18,
10052,
6,
7734,
1770,
21036,
273,
261,
461,
13,
4170,
4487,
11901,
12,
21,
1769,
7734,
368,
7,
1369,
1725,
315,
39,
27824,
1759,
2066,
98,
21,
19,
4446,
14207,
19,
12062,
1759,
89,
98,
21,
19,
1252,
19,
92,
2163,
19,
71,
6904,
19,
92,
2163,
18,
9576,
19,
4816,
19,
92,
2163,
19,
4288,
19,
4841,
548,
18,
10052,
6,
10792,
21582,
12,
2704,
1770,
12,
82,
74,
16,
4766,
1377,
3742,
16,
4766,
1377,
949,
12,
588,
3910,
6952,
9334,
16609,
6952,
1435,
3631,
4766,
1377,
21036,
16,
4766,
1377,
10971,
10019,
10792,
898,
31,
5411,
289,
5397,
368,
5411,
368,
6781,
576,
30,
225,
7508,
461,
493,
33,
7508,
461,
263,
1068,
548,
5411,
368,
5411,
648,
576,
30,
288,
7734,
368,
7,
1369,
2872,
315,
39,
27824,
1759,
2066,
98,
21,
19,
4446,
14207,
19,
12062,
1759,
89,
98,
21,
19,
1252,
19,
92,
2163,
19,
71,
6904,
19,
92,
2163,
18,
9576,
19,
4816,
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,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
6781,
404,
30,
225,
21036,
493,
33,
21036,
263,
1068,
548,
5411,
368,
5411,
648,
404,
30,
288,
7734,
368,
7,
1369,
1666,
315,
39,
27824,
1759,
2066,
98,
21,
19,
4446,
14207,
19,
12062,
1759,
89,
98,
21,
19,
1252,
19,
92,
2163,
19,
71,
6904,
19,
92,
2163,
18,
9576,
19,
4816,
19,
92,
2163,
19,
4288,
19,
4841,
548,
18,
10052,
6,
7734,
1770,
21036,
273,
261,
461,
13,
4170,
4487,
11901,
12,
21,
1769,
7734,
368,
7,
1369,
1725,
315,
39,
27824,
1759,
2066,
98,
21,
19,
4446,
14207,
19,
12062,
2
] |
||
if (log != null) log.debug("op_response resp_blob_id: " + db.resp_blob_id);
|
private void receiveResponse(isc_db_handle_impl db) throws GDSException { try { if (log != null) log.debug("op_response "); int op = readOperation(db); if (op == op_response) { db.resp_object = db.in.readInt(); if (log != null) log.debug("op_response resp_object: " + db.resp_object); db.resp_blob_id = db.in.readLong(); if (log != null) log.debug("op_response resp_blob_id: " + db.resp_blob_id); db.resp_data = db.in.readBuffer(); if (log != null) log.debug("op_response resp_data size: " + db.resp_data.length);// for (int i = 0; i < ((r.resp_data.length< 16) ? r.resp_data.length: 16) ; i++) {// if (log != null) log.debug("byte: " + r.resp_data[i]);// } readStatusVector(db); if (log != null){ log.debug("received"); checkAllRead(db.in);//DEBUG } } else { if (log != null){ log.debug("not received: op is " + op); checkAllRead(db.in); } } } catch (IOException ex) { if (log != null) log.warn("IOException in receiveResponse", ex); // ex.getMessage() makes little sense here, it will not be displayed // because error message for isc_net_read_err does not accept params throw new GDSException(isc_arg_gds, isc_net_read_err, ex.getMessage()); } }
|
6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/0c85e5b9e025d1d2fc963451a40165c59f1cd5f4/GDS_Impl.java/buggy/src/main/org/firebirdsql/jgds/GDS_Impl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
6798,
1064,
12,
291,
71,
67,
1966,
67,
4110,
67,
11299,
1319,
13,
1216,
611,
3948,
503,
288,
3639,
775,
288,
5411,
309,
261,
1330,
480,
446,
13,
613,
18,
4148,
2932,
556,
67,
2740,
315,
1769,
5411,
509,
1061,
273,
855,
2988,
12,
1966,
1769,
5411,
309,
261,
556,
422,
1061,
67,
2740,
13,
288,
7734,
1319,
18,
12243,
67,
1612,
273,
1319,
18,
267,
18,
896,
1702,
5621,
7734,
309,
261,
1330,
480,
446,
13,
613,
18,
4148,
2932,
556,
67,
2740,
1718,
67,
1612,
30,
315,
397,
1319,
18,
12243,
67,
1612,
1769,
7734,
1319,
18,
12243,
67,
10721,
67,
350,
273,
1319,
18,
267,
18,
896,
3708,
5621,
1171,
9079,
1319,
18,
12243,
67,
892,
273,
1319,
18,
267,
18,
896,
1892,
5621,
7734,
309,
261,
1330,
480,
446,
13,
613,
18,
4148,
2932,
556,
67,
2740,
1718,
67,
892,
963,
30,
315,
397,
1319,
18,
12243,
67,
892,
18,
2469,
1769,
759,
2868,
364,
261,
474,
277,
273,
374,
31,
277,
411,
14015,
86,
18,
12243,
67,
892,
18,
2469,
32,
2872,
13,
692,
436,
18,
12243,
67,
892,
18,
2469,
30,
2872,
13,
274,
277,
27245,
288,
759,
5375,
309,
261,
1330,
480,
446,
13,
613,
18,
4148,
2932,
7229,
30,
315,
397,
436,
18,
12243,
67,
892,
63,
77,
19226,
759,
2868,
289,
7734,
855,
1482,
5018,
12,
1966,
1769,
7734,
309,
261,
1330,
480,
446,
15329,
10792,
613,
18,
4148,
2932,
15213,
8863,
10792,
866,
1595,
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,
6798,
1064,
12,
291,
71,
67,
1966,
67,
4110,
67,
11299,
1319,
13,
1216,
611,
3948,
503,
288,
3639,
775,
288,
5411,
309,
261,
1330,
480,
446,
13,
613,
18,
4148,
2932,
556,
67,
2740,
315,
1769,
5411,
509,
1061,
273,
855,
2988,
12,
1966,
1769,
5411,
309,
261,
556,
422,
1061,
67,
2740,
13,
288,
7734,
1319,
18,
12243,
67,
1612,
273,
1319,
18,
267,
18,
896,
1702,
5621,
7734,
309,
261,
1330,
480,
446,
13,
613,
18,
4148,
2932,
556,
67,
2740,
1718,
67,
1612,
30,
315,
397,
1319,
18,
12243,
67,
1612,
1769,
7734,
1319,
18,
12243,
67,
10721,
67,
350,
273,
1319,
18,
267,
18,
896,
3708,
5621,
1171,
9079,
1319,
18,
2
] |
|
eNotify(new ENotificationImpl(this, Notification.SET, AttributePackage.MARKER__TYPE, oldType, type, !oldTypeESet));
|
eNotify(new ENotificationImpl(this, Notification.SET, AttributePackage.MARKER__TYPE, oldType, type, !oldTypeESet));
|
public void setType(MarkerType newType) { MarkerType oldType = type; type = newType == null ? TYPE_EDEFAULT : newType; boolean oldTypeESet = typeESet; typeESet = true; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, AttributePackage.MARKER__TYPE, oldType, type, !oldTypeESet)); }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/MarkerImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/MarkerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
8811,
12,
7078,
559,
23319,
13,
565,
288,
3639,
14742,
559,
1592,
559,
273,
618,
31,
3639,
618,
273,
23319,
422,
446,
692,
3463,
67,
11236,
294,
23319,
31,
3639,
1250,
1592,
559,
41,
694,
273,
618,
41,
694,
31,
3639,
618,
41,
694,
273,
638,
31,
3639,
309,
261,
73,
21107,
10756,
5411,
22596,
12,
2704,
19953,
12,
2211,
16,
8050,
18,
4043,
16,
3601,
2261,
18,
25989,
972,
2399,
16,
1592,
559,
16,
618,
16,
401,
1673,
559,
41,
694,
10019,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
1071,
918,
8811,
12,
7078,
559,
23319,
13,
565,
288,
3639,
14742,
559,
1592,
559,
273,
618,
31,
3639,
618,
273,
23319,
422,
446,
692,
3463,
67,
11236,
294,
23319,
31,
3639,
1250,
1592,
559,
41,
694,
273,
618,
41,
694,
31,
3639,
618,
41,
694,
273,
638,
31,
3639,
309,
261,
73,
21107,
10756,
5411,
22596,
12,
2704,
19953,
12,
2211,
16,
8050,
18,
4043,
16,
3601,
2261,
18,
25989,
972,
2399,
16,
1592,
559,
16,
618,
16,
401,
1673,
559,
41,
694,
10019,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
String size = (String)BORDER_WIDTHS.get( ident ); val = ( size == null ? ident : size );
|
String size = (String) BORDER_WIDTHS.get(ident); val = (size == null ? ident : size);
|
public static String convertIdent( CSSName cssName, String ident ) { String val = ident; if ( cssName == CSSName.FONT_SIZE ) { String size = (String)FONT_SIZES.get( ident ); val = ( size == null ? ident : size ); } else if ( cssName == CSSName.FONT_WEIGHT ) { String size = (String)FONT_WEIGHTS.get( ident ); val = ( size == null ? ident : size ); } else if ( cssName == CSSName.BACKGROUND_POSITION ) { String pos = (String)BACKGROUND_POSITIONS.get( ident ); val = ( pos == null ? ident : pos ); } else if ( cssName == CSSName.BORDER_WIDTH_BOTTOM || cssName == CSSName.BORDER_WIDTH_LEFT || cssName == CSSName.BORDER_WIDTH_RIGHT || cssName == CSSName.BORDER_WIDTH_SHORTHAND || cssName == CSSName.BORDER_WIDTH_TOP ) { String size = (String)BORDER_WIDTHS.get( ident ); val = ( size == null ? ident : size ); } else if ( cssName == CSSName.BORDER_COLOR_BOTTOM || cssName == CSSName.BORDER_COLOR_LEFT || cssName == CSSName.BORDER_COLOR_RIGHT || cssName == CSSName.BORDER_COLOR_SHORTHAND || cssName == CSSName.BORDER_COLOR_TOP || cssName == CSSName.BACKGROUND_COLOR || cssName == CSSName.COLOR || cssName == CSSName.OUTLINE_COLOR ) { val = getColorHex( ident ); } return val; }
|
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/e9a600b1e4b5d53ffc19ec58e8455ad0c165e360/Idents.java/clean/src/java/org/xhtmlrenderer/css/constants/Idents.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
1765,
6106,
12,
6765,
461,
3747,
461,
16,
514,
3390,
262,
288,
3639,
514,
1244,
273,
3390,
31,
3639,
309,
261,
3747,
461,
422,
6765,
461,
18,
25221,
67,
4574,
262,
288,
5411,
514,
963,
273,
261,
780,
13,
25221,
67,
4574,
55,
18,
588,
12,
3390,
11272,
5411,
1244,
273,
261,
963,
422,
446,
692,
3390,
294,
963,
11272,
3639,
289,
469,
309,
261,
3747,
461,
422,
6765,
461,
18,
25221,
67,
29988,
262,
288,
5411,
514,
963,
273,
261,
780,
13,
25221,
67,
29988,
55,
18,
588,
12,
3390,
11272,
5411,
1244,
273,
261,
963,
422,
446,
692,
3390,
294,
963,
11272,
3639,
289,
469,
309,
261,
3747,
461,
422,
6765,
461,
18,
8720,
20166,
67,
15258,
262,
288,
5411,
514,
949,
273,
261,
780,
13,
8720,
20166,
67,
15258,
55,
18,
588,
12,
3390,
11272,
5411,
1244,
273,
261,
949,
422,
446,
692,
3390,
294,
949,
11272,
3639,
289,
469,
309,
261,
7734,
3747,
461,
422,
6765,
461,
18,
38,
7954,
67,
10023,
67,
28891,
747,
7734,
3747,
461,
422,
6765,
461,
18,
38,
7954,
67,
10023,
67,
10066,
747,
7734,
3747,
461,
422,
6765,
461,
18,
38,
7954,
67,
10023,
67,
11847,
747,
7734,
3747,
461,
422,
6765,
461,
18,
38,
7954,
67,
10023,
67,
2664,
28212,
4307,
747,
7734,
3747,
461,
422,
6765,
461,
18,
38,
7954,
67,
10023,
67,
10462,
262,
288,
5411,
514,
963,
273,
261,
780,
13,
38,
7954,
67,
10023,
55,
18,
588,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
1765,
6106,
12,
6765,
461,
3747,
461,
16,
514,
3390,
262,
288,
3639,
514,
1244,
273,
3390,
31,
3639,
309,
261,
3747,
461,
422,
6765,
461,
18,
25221,
67,
4574,
262,
288,
5411,
514,
963,
273,
261,
780,
13,
25221,
67,
4574,
55,
18,
588,
12,
3390,
11272,
5411,
1244,
273,
261,
963,
422,
446,
692,
3390,
294,
963,
11272,
3639,
289,
469,
309,
261,
3747,
461,
422,
6765,
461,
18,
25221,
67,
29988,
262,
288,
5411,
514,
963,
273,
261,
780,
13,
25221,
67,
29988,
55,
18,
588,
12,
3390,
11272,
5411,
1244,
273,
261,
963,
422,
446,
692,
3390,
294,
963,
11272,
3639,
289,
469,
309,
261,
3747,
461,
422,
6765,
461,
18,
2
] |
public void setEnabled(boolean b);
|
void setEnabled(boolean b);
|
public void setEnabled(boolean b);
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/Action.java/buggy/core/src/classpath/javax/javax/swing/Action.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
12888,
12,
6494,
324,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
12888,
12,
6494,
324,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
else
|
} else {
|
double classifyFoldCV(Instances fold, int [] fs) throws Exception { int i; int ruleCount = 0; int numFold = fold.numInstances(); int numCl = m_theInstances.classAttribute().numValues(); double [][] class_distribs = new double [numFold][numCl]; double [] instA = new double [fs.length]; double [] normDist; hashKey thekey; double acc = 0.0; int classI = m_theInstances.classIndex(); Instance inst; if (m_classIsNominal) normDist = new double [numCl]; else normDist = new double [2]; // first *remove* instances for (i=0;i<numFold;i++) { inst = fold.instance(i); for (int j=0;j<fs.length;j++) if (fs[j] == classI) instA[j] = Double.MAX_VALUE; // missing for the class else if (inst.isMissing(fs[j])) instA[j] = Double.MAX_VALUE; else instA[j] = inst.value(fs[j]); thekey = new hashKey(instA); if ((class_distribs[i] = (double [])m_entries.get(thekey)) == null) { System.out.println("Shouldnt get here!"); System.exit(1); } else { if (m_classIsNominal) class_distribs[i][(int)inst.classValue()] -= inst.weight(); else { class_distribs[i][0] -= (inst.classValue() * inst.weight()); class_distribs[i][1] -= inst.weight(); } ruleCount++; } } // now classify instances for (i=0;i<numFold;i++) { inst = fold.instance(i); System.arraycopy(class_distribs[i],0,normDist,0,normDist.length); if (m_classIsNominal) { boolean ok = false; for (int j=0;j<normDist.length;j++) if (!Utils.eq(normDist[j],0.0)) { ok = true; break; } if (ok) { Utils.normalize(normDist); if (Utils.maxIndex(normDist) == inst.classValue()) acc += inst.weight(); } else if (inst.classValue() == m_majority) acc += inst.weight(); } else { if (Utils.eq(normDist[1],0.0)) acc += ((inst.weight() * (m_majority - inst.classValue())) * (inst.weight() * (m_majority - inst.classValue()))); else { double t = (normDist[0] / normDist[1]); acc += ((inst.weight() * (t - inst.classValue())) * (inst.weight() * (t - inst.classValue()))); } } } // now re-insert instances for (i=0;i<numFold;i++) { inst = fold.instance(i); if (m_classIsNominal) { class_distribs[i][(int)inst.classValue()] += inst.weight(); } else { class_distribs[i][0] += (inst.classValue() * inst.weight()); class_distribs[i][1] += inst.weight(); } } return acc; }
|
4179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4179/5a67514c4d5c4fc3fa7a8c909b19b0a2e5c0c206/DecisionTable.java/buggy/trunk/weka/classifiers/rules/DecisionTable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1645,
19974,
15592,
22007,
12,
5361,
11590,
16,
509,
5378,
2662,
13,
1216,
1185,
225,
288,
565,
509,
277,
31,
565,
509,
1720,
1380,
273,
374,
31,
565,
509,
818,
15592,
273,
11590,
18,
2107,
5361,
5621,
565,
509,
818,
2009,
273,
312,
67,
5787,
5361,
18,
1106,
1499,
7675,
2107,
1972,
5621,
565,
1645,
5378,
8526,
667,
67,
2251,
665,
87,
273,
394,
1645,
306,
2107,
15592,
6362,
2107,
2009,
15533,
565,
1645,
5378,
1804,
37,
273,
394,
1645,
306,
2556,
18,
2469,
15533,
565,
1645,
5378,
4651,
5133,
31,
565,
29623,
326,
856,
31,
565,
1645,
4078,
273,
374,
18,
20,
31,
565,
509,
667,
45,
273,
312,
67,
5787,
5361,
18,
1106,
1016,
5621,
565,
5180,
1804,
31,
565,
309,
261,
81,
67,
1106,
2520,
26685,
1490,
13,
1377,
4651,
5133,
273,
394,
1645,
306,
2107,
2009,
15533,
565,
289,
469,
288,
1377,
4651,
5133,
273,
394,
1645,
306,
22,
15533,
565,
368,
1122,
380,
4479,
14,
3884,
565,
364,
261,
77,
33,
20,
31,
77,
32,
2107,
15592,
31,
77,
27245,
565,
288,
1377,
1804,
273,
11590,
18,
1336,
12,
77,
1769,
1377,
364,
261,
474,
525,
33,
20,
31,
78,
32,
2556,
18,
2469,
31,
78,
27245,
202,
430,
261,
2556,
63,
78,
65,
422,
667,
45,
13,
202,
225,
1804,
37,
63,
78,
65,
273,
3698,
18,
6694,
67,
4051,
31,
368,
3315,
364,
326,
667,
202,
97,
469,
288,
309,
261,
8591,
18,
291,
4841,
12,
2556,
63,
78,
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,
1645,
19974,
15592,
22007,
12,
5361,
11590,
16,
509,
5378,
2662,
13,
1216,
1185,
225,
288,
565,
509,
277,
31,
565,
509,
1720,
1380,
273,
374,
31,
565,
509,
818,
15592,
273,
11590,
18,
2107,
5361,
5621,
565,
509,
818,
2009,
273,
312,
67,
5787,
5361,
18,
1106,
1499,
7675,
2107,
1972,
5621,
565,
1645,
5378,
8526,
667,
67,
2251,
665,
87,
273,
394,
1645,
306,
2107,
15592,
6362,
2107,
2009,
15533,
565,
1645,
5378,
1804,
37,
273,
394,
1645,
306,
2556,
18,
2469,
15533,
565,
1645,
5378,
4651,
5133,
31,
565,
29623,
326,
856,
31,
565,
1645,
4078,
273,
374,
18,
20,
31,
565,
509,
667,
45,
273,
312,
67,
5787,
5361,
18,
1106,
1016,
5621,
565,
2
] |
Mnemonics.setLocalizedText(m_tmBrowse, OStrings.PP_BUTTON_BROWSE_TM);
|
Mnemonics.setLocalizedText(m_tmBrowse, OStrings.getString("PP_BUTTON_BROWSE_TM"));
|
public ProjectPropertiesDialog( Frame parentFrame, ProjectProperties projectProperties, String projFileName, int dialogTypeValue) { super(parentFrame, true); this.projectProperties = projectProperties; this.dialogType = dialogTypeValue; if (projFileName == null) projectProperties.reset(); if (projFileName == null) { String sourceLocale = Preferences.getPreference(Preferences.SOURCE_LOCALE); if( !sourceLocale.equals("")) // NOI18N projectProperties.setSourceLanguage(sourceLocale); String targetLocale = Preferences.getPreference(Preferences.TARGET_LOCALE); if( !targetLocale.equals("") ) // NOI18N projectProperties.setTargetLanguage(targetLocale); } Border emptyBorder = new EmptyBorder(2,0,2,0); Box centerBox = Box.createVerticalBox(); centerBox.setBorder(new EmptyBorder(5,5,5,5)); // hinting message JTextArea m_messageArea = new JTextArea(); m_messageArea.setEditable(false); m_messageArea.setBackground( javax.swing.UIManager.getDefaults().getColor("Label.background")); // NOI18N m_messageArea.setFont(new Label().getFont()); Box bMes = Box.createHorizontalBox(); bMes.setBorder(emptyBorder); bMes.add(m_messageArea); bMes.add(Box.createHorizontalGlue()); centerBox.add(bMes); // source and target languages Box localesBox = Box.createVerticalBox(); localesBox.setBorder(new EtchedBorder()); JLabel m_sourceLocaleLabel = new JLabel(); Mnemonics.setLocalizedText(m_sourceLocaleLabel, OStrings.PP_SRC_LANG); Box bSL = Box.createHorizontalBox(); bSL.setBorder(emptyBorder); bSL.add(m_sourceLocaleLabel); bSL.add(Box.createHorizontalGlue()); localesBox.add(bSL); final JComboBox m_sourceLocaleField = new JComboBox(Language.LANGUAGES); if( m_sourceLocaleField.getMaximumRowCount()<20 ) m_sourceLocaleField.setMaximumRowCount(20); m_sourceLocaleField.setEditable(true); m_sourceLocaleField.setRenderer(new LanguageComboBoxRenderer()); m_sourceLocaleField.setSelectedItem(projectProperties.getSourceLanguage()); localesBox.add(m_sourceLocaleField); JLabel m_targetLocaleLabel = new JLabel(); Mnemonics.setLocalizedText(m_targetLocaleLabel, OStrings.PP_LOC_LANG); Box bLL = Box.createHorizontalBox(); bLL.setBorder(emptyBorder); bLL.add(m_targetLocaleLabel); bLL.add(Box.createHorizontalGlue()); localesBox.add(bLL); final JComboBox m_targetLocaleField = new JComboBox(Language.LANGUAGES); if( m_targetLocaleField.getMaximumRowCount()<20 ) m_targetLocaleField.setMaximumRowCount(20); m_targetLocaleField.setEditable(true); m_targetLocaleField.setRenderer(new LanguageComboBoxRenderer()); m_targetLocaleField.setSelectedItem(projectProperties.getTargetLanguage()); localesBox.add(m_targetLocaleField); // sentence-segmenting final JCheckBox m_sentenceSegmentingCheckBox = new JCheckBox(); Mnemonics.setLocalizedText(m_sentenceSegmentingCheckBox, OStrings.getString("PP_SENTENCE_SEGMENTING")); JButton m_sentenceSegmentingButton = new JButton(); Mnemonics.setLocalizedText(m_sentenceSegmentingButton, OStrings.getString("MW_OPTIONSMENU_SENTSEG")); Box bSent = Box.createHorizontalBox(); bSent.add(m_sentenceSegmentingCheckBox); bSent.add(Box.createHorizontalGlue()); bSent.add(m_sentenceSegmentingButton); localesBox.add(bSent); centerBox.add(localesBox); // directories centerBox.add(Box.createVerticalStrut(5)); Box dirsBox = Box.createVerticalBox(); dirsBox.setBorder(new EtchedBorder()); JLabel m_srcRootLabel = new JLabel(); Mnemonics.setLocalizedText(m_srcRootLabel, OStrings.PP_SRC_ROOT); Box bSrc = Box.createHorizontalBox(); bSrc.setBorder(emptyBorder); bSrc.add(m_srcRootLabel); bSrc.add(Box.createHorizontalGlue()); JButton m_srcBrowse = new JButton(); Mnemonics.setLocalizedText(m_srcBrowse, OStrings.PP_BUTTON_BROWSE_SRC); bSrc.add(m_srcBrowse); final JTextField m_srcRootField = new JTextField(); dirsBox.add(bSrc); dirsBox.add(m_srcRootField); JLabel m_tmRootLabel = new JLabel(); Mnemonics.setLocalizedText(m_tmRootLabel, OStrings.PP_TM_ROOT); Box bTM = Box.createHorizontalBox(); bTM.setBorder(emptyBorder); bTM.add(m_tmRootLabel); bTM.add(Box.createHorizontalGlue()); JButton m_tmBrowse = new JButton(); Mnemonics.setLocalizedText(m_tmBrowse, OStrings.PP_BUTTON_BROWSE_TM); bTM.add(m_tmBrowse); final JTextField m_tmRootField = new JTextField(); dirsBox.add(bTM); dirsBox.add(m_tmRootField); JLabel m_glosRootLabel = new JLabel(); Mnemonics.setLocalizedText(m_glosRootLabel, OStrings.PP_GLOS_ROOT); Box bGlos = Box.createHorizontalBox(); bGlos.setBorder(emptyBorder); bGlos.add(m_glosRootLabel); bGlos.add(Box.createHorizontalGlue()); JButton m_glosBrowse = new JButton(); Mnemonics.setLocalizedText(m_glosBrowse, OStrings.PP_BUTTON_BROWSE_GL); bGlos.add(m_glosBrowse); final JTextField m_glosRootField = new JTextField(); dirsBox.add(bGlos); dirsBox.add(m_glosRootField); JLabel m_locRootLabel = new JLabel(); Mnemonics.setLocalizedText(m_locRootLabel, OStrings.PP_LOC_ROOT); Box bLoc = Box.createHorizontalBox(); bLoc.setBorder(emptyBorder); bLoc.add(m_locRootLabel); bLoc.add(Box.createHorizontalGlue()); JButton m_locBrowse = new JButton(); Mnemonics.setLocalizedText(m_locBrowse, OStrings.PP_BUTTON_BROWSE_TAR); bLoc.add(m_locBrowse); final JTextField m_locRootField = new JTextField(); dirsBox.add(bLoc); dirsBox.add(m_locRootField); centerBox.add(dirsBox); getContentPane().add(centerBox, "Center"); // NOI18N JButton m_okButton = new JButton(); Mnemonics.setLocalizedText(m_okButton, OStrings.getString("BUTTON_OK")); JButton m_cancelButton = new JButton(); Mnemonics.setLocalizedText(m_cancelButton, OStrings.getString("BUTTON_CANCEL")); Box southBox = Box.createHorizontalBox(); southBox.setBorder(new EmptyBorder(5,5,5,5)); southBox.add(Box.createHorizontalGlue()); southBox.add(m_okButton); southBox.add(Box.createHorizontalStrut(5)); southBox.add(m_cancelButton); getContentPane().add(southBox, "South"); // NOI18N setResizable(false); m_okButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { doOK(m_sourceLocaleField, m_targetLocaleField, m_sentenceSegmentingCheckBox, m_srcRootField, m_locRootField, m_glosRootField, m_tmRootField); } }); m_cancelButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { doCancel(); } }); m_srcBrowse.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { doBrowseDirectoy(1, m_srcRootField); } }); m_locBrowse.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { doBrowseDirectoy(2, m_locRootField); } }); m_glosBrowse.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { doBrowseDirectoy(3, m_glosRootField); } }); m_tmBrowse.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { doBrowseDirectoy(4, m_tmRootField); } }); final JDialog self = this; m_sentenceSegmentingButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { new SegmentationCustomizer(self).setVisible(true); } } ); // Handle escape key to close the window KeyStroke escape = KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0, false); Action escapeAction = new AbstractAction() { public void actionPerformed(ActionEvent e) { doCancel(); } }; getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW). put(escape, "ESCAPE"); // NOI18N getRootPane().getActionMap().put("ESCAPE", escapeAction); // NOI18N // if no project file specified, ask user to create one if (projFileName == null) { // have user select the project name and where they // want to put it. use that information to derive the // location for project, source and loc directories // open save dialog NewProjectFileChooser ndc = new NewProjectFileChooser(); String label; label = OStrings.PP_SAVE_PROJECT_FILE; ndc.setDialogTitle(label); String curDir = Preferences.getPreference(Preferences.CURRENT_FOLDER); if (curDir != null) { File dir = new File(curDir); if (dir.exists() && dir.isDirectory()) { ndc.setCurrentDirectory(dir); } } int val = ndc.showSaveDialog(this); if (val != OmegaTFileChooser.APPROVE_OPTION) { m_dialogCancelled = true; return; } // create project dir (and higher dirs) if it doesn't exist yet // fix for bug 1476591 (wrong folders are used if project dir doesn't exist) File projectDir = ndc.getSelectedFile(); if (!projectDir.exists()) projectDir.mkdirs(); // set project and relative dirs projectProperties.setProjectRoot(ndc.getSelectedFile().getAbsolutePath() + File.separator); projectProperties.setProjectFile(projectProperties.getProjectRoot() + OConsts.FILE_PROJECT); Preferences.setPreference(Preferences.CURRENT_FOLDER, ndc.getSelectedFile().getParent()); projectProperties.setProjectName(projectProperties.getProjectFile().substring(projectProperties.getProjectRoot().length())); projectProperties.setSourceRoot(projectProperties.getProjectRoot() + OConsts.DEFAULT_SOURCE + File.separator); projectProperties.setTargetRoot(projectProperties.getProjectRoot() + OConsts.DEFAULT_TARGET + File.separator); projectProperties.setGlossaryRoot(projectProperties.getProjectRoot() + OConsts.DEFAULT_GLOSSARY + File.separator); projectProperties.setTMRoot(projectProperties.getProjectRoot() + OConsts.DEFAULT_TM + File.separator); } else { projectProperties.setProjectFile(projFileName); projectProperties.setProjectRoot(projectProperties.getProjectFile().substring(0, projectProperties.getProjectFile().lastIndexOf(File.separator)+1)); } projectProperties.setProjectInternal(projectProperties.getProjectRoot() + OConsts.DEFAULT_INTERNAL + File.separator); m_srcRootField.setText(projectProperties.getSourceRoot()); m_locRootField.setText(projectProperties.getTargetRoot()); m_glosRootField.setText(projectProperties.getGlossaryRoot()); m_tmRootField.setText(projectProperties.getTMRoot()); m_sourceLocaleField.setSelectedItem(projectProperties.getSourceLanguage()); m_targetLocaleField.setSelectedItem(projectProperties.getTargetLanguage()); m_sentenceSegmentingCheckBox.setSelected(projectProperties.isSentenceSegmentingEnabled()); switch( dialogType ) { case RESOLVE_DIRS: // disabling some of the controls m_sourceLocaleField.setEnabled(false); m_targetLocaleField.setEnabled(false); m_sentenceSegmentingCheckBox.setEnabled(false); // marking missing folder RED File f = new File(m_srcRootField.getText()); if( !f.exists() || !f.isDirectory() ) m_srcRootField.setForeground(Color.RED); f = new File(m_locRootField.getText()); if( !f.exists() || !f.isDirectory() ) m_locRootField.setForeground(Color.RED); f = new File(m_glosRootField.getText()); if( !f.exists() || !f.isDirectory() ) m_glosRootField.setForeground(Color.RED); f = new File(m_tmRootField.getText()); if( !f.exists() || !f.isDirectory() ) m_tmRootField.setForeground(Color.RED); break; } updateUIText(m_messageArea); pack(); setSize(9*getWidth()/8, getHeight()+10); Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); Dimension dialogSize = getSize(); setLocation((screenSize.width-dialogSize.width)/2,(screenSize.height-dialogSize.height)/2); }
|
8797 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8797/d76bcd54805e907e7fa0dcad27f410bb2dec2a60/ProjectPropertiesDialog.java/buggy/src/org/omegat/gui/dialogs/ProjectPropertiesDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5420,
2297,
6353,
12,
5411,
8058,
982,
3219,
16,
5411,
5420,
2297,
1984,
2297,
16,
2398,
514,
10296,
4771,
16,
509,
6176,
559,
620,
13,
565,
288,
3639,
2240,
12,
2938,
3219,
16,
638,
1769,
3639,
333,
18,
4406,
2297,
273,
1984,
2297,
31,
3639,
333,
18,
12730,
559,
273,
6176,
559,
620,
31,
3639,
309,
261,
17995,
4771,
422,
446,
13,
5411,
1984,
2297,
18,
6208,
5621,
3639,
309,
261,
17995,
4771,
422,
446,
13,
3639,
288,
5411,
514,
1084,
3916,
273,
28310,
18,
588,
9624,
12,
12377,
18,
6537,
67,
25368,
1769,
5411,
309,
12,
401,
3168,
3916,
18,
14963,
2932,
6,
3719,
4766,
10402,
368,
30085,
2643,
50,
7734,
1984,
2297,
18,
542,
1830,
3779,
12,
3168,
3916,
1769,
13491,
514,
1018,
3916,
273,
28310,
18,
588,
9624,
12,
12377,
18,
16374,
67,
25368,
1769,
5411,
309,
12,
401,
3299,
3916,
18,
14963,
2932,
7923,
262,
4766,
7734,
368,
30085,
2643,
50,
7734,
1984,
2297,
18,
542,
2326,
3779,
12,
3299,
3916,
1769,
3639,
289,
3639,
13525,
1008,
8107,
273,
394,
8953,
8107,
12,
22,
16,
20,
16,
22,
16,
20,
1769,
3639,
8549,
4617,
3514,
273,
8549,
18,
2640,
15704,
3514,
5621,
3639,
4617,
3514,
18,
542,
8107,
12,
2704,
8953,
8107,
12,
25,
16,
25,
16,
25,
16,
25,
10019,
3639,
368,
7380,
310,
883,
3639,
804,
1528,
5484,
312,
67,
2150,
5484,
273,
394,
804,
1528,
5484,
5621,
3639,
312,
67,
2150,
5484,
18,
542,
15470,
12,
5743,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5420,
2297,
6353,
12,
5411,
8058,
982,
3219,
16,
5411,
5420,
2297,
1984,
2297,
16,
2398,
514,
10296,
4771,
16,
509,
6176,
559,
620,
13,
565,
288,
3639,
2240,
12,
2938,
3219,
16,
638,
1769,
3639,
333,
18,
4406,
2297,
273,
1984,
2297,
31,
3639,
333,
18,
12730,
559,
273,
6176,
559,
620,
31,
3639,
309,
261,
17995,
4771,
422,
446,
13,
5411,
1984,
2297,
18,
6208,
5621,
3639,
309,
261,
17995,
4771,
422,
446,
13,
3639,
288,
5411,
514,
1084,
3916,
273,
28310,
18,
588,
9624,
12,
12377,
18,
6537,
67,
25368,
1769,
5411,
309,
12,
401,
3168,
3916,
18,
14963,
2932,
6,
3719,
4766,
10402,
368,
30085,
2643,
50,
7734,
1984,
2297,
18,
542,
1830,
2
] |
if (skipIfNotSupported) { parent.skipPanel(); } else { buildAlternateUI(); parent.unlockNextButton(); parent.lockPrevButton(); }
|
buildAlternateUI();
|
public void panelActivate() { if (firstTime) firstTime = false; else return; analyzeShortcutSpec(); if (shortcutsToCreate && !OsVersion.IS_OSX) { if (shortcut.supported() && !simulteNotSupported) { File allUsersProgramsFolder = getProgramsFolder(Shortcut.ALL_USERS); isRootUser = allUsersProgramsFolder.canWrite(); if (isRootUser) itsUserType = Shortcut.ALL_USERS; else itsUserType = Shortcut.CURRENT_USER; buildUI( getProgramsFolder(isRootUser ? Shortcut.ALL_USERS : Shortcut.CURRENT_USER) ); } else { if (skipIfNotSupported) { parent.skipPanel(); } else { buildAlternateUI(); parent.unlockNextButton(); parent.lockPrevButton(); } } } else { parent.skipPanel (); } }
|
54145 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54145/ea2c1c334b491cd6926af6502699f487604c17bc/ShortcutPanel.java/clean/src/lib/com/izforge/izpack/panels/ShortcutPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
6594,
21370,
1435,
565,
288,
3639,
309,
261,
3645,
950,
13,
5411,
1122,
950,
273,
629,
31,
3639,
469,
5411,
327,
31,
3639,
12375,
15576,
1990,
5621,
3639,
309,
261,
24744,
11634,
1684,
597,
401,
15112,
1444,
18,
5127,
67,
4618,
60,
13,
3639,
288,
5411,
309,
261,
24744,
18,
4127,
1435,
597,
401,
9812,
406,
73,
16106,
13,
5411,
288,
7734,
1387,
777,
6588,
9459,
87,
3899,
273,
3570,
28854,
3899,
12,
15576,
18,
4685,
67,
30846,
1769,
7734,
19371,
1299,
273,
777,
6588,
9459,
87,
3899,
18,
4169,
3067,
5621,
7734,
309,
261,
291,
2375,
1299,
13,
10792,
2097,
1299,
559,
273,
7925,
5150,
18,
4685,
67,
30846,
31,
7734,
469,
10792,
2097,
1299,
559,
273,
7925,
5150,
18,
15487,
67,
4714,
31,
7734,
1361,
5370,
12,
3570,
28854,
3899,
12,
291,
2375,
1299,
692,
7925,
5150,
18,
4685,
67,
30846,
294,
7925,
5150,
18,
15487,
67,
4714,
13,
11272,
5411,
289,
5411,
469,
5411,
288,
7734,
309,
261,
7457,
10288,
7223,
13,
7734,
288,
10792,
982,
18,
7457,
5537,
5621,
7734,
289,
7734,
469,
7734,
288,
10792,
1361,
25265,
5370,
5621,
10792,
982,
18,
26226,
2134,
3616,
5621,
10792,
982,
18,
739,
9958,
3616,
5621,
7734,
289,
5411,
289,
3639,
289,
3639,
469,
3639,
288,
1850,
982,
18,
7457,
5537,
261,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
6594,
21370,
1435,
565,
288,
3639,
309,
261,
3645,
950,
13,
5411,
1122,
950,
273,
629,
31,
3639,
469,
5411,
327,
31,
3639,
12375,
15576,
1990,
5621,
3639,
309,
261,
24744,
11634,
1684,
597,
401,
15112,
1444,
18,
5127,
67,
4618,
60,
13,
3639,
288,
5411,
309,
261,
24744,
18,
4127,
1435,
597,
401,
9812,
406,
73,
16106,
13,
5411,
288,
7734,
1387,
777,
6588,
9459,
87,
3899,
273,
3570,
28854,
3899,
12,
15576,
18,
4685,
67,
30846,
1769,
7734,
19371,
1299,
273,
777,
6588,
9459,
87,
3899,
18,
4169,
3067,
5621,
7734,
309,
261,
291,
2375,
1299,
13,
10792,
2097,
1299,
559,
273,
7925,
5150,
18,
4685,
67,
30846,
31,
7734,
469,
10792,
2097,
1299,
2
] |
event.getPresentation().setEnabled(navigatable != null && navigatable.canNavigate());
|
event.getPresentation().setEnabled(navigatable != null && navigatable.canNavigateToSource());
|
public void update(AnActionEvent event){ DataContext dataContext = event.getDataContext(); Navigatable navigatable = (Navigatable)dataContext.getData(DataConstants.NAVIGATABLE); event.getPresentation().setEnabled(navigatable != null && navigatable.canNavigate()); }
|
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/c9afe37d16473a6dca340f371f657a8670ec9749/BaseNavigateToSourceAction.java/clean/source/com/intellij/ide/actions/BaseNavigateToSourceAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1089,
12,
979,
1803,
1133,
871,
15329,
565,
1910,
1042,
501,
1042,
273,
871,
18,
588,
751,
1042,
5621,
565,
423,
4911,
8163,
290,
4911,
8163,
273,
261,
50,
4911,
8163,
13,
892,
1042,
18,
588,
751,
12,
751,
2918,
18,
50,
5856,
3047,
789,
2782,
1769,
565,
871,
18,
588,
6351,
367,
7675,
542,
1526,
12,
82,
4911,
8163,
480,
446,
597,
290,
4911,
8163,
18,
4169,
50,
20698,
774,
1830,
10663,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1089,
12,
979,
1803,
1133,
871,
15329,
565,
1910,
1042,
501,
1042,
273,
871,
18,
588,
751,
1042,
5621,
565,
423,
4911,
8163,
290,
4911,
8163,
273,
261,
50,
4911,
8163,
13,
892,
1042,
18,
588,
751,
12,
751,
2918,
18,
50,
5856,
3047,
789,
2782,
1769,
565,
871,
18,
588,
6351,
367,
7675,
542,
1526,
12,
82,
4911,
8163,
480,
446,
597,
290,
4911,
8163,
18,
4169,
50,
20698,
774,
1830,
10663,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
String sql = "UPDATE Fact_Acct_Balance ab " + "SET (AmtAcctDr, AmtAcctCr, Qty)= " + "(SELECT COALESCE(SUM(AmtAcctDr),0), COALESCE(SUM(AmtAcctCr),0), COALESCE(SUM(Qty),0) " + "FROM Fact_Acct a " + "WHERE a.AD_Client_ID=ab.AD_Client_ID AND a.AD_Org_ID=ab.AD_Org_ID" + " AND a.C_AcctSchema_ID=ab.C_AcctSchema_ID AND TRUNC(a.DateAcct)=TRUNC(ab.DateAcct)" + " AND a.Account_ID=ab.Account_ID AND a.PostingType=ab.PostingType" + " AND COALESCE(a.M_Product_ID,0)=COALESCE(ab.M_Product_ID,0) AND COALESCE(a.C_BPartner_ID,0)=COALESCE(ab.C_BPartner_ID,0)" + " AND COALESCE(a.C_Project_ID,0)=COALESCE(ab.C_Project_ID,0) AND COALESCE(a.AD_OrgTrx_ID,0)=COALESCE(ab.AD_OrgTrx_ID,0)" + " AND COALESCE(a.C_SalesRegion_ID,0)=COALESCE(ab.C_SalesRegion_ID,0) AND COALESCE(a.C_Activity_ID,0)=COALESCE(ab.C_Activity_ID,0)" + " AND COALESCE(a.C_Campaign_ID,0)=COALESCE(ab.C_Campaign_ID,0) AND COALESCE(a.C_LocTo_ID,0)=COALESCE(ab.C_LocTo_ID,0) AND COALESCE(a.C_LocFrom_ID,0)=COALESCE(ab.C_LocFrom_ID,0)" + " AND COALESCE(a.User1_ID,0)=COALESCE(ab.User1_ID,0) AND COALESCE(a.User2_ID,0)=COALESCE(ab.User2_ID,0) AND COALESCE(a.GL_Budget_ID,0)=COALESCE(ab.GL_Budget_ID,0) " + "GROUP BY AD_Client_ID,AD_Org_ID, C_AcctSchema_ID, TRUNC(DateAcct)," + " Account_ID, PostingType, M_Product_ID, C_BPartner_ID," + " C_Project_ID, AD_OrgTrx_ID, C_SalesRegion_ID, C_Activity_ID," + " C_Campaign_ID, C_LocTo_ID, C_LocFrom_ID, User1_ID, User2_ID, GL_Budget_ID) " + "WHERE C_AcctSchema_ID=" + C_AcctSchema_ID + " AND EXISTS (SELECT 1 FROM Fact_Acct a " + "WHERE a.AD_Client_ID=ab.AD_Client_ID AND a.AD_Org_ID=ab.AD_Org_ID" + " AND a.C_AcctSchema_ID=ab.C_AcctSchema_ID AND TRUNC(a.DateAcct)=TRUNC(ab.DateAcct)" + " AND a.Account_ID=ab.Account_ID AND a.PostingType=ab.PostingType" + " AND COALESCE(a.M_Product_ID,0)=COALESCE(ab.M_Product_ID,0) AND COALESCE(a.C_BPartner_ID,0)=COALESCE(ab.C_BPartner_ID,0)" + " AND COALESCE(a.C_Project_ID,0)=COALESCE(ab.C_Project_ID,0) AND COALESCE(a.AD_OrgTrx_ID,0)=COALESCE(ab.AD_OrgTrx_ID,0)" + " AND COALESCE(a.C_SalesRegion_ID,0)=COALESCE(ab.C_SalesRegion_ID,0) AND COALESCE(a.C_Activity_ID,0)=COALESCE(ab.C_Activity_ID,0)" + " AND COALESCE(a.C_Campaign_ID,0)=COALESCE(ab.C_Campaign_ID,0) AND COALESCE(a.C_LocTo_ID,0)=COALESCE(ab.C_LocTo_ID,0) AND COALESCE(a.C_LocFrom_ID,0)=COALESCE(ab.C_LocFrom_ID,0)" + " AND COALESCE(a.User1_ID,0)=COALESCE(ab.User1_ID,0) AND COALESCE(a.User2_ID,0)=COALESCE(ab.User2_ID,0) AND COALESCE(a.GL_Budget_ID,0)=COALESCE(ab.GL_Budget_ID,0) " + "GROUP BY AD_Client_ID,AD_Org_ID," + " C_AcctSchema_ID, TRUNC(DateAcct)," + " Account_ID, PostingType," + " M_Product_ID, C_BPartner_ID," + " C_Project_ID, AD_OrgTrx_ID," + " C_SalesRegion_ID, C_Activity_ID," + " C_Campaign_ID, C_LocTo_ID, C_LocFrom_ID," + " User1_ID, User2_ID, GL_Budget_ID)"; if (!deleteFirst) { int no = DB.executeUpdate(sql, null); s_log.fine("Updates=" + no); }
|
String sql = null;
|
public static String updateBalance (int C_AcctSchema_ID, boolean deleteFirst) { s_log.info("C_AcctSchema_ID=" + C_AcctSchema_ID + " - DeleteFirst=" + deleteFirst); long start = System.currentTimeMillis(); if (deleteFirst) { int no = DB.executeUpdate("DELETE Fact_Acct_Balance WHERE C_AcctSchema_ID=?", C_AcctSchema_ID, null); s_log.fine("Deleted=" + no); } // Update existing String sql = "UPDATE Fact_Acct_Balance ab " + "SET (AmtAcctDr, AmtAcctCr, Qty)= " + "(SELECT COALESCE(SUM(AmtAcctDr),0), COALESCE(SUM(AmtAcctCr),0), COALESCE(SUM(Qty),0) " + "FROM Fact_Acct a " + "WHERE a.AD_Client_ID=ab.AD_Client_ID AND a.AD_Org_ID=ab.AD_Org_ID" + " AND a.C_AcctSchema_ID=ab.C_AcctSchema_ID AND TRUNC(a.DateAcct)=TRUNC(ab.DateAcct)" + " AND a.Account_ID=ab.Account_ID AND a.PostingType=ab.PostingType" + " AND COALESCE(a.M_Product_ID,0)=COALESCE(ab.M_Product_ID,0) AND COALESCE(a.C_BPartner_ID,0)=COALESCE(ab.C_BPartner_ID,0)" + " AND COALESCE(a.C_Project_ID,0)=COALESCE(ab.C_Project_ID,0) AND COALESCE(a.AD_OrgTrx_ID,0)=COALESCE(ab.AD_OrgTrx_ID,0)" + " AND COALESCE(a.C_SalesRegion_ID,0)=COALESCE(ab.C_SalesRegion_ID,0) AND COALESCE(a.C_Activity_ID,0)=COALESCE(ab.C_Activity_ID,0)" + " AND COALESCE(a.C_Campaign_ID,0)=COALESCE(ab.C_Campaign_ID,0) AND COALESCE(a.C_LocTo_ID,0)=COALESCE(ab.C_LocTo_ID,0) AND COALESCE(a.C_LocFrom_ID,0)=COALESCE(ab.C_LocFrom_ID,0)" + " AND COALESCE(a.User1_ID,0)=COALESCE(ab.User1_ID,0) AND COALESCE(a.User2_ID,0)=COALESCE(ab.User2_ID,0) AND COALESCE(a.GL_Budget_ID,0)=COALESCE(ab.GL_Budget_ID,0) " + "GROUP BY AD_Client_ID,AD_Org_ID, C_AcctSchema_ID, TRUNC(DateAcct)," + " Account_ID, PostingType, M_Product_ID, C_BPartner_ID," + " C_Project_ID, AD_OrgTrx_ID, C_SalesRegion_ID, C_Activity_ID," + " C_Campaign_ID, C_LocTo_ID, C_LocFrom_ID, User1_ID, User2_ID, GL_Budget_ID) " + "WHERE C_AcctSchema_ID=" + C_AcctSchema_ID + " AND EXISTS (SELECT 1 FROM Fact_Acct a " + "WHERE a.AD_Client_ID=ab.AD_Client_ID AND a.AD_Org_ID=ab.AD_Org_ID" + " AND a.C_AcctSchema_ID=ab.C_AcctSchema_ID AND TRUNC(a.DateAcct)=TRUNC(ab.DateAcct)" + " AND a.Account_ID=ab.Account_ID AND a.PostingType=ab.PostingType" + " AND COALESCE(a.M_Product_ID,0)=COALESCE(ab.M_Product_ID,0) AND COALESCE(a.C_BPartner_ID,0)=COALESCE(ab.C_BPartner_ID,0)" + " AND COALESCE(a.C_Project_ID,0)=COALESCE(ab.C_Project_ID,0) AND COALESCE(a.AD_OrgTrx_ID,0)=COALESCE(ab.AD_OrgTrx_ID,0)" + " AND COALESCE(a.C_SalesRegion_ID,0)=COALESCE(ab.C_SalesRegion_ID,0) AND COALESCE(a.C_Activity_ID,0)=COALESCE(ab.C_Activity_ID,0)" + " AND COALESCE(a.C_Campaign_ID,0)=COALESCE(ab.C_Campaign_ID,0) AND COALESCE(a.C_LocTo_ID,0)=COALESCE(ab.C_LocTo_ID,0) AND COALESCE(a.C_LocFrom_ID,0)=COALESCE(ab.C_LocFrom_ID,0)" + " AND COALESCE(a.User1_ID,0)=COALESCE(ab.User1_ID,0) AND COALESCE(a.User2_ID,0)=COALESCE(ab.User2_ID,0) AND COALESCE(a.GL_Budget_ID,0)=COALESCE(ab.GL_Budget_ID,0) " + "GROUP BY AD_Client_ID,AD_Org_ID," + " C_AcctSchema_ID, TRUNC(DateAcct)," + " Account_ID, PostingType," + " M_Product_ID, C_BPartner_ID," + " C_Project_ID, AD_OrgTrx_ID," + " C_SalesRegion_ID, C_Activity_ID," + " C_Campaign_ID, C_LocTo_ID, C_LocFrom_ID," + " User1_ID, User2_ID, GL_Budget_ID)"; if (!deleteFirst) { int no = DB.executeUpdate(sql, null); s_log.fine("Updates=" + no); } /** Insert **/ sql = "INSERT INTO Fact_Acct_Balance " + "(AD_Client_ID, AD_Org_ID, C_AcctSchema_ID, DateAcct," + " Account_ID, PostingType, M_Product_ID, C_BPartner_ID," + " C_Project_ID, AD_OrgTrx_ID, C_SalesRegion_ID,C_Activity_ID," + " C_Campaign_ID, C_LocTo_ID, C_LocFrom_ID, User1_ID, User2_ID, GL_Budget_ID," + " AmtAcctDr, AmtAcctCr, Qty) " // + "SELECT AD_Client_ID, AD_Org_ID, C_AcctSchema_ID, TRUNC(DateAcct)," + " Account_ID, PostingType, M_Product_ID, C_BPartner_ID," + " C_Project_ID, AD_OrgTrx_ID, C_SalesRegion_ID,C_Activity_ID," + " C_Campaign_ID, C_LocTo_ID, C_LocFrom_ID, User1_ID, User2_ID, GL_Budget_ID," + " COALESCE(SUM(AmtAcctDr),0), COALESCE(SUM(AmtAcctCr),0), COALESCE(SUM(Qty),0) " + "FROM Fact_Acct a " + "WHERE C_AcctSchema_ID=" + C_AcctSchema_ID; if (!deleteFirst) sql += " AND NOT EXISTS (SELECT 1 " + "FROM Fact_Acct_Balance x " + "WHERE a.AD_Client_ID=x.AD_Client_ID AND a.AD_Org_ID=x.AD_Org_ID" + " AND a.C_AcctSchema_ID=x.C_AcctSchema_ID AND TRUNC(a.DateAcct)=TRUNC(x.DateAcct)" + " AND a.Account_ID=x.Account_ID AND a.PostingType=x.PostingType" + " AND COALESCE(a.M_Product_ID,0)=COALESCE(x.M_Product_ID,0) AND COALESCE(a.C_BPartner_ID,0)=COALESCE(x.C_BPartner_ID,0)" + " AND COALESCE(a.C_Project_ID,0)=COALESCE(x.C_Project_ID,0) AND COALESCE(a.AD_OrgTrx_ID,0)=COALESCE(x.AD_OrgTrx_ID,0)" + " AND COALESCE(a.C_SalesRegion_ID,0)=COALESCE(x.C_SalesRegion_ID,0) AND COALESCE(a.C_Activity_ID,0)=COALESCE(x.C_Activity_ID,0)" + " AND COALESCE(a.C_Campaign_ID,0)=COALESCE(x.C_Campaign_ID,0) AND COALESCE(a.C_LocTo_ID,0)=COALESCE(x.C_LocTo_ID,0) AND COALESCE(a.C_LocFrom_ID,0)=COALESCE(x.C_LocFrom_ID,0)" + " AND COALESCE(a.User1_ID,0)=COALESCE(x.User1_ID,0) AND COALESCE(a.User2_ID,0)=COALESCE(x.User2_ID,0) AND COALESCE(a.GL_Budget_ID,0)=COALESCE(x.GL_Budget_ID,0) )"; sql += " GROUP BY AD_Client_ID,AD_Org_ID, C_AcctSchema_ID, TRUNC(DateAcct)," + " Account_ID, PostingType, M_Product_ID, C_BPartner_ID," + " C_Project_ID, AD_OrgTrx_ID, C_SalesRegion_ID, C_Activity_ID," + " C_Campaign_ID, C_LocTo_ID, C_LocFrom_ID, User1_ID, User2_ID, GL_Budget_ID"; int no = DB.executeUpdate(sql, null); s_log.fine("Inserts=" + no); start = System.currentTimeMillis() - start; s_log.info((start/1000) + " sec"); return ""; } // updateBalance
|
50520 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50520/204116f15efa2160509d7ce478d5653a34e05302/FinBalance.java/buggy/base/src/org/compiere/report/FinBalance.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
1089,
13937,
261,
474,
385,
67,
9988,
299,
3078,
67,
734,
16,
1250,
1430,
3759,
13,
202,
95,
202,
202,
87,
67,
1330,
18,
1376,
2932,
39,
67,
9988,
299,
3078,
67,
734,
1546,
397,
385,
67,
9988,
299,
3078,
67,
734,
397,
315,
300,
2504,
3759,
1546,
397,
1430,
3759,
1769,
202,
202,
5748,
787,
273,
2332,
18,
2972,
28512,
5621,
202,
202,
430,
261,
3733,
3759,
13,
202,
202,
95,
1082,
202,
474,
1158,
273,
2383,
18,
8837,
1891,
2932,
6460,
29057,
67,
9988,
299,
67,
13937,
4852,
385,
67,
9988,
299,
3078,
67,
734,
17282,
3113,
4697,
202,
39,
67,
9988,
299,
3078,
67,
734,
16,
446,
1769,
1082,
202,
87,
67,
1330,
18,
74,
558,
2932,
7977,
1546,
397,
1158,
1769,
202,
202,
97,
202,
202,
759,
202,
1891,
2062,
202,
202,
780,
1847,
273,
315,
8217,
29057,
67,
9988,
299,
67,
13937,
1223,
315,
1082,
202,
15,
315,
4043,
261,
31787,
9988,
299,
8956,
16,
432,
1010,
9988,
299,
12893,
16,
2238,
4098,
13,
33,
315,
1082,
202,
15,
7751,
4803,
7910,
37,
11386,
1441,
12,
14020,
12,
31787,
9988,
299,
8956,
3631,
20,
3631,
7910,
37,
11386,
1441,
12,
14020,
12,
31787,
9988,
299,
12893,
3631,
20,
3631,
7910,
37,
11386,
1441,
12,
14020,
12,
53,
4098,
3631,
20,
13,
315,
1082,
202,
15,
315,
11249,
29057,
67,
9988,
299,
279,
315,
1082,
202,
15,
315,
12299,
279,
18,
1880,
67,
1227,
67,
734,
33,
378,
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,
1089,
13937,
261,
474,
385,
67,
9988,
299,
3078,
67,
734,
16,
1250,
1430,
3759,
13,
202,
95,
202,
202,
87,
67,
1330,
18,
1376,
2932,
39,
67,
9988,
299,
3078,
67,
734,
1546,
397,
385,
67,
9988,
299,
3078,
67,
734,
397,
315,
300,
2504,
3759,
1546,
397,
1430,
3759,
1769,
202,
202,
5748,
787,
273,
2332,
18,
2972,
28512,
5621,
202,
202,
430,
261,
3733,
3759,
13,
202,
202,
95,
1082,
202,
474,
1158,
273,
2383,
18,
8837,
1891,
2932,
6460,
29057,
67,
9988,
299,
67,
13937,
4852,
385,
67,
9988,
299,
3078,
67,
734,
17282,
3113,
4697,
202,
39,
67,
9988,
299,
3078,
67,
734,
16,
446,
1769,
1082,
202,
87,
2
] |
AST tmp1238_AST_in = (AST)_t;
|
AST tmp1248_AST_in = (AST)_t;
|
public final void disabletriggersstate(AST _t) throws RecognitionException { AST disabletriggersstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t666 = _t; AST tmp1236_AST_in = (AST)_t; match(_t,DISABLE); _t = _t.getFirstChild(); AST tmp1237_AST_in = (AST)_t; match(_t,TRIGGERS); _t = _t.getNextSibling(); AST tmp1238_AST_in = (AST)_t; match(_t,FOR); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case DUMP: { AST tmp1239_AST_in = (AST)_t; match(_t,DUMP); _t = _t.getNextSibling(); break; } case LOAD: { AST tmp1240_AST_in = (AST)_t; match(_t,LOAD); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } AST tmp1241_AST_in = (AST)_t; match(_t,OF); _t = _t.getNextSibling(); tbl(_t,CQ.SYMBOL); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ALLOWREPLICATION: { AST tmp1242_AST_in = (AST)_t; match(_t,ALLOWREPLICATION); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t666; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1015,
378,
1810,
86,
8060,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1015,
378,
1810,
86,
8060,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
25308,
273,
389,
88,
31,
202,
202,
9053,
1853,
2138,
5718,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
13498,
2782,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
9053,
1853,
2138,
6418,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
6566,
27399,
55,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
202,
202,
9053,
1853,
2138,
7414,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
7473,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
463,
23942,
30,
202,
202,
95,
1082,
202,
9053,
1853,
2138,
5520,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
40,
23942,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1015,
378,
1810,
86,
8060,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1015,
378,
1810,
86,
8060,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
25308,
273,
389,
88,
31,
202,
202,
9053,
1853,
2138,
5718,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
13498,
2782,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
9053,
1853,
2138,
6418,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
2
] |
MisfireExample example = new MisfireExample(); example.run(); }
|
MisfireExample example = new MisfireExample(); example.run(); }
|
public static void main(String[] args) throws Exception { MisfireExample example = new MisfireExample(); example.run(); }
|
3431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3431/8441c8be6e16f3f87693ab6cfeae2bf90caf7159/MisfireExample.java/buggy/examples/src/java/org/quartz/examples/example5/MisfireExample.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1185,
288,
202,
202,
49,
7396,
577,
10908,
3454,
273,
394,
490,
7396,
577,
10908,
5621,
202,
202,
8236,
18,
2681,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1185,
288,
202,
202,
49,
7396,
577,
10908,
3454,
273,
394,
490,
7396,
577,
10908,
5621,
202,
202,
8236,
18,
2681,
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
] |
String fontFamily = c.getDefaultFontFamily(); String eFontFamily = "Arial, Comic Sans MS"; if(eFontFamily.equals(fontFamily)){
|
String cssMedia = c.getMediaType(); String eCssMedia = "projection"; if(eCssMedia.equals(cssMedia)){
|
public TestReport validate(SVGConverter c){ String fontFamily = c.getDefaultFontFamily(); String eFontFamily = "Arial, Comic Sans MS"; if(eFontFamily.equals(fontFamily)){ return reportSuccess(); } else { return reportError("-font-family", eFontFamily, fontFamily); } }
|
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/f44163b2f232bc13b6c186e8f1458afbc0ad2d83/MainTest.java/buggy/test-sources/org/apache/batik/apps/rasterizer/MainTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
7766,
4820,
1954,
12,
26531,
5072,
276,
15329,
10792,
514,
3512,
9203,
273,
276,
18,
588,
1868,
5711,
9203,
5621,
10792,
514,
425,
5711,
9203,
273,
315,
37,
566,
287,
16,
1286,
335,
348,
634,
9238,
14432,
10792,
309,
12,
73,
5711,
9203,
18,
14963,
12,
5776,
9203,
3719,
95,
13491,
327,
2605,
4510,
5621,
10792,
289,
469,
288,
13491,
327,
17887,
2932,
17,
5776,
17,
9309,
3113,
425,
5711,
9203,
16,
3512,
9203,
1769,
10792,
289,
7734,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
7766,
4820,
1954,
12,
26531,
5072,
276,
15329,
10792,
514,
3512,
9203,
273,
276,
18,
588,
1868,
5711,
9203,
5621,
10792,
514,
425,
5711,
9203,
273,
315,
37,
566,
287,
16,
1286,
335,
348,
634,
9238,
14432,
10792,
309,
12,
73,
5711,
9203,
18,
14963,
12,
5776,
9203,
3719,
95,
13491,
327,
2605,
4510,
5621,
10792,
289,
469,
288,
13491,
327,
17887,
2932,
17,
5776,
17,
9309,
3113,
425,
5711,
9203,
16,
3512,
9203,
1769,
10792,
289,
7734,
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
] |
if (hasBodyFolder) { cms.doUndoChanges(bodyPath);
|
cms.doUndoChanges(cms.readAbsolutePath(currentFolder)); if (C_BODY_MIRROR) { String bodyFolder = I_CmsWpConstants.C_VFS_PATH_BODIES.substring(0, I_CmsWpConstants.C_VFS_PATH_BODIES.lastIndexOf("/")) + cms.readAbsolutePath(currentFolder); try { cms.readFolder(bodyFolder); cms.doUndoChanges(bodyFolder); } catch (CmsException e) { }
|
public void undoChanges(CmsObject cms, String resource) throws CmsException { // first undo changes of the folder cms.doUndoChanges(resource); if (C_BODY_MIRROR) { // check if there is a corrosponding body folder String bodyPath = I_CmsWpConstants.C_VFS_PATH_BODIES + resource.substring(1); boolean hasBodyFolder = false; try { cms.readFileHeader(bodyPath); hasBodyFolder = true; } catch (CmsException e) { // body folder not found or no access, so ignore it } // undo changes in the corresponding folder in C_VFS_PATH_BODIES if (hasBodyFolder) { cms.doUndoChanges(bodyPath); } } // TODO: Implement optional "recurse" function // now undo changes of the subfolders // for (int i=0; i<allSubFolders.size(); i++){ // CmsFolder curFolder = (CmsFolder) allSubFolders.elementAt(i); // if(curFolder.getState() != C_STATE_NEW){ // if(curFolder.getState() == C_STATE_DELETED){ // undeleteResource(cms, cms.readPath(curFolder)); // lockResource(cms, cms.readPath(curFolder), true); // } // undoChanges(cms, cms.readPath(curFolder)); // } else { // // if it is a new folder then delete the folder // try{ // deleteResource(cms, cms.readPath(curFolder)); // } catch (CmsException ex){ // // do not throw exception when resource not exists // if(ex.getType() != CmsException.C_NOT_FOUND){ // throw ex; // } // } // } // } // // now undo changes in the files // for (int i=0; i<allSubFiles.size(); i++){ // CmsFile curFile = (CmsFile)allSubFiles.elementAt(i); // if(curFile.getState() != C_STATE_NEW){ // if(curFile.getState() == C_STATE_DELETED){ // cms.undeleteResource(cms.readPath(curFile)); // cms.lockResource(cms.readPath(curFile), true); // } // cms.undoChanges(cms.readPath(curFile)); // } else { // // if it is a new file then delete the file // try{ // cms.deleteResource(cms.readPath(curFile)); // } catch (CmsException ex){ // // do not throw exception when resource not exists // if(ex.getType() != CmsException.C_NOT_FOUND){ // throw ex; // } // } // } // } }
|
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/fb1c6f5fd0114eca562c1919538c46e9db8ee395/CmsResourceTypeFolder.java/buggy/src/org/opencms/file/CmsResourceTypeFolder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
15436,
7173,
12,
4747,
921,
6166,
16,
514,
1058,
13,
1216,
11228,
288,
3639,
368,
1122,
15436,
3478,
434,
326,
3009,
3639,
6166,
18,
2896,
31224,
7173,
12,
3146,
1769,
3639,
309,
261,
39,
67,
16691,
67,
7492,
54,
2784,
13,
288,
5411,
368,
866,
309,
1915,
353,
279,
1858,
6973,
3111,
310,
1417,
3009,
5411,
514,
1417,
743,
273,
467,
67,
4747,
59,
84,
2918,
18,
39,
67,
58,
4931,
67,
4211,
67,
38,
1212,
8805,
397,
1058,
18,
28023,
12,
21,
1769,
5411,
1250,
711,
2250,
3899,
273,
629,
31,
5411,
775,
288,
7734,
6166,
18,
896,
812,
1864,
12,
3432,
743,
1769,
7734,
711,
2250,
3899,
273,
638,
31,
5411,
289,
1044,
261,
4747,
503,
425,
13,
288,
7734,
368,
1417,
3009,
486,
1392,
578,
1158,
2006,
16,
1427,
2305,
518,
5411,
289,
5411,
368,
15436,
3478,
316,
326,
4656,
3009,
316,
385,
67,
58,
4931,
67,
4211,
67,
38,
1212,
8805,
8227,
309,
261,
5332,
2250,
3899,
13,
288,
7734,
6166,
18,
2896,
31224,
7173,
12,
3432,
743,
1769,
5411,
289,
3639,
289,
3639,
368,
2660,
30,
10886,
3129,
315,
29362,
6,
445,
540,
368,
2037,
15436,
3478,
434,
326,
720,
16064,
3639,
368,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
32,
454,
1676,
14885,
18,
1467,
5621,
277,
27245,
95,
3639,
368,
5411,
2149,
3899,
662,
3899,
273,
261,
4747,
3899,
13,
777,
1676,
14885,
18,
2956,
861,
12,
77,
1769,
3639,
368,
5411,
309,
12,
1397,
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,
15436,
7173,
12,
4747,
921,
6166,
16,
514,
1058,
13,
1216,
11228,
288,
3639,
368,
1122,
15436,
3478,
434,
326,
3009,
3639,
6166,
18,
2896,
31224,
7173,
12,
3146,
1769,
3639,
309,
261,
39,
67,
16691,
67,
7492,
54,
2784,
13,
288,
5411,
368,
866,
309,
1915,
353,
279,
1858,
6973,
3111,
310,
1417,
3009,
5411,
514,
1417,
743,
273,
467,
67,
4747,
59,
84,
2918,
18,
39,
67,
58,
4931,
67,
4211,
67,
38,
1212,
8805,
397,
1058,
18,
28023,
12,
21,
1769,
5411,
1250,
711,
2250,
3899,
273,
629,
31,
5411,
775,
288,
7734,
6166,
18,
896,
812,
1864,
12,
3432,
743,
1769,
7734,
711,
2250,
3899,
273,
638,
31,
5411,
289,
1044,
261,
2
] |
if(Debug.KEY_DELAY_TIMER && textArea.time != 0L) { Log.log(Log.DEBUG,this,"Key delay: " + (System.currentTimeMillis() - textArea.time) + " ms"); textArea.time = 0L; }
|
public void paintComponent(Graphics _gfx) { Graphics2D gfx = (Graphics2D)_gfx; gfx.setRenderingHints(renderingHints); fontRenderContext = gfx.getFontRenderContext(); Rectangle clipRect = gfx.getClipBounds(); gfx.setColor(getBackground()); gfx.fillRect(clipRect.x,clipRect.y,clipRect.width,clipRect.height); Buffer buffer = textArea.getBuffer(); if(!buffer.isLoaded()) return; int x = textArea.getHorizontalOffset(); int height = fm.getHeight(); int firstInvalid = clipRect.y / height; // Because the clipRect's height is usually an even multiple // of the font height, we subtract 1 from it, otherwise one // too many lines will always be painted. int lastInvalid = (clipRect.y + clipRect.height - 1) / height; if(Debug.PAINT_TIMER && lastInvalid - firstInvalid >= 1) Log.log(Log.DEBUG,this,"repainting " + (lastInvalid - firstInvalid) + " lines"); int y = (clipRect.y - clipRect.y % height); textArea.updateMaxHorizontalScrollWidth = false; extensionMgr.paintScreenLineRange(textArea,gfx, firstInvalid,lastInvalid,y,height); if(textArea.updateMaxHorizontalScrollWidth) textArea.updateMaxHorizontalScrollWidth(); if(buffer.isNextLineRequested()) { int h = clipRect.y + clipRect.height; textArea.chunkCache.invalidateChunksFrom(lastInvalid + 1); repaint(0,h,getWidth(),getHeight() - h); } if(Debug.KEY_DELAY_TIMER && textArea.time != 0L) { Log.log(Log.DEBUG,this,"Key delay: " + (System.currentTimeMillis() - textArea.time) + " ms"); textArea.time = 0L; } } //}}}
|
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/2c183755b9dc5ff25d8b9861bfa02c0a4368902b/TextAreaPainter.java/buggy/org/gjt/sp/jedit/textarea/TextAreaPainter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
12574,
1841,
12,
17558,
389,
75,
19595,
13,
202,
95,
202,
202,
17558,
22,
40,
30940,
273,
261,
17558,
22,
40,
13,
67,
75,
19595,
31,
202,
202,
75,
19595,
18,
542,
14261,
13368,
12,
5902,
310,
13368,
1769,
202,
202,
5776,
3420,
1042,
273,
30940,
18,
588,
5711,
3420,
1042,
5621,
202,
202,
19463,
6807,
6120,
273,
30940,
18,
588,
15339,
5694,
5621,
202,
202,
75,
19595,
18,
542,
2957,
12,
588,
8199,
10663,
202,
202,
75,
19595,
18,
5935,
6120,
12,
14161,
6120,
18,
92,
16,
14161,
6120,
18,
93,
16,
14161,
6120,
18,
2819,
16,
14161,
6120,
18,
4210,
1769,
202,
202,
1892,
1613,
273,
977,
5484,
18,
588,
1892,
5621,
202,
202,
430,
12,
5,
4106,
18,
291,
8835,
10756,
1082,
202,
2463,
31,
202,
202,
474,
619,
273,
977,
5484,
18,
588,
14457,
2335,
5621,
202,
202,
474,
2072,
273,
10940,
18,
588,
2686,
5621,
202,
202,
474,
1122,
1941,
273,
6807,
6120,
18,
93,
342,
2072,
31,
202,
202,
759,
15191,
326,
6807,
6120,
1807,
2072,
353,
11234,
392,
5456,
3229,
202,
202,
759,
434,
326,
3512,
2072,
16,
732,
10418,
404,
628,
518,
16,
3541,
1245,
202,
202,
759,
4885,
4906,
2362,
903,
3712,
506,
12574,
329,
18,
202,
202,
474,
1142,
1941,
273,
261,
14161,
6120,
18,
93,
397,
6807,
6120,
18,
4210,
300,
404,
13,
342,
2072,
31,
202,
202,
430,
12,
2829,
18,
4066,
3217,
67,
56,
31582,
597,
1142,
1941,
300,
1122,
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,
12574,
1841,
12,
17558,
389,
75,
19595,
13,
202,
95,
202,
202,
17558,
22,
40,
30940,
273,
261,
17558,
22,
40,
13,
67,
75,
19595,
31,
202,
202,
75,
19595,
18,
542,
14261,
13368,
12,
5902,
310,
13368,
1769,
202,
202,
5776,
3420,
1042,
273,
30940,
18,
588,
5711,
3420,
1042,
5621,
202,
202,
19463,
6807,
6120,
273,
30940,
18,
588,
15339,
5694,
5621,
202,
202,
75,
19595,
18,
542,
2957,
12,
588,
8199,
10663,
202,
202,
75,
19595,
18,
5935,
6120,
12,
14161,
6120,
18,
92,
16,
14161,
6120,
18,
93,
16,
14161,
6120,
18,
2819,
16,
14161,
6120,
18,
4210,
1769,
202,
202,
1892,
1613,
273,
977,
5484,
18,
588,
1892,
5621,
202,
2
] |
|
public final boolean isRemoveAllWhenShown( javax.faces.context.FacesContext facesContext) { return engine.getBoolProperty(Properties.REMOVE_ALL_WHEN_SHOWN, false, facesContext); }
|
public final boolean isRemoveAllWhenShown() { return isRemoveAllWhenShown(null); }
|
public final boolean isRemoveAllWhenShown( javax.faces.context.FacesContext facesContext) { return engine.getBoolProperty(Properties.REMOVE_ALL_WHEN_SHOWN, false, facesContext); }
|
6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/MenuComponent.java/buggy/org.rcfaces.core/src/org/rcfaces/core/component/MenuComponent.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
1250,
353,
3288,
1595,
9434,
27042,
12,
5411,
6863,
18,
4601,
18,
2472,
18,
17268,
1042,
22529,
13,
288,
3639,
327,
4073,
18,
588,
7464,
1396,
12,
2297,
18,
22122,
67,
4685,
67,
12557,
1157,
67,
2664,
51,
5665,
16,
629,
16,
7734,
22529,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
1250,
353,
3288,
1595,
9434,
27042,
12,
5411,
6863,
18,
4601,
18,
2472,
18,
17268,
1042,
22529,
13,
288,
3639,
327,
4073,
18,
588,
7464,
1396,
12,
2297,
18,
22122,
67,
4685,
67,
12557,
1157,
67,
2664,
51,
5665,
16,
629,
16,
7734,
22529,
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
] |
if (ordType.getValue() != OrdType.LIMIT) throw new IncorrectTagValue(ordType.getField());
|
assertValidOrderType(ordType);
|
public void onMessage(quickfix.fix40.NewOrderSingle order, SessionID sessionID) throws FieldNotFound, UnsupportedMessageType, IncorrectTagValue { Symbol symbol = new Symbol(); Side side = new Side(); OrdType ordType = new OrdType(); OrderQty orderQty = new OrderQty(); Price price = new Price(); ClOrdID clOrdID = new ClOrdID(); order.get(ordType); if (ordType.getValue() != OrdType.LIMIT) throw new IncorrectTagValue(ordType.getField()); order.get(symbol); order.get(side); order.get(orderQty); order.get(price); order.get(clOrdID); quickfix.fix40.ExecutionReport executionReport = new quickfix.fix40.ExecutionReport( genOrderID(), genExecID(), new ExecTransType(ExecTransType.NEW), new OrdStatus( OrdStatus.FILLED), symbol, side, orderQty, new LastShares(orderQty .getValue()), new LastPx(price.getValue()), new CumQty(orderQty.getValue()), new AvgPx(price.getValue())); executionReport.set(clOrdID); try { Session.sendToTarget(executionReport, sessionID); } catch (SessionNotFound e) { } }
|
52526 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52526/636aedba126dd7061f3efb7ce5c0eb04c00919e7/Application.java/buggy/examples/src/main/java/quickfix/examples/executor/Application.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
30002,
12,
19525,
904,
18,
904,
7132,
18,
1908,
2448,
5281,
1353,
16,
3877,
734,
13737,
13,
5411,
1216,
2286,
2768,
16,
7221,
24563,
16,
657,
6746,
1805,
620,
288,
3639,
8565,
3273,
273,
394,
8565,
5621,
3639,
26248,
4889,
273,
394,
26248,
5621,
3639,
2965,
72,
559,
4642,
559,
273,
394,
2965,
72,
559,
5621,
3639,
4347,
53,
4098,
1353,
53,
4098,
273,
394,
4347,
53,
4098,
5621,
3639,
20137,
6205,
273,
394,
20137,
5621,
3639,
3905,
15383,
734,
927,
15383,
734,
273,
394,
3905,
15383,
734,
5621,
3639,
1353,
18,
588,
12,
517,
559,
1769,
3639,
309,
261,
517,
559,
18,
24805,
1435,
480,
2965,
72,
559,
18,
8283,
13,
5411,
604,
394,
657,
6746,
1805,
620,
12,
517,
559,
18,
588,
974,
10663,
3639,
1353,
18,
588,
12,
7175,
1769,
3639,
1353,
18,
588,
12,
5564,
1769,
3639,
1353,
18,
588,
12,
1019,
53,
4098,
1769,
3639,
1353,
18,
588,
12,
8694,
1769,
3639,
1353,
18,
588,
12,
830,
15383,
734,
1769,
3639,
9549,
904,
18,
904,
7132,
18,
3210,
4820,
4588,
4820,
273,
394,
9549,
904,
18,
904,
7132,
18,
3210,
4820,
12,
7734,
3157,
2448,
734,
9334,
3157,
1905,
734,
9334,
394,
3889,
1429,
559,
12,
1905,
1429,
559,
18,
12917,
3631,
394,
2965,
72,
1482,
12,
13491,
2965,
72,
1482,
18,
10474,
6687,
3631,
3273,
16,
4889,
16,
1353,
53,
4098,
16,
394,
6825,
24051,
12,
1019,
53,
4098,
13491,
263,
24805,
1435,
3631,
394,
6825,
21776,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
30002,
12,
19525,
904,
18,
904,
7132,
18,
1908,
2448,
5281,
1353,
16,
3877,
734,
13737,
13,
5411,
1216,
2286,
2768,
16,
7221,
24563,
16,
657,
6746,
1805,
620,
288,
3639,
8565,
3273,
273,
394,
8565,
5621,
3639,
26248,
4889,
273,
394,
26248,
5621,
3639,
2965,
72,
559,
4642,
559,
273,
394,
2965,
72,
559,
5621,
3639,
4347,
53,
4098,
1353,
53,
4098,
273,
394,
4347,
53,
4098,
5621,
3639,
20137,
6205,
273,
394,
20137,
5621,
3639,
3905,
15383,
734,
927,
15383,
734,
273,
394,
3905,
15383,
734,
5621,
3639,
1353,
18,
588,
12,
517,
559,
1769,
3639,
309,
261,
517,
559,
18,
24805,
1435,
480,
2965,
72,
559,
18,
8283,
13,
5411,
604,
394,
657,
2
] |
java.io.File mailcapfile = new java.io.File("mailcap"); if (!mailcapfile.exists()) { try { (new java.io.RandomAccessFile(mailcapfile, "rw")).close(); System.out.println("*** Created empty mailcap file in current"); System.out.println("*** directory (to work around buggy javamail"); System.out.println("*** software from JavaSoft)."); } catch (java.io.IOException e) { System.out.println("*** Couldn't create empty mailcap file: " + e); System.out.println("*** Imminent crash is likely due to buggy"); System.out.println("*** javamail software from JavaSoft."); } }
|
public MasterPanel() { fPanel = this; JScrollPane scrollPane = new JScrollPane(); //scrollPane.setBorder(BorderUIResource.getLoweredBevelBorderUIResource()); scrollPane.setBorder(BorderFactory.createLoweredBevelBorder()); Util.RegisterScrollingKeys(scrollPane); fFolderTree = new TreeTable(null); ToolTipManager.sharedInstance().registerComponent(fFolderTree); fFolderTree.setTreeColumn(kNameID); Column column; FolderCellRenderer renderer = new FolderCellRenderer(); TextCellEditor editor = new TextCellEditor(); column = new Column(kNameID, fLabels.getString("nameLabel")); column.setWidth(250); column.setCellRenderer(renderer); column.setCellEditor(editor); fFolderTree.addColumn(column); column = new Column(kUnreadID, fLabels.getString("unreadLabel")); column.setWidth(50); column.setCellRenderer(renderer); fFolderTree.addColumn(column); column = new Column(kTotalID, fLabels.getString("totalLabel")); column.setWidth(50); column.setCellRenderer(renderer); fFolderTree.addColumn(column); fFolderTree.getColumnModel().setPrefString(InvisiblePrefs.GetMaster().getMasterPanelColumnLayout()); registerKeyboardAction(new CopyToClipboardAction(), KeyStroke.getKeyStroke(KeyEvent.VK_C, KeyEvent.CTRL_MASK), WHEN_ANCESTOR_OF_FOCUSED_COMPONENT); registerKeyboardAction(new PasteFromClipboardAction(), KeyStroke.getKeyStroke(KeyEvent.VK_V, KeyEvent.CTRL_MASK), WHEN_ANCESTOR_OF_FOCUSED_COMPONENT); ColumnHeader columnHeader = fFolderTree.getColumnHeader(); scrollPane.setColumnHeaderView(columnHeader); scrollPane.setViewportView(fFolderTree); add(scrollPane); // ###HACKHACKHACK Remove me when javamail fixes their stuff. java.io.File mailcapfile = new java.io.File("mailcap"); if (!mailcapfile.exists()) { try { (new java.io.RandomAccessFile(mailcapfile, "rw")).close(); System.out.println("*** Created empty mailcap file in current"); System.out.println("*** directory (to work around buggy javamail"); System.out.println("*** software from JavaSoft)."); } catch (java.io.IOException e) { System.out.println("*** Couldn't create empty mailcap file: " + e); System.out.println("*** Imminent crash is likely due to buggy"); System.out.println("*** javamail software from JavaSoft."); } } fModel = new FolderModel(); ViewedStore stores[] = StoreFactory.Instance().getStores(); fStores = new ViewedStore[stores.length]; //If the first store is null, then there must not be any accounts set //up by the user. if (stores[0] != null) { for (int i = 0; i < stores.length; i++) { fModel.addStore(stores[i]); fStores[i] = stores[i]; } } fFolderTree.setDataModel(fModel); fSelectionListener = new MasterSelectionListener(); fFolderTree.getSelectionManager().addSelectionListener(fSelectionListener); fStoreChangeListener = new StoreChangeListener(); StoreFactory.Instance().addChangeListener(fStoreChangeListener); ActionFactory.SetComposeMessageThread(new ComposeMessageThread()); fPanel.setFont(new Font("Helvetica", Font.PLAIN, 12)); }
|
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/b13c667b376deb4a8f2c235ffd847b57616d23c4/MasterPanel.java/clean/grendel/sources/grendel/ui/MasterPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13453,
5537,
1435,
288,
565,
284,
5537,
273,
333,
31,
565,
804,
26360,
5532,
8485,
273,
394,
804,
26360,
5621,
565,
368,
12033,
8485,
18,
542,
8107,
12,
8107,
5370,
1420,
18,
588,
4070,
329,
1919,
941,
8107,
5370,
1420,
10663,
565,
5532,
8485,
18,
542,
8107,
12,
8107,
1733,
18,
2640,
4070,
329,
1919,
941,
8107,
10663,
565,
3564,
18,
3996,
1541,
15742,
2396,
12,
12033,
8485,
1769,
565,
284,
3899,
2471,
273,
394,
4902,
1388,
12,
2011,
1769,
565,
13288,
14189,
1318,
18,
11574,
1442,
7675,
4861,
1841,
12,
74,
3899,
2471,
1769,
565,
284,
3899,
2471,
18,
542,
2471,
1494,
12,
79,
461,
734,
1769,
565,
4753,
1057,
31,
565,
12623,
4020,
6747,
5690,
273,
394,
12623,
4020,
6747,
5621,
565,
3867,
4020,
6946,
4858,
273,
394,
3867,
4020,
6946,
5621,
565,
1057,
273,
394,
4753,
12,
79,
461,
734,
16,
284,
5888,
18,
588,
780,
2932,
529,
2224,
7923,
1769,
565,
1057,
18,
542,
2384,
12,
26520,
1769,
565,
1057,
18,
542,
4020,
6747,
12,
14374,
1769,
565,
1057,
18,
542,
4020,
6946,
12,
9177,
1769,
565,
284,
3899,
2471,
18,
1289,
1494,
12,
2827,
1769,
565,
1057,
273,
394,
4753,
12,
79,
984,
896,
734,
16,
284,
5888,
18,
588,
780,
2932,
318,
896,
2224,
7923,
1769,
565,
1057,
18,
542,
2384,
12,
3361,
1769,
565,
1057,
18,
542,
4020,
6747,
12,
14374,
1769,
565,
284,
3899,
2471,
18,
1289,
1494,
12,
2827,
1769,
565,
1057,
273,
394,
4753,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13453,
5537,
1435,
288,
565,
284,
5537,
273,
333,
31,
565,
804,
26360,
5532,
8485,
273,
394,
804,
26360,
5621,
565,
368,
12033,
8485,
18,
542,
8107,
12,
8107,
5370,
1420,
18,
588,
4070,
329,
1919,
941,
8107,
5370,
1420,
10663,
565,
5532,
8485,
18,
542,
8107,
12,
8107,
1733,
18,
2640,
4070,
329,
1919,
941,
8107,
10663,
565,
3564,
18,
3996,
1541,
15742,
2396,
12,
12033,
8485,
1769,
565,
284,
3899,
2471,
273,
394,
4902,
1388,
12,
2011,
1769,
565,
13288,
14189,
1318,
18,
11574,
1442,
7675,
4861,
1841,
12,
74,
3899,
2471,
1769,
565,
284,
3899,
2471,
18,
542,
2471,
1494,
12,
79,
461,
734,
1769,
565,
4753,
1057,
31,
565,
12623,
4020,
6747,
5690,
2
] |
|
offset = s.write(out, offset);
|
offset += s.write(out);
|
public void write(final OutputStream out) throws WritingNotSupportedException, IOException { /* Write the number of sections in this property set stream. */ final int nrSections = sections.size(); int length = 0; /* Write the property set's header. */ length += TypeWriter.writeToStream(out, (short) getByteOrder()); length += TypeWriter.writeToStream(out, (short) getFormat()); length += TypeWriter.writeToStream(out, (int) getOSVersion()); length += TypeWriter.writeToStream(out, getClassID()); length += TypeWriter.writeToStream(out, (int) nrSections); int offset = OFFSET_HEADER; /* Write the section list, i.e. the references to the sections. Each * entry in the section list consist of a class ID and the offset to the * section's begin. */ offset += nrSections * (ClassID.LENGTH + LittleEndian.INT_SIZE); final int sectionsBegin = offset; for (final ListIterator i = sections.listIterator(); i.hasNext();) { final MutableSection s = (MutableSection) i.next(); length += TypeWriter.writeToStream(out, s.getFormatID()); length += TypeWriter.writeUIntToStream(out, offset); offset += s.getSize(); } /* Write the sections themselves. */ offset = sectionsBegin; for (final ListIterator i = sections.listIterator(); i.hasNext();) { final MutableSection s = (MutableSection) i.next(); offset = s.write(out, offset); } }
|
509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/1de48575d07bddeff9931abc03bebab4b9711586/MutablePropertySet.java/buggy/src/java/org/apache/poi/hpsf/MutablePropertySet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1045,
12,
6385,
8962,
596,
13,
3639,
1216,
10423,
310,
25482,
16,
1860,
565,
288,
3639,
1748,
2598,
326,
1300,
434,
7178,
316,
333,
1272,
444,
1407,
18,
1195,
3639,
727,
509,
9884,
15965,
273,
7178,
18,
1467,
5621,
3639,
509,
769,
273,
374,
31,
3639,
1748,
2598,
326,
1272,
444,
1807,
1446,
18,
1195,
3639,
769,
1011,
1412,
2289,
18,
2626,
774,
1228,
12,
659,
16,
261,
6620,
13,
20999,
2448,
10663,
3639,
769,
1011,
1412,
2289,
18,
2626,
774,
1228,
12,
659,
16,
261,
6620,
13,
10959,
10663,
3639,
769,
1011,
1412,
2289,
18,
2626,
774,
1228,
12,
659,
16,
261,
474,
13,
336,
4618,
1444,
10663,
3639,
769,
1011,
1412,
2289,
18,
2626,
774,
1228,
12,
659,
16,
2900,
734,
10663,
3639,
769,
1011,
1412,
2289,
18,
2626,
774,
1228,
12,
659,
16,
261,
474,
13,
9884,
15965,
1769,
3639,
509,
1384,
273,
26019,
67,
7557,
31,
3639,
1748,
2598,
326,
2442,
666,
16,
277,
18,
73,
18,
326,
5351,
358,
326,
7178,
18,
8315,
540,
380,
1241,
316,
326,
2442,
666,
7111,
434,
279,
667,
1599,
471,
326,
1384,
358,
326,
540,
380,
2442,
1807,
2376,
18,
1195,
3639,
1384,
1011,
9884,
15965,
380,
261,
797,
734,
18,
7096,
397,
11567,
18,
3217,
67,
4574,
1769,
3639,
727,
509,
7178,
8149,
273,
1384,
31,
3639,
364,
261,
6385,
987,
3198,
277,
273,
7178,
18,
1098,
3198,
5621,
277,
18,
5332,
2134,
5621,
13,
3639,
288,
5411,
727,
10960,
5285,
272,
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,
1045,
12,
6385,
8962,
596,
13,
3639,
1216,
10423,
310,
25482,
16,
1860,
565,
288,
3639,
1748,
2598,
326,
1300,
434,
7178,
316,
333,
1272,
444,
1407,
18,
1195,
3639,
727,
509,
9884,
15965,
273,
7178,
18,
1467,
5621,
3639,
509,
769,
273,
374,
31,
3639,
1748,
2598,
326,
1272,
444,
1807,
1446,
18,
1195,
3639,
769,
1011,
1412,
2289,
18,
2626,
774,
1228,
12,
659,
16,
261,
6620,
13,
20999,
2448,
10663,
3639,
769,
1011,
1412,
2289,
18,
2626,
774,
1228,
12,
659,
16,
261,
6620,
13,
10959,
10663,
3639,
769,
1011,
1412,
2289,
18,
2626,
774,
1228,
12,
659,
16,
261,
474,
13,
336,
4618,
1444,
10663,
3639,
769,
1011,
1412,
2289,
18,
2626,
2
] |
public HspHandler(StAXFeatureHandler staxenv) { super(staxenv); // delegate handling of <Hsp_num>// super.addHandler(new ElementRecognizer.ByLocalName("Hsp_num"),// SubHitPropertyHandler.SUBHIT_PROPERTY_HANDLER_FACTORY); // delegate handling of <Hsp_bit-score> super.addHandler(new ElementRecognizer.ByLocalName("Hsp_bit-score"), new StAXHandlerFactory() { public StAXContentHandler getHandler(StAXFeatureHandler staxenv) { return new StringElementHandlerBase() { public void setStringValue(String s) { hspAttrs.addAttribute(biojavaUri, bitScore, bitScore, CDATA, s); } }; } } ); // delegate handling of <Hsp_score> super.addHandler(new ElementRecognizer.ByLocalName("Hsp_score"), new StAXHandlerFactory() { public StAXContentHandler getHandler(StAXFeatureHandler staxenv) { return new StringElementHandlerBase() { public void setStringValue(String s) { hspAttrs.addAttribute(biojavaUri, score, score, CDATA, s); } }; } } ); // delegate handling of <Hsp_evalue> super.addHandler(new ElementRecognizer.ByLocalName("Hsp_evalue"), new StAXHandlerFactory() { public StAXContentHandler getHandler(StAXFeatureHandler staxenv) { return new StringElementHandlerBase() { public void setStringValue(String s) { hspAttrs.addAttribute(biojavaUri, expectValue, expectValue, CDATA, s); } }; } } ); // delegate handling of <Hsp_query-from> super.addHandler(new ElementRecognizer.ByLocalName("Hsp_query-from"), new StAXHandlerFactory() { public StAXContentHandler getHandler(StAXFeatureHandler staxenv) { return new StringElementHandlerBase() { public void setStringValue(String s) { sHsp_query_from = s.trim(); } }; } } ); // delegate handling of <Hsp_query-to> super.addHandler(new ElementRecognizer.ByLocalName("Hsp_query-to"), new StAXHandlerFactory() { public StAXContentHandler getHandler(StAXFeatureHandler staxenv) { return new StringElementHandlerBase() { public void setStringValue(String s) { sHsp_query_to = s.trim(); } }; } } ); // delegate handling of <Hsp_hit-from> super.addHandler(new ElementRecognizer.ByLocalName("Hsp_hit-from"), new StAXHandlerFactory() { public StAXContentHandler getHandler(StAXFeatureHandler staxenv) { return new StringElementHandlerBase() { public void setStringValue(String s) { sHsp_hit_from = s.trim(); } }; } } ); // delegate handling of <Hsp_hit-to> super.addHandler(new ElementRecognizer.ByLocalName("Hsp_hit-to"), new StAXHandlerFactory() { public StAXContentHandler getHandler(StAXFeatureHandler staxenv) { return new StringElementHandlerBase() { public void setStringValue(String s) { sHsp_hit_to = s.trim(); } }; } } ); // delegate handling of <Hsp_query-frame> super.addHandler(new ElementRecognizer.ByLocalName("Hsp_query-frame"), new StAXHandlerFactory() { public StAXContentHandler getHandler(StAXFeatureHandler staxenv) { return new StringElementHandlerBase() { public void setStringValue(String s) throws SAXException { // save this to compute the percentage identity later. int frameNo = Integer.parseInt(s.trim()); // convert the frame to the required format and return it if (hitSequenceType.equals("protein")) { hspAttrs.addAttribute(biojavaUri, queryFrame, queryFrame, CDATA, stringifyFrame(frameNo)); } else if (hitSequenceType.equals("dna")) { // for some peculiar reason, when Hsp_hit-frame is reversed, it is // the query frame sequence that is depicted inverted!! // I assume it works the other way too although that never happens. hspAttrs.addAttribute(biojavaUri, hitStrand, hitStrand, CDATA, stringifyStrand(frameNo)); } else throw new SAXException("illegal sequence type"); } }; } } ); // delegate handling of <Hsp_hit-frame> super.addHandler(new ElementRecognizer.ByLocalName("Hsp_hit-frame"), new StAXHandlerFactory() { public StAXContentHandler getHandler(StAXFeatureHandler staxenv) { return new StringElementHandlerBase() { public void setStringValue(String s) throws SAXException { // save this to compute the percentage identity later. int frameNo = Integer.parseInt(s.trim()); // convert the frame to the required format and return it if (hitSequenceType.equals("protein")) { hspAttrs.addAttribute(biojavaUri, hitFrame, hitFrame, CDATA, stringifyFrame(frameNo)); } else if (hitSequenceType.equals("dna")) { // for some peculiar reason, when Hsp_hit-frame is reversed, it is // the query frame sequence that is depicted inverted!! hspAttrs.addAttribute(biojavaUri, queryStrand, queryStrand, CDATA, stringifyStrand(frameNo)); } else throw new SAXException("illegal sequence type"); } }; } } ); // delegate handling of <Hsp_identity> super.addHandler(new ElementRecognizer.ByLocalName("Hsp_identity"), new StAXHandlerFactory() { public StAXContentHandler getHandler(StAXFeatureHandler staxenv) { return new StringElementHandlerBase() { public void setStringValue(String s) { iNumberOfIdentities = Integer.parseInt(s.trim()); hspAttrs.addAttribute(biojavaUri, numberOfIdentities, numberOfIdentities, CDATA, s); } }; } } ); // delegate handling of <Hsp_positive> super.addHandler(new ElementRecognizer.ByLocalName("Hsp_positive"), new StAXHandlerFactory() { public StAXContentHandler getHandler(StAXFeatureHandler staxenv) { return new StringElementHandlerBase() { public void setStringValue(String s) { hspAttrs.addAttribute(biojavaUri, numberOfPositives, numberOfPositives, CDATA, s); } }; } } ); // delegate handling of <Hsp_align-len> super.addHandler(new ElementRecognizer.ByLocalName("Hsp_align-len"), new StAXHandlerFactory() { public StAXContentHandler getHandler(StAXFeatureHandler staxenv) { return new StringElementHandlerBase() { public void setStringValue(String s) { iAlignmentSize = Integer.parseInt(s.trim()); hspAttrs.addAttribute(biojavaUri, alignmentSize, alignmentSize, CDATA, s); } }; } } ); // delegate handling of <Hsp_qseq> super.addHandler(new ElementRecognizer.ByLocalName("Hsp_qseq"), new StAXHandlerFactory() { public StAXContentHandler getHandler(StAXFeatureHandler staxenv) { return new StringElementHandlerBase() { public void setStringValue(String s) { sHsp_qseq = s; } }; } } ); // delegate handling of <Hsp_hseq> super.addHandler(new ElementRecognizer.ByLocalName("Hsp_hseq"), new StAXHandlerFactory() { public StAXContentHandler getHandler(StAXFeatureHandler staxenv) { return new StringElementHandlerBase() { public void setStringValue(String s) { sHsp_hseq = s; } }; } } ); // delegate handling of <Hsp_midline> super.addHandler(new ElementRecognizer.ByLocalName("Hsp_midline"), new StAXHandlerFactory() { public StAXContentHandler getHandler(StAXFeatureHandler staxenv) { return new StringElementHandlerBase() { public void setStringValue(String s) { sHsp_midline = s; } }; } } ); }
|
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/7ed2e70a2e6f45f3db8b43a53b1a1b11794daf00/HspHandler.java/buggy/src/org/biojava/bio/program/sax/blastxml/HspHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
670,
1752,
1503,
12,
510,
2501,
4595,
1503,
384,
651,
3074,
13,
565,
288,
3639,
2240,
12,
334,
651,
3074,
1769,
3639,
368,
7152,
5057,
434,
411,
44,
1752,
67,
2107,
34,
759,
3639,
2240,
18,
1289,
1503,
12,
2704,
3010,
28131,
18,
858,
29583,
2932,
44,
1752,
67,
2107,
6,
3631,
759,
5411,
2592,
13616,
1396,
1503,
18,
8362,
17222,
67,
9900,
67,
19937,
67,
16193,
1769,
3639,
368,
7152,
5057,
434,
411,
44,
1752,
67,
3682,
17,
6355,
34,
3639,
2240,
18,
1289,
1503,
12,
2704,
3010,
28131,
18,
858,
29583,
2932,
44,
1752,
67,
3682,
17,
6355,
6,
3631,
5411,
394,
934,
2501,
1503,
1733,
1435,
288,
7734,
1071,
934,
2501,
1350,
1503,
18945,
12,
510,
2501,
4595,
1503,
384,
651,
3074,
13,
288,
10792,
327,
394,
514,
1046,
1503,
2171,
1435,
288,
13491,
1071,
918,
14600,
620,
12,
780,
272,
13,
288,
18701,
366,
1752,
8262,
18,
1289,
1499,
12,
21010,
6290,
3006,
16,
2831,
7295,
16,
2831,
7295,
16,
28294,
16,
272,
1769,
13491,
289,
10792,
289,
31,
7734,
289,
5411,
289,
3639,
11272,
3639,
368,
7152,
5057,
434,
411,
44,
1752,
67,
6355,
34,
3639,
2240,
18,
1289,
1503,
12,
2704,
3010,
28131,
18,
858,
29583,
2932,
44,
1752,
67,
6355,
6,
3631,
5411,
394,
934,
2501,
1503,
1733,
1435,
288,
7734,
1071,
934,
2501,
1350,
1503,
18945,
12,
510,
2501,
4595,
1503,
384,
651,
3074,
13,
288,
10792,
327,
394,
514,
1046,
1503,
2171,
1435,
288,
13491,
1071,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
670,
1752,
1503,
12,
510,
2501,
4595,
1503,
384,
651,
3074,
13,
565,
288,
3639,
2240,
12,
334,
651,
3074,
1769,
3639,
368,
7152,
5057,
434,
411,
44,
1752,
67,
2107,
34,
759,
3639,
2240,
18,
1289,
1503,
12,
2704,
3010,
28131,
18,
858,
29583,
2932,
44,
1752,
67,
2107,
6,
3631,
759,
5411,
2592,
13616,
1396,
1503,
18,
8362,
17222,
67,
9900,
67,
19937,
67,
16193,
1769,
3639,
368,
7152,
5057,
434,
411,
44,
1752,
67,
3682,
17,
6355,
34,
3639,
2240,
18,
1289,
1503,
12,
2704,
3010,
28131,
18,
858,
29583,
2932,
44,
1752,
67,
3682,
17,
6355,
6,
3631,
5411,
394,
934,
2501,
1503,
1733,
1435,
288,
7734,
1071,
934,
2501,
1350,
1503,
18945,
2
] |
||
else
|
} else { if ( fill instanceof MultipleFill )
|
public static Fill convertFill( Fill fill, double dValue ) { if ( fill instanceof MultipleFill ) { if ( dValue >= 0 ) { fill = ColorDefinitionImpl.copyInstance( (ColorDefinition) ( (MultipleFill) fill ).getFills( ) .get( 0 ) ); } else { fill = ColorDefinitionImpl.copyInstance( (ColorDefinition) ( (MultipleFill) fill ).getFills( ) .get( 1 ) ); } } return fill; }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/571d205446f83ebbd7fc2fdf8d6696b86ee47b6b/ChartUtil.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/util/ChartUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
14192,
1765,
8026,
12,
14192,
3636,
16,
1645,
302,
620,
262,
202,
95,
202,
202,
430,
261,
3636,
1276,
13531,
8026,
262,
202,
202,
95,
1082,
202,
430,
261,
302,
620,
1545,
374,
262,
1082,
202,
95,
9506,
202,
5935,
273,
5563,
1852,
2828,
18,
3530,
1442,
12,
261,
2957,
1852,
13,
261,
261,
8438,
8026,
13,
3636,
262,
18,
588,
28688,
12,
262,
25083,
202,
18,
588,
12,
374,
262,
11272,
1082,
202,
97,
1082,
202,
12107,
1082,
202,
95,
9506,
202,
5935,
273,
5563,
1852,
2828,
18,
3530,
1442,
12,
261,
2957,
1852,
13,
261,
261,
8438,
8026,
13,
3636,
262,
18,
588,
28688,
12,
262,
25083,
202,
18,
588,
12,
404,
262,
11272,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
3636,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
14192,
1765,
8026,
12,
14192,
3636,
16,
1645,
302,
620,
262,
202,
95,
202,
202,
430,
261,
3636,
1276,
13531,
8026,
262,
202,
202,
95,
1082,
202,
430,
261,
302,
620,
1545,
374,
262,
1082,
202,
95,
9506,
202,
5935,
273,
5563,
1852,
2828,
18,
3530,
1442,
12,
261,
2957,
1852,
13,
261,
261,
8438,
8026,
13,
3636,
262,
18,
588,
28688,
12,
262,
25083,
202,
18,
588,
12,
374,
262,
11272,
1082,
202,
97,
1082,
202,
12107,
1082,
202,
95,
9506,
202,
5935,
273,
5563,
1852,
2828,
18,
3530,
1442,
12,
261,
2957,
1852,
13,
261,
261,
8438,
8026,
13,
3636,
262,
18,
588,
28688,
12,
262,
25083,
202,
18,
588,
12,
404,
262,
2
] |
throw new PSQLException("postgresql.geo.point", e.toString());
|
throw new PSQLException("postgresql.geo.point", PSQLState.DATA_TYPE_MISMATCH, e.toString());
|
public void setValue(String s) throws SQLException { PGtokenizer t = new PGtokenizer(PGtokenizer.removePara(s), ','); try { x = Double.valueOf(t.getToken(0)).doubleValue(); y = Double.valueOf(t.getToken(1)).doubleValue(); } catch (NumberFormatException e) { throw new PSQLException("postgresql.geo.point", e.toString()); } }
|
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/3f65d0b145f09a2f9ed09f53500f63efde8eb3f4/PGpoint.java/clean/org/postgresql/geometric/PGpoint.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5524,
12,
780,
272,
13,
1216,
6483,
202,
95,
202,
202,
18679,
2316,
1824,
268,
273,
394,
22116,
2316,
1824,
12,
18679,
2316,
1824,
18,
4479,
23529,
12,
87,
3631,
3316,
1769,
202,
202,
698,
202,
202,
95,
1082,
202,
92,
273,
3698,
18,
1132,
951,
12,
88,
18,
588,
1345,
12,
20,
13,
2934,
9056,
620,
5621,
1082,
202,
93,
273,
3698,
18,
1132,
951,
12,
88,
18,
588,
1345,
12,
21,
13,
2934,
9056,
620,
5621,
202,
202,
97,
202,
202,
14683,
261,
1854,
9291,
425,
13,
202,
202,
95,
1082,
202,
12849,
394,
453,
23116,
2932,
2767,
24330,
18,
12376,
18,
1153,
3113,
425,
18,
10492,
10663,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
5524,
12,
780,
272,
13,
1216,
6483,
202,
95,
202,
202,
18679,
2316,
1824,
268,
273,
394,
22116,
2316,
1824,
12,
18679,
2316,
1824,
18,
4479,
23529,
12,
87,
3631,
3316,
1769,
202,
202,
698,
202,
202,
95,
1082,
202,
92,
273,
3698,
18,
1132,
951,
12,
88,
18,
588,
1345,
12,
20,
13,
2934,
9056,
620,
5621,
1082,
202,
93,
273,
3698,
18,
1132,
951,
12,
88,
18,
588,
1345,
12,
21,
13,
2934,
9056,
620,
5621,
202,
202,
97,
202,
202,
14683,
261,
1854,
9291,
425,
13,
202,
202,
95,
1082,
202,
12849,
394,
453,
23116,
2932,
2767,
24330,
18,
12376,
18,
1153,
3113,
425,
18,
10492,
10663,
202,
202,
97,
202,
97,
2
] |
System.out.println( ExpressionPrinter.printContentModel(type.contentModel) );
|
System.out.println( ExpressionPrinter.printContentModel( type.contentModel.getExpandedExp(pool)) );
|
public void endElement( String uri, String local, String qName, ElementExp type ) { indent--; printIndent(); System.out.print("</"+qName+"> : "); // the type parameter is of interest here. // this parameter tells you the type assigned to this element. // for starter, use ExpressionPrinter to print a content model. System.out.println( ExpressionPrinter.printContentModel(type.contentModel) ); }
|
45720 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45720/3521fd5201ac7624c16085d139c5123a34078963/PSVIDump.java/clean/msv/examples/psvi/PSVIDump.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
14840,
12,
514,
2003,
16,
514,
1191,
16,
514,
22914,
16,
3010,
2966,
618,
262,
288,
202,
202,
9355,
413,
31,
202,
202,
1188,
7790,
5621,
202,
202,
3163,
18,
659,
18,
1188,
2932,
1757,
6,
15,
85,
461,
15,
6441,
294,
315,
1769,
9506,
202,
759,
326,
618,
1569,
353,
434,
16513,
2674,
18,
202,
202,
759,
333,
1569,
24551,
1846,
326,
618,
6958,
358,
333,
930,
18,
9506,
202,
759,
364,
10443,
387,
16,
999,
5371,
12149,
358,
1172,
279,
913,
938,
18,
202,
202,
3163,
18,
659,
18,
8222,
12,
5371,
12149,
18,
1188,
1350,
1488,
12,
723,
18,
1745,
1488,
13,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
14840,
12,
514,
2003,
16,
514,
1191,
16,
514,
22914,
16,
3010,
2966,
618,
262,
288,
202,
202,
9355,
413,
31,
202,
202,
1188,
7790,
5621,
202,
202,
3163,
18,
659,
18,
1188,
2932,
1757,
6,
15,
85,
461,
15,
6441,
294,
315,
1769,
9506,
202,
759,
326,
618,
1569,
353,
434,
16513,
2674,
18,
202,
202,
759,
333,
1569,
24551,
1846,
326,
618,
6958,
358,
333,
930,
18,
9506,
202,
759,
364,
10443,
387,
16,
999,
5371,
12149,
358,
1172,
279,
913,
938,
18,
202,
202,
3163,
18,
659,
18,
8222,
12,
5371,
12149,
18,
1188,
1350,
1488,
12,
723,
18,
1745,
1488,
13,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
for (int i = 1, linesPrinted = 1; i <= seqLen; i++) { int val = ((IntegerAlphabet.IntegerSymbol)seq.symbolAt(i)).intValue(); String s = Integer.toString(val); if ((line.length() + s.length()) > lineWidth) { os.println(line.substring(0)); line = new StringBuffer(); } line.append(s + " "); }
|
for (int i = 1, linesPrinted = 1; i <= seqLen; i++) { int val = ((IntegerAlphabet.IntegerSymbol)seq.symbolAt(i)).intValue(); String s = Integer.toString(val); if ((line.length() + s.length()) > lineWidth) { os.println(line.substring(0)); line = new StringBuffer(); } line.append(s + " ");
|
public void writeSequence(Sequence seq, PrintStream os) throws IOException { os.print(">"); os.println(describeSequence(seq)); StringBuffer line = new StringBuffer(); int seqLen = seq.length(); for (int i = 1, linesPrinted = 1; i <= seqLen; i++) { int val = ((IntegerAlphabet.IntegerSymbol)seq.symbolAt(i)).intValue(); String s = Integer.toString(val); if ((line.length() + s.length()) > lineWidth) { os.println(line.substring(0)); line = new StringBuffer(); } line.append(s + " "); } }
|
50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/38c9349040bf619c02a2410fbe8bbccfb93de469/PhredFormat.java/clean/src/org/biojava/bio/program/phred/PhredFormat.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1045,
4021,
12,
4021,
3833,
16,
21677,
1140,
13,
3639,
1216,
1860,
565,
288,
3639,
1140,
18,
1188,
2932,
2984,
1769,
3639,
1140,
18,
8222,
12,
22748,
4021,
12,
5436,
10019,
3639,
6674,
980,
273,
394,
6674,
5621,
3639,
509,
3833,
2891,
273,
3833,
18,
2469,
5621,
3639,
364,
261,
474,
277,
273,
404,
16,
2362,
5108,
329,
273,
404,
31,
277,
1648,
3833,
2891,
31,
277,
27245,
288,
5411,
509,
1244,
273,
14015,
4522,
27316,
18,
4522,
5335,
13,
5436,
18,
7175,
861,
12,
77,
13,
2934,
474,
620,
5621,
5411,
514,
272,
273,
2144,
18,
10492,
12,
1125,
1769,
5411,
309,
14015,
1369,
18,
2469,
1435,
397,
272,
18,
2469,
10756,
405,
26162,
13,
288,
7734,
1140,
18,
8222,
12,
1369,
18,
28023,
12,
20,
10019,
7734,
980,
273,
394,
6674,
5621,
5411,
289,
5411,
980,
18,
6923,
12,
87,
397,
315,
315,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1045,
4021,
12,
4021,
3833,
16,
21677,
1140,
13,
3639,
1216,
1860,
565,
288,
3639,
1140,
18,
1188,
2932,
2984,
1769,
3639,
1140,
18,
8222,
12,
22748,
4021,
12,
5436,
10019,
3639,
6674,
980,
273,
394,
6674,
5621,
3639,
509,
3833,
2891,
273,
3833,
18,
2469,
5621,
3639,
364,
261,
474,
277,
273,
404,
16,
2362,
5108,
329,
273,
404,
31,
277,
1648,
3833,
2891,
31,
277,
27245,
288,
5411,
509,
1244,
273,
14015,
4522,
27316,
18,
4522,
5335,
13,
5436,
18,
7175,
861,
12,
77,
13,
2934,
474,
620,
5621,
5411,
514,
272,
273,
2144,
18,
10492,
12,
1125,
1769,
5411,
309,
14015,
1369,
18,
2469,
1435,
397,
272,
18,
2469,
10756,
405,
26162,
13,
2
] |
XSQLDA xsqlda) throws GDSException {
|
XSQLDA xsqlda, int fetchSize) throws GDSException {
|
public void isc_dsql_fetch(isc_stmt_handle stmt_handle, int da_version, XSQLDA xsqlda) throws GDSException { isc_stmt_handle_impl stmt = (isc_stmt_handle_impl) stmt_handle; isc_db_handle_impl db = stmt.rsr_rdb; if (stmt_handle == null) { throw new GDSException(isc_bad_req_handle); } if (xsqlda == null) { throw new GDSException(isc_dsql_sqlda_err); } if (!stmt.allRowsFetched && stmt.rows.size() == 0) { //Fetch next batch of rows synchronized (db) { try { if (log != null) log.debug("op_fetch "); db.out.writeInt(op_fetch); db.out.writeInt(stmt.rsr_id); writeBLR(db, xsqlda); db.out.writeInt(0); // p_sqldata_message_number db.out.writeInt(MAX_FETCH_ROWS); // p_sqldata_messages db.out.flush(); if (log != null) log.debug("sent"); if (nextOperation(db) == op_fetch_response) { int sqldata_status; int sqldata_messages; do { int op = readOperation(db); sqldata_status = db.in.readInt(); sqldata_messages = db.in.readInt(); if (sqldata_messages > 0 && sqldata_status == 0) { stmt.rows.add(readSQLData(db, xsqlda)); } } while (sqldata_messages > 0 && sqldata_status == 0); if (sqldata_status == 100) { if (log != null) log.debug("all rows successfully fetched"); stmt.allRowsFetched = true; } } else { receiveResponse(db); } } catch (IOException ex) { throw new GDSException(isc_net_read_err); } } }/* if (stmt.rows.size() > 0) { //Return next row from cache. return (byte[][])stmt.rows.remove(0); } else { return null; //no rows fetched }*/ }
|
6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/0c85e5b9e025d1d2fc963451a40165c59f1cd5f4/GDS_Impl.java/buggy/src/main/org/firebirdsql/jgds/GDS_Impl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
353,
71,
67,
2377,
1217,
67,
5754,
12,
291,
71,
67,
10589,
67,
4110,
3480,
67,
4110,
16,
17311,
509,
5248,
67,
1589,
16,
17311,
1139,
3997,
9793,
619,
4669,
2414,
16,
509,
2158,
1225,
13,
1216,
611,
3948,
503,
288,
3639,
353,
71,
67,
10589,
67,
4110,
67,
11299,
3480,
273,
261,
291,
71,
67,
10589,
67,
4110,
67,
11299,
13,
3480,
67,
4110,
31,
3639,
353,
71,
67,
1966,
67,
4110,
67,
11299,
1319,
273,
3480,
18,
5453,
86,
67,
86,
1966,
31,
3639,
309,
261,
10589,
67,
4110,
422,
446,
13,
288,
5411,
604,
394,
611,
3948,
503,
12,
291,
71,
67,
8759,
67,
3658,
67,
4110,
1769,
3639,
289,
3639,
309,
261,
92,
4669,
2414,
422,
446,
13,
288,
5411,
604,
394,
611,
3948,
503,
12,
291,
71,
67,
2377,
1217,
67,
4669,
2414,
67,
370,
1769,
3639,
289,
3639,
309,
16051,
10589,
18,
454,
4300,
30771,
597,
3480,
18,
3870,
18,
1467,
1435,
422,
374,
13,
288,
5411,
368,
5005,
1024,
2581,
434,
2595,
5411,
3852,
261,
1966,
13,
288,
7734,
775,
288,
10792,
309,
261,
1330,
480,
446,
13,
613,
18,
4148,
2932,
556,
67,
5754,
315,
1769,
10792,
1319,
18,
659,
18,
2626,
1702,
12,
556,
67,
5754,
1769,
10792,
1319,
18,
659,
18,
2626,
1702,
12,
10589,
18,
5453,
86,
67,
350,
1769,
10792,
1045,
14618,
54,
12,
1966,
16,
619,
4669,
2414,
1769,
10792,
1319,
18,
659,
18,
2626,
1702,
12,
20,
1769,
2868,
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,
918,
353,
71,
67,
2377,
1217,
67,
5754,
12,
291,
71,
67,
10589,
67,
4110,
3480,
67,
4110,
16,
17311,
509,
5248,
67,
1589,
16,
17311,
1139,
3997,
9793,
619,
4669,
2414,
16,
509,
2158,
1225,
13,
1216,
611,
3948,
503,
288,
3639,
353,
71,
67,
10589,
67,
4110,
67,
11299,
3480,
273,
261,
291,
71,
67,
10589,
67,
4110,
67,
11299,
13,
3480,
67,
4110,
31,
3639,
353,
71,
67,
1966,
67,
4110,
67,
11299,
1319,
273,
3480,
18,
5453,
86,
67,
86,
1966,
31,
3639,
309,
261,
10589,
67,
4110,
422,
446,
13,
288,
5411,
604,
394,
611,
3948,
503,
12,
291,
71,
67,
8759,
67,
3658,
67,
4110,
1769,
3639,
289,
3639,
309,
261,
2
] |
scale = value; haveScale = true;
|
scale = value;
|
public void setScale(int value) { scale = value; haveScale = true; }
|
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/f7245b119e1e341f7c98206b4350b59dec0be333/Column.java/buggy/src.old/main/com/internetcds/jdbc/tds/Column.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
28424,
12,
474,
460,
13,
282,
288,
1377,
3159,
377,
273,
460,
31,
1377,
1240,
5587,
273,
638,
31,
282,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
28424,
12,
474,
460,
13,
282,
288,
1377,
3159,
377,
273,
460,
31,
1377,
1240,
5587,
273,
638,
31,
282,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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.